]> sourceware.org Git - glibc.git/blame - ChangeLog
Update NEWS
[glibc.git] / ChangeLog
CommitLineData
19b5525e
SP
12013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * benchtests/Makefile (bench): Add exp2 and log2.
4 (LDLIBS-bench-exp2): Add -lm.
5 (LDLIBS-bench-log2): Likewise.
6 * benchtests/exp2-inputs: New inputs file.
7 * benchtests/log2-inputs: New inputs file.
8 * benchtests/log-inputs: Add new inputs.
9 * benchtests/tan-inputs: Likewise.
10
196f7f5d
SP
112013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12
7a74607f
SP
13 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14 definition...
15 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
16 csloww1, csloww2): ... from here.
17
196f7f5d
SP
18 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19 instead of structures.
20 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21 (POLYNOMIAL): Likewise.
22 (TAYLOR_SLOW): Likewise.
23 (__sin): Likewise.
24 (__cos): Likewise.
25 (slow1): Likewise.
26 (slow2): Likewise.
27 (sloww): Likewise.
28 (sloww1); Likewise.
29 (sloww2): Likewise.
30 (bsloww1): Likewise.
31 (bsloww2): Likewise.
32 (cslow2): Likewise.
33 (csloww): Likewise.
34 (csloww1): Likewise.
35 (csloww2): Likewise.
36
0dfa665c
OB
372013-12-10 Ondřej Bílka <neleai@seznam.cz>
38
39 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
40 (__malloc_assert, __libc_realloc, __libc_calloc,
41 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
42 memcpy and memset.
43 * malloc/hooks.c (realloc_check): Likewise.
44
5782a80f
OB
452013-12-10 Ondřej Bílka <neleai@seznam.cz>
46
47 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48 * malloc/arena.c: Remove PER_THREAD conditional.
49 [!PER_THREAD]: Remove code.
50 (ptmalloc_unlock_all2): Likewise.
51 (ptmalloc_init): Likewise.
52 (_int_new_arena): Likewise.
53 (arena_get2): Likewise.
54 * malloc/hooks.c (__malloc_get_state): Likewise.
55 (__malloc_set_state): Likewise.
56 * malloc/malloc.c: Likewise.
57 (struct malloc_state): Likewise.
58 (struct malloc_par): Likewise.
59 (__libc_realloc): Likewise.
60 (__libc_mallopt): Likewise.
61
aeb95445
AZ
622013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63
64 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
65
e8349efd
OB
662013-12-09 Ondřej Bílka <neleai@seznam.cz>
67
68 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
69 macro to a function. Check for zero perturb_byte.
70 (_int_malloc, _int_free): Remove zero perturb_byte checks.
71
f3eeb3fc
OB
722013-12-09 Ondřej Bílka <neleai@seznam.cz>
73
74 * malloc/malloc.c: (force_reg): Remove.
75 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
76 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
77 force_reg by atomic_forced_read.
78 * malloc/arena.c (ptmalloc_init): Likewise.
79 * malloc/hooks.c (top_check): Likewise.
80
be2f9009
AZ
812013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82
83 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84
e7b914bd
MT
852013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
86
87 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
88
9f0be4f8
JM
892013-12-08 Joseph Myers <joseph@codesourcery.com>
90
91 * math/auto-libm-test-in: Add tests of lgamma.
92 * math/auto-libm-test-out: Regenerated.
93 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
94 (M_LOG_2_SQRT_PIl): Likewise.
95 (lgamma_test_data): Use AUTO_TESTS_f_f1.
96 * math/gen-auto-libm-tests.c (func_calc_method): Add value
97 mpfr_f_f1.
98 (func_calc_desc): Add mpfr_f_f1 union field.
99 (ARGS1): New macro.
100 (ARGS2): Likewise.
101 (ARGS3): Likewise.
102 (ARGS4): Likewise.
103 (RET1): Likewise.
104 (RET2): Likewise.
105 (CALC): Likewise.
106 (FUNC): Likewise.
107 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
108 (test_functions): Add lgamma.
109 (calc_generic_results): Handle mpfr_f_f1.
110 * sysdeps/i386/fpu/libm-test-ulps: Update.
111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
112
24eeafdb
AZ
1132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
114
115 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
116 __mpn_add_n for PowerPC64/POWER7.
117 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
118 __mpn_sub_n for PowerPC64/POWER7.
119
4a2c0fd4
AZ
1202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
121
122 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
123 __mpn_addmul_1 for PowerPC64.
124 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
125 __mpn_submul_1 for PowerPC64.
126 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
127 for PowerPC64.
128 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
129 for PowerPC64.
130
4b5b548c
FS
1312013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
132
133 [BZ #15089]
134 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
135
0a3ac0aa
AZ
1362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137
138 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
139
ccdc8438
AZ
1402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
143 add multiarch folders.
144 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
145 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
146 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
147 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
148 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
149 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
150 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
151 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
152 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
153 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
154 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
161
2e973d99
AZ
1622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
163
164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
165 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
167 New file.
168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
169 New file.
170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
171 multiarch __ieee754_hypot for PowerPC32.
172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
173 New file.
174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
175 New file.
176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
177 multiarch __ieee754_hypotf for PowerPC32.
178
2d9470b2
AZ
1792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
180
181 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
182 long_double_symbol only if __logbl is defined.
183 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
184 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
185 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
186 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
187 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
188 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
189 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
190 path for implementation.
191 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
192 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
194 logb, and logbl multiarch implementations for PowerPC32.
195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
196 file.
197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
198 file.
199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
200 multiarch logb for PowerPC32.
201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
202 file.
203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
204 file.
205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
206 multiarch logbf for PowerPC32.
207 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
209 file.
210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
211 multiarch logbl implementation for PowerPC32.
212
5212ffce
AZ
2132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
214
215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
216 and modff multiarch implementations.
217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
218 New file.
219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
220 New file.
221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
222 multiarch modf for PowerPC32.
223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
224 New file.
225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
226 New file.
227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
228 multiarch modff for PowerPC32.
229
79dccf31
AZ
2302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
231
232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
233 and lrintf multiarch implementations.
234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
235 New file.
236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
237 New file.
238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
239 multiarch lrint for PowerPC32.
240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
241 file: multiarch lrintf for PowerPC32.
242
deb66480
AZ
2432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
244
245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
246 and lroundf multiarch implementations.
247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
248 New file.
249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
250 New file.
251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
252 New file.
253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
254 multiarch lround for PowerPC32.
255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
256 file: multiarch lroundf for PowerPC32.
257
264b036b
AZ
2582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259
260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
261 copysign and copysignf multiarch implementations.
262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
263 New file.
264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
265 New file.
266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
267 file: multiarch copysign for PowerPC32.
268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
269 file: multiarch copysignf for PowerPC32.
270
d47db6c9
AZ
2712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
272
273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
274 and truncf multiarch implementations.
275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
276 New file.
277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
278 file.
279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
280 multiarch trunc for PowerPC32.
281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
282 New file.
283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
284 New file.
285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
286 multiarch truncf for PowerPC32.
287
ddb60b5a
AZ
2882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
289
290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
291 and roundf multiarch implementations.
292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
293 New file.
294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
295 file.
296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
297 multiarch round for PowerPC32.
298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
299 New file.
300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
301 New file.
302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
303 multiarch roundf for PowerPC32.
304
bedcf49b
AZ
3052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
306
307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
308 and floorf multiarch implementations.
309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
310 New file.
311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
312 file.
313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
314 multiarch floor for PowerPC32.
315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
316 New file.
317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
318 New file.
319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
320 multiarch floorf for PowerPC32.
321
35ae5b40
AZ
3222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
323
324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
325 and ceilf multiarch implementations.
326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
327 New file.
328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
329 file.
330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
331 multiarch ceil for PowerPC32.
332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
333 New file.
334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
335 file.
336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
337 multiarch ceilf for PowerPC32.
338
ae1a4cd9
AZ
3392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
340
341 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
342 is defined.
343 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
344 FINITEF is defined.
345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
346 and finitef multiarch implementations.
347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
348 New file.
349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
350 file.
351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
352 multiarch finite for PowerPC32.
353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
354 New file.
355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
356 file: multiarch finitef for PowerPC32.
357
64fffd65
AZ
3582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
359
360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
361 and isinff multiarch implementations.
362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
363 file.
364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
365 file.
366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
367 multiarch isinf for PowerPC32.
368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
369 New file.
370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
371 multiarch isinff for PowerPC32.
372
8e4e7ba2
AZ
3732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
374
375 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
376 alias when __isnan is defined.
377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
378 and isnanf multiarch implementations.
379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
380 file.
381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
382 file.
383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
384 file.
385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
386 file.
387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
388 multiarch isnan for PowerPC32.
389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
390 New file.
391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
392 New file.
393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
394 multiarch isnanf for PowerPC32.
395
ddba588e
AZ
3962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
397
398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
399 and sqrtf multiarch implementations.
400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
401 file.
402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
403 file.
404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
405 multiarch sqrt for PowerPC32.
406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
407 file.
408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
409 file.
410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
411 multiarch sqrtf for PowerPC32.
412
0f96a2f0
AZ
4132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
414
415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
416 and llroundf multiarch implementations.
417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
418 New file.
419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
420 New file.
421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
422 New file.
423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
424 file: multiarch llround for PowerPC32.
425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
426 file: multiarch llroundf for PowerPC32.
427
c9b5d79e
AZ
4282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
429
430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
431 multiarch PowerPC32 fpu implementations.
432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
433 New file.
434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
435 New file.
436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
437 multiarch llrint for PowerPC32.
438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
439 New file.
440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
441 New file.
442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
443 file.
444
9cbb3aab
AZ
4452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
446
447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
448
ea5a72f8
AZ
4492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
450
451 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
452 file.
453 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
454 file.
455 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
456 file.
457 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
458 multiarch wordcopy for PPC32.
459 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
460 wordcopy objects.
461 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
462 (__libc_ifunc_impl_list): Likewise.
463 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
464 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
465 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
466 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
467 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
468 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
469
93be09e7
AZ
4702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
471
472 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
473 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
474 file.
475 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
476 file.
477 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
478 file.
479 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
480 multiarch wcscpy for PPC32.
481 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
482 multiarch objects.
483 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
484 (__libc_ifunc_impl_list): Likewise.
485 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
486 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
487 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
488 sysdeps/powerpc/power6/wcscpy.c.
489
bb04e529
AZ
4902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
491
492 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
493 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
494 file.
495 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
496 file.
497 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
498 file.
499 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
500 multiarch wcsrchr for PPC32.
501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
502 multiarch objects.
503 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
504 (__libc_ifunc_impl_list): Likewise.
505 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
506 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
507 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
508 sysdeps/powerpc/power6/wcsrchr.c.
509
05b5cd1c
AZ
5102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
511
512 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
513 file.
514 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
515 file.
516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
517 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
518 multiarch wcschr for PPc32.
519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
520 multiarch objects.
521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
522 (__libc_ifunc_impl_list): Likewise.
523 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
524 * sysdeps/powerpc/power6/wcschr.c: ... to here.
525 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
526 sysdeps/powerpc/power6/wcschr.c.
527
ba964147
AZ
5282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
529
530 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
531 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
532 file.
533 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
534 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
535 file: multiarch strchr for PPC32.
536 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
537 multiarch objects.
538 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
539 (__libc_ifunc_impl_list): Likewise.
540
31c81aaa
AZ
5412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
542
543 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
544 name.
545 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
546 file.
547 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
548 file.
549 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
550 multiarch strchrnul for PPC32.
551 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
552 multiarch objects.
553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
554 (__libc_ifunc_impl_list): Likewise.
555
0d0607d9
AZ
5562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
557
558 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
559 file.
560 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
561 multiarch strncasecmp for PPC32.
562 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
563 file.
564 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
565 multiarch strncasecmp_l for PPC32.
566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
567 strncasecmp multiarch objects.
568 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
569 (__libc_ifunc_impl_list): Likewise.
570
4dfd5c86
AZ
5712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
572
573 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
574 file.
575 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
576 multiarch strncasecmp for PPC32.
577 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
578 New file.
579 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
580 multiarch strcasecmp_l for PPC32.
581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
582 multiarch objects.
583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
584 (__libc_ifunc_impl_list): Likewise.
585
a19e01a3
AZ
5862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
587
588 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
589 file.
590 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
591 file.
592 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
593 multiarch strncmp for PPC32.
594 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
595 multiarch objects.
596 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
597 (__libc_ifunc_impl_list): Likewise.
598
ae9cf7a2
AZ
5992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
600
601 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
602 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
603 file.
604 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
605 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
606 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
607 multiarch objects.
608 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
609 (__libc_ifunc_impl_list): Likewise.
610
3148bb7d
AZ
6112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
612
613 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
614 file.
615 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
616 file.
617 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
619 multiarch objects.
620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
621 (__libc_ifunc_impl_list): Likewise.
622
7af8b946
AZ
6232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
624
625 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
626 file.
627 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
628 file.
629 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
630 multiarch rawmemchr for PPC32.
631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
632 multiarch objects.
633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
634 (__libc_ifunc_impl_list): Likewise.
635
03a6aa6a
AZ
6362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
637
638 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
639 file.
640 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
641 file.
642 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
643 file: memrchr multiarch for PPC32.
644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
645 multiarch objects.
646 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
647 (__libc_ifunc_impl_list): Likewise.
648
1c62e6d9
AZ
6492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
650
651 * string/memchr.c (__memchr): Using macro to redefine symbol name.
652 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
653 file.
654 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
655 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
656 multiarch memchr for PPC32.
657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
658 multiarch objects.
659 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
660 (__libc_ifunc_impl_list): Likewise.
661
87da8bdb
AZ
6622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
663
664 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
665 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
666 file.
667 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
668 file.
669 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
670 file: multiarch mempcpy for PPC32.
671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
672 multiarch objects.
673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
674 (__libc_ifunc_impl_list): Likewise.
675
20ed4714
AZ
6762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
677
678 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
679 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
680 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
681 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
682 multiarch bzero for PPC32.
683 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
684 file.
685 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
686 file.
687 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
688 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
689 file: multiarch memset for PPC32.
690 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
692 memset multiarch objects.
693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
694 (__libc_ifunc_impl_list): Likewise.
695
ab3e3a46
AZ
6962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
697
698 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
699 file.
700 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
701 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
702 memcmp for PPC32.
703 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
705 multiarch objects.
706 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
707 (__libc_ifunc_impl_list): Likewise.
708
930de6f0
AZ
7092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
710
711 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
712 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
713 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
714 file.
715 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
716 file.
717 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
718 file.
719 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
720 multiarch memcpy for PPC32.
721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
722 multiarch objects.
723 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
724 (__libc_ifunc_impl_list): Likewise.
725
4c628e00
AZ
7262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
727
728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
729 support multiarch for POWER/PPC32.
730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
731 Likewise.
732 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
734 Implies file to make multiarch folder appers before the fpu and
735 default folder for power4 configuration.
736
f4479220
SP
7372013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
738
739 * scripts/bench.pl: Append volatile keyword to type.
740
8517800f
KK
7412013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
742
743 * sysdeps/sh/sotruss-lib.c: New file.
744 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
745
180138f1
AZ
7462013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
747
748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
749
bbf37bdc
JM
7502013-12-05 Joseph Myers <joseph@codesourcery.com>
751
e47cc4e0
JM
752 [BZ #6810]
753 * math/w_tgamma.c: Include <errno.h>.
754 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
755 * math/w_tgammaf.c: Include <errno.h>.
756 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
757 * math/w_tgammal.c: Include <errno.h>.
758 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
759 * math/auto-libm-test-in: Do not allow missing errno on tgamma
760 underflow. Add more tgamma tests.
761 * math/auto-libm-test-out: Regenerated.
762 * sysdeps/i386/fpu/libm-test-ulps: Update.
763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
764
bbf37bdc
JM
765 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
766 sin, sinh, tan, tanh, tgamma, y0 and y1.
767 * math/auto-libm-test-out: Regenerated.
768 * math/libm-test.inc (TEST_COND_x86_64): New macro.
769 (TEST_COND_x86): Likewise.
770 (M_E2l): Remove macro.
771 (M_E3l): Likewise.
772 (M_2_SQRT_PIl): Likewise.
773 (M_SQRT_PIl): Likewise.
774 (M_1_DIV_El): Likewise.
775 (log_test_data): Use AUTO_TESTS_f_f.
776 (log10_test_data): Likewise.
777 (log1p_test_data): Likewise.
778 (log2_test_data): Likewise.
779 (sin_test_data): Likewise.
780 (sin_tonearest_test_data): Likewise.
781 (sin_towardzero_test_data): Likewise.
782 (sin_downward_test_data): Likewise.
783 (sin_upward_test_data): Likewise.
784 (sinh_test_data): Likewise.
785 (sinh_tonearest_test_data): Likewise.
786 (sinh_towardzero_test_data): Likewise.
787 (sinh_downward_test_data): Likewise.
788 (sinh_upward_test_data): Likewise.
789 (tan_test_data): Likewise.
790 (tan_tonearest_test_data): Likewise.
791 (tan_towardzero_test_data): Likewise.
792 (tan_downward_test_data): Likewise.
793 (tan_upward_test_data): Likewise.
794 (tanh_test_data): Likewise.
795 (tgamma_test_data): Likewise.
796 (y0_test_data): Likewise.
797 (y1_test_data): Likewise.
798 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
799 (special_real_inputs): Add pi/4.
800 * sysdeps/i386/fpu/libm-test-ulps: Update.
801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
802
eb5ad6b9
AZ
8032013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
804
805 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
806 "longjmp_target" static probes.
807 (__longjmp): Rename to __longjmp_symbol.
808 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
809 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
810 on which longjmp to generate.
811 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
812 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
813 probe.
814 (__sigsetjmp): Rename to __sigsetjmp_symbol.
815 (__sigjmp_save): Rename to __sigjmp_save_symbol.
816 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
817 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
818 and __sigjmp_save_symbol based on which sigsetjmp to generated.
819 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
821 __longjmp_symbol based on which __longjmp to generate.
822 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
823 probe.
824 (setjmp): Rename to setjmp_symbol.
825 (__sigsetjmp): Rename to __sigsetjmp_symbol.
826 (_setjmp): Rename to _setjmp_symbol.
827 (__sigsetjmp): Rename to __sigsetjmp_symbol.
828 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
829 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
830 which setjmp to generate.
831 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
832 "longjmp_target" static probes.
833
d136c6dc
SP
8342013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
835
9298ecba
SP
836 * benchtests/README: Add note about output arguments.
837 * benchtests/bench-sincos.c: Remove file.
838 * benchtests/sincos-inputs: New file.
839 * scripts/bench.pl: Identify output arguments and define
840 static variables for them.
841
232983e9
SP
842 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
843
d136c6dc
SP
844 [BZ #15941]
845 * Makefile (INSTALL): Add install-plain.texi as the primary
846 dependency.
847 * manual/install-plain.texi: New file.
848 * manual/install.texi: Include node directive only for
849 non-plaintext output.
850
699ff837
JM
8512013-12-04 Joseph Myers <joseph@codesourcery.com>
852
ab07cea8
JM
853 * stdlib/longlong.h: Update from GCC.
854
699ff837
JM
855 [BZ #6807]
856 [BZ #15901]
857 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
858 * math/w_j0f.c (y0f): Likewise.
859 * math/w_j0l.c (__y0l): Likewise.
860 * math/w_j1.c (y1): Likewise.
861 * math/w_j1f.c (y1f): Likewise.
862 * math/w_j1l.c (__y1l): Likewise
863 * math/w_jn.c (yn): Likewise.
864 * math/w_jnf.c (ynf): Likewise.
865 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
866 Bessel function pole errors in _POSIX_ mode. Use NAN as return
867 value for Bessel function domain errors outside _SVID_ mode.
868 Adjust sign of return value for yn (negative integer, 0).
869 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
870 by zero in return for negative x and set sign appropriately for
871 negative n.
872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
873 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
874 * math/libm-test.inc (y0_test_data): Add more tests and adjust
875 expectations in error cases.
876 (y1_test_data): Likewise.
877 (yn_test_data): Likewise.
878 * sysdeps/i386/fpu/libm-test-ulps: Update.
879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
880
5b118558
UW
8812013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
882
883 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
884 "64" to "64-v1". Add "64-v2".
885 (abi-64-options): Rename to ...
886 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
887 (abi-64-condition): Rename to ...
888 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
889 (abi-64-ld-soname): Rename to ...
890 (abi-64-v1-ld-soname): ... this.
891 (abi-64-v2-options): Define.
892 (abi-64-v2-condition): Likewise.
893 (abi-64-v2-ld-soname): Likewise.
894 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
895 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
899
61cd8fe4
UW
9002013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
901 Alan Modra <amodra@gmail.com>
902
903 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
904 New versions for use with the ELFv2 ABI.
905 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
906 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
907 declaration.
908 (struct La_ppc64v2_retval): Likewise.
909 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
910 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
911 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
912 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
913 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
914 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
915 Do not save or restore CR.
916 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
917 (_dl_profile_resolve): Do no save or restore CR. Support extended
918 return values for ELFv2 ABI. Fix location of FPR return registers.
919 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
920 updated values for _CALL_ELF == 2.
921 (La_regs, La_retval, int_retval): Likewise.
922
8b8a692c
UW
9232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
924
925 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
926 (FRAME_MIN_SIZE_PARM): Likewise.
927 (FRAME_BACKCHAIN): Likewise.
928 (FRAME_CR_SAVE): Likewise.
929 (FRAME_LR_SAVE): Likewise.
930 (FRAME_TOC_SAVE): Likewise.
931 (FRAME_PARM_SAVE): Likewise.
932 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
933 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
934 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
935 (call_mcount_parm_offset): New macro.
936 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
937 (PROF): Use symbolic stack frame offsets.
938 (TAIL_CALL_SYSCALL_ERROR): Likewise.
939 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
940 Redefine in terms of FRAME_MIN_SIZE.
941 (_dl_runtime_resolve): Use symbolic stack frame offsets.
942 (_dl_profile_resolve): Likewise. Update comment.
943 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
944 symbols stack frame offsets.
945 (__sigsetjmp): Likewise.
946 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
947 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
948 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
949 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
950
951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
952 (FRAME_BACKCHAIN): Remove.
953 (FRAME_CR_SAVE): Likewise.
954 (FRAME_LR_SAVE): Likewise.
955 (FRAME_COMPILER_DW): Likewise.
956 (FRAME_LINKER_DW): Likewise.
957 (FRAME_TOC_SAVE): Likewise.
958 (FRAME_PARM_SAVE): Likewise.
959 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
960 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
961 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
963 (CHECK_SP): Use symbolic stack frame offsets.
964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
965 zone" instead of caller's parameter save area for temp storage.
966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
967 Likewise. Also, use symbolic stack frame offsets.
968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
969 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
970 our own stack frame instead of the caller's.
971 (__socket): Use symbolic stack frame offsets.
972
122b66de
UW
9732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
974 Alan Modra <amodra@gmail.com>
975
976 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
977 Define.
978 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
979 PPC64_LOCAL_ENTRY_OFFSET): Define.
980 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
981 New function.
982 (elf_machine_fixup_plt): Call it.
983 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
984 reloc arguments.
985 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
986 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
987 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
988 r2 before calling target.
989
696caf1d
UW
9902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
991 Alan Modra <amodra@gmail.com>
992
993 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
994 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
995 versions of macros to support ELFv2 ABI.
996 (LOCALENTRY): New macro.
997 (ENTRY, EALIGN): Use it.
998 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
999 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1000 fall through into ENTRY entry point.
1001 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1002 Only define if _CALL_ELF != 2.
1003
1004 (elf_machine_matches_host): Verify ABI version matches.
1005 (RTLD_START): Use LOCALENTRY.
1006 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1007 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1008 (PLT_ENTRY_WORDS): New macro.
1009 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1010 (elf_machine_runtime_setup): Support ELFv2 ABI.
1011 (elf_machine_fixup_plt): Likewise.
1012 (elf_machine_plt_conflict): Likewise.
1013 (resolve_ifunc): Likewise.
1014 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1015 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1016 Likewise.
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1018 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1020 (makecontext): Support ELFv2 ABI.
1021 * elf/elf.h (EF_PPC64_ABI): Define.
1022
d31beafa
UW
10232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1024
1025 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1026 New assembler macro.
1027 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1028 [ASSEMBLER] (ENTRY): ... but instead here ...
1029 [ASSEMBLER] (EALIGN): ... and here.
1030 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1031 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1032 [!ASSEMBLER] (ENTRY_2): Use it.
1033 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1034 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1035 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1036 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1037 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1039 Use PPC64_LOAD_FUNCPTR.
1040
b525166b
UW
10412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1042
1043 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1044
7ec07d9a
AM
10452013-12-04 Alan Modra <amodra@gmail.com>
1046
1047 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1048 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1049 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1050 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1051
1052 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1053 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1054 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1055 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1056 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1057 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1058
5162e7dd
UW
10592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1060
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1062 (__makecontext): Fix incorrect CFI when backtracing out of
1063 context created via makecontext.
1064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1065 (__setcontext): Fix incorrect CFI during switch to new context.
1066 (__novec_setcontext): Likewise.
1067
19e3372b
OB
10682013-12-04 Ondřej Bílka <neleai@seznam.cz>
1069
1070 [BZ #4772]
1071 * time/strptime_l.c (__strptime_internal): Allow modifiers
1072 in strptime.
1073 * time/tst-strptime.c (day_tests): Add testcase.
1074
1075
ecaf142d
SP
10762013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1077
1078 * scripts/bench.pl: Skip over blank lines.
1079
fbf964ae
PE
10802013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1081
1082 [BZ #926]
1083 * manual/time.texi (Calendar Time): Clarify what timezone functions
1084 use.
1085
fa60a674
AZ
10862013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1087
1088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1089
d674f0ef
OB
10902013-12-04 Ondřej Bílka <neleai@seznam.cz>
1091
1092 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1093 implementation.
1094 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1095 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1096 * debug/memset_chk.c (__memset_chk): Likewise.
1097 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1098 * debug/strncpy_chk.c: Likewise.
1099
17dea188
JM
11002013-12-03 Joseph Myers <joseph@codesourcery.com>
1101
749008ff
JM
1102 [BZ #15268]
1103 [BZ #15425]
1104 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1105 (__ieee754_exp): For possibly underflowing results, check size of
1106 result and force underflow exception if required.
1107 * math/auto-libm-test-in: Add more tests of exp.
1108 * math/auto-libm-test-out: Regenerated.
1109 * sysdeps/i386/fpu/libm-test-ulps: Update.
1110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1111
17dea188
JM
1112 [BZ #16283]
1113 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1114 * math/w_exp2f.c (__exp2f): Likewise.
1115 * math/w_exp2l.c (__exp2l): Likewise.
1116 * math/auto-libm-test-in: Do not allow missing errno on exp2
1117 underflow.
1118 * math/auto-libm-test-out: Regenerated.
1119
b20de2c3
OB
11202013-12-03 Ondřej Bílka <neleai@seznam.cz>
1121
1122 [BZ #16274]
1123 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1124 handle filename validation.
1125 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1126 (do_open): Delete.
1127
d8e2dbe3
JM
11282013-12-03 Joseph Myers <joseph@codesourcery.com>
1129
34e16df5
JM
1130 [BZ #6786]
1131 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1132 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1133 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1134 <float.h>.
1135 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1136 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1137 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1138 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1139 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1140 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1141 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1142 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1143 Add more erfc tests.
1144 * math/auto-libm-test-out: Regenerated.
1145 * sysdeps/i386/fpu/libm-test-ulps: Update.
1146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1147
d8e2dbe3
JM
1148 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1149 exp2, expm1, j0 and j1.
1150 * math/auto-libm-test-out: Regenerated.
1151 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1152 (erfc_test_data): Likewise.
1153 (exp_test_data): Likewise.
1154 (exp_tonearest_test_data): Likewise.
1155 (exp_towardzero_test_data): Likewise.
1156 (exp_downward_test_data): Likewise.
1157 (exp_upward_test_data): Likewise.
1158 (exp10_test_data): Likewise.
1159 (exp2_test_data): Likewise.
1160 (expm1_test_data): Likewise.
1161 (j0_test_data): Likewise.
1162 (j1_test_data): Likewise.
1163 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1164 (input_flag_type): Add flag_xfail_rounding.
1165 (input_flags): Add xfail-rounding.
1166 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1167 (output_for_one_input_case): Handle flag_xfail_rounding.
1168 * sysdeps/i386/fpu/libm-test-ulps: Update.
1169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1170
18d14251
AJ
11712013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1172
3d2e6075 1173 [BZ #16289]
18d14251
AJ
1174 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1175 division by 0.
1176
520d437b
SP
11772013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1178
1179 [BZ #16195]
1180 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1181 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1182 (STAP_PROBE0): New macro.
1183 (STAP_PROBE1): Likewise.
1184 (STAP_PROBE2): Likewise.
1185 (STAP_PROBE3): Likewise.
1186 (STAP_PROBE4): Likewise.
1187
416e0145
OB
11882013-12-02 Ondřej Bílka <neleai@seznam.cz>
1189
1190 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1191
9d17796a
SE
11922013-12-02 Steve Ellcey <sellcey@mips.com>
1193
1194 * benchtests/Makefile (bench): Add sqrt.
1195 (LDLIBS-bench-sqrt): New.
1196 * benchtests/sqrt-input: New.
1197
f524d6a8
PS
11982013-12-02 Pavel Simerda <psimerda@redhat.com>
1199
639a0ef8
PS
1200 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1201 (GAIH_EAI): Likewise.
1202 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1203 (gaih_inet): Likewise.
1204 (getaddrinfo): Don't use GAIH_EAI.
1205
f524d6a8
PS
1206 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1207 (struct gaih): Remove definition.
1208
df3aedaf
SP
12092013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1210
1211 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1212 Use HERRNOP directly.
1213
1ab19dec
AZ
12142013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1215
b42ad38d 1216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1217
176b0c79
JM
12182013-11-30 Joseph Myers <joseph@codesourcery.com>
1219
1220 * math/gen-auto-libm-tests.c (test_functions): Add more
1221 single-argument functions.
1222 (special_fill_pi_2): New function.
1223 (special_fill_minus_pi_2): Likewise.
1224 (special_fill_pi_6): Likewise.
1225 (special_fill_minus_pi_6): Likewise.
1226 (special_fill_pi_3): Likewise.
1227 (special_fill_2pi_3): Likewise.
1228 (special_fill_e): Likewise.
1229 (special_fill_1_e): Likewise.
1230 (special_fill_e_minus_1): Likewise.
1231 (special_real_inputs): Add more special inputs.
1232 (output_for_one_input_case): Do not require ERANGE on underflow to
1233 zero if round-to-nearest result does not underflow to zero, unless
1234 exact results required.
1235 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1236 atan, atanh, cbrt, cos and cosh.
1237 * math/auto-libm-test-out: Regenerated.
1238 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1239 (acos_tonearest_test_data): Likewise.
1240 (acos_towardzero_test_data): Likewise.
1241 (acos_downward_test_data): Likewise.
1242 (acos_upward_test_data): Likewise.
1243 (acosh_test_data): Likewise.
1244 (asin_test_data): Likewise.
1245 (asin_tonearest_test_data): Likewise.
1246 (asin_towardzero_test_data): Likewise.
1247 (asin_upward_test_data): Likewise.
1248 (asinh_test_data): Likewise.
1249 (atan_test_data): Likewise.
1250 (atanh_test_data): Likewise.
1251 (cbrt_test_data): Likewise.
1252 (cos_test_data): Likewise.
1253 (cos_tonearest_test_data): Likewise.
1254 (cos_towardzero_test_data): Likewise.
1255 (cos_downward_test_data): Likewise.
1256 (cos_upward_test_data): Likewise.
1257 (cosh_test_data): Likewise.
1258 (cosh_tonearest_test_data): Likewise.
1259 (cosh_towardzero_test_data): Likewise.
1260 (cosh_downward_test_data): Likewise.
1261 (cosh_upward_test_data): Likewise.
1262 * sysdeps/i386/fpu/libm-test-ulps: Update.
1263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1264
ffb536d0
JM
12652013-11-29 Joseph Myers <joseph@codesourcery.com>
1266
2a77a467
JM
1267 [BZ #6787]
1268 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1269 * math/w_exp10f.c (__exp10f): Likewise.
1270 * math/w_exp10l.c (__exp10l): Likewise.
1271 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1272 errno settings in existing tests.
1273
ea3bc4e8
JM
1274 [BZ #14032]
1275 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1276 precision control set to double precision.
1277 * sysdeps/i386/fpu/w_sqrt.c: New file.
1278 * math/auto-libm-test-in: Add more tests.
1279 * math/auto-libm-test-out: Update.
1280
0712c9d8
JM
1281 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1282 (sqrt_test_tonearest): New function.
1283 (sqrt_towardzero_test_data): New variable.
1284 (sqrt_test_towardzero): New function.
1285 (sqrt_downward_test_data): New variable.
1286 (sqrt_test_downward): New function.
1287 (sqrt_upward_test_data): New variable.
1288 (sqrt_test_upward): New function.
1289 (main): Call the new functions.
1290
ffb536d0
JM
1291 * math/gen-auto-libm-tests.c: New file.
1292 * math/auto-libm-test-in: Likewise.
1293 * math/auto-libm-test-out: New generated file.
1294 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1295 variables.
1296 (%beautify): Add generated representations of zero.
1297 (top level): Set $auto_input and call parse_auto_input.
1298 (beautify): Remove trailing "f" from hex float constants.
1299 (parse_args): Handle XFAIL_TEST.
1300 (convert_condition): New function.
1301 (or_value): Likewise.
1302 (or_cond_value): Likewise.
1303 (generate_testfile): Handle AUTO_TESTS_* lines.
1304 (parse_auto_input): New function.
1305 * math/libm-test.inc (XFAIL_TEST): New macro.
1306 (ERRNO_UNCHANGED): Update value.
1307 (ERRNO_EDOM): Likewise.
1308 (ERRNO_ERANGE): Likewise.
1309 (IGNORE_RESULT): Likewise.
1310 (TEST_COND_flt_32): New macro.
1311 (TEST_COND_dbl_64): Likewise.
1312 (TEST_COND_ldbl_96_intel): Likewise.
1313 (TEST_COND_ldbl_96_m68k): Likewise.
1314 (TEST_COND_ldbl_128): Likewise.
1315 (TEST_COND_ldbl_128ibm): Likewise.
1316 (TEST_COND_long32): Likewise.
1317 (TEST_COND_long64): Likewise.
1318 (TEST_COND_before_rounding): Likewise.
1319 (TEST_COND_after_rounding): Likewise.
1320 (enable_test): Handle XFAIL_TEST flag.
1321 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1322 with finite results.
1323 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1324 auto-libm-test-out.
1325
acd98a8e
AK
13262013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1327 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1328
1329 [BZ #16214]
1330 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1331 __tls_get_addr_internal instead of __tls_get_offset in order to
1332 avoid GOT pointer dependency. Make rtld export
1333 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1334 __tls_get_addr since we are a __tls_get_offset platform.
1335 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1336 GOT pointer being set up before.
1337 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1338
3c1c46a6
JM
13392013-11-28 Joseph Myers <joseph@codesourcery.com>
1340
7475aef5
JM
1341 * manual/math.texi (Errors in Math Functions): Document accuracy
1342 goals.
1343
8bca7cd8
JM
1344 [BZ #15004]
1345 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1346 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1348 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1349 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1351 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1352 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1353 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1354 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1355 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1356 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1357 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1358 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1359 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1360 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1361
91a1f3fe
JM
1362 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1363 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1364 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1365 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1366 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1367 Likewise.
1368 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1369 Likewise.
1370 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1371 Likewise.
1372 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1373 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1374 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1375 atomic-feupdateenv and flt-rounds.
1376 * sysdeps/powerpc/nofpu/Versions (libc): Add
1377 __atomic_feholdexcept, __atomic_feclearexcept,
1378 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1379 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1380 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1381 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1382 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1383 here.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1385 Update.
1386
c5df7609
JM
1387 * manual/arith.texi (FP Exceptions): Document that exceptions may
1388 not be raised when matherr is used.
1389 (Math Error Reporting): Document overflow in directed rounding
1390 modes. Document that errno may not be set when finite values are
1391 returned on overflow. Document intent to set errno on underflow
1392 only for underflow to zero.
1393
3c1c46a6
JM
1394 [BZ #16271]
1395 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1396 round-to-nearest then adjust result for other rounding modes.
1397 * include/fenv.h (fegetround): Use libm_hidden_proto.
1398 * math/fegetround.c (fegetround): Use libm_hidden_def.
1399 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1400 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1401 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1402 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1403 Likewise.
1404 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1405 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1406 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1407 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1408
5a4c6d53
SP
14092013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1410
1411 [BZ #16077]
1412 * nss/Versions (libnss_files): Add
1413 _nss_files_gethostbyname3_r.
1414 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1415 New function.
1416 (HOST_DB_LOOKUP): Remove macro.
1417 (_nss_files_gethostbyname_r): Implement function without the
1418 HOST_DB_LOOKUP macro.
1419 (_nss_files_gethostbyname2_r): Likewise.
1420
897b98ba
OB
14212013-11-28 Ondřej Bílka <neleai@seznam.cz>
1422
1423 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1424
6f476861
UB
14252013-11-26 Uros Bizjak <ubizjak@gmail.com>
1426
1427 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1428 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1429 warning.
1430
bd12ab55
AZ
14312013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1432
1433 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1434 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1435 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1436 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1437 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1438 __fe_nomask_env_priv and attribute_hidden.
1439 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1440 (libc_feupdateenv_test_ppc): Likewise.
1441 (libc_feresetround_ppc): Likewise.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1443 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1444 compat_symbol macro.
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1446 (__fe_nomask_env): Likewise.
1447 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1448
52bb6543
OB
14492013-11-26 Ondřej Bílka <neleai@seznam.cz>
1450
1451 * string/Makefile: Remove ifunc tests.
1452 * string/test-string.h: Define TEST_IFUNC.
1453 * string/test-bcopy-ifunc.c: Remove.
1454 * string/test-bzero-ifunc.c: Likewise.
1455 * string/test-memccpy-ifunc.c: Likewise.
1456 * string/test-memchr-ifunc.c: Likewise.
1457 * string/test-memcmp-ifunc.c: Likewise.
1458 * string/test-memcpy-ifunc.c: Likewise.
1459 * string/test-memmem-ifunc.c: Likewise.
1460 * string/test-memmove-ifunc.c: Likewise.
1461 * string/test-mempcpy-ifunc.c: Likewise.
1462 * string/test-memrchr-ifunc.c: Likewise.
1463 * string/test-memset-ifunc.c: Likewise.
1464 * string/test-rawmemchr-ifunc.c: Likewise.
1465 * string/test-stpcpy-ifunc.c: Likewise.
1466 * string/test-stpncpy-ifunc.c: Likewise.
1467 * string/test-strcasecmp-ifunc.c: Likewise.
1468 * string/test-strcasestr-ifunc.c: Likewise.
1469 * string/test-strcat-ifunc.c: Likewise.
1470 * string/test-strchr-ifunc.c: Likewise.
1471 * string/test-strchrnul-ifunc.c: Likewise.
1472 * string/test-strcmp-ifunc.c: Likewise.
1473 * string/test-strcpy-ifunc.c: Likewise.
1474 * string/test-strcspn-ifunc.c: Likewise.
1475 * string/test-strlen-ifunc.c: Likewise.
1476 * string/test-strncasecmp-ifunc.c: Likewise.
1477 * string/test-strncat-ifunc.c: Likewise.
1478 * string/test-strncmp-ifunc.c: Likewise.
1479 * string/test-strncpy-ifunc.c: Likewise.
1480 * string/test-strnlen-ifunc.c: Likewise.
1481 * string/test-strpbrk-ifunc.c: Likewise.
1482 * string/test-strrchr-ifunc.c: Likewise.
1483 * string/test-strspn-ifunc.c: Likewise.
1484 * string/test-strstr-ifunc.c: Likewise.
1485
ab260039 14862013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1487
1488 * benchtests/Makefile: Remove ifunc tests.
1489 * benchtests/bench-string.h: Define TEST_IFUNC.
1490 * benchtests/bench-bcopy-ifunc.c: Remove.
1491 * benchtests/bench-bzero-ifunc.c: Likewise.
1492 * benchtests/bench-memccpy-ifunc.c: Likewise.
1493 * benchtests/bench-memchr-ifunc.c: Likewise.
1494 * benchtests/bench-memcmp-ifunc.c: Likewise.
1495 * benchtests/bench-memcpy-ifunc.c: Likewise.
1496 * benchtests/bench-memmem-ifunc.c: Likewise.
1497 * benchtests/bench-memmove-ifunc.c: Likewise.
1498 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1499 * benchtests/bench-memrchr-ifunc.c: Likewise.
1500 * benchtests/bench-memset-ifunc.c: Likewise.
1501 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1502 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1503 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1504 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1505 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1506 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1507 * benchtests/bench-strcat-ifunc.c: Likewise.
1508 * benchtests/bench-strchr-ifunc.c: Likewise.
1509 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1510 * benchtests/bench-strcmp-ifunc.c: Likewise.
1511 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1512 * benchtests/bench-strcpy-ifunc.c: Likewise.
1513 * benchtests/bench-strcspn-ifunc.c: Likewise.
1514 * benchtests/bench-strlen-ifunc.c: Likewise.
1515 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1516 * benchtests/bench-strncat-ifunc.c: Likewise.
1517 * benchtests/bench-strncmp-ifunc.c: Likewise.
1518 * benchtests/bench-strncpy-ifunc.c: Likewise.
1519 * benchtests/bench-strnlen-ifunc.c: Likewise.
1520 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1521 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1522 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1523 * benchtests/bench-strspn-ifunc.c: Likewise.
1524 * benchtests/bench-strstr-ifunc.c: Likewise.
1525
15262013-11-26 Ondřej Bílka <neleai@seznam.cz>
1527
ab260039
OB
1528 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1529
d1d9eaf4 15302013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1531
d1d9eaf4
OB
1532 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1533 * rt/aio.h: Likewise.
1534 * sysdeps/gnu/bits/utmp.h: Likewise.
1535 * sysdeps/gnu/bits/utmpx.h: Likewise.
1536 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1537 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1538 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1539 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1540 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1541 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1542 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1543 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1544 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1545 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1546 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1547 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1548 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1550 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1551 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1552 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1553 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1554 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1555 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1556 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1557 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1558 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1559 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1560 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1562 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1563 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1564 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1565 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1566 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1567 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1568 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1569 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1570 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1571 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1572 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1573 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1574 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1575 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1576 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1577 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1578
a7624ed9
CD
15792013-11-25 Carlos O'Donell <carlos@redhat.com>
1580
1581 [BZ #16245]
1582 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1583 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1584
63cfe52b
JM
15852013-11-25 Joseph Myers <joseph@codesourcery.com>
1586
1587 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1588 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1589 Likewise.
1590
41e8926a
AZ
15912013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592
1593 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1594 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1595 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1596 (__fesetround): Remove define.
1597 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1598 rounding and exceptions handling.
1599 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1600 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1601 (__fe_nomask_env): Likewise.
1602 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1603 __fegetround instead of fegetround.
1604 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1605 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1606
6851bd4d
RM
16072013-11-21 Roland McGrath <roland@hack.frob.com>
1608
070906ff
RM
1609 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1610 it's there.
1611
6851bd4d
RM
1612 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1613
84ae135d
MI
16142013-11-21 Meador Inge <meadori@codesourcery.com>
1615
1616 [BZ #11157]
1617 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1618 (encrypt_r): Likewise.
1619 * malloc/obstack.h (obstack_free): Likewise.
1620 * posix/unistd.h (encrypt): Likewise.
1621
daf75146
GM
16222013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1623
1624 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1625 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1626 DL_CALL_DT_FINI() that call the functions directly.
1627 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1628 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1629 * elf/dl-fini.c: Likewise.
1630
10ad46bc
OB
16312013-11-20 Ondřej Bílka <neleai@seznam.cz>
1632
1633 * malloc/hooks.c (memalign_check): Add alignment rounding.
1634 * malloc/malloc.c (_mid_memalign): New function.
1635 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1636 Implement by calling _mid_memalign.
1637 * manual/probes.texi (Memory Allocation Probes): Remove
1638 memory_valloc_retry and memory_pvalloc_retry.
1639
f3fd2628
SP
16402013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1641
4712799f
SP
1642 * locale/programs/locarchive.c (open_archive): Add const
1643 qualifier to ARCHIVEFNAME and copy default fname to
1644 DEFAULT_FNAME.
1645
0417b20f
SP
1646 [BZ #15601]
1647 * libio/tst-widetext.input: Rename Oriya to Odia.
1648 * locale/iso-639.def: Likewise.
1649
f3fd2628
SP
1650 * manual/probes.texi (Mathematical Function Probes): Add
1651 documentation for sin, cos, asin and acos probes.
1652 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1653 (__sin32): Add slowasin probe.
1654 (__cos32): Add slowacos probe.
1655 (__mpsin): Add slowsin probe.
1656 (__mpcos): Add slowcos probe.
1657
73c1ce4f
JM
16582013-11-19 Joseph Myers <joseph@codesourcery.com>
1659
1660 [BZ #15483]
1661 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1662 thread-local __sim_exceptions_thread and global
1663 __sim_exceptions_global.
1664 (__sim_disabled_exceptions): Change to thread-local
1665 __sim_disabled_exceptions_thread and global
1666 __sim_disabled_exceptions_global.
1667 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1668 and global __sim_round_mode_global.
1669 (__simulate_exceptions): Use thread-local floating-point state and
1670 set global state from it as needed.
1671 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1672 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1673 __sim_round_mode_thread.
1674 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1675 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1676 and global __sim_exceptions_global.
1677 (__sim_disabled_exceptions): Change to thread-local
1678 __sim_disabled_exceptions_thread and global
1679 __sim_disabled_exceptions_global.
1680 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1681 and global __sim_round_mode_global.
1682 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1683 (SIM_SET_GLOBAL): Likewise.
1684 * sysdeps/powerpc/soft-fp/sfp-machine.h
1685 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1686 __sim_round_mode_thread.
1687 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1688 __sim_disabled_exceptions_thread.
1689 (__sim_exceptions): Change to __sim_exceptions_thread.
1690 (__sim_disabled_exceptions): Change to
1691 __sim_disabled_exceptions_thread.
1692 (__sim_round_mode): Change to __sim_round_mode_thread.
1693 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1694 thread-local floating-point state and set global state from it as
1695 needed.
1696 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1697 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1698 (__sim_disabled_exceptions): Remove extern declaration.
1699 (feenableexcept): Use thread-local floating-point state and set
1700 global state from it as needed.
1701 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1702 extern declaration.
1703 (__sim_disabled_exceptions): Likewise.
1704 (__sim_round_mode): Likewise.
1705 (__fegetenv): Use thread-local floating-point state.
1706 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1707 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1708 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1709 floating-point state and set global state from it as needed.
1710 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1711 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1712 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1713 Likewise.
1714 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1715 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1716 Likewise.
1717 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1718 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1719 Use __sim_round_mode_thread.
1720 * math/test-fenv-tls.c: New file.
1721 * math/Makefile (tests): Add test-fenv-tls.
1722 ($(objpfx)test-fenv-tls): Depend on
1723 $(common-objpfx)nptl/libpthread.so.
1724
b5449b12
AS
17252013-11-19 Andreas Schwab <schwab@suse.de>
1726
1727 * locale/programs/locale.c (show_info): Decode wordarray elements.
1728 * locale/categories.def (LC_MONETARY): Add element for
1729 _NL_MONETARY_CRNCYSTR.
1730 * locale/C-monetary.c (conversion_rate): New variable.
1731 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1732 element.
1733
e186536b
CM
17342013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1735
1736 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1737 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1738
5c349950
PP
17392013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1740
1741 * elf/Makefile (tst-auxv): New test.
1742 * elf/tst-auxv.c: New
1743 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1744
699df45b
JM
17452013-11-18 Joseph Myers <joseph@codesourcery.com>
1746
1747 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1748 (hidden_proto): Caller changed.
1749 (hidden_tls_proto): New macro.
1750 (libc_hidden_tls_proto): Likewise.
1751 (rtld_hidden_tls_proto): Likewise.
1752 (libm_hidden_tls_proto): Likewise.
1753 (libresolv_hidden_tls_proto): Likewise.
1754 (librt_hidden_tls_proto): Likewise.
1755 (libdl_hidden_tls_proto): Likewise.
1756 (libnss_files_hidden_tls_proto): Likewise.
1757 (libnsl_hidden_tls_proto): Likewise.
1758 (libnss_nisplus_hidden_tls_proto): Likewise.
1759 (libutil_hidden_tls_proto): Likewise.
1760
b7589107
OB
17612013-11-18 Ondřej Bílka <neleai@seznam.cz>
1762
1763 [BZ #10253]
1764 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1765 (decompose_rpath): Defer expansion to fillin_rpath.
1766 (_dl_init_paths): Pass linkmap to fillin_rpath.
1767
250c23bd
RS
17682013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1769
1770 * benchtests/Makefile: Add strsep.
1771 * benchtests/bench-strsep.c: New file: strsep benchtest.
1772 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1773
a7931fcf
AS
17742013-11-18 Andreas Schwab <schwab@suse.de>
1775
1776 * locale/programs/locale.c (show_info) [case byte]: Check for
1777 '\377' instead of '\177'.
1778 * locale/C-monetary.c (not_available): Always use "\377".
1779 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1780 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1781 detect unavailable sign_posn locale elements.
1782 * locale/localeconv.c (__localeconv): For grouping and
1783 mon_grouping handle "\177" and "\377" like no grouping.
1784 (INT_ELEM): New macro. Use it to set all numeric members.
1785 * locale/programs/ld-monetary.c (monetary_read)
1786 <tok_mon_grouping>: Normalize single -1 to the empty string.
1787 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1788 Likewise.
1789
728dab0e
OB
17902013-11-07 Ondřej Bílka <neleai@seznam.cz>
1791
1792 [BZ #16055]
1793 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1794 when we match (nil).
1795 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1796
66294491
JM
17972013-11-16 Joseph Myers <joseph@codesourcery.com>
1798
ce665817
JM
1799 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1800 (NO_TEST_INLINE): Update value.
1801 (ERRNO_UNCHANGED): Likewise.
1802 (ERRNO_EDOM): Likewise.
1803 (ERRNO_ERANGE): Likewise.
1804 (IGNORE_RESULT): Likewise.
1805 (check_float_internal): Check signs of NaN results if
1806 TEST_NAN_SIGN used.
1807 (check_complex): Pass TEST_NAN_SIGN flag through to second
1808 check_float_internal call.
1809 (copysign_test_data): Add tests with quiet NaNs as second
1810 argument. Use TEST_NAN_SIGN.
1811 (fabs_test_data): Add test of negative quiet NaN argument. Use
1812 TEST_NAN_SIGN.
1813 (signbit_test_data): Add tests of quiet NaN argument.
1814 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1815
ee1466a9
JM
1816 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1817 $ignore_result.
1818 (parse_args): Handle function results specified as IGNORE.
1819 * math/libm-test.inc (IGNORE_RESULT): New macro.
1820 (check_float_internal): Do not check numerical result if flag
1821 IGNORE_RESULT set.
1822 (check_complex): Pass through IGNORE_RESULT to second
1823 check_float_internal call.
1824 (check_int): Do not check numerical result if flag IGNORE_RESULT
1825 set.
1826 (check_long): Likewise.
1827 (check_bool): Likewise.
1828 (check_longlong): Likewise.
1829 (lrint_test_data): Add tests of infinite and NaN arguments.
1830 (lrint_tonearest_test_data): Likewise.
1831 (lrint_towardzero_test_data): Likewise.
1832 (lrint_downward_test_data): Likewise.
1833 (lrint_upward_test_data): Likewise.
1834 (llrint_test_data): Likewise.
1835 (llrint_tonearest_test_data): Likewise.
1836 (llrint_towardzero_test_data): Likewise.
1837 (llrint_downward_test_data): Likewise.
1838 (llrint_upward_test_data): Likewise.
1839 (lround_test_data): Likewise.
1840 (llround_test_data): Likewise.
1841
14407b7e
JM
1842 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1843 (ERRNO_UNCHANGED): Update value.
1844 (ERRNO_EDOM): Likewise.
1845 (ERRNO_ERANGE): Likewise.
1846 (NO_TEST_INLINE_FLOAT): New macro.
1847 (NO_TEST_INLINE_DOUBLE): Likewise.
1848 (enable_test): New function.
1849 (RUN_TEST_f_f): Check enable_test before running test.
1850 (RUN_TEST_2_f): Likewise.
1851 (RUN_TEST_fff_f): Likewise.
1852 (RUN_TEST_c_f): Likewise.
1853 (RUN_TEST_f_f1): Likewise.
1854 (RUN_TEST_fF_f1): Likewise.
1855 (RUN_TEST_fI_f1): Likewise.
1856 (RUN_TEST_ffI_f1): Likewise.
1857 (RUN_TEST_c_c): Likewise.
1858 (RUN_TEST_cc_c): Likewise.
1859 (RUN_TEST_f_i): Likewise.
1860 (RUN_TEST_f_i_tg): Likewise.
1861 (RUN_TEST_ff_i_tg): Likewise.
1862 (RUN_TEST_f_b): Likewise.
1863 (RUN_TEST_f_b_tg): Likewise.
1864 (RUN_TEST_f_l): Likewise.
1865 (RUN_TEST_f_L): Likewise.
1866 (RUN_TEST_fFF_11): Likewise.
1867 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1868 conditionals.
1869 (cosh_test_data): Likewise.
1870 (exp_test_data): Likewise.
1871 (expm1_test_data): Likewise.
1872 (hypot_test_data): Likewise.
1873 (pow_test_data): Likewise.
1874 (sinh_test_data): Likewise.
1875 (tanh_test_data): Likewise.
1876 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1877 flags argument.
1878
ca07f197
JM
1879 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1880 tests with quiet NaN input and output.
1881 (acosh_test_data): Likewise.
1882 (asin_test_data): Likewise.
1883 (asinh_test_data): Likewise.
1884 (atan_test_data): Likewise.
1885 (atanh_test_data): Likewise.
1886 (atan2_test_data): Likewise.
1887 (cbrt_test_data): Likewise.
1888 (cos_test_data): Likewise.
1889 (cosh_test_data): Likewise.
1890 (erf_test_data): Likewise.
1891 (erfc_test_data): Likewise.
1892 (exp_test_data): Likewise.
1893 (exp10_test_data): Likewise.
1894 (exp2_test_data): Likewise.
1895 (expm1_test_data): Likewise.
1896 (hypot_test_data): Likewise.
1897 (j0_test_data): Likewise.
1898 (j1_test_data): Likewise.
1899 (jn_test_data): Likewise.
1900 (lgamma_test_data): Likewise.
1901 (log_test_data): Likewise.
1902 (log10_test_data): Likewise.
1903 (log1p_test_data): Likewise.
1904 (log2_test_data): Likewise.
1905 (pow_test_data): Likewise.
1906 (scalb_test_data): Likewise.
1907 (sin_test_data): Likewise.
1908 (sincos_test_data): Likewise.
1909 (sinh_test_data): Likewise.
1910 (tan_test_data): Likewise.
1911 (tanh_test_data): Likewise.
1912 (tgamma_test_data): Likewise.
1913 (y0_test_data): Likewise.
1914 (y1_test_data): Likewise.
1915 (yn_test_data): Likewise.
1916
66294491
JM
1917 [BZ #16167]
1918 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1919 argument being NaN and avoid computations with second argument in
1920 that case.
1921 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1922 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1923 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1924
1820b143
CL
19252013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1926
1927 * locale/iso-639.def: Add Chitwani Tharu (the).
1928
714bd261
AS
19292013-11-14 Andreas Schwab <schwab@suse.de>
1930
1931 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1932 word instead of empty string.
1933
7ab44563
AZ
19342013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1935
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1937 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1939 (__fe_nomask_env): Likewise.
1940
e8470ea2
SE
19412013-11-13 Steve Ellcey <sellcey@mips.com>
1942
1943 * benchtests/bench-timing.h: Include time.h.
1944
17c1d9f0
L
19452013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1946
1947 [BZ #15997]
1948 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1949 to 3.4.0 for x32.
1950 * sysdeps/unix/sysv/linux/configure: Regenerated.
1951
9310c284
JM
19522013-11-13 Joseph Myers <joseph@codesourcery.com>
1953
1954 [BZ #16151]
1955 * stdlib/strtod_l.c (round_and_return): Do not consider
1956 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1957 exponent one less than half the least subnormal exponent.
1958 * stdlib/test-strtod-round-data: Add more tests.
1959 * stdlib/tst-strtod-round.c (tests): Regenerated.
1960
7a2ad8cf
AZ
19612013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1962
1963 [BZ #14143]
1964 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1965 (__fe_mask_env): Likewise.
1966 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1967 libm_hidden_proto and add function prototype.
1968 (__fe_mask_env): Add function prototype.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1970 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1972 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1974 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1975
50727aa7
MS
19762013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1977
b2f386c1 1978 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1979 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1980
a615be46
MS
19812013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1982
1983 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1984 of htab_find_slot().
1985
7ddace62
DM
19862013-11-11 David S. Miller <davem@davemloft.net>
1987
1988 [BZ #16150]
1989 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1990 symbol in the non-vis3 case in static builds.
1991 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1992 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1993 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1994 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1995
9182aa67
JK
19962013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1997
1998 [BZ #387]
1999 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2000 it is empty.
2001
450a2e2d
AZ
20022013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2003
b2f386c1
SP
2004 * benchtests/Makefile: Add bench-strtod.
2005 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 2006
8ec3f656
AS
20072013-11-11 Andreas Schwab <schwab@suse.de>
2008
2009 [BZ #16153]
2010 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2011 terminating NUL in key length.
2012
76a9b998
AZ
20132013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2014
2015 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2016 Add artificial ODP entry for vDSO symbol for PPC64.
2017 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2018 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2019
e4368156
OB
20202013-11-07 Ondřej Bílka <neleai@seznam.cz>
2021
2022 [BZ #15374]
2023 * nss/getent.c (services_keys): Recognize services starting with digit.
2024
8d6bb57c
DM
20252013-11-06 David S. Miller <davem@davemloft.net>
2026
2027 [BZ #15985]
2028 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2029 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2030
e256c421
WN
20312013-11-06 Will Newton <will.newton@linaro.org>
2032
2033 * manual/memory.texi (Malloc Examples): Remove register
2034 keyword from examples.
2035
f6e12daa 20362013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2037
f6e12daa 2038 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2039
9d880655
AS
20402013-11-04 Joseph Myers <joseph@codesourcery.com>
2041
2042 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2043 depending on [__GCC_IEC_559 > 0].
2044 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2045 depending on [__GCC_IEC_559_COMPLEX > 0].
2046
ae129d3c
CL
20472013-11-03 Chris Leonard <cjl@sugarlabs.org>
2048
2049 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2050 to iso-639.def.
2051
4a15c2a4 20522013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2053
2054 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2055
8b35e35d
OB
20562013-11-01 Ondřej Bílka <neleai@seznam.cz>
2057
2058 [BZ #16112]
2059 * malloc/malloc (malloc_info): Do not handle first bin as
2060 special case.
2061
1d70fd6c
CL
20622013-11-01 Chris Leonard <cjl@sugarlabs.org>
2063
2064 * locale/iso-639.def: Add Central Nahuatl (nhn).
2065
8c5c2600
BH
20662013-11-01 Bruno Haible <bruno@clisp.org>
2067
2068 [BZ #7003]
2069 * manual/math.texi (BSD Random): Specify range upper bound as
2070 in POSIX.
2071
da5579c2
CL
20722013-10-31 Chris Leonard <cjl@sugarlabs.org>
2073
2074 * locale/iso-639.def: Add Meadow Mari (mhr).
2075
5d30d853
OB
20762013-10-31 Ondřej Bílka <neleai@seznam.cz>
2077
2078 [BZ #14752], [BZ #15763]
2079 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2080 Validate name.
2081 * rt/tst_shm.c: Add test for escaping directory.
2082
a4966c61
AS
20832013-10-31 Andreas Schwab <schwab@suse.de>
2084
8a43e768 2085 [BZ #15917]
a4966c61
AS
2086 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2087 followed by 'x' as part of digit sequence.
2088 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2089
28d708c4
MAP
20902013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2091
2092 [BZ #16037]
2093 * configure.ac: allow GNU Make 4.0 and greater.
2094 * configure: Regenerated.
2095
a56ee40b
WN
20962013-10-30 Will Newton <will.newton@linaro.org>
2097
2098 [BZ #16038]
2099 * malloc/hooks.c (memalign_check): Limit alignment to the
2100 maximum representable power of two.
2101 * malloc/malloc.c (__libc_memalign): Likewise.
2102 * malloc/tst-memalign.c (do_test): Add test for very
2103 large alignment values.
2104 * malloc/tst-posix_memalign.c (do_test): Likewise.
2105
c6e4925d
OB
21062013-10-30 Ondřej Bílka <neleai@seznam.cz>
2107
2108 [BZ #11087]
2109 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2110 (munmap_chunk): Likewise.
2111 (mremap_chunk): Likewise.
2112
21132013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2114
8a43e768 2115 [BZ #15799]
bbea82f7
OB
2116 * stdlib/div.c (div): Remove obsolete code.
2117 * stdlib/ldiv.c (ldiv): Likewise.
2118 * stdlib/lldiv.c (lldiv): Likewise.
2119
977f4b31
SP
21202013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2121
2122 [BZ #16071]
2123 * nss/nss_files/files-XXX.c (get_contents_ret): New
2124 enumerator.
2125 (get_contents): New function.
2126 (internal_getent): Use it. Expand size of LINEBUFLEN.
2127
cb8a6dbd
MF
21282013-10-30 Mike Frysinger <vapier@gentoo.org>
2129
2130 * configure.in: Moved to ...
2131 * configure.ac: ... here. Change reference to configure.in
2132 to configure.ac.
2133 * sysdeps/arm/preconfigure.ac: ... here.
2134 configure.in to configure.ac.
2135 * sysdeps/gnu/configure.in: Moved to ...
2136 * sysdeps/gnu/configure.ac: ... here.
2137 * sysdeps/i386/configure.in: Moved to ...
2138 * sysdeps/i386/configure.ac: ... here.
2139 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2140 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2141 * sysdeps/mach/configure.in: Moved to ...
2142 * sysdeps/mach/configure.ac: ... here.
2143 * sysdeps/mach/hurd/configure.in: Moved to ...
2144 * sysdeps/mach/hurd/configure.ac: ... here.
2145 * sysdeps/powerpc/configure.in: Moved to ...
2146 * sysdeps/powerpc/configure.ac: ... here.
2147 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2148 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2149 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2150 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2151 * sysdeps/s390/s390-32/configure.in: Moved to ...
2152 * sysdeps/s390/s390-32/configure.ac: ... here.
2153 * sysdeps/s390/s390-64/configure.in: Moved to ...
2154 * sysdeps/s390/s390-64/configure.ac: ... here.
2155 * sysdeps/sh/configure.in: Moved to ...
2156 * sysdeps/sh/configure.ac: ... here.
2157 * sysdeps/sparc/configure.in: Moved to ...
2158 * sysdeps/sparc/configure.ac: ... here.
2159 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2160 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2161 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2162 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2163 * sysdeps/x86_64/configure.in: Moved to ...
2164 * sysdeps/x86_64/configure.ac: ... here.
2165 * sysdeps/x86_64/preconfigure.in: Moved to ...
2166 * sysdeps/x86_64/preconfigure.ac: ... here.
2167 * aclocal.m4: Change reference to configure.in to configure.ac.
2168 * config.h.in: Likewise.
2169 * manual/install.texi: Likewise.
2170 * manual/maint.texi: Likewise.
2171 * Makefile: Likewise.
2172 * malloc/Makefile: Likewise.
2173 * nscd/Makefile: Likewise.
2174 * Makeconfig: Change reference to configure.in and
2175 preconfigure.in to configure.ac and preconfigure.ac
2176 respectively.
2177 * INSTALL: Regenerated.
2178 * configure: Likewise.
2179 * sysdeps/gnu/configure: Likewise.
2180 * sysdeps/i386/configure: Likewise.
2181 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2182 * sysdeps/mach/configure: Likewise.
2183 * sysdeps/mach/hurd/configure: Likewise.
2184 * sysdeps/powerpc/configure: Likewise.
2185 * sysdeps/powerpc/powerpc32/configure: Likewise.
2186 * sysdeps/powerpc/powerpc64/configure: Likewise.
2187 * sysdeps/s390/s390-32/configure: Likewise.
2188 * sysdeps/s390/s390-64/configure: Likewise.
2189 * sysdeps/sh/configure: Likewise.
2190 * sysdeps/sparc/configure: Likewise.
2191 * sysdeps/unix/sysv/linux/configure: Likewise.
2192 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2193 * sysdeps/x86_64/configure: Likewise.
2194 * sysdeps/x86_64/preconfigure: Likewise.
2195
36a4953a
AS
21962013-10-29 Andreas Schwab <schwab@suse.de>
2197
2198 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2199
c79a1204
SP
22002013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2201
dfa1b402
SP
2202 * benchtests/pow-inputs: Add new inputs.
2203
54f73d9c
SP
2204 * benchtests/exp-inputs: Add new inputs.
2205
c79a1204
SP
2206 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2207 conditional check for return value.
2208 (__cos32): Likewise.
2209
67beb545 22102013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2211
2212 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2213 to provide a boost for large inputs with word alignment.
2214 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2215 implementation based on optimized PPC64 strcpy.
2216 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2217 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2218 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2219 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2220
151659f6
OB
22212013-10-25 Ondřej Bílka <neleai@seznam.cz>
2222
482a077e 2223 [BZ #2801]
151659f6
OB
2224 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2225
10b0f26b
OB
22262013-10-25 Ondřej Bílka <neleai@seznam.cz>
2227
2228 [BZ #14876]
2229 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2230 * time/tst-strptime.c (day_tests): Add testcase.
2231
ca42d35e
OB
22322013-10-25 Ondřej Bílka <neleai@seznam.cz>
2233
482a077e 2234 [BZ #14029]
ca42d35e
OB
2235 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2236
52e6d801
FB
22372013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2238
2239 [BZ #16074]
2240 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2241 MAP_FAILED on error.
2242
7cbcdb36
SP
22432013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2244
2245 [BZ #16072]
2246 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2247 heap for large requests.
2248
894f3f10
AM
22492013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2250
2251 [BZ #9954]
2252 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2253 result if the result has no associated interface.
2254 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2255 interface for all 127.X.Y.Z addresses.
2256
b85545a6
CL
22572013-10-24 Chris Leonard <cjl@sugarlabs.org>
2258
2259 * locale/iso-639.def: Add Ligurian (lij)
2260
d1f23d46
OB
22612013-10-21 Ondřej Bílka <neleai@seznam.cz>
2262
2263 [BZ #15825]
2264 * sunrpc/rpc_main.c: Document rpcgen -5.
2265
4db5b08f
MS
22662013-10-19 Michael Stahl <mstahl@redhat.com>
2267
2268 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2269
a471e96a
OB
22702013-10-19 Ondřej Bílka <neleai@seznam.cz>
2271
d1f23d46 2272 [BZ #10278]
a471e96a
OB
2273 * posix/glob.c: Match only directories when trailing slash is present.
2274 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2275 (main): Add testcase.
2276
45c30c61
OB
22772013-10-19 Ondřej Bílka <neleai@seznam.cz>
2278
2279 [BZ #15670]
2280 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2281
484c12fb
CD
22822013-10-18 Carlos O'Donell <carlos@redhat.com>
2283
3d7dc513
CD
2284 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2285 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2286 AUTH_DES and cindex for FIPS 140-2.
2287 (DES Encryption): Add cindex FIPS 46-3.
2288
484c12fb
CD
2289 * locale/locarchive.h (struct locarhandle): Add fname.
2290 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2291 if an optional argument was specified to --list-archive,
2292 otherwise NULL.
2293 * locale/programs/locarchive.c (show_archive_content): Take new
2294 argument fname and pass it via ah.fname to open_archive.
2295 * locale/programs/localedef.h: Update decl.
2296 (open_archive): If AH->fname is non-null, open that file
2297 rather than the default file name, and don't ignore ENOENT.
2298 (create_archive): Set AH.fname to NULL.
2299 (delete_locales_from_archive): Likewise.
2300 (add_locales_to_archive): Likewise.
2301 * locale/programs/locfile.c (write_all_categories): Likewise.
2302
3c8325fb
JM
23032013-10-18 Joseph Myers <joseph@codesourcery.com>
2304 Aldy Hernandez <aldyh@redhat.com>
2305
2306 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2307 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2308 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2309 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2310 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2311 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2312 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2313 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2314 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2315 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2316 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2317 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2318 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2319 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2320 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2321 Likewise.
2322 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2323 Likewise.
2324 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2325 Likewise.
2326 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2327 Likewise.
2328 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2329 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2330 Likewise.
2331 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2332 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2333 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2334 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2335 Likewise.
2336 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2337 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2338 * sysdeps/powerpc/preconfigure: Likewise.
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2340 Likewise.
2341 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2342 Replace contents of file by #include of <fenv_libc.h>.
2343 * sysdeps/powerpc/soft-fp/sfp-machine.h
2344 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2345 and <sys/prctl.h>.
2346 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2347 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2348 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2349 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2350 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2351 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2353 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2354 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2355 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2356 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2357 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2359 Allow copysignl PLT reference to be missing.
2360
5abe0682
RS
23612013-10-18 Richard Sandiford <richard@codesourcery.com>
2362 Joseph Myers <joseph@codesourcery.com
2363
2364 [BZ #15948]
2365 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2366 single character.
2367 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2368
c7738d08
SP
23692013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2370
2371 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2372 * elf/tst-tls1.c: Likewise.
2373 * elf/tst-tls10.h: Likewise.
2374 * elf/tst-tls14.c: Likewise.
2375 * elf/tst-tls2.c: Likewise.
2376 * elf/tst-tls3.c: Likewise.
2377 * elf/tst-tls4.c: Likewise.
2378 * elf/tst-tls5.c: Likewise.
2379 * elf/tst-tls6.c: Likewise.
2380 * elf/tst-tls7.c: Likewise.
2381 * elf/tst-tls8.c: Likewise.
2382 * elf/tst-tls9.c: Likewise.
2383 * elf/tst-tlsmod1.c: Likewise.
2384 * elf/tst-tlsmod13.c: Likewise.
2385 * elf/tst-tlsmod13a.c: Likewise.
2386 * elf/tst-tlsmod14a.c: Likewise.
2387 * elf/tst-tlsmod16a.c: Likewise.
2388 * elf/tst-tlsmod16b.c: Likewise.
2389 * elf/tst-tlsmod2.c: Likewise.
2390 * elf/tst-tlsmod3.c: Likewise.
2391 * elf/tst-tlsmod4.c: Likewise.
2392 * elf/tst-tlsmod5.c: Likewise.
2393 * elf/tst-tlsmod6.c: Likewise.
2394
0bfcf2c7
OB
23952013-10-18 Ondřej Bílka <neleai@seznam.cz>
2396
2397 [BZ #12486]
2398 * malloc/malloc.c: remove checks for statistics.
2399
264aad1e
OB
24002013-10-17 Ondřej Bílka <neleai@seznam.cz>
2401
2402 [BZ #15277]
2403 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2404 * inet/tst-network.c: Add testcase.
2405
b957ced8
AS
24062013-10-17 Andreas Schwab <schwab@suse.de>
2407
2408 [BZ #15218]
2409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2410 to determine canonical name.
2411
c5d5d574
OB
24122013-10-17 Ondřej Bílka <neleai@seznam.cz>
2413
2414 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2415 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2416 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2417 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2419 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2420 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2421 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2422 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2423 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2424 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2425 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2426 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2427 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2428 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2429 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2431 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2432 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2433 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2434 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2435 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2436 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2437 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2438 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2439 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2440 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2441 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2442 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2443 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2444 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2445 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2446 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2447 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2448 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2449 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2450 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2451 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2452 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2453 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2454 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2455 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2456 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2457 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2458 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2459 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2460 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2461 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2462 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2463 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2464 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2465 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2466 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2467 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2468 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2469 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2471 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2472
e5c2c2d0
JM
24732013-10-17 Joseph Myers <joseph@codesourcery.com>
2474
2475 [BZ #16041]
2476 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2477 make result into a quiet NaN.
2478
51ca9e29
JM
24792013-10-16 Joseph Myers <joseph@codesourcery.com>
2480
2481 * soft-fp/adddf3.c: Fix horizontal whitespace.
2482 * soft-fp/addsf3.c: Likewise.
2483 * soft-fp/addtf3.c: Likewise.
2484 * soft-fp/divdf3.c: Likewise.
2485 * soft-fp/divsf3.c: Likewise.
2486 * soft-fp/divtf3.c: Likewise.
2487 * soft-fp/double.h: Likewise.
2488 * soft-fp/eqdf2.c: Likewise.
2489 * soft-fp/eqsf2.c: Likewise.
2490 * soft-fp/eqtf2.c: Likewise.
2491 * soft-fp/extenddftf2.c: Likewise.
2492 * soft-fp/extended.h: Likewise.
2493 * soft-fp/extendsfdf2.c: Likewise.
2494 * soft-fp/extendsftf2.c: Likewise.
2495 * soft-fp/extendxftf2.c: Likewise.
2496 * soft-fp/fixdfdi.c: Likewise.
2497 * soft-fp/fixdfsi.c: Likewise.
2498 * soft-fp/fixdfti.c: Likewise.
2499 * soft-fp/fixsfdi.c: Likewise.
2500 * soft-fp/fixsfsi.c: Likewise.
2501 * soft-fp/fixsfti.c: Likewise.
2502 * soft-fp/fixtfdi.c: Likewise.
2503 * soft-fp/fixtfsi.c: Likewise.
2504 * soft-fp/fixtfti.c: Likewise.
2505 * soft-fp/fixunsdfdi.c: Likewise.
2506 * soft-fp/fixunsdfsi.c: Likewise.
2507 * soft-fp/fixunsdfti.c: Likewise.
2508 * soft-fp/fixunssfdi.c: Likewise.
2509 * soft-fp/fixunssfsi.c: Likewise.
2510 * soft-fp/fixunssfti.c: Likewise.
2511 * soft-fp/fixunstfdi.c: Likewise.
2512 * soft-fp/fixunstfsi.c: Likewise.
2513 * soft-fp/fixunstfti.c: Likewise.
2514 * soft-fp/floatdidf.c: Likewise.
2515 * soft-fp/floatdisf.c: Likewise.
2516 * soft-fp/floatditf.c: Likewise.
2517 * soft-fp/floatsidf.c: Likewise.
2518 * soft-fp/floatsisf.c: Likewise.
2519 * soft-fp/floatsitf.c: Likewise.
2520 * soft-fp/floattidf.c: Likewise.
2521 * soft-fp/floattisf.c: Likewise.
2522 * soft-fp/floattitf.c: Likewise.
2523 * soft-fp/floatundidf.c: Likewise.
2524 * soft-fp/floatundisf.c: Likewise.
2525 * soft-fp/floatunditf.c: Likewise.
2526 * soft-fp/floatunsidf.c: Likewise.
2527 * soft-fp/floatunsisf.c: Likewise.
2528 * soft-fp/floatunsitf.c: Likewise.
2529 * soft-fp/floatuntidf.c: Likewise.
2530 * soft-fp/floatuntisf.c: Likewise.
2531 * soft-fp/floatuntitf.c: Likewise.
2532 * soft-fp/fmadf4.c: Likewise.
2533 * soft-fp/fmasf4.c: Likewise.
2534 * soft-fp/fmatf4.c: Likewise.
2535 * soft-fp/gedf2.c: Likewise.
2536 * soft-fp/gesf2.c: Likewise.
2537 * soft-fp/getf2.c: Likewise.
2538 * soft-fp/ledf2.c: Likewise.
2539 * soft-fp/lesf2.c: Likewise.
2540 * soft-fp/letf2.c: Likewise.
2541 * soft-fp/muldf3.c: Likewise.
2542 * soft-fp/mulsf3.c: Likewise.
2543 * soft-fp/multf3.c: Likewise.
2544 * soft-fp/negdf2.c: Likewise.
2545 * soft-fp/negsf2.c: Likewise.
2546 * soft-fp/negtf2.c: Likewise.
2547 * soft-fp/op-1.h: Likewise.
2548 * soft-fp/op-2.h: Likewise.
2549 * soft-fp/op-4.h: Likewise.
2550 * soft-fp/op-8.h: Likewise.
2551 * soft-fp/op-common.h: Likewise.
2552 * soft-fp/quad.h: Likewise.
2553 * soft-fp/single.h: Likewise.
2554 * soft-fp/soft-fp.h: Likewise.
2555 * soft-fp/sqrtdf2.c: Likewise.
2556 * soft-fp/sqrtsf2.c: Likewise.
2557 * soft-fp/sqrttf2.c: Likewise.
2558 * soft-fp/subdf3.c: Likewise.
2559 * soft-fp/subsf3.c: Likewise.
2560 * soft-fp/subtf3.c: Likewise.
2561 * soft-fp/truncdfsf2.c: Likewise.
2562 * soft-fp/trunctfdf2.c: Likewise.
2563 * soft-fp/trunctfsf2.c: Likewise.
2564 * soft-fp/trunctfxf2.c: Likewise.
2565 * soft-fp/unorddf2.c: Likewise.
2566 * soft-fp/unordsf2.c: Likewise.
2567 * soft-fp/unordtf2.c: Likewise.
2568
9ebb0332
JM
25692013-10-15 Joseph Myers <joseph@codesourcery.com>
2570
2571 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2572 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2573
4b1a6d8b
OB
25742013-10-15 Ondřej Bílka <neleai@seznam.cz>
2575
2576 * elf/dl-libc.c: Clear initfini list after freeing.
2577
1e145589
JM
25782013-10-14 Joseph Myers <joseph@codesourcery.com>
2579
2580 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2581 * soft-fp/addsf3.c: Likewise.
2582 * soft-fp/addtf3.c: Likewise.
2583 * soft-fp/divdf3.c: Likewise.
2584 * soft-fp/divsf3.c: Likewise.
2585 * soft-fp/divtf3.c: Likewise.
2586 * soft-fp/double.h: Likewise.
2587 * soft-fp/eqdf2.c: Likewise.
2588 * soft-fp/eqsf2.c: Likewise.
2589 * soft-fp/eqtf2.c: Likewise.
2590 * soft-fp/extenddftf2.c: Likewise.
2591 * soft-fp/extended.h: Likewise.
2592 * soft-fp/extendsfdf2.c: Likewise.
2593 * soft-fp/extendsftf2.c: Likewise.
2594 * soft-fp/extendxftf2.c: Likewise.
2595 * soft-fp/fixdfdi.c: Likewise.
2596 * soft-fp/fixdfsi.c: Likewise.
2597 * soft-fp/fixdfti.c: Likewise.
2598 * soft-fp/fixsfdi.c: Likewise.
2599 * soft-fp/fixsfsi.c: Likewise.
2600 * soft-fp/fixsfti.c: Likewise.
2601 * soft-fp/fixtfdi.c: Likewise.
2602 * soft-fp/fixtfsi.c: Likewise.
2603 * soft-fp/fixtfti.c: Likewise.
2604 * soft-fp/fixunsdfdi.c: Likewise.
2605 * soft-fp/fixunsdfsi.c: Likewise.
2606 * soft-fp/fixunsdfti.c: Likewise.
2607 * soft-fp/fixunssfdi.c: Likewise.
2608 * soft-fp/fixunssfsi.c: Likewise.
2609 * soft-fp/fixunssfti.c: Likewise.
2610 * soft-fp/fixunstfdi.c: Likewise.
2611 * soft-fp/fixunstfsi.c: Likewise.
2612 * soft-fp/fixunstfti.c: Likewise.
2613 * soft-fp/floatdidf.c: Likewise.
2614 * soft-fp/floatdisf.c: Likewise.
2615 * soft-fp/floatditf.c: Likewise.
2616 * soft-fp/floatsidf.c: Likewise.
2617 * soft-fp/floatsisf.c: Likewise.
2618 * soft-fp/floatsitf.c: Likewise.
2619 * soft-fp/floattidf.c: Likewise.
2620 * soft-fp/floattisf.c: Likewise.
2621 * soft-fp/floattitf.c: Likewise.
2622 * soft-fp/floatundidf.c: Likewise.
2623 * soft-fp/floatundisf.c: Likewise.
2624 * soft-fp/floatunsidf.c: Likewise.
2625 * soft-fp/floatunsisf.c: Likewise.
2626 * soft-fp/floatuntidf.c: Likewise.
2627 * soft-fp/floatuntisf.c: Likewise.
2628 * soft-fp/floatuntitf.c: Likewise.
2629 * soft-fp/fmadf4.c: Likewise.
2630 * soft-fp/fmasf4.c: Likewise.
2631 * soft-fp/fmatf4.c: Likewise.
2632 * soft-fp/gedf2.c: Likewise.
2633 * soft-fp/gesf2.c: Likewise.
2634 * soft-fp/getf2.c: Likewise.
2635 * soft-fp/ledf2.c: Likewise.
2636 * soft-fp/lesf2.c: Likewise.
2637 * soft-fp/letf2.c: Likewise.
2638 * soft-fp/muldf3.c: Likewise.
2639 * soft-fp/mulsf3.c: Likewise.
2640 * soft-fp/multf3.c: Likewise.
2641 * soft-fp/negdf2.c: Likewise.
2642 * soft-fp/negsf2.c: Likewise.
2643 * soft-fp/negtf2.c: Likewise.
2644 * soft-fp/op-1.h: Likewise.
2645 * soft-fp/op-2.h: Likewise.
2646 * soft-fp/op-4.h: Likewise.
2647 * soft-fp/op-8.h: Likewise.
2648 * soft-fp/op-common.h: Likewise.
2649 * soft-fp/quad.h: Likewise.
2650 * soft-fp/single.h: Likewise.
2651 * soft-fp/soft-fp.h: Likewise.
2652 * soft-fp/sqrtdf2.c: Likewise.
2653 * soft-fp/sqrtsf2.c: Likewise.
2654 * soft-fp/sqrttf2.c: Likewise.
2655 * soft-fp/subdf3.c: Likewise.
2656 * soft-fp/subsf3.c: Likewise.
2657 * soft-fp/subtf3.c: Likewise.
2658 * soft-fp/truncdfsf2.c: Likewise.
2659 * soft-fp/trunctfdf2.c: Likewise.
2660 * soft-fp/trunctfsf2.c: Likewise.
2661 * soft-fp/trunctfxf2.c: Likewise.
2662 * soft-fp/unorddf2.c: Likewise.
2663 * soft-fp/unordsf2.c: Likewise.
2664 * soft-fp/unordtf2.c: Likewise.
2665
17c48a60
OB
26662013-10-14 Ondřej Bílka <neleai@seznam.cz>
2667
2668 [BZ #15672]
2669 * misc/error.c (error_tail): Fix possible buffer overflow.
2670
cabba934
OB
26712013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2672
2673 [BZ #13028]
2674 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2675 address.
2676
94bf958a
PM
26772013-10-14 P. J. McDermott <pj@pehjota.net>
2678
2679 [BZ #832]
2680 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2681 testing pipefail option.
2682
71b4dea7
JM
26832013-10-12 Joseph Myers <joseph@codesourcery.com>
2684
2685 * soft-fp/double.h: Indent preprocessor directives inside #if.
2686 * soft-fp/extended.h: Likewise.
2687 * soft-fp/op-2.h: Likewise.
2688 * soft-fp/op-4.h: Likewise.
2689 * soft-fp/op-common.h: Likewise.
2690 * soft-fp/quad.h: Likewise.
2691 * soft-fp/single.h: Likewise.
2692 * soft-fp/soft-fp.h: Likewise.
2693
55602758
YC
26942013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2695
2696 * iconv/iconv_prog.c: Fix typos.
2697 * stdio-common/psiginfo-data.h: Likewise.
2698
9cd83302
RT
26992013-10-12 Reuben Thomas <rrt@sc3d.org>
2700
2701 [BZ #15764]
2702 * locale/setlocale.c: Fix typo.
2703
99fd9f47
JM
27042013-10-12 Joseph Myers <joseph@codesourcery.com>
2705
b7ea74f0
JM
2706 [BZ #16036]
2707 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2708 signaling NaN arguments.
2709 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2710 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2711
8a509447
JM
2712 [BZ #14910]
2713 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2714 unordered operands.
2715 * soft-fp/gesf2.c (__gesf2): Likewise.
2716 * soft-fp/getf2.c (__getf2): Likewise.
2717 * soft-fp/ledf2.c (__ledf2): Likewise.
2718 * soft-fp/lesf2.c (__lesf2): Likewise.
2719 * soft-fp/letf2.c (__letf2): Likewise.
2720
98998e9f
JM
2721 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2722 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2723 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2724 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2725 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2726 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2727 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2728 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2729 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2730 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2731 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2732 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2733 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2734 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2735 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2736 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2737 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2738 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2739 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2740 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2741 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2742 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2743 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2744 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2745 * soft-fp/floattidf.c (__floattidf): Likewise.
2746 * soft-fp/floattisf.c (__floattisf): Likewise.
2747 * soft-fp/floattitf.c (__floattitf): Likewise.
2748 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2749 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2750 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2751 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2752 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2753 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2754 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2755 * soft-fp/gesf2.c (__gesf2): Likewise.
2756 * soft-fp/getf2.c (__getf2): Likewise.
2757 * soft-fp/ledf2.c (__ledf2): Likewise.
2758 * soft-fp/lesf2.c (__lesf2): Likewise.
2759 * soft-fp/letf2.c (__letf2): Likewise.
2760
8edc4a11
JM
2761 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2762 Undefine and redefine.
2763 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2764 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2765 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2766 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2767 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2768 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2769 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2770 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2771 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2772 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2773 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2774 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2775 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2776 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2777 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2778
8399acaf
JM
2779 [BZ #16032]
2780 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2781 without decrementing exponent if mantissa >= that for the
2782 denominator, not >.
2783 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2784 denominator, not >. Decrement exponent in < case instead of
2785 incrementing in >= case.
2786 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2787 without decrementing exponent if mantissa >= that for the
2788 denominator, not >.
2789
99fd9f47
JM
2790 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2791 computing saturated result for unsigned overflow.
2792
10e1cf6b
SP
27932013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2794 Jeff Law <law@redhat.com>
2795
2796 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2797 (atan2Mp): Add systemtap probe marker.
2798 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2799 (__ieee754_log): Add systemtap probe marker.
2800 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2801 (atanMp): Add systemtap probe marker.
2802 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2803 (tanMp): Add systemtap probe marker.
2804 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2805 (__slowexp): Add systemtap probe marker.
2806 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2807 (__slowpow): Add systemtap probe marker.
2808 * manual/probes.texi: Document probes.
2809
3d110c7c
EB
28102013-10-11 Eric Biggers <ebiggers3@gmail.com>
2811
2812 [BZ #15362]
2813 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2814 written.
2815 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2816 written.
2817 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2818 written to buffer but not flushed.
2819 * libio/iofwrite_u.c: Likewise.
2820 * libio/iopadn.c: Return bytes returned even if EOF was
2821 encountered.
2822 * libio/iowpadn.c: Likewise.
2823 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2824 if _IO_padn does not write the whole buffer.
2825 [!COMPILE_WPRINTF] (PAD): Likewise.
2826
75b4202a
DM
28272013-10-10 David S. Miller <davem@davemloft.net>
2828
2829 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2830 directory block.
2831
6c6352e6
JM
28322013-10-10 Joseph Myers <joseph@codesourcery.com>
2833
33b853c3
JM
2834 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2835 instead of FSF address.
2836 * soft-fp/fixdfti.c: Likewise.
2837 * soft-fp/fixsfti.c: Likewise.
2838 * soft-fp/fixtfti.c: Likewise.
2839 * soft-fp/fixunsdfti.c: Likewise.
2840 * soft-fp/fixunssfti.c: Likewise.
2841 * soft-fp/fixunstfti.c: Likewise.
2842 * soft-fp/floattidf.c: Likewise.
2843 * soft-fp/floattisf.c: Likewise.
2844 * soft-fp/floattitf.c: Likewise.
2845 * soft-fp/floatuntidf.c: Likewise.
2846 * soft-fp/floatuntisf.c: Likewise.
2847 * soft-fp/floatuntitf.c: Likewise.
2848 * soft-fp/trunctfxf2.c: Likewise.
2849
6c6352e6
JM
2850 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2851 * soft-fp/fixdfti.c: Likewise.
2852 * soft-fp/fixsfti.c: Likewise.
2853 * soft-fp/fixtfti.c: Likewise.
2854 * soft-fp/fixunsdfti.c: Likewise.
2855 * soft-fp/fixunssfti.c: Likewise.
2856 * soft-fp/fixunstfti.c: Likewise.
2857 * soft-fp/floattidf.c: Likewise.
2858 * soft-fp/floattisf.c: Likewise.
2859 * soft-fp/floattitf.c: Likewise.
2860 * soft-fp/floatuntidf.c: Likewise.
2861 * soft-fp/floatuntisf.c: Likewise.
2862 * soft-fp/floatuntitf.c: Likewise.
2863 * soft-fp/trunctfxf2.c: Likewise.
2864
3bf78b71
DM
28652013-10-10 David S. Miller <davem@davemloft.net>
2866
2867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2868
6f10289e
JM
28692013-10-10 Joseph Myers <joseph@codsourcery.com>
2870
bd878fc0
JM
2871 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2872 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2873 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2874 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2875 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2876 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2877 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2878
6f10289e
JM
2879 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2880 for NaNs before doing comparisons on argument.
2881 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2882 Likewise.
2883
321e2684
WN
28842013-10-10 Will Newton <will.newton@linaro.org>
2885
2886 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2887 passed to _int_memalign does not overflow.
2888
40fefba1
TR
28892013-10-10 Torvald Riegel <triegel@redhat.com>
2890
2891 * scripts/bench.pl: Add include-sources directive.
2892 * benchtests/README: Update documentation.
2893
2ae21ed2
JM
28942013-10-10 Joseph Myers <joseph@codesourcery.com>
2895
dcc2dd3f
JM
2896 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2897 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2898 instead of FP_INIT_ROUNDMODE.
2899 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2900 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2901
2ae21ed2
JM
2902 [BZ #16034]
2903 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2904 copy class of input value.
2905 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2906 not handle exceptions.
2907 * soft-fp/negsf2.c (__negsf2): Likewise.
2908 * soft-fp/negtf2.c (__negtf2): Likewise.
2909 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2910
cb8f9562
JM
29112013-10-09 Joseph Myers <joseph@codesourcery.com>
2912
2913 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2914 semicolon. From Linux kernel.
2915
5b60c59d
AB
29162013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2917
2918 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2919
b86835ca
YC
29202013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2921
2922 [BZ #156]
2923 * manual/socket.texi: Added statement about buffer
2924 for gethostbyname2_r.
2925
e7044ea7
OB
29262013-10-08 Ondřej Bílka <neleai@seznam.cz>
2927
2928 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2929 Use .p2align directive instead, throughout.
2930 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2931 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2932 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2933 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2934 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2935 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2936 * sysdeps/x86_64/strchr.S: Likewise.
2937 * sysdeps/x86_64/strrchr.S: Likewise.
2938
09544cbc
SP
29392013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2940
88576635
SP
2941 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2942
e7b2d1dd
SP
2943 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2944
09544cbc
SP
2945 * sysdeps/generic/math_private.h (__mpsin1): Remove
2946 declaration.
2947 (__mpcos1): Likewise.
2948 (__mpsin): New argument __range_reduce.
2949 (__mpcos): Likewise.
2950 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2951 (slow): Use __mpsin and __mpcos.
2952 (slow1): Likewise.
2953 (slow2): Likewise.
2954 (sloww): Likewise.
2955 (sloww1): Likewise.
2956 (sloww2): Likewise.
2957 (bsloww): Likewise.
2958 (bsloww1): Likewise.
2959 (bsloww2): Likewise.
2960 (cslow2): Likewise.
2961 (csloww): Likewise.
2962 (csloww1): Likewise.
2963 (csloww2): Likewise.
2964 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2965 range_reduce. Merge in __mpsin1.
2966 (__mpcos): Likewise.
2967 (__mpsin1): Remove.
2968 (__mpcos1): Likewise.
2969
7602d070
JM
29702013-10-07 Joseph Myers <joseph@codesourcery.com>
2971
2972 * locale/loadlocale.c (_nl_intern_locale_data): Use
2973 LOCFILE_ALIGNED_P.
2974 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2975 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2976 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2977 obstack data is appropriately aligned.
2978 (obstack_int32_grow_fast): Likewise.
2979 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2980 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2981 (add_locale_uint32_array): Likewise.
2982
a357259b
SP
29832013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2984
2985 * benchtests/Makefile: Remove ARGLIST and RET variables.
2986 ($(objpfx)bench-%.c): Pass only function name to the script.
2987 * benchtests/README: Update documentation.
2988 * benchtests/acos-inputs: Add new directives.
2989 * benchtests/acosh-inputs: Likewise.
2990 * benchtests/asin-inputs: Likewise.
2991 * benchtests/asinh-inputs: Likewise.
2992 * benchtests/atan-inputs: Likewise.
2993 * benchtests/atanh-inputs: Likewise.
2994 * benchtests/cos-inputs: Likewise.
2995 * benchtests/cosh-inputs: Likewise.
2996 * benchtests/exp-inputs: Likewise.
2997 * benchtests/log-inputs: Likewise.
2998 * benchtests/pow-inputs: Likewise.
2999 * benchtests/rint-inputs: Likewise.
3000 * benchtests/sin-inputs: Likewise.
3001 * benchtests/sinh-inputs: Likewise.
3002 * benchtests/tan-inputs: Likewise.
3003 * benchtests/tanh-inputs: Likewise.
3004 * scripts/bench.pl: Add support for new directives.
3005
9ec1b13d
AM
30062013-10-07 Alan Modra <amodra@gmail.com>
3007
3008 * README: Fix careless merge.
3009
8b7d57cd
AM
30102013-10-05 Alan Modra <amodra@gmail.com>
3011
3012 * NEWS: Mention powerpc64le support and bugs fixed.
3013 * README: Both big-endian and little-endian powerpc64 supported.
3014
7b7bab13
ST
30152013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3016
3017 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3018 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3019 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3020 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3021
d39baad1
RA
30222013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3023
3024 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3025 match prototype.
3026
cd78f7e7
JM
30272013-10-04 Joseph Myers <joseph@codesourcery.com>
3028
29d73d86
JM
3029 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3030 Move -mhard-float appending from
3031 ports/sysdeps/powerpc/powerpc32/Makefile.
3032 [$(with-fp) = yes] (ASFLAGS): Likewise.
3033 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3034 * sysdeps/powerpc/nofpu: Move directory from
3035 ports/sysdeps/powerpc/nofpu.
3036 * sysdeps/powerpc/soft-fp: Move directory from
3037 ports/sysdeps/powerpc/soft-fp.
3038 * sysdeps/powerpc/powerpc32/405: Move directory from
3039 ports/sysdeps/powerpc/powerpc32/405.
3040 * sysdeps/powerpc/powerpc32/440: Move directory from
3041 ports/sysdeps/powerpc/powerpc32/440.
3042 * sysdeps/powerpc/powerpc32/464: Move directory from
3043 ports/sysdeps/powerpc/powerpc32/464.
3044 * sysdeps/powerpc/powerpc32/476: Move directory from
3045 ports/sysdeps/powerpc/powerpc32/476.
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3047 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3049 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3051 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3053 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3055 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3056 * README: Update for powerpc-*-linux-gnu software floating point
3057 support in libc.
3058
e246b347
JM
3059 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3060 case to powerpc/powerpc32*.
3061 * sysdeps/unix/sysv/linux/configure: Regenerated.
3062
89c2003e
JM
3063 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3064 (_FPU_MASK_OM): Define as 0x04.
3065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3067 0x00c10080.
3068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3069 0x0000003c.
3070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3071
cd78f7e7
JM
3072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3073 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3074 getcontext_e500.
3075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3076 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3077 setcontext_e500.
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3079 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3080 and setcontext_e500.
3081
c755294d
CL
30822013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3083
3084 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3085
e16d221c
SP
30862013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3087
3088 * manual/threads.texi (Default Thread Attributes): Fix typo.
3089
215c7d43
WN
30902013-10-04 Will Newton <will.newton@linaro.org>
3091
3092 * malloc/Makefile: Add tst-memalign.
3093 * malloc/tst-memalign.c: New file.
3094
27d0461b
WN
3095 * malloc/tst-posix_memalign.c: Add comments.
3096 (do_test): Add comments and call free on all potentially
3097 allocated pointers. Add space after cast.
3098
1bc92709
WN
3099 * malloc/tst-pvalloc.c: Add comments.
3100 (do_test): Add comments and call free on all potentially
3101 allocated pointers. Remove duplicate check for NULL pointer.
3102 Add space after cast.
3103
66a9be9d
WN
3104 * malloc/tst-valloc.c: Add comments.
3105 (do_test): Add comments and call free on all potentially
3106 allocated pointers. Remove duplicate check for NULL pointer.
3107 Add space after cast.
3108
4cb81307
AM
31092013-10-04 Alan Modra <amodra@gmail.com>
3110
3111 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3112 Use stdint types in rather than __attribute__((mode())).
3113 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3114
f8e3e9f3
AM
31152013-10-04 Alan Modra <amodra@gmail.com>
3116
3117 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3118 Correct handling of unaligned relocs for little-endian.
3119 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3120
8f9ebb08
AM
31212013-10-04 Alan Modra <amodra@gmail.com>
3122
3123 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3124 * configure: Regenerate.
3125 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3126 * shlib-versions: Likewise.
3127
0edf96c2
AM
31282013-10-04 Alan Modra <amodra@gmail.com>
3129
3130 * string/tester.c (test_memrchr): Increment reported test cycle.
3131
e0f7a380
AM
31322013-10-04 Alan Modra <amodra@gmail.com>
3133
3134 * string/test-memcpy.c (do_one_test): When reporting errors, print
3135 string address and don't overrun end of string.
3136
466b0393
AM
31372013-10-04 Alan Modra <amodra@gmail.com>
3138
3139 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3140 insrdi. Make better use of reg selection to speed exit slightly.
3141 Schedule entry path a little better. Remove useless "are we done"
3142 checks on entry to main loop. Handle wrapping around zero address.
3143 Correct main loop count. Handle single left-over word from main
3144 loop inline rather than by using loop_small. Remove extra word
3145 case in loop_small caused by wrong loop count. Add little-endian
3146 support.
3147 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3148 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3149 cache hint.
3150 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3151 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3152 support. Avoid rlwimi.
3153 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3154
3be87c77
AM
31552013-10-04 Alan Modra <amodra@gmail.com>
3156
3157 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3158 insrdi. Formatting.
3be87c77
AM
3159 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3160 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3161 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3162 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3163 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3164 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3165
759cfef3
AM
31662013-10-04 Alan Modra <amodra@gmail.com>
3167
3168 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3169 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3170 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3171 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3172 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3173 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3174 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3175 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3176 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3177 use of regs. Use power7 mtocrf. Tidy function tails.
3178
fe6e95d7
AM
31792013-10-04 Alan Modra <amodra@gmail.com>
3180
3181 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3182 Formatting. Consistently use rXXX register defines or rN defines.
3183 Use early exit labels that avoid restoring unused non-volatile regs.
3184 Make cr field use more consistent with rWORDn compares. Rename
3185 regs used as shift registers for unaligned loop, using rN defines
3186 for short lifetime/multiple use regs.
3187 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3188 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3189 addi 1,1,64 to pop stack frame. Simplify return value code.
3190 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3191
664318c3
AM
31922013-10-04 Alan Modra <amodra@gmail.com>
3193
3194 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3195 support. Correct typos, formatting. Optimize tail. Use insrdi
3196 rather than rlwimi.
3197 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3198 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3199 little-endian support. Correct typos.
3200 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3201 rather than rlwimi.
3202 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3203 in loop and entry code to keep "and." results.
3204 (strchr): Add little-endian support. Comment. Move cntlzd
3205 earlier in tail.
3206 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3207
43b84013
AM
32082013-10-04 Alan Modra <amodra@gmail.com>
3209
3210 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3211 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3212 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3213 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3214
8a7413f9
AM
32152013-10-04 Alan Modra <amodra@gmail.com>
3216
3217 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3218 (rTMP): Define as r11.
3219 (strcmp): Add little-endian support. Optimise tail.
3220 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3221 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3222 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3223 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3224 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3225 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3226 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3227
33ee81de
AM
32282013-10-04 Alan Modra <amodra@gmail.com>
3229
3230 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3231 little-endian support. Remove unnecessary "are we done" tests.
3232 Handle "s" wrapping around zero and extremely large "size".
3233 Correct main loop count. Handle single left-over word from main
3234 loop inline rather than by using small_loop. Correct comments.
3235 Delete "zero" tail, use "end_max" instead.
3236 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3237
db9b4570
AM
32382013-10-04 Alan Modra <amodra@gmail.com>
3239
3240 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3241 support. Don't branch over align.
3242 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3243 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3244 support. Rearrange tmp reg use to suit. Comment.
3245 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3246
f7c399cf
AM
32472013-10-04 Alan Modra <amodra@gmail.com>
3248
3249 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3250
0b2c2ace
AM
32512013-10-04 Alan Modra <amodra@gmail.com>
3252
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3254 conditional form of branch and link when obtaining pc.
3255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3256
02f04a6c
AM
32572013-10-04 Alan Modra <amodra@gmail.com>
3258
3259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3260 HIWORD/LOWORD.
3261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3263
9b874b2f
AM
32642013-10-04 Alan Modra <amodra@gmail.com>
3265
3266 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3267 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3268 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3269 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3270 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3271 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3272 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3273 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3274 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3275 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3276
be1e5d31
AB
32772013-10-04 Anton Blanchard <anton@au1.ibm.com>
3278 Alistair Popple <alistair@ozlabs.au.ibm.com>
3279 Alan Modra <amodra@gmail.com>
3280
3281 [BZ #15723]
3282 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3283 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3284 _dl_hwcap access for little-endian.
3285 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3286 destroy vmx regs when saving unaligned.
3287 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3288 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3289 destroy vmx regs when saving unaligned.
3290
fef13a78
AM
32912013-10-04 Alan Modra <amodra@gmail.com>
3292
3293 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3294 Don't use a union to pack hi/low value.
3295
76a66d51
AB
32962013-10-04 Anton Blanchard <anton@au1.ibm.com>
3297
3298 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3299 for little-endian.
3300 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3301 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3302 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3303 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3304 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3305
6a31fe7f
AM
33062013-10-04 Alan Modra <amodra@gmail.com>
3307
3308 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3309 constants to usual value for .cst8 section, and remove redundant
3310 high address load.
3311 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3312 constant for 0x1p52. Load little-endian words of double from
3313 correct stack offsets.
3314
7b88401f
AM
33152013-10-04 Alan Modra <amodra@gmail.com>
3316
3317 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3318 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3319 words of double from correct stack offsets.
3320 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3321 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3322 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3323 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3324 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3325 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3326 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3327 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3328 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3329 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3330 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3331 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3332 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3333 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3334 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3335 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3336 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3337
9c008155
AM
33382013-10-04 Alan Modra <amodra@gmail.com>
3339
3340 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3341 64-bit int/double union.
3342 (_FPU_SETCW): Likewise.
3343 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3344 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3345
da13146d
AM
33462013-10-04 Alan Modra <amodra@gmail.com>
3347
3348 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3349 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3350
603e8410
AM
33512013-10-04 Alan Modra <amodra@gmail.com>
3352
3353 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3354 use vector int constants.
3355 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3356
4a28b3ca
AB
33572013-10-04 Anton Blanchard <anton@au1.ibm.com>
3358
3359 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3360 array with long long.
3361 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3362 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3363 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3364 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3365 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3366 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3367 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3368 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3369 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3370 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3371 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3372 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3373 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3374
2ca85d2b
AB
33752013-10-04 Anton Blanchard <anton@au1.ibm.com>
3376
3377 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3378 (__signbit): Likewise. Correct for little-endian.
3379 (__signbitl): Call __signbit.
3380 (lrint): Correct for little-endian.
3381 (lrintf): Call lrint.
3382
62a728ae
AM
33832013-10-04 Alan Modra <amodra@gmail.com>
3384
3385 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3386 union 32-bit int array member with 64-bit int array.
3387 (t515, tm256): Double rather than long double.
3388 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3389
32c301df
AM
33902013-10-04 Alan Modra <amodra@gmail.com>
3391
3392 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3393 Delete.
3394 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3395 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3396 version of math_ldbl.h.
3397
650ef4bd
AM
33982013-10-04 Alan Modra <amodra@gmail.com>
3399
3400 [BZ #15734], [BZ #15735]
3401 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3402 all uses of ieee875 long double macros and unions. Simplify test
3403 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3404 ldbl_extract_mantissa value for ix,iy exponents. Properly
3405 normalize after ldbl_extract_mantissa, and don't add hidden bit
3406 already handled. Don't treat low word of ieee854 mantissa like
3407 low word of IBM long double and mask off bit when testing for
3408 zero.
3409 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3410 all uses of ieee875 long double macros and unions. Simplify tests
3411 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3412 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3413 two1022, instead use their values. Recognise that tests for large
3414 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3415 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3416 Rewrite all uses of ieee875 long double macros and unions. Simplify
3417 test for 0.0L and nan. Correct negation.
3418 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3419 ieee875 long double macros and unions. Correct output for large
3420 magnitude x. Correct absolute value calculation.
3421 (__erfcl): Likewise.
3422 * math/libm-test.inc: Add tests for errors discovered in IBM long
3423 double versions of fmodl, remainderl, erfl and erfcl.
3424
765714ca
AM
34252013-10-04 Alan Modra <amodra@gmail.com>
3426
3427 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3428 all uses of ieee854 long double macros and unions. Simplify tests
3429 for long doubles that are fully specified by the high double.
3430 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3431 Likewise.
3432 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3433 Remove dead code too.
3434 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3435 (__ieee754_ynl): Likewise.
3436 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3437 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3438 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3439 Remove dead code too.
3440 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3441 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3442 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3443 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3444 Simplify.
3445 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3446 Simplify.
3447 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3448 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3449 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3450 Comment on variable precision.
3451 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3452 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3453 Likewise.
3454 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3455 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3456 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3457 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3458 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3459
4ebd120c
AM
34602013-10-04 Alan Modra <amodra@gmail.com>
3461
3462 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3463 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3464 all uses of ieee854 long double macros and unions.
3465 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3466 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3467 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3468 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3469 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3470 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3471 Likewise.
3472 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3473 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3474 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3475 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3476 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3477 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3478 Simplify sign and nan test too.
3479 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3480 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3481 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3482 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3483 Likewise.
3484 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3485 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3486 Likewise.
3487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3488 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3489 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3490 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3491 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3493
1b6adf88
AM
34942013-10-04 Alan Modra <amodra@gmail.com>
3495
3496 * stdio-common/printf_size.c (__printf_size): Don't use
3497 union ieee854_long_double in fpnum union.
3498 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3499 signbit macro to retrieve sign from long double.
3500 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3501 retrieve sign from long double.
3502 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3503 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3504 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3505 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3506 * math/test-misc.c (main): Don't use union ieee854_long_double.
3507
4cf69995
AM
35082013-10-04 Alan Modra <amodra@gmail.com>
3509
3510 [BZ #15680]
3511 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3512 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3513 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3514 calculation. Remove unnecessary test for denormal exponent.
3515 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3516 Correct handling of denormals. Avoid undefined shift behaviour.
3517 Correct normalisation of low mantissa when low double is denormal.
3518 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3519 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3520 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3521 Correct normalisation of low mantissa. Test for overflow of high
3522 mantissa and normalise.
3523 (ldbl_nearbyint): Use more readable constant for two52.
3524 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3525 (__mpn_construct_long_double): Fix test for overflow of high
3526 mantissa and correct normalisation. Avoid undefined shift.
3527
9605ca6c
AM
35282013-10-04 Alan Modra <amodra@gmail.com>
3529
3530 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3531 (union ibm_extended_long_double): Define as an array of ieee754_double.
3532 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3533 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3534 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3535 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3536 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3537 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3538 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3539 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3540 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3541 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3542 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3543
975569d0
JM
35442013-10-03 Joseph Myers <joseph@codesourcery.com>
3545
d3d23756
JM
3546 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3547 page size instead of calling getpagesize.
3548
975569d0
JM
3549 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3550 (LOCFILE_ALIGN_MASK): Likewise.
3551 (LOCFILE_ALIGN_UP): Likewise.
3552 (LOCFILE_ALIGNED_P): Likewise.
3553 * locale/programs/ld-collate.c (collate_output): Use the new
3554 macros instead of __alignof__ (int32_t).
3555 * locale/weight.h (findidx): Likewise.
3556
b1fe1f2b
OB
35572013-10-03 Ondřej Bílka <neleai@seznam.cz>
3558
3559 [BZ #431]
3560 * manual/string.texi: Fix strncat and wcsncat.
3561
5f855e35
BM
35622013-10-03 Brooks Moses <bmoses@google.com>
3563
3564 [BZ #15915]
3565 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3566 * Makerules: ...here, and adjust associated comments.
3567
3cef6009
WN
35682013-10-02 Will Newton <will.newton@linaro.org>
3569
3570 * malloc/Makefile: Add tst-pvalloc.
3571 * malloc/tst-pvalloc.c: New file.
3572
7815420b
WN
35732013-10-02 Will Newton <will.newton@linaro.org>
3574
3575 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3576 improve test coverage.
3577
4868b204
WN
35782013-10-02 Will Newton <will.newton@linaro.org>
3579
3580 * malloc/Makefile: Add tst-posix_memalign.
3581 * malloc/tst-posix_memalign.c: New file.
3582
29c793b3
EB
35832013-10-01 Eric Blake <eblake@redhat.com>
3584
3585 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3586 Use __THROWNL rather than __THROW on static functions.
3587
fd967522
PM
35882013-09-30 Petr Machata <pmachata@redhat.com>
3589
3590 * elf/elf.h (R_AARCH64_ABS16): New macro.
3591 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3592 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3593 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3594 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3595 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3596 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3597 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3598 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3599 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3600 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3601 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3602 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3603 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3604 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3605 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3606 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3607 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3608 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3609 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3610 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3611 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3612 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3613 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3614 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3615 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3616 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3617 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3618 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3619 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3620 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3621 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3622 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3623 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3624 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3625 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3626 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3627 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3628 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3629 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3630 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3631 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3632 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3633 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3634 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3635 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3636 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3637 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3638 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3639 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3640 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3641 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3642 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3643 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3644 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3645 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3646 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3647 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3648 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3649 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3650 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3651 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3652 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3653 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3654 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3655 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3656 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3657 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3658 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3659 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3660 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3661 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3662 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3663 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3664 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3665 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3666 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3667 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3668 (R_AARCH64_TLSDESC_LDR): Likewise.
3669 (R_AARCH64_TLSDESC_ADD): Likewise.
3670 (R_AARCH64_TLSDESC_CALL): Likewise.
3671
b2179107
AS
36722013-09-30 Andreas Schwab <schwab@suse.de>
3673
3674 [BZ #15048]
3675 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3676 the nss database lookup.
3677 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3679
47f28d0a
MF
36802013-09-28 Mike Frysinger <vapier@gentoo.org>
3681
3682 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3683
36842013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3685
3686 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3687 ${Bash-specific parameter/pattern/string} parameter expansion.
3688 * sysdeps/unix/make-syscalls.sh: Likewise.
3689
f4518a17
KK
36902013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3691
3692 * sysdeps/sh/stackguard-macros.h: New file.
3693
dc1a95c7
OB
36942013-09-26 Ondřej Bílka <neleai@seznam.cz>
3695
3696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3697 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3698 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3699 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3700 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3701 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3702
5ebbff8f
AZ
37032013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3704
3705 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3706 Fix thread ID register.
3707
4fd2cf9f
JM
37082013-09-25 Joseph Myers <joseph@codesourcery.com>
3709
3710 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3711 [POSIX || UNIX98]: Require rather than permitting all symbols from
3712 <time.h>.
3713 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3714 element of struct sched_param.
3715 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3716 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3717 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3718 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3719 constant.
3720
12c22bc4
OL
37212013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3722
3723 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3724 argument calculation.
3725
a03d8ea7
JM
37262013-09-24 Joseph Myers <joseph@codesourcery.com>
3727
3728 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3729 Expect macro.
3730 [POSIX] (pthread_attr_t): Do not require type.
3731 [POSIX] (pthread_cond_t): Likewise.
3732 [POSIX] (pthread_condattr_t): Likewise.
3733 [POSIX] (pthread_key_t): Likewise.
3734 [POSIX] (pthread_mutex_t): Likewise.
3735 [POSIX] (pthread_mutexattr_t): Likewise.
3736 [POSIX] (pthread_once_t): Likewise.
3737 [POSIX] (pthread_t): Likewise.
3738 [POSIX-based standards] (pthread_atfork): Expect function.
3739
6055173a
JM
37402013-09-24 Joseph Myers <joseph@codesourcery.com>
3741 Richard Sandiford <richard@codesourcery.com>
3742
3743 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3744 (swap_endianness_p): New extern variable.
3745 (set_big_endian): New inline function.
3746 (maybe_swap_uint32): Likewise.
3747 (maybe_swap_uint32_array): Likewise.
3748 (maybe_swap_uint32_obstack): Likewise.
3749 * locale/programs/locfile.c: Include <stdbool.h>.
3750 (swap_endianness_p): New variable.
3751 (add_locale_uint32): Call maybe_swap_uint32.
3752 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3753 (write_locale_data): Call maybe_swap_uint32_array.
3754 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3755 maybe_swap_uint32.
3756 (obstack_int32_grow_fast): Likewise.
3757 (output_weightwc): Call maybe_swap_uint32_obstack.
3758 (collate_output): Likewise.
3759 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3760 (OPT_LITTLE_ENDIAN): Likewise.
3761 (options): Add --little-endian and --big-endian options.
3762 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3763 * locale/programs/locarchive.c: Include "locfile.h".
3764 (GET): New macro.
3765 (SET): Likewise.
3766 (INC): Likewise.
3767 (create_archive): Use the new macros to access fields of
3768 structures directly mapped from or written to locale archives.
3769 (oldlocrecentcmp): Likewise.
3770 (enlarge_archive): Likewise.
3771 (insert_name): Likewise.
3772 (add_alias): Likewise.
3773 (add_locale): Likewise.
3774 (delete_locales_from_archive): Likewise.
3775 (show_archive_content): Likewise.
3776 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3777 locale data.
3778
39bf0bb4
RM
37792013-09-24 Roland McGrath <roland@hack.frob.com>
3780
3781 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3782 http://www.gnu.org/doc/freemanuals.texi.
3783 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3784
f02eed10
WN
37852013-09-24 Will Newton <will.newton@linaro.org>
3786
3787 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3788 macro.
3789
a3a6c312
JM
37902013-09-23 Joseph Myers <joseph@codesourcery.com>
3791
3792 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3793 unsigned char.
3794
107375ac
MR
37952013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3796
3797 * manual/threads.texi (POSIX Threads): Fix a typo.
3798
141f3a77
SP
37992013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3800
303e567a
SP
3801 [BZ #14547]
3802 * string/tst-strcoll-overflow.c: New test case.
3803 * string/Makefile (xtests): Add tst-strcoll-overflow.
3804 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3805 cache if string sizes may cause integer overflow.
3806
141f3a77
SP
3807 [BZ #14547]
3808 * string/strcoll_l.c (coll_seq): New members rule, idx,
3809 save_idx and back_us.
3810 (get_next_seq_nocache): New function.
3811 (do_compare_nocache): New function.
3812 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3813 when malloc fails.
3814
c61b4d41
CD
38152013-09-23 Carlos O'Donell <carlos@redhat.com>
3816
0b1f8e35
CD
3817 [BZ #15754]
3818 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3819 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3820 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3821
c61b4d41
CD
3822 [BZ #15754]
3823 * elf/Makefile (tests): Add tst-ptrguard1.
3824 (tests-static): Add tst-ptrguard1-static.
3825 (tst-ptrguard1-ARGS): Define.
3826 (tst-ptrguard1-static-ARGS): Define.
3827 * elf/tst-ptrguard1.c: New file.
3828 * elf/tst-ptrguard1-static.c: New file.
3829 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3830 * sysdeps/i386/stackguard-macros.h: Likewise.
3831 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3832 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3833 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3834 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3835 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3836 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3837
38382013-09-23 Hector Marco <hecmargi@upv.es>
3839 Ismael Ripoll <iripoll@disca.upv.es>
3840 Carlos O'Donell <carlos@redhat.com>
3841
3842 [BZ #15754]
3843 * sysdeps/generic/stackguard-macros.h: Define
3844 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3845 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3846 Define __pointer_chk_guard_local.
3847 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3848 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3849
f5f4e7b4
VV
38502013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3851
3852 [BZ #15859]
3853 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3854
5bb43a43
AS
38552013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3856
3857 * include/string.h (__ffs): Declare as hidden.
3858 * string/ffs.c (__ffs): Define as hidden.
3859 * sysdeps/i386/ffs.c (__ffs): Likewise.
3860 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3861 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3862 * sysdeps/s390/ffs.c (__ffs): Likewise.
3863 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3864
3ea5be54
AO
38652013-09-20 Alexandre Oliva <aoliva@redhat.com>
3866
ffb89e53
AO
3867 * NEWS: Mention malloc probes.
3868
322dea08
AO
3869 * malloc/arena.c (new_heap): New memory_heap_new probe.
3870 (grow_heap): New memory_heap_more probe.
3871 (shrink_heap): New memory_heap_less probe.
3872 (heap_trim): New memory_heap_free probe.
3873 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3874 (systrim): New memory_sbrk_less probe.
3875 * manual/probes.texi: Document them.
3876
655673f3
AO
3877 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3878 * manual/probes.texi: Document it.
3879
35fed6f1
AO
3880 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3881 (__libc_realloc): Add memory_realloc_retry probe.
3882 (__libc_memalign): Add memory_memalign_retry probe.
3883 (__libc_valloc): Add memory_valloc_retry probe.
3884 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3885 (__libc_calloc): Add memory_calloc_retry probe.
3886 * manual/probes.texi: Document them.
3887
6999d38c
AO
3888 * malloc/arena.c (get_free_list): Add probe
3889 memory_arena_reuse_free_list.
3890 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3891 and memory_arena_reuse.
3892 (arena_get2) [!PER_THREAD]: Likewise.
3893 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3894 memory_arena_reuse_realloc.
3895 * manual/probes.texi: Document them.
3896
0653427f
AO
3897 * malloc/malloc.c (__libc_free): Add
3898 memory_mallopt_free_dyn_thresholds probe.
3899 (__libc_mallopt): Add multiple memory_mallopt probes.
3900 * manual/probes.texi: Document them.
3901
3ea5be54
AO
3902 * malloc/malloc.c: Include stap-probe.h.
3903 (__libc_mallopt): Add memory_mallopt probe.
3904 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3905 * manual/probes.texi: New.
3906 * manual/Makefile (chapters): Add probes.
3907 * manual/threads.texi: Set next node.
3908
e35696c3 39092013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3910
e35696c3
CL
3911 [BZ #15963, #13985]
3912 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3913 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3914 Add `Chinese' to `nan' entry name.
3915
4aafb73c
SP
39162013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3917
3918 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3919 (POLYNOMIAL): Likewise.
3920 (TAYLOR_SINCOS): Likewise.
3921 (TAYLOR_SLOW): Likewise.
3922 (__sin): Use TAYLOR_SINCOS.
3923 (__cos): Likewise.
3924 (slow): Use TAYLOR_SLOW.
3925 (sloww): Likewise.
3926 (bsloww): Likewise.
3927 (csloww): Likewise.
3928
d84f25c7
LD
39292013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3930
3931 * stdlib/strtod_l.c: Fix buffer overrun.
3932
5eea0404
SP
39332013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3934
7849ff93
SP
3935 * benchtests/Makefile (bench): Add sincos.
3936 * benchtests/bench-sincos.c: New file.
3937
cfa3c886
SP
3938 * math/libm-test.inc (cos_test_data): New test inputs.
3939 (sin_test_data): Likewise.
3940
b348e1e3
SP
3941 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3942 macro.
3943 (__sin): Use it.
3944 (__cos): Likewise.
3945 (slow1): Likewise.
3946 (slow2): Likewise.
3947 (sloww1): Likewise.
3948 (sloww2): Likewise.
3949 (bsloww1): Likewise.
3950 (bsloww2): Likewise.
3951 (cslow2): Likewise.
3952 (csloww1): Likewise.
3953 (csloww2): Likewise.
3954
6cce25f8
SP
3955 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3956 function.
3957 (__sin): Use it.
3958 (__cos): Likewise.
3959
5eea0404
SP
3960 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3961 gotos.
3962 (__cos): Likewise.
3963
9c21573c
MR
39642013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3965
3966 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3967 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3968 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3969 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3970 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3971 * elf/cache.c (print_entry): Handle the new cache flags.
3972
24d22e65
JM
39732013-09-18 Joseph Myers <joseph@codesourcery.com>
3974 Aldy Hernandez <aldyh@redhat.com>
3975
3976 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3977 Change condition to [_SOFT_FLOAT].
3978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3980 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3981 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3982 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3983 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3984 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3985 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3986 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3987 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3988 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3990 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3992 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3993 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3994 declaration.
3995
d13ef066
JM
39962013-09-18 Joseph Myers <joseph@codesourcery.com>
3997
2e071de0
JM
3998 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3999 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4000 (__longjmp): Use LOAD_GP to load saved GPRs.
4001 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4002 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4003 (__sigsetjmp): Use SAVE_GP to save GPRs.
4004
d13ef066
JM
4005 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4006 Do not append -msoft-float.
4007 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4008
97a0650b
SP
40092013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4010
4011 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4012
11ca09e9
JM
40132013-09-17 Joseph Myers <joseph@codesourcery.com>
4014
4015 [BZ #15966]
4016 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4017 (_FPU_GETCW): Use initial "__" on variable and field names but not
4018 on macro parameter name.
4019 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4020 parentheses around reference to macro parameter.
4021
08ffcf34
RS
40222013-09-13 Richard Sandiford <richard@codesourcery.com>
4023
4024 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4025 prototype.
4026 (ctype_startup): Use uint32_t in cast and sizeof for
4027 ctype->charnames.
4028
ae7080d3
JL
40292013-09-11 Jia Liu <proljc@gmail.com>
4030
4031 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4032 __daddr_t_defined.
4033 [__FreeBSD__]: Likewise.
4034
5905e7b3
OB
40352013-09-11 Ondřej Bílka <neleai@seznam.cz>
4036
4037 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4038 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4039 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4040 (strchr): Remove __strchr_sse42 ifunc selection.
4041 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4042 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4043
b987c776
WN
40442013-09-11 Will Newton <will.newton@linaro.org>
4045
4046 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4047 parameter to RES. Remove hardcoded 1000 value.
4048 * benchtests/bench-skeleton.c (main): Pass RES parameter
4049 to TIMING_INIT and multiply result by 1000.
4050
ddf985af
AZ
40512013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4052
4053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4054
ffdd3181
AS
40552013-09-11 Andreas Schwab <schwab@suse.de>
4056
4057 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4058 if not defined.
4059 (O_TMPFILE) [__USE_GNU]: Define.
4060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4061 Define.
4062
b73ed247
WN
40632013-09-11 Will Newton <will.newton@linaro.org>
4064
4065 [BZ #15857]
4066 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4067 does not overflow.
4068
55e17aad
WN
40692013-09-11 Will Newton <will.newton@linaro.org>
4070
4071 [BZ #15856]
4072 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4073 does not overflow.
4074
1159a193
WN
40752013-09-11 Will Newton <will.newton@linaro.org>
4076
4077 [BZ #15855]
4078 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4079 does not overflow.
4080
5905e7b3 40812013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4082
4083 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4084 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4085 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4086 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4087 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4088
cdfc721b
AM
40892013-09-10 Allan McRae <allan@archlinux.org>
4090
aa04af00
AM
4091 [BZ #15748]
4092 * manual/arith.texi (Parsing of Floats): Clarify
4093 cross-reference.
4094
cdfc721b
AM
4095 [BZ #15849]
4096 * manual/install.texi (Running make install): Mention
4097 --enable-pt-chown.
4098 * INSTALL: Regenerated.
4099
95e7cf29
MR
41002013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4101
4102 * csu/init-first.c (_init): Remove the !SHARED condition around
4103 FPU control word initialization.
4104 * elf/dl-support.c (_dl_fpu_control): New variable.
4105 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4106 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4107 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4108 * math/test-fpucw-static.c: New file.
4109 * math/test-fpucw-ieee.c: New file.
4110 * math/test-fpucw-ieee-static.c: New file.
4111 * math/Makefile (tests): Add `test-fpucw-ieee' and
4112 `$(tests-static)'.
4113 (tests-static): New variable.
4114 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4115 dependency to...
4116 [($(build-shared),yes)]
4117 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4118 ... this.
4119 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4120 New dependency.
4121
83e43bf0
AM
41222013-09-09 Allan McRae <allan@archlinux.org>
4123
a9f5ce09
AM
4124 [BZ #15939]
4125 * manual/string.texi (Collation Functions): Fix typo in
4126 strcoll example.
4127 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4128
34829bc2
AM
4129 [BZ #15893]
4130 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4131
3932737d
AM
4132 [BZ #15892]
4133 * libio/memstream.c (open_memstream): Fix memory leak.
4134 * libio/wmemstream.c (open_wmemstream): Likewise.
4135
83e43bf0
AM
4136 [BZ #15895]
4137 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4138
0c66b8e9
WN
41392013-09-09 Will Newton <will.newton@linaro.org>
4140
4141 * malloc/Makefile: Add tst-realloc to tests.
4142 * malloc/tst-realloc.c: New file.
4143
f6b00fd1
AM
41442013-09-09 Allan McRae <allan@archlinux.org>
4145
4146 [BZ #15844]
4147 * COPYING: Update from GNU website to fix FSF address.
4148 * COPYING.LIB: Likewise.
4149
eec55e16
DM
41502013-09-06 David S. Miller <davem@davemloft.net>
4151
4152 * po/zh_TW.po: Update Chinese (traditional) translation from
4153 translation project.
4154
1ecbb381
RS
41552013-09-06 Richard Sandiford <richard@codesourcery.com>
4156 Joseph Myers <joseph@codesourcery.com>
4157
4158 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4159 "localeinfo.h".
4160 (obstack_chunk_alloc): New macro.
4161 (obstack_chunk_free): Likewise.
4162 (record_offset): New function.
4163 (init_locale_data): Likewise.
4164 (align_locale_data): Likewise.
4165 (add_locale_empty): Likewise.
4166 (add_locale_raw_data): Likewise.
4167 (add_locale_raw_obstack): Likewise.
4168 (add_locale_string): Likewise.
4169 (add_locale_wstring): Likewise.
4170 (add_locale_uint32): Likewise.
4171 (add_locale_uint32_array): Likewise.
4172 (add_locale_char): Likewise.
4173 (start_locale_structure): Likewise.
4174 (end_locale_structure): Likewise.
4175 (start_locale_prelude): Likewise.
4176 (end_locale_prelude): Likewise.
4177 (write_locale_data): Take locale_file structure rather than an
4178 iovec.
4179 * locale/programs/locfile.h: Include "obstack.h".
4180 (struct locale_file): Change to store locale file contents instead
4181 of header.
4182 (init_locale_data): New prototype.
4183 (align_locale_data): Likewise.
4184 (add_locale_empty): Likewise.
4185 (add_locale_raw_data): Likewise.
4186 (add_locale_raw_obstack): Likewise.
4187 (add_locale_string): Likewise.
4188 (add_locale_wstring): Likewise.
4189 (add_locale_uint32): Likewise.
4190 (add_locale_uint32_array): Likewise.
4191 (add_locale_char): Likewise.
4192 (start_locale_structure): Likewise.
4193 (end_locale_structure): Likewise.
4194 (start_locale_prelude): Likewise.
4195 (end_locale_prelude): Likewise.
4196 (write_locale_data): Update prototype.
4197 * locale/programs/3level.h (struct TABLE): Remove result field.
4198 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4199 Use new locale_file interface.
4200 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4201 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4202 * locale/programs/ld-address.c (address_output): Use new
4203 locale_file interface.
4204 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4205 NO_ADD_LOCALE.
4206 (collate_finish): Don't call collseq_table_finalize.
4207 (collate_output): Use new locale_file interface.
4208 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4209 in file.
4210 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4211 (TABLE): Move defines earlier in file.
4212 (ELEMENT): Likewise.
4213 (DEFAULT): Likewise.
4214 (wctrans_table_add): Move macro and inline function earlier in
4215 file.
4216 (struct wctype_table): Move type earlier in file.
4217 (add_locale_wctype_table): New static prototype.
4218 (struct locale_ctype_t): Use logical types instead of struct iovec
4219 pointers for members.
4220 (ctype_output): Use new locale_file interface.
4221 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4222 new locale_file interface.
4223 (allocate_arrays): Update for use of new locale_file interface.
4224 * locale/programs/ld-identification.c (identification_output): Use
4225 new locale_file interface.
4226 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4227 * locale/programs/ld-messages.c (messages_output): Likewise.
4228 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4229 * locale/programs/ld-name.c (name_output): Likewise.
4230 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4231 * locale/programs/ld-paper.c (paper_output): Likewise.
4232 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4233 * locale/programs/ld-time.c (time_output): Likewise.
4234
e029e2e5
AZ
42352013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4236
4237 * benchtests/Makefile: Add memrchr benchmark.
4238 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4239 benchmark as memrchr.
4240 * benchtests/bench-memrchr-ifunc.c: New file.
4241 * benchtests/bench-memrchr.c: New file.
4242
bbf6e8e4
WN
42432013-09-06 Will Newton <will.newton@linaro.org>
4244
4245 * benchtests/Makefile (string-bench): Add memcpy.
4246
6c82a2f8
CD
42472013-09-05 Carlos O'Donell <carlos@redhat.com>
4248 Cong Wang <amwang@redhat.com>
4249
4250 * sysdeps/unix/sysv/linux/bits/in.h
4251 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4252 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4253 before __USE_KERNEL_IPV6_DEFS uses.
4254 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4255 IPPROTO_BEETPH.
4256 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4257 sockaddr_in6, or ipv6_mreq.
4258
5430fc65
AZ
42592013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4260
4261 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4262 memory access for final bytes in some large inputs.
4263 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4264
4660856c
AZ
42652013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4266
4267 * string/test-memrchr.c: New file.
4268 * string/test-memrchr-ifunc.c: New file.
4269 * string/Makefile: Add new memrchr testcase.
4270
bb8ea713
MF
42712013-09-05 Mike Frysinger <vapier@gentoo.org>
4272
4273 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4274 fanotify_init returns EPERM.
4275
b92a20b5
JM
42762013-09-04 Joseph Myers <joseph@codesourcery.com>
4277
4278 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4279 errors.
4280 (top level): Treat second token from macro or constant entries for
4281 allowed headers as allowed.
4282 * include/complex.h: Condition internal declarations on
4283 [!_ISOMAC].
4284 * include/fenv.h: Condition include of <stdbool.h> and internal
4285 declarations on [!_ISOMAC].
7447ccd9
CL
4286
42872013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4288
3e181dda 4289 [BZ #15923]
7447ccd9
CL
4290 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4291
3f2e46a4
JM
42922013-09-04 Joseph Myers <joseph@codesourcery.com>
4293
4294 * configure.in (--enable-versioning): Remove configure option.
4295 (libc_cv_asm_symver_directive): Remove configure test.
4296 (libc_cv_ld_version_script_option): Likewise.
4297 (VERSIONING): Remove variable and AC_SUBST.
4298 (DO_VERSIONING): Remove AC_DEFINE.
4299 * configure: Regenerated.
4300 * config.h.in (DO_VERSIONING): Remove macro.
4301 * Makerules [$(versioning) = yes]: Change conditionals to
4302 [$(build-shared) = yes].
4303 * config.make.in (versioning): Remove variable.
4304 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4305 [$(build-shared) = yes].
4306 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4307 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4308 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4309 [$(build-shared) = yes].
4310 * extra-lib.mk [$(versioning) = yes]: Likewise.
4311 * hurd/Makefile [$(versioning) = yes]: Likewise.
4312 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4313 [SHARED].
4314 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4315 [SHARED].
4316 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4317 [SHARED && !NO_HIDDEN].
4318 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4319 [SHARED].
4320 [SHARED && DO_VERSIONING]: Likewise..
4321 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4322 [$(build-shared) = yes].
4323 * manual/install.texi (--disable-versioning): Remove
4324 documentation.
4325 * INSTALL: Regenerated.
4326 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4327 to [SHARED].
4328 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4329 [$(build-shared) = yes].
4330 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4331 * sysdeps/i386/i686/multiarch/strstr-c.c
4332 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4333 [SHARED && !NO_HIDDEN].
4334 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4335 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4336 * sysdeps/powerpc/powerpc32/dl-machine.c
4337 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4338 * sysdeps/powerpc/powerpc32/sysdep.h
4339 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4340 to [SHARED && PIC && !NO_HIDDEN].
4341 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4342 conditional to [SHARED].
4343
44558701
WN
43442013-09-04 Will Newton <will.newton@linaro.org>
4345
4346 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4347 * benchtests/bench-string.h: Include bench-timing.h instead
4348 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4349 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4350 call to HP_TIMING_DIFF_INIT.
4351 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4352 instead of hp-timing.h macros.
4353 * benchtests/bench-memchr.c: Likewise.
4354 * benchtests/bench-memcmp.c: Likewise.
4355 * benchtests/bench-memcpy.c: Likewise.
4356 * benchtests/bench-memmem.c: Likewise.
4357 * benchtests/bench-memmove.c: Likewise.
4358 * benchtests/bench-memset.c: Likewise.
4359 * benchtests/bench-rawmemchr.c: Likewise.
4360 * benchtests/bench-strcasecmp.c: Likewise.
4361 * benchtests/bench-strcasestr.c: Likewise.
4362 * benchtests/bench-strcat.c: Likewise.
4363 * benchtests/bench-strchr.c: Likewise.
4364 * benchtests/bench-strcmp.c: Likewise.
4365 * benchtests/bench-strcpy.c: Likewise.
4366 * benchtests/bench-strcpy_chk.c: Likewise.
4367 * benchtests/bench-strlen.c: Likewise.
4368 * benchtests/bench-strncasecmp.c: Likewise.
4369 * benchtests/bench-strncat.c: Likewise.
4370 * benchtests/bench-strncmp.c: Likewise.
4371 * benchtests/bench-strncpy.c: Likewise.
4372 * benchtests/bench-strnlen.c: Likewise.
4373 * benchtests/bench-strpbrk.c: Likewise.
4374 * benchtests/bench-strrchr.c: Likewise.
4375 * benchtests/bench-strspn.c: Likewise.
4376 * benchtests/bench-strstr.c: Likewise.
4377
cae16d66
WN
43782013-09-04 Will Newton <will.newton@linaro.org>
4379
4380 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4381
ffa3cd7f
JM
43822013-09-03 Joseph Myers <joseph@codesourcery.com>
4383
4384 [BZ #15427]
4385 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4386 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4387 * math/libm-test.inc (lgamma_test_data): Add more tests.
4388 * sysdeps/i386/fpu/libm-test-ulps: Update.
4389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4390
8f02859f
OB
43912013-09-03 Ondřej Bílka <neleai@seznam.cz>
4392
4393 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4394 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4395 Add ifunc.
4396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4397 Add strcmp-sse2-unaligned
4398 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4399
18d43716
MF
44002013-09-02 Mike Frysinger <vapier@gentoo.org>
4401
4402 * Versions.def (libc): Add GLIBC_2.19.
4403
ac444012
MF
44042013-09-02 Mike Frysinger <vapier@gentoo.org>
4405
4406 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4407 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4408
b7835e32
JM
44092013-09-02 Joseph Myers <joseph@codesourcery.com>
4410
4411 [BZ #14155]
4412 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4413 intermediate calculations in recurrence.
4414 (__ieee754_ynf): Likewise.
4415 * math/libm-test.inc (jn_test_data): Do not allow spurious
4416 underflow exception. Add more tests.
4417 (yn_test_data): Add more tests.
4418 * sysdeps/i386/fpu/libm-test-ulps: Update.
4419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4420
8220f4f0
OB
44212013-09-02 Ondřej Bílka <neleai@seznam.cz>
4422
4423 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4424
f24a6d08
OB
44252013-08-30 Ondřej Bílka <neleai@seznam.cz>
4426
4427 * csu/init-first.c: Fix then/than typos.
4428 * locale/programs/ld-collate.c: Likewise.
4429 * locale/programs/linereader.h: Likewise.
4430 * manual/charset.texi: Likewise.
4431 * manual/filesys.texi: Likewise.
4432 * manual/stdio.texi: Likewise.
4433 * manual/string.texi: Likewise.
4434 * stdlib/fmtmsg.c: Likewise.
4435 * sysdeps/i386/stpncpy.S: Likewise.
4436 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4437 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4438 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4439 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4440
382466e0
OB
44412013-08-30 Ondřej Bílka <neleai@seznam.cz>
4442
4443 * elf/dl-open.c: Fix typos.
4444 * iconvdata/gbbig5.c: Likewise.
4445 * iconvdata/iso-2022-jp.c: Likewise.
4446 * iconv/gconv_int.h: Likewise.
4447 * iconv/loop.c: Likewise.
4448 * nis/rpcsvc/nis.h: Likewise.
4449 * resolv/ns_name.c: Likewise.
4450 * stdio-common/vfscanf.c: Likewise.
4451 * streams/stropts.h: Likewise.
4452 * sunrpc/rpc_thread.c: Likewise.
4453 * sysdeps/i386/strpbrk.S: Likewise.
4454 * sysdeps/ieee754/k_standard.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4457 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4458 * sysdeps/mach/hurd/profil.c: Likewise.
4459 * sysdeps/s390/dl-procinfo.h: Likewise.
4460 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4461 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4462 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4463 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4464 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4465
0186c6e9
OB
44662013-08-30 Ondřej Bílka <neleai@seznam.cz>
4467
4468 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4470
d4e16af1
OB
44712013-08-29 Ondřej Bílka <neleai@seznam.cz>
4472
4473 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4474 aix specific files.
4475 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4476 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4477 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4478 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4479 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4480 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4481 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4482 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4483
88335980
TS
44842013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4485 Roland McGrath <roland@hack.frob.com>
4486
4487 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4488 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4489
ed479b02
ST
44902013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4491
4492 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4493 __executable_start symbol instead of _start.
4494
f1cc4c86
TS
44952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4496
d821f07c
TS
4497 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4498 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4499 Move macros to...
4500 * sysdeps/gnu/ldsodefs.h: ... this new file.
4501
c54290cf
TS
4502 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4503 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4504 instead of ELFOSABI_LINUX.
4505
0007fc9b 4506 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
4507 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4508 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4509 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4510 Likewise.
4511 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4512 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4513 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4514 Likewise.
4515 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4516 (ibm_extended_long_double): Add ieee_nan member.
4517 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4518 (do_test): New function.
4519
f1cc4c86
TS
4520 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4521 TEST_TRUNC.
4522 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4523 functions, renamed from truncdfsf_test, trunctfsf_test,
4524 trunctfdf_test.
4525 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4526 functions.
4527 (do_test): Run all these.
4528
6f65e668
OB
45292013-08-29 Ondřej Bílka <neleai@seznam.cz>
4530
4531 * argp/argp-help.c: Fix typos.
4532 * argp/argp-parse.c: Likewise.
4533 * debug/backtracesyms.c: Likewise.
4534 * elf/elf.h: Likewise.
4535 * malloc/malloc.c: Likewise.
4536 * nis/nis_print.c: Likewise.
4537 * resolv/res_comp.c: Likewise.
4538 * stdlib/stdlib.h: Likewise.
4539 * sunrpc/clnt_tcp.c: Likewise.
4540 * sunrpc/clnt_udp.c: Likewise.
4541 * sunrpc/clnt_unix.c: Likewise.
4542 * sysdeps/unix/bsd/ptsname.c: Likewise.
4543 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4544 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4546 Likewise.
4547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4548 Likewise.
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4550 Likewise.
6f65e668
OB
4551 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4552
3a309239
SP
45532013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4554
4555 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4557
3b813b29
MF
45582013-08-27 Mike Frysinger <vapier@gentoo.org>
4559
4560 [BZ #15897]
4561 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4562 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4563 ($(objpfx)bug-dl-leaf): New rule.
4564 ($(objpfx)bug-dl-leaf.so): Likewise.
4565 ($(objpfx)bug-dl-leaf.out): Likewise.
4566 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4567 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4568 * dlfcn/bug-dl-leaf.c: New test.
4569 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4570 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4571 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4572 (dlclose): Likewise.
4573 (dlmopen): Likewise.
4574
8cc3269f
RM
45752013-08-27 Roland McGrath <roland@hack.frob.com>
4576
7f9d0034
RM
4577 * include/netdb.h [!_ISOMAC]:
4578 Don't include <tls.h>.
4579 (h_errno, __libc_h_errno): Move declaration and macros out of
4580 [_LIBC_REENTRANT].
4581
fb431262
RM
4582 * include/resolv.h [_RESOLV_H_]:
4583 Don't include <tls.h>.
4584 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4585 * resolv/res_libc.c: Don't include <tls.h>.
4586 (_res): Use __attribute__ ((nocommon)) in place of
4587 __attribute__ ((section (".bss"))).
4588
bd81123a
RM
4589 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4590 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4591
c4e42566
RM
4592 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4593
f890a59b
RM
4594 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4595 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4596
4597 * resolv/res_mkquery.c: Include <sys/time.h>.
4598
5d1f0a09
RM
4599 * inet/ifreq.c: Moved to ...
4600 * sysdeps/unix/ifreq.c: ... here.
4601 * inet/ifreq.c: New file, true stub version.
4602
6fcf28b3
RM
4603 * socket/sa_len.c: New file.
4604 * socket/Makefile (aux): Add it.
4605 * sysdeps/unix/sysv/linux/Makefile
4606 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4607 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4608 and #include <socket/sa_len.c>.
4609 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4610 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4611
e041fb8b
RM
4612 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4613 * bits/socket.h: ... here.
4614
8cc3269f
RM
4615 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4616 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4617 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4618
5d228a43
AS
46192013-08-27 Andreas Schwab <schwab@suse.de>
4620
45b8accc
AS
4621 [BZ #15736]
4622 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4623 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4624 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4625 * string/test-strcasecmp.c (test_main): Run tests in several
4626 locales.
4627 * string/test-strncasecmp.c (test_main): Likewise.
4628
5d228a43
AS
4629 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4630 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4631 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4632 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4633 (__strncasecmp_ssse3) [PIC]: Likewise.
4634
59d112a4
RM
46352013-08-26 Roland McGrath <roland@hack.frob.com>
4636
53234cc3
RM
4637 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4638
59d112a4
RM
4639 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4640 instead of explicitly declaring xdecrypt.
4641 * nis/nss_nis/nis-publickey.c: Likewise.
4642
595aba70
SP
46432013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4644
4645 [BZ #15890]
4646 * nscd/aicache.c: Include res_hconf.h.
4647 (addhstaiX): Initialize res_hconf.
4648
ffabd393
AS
46492013-08-26 Andreas Schwab <schwab@suse.de>
4650
4651 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4652 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4653
e0a69f5c
SP
46542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4655
4656 * nscd/aicache.c (addhstaiX): Fix indentation.
4657
8c12f01d
MF
46582013-08-25 Mike Frysinger <vapier@gentoo.org>
4659
4660 * configure.ac: Quote $build_pt_chown test.
4661 * configure: Regenerated.
4662
8fe89494
JM
46632013-08-23 Joseph Myers <joseph@codesourcery.com>
4664
4665 [BZ #15532]
4666 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4667 * math/s_cexpf.c (__cexpf): Likewise.
4668 * math/s_cexpl.c (__cexpl): Likewise.
4669 * math/libm-test.inc (cexp_test_data): Correct expected return
4670 value for NaN + i0. Add another test.
4671
75b181d6
DM
46722013-08-22 David S. Miller <davem@davemloft.net>
4673
4674 * po/ca.po: Update Catalan translation from translation project.
936241e4 4675 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4676
acd06bb1
JM
46772013-08-21 Joseph Myers <joseph@codesourcery.com>
4678
4679 [BZ #15797]
4680 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4681 is infinite, not alongside NaN test.
4682 * math/s_fdimf.c (__fdimf): Likewise.
4683 * math/s_fdiml.c (__fdiml): Likewise.
4684 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4685 errno is unchanged.
4686
c0c3f78a
OB
46872013-08-21 Ondřej Bílka <neleai@seznam.cz>
4688
4689 * argp/argp-help.c: Fix typos.
4690 * crypt/speeds.c: Likewise.
4691 * csu/check_fds.c: Likewise.
4692 * elf/dl-load.c: Likewise.
4693 * elf/dl-open.c: Likewise.
4694 * elf/reldep3.c: Likewise.
4695 * elf/reldep.c: Likewise.
4696 * elf/sprof.c: Likewise.
4697 * iconv/iconv_charmap.c: Likewise.
4698 * iconv/skeleton.c: Likewise.
4699 * iconv/strtab.c: Likewise.
4700 * io/lockf64.c: Likewise.
4701 * libio/libioP.h: Likewise.
4702 * resolv/gai_notify.c: Likewise.
4703 * resolv/ns_name.c: Likewise.
4704 * resolv/ns_samedomain.c: Likewise.
4705 * resolv/res_send.c: Likewise.
4706 * stdlib/random.c: Likewise.
4707 * sunrpc/rpc/xdr.h: Likewise.
4708 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4709 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4710 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4711 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4712 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4713 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4715 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4716 * sysdeps/mach/hurd/check_fds.c: Likewise.
4717 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4718 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4719 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4720 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4721 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4722 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4723 * sysdeps/pthread/aio_notify.c: Likewise.
4724 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4725 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4726 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4727 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4728 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4729
46ed1038
LD
47302013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4731
4732 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4733 version if bit_Slow_SSE4_2 is set.
4734 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4735 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4736
d400dcac
AZ
47372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4738
4739 [BZ #15867]
4740 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4741 trampoline stack frame information.
4742 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4743 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4744 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4745 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4746 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4747 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4748 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4749 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4750 sa_flags value.
4751 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4752 interrupting a syscall and set with option SA_SIGINFO.
4753
42c8fdd8
JM
47542013-08-20 Joseph Myers <joseph@codesourcery.com>
4755
c980f2f4
JM
4756 [BZ #15531]
4757 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4758 argument is infinite.
4759 * math/s_cprojf.c (__cprojf): Likewise.
4760 * math/s_cprojl.c (__cprojl): Likewise.
4761 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4762 * math/libm-test.inc (cproj_test_data): Add more tests.
4763
0716c4fc
JM
4764 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4765
42c8fdd8
JM
4766 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4767 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4768 size. Use __ffs to determine corresponding shift.
4769
b31469d0
JM
47702013-08-20 Joseph Myers <joseph@codesourcery.com>
4771 Roland McGrath <roland@hack.frob.com>
4772
4773 * Makefile (INSTALL): Remove trailing blank lines from output of
4774 makeinfo.
4775
4e39af6e
AK
47762013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4777
4778 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4779 Align 32 bit compat elf_greg to 8 bytes.
4780
f315524e
AA
47812013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4782
4783 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4784
1326ba1a
SP
47852013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4786
4787 * string/strcoll_l.c (coll_seq): New structure.
4788 (get_next_seq_cached): New function.
4789 (get_next_seq): New function.
4790 (do_compare): New function.
4791 (STRCOLL): Use GNU style definition. Simplify implementation
4792 by using get_next_seq, get_next_seq_cached and do_compare.
4793
91ce4085
FW
47942013-08-16 Florian Weimer <fweimer@redhat.com>
4795
4796 [BZ #14699]
4797 CVE-2013-4237
4798 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4799 member.
4800 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4801 member.
4802 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4803 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4804 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4805 conditional.
4806 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4807 GETDENTS_64BIT_ALIGNED.
4808 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4809 * manual/filesys.texi (Reading/Closing Directory): Document
4810 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4811 strongly.
4812 * manual/conf.texi (Limits for Files): Add portability note to
4813 NAME_MAX, PATH_MAX.
4814 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4815
ca0a6bc4
AS
48162013-08-13 Andreas Schwab <schwab@suse.de>
4817
4818 [BZ #15749]
4819 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4820 of fabs.
4821 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4822 LDBL_MAX_EXP >= 16384]: Add tests for it.
4823
6c1fd795
DM
48242013-08-12 David S. Miller <davem@davemloft.net>
4825
4826 * version.h (RELEASE): Set to "development".
4827 (VERSION): Set to "2.18.90".
4828 * NEWS: Add 2.19 section.
4829
31ad488d
DM
48302013-08-03 David S. Miller <davem@davemloft.net>
4831
4832 * po/ko.po: Update Korean translation from translation project.
4833
db24e684
DM
48342013-08-01 David S. Miller <davem@davemloft.net>
4835
4836 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4837 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4838 Bilka.
4839
f723285b
DM
48402013-07-30 David S. Miller <davem@davemloft.net>
4841
4842 * po/fr.po: Update French translation from translation project.
4843
3cbc52db
DM
48442013-07-28 David S. Miller <davem@davemloft.net>
4845
30bbc0cc
DM
4846 * po/cs.po: Update Czech translation from translation project.
4847
3cbc52db
DM
4848 * po/sv.po: Update Swedish translation from translation project.
4849
d492e6d0
DM
48502013-07-27 David S. Miller <davem@davemloft.net>
4851
f1a7f492
DM
4852 * po/eo.po: Update Esperanto translation from translation project.
4853
90e62a4a
DM
4854 * po/vi.po: Update Vietnamese translation from translation project.
4855
d492e6d0
DM
4856 * po/de.po: Update German translation from translation project.
4857
d4baa62d
DM
48582013-07-26 David S. Miller <davem@davemloft.net>
4859
641aa7b4
DM
4860 * po/bg.po: Update Bulgarian translation from translation project.
4861
d4baa62d
DM
4862 * po/nl.po: Update Dutch translation from translation project.
4863 * po/pl.po: Update Polish translation from translation project.
4864 * po/ru.po: Update Russian translation from translation project.
4865
61a9dcb9
DM
48662013-07-24 David S. Miller <davem@davemloft.net>
4867
4868 * po/libc.pot: Update.
4869
7b1f8b58
AZ
48702013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4871
4872 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4873 variable page size.
4874 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4875 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4876 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4877
a8fc7a03
AK
48782013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4879
4880 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4881
e4608715
CD
48822013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4883 Andreas Schwab <schwab@suse.de>
4884 Roland McGrath <roland@hack.frob.com>
4885 Joseph Myers <joseph@codesourcery.com>
4886 Carlos O'Donell <carlos@redhat.com>
4887
4888 [BZ #15755]
4889 * config.h.in: Define HAVE_PT_CHOWN.
4890 * config.make.in (build-pt-chown): New variable.
4891 * configure.in (--enable-pt_chown): New configure option.
4892 * configure: Regenerate.
4893 * login/Makefile: Include Makeconfig. Build pt_chown only if
4894 build-pt-chown is enabled.
4895 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4896 pt_chown to fix pty ownership.
4897 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4898 CLOSE_ALL_FDS.
4899 * manual/install.texi (Configuring and compiling): Mention
4900 --enable-pt_chown. Add @findex for grantpt.
4901 * INSTALL: Regenerate.
4902
da2d62df
DM
49032013-07-20 David S. Miller <davem@davemloft.net>
4904
4905 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4906 difference between 32-bit and 64-bit.
4907
d7e06450
CD
49082013-07-15 Carlos O'Donell <carlos@redhat.com>
4909
4910 [BZ #15711]
4911 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4912 Avoid system header dependency with -ffreestanding.
4913 ($(objpfx)bits/syscall%d): Likewise.
4914
f959cfd7
DM
49152013-07-13 David S. Miller <davem@davemloft.net>
4916
4917 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4918 underflows from atanl/atan2l due to bug 15319.
4919 (casinh_test_data): Likewise.
4920
c61f8513
DM
49212013-07-07 David S. Miller <davem@davemloft.net>
4922
4923 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4924
72c90ed0
JA
49252013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4926
4927 * sysdeps/i386/fpu/libm-test-ulps: Update.
4928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4929
52dfbe13
SP
49302013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4931
4932 * configure.in (--enable-lock-elision): Fix message text.
4933 * INSTALL: Regenerate.
4934 * configure: Regenerate.
4935
3f169543
AZ
49362013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4937
4938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4939
521c6785
AJ
49402013-07-03 Andreas Jaeger <aj@suse.de>
4941
4942 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4943 define.
4944 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4945 (ptrace_peeksiginfo_args): Add.
4946 (__ptrace_peeksiginfo_flags): Add.
4947 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4948 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4949 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4950
d2cc15cb
AM
49512013-07-03 Allan McRae <allan@archlinux.org>
4952
4953 * sysdeps/i386/fpu/libm-test-ulps: Update.
4954
3aaeeca7
DM
49552013-07-02 David S. Miller <davem@davemloft.net>
4956
4957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4958
5314ed1a
MT
49592013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4960
4961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4962
67338156
JM
49632013-07-02 Joseph Myers <joseph@codesourcery.com>
4964
4965 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4967
1717da59
AK
49682013-07-02 Andi Kleen <ak@linux.intel.com>
4969
4970 * config.h.in (ENABLE_LOCK_ELISION): Add.
4971 * configure.in (--enable-lock-elision): Add option.
4972 * manual/install.texi: Document --enable lock elision.
4973 * configure: Regenerate
4974 * INSTALL: Regenerate.
4975
1c81621c
L
49762013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4977
4978 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4979 SSE4.2 strcasecmp for libc.a.
4980 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4981
77f01ab5
JM
49822013-07-02 Joseph Myers <joseph@codesourcery.com>
4983
4984 [BZ #13304]
4985 * soft-fp/op-common.h (_FP_FMA): New macro.
4986 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4987 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4988 (_FP_MUL_MEAT_1_imm): ... here.
4989 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4990 (_FP_MUL_MEAT_1_wide): ... here.
4991 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4992 (_FP_MUL_MEAT_1_hard): ... here.
4993 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4994 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4995 (_FP_MUL_MEAT_2_wide): ... here.
4996 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4997 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4998 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4999 (_FP_MUL_MEAT_2_gmp): ... here.
5000 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5001 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5002 (_FP_MUL_MEAT_4_wide): ... here.
5003 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5004 (_FP_MUL_MEAT_4_gmp): ... here.
5005 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5006 (_FP_WFRACBITS_DW_S): Likewise.
5007 (_FP_WFRACXBITS_DW_S): Likewise.
5008 (_FP_HIGHBIT_DW_S): Likewise.
5009 (FP_FMA_S): Likewise.
5010 (_FP_FRAC_HIGH_DW_S): Likewise.
5011 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5012 (_FP_WFRACBITS_DW_D): Likewise.
5013 (_FP_WFRACXBITS_DW_D): Likewise.
5014 (_FP_HIGHBIT_DW_D): Likewise.
5015 (FP_FMA_D): Likewise.
5016 (_FP_FRAC_HIGH_DW_D): Likewise.
5017 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5018 (_FP_WFRACBITS_DW_E): Likewise.
5019 (_FP_WFRACXBITS_DW_E): Likewise.
5020 (_FP_HIGHBIT_DW_E): Likewise.
5021 (FP_FMA_E): Likewise.
5022 (_FP_FRAC_HIGH_DW_E): Likewise.
5023 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5024 (_FP_WFRACBITS_DW_Q): Likewise.
5025 (_FP_WFRACXBITS_DW_Q): Likewise.
5026 (_FP_HIGHBIT_DW_Q): Likewise.
5027 (FP_FMA_Q): Likewise.
5028 (_FP_FRAC_HIGH_DW_Q): Likewise.
5029 * soft-fp/fmasf4.c: New file.
5030 * soft-fp/fmadf4.c: Likewise.
5031 * soft-fp/fmatf4.c: Likewise.
5032
6308fd9a
LD
50332013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5034
5035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5036 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5037 Silvermont.
5038 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5039 macro.
5040 (index_Slow_SSE4_2): Likewise.
5041 (index_Prefer_PMINUB_for_stringop): Likewise.
5042 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5043 bit_Slow_SSE4_2 is set.
5044 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5045 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5046
89cd9569
RA
50472013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5048
5049 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5050 rtld_global._dl_hwcap2.
5051 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5052 POWER8.
5053 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5054 POWER8 feature descriptions defined in _dl_hwcap2.
5055 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5056 string handling for POWER8 feature bits.
5057 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5058 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5059 _dl_powerpc_cap_flags.
5060 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5061 * sysdeps/powerpc/rtld-global-offsets.sym
5062 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5063 _dl_hwcap2 in the rtld_global_ro structure.
5064
1ae8bfe0
RA
50652013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5066
5067 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5068 hardware capabilities in support of AT_HWCAP2.
5069 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5070 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5071 GLRO(dl_hwcap2).
5072 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5073 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5074 explicitly the unknown a_type display mechanism is used.
5075 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5076 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5077 struct member.
5078 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5079 to macro prototype for AT_HWCAP2 support.
5080 * sysdeps/i386/dl-procinfo.h: Likewise.
5081 * sysdeps/s390/dl-procinfo.h: Likewise.
5082 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5083 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5084 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5085 return -1 for unknown a_type display fallback.
5086 * sysdeps/sparc/dl-procinfo.h: Likewise.
5087 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5088 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5089
8fbec010
JM
50902013-06-28 Joseph Myers <joseph@codesourcery.com>
5091
5092 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5093 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5094
0432680e
PY
50952013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5096
5097 [BZ #12492]
5098 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5099 mprotect making __stack_prot writable.
5100
ce61a2ad
NF
51012013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5102 Joseph Myers <joseph@codesourcery.com>
5103
5104 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5105 as being properly aligned.
5106
f91f1c0f
MR
51072013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5108
3d0f5d0c
MR
5109 * dlfcn/modstatic5.c: New file.
5110 * dlfcn/tststatic5.c: New file.
5111 * dlfcn/Makefile (tests): Add tststatic5.
5112 (tests-static): Likewise.
5113 (modules-names): Add modstatic5.
5114 (tststatic5-ENV): New variable.
5115 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5116
f91f1c0f
MR
5117 [BZ #15022]
5118 * elf/dl-support.c (_dl_main_map): New variable.
5119 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5120 (_dl_nns, _dl_load_adds): Set to 1.
5121 (_dl_initial_searchlist): Refer to _dl_main_map.
5122 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5123 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5124 call to _dl_get_origin.
5125 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5126 around call_map.
5127 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5128 * dlfcn/modstatic3.c: New file.
5129 * dlfcn/tststatic3.c: New file.
5130 * dlfcn/tststatic4.c: New file.
5131 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5132 (tests-static): Likewise.
5133 (modules-names): Add modstatic3.
5134 (tststatic3-ENV, tststatic4-ENV): New variables.
5135 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5136 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5137
cbe7d24b
JM
51382013-06-26 Joseph Myers <joseph@codesourcery.com>
5139
5140 * configure.in (CC): Require GCC version 4.4 or later.
5141 * configure: Regenerated.
5142 * manual/install.texi (Tools for Compilation): Update GCC version
5143 requirement.
5144 * INSTALL: Regenerated.
5145
11b8a0e1
LD
51462013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5147
5148 [BZ #15674]
bb5bb87c
L
5149 * string/test-memcmp.c (check2): New.
5150 (main): Call check2.
5151
11b8a0e1
LD
5152 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5153
b0037103
MR
51542013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5155
5156 [BZ #15022]
5157 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5158 over to...
5159 (dl_open_worker) [!SHARED]: ... here.
5160
c18c701d
RA
51612013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5162
5163 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5164
1d17fa5f
RH
51652013-06-25 Richard Henderson <rth@redhat.com>
5166
5167 * locale/programs/locarchive.c: Include <libc-internal.h>
5168
8fcb833a
JM
51692013-06-25 Joseph Myers <joseph@codesourcery.com>
5170
5171 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5172 trailing whitespace removed.
5173
17db6e8d
MF
51742013-06-24 Mike Frysinger <vapier@gentoo.org>
5175
5176 [BZ #10283]
17db6e8d
MF
5177 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5178 * locale/programs/locarchive.c: Include libc-mmap.h.
5179 (prepare_address_space): Take two new outputs (the mmap base and len).
5180 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5181 values.
5182 (create_archive): Declare new mmap base and len values for
5183 prepare_address_space, and store the result in ah.
5184 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5185 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5186 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5187 Declare new mmap base and len values for
5188 prepare_address_space, and store the result in new_ah.
5189 (open_archive): Declare new mmap base and len values for
5190 prepare_address_space, and store the result in ah.
5191 (close_archive): If ah->mmap_base is not NULL, use that and
5192 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5193 * sysdeps/generic/libc-mmap.h: New file.
5194
d605071e
MF
51952013-06-24 Mike Frysinger <vapier@gentoo.org>
5196
5197 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5198 (ALIGN_UP): Likewise.
5199 (PTR_ALIGN_DOWN): Likewise.
5200 (PTR_ALIGN_UP): Likewise.
5201
2f063a6e
RA
52022013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5203
5204 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5205 entry mapped to PPC_PLATFORM_POWER8.
5206 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5207 POWER8.
5208 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5209 (_dl_string_platform): Add case for exporting platform position for
5210 POWER8.
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5212 search path to sysdeps/powerpc/powerpc32/power8 directory.
5213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5214 search path to sysdeps/powerpc/powerpc64/power8 directory.
5215 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5216 power7 directories.
5217 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5218 power7 directories.
5219
a31ee4b3
SP
52202013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5221
a74ca98f
SP
5222 * INSTALL: Regenerate.
5223
a31ee4b3
SP
5224 * nscd/connections.c (nscd_init): Fix comment.
5225
695c378f
JM
52262013-06-22 Joseph Myers <joseph@codesourcery.com>
5227
d8412221
JM
5228 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5229
695c378f
JM
5230 [BZ #15667]
5231 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5232 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5233
d1d54715
MR
52342013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5235
5236 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5237 DL_DST_REQ_STATIC.
5238 (DL_DST_REQ_STATIC): Remove macro.
5239
8fdda7af
JM
52402013-06-21 Joseph Myers <joseph@codesourcery.com>
5241
5242 [BZ #7006]
5243 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5244 with a shift of 0 bits.
5245
f3bc5e5a
MR
52462013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5247
5248 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5249 $(tststatic-ENV).
5250
be09e8c9
KK
52512013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5252
5253 [BZ #15655]
5254 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5255
85c2e611
AZ
52562013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5257
5258 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5259 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5260 accepts -fno-tree-loop-distribute-patterns.
5261 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5262 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5263 recursive call.
5264 * string/memset.c (memset): Likewise.
5265 * string/test-memmove.c (simple_memmove): Disable loop transformation
5266 to library calls.
5267 * string/test-memset.c (simple_memset): Likewise.
5268 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5269 * benchtests/bench-memset.c (simple_memset): Likewise.
5270 * configure: Regenerated.
5271
c91e0825
JM
52722013-06-20 Joseph Myers <joseph@codesourcery.com>
5273
b8c792af
JM
5274 * math/test-misc.c (main): Ignore fesetround failure when failures
5275 of subsequent rounding tests would be ignored.
5276
c91e0825
JM
5277 [BZ #15654]
5278 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5279 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5280 * math/fegetenv.c (__fegetenv): Return 0.
5281 * math/fegetexcept.c (fegetexcept): Return 0.
5282 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5283 FE_TONEAREST.
5284 * math/feholdexcpt.c (feholdexcept): Return 0.
5285 * math/fesetenv.c (__fesetenv): Return 0.
5286 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5287 argument FE_TONEAREST.
5288 * math/feupdateenv.c (__feupdateenv): Return 0.
5289 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5290
bfcacbde
RM
52912013-06-18 Roland McGrath <roland@hack.frob.com>
5292
5293 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5294 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5295 ($(objpfx)rtld-%.os rules): Use them.
5296
e55a9b25
AZ
52972013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5298
5299 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5300 fields.
5301
346d65b3
RM
53022013-06-17 Roland McGrath <roland@hack.frob.com>
5303
12086fb4
RM
5304 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5305 length of target pattern, then descending length of dependency pattern.
5306 * configure.in (AWK): Require gawk 3.1.2 or newer.
5307 * manual/install.texi (Tools for Compilation): Say that we do.
5308 * configure: Regenerated.
5309
346d65b3
RM
5310 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5311 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5312 * scripts/sysd-rules.awk: ... this new script.
5313 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5314 than a glob-style pattern.
5315
1a846317
JM
53162013-06-17 Joseph Myers <joseph@codesourcery.com>
5317
5318 * math/test-misc.c (main): Do not treat incorrectly rounded
5319 conversions as failure unless ROUNDING_TESTS passes.
5320
8fc75e6f
JM
53212013-06-15 Joseph Myers <joseph@codesourcery.com>
5322
3711a167
JM
5323 [BZ #15631]
5324 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5325 restore exception state around main square root computation, then
5326 check for inexactness explicitly.
5327
8fc75e6f
JM
5328 * math/libm-test.inc (fma_test_data): Add another test.
5329
61dd6208
SP
53302013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5331
adf23d2c
SP
5332 * manual/threads.texi (Non-POSIX Extensions): New document
5333 node. Document pthread_getattr_default_np and
5334 pthread_setattr_default_np.
5335
61dd6208
SP
5336 * Versions.def (libpthread): Add GLIBC_2.18.
5337 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5339 Likewise.
5340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5341 Likewise.
5342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5343 Likewise.
5344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5345 Likewise.
5346 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5347 Likewise.
5348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5349 Likewise.
5350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5351 Likewise.
5352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5353 Likewise.
5354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5355 Likewise.
5356
d086fc7b
LD
53572013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5358
5359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5360 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5361
747ef469
SP
53622013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5363 H.J. Lu <hjl.tools@gmail.com>
5364
5365 [BZ #15627]
5366 * sysdeps/x86_64/rtld-memset.c: Remove file.
5367 * sysdeps/x86_64/rtld-memset.S: New file.
5368
1b2feed2
JM
53692013-06-14 Joseph Myers <joseph@codesourcery.com>
5370
5371 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5372 (test_in_one_mode): Take arguments for whether the rounding mode
5373 is supported for each floating-point type.
5374 (do_test): Pass new arguments to test_in_one_mode using
5375 ROUNDING_TESTS.
5376
a58ad3f8
RM
53772013-06-13 Roland McGrath <roland@hack.frob.com>
5378
5379 * posix/tst-waitid.c (do_test): Distinguish different instances of
5380 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5381 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5382 before entering the kernel for waitpid.
5383
c204ab28
SP
53842013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5385
5386 * NEWS: Fix note on clock function precision. Text by Roland
5387 McGrath.
5388
f4a29fba
RM
53892013-06-13 Roland McGrath <roland@hack.frob.com>
5390
5391 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5392 it into place only when and if the sanity check passes.
5393
1f24b9ad
JM
53942013-06-13 Joseph Myers <joseph@codesourcery.com>
5395
5396 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5397 output for whether conversion result is exact. Take argument
5398 indicating whether type is IBM long double.
5399 (round_for_all): Change need_exact field to ibm_ld.
5400 * stdlib/tst-strtod-round.c (struct exactness): New type.
5401 (struct test): Change bool ld_ok field to struct exactness exact.
5402 (TEST): Update all definitions for change to field.
5403 (tests): Regenerate array contents.
5404 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5405 field value. Check for IBM long double here.
5406 (do_test): Update calls to test_in_one_mode.
5407
58206c68
SP
54082013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5409
5410 [BZ #12515]
5411 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5412 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5413
2d6f4c5b 54142013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5415
5416 [BZ #15605]
5417 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5418 generated by the compiler on loop optimizations.
5419 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5420 general definitions.
5421
94f2c076
JM
54222013-06-12 Joseph Myers <joseph@codesourcery.com>
5423
5424 * math/bug-nextafter.c: Include <math-tests.h>.
5425 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5426 the relevant type.
5427 * math/bug-nexttoward.c: Include <math-tests.h>.
5428 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5429 the relevant type.
5430 * math/test-misc.c: Include <math-tests.h>.
5431 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5432 the relevant type.
5433
e0e50a0a
AJ
54342013-06-12 Andreas Jaeger <aj@suse.de>
5435
5436 * po/ia.po: Update Interlingua translation from translation
5437 project.
5438
25061094
SP
54392013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5440
5441 * include/fenv.h: Include stdbool.h.
5442 (struct rm_ctx): New structure.
5443 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5444 Define macro.
5445 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5446 (SET_RESTORE_ROUNDF): Likewise.
5447 (SET_RESTORE_ROUNDL): Likewise.
5448 (SET_RESTORE_ROUND_NOEX): Likewise.
5449 (SET_RESTORE_ROUND_NOEXF): Likewise.
5450 (SET_RESTORE_ROUND_NOEXL): Likewise.
5451 (SET_RESTORE_ROUND_53BIT): Likewise.
5452 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5453 (libc_feresetround_noexf_ctx): Likewise.
5454 (libc_feresetround_noexl_ctx): Likewise.
5455 (libc_feholdsetround_53bit_ctx): Likewise.
5456 (libc_feresetround_53bit_ctx): Likewise.
5457 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5458 (libc_feholdexcept_setround_sse_ctx): New function.
5459 (libc_fesetenv_sse_ctx): Likewise.
5460 (libc_feupdateenv_sse_ctx): Likewise.
5461 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5462 (libc_feholdexcept_setround_387_ctx): Likewise.
5463 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5464 (libc_feholdsetround_387_prec_ctx): Likewise.
5465 (libc_feholdsetround_387_ctx): Likewise.
5466 (libc_feholdsetround_387_53bit_ctx): Likewise.
5467 (libc_feholdsetround_sse_ctx): Likewise.
5468 (libc_feresetround_sse_ctx): Likewise.
5469 (libc_feresetround_387_ctx): Likewise.
5470 (libc_feupdateenv_387_ctx): Likewise.
5471 (libc_feholdexcept_setroundf_ctx): Define macro.
5472 (libc_fesetenvf_ctx): Likewise.
5473 (libc_feupdateenvf_ctx): Likewise.
5474 (libc_feholdsetroundf_ctx): Likewise.
5475 (libc_feresetroundf_ctx): Likewise.
5476 (libc_feholdexcept_setround_ctx): Likewise.
5477 (libc_fesetenv_ctx): Likewise.
5478 (libc_feupdateenv_ctx): Likewise.
5479 (libc_feholdsetround_ctx): Likewise.
5480 (libc_feresetround_ctx): Likewise.
5481 (libc_feholdexcept_setroundl_ctx): Likewise.
5482 (libc_feupdateenvl_ctx): Likewise.
5483 (libc_feholdsetroundl_ctx): Likewise.
5484 (libc_feresetroundl_ctx): Likewise.
5485 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5486 (libc_feresetround_53bit_ctx): Likewise.
5487
59b30555
SP
54882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5489
5490 * locale/iso-639.def: Convert to UTF-8.
5491
f1d73d30
JM
54922013-06-11 Joseph Myers <joseph@codesourcery.com>
5493
5494 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5495 (EXCEPTION_TESTS_double): Likewise.
5496 (EXCEPTION_TESTS_long_double): Likewise.
5497 (EXCEPTION_TESTS): Likewise.
5498 * math/libm-test.inc (test_exceptions): Only test exceptions if
5499 EXCEPTION_TESTS (FLOAT).
5500
94aca5e7
SP
55012013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5502
5503 * benchtests/Makefile (string-bench): Add strcpy_chk and
5504 stpcpy_chk.
5505 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5506 * benchtests/bench-stpcpy_chk.c: New file.
5507 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5508 * benchtests/bench-strcpy_chk.c: New file.
5509 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5510 code.
5511 (do_test): Likewise.
5512
fac0c5f2
RA
55132013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5514
5515 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5516 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5517 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5518 with tabs where appropriate.
5519 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5520 dl-procinfo.h.
5521 [PPC_PLATFORM_PPC440]: Likewise.
5522 [PPC_PLATFORM_PPC464]: Likewise.
5523 [PPC_PLATFORM_PPC476]: Likewise.
5524 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5525 ppc464, and ppc476 platform strings merging from ports/
5526 dl-procinfo.h.
5527
f22bc486
AS
55282013-06-11 Andreas Schwab <schwab@suse.de>
5529
5530 [BZ #14991]
5531 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5532 (from_ucs4_idx): Regenerate.
5533 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5534 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5535 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5536 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5537 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5538 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5539 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5540 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5541 from FROM_LOOP and TO_LOOP specific macros.
5542 (BODY): Handle combining characters.
5543 * iconvdata/BIG5HKSCS.irreversible: Update.
5544 * iconvdata/BIG5HKSCS.precomposed: New file.
5545 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5546 characters.
5547 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5548
c1f75dc3
SP
55492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5550
4eacded2
SP
5551 * include/sys/time.h: Fix indentation and add copyright header.
5552
fec799f8
SP
5553 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5554 (do_test): Likewise.
5555 * string/test-memchr.c (do_one_test): Likewise.
5556 (do_test): Likewise.
5557 * string/test-memcmp.c (do_one_test): Likewise.
5558 (do_test): Likewise.
5559 * string/test-memcpy.c (do_one_test): Likewise.
5560 (do_test): Likewise.
5561 * string/test-memmem.c (do_one_test): Likewise.
5562 (do_test): Likewise.
5563 (do_random_tests): Likewise.
5564 * string/test-memmove.c (do_one_test): Likewise.
5565 (do_test): Likewise.
5566 * string/test-memset.c (do_one_test): Likewise.
5567 (do_test): Likewise.
5568 * string/test-rawmemchr.c (do_one_test): Likewise.
5569 (do_test): Likewise.
5570 * string/test-strcasecmp.c (do_one_test): Likewise.
5571 (do_test): Likewise.
5572 * string/test-strcasestr.c (do_one_test): Likewise.
5573 (do_test): Likewise.
5574 * string/test-strcat.c (do_one_test): Likewise.
5575 (do_test): Likewise.
5576 * string/test-strchr.c (do_one_test): Likewise.
5577 (do_test): Likewise.
5578 * string/test-strcmp.c (do_one_test): Likewise.
5579 (do_test): Likewise.
5580 * string/test-strcpy.c (do_one_test): Likewise.
5581 (do_test): Likewise.
5582 * string/test-string.h: Likewise.
5583 (test_init): Likewise.
5584 * string/test-strlen.c (do_one_test): Likewise.
5585 (do_test): Likewise.
5586 * string/test-strncasecmp.c (do_one_test): Likewise.
5587 (do_test): Likewise.
5588 * string/test-strncat.c (do_one_test): Likewise.
5589 (do_test): Likewise.
5590 * string/test-strncmp.c (do_one_test): Likewise.
5591 (do_test_limit): Likewise.
5592 (do_test): Likewise.
5593 * string/test-strncpy.c (do_one_test): Likewise.
5594 (do_test): Likewise.
5595 * string/test-strnlen.c (do_one_test): Likewise.
5596 (do_test): Likewise.
5597 * string/test-strpbrk.c (do_one_test): Likewise.
5598 (do_test): Likewise.
5599 * string/test-strrchr.c (do_one_test): Likewise.
5600 (do_test): Likewise.
5601 * string/test-strspn.c (do_one_test): Likewise.
5602 (do_test): Likewise.
5603 * string/test-strstr.c (do_one_test): Likewise.
5604 (do_test): Likewise.
5605
97020474
SP
5606 * benchtests/Makefile (string-bench): Add string benchmarks.
5607 * benchtests/bench-bcopy-ifunc.c: New file.
5608 * benchtests/bench-bcopy.c: New file.
5609 * benchtests/bench-bzero-ifunc.c: New file.
5610 * benchtests/bench-bzero.c: New file.
5611 * benchtests/bench-memccpy-ifunc.c: New file.
5612 * benchtests/bench-memccpy.c: New file.
5613 * benchtests/bench-memchr-ifunc.c: New file.
5614 * benchtests/bench-memchr.c: New file.
5615 * benchtests/bench-memcmp-ifunc.c: New file.
5616 * benchtests/bench-memcmp.c: New file.
5617 * benchtests/bench-memmem-ifunc.c: New file.
5618 * benchtests/bench-memmem.c: New file.
5619 * benchtests/bench-memmove-ifunc.c: New file.
5620 * benchtests/bench-memmove.c: New file.
5621 * benchtests/bench-mempcpy-ifunc.c: New file.
5622 * benchtests/bench-mempcpy.c: New file.
5623 * benchtests/bench-memset-ifunc.c: New file.
5624 * benchtests/bench-memset.c: New file.
5625 * benchtests/bench-rawmemchr-ifunc.c: New file.
5626 * benchtests/bench-rawmemchr.c: New file.
5627 * benchtests/bench-stpcpy-ifunc.c: New file.
5628 * benchtests/bench-stpcpy.c: New file.
5629 * benchtests/bench-stpncpy-ifunc.c: New file.
5630 * benchtests/bench-stpncpy.c: New file.
5631 * benchtests/bench-strcasecmp-ifunc.c: New file.
5632 * benchtests/bench-strcasecmp.c: New file.
5633 * benchtests/bench-strcasestr-ifunc.c: New file.
5634 * benchtests/bench-strcasestr.c: New file.
5635 * benchtests/bench-strcat-ifunc.c: New file.
5636 * benchtests/bench-strcat.c: New file.
5637 * benchtests/bench-strchr-ifunc.c: New file.
5638 * benchtests/bench-strchr.c: New file.
5639 * benchtests/bench-strchrnul-ifunc.c: New file.
5640 * benchtests/bench-strchrnul.c: New file.
5641 * benchtests/bench-strcmp-ifunc.c: New file.
5642 * benchtests/bench-strcmp.c: New file.
5643 * benchtests/bench-strcpy-ifunc.c: New file.
5644 * benchtests/bench-strcpy.c: New file.
5645 * benchtests/bench-strcspn-ifunc.c: New file.
5646 * benchtests/bench-strcspn.c: New file.
5647 * benchtests/bench-strlen-ifunc.c: New file.
5648 * benchtests/bench-strlen.c: New file.
5649 * benchtests/bench-strncasecmp-ifunc.c: New file.
5650 * benchtests/bench-strncasecmp.c: New file.
5651 * benchtests/bench-strncat-ifunc.c: New file.
5652 * benchtests/bench-strncat.c: New file.
5653 * benchtests/bench-strncmp-ifunc.c: New file.
5654 * benchtests/bench-strncmp.c: New file.
5655 * benchtests/bench-strncpy-ifunc.c: New file.
5656 * benchtests/bench-strncpy.c: New file.
5657 * benchtests/bench-strnlen-ifunc.c: New file.
5658 * benchtests/bench-strnlen.c: New file.
5659 * benchtests/bench-strpbrk-ifunc.c: New file.
5660 * benchtests/bench-strpbrk.c: New file.
5661 * benchtests/bench-strrchr-ifunc.c: New file.
5662 * benchtests/bench-strrchr.c: New file.
5663 * benchtests/bench-strspn-ifunc.c: New file.
5664 * benchtests/bench-strspn.c: New file.
5665 * benchtests/bench-strstr-ifunc.c: New file.
5666 * benchtests/bench-strstr.c: New file.
5667
c1f75dc3
SP
5668 * benchtests/Makefile: Disable parallel execution of targets.
5669 (string-bench): Add memcpy.
5670 (benchset): New variable to store a list of benchmark sets.
5671 (bench-func): Renamed from bench.
5672 (bench-set): New target.
5673 (bench): Depend on bench-func and bench-set.
5674 * benchtests/README: Add section on benchmark sets.
5675 * benchtests/bench-memcpy-ifunc.c: New file.
5676 * benchtests/bench-memcpy.c: New file.
5677 * benchtests/bench-string.h: New file.
5678
50fd745b
AS
56792013-06-11 Andreas Schwab <schwab@suse.de>
5680
5681 [BZ #15577]
5682 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5683 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5684 values in the triple.
5685 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5686 terminator in the group key.
5687
3ee7e9fe
AJ
56882013-06-11 Andreas Jaeger <aj@suse.de>
5689
5690 * po/zh_TW.po: Update Chinese (traditional) translation from
5691 translation project.
5692
89fb6835
SP
56932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5694
5695 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5696 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5697 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5698 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5699 (clock_getcpuclockid): Likewise.
5700 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5701 Add weak_alias and libc_hidden_def.
5702 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5703 * rt/clock_gettime.c (clock_gettime): Rename to
5704 __clock_gettime. Add weak_alias and libc_hidden_def.
5705 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5706 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5707 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5708 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5709 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5710 Likewise.
5711 * rt/clock_settime.c (clock_settime): Rename to
5712 __clock_settime. Add weak_alias and libc_hidden_def.
5713 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5714
0efa6f8b
JM
57152013-06-10 Joseph Myers <joseph@codesourcery.com>
5716
b8c61b4b
JM
5717 * mach/err_boot.sub: Remove trailing whitespace.
5718 * mach/err_ipc.sub: Likewise.
5719 * mach/err_mach.sub: Likewise.
5720
0efa6f8b
JM
5721 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5722 (ROUNDING_TESTS_double): Likewise.
5723 (ROUNDING_TESTS_long_double): Likewise.
5724 (ROUNDING_TESTS): Likewise.
5725 * math/libm-test.inc: Include <math-tests.h>.
5726 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5727 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5728 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5729 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5730
50b818bf
SP
57312013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5732
5733 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5734 of assigning.
5735
60d2f8f3
JM
57362013-06-08 Joseph Myers <joseph@codesourcery.com>
5737
4902d2c3
JM
5738 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5739 otherwise empty TRANS lines.
5740 * sysdeps/gnu/errlist.c: Regenerated.
5741
60d2f8f3
JM
5742 * catgets/gencat.c (error_print): Use (void) in function
5743 definition.
5744 * crypt/crypt_util.c (__init_des): Likewise.
5745 * crypt/speeds.c (Stop): Likewise.
5746 (main): Likewise.
5747 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5748 * inet/ruserpass.c (token): Likewise.
5749 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5750 * intl/localealias.c (extend_alias_table): Likewise.
5751 * intl/plural-exp.c (init_germanic_plural): Likewise.
5752 * libio/fcloseall.c (__fcloseall): Likewise.
5753 * libio/genops.c (_IO_flush_all): Likewise.
5754 (_IO_flush_all_linebuffered): Likewise.
5755 (_IO_cleanup): Likewise.
5756 (_IO_iter_begin): Likewise.
5757 (_IO_iter_end): Likewise.
5758 (_IO_list_lock): Likewise.
5759 (_IO_list_unlock): Likewise.
5760 (_IO_list_resetlock): Likewise.
5761 * libio/getchar.c (getchar): Likewise.
5762 * libio/getchar_u.c (getchar_unlocked): Likewise.
5763 * libio/getwchar.c (getwchar): Likewise.
5764 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5765 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5766 * login/getpt.c (__getpt): Likewise.
5767 * login/tst-utmp.c (main): Likewise.
5768 * malloc/hooks.c (__malloc_check_init): Likewise.
5769 * malloc/malloc.c (__malloc_stats): Likewise.
5770 * malloc/mtrace.c (tr_break): Likewise.
5771 (mtrace): Likewise.
5772 (muntrace): Likewise.
5773 * misc/fstab.c (endfsent): Likewise.
5774 * misc/getclktck.c (__getclktck): Likewise.
5775 * misc/getdtsz.c (__getdtablesize): Likewise.
5776 * misc/gethostid.c (gethostid): Likewise.
5777 * misc/getpagesize.c (__getpagesize): Likewise.
5778 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5779 (__get_nprocs): Likewise.
5780 (__get_phys_pages): Likewise.
5781 (__get_avphys_pages): Likewise.
5782 * misc/getttyent.c (getttyent): Likewise.
5783 (setttyent): Likewise.
5784 (endttyent): Likewise.
5785 * misc/getusershell.c (getusershell): Likewise.
5786 (endusershell): Likewise.
5787 (setusershell): Likewise.
5788 (initshells): Likewise.
5789 * misc/hsearch.c (__hdestroy): Likewise.
5790 * misc/sync.c (sync): Likewise.
5791 * misc/syslog.c (closelog_internal): Likewise.
5792 (closelog): Likewise.
5793 * misc/ttyslot.c (ttyslot): Likewise.
5794 * misc/vhangup.c (vhangup): Likewise.
5795 * posix/fork.c (__fork): Likewise.
5796 * posix/getegid.c (__getegid): Likewise.
5797 * posix/geteuid.c (__geteuid): Likewise.
5798 * posix/getgid.c (__getgid): Likewise.
5799 * posix/getpid.c (__getpid): Likewise.
5800 * posix/getppid.c (__getppid): Likewise.
5801 * posix/getuid.c (__getuid): Likewise.
5802 * posix/pause.c (pause): Likewise.
5803 * posix/setpgrp.c (setpgrp): Likewise.
5804 * posix/setsid.c (__setsid): Likewise.
5805 * posix/test-vfork.c (noop): Likewise.
5806 * resolv/gethnamaddr.c (_endhtent): Likewise.
5807 (_gethtent): Likewise.
5808 (ht_endhostent): Likewise.
5809 (gethostent): Likewise.
5810 (dns_service): Likewise.
5811 * stdlib/drand48.c (drand48): Likewise.
5812 * stdlib/lrand48.c (lrand48): Likewise.
5813 * stdlib/mrand48.c (mrand48): Likewise.
5814 * stdlib/rand.c (rand): Likewise.
5815 * stdlib/random.c (__random): Likewise.
5816 * stdlib/setenv.c (clearenv): Likewise.
5817 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5818 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5819 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5820 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5821 (__get_nprocs): Likewise.
5822 (__get_phys_pages): Likewise.
5823 (__get_avphys_pages): Likewise.
5824 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5825 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5826 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5827 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5828 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5829 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5830 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5831 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5832 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5833 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5834 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5835 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5836 * sysdeps/posix/clock.c (clock): Likewise.
5837 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5838 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5839 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5840 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5841 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5842 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5843 (__get_nprocs_conf): Likewise.
5844 (__get_phys_pages): Likewise.
5845 (__get_avphys_pages): Likewise.
5846 * time/clock.c (clock): Likewise.
5847 * time/tzset.c (__tzname_max): Likewise.
5848
2e09a79a
JM
58492013-06-07 Joseph Myers <joseph@codesourcery.com>
5850
5851 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5852 (__bswap_32): Do not use "register".
5853 * crypt/crypt.c (_ufc_doit_r): Likewise.
5854 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5855 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5856 * gmon/gmon.c (__monstartup): Likewise.
5857 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5858 * hurd/hurdmalloc.c (more_memory): Likewise.
5859 (malloc): Likewise.
5860 (free): Likewise.
5861 (realloc): Likewise.
5862 (malloc_fork_prepare): Likewise.
5863 (malloc_fork_parent): Likewise.
5864 (malloc_fork_child): Likewise.
5865 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5866 (_svcauth_des): Likewise.
5867 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5868 * inet/inet_net.c (inet_network): Likewise.
5869 * inet/inet_netof.c (inet_netof): Likewise.
5870 * inet/rcmd.c (__validuser2_sa): Likewise.
5871 * io/fts.c (fts_open): Likewise.
5872 (fts_load): Likewise.
5873 (fts_close): Likewise.
5874 (fts_read): Likewise.
5875 (fts_children): Likewise.
5876 (fts_build): Likewise.
5877 (fts_stat): Likewise.
5878 (fts_sort): Likewise.
5879 (fts_alloc): Likewise.
5880 (fts_lfree): Likewise.
5881 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5882 (_IO_file_xsgetn): Likewise.
5883 (_IO_file_xsgetn_mmap): Likewise.
5884 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5885 (_IO_cookie_write): Likewise.
5886 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5887 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5888 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5889 * malloc/obstack.c (_obstack_begin): Likewise.
5890 (_obstack_begin_1): Likewise.
5891 (_obstack_newchunk): Likewise.
5892 (_obstack_allocated_p): Likewise.
5893 (obstack_free): Likewise.
5894 (_obstack_memory_used): Likewise.
5895 * misc/getttyent.c (getttynam): Likewise.
5896 (getttyent): Likewise.
5897 (skip): Likewise.
5898 (value): Likewise.
5899 * misc/getusershell.c (initshells): Likewise.
5900 * misc/syslog.c (__vsyslog_chk): Likewise.
5901 * misc/ttyslot.c (ttyslot): Likewise.
5902 * nis/nis_hash.c (__nis_hash): Likewise.
5903 * posix/fnmatch_loop.c (FCT): Likewise.
5904 * posix/getconf.c (print_all): Likewise.
5905 (main): Likewise.
5906 * posix/getopt.c (exchange): Likewise.
5907 * posix/glob.c (globfree): Likewise.
5908 (prefix_array): Likewise.
5909 (__glob_pattern_type): Likewise.
5910 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5911 (NS_GET32): Likewise.
5912 (NS_PUT16): Likewise.
5913 (NS_PUT32): Likewise.
5914 * resolv/gethnamaddr.c (getanswer): Likewise.
5915 (gethostbyname2): Likewise.
5916 (gethostbyaddr): Likewise.
5917 (_gethtent): Likewise.
5918 (_gethtbyname2): Likewise.
5919 (_gethtbyaddr): Likewise.
5920 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5921 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5922 * resolv/res_init.c (__res_vinit): Likewise.
5923 (net_mask): Likewise.
5924 * resolv/res_mkquery.c (outchar): Likewise.
5925 (PRINT): Likewise.
5926 * stdio-common/printf_fp.c (outchar): Likewise.
5927 (PRINT): Likewise.
5928 * stdio-common/printf_fphex.c (outchar): Likewise.
5929 (PRINT): Likewise.
5930 * stdio-common/printf_size.c (outchar): Likewise.
5931 (PRINT): Likewise.
5932 * stdio-common/test_rdwr.c (main): Likewise.
5933 * stdio-common/tfformat.c (matches): Likewise.
5934 * stdio-common/vfprintf.c (outchar): Likewise.
5935 (printf_unknown): Likewise.
5936 (buffered_vfprintf): Likewise.
5937 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5938 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5939 (ReadFile): Likewise.
5940 * stdlib/qsort.c (SWAP): Likewise.
5941 (_quicksort): Likewise.
5942 * stdlib/setenv.c (__add_to_environ): Likewise.
5943 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5944 * stdlib/strtol_l.c (__strtol_l): Likewise.
5945 * stdlib/tst-strtod.c (main): Likewise.
5946 * stdlib/tst-strtol.c (main): Likewise.
5947 * stdlib/tst-strtoll.c (main): Likewise.
5948 * string/bits/string2.h (__strcmp_cc): Likewise.
5949 (__strcmp_cg): Likewise.
5950 (__strcspn_c1): Likewise.
5951 (__strcspn_c2): Likewise.
5952 (__strcspn_c3): Likewise.
5953 (__strspn_c1): Likewise.
5954 (__strspn_c2): Likewise.
5955 (__strspn_c3): Likewise.
5956 (__strsep_1c): Likewise.
5957 (__strsep_2c): Likewise.
5958 (__strsep_3c): Likewise.
5959 * string/memccpy.c (__memccpy): Likewise.
5960 * string/stpcpy.c (__stpcpy): Likewise.
5961 * string/strcmp.c (strcmp): Likewise.
5962 * string/strrchr.c (strrchr): Likewise.
5963 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5964 Likewise.
5965 * sysdeps/mach/hurd/getcwd.c
5966 (_hurd_canonicalize_directory_name_internal): Likewise.
5967 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5968 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5969 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5970 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5971 Likewise, in both definitions.
5972 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5973 definitions.
5974 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5975 64] (__bswap_64): Likewise.
5976 * time/test_time.c (main): Likewise.
5977 * time/tzfile.c (__tzfile_read): Likewise.
5978 (__tzfile_compute): Likewise.
5979 * time/tzset.c (__tzset_parse_tz): Likewise.
5980 (tzset_internal): Likewise.
5981 (compute_change): Likewise.
5982 * wcsmbs/wcscat.c (__wcscat): Likewise.
5983 * wcsmbs/wcschr.c (wcschr): Likewise.
5984 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5985 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5986 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5987 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5988 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5989 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5990 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5991 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5992 * wcsmbs/wmemset.c (wmemset): Likewise.
5993
9e54314b
JM
59942013-06-06 Joseph Myers <joseph@codesourcery.com>
5995
5996 * scripts/config.guess: Update to version 2013-05-16.
5997 * scripts/config.sub: Update to version 2013-04-24.
5998 * scripts/install-sh: Update to version 2011-11-20.07.
5999 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6000 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6001
350635a5
OB
60022013-06-06 Ondřej Bílka <neleai@seznam.cz>
6003
6004 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6005 * elf/sln.c: Likewise.
6006 * hurd/hurd/ioctl.h: Likewise.
6007 * hurd/hurdmalloc.c: Likewise.
6008 * hurd/xattr.c: Likewise.
6009 * include/shlib-compat.h: Likewise.
6010 * inet/ruserpass.c: Likewise.
6011 * libio/iofgets_u.c: Likewise.
6012 * libio/iofgetws_u.c: Likewise.
6013 * locale/programs/ld-identification.c: Likewise.
6014 * locale/programs/ld-time.c: Likewise.
6015 * mach/msg-destroy.c: Likewise.
6016 * nss/nss_files/files-netgrp.c: Likewise.
6017 * resolv/res_data.c: Likewise.
6018 * soft-fp/op-1.h: Likewise.
6019 * soft-fp/op-2.h: Likewise.
6020 * soft-fp/op-4.h: Likewise.
6021 * soft-fp/op-common.h: Likewise.
6022 * stdio-common/printf_fphex.c: Likewise.
6023 * stdlib/strtod_l.c: Likewise.
6024 * sunrpc/rpc/clnt.h: Likewise.
6025 * sysdeps/generic/framestate.c: Likewise.
6026 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6027 * sysdeps/i386/bsd-setjmp.S: Likewise.
6028 * sysdeps/i386/__longjmp.S: Likewise.
6029 * sysdeps/i386/setjmp.S: Likewise.
6030 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6031 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6032 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6033 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6034 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6035 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6036 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6037 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6038 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6039 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6040 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6041 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6042 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6043 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6044 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6045 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6046 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6047 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6048 * sysdeps/ieee754/support.c: Likewise.
6049 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6050 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6051 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6052 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6053 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6054 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6055 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6056 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6057 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6058 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6059 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6060 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6061 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6062 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6063 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6064 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6065 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6067
44a988af
OB
60682013-06-05 Ondřej Bílka <neleai@seznam.cz>
6069
25506f09 6070 * posix/transbug.c: Remove executable mode.
44a988af 6071
9c84384c
JM
60722013-06-05 Joseph Myers <joseph@codesourcery.com>
6073
6074 * crypt/speeds.c: Remove trailing whitespace.
6075 * dlfcn/default.c: Likewise.
6076 * elf/ifuncdep2.c: Likewise.
6077 * elf/ifuncmain1.c: Likewise.
6078 * elf/ifuncmain1vis.c: Likewise.
6079 * elf/testobj.h: Likewise.
6080 * elf/tst-stackguard1.c: Likewise.
6081 * gmon/sys/gmon.h: Likewise.
6082 * hurd/hurdmsg.c: Likewise.
6083 * hurd/new-fd.c: Likewise.
6084 * hurd/ports-get.c: Likewise.
6085 * iconvdata/ibm1008_420.c: Likewise.
6086 * inet/tst-getni1.c: Likewise.
6087 * inet/tst-getni2.c: Likewise.
6088 * libio/ioungetc.c: Likewise.
6089 * libio/wfiledoalloc.c: Likewise.
6090 * manual/libm-err-tab.pl: Likewise.
6091 * math/w_dremf.c: Likewise.
6092 * misc/ftruncate.c: Likewise.
6093 * posix/bug-glob2.c: Likewise.
6094 * posix/tst-pcre.c: Likewise.
6095 * posix/wait4.c: Likewise.
6096 * resolv/README: Likewise.
6097 * resolv/res_debug.h: Likewise.
6098 * resolv/tst-inet_ntop.c: Likewise.
6099 * setjmp/bug269-setjmp.c: Likewise.
6100 * soft-fp/extended.h: Likewise.
6101 * soft-fp/op-1.h: Likewise.
6102 * soft-fp/op-2.h: Likewise.
6103 * soft-fp/op-4.h: Likewise.
6104 * soft-fp/op-8.h: Likewise.
6105 * soft-fp/testit.c: Likewise.
6106 * stdio-common/bug16.c: Likewise.
6107 * stdlib/random.c: Likewise.
6108 * sunrpc/rpcsvc/rquota.x: Likewise.
6109 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6110 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6111 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6112 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6113 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6114 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6115 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6116 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6117 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6118 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6119 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6136 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6138 * sysdeps/ieee754/s_lib_version.c: Likewise.
6139 * sysdeps/mach/hurd/check_fds.c: Likewise.
6140 * sysdeps/mach/hurd/getsockname.c: Likewise.
6141 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6142 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6143 * sysdeps/powerpc/bits/link.h: Likewise.
6144 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6145 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6146 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6147 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6148 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6149 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6150 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6151 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6152 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6153 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6154 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6155 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6156 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6157 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6158 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6159 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6160 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6161 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6162 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6163 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6164 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6165 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6166 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6167 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6168 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6169 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6170 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6171 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6172 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6173 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6174 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6175 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6176 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6177 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6178 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6179 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6180 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6181 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6182 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6183 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6184 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6185 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6186 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6187 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6188 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6189 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6190 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6191 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6192 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6193 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6195 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6196 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6197 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6198 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6199 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6200 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6201 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6202 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6203 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6204 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6205 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6206 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6207 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6208 * sysdeps/powerpc/sysdep.h: Likewise.
6209 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6210 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6211 * sysdeps/sh/dl-trampoline.S: Likewise.
6212 * sysdeps/sh/memset.S: Likewise.
6213 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6214 * sysdeps/sh/strlen.S: Likewise.
6215 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6216 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6217 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6218 * sysdeps/sparc/sparc32/rem.S: Likewise.
6219 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6220 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6221 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6222 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6223 * sysdeps/sparc/sparc32/urem.S: Likewise.
6224 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6225 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6226 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6227 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6228 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6229 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6230 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6231 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6232 * sysdeps/unix/bsd/times.c: Likewise.
6233 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6234 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6238 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6239 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6240 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6241 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6242 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6243 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6244 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6245 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6246 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6247 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6248 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6249 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6250 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6251 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6252 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6253 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6254 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6255 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6256 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6257 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6258 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6259 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6260 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6261 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6262 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6263 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6264 * sysdeps/x86_64/strcspn.S: Likewise.
6265
869378a5
RA
62662013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6267
6268 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6269 generated file. Regenerate properly from gen-translit.pl.
6270 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6271 locale/C-translit.h.
6272
840e2943
AS
62732013-06-05 Andreas Schwab <schwab@suse.de>
6274
6275 [BZ #15100]
6276 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6277 week as 6 instead of -1.
6278 * time/tst-strptime.c (day_tests): Add test case.
6279
4c60cb0c
SP
62802013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6281
6282 * sysdeps/generic/math_private.h
6283 (libc_feholdexcept_setround_53bit): Replace with
6284 libc_feholdsetround_53bit.
6285 (libc_feupdateenv_53bit): Replace with
6286 libc_feresetround_53bit.
6287 (SET_RESTORE_ROUND_53BIT): Adjust.
6288
d180203e
SP
62892013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6290
96df079a
SP
6291 * string/test-strchrnul.c: Add copyright header.
6292
d180203e
SP
6293 * posix/tst-getaddrinfo4.c: Increase test timeout.
6294
8b0ccb2d
CD
62952013-06-03 Carlos O'Donell <carlos@redhat.com>
6296
6297 [BZ #15536]
6298 * math/libm-test.inc (MAX_EXP): Remove
6299 (MIN_EXP): Define.
6300 (ulp): Use MIN_EXP - MANT_DIG.
6301 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6302
3b3c4d40
CD
63032013-05-31 Carlos O'Donell <carlos@redhat.com>
6304
6305 * po/be.po: Revert last change.
6306 * po/zh_CN.po: Likewise.
6307 * po/header.pot: Likewise.
6308
fab7ce3f
JM
63092013-05-31 Joseph Myers <joseph@codesourcery.com>
6310
6311 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6312 link-libc-deps to empty as target-specific variable.
6313 * Makerules (link-libc-args): New variable.
6314 (libc-for-link): Likewise.
6315 (link-libc-deps): Likewise.
6316 (lib%.so): Depend on $(link-libc-deps). Link with
6317 $(link-libc-args).
6318 (build-module): Link with $(link-libc-args).
6319 (build-module-asneeded): Likewise.
6320 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6321 list of objects.
6322 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6323 target-specific variable.
6324 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6325 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6326 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6327 libc.
6328 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6329 libc and ld.so.
6330 ($(objpfx)libpcprofile.so): Likewise.
6331 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6332 libc_nonshared.a.
6333 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6334 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6335 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6336 $(link-libc-deps).
6337 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6338 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6339 * login/Makefile ($(objpfx)libutil.so): Likewise.
6340 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6341 * math/Makefile ($(objpfx)libm.so): Likewise.
6342 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6343 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6344 variable instead of depending directly on libc.
6345 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6346 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6347 $(link-libc-deps).
6348 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6349 libc.
6350 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6351 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6352 ($(objpfx)libanl.so): Likewise.
6353 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6354 ld.so.
6355 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6356 $(link-libc-deps).
6357 * sysdeps/i386/fpu/Makefile: Remove file.
6358 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6359 ($(objpfx)libm.so): Remove dependency on ld.so.
6360
eca5920c
PF
63612013-05-30 Patsy Franklin <pfrankli@redhat.com>
6362
6363 [BZ # 15553]
6364 * nis/yp_xdr.c (XDRMAXNAME): Define.
6365 (XDRMAXRECORD): Define.
6366 (xdr_domainname): Use XDRMAXNAME.
6367 (xdr_mapname): Likewise.
6368 (xdr_peername): Likewise.
6369 (xdr_keydat): Use XDRMAXRECORD.
6370 (xdr_valdat): Likewise.
6371
63722013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6373
6374 [BZ #14256]
6375 * manual/errno.texi (ESTALE): Update to account for more than
6376 just NFS file systems.
6377 * sysdeps/gnu/errlist.c: Regenerated.
6378
b9375348
SP
63792013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6380
6381 [BZ #15465]
6382 * elf/Makefile (tests): Add tst-null-argv.
6383 (modules-names): Add tst-null-argv-lib.
6384 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6385 (tst-null-argv-ENV): Set environment for tst-null-argv.
6386 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6387 (RTLD_PROGNAME): New macro.
6388 * elf/tst-null-argv.c: New test case.
6389 * elf/tst-null-argv-lib.c: Library for test case.
6390 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6391 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6392 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6393 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6394 * elf/dl-init.c (call_init): Likewise.
6395 (_dl_init): Likewise.
6396 * elf/dl-load.c (print_search_path): Likewise.
6397 (_dl_map_object): Likewise.
6398 * elf/dl-lookup.c (do_lookup_x): Likewise.
6399 (add_dependency): Likewise.
6400 (_dl_lookup_symbol_x): Likewise.
6401 (_dl_debug_bindings): Likewise.
6402 * elf/dl-open.c (_dl_show_scope): Likewise.
6403 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6404 * elf/dl-version.c (match_symbol): Likewise.
6405 (_dl_check_map_versions): Likewise.
6406 * elf/rtld.c (dl_main): Likewise.
6407 (print_unresolved): Use RTLD_PROGNAME.
6408 (print_missing_version): Likewise.
6409 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6410 (elf_machine_rela): Likewise.
6411 * sysdeps/powerpc/powerpc32/dl-machine.c
6412 (__process_machine_rela): Likewise.
6413 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6414 Likewise.
6415 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6416 Likewise.
6417 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6418 Likewise.
6419 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6420 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6421 Likewise.
6422 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6423 Likewise.
6424 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6425
8a9f20c8
CD
64262013-05-28 Carlos O'Donell <carlos@redhat.com>
6427
6428 * po/be.po: Add descriptive title.
6429 * po/zh_CN.po: Likewise.
6430 * po/header.pot: Likewise.
6431
0e60d68e
MF
64322013-05-28 Mike Frysinger <vapier@gentoo.org>
6433
6434 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6435 error message.
6436 (enlarge_archive): Likewise.
6437
56b672e9
BN
64382013-05-28 Ben North <ben@redfrontdoor.org>
6439
6440 * manual/arith.texi (frexp): It is the magnitude of the return
6441 value which lies in [0.5, 1), not the return value itself.
6442
5e056687
AZ
64432013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6444
6445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6446
2b66ef5d
TS
64472013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6448
528c2405
TS
6449 * stdio-common/bug26.c (main): Correct fscanf template.
6450
07b4c13d
TS
6451 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6452 declare _dl_skip_args.
6453
ec9dd97c
TS
6454 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6455 Don't declare.
6456
2b66ef5d
TS
6457 * manual/platform.texi: Add missing @end deftypefun.
6458
4f8dfe27
JM
64592013-05-24 Joseph Myers <joseph@codesourcery.com>
6460
0323d086
JM
6461 [BZ #15529]
6462 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6463 bit of mantissa of 2^16382.
6464 * math/libm-test.inc (hypot_test_data): Add more tests.
6465
dd4259b9
JM
6466 * math/libm-test.inc: Add drem and pow10 to list of tested
6467 functions.
6468 (pow10_test): New function.
6469 (drem_test): Likewise.
6470 (drem_test_tonearest): Likewise.
6471 (drem_test_towardzero): Likewise.
6472 (drem_test_downward): Likewise.
6473 (drem_test_upward): Likewise.
6474 (main): Call the new functions.
6475
4f8dfe27
JM
6476 * math/libm-test.inc (finite_test_data): Remove.
6477 (finite_test): Run tests from isfinite_test_data.
6478 (gamma_test_data): Remove.
6479 (gamma_test): Run tests from lgamma_test_data.
6480 * sysdeps/i386/fpu/libm-test-ulps: Update.
6481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6482
d116b7c4
AZ
64832013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6484
6485 * manual/platform.texi: Add PowerPC PPR function set documentation.
6486 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6487 implementation.
6488
e96e3767
CD
64892013-05-24 Carlos O'Donell <carlos@redhat.com>
6490
6491 * math/libm-test.inc (MAX_EXP): Define.
6492 (ULPDIFF): Define.
6493 (ulp): New function.
6494 (check_float_internal): Use ULPDIFF.
6495 (cpow_test): Disable failing test.
6496 (check_ulp): Test ulp() implemetnation.
6497 (main): Call check_ulp before starting tests.
6498
b679a606
JM
64992013-05-24 Joseph Myers <joseph@codesourcery.com>
6500
e8bdba36
JM
6501 * math/gen-libm-test.pl (generate_testfile): Do not handle
6502 START_DATA and END_DATA.
6503 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6504 END_DATA.
6505 (acos_tonearest_test_data): Likewise.
6506 (acos_towardzero_test_data): Likewise.
6507 (acos_downward_test_data): Likewise.
6508 (acos_upward_test_data): Likewise.
6509 (acosh_test_data): Likewise.
6510 (asin_test_data): Likewise.
6511 (asin_tonearest_test_data): Likewise.
6512 (asin_towardzero_test_data): Likewise.
6513 (asin_downward_test_data): Likewise.
6514 (asin_upward_test_data): Likewise.
6515 (asinh_test_data): Likewise.
6516 (atan_test_data): Likewise.
6517 (atanh_test_data): Likewise.
6518 (atan2_test_data): Likewise.
6519 (cabs_test_data): Likewise.
6520 (cacos_test_data): Likewise.
6521 (cacosh_test_data): Likewise.
6522 (carg_test_data): Likewise.
6523 (casin_test_data): Likewise.
6524 (casinh_test_data): Likewise.
6525 (catan_test_data): Likewise.
6526 (catanh_test_data): Likewise.
6527 (cbrt_test_data): Likewise.
6528 (ccos_test_data): Likewise.
6529 (ccosh_test_data): Likewise.
6530 (ceil_test_data): Likewise.
6531 (cexp_test_data): Likewise.
6532 (cimag_test_data): Likewise.
6533 (clog_test_data): Likewise.
6534 (clog10_test_data): Likewise.
6535 (conj_test_data): Likewise.
6536 (copysign_test_data): Likewise.
6537 (cos_test_data): Likewise.
6538 (cos_tonearest_test_data): Likewise.
6539 (cos_towardzero_test_data): Likewise.
6540 (cos_downward_test_data): Likewise.
6541 (cos_upward_test_data): Likewise.
6542 (cosh_test_data): Likewise.
6543 (cosh_tonearest_test_data): Likewise.
6544 (cosh_towardzero_test_data): Likewise.
6545 (cosh_downward_test_data): Likewise.
6546 (cosh_upward_test_data): Likewise.
6547 (cpow_test_data): Likewise.
6548 (cproj_test_data): Likewise.
6549 (creal_test_data): Likewise.
6550 (csin_test_data): Likewise.
6551 (csinh_test_data): Likewise.
6552 (csqrt_test_data): Likewise.
6553 (ctan_test_data): Likewise.
6554 (ctan_tonearest_test_data): Likewise.
6555 (ctan_towardzero_test_data): Likewise.
6556 (ctan_downward_test_data): Likewise.
6557 (ctan_upward_test_data): Likewise.
6558 (ctanh_test_data): Likewise.
6559 (ctanh_tonearest_test_data): Likewise.
6560 (ctanh_towardzero_test_data): Likewise.
6561 (ctanh_downward_test_data): Likewise.
6562 (ctanh_upward_test_data): Likewise.
6563 (erf_test_data): Likewise.
6564 (erfc_test_data): Likewise.
6565 (exp_test_data): Likewise.
6566 (exp_tonearest_test_data): Likewise.
6567 (exp_towardzero_test_data): Likewise.
6568 (exp_downward_test_data): Likewise.
6569 (exp_upward_test_data): Likewise.
6570 (exp10_test_data): Likewise.
6571 (exp2_test_data): Likewise.
6572 (expm1_test_data): Likewise.
6573 (fabs_test_data): Likewise.
6574 (fdim_test_data): Likewise.
6575 (finite_test_data): Likewise.
6576 (floor_test_data): Likewise.
6577 (fma_test_data): Likewise.
6578 (fma_towardzero_test_data): Likewise.
6579 (fma_downward_test_data): Likewise.
6580 (fma_upward_test_data): Likewise.
6581 (fmax_test_data): Likewise.
6582 (fmin_test_data): Likewise.
6583 (fmod_test_data): Likewise.
6584 (fpclassify_test_data): Likewise.
6585 (frexp_test_data): Likewise.
6586 (gamma_test_data): Likewise.
6587 (hypot_test_data): Likewise.
6588 (ilogb_test_data): Likewise.
6589 (isfinite_test_data): Likewise.
6590 (isgreater_test_data): Likewise.
6591 (isgreaterequal_test_data): Likewise.
6592 (isinf_test_data): Likewise.
6593 (isless_test_data): Likewise.
6594 (islessequal_test_data): Likewise.
6595 (islessgreater_test_data): Likewise.
6596 (isnan_test_data): Likewise.
6597 (isnormal_test_data): Likewise.
6598 (issignaling_test_data): Likewise.
6599 (isunordered_test_data): Likewise.
6600 (j0_test_data): Likewise.
6601 (j1_test_data): Likewise.
6602 (jn_test_data): Likewise.
6603 (ldexp_test_data): Likewise.
6604 (lgamma_test_data): Likewise.
6605 (lrint_test_data): Likewise.
6606 (lrint_tonearest_test_data): Likewise.
6607 (lrint_towardzero_test_data): Likewise.
6608 (lrint_downward_test_data): Likewise.
6609 (lrint_upward_test_data): Likewise.
6610 (llrint_test_data): Likewise.
6611 (llrint_tonearest_test_data): Likewise.
6612 (llrint_towardzero_test_data): Likewise.
6613 (llrint_downward_test_data): Likewise.
6614 (llrint_upward_test_data): Likewise.
6615 (log_test_data): Likewise.
6616 (log10_test_data): Likewise.
6617 (log1p_test_data): Likewise.
6618 (log2_test_data): Likewise.
6619 (logb_test_data): Likewise.
6620 (logb_downward_test_data): Likewise.
6621 (lround_test_data): Likewise.
6622 (llround_test_data): Likewise.
6623 (modf_test_data): Likewise.
6624 (nearbyint_test_data): Likewise.
6625 (nextafter_test_data): Likewise.
6626 (nexttoward_test_data): Likewise.
6627 (pow_test_data): Likewise.
6628 (pow_tonearest_test_data): Likewise.
6629 (pow_towardzero_test_data): Likewise.
6630 (pow_downward_test_data): Likewise.
6631 (pow_upward_test_data): Likewise.
6632 (remainder_test_data): Likewise.
6633 (remainder_tonearest_test_data): Likewise.
6634 (remainder_towardzero_test_data): Likewise.
6635 (remainder_downward_test_data): Likewise.
6636 (remainder_upward_test_data): Likewise.
6637 (remquo_test_data): Likewise.
6638 (rint_test_data): Likewise.
6639 (rint_tonearest_test_data): Likewise.
6640 (rint_towardzero_test_data): Likewise.
6641 (rint_downward_test_data): Likewise.
6642 (rint_upward_test_data): Likewise.
6643 (round_test_data): Likewise.
6644 (scalb_test_data): Likewise.
6645 (scalbn_test_data): Likewise.
6646 (scalbln_test_data): Likewise.
6647 (signbit_test_data): Likewise.
6648 (sin_test_data): Likewise.
6649 (sin_tonearest_test_data): Likewise.
6650 (sin_towardzero_test_data): Likewise.
6651 (sin_downward_test_data): Likewise.
6652 (sin_upward_test_data): Likewise.
6653 (sincos_test_data): Likewise.
6654 (sinh_test_data): Likewise.
6655 (sinh_tonearest_test_data): Likewise.
6656 (sinh_towardzero_test_data): Likewise.
6657 (sinh_downward_test_data): Likewise.
6658 (sinh_upward_test_data): Likewise.
6659 (sqrt_test_data): Likewise.
6660 (tan_test_data): Likewise.
6661 (tan_tonearest_test_data): Likewise.
6662 (tan_towardzero_test_data): Likewise.
6663 (tan_downward_test_data): Likewise.
6664 (tan_upward_test_data): Likewise.
6665 (tanh_test_data): Likewise.
6666 (tgamma_test_data): Likewise.
6667 (trunc_test_data): Likewise.
6668 (y0_test_data): Likewise.
6669 (y1_test_data): Likewise.
6670 (yn_test_data): Likewise.
6671 (significand_test_data): Likewise.
6672
b679a606
JM
6673 * math/gen-libm-test.pl (@functions): Remove variable.
6674 (generate_testfile): Don't handle START and END lines.
6675 * math/libm-test.inc (START): New macro.
6676 (END): Likewise.
6677 (END_COMPLEX): Likewise.
6678 (acos_test): Use END macro without arguments.
6679 (acos_test_tonearest): Likewise.
6680 (acos_test_towardzero): Likewise.
6681 (acos_test_downward): Likewise.
6682 (acos_test_upward): Likewise.
6683 (acosh_test): Likewise.
6684 (asin_test): Likewise.
6685 (asin_test_tonearest): Likewise.
6686 (asin_test_towardzero): Likewise.
6687 (asin_test_downward): Likewise.
6688 (asin_test_upward): Likewise.
6689 (asinh_test): Likewise.
6690 (atan_test): Likewise.
6691 (atanh_test): Likewise.
6692 (atan2_test): Likewise.
6693 (cabs_test): Likewise.
6694 (cacos_test): Use END_COMPLEX macro without arguments.
6695 (cacosh_test): Likewise.
6696 (carg_test): Use END macro without arguments.
6697 (casin_test): Use END_COMPLEX macro without arguments.
6698 (casinh_test): Likewise.
6699 (catan_test): Likewise.
6700 (catanh_test): Likewise.
6701 (cbrt_test): Use END macro without arguments.
6702 (ccos_test): Use END_COMPLEX macro without arguments.
6703 (ccosh_test): Likewise.
6704 (ceil_test): Use END macro without arguments.
6705 (cexp_test): Use END_COMPLEX macro without arguments.
6706 (cimag_test): Use END macro without arguments.
6707 (clog_test): Use END_COMPLEX macro without arguments.
6708 (clog10_test): Likewise.
6709 (conj_test): Likewise.
6710 (copysign_test): Use END macro without arguments.
6711 (cos_test): Likewise.
6712 (cos_test_tonearest): Likewise.
6713 (cos_test_towardzero): Likewise.
6714 (cos_test_downward): Likewise.
6715 (cos_test_upward): Likewise.
6716 (cosh_test): Likewise.
6717 (cosh_test_tonearest): Likewise.
6718 (cosh_test_towardzero): Likewise.
6719 (cosh_test_downward): Likewise.
6720 (cosh_test_upward): Likewise.
6721 (cpow_test): Use END_COMPLEX macro without arguments.
6722 (cproj_test): Likewise.
6723 (creal_test): Use END macro without arguments.
6724 (csin_test): Use END_COMPLEX macro without arguments.
6725 (csinh_test): Likewise.
6726 (csqrt_test): Likewise.
6727 (ctan_test): Likewise.
6728 (ctan_test_tonearest): Likewise.
6729 (ctan_test_towardzero): Likewise.
6730 (ctan_test_downward): Likewise.
6731 (ctan_test_upward): Likewise.
6732 (ctanh_test): Likewise.
6733 (ctanh_test_tonearest): Likewise.
6734 (ctanh_test_towardzero): Likewise.
6735 (ctanh_test_downward): Likewise.
6736 (ctanh_test_upward): Likewise.
6737 (erf_test): Use END macro without arguments.
6738 (erfc_test): Likewise.
6739 (exp_test): Likewise.
6740 (exp_test_tonearest): Likewise.
6741 (exp_test_towardzero): Likewise.
6742 (exp_test_downward): Likewise.
6743 (exp_test_upward): Likewise.
6744 (exp10_test): Likewise.
6745 (exp2_test): Likewise.
6746 (expm1_test): Likewise.
6747 (fabs_test): Likewise.
6748 (fdim_test): Likewise.
6749 (finite_test): Likewise.
6750 (floor_test): Likewise.
6751 (fma_test): Likewise.
6752 (fma_test_towardzero): Likewise.
6753 (fma_test_downward): Likewise.
6754 (fma_test_upward): Likewise.
6755 (fmax_test): Likewise.
6756 (fmin_test): Likewise.
6757 (fmod_test): Likewise.
6758 (fpclassify_test): Likewise.
6759 (frexp_test): Likewise.
6760 (gamma_test): Likewise.
6761 (hypot_test): Likewise.
6762 (ilogb_test): Likewise.
6763 (isfinite_test): Likewise.
6764 (isgreater_test): Likewise.
6765 (isgreaterequal_test): Likewise.
6766 (isinf_test): Likewise.
6767 (isless_test): Likewise.
6768 (islessequal_test): Likewise.
6769 (islessgreater_test): Likewise.
6770 (isnan_test): Likewise.
6771 (isnormal_test): Likewise.
6772 (issignaling_test): Likewise.
6773 (isunordered_test): Likewise.
6774 (j0_test): Likewise.
6775 (j1_test): Likewise.
6776 (jn_test): Likewise.
6777 (ldexp_test): Likewise.
6778 (lgamma_test): Likewise.
6779 (lrint_test): Likewise.
6780 (lrint_test_tonearest): Likewise.
6781 (lrint_test_towardzero): Likewise.
6782 (lrint_test_downward): Likewise.
6783 (lrint_test_upward): Likewise.
6784 (llrint_test): Likewise.
6785 (llrint_test_tonearest): Likewise.
6786 (llrint_test_towardzero): Likewise.
6787 (llrint_test_downward): Likewise.
6788 (llrint_test_upward): Likewise.
6789 (log_test): Likewise.
6790 (log10_test): Likewise.
6791 (log1p_test): Likewise.
6792 (log2_test): Likewise.
6793 (logb_test): Likewise.
6794 (logb_test_downward): Likewise.
6795 (lround_test): Likewise.
6796 (llround_test): Likewise.
6797 (modf_test): Likewise.
6798 (nearbyint_test): Likewise.
6799 (nextafter_test): Likewise.
6800 (nexttoward_test): Likewise.
6801 (pow_test): Likewise.
6802 (pow_test_tonearest): Likewise.
6803 (pow_test_towardzero): Likewise.
6804 (pow_test_downward): Likewise.
6805 (pow_test_upward): Likewise.
6806 (remainder_test): Likewise.
6807 (remainder_test_tonearest): Likewise.
6808 (remainder_test_towardzero): Likewise.
6809 (remainder_test_downward): Likewise.
6810 (remainder_test_upward): Likewise.
6811 (remquo_test): Likewise.
6812 (rint_test): Likewise.
6813 (rint_test_tonearest): Likewise.
6814 (rint_test_towardzero): Likewise.
6815 (rint_test_downward): Likewise.
6816 (rint_test_upward): Likewise.
6817 (round_test): Likewise.
6818 (scalb_test): Likewise.
6819 (scalbn_test): Likewise.
6820 (scalbln_test): Likewise.
6821 (signbit_test): Likewise.
6822 (sin_test): Likewise.
6823 (sin_test_tonearest): Likewise.
6824 (sin_test_towardzero): Likewise.
6825 (sin_test_downward): Likewise.
6826 (sin_test_upward): Likewise.
6827 (sincos_test): Likewise.
6828 (sinh_test): Likewise.
6829 (sinh_test_tonearest): Likewise.
6830 (sinh_test_towardzero): Likewise.
6831 (sinh_test_downward): Likewise.
6832 (sinh_test_upward): Likewise.
6833 (sqrt_test): Likewise.
6834 (tan_test): Likewise.
6835 (tan_test_tonearest): Likewise.
6836 (tan_test_towardzero): Likewise.
6837 (tan_test_downward): Likewise.
6838 (tan_test_upward): Likewise.
6839 (tanh_test): Likewise.
6840 (tgamma_test): Likewise.
6841 (trunc_test): Likewise.
6842 (y0_test): Likewise.
6843 (y1_test): Likewise.
6844 (yn_test): Likewise.
6845 (significand_test): Likewise.
6846
bae143d2
OB
68472013-05-24 Ondřej Bílka <neleai@seznam.cz>
6848
6849 [BZ #15381]
6850 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6851
9323d39b
EM
68522013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6853
d4ea44a0 6854 [BZ #14894]
9323d39b
EM
6855 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6856 __ppc_mdoio and __ppc_mdoom.
6857 * manual/platform.texi: Document new functions __ppc_yield,
6858 __ppc_mdoio and __ppc_mdoom.
6859
13e23af7
CD
68602013-05-22 Carlos O'Donell <carlos@redhat.com>
6861
6862 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6863 (main): Mention "tls" pseudo-hwcap is legacy.
6864 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6865
351fe550
JM
68662013-05-22 Joseph Myers <joseph@codesourcery.com>
6867
6868 * math/gen-libm-test.pl (parse_args): Output only string of
6869 arguments as text for test name, not full call or descriptions of
6870 tests for extra outputs.
6871 (generate_testfile): Do not pass function name to parse_args.
6872 Generate this_func variable from START.
6873 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6874 field to arg_str.
6875 (struct test_ff_f_data): Likewise.
6876 (test_ff_f_data_nexttoward): Likewise.
6877 (struct test_fi_f_data): Likewise.
6878 (struct test_fl_f_data): Likewise.
6879 (struct test_if_f_data): Likewise.
6880 (struct test_fff_f_data): Likewise.
6881 (struct test_c_f_data): Likewise.
6882 (struct test_f_f1_data): Likewise. Remove field extra_name.
6883 (struct test_fF_f1_data): Likewise.
6884 (struct test_ffI_f1_data): Likewise.
6885 (struct test_c_c_data): Rename test_name field to arg_str.
6886 (struct test_cc_c_data): Likewise.
6887 (struct test_f_i_data): Likewise.
6888 (struct test_ff_i_data): Likewise.
6889 (struct test_f_l_data): Likewise.
6890 (struct test_f_L_data): Likewise.
6891 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6892 and extra2_name.
6893 (COMMON_TEST_SETUP): New macro.
6894 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6895 (COMMON_TEST_CLEANUP): Likewise.
6896 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6897 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6898 macros.
6899 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6900 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6901 macros.
6902 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6903 (RUN_TEST_fff_f): Take argument string. Call new setup and
6904 cleanup macros.
6905 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6906 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6907 macros.
6908 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6909 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6910 macros.
6911 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6912 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6913 cleanup macros.
6914 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6915 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6916 cleanup macros.
6917 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6918 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6919 cleanup macros.
6920 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6921 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6922 macros.
6923 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6924 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6925 macros.
6926 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6927 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6928 macros.
6929 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6930 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6931 cleanup macros.
6932 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6933 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6934 cleanup macros.
6935 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6936 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6937 macros.
6938 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6939 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6940 cleanup macros.
6941 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6942 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6943 macros.
6944 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6945 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6946 macros.
6947 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6948 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6949 cleanup macros.
6950 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6951
85118d4d
EBM
69522013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6953
6954 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6955 to _sifields.sigfault.
6956 (si_addr_lsb): Define new macro.
6957 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6958 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6959 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6960
7a44c18f
CD
69612013-05-03 Carlos O'Donell <carlos at redhat.com>
6962
6963 [BZ #15441]
6964 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6965 returns -1.
6966 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6967 null return -1.
6968 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6969 loading the domain.
6970
b50a7181
JM
69712013-05-22 Joseph Myers <joseph@codesourcery.com>
6972
6973 * math/gen-libm-test.pl (parse_args): Do not include expected
6974 result in test name.
6975 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6976 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6977 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6978 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6979 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6981
051063c8
SP
69822013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6983
3ce9e010
SP
6984 * benchtests/Makefile: Sort function entries.
6985
051063c8
SP
6986 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6987 tanh, asinh, acosh, atanh.
6988 * benchtests/acos-inputs: New file.
6989 * benchtests/acosh-inputs: New file.
6990 * benchtests/asin-inputs: New file.
6991 * benchtests/asinh-inputs: New file.
6992 * benchtests/atanh-inputs: New file.
6993 * benchtests/cosh-inputs: New file.
6994 * benchtests/log-inputs: New file.
6995 * benchtests/sinh-inputs: New file.
6996 * benchtests/tanh-inputs: New file.
6997
47c22455
DL
69982013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6999
7000 [BZ #15339]
7001 * posix/tst-getaddrinfo4.c: New test.
7002 * posix/Makefile (tests): Add it.
7003
3d04f5db
SP
70042013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7005
7006 [BZ #15339]
7007 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7008 when no services were used.
7009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7010 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7011
d5dd6189
AS
70122013-05-21 Andreas Schwab <schwab@suse.de>
7013
7014 [BZ #15014]
7015 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7016 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7017 successful.
7018 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7019 redundant variable declarations and reallocation of buffer when
7020 parsing as IPv6 address. Always set NSS status when called from
7021 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7022 buffer too small. Correct computation of needed size.
7023 * nss/Makefile (tests): Add test-digits-dots.
7024 * nss/test-digits-dots.c: New test.
7025
fef94eab
SP
70262013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7027
7028 * benchtests/Makefile: Remove instructions for adding
7029 benchmark tests.
7030 * benchtests/README: New file to explain how to execute and
7031 enhance the benchmark tests.
7032
e39adf43
AS
70332013-05-21 Andreas Schwab <schwab@suse.de>
7034
7035 [BZ #15493]
7036 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7037 * setjmp/tst-sigsetjmp.c: New test.
7038
b2b671b6
OB
70392013-05-20 Ondřej Bílka <neleai@seznam.cz>
7040
7041 * sysdeps/x86_64/memset.S (memset): New implementation.
7042 (__bzero): Likewise.
7043 (__memset_tail): New function.
7044
2d48b41c
OB
70452013-05-20 Ondřej Bílka <neleai@seznam.cz>
7046
7047 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7048 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7049 __memcpy_sse2_unaligned ifunc selection.
7050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7051 Add memcpy-sse2-unaligned.S.
7052 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7053 Add: __memcpy_sse2_unaligned.
7054
f16cc3eb
JM
70552013-05-19 Joseph Myers <joseph@codesourcery.com>
7056
3e694268
JM
7057 [BZ #15490]
7058 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7059 math_force_eval before restoring floating-point envrionment.
7060 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7062 Likewise.
7063 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7064 <math_private.h>.
7065 (__nearbyintl): Use math_force_eval before restoring
7066 floating-point environment.
7067 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7068
db62a907
JM
7069 * math/gen-libm-test.pl (special_functions): Remove.
7070 (parse_args): Don't handle TEST_extra. Handle functions with no
7071 return value.
7072 * math/libm-test.inc (struct test_sincos_data): Replace with
7073 struct test_fFF_11_data.
7074 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7075 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7076 (sincos_test_data): Change element type to struct
7077 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7078 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7079 RUN_TEST_LOOP_sincos.
7080 * math/README.libm-test: Don't mention special handling of
7081 individual functions.
7082 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7083 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7084 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7085 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7086 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7088
f16cc3eb
JM
7089 * math/gen-libm-test.pl (get_variable): Remove function.
7090 (parse_args): Don't show pointer parameters to call in test
7091 names. Use "extra output N" in test names for extra outputs
7092 rather than naming variables.
7093
3779b5b6
JM
70942013-05-18 Joseph Myers <joseph@codesourcery.com>
7095
2ee094ff
JM
7096 [BZ #15488]
7097 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7098 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7099 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7100 double tests.
7101 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7102 disable.
7103 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7104 check_long_double.
7105
3779b5b6
JM
7106 * math/gen-libm-test.pl (@tests): Remove variable.
7107 ($count): Likewise.
7108 (new_test): Remove function.
7109 (show_exceptions): New function.
7110 (special_functions): Use show_exceptions instead of new_test.
7111 (parse_args): Likewise.
7112 (generate_testfile): Pass only function name in generated call to
7113 print_max_error or print_complex_max_error.
7114 (get_ulps): Do not handle complex tests specially.
7115 (output_test): Rename to ...
7116 (get_all_ulps_for_test): ... this. Return a string rather than
7117 printing to a file. Require ulps to be present.
7118 (output_ulps): Generate arrays rather than #defines.
7119 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7120 (struct ulp_data): New type.
7121 (BUILD_COMPLEX_ULP): Remove macro.
7122 (compare_ulp_data): New function.
7123 (find_ulps): Likewise.
7124 (find_test_ulps): Likewise.
7125 (find_function_ulps): Likewise.
7126 (find_complex_function_ulps): Likewise.
7127 (print_max_error): Determine allowed ulps using
7128 find_function_ulps.
7129 (print_complex_max_error): Determine allowed ulps using
7130 find_complex_function_ulps.
7131 (check_float_internal): Determine max ulps using find_test_ulps.
7132 (check_float): Do not take max_ulp parameter. Update call to
7133 check_float_internal.
7134 (check_complex): Likewise.
7135 (check_int): Do not take max_ulp parameter.
7136 (check_long): Likewise.
7137 (check_bool): Likewise.
7138 (check_longlong): Likewise.
7139 (struct test_f_f_data): Remove max_ulp field.
7140 (struct test_ff_f_data): Likewise.
7141 (struct test_ff_f_data_nexttoward): Likewise.
7142 (struct test_fi_f_data): Likewise.
7143 (struct test_fl_f_data): Likewise.
7144 (struct test_if_f_data): Likewise.
7145 (struct test_fff_f_data): Likewise.
7146 (struct test_c_f_data): Likewise.
7147 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7148 (struct test_fF_f1_data): Likewise.
7149 (struct test_ffI_f1_data): Likewise.
7150 (struct test_c_c_data): Remove max_ulp field.
7151 (struct test_cc_c_data): Likewise.
7152 (struct test_f_i_data): Likewise.
7153 (struct test_ff_i_data): Likewise.
7154 (struct test_f_l_data): Likewise.
7155 (struct test_f_L_data): Likewise.
7156 (struct test_sincos_data): Likewise.
7157 (RUN_TEST_f_f): Do not handle ulps.
7158 (RUN_TEST_LOOP_f_f): Likewise.
7159 (RUN_TEST_2_f): Likewise.
7160 (RUN_TEST_LOOP_2_f): Likewise.
7161 (RUN_TEST_fff_f): Likewise.
7162 (RUN_TEST_LOOP_fff_f): Likewise.
7163 (RUN_TEST_c_f): Likewise.
7164 (RUN_TEST_LOOP_c_f): Likewise.
7165 (RUN_TEST_f_f1): Likewise.
7166 (RUN_TEST_LOOP_f_f1): Likewise.
7167 (RUN_TEST_fF_f1): Likewise.
7168 (RUN_TEST_LOOP_fF_f1): Likewise.
7169 (RUN_TEST_fI_f1): Likewise.
7170 (RUN_TEST_LOOP_fI_f1): Likewise.
7171 (RUN_TEST_ffI_f1): Likewise.
7172 (RUN_TEST_LOOP_ffI_f1): Likewise.
7173 (RUN_TEST_c_c): Likewise.
7174 (RUN_TEST_LOOP_c_c): Likewise.
7175 (RUN_TEST_cc_c): Likewise.
7176 (RUN_TEST_LOOP_cc_c): Likewise.
7177 (RUN_TEST_f_i): Likewise.
7178 (RUN_TEST_LOOP_f_i): Likewise.
7179 (RUN_TEST_f_i_tg): Likewise.
7180 (RUN_TEST_LOOP_f_i_tg): Likewise.
7181 (RUN_TEST_ff_i_tg): Likewise.
7182 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7183 (RUN_TEST_f_b): Likewise.
7184 (RUN_TEST_LOOP_f_b): Likewise.
7185 (RUN_TEST_f_b_tg): Likewise.
7186 (RUN_TEST_LOOP_f_b_tg): Likewise.
7187 (RUN_TEST_f_l): Likewise.
7188 (RUN_TEST_LOOP_f_l): Likewise.
7189 (RUN_TEST_f_L): Likewise.
7190 (RUN_TEST_LOOP_f_L): Likewise.
7191 (RUN_TEST_sincos): Likewise.
7192 (RUN_TEST_LOOP_sincos): Likewise.
7193
8269107f
JM
71942013-05-17 Joseph Myers <joseph@codesourcery.com>
7195
bb38759d
JM
7196 [BZ #15480]
7197 [BZ #15485]
7198 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7199 main case of finite arguments, set rounding mode to FE_TONEAREST
7200 and discard exceptions.
7201 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7202 exceptions.
7203 (remainder_tonearest_test_data): New variable.
7204 (remainder_test_tonearest): New function.
7205 (remainder_towardzero_test_data): New variable.
7206 (remainder_test_towardzero): New function.
7207 (remainder_downward_test_data): New variable.
7208 (remainder_test_downward): New function.
7209 (remainder_upward_test_data): New variable.
7210 (remainder_test_upward): New function.
7211 (main): Call the new test functions.
7212
a00bdcf0
JM
7213 * math/libm-test.inc (struct test_f_f1_data): Remove field
7214 extra_init.
7215 (struct test_fF_f1_data): Likewise.
7216 (struct test_ffI_f1_data): Likewise.
7217 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7218 based on value of EXTRA_EXPECTED.
7219 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7220 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7221 EXTRA_VAR based on value of EXTRA_EXPECTED.
7222 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7223 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7224 EXTRA_VAR based on value of EXTRA_EXPECTED.
7225 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7226 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7227 EXTRA_VAR based on value of EXTRA_EXPECTED.
7228 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7229 * math/gen-libm-test.pl (parse_args): Don't output initializers
7230 for extra output values.
7231
de407f79
JM
7232 * math/libm-test.inc (check_int): Expect result to be exactly
7233 equal to expected value and do not handle ulps.
7234 (check_long): Likewise.
7235 (check_longlong): Likewise.
7236
8269107f
JM
7237 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7238 exceptions.
7239 (cimag_test_data): Likewise.
7240 (conj_test_data): Likewise.
7241 (copysign_test_data): Likewise.
7242 (cproj_test_data): Likewise.
7243 (creal_test_data): Likewise.
7244 (fabs_test_data): Likewise.
7245 (fdim_test_data): Likewise.
7246 (finite_test_data): Likewise.
7247 (floor_test_data): Likewise.
7248 (fmax_test_data): Likewise.
7249 (fmin_test_data): Likewise.
7250 (fmod_test_data): Likewise.
7251 (fpclassify_test_data): Likewise.
7252 (frexp_test_data): Likewise.
7253 (ilogb_test_data): Likewise.
7254 (isfinite_test_data): Likewise.
7255 (isgreater_test_data): Likewise.
7256 (isgreaterequal_test_data): Likewise.
7257 (isinf_test_data): Likewise.
7258 (isless_test_data): Likewise.
7259 (islessequal_test_data): Likewise.
7260 (islessgreater_test_data): Likewise.
7261 (isnan_test_data): Likewise.
7262 (isnormal_test_data): Likewise.
7263 (issignaling_test_data): Likewise.
7264 (isunordered_test_data): Likewise.
7265 (ldexp_test_data): Likewise.
7266 (lrint_test_data): Likewise.
7267 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7268 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7269 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7270 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7271 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7272 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7273 test input.
7274 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7275 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7276 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7277 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7278 that test input.
7279 (lrint_downward_test_data): Test for "inexact" exceptions.
7280 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7281 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7282 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7283 test input.
7284 (lrint_upward_test_data): Test for "inexact" exceptions.
7285 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7286 test input.
7287 (llrint_test_data): Test for "inexact" exceptions.
7288 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7289 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7290 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7291 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7292 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7293 (llrint_downward_test_data): Test for "inexact" exceptions.
7294 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7295 (llrint_upward_test_data): Test for "inexact" exceptions.
7296 (logb_test_data): Likewise.
7297 (logb_downward_test_data): Likewise.
7298 (nextafter_test_data): Likewise.
7299 (nexttoward_test_data): Likewise.
7300 (remainder_test_data): Likewise.
7301 (remquo_test_data): Likewise.
7302 (scalbn_test_data): Likewise.
7303 (scalbln_test_data): Likewise.
7304 (signbit_test_data): Likewise.
7305 (sqrt_test_data): Likewise.
7306 (significand_test_data): Likewise.
7307
48a18de1
SP
73082013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7309
7310 [BZ #15424]
7311 * benchtests/bench-modf.c (struct args): Mark arg0 as
7312 volatile.
7313 * scripts/bench.pl: Mark members of struct args as volatile.
7314
13d3b41a
AZ
73152013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7316
68191c1d 7317 [BZ # 15497]
13d3b41a
AZ
7318 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7319 negative infinity on POWER6 or lower.
7320 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7321
2848b105
MR
73222013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7323
7324 [BZ #15442]
7325 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7326 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7327 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7328 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7329 (_FP_SETQNAN): New macro.
7330 (_FP_SETQNAN_SEMIRAW): Likewise.
7331 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7332 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7333 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7334 (FP_EXTEND): Use _FP_FRAC_SNANP.
7335 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7336 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7337 into account.
7338 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7339 New macro.
7340 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7341 Likewise.
7342
323e5cb7
JM
73432013-05-16 Joseph Myers <joseph@codesourcery.com>
7344
c58b274f
JM
7345 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7346 with DIVIDE_BY_ZERO_EXCEPTION.
7347 (gamma_test_data): Likewise.
7348 (lgamma_test_data): Likewise.
7349 (log_test_data): Likewise.
7350 (log10_test_data): Likewise.
7351 (log2_test_data): Likewise.
7352 (tgamma_test_data): Likewise.
7353
0ab34904
JM
7354 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7355 (acos_test_tonearest): Likewise.
7356 (acos_test_towardzero): Likewise.
7357 (acos_test_downward): Likewise.
7358 (acos_test_upward): Likewise.
7359 (acosh_test): Likewise.
7360 (asin_test): Likewise.
7361 (asin_test_tonearest): Likewise.
7362 (asin_test_towardzero): Likewise.
7363 (asin_test_downward): Likewise.
7364 (asin_test_upward): Likewise.
7365 (asinh_test): Likewise.
7366 (atan_test): Likewise.
7367 (atanh_test): Likewise.
7368 (atan2_test): Likewise.
7369 (cabs_test): Likewise.
7370 (cacos_test): Likewise.
7371 (cacosh_test): Likewise.
7372 (casin_test): Likewise.
7373 (casinh_test): Likewise.
7374 (catan_test): Likewise.
7375 (catanh_test): Likewise.
7376 (cbrt_test): Likewise.
7377 (ccos_test): Likewise.
7378 (ccosh_test): Likewise.
7379 (cexp_test): Likewise.
7380 (clog_test): Likewise.
7381 (clog10_test): Likewise.
7382 (cos_test): Likewise.
7383 (cos_test_tonearest): Likewise.
7384 (cos_test_towardzero): Likewise.
7385 (cos_test_downward): Likewise.
7386 (cos_test_upward): Likewise.
7387 (cosh_test): Likewise.
7388 (cosh_test_tonearest): Likewise.
7389 (cosh_test_towardzero): Likewise.
7390 (cosh_test_downward): Likewise.
7391 (cosh_test_upward): Likewise.
7392 (cpow_test): Likewise.
7393 (csin_test): Likewise.
7394 (csinh_test): Likewise.
7395 (csqrt_test): Likewise.
7396 (ctan_test): Likewise.
7397 (ctan_test_tonearest): Likewise.
7398 (ctan_test_towardzero): Likewise.
7399 (ctan_test_downward): Likewise.
7400 (ctan_test_upward): Likewise.
7401 (ctanh_test): Likewise.
7402 (ctanh_test_tonearest): Likewise.
7403 (ctanh_test_towardzero): Likewise.
7404 (ctanh_test_downward): Likewise.
7405 (ctanh_test_upward): Likewise.
7406 (erf_test): Likewise.
7407 (erfc_test): Likewise.
7408 (exp_test): Likewise.
7409 (exp_test_tonearest): Likewise.
7410 (exp_test_towardzero): Likewise.
7411 (exp_test_downward): Likewise.
7412 (exp_test_upward): Likewise.
7413 (exp10_test): Likewise.
7414 (exp2_test): Likewise.
7415 (expm1_test): Likewise.
7416 (fmod_test): Likewise.
7417 (gamma_test): Likewise.
7418 (hypot_test): Likewise.
7419 (j0_test): Likewise.
7420 (j1_test): Likewise.
7421 (jn_test): Likewise.
7422 (lgamma_test): Likewise.
7423 (log_test): Likewise.
7424 (log10_test): Likewise.
7425 (log1p_test): Likewise.
7426 (log2_test): Likewise.
7427 (logb_test_downward): Likewise.
7428 (pow_test): Likewise.
7429 (pow_test_tonearest): Likewise.
7430 (pow_test_towardzero): Likewise.
7431 (pow_test_downward): Likewise.
7432 (pow_test_upward): Likewise.
7433 (remainder_test): Likewise.
7434 (remquo_test): Likewise.
7435 (sin_test): Likewise.
7436 (sin_test_tonearest): Likewise.
7437 (sin_test_towardzero): Likewise.
7438 (sin_test_downward): Likewise.
7439 (sin_test_upward): Likewise.
7440 (sincos_test): Likewise.
7441 (sinh_test): Likewise.
7442 (sinh_test_tonearest): Likewise.
7443 (sinh_test_towardzero): Likewise.
7444 (sinh_test_downward): Likewise.
7445 (sinh_test_upward): Likewise.
7446 (sqrt_test): Likewise.
7447 (tan_test): Likewise.
7448 (tan_test_tonearest): Likewise.
7449 (tan_test_towardzero): Likewise.
7450 (tan_test_downward): Likewise.
7451 (tan_test_upward): Likewise.
7452 (tanh_test): Likewise.
7453 (tgamma_test): Likewise.
7454 (y0_test): Likewise.
7455 (y1_test): Likewise.
7456 (yn_test): Likewise.
7457
323e5cb7
JM
7458 * math/gen-libm-test.pl (adjust_arg): Remove function.
7459 (special_function): Remove argument $in_func. Only handle
7460 generating output for tables of tests, not inside functions.
7461 (parse_args): Likewise.
7462 (generate_testfile): Remove variable $in_func. Update call to
7463 parse_args.
7464 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7465 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7466 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7467 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7468 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7469 (MAX_VALUE_INIT): Rename macro to max_value.
7470 (MIN_VALUE_INIT): Rename macro to min_value.
7471 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7472 (plus_zero): Remove variable.
7473 (minus_zero): Likewise.
7474 (plus_infty): Likewise.
7475 (minus_infty): Likewise.
7476 (qnan_value): Likewise.
7477 (max_value): Likewise.
7478 (min_value): Likewise.
7479 (min_subnorm_value): Likewise.
7480
e054f494
RA
74812013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7482
7483 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7484 uint64_t or uint32_t usage.
7485 * crypt/sha256-block.c: Likewise.
7486 * crypt/sha256-crypt.c: Likewise.
7487 * crypt/sha256.c: Likewise.
7488 * crypt/sha512-block.c: Likewise.
7489 * crypt/sha512-crypt.c: Likewise.
7490 * crypt/sha512.c: Likewise.
7491 * debug/backtrace-tst.c: Likewise.
7492 * debug/pcprofiledump.c: Likewise.
7493 * elf/cache.c: Likewise.
7494 * elf/dl-cache.c: Likewise.
7495 * elf/dl-misc.c: Likewise.
7496 * elf/dl-profile.c: Likewise.
7497 * elf/dl-support.c: Likewise.
7498 * elf/ldconfig.c: Likewise.
7499 * elf/sprof.c: Likewise.
7500 * iconv/dummy-repertoire.c: Likewise.
7501 * iconv/iconv_charmap.c: Likewise.
7502 * iconv/skeleton.c: Likewise.
7503 * iconvdata/8bit-generic.c: Likewise.
7504 * iconvdata/cp737.h: Likewise.
7505 * iconvdata/cp775.h: Likewise.
7506 * iconvdata/ibm1008.h: Likewise.
7507 * iconvdata/ibm1025.h: Likewise.
7508 * iconvdata/ibm1046.h: Likewise.
7509 * iconvdata/ibm1097.h: Likewise.
7510 * iconvdata/ibm1112.h: Likewise.
7511 * iconvdata/ibm1122.h: Likewise.
7512 * iconvdata/ibm1123.h: Likewise.
7513 * iconvdata/ibm1124.h: Likewise.
7514 * iconvdata/ibm1129.h: Likewise.
7515 * iconvdata/ibm1130.h: Likewise.
7516 * iconvdata/ibm1132.h: Likewise.
7517 * iconvdata/ibm1133.h: Likewise.
7518 * iconvdata/ibm1137.h: Likewise.
7519 * iconvdata/ibm1140.h: Likewise.
7520 * iconvdata/ibm1141.h: Likewise.
7521 * iconvdata/ibm1142.h: Likewise.
7522 * iconvdata/ibm1143.h: Likewise.
7523 * iconvdata/ibm1144.h: Likewise.
7524 * iconvdata/ibm1145.h: Likewise.
7525 * iconvdata/ibm1146.h: Likewise.
7526 * iconvdata/ibm1147.h: Likewise.
7527 * iconvdata/ibm1148.h: Likewise.
7528 * iconvdata/ibm1149.h: Likewise.
7529 * iconvdata/ibm1153.h: Likewise.
7530 * iconvdata/ibm1154.h: Likewise.
7531 * iconvdata/ibm1155.h: Likewise.
7532 * iconvdata/ibm1156.h: Likewise.
7533 * iconvdata/ibm1157.h: Likewise.
7534 * iconvdata/ibm1158.h: Likewise.
7535 * iconvdata/ibm1160.h: Likewise.
7536 * iconvdata/ibm1161.h: Likewise.
7537 * iconvdata/ibm1162.h: Likewise.
7538 * iconvdata/ibm1163.h: Likewise.
7539 * iconvdata/ibm1164.h: Likewise.
7540 * iconvdata/ibm1166.h: Likewise.
7541 * iconvdata/ibm1167.h: Likewise.
7542 * iconvdata/ibm12712.h: Likewise.
7543 * iconvdata/ibm1390.h: Likewise.
7544 * iconvdata/ibm1399.h: Likewise.
7545 * iconvdata/ibm16804.h: Likewise.
7546 * iconvdata/ibm4517.h: Likewise.
7547 * iconvdata/ibm4899.h: Likewise.
7548 * iconvdata/ibm4909.h: Likewise.
7549 * iconvdata/ibm4971.h: Likewise.
7550 * iconvdata/ibm5347.h: Likewise.
7551 * iconvdata/ibm803.h: Likewise.
7552 * iconvdata/ibm856.h: Likewise.
7553 * iconvdata/ibm901.h: Likewise.
7554 * iconvdata/ibm902.h: Likewise.
7555 * iconvdata/ibm9030.h: Likewise.
7556 * iconvdata/ibm9066.h: Likewise.
7557 * iconvdata/ibm921.h: Likewise.
7558 * iconvdata/ibm922.h: Likewise.
7559 * iconvdata/ibm9448.h: Likewise.
7560 * iconvdata/isiri-3342.h: Likewise.
7561 * iconvdata/jis0201.h: Likewise.
7562 * include/link.h: Likewise.
7563 * include/netdb.h: Likewise.
7564 * inet/check_native.c: Likewise.
7565 * inet/check_pf.c: Likewise.
7566 * inet/getipv4sourcefilter.c: Likewise.
7567 * inet/getnameinfo.c: Likewise.
7568 * inet/getsourcefilter.c: Likewise.
7569 * inet/htonl.c: Likewise.
7570 * inet/setipv4sourcefilter.c: Likewise.
7571 * inet/setsourcefilter.c: Likewise.
7572 * inet/test-inet6_opt.c: Likewise.
7573 * inet/tst-network.c: Likewise.
7574 * locale/C-collate.c: Likewise.
7575 * locale/C-ctype.c: Likewise.
7576 * locale/C-time.c: Likewise.
7577 * locale/C-translit.h: Likewise.
7578 * locale/loadarchive.c: Likewise.
7579 * locale/programs/3level.h: Likewise.
7580 * locale/programs/charmap.c: Likewise.
7581 * locale/programs/charmap.h: Likewise.
7582 * locale/programs/ld-address.c: Likewise.
7583 * locale/programs/ld-collate.c: Likewise.
7584 * locale/programs/ld-ctype.c: Likewise.
7585 * locale/programs/ld-identification.c: Likewise.
7586 * locale/programs/ld-measurement.c: Likewise.
7587 * locale/programs/ld-messages.c: Likewise.
7588 * locale/programs/ld-monetary.c: Likewise.
7589 * locale/programs/ld-name.c: Likewise.
7590 * locale/programs/ld-numeric.c: Likewise.
7591 * locale/programs/ld-paper.c: Likewise.
7592 * locale/programs/ld-telephone.c: Likewise.
7593 * locale/programs/ld-time.c: Likewise.
7594 * locale/programs/linereader.c: Likewise.
7595 * locale/programs/locale.c: Likewise.
7596 * locale/programs/locarchive.c: Likewise.
7597 * locale/programs/locfile.h: Likewise.
7598 * locale/programs/repertoire.c: Likewise.
7599 * locale/programs/simple-hash.c: Likewise.
7600 * locale/programs/simple-hash.h: Likewise.
7601 * malloc/memusage.c: Likewise.
7602 * malloc/memusagestat.c: Likewise.
7603 * nis/nis_defaults.c: Likewise.
7604 * nis/nis_hash.c: Likewise.
7605 * nis/nis_print.c: Likewise.
7606 * nis/nis_xdr.c: Likewise.
7607 * nscd/connections.c: Likewise.
7608 * nscd/hstcache.c: Likewise.
7609 * nscd/nscd_gethst_r.c: Likewise.
7610 * nscd/nscd_getserv_r.c: Likewise.
7611 * nscd/nscd_helper.c: Likewise.
7612 * nscd/servicescache.c: Likewise.
7613 * nss/makedb.c: Likewise.
7614 * nss/nss_db/db-XXX.c: Likewise.
7615 * nss/nss_db/db-initgroups.c: Likewise.
7616 * nss/nss_db/db-netgrp.c: Likewise.
7617 * nss/nss_files/files-network.c: Likewise.
7618 * nss/nss_files/files-parse.c: Likewise.
7619 * posix/bug-regex5.c: Likewise.
7620 * posix/fnmatch_loop.c: Likewise.
7621 * posix/regcomp.c: Likewise.
7622 * posix/regexec.c: Likewise.
7623 * posix/tst-rfc3484-2.c: Likewise.
7624 * posix/tst-rfc3484-3.c: Likewise.
7625 * posix/tst-rfc3484.c: Likewise.
7626 * resolv/nss_dns/dns-canon.c: Likewise.
7627 * resolv/nss_dns/dns-network.c: Likewise.
7628 * resolv/res_init.c: Likewise.
7629 * resolv/res_mkquery.c: Likewise.
7630 * resolv/tst-aton.c: Likewise.
7631 * stdlib/cxa_atexit.c: Likewise.
7632 * stdlib/cxa_finalize.c: Likewise.
7633 * stdlib/gen-fpioconst.c: Likewise.
7634 * stdlib/strtol_l.c: Likewise.
7635 * string/tst-endian.c: Likewise.
7636 * sunrpc/auth_des.c: Likewise.
7637 * sunrpc/clnt_udp.c: Likewise.
7638 * sunrpc/rtime.c: Likewise.
7639 * sunrpc/svcauth_des.c: Likewise.
7640 * sunrpc/xdr.c: Likewise.
7641 * sunrpc/xdr_intXX_t.c: Likewise.
7642 * sunrpc/xdr_rec.c: Likewise.
7643 * sysdeps/generic/ldconfig.h: Likewise.
7644 * sysdeps/generic/ldsodefs.h: Likewise.
7645 * sysdeps/generic/memusage.h: Likewise.
7646 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7647 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7648 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7649 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7654 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7655 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7656 * sysdeps/posix/getaddrinfo.c: Likewise.
7657 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7658 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7659 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7660 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7661 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7662 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7663 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7664 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7665 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7666 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7667 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7668 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7669 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7670 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7671 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7672 * sysdeps/x86_64/dl-tls.h: Likewise.
7673 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7674 * time/alt_digit.c: Likewise.
7675 * time/era.c: Likewise.
7676 * wcsmbs/tst-c16c32-1.c: Likewise.
7677
8c75f674
JM
76782013-05-16 Joseph Myers <joseph@codesourcery.com>
7679
7680 * math/libm-test.inc (struct test_sincos_data): New type.
7681 (RUN_TEST_LOOP_sincos): New macro.
7682 (sincos_test_data): New variable.
7683 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7684
e6e49e59
RH
76852013-05-16 Richard Henderson <rth@redhat.com>
7686
7687 * math/atest-exp2.c (LIMB64): New macro.
7688 (CONSTSZ): New macro.
7689 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7690 (hexdig): Move ...
7691 (print_mpn_fp): ... to function scope.
7692 (read_mpn_hex): Remove.
7693 (get_log2): Remove.
7694 (exp2_mpn): Use mp_log2.
7695 (main): Use mp_exp1.
7696
15c7c18d
JM
76972013-05-16 Joseph Myers <joseph@codesourcery.com>
7698
105a07df
JM
7699 * math/libm-test.inc: Remove comment about not testing "inexact"
7700 exceptions.
7701 (INEXACT_EXCEPTION): New macro.
7702 (NO_INEXACT_EXCEPTION): Likewise.
7703 (INVALID_EXCEPTION_OK): Update value.
7704 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7705 (OVERFLOW_EXCEPTION_OK): Likewise.
7706 (UNDERFLOW_EXCEPTION_OK): Likewise.
7707 (IGNORE_ZERO_INF_SIGN): Likewise.
7708 (ERRNO_UNCHANGED): Likewise.
7709 (ERRNO_EDOM): Likewise.
7710 (ERRNO_ERANGE): Likewise.
7711 (test_exceptions): Handle testing "inexact" exceptions.
7712 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7713 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7714 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7715 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7716 INEXACT_EXCEPTION.
7717 (rint_towardzero_test_data): Likewise.
7718 (rint_downward_test_data): Likewise.
7719 (rint_upward_test_data): Likewise.
7720
e9eee333
JM
7721 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7722 with OVERFLOW_EXCEPTION.
7723 (exp10_test_data): Likewise.
7724 (exp2_test_data): Likewise.
7725 (expm1_test_data): Likewise.
7726 (lgamma_test_data): Likewise.
7727 (pow_test_data): Likewise.
7728 (tgamma_test_data): Likewise.
7729 (yn_test_data): Remove duplicate test of overflow.
7730
1c38ff73
JM
7731 * math/libm-test.inc (struct test_cc_c_data): New type.
7732 (RUN_TEST_LOOP_cc_c): New macro.
7733 (cpow_test_data): New variable.
7734 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7735
15c7c18d
JM
7736 * math/libm-test.inc (struct test_f_L_data): New type.
7737 (RUN_TEST_LOOP_f_L): New macro.
7738 (llrint_test_data): New variable.
7739 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7740 (llrint_tonearest_test_data): New variable.
7741 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7742 (llrint_towardzero_test_data): New variable.
7743 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7744 (llrint_downward_test_data): New variable.
7745 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7746 (llrint_upward_test_data): New variable.
7747 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7748 (llround_test_data): New variable.
7749 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7750
f137ff13
PC
77512013-05-13 Peter Collingbourne <pcc@google.com>
7752
7753 * math/atest-exp2.c (get_log2): Remove const attribute.
7754
3608cb24
JM
77552013-05-15 Joseph Myers <joseph@codesourcery.com>
7756
7757 * math/libm-test.inc (struct test_f_l_data): New type.
7758 (RUN_TEST_LOOP_f_l): New macro.
7759 (lrint_test_data): New variable.
7760 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7761 (lrint_tonearest_test_data): New variable.
7762 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7763 (lrint_towardzero_test_data): New variable.
7764 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7765 (lrint_downward_test_data): New variable.
7766 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7767 (lrint_upward_test_data): New variable.
7768 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7769 (lround_test_data): New variable.
7770 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7771
39b1f617
PC
77722013-05-15 Peter Collingbourne <pcc@google.com>
7773
1deff3dc
PC
7774 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7775 (EXTRACT_WORDS64) Use where appropriate.
7776 (INSERT_WORDS64) Likewise.
7777
791f3ba0
PC
7778 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7779 constraints with x constraints.
7780 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7781
39b1f617
PC
7782 * malloc/obstack.c (_obstack_compat): Add initializer.
7783
12fba011
EM
77842013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7785
7786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7787 si_trapno and add si_addr_lsb to _sifields.sigfault.
7788 (si_trapno): Remove macro.
7789 (si_addr_lsb): Define new macro.
7790 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7791
d369f531
JM
77922013-05-15 Joseph Myers <joseph@codesourcery.com>
7793
b861c6c4
JM
7794 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7795 instead of TEST_f_l.
7796 (llrint_test_tonearest): Likewise.
7797 (llrint_test_towardzero): Likewise.
7798 (llrint_test_downward): Likewise.
7799 (llrint_test_upward): Likewise.
7800 (llround_test): Likewise.
7801
7abeee12
JM
7802 * math/libm-test.inc (struct test_f_i_data): Add comment.
7803 (RUN_TEST_LOOP_f_b): New macro.
7804 (RUN_TEST_LOOP_f_b_tg): Likewise.
7805 (finite_test_data): New variable.
7806 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7807 (isfinite_test_data): New variable.
7808 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7809 (isinf_test_data): New variable.
7810 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7811 (isnan_test_data): New variable.
7812 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7813 (isnormal_test_data): New variable.
7814 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7815 (issignaling_test_data): New variable.
7816 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7817 (signbit_test_data): New variable.
7818 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7819
cbe8c4d3
JM
7820 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7821 with INVALID_EXCEPTION.
7822 (acosh_test_data): Likewise.
7823 (asin_test_data): Likewise.
7824 (atanh_test_data): Likewise.
7825 (fmod_test_data): Likewise.
7826 (log_test_data): Likewise.
7827 (log10_test_data): Likewise.
7828 (log2_test_data): Likewise.
7829 (pow_test_data): Likewise.
7830 (sqrt_test_data): Likewise.
7831 (y0_test_data): Likewise.
7832 (y1_test_data): Likewise.
7833 (yn_test_data): Likewise.
7834
5575c0e5
JM
7835 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7836 function contents.
7837
d369f531
JM
7838 * math/libm-test.inc (struct test_ff_i_data): New type.
7839 (RUN_TEST_LOOP_ff_i_tg): New macro.
7840 (isgreater_test_data): New variable.
7841 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7842 (isgreaterequal_test_data): New variable.
7843 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7844 (isless_test_data): New variable.
7845 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7846 (islessequal_test_data): New variable.
7847 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7848 (islessgreater_test_data): New variable.
7849 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7850 (isunordered_test_data): New variable.
7851 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7852
781fd748
DM
78532013-05-14 David S. Miller <davem@davemloft.net>
7854
7855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7856
87aa21df
JM
78572013-05-14 Joseph Myers <joseph@codesourcery.com>
7858
5e908270
JM
7859 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7860
f71172e5
JM
7861 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7862 extra_test to int.
7863 (struct test_f_i_data): Change type of max_ulp to int.
7864
8cfa635a
JM
7865 * math/libm-test.inc (test_ffI_f1_data): New type.
7866 (RUN_TEST_LOOP_ffI_f1): New macro.
7867 (remquo_test_data): New variable.
7868 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7869
2bcb36b2
JM
7870 * setjmp/tst-setjmp-fp.c: New file.
7871 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7872 (link-libm): New variable.
7873 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7874
acbd839a
JM
7875 * math/libm-test.inc (struct test_f_i_data): New type.
7876 (RUN_TEST_LOOP_f_i): New macro.
7877 (RUN_TEST_LOOP_f_i_tg): Likewise.
7878 (fpclassify_test_data): New variable.
7879 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7880 (ilogb_test_data): New variable.
7881 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7882
e414d745
JM
7883 * math/libm-test.inc (scalbln_test): Correct function name in END
7884 call.
7885
d9c2a0fd
JM
7886 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7887 (RUN_TEST_LOOP_fI_f1): New macro.
7888 (frexp_test_data): New variable.
7889 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7890
9dc9095d
JM
7891 * math/libm-test.inc (struct test_fF_f1_data): New type.
7892 (RUN_TEST_LOOP_fF_f1): New macro.
7893 (modf_test_data): New variable.
7894 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7895
87aa21df
JM
7896 * math/libm-test.inc (struct test_f_f1_data): New type.
7897 (RUN_TEST_LOOP_f_f1): New macro.
7898 (gamma_test_data): New variable.
7899 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7900 (lgamma_test_data): New variable.
7901 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7902
141af660
CD
79032013-05-13 Carlos O'Donell <carlos@redhat.com>
7904
7905 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7906 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7907 (main): Comment "tls" pseudo-hwcap.
7908
6d33265c
JM
79092013-05-13 Joseph Myers <joseph@codesourcery.com>
7910
68fc074c
JM
7911 * math/libm-test.inc (struct test_fl_f_data): New type.
7912 (RUN_TEST_LOOP_fl_f): New variable.
7913 (scalbln_test_data): New variable.
7914 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7915
243216e1
JM
7916 * math/libm-test.inc (struct test_fi_f_data): New type.
7917 (RUN_TEST_LOOP_fi_f): New macro.
7918 (ldexp_test_data): New variable.
7919 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7920 (scalbn_test_data): New variable.
7921 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7922
6a1992e2
JM
7923 * math/libm-test.inc (struct test_c_f_data): New type.
7924 (RUN_TEST_LOOP_c_f): New macro.
7925 (cabs_test_data): New variable.
7926 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7927 (carg_test_data): New variable.
7928 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7929 (cimag_test_data): New variable.
7930 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7931 (creal_test_data): New variable.
7932 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7933
0e400df5
JM
7934 * math/libm-test.inc (struct test_if_f_data): New type.
7935 (RUN_TEST_LOOP_if_f): New macro.
7936 (jn_test_data): New variable.
7937 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7938 (yn_test_data): New variable.
7939 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7940
6d33265c
JM
7941 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7942
f98ece5f
AZ
79432013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7944
7945 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7946 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7947
0f7d347b
SP
79482013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7949
43fe811b
SP
7950 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7951 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7952 (bench-deps): Add bench-timing.h.
7953 * benchtests-bench-skeleton.c: Include bench-timing.h.
7954 (main): Use TIMING_* macros instead of clock_gettime.
7955 * benchtests/bench-timing.h: New file.
7956
0f7d347b
SP
7957 [BZ #14582]
7958 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7959 Renamed from _LIB_VERSION.
7960 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7961
601a3a5f
JM
79622013-05-12 Joseph Myers <joseph@codesourcery.com>
7963
4f184d30
JM
7964 * math/libm-test.inc (struct test_fff_f_data): New type.
7965 (RUN_TEST_LOOP_fff_f): New macro.
7966 (fma_test_data): New variable.
7967 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7968 (fma_towardzero_test_data): New variable.
7969 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7970 (fma_downward_test_data): New variable.
7971 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7972 (fma_upward_test_data): New variable.
7973 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7974
08198877
JM
7975 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7976 (struct test_c_c_data): New type.
7977 (RUN_TEST_LOOP_c_c): New macro.
7978 (cacos_test_data): New variable.
7979 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7980 (cacosh_test_data): New variable.
7981 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7982 (casin_test_data): New variable.
7983 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7984 (casinh_test_data): New variable.
7985 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7986 (catan_test_data): New variable.
7987 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7988 (catanh_test_data): New variable.
7989 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7990 (ccos_test_data): New variable.
7991 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7992 (ccosh_test_data): New variable.
7993 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7994 (cexp_test_data): New variable.
7995 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7996 (clog_test_data): New variable.
7997 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7998 (clog10_test_data): New variable.
7999 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8000 (conj_test_data): New variable.
8001 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8002 (cproj_test_data): New variable.
8003 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8004 (csin_test_data): New variable.
8005 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8006 (csinh_test_data): New variable.
8007 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8008 (csqrt_test_data): New variable.
8009 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8010 (ctan_test_data): New variable.
8011 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8012 (ctan_tonearest_test_data): New variable.
8013 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8014 (ctan_towardzero_test_data): New variable.
8015 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8016 (ctan_downward_test_data): New variable.
8017 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8018 (ctan_upward_test_data): New variable.
8019 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8020 (ctanh_test_data): New variable.
8021 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8022 (ctanh_tonearest_test_data): New variable.
8023 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8024 (ctanh_towardzero_test_data): New variable.
8025 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8026 (ctanh_downward_test_data): New variable.
8027 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8028 (ctanh_upward_test_data): New variable.
8029 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8030 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8031 of BUILD_COMPLEX.
8032
601a3a5f
JM
8033 * math/libm-test.inc (struct test_ff_f_data): New type.
8034 (struct test_ff_f_data_nexttoward): Likewise.
8035 (RUN_TEST_LOOP_2_f): New macro.
8036 (RUN_TEST_LOOP_ff_f): Likewise.
8037 (atan2_test_data): New variable.
8038 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8039 (copysign_test_data): New variable.
8040 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8041 (fdim_test_data): New variable.
8042 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8043 (fmax_test_data): New variable.
8044 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8045 (fmin_test_data): New variable.
8046 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8047 (fmod_test_data): New variable.
8048 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8049 (hypot_test_data): New variable.
8050 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8051 (nextafter_test_data): New variable.
8052 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8053 (nexttoward_test_data): New variable.
8054 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8055 (pow_test_data): New variable.
8056 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8057 (pow_tonearest_test_data): New variable.
8058 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8059 (pow_towardzero_test_data): New variable.
8060 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8061 (pow_downward_test_data): New variable.
8062 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8063 (pow_upward_test_data): New variable.
8064 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8065 (remainder_test_data): New variable.
8066 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8067 (scalb_test_data): New variable.
8068 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8069 * sysdeps/i386/fpu/libm-test-ulps: Update.
8070
74c57478
JM
80712013-05-11 Joseph Myers <joseph@codesourcery.com>
8072
8329e4da
JM
8073 * math/libm-test.inc (fma_test): Use max_value instead of local
8074 variable fltmax.
8075 (nextafter_test): Likewise.
8076
74c57478
JM
8077 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8078 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8079 (acos_downward_test_data): New variable.
8080 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8081 (acos_upward_test_data): New variable.
8082 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8083 (acosh_test_data): New variable.
8084 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8085 (asin_test_data): New variable.
8086 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8087 (asin_tonearest_test_data): New variable.
8088 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8089 (asin_towardzero_test_data): New variable.
8090 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8091 (asin_downward_test_data): New variable.
8092 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8093 (asin_upward_test_data): New variable.
8094 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8095 (asinh_test_data): New variable.
8096 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8097 (atan_test_data): New variable.
8098 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8099 (atanh_test_data): New variable.
8100 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8101 (cbrt_test_data): New variable.
8102 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8103 (ceil_test_data): New variable.
8104 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8105 (cos_test_data): New variable.
8106 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8107 (cos_tonearest_test_data): New variable.
8108 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8109 (cos_towardzero_test_data): New variable.
8110 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8111 (cos_downward_test_data): New variable.
8112 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8113 (cos_upward_test_data): New variable.
8114 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8115 (cosh_test_data): New variable.
8116 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8117 (cosh_tonearest_test_data): New variable.
8118 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8119 (cosh_towardzero_test_data): New variable.
8120 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8121 (cosh_downward_test_data): New variable.
8122 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8123 (cosh_upward_test_data): New variable.
8124 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8125 (erf_test_data): New variable.
8126 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8127 (erfc_test_data): New variable.
8128 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8129 (exp_test_data): New variable.
8130 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8131 (exp_tonearest_test_data): New variable.
8132 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8133 (exp_towardzero_test_data): New variable.
8134 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8135 (exp_downward_test_data): New variable.
8136 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8137 (exp_upward_test_data): New variable.
8138 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8139 (exp10_test_data): New variable.
8140 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8141 (exp2_test_data): New variable.
8142 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8143 (expm1_test_data): New variable.
8144 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8145 (fabs_test_data): New variable.
8146 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8147 (floor_test_data): New variable.
8148 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8149 (j0_test_data): New variable.
8150 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8151 (j1_test_data): New variable.
8152 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8153 (log_test_data): New variable.
8154 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8155 (log10_test_data): New variable.
8156 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8157 (log1p_test_data): New variable.
8158 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8159 (log2_test_data): New variable.
8160 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8161 (logb_test_data): New variable.
8162 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8163 (logb_downward_test_data): New variable.
8164 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8165 (nearbyint_test_data): New variable.
8166 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8167 (rint_test_data): New variable.
8168 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8169 (rint_tonearest_test_data): New variable.
8170 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8171 (rint_towardzero_test_data): New variable.
8172 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8173 (rint_downward_test_data): New variable.
8174 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8175 (rint_upward_test_data): New variable.
8176 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8177 (round_test_data): New variable.
8178 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8179 (sin_test_data): New variable.
8180 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8181 (sin_tonearest_test_data): New variable.
8182 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8183 (sin_towardzero_test_data): New variable.
8184 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8185 (sin_downward_test_data): New variable.
8186 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8187 (sin_upward_test_data): New variable.
8188 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8189 (sinh_test_data): New variable.
8190 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8191 (sinh_tonearest_test_data): New variable.
8192 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8193 (sinh_towardzero_test_data): New variable.
8194 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8195 (sinh_downward_test_data): New variable.
8196 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8197 (sinh_upward_test_data): New variable.
8198 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8199 (sqrt_test_data): New variable.
8200 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8201 (tan_test_data): New variable.
8202 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8203 (tan_tonearest_test_data): New variable.
8204 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8205 (tan_towardzero_test_data): New variable.
8206 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8207 (tan_downward_test_data): New variable.
8208 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8209 (tan_upward_test_data): New variable.
8210 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8211 (tanh_test_data): New variable.
8212 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8213 (tgamma_test_data): New variable.
8214 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8215 (trunc_test_data): New variable.
8216 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8217 (y0_test_data): New variable.
8218 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8219 (y1_test_data): New variable.
8220 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8221 (significand_test_data): New variable.
8222 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8223
7187d844
CG
82242013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8225
8226 [BZ #12387]
8227 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8228
f63fae73
PT
82292013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8230
8231 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8232
8a67a4b3
AJ
82332013-05-10 Andreas Jaeger <aj@suse.de>
8234
8235 [BZ #15448]
8236 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8237 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8238
51df539d
JM
82392013-05-10 Joseph Myers <joseph@codesourcery.com>
8240
8241 * math/gen-libm-test.pl (adjust_arg): New function.
8242 (special_functions): Handle generating output in both functions
8243 and arrays.
8244 (parse_args): Likewise.
8245 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8246 $in_func argument to parse_args.
8247 * math/libm-test.inc (struct test_f_f_data): New type.
8248 (IF_ROUND_INIT_): New macro.
8249 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8250 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8251 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8252 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8253 (ROUND_RESTORE_): Likewise.
8254 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8255 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8256 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8257 (ROUND_RESTORE_FE_UPWARD): Likewise.
8258 (RUN_TEST_LOOP_f_f): New macro.
8259 (acos_test_data): New variable.
8260 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8261 (acos_tonearest_test_data): New variable.
8262 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8263
5c637fe5
SP
82642013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8265
8266 * benchtests/bench-skeleton.c (startup): Fix coding style.
8267
ab2b9461
JM
82682013-05-10 Joseph Myers <joseph@codesourcery.com>
8269
8270 [BZ #6809]
8271 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8272 negative infinity argument.
8273 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8274 negative infinity argument.
8275 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8276 negative infinity argument.
8277 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8278 domain errors.
8279
4c0fe6fe
FW
82802013-05-10 Florian Weimer <fweimer@redhat.com>
8281
8282 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8283 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8284 * iconv/iconv_prog.c (main): Likewise.
8285 * locale/programs/charmap-dir.c (charmap_readdir)
8286 (fopen_uncompressed): Likewise.
8287 * locale/programs/locfile.c (siblings_uncached)
8288 (write_locale_data): Use lstat64 instead of lstat.
8289 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8290 stat.
8291
a3375d29
AJ
82922013-05-10 Andreas Jaeger <aj@suse.de>
8293
8294 [BZ #15395]
8295 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8296 localization.
8297 Include <locale.h>.
8298
36129722
CD
82992013-05-09 Carlos O'Donell <carlos@redhat.com>
8300
8301 * elf/dl-close.c (_dl_close_worker): Add comments.
8302
faa7f811
JM
83032013-05-09 Joseph Myers <joseph@codesourcery.com>
8304
ed41ffef
JM
8305 [BZ #15359]
8306 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8307 high part of pi/2.
8308 (__ieee754_rem_pio2l): Update comments.
8309
d0213cd0
JM
8310 [BZ #15429]
8311 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8312 high part of pi/2.
8313 (__ieee754_rem_pio2l): Update comments.
8314
0d3e777a
JM
8315 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8316 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8317
24f56066
JM
8318 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8319 M_PI_4l.
8320
faa7f811
JM
8321 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8322 (M_PI_34_LOG10El): Likewise.
8323 (M_PI2_LOG10El): Likewise.
8324 (M_PI4_LOG10El): Likewise.
8325 (M_PI_LOG10El): Likewise.
8326
e9a5e0fd
AZ
83272013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8328
8329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8330
d8cd06db
JM
83312013-05-08 Joseph Myers <joseph@codesourcery.com>
8332
a0d9f9d7
JM
8333 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8334 (MINUS_ZERO_INIT): Likewise.
8335 (PLUS_INFTY_INIT): Likewise.
8336 (MINUS_INFTY_INIT): Likewise.
8337 (QNAN_VALUE_INIT): Likewise.
8338 (MAX_VALUE_INIT): Likewise.
8339 (MIN_VALUE_INIT): Likewise.
8340 (MIN_SUBNORM_VALUE_INIT): Likewise.
8341 (plus_zero): Initialize with PLUS_ZERO_INIT.
8342 (minus_zero): Initialize with MINUS_ZERO_INIT.
8343 (plus_infty): Initialize with PLUS_INFTY_INIT.
8344 (minus_infty): Initialize with MINUS_INFTY_INIT.
8345 (qnan_value): Initialize with QNAN_VALUE_INIT.
8346 (max_value): Initialize with MAX_VALUE_INIT.
8347 (min_value): Initialize with MIN_VALUE_INIT.
8348 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8349
ae08db3b
JM
8350 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8351 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8352 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8353 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8354
f44bf14a
JM
8355 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8356 (RUN_TEST_2_f): Likewise.
8357 (RUN_TEST_ff_f): Likewise.
8358 (RUN_TEST_fi_f): Likewise.
8359 (RUN_TEST_fl_f): Likewise.
8360 (RUN_TEST_fff_f): Likewise.
8361 (RUN_TEST_c_f): Likewise.
8362 (RUN_TEST_f_f1): Likewise.
8363 (RUN_TEST_fF_f1): Likewise.
8364 (RUN_TEST_fI_f1): Likewise.
8365 (RUN_TEST_ffI_f1): Likewise.
8366 (RUN_TEST_c_c): Likewise.
8367 (RUN_TEST_cc_c): Likewise.
8368 (RUN_TEST_f_i): Likewise.
8369 (RUN_TEST_f_i_tg): Likewise.
8370 (RUN_TEST_ff_i_tg): Likewise.
8371 (RUN_TEST_f_b): Likewise.
8372 (RUN_TEST_f_b_tg): Likewise.
8373 (RUN_TEST_f_l): Likewise.
8374 (RUN_TEST_f_L): Likewise.
8375 (RUN_TEST_sincos): Likewise.
8376 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8377 whether to show exceptions. Do not include ");\n" in return
8378 value.
8379 (special_functions): Output call to RUN_TEST_sincos instead of
8380 check_float calls. Update calls to new_test.
8381 (parse_args): Output call to single RUN_TEST_* macro instead of
8382 check_* calls and other assignments. Update calls to new_test.
8383
d8cd06db
JM
8384 [BZ #2546]
8385 [BZ #2560]
8386 [BZ #5159]
8387 [BZ #15426]
8388 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8389 input to result for tgamma overflow.
8390 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8391 (gamma_coeff): New variable.
8392 (NCOEFF): New macro.
8393 (gamma_positive): New function.
8394 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8395 underflow here. Use gamma_positive instead of exp (lgamma) for
8396 other arguments.
8397 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8398 (gamma_coeff): New variable.
8399 (NCOEFF): New macro.
8400 (gammaf_positive): New function.
8401 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8402 underflow here. Use gamma_positive instead of exp (lgamma) for
8403 other arguments.
8404 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8405 (gamma_coeff): New variable.
8406 (NCOEFF): New macro.
8407 (gammal_positive): New function.
8408 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8409 underflow here. Use gamma_positive instead of exp (lgamma) for
8410 other arguments.
8411 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8412 (gamma_coeff): New variable.
8413 (NCOEFF): New macro.
8414 (gammal_positive): New function.
8415 (__ieee754_gammal_r): Handle positive infinity, overflow and
8416 underflow here. Handle NaN the same as positive infinity. Remove
8417 check x < 0xffffffff for negative integers. Use gamma_positive
8418 instead of exp (lgamma) for other arguments.
8419 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8420 (gamma_coeff): New variable.
8421 (NCOEFF): New macro.
8422 (gammal_positive): New function.
8423 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8424 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8425 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8428 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8429 * sysdeps/generic/math_private.h (__gamma_productf): New
8430 prototype.
8431 (__gamma_product): Likewise.
8432 (__gamma_productl): Likewise.
8433 * math/Makefile (libm-calls): Add gamma_product.
8434 * math/libm-test.inc (tgamma_test): Add more tests.
8435 * sysdeps/i386/fpu/libm-test-ulps: Update.
8436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8437
bb7cf681
OB
84382013-05-08 Ondřej Bílka <neleai@seznam.cz>
8439
8440 * benchtests/bench-skeleton.c (main): Preheat CPU.
8441
ba853947
AJ
84422013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8443
8444 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8445
8347c74c
RM
84462013-05-07 Roland McGrath <roland@hack.frob.com>
8447
8448 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8449 and _dl_skip_args_internal.
8450
e8dd4791
CD
84512013-05-07 Carlos O'Donell <carlos@redhat.com>
8452
8453 * manual/message.texi (Message Translation): Talk about users.
8454 Message to key mapping impacts design.
8455
c7405830
RM
84562013-05-06 Roland McGrath <roland@hack.frob.com>
8457
a9173057
RM
8458 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8459
976e2f03
RM
8460 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8461
9723ffc5
RM
8462 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8463 * sysdeps/wordsize-64/glob64.c: ... here.
8464
962e6658
RM
8465 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8466 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8467 New macros.
8468
ee586a6d
RM
8469 * debug/getlogin_r_chk.c: Moved to ...
8470 * login/getlogin_r_chk.c: ... here.
8471 * debug/Makefile (routines): Move getlogin_r_chk to ...
8472 * login/Makefile (routines): ... here.
8473 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8474 * login/Versions (libc: GLIBC_2.4): ... here.
8475
355f9165
RM
8476 * io/poll.c (__poll): Renamed from poll.
8477 Add libc_hidden_def.
8478 (poll): Define as weak alias.
8479
bd9ffde6
RM
8480 * debug/ptsname_r_chk.c: Moved to ...
8481 * login/ptsname_r_chk.c: ... here.
8482 * debug/Makefile (routines): Move ptsname_r_chk to ...
8483 * login/Makefile (routines): ... here.
8484 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8485 * login/Versions (libc: GLIBC_2.4): ... here.
8486
8fb16a04
RM
8487 * posix/getlogin.c: Moved to ...
8488 * login/getlogin.c: ... here.
8489 * posix/getlogin_r.c: Moved to ...
8490 * login/getlogin_r.c: ... here.
8491 * posix/getlogin_r.c: Moved to ...
8492 * login/getlogin_r.c: ... here.
8493 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8494 * login/Makefile (routines): ... here.
8495 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8496 * login/Versions (libc: GLIBC_2.0): ... here.
8497
b99b892f
RM
8498 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8499 (setrlimit): Define as weak alias.
8500
c7405830
RM
8501 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8502 Call __ names for open, ftruncate, and close.
8503 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8504 (truncate): Define as weak alias.
8505
5bf96de5
JM
85062013-05-06 Joseph Myers <joseph@codesourcery.com>
8507
9ea3513c
JM
8508 * math/gen-libm-test.pl (parse_args): Initialize x before each
8509 test of frexp, modf and remquo.
8510
5bf96de5
JM
8511 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8512 test signgam value.
8513
16e616a7
AZ
85142013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8515
8516 [BZ #15418]
8517 [BZ #15419]
8518 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8519 internal tests.
8520 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8521
d5e82754
RM
85222013-05-06 Roland McGrath <roland@hack.frob.com>
8523
8524 * elf/dl-writev.h: New file.
8525 * elf/dl-misc.c: Include it.
8526 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8527 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8528
a7548d41
JM
85292013-05-04 Joseph Myers <joseph@codesourcery.com>
8530
b7dab1e4
JM
8531 * math/libm-test.inc (noXFails): Remove variable.
8532 (noXPasses): Likewise.
8533 (BUILD_COMPLEX_INT): Remove macro.
8534 (print_screen): Remove xfail argument.
8535 (print_screen_max_error): Likewise.
8536 (update_stats): Likewise.
8537 (print_max_error): Likewise. Update calls to other affected
8538 functions.
8539 (print_complex_max_error): Likewise.
8540 (test_single_exception): Update calls to print_screen.
8541 (test_single_errno): Likewise.
8542 (check_float_internal): Remove xfail argument. Update calls to
8543 other affected functions.
8544 (check_float): Likewise.
8545 (check_complex): Likewise.
8546 (check_int): Likewise.
8547 (check_long): Likewise.
8548 (check_bool): Likewise.
8549 (check_longlong): Likewise.
8550 (main): Don't print noXFails and noXPasses.
8551 * math/gen-libm-test.pl (top level): Don't mention expected
8552 failure handling in comment.
8553 (new_test): Don't handle expected failures.
8554 (parse_args): Don't mention expected failure handling in comment.
8555 (generate_testfile): Don't handle expected failures.
8556 (parse_ulps): Likewise.
8557 (print_ulps_file): Likewise.
8558 (get_failure): Remove function.
8559 (output_test): Don't handle expected failures.
8560 * make/README.libm-test: Don't mention expected failure handling.
8561
a7548d41
JM
8562 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8563 (minus_zero): Likewise.
8564 (plus_infty): Likewise.
8565 (minus_infty): Likewise.
8566 (qnan_value): Likewise.
8567 (max_value): Likewise.
8568 (min_value): Likewise.
8569 (min_subnorm_value): Likewise.
8570 (initialize): Do not initialize those variables dynamically.
8571
60bfd54c
RM
85722013-05-03 Roland McGrath <roland@hack.frob.com>
8573
cc0e6ed8
RM
8574 * io/open.c (__open_2): Moved to ...
8575 * io/open_2.c: ... this new file.
8576 * io/open64.c (__open64_2): Moved to ...
8577 * io/open64_2.c: ... this new file.
8578 * io/openat.c (__openat_2): Moved to ...
8579 * io/openat_2.c: ... this new file.
8580 * io/openat64.c (__openat64_2): Moved to ...
8581 * io/openat64_2.c: ... this new file.
8582 * io/Makefile (routines): Add them.
8583 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8584 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8585 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8586 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8587 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8588 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8589 (__openat64): Add hidden_ver.
8590 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8591 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8592
60bfd54c
RM
8593 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8594 Separately conditionalize setting of GLRO(dl_sysinfo) so
8595 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8596 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8597
83e7640f
AZ
85982013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8599
8600 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8601 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8602 definition.
8603 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8604 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8605 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8606 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8607 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8608
d5dc2af3
JM
86092013-05-03 Joseph Myers <joseph@codesourcery.com>
8610
c31a5b1e
JM
8611 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8612 test signgam value.
8613
d5dc2af3
JM
8614 * math/libm-test.inc (hypot_test): Do not use
8615 IGNORE_ZERO_INF_SIGN.
8616
164fd39d
AJ
86172013-05-03 Andreas Jaeger <aj@suse.de>
8618
8619 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8620 Linux 3.9.
8621 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8622 (PF_MAX): Adjust for VSOCK change.
8623
8237f48c
AZ
86242013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8625
8626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8627
9df02941
CD
86282013-05-02 Carlos O'Donell <carlos@redhat.com>
8629
8630 [BZ #15264]
8631 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8632 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8633 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8634
d422395e
DM
86352013-05-02 David S. Miller <davem@davemloft.net>
8636
8637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8638
a07c5731
OB
86392013-05-01 Ondřej Bílka <neleai@seznam.cz>
8640
8641 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8642
1324e37f
RM
86432013-05-01 Roland McGrath <roland@hack.frob.com>
8644
8645 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8646
0695940b
RS
86472013-05-01 Richard Smith <richard@metafoo.co.uk>
8648
bb5f27ad 8649 [BZ #14952]
0695940b
RS
8650 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8651 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8652 Use __attribute__ ((__gnu_inline__)).
8653 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8654 Don't use __attribute__ ((__gnu_inline__)).
8655
10de07f5
JM
86562013-05-01 Joseph Myers <joseph@codesourcery.com>
8657
8658 [BZ #15423]
8659 * math/s_catan.c (__catan): Handle small real or imaginary part of
8660 input specially to avoid spurious underflow.
8661 * math/s_catanf.c (__catanf): Likewise.
8662 * math/s_catanh.c (__catanh): Likewise.
8663 * math/s_catanhf.c (__catanhf): Likewise.
8664 * math/s_catanhl.c (__catanhl): Likewise.
8665 * math/s_catanl.c (__catanl): Likewise.
8666 * math/libm-test.inc (catan_test): Add more tests.
8667 (catanh_test): Likewise.
8668 * sysdeps/i386/fpu/libm-test-ulps: Update.
8669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8670
cb4d5414
AZ
86712013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8672
8673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8674
caf84319
JM
86752013-04-30 Joseph Myers <joseph@codesourcery.com>
8676
8677 [BZ #15416]
8678 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8679 accurately for denominator in atan2.
8680 * math/s_catanf.c (__catanf): Likewise.
8681 * math/s_catanh.c (__catanh): Likewise.
8682 * math/s_catanhf.c (__catanhf): Likewise.
8683 * math/s_catanhl.c (__catanhl): Likewise.
8684 * math/s_catanl.c (__catanl): Likewise.
8685 * math/libm-test.inc (catan_test): Add more tests.
8686 (catanh_test): Likewise.
8687 * sysdeps/i386/fpu/libm-test-ulps: Update.
8688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8689
d569c6ee
SP
86902013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8691
6dbe713d
SP
8692 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8693
f0ee064b
SP
8694 * benchtests/Makefile (bench): Remove slow benchmarks.
8695 * benchtests/atan-inputs: Add slow benchmark inputs.
8696 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8697 (BENCH_FUNC): Accept variant offset.
8698 (VARIANT): Define.
8699 * benchtests/bench-skeleton.c (main): Run benchmark for each
8700 variant.
8701 * benchtests/cos-inputs: Add slow benchmark inputs.
8702 * benchtests/exp-inputs: Likewise.
8703 * benchtests/pow-inputs: Likewise.
8704 * benchtests/sin-inputs: Likewise.
8705 * benchtests/slowatan-inputs: Remove.
8706 * benchtests/slowatan.c: Remove.
8707 * benchtests/slowcos-inputs: Remove.
8708 * benchtests/slowcos.c: Remove.
8709 * benchtests/slowexp-inputs: Remove.
8710 * benchtests/slowexp.c: Remove.
8711 * benchtests/slowpow-inputs: Remove.
8712 * benchtests/slowpow.c: Remove.
8713 * benchtests/slowsin-inputs: Remove.
8714 * benchtests/slowsin.c: Remove.
8715 * benchtests/slowtan-inputs: Remove.
8716 * benchtests/slowtan.c: Remove.
8717 * benchtests/tan-inputs: Add slow benchmark inputs.
8718 * scripts/bench.pl: Parse comments and directives.
8719
d569c6ee
SP
8720 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8721 in CPPFLAGS.
8722 ($(objpfx)bench-%.c): Remove *-ITER.
8723 * benchtests/bench-modf.c: Remove definition of ITER.
8724 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8725 (main): Loop for DURATION seconds instead of fixed number of
8726 iterations.
8727 * scripts/bench.pl: Don't expect iterations in parameters.
8728
a6a242fe
RM
87292013-04-29 Roland McGrath <roland@hack.frob.com>
8730
8731 * io/fchdir.c (__fchdir): Renamed from fchdir.
8732 (fchdir): Define as weak alias.
8733
f2da7793
JM
87342013-04-29 Joseph Myers <joseph@codesourcery.com>
8735
8736 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8737 (ERRNO_EDOM): Likewise.
8738 (ERRNO_ERANGE): Likewise.
8739 (noErrnoTests): New variable.
8740 (init_max_error): Set errno to 0.
8741 (test_single_errno): New function.
8742 (test_errno): Likewise.
8743 (check_float_internal): Call test_errno. Set errno to 0.
8744 (check_complex): Refer to errno tests in comment.
8745 (check_int): Call test_errno. Set errno to 0.
8746 (check_long): Likewise.
8747 (check_bool): Likewise.
8748 (check_longlong): Likewise.
8749 (cos_test): Use ERRNO_* flags for errno tests instead of
8750 check_int.
8751 (expm1_test): Likewise.
8752 (fmod_test): Likewise.
8753 (ilogb_test): Likewise.
8754 (lgamma_test): Likewise.
8755 (pow_test): Likewise.
8756 (remainder_test): Likewise.
8757 (sin_test): Likewise.
8758 (tan_test): Likewise.
8759 (yn_test): Likewise.
8760 (initialize): Set errno to 0.
8761 (main): Print number of errno tests.
8762 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8763
b1a36ceb
AJ
87642013-04-29 Andreas Jaeger <aj@suse.de>
8765
c3ed8088
AJ
8766 [BZ #15084]
8767 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8768 and RES_USEVC.
8769
f1a24198
AJ
8770 [BZ #15085]
8771 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8772 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8773 unimplemented.
8774
9ce3b2cb
AJ
8775 [BZ #15380]
8776 * stdlib/random.c (__initstate): Return NULL if
8777 __initstate fails.
8778
f1a24198 8779 [BZ #15086]
b1a36ceb
AJ
8780 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8781 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8782 RES_SNGLKUPREOP.
8783
7e7b6f36
AZ
87842013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8785
8786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8787
4d14f449
JM
87882013-04-29 Joseph Myers <joseph@codesourcery.com>
8789
8790 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8791 of individual tests.
8792 (casin_test): Likewise.
8793 (casinh_test): Likewise.
8794
5b4217d7
JM
87952013-04-27 Joseph Myers <joseph@codesourcery.com>
8796
8797 [BZ #15409]
8798 * math/s_catan.c (__catan): Handle arguments with large real or
8799 imaginary part separately without squaring.
8800 * math/s_catanf.c (__catanf): Likewise.
8801 * math/s_catanh.c (__catanh): Likewise.
8802 * math/s_catanhf.c (__catanhf): Likewise.
8803 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8804 and redefine.
8805 (__catanhl): Handle arguments with large real or imaginary part
8806 separately without squaring.
8807 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8808 and redefine.
8809 (__catanl): Handle arguments with large real or imaginary part
8810 separately without squaring.
8811 * math/libm-test.inc (catan_test): Add more tests.
8812 (catanh_test): Likewise.
8813 * sysdeps/i386/fpu/libm-test-ulps: Update.
8814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8815
4220c3ef
AJ
88162013-04-27 Andreas Jaeger <aj@suse.de>
8817
8818 [BZ #15007]
8819 * stdlib/stdlib.h: Update guards for qecvt.
8820 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8821 <stdlib.h>.
8822
4721b2d1
AM
88232013-04-27 Allan McRae <allan@archlinux.org>
8824
8825 * sysdeps/i386/fpu/libm-test-ulps: Update.
8826
f0302940
JM
88272013-04-26 Joseph Myers <joseph@codesourcery.com>
8828
9457fd95
JM
8829 [BZ #15406]
8830 * math/s_catan.c: Include <float.h>.
8831 (__catan): Ensure underflow exception occurs for underflowed
8832 result.
8833 * math/s_catanf.c: Include <float.h>.
8834 (__catanf): Ensure underflow exception occurs for underflowed
8835 result.
8836 * math/s_catanh.c: Include <float.h>.
8837 (__catanh): Ensure underflow exception occurs for underflowed
8838 result.
8839 * math/s_catanhf.c: Include <float.h>.
8840 (__catanhf): Ensure underflow exception occurs for underflowed
8841 result.
8842 * math/s_catanhl.c: Include <float.h>.
8843 (__catanhl): Ensure underflow exception occurs for underflowed
8844 result.
8845 * math/s_catanl.c: Include <float.h>.
8846 (__catanl): Ensure underflow exception occurs for underflowed
8847 result.
8848 * math/libm-test.inc (catan_test): Add more tests.
8849 (catanh_test): Likewise.
8850
f0302940
JM
8851 [BZ #15405]
8852 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8853 underflowed result.
8854 * math/s_ccoshf.c (__ccoshf): Likewise.
8855 * math/s_ccoshl.c (__ccoshl): Likewise.
8856 * math/s_csin.c (__csin): Likewise.
8857 * math/s_csinf.c (__csinf): Likewise.
8858 * math/s_csinh.c (__csinh): Likewise.
8859 * math/s_csinhf.c (__csinhf): Likewise.
8860 * math/s_csinhl.c (__csinhl): Likewise.
8861 * math/s_csinl.c (__csinl): Likewise.
8862 * math/libm-test.inc (ccos_test): Add more tests.
8863 (ccosh_test): Likewise.
8864 (csin_test): Likewise.
8865 (csinh_test): Likewise.
8866
aa630f59
AZ
88672013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8868
8869 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8870 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8871 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8872 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8873 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8874 powerpc/power5+/fpu folders.
8875 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8876
8877
1b835983
MT
88782013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8879
8880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8881
73709b26
JM
88822013-04-25 Joseph Myers <joseph@codesourcery.com>
8883
8884 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8885 additions to variable.
8886 [$(config-machine) = x86_64] (modules-names): Likewise.
8887 ($(objpfx)tst-audit3): Remove dependency.
8888 ($(objpfx)tst-audit3.out): Likewise.
8889 ($(objpfx)tst-audit4): Likewise.
8890 ($(objpfx)tst-audit4.out): Likewise.
8891 ($(objpfx)tst-audit5): Likewise.
8892 ($(objpfx)tst-audit5.out): Likewise.
8893 ($(objpfx)tst-audit6): Likewise.
8894 ($(objpfx)tst-audit6.out): Likewise.
8895 ($(objpfx)tst-audit7): Likewise.
8896 ($(objpfx)tst-audit7.out): Likewise.
8897 (tst-audit3-ENV): Remove variable.
8898 (tst-audit4-ENV): Likewise.
8899 (tst-audit5-ENV): Likewise.
8900 (tst-audit6-ENV): Likewise.
8901 (tst-audit7-ENV): Likewise.
8902 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8903 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8904 addition to variable.
8905 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8906 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8907 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8908 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8909 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8910 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8911 tst-audit3, tst-audit4 and tst-audit5.
8912 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8913 tst-audit6 and tst-audit7.
8914 [$(subdir) = elf] (modules-names): Add audit modules for those
8915 tests.
8916 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8917 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8918 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8919 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8920 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8921 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8922 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8923 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8924 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8925 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8926 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8927 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8928 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8929 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8930 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8931 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8932 Likewise.
8933 [$(subdir) = elf && $(config-cflags-avx) = yes]
8934 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8935 [$(subdir) = elf && $(config-cflags-avx) = yes]
8936 (CFLAGS-tst-auditmod4a.c): Likewise.
8937 [$(subdir) = elf && $(config-cflags-avx) = yes]
8938 (CFLAGS-tst-auditmod4b.c): Likewise.
8939 [$(subdir) = elf && $(config-cflags-avx) = yes]
8940 (CFLAGS-tst-auditmod6b.c): Likewise.
8941 [$(subdir) = elf && $(config-cflags-avx) = yes]
8942 (CFLAGS-tst-auditmod6c.c): Likewise.
8943 [$(subdir) = elf && $(config-cflags-avx) = yes]
8944 (CFLAGS-tst-auditmod7b.c): Likewise.
8945 * elf/tst-audit3.c: Move to ...
8946 * sysdeps/x86_64/tst-audit3.c: ... here.
8947 * elf/tst-audit4.c: Move to ...
8948 * sysdeps/x86_64/tst-audit4.c: ... here.
8949 * elf/tst-audit5.c: Move to ...
8950 * sysdeps/x86_64/tst-audit5.c: ... here.
8951 * elf/tst-audit6.c: Move to ...
8952 * sysdeps/x86_64/tst-audit6.c: ... here.
8953 * elf/tst-audit7.c: Move to ...
8954 * sysdeps/x86_64/tst-audit7.c: ... here.
8955 * elf/tst-auditmod3a.c: Move to ...
8956 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8957 * elf/tst-auditmod3b.c: Move to ...
8958 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8959 * elf/tst-auditmod4a.c: Move to ...
8960 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8961 * elf/tst-auditmod4b.c: Move to ...
8962 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8963 * elf/tst-auditmod5a.c: Move to ...
8964 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8965 * elf/tst-auditmod5b.c: Move to ...
8966 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8967 * elf/tst-auditmod6a.c: Move to ...
8968 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8969 * elf/tst-auditmod6b.c: Move to ...
8970 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8971 * elf/tst-auditmod6c.c: Move to ...
8972 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8973 * elf/tst-auditmod7a.c: Move to ...
8974 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8975 * elf/tst-auditmod7b.c: Move to ...
8976 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8977
1ef74943
PP
89782013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8979
8980 [BZ #15366]
8981 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8982 define unconditionally.
8983 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8984 define unconditionally.
8985 (INT8_C, INT16_C, etc.): Likewise.
8986
93fd48c5
MR
89872013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8988
ae9552cf
MR
8989 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8990 __ehdr_start with hidden visibility.
8991
93fd48c5
MR
8992 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8993
418601aa
CD
89942013-04-24 Carlos O'Donell <carlos@redhat.com>
8995
8996 * math/libm-test.inc (cos_test): Use accurate hex constants.
8997 (sincost_test): Likewise.
8998
2f38fbfe
JM
89992013-04-24 Joseph Myers <joseph@codesourcery.com>
9000
5e221800
JM
9001 * math/libm-test.inc (catan_test): Add more tests.
9002 (catanh_test): Likewise.
9003
77f143fd
JM
9004 * math/s_catanf.c (__catanf): Use suffixed floating-point
9005 constants.
9006 * math/s_catanhf.c (__catanhf): Likewise.
9007 * math/s_catanhl.c (__catanhl): Likewise.
9008 * math/s_catanl.c (__catanl): Likewise.
9009
2f38fbfe
JM
9010 [BZ #15394]
9011 * math/s_catan.c (__catan): Calculate imaginary part of result
9012 with log1p not log unless computing log of number close to 0.
9013 * math/s_catanf.c (__catanf): Likewise.
9014 * math/s_catanl.c (__catanl): Likewise.
9015 * math/s_catanh.c (__catanh): Calculate real part of result with
9016 log1p not log unless computing log of number close to 0.
9017 * math/s_catanhf.c (__catanhf): Likewise.
9018 * math/s_catanhl.c (__catanhl): Likewise.
9019 * math/libm-test.inc (catan_test): Add more tests.
9020 (catanh_test): Likewise.
9021 * sysdeps/i386/fpu/libm-test-ulps: Update.
9022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9023
45d69176
SP
90242013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9025
9026 * benchtests/Makefile: Mention files in which fast and slow
9027 paths of math functions are implemented.
9028
87f51853
RM
90292013-04-23 Roland McGrath <roland@hack.frob.com>
9030
9031 * sysdeps/posix/timespec_get.c: New file.
9032
3c026539
AZ
90332013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9034
9035 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9036 POWER.
9037 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9038 for POWER.
9039 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9040 powerpc/power5/fpu folders.
9041 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9042 * benchtests/Makefile: Add modf testcase.
9043 * benchtests/bench-modf.c: New file: Benchmark test for mo
9044
ff491d14
SP
90452013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9046
9047 [BZ #14888]
9048 * time/Makefile (tests): Add tst-strptime-whitespace.
9049 * time/strptime_l.c (get_number): Use ISSPACE.
9050 (__strptime_internal): Likewise.
9051 * time/tst-strptime-whitespace.c: New test case.
9052
7ed3f4e8
AS
90532013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9054
9055 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9056 member.
9057 (_nss_files_init): Set it here.
9058
5c95f7b6
HC
90592013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9060
9061 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9062 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9063 unsigned.
9064
d34c9158
JBG
90652013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9066
9067 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9068
2169712d
SP
90692013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9070
9071 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9072 size just once.
9073
29c5de99
DM
90742013-04-21 David S. Miller <davem@davemloft.net>
9075
9076 * po/ru.po: Update Russion translation from translation project.
9077
ccdad15d
AC
90782013-04-17 Adam Conrad <adconrad@0c3.net>
9079
9080 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9081 and setfsgid.
9082
0f122b8d
CD
90832013-04-17 Carlos O'Donell <carlos@redhat.com>
9084
5c5b07da 9085 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9086 * configure: Regenerate.
5c5b07da 9087 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9088 Add example to error message.
9089 * sysdeps/i386/configure: Regenerate.
9090
037714dd
SP
90912013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9092
9093 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9094 slowtan.
9095 * benchtests/cos-inputs: New file.
9096 * benchtests/slowcos-inputs: New file.
9097 * benchtests/slowcos.c: New file.
9098 * benchtests/slowtan-inputs: New file.
9099 * benchtests/slowtan.c: New file.
9100 * benchtests/tan-inputs: New file.
9101
e913141d
RM
91022013-04-16 Roland McGrath <roland@hack.frob.com>
9103
9104 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9105 considered kosher.
9106
a2964074
SP
91072013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9108
4856bcd2
SP
9109 * benchtests/Makefile: Include cppflags-iterator.mk to add
9110 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9111
a2964074
SP
9112 * Makefile.in (bench-clean): New target.
9113 * benchtests/Makefile (bench-clean): Likewise.
9114
9fbf9aca
DH
91152013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9116
9117 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9118
207d1e2a
TS
91192013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9120
9121 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9122
306dfba9
AS
91232013-04-15 Andreas Schwab <schwab@suse.de>
9124
9125 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9126 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9127 * nscd/pwdcache.c (cache_addpw): Likewise.
9128 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9129 more than recsize.
9130
206a6699
SP
91312013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9132
9133 * benchtests/Makefile (bench): Write all output to
9134 bench-out.tmp together.
9135
0582f6b3
AS
91362013-04-15 Andreas Schwab <schwab@suse.de>
9137
9138 * nscd/nscd.c (main): Don't fork again after closing files.
9139
acb4325f
SP
91402013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9141
5cb26d0a
SP
9142 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9143
acb4325f
SP
9144 * benchtests/Rules (bench-deps): Collect dependencies into a
9145 single variable. Add Makefile to dependencies.
9146 ($(objpfx)bench-%.c): Depend on bench-deps.
9147
47792506
RM
91482013-04-12 Roland McGrath <roland@hack.frob.com>
9149 Xavier Roche <roche+kml2@exalead.com>
9150
9151 [BZ #15361]
9152 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9153 just that it's a file descriptor.
9154 * manual/llio.texi (Synchronizing AIO Operations): Update description
9155 for EBADF error from aio_fsync.
9156
8fc1bee5
SP
91572013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9158
9159 * Rules (bench): Move target definition...
9160 * benchtests/Makefile: ... here.
9161
aba5e333
CD
91622013-04-11 Carlos O'Donell <carlos@redhat.com>
9163
9164 * math/libm-test.inc (cos_test): Fix PI/2 test.
9165 (sincos_test): Likewise.
9166 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9167 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9168
273cdee8
AS
91692013-04-11 Andreas Schwab <schwab@suse.de>
9170
6ecec3b6
AS
9171 [BZ #13988]
9172 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9173 accept exponent character only when digits were seen.
9174 * stdio-common/Makefile (tests): Add bug26.
9175 * stdio-common/bug26.c: New file.
9176
273cdee8
AS
9177 [BZ #14293]
9178 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9179 non-freeable.
9180
8da491f5
SP
91812013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9182
01dc6df9
SP
9183 * Makeconfig (rtld-prefix): Define built linker prefix.
9184 * Rules (run-bench): Use it.
9185 * math/Makefile (run-regen-ulps): Likewise.
9186
8da491f5
SP
9187 * Rules (bench): Remove eval.
9188
abe7f530
SP
91892013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9190 Roland McGrath <roland@hack.frob.com>
9191 Ondrej Bilka <neleai@seznam.cz>
9192
9193 [BZ #15346]
9194 * time/getdate.c: Include ctype.h and alloca.h.
9195 (__getdate_r): Trim leading and trailing spaces of input.
9196 * time/tst-getdate.c (tests): Add tests with leading and
9197 trailing spaces.
9198
61c23e62
RM
91992013-04-08 Roland McGrath <roland@hack.frob.com>
9200
9201 [BZ #14280]
9202 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9203 when computing value.
9204
7208a313
CD
92052013-04-06 Carlos O'Donell <carlos@redhat.com>
9206
085b2d41
CD
9207 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9208 Use testrun.sh to run libm tests.
9209
7208a313
CD
9210 [BZ #15309]
9211 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9212
872c0acd
MM
92132013-04-06 Marko Myllynen <myllynen@redhat.com>
9214
9215 [BZ #15264]
9216 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9217
26510bdd
CD
92182013-04-06 Carlos O'Donell <carlos@redhat.com>
9219
9220 * Makefile.in (regen-ulps): New target.
9221 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9222 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9223 [ifneq (no,$(PERL)] (regen-ulps): New target.
9224 [ifeq (no,$(PERL)] (regen-ulps): New target.
9225 * math/libm-test.inc (ulps_file_name): Define.
9226 (output_dir): New variable.
9227 (options): Add "output-dir" option.
9228 (parse_opt): Handle 'o' case.
9229 (main): If output_dir is non-NULL use it as a prefix
9230 otherwise use "".
9231 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9232
a01f19c8
CD
92332013-04-06 Carlos O'Donell <carlos@redhat.com>
9234
9235 [BZ #10060, #10062]
9236 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9237 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9238 fail configure if __sync_val_compare_and_swap is not inlined.
9239 * sysdeps/i386/configure: Regenerate.
9240 * configure.in: Build for i686 when configured for i386.
9241 * configure: Regenerate.
9242 * README: Remove i386 reference.
9243
b7a329a5
CD
92442013-04-06 Carlos O'Donell <carlos@redhat.com>
9245
9246 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9247 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9248
bf0f50df
TS
92492013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9250
ee091edf
TS
9251 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9252 (lmsnanval): New variables.
9253 (F): Add conversion tests.
9254 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9255 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9256
a8b792d6
TS
9257 * stdio-common/tstdiomisc.c (F): Properly collect individual
9258 tests' results.
9259
a1cbf437
TS
9260 [BZ #14686, #15336]
9261 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9262 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9263 Instead, use input NaN values or generate a qNaN by arithmetic
9264 operation. Also fix bugs to comply with the standard.
9265 * math/libm-test.inc (remainder_test): Add more tests.
9266
8b43a0c9
TS
9267 [BZ #15335, #15342]
9268 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9270 input NaN values or generate a qNaN by arithmetic operation.
9271
d91da4ce
TS
9272 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9273 unreachable code.
9274
bf0f50df
TS
9275 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9276 definitions.
9277
05e166c8
JM
92782013-04-03 Joseph Myers <joseph@codesourcery.com>
9279
9280 [BZ #14478]
9281 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9282 underflowed result.
9283 * math/s_cexpf.c (__cexpf): Likewise.
9284 * math/s_cexpl.c (__cexpl): Likewise.
9285 * math/libm-test.inc (cexp_test): Add more tests.
9286
1cef1b19
AS
92872013-04-03 Andreas Schwab <schwab@suse.de>
9288
9289 [BZ #15330]
9290 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9291 order arrays from heap if bigger than alloca cutoff.
9292
74d87055
TS
92932013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9294
9295 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9296 (SNAN_TESTS_double): Refer to GCC PR56831.
9297 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9298 GCC PR56828.
9299
d755bba4
SP
93002013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9301
90d5d5bb
SP
9302 * Rules (bench): Move bench.out after the run is complete.
9303
73e0cd5d
SP
9304 * Rules (bench): Echo currently running benchmark.
9305
64aabd4b
SP
9306 * benchtests/Makefile (bench): Add atan and slowatan.
9307 * benchtests/atan-inputs: New file.
9308 * benchtests/slowatan-inputs: New file.
9309 * benchtests/slowatan.c: New file.
9310
c871eccd
SP
9311 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9312 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9313 its value.
9314
d755bba4
SP
9315 [BZ #15305]
9316 * sysdeps/unix/sysv/linux/kernel-features.h
9317 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9318 __ASSUME_XFS_RESTRICTED_CHOWN.
9319 * sysdeps/unix/sysv/linux/pathconf.c
9320 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9321 Save and restore errno.
9322
52ce4860
JM
93232013-04-02 Joseph Myers <joseph@codesourcery.com>
9324
9325 [BZ #15327]
9326 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9327 arguments using __kernel_casinh.
9328 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9329 arguments using __kernel_casinhf.
9330 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9331 arguments using __kernel_casinhl.
9332 * math/libm-test.inc (cacosh_test): Add more tests.
9333 * sysdeps/i386/fpu/libm-test-ulps: Update.
9334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9335
81f311c2
SP
93362013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9337
e7906a47
SP
9338 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9339 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9340
92e3664b
SP
9341 * bench/Makefile (bench): Add sin and slowsin.
9342 * benchtests/sin-inputs: New file.
9343 * benchtests/slowsin-inputs: New file.
9344 * benchtests/slowsin.c: New file.
9345
81f311c2
SP
9346 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9347 (bench): Add slowexp and slowpow.
9348 (exp-ITER): Increase iterations.
9349 (pow-ITER): Likewise.
9350 * benchtests/exp-inputs: Change input.
9351 * benchtests/pow-inputs: Likewise.
9352 * benchtests/slowexp-inputs: New file.
9353 * benchtests/slowexp.c: New file.
9354 * benchtests/slowpow-inputs: New file.
9355 * benchtests/slowpow.c: New file.
9356
ab0f1aa9
AZ
93572013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9358
9359 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9360 instructions.
9361 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9362 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9363 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9364 * benchtests/Makefile: Add rint benchtest.
9365 * benchtests/rint-inputs: Input for rint benchtest.
9366
57267616
TS
93672013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9368
9369 * Versions.def (libm): Add GLIBC_2.18.
9370 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9371 hidden libm prototypes.
9372 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9373 * math/Makefile (libm-calls): Add s_issignaling.
9374 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9375 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9376 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9377 declaration.
9378 * math/math.h [__USE_GNU] (issignaling): New macro.
9379 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9380 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9381 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9382 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9383 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9384 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9385 * manual/arith.texi (issignaling): New section.
9386 * manual/libm-err-tab.pl (@all_functions): Update comment.
9387 * math/gen-libm-test.pl (parse_args): Apply special handling for
9388 issignaling.
9389 * math/libm-test.inc (print_float, issignaling_test): New
9390 functions.
9391 (check_float_internal): Add issignaling checks.
9392 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9393 default definition.
9394 * sysdeps/powerpc/math-tests.h: New file.
9395 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9396 tests.
9397 * math/test-snan.c (TEST_FUNC): Likewise.
9398
6142896d
DM
93992013-03-30 David S. Miller <davem@davemloft.net>
9400
9401 * po/de.po: Update from translation team.
9402
ccc8cadf
JM
94032013-03-30 Joseph Myers <joseph@codesourcery.com>
9404
9405 [BZ #10357]
9406 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9407 imaginary part less than 1.0 and real part less than 0.5
9408 specially.
9409 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9410 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9411 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9412 (cacos_test): Add more tests.
9413 (casin_test): Likewise.
9414 (casinh_test): Likewise.
9415 * sysdeps/i386/fpu/libm-test-ulps: Update.
9416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9417
0f6a8d4b
SP
94182013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9419
0d1029de
SP
9420 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9421 ONE with its value.
9422
c2d94018
SP
9423 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9424 (__pow_mp): Replace ONE and MONE with their values.
9425 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9426 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9427 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9428 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9429 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9430 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9431
27ec37f1
SP
9432 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9433
a64d7e0e
SP
9434 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9435 (__pow_mp): Replace ZERO and MZERO with their values.
9436 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9437 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9438 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9439 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9440 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9441 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9442 (__sqr): Likewise.
9443
d26dd3eb
SP
9444 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9445
0f6a8d4b
SP
9446 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9447
e57b0c61
RM
94482013-03-28 Roland McGrath <roland@hack.frob.com>
9449
9450 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9451 Declare with __attribute__ ((weak)).
9452 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9453 Call __call_tls_dtors only if it's not NULL.
9454
356b3480
RM
94552013-03-28 Roland McGrath <roland@hack.frob.com>
9456
288f7d79
RM
9457 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9458 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9459 magic __ehdr_start linker symbol if it's defined.
9460 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9461 them up here if it was already done.
9462
dc0a0263
RM
9463 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9464 (_dl_aux_init): Use const in cast when setting it.
9465 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9466 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9467 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9468
3d3436ae
RM
9469 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9470 Declare them here.
9471 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9472 * csu/libc-tls.c: Nor here.
9473 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9474
356b3480
RM
9475 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9476 (__libc_message): Never call vsyslog.
9477
b0f1246a
AM
94782013-03-28 Alan Modra <amodra@gmail.com>
9479
9480 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9481 Define as empty.
9482 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9483 Likewise.
9484
fbbe2b9a
AZ
94852013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9486
9487 [BZ #15214]
9488 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9489 underflow.
9490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9491
1728ab37
SP
94922013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9493
7a86be6e
SP
9494 [BZ #15304]
9495 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9496 Don't add gid passed as argument.
9497
1728ab37
SP
9498 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9499
3a7182a1
JM
95002013-03-27 Joseph Myers <joseph@codesourcery.com>
9501
9502 [BZ #15307]
9503 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9504 imaginary part between 1.0 and 1.5 and real part less than 0.5
9505 specially.
9506 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9507 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9508 * math/libm-test.inc (cacos_test): Add more tests.
9509 (casin_test): Likewise.
9510 (casinh_test): Likewise.
9511 * sysdeps/i386/fpu/libm-test-ulps: Update.
9512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9513
6f2e90e7
SP
95142013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9515
5739f705
SP
9516 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9517 constants.
9518 (norm): Likewise.
9519 (denorm): Likewise.
9520 (__dbl_mp): Likewise.
9521 (add_magnitudes): Likewise.
9522 (sub_magnitudes): Likewise.
9523 (__add): Likewise.
9524 (__sub): Likewise.
9525 (__mul): Likewise.
9526 (__sqr): Likewise.
9527 (__inv): Likewise.
9528 (__dvd): Likewise.
9529
e375e83d
SP
9530 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9531 commented code.
9532 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9533 (__dubcos): Likewise.
9534 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9535 (__ieee754_acos): Likewise.
9536 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9537 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9538 (__exp1): Likewise.
9539 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9541 (log1): Likewise.
9542 (my_log2): Likewise.
9543 (checkint): Likewise.
9544 * sysdeps/ieee754/dbl-64/e_remainder.c
9545 (__ieee754_remainder): Likewise.
9546 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9547 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9548 (bsloww): Likewise.
9549 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9550
6f2e90e7
SP
9551 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9552 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9553 MANTISSA_STORE_T to store computations on mantissa. Use
9554 macros for rounding and division.
9555 (denorm): Likewise.
9556 (__dbl_mp): Likewise.
9557 (add_magnitudes): Likewise.
9558 (sub_magnitudes): Likewise.
9559 (__mul): Likewise.
9560 (__sqr): Likewise.
9561 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9562 powers of two in terms of TWOPOW macro.
9563 (mp_no): Make type of mantissa as MANTISSA_T.
9564 [!RADIXI]: Define RADIXI.
9565 [!TWO52]: Define TWO52.
9566 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9567
fce14d4e
AZ
95682013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9569
9570 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9571 llroundl symbol when building for PPC32.
9572
9ad027fb
MW
95732013-03-24 Mark H Weaver <mhw@netris.org>
9574
9575 * manual/arith.texi (Normalization Functions): Fix prototypes for
9576 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9577
e42a38dd
AZ
95782013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9579
9580 [BZ #13889]
9581 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9582 high value to check if expl overflow.
9583 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9584 to check for underflow and overflow.
9585 * math/libm-test.inc: Add exp test.
9586
2e0fb521
DL
95872013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9588
9589 [BZ #11120]
9590 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9591 with NOT_IN_libc.
9592
b5784d95
AZ
95932013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9594
9595 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9596 symbol.
9597
5aa4a1a1
TS
95982013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9599
bdef0be7
TS
9600 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9601 wrap blocks consisting of several statements.
9602
5aa4a1a1
TS
9603 * sysdeps/generic/math-tests.h: New file.
9604 * sysdeps/i386/fpu/math-tests.h: Likewise.
9605 * math/test-snan.c: Include it.
9606 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9607
98c48fe5
JM
96082013-03-21 Joseph Myers <joseph@codesourcery.com>
9609
9610 [BZ #15285]
9611 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9612 (__ieee754_j0l): Do not improve calculations using cos of twice
9613 input for inputs above LDBL_MAX / 2.0L.
9614 (__ieee754_y0l): Likewise.
9615 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9616 (__ieee754_j1l): Do not improve calculations using cos of twice
9617 input for inputs above LDBL_MAX / 2.0L.
9618 (__ieee754_y1l): Likewise.
9619 * math/libm-test.inc (j0_test): Add another test.
9620 (j1_test): Likewise.
9621 (y0_test): Likewise.
9622 (y1_test): Likewise.
9623 * sysdeps/i386/fpu/libm-test-ulps: Update.
9624
3775a8bc
SP
96252013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9626
9627 * Rules ($(objpfx)bench-%.c): Include code from a C source
9628 file.
9629
0a1b2ae6
JM
96302013-03-21 Joseph Myers <joseph@codesourcery.com>
9631
9632 [BZ #15287]
9633 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9634 imaginary part 1.0 and real part less than 0.5 specially.
9635 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9636 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9637 * math/libm-test.inc (cacos_test): Add more tests.
9638 (casin_test): Likewise.
9639 (casinh_test): Likewise.
9640 * sysdeps/i386/fpu/libm-test-ulps: Update.
9641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9642
b33d4ce4
SP
96432013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9644
9645 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9646 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9647
bef0b507
JM
96482013-03-20 Joseph Myers <joseph@codesourcery.com>
9649
9650 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9651 * config.make.in (config-cflags-sse4): Remove variable.
9652 (config-cflags-avx): Likewise.
9653 (config-cflags-sse2avx): Likewise.
9654 (config-cflags-novzeroupper): Likewise.
9655 (config-asflags-i686): Likewise.
9656 (have-mfma4): Likewise.
9657 (have-as-vis3): Likewise.
9658 (MIG): Likewise.
9659 * configure.in (MIG): Do not AC_SUBST.
9660 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9661 (libc_cv_cc_sse4): Do not AC_SUBST.
9662 (libc_cv_cc_avx): Likewise.
9663 (libc_cv_cc_sse2avx): Likewise.
9664 (libc_cv_cc_novzeroupper): Likewise.
9665 (libc_cv_cc_fma4): Likewise.
9666 (libc_cv_as_i686): Likewise.
9667 (libc_cv_sparc_as_vis3): Likewise.
9668 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9669 LIBC_CONFIG_VAR.
9670 (config-asflags-i686): Likewise.
9671 (config-cflags-avx): Likewise.
9672 (config-cflags-sse2avx): Likewise.
9673 (have-mfma4): Likewise.
9674 (config-cflags-novzeroupper): Likewise.
9675 * sysdeps/mach/configure.in (MIG): Likewise.
9676 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9677 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9678 LIBC_CONFIG_VAR.
9679 (config-cflags-avx): Likewise.
9680 (config-cflags-sse2avx): Likewise.
9681 (have-mfma4): Likewise.
9682 (config-cflags-novzeroupper): Likewise.
9683 * configure: Regenerated.
9684 * sysdeps/i386/configure: Likewise.
9685 * sysdeps/mach/configure: Likewise.
9686 * sysdeps/sparc/configure: Likewise.
9687 * sysdeps/x86_64/configure: Likewise.
9688
912cc4b3
RM
96892013-03-20 Roland McGrath <roland@hack.frob.com>
9690
9691 [BZ #14812]
9692 * locale/programs/localedef.c (options): Put N_ translation marker
9693 on argument names, not just descriptions.
9694
04eed2b0
MS
96952013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9696
9697 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9698
a065ceff
OB
96992013-03-20 Ondřej Bílka <neleai@seznam.cz>
9700
9bb2a810 9701 [BZ #14176]
a065ceff
OB
9702 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9703
a600e5ce
RM
97042013-03-19 Roland McGrath <roland@hack.frob.com>
9705
9706 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9707 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9708 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9709 [!BEFORE_ABORT] (before_abort): New function.
9710 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9711 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9712 (writev_for_fatal): New function.
9713 (WRITEV_FOR_FATAL): New macro; call that.
9714 (backtrace_and_maps): New function.
9715 (BEFORE_ABORT): New macro; call that.
9716 (struct str_list): Type removed.
9717 (__libc_message, __libc_fatal): Functions removed.
9718 Include <sysdeps/posix/libc_fatal.c> instead.
9719
6b18bea6
JM
97202013-03-19 Joseph Myers <joseph@codesourcery.com>
9721
9722 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9723 constants.
9724 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9725 double constants.
9726
aaa8cb4b
AS
97272013-03-19 Andreas Schwab <schwab@suse.de>
9728
44673770
AS
9729 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9730 * sysdeps/gnu/configure: Regenerate.
9731
aaa8cb4b
AS
9732 * configure.in: Substitute libc_cv_rtlddir.
9733 * configure: Regenerate.
9734 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9735 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9736 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9737 * elf/Makefile (install-others, CFLAGS-interp.c)
9738 (ldso_install, common-ldd-rewrite): Likewise.
9739 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9740 $(inst_slibdir)/$(rtld-installed-name).
9741 * scripts/rellns-sh: Add -p option.
9742 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9743 for source.
9744
d3cfc668
SP
97452013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9746
9747 * manual/nptl.texi: Renamed to ...
9748 * manual/threads.texi: ... this.
9749 * manual/Makefile (chapters): Update.
9750
0e2b9cdd
RM
97512013-03-18 Roland McGrath <roland@hack.frob.com>
9752
9753 [BZ #14812]
9754 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9755 on argument names, not just descriptions.
0e2b9cdd
RM
9756 * malloc/memusagestat.c (options): Likewise.
9757 * nss/getent.c (options): Likewise.
63270c24
RM
9758
97592013-03-18 Benno Schulenberg <bensberg@justemail.net>
9760
9761 [BZ #14812]
9762 * iconv/iconv_prog.c (options): Put N_ translation marker
9763 on argument names, not just descriptions.
9764 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9765
b2e1393c
OB
97662013-03-18 Ondrej Bilka <neleai@seznam.cz>
9767
9768 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9769 implementation which is faster on all x86_64 architectures.
9770 Tested on AMD, Intel Nehalem, SNB, IVB.
9771 * sysdeps/x86_64/strnlen.S: Likewise.
9772
9773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9774 Remove all multiarch strlen and strnlen versions.
9775 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9776 Remove strlen and strnlen related parts.
9777
9778 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9779 Inline strlen part.
9780 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9781
9782 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9783 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9784 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9785 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9786 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9787 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9788
ec4ff04d
CD
97892013-03-17 Carlos O'Donell <carlos@redhat.com>
9790
9791 * manual/memory.texi (Malloc Tunable Parameters):
9792 Sort parameters alphabetically. Add comments for missing entries.
9793
cd18e90a
DM
97942013-03-17 David S. Miller <davem@davemloft.net>
9795
9796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9797
2a185d32
JM
97982013-03-16 Joseph Myers <joseph@codesourcery.com>
9799
d2f9799e
JM
9800 [BZ #15283]
9801 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9802 for arguments at most half maximum finite value.
9803 * math/libm-test.inc (j0_test): Add more tests.
9804 (j1_test): Likewise.
9805 (y0_test): Likewise.
9806 (y1_test): Likewise.
9807 * sysdeps/i386/fpu/libm-test-ulps: Update.
9808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9809
2a185d32
JM
9810 [BZ #14155]
9811 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9812 1 / x and functions P and Q for arguments above 0x1p256L.
9813 (__ieee754_y0l): Likewise.
9814 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9815 (__ieee754_y1l): Likewise.
9816 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9817 (j1_test): Likewise.
9818 (y0_test): Likewise.
9819 (y1_test): Likewise.
9820
6cbec759
TS
98212013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9822
9823 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9824 variable.
9825
bc16e260
RM
98262013-03-15 Roland McGrath <roland@hack.frob.com>
9827
aefc9b8c
RM
9828 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9829 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9830 zero since it's initialized to EXEC_PAGESIZE.
9831
bc16e260
RM
9832 * sysdeps/unix/sysv/linux/ldsodefs.h
9833 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9834 * sysdeps/generic/ldsodefs.h: ... here.
9835
a57da955
TS
98362013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9837
af00a34d
TS
9838 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9839
495ded2c
TS
9840 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9841 math/test-snan.c.
9842 * math/test-snan.c: Renamed from
9843 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9844 * math/Makefile (tests): Add test-snan.
9845 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9846 test-powerpc-snan.
9847
777b0332
TS
9848 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9849 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9850 functions.
9851 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9852 __builtin_nan family of functions.
9853 * math/libm-test.inc (initialize): Initialize qnan_value with
9854 __builtin_nan family of functions.
9855 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9856 Remove variables.
9857 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9858 Remove functions.
9859 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9860 storage class. Initialize qNaN_var and sNaN_var with
9861 __builtin_nan and __builtin_nans families of functions,
9862 respectively.
9863
64d063b8
TS
9864 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9865 (sqrt_test): Remove duplicate test with qNaN input.
9866 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9867 (round_test, signbit_test, significand_test): Note missing +/-Inf
9868 as well as qNaN tests.
9869
67e971f1
TS
9870 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9871 qNaN_var. Fix a few strings, too.
9872 * math/libm-test.inc (nan_value): Rename to qnan_value.
9873 * math/gen-libm-test.pl (%beautify): Adjust to that.
9874 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9875 * math/test-misc.c (main): Likewise.
9876 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9877 to __qnan_bytes, and __qnan_union, respectively.
9878 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9879 Likewise.
9880 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9881 and lqnanval, respectively.
9882 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9883 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9884 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9885 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9886
64487e12
TS
9887 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9888 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9889 doubles.
9890
e015e27b
TS
9891 * math/test-misc.c (main): Fix copy'n'pastos.
9892 * misc/tst-efgcvt.c (special): Likewise.
9893
a57da955
TS
9894 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9895 Remove declarations.
9896
1e380345
SP
98972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9898
9899 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9900 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9901 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9902 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9903
ef26eece
AZ
99042013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9905
9906 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9907 macro to return vdso values correctly in IFUNC implementations.
9908 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9909 Optimization by using IFUNC.
9910
8cfdb7e0
SP
99112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9912 Richard Henderson <rth@redhat.com>
9913 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9914
9915 * Makefile.in (bench): New target.
9916 * NEWS: Mention the benchmark framework.
9917 * Rules (bench): Likewise.
9918 (binaries-bench): Generate binaries for functions to
9919 benchmark.
9920 * benchtests/Makefile: New makefile for benchmark tests.
9921 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9922 programs.
9923 * benchtests/exp-inputs: New input file for EXP function.
9924 * benchtests/pow-inputs: New input file for POW function.
9925 * scripts/bench.pl: New script to generate source files for
9926 benchmark programs.
9927
bcda9880
SP
99282013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9929
d22ca8cd
SP
9930 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9931 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9932 computations on mantissa. Use macros for rounding and
9933 division.
9934 (denorm): Likewise.
9935 (__dbl_mp): Likewise.
9936 (add_magnitudes): Likewise.
9937 (sub_magnitudes): Likewise.
9938 (__mul): Likewise.
9939 (__sqr): Likewise.
9940 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9941 powers of two in terms of TWOPOW macro.
9942 (mp_no): Make type of mantissa as MANTISSA_T.
9943 [!RADIXI]: Define RADIXI.
9944 [!TWO52]: Define TWO52.
9945 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9946
bcda9880
SP
9947 * manual/nptl.texi (cindex): Modify threads to pthreads.
9948
06d5adfb
JM
99492013-03-15 Joseph Myers <joseph@codesourcery.com>
9950
9951 * sysdeps/x86_64/preconfigure: Regenerated.
9952
41c7328e
JM
99532013-03-14 Joseph Myers <joseph@codesourcery.com>
9954
9955 [BZ #14155]
9956 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9957 0x1p28 and above.
9958 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9959 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9960 0x1p28 and above.
9961 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9962 * math/libm-test.inc (j0_test): Do not allow one spurious
9963 underflow exception.
9964 (y1_test): Likewise.
9965
e25cfa60
SP
99662013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9967
0409959c
SP
9968 * manual/Makefile (chapters): Add nptl.
9969 * manual/debug.texi (Debugging Support): Add link to Threads
9970 chapter.
9971 * manual/nptl.texi: New file.
9972
e25cfa60
SP
9973 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9974
58a1335e
PB
99752013-03-14 Petr Baudis <pasky@ucw.cz>
9976
9977 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9978 for non-NULL pointer before the memory validity test. Pointed
9979 out by Holger Brunck <holger.brunck@keymile.com>.
9980
9dc7c64f
AS
99812013-03-13 Andreas Schwab <schwab@suse.de>
9982
9983 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9984 instead of .os.
9985
54206aa6
JM
99862013-03-13 Joseph Myers <joseph@codesourcery.com>
9987
9988 * timezone/zic.c: Update from tzcode 2013b.
9989
e98cdb38
CD
99902013-03-12 Carlos O'Donell <carlos@redhat.com>
9991
9992 * manual/install.texi (Configuring and compiling):
9993 Mention i686 and i586.
9994 * INSTALL: Regenerate.
9995
9967e003
RM
99962013-03-12 Roland McGrath <roland@hack.frob.com>
9997
9998 * sysdeps/init_array/elf-init.c: New file.
9999 * csu/elf-init.c
10000 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10001 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10002
10003 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10004 __gmon_start__ as global, but as static with a .preinit_array pointer.
10005 * sysdeps/init_array/gmon-start.c: New file. Use that.
10006 * sysdeps/init_array/crti.S: New file, empty except for comments.
10007 * sysdeps/init_array/crtn.S: Likewise.
10008
e6b5a293 100092013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
10010
10011 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10012 definining bcopy.
80f844c9
OB
10013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10014 Remove Prefer_SSE_for_memop.
10015 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10016 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10017 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10019 memset-x86-64.
80f844c9 10020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10021 Remove bzero, memset ifunc support.
80f844c9
OB
10022 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10023 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10024 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10025 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10026
fb6b0fcb
AS
100272013-03-11 Andreas Schwab <schwab@suse.de>
10028
10029 [BZ #15234]
10030 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10031 by SHLIB_COMPAT.
10032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10033 (GLIBC_2.16): Remove pthread_atfork.
10034
3e6bd4b1
PP
100352013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10036
10037 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10038 (ptestcases.h): Likewise.
10039
222d7f00
RM
100402013-03-08 Roland McGrath <roland@hack.frob.com>
10041
10042 * Makeconfig ($(common-objpfx)config.status): Depend on
10043 sysdeps/*/preconfigure{,.in} too.
10044
1ba4f030
JM
100452013-03-08 Joseph Myers <joseph@codesourcery.com>
10046
a222d91a
JM
10047 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10048 (__free_hook): Use void * instead of __malloc_ptr_t.
10049 (__malloc_hook): Likewise.
10050 (__realloc_hook): Likewise.
10051 (__memalign_hook): Likewise.
10052 (__after_morecore_hook): Likewise.
10053 * malloc/arena.c (save_malloc_hook): Likewise.
10054 (save_free_hook): Likewise.
10055 * malloc/hooks.c (malloc_hook_ini): Likewise.
10056 (realloc_hook_ini): Likewise.
10057 (memalign_hook_ini): Likewise.
10058 * malloc/malloc.c (malloc_hook_ini): Likewise.
10059 (realloc_hook_ini): Likewise.
10060 (memalign_hook_ini): Likewise.
10061 (__free_hook): Likewise.
10062 (__malloc_hook): Likewise.
10063 (__realloc_hook): Likewise.
10064 (__memalign_hook): Likewise.
10065 (__libc_malloc): Likewise.
10066 (__libc_free): Likewise.
10067 (__libc_realloc): Likewise.
10068 (__libc_memalign): Likewise.
10069 (__libc_valloc): Likewise.
10070 (__libc_pvalloc): Likewise.
10071 (__libc_calloc): Likewise.
10072 (__posix_memalign): Likewise.
10073 * malloc/morecore.c (__sbrk): Likewise.
10074 (__default_morecore): Likewise.
10075
5cc45e10
JM
10076 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10077
dd54b864
JM
10078 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10079 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10080 __malloc_ptrdiff_t.
10081
1ba4f030
JM
10082 * malloc/malloc.h (__malloc_size_t): Remove macro.
10083 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10084 __malloc_size_t.
10085 (old_memalign_hook): Likewise.
10086 (old_realloc_hook): Likewise.
10087 (struct hdr): Likewise.
10088 (flood): Likewise.
10089 (mallochook): Likewise.
10090 (memalignhook): Likewise.
10091 (reallochook): Likewise.
10092 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10093 (tr_old_realloc_hook): Likewise.
10094 (tr_old_memalign_hook): Likewise.
10095 (tr_mallochook): Likewise.
10096 (tr_reallochook): Likewise.
10097 (tr_memalignhook): Likewise.
10098
edf66e57
AZ
100992013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10100
10101 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10102 default_ldbl_pack and using as default implementation.
10103 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10104 implementation.
10105 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10106 redundant definition.
10107 (ldbl_insert_mantissa): Likewise.
10108 (ldbl_canonicalize): Likewise.
10109 (ldbl_nearbyint): Likewise.
10110 (ldbl_pack): Rename to ldbl_pack_ppc.
10111 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10112 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10113 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10114
6d9145d8
SP
101152013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10116
10117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10118 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10119 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10120 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10122 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10123 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10124 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10125
4dd4e157
AJ
101262013-03-07 Andreas Jaeger <aj@suse.de>
10127
10128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10129 bits/mman-linux.h.
10130
adbb8027
SP
101312013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10132
ce544b5b
SP
10133 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10134 Include mpa.h and declare __MPEXP.
10135 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10136 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10137 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10138 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10139 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10140 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10141 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10142
4cc149fd
SP
10143 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10144 (__slowpow): Use long double EXPL and LOGL functions to
10145 compute POW.
10146 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10147 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10148 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10149 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10150 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10151 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10152
e6ebd4a7
SP
10153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10154 intermediate variable to calculate exponent.
10155 (__sqr): Likewise.
10156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10157 Likewise.
10158 (__sqr): Likewise.
10159
82a9811d
SP
10160 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10161 [!NO__SQR]: Define __sqr.
10162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10163 and NO__SQR. Remove all code except __mul and __sqr. Include
10164 sysdeps/ieee754/dbl-64/mpa.c.
10165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10166
adbb8027
SP
10167 [BZ #12723]
10168 * posix/Makefile (tests): Add tst-pathconf.
10169 * posix/tst-pathconf.c: New test case.
10170 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10171 _PC_PIPE_BUF.
10172 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10173
39120df9
PF
101742013-03-06 Patsy Franklin <pfrankli@redhat.com>
10175
10176 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10177
67525cb8
AJ
101782013-03-06 Andreas Jaeger <aj@suse.de>
10179
664a9ce4
AJ
10180 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10181 definition via __MAP_ANONYMOUS.
10182
8e39047d
AJ
10183 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10184 it's not part of Linux headers.
10185
67525cb8
AJ
10186 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10187 (MAP_HUGE_MASK): Define.
10188
10189 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10190 Define.
10191 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10192 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10193 Define.
10194 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10195 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10196 Define.
10197 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10198 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10199 Define.
10200 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10201
10202 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10203 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10204 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10205 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10206 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10207 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10208
10209 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10210 Handle f2fs.
10211
10212 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10213 Handle f2fs and efivarfs.
10214
10215 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10216 f2fs.
10217
10218 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10219 (EFIVARFS_MAGIC): Add.
10220 (F2FS_LINK_MAX): Add.
10221
e1b42695
PP
102222013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10223
10224 * stdio-common/vfprintf.c: Replace __builtin_expect with
10225 __glibc_unlikely.
10226
2d67d91a
JM
102272013-03-06 Joseph Myers <joseph@codesourcery.com>
10228
10229 [BZ #13550]
10230 * sysdeps/generic/bp-sym.h: Remove file.
10231 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10232 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10233 <bp-sym.h> and <bp-asm.h>.
10234 (__longjmp): Don't use BP_SYM.
10235 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10236 and <bp-asm.h>.
10237 (memcpy): Don't use BP_SYM.
10238 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10239 <bp-sym.h> and <bp-asm.h>.
10240 (memcpy): Don't use BP_SYM.
10241 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10242 <bp-asm.h>.
10243 (memcpy): Don't use BP_SYM.
10244 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10245 <bp-asm.h>.
10246 (memset): Don't use BP_SYM.
10247 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10248 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10249 (__bzero): Don't use BP_SYM.
10250 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10251 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10252 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10253 <bp-sym.h> and <bp-asm.h>.
10254 (memcmp): Don't use BP_SYM. Remove comment about bounded
10255 pointers.
10256 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10257 <bp-sym.h> and <bp-asm.h>.
10258 (memcpy): Don't use BP_SYM.
10259 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10260 <bp-sym.h> and <bp-asm.h>.
10261 (memset): Don't use BP_SYM.
10262 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10263 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10264 (__bzero): Don't use BP_SYM.
10265 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10266 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10267 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10268 <bp-sym.h> and <bp-asm.h>.
10269 (strncmp): Don't use BP_SYM. Remove comment about bounded
10270 pointers.
10271 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10272 <bp-sym.h> and <bp-asm.h>.
10273 (memcpy): Don't use BP_SYM.
10274 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10275 <bp-sym.h> and <bp-asm.h>.
10276 (memset): Don't use BP_SYM.
10277 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10278 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10279 (__bzero): Don't use BP_SYM.
10280 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10281 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10282 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10283 <bp-sym.h> and <bp-asm.h>.
10284 (__memchr): Don't use BP_SYM.
10285 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10286 <bp-sym.h> and <bp-asm.h>.
10287 (memcmp): Don't use BP_SYM. Remove comment about bounded
10288 pointers.
10289 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10290 <bp-sym.h> and <bp-asm.h>.
10291 (memcpy): Don't use BP_SYM.
10292 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10293 <bp-sym.h> and <bp-asm.h>.
10294 (__mempcpy): Don't use BP_SYM.
10295 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10296 <bp-sym.h> and <bp-asm.h>.
10297 (__memrchr): Don't use BP_SYM.
10298 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10299 <bp-sym.h> and <bp-asm.h>.
10300 (memset): Don't use BP_SYM.
10301 (__bzero): Likewise.
10302 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10303 <bp-sym.h> and <bp-asm.h>.
10304 (__rawmemchr): Don't use BP_SYM.
10305 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10306 <bp-sym.h> and <bp-asm.h>.
10307 (__STRCMP): Don't use BP_SYM.
10308 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10309 <bp-sym.h> and <bp-asm.h>.
10310 (strchr): Don't use BP_SYM.
10311 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10312 <bp-sym.h> and <bp-asm.h>.
10313 (__strchrnul): Don't use BP_SYM.
10314 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10315 <bp-sym.h> and <bp-asm.h>.
10316 (strlen): Don't use BP_SYM.
10317 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10318 <bp-sym.h> and <bp-asm.h>.
10319 (strncmp): Don't use BP_SYM. Remove comment about bounded
10320 pointers.
10321 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10322 <bp-sym.h> and <bp-asm.h>.
10323 (__strnlen): Don't use BP_SYM.
10324 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10325 <bp-sym.h> and <bp-asm.h>.
10326 (__GI__setjmp): Don't use BP_SYM.
10327 (_setjmp): Likewise.
10328 (__sigsetjmp): Likewise.
10329 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10330 (L(start_addresses)): Don't use BP_SYM.
10331 (_start): Likewise.
10332 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10333 <bp-asm.h>.
10334 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10335 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10336 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10337 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10338 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10339 <bp-asm.h>.
10340 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10341 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10342 about bounded pointers.
10343 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10344 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10345 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10346 <bp-asm.h>.
10347 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10348 about bounded pointers. Remove GKM FIXME comments.
10349 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10350 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10351 <bp-asm.h>.
10352 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10353 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10354 Remove GKM FIXME comments.
10355 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10356 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10357 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10358 <bp-asm.h>.
10359 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10360 about bounded pointers. Remove GKM FIXME comment.
10361 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10362 and <bp-asm.h>.
10363 (strncmp): Don't use BP_SYM. Remove comment about bounded
10364 pointers.
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10366 <bp-sym.h> and <bp-asm.h>.
10367 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10369 <bp-sym.h> and <bp-asm.h>.
10370 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10371 comment.
10372
cdcf361f
PP
103732013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10374
10375 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10376 call free(NULL).
10377
3c4a2b15
DM
103782013-03-05 David S. Miller <davem@davemloft.net>
10379
10380 * po/es.po: Update from translation team.
10381
cdcf361f 103822013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10383
10384 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10385 <bits/mman-linux.h>.
10386 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10387 is fine.
10388 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10389 <bits/mman-linux.h> to end of file.
10390 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10391 is fine.
10392 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10393 <bits/mman-linux.h> to end of file.
10394 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10395 is fine.
10396 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10397 <bits/mman-linux.h> to end of file.
10398
10399 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10400 (MCL_CURRENT, MCL_FUTURE): Define here.
10401
5f67c04f
AK
104022013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10403
8a4473cc 10404 [BZ #15232]
5f67c04f
AK
10405 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10406 attribute_hidden.
10407 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10408
c3e94a95
AK
104092013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10410
10411 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10412 fourth parameter needed for rt_sigprocmask syscall.
10413 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10414 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10415 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10416 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10417 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10418 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10419
cfb6382a
JM
104202013-03-04 Joseph Myers <joseph@codesourcery.com>
10421
10422 [BZ #13550]
10423 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10424 comment about bounded pointers.
10425 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10426 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10427
539d8e01
AJ
104282013-03-04 Andreas Jaeger <aj@suse.de>
10429
10430 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10431 common definitions.
10432
10433 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10434 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10435 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10436 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10437 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10438 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10439
2e167a70 104402013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10441
10442 [BZ #15055]
10443 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10444 __ieee754_sqrl instead of __sqrl.
10445
68508633
JM
104462013-03-01 Joseph Myers <joseph@codesourcery.com>
10447
10448 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10449 * sysdeps/powerpc/fpu_control.h: ... here.
10450 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10451 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10452 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10453 * sysdeps/powerpc/bits/mathinline.h: ... here.
10454
7775448e
RM
104552013-03-01 Roland McGrath <roland@hack.frob.com>
10456
10457 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10458 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10459 to just [NEED_DL_SYSINFO_DSO].
10460 * elf/dl-support.c: Likewise.
10461 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10462 * elf/rtld.c (dl_main): Likewise.
10463 * elf/setup-vdso.h (setup_vdso): Likewise.
10464 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10465 * sysdeps/unix/sysv/linux/dl-sysdep.c
10466 (_dl_discover_osversion): Likewise.
10467
4e9b5995
CD
104682013-03-01 Carlos O'Donell <carlos@redhat.com>
10469
10470 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10471 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10472
e23872c8
SP
104732013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10474
e5c74c63
SP
10475 * NEWS: Mention libm performance improvements and non-x86 PI
10476 futex support.
10477
e23872c8
SP
10478 * csu/libc-start.c (__pthread_initialize_minimal): Change
10479 function arguments.
10480 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10481
b5510883
JM
104822013-02-28 Joseph Myers <joseph@codesourcery.com>
10483
10484 [BZ #13550]
10485 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10486 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10487 <bp-sym.h> and <bp-asm.h>.
10488 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10489 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10490 and <bp-asm.h>.
10491 (memcpy): Don't use BP_SYM.
10492 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10493 <bp-asm.h>.
10494 (__mpn_add_n): Don't use BP_SYM.
10495 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10496 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10497 and <bp-asm.h>.
10498 (__mpn_addmul_1): Don't use BP_SYM.
10499 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10500 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10501 <bp-sym.h>.
10502 (_setjmp): Don't use BP_SYM.
10503 (__novmx_setjmp): Likewise.
10504 (__GI__setjmp): Likewise.
10505 (__vmx_setjmp): Likewise.
10506 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10507 <bp-sym.h>.
10508 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10509 (__bzero): Don't use BP_SYM.
10510 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10511 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10512 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10513 <bp-sym.h> and <bp-asm.h>.
10514 (memcpy): Don't use BP_SYM.
10515 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10516 <bp-sym.h> and <bp-asm.h>.
10517 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10518 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10519 <bp-sym.h> and <bp-asm.h>.
10520 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10521 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10522 <bp-asm.h>.
10523 (__mpn_lshift): Don't use BP_SYM.
10524 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10525 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10526 <bp-asm.h>.
10527 (memset): Don't use BP_SYM.
10528 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10529 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10530 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10531 <bp-asm.h>.
10532 (__mpn_mul_1): Don't use BP_SYM.
10533 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10534 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10535 <bp-sym.h> and <bp-asm.h>.
10536 (memcmp): Don't use BP_SYM.
10537 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10538 <bp-sym.h> and <bp-asm.h>.
10539 (memcpy): Don't use BP_SYM.
10540 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10541 <bp-sym.h> and <bp-asm.h>.
10542 (memset): Don't use BP_SYM.
10543 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10544 <bp-sym.h> and <bp-asm.h>.
10545 (strncmp): Don't use BP_SYM.
10546 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10547 <bp-sym.h> and <bp-asm.h>.
10548 (memcpy): Don't use BP_SYM.
10549 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10550 <bp-sym.h> and <bp-asm.h>.
10551 (memset): Don't use BP_SYM.
10552 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10553 <bp-sym.h> and <bp-asm.h>.
10554 (__memchr): Don't use BP_SYM.
10555 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10556 <bp-sym.h> and <bp-asm.h>.
10557 (memcmp): Don't use BP_SYM.
10558 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10559 <bp-sym.h> and <bp-asm.h>.
10560 (memcpy): Don't use BP_SYM.
10561 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10562 <bp-sym.h> and <bp-asm.h>.
10563 (__mempcpy): Don't use BP_SYM.
10564 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10565 <bp-sym.h> and <bp-asm.h>.
10566 (__memrchr): Don't use BP_SYM.
10567 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10568 <bp-sym.h> and <bp-asm.h>.
10569 (memset): Don't use BP_SYM.
10570 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10571 <bp-sym.h> and <bp-asm.h>.
10572 (__rawmemchr): Don't use BP_SYM.
10573 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10574 <bp-sym.h> and <bp-asm.h>.
10575 (__STRCMP): Don't use BP_SYM.
10576 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10577 <bp-sym.h> and <bp-asm.h>.
10578 (strchr): Don't use BP_SYM.
10579 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10580 <bp-sym.h> and <bp-asm.h>.
10581 (__strchrnul): Don't use BP_SYM.
10582 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10583 <bp-sym.h> and <bp-asm.h>.
10584 (strlen): Don't use BP_SYM.
10585 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10586 <bp-sym.h> and <bp-asm.h>.
10587 (strncmp): Don't use BP_SYM.
10588 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10589 <bp-sym.h> and <bp-asm.h>.
10590 (__strnlen): Don't use BP_SYM.
10591 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10592 <bp-asm.h>.
10593 (__mpn_rshift): Don't use BP_SYM.
10594 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10595 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10596 <bp-sym.h> and <bp-asm.h>.
10597 (__sigsetjmp): Don't use BP_SYM.
10598 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10599 (L(start_addresses)): Don't use BP_SYM.
10600 (_start): Likewise.
10601 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10602 <bp-asm.h>.
10603 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10604 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10605 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10606 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10607 <bp-asm.h>.
10608 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10609 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10610 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10611 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10612 <bp-asm.h>.
10613 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10614 comments.
10615 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10616 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10617 <bp-asm.h>.
10618 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10619 FIXME comments.
10620 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10621 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10622 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10623 <bp-asm.h>.
10624 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10625 comment.
10626 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10627 and <bp-asm.h>.
10628 (strncmp): Don't use BP_SYM,
10629 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10630 <bp-asm.h>.
10631 (__mpn_sub_n): Don't use BP_SYM.
10632 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10633 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10634 and <bp-asm.h>.
10635 (__mpn_submul_1): Don't use BP_SYM.
10636 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10638 <bp-sym.h> and <bp-asm.h>.
10639 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10641 <bp-sym.h> and <bp-asm.h>.
10642 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10643 comment.
10644
8d19fe64
SP
106452013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10646
10647 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10648 Use ZK to minimize writes to Z.
10649 (sub_magnitudes): Simplify code a bit.
10650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10651 Use ZK to minimize writes to Z.
10652 (sub_magnitudes): Simplify code a bit.
10653
85bd816a
RM
106542013-02-27 Roland McGrath <roland@hack.frob.com>
10655
10656 * csu/gmon-start.c: Add special exception to license text.
10657
b5977bf2
RH
106582013-02-27 Richard Henderson <rth@redhat.com>
10659
10660 * scripts/config.guess: Update from config.git.
10661 * scripts/config.sub: Likewise.
10662
11d6e2f2
SP
106632013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10664
09c14ed2
SP
10665 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10666
a688864e
SP
10667 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10668
6295157a
SP
10669 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10670
b8de2202
SP
10671 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10672
11d6e2f2
SP
10673 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10674
7e80ddb8
RM
106752013-02-26 Roland McGrath <roland@hack.frob.com>
10676
10677 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10678 [$(build-shared = yes].
7e80ddb8 10679
7da6d9ed
SP
106802013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10681
45f05884
SP
10682 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10683 (__mul): Reduce iterations for calculating mantissa.
10684
2236d359
SP
10685 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10686 MPTWO.
10687 (__mpranred): Likewise.
10688
7da6d9ed
SP
10689 [BZ #15160]
10690 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10691 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10692
b7688c42
PE
106932013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10694
10695 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10696 Define __attribute__.
10697
53a5c423
SP
106982013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10699
10700 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10701 unused.
10702 * posix/regex_internal.h (__attribute): Remove.
10703 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10704 (re_string_context_at): Likewise.
10705 (bitset_not): Use __attribute__ and mark function as possibly
10706 unused.
10707 (bitset_merge): Likewise.
10708 (bitset_mask): Likewise.
10709 (re_string_char_size_at): Likewise.
10710 (re_string_wchar_at): Likewise.
10711 (re_string_elem_size_at): Likewise.
10712
60f5a8b5
SP
107132013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10714
2a983a2e
SP
10715 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10716 code.
10717 (cc32): Likewise.
10718
e69804d1
SP
10719 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10720 (__acr): Likewise.
10721 (__cpy): Likewise.
10722 (norm): Likewise.
10723 (denorm): Likewise.
10724 (__dbl_mp): Likewise.
10725 (add_magnitudes): Likewise.
10726 (sub_magnitudes): Likewise.
10727 (__mul): Likewise.
10728 (__inv): Likewise.
10729
2f22a1e8
SP
10730 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10731 style.
10732
8930ddc7
SP
10733 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10734 style.
10735
dc60cb11
SP
10736 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10737 code.
10738
60f5a8b5
SP
10739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10740 up changes with default code.
10741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10742 Likewise.
10743
b4d1fd33
AM
107442013-02-24 Allan McRae <allan@archlinux.org>
10745
faf6f8bc
AM
10746 * manual/socket.texi (The Internet Namespace): Order menu items
10747 to match that in the file.
10748
b4d1fd33
AM
10749 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10750 node listing of the info page menu.
10751
2366713d
JM
107522013-02-21 Joseph Myers <joseph@codesourcery.com>
10753
10754 [BZ #13550]
10755 * sysdeps/i386/bp-asm.h: Remove file.
10756 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10757 (PARMS): Do not use macros from bp-asm.h.
10758 (S1): Likewise.
10759 (S2): Likewise.
10760 (SIZE): Likewise.
10761 (__mpn_add_n): Do not use BP_SYM
10762 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10763 "bp-asm.h".
10764 (PARMS): Do not use macros from bp-asm.h.
10765 (S1): Likewise.
10766 (SIZE): Likewise.
10767 (__mpn_addmul_1): Do not use BP_SYM
10768 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10769 "bp-asm.h".
10770 (PARMS): Do not use macros from bp-asm.h.
10771 (SIGMSK): Likewise.
10772 (_setjmp): Likewise. Do not use BP_SYM.
10773 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10774 "bp-asm.h".
10775 (PARMS): Do not use macros from bp-asm.h.
10776 (SIGMSK): Likewise.
10777 (setjmp): Likewise. Do not use BP_SYM.
10778 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10779 "bp-asm.h".
10780 (PARMS): Do not use macros from bp-asm.h.
10781 (__frexp): Do not use BP_SYM.
10782 (frexp): Likewise.
10783 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10784 "bp-asm.h".
10785 (PARMS): Do not use macros from bp-asm.h.
10786 (__frexpf): Do not use BP_SYM.
10787 (frexpf): Likewise.
10788 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10789 "bp-asm.h".
10790 (PARMS): Do not use macros from bp-asm.h.
10791 (__frexpl): Do not use BP_SYM.
10792 (frexpl): Likewise.
10793 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10794 "bp-asm.h".
10795 (PARMS): Do not use macros from bp-asm.h.
10796 (__remquo): Do not use BP_SYM.
10797 (remquo): Likewise.
10798 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10799 "bp-asm.h".
10800 (PARMS): Do not use macros from bp-asm.h.
10801 (__remquof): Do not use BP_SYM.
10802 (remquof): Likewise.
10803 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10804 "bp-asm.h".
10805 (PARMS): Do not use macros from bp-asm.h.
10806 (__remquol): Do not use BP_SYM.
10807 (remquol): Likewise.
10808 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10809 "bp-asm.h".
10810 (PARMS): Do not use macros from bp-asm.h.
10811 (DEST): Likewise.
10812 (SRC): Likewise.
10813 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10814 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10815 "bp-asm.h".
10816 (PARMS): Do not use macros from bp-asm.h.
10817 (strlen): Do not use BP_SYM.
10818 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10819 "bp-asm.h".
10820 (PARMS): Do not use macros from bp-asm.h.
10821 (S1): Likewise.
10822 (S2): Likewise.
10823 (SIZE): Likewise.
10824 (__mpn_add_n): Do not use BP_SYM.
10825 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10826 "bp-asm.h".
10827 (PARMS): Do not use macros from bp-asm.h.
10828 (S1): Likewise.
10829 (SIZE): Likewise.
10830 (__mpn_addmul_1): Do not use BP_SYM.
10831 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10832 weak_alias.
10833 (bzero): Likewise.
10834 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10835 "bp-asm.h".
10836 (PARMS): Do not use macros from bp-asm.h.
10837 (S): Likewise.
10838 (SIZE): Likewise.
10839 (__mpn_lshift): Do not use BP_SYM.
10840 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10841 "bp-asm.h".
10842 (PARMS): Do not use macros from bp-asm.h.
10843 (DEST): Likewise.
10844 (SRC): Likewise.
10845 (LEN): Likewise.
10846 (memcpy): Likewise. Do not use BP_SYM.
10847 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10848 libc_hidden_def and weak_alias.
10849 (mempcpy): Do not use BP_SYM in weak_alias.
10850 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10851 "bp-asm.h".
10852 (PARMS): Do not use macros from bp-asm.h.
10853 (DEST): Likewise.
10854 (LEN): Likewise.
10855 [!BZERO_P] (CHR): Likewise.
10856 (memset): Likewise. Do not use BP_SYM.
10857 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10858 "bp-asm.h".
10859 (PARMS): Do not use macros from bp-asm.h.
10860 (S1): Likewise.
10861 (SIZE): Likewise.
10862 (__mpn_mul_1): Do not use BP_SYM.
10863 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10864 "bp-asm.h".
10865 (PARMS): Do not use macros from bp-asm.h.
10866 (S): Likewise.
10867 (SIZE): Likewise.
10868 (__mpn_rshift): Do not use BP_SYM.
10869 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10870 "bp-asm.h".
10871 (PARMS): Do not use macros from bp-asm.h.
10872 (STR): Likewise.
10873 (CHR): Likewise.
10874 (strchr): Likewise. Do not use BP_SYM.
10875 (index): Do not use BP_SYM in weak_alias.
10876 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10877 "bp-asm.h".
10878 (PARMS): Do not use macros from bp-asm.h.
10879 (DEST): Likewise.
10880 (SRC): Likewise.
10881 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10882 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10883 "bp-asm.h".
10884 (PARMS): Do not use macros from bp-asm.h.
10885 (strlen): Do not use BP_SYM.
10886 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10887 "bp-asm.h".
10888 (PARMS): Do not use macros from bp-asm.h.
10889 (S1): Likewise.
10890 (S2): Likewise.
10891 (SIZE): Likewise.
10892 (__mpn_sub_n): Do not use BP_SYM.
10893 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10894 "bp-asm.h".
10895 (PARMS): Do not use macros from bp-asm.h.
10896 (S1): Likewise.
10897 (SIZE): Likewise.
10898 (__mpn_submul_1): Do not use BP_SYM.
10899 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10900 "bp-asm.h".
10901 (PARMS): Do not use macros from bp-asm.h.
10902 (S1): Likewise.
10903 (S2): Likewise.
10904 (SIZE): Likewise.
10905 (__mpn_add_n): Do not use BP_SYM.
10906 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10907 weak_alias.
10908 (bzero): Likewise.
10909 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10910 "bp-asm.h".
10911 (PARMS): Do not use macros from bp-asm.h.
10912 (BLK2): Likewise.
10913 (LEN): Likewise.
10914 (memcmp): Do not use BP_SYM.
10915 (bcmp): Do not use BP_SYM in weak_alias.
10916 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10917 "bp-asm.h".
10918 (PARMS): Do not use macros from bp-asm.h.
10919 (DEST): Likewise.
10920 (SRC): Likewise.
10921 (LEN): Likewise.
10922 (memcpy): Likewise. Do not use BP_SYM.
10923 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10924 "bp-asm.h".
10925 (PARMS): Do not use macros from bp-asm.h.
10926 (DEST): Likewise.
10927 (SRC): Likewise.
10928 (LEN): Likewise.
10929 (memmove): Likewise. Do not use BP_SYM.
10930 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10931 "bp-asm.h".
10932 (PARMS): Do not use macros from bp-asm.h.
10933 (DEST): Likewise.
10934 (SRC): Likewise.
10935 (LEN): Likewise.
10936 (__mempcpy): Likewise. Do not use BP_SYM.
10937 (mempcpy): Do not use BP_SYM in weak_alias.
10938 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10939 "bp-asm.h".
10940 (PARMS): Do not use macros from bp-asm.h.
10941 (DEST): Likewise.
10942 (LEN): Likewise.
10943 [!BZERO_P] (CHR): Likewise.
10944 (memset): Likewise. Do not use BP_SYM.
10945 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10946 "bp-asm.h".
10947 (PARMS): Do not use macros from bp-asm.h.
10948 (STR2): Likewise.
10949 (strcmp): Do not use BP_SYM.
10950 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10951 "bp-asm.h".
10952 (PARMS): Do not use macros from bp-asm.h.
10953 (STR): Likewise.
10954 (DELIM): Likewise.
10955 [USE_AS_STRTOK_R] (SAVE): Likewise.
10956 (FUNCTION): Likewise. Do not use BP_SYM.
10957 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10958 aliases.
10959 (strtok_r): Likewise.
10960 (__GI___strtok_r): Likewise.
10961 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10962 (PARMS): Do not use macros from bp-asm.h.
10963 (S): Likewise.
10964 (SIZE): Likewise.
10965 (__mpn_lshift): Do not use BP_SYM.
10966 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10967 (PARMS): Do not use macros from bp-asm.h.
10968 (STR): Likewise.
10969 (CHR): Likewise.
10970 (__memchr): Do not use BP_SYM.
10971 (memchr): Do not use BP_SYM in weak_alias.
10972 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10973 (PARMS): Do not use macros from bp-asm.h.
10974 (BLK2): Likewise.
10975 (LEN): Likewise.
10976 (memcmp): Do not use BP_SYM.
10977 (bcmp): Do not use BP_SYM in weak_alias.
10978 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10979 (PARMS): Do not use macros from bp-asm.h.
10980 (S1): Likewise.
10981 (SIZE): Likewise.
10982 (__mpn_mul_1): Do not use BP_SYM.
10983 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10984 "bp-asm.h".
10985 (PARMS): Do not use macros from bp-asm.h.
10986 (STR): Likewise.
10987 (CHR): Likewise.
10988 (__rawmemchr): Do not use BP_SYM.
10989 (rawmemchr): Do not use BP_SYM in weak_alias.
10990 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10991 (PARMS): Do not use macros from bp-asm.h.
10992 (S): Likewise.
10993 (SIZE): Likewise.
10994 (__mpn_rshift): Do not use BP_SYM.
10995 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10996 (PARMS): Do not use macros from bp-asm.h.
10997 (SIGMSK): Likewise.
10998 (__sigsetjmp): Likewise. Do not use BP_SYM.
10999 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11000 (_start): Do not use BP_SYM.
11001 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11002 (PARMS): Do not use macros from bp-asm.h.
11003 (DEST): Likewise.
11004 (SRC): Likewise.
11005 (__stpcpy): Likewise. Do not use BP_SYM.
11006 (stpcpy): Do not use BP_SYM in weak_alias.
11007 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11008 "bp-asm.h".
11009 (PARMS): Do not use macros from bp-asm.h.
11010 (DEST): Likewise.
11011 (SRC): Likewise.
11012 (LEN): Likewise.
11013 (__stpncpy): Likewise. Do not use BP_SYM.
11014 (stpncpy): Do not use BP_SYM in weak_alias.
11015 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11016 (PARMS): Do not use macros from bp-asm.h.
11017 (STR): Likewise.
11018 (CHR): Likewise.
11019 (strchr): Likewise. Do not use BP_SYM.
11020 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11021 "bp-asm.h".
11022 (PARMS): Do not use macros from bp-asm.h.
11023 (STR): Likewise.
11024 (CHR): Likewise.
11025 (__strchrnul): Likewise. Do not use BP_SYM.
11026 (strchrnul): Do not use BP_SYM in weak_alias.
11027 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11028 "bp-asm.h".
11029 (PARMS): Do not use macros from bp-asm.h.
11030 (STOP): Likewise.
11031 (strcspn): Do not use BP_SYM.
11032 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11033 "bp-asm.h".
11034 (PARMS): Do not use macros from bp-asm.h.
11035 (STR): Likewise.
11036 (STOP): Likewise.
11037 (strpbrk): Likewise. Do not use BP_SYM.
11038 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11039 "bp-asm.h".
11040 (PARMS): Do not use macros from bp-asm.h.
11041 (STR): Likewise.
11042 (CHR): Likewise.
11043 (strrchr): Likewise. Do not use BP_SYM.
11044 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11045 (PARMS): Do not use macros from bp-asm.h.
11046 (SKIP): Likewise.
11047 (strspn): Do not use BP_SYM.
11048 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11049 (PARMS): Do not use macros from bp-asm.h.
11050 (STR): Likewise.
11051 (DELIM): Likewise.
11052 (SAVE): Likewise.
11053 (FUNCTION): Likewise. Do not use BP_SYM.
11054 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11055 aliases.
11056 (strtok_r): Likewise.
11057 (__GI___strtok_r): Likewise.
11058 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11059 (PARMS): Do not use macros from bp-asm.h.
11060 (S1): Likewise.
11061 (S2): Likewise.
11062 (SIZE): Likewise.
11063 (__mpn_sub_n): Do not use BP_SYM.
11064 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11065 "bp-asm.h".
11066 (PARMS): Do not use macros from bp-asm.h.
11067 (S1): Likewise.
11068 (SIZE): Likewise.
11069 (__mpn_submul_1): Do not use BP_SYM.
11070 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11071 <bp-sym.h>.
11072 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11073 and <bp-asm.h>.
11074 (PARMS): Do not use macros from bp-asm.h.
11075 (FLAGS): Likewise.
11076 (PTID): Likewise.
11077 (TLS): Likewise.
11078 (CTID): Likewise.
11079 (__clone): Do not use BP_SYM.
11080 (clone): Do not use BP_SYM in weak_alias.
11081 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11082 and <bp-asm.h>.
11083 (PARMS): Do not use macros from bp-asm.h.
11084 (LEN): Likewise.
11085 (__mmap64): Do not use BP_SYM.
11086 (mmap64): Do not use BP_SYM in weak_alias.
11087 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11088 <bp-sym.h> and <bp-asm.h>.
11089 (PARMS): Do not use macros from bp-asm.h.
11090 (__posix_fadvise64_l64): Do not use BP_SYM.
11091 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11092 (PARMS): Do not use macros from bp-asm.h.
11093 (NSOPS): Likewise.
11094 (semtimedop): Do not use BP_SYM.
11095 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11096 and <bp-asm.h>.
11097
582a3cff
AM
110982013-02-21 Allan McRae <allan@archlinux.org>
11099
11100 * manual/message.texi (Charset conversion in gettext):
11101 Move @end statement to beginning of line.
11102
bab8a695
SP
111032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11104
80945231
SP
11105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11106 static.
11107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11108 Likewise.
11109
bab8a695
SP
11110 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11111 (denorm): Likewise.
11112 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11114
e21d7aa7
AK
111152013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11116
11117 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11118 tail-call to the resolved function if pltexit isn't needed.
11119
4c7a4263
SP
111202013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11121
11122 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11123 or Y being zero as being unlikely.
11124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11125 Likewise.
11126
41f49342
CD
111272013-02-20 Carlos O'Donell <carlos@redhat.com>
11128
11129 * manual/nss.texi (System Databases and Name Service Switch):
11130 Remove frobnicate @pxref.
11131
50022a93
TS
111322013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11133
11134 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11135 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11136
08cbd996
PM
111372013-02-20 Petr Machata <pmachata@redhat.com>
11138
11139 * elf/elf.h (R_ARM_TARGET1): New macro.
11140 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11141 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11142 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11143 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11144 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11145 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11146 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11147 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11148 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11149 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11150 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11151 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11152 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11153 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11154 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11155 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11156 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11157 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11158 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11159 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11160 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11161 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11162 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11163 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11164 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11165 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11166 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11167 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11168 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11169 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11170 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11171 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11172 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11173 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11174 (R_ARM_THM_GOT_BREL12): Likewise.
11175 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11176 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11177 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11178 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11179 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11180 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11181 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11182 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11183 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11184
c7b275d6
TS
111852013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11186
11187 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11188 __attribute_used__ to __attribute__ ((unused)).
11189
20cd7fb3
SP
111902013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11191
11192 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11193 powerpc mpa.c.
11194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11195 comment formatting.
11196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11197
92945b52
JM
111982013-02-19 Joseph Myers <joseph@codesourcery.com>
11199
11200 [BZ #13550]
11201 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11202 Remove macro.
11203 (ENTER): Remove both macro definitions.
11204 (LEAVE): Likewise.
11205 (CHECK_BOUNDS_LOW): Likewise.
11206 (CHECK_BOUNDS_HIGH): Likewise.
11207 (CHECK_BOUNDS_BOTH): Likewise.
11208 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11209 (RETURN_BOUNDED_POINTER): Likewise.
11210 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11211 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11212 (POP_ERRNO_LOCATION_RETURN): Likewise.
11213 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11214 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11215 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11216 macros.
11217 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11218 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11219 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11220 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11221 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11222 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11223 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11224 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11225 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11226 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11227 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11228 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11229 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11230 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11231 removed macros.
11232 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11233 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11234 macros.
11235 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11236 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11237 * sysdeps/i386/i586/memset.S (memset): Likewise.
11238 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11239 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11240 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11241 macros.
11242 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11243 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11244 Change uses of L(2) to L(out).
11245 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11246 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11247 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11248 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11249 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11250 removed macros.
11251 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11252 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11253 macros.
11254 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11255 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11256 (RETURN): Do not use macro LEAVE.
11257 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11258 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11259 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11260 * sysdeps/i386/i686/memset.S (memset): Likewise.
11261 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11262 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11263 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11264 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11265 Likewise.
11266 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11267 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11268 L(1_2) and L(1_3) into L(1).
11269 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11270 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11271 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11272 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11273 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11274 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11275 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11276 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11277 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11278 macros.
11279 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11280 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11281 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11282 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11283 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11284 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11285 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11286 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11287 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11288 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11289 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11290 * sysdeps/i386/strspn.S (strspn): Likewise.
11291 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11292 conditional code.
11293 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11294 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11295 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11296 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11297 L(1_3) into L(1_1).
11298 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11299 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11300 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11301 macros.
11302 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11303
2389741a
JJ
113042013-02-19 Jakub Jelinek <jakub@redhat.com>
11305
11306 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11307 macro.
11308
2016b3cd
SP
113092013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11310
e4f22324
SP
11311 * math/atest-exp.c (exp_mpn): Remove ROUND.
11312 * math/atest-exp2.c (exp_mpn): Likewise.
11313 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11314
2016b3cd
SP
11315 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11316 * stdlib/tst-tls-atexit-lib.c: Likewise.
11317 * stdlib/tst-tls-atexit.c: Likewise.
11318
4be9b544
MF
113192013-02-18 Mike Frysinger <vapier@gentoo.org>
11320
11321 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11322 and __attribute_alloc_size__.
11323
2f62b9ee
MF
113242013-02-18 Mike Frysinger <vapier@gentoo.org>
11325
11326 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11327 __attribute_alloc_size__.
11328 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11329 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11330
6ff444c4
MF
113312013-02-18 Mike Frysinger <vapier@gentoo.org>
11332
11333 * include/programs/xmalloc.h: New file.
11334 * catgets/gencat.c: Include it.
11335 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11336 * elf/pldd.c: Likewise.
11337 * iconv/iconv_charmap.c: Likewise.
11338 * iconv/iconvconfig.c: Likewise.
11339 * iconv/strtab.c: Likewise.
11340 * locale/programs/locale.c: Likewise.
11341 * locale/programs/localedef.h: Likewise.
11342 * locale/programs/simple-hash.c: Likewise.
11343 * nscd/nscd.h: Likewise.
11344 * nss/makedb.c: Likewise.
11345 * sysdeps/generic/ldconfig.h: Likewise.
11346
be179c8a
SP
113472013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11348
ba384f6e
SP
11349 * Versions.def: Add GLIBC_2.18.
11350 * include/link.h (struct link_map): New member l_tls_dtor_count.
11351 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11352 (__call_tls_dtors): Likewise.
11353 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11354 __cxa_thread_atexit_impl.
11355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11356 Likewise.
11357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11358 Likewise.
11359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11360 Likewise.
11361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11362 Likewise.
11363 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11365 Likewise.
11366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11367 Likewise.
11368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11370 Likewise.
11371 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11372 (tests): Add test case tst-tls-atexit.
11373 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11374 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11375 (GLIBC_PRIVATE): Add __call_tls_dtors.
11376 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11377 for libstdc++.
11378 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11379 * stdlib/tst-tls-atexit.c: New test case.
11380 * stdlib/tst-tls-atexit-lib.c: New test case.
11381
ffaa74cf 11382 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11383
be179c8a
SP
11384 * elf/Versions (ld): Add _dl_find_dso_for_object.
11385 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11386 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11387 (dl_open_worker): Use _dl_find_dso_for_object.
11388 * elf/dl-sym.c (do_sym): Likewise.
11389 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11390
f78b5caa
AK
113912013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11392
11393 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11394 Syntactic changes only.
11395 (_dl_runtime_profile): Do a tail-call to the resolved function.
11396
29691210
JM
113972013-02-17 Joseph Myers <joseph@codesourcery.com>
11398
11399 [BZ #13550]
11400 * sysdeps/x86_64/bp-asm.h: Remove file.
11401 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11402 <bp-sym.h> and <bp-asm.h>.
11403 (__clone): Do not use BP_SYM.
11404 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11405 <bp-sym.h> and <bp-asm.h>.
11406 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11407 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11408 "bp-asm.h".
11409 (_setjmp): Do not use BP_SYM.
11410 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11411 "bp-asm.h".
11412 (setjmp): Do not use BP_SYM.
11413 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11414 libc_hidden_def.
11415 (mempcpy): Do not use BP_SYM in weak_alias.
11416 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11417 "bp-asm.h".
11418 (strchr): Do not use BP_SYM.
11419 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11420 "bp-asm.h".
11421 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11422 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11423 (_start): Do not use BP_SYM.
11424 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11425 "bp-asm.h".
11426 (strcat): Do not use BP_SYM.
11427 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11428 "bp-asm.h".
11429 (STRCMP): Do not use BP_SYM.
11430 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11431 "bp-asm.h".
11432 (STRCPY): Do not use BP_SYM.
11433 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11434 "bp-asm.h".
11435 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11436 "bp-asm.h".
11437 (FUNCTION): Do not use BP_SYM.
11438 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11439 weak_alias.
11440 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11441
f238fd19
AJ
114422013-02-17 Andreas Jaeger <aj@suse.de>
11443
11444 * time/Versions: Sort entries.
11445 * string/Versions: Likewise.
11446 * resolv/Versions: Likewise.
11447 * posix/Versions: Likewise.
11448 * iconv/Versions: Likewise.
11449 * elf/Versions: Likewise.
11450 * wcsmbs/Versions: Likewise.
11451
bd07f23c 114522013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11453
22af19f9
SP
11454 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11455 loop termination condition.
11456
4709fe76
SP
11457 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11458 variable to calculate EZ.
11459 (__sqr): Likewise.
2d0e0f29
SP
11460
11461 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11462 the lower precision input.
11463
daaa7713
JM
114642013-02-15 Joseph Myers <joseph@codesourcery.com>
11465
11466 [BZ #13550]
11467 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11468 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11469 (run-via-rtld-prefix): Do not handle %-bp tests.
11470 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11471 (all-object-suffixes): Remove .ob.
11472 (bppfx): Remove variable.
11473 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11474 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11475 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11476 [$(build-bounded) = yes] (libtype.ob): Likewise.
11477 * Makerules (elide-routines.ob): Remove variable.
11478 (do-tests-clean): Do not handle *-bp.out.
11479 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11480 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11481 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11482 (tests): Do not include $(tests-bp.out).
11483 (xtests): Do not include $(xtests-bp.out).
11484 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11485 [$(build-bounded) = yes] ($(addprefix
11486 $(objpfx),$(binaries-bounded))): Remove rule.
11487 ($(objpfx)%-bp.out): Remove rule.
11488 * config.make.in (build-bounded): Remove variable.
11489 * crypt/Makefile [$(build-bounded) = yes]
11490 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11491 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11492 append to variable.
11493 [$(build-bounded) = yes] (install-lib): Likewise.
11494 [$(build-bounded) = yes] (generated): Likewise.
11495 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11496 Remove rule.
11497 * intl/Makefile [$(build-bounded) = yes]
11498 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11499 * math/Makefile [$(build-bounded) = yes]
11500 ($(tests:%=$(objpfx)%-bp): Likewise.
11501 * misc/Makefile [$(build-bounded) = yes]
11502 ($(objpfx)tst-tsearch-bp): Likewise.
11503 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11504 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11505 Remove dependency.
11506 * string/Makefile (o-objects.ob): Remove variable.
11507 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11508 (CFLAGS-.ob): Remove variable.
11509 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11510 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11511 both definitions of variable.
11512 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11513 (ASFLAGS-.ob): Remove variable.
11514
e97ed6dd
JM
115152013-02-14 Joseph Myers <joseph@codesourcery.com>
11516
2bdd4ca6
JM
11517 [BZ #13550]
11518 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11519 Remove __BOUNDED_POINTERS__ from condition.
11520 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11521 * string/bits/string2.h [!__NO_STRING_INLINES &&
11522 !__BOUNDED_POINTERS__]: Likewise.
11523 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11524 Likewise.
11525 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11526 Remove conditional code.
11527 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11528 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11529 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11530 condition.
11531
e97ed6dd
JM
11532 [BZ #13550]
11533 * csu/libc-start.c: Do not include <bp-sym.h>.
11534 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11535 * elf/dl-open.c: Do not include <bp-sym.h>.
11536 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11537 * math/fegetenv.c: Do not include <bp-sym.h>.
11538 (fegetenv): Do not use BP_SYM in versioned symbols.
11539 * nptl/sysdeps/pthread/bits/libc-lockP.h
11540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11541 <bp-sym.h>.
11542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11543 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11545 (__pthread_mutex_destroy): Likewise.
11546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11547 (__pthread_mutex_lock): Likewise.
11548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11549 (__pthread_mutex_trylock): Likewise.
11550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11551 (__pthread_mutex_unlock): Likewise.
11552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11553 (__pthread_mutexattr_init): Likewise.
11554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11555 (__pthread_mutexattr_destroy): Likewise.
11556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11557 (__pthread_mutexattr_settype): Likewise.
11558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11559 (__pthread_rwlock_init): Likewise.
11560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11561 (__pthread_rwlock_destroy): Likewise.
11562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11563 (__pthread_rwlock_rdlock): Likewise.
11564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11565 (__pthread_rwlock_tryrdlock): Likewise.
11566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11567 (__pthread_rwlock_wrlock): Likewise.
11568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11569 (__pthread_rwlock_trywrlock): Likewise.
11570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11571 (__pthread_rwlock_unlock): Likewise.
11572 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11573 (__pthread_key_create): Likewise.
11574 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11575 (__pthread_setspecific): Likewise.
11576 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11577 (__pthread_getspecific): Likewise.
11578 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11579 Likewise.
11580 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11581 (_pthread_cleanup_push_defer): Likewise.
11582 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11583 (_pthread_cleanup_pop_restore): Likewise.
11584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11585 (pthread_setcancelstate): Likewise.
11586 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11587 <bp-sym.h>.
11588 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11589 (memchr): Do not use BP_SYM in weak_alias.
11590 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11591 (fegetenv): Do not use BP_SYM in versioned symbols.
11592 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11593 (fesetenv): Do not use BP_SYM in versioned symbols.
11594 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11595 (feupdateenv): Do not use BP_SYM in versioned symbols.
11596 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11597 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11598 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11599 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11600 (open64): Do not use BP_SYM in weak_alias.
11601 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11602 (fegetenv): Do not use BP_SYM in versioned symbols.
11603 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11604 (fesetenv): Do not use BP_SYM in versioned symbols.
11605 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11606 (feupdateenv): Do not use BP_SYM in versioned symbols.
11607 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11608 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11609 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11610 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11611 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11612 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11613 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11614 <bp-sym.h>.
11615 (__libc_start_main): Do not use BP_SYM.
11616
d6752ccd
SP
116172013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11618
cb57ce60
SP
11619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11620 redundant return line.
11621 (norm): Likewise.
11622 (denorm): Likewise.
11623 (dbl_mp): Likewise.
11624 (sub_magnitudes): Likewise.
11625 (__add): Likewise.
11626 (__sub): Likewise.
11627 (__mul): Likewise.
11628 (__inv): Likewise.
11629 (__dvd): Likewise.
11630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11631 (norm): Likewise.
11632 (denorm): Likewise.
11633 (dbl_mp): Likewise.
11634 (sub_magnitudes): Likewise.
11635 (__add): Likewise.
11636 (__sub): Likewise.
11637 (__mul): Likewise.
11638 (__inv): Likewise.
11639 (__dvd): Likewise.
11640
f414520d
SP
11641 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11642 instead of __mul.
11643 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11644 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11645 (cc32): Likewise.
11646
d6752ccd
SP
11647 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11648 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11649 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11650 of __mul for squares.
11651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11652 function
11653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11654 Likewise.
11655 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11656 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11657
70d9946a
JM
116582013-02-13 Joseph Myers <joseph@codesourcery.com>
11659
11660 [BZ #13550]
11661 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11662 code.
11663 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11664 prototype or function definition. Rename ubp_* variables and
11665 parameters. Remove argv definitions conditional on
11666 [__BOUNDED_POINTERS__].
11667 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11668 * elf/dl-runtime.c (_dl_fixup): Likewise.
11669 * include/set-hooks.h (RUN_HOOK): Likewise.
11670 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11671 definition.
11672 * string/strcpy.c (strcpy): Do not use __unbounded.
11673 * sysdeps/generic/frame.h (struct layout): Likewise.
11674 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11675 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11676 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11677 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11678 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11679 (__backtrace): Likewise.
11680 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11681 use __ptrvalue.
11682 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11683 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11684 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11685 Likewise.
11686 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11687 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11688 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11689 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11690 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11691 Do not use __unbounded.
11692 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11693 Rename __unboundedrlimits parameter to rlimits in prototype.
11694 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11695 Do not use __unbounded.
11696 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11697 not use __ptrvalue.
11698 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11699 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11700 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11701 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11702 __ptrvalue or __unbounded.
11703 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11704 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11705 use __unbounded.
11706 (__new_msgctl): Do not use __ptrvalue.
11707 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11708 __unbounded.
11709 (__libc_msgrcv): Do not use __ptrvalue.
11710 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11711 startup_info): Do not use __unbounded.
11712 (__libc_start_main): Likewise. Rename ubp_* variables and
11713 parameters. Remove argv definitions conditional on
11714 [__BOUNDED_POINTERS__].
11715 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11716 __ptrvalue.
11717 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11718 use __unbounded.
11719 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11720 or __ptrvalue.
11721 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11722 use __unbounded.
11723 (__new_shmctl): Do not use __ptrvalue.
11724 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11725 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11726 Likewise.
11727 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11728 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11729 (__libc_sigaction): Likewise.
11730 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11731 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11732 Likewise.
11733 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11734
cc7834d6
OB
117352013-02-13 Ondřej Bílka <neleai@seznam.cz>
11736
ffb1ec7b 11737 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11738
11739 * string/mempcpy.c: Implement by calling memcpy.
11740
bdf02814
SP
117412013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11742
c2af38aa
SP
11743 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11744
4e92d59e
SP
11745 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11746 evaluation.
11747
909279a5
SP
11748 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11749 values in the mantissa.
11750
bdf02814
SP
11751 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11752 minimize writes to Z.
11753 (sub_magnitudes): Simplify code a bit.
11754
cd525923
RM
117552013-02-12 Roland McGrath <roland@hack.frob.com>
11756
11757 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11758 from the message. The linker prefixes all warnings with that already.
11759
7e2f0d2d
AS
117602013-02-12 Andreas Schwab <schwab@suse.de>
11761
a445af0b
AS
11762 [BZ #15078]
11763 * posix/regexec.c (extend_buffers): Add parameter min_len.
11764 (check_matching): Pass minimum needed length.
11765 (clean_state_log_if_needed): Likewise.
11766 (get_subexp): Likewise.
11767 * posix/Makefile (tests): Add bug-regex34.
11768 (bug-regex34-ENV): Define.
11769 * posix/bug-regex34.c: New file.
11770
7e2f0d2d
AS
11771 [BZ #11561]
11772 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11773 elements compare against the byte sequence of it, not its name.
11774 * posix/Makefile (tests): Add bug-regex35.
11775 (bug-regex35-ENV): Define.
11776 * posix/bug-regex35.c: New file.
11777
a175b684
TV
117782013-02-11 Tom de Vries <tom@codesourcery.com>
11779
11780 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11781 comment.
11782 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11783 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11784 (CHECK_EOL): Add undef.
11785
310998fe 117862013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11787
11788 * bits/stdlib-bsearch.h: New file.
11789 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11790 * stdlib/stdlib.h: Likewise.
41eda41d 11791
8ded91fb
RM
117922013-02-11 Roland McGrath <roland@hack.frob.com>
11793
11794 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11795 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11796 declaration.
11797 * manual/search.texi (Array Search Function): Add missing const in
11798 lfind prototype.
11799 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11800 declaration to use rlim_t.
11801 (Basic Scheduling Functions): Remove erroneous const from
11802 sched_getparam prototype. Remove erroneous * from
11803 sched_get_priority_max and sched_get_priority_min prototypes.
11804 (Resource Usage): Fix summary @comment on vtimes to refer to
11805 sys/vtimes.h rather than vtimes.h.
11806 Add missing *s in vtimes prototype.
11807 (Limits on Resources): Fix ulimit prototype to return long int.
11808 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11809 prototypes to use long int rather than double.
11810 (BSD Random): Fix initstate and setstate to use char *, not void *.
11811 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11812 prototype to make second argument 'struct aiocb64 *const[]'.
11813 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11814 (Status of AIO Operations): Remove erroneous const in aio_return and
11815 aio_return64 prototypes.
11816 (Synchronizing I/O): Fix sync prototype to return void.
11817 * manual/startup.texi (Suboptions): Remove an erroneous const in
11818 getsubopt prototype.
11819 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11820 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11821 use size_t rather than int.
11822 (Scanning All Users): Likewise for getpwent_r.
11823 (Setting Groups): Add missing const to setgroups prototype.
11824 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11825 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11826 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11827 'const void *' rather than 'const char *'.
11828 (Host Address Functions): Likewise for inet_ntop.
11829 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11830 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11831 ssize_t for return value.
11832 (Sending Data): Likewise for send, sendto, sendmsg.
11833 (Socket Option Functions): Add a missing const in setsockopt prototype.
11834 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11835 use wchar_t for the argument.
11836 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11837 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11838 take no arguments.
11839 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11840 double/float/long double for second argument.
11841 Fix return types of significand, significandf, significandl.
11842 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11843 argument in fchmod prototype.
11844 (File Owner): Use uid_t and gid_t in fchown prototype.
11845 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11846 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11847 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11848 use 'const struct dirent **' as argument types to CMP function pointer
11849 argument.
11850 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11851 (File Times): Fix summary magic @comment for struct utimbuf and utime
11852 to refer to utime.h, not time.h.
11853 * manual/string.texi (Argz Functions): Add missing const in
11854 argz_extract and argz_next prototypes.
11855 (Finding Tokens in a String): Likewise for basename.
11856 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11857 (Copying and Concatenation): Fix typo in wmemmove prototype.
11858 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11859 (Signal Stack): Remove erroneous const in sigstack prototype.
11860 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11861 prototype.
11862 (Simple Calendar Time): Likewise for stime.
11863 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11864 prototype.
11865 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11866 say sys/sysctl.h instead.
11867 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11868 and vsyslog prototypes.
11869
fe77fe6d
TV
118702013-02-11 Tom de Vries <tom@codesourcery.com>
11871
11872 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11873 Remove.
11874
3a09b620
RM
118752013-02-11 Roland McGrath <roland@hack.frob.com>
11876
11877 * misc/sys/mman.h: Fix typo in mremap comment.
11878
550a0b89
RM
118792013-02-08 Roland McGrath <roland@hack.frob.com>
11880
11881 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11882 the '\0' terminator.
11883
a2da1673
JM
118842013-02-08 Joseph Myers <joseph@codesourcery.com>
11885
11886 [BZ #13550]
11887 * debug/segfault.c: Don't include <bp-checks.h>.
11888 * sysdeps/generic/bp-checks.h: Remove file.
11889 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11890 (__GETDENTS): Don't use CHECK_N.
11891 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11892 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11893 (__getgroups): Don't use CHECK_N.
11894 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11895 (setgroups): Don't use CHECK_N.
11896 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11897 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11898 (__libc_msgrcv): Don't use CHECK_N.
11899 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11900 (__libc_msgsnd): Don't use CHECK_N.
11901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11902 <bp-checks.h>.
11903 (__libc_pread): Don't use CHECK_N.
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11905 include <bp-checks.h>.
11906 (__libc_pread64): Don't use CHECK_N.
11907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11908 include <bp-checks.h>.
11909 (__libc_pwrite): Don't use CHECK_N.
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11911 include <bp-checks.h>.
11912 (__libc_pwrite64): Don't use CHECK_N.
11913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11914 <bp-checks.h>.
11915 (__libc_pread): Don't use CHECK_N.
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11917 include <bp-checks.h>.
11918 (__libc_pread64): Don't use CHECK_N.
11919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11920 include <bp-checks.h>.
11921 (__libc_pwrite): Don't use CHECK_N.
11922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11923 include <bp-checks.h>.
11924 (__libc_pwrite64): Don't use CHECK_N.
11925 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11926 (do_pread): Don't use CHECK_N.
11927 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11928 (do_pread64): Don't use CHECK_N.
11929 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11930 (do_pwrite): Don't use CHECK_N.
11931 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11932 (do_pwrite64): Don't use CHECK_N.
11933 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11934 (__libc_readv): Don't use CHECK_N.
11935 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11936 (semop): Don't use CHECK_N.
11937 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11938 <bp-checks.h>.
11939 (semtimedop): Don't use CHECK_N.
11940 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11941 (__libc_pread): Don't use CHECK_N.
11942 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11943 <bp-checks.h>.
11944 (__libc_pread64): Don't use CHECK_N.
11945 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11946 <bp-checks.h>.
11947 (__libc_pwrite): Don't use CHECK_N.
11948 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11949 <bp-checks.h>.
11950 (__libc_pwrite64): Don't use CHECK_N.
11951 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11952 <bp-checks.h>.
11953 (__libc_msgrcv): Don't use CHECK_N.
11954 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11955 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11956 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11957 (__libc_writev): Don't use CHECK_N.
11958
b84660a8
RM
119592013-02-08 Roland McGrath <roland@hack.frob.com>
11960
7f3e75f8
RM
11961 * string/strcpy.c: Removed unused variable.
11962
b84660a8
RM
11963 * Makeconfig (+sysdep-includes): Define with := rather than =.
11964 Use an existing include/ subdir of each sysdeps dir before it.
11965
471514d3
CD
119662013-02-08 Carlos O'Donell <carlos@redhat.com>
11967
11968 * nscd/connection.c (register_traced_file): Comment function.
11969 [HAVE_INOTIFY] (union __inev): Define.
11970 [HAVE_INOTIFY] (inotify_check_files): New function.
11971 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11972 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11973 clear_db_cache.
11974 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11975
b2d3c3be
CD
119762013-02-08 Carlos O'Donell <carlos@redhat.com>
11977
11978 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11979 loaded if not already and that a failure is permanent.
11980
b39949d2
CD
119812013-02-08 Carlos O'Donell <carlos@redhat.com>
11982
ddacd1db 11983 [BZ #15006]
b39949d2
CD
11984 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11985 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11986
b2c9eff4
JM
119872013-02-08 Joseph Myers <joseph@codesourcery.com>
11988
f3aae3f3
JM
11989 [BZ #13550]
11990 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11991 (CHECK_1_NULL_OK): Likewise.
11992 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11993 (__fxstat): Do not use CHECK_1.
11994 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11995 <bp-checks.h>.
11996 (___fxstat64): Do not use CHECK_1.
11997 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11998 <bp-checks.h>.
11999 (__fxstatat): Do not use CHECK_1.
12000 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12001 <bp-checks.h>.
12002 (__fxstatat64): Do not use CHECK_1.
12003 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12004 <bp-checks.h>.
12005 (__fxstat): Do not use CHECK_1.
12006 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12007 <bp-checks.h>.
12008 (__fxstatat): Do not use CHECK_1.
12009 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12010 <bp-checks.h>.
12011 (__getresgid): Do not use CHECK_1.
12012 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12013 <bp-checks.h>.
12014 (__getresuid): Do not use CHECK_1.
12015 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12016 <bp-checks.h>.
12017 (__lxstat): Do not use CHECK_1.
12018 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12019 <bp-checks.h>.
12020 (__old_msgctl): Do not use CHECK_1.
12021 (__new_msgctl): Likewise.
12022 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12023 <bp-checks.h>.
12024 (__new_setrlimit): Do not use CHECK_1.
12025 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12026 <bp-checks.h>.
12027 (__old_shmctl): Do not use CHECK_1.
12028 (__new_shmctl): Likewise.
12029 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12030 <bp-checks.h>.
12031 (__xstat): Do not use CHECK_1.
12032 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12033 (__lxstat): Do not use CHECK_1.
12034 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12035 <bp-checks.h>.
12036 (___lxstat64): Do not use CHECK_1.
12037 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12038 (__old_msgctl): Do not use CHECK_1.
12039 (__new_msgctl): Likewise.
12040 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12041 <bp-checks.h>.
12042 (__gettimeofday): Do not use CHECK_1.
12043 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12044 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12045 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12046 <bp-checks.h>.
12047 (__gettimeofday): Do not use CHECK_1.
12048 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12049 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12050 (__new_shmctl): Do not use CHECK_1.
12051 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12052 <bp-checks.h>.
12053 (do_sigtimedwait): Do not use CHECK_1.
12054 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12055 <bp-checks.h>.
12056 (do_sigwaitinfo): Do not use CHECK_1.
12057 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12058 <bp-checks.h>.
12059 (msgctl): Do not use CHECK_1.
12060 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12061 <bp-checks.h>.
12062 (shmctl): Do not use CHECK_1.
12063 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12064 (ustat): Do not use CHECK_1.
12065 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12066 <bp-checks.h>.
12067 (__fxstat): Do not use CHECK_1.
12068 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12069 <bp-checks.h>.
12070 (__fxstatat): Do not use CHECK_1.
12071 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12072 <bp-checks.h>.
12073 (__lxstat): Do not use CHECK_1.
12074 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12075 <bp-checks.h>.
12076 (__xstat): Do not use CHECK_1.
12077 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12078 (__xstat): Do not use CHECK_1.
12079 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12080 (___xstat64): Do not use CHECK_1.
12081
b2c9eff4
JM
12082 [BZ #13550]
12083 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12084 definitions.
12085 (CHECK_BOUNDS_HIGH): Likewise.
12086 * string/strcpy.c: Do not include <bp-checks.h>.
12087 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12088
f1d70dad
RM
120892013-02-07 Roland McGrath <roland@hack.frob.com>
12090
12091 * nscd/nscd-client.h (__nscd_drop_map_ref):
12092 Add __attribute__ ((unused)).
12093 * nis/nss-nisplus.h (niserr2nss): Likewise.
12094
12095 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12096 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12097
12098 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12099 Remove inline keyword.
12100 * include/rounding-mode.h (round_away): Likewise.
12101 * libio/wfileops.c (adjust_wide_data): Likewise.
12102 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12103 (__m128i_strloadu_tolower): Likewise.
12104 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12105 (__m128i_strloadu_tolower): Likewise.
12106 * time/mktime.c (ydhms_diff): Likewise.
12107 * locale/elem-hash.h (elem_hash): Likewise.
12108 * locale/setlocale.c (setdata): Likewise.
12109 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12110 (re_string_wchar_at): Likewise.
12111 (bitset_not, bitset_merge, bitset_mask): Likewise.
12112 [!(__GNUC__ > 3)] (inline): Remove macro.
12113 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12114 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12115 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12116 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12117 * string/memcmp.c (memcmp_bytes): Likewise.
12118 * locale/programs/locarchive.c (compute_hashval): Likewise.
12119 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12120 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12121 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12122 * nss/getent.c (print_rpc, print_protocols): Likewise.
12123 (print_passwd, print_group, print_aliases): Likewise.
12124 * nis/nss-nisplus.h (niserr2nss): Likewise.
12125 * nscd/connections.c (restart_p): Likewise.
12126 Change return type to bool.
12127
eab55bfb
RM
121282013-02-05 Roland McGrath <roland@hack.frob.com>
12129
7bd642f5
RM
12130 * Makeconfig (all-Depend-files): Add existing
12131 $(sorted-subdirs:=/Depend) files.
12132 (all-subdirs): Remove nss.
12133 * sysdeps/unix/inet/Subdirs: Add it here instead.
12134 * hesiod/Depend: New file.
12135
573c29b2
RM
12136 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12137 instead of calling alloca.
12138
b2e25af0
RM
12139 * io/lseek.c (__lseek): Rename to __libc_lseek.
12140 Define __lseek as an alias.
12141
eab55bfb
RM
12142 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12143
9a0d1941
CD
121442013-02-04 Carlos O'Donell <carlos@redhat.com>
12145
12146 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12147 else clause and remove check for non-standard endianness.
12148
b83bbec4
DM
121492013-02-04 David S. Miller <davem@davemloft.net>
12150
12151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12152
6277fdab
JM
121532013-02-04 Joseph Myers <joseph@codesourcery.com>
12154
12155 [BZ #13550]
12156 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12157 (__ubp_memchr): Remove prototype.
12158 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12159 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12160 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12161 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12162 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12163 Remove alias.
12164 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12165 (__ubp_memchr): Likewise.
12166 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12167 (__ubp_memchr): Likewise.
12168 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12169 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12170 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12171 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12172 CHECK_STRING.
12173 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12174 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12175 (__getcwd): Do not use CHECK_STRING.
12176 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12177 <bp-checks.h>.
12178 (__real_chown): Do not use CHECK_STRING.
12179 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12180 <bp-checks.h>.
12181 (fchownat): Do not use CHECK_STRING.
12182 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12183 CHECK_STRING.
12184 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12185 <bp-checks.h>.
12186 (__lchown): Do not use CHECK_STRING.
12187 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12188 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12189 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12190 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12192 include <bp-checks.h>.
12193 (truncate64): Do not use CHECK_STRING.
12194 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12195 <bp-checks.h>.
12196 (__real_chown): Do not use CHECK_STRING.
12197 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12198 <bp-checks.h>.
12199 (__lchown): Do not use CHECK_STRING.
12200 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12201 <bp-checks.h>.
12202 (__chown): Do not use CHECK_STRING.
12203 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12204 <bp-checks.h>.
12205 (truncate64): Do not use CHECK_STRING.
12206 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12207 Likewise.
12208 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12209 (__xmknod): Do not use CHECK_STRING.
12210 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12211 <bp-checks.h>.
12212 (__xmknodat): Do not use CHECK_STRING.
12213 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12214 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12215
903ae060
AS
122162013-02-04 Andreas Schwab <schwab@suse.de>
12217
12218 [BZ #14142]
12219 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12220 * include/netdb.h: Likewise for h_errno.
12221 * elf/tst-stackguard1.c: Include <tls.h>.
12222
542f9466
JK
122232013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12224
12225 * elf/link.h (struct link_map): Extend the l_addr comment.
12226 * include/link.h (struct link_map): Likewise.
12227
e782a927
JM
122282013-02-01 Joseph Myers <joseph@codesourcery.com>
12229
12230 [BZ #13550]
12231 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12232 (BOUNDED_1): Remove macro.
12233 * debug/backtrace.c: Don't include <bp-checks.h>.
12234 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12235 (__backtrace): Likewise.
12236 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12237 <bp-checks.h>.
12238 (__backtrace): Don't use BOUNDED_1.
12239 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12240 <bp-checks.h>.
12241 (__backtrace): Don't use BOUNDED_1.
12242 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12243 (__backtrace): Don't use BOUNDED_1.
12244 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12245 (shmat): Don't use BOUNDED_N.
12246
8cf28c5e
JM
122472013-01-31 Joseph Myers <joseph@codesourcery.com>
12248
3a7ac8a0
JM
12249 [BZ #13550]
12250 * sysdeps/generic/bp-start.h: Remove file.
12251 * csu/libc-start.c: Don't include <bp-start.h>.
12252 (LIBC_START_MAIN): Set up __environ directly instead of using
12253 INIT_ARGV_and_ENVIRON.
12254 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12255 <bp-start.h>.
12256
f3499f95
JM
12257 [BZ #13550]
12258 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12259 definitions.
12260 (CHECK_FCNTL): Likewise.
12261 (CHECK_N_PAGES): Likewise.
12262
32a45bea
JM
12263 [BZ #13550]
12264 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12265 definitions.
12266 (CHECK_SIGSET_NULL_OK): Likewise.
12267 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12268 <bp-checks.h>.
12269 (sigpending): Don't use CHECK_SIGSET.
12270 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12271 <bp-checks.h>.
12272 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12273 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12274 <bp-checks.h>.
12275 (do_sigsuspend): Don't use CHECK_SIGSET.
12276 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12277 use CHECK_SIGSET.
12278 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12279 (do_sigwait): Don't use CHECK_SIGSET.
12280 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12281 use CHECK_SIGSET.
12282 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12283 include <bp-checks.h>.
12284 (sigpending): Don't use CHECK_SIGSET.
12285 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12286 include <bp-checks.h>.
12287 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12288 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12289 <bp-checks.h>.
12290 (sigpending): Don't use CHECK_SIGSET.
12291 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12292 <bp-checks.h>.
12293 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12294
2e8a5c8c
JM
12295 [BZ #13550]
12296 * sysdeps/generic/bp-semctl.h: Remove file.
12297 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12298 <bp-checks.h> and <bp-semctl.h>.
12299 (__old_semctl): Don't use CHECK_SEMCTL.
12300 (__new_semctl): Likewise.
12301 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12302 and <bp-semctl.h>.
12303 (__old_semctl): Don't use CHECK_SEMCTL.
12304 (__new_semctl): Likewise.
12305 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12306 <bp-checks.h> and <bp-semctl.h>.
12307 (__old_semctl): Don't use CHECK_SEMCTL.
12308 (__new_semctl): Likewise.
12309 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12310 <bp-checks.h> and <bp-semctl.h>.
12311 (semctl): Don't use CHECK_SEMCTL.
12312
c2d54929
JM
12313 [BZ #13550]
12314 * Makerules (elide-bp-thunks): Remove variable.
12315 (elide-routines.oS): Don't use $(elide-bp-thunks).
12316 (elide-routines.os): Likewise.
12317 (elide-routines.o): Likewise.
12318 (elide-routines.op): Likewise.
12319 (elide-routines.og): Likewise.
12320 (objects): Don't use $(bp-thunks).
12321 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12322 include.
12323 (common-generated): Do not add s-proto-bp.d.
12324 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12325 (int): Likewise.
12326 (typ): Likewise.
12327 Do not generate makefile rules for bounded-pointer thunks.
12328 * sysdeps/generic/bp-thunks.h: Remove file.
12329 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12330 * sysdeps/unix/s-proto-bp.S: Likewise.
12331
8cf28c5e
JM
12332 [BZ #15062]
12333 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12334 parts of result separately when argument is not close to line from
12335 -i to i and one part of argument is small.
12336 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12337 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12338 * math/libm-test.inc (cacos_test): Add more tests.
12339 (casin_test): Likewise.
12340 (casinh_test): Likewise.
12341 * sysdeps/i386/fpu/libm-test-ulps: Update.
12342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12343
c4e33b8d
DM
123442013-01-31 David S. Miller <davem@davemloft.net>
12345
12346 * po/de.po: Update from translation team.
12347
3b60b421
MK
123482013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12349
12350 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12351
bb931195
TS
123522013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12353
b5a5da23
TS
12354 * configure.in (_AC_PROG_CC_C89): New definition.
12355 * configure: Regenerate.
12356
bb931195
TS
12357 * configure.in (AC_PROG_CPP): New definition.
12358 * configure: Regenerate.
12359
8c53a12c
JM
123602013-01-23 Joseph Myers <joseph@codesourcery.com>
12361
12362 * debug/tst-backtrace.h: New file.
12363 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12364 (ret): Remove variable.
12365 (x): Likewise.
12366 (FAIL): Remove macro.
12367 (NO_INLINE): Likewise.
12368 (fn1): Use match function instead of strstr.
12369 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12370 (ret): Remove variable.
12371 (x): Likewise.
12372 (FAIL): Remove macro.
12373 (NO_INLINE): Likewise.
12374 (fn): Use match function instead of strstr.
12375 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12376 (ret): Remove variable.
12377 (x): Likewise.
12378 (FAIL): Remove macro.
12379 (NO_INLINE): Likewise.
12380 (handle_signal): Use match function instead of strstr.
12381 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12382 (ret): Remove variable.
12383 (x): Likewise.
12384 (FAIL): Remove macro.
12385 (NO_INLINE): Likewise.
12386 (handle_signal): Use match function instead of strstr.
12387
4858fa2a
RM
123882013-01-23 Roland McGrath <roland@hack.frob.com>
12389
12390 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12391
bae8e7f5
DM
123922013-01-23 David S. Miller <davem@davemloft.net>
12393
12394 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12395 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12396 argument of CAS if possible.
12397 * sysdeps/sparc/sparc64/bits/atomic.h
12398 (__arch_compare_and_exchange_val_32_acq): Likewise.
12399 (__arch_compare_and_exchange_val_64_acq): Likewise.
12400
9cbbc4ae
PT
124012013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12402
12403 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12404 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12405 Include <limits.h>.
67b3f58c 12406 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12407
5655a0b5
AC
124082013-01-23 Adam Conrad <adconrad@0c3.net>
12409
12410 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12411 (LDFLAGS-tst-array5): Likewise.
12412
052aff95
JM
124132013-01-23 Joseph Myers <joseph@codesourcery.com>
12414
12415 [BZ #15036]
12416 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12417 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12418 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12419 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12420
7c1e01aa
DM
124212013-01-21 David S. Miller <davem@davemloft.net>
12422
12423 * sysdeps/sparc/backtrace.c: New file.
12424 * sysdeps/sparc/sparc32/backtrace.h: New file.
12425 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12426 * sysdeps/sparc/sparc64/backtrace.h: New file.
12427 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12428 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12429 -funwind-tables.
12430
ab087e0a
AS
124312013-01-21 Andreas Schwab <schwab@suse.de>
12432
12433 [BZ #15020]
12434 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12435 closed its stdout.
12436
ed689c2f
AS
124372013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12438
12439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12440 "mpa2.h".
12441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12442
31d470ac
JM
124432013-01-18 Joseph Myers <joseph@codesourcery.com>
12444 Mark Mitchell <mark@codesourcery.com>
12445 Tom de Vries <tom@codesourcery.com>
12446 Paul Pluzhnikov <ppluzhnikov@google.com>
12447
12448 * debug/tst-backtrace2.c: New file.
12449 * debug/tst-backtrace3.c: Likewise.
12450 * debug/tst-backtrace4.c: Likewise.
12451 * debug/tst-backtrace5.c: Likewise.
12452 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12453 (CFLAGS-tst-backtrace3.c): Likewise.
12454 (CFLAGS-tst-backtrace4.c): Likewise.
12455 (CFLAGS-tst-backtrace5.c): Likewise.
12456 (LDFLAGS-tst-backtrace2): Likewise.
12457 (LDFLAGS-tst-backtrace3): Likewise.
12458 (LDFLAGS-tst-backtrace4): Likewise.
12459 (LDFLAGS-tst-backtrace5): Likewise.
12460 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12461 tst-backtrace4 and tst-backtrace5.
12462
90567f30 124632013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12464 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12465
12466 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12467 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12468 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12469 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12471 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12472 "+r" and remove output regs list as redundant. Add explicit inline
12473 asm to specify register of return val to work around compiler codegen
12474 bug. Remove (int) cast on return value. Add return type parameter to
12475 use in macro so that this macro does not truncate return value for
12476 64-bit values.
12477 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12478 pass to INTERNAL_VSYSCALL_NCS.
12479 (INLINE_VSYSCALL): Add 'long int' as return type to
12480 INTERNAL_VSYSCALL_NCS macro invocation.
12481 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12482 INTERNAL_VSYSCALL_NCS macro invocation.
12483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12484
d3b9ea61
SP
124852013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12486
0b57daeb
SP
12487 [BZ #14496]
12488 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12489 Fix application of SIMD FP exception mask.
12490
caa99d06
SP
12491 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12492 mp_no from a power of two.
12493 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12494 __mpexp_twomm1. Use __pow_mp.
12495
d3b9ea61
SP
12496 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12497 multiplication.
12498
1dbaee3c
DM
124992013-01-17 David S. Miller <davem@davemloft.net>
12500
12501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12502
728d7b43
JM
125032013-01-17 Joseph Myers <joseph@codesourcery.com>
12504
12505 [BZ #15023]
12506 * include/complex.h: Condition contents on [!_COMPLEX_H].
12507 (__kernel_casinhf): New prototype.
12508 (__kernel_casinh): Likewise.
12509 (__kernel_casinhl): Likewise.
12510 * math/Makefile (libm_calls): Add k_casinh.
12511 * math/k_casinh.c: New file.
12512 * math/k_casinhf.c: Likewise.
12513 * math/k_casinhl.c: Likewise.
12514 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12515 finite nonzero arguments.
12516 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12517 finite nonzero arguments.
12518 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12519 finite nonzero arguments.
12520 * math/s_casinh.c: Do not include <float.h>.
12521 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12522 * math/s_casinhf.c: Do not include <float.h>.
12523 (__casinhf): Move code for finite nonzero arguments to
12524 k_casinhf.c.
12525 * math/s_casinhl.c: Do not include <float.h>.
12526 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12527 redefine.
12528 (__casinhl): Move code for finite nonzero arguments to
12529 k_casinhl.c.
12530 * math/libm-test.inc (cacos_test): Add more tests.
12531 * sysdeps/i386/fpu/libm-test-ulps: Update.
12532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12533
2a26ef3a
PT
125342013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12535
12536 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12537 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12538 [!HAVE_MREMAP]: Remove [defined linux] case.
12539 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12540
a897655d
SP
125412013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12542
12543 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12544
881ebe89 125452013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12546
12547 * elf/elf.h (R_386_SIZE32): New relocation.
12548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12549 R_386_SIZE32.
12550 (elf_machine_rela): Likewise.
12551 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12552 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12553
59981e9b
JM
125542013-01-17 Joseph Myers <joseph@codesourcery.com>
12555
12556 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12557 (FP_FAST_FMA): Do not define.
12558 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12559 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12560 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12561 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12562 !_SOFT_FLOAT]: Likewise.
12563 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12564 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12565 value.
12566 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12567 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12568 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12569 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12570 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12571 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12572 file.
12573
cfa8054f
AS
125742013-01-16 Andreas Schwab <schwab@suse.de>
12575
12576 [BZ #14327]
12577 * include/stdlib.h (__mktemp): Add declaration.
12578 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12579 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12580
dd930cc5
SP
125812013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12582
881ebe89
SP
12583 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12584 definitions.
12585 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12586 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12587 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12588 definitions here.
12589 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12590 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12591 definitions.
12592 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12593 and ONE.
12594 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12595 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12596 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12597 definitions.
12598 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12599 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12600 definitions.
12601 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12602
dd930cc5
SP
12603 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12604
c19a9f89
DM
126052013-01-15 David S. Miller <davem@davemloft.net>
12606
1aa61767
DM
12607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12608 trunc{,f} to libm-sysdep_routes.
12609 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12611 file.
12612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12614 file.
12615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12616 file.
12617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12619 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12620 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12621 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12622 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12623 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12624 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12625
c42d5e98
DM
12626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12627 nearbyint{,f} to libm-sysdep_routes.
12628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12630 New file.
12631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12632 file.
12633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12634 New file.
12635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12636 file.
12637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12639 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12640 file.
12641 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12642 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12643 file.
12644 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12645 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12646 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12647
c19a9f89
DM
12648 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12649 libc_feholdexcept and libc_fesetenv.
12650
357679d2
MF
126512013-01-15 Mike Frysinger <vapier@gentoo.org>
12652
12653 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12654
65a82e3d
DM
126552013-01-14 David S. Miller <davem@davemloft.net>
12656
8b954ab9
DM
12657 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12658 (SPARC_ASM_VIS2_IFUNC): Likewise.
12659 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12661 use of 'siam' instruction.
12662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12663 Likewise.
12664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12665 Likewise.
12666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12667 Likewise.
12668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12673 file.
12674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12675 file.
12676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12677 file.
12678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12679 file.
12680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12685 new VIS2 routines.
12686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12689 Likewise.
12690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12695 routines to libm-sysdep_routines.
12696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12697
65a82e3d
DM
12698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12699 fdim/fdimf to libm-sysdep_routines.
12700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12701 file.
12702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12704 file.
12705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12708 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12709 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12710 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12711 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12712
e34ab705
SP
127132013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12714
2a91b573
SP
12715 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12716 to optimize copies.
12717
1066a534
SP
12718 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12721
e34ab705
SP
12722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12723 local variable MPTWO.
12724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12725 Likewise.
12726
aba5e596
MF
127272013-01-13 Mike Frysinger <vapier@gentoo.org>
12728
12729 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12730 GLOB_NOESCAPE.
12731
e557e9e5
MF
127322013-01-13 Mike Frysinger <vapier@gentoo.org>
12733
12734 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12735
0428cec9
MF
127362013-01-13 Mike Frysinger <vapier@gentoo.org>
12737
12738 * manual/pattern.texi (glob_t): Document gl_flags.
12739 (glob64_t): Likewise.
12740
8794a964
DM
127412013-01-11 David S. Miller <davem@davemloft.net>
12742
66438c3f
RM
12743 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12744 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12745 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12746 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12747 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12748 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12749 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12750 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12751 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12752 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12753 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12754 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12755 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12756
4ae4244d
DM
12757 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12758 sparc V9 rather than using V8 code.
12759 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12760 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12761
8794a964
DM
12762 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12763 Move to...
12764 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12765 Here.
12766
6270516e
RM
127672013-01-11 Roland McGrath <roland@hack.frob.com>
12768
12769 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12770 not in the main loop.
12771 * configure: Regenerated.
12772
6a57d931
JM
127732013-01-11 Joseph Myers <joseph@codesourcery.com>
12774
12775 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12776 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12777 to just #else.
12778 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12779 [!__GLIBC_HAVE_LONG_LONG] case.
12780 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12781 condition to just #else.
12782 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12783 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12784 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12785 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12786 unconditional.
12787 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12788 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12789 #elif condition to just #else.
12790 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12791 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12792 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12793 #elif condition to just #else.
12794
0e8529e9
SE
127952013-01-11 Steve Ellcey <sellcey@mips.com>
12796
12797 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12798 (EF_MIPS_ARCH_64): Fix value.
12799 (EF_MIPS_ARCH_32R2): New.
12800 (EF_MIPS_ARCH_64R2): New.
12801
740b3dbe
L
128022013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12803
12804 * Makeconfig (+link-pie-before-libc): New.
12805 (+link-pie-after-libc): Likewise.
12806 (+link-pie-tests): Likewise.
12807 (+link-pie): Rewritten.
12808 (link-before-libc): Remove $(config-LDFLAGS).
12809 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12810 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12811 (config-LDFLAGS): Renamed to ...
12812 (rtld-LDFLAGS): This.
12813 (rtld-tests-LDFLAGS): New macro.
12814 (link-libc-rpath-link): Likewise.
12815 (link-libc-tests-rpath-link): Likewise.
12816 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12817 (link-libc): Prepand $(link-libc-rpath-link).
12818 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12819 (test-program-prefix): New macro.
12820 (test-via-rtld-prefix): Likewise.
12821 (test-program-cmd): Likewise.
12822 (host-test-program-cmd): Likewise.
12823 * Makefile ($(common-objpfx)testrun.sh): Replace
12824 $(run-program-prefix) with $(test-program-prefix).
12825 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12826 $(rtld-LDFLAGS).
12827 ($(common-objpfx)shlib.lds): Likewise.
12828 (build-module-helper): Likewise.
12829 ($(common-objpfx)format.lds): Likewise.
12830 * Rules (binaries-pie-tests): New.
12831 (binaries-pie-notests): Likewise.
12832 (binaries-pie): Rewritten.
12833 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12834 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12835 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12836 (make-test-out): Replace $(host-built-program-cmd) with
12837 $(host-test-program-cmd).
12838 * config.make.in (build-hardcoded-path-in-tests): New variable.
12839 * configure.in (--enable-hardcoded-path-in-tests): New configure
12840 option.
12841 (hardcoded_path_in_tests): New AC_SUBST.
12842 * configure: Regenerated.
12843 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12844 $(built-program-cmd) with $(test-program-cmd).
12845 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12846 (test_program_cmd): This.
12847 * elf/Makefile ($(objpfx)order.out): Run test with
12848 $(test-program-prefix).
12849 ($(objpfx)order2.out): Likewise.
12850 ($(objpfx)tst-initorder.out): Likewise.
12851 ($(objpfx)tst-initorder2.out): Likewise.
12852 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12853 $(test-program-cmd).
12854 ($(objpfx)tst-array1-static.out): Likewise.
12855 ($(objpfx)tst-array2.out): Likewise.
12856 ($(objpfx)tst-array3.out): Likewise.
12857 ($(objpfx)tst-array4.out): Likewise.
12858 ($(objpfx)tst-array5.out): Likewise.
12859 ($(objpfx)tst-array5-static.out): Likewise.
12860 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12861 $(test-program-cmd).
12862 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12863 $(run-program-prefix) with $(test-program-prefix).
12864 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12865 (test_program_prefix): This.
12866 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12867 $(run-program-prefix) with $(test-program-prefix).
12868 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12869 (test_program_prefix): This.
12870 * iconvdata/tst-tables.sh: Likewise.
12871 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12872 $(run-program-prefix) with $(test-program-prefix).
12873 ($(objpfx)tst-translit.out): Likewise.
12874 ($(objpfx)tst-gettext2.out): Likewise.
12875 ($(objpfx)tst-gettext4.out): Likewise.
12876 ($(objpfx)tst-gettext6.out): Likewise.
12877 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12878 (test_program_prefix): This.
12879 * intl/tst-gettext2.sh: Likewise.
12880 * intl/tst-gettext4.sh Likewise.
12881 * intl/tst-gettext6.sh: Likewise.
12882 * intl/tst-translit.sh: Likewise.
12883 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12884 with $(test-program-cmd).
12885 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12886 $(run-program-prefix) with $(test-program-prefix).
12887 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12888 (test_program_prefix): This.
12889 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12890 $(run-program-prefix) with $(test-program-prefix).
12891 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12892 (test_program_prefix): This.
12893 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12894 * posix/Makefile ($(objpfx)globtest.out): Replace
12895 $(run-via-rtld-prefix) and $(test-wrapper) with
12896 $(test-program-prefix) and $(test-via-rtld-prefix).
12897 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12898 $(test-program-prefix).
12899 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12900 $(host-test-program-cmd).
12901 (tst-spawn-ARGS): Likewise.
12902 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12903 $(test-program-prefix).
12904 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12905 (test_via_rtld_prefix): This.
12906 (test_wrapper): Renamed to ...
12907 (test_program_prefix): This.
12908 (run_program_prefix): Replaced by test_program_prefix.
12909 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12910 (test_program_prefix): This.
12911 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12912 with $(host-test-program-cmd).
12913 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12914 $(run-program-prefix) with $(test-program-prefix).
12915 ($(objpfx)tst-printf.out): Likewise.
12916 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12917 $(test-program-cmd).
12918 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12919 (test_program_prefix): This.
12920 * stdio-common/tst-unbputc.sh: Likewise.
12921 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12922 $(run-program-prefix) with $(test-program-prefix).
12923 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12924 (test_program_prefix): This.
12925 * string/Makefile ($(objpfx)tst-svc.out): Replace
12926 $(built-program-cmd) with $(test-program-cmd).
12927
c6fe55cf
AJ
129282013-01-11 Andreas Jaeger <aj@suse.de>
12929
12930 [BZ #15003]
12931 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12932 value. Sync with Linux 3.7.
12933
9e6919c8
DM
129342013-01-10 David S. Miller <davem@davemloft.net>
12935
12936 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12937 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12938 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12939
1c9f1a02
RM
129402013-01-10 Roland McGrath <roland@hack.frob.com>
12941
12942 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12943 never set.
12944 * configure: Regenerated.
12945
b9de2dde
DM
129462013-01-10 David S. Miller <davem@davemloft.net>
12947
12948 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12949 sparc V9 rather than using V8 code.
12950 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12951 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12952
e7f68ef4
RM
129532013-01-10 Roland McGrath <roland@hack.frob.com>
12954
12955 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12956 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12957 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12958 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12959 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12960 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12961 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12962 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12963 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12964 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12965 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12966 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12967 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12968 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12969 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12970 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12971 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12972 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12973 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12974 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12975 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12976 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12977 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12978 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12979 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12980 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12981 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12982
5a47cc9c
DM
129832013-01-10 David S. Miller <davem@davemloft.net>
12984
12985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12986
4cf8f209
L
129872013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12988
12989 * posix/Makefile (tests-static): New variable.
12990 (tests): Add $(tests-static).
12991 (tst-exec-static-ARGS): New variable.
12992 (tst-spawn-static-ARGS): Likewise.
12993 * posix/tst-exec-static.c: New file.
12994 * posix/tst-spawn-static.c: Likewise.
12995 * posix/tst-exec.c: Support run directly.
12996 * posix/tst-spawn.c: Likewise.
12997
fed0faa1
JM
129982013-01-10 Joseph Myers <joseph@codesourcery.com>
12999
828beb13
JM
13000 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13001 long.
13002 * math/bits/mathcalls.h (llrint): Likewise.
13003 (llround): Likewise.
13004 * stdlib/stdlib.h (struct drand48_data): Likewise.
13005 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13006 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13007 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13008 Likewise.
13009 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13010 Likewise.
13011 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13012 (elf_greg_t): Likewise.
13013 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13014 (__jmp_buf): Likewise.
13015 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13016 definitions.
13017 (llrint): Likewise, for all definitions.
13018 (llrintl): Likewise.
13019
fed0faa1
JM
13020 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13021 Remove [__GNUC__] condition.
13022 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13023 condition to just [__USE_ISOC99].
13024 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13025
1a20cb20
L
130262013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13027
13028 [BZ #14200]
13029 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13030 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13031 defined.
13032 (_POSIX_V6_ILP32_OFF32): Likewise.
13033 (_XBS5_ILP32_OFF32): Likewise.
13034 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13035 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13036
751b85f7
SP
130372013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13038
7490eb81
SP
13039 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13040
751b85f7
SP
13041 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13042 doubles __mpexp_twomm1. Adjust usage.
13043 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13044 Remove.
13045
988197f0
AS
130462013-01-10 Andreas Schwab <schwab@suse.de>
13047
13048 [BZ #14964]
13049 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13050 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13051
e83d7298
DM
130522013-01-09 David S. Miller <davem@davemloft.net>
13053
034ed64b 13054 [BZ #15003]
e83d7298
DM
13055 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13056 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13057 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13058 TCP_FASTOPEN): Define.
13059 (tcp_repair_opt): New structure.
13060 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13061 enum values.
13062 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13063 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13064 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13065 (tcp_cookie_transactions): New structure.
13066
d5e0b9bd
AB
130672013-01-09 Anton Blanchard <anton@samba.org>
13068
13069 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13070 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13071 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13072 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13073
0c07e3ea
JM
130742013-01-09 Joseph Myers <joseph@codesourcery.com>
13075
13076 * include/features.h (__USE_ANSI): Remove.
13077
232f7002
RM
130782013-01-09 Roland McGrath <roland@hack.frob.com>
13079
ad98e30c
RM
13080 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13081
232f7002
RM
13082 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13083
950c99ca
SP
130842013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13085
b5792741
SP
13086 * sysdeps/s390/fpu/libm-test-ulps: Update.
13087
47cf2278
SP
13088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13089
950c99ca
SP
13090 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13091 (__acr): Likewise.
13092 (__cpy): Likewise.
13093 (norm): Likewise.
13094 (denorm): Likewise.
13095 (__mp_dbl): Likewise.
13096 (__dbl_mp): Likewise.
13097 (add_magnitudes): Likewise.
13098 (sub_magnitudes): Likewise.
13099 (__add): Likewise.
13100 (__sub): Likewise.
13101 (__mul): Likewise.
13102 (__inv): Likewise.
13103 (__dvd): Likewise.
13104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13105 (__acr): Likewise.
13106 (__cpy): Likewise.
13107 (norm): Likewise.
13108 (denorm): Likewise.
13109 (__mp_dbl): Likewise.
13110 (__dbl_mp): Likewise.
13111 (add_magnitudes): Likewise.
13112 (sub_magnitudes): Likewise.
13113 (__add): Likewise.
13114 (__sub): Likewise.
13115 (__mul): Likewise.
13116 (__inv): Likewise.
13117 (__dvd): Likewise.
13118 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13119 (__acr): Likewise.
13120 (__cpy): Likewise.
13121 (norm): Likewise.
13122 (denorm): Likewise.
13123 (__mp_dbl): Likewise.
13124 (__dbl_mp): Likewise.
13125 (add_magnitudes): Likewise.
13126 (sub_magnitudes): Likewise.
13127 (__add): Likewise.
13128 (__sub): Likewise.
13129 (__mul): Likewise.
13130 (__inv): Likewise.
13131 (__dvd): Likewise.
13132
eede9df9
JM
131332013-01-08 Joseph Myers <joseph@codesourcery.com>
13134
13135 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13136 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13137 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13138 2 && __USE_EXTERN_INLINES]: Likewise.
13139
c40ea3d9
AJ
131402013-01-08 Andreas Jaeger <aj@suse.de>
13141
13142 [BZ# 14985]
13143 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13144 Remove.
13145 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13146 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13147
2ccdea26
AB
131482013-01-07 Anton Blanchard <anton@samba.org>
13149
13150 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13151 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13152 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13153 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13154 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13155 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13156 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13157 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13159 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13160 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13161 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13162 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13163 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13164 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13165 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13166 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13168 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13169 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13170 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13171 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13172 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13173 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13174 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13175 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13176 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13177 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13178 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13179 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13180 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13182 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13183 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13184 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13185 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13186 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13187 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13188 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13189 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13190 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13191 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13192 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13193
a9708fed
JM
131942013-01-07 Joseph Myers <joseph@codesourcery.com>
13195
375607b9
JM
13196 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13197 (__MALLOC_PMT): Likewise.
13198 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13199 [__GNUC__], only on [_LIBC].
13200 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13201 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13202 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13203 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13204 forward declaration.
13205 (realloc_hook_ini): Likewise.
13206 (memalign_hook_ini): Likewise.
13207 (__libc_memalign): Do not use __MALLOC_PMT in variable
13208 declaration.
13209 (__libc_valloc): Likewise.
13210 (__libc_pvalloc): Likewise.
13211 (__libc_calloc): Likewise.
13212 (__posix_memalign): Likewise.
13213
a9708fed
JM
13214 [BZ #14996]
13215 * math/s_casinh.c: Include <float.h>.
13216 (__casinh): Do not do computation with squaring and square root
13217 for large arguments.
13218 * math/s_casinhf.c: Include <float.h>.
13219 (__casinhf): Do not do computation with squaring and square root
13220 for large arguments.
13221 * math/s_casinhl.c: Include <float.h>.
13222 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13223 (__casinhl): Do not do computation with squaring and square root
13224 for large arguments.
13225 * math/libm-test.inc (casin_test): Add more tests.
13226 (casinh_test): Likewise.
13227 * sysdeps/i386/fpu/libm-test-ulps: Update.
13228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13229
afec409a
L
132302013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13231
13232 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13233 (__x86_64_raw_data_cache_size): Likewise.
13234 (__x86_64_data_cache_size_half): Likewise.
13235 (__x86_64_raw_data_cache_size_half): Likewise.
13236 (__x86_64_shared_cache_size): Likewise.
13237 (__x86_64_raw_shared_cache_size): Likewise.
13238 (__x86_64_shared_cache_size_half): Likewise.
13239 (__x86_64_raw_shared_cache_size_half): Likewise.
13240 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13241 to ...
13242 (__x86_data_cache_size): This.
13243 (__x86_64_raw_data_cache_size): Renamed to ...
13244 (__x86_raw_data_cache_size): This.
13245 (__x86_64_data_cache_size_half): Renamed to ...
13246 (__x86_data_cache_size_half): This.
13247 (__x86_64_raw_data_cache_size_half): Renamed to ...
13248 (__x86_raw_data_cache_size_half): This.
13249 (__x86_64_shared_cache_size): Renamed to ...
13250 (__x86_shared_cache_size): This.
13251 (__x86_64_raw_shared_cache_size): Renamed to ...
13252 (__x86_raw_shared_cache_size): This.
13253 (__x86_64_shared_cache_size_half): Renamed to ...
13254 (__x86_shared_cache_size_half): This.
13255 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13256 (__x86_raw_shared_cache_size_half): This.
13257 * sysdeps/x86_64/memcpy.S: Updated.
13258 * sysdeps/x86_64/memset.S: Likewise.
13259 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13260 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13261 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13262
0b3986d0
DM
132632013-01-04 David S. Miller <davem@davemloft.net>
13264
13265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13266
e47686e9
AS
132672013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13268
d643bac1
AS
13269 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13270 1 to avoid redefinition warning.
13271 (__USE_GNU): Don't define.
13272 (init_signaling_nan): Protoize.
13273
e47686e9
AS
13274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13275
b18decba
SP
132762013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13277
fffb407f
SP
13278 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13280 (__cpymn): Likewise.
13281 (norm): Remove commented code.
13282 (denorm): Likewise.
13283 (__mp_dbl): Likewise.
13284 (__inv): Likewise.
13285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13286 (__cpymn): Likewise.
13287 (norm): Remove commented code.
13288 (denorm): Likewise.
13289 (__mp_dbl): Likewise.
13290 (__inv): Likewise.
13291
b18decba
SP
13292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13293 mp_no value for 1.0 and 2.0.
13294 (norm): Use RADIXI instead of radixi.d.
13295 (denorm): Likewise.
13296 (__mul): Use 0.0 instead of zero.d.
13297 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13298 mp_no value for 1.0 and 2.0.
13299 (norm): Use RADIXI instead of radixi.d.
13300 (denorm): Likewise.
13301 (__mul): Use 0.0 instead of zero.d.
13302
cdc1c96f
JM
133032013-01-04 Joseph Myers <joseph@codesourcery.com>
13304
13305 [BZ #14994]
13306 * math/s_casinh.c (__casinh): Reduce finite argument to first
13307 quadrant then set signs of results at the end.
13308 * math/s_casinhf.c (__casinhf): Likewise.
13309 * math/s_casinhl.c (__casinhl): Likewise.
13310 * math/libm-test.inc (casin_test): Add more tests.
13311 (casinh_test): Likewise.
13312 * sysdeps/i386/fpu/libm-test-ulps: Update.
13313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13314
302913e1
SP
133152013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13316
6420d207
SP
13317 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13318
a9e48ab4
SP
13319 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13320
b7837264
SP
13321 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13322 declarations.
13323 (denorm): Likewise.
13324 (__mp_dbl): Likewise.
13325 (__inv): Likewise.
13326
f8af25d2
SP
13327 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13328 and adjust the header comment.
13329
302913e1
SP
13330 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13331 variable name from declaration.
13332
5d7dd1ca
L
133332013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13334
13335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13336 Initialize COMMON_CPUID_INDEX_7 element.
13337 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13338 (CPUID_RTM): Likewise.
13339 (HAS_RTM): Likewise.
13340 (COMMON_CPUID_INDEX_7): New enum.
13341
2f5f40f4
AS
133422013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13343
13344 [BZ #14981]
13345 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13346 size is zero, record memory as freed.
13347
4056f4a0
AJ
133482013-01-03 Andreas Jaeger <aj@suse.de>
13349
13350 * po/ia.po: Add new Interlingua translation.
13351
ab15736f 133522012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13353
13354 * locale/programs/localedef.c: Fix description of '--posix' flag.
13355
568035b7
JM
133562013-01-02 Joseph Myers <joseph@codesourcery.com>
13357
e6898b8d
JM
13358 * NEWS: Update dates in second copyright notice.
13359 * README: Update copyright dates in example.
13360 * manual/libc.texinfo: Update copyright dates.
13361 * scripts/test-installation.pl: Update copyright date in --version
13362 output.
13363
0e2f9562
JM
13364 * hurd/ctty-input.c: Fix copyright notice formatting.
13365 * hurd/ctty-output.c: Likewise.
13366 * hurd/dtable.c: Likewise.
13367 * hurd/hurd-raise.c: Likewise.
13368 * hurd/hurdprio.c: Likewise.
13369 * hurd/msgportdemux.c: Likewise.
13370 * misc/sys/file.h: Likewise.
13371 * misc/sys/ioctl.h: Likewise.
13372 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13373 * sysdeps/mach/hurd/chdir.c: Likewise.
13374 * sysdeps/mach/hurd/fchdir.c: Likewise.
13375 * sysdeps/mach/hurd/rename.c: Likewise.
13376 * sysdeps/mach/hurd/rmdir.c: Likewise.
13377 * sysdeps/mach/hurd/seekdir.c: Likewise.
13378 * sysdeps/mach/hurd/setsid.c: Likewise.
13379 * sysdeps/posix/wait3.c: Likewise.
13380
568035b7
JM
13381 * All files with FSF copyright notices: Update copyright dates
13382 using scripts/update-copyrights.
13383 * intl/plural.c: Regenerated.
13384 * locale/programs/charmap-kw.h: Likewise.
13385 * locale/programs/locfile-kw.h: Likewise.
13386
da08f647
SP
133872013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13388
0f5477af
SP
13389 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13390 four values.
13391
44e0d4c2
SP
13392 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13393 calculation loop and add branch prediction.
13394
4d55b4e5
SP
13395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13396 check access beyond bounds of m1np.
13397
da08f647
SP
13398 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13399 MPTWO.
13400 (__inv): Remove local variable MPTWO to use the global
13401 constant.
13402 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13403 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13404 variable MPTWO.
13405 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13406 MP3HALFS static const.
13407
8e051029
DM
134082013-01-01 David S. Miller <davem@davemloft.net>
13409
13410 * po/ca.po: Update from translation team.
13411
f4cf5f2d
JM
134122013-01-01 Joseph Myers <joseph@codesourcery.com>
13413
13414 * scripts/update-copyrights: New file.
13415 * Makeconfig: Reformat copyright notice.
13416 * ctype/ctype.h: Likewise.
13417 * debug/swprintf_chk.c: Likewise.
13418 * elf/dl-cache.c: Likewise.
13419 * elf/dl-debug.c: Likewise.
13420 * elf/dl-object.c: Likewise.
13421 * grp/initgroups.c: Likewise.
13422 * hurd/Makefile: Likewise.
13423 * hurd/hurd/signal.h: Likewise.
13424 * hurd/hurdfault.c: Likewise.
13425 * hurd/hurdioctl.c: Likewise.
13426 * hurd/hurdlookup.c: Likewise.
13427 * hurd/intr-msg.c: Likewise.
13428 * iconv/gconv_open.c: Likewise.
13429 * libio/swprintf.c: Likewise.
13430 * locale/lc-ctype.c: Likewise.
13431 * locale/nl_langinfo.c: Likewise.
13432 * mach/Machrules: Likewise.
13433 * mach/Makefile: Likewise.
13434 * malloc/obstack.h: Likewise.
13435 * manual/Makefile: Likewise.
13436 * manual/tsort.awk: Likewise.
13437 * misc/bits/stab.def: Likewise.
13438 * nis/nis_print_group_entry.c: Likewise.
13439 * nis/nis_table.c: Likewise.
13440 * nis/nss_compat/compat-pwd.c: Likewise.
13441 * nis/nss_compat/compat-spwd.c: Likewise.
13442 * po/Makefile: Likewise.
13443 * posix/fnmatch.c: Likewise.
13444 * posix/regex.h: Likewise.
13445 * resolv/Makefile: Likewise.
13446 * resolv/nss_dns/dns-network.c: Likewise.
13447 * resolv/res_hconf.c: Likewise.
13448 * scripts/gen-sorted.awk: Likewise.
13449 * soft-fp/soft-fp.h: Likewise.
13450 * stdio-common/printf.h: Likewise.
13451 * stdlib/monetary.h: Likewise.
13452 * stdlib/random.c: Likewise.
13453 * stdlib/random_r.c: Likewise.
13454 * sysdeps/generic/Makefile: Likewise.
13455 * sysdeps/gnu/Makefile: Likewise.
13456 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13458 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13459 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13460 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13463 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13464 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13466 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13467 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13468 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13469 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13470 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13471 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13472 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13473 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13474 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13475 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13476 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13477 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13478 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13484 * sysdeps/mach/hurd/errnos.awk: Likewise.
13485 * sysdeps/mach/hurd/fork.c: Likewise.
13486 * sysdeps/mach/hurd/getcwd.c: Likewise.
13487 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13488 * sysdeps/mach/hurd/mmap.c: Likewise.
13489 * sysdeps/mach/hurd/utimes.c: Likewise.
13490 * sysdeps/mach/hurd/xmknod.c: Likewise.
13491 * sysdeps/posix/profil.c: Likewise.
13492 * sysdeps/posix/readdir_r.c: Likewise.
13493 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13494 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13495 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13496 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13498 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13499 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13500 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13502 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13503 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13504 * sysdeps/pthread/lio_listio.c: Likewise.
13505 * sysdeps/sparc/dl-procinfo.h: Likewise.
13506 * sysdeps/unix/i386/sysdep.S: Likewise.
13507 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13508 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13509 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13510 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13512 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13513 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13514 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13515 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13516 * sysdeps/wordsize-32/divdi3.c: Likewise.
13517 * time/sys/time.h: Likewise.
13518 * wcsmbs/Makefile: Likewise.
13519
0549fbba
DM
135202013-01-01 David S. Miller <davem@davemloft.net>
13521
a141f1a7
DM
13522 * po/fr.po: Update from translation team.
13523
0549fbba
DM
13524 * catgets/gencat.c: Update copyright year.
13525 * csu/version.c: Likewise.
13526 * debug/catchsegv.sh: Likewise.
13527 * debug/pcprofiledump.c: Likewise.
13528 * debug/xtrace.sh: Likewise.
13529 * elf/ldconfig.c: Likewise.
13530 * elf/ldd.bash.in: Likewise.
13531 * elf/pldd.c: Likewise.
13532 * elf/sotruss.ksh: Likewise.
13533 * elf/sprof.c: Likewise.
13534 * iconv/iconv_prog.c: Likewise.
13535 * iconv/iconvconfig.c: Likewise.
13536 * locale/programs/locale.c: Likewise.
13537 * locale/programs/localedef.c: Likewise.
13538 * login/programs/pt_chown.c: Likewise.
13539 * malloc/memusage.sh: Likewise.
13540 * malloc/memusagestat.c: Likewise.
13541 * malloc/mtrace.pl: Likewise.
13542 * nscd/nscd.c: Likewise.
13543 * nss/getent.c: Likewise.
13544 * nss/makedb.c: Likewise.
13545 * posix/getconf.c: Likewise.
13546
18ea052c
SP
135472012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13548
13549 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13550 numbers.
13551
9c89fca6
MF
135522012-12-30 Mike Frysinger <vapier@gentoo.org>
13553
13554 * math/bits/mathcalls.h (modf): Use __nonnull.
13555
085ec079
SP
135562012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13557
13558 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13559 (split): Use macro CN instead of the bare value.
13560 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13561 could be used.
13562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13563 instead of the bare value.
13564 (power1): Likewise.
13565
6d9f97e1
SP
135662012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13567
d63f73be
SP
13568 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13569 __ATAN_TWOM.
13570 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13571
6d9f97e1
SP
13572 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13573 their values.
13574 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13575 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13576 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13577 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13578
4c4febf5
AJ
135792012-12-28 Andreas Jaeger <aj@suse.de>
13580
af5843ef
AJ
13581 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13582 values are from Linux 3.7.
13583
4c4febf5
AJ
13584 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13585 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13586
99136f82
SP
135872012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13588
2f216c3c 13589 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13590 TRUE case.
13591
99136f82
SP
13592 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13593 (norm): Likewise.
13594 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13595 variables with preprocessor constants.
13596 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13597 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13598 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13599
7fffbdff
BH
136002012-12-27 Bruno Haible <bruno@clisp.org>
13601
13602 [BZ #14317]
13603 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13604 only if needed.
13605
b76eb5f0
SP
136062012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13607
31a7fe5c
SP
13608 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13609 and use variable directly.
13610 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13611
b76eb5f0
SP
13612 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13613 MPONE.
13614 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13615 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13616 variable MPONE.
13617 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13619 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13620 include directive. Remove local variable MPONE.
13621 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13622 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13623 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13624
2c8bfe7d
DM
136252012-12-25 David S. Miller <davem@davemloft.net>
13626
13627 * version.h (RELEASE): Set to "development".
13628 (VERSION): Set to "2.17.90".
13629 * NEWS: Add 2.18 section.
13630
147d03b0
DM
136312012-12-21 David S. Miller <davem@davemloft.net>
13632
13633 * po/hr.po: Update from translation team.
13634
a8ebb2b9
AK
136352012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13636
13637 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13638
95b4f1b6
SE
136392012-12-19 Steve Ellcey <sellcey@mips.com>
13640
b2d94007 13641 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13642
cedb2a90
MS
136432012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13644
13645 * manual/contrib.texi (Contributors): Spelling correction.
13646
bbf527d6
DM
136472012-12-15 David S. Miller <davem@davemloft.net>
13648
13649 * po/ru.po: Update from translation team.
13650
bc38c906
DM
136512012-12-13 David S. Miller <davem@davemloft.net>
13652
85429b1a
DM
13653 * NEWS: Mention IFUNC testsuite enhancements.
13654
d283e353
DM
13655 * po/pl.po: Update from translation team.
13656 * po/bg.po: Likewise.
13657
bc38c906
DM
13658 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13659 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13660
a181b0d7
DM
136612012-12-11 David S. Miller <davem@davemloft.net>
13662
4641d57e
DM
13663 * po/sv.po: Update from translation team.
13664
f7bc6495
DM
13665 * po/vi.po: Update from translation team.
13666
6fc9048f
DM
13667 * po/cs.po: Update from translation team.
13668
a181b0d7
DM
13669 * po/de.po: Update from translation team.
13670 * po/eo.po: Likewise.
13671 * po/nl.po: Likewise.
13672
f70bfe80
SP
136732012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13674
3c8b4190
SP
13675 [BZ #14246]
13676 * manual/argp.texi (Argp Helper Functions): Move node to follow
13677 Argp Parsing State.
13678
f70bfe80
SP
13679 [BZ #14872]
13680 * manual/conf.texi (Limits on File System Capacity): Mention if
13681 terminating null is included in the max size.
13682
188f0adf
AJ
136832012-12-10 Andreas Jaeger <aj@suse.de>
13684
13685 * po/cs.po: Update from translation team.
13686
56e7d3ad
SP
136872012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13688
13689 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13690 void pointer and cast to uintptr_t.
13691 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13692 path.
13693 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13694 * sysdeps/s390/s390-64/memset.S: Likewise.
13695
76f2d2ea 136962012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13697
13698 [BZ #14833]
13699 * menual/message.texi (Message Translation): Fix typos.
13700 (Helper programs for gettext): Likewise.
13701
67cbf9a2
AS
137022012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13703
13704 [BZ #14898]
13705 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13706 Change to -1.
13707
682d0e9a
DM
137082012-12-07 David S. Miller <davem@davemloft.net>
13709
13710 * po/libc.pot: Update.
13711
573cd484
RH
137122012-12-07 Richard Henderson <rth@redhat.com>
13713
7e9da188 13714 [BZ #10114]
573cd484
RH
13715 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13716 normal/normal case to before the switch.
13717 (_FP_DIV): Likewise.
13718
e933a943
MF
137192012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13720 Mike Frysinger <vapier@gentoo.org>
13721
13722 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13723 check for __NR_fadvise64_64.
13724
82123268
CM
137252012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13726
13727 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13728 0, not just to plain "0" as a statement.
13729 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13730 with cw.
13731
d9814526
JM
137322012-12-06 Joseph Myers <joseph@codesourcery.com>
13733
13734 * NEWS: Use sourceware.org in Bugzilla URL.
13735
7728c574
SP
137362012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13737
f16946dd
SP
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13739 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13740
5704bbcb
SP
13741 * stdio-common/tst-put-error.c (do_test): Add newline to the
13742 padded test to ensure flush.
13743
17aa0516
JL
137442012-12-05 Jeff Law <law@redhat.com>
13745
13746 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13747
363313b5
JM
137482012-12-05 Joseph Myers <joseph@codesourcery.com>
13749
effbd42a
JM
13750 * README: Don't refer to ports add-on as distributed separately.
13751 Mention AArch64 in list of systems supported in the ports add-on.
13752
87600365
JM
13753 * LICENSES: Add more non-FSF copyright and license notices.
13754
a0d7066a
JM
13755 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13756 ((unused)).
13757
66ca5a5b
JM
13758 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13759
363313b5
JM
13760 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13761 10000 as width of padded output.
13762
b37984ad
JM
137632012-12-04 Joseph Myers <joseph@codesourcery.com>
13764
9003570a
JM
13765 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13766
b37984ad
JM
13767 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13768 variable LX with __attribute__ ((unused)).
13769 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13770 Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13774 with __attribute__ ((unused)).
13775
c8df52ec
DM
137762012-12-04 David S. Miller <davem@abraco.davemloft.net>
13777
13778 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13779
b3b099af
JM
137802012-12-04 Joseph Myers <joseph@codesourcery.com>
13781
c33aa6e3
JM
13782 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13783 (CFLAGS-nldbl-acos.c): New variable.
13784 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13785 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13786 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13787 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13788 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13789 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13790 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13791 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13792 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13793 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13794 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13795 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13796 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13797 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13798 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13799 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13800 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13801 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13802 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13803 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13804 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13805 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13806 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13807 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13808 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13809 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13810 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13811 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13812 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13813 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13814 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13815 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13816 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13817 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13818 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13819 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13820 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13821 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13822 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13823 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13824 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13825 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13826 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13827 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13828 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13829 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13830 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13831 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13832 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13833 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13834 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13835 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13836 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13837 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13838 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13839 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13840 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13841 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13842 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13843 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13844 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13845 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13846 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13847 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13848 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13849 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13850 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13851 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13852 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13853 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13854 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13855 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13856 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13857 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13858 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13859 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13860 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13861 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13862 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13863 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13864 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13865 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13866 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13867 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13868 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13869 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13870 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13871 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13872 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13873 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13874 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13875 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13876 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13877 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13878 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13879 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13880 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13881
20f0018d
JM
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13883 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13884
b3b099af
JM
13885 [BZ #14914]
13886 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13887 whole low double instead of just low 47 bits when splitting values
13888 into two parts.
13889
029264d1
AM
138902012-12-03 Allan McRae <allan@archlinux.org>
13891
13892 * manual/stdio.texi (Predefined Printf Handlers): Remove
13893 @hsep and @vsep usage.
13894
c9d6789e
MF
138952012-12-03 Mike Frysinger <vapier@gentoo.org>
13896
13897 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13898 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13899
4b7634a5
JL
139002012-12-03 Jeff Law <law@redhat.com>
13901
13902 * time/sys/time.h (settimeofday): Do not mark TV argument
13903 as __nonnull.
13904
eb6cbd24
MF
139052012-12-01 Mike Frysinger <vapier@gentoo.org>
13906
13907 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13908 when currently writing and seek to current position when not.
13909 * libio/Makefile (tests): Remove bug-fclose1.
13910 * libio/bug-fclose1.c: Delete.
13911
f638872a
JM
139122012-12-01 Joseph Myers <joseph@codesourcery.com>
13913
13914 * manual/arith.texi (feenableexcept): Fix typo.
13915 (fedisableexcept): Likewise.
13916
48085d14
RM
139172012-11-30 Roland McGrath <roland@hack.frob.com>
13918
13919 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13920 second, differently-typed declaration, rather than a cast.
13921
1a538b9f
SP
139222012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13923
13924 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13925 * include/rpc/svc.h: ... here.
13926
d07f2ff1 139272012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13928
13929 [BZ #13013]
13930 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13931 depending n and resplen2 to catch cases where answer
13932 equals answerp2.
13933
c93ec1f0
CD
139342012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13935
13936 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13937 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13938
37db69de
MF
139392012-11-29 Mike Frysinger <vapier@gentoo.org>
13940
13941 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13942
e10c4e4f
RM
139432012-11-29 Roland McGrath <roland@hack.frob.com>
13944
13945 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13946
2af1b328
JL
139472012-11-28 Jeff Law <law@redhat.com>
13948
13949 [BZ #13761]
13950 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13951 dataset_temporary. Track alloca usage into alloca_used.
13952 If dataset is large allocate and release it via malloc/free.
13953
111db5b1
FW
139542012-06-04 Florian Weimer <fweimer@redhat.com>
13955
f06cc227 13956 [BZ #14197]
111db5b1
FW
13957 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13958
dd694abd
DM
139592012-11-28 David S. Miller <davem@davemloft.net>
13960
13961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13962
9984dd01
JM
139632012-11-28 Joseph Myers <joseph@codesourcery.com>
13964
13965 [BZ #14803]
13966 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13967 of pi/2 rounded to nearest to 64 bits.
13968 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13969 nearest to 64 bits.
13970 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13971 bits.
13972
14bc93a9
JL
139732012-11-28 Jeff Law <law@redhat.com>
13974 Martin Osvald <mosvald@redhat.com>
13975
13976 [BZ #14889]
13977 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13978 * sunrpc/svc.c: Include time.h.
13979 (__svc_accept_failed): New function.
13980 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13981 any reason other than EINTR, call __svc_accept_failed.
13982 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13983 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13984
e3c6aa3a
AS
139852012-11-28 Andreas Schwab <schwab@suse.de>
13986
13987 * scripts/abilist.awk: Also handle indirect functions in .opd
13988 section.
13989
1bead169
JM
139902012-11-28 Joseph Myers <joseph@codesourcery.com>
13991
13992 [BZ #13881]
13993 * sysdeps/x86/fpu/powl_helper.c: New file.
13994 * sysdeps/x86/fpu/Makefile: Likewise.
13995 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13996 (p3): New object.
13997 (__ieee754_powl): Use __powl_helper for finite arguments except
13998 integer exponents below 8.
13999 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14000 (p3): New object.
14001 (__ieee754_powl): Use __powl_helper for finite arguments except
14002 integer exponents below 8.
14003 * math/libm-test.inc (pow_test): Add more tests and enable some
14004 previously disabled tests.
14005 * sysdeps/i386/fpu/libm-test-ulps: Update.
14006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14007
0817d63d
SP
140082012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14009 Carlos O'Donell <carlos_odonell@mentor.com>
14010
14011 * nss/makedb.c (is_prime): Assert that input is odd and greater
14012 than 4. Note that fact in a comment too.
14013 (next_prime): Add 4 to input.
14014
de2fd463
SP
140152012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14016
14017 [BZ #11741]
14018 * libio/Makefile (tests): Add test case tst-fwrite-error.
14019 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14020 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14021 * libio/tst-fwrite-error.c: New test case.
14022
c515fb51
L
140232012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14024
14025 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14026 before casting to void *.
14027 * include/libc-internal.h (__pointer_type): New macro.
14028 (__integer_if_pointer_type_sub): Likewise.
14029 (__integer_if_pointer_type): Likewise.
14030 (cast_to_integer): Likewise.
14031 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14032 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14033 before casting to atomic64_t.
14034 (atomic_exchange_acq): Likewise.
14035 (__arch_exchange_and_add_body): Likewise.
14036 (__arch_add_body): Likewise.
14037 (atomic_add_negative): Likewise.
14038 (atomic_add_zero): Likewise.
14039
4cf77aa9
JM
140402012-11-26 Joseph Myers <joseph@codesourcery.com>
14041
14042 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14043 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14044 (add_fdes): Likewise.
14045 (linear_search_fdes): Likewise.
14046 (binary_search_unencoded_fdes): Likewise.
14047
d260b3b4
AS
140482012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14049
14050 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14051
67060746
AC
140522012-11-24 Adam Conrad <adconrad@0c3.net>
14053
14054 * configure.in: Autodetect C++ header directories.
14055 * configure: Regenerated.
14056
800938a1
MF
140572012-11-23 Mike Frysinger <vapier@gentoo.org>
14058
14059 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14060
4e6e34e6
AS
140612012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14062
14063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14064
7c7feb47
JM
140652012-11-22 Joseph Myers <joseph@codesourcery.com>
14066
7184dcdf
JM
14067 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14068 LDBL_MANT_DIG == 106]: Disable some tests.
14069 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14070 Likewise.
14071 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14072 Likewise.
14073
0a42601f
JM
14074 [BZ #14871]
14075 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14076 input for small inputs. Return +/- pi/2 for large inputs.
14077 * math/libm-test.inc (atan_test): Add more tests.
14078
79c9b9fe
JM
14079 * sysdeps/generic/unwind-dw2-fde-glibc.c
14080 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14081 __attribute__ ((unused)).
14082
c60d3bf2
JM
14083 [BZ #14645]
14084 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14085 x * y if x and y are nonzero and z is zero.
14086
ef1e0867
JM
14087 [BZ #14811]
14088 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14089 nonzero exponents with absolute value below 0x1p-117 to +/-
14090 0x1p-117.
14091
1468ded3
JM
14092 [BZ #14869]
14093 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14094 up arguments below 2**-450, not just those below 2**-500.
14095 * math/libm-test.inc (hypot_test): Add another test.
14096
8e27e3cc
JM
14097 [BZ #14868]
14098 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14099 Return a+b for ratio over 2**120, not 2**60.
14100 * math/libm-test.inc (hypot_test): Add another test.
14101
c9c0279b
JM
14102 * math/libm-test.inc (clog_test): Use
14103 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14104 (clog10_test): Likewise.
14105
7c7feb47
JM
14106 [BZ #6778]
14107 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14108
fff1530e
AS
141092012-11-22 Andreas Schwab <schwab@suse.de>
14110
14111 * sysdeps/i386/fpu/libm-test-ulps: Update.
14112
94558d30
PT
141132012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14114
14115 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14116 printf output with newline.
14117
7e1be741
L
141182012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14119
6bfea974
L
14120 [BZ #14865]
14121 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14122 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14123 -z nodlopen, -z initfirst and -z execstack support.
14124 * configure: Regenerated.
14125
7e1be741
L
14126 * elf/elf.h (DF_1_NODIRECT): New macro.
14127 (DF_1_IGNMULDEF): Likewise.
14128 (DF_1_NOKSYMS): Likewise.
14129 (DF_1_NOHDR): Likewise.
14130 (DF_1_EDITED): Likewise.
14131 (DF_1_NORELOC): Likewise.
14132 (DF_1_SYMINTPOSE): Likewise.
14133 (DF_1_GLOBAUDIT): Likewise.
14134 (DF_1_SINGLETON): Likewise.
14135 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14136 DT_1_SUPPORTED_MASK bits.
14137 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14138
105ce2ce
CD
141392012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14140
14141 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14142
123be9de
TS
141432012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14144
d072f3f7
TS
14145 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14146 macro.
14147
123be9de
TS
14148 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14149 (sendmmsg): Move declarations...
14150 * socket/sys/socket.h: ... here.
14151 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14152 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14153 include it from...
14154 * socket/recvmmsg.c: ... this new file.
14155 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14156 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14157 definition of __sendmmsg hidden.
14158 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14159 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14160 Move ENOSYS stub into and include it from...
14161 * socket/sendmmsg.c: ... this new file.
14162 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14163 (sysdep_routines): Move recvmmsg and sendmmsg...
14164 * socket/Makefile (routines): ... here.
14165 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14166 (GLIBC_PRIVATE): Add __sendmmsg.
14167 * include/sys/socket.h (__sendmmsg): Add declarations.
14168 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14169 sendmmsg.
14170
cf9a5d18
JM
141712012-11-20 Joseph Myers <joseph@codesourcery.com>
14172
14173 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14174 variable I1 with __attribute__ ((unused)).
14175 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14176
ecd4caf9
JM
141772012-11-19 Joseph Myers <joseph@codesourcery.com>
14178
be14d48f
JM
14179 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14180 DUMMY variables with __attribute__ ((unused)).
14181
ecd4caf9
JM
14182 * bits/byteswap.h: Include <bits/types.h>.
14183 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14184
986cab95
PT
141852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14186
14187 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14188 string_t. Do not manually set errno.
14189 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14190 length with __strnlen. Make sure to both set errno and return it on
14191 failure.
14192
6d33cc9d
DM
141932012-11-19 David S. Miller <davem@davemloft.net>
14194
14195 With help from Joseph Myers.
14196 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14197 very large arguments properly.
14198 * math/libm-test.inc (atan_test): New tests.
14199 (atan2_test): New tests.
14200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14202
ee663277
JM
142032012-11-19 Joseph Myers <joseph@codesourcery.com>
14204
877f2d8e
JM
14205 [BZ #14856]
14206 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14207 Define to 3.
14208
116fc08a
JM
14209 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14210 [POSIX] (EADDRNOTAVAIL): Likewise.
14211 [POSIX] (EAFNOSUPPORT): Likewise.
14212 [POSIX] (EALREADY): Likewise.
14213 [POSIX] (ECONNABORTED): Likewise.
14214 [POSIX] (ECONNREFUSED): Likewise.
14215 [POSIX] (ECONNRESET): Likewise.
14216 [POSIX] (EDESTADDRREQ): Likewise.
14217 [POSIX] (EDQUOT): Likewise.
14218 [POSIX] (EHOSTUNREACH): Likewise.
14219 [POSIX] (EIDRM): Likewise.
14220 [POSIX] (EISCONN): Likewise.
14221 [POSIX] (ELOOP): Likewise.
14222 [POSIX] (EMULTIHOP): Likewise.
14223 [POSIX] (ENETDOWN): Likewise.
14224 [POSIX] (ENETUNREACH): Likewise.
14225 [POSIX] (ENOBUFS): Likewise.
14226 [POSIX] (ENODATA): Likewise.
14227 [POSIX] (ENOLINK): Likewise.
14228 [POSIX] (ENOMSG): Likewise.
14229 [POSIX] (ENOPROTOOPT): Likewise.
14230 [POSIX] (ENOSR): Likewise.
14231 [POSIX] (ENOSTR): Likewise.
14232 [POSIX] (ENOTCONN): Likewise.
14233 [POSIX] (ENOTSOCK): Likewise.
14234 [POSIX] (EOPNOTSUPP): Likewise.
14235 [POSIX] (EOVERFLOW): Likewise.
14236 [POSIX] (EPROTO): Likewise.
14237 [POSIX] (EPROTONOSUPPORT): Likewise.
14238 [POSIX] (EPROTOTYPE): Likewise.
14239 [POSIX] (ESTALE): Likewise.
14240 [POSIX] (ETIME): Likewise.
14241 [POSIX] (ETXTBSY): Likewise.
14242 [POSIX] (EWOULDBLOCK): Likewise.
14243 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14244 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14245 [POSIX] (SEEK_CUR): Likewise.
14246 [POSIX] (SEEK_END): Likewise.
14247 [POSIX || UNIX98] (mode_t): Do not require.
14248 [POSIX] (off_t): Likewise.
14249 [POSIX] (pid_t): Likewise.
14250 [POSIX] (sys/stat.h): Do not allow header.
14251 [POSIX] (unistd.h): Likewise.
14252 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14253 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14254 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14255 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14256 require.
14257 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14258 sigevent): Specify elements.
14259 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14260 entry.
14261 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14262 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14263
a483863f
JM
14264 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14265 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14266 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14267 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14268 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14269 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14270 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14271 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14272 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14273 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14274 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14275 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14276 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14277 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14278 Likewise.
14279 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14280 Likewise.
14281 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14282 Likewise.
14283 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14284 Likewise.
14285 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14286 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14287 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14288 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14289 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14290 Specify lower bound on value.
14291 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14292 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14293 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14294 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14295 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14296 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14297 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14298 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14299 value.
14300 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14301 as optional.
14302 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14303 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14304 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14305 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14306 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14307 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14308 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14309 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14310 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14311 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14312 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14313 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14314 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14315 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14316 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14317 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14318 entry.
14319 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14320 optional.
14321 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14322 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14323 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14324 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14325 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14326 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14327 Likewise.
14328 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14329 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14330 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14331 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14332 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14333 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14334 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14335 as optional.
14336 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14337 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14338 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14339 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14340 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14341 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14342 specify as optional.
14343 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14344 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14345 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14346 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14347 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14348 [XPG3] (NL_LANGMAX): Likewise.
14349 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14350 [POSIX || XPG3] (NL_NMAX): Likewise.
14351 [POSIX || XPG3] (NL_SETMAX): Likewise.
14352 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14353 [XPG3] (NZERO): Likewise.
14354 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14355 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14356 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14357 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14358 (REG_ERANGE): Expect.
14359 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14360 optional-constant.
14361 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14362 Use (void) in prototype.
14363 [POSIX] (*_t): Allow.
14364 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14365 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14366 (WRDE_BADVAL): Expect.
14367
5ba924e3
JM
14368 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14369 expect.
14370 [XPG3 || XPG4] (O_RSYNC): Likewise.
14371 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14372 Likewise.
14373 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14374 [XPG3 || XPG4] (sigqueue): Likewise.
14375 [XPG3 || XPG4] (sigtimedwait): Likewise.
14376 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14377 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14378 [XPG3 || XPG4] (vsnprintf): Likewise.
14379 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14380 Likewise.
14381 [XPG3 || XPG4] (blksize_t): Likewise.
14382 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14383 Likewise.
14384 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14385 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14386 [XPG3 || XPG4] (struct itimerspec): Likewise.
14387 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14388 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14389 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14390 [XPG3 || XPG4] (clockid_t): Likewise.
14391 [XPG3 || XPG4] (timer_t): Likewise.
14392 [XPG3 || XPG4] (clock_getres): Likewise.
14393 [XPG3 || XPG4] (clock_gettime): Likewise.
14394 [XPG3 || XPG4] (clock_settime): Likewise.
14395 [XPG3 || XPG4] (nanosleep): Likewise.
14396 [XPG3 || XPG4] (timer_create): Likewise.
14397 [XPG3 || XPG4] (timer_delete): Likewise.
14398 [XPG3 || XPG4] (timer_gettime): Likewise.
14399 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14400 [XPG3 || XPG4] (timer_settime): Likewise.
14401 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14402 [XPG3 || XPG4] (getlogin_r): Likewise.
14403 [XPG3 || XPG4] (pread): Likewise.
14404 [XPG3 || XPG4] (pthread_atfork): Likewise.
14405 [XPG3 || XPG4] (pwrite): Likewise.
14406
ee663277
JM
14407 [BZ #14835]
14408 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14409 <bits/siginfo.h>.
14410
942caa16
PT
144112012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14412
e19af380
PT
14413 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14414 finalizing MALLSTREAM.
14415
942caa16
PT
14416 * sysdeps/mach/hurd/syncfs.c: New file.
14417
cfde9b46
SP
144182012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14419
14420 [BZ #14719]
14421 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14422 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14423 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14424 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14425 (_nss_dns_gethostbyname4_r): Likewise.
14426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14427 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14428
f6da27e5
PH
144292012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14430
14431 [BZ #13763]
14432 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14433
6665d4a2
SM
144342012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14435
1f51ee92
SM
14436 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14437 * elf/cache.c (print_entry): Print ",AArch64" for
14438 FLAG_AARCH64_LIB64
14439
6665d4a2
SM
14440 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14441 * elf/cache.c (print_entry): Print ",hard-float" for
14442 FLAG_ARM_LIBHF.
14443
05b227bd
DM
144442012-11-18 David S. Miller <davem@davemloft.net>
14445
14446 With help from Joseph Myers.
14447 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14448 cutoff to 2**-13.
14449 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14450 cutoff to 2**-25.
14451 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14452 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14453 small.
14454 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14455 * math/libm-test.inc (y0_test): New tests.
14456 (y1_test): New tests.
14457 * sysdeps/i386/fpu/libm-test-ulps: Update.
14458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14460
786b0b67
AS
144612012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14462
14463 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14464 64-bit targets.
14465 * configure: Regenerated.
14466
8e18b86d
DM
144672012-11-17 David S. Miller <davem@davemloft.net>
14468
14469 [BZ #14811]
14470 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14471 nonzero exponents with absolute value below 0x1p-128 to +/-
14472 0x1p-128.
14473
531f1ae0
JM
144742012-11-17 Joseph Myers <joseph@codesourcery.com>
14475
12df29e2
JM
14476 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14477
150dc1a0
JM
14478 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14479
531f1ae0
JM
14480 * posix/getconf-speclist.c: New file.
14481 * posix/posix-envs.def: Likewise.
14482 * posix/confstr.c (START_ENV_GROUP): New macro.
14483 (END_ENV_GROUP): Likewise.
14484 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14485 (KNOWN_PRESENT_ENV_STRING): Likewise.
14486 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14487 (UNKNOWN_ENVIRONMENT): Likewise.
14488 (confstr): Include posix-envs.def instead of handling
14489 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14490 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14491 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14492 (END_ENV_GROUP): Likewise.
14493 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14494 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14495 (UNKNOWN_ENVIRONMENT): Likewise.
14496 (__sysconf): Include posix-envs.def instead of handling associated
14497 cases directly here.
14498 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14499 preprocessing getconf-speclist.c rather than running getconf or
14500 generating empty file.
14501
a93f9cbc
PT
145022012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14503
14504 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14505
d64d9f87
AL
145062012-11-16 Andrej Lajovic <natrij@gmail.com>
14507
14508 [BZ #14672]
14509 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14510
447885eb
DM
145112012-11-16 David S. Miller <davem@davemloft.net>
14512
14513 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14514 smaller than LDBL_EPSILON/2.0L, just return xm1.
14515
bcbf9830
L
145162012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14517
14518 * elf/tst-array1.c (init): Set constructor priority to 1000.
14519 (fini): Set destructor priority to 1000.
14520 * elf/tst-array2dep.c: Likewise.
14521
2b766585
SP
145222012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14523
14524 [BZ #11741]
14525 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14526 (_IO_new_file_xsputn): Also return EOF if none of the input
14527 data was written when overflow failed.
14528 * libio/iopadn.c (_IO_padn): Likewise.
14529 * libio/iowpadn.c (_IO_wpadn): Likewise.
14530 * stdio-common/tst-put-error.c: Add copyright notice.
14531 (do_test): Add case for printing padded string.
14532 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14533 _IO_padn returned error.
14534 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14535 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14536 return EOF.
14537
b1848fde
SP
145382012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14539
14540 * libio/libioP.h: Add comment note that the references to C++
14541 bits are now obsolete.
14542
2fd89785
MS
145432012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14544
14545 * math/libm-test.inc (check_complex): Use asprintf.
14546
e3ea5409
JM
145472012-11-14 Joseph Myers <joseph@codesourcery.com>
14548
14549 * debug/pcprofiledump.c (print_version): Update copyright year.
14550 * malloc/memusagestat.c (print_version): Likewise.
14551
2e64d265
L
145522012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14553
14554 [BZ #14831]
14555 * elf/Makefile (tests): Add tst-audit8.
14556 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14557 ($(objpfx)tst-audit8.out): New target.
14558 (tst-audit8-ENV): New variable.
14559 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14560 audit if l_reloc_result is NULL.
14561 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14562 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14563 * elf/tst-audit8.c: New file.
14564
c485e4d2
MS
145652012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14566
14567 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14568 * misc/Makefile (CFLAGS-select.c): Define.
14569 * posix/Makefile (CFLAGS-pause.c): Define.
14570
3a0d900a
DM
145712012-11-13 David S. Miller <davem@davemloft.net>
14572
14573 * crypt/Makefile: Move test targets after toplevel Rules
14574 inclusion. Grab any necessary sysdep routines when linking.
14575 * crypt/md5.c (md5_process_block): Remove define, we will always
14576 name it __md5_process_block.
14577 (md5_finish_ctx): Update md5_process_block call.
14578 (md5_stream): Likewise.
14579 (md5_process_bytes): Likewise.
14580 (md5_process_block): Rename to __md5_process_block and move to ...
14581 * crypt/md5-block.c: ... here.
14582 * crypt/sha256.c (sha256_process_block): Move to ...
14583 * crypt/sha256-block.c: ... here.
14584 * crypt/sha512.c (sha512_process_block): Move to ...
14585 * crypt/sha512-block.c: ... here.
14586 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14587 path.
14588 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14589 * sysdeps/sparc/sparc64/multiarch/Makefile
14590 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14591 crypt subdir.
14592 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14593 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14594 multiarch changes.
14595 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14596 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14597 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14598 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14599 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14600 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14601 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14602 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14603 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14604 file.
14605 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14606 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14607 file.
14608 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14609
8ca89318
JM
146102012-11-13 Joseph Myers <joseph@codesourcery.com>
14611
e27d476a
JM
14612 * timezone/tzselect.ksh: Update from tzcode git revision
14613 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14614 * timezone/zdump.c: Likewise.
14615 * timezone/zic.c: Likewise.
14616 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14617 in TZVERSION setting, not $(PKGVERSION).
14618 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14619 REPORT_BUGS_TO settings.
14620
8ca89318
JM
14621 [BZ #14838]
14622 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14623 macro.
14624
47594329
MS
146252012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14626
14627 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14628 detection to immediately after _FP_ROUND().
14629 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14630 bits are 0.
14631
640ac3f1
DM
146322012-11-11 David S. Miller <davem@davemloft.net>
14633
14634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14635 inttypes.h
14636 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14637 __close rather than their public counterparts.
14638
3d2577bb
JM
146392012-11-10 Joseph Myers <joseph@codesourcery.com>
14640
14641 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14642 file.
14643 [UNIX98] (sem_timedwait): Do not expect.
14644 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14645 [XPG4 || UNIX98] (sockatmark): Do not expect.
14646 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14647 (clock_getcpuclockid): Do not expect.
14648 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14649 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14650 Do not expect.
14651 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14652 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14653 [UNIX98] (vwscanf): Likewise.
14654 [UNIX98] (vswscanf): Likewise.
14655
fb1ae1ee
JM
146562012-11-09 Joseph Myers <joseph@codesourcery.com>
14657
9ec6f8bd
JM
14658 * timezone/version.h: Remove file.
14659 * timezone/README: Do not refer to version.h.
14660 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14661 $(objpfx)version.h.
14662 ($(objpfx)zdump.o): Likewise.
c3f81911 14663 ($(objpfx)version.h): New target.
9ec6f8bd 14664
0aa8f8a1
JM
14665 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14666 2012i.
14667 * timezone/README: Don't mention modification to tzselect.ksh.
14668 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14669 work on unmodified tzselect.ksh. Substitute version numbers in
14670 tzselect.ksh.
14671
4e87147f
JM
14672 * Makefile (format-me): Remove.
14673 (INSTALL): Adjust indentation. Use commands directly instead of
14674 using $(format-me).
14675
8b748aed
JM
14676 * aclocal.m4 (ACX_PKGVERSION): New macro.
14677 (ACX_BUGURL): Likewise.
14678 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14679 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14680 (REPORT_BUGS_TO): Likewise.
14681 * configure: Regenerated.
14682 * config.h.in (PKGVERSION): New macro.
14683 (REPORT_BUGS_TO): Likewise.
14684 * config.make.in (PKGVERSION): New variable.
14685 (PKGVERSION_TEXI): Likewise.
14686 (REPORT_BUGS_TO): Likewise.
14687 (REPORT_BUGS_TEXI): Likewise.
14688 * Makefile (format-me): Use -I$(common-objpfx)manual.
14689 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14690 ($(common-objpfx)manual/%): New target.
14691 (manual/%): Remove target.
14692 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14693 (print_version): Use PKGVERSION.
14694 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14695 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14696 and REPORT_BUGS_TO.
14697 ($(objpfx)xtrace): Likewise.
14698 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14699 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14700 (print_version): Use PKGVERSION.
14701 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14702 (do_version): Use PKGVERSION.
14703 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14704 REPORT_BUGS_TO.
14705 (common-ldd-rewrite): Likewise.
14706 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14707 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14708 (print_version): Use PKGVERSION.
14709 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14710 * elf/pldd.c (argp_program_bug_address): Remove variable.
14711 (more_help): New function.
14712 (argp): Use more_help.
14713 (print_version): Use PKGVERSION.
14714 * elf/sln.c (main): Use PKGVERSION.
14715 (usage): Use REPORT_BUGS_TO.
14716 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14717 (top level): Use PKGVERSION.
14718 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14719 (print_version): Use PKGVERSION.
14720 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14721 (print_version): Use PKGVERSION.
14722 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14723 (print_version): Use PKGVERSION.
14724 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14725 (print_version): Use PKGVERSION.
14726 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14727 (print_version): Use PKGVERSION.
14728 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14729 (print_version): Use PKGVERSION.
14730 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14731 and BUGURL.
14732 ($(objpfx)memusage): Likewise.
14733 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14734 (do_version): Use PKGVERSION.
14735 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14736 (print_version): Use PKGVERSION.
14737 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14738 ($PKGVERSION): New variable.
14739 ($REPORT_BUGS_TO): Likewise.
14740 (usage): Use $REPORT_BUGS_TO.
14741 (top level): Use $PKGVERSION.
14742 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14743 ($(objpfx)pkgvers.texi): New rule.
14744 ($(objpfx)stamp-pkgvers): Likewise.
14745 * manual/install.texi: Include pkgvers.texi.
14746 (--with-pkgversion): Document new configure option.
14747 (--with-bugurl): Likewise.
14748 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14749 than necessarily for this particular distribution. Use
14750 REPORT_BUGS_TO for where to report bugs.
14751 * INSTALL: Regenerated.
14752 * manual/libc.texinfo: Include pkgvers.texi.
14753 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14754 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14755 (print_version): Use PKGVERSION.
14756 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14757 (print_version): Use PKGVERSION.
14758 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14759 (print_version): Use PKGVERSION.
14760 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14761 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14762 macro.
14763 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14764 (print_version): Use PKGVERSION.
14765 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14766 (print_version): Use PKGVERSION.
14767 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14768 and PKGVERSION.
14769
92e4b6a9
JM
14770 * timezone/checktab.awk: Update from tzcode 2012i.
14771 * timezone/ialloc.c: Likewise.
14772 * timezone/private.h: Likewise.
14773 * timezone/scheck.c: Likewise.
14774 * timezone/tzfile.h: Likewise.
14775 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14776 (TZVERSION): Hardcode tzcode version number.
14777 * timezone/zdump.c: Update from tzcode 2012i.
14778 * timezone/zic.c: Likewise.
14779 * timezone/version.h: New file.
14780 * timezone/README: Describe version.h. Update upstream location.
14781
9bde902c
JM
14782 [BZ #14824]
14783 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14784 (mktemp): Enable declaration.
14785 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14786 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14787 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14788 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14789 Likewise.
14790 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14791 Likewise.
14792 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14793 Likewise.
14794 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14795 Likewise.
14796 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14797 Likewise.
14798 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14799 Likewise.
14800
fb1ae1ee
JM
14801 [BZ #14821]
14802 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14803 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14804 for copies of such integer values.
14805 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14806 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14807
2c1adbcb
AJ
148082012-11-09 Andreas Jaeger <aj@suse.de>
14809
14810 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14811 definitions and declarations that are provided by
14812 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14813
d0f8457e
AK
148142012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14815
3a235abb 14816 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14817 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14818 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14819 definition.
14820
57241e26
MS
148212012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14822
14823 * elf/elf.h: Update comment before AArch64 relocations.
14824
60e8270d
DM
148252012-11-07 David S. Miller <davem@davemloft.net>
14826
14827 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14828 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14829 (__start_context): Declare.
14830 (__makecontext_ret): Delete.
14831 (__makecontext): Hook up __start_context instead of
14832 __makecontext_ret.
14833 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14834 (sysdep_routines): Add __start_context when in stdlib.
14835
0fbb0fbc
JM
148362012-11-07 Joseph Myers <joseph@codesourcery.com>
14837
14838 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14839 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14840 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14841 hardcoded "nm".
14842 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14843 (READELF): New variable. Use it instead of hardcoded "readelf".
14844
eb48db7e
L
148452012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14846
14847 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14848 * sysdeps/x86/Makefile: Here.
14849 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14850 * sysdeps/x86/tst-xmmymm.sh: This.
14851
05bcf62a
JM
148522012-11-07 Joseph Myers <joseph@codesourcery.com>
14853
c4b6cf53
JM
14854 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14855 expectations.
14856 [UNIX98] (pthread_barrier_t): Do not expect.
14857 [UNIX98] (pthread_barrierattr_t): Likewise.
14858 [UNIX98] (pthread_spinlock_t): Likewise.
14859 [UNIX98] (pthread_barrier_destroy): Likewise.
14860 [UNIX98] (pthread_barrier_init): Likewise.
14861 [UNIX98] (pthread_barrier_wait): Likewise.
14862 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14863 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14864 [UNIX98] (pthread_barrierattr_init): Likewise.
14865 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14866 [UNIX98] (pthread_getcpuclockid): Likewise.
14867 [UNIX98] (pthread_mutex_timedlock): Likewise.
14868 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14869 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14870 [UNIX98] (pthread_sigmask): Likewise.
14871 [UNIX98] (pthread_spin_destroy): Likewise.
14872 [UNIX98] (pthread_spin_init): Likewise.
14873 [UNIX98] (pthread_spin_lock): Likewise.
14874 [UNIX98] (pthread_spin_trylock): Likewise.
14875 [UNIX98] (pthread_spin_unlock): Likewise.
14876 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14877 Do not expect.
14878 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14879 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14880 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14881 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14882 [XPG3 || XPG4] (pthread_key_t): Likewise.
14883 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14884 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14885 [XPG3 || XPG4] (pthread_once_t): Likewise.
14886 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14887 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14888 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14889 [XPG3 || XPG4] (pthread_t): Likewise.
14890
cbe6e120
JM
14891 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14892 not expect.
14893 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14894
1b126443
JM
14895 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14896 Change function return type to int.
14897
b961a573
JM
14898 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14899 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14900 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14901 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14902 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14903 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14904 [!POSIX] (posix_madvise): Likewise.
14905 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14906 && !UNIX98].
14907 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14908 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14909 (mode_t): Likewise.
14910 (posix_mem_offset): Likewise.
14911 (posix_typed_mem_get_info): Likewise.
14912 (posix_typed_mem_open): Likewise.
14913
9e188909
JM
14914 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14915 Change condition to [XOPEN2K8].
14916
05bcf62a
JM
14917 * conform/conformtest.pl: Preprocess allow-header data with -x c
14918 instead of from stdin.
14919 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14920 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14921 [C99-based standards] (cerfc): Likewise.
14922 [C99-based standards] (cexp2): Likewise.
14923 [C99-based standards] (cexpm1): Likewise.
14924 [C99-based standards] (clog10): Likewise.
14925 [C99-based standards] (clog1p): Likewise.
14926 [C99-based standards] (clog2): Likewise.
14927 [C99-based standards] (clgamma): Likewise.
14928 [C99-based standards] (ctgamma): Likewise.
14929 [C99-based standards] (cerff): Likewise.
14930 [C99-based standards] (cerfcf): Likewise.
14931 [C99-based standards] (cexp2f): Likewise.
14932 [C99-based standards] (cexpm1f): Likewise.
14933 [C99-based standards] (clog10f): Likewise.
14934 [C99-based standards] (clog1pf): Likewise.
14935 [C99-based standards] (clog2f): Likewise.
14936 [C99-based standards] (clgammaf): Likewise.
14937 [C99-based standards] (ctgammaf): Likewise.
14938 [C99-based standards] (cerfl): Likewise.
14939 [C99-based standards] (cerfcl): Likewise.
14940 [C99-based standards] (cexp2l): Likewise.
14941 [C99-based standards] (cexpm1l): Likewise.
14942 [C99-based standards] (clog10l): Likewise.
14943 [C99-based standards] (clog1pl): Likewise.
14944 [C99-based standards] (clog2l): Likewise.
14945 [C99-based standards] (clgammal): Likewise.
14946 [C99-based standards] (ctgammal): Likewise.
14947 * conform/data/inttypes.h-data [C99-based standards]: Include
14948 stdint.h-data. Remove all expectations for stdint.h contents.
14949 [C99-based standards] (PRI*): Do not allow.
14950 [C99-based standards] (SCN*): Likewise.
14951 [C99-based standards] (*_t): Likewise.
14952 [C99-based-standards] (PRId8): Expect macro.
14953 [C99-based-standards] (PRIi8): Likewise.
14954 [C99-based-standards] (PRIo8): Likewise.
14955 [C99-based-standards] (PRIu8): Likewise.
14956 [C99-based-standards] (PRIx8): Likewise.
14957 [C99-based-standards] (PRIX8): Likewise.
14958 [C99-based-standards] (SCNd8): Likewise.
14959 [C99-based-standards] (SCNi8): Likewise.
14960 [C99-based-standards] (SCNo8): Likewise.
14961 [C99-based-standards] (SCNu8): Likewise.
14962 [C99-based-standards] (SCNx8): Likewise.
14963 [C99-based-standards] (PRIdLEAST8): Likewise.
14964 [C99-based-standards] (PRIiLEAST8): Likewise.
14965 [C99-based-standards] (PRIoLEAST8): Likewise.
14966 [C99-based-standards] (PRIuLEAST8): Likewise.
14967 [C99-based-standards] (PRIxLEAST8): Likewise.
14968 [C99-based-standards] (PRIXLEAST8): Likewise.
14969 [C99-based-standards] (SCNdLEAST8): Likewise.
14970 [C99-based-standards] (SCNiLEAST8): Likewise.
14971 [C99-based-standards] (SCNoLEAST8): Likewise.
14972 [C99-based-standards] (SCNuLEAST8): Likewise.
14973 [C99-based-standards] (SCNxLEAST8): Likewise.
14974 [C99-based-standards] (PRIdFAST8): Likewise.
14975 [C99-based-standards] (PRIiFAST8): Likewise.
14976 [C99-based-standards] (PRIoFAST8): Likewise.
14977 [C99-based-standards] (PRIuFAST8): Likewise.
14978 [C99-based-standards] (PRIxFAST8): Likewise.
14979 [C99-based-standards] (PRIXFAST8): Likewise.
14980 [C99-based-standards] (SCNdFAST8): Likewise.
14981 [C99-based-standards] (SCNiFAST8): Likewise.
14982 [C99-based-standards] (SCNoFAST8): Likewise.
14983 [C99-based-standards] (SCNuFAST8): Likewise.
14984 [C99-based-standards] (SCNxFAST8): Likewise.
14985 [C99-based-standards] (PRId16): Likewise.
14986 [C99-based-standards] (PRIi16): Likewise.
14987 [C99-based-standards] (PRIo16): Likewise.
14988 [C99-based-standards] (PRIu16): Likewise.
14989 [C99-based-standards] (PRIx16): Likewise.
14990 [C99-based-standards] (PRIX16): Likewise.
14991 [C99-based-standards] (SCNd16): Likewise.
14992 [C99-based-standards] (SCNi16): Likewise.
14993 [C99-based-standards] (SCNo16): Likewise.
14994 [C99-based-standards] (SCNu16): Likewise.
14995 [C99-based-standards] (SCNx16): Likewise.
14996 [C99-based-standards] (PRIdLEAST16): Likewise.
14997 [C99-based-standards] (PRIiLEAST16): Likewise.
14998 [C99-based-standards] (PRIoLEAST16): Likewise.
14999 [C99-based-standards] (PRIuLEAST16): Likewise.
15000 [C99-based-standards] (PRIxLEAST16): Likewise.
15001 [C99-based-standards] (PRIXLEAST16): Likewise.
15002 [C99-based-standards] (SCNdLEAST16): Likewise.
15003 [C99-based-standards] (SCNiLEAST16): Likewise.
15004 [C99-based-standards] (SCNoLEAST16): Likewise.
15005 [C99-based-standards] (SCNuLEAST16): Likewise.
15006 [C99-based-standards] (SCNxLEAST16): Likewise.
15007 [C99-based-standards] (PRIdFAST16): Likewise.
15008 [C99-based-standards] (PRIiFAST16): Likewise.
15009 [C99-based-standards] (PRIoFAST16): Likewise.
15010 [C99-based-standards] (PRIuFAST16): Likewise.
15011 [C99-based-standards] (PRIxFAST16): Likewise.
15012 [C99-based-standards] (PRIXFAST16): Likewise.
15013 [C99-based-standards] (SCNdFAST16): Likewise.
15014 [C99-based-standards] (SCNiFAST16): Likewise.
15015 [C99-based-standards] (SCNoFAST16): Likewise.
15016 [C99-based-standards] (SCNuFAST16): Likewise.
15017 [C99-based-standards] (SCNxFAST16): Likewise.
15018 [C99-based-standards] (PRId32): Likewise.
15019 [C99-based-standards] (PRIi32): Likewise.
15020 [C99-based-standards] (PRIo32): Likewise.
15021 [C99-based-standards] (PRIu32): Likewise.
15022 [C99-based-standards] (PRIx32): Likewise.
15023 [C99-based-standards] (PRIX32): Likewise.
15024 [C99-based-standards] (SCNd32): Likewise.
15025 [C99-based-standards] (SCNi32): Likewise.
15026 [C99-based-standards] (SCNo32): Likewise.
15027 [C99-based-standards] (SCNu32): Likewise.
15028 [C99-based-standards] (SCNx32): Likewise.
15029 [C99-based-standards] (PRIdLEAST32): Likewise.
15030 [C99-based-standards] (PRIiLEAST32): Likewise.
15031 [C99-based-standards] (PRIoLEAST32): Likewise.
15032 [C99-based-standards] (PRIuLEAST32): Likewise.
15033 [C99-based-standards] (PRIxLEAST32): Likewise.
15034 [C99-based-standards] (PRIXLEAST32): Likewise.
15035 [C99-based-standards] (SCNdLEAST32): Likewise.
15036 [C99-based-standards] (SCNiLEAST32): Likewise.
15037 [C99-based-standards] (SCNoLEAST32): Likewise.
15038 [C99-based-standards] (SCNuLEAST32): Likewise.
15039 [C99-based-standards] (SCNxLEAST32): Likewise.
15040 [C99-based-standards] (PRIdFAST32): Likewise.
15041 [C99-based-standards] (PRIiFAST32): Likewise.
15042 [C99-based-standards] (PRIoFAST32): Likewise.
15043 [C99-based-standards] (PRIuFAST32): Likewise.
15044 [C99-based-standards] (PRIxFAST32): Likewise.
15045 [C99-based-standards] (PRIXFAST32): Likewise.
15046 [C99-based-standards] (SCNdFAST32): Likewise.
15047 [C99-based-standards] (SCNiFAST32): Likewise.
15048 [C99-based-standards] (SCNoFAST32): Likewise.
15049 [C99-based-standards] (SCNuFAST32): Likewise.
15050 [C99-based-standards] (SCNxFAST32): Likewise.
15051 [C99-based-standards] (PRId64): Likewise.
15052 [C99-based-standards] (PRIi64): Likewise.
15053 [C99-based-standards] (PRIo64): Likewise.
15054 [C99-based-standards] (PRIu64): Likewise.
15055 [C99-based-standards] (PRIx64): Likewise.
15056 [C99-based-standards] (PRIX64): Likewise.
15057 [C99-based-standards] (SCNd64): Likewise.
15058 [C99-based-standards] (SCNi64): Likewise.
15059 [C99-based-standards] (SCNo64): Likewise.
15060 [C99-based-standards] (SCNu64): Likewise.
15061 [C99-based-standards] (SCNx64): Likewise.
15062 [C99-based-standards] (PRIdLEAST64): Likewise.
15063 [C99-based-standards] (PRIiLEAST64): Likewise.
15064 [C99-based-standards] (PRIoLEAST64): Likewise.
15065 [C99-based-standards] (PRIuLEAST64): Likewise.
15066 [C99-based-standards] (PRIxLEAST64): Likewise.
15067 [C99-based-standards] (PRIXLEAST64): Likewise.
15068 [C99-based-standards] (SCNdLEAST64): Likewise.
15069 [C99-based-standards] (SCNiLEAST64): Likewise.
15070 [C99-based-standards] (SCNoLEAST64): Likewise.
15071 [C99-based-standards] (SCNuLEAST64): Likewise.
15072 [C99-based-standards] (SCNxLEAST64): Likewise.
15073 [C99-based-standards] (PRIdFAST64): Likewise.
15074 [C99-based-standards] (PRIiFAST64): Likewise.
15075 [C99-based-standards] (PRIoFAST64): Likewise.
15076 [C99-based-standards] (PRIuFAST64): Likewise.
15077 [C99-based-standards] (PRIxFAST64): Likewise.
15078 [C99-based-standards] (PRIXFAST64): Likewise.
15079 [C99-based-standards] (SCNdFAST64): Likewise.
15080 [C99-based-standards] (SCNiFAST64): Likewise.
15081 [C99-based-standards] (SCNoFAST64): Likewise.
15082 [C99-based-standards] (SCNuFAST64): Likewise.
15083 [C99-based-standards] (SCNxFAST64): Likewise.
15084 [C99-based-standards] (PRIdMAX): Likewise.
15085 [C99-based-standards] (PRIiMAX): Likewise.
15086 [C99-based-standards] (PRIoMAX): Likewise.
15087 [C99-based-standards] (PRIuMAX): Likewise.
15088 [C99-based-standards] (PRIxMAX): Likewise.
15089 [C99-based-standards] (PRIXMAX): Likewise.
15090 [C99-based-standards] (SCNdMAX): Likewise.
15091 [C99-based-standards] (SCNiMAX): Likewise.
15092 [C99-based-standards] (SCNoMAX): Likewise.
15093 [C99-based-standards] (SCNuMAX): Likewise.
15094 [C99-based-standards] (SCNxMAX): Likewise.
15095 [C99-based-standards] (PRIdPTR): Likewise.
15096 [C99-based-standards] (PRIiPTR): Likewise.
15097 [C99-based-standards] (PRIoPTR): Likewise.
15098 [C99-based-standards] (PRIuPTR): Likewise.
15099 [C99-based-standards] (PRIxPTR): Likewise.
15100 [C99-based-standards] (PRIXPTR): Likewise.
15101 [C99-based-standards] (SCNdPTR): Likewise.
15102 [C99-based-standards] (SCNiPTR): Likewise.
15103 [C99-based-standards] (SCNoPTR): Likewise.
15104 [C99-based-standards] (SCNuPTR): Likewise.
15105 [C99-based-standards] (SCNxPTR): Likewise.
15106 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15107 allow.
15108 * conform/data/stdint.h-data: Update comments to clarify
15109 requirements.
15110 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15111 type.
15112 [C99-based standards] (INT8_MAX): Likewise.
15113 [C99-based standards] (INT16_MIN): Likewise.
15114 [C99-based standards] (INT16_MAX): Likewise.
15115 [C99-based standards] (INT32_MIN): Likewise.
15116 [C99-based standards] (INT32_MAX): Likewise.
15117 [C99-based standards] (INT64_MIN): Likewise.
15118 [C99-based standards] (INT64_MAX): Likewise.
15119 [C99-based standards] (UINT8_MAX): Likewise.
15120 [C99-based standards] (UINT16_MAX): Likewise.
15121 [C99-based standards] (UINT32_MAX): Likewise.
15122 [C99-based standards] (UINT64_MAX): Likewise.
15123 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15124 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15125 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15126 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15127 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15128 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15129 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15130 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15131 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15132 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15133 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15134 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15135 [C99-based standards] (INT_FAST8_MIN): Likewise.
15136 [C99-based standards] (INT_FAST8_MAX): Likewise.
15137 [C99-based standards] (INT_FAST16_MIN): Likewise.
15138 [C99-based standards] (INT_FAST16_MAX): Likewise.
15139 [C99-based standards] (INT_FAST32_MIN): Likewise.
15140 [C99-based standards] (INT_FAST32_MAX): Likewise.
15141 [C99-based standards] (INT_FAST64_MIN): Likewise.
15142 [C99-based standards] (INT_FAST64_MAX): Likewise.
15143 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15144 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15145 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15146 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15147 [C99-based standards] (INTPTR_MIN): Likewise.
15148 [C99-based standards] (INTPTR_MAX): Likewise.
15149 [C99-based standards] (UINTPTR_MAX): Likewise.
15150 [C99-based standards] (INTMAX_MIN): Likewise.
15151 [C99-based standards] (INTMAX_MAX): Likewise.
15152 [C99-based standards] (UINTMAX_MAX): Likewise.
15153 [C99-based standards] (PTRDIFF_MIN): Likewise.
15154 [C99-based standards] (PTRDIFF_MAX): Likewise.
15155 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15156 [C99-based standards] (SIZE_MAX): Likewise.
15157 [C99-based standards] (WCHAR_MAX): Likewise.
15158 [C99-based standards] (WINT_MAX): Likewise.
15159 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15160 constraint on value.
15161 [C99-based standards] (WCHAR_MIN): Likewise.
15162 [C99-based standards] (WINT_MIN): Likewise.
15163 [C99-based standards] (*_t): Allow.
15164 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15165 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15166 Include math.h-data and complex.h-data. Remove all expectations
15167 of math.h and complex.h contents.
15168 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15169 at end of line.
15170 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15171 (struct tm): Expect tag.
15172 [C99-based-standards] (wcstof): Expect function.
15173 [C99-based-standards] (wcstold): Likewise.
15174 [C99-based-standards] (wcstoll): Likewise.
15175 [C99-based-standards] (wcstoull): Likewise.
15176 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15177 macro-int-constant. Specify type.
15178 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15179 constraint on value.
15180 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15181 Specify type.
15182 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15183 Specify value.
15184 [ISO C standards]: Do not allow headers.
15185 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15186 wcs[abcdefghijklmnopqrstuvwxyz]*.
15187 [ISO C standards] (*_t): Do not allow.
15188 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15189 Expect function.
15190 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15191 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15192 Specify type.
15193 [ISO C standards]: Do not allow headers.
15194 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15195 is[abcdefghijklmnopqrstuvwxyz]*.
15196 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15197 to[abcdefghijklmnopqrstuvwxyz]*.
15198 [ISO C standards] (*_t): Do not allow.
15199 * conform/data/stdalign.h-data: New file.
15200 * conform/data/stdbool.h-data: Likewise.
15201 * conform/data/stdnoreturn.h-data: Likewise.
15202
7514feb8
RM
152032012-11-07 Roland McGrath <roland@hack.frob.com>
15204
15205 [BZ #14815]
15206 * manual/filesys.texi (Directory Entries): Typo fix.
15207 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15208
19b2ecfc
MS
152092012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15210
15211 * elf/elf.h (EM_AARCH64): New macro.
15212 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15213 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15214 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15215 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15216 (R_AARCH64_TLSDESC): Likewise.
15217 (NT_ARM_TLS): Likewise.
15218 (NT_ARM_HW_BREAK): Likewise.
15219 (NT_ARM_HW_WATCH): Likewise.
15220
60e235ee
JM
152212012-11-07 Joseph Myers <joseph@codesourcery.com>
15222
15223 [BZ #14811]
15224 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15225 (__ieee754_powl): Saturate nonzero exponents with absolute value
15226 below 0x1p-79 to +/- 0x1p-79.
15227 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15228 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15229 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15230 nonzero exponents with absolute value below 0x1p-32 to +/-
15231 0x1p-32.
15232 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15233 (__ieee754_powl): Saturate nonzero exponents with absolute value
15234 below 0x1p-79 to +/- 0x1p-79.
15235 * math/libm-test.inc (pow_test): Add more tests.
15236
0ab234b7
AK
152372012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15238
15239 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15240 _dl_s390_cap_flags with kernel. Increase string length.
15241 (_dl_s390_platforms): Add z196 and zEC12.
15242
45832f74
JM
152432012-11-07 Joseph Myers <joseph@codesourcery.com>
15244
15245 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15246 Change XOPEN21K to XOPEN2K.
15247
19218757
MK
152482012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15249
15250 * string/memmove.c: Use memcpy when possible.
15251
c5f45721
AJ
152522012-11-06 Andreas Jaeger <aj@suse.de>
15253
15254 * po/eo.po: Update from translation team.
15255
82477c28
JM
152562012-11-06 Joseph Myers <joseph@codesourcery.com>
15257
15258 [BZ #14793]
15259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15260 exponent and small x and y exponents, scale x or y up. Increase
15261 by 2 the exponent used in scaling up.
15262 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15264 * math/libm-test.inc (fma_test): Add more tests.
15265 (fma_test_towardzero): Likewise.
15266 (fma_test_downward): Likewise.
15267 (fma_test_upward): Likewise.
15268
99252c8c
JM
152692012-11-05 Joseph Myers <joseph@codesourcery.com>
15270
acfa885f
JM
15271 [BZ #14805]
15272 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15273 fenv_t *.
15274
99252c8c
JM
15275 [BZ #14801]
15276 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15277 namespace for names of struct fields.
15278 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15279 fenv_t fields.
15280 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15281 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15282
d6d98dea
ST
152832012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15284
15285 [BZ #3665]
15286 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15287
e10bb107
TS
152882012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15289
15290 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15291 PTR_DEMANGLE.
15292
15293 [BZ #5246]
15294 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15295 PTR_DEMANGLE.
15296
a0c2940d
JM
152972012-11-04 Joseph Myers <joseph@codesourcery.com>
15298
15299 [BZ #14797]
15300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15301 definitely overflow as x * y not x * y + z.
15302 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15303 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15304 * math/libm-test.inc (fma_test): Add more tests.
15305 (fma_test_towardzero): Likewise.
15306 (fma_test_downward): Likewise.
15307 (fma_test_upward): Likewise.
15308
b830319d
TS
153092012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15310
15311 [BZ #157]
15312
15313 * include/stub-tag.h: Remove file.
15314 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15315 '#include' of it.
15316 * manual/maint.texi (Porting): Don't reference it.
15317 * Makerules ($(objpfx)stubs): Likewise.
15318 * dirent/closedir.c: Don't include <stub-tag.h>.
15319 * dirent/dirfd.c: Likewise.
15320 * dirent/fdopendir.c: Likewise.
15321 * dirent/getdents.c: Likewise.
15322 * dirent/getdents64.c: Likewise.
15323 * dirent/opendir.c: Likewise.
15324 * dirent/readdir.c: Likewise.
15325 * dirent/readdir64.c: Likewise.
15326 * dirent/readdir64_r.c: Likewise.
15327 * dirent/readdir_r.c: Likewise.
15328 * dirent/rewinddir.c: Likewise.
15329 * dirent/seekdir.c: Likewise.
15330 * dirent/telldir.c: Likewise.
15331 * gmon/profil.c: Likewise.
15332 * grp/setgroups.c: Likewise.
15333 * inet/if_index.c: Likewise.
15334 * io/access.c: Likewise.
15335 * io/chdir.c: Likewise.
15336 * io/chmod.c: Likewise.
15337 * io/chown.c: Likewise.
15338 * io/close.c: Likewise.
15339 * io/dup.c: Likewise.
15340 * io/dup2.c: Likewise.
15341 * io/dup3.c: Likewise.
15342 * io/euidaccess.c: Likewise.
15343 * io/faccessat.c: Likewise.
15344 * io/fchdir.c: Likewise.
15345 * io/fchmod.c: Likewise.
15346 * io/fchmodat.c: Likewise.
15347 * io/fchown.c: Likewise.
15348 * io/fchownat.c: Likewise.
15349 * io/fcntl.c: Likewise.
15350 * io/flock.c: Likewise.
15351 * io/fstatfs.c: Likewise.
15352 * io/fstatfs64.c: Likewise.
15353 * io/fstatvfs.c: Likewise.
15354 * io/fstatvfs64.c: Likewise.
15355 * io/futimens.c: Likewise.
15356 * io/fxstat.c: Likewise.
15357 * io/fxstat64.c: Likewise.
15358 * io/fxstatat.c: Likewise.
15359 * io/fxstatat64.c: Likewise.
15360 * io/getcwd.c: Likewise.
15361 * io/isatty.c: Likewise.
15362 * io/lchmod.c: Likewise.
15363 * io/lchown.c: Likewise.
15364 * io/link.c: Likewise.
15365 * io/linkat.c: Likewise.
15366 * io/lseek.c: Likewise.
15367 * io/lseek64.c: Likewise.
15368 * io/lxstat64.c: Likewise.
15369 * io/mkdir.c: Likewise.
15370 * io/mkdirat.c: Likewise.
15371 * io/mkfifo.c: Likewise.
15372 * io/mkfifoat.c: Likewise.
15373 * io/open.c: Likewise.
15374 * io/open64.c: Likewise.
15375 * io/openat.c: Likewise.
15376 * io/openat64.c: Likewise.
15377 * io/pipe.c: Likewise.
15378 * io/pipe2.c: Likewise.
15379 * io/poll.c: Likewise.
15380 * io/posix_fadvise.c: Likewise.
15381 * io/posix_fadvise64.c: Likewise.
15382 * io/posix_fallocate.c: Likewise.
15383 * io/posix_fallocate64.c: Likewise.
15384 * io/read.c: Likewise.
15385 * io/readlink.c: Likewise.
15386 * io/readlinkat.c: Likewise.
15387 * io/rmdir.c: Likewise.
15388 * io/sendfile.c: Likewise.
15389 * io/sendfile64.c: Likewise.
15390 * io/statfs.c: Likewise.
15391 * io/statfs64.c: Likewise.
15392 * io/statvfs.c: Likewise.
15393 * io/statvfs64.c: Likewise.
15394 * io/symlink.c: Likewise.
15395 * io/symlinkat.c: Likewise.
15396 * io/ttyname.c: Likewise.
15397 * io/ttyname_r.c: Likewise.
15398 * io/umask.c: Likewise.
15399 * io/unlink.c: Likewise.
15400 * io/unlinkat.c: Likewise.
15401 * io/utime.c: Likewise.
15402 * io/utimensat.c: Likewise.
15403 * io/write.c: Likewise.
15404 * io/xmknod.c: Likewise.
15405 * io/xmknodat.c: Likewise.
15406 * io/xstat.c: Likewise.
15407 * io/xstat64.c: Likewise.
15408 * login/getpt.c: Likewise.
15409 * login/grantpt.c: Likewise.
15410 * login/unlockpt.c: Likewise.
15411 * math/e_acoshl.c: Likewise.
15412 * math/e_acosl.c: Likewise.
15413 * math/e_asinl.c: Likewise.
15414 * math/e_atan2l.c: Likewise.
15415 * math/e_atanhl.c: Likewise.
15416 * math/e_coshl.c: Likewise.
15417 * math/e_expl.c: Likewise.
15418 * math/e_fmodl.c: Likewise.
15419 * math/e_gammal_r.c: Likewise.
15420 * math/e_hypotl.c: Likewise.
15421 * math/e_j0l.c: Likewise.
15422 * math/e_j1l.c: Likewise.
15423 * math/e_jnl.c: Likewise.
15424 * math/e_lgammal_r.c: Likewise.
15425 * math/e_log10l.c: Likewise.
15426 * math/e_log2l.c: Likewise.
15427 * math/e_logl.c: Likewise.
15428 * math/e_powl.c: Likewise.
15429 * math/e_rem_pio2l.c: Likewise.
15430 * math/e_sinhl.c: Likewise.
15431 * math/e_sqrtl.c: Likewise.
15432 * math/fclrexcpt.c: Likewise.
15433 * math/fedisblxcpt.c: Likewise.
15434 * math/feenablxcpt.c: Likewise.
15435 * math/fegetenv.c: Likewise.
15436 * math/fegetexcept.c: Likewise.
15437 * math/fegetround.c: Likewise.
15438 * math/feholdexcpt.c: Likewise.
15439 * math/fesetenv.c: Likewise.
15440 * math/fesetround.c: Likewise.
15441 * math/feupdateenv.c: Likewise.
15442 * math/fgetexcptflg.c: Likewise.
15443 * math/fraiseexcpt.c: Likewise.
15444 * math/fsetexcptflg.c: Likewise.
15445 * math/ftestexcept.c: Likewise.
15446 * math/k_cosl.c: Likewise.
15447 * math/k_rem_pio2l.c: Likewise.
15448 * math/k_sinl.c: Likewise.
15449 * math/k_tanl.c: Likewise.
15450 * math/s_asinhl.c: Likewise.
15451 * math/s_atanl.c: Likewise.
15452 * math/s_cbrtl.c: Likewise.
15453 * math/s_erfl.c: Likewise.
15454 * math/s_expm1l.c: Likewise.
15455 * math/s_log1pl.c: Likewise.
15456 * math/s_tanhl.c: Likewise.
15457 * misc/acct.c: Likewise.
15458 * misc/brk.c: Likewise.
15459 * misc/chflags.c: Likewise.
15460 * misc/chroot.c: Likewise.
15461 * misc/fchflags.c: Likewise.
15462 * misc/fgetxattr.c: Likewise.
15463 * misc/flistxattr.c: Likewise.
15464 * misc/fremovexattr.c: Likewise.
15465 * misc/fsetxattr.c: Likewise.
15466 * misc/fsync.c: Likewise.
15467 * misc/ftruncate.c: Likewise.
15468 * misc/futimes.c: Likewise.
15469 * misc/futimesat.c: Likewise.
15470 * misc/getdomain.c: Likewise.
15471 * misc/getdtsz.c: Likewise.
15472 * misc/gethostid.c: Likewise.
15473 * misc/gethostname.c: Likewise.
15474 * misc/getloadavg.c: Likewise.
15475 * misc/getpagesize.c: Likewise.
15476 * misc/getsysstats.c: Likewise.
15477 * misc/getxattr.c: Likewise.
15478 * misc/gtty.c: Likewise.
15479 * misc/ioctl.c: Likewise.
15480 * misc/lgetxattr.c: Likewise.
15481 * misc/listxattr.c: Likewise.
15482 * misc/llistxattr.c: Likewise.
15483 * misc/lremovexattr.c: Likewise.
15484 * misc/lsetxattr.c: Likewise.
15485 * misc/lutimes.c: Likewise.
15486 * misc/madvise.c: Likewise.
15487 * misc/mincore.c: Likewise.
15488 * misc/mlock.c: Likewise.
15489 * misc/mlockall.c: Likewise.
15490 * misc/mmap.c: Likewise.
15491 * misc/mprotect.c: Likewise.
15492 * misc/msync.c: Likewise.
15493 * misc/munlock.c: Likewise.
15494 * misc/munlockall.c: Likewise.
15495 * misc/munmap.c: Likewise.
15496 * misc/preadv.c: Likewise.
15497 * misc/preadv64.c: Likewise.
15498 * misc/ptrace.c: Likewise.
15499 * misc/pwritev.c: Likewise.
15500 * misc/pwritev64.c: Likewise.
15501 * misc/readv.c: Likewise.
15502 * misc/reboot.c: Likewise.
15503 * misc/remap_file_pages.c: Likewise.
15504 * misc/removexattr.c: Likewise.
15505 * misc/revoke.c: Likewise.
15506 * misc/select.c: Likewise.
15507 * misc/setdomain.c: Likewise.
15508 * misc/setegid.c: Likewise.
15509 * misc/seteuid.c: Likewise.
15510 * misc/sethostid.c: Likewise.
15511 * misc/sethostname.c: Likewise.
15512 * misc/setregid.c: Likewise.
15513 * misc/setreuid.c: Likewise.
15514 * misc/setxattr.c: Likewise.
15515 * misc/sstk.c: Likewise.
15516 * misc/stty.c: Likewise.
15517 * misc/swapoff.c: Likewise.
15518 * misc/swapon.c: Likewise.
15519 * misc/sync.c: Likewise.
15520 * misc/syncfs.c: Likewise.
15521 * misc/syscall.c: Likewise.
15522 * misc/truncate.c: Likewise.
15523 * misc/ualarm.c: Likewise.
15524 * misc/usleep.c: Likewise.
15525 * misc/ustat.c: Likewise.
15526 * misc/utimes.c: Likewise.
15527 * misc/vhangup.c: Likewise.
15528 * misc/writev.c: Likewise.
15529 * posix/_exit.c: Likewise.
15530 * posix/alarm.c: Likewise.
15531 * posix/execve.c: Likewise.
15532 * posix/fexecve.c: Likewise.
15533 * posix/fork.c: Likewise.
15534 * posix/fpathconf.c: Likewise.
15535 * posix/getaddrinfo.c: Likewise.
15536 * posix/getegid.c: Likewise.
15537 * posix/geteuid.c: Likewise.
15538 * posix/getgid.c: Likewise.
15539 * posix/getgroups.c: Likewise.
15540 * posix/getlogin.c: Likewise.
15541 * posix/getlogin_r.c: Likewise.
15542 * posix/getpgid.c: Likewise.
15543 * posix/getpid.c: Likewise.
15544 * posix/getppid.c: Likewise.
15545 * posix/getresgid.c: Likewise.
15546 * posix/getresuid.c: Likewise.
15547 * posix/getsid.c: Likewise.
15548 * posix/getuid.c: Likewise.
15549 * posix/glob64.c: Likewise.
15550 * posix/nanosleep.c: Likewise.
15551 * posix/pathconf.c: Likewise.
15552 * posix/pause.c: Likewise.
15553 * posix/posix_madvise.c: Likewise.
15554 * posix/pread.c: Likewise.
15555 * posix/pread64.c: Likewise.
15556 * posix/pwrite.c: Likewise.
15557 * posix/pwrite64.c: Likewise.
15558 * posix/sched_getaffinity.c: Likewise.
15559 * posix/sched_getp.c: Likewise.
15560 * posix/sched_gets.c: Likewise.
15561 * posix/sched_primax.c: Likewise.
15562 * posix/sched_primin.c: Likewise.
15563 * posix/sched_rr_gi.c: Likewise.
15564 * posix/sched_setaffinity.c: Likewise.
15565 * posix/sched_setp.c: Likewise.
15566 * posix/sched_sets.c: Likewise.
15567 * posix/sched_yield.c: Likewise.
15568 * posix/setgid.c: Likewise.
15569 * posix/setlogin.c: Likewise.
15570 * posix/setpgid.c: Likewise.
15571 * posix/setresgid.c: Likewise.
15572 * posix/setresuid.c: Likewise.
15573 * posix/setsid.c: Likewise.
15574 * posix/setuid.c: Likewise.
15575 * posix/sleep.c: Likewise.
15576 * posix/spawni.c: Likewise.
15577 * posix/sysconf.c: Likewise.
15578 * posix/times.c: Likewise.
15579 * posix/wait.c: Likewise.
15580 * posix/wait3.c: Likewise.
15581 * posix/wait4.c: Likewise.
15582 * posix/waitpid.c: Likewise.
15583 * resolv/gai_sigqueue.c: Likewise.
15584 * resource/getpriority.c: Likewise.
15585 * resource/getrlimit.c: Likewise.
15586 * resource/getrusage.c: Likewise.
15587 * resource/nice.c: Likewise.
15588 * resource/setpriority.c: Likewise.
15589 * resource/setrlimit.c: Likewise.
15590 * resource/ulimit.c: Likewise.
15591 * rt/aio_cancel.c: Likewise.
15592 * rt/aio_fsync.c: Likewise.
15593 * rt/aio_read.c: Likewise.
15594 * rt/aio_sigqueue.c: Likewise.
15595 * rt/aio_suspend.c: Likewise.
15596 * rt/aio_write.c: Likewise.
15597 * rt/clock_getres.c: Likewise.
15598 * rt/clock_gettime.c: Likewise.
15599 * rt/clock_nanosleep.c: Likewise.
15600 * rt/clock_settime.c: Likewise.
15601 * rt/lio_listio.c: Likewise.
15602 * rt/mq_close.c: Likewise.
15603 * rt/mq_getattr.c: Likewise.
15604 * rt/mq_notify.c: Likewise.
15605 * rt/mq_open.c: Likewise.
15606 * rt/mq_receive.c: Likewise.
15607 * rt/mq_send.c: Likewise.
15608 * rt/mq_setattr.c: Likewise.
15609 * rt/mq_timedreceive.c: Likewise.
15610 * rt/mq_timedsend.c: Likewise.
15611 * rt/mq_unlink.c: Likewise.
15612 * rt/shm_open.c: Likewise.
15613 * rt/shm_unlink.c: Likewise.
15614 * rt/timer_create.c: Likewise.
15615 * rt/timer_delete.c: Likewise.
15616 * rt/timer_getoverr.c: Likewise.
15617 * rt/timer_gettime.c: Likewise.
15618 * rt/timer_settime.c: Likewise.
15619 * setjmp/__longjmp.c: Likewise.
15620 * setjmp/setjmp.c: Likewise.
15621 * signal/kill.c: Likewise.
15622 * signal/killpg.c: Likewise.
15623 * signal/raise.c: Likewise.
15624 * signal/sigaction.c: Likewise.
15625 * signal/sigaltstack.c: Likewise.
15626 * signal/sigblock.c: Likewise.
15627 * signal/sigignore.c: Likewise.
15628 * signal/sigintr.c: Likewise.
15629 * signal/signal.c: Likewise.
15630 * signal/sigpause.c: Likewise.
15631 * signal/sigpending.c: Likewise.
15632 * signal/sigqueue.c: Likewise.
15633 * signal/sigreturn.c: Likewise.
15634 * signal/sigset.c: Likewise.
15635 * signal/sigsetmask.c: Likewise.
15636 * signal/sigstack.c: Likewise.
15637 * signal/sigsuspend.c: Likewise.
15638 * signal/sigtimedwait.c: Likewise.
15639 * signal/sigvec.c: Likewise.
15640 * signal/sigwait.c: Likewise.
15641 * signal/sigwaitinfo.c: Likewise.
15642 * signal/sysv_signal.c: Likewise.
15643 * socket/accept.c: Likewise.
15644 * socket/accept4.c: Likewise.
15645 * socket/bind.c: Likewise.
15646 * socket/connect.c: Likewise.
15647 * socket/getpeername.c: Likewise.
15648 * socket/getsockname.c: Likewise.
15649 * socket/getsockopt.c: Likewise.
15650 * socket/isfdtype.c: Likewise.
15651 * socket/listen.c: Likewise.
15652 * socket/recv.c: Likewise.
15653 * socket/recvfrom.c: Likewise.
15654 * socket/recvmsg.c: Likewise.
15655 * socket/send.c: Likewise.
15656 * socket/sendmsg.c: Likewise.
15657 * socket/sendto.c: Likewise.
15658 * socket/setsockopt.c: Likewise.
15659 * socket/shutdown.c: Likewise.
15660 * socket/sockatmark.c: Likewise.
15661 * socket/socket.c: Likewise.
15662 * socket/socketpair.c: Likewise.
15663 * stdio-common/ctermid.c: Likewise.
15664 * stdio-common/cuserid.c: Likewise.
15665 * stdio-common/remove.c: Likewise.
15666 * stdio-common/rename.c: Likewise.
15667 * stdio-common/renameat.c: Likewise.
15668 * stdio-common/tempname.c: Likewise.
15669 * stdlib/getcontext.c: Likewise.
15670 * stdlib/makecontext.c: Likewise.
15671 * stdlib/setcontext.c: Likewise.
15672 * stdlib/swapcontext.c: Likewise.
15673 * stdlib/system.c: Likewise.
15674 * streams/fattach.c: Likewise.
15675 * streams/fdetach.c: Likewise.
15676 * streams/getmsg.c: Likewise.
15677 * streams/getpmsg.c: Likewise.
15678 * streams/putmsg.c: Likewise.
15679 * streams/putpmsg.c: Likewise.
15680 * sysdeps/unix/bsd/getpt.c: Likewise.
15681 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15682 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15683 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15685 Likewise.
15686 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15687 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15688 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15689 * sysvipc/msgctl.c: Likewise.
15690 * sysvipc/msgget.c: Likewise.
15691 * sysvipc/msgrcv.c: Likewise.
15692 * sysvipc/msgsnd.c: Likewise.
15693 * sysvipc/semctl.c: Likewise.
15694 * sysvipc/semget.c: Likewise.
15695 * sysvipc/semop.c: Likewise.
15696 * sysvipc/semtimedop.c: Likewise.
15697 * sysvipc/shmat.c: Likewise.
15698 * sysvipc/shmctl.c: Likewise.
15699 * sysvipc/shmdt.c: Likewise.
15700 * sysvipc/shmget.c: Likewise.
15701 * termios/tcdrain.c: Likewise.
15702 * termios/tcflow.c: Likewise.
15703 * termios/tcflush.c: Likewise.
15704 * termios/tcgetattr.c: Likewise.
15705 * termios/tcgetpgrp.c: Likewise.
15706 * termios/tcsendbrk.c: Likewise.
15707 * termios/tcsetattr.c: Likewise.
15708 * termios/tcsetpgrp.c: Likewise.
15709 * time/adjtime.c: Likewise.
15710 * time/clock.c: Likewise.
15711 * time/getitimer.c: Likewise.
15712 * time/gettimeofday.c: Likewise.
15713 * time/setitimer.c: Likewise.
15714 * time/settimeofday.c: Likewise.
15715 * time/stime.c: Likewise.
15716 * time/time.c: Likewise.
15717
157182012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15719
a20492cf
PT
15720 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15721 /usr/old/bin.
15722
72e182e3
PT
15723 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15724 instead of spaces.
15725 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15726
fbeafede
JM
157272012-11-03 Joseph Myers <joseph@codesourcery.com>
15728
5b5b04d6
JM
15729 [BZ #14796]
15730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15731 FE_TONEAREST before applying Dekker multiplication and Knuth
15732 addition. Clear inexact exceptions and check for exact zero
15733 results afterwards.
15734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15735 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15737 * math/libm-test.inc (fma_test): Add more tests.
15738 (fma_test_towardzero): Likewise.
15739 (fma_test_downward): Likewise.
15740 (fma_test_upward): Likewise.
15741 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15742 function.
15743 (libc_fesetround): New macro.
15744 (libc_fesetroundf): Likewise.
15745 (libc_fesetroundl): Likewise.
15746 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15747 function.
15748 (libc_fesetround_387): Likewise.
15749 (libc_fesetroundf): New macro.
15750 (libc_fesetround): Likewise.
15751 (libc_fesetroundl): Likewise.
15752 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15753 function.
15754 (libc_fesetroundf): New macro.
15755 (libc_fesetround): Likewise.
15756 (libc_fesetroundl): Likewise.
15757 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15758 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15759 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15760 libm_hidden_ver.
15761 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15762 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15763 libm_hidden_def.
15764 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15765 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15766 libm_hidden_ver.
15767 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15768 libm_hidden_def.
15769
fbeafede
JM
15770 [BZ #3439]
15771 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15772 integer constant usable in #if and use that to give value to enum
15773 constant.
15774 (FE_DIVBYZERO): Likewise.
15775 (FE_UNDERFLOW): Likewise.
15776 (FE_OVERFLOW): Likewise.
15777 (FE_INVALID): Likewise.
15778 (FE_INVALID_SNAN): Likewise.
15779 (FE_INVALID_ISI): Likewise.
15780 (FE_INVALID_IDI): Likewise.
15781 (FE_INVALID_ZDZ): Likewise.
15782 (FE_INVALID_IMZ): Likewise.
15783 (FE_INVALID_COMPARE): Likewise.
15784 (FE_INVALID_SOFTWARE): Likewise.
15785 (FE_INVALID_SQRT): Likewise.
15786 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15787 (FE_TONEAREST): Likewise.
15788 (FE_TOWARDZERO): Likewise.
15789 (FE_UPWARD): Likewise.
15790 (FE_DOWNWARD): Likewise.
15791 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15792 (FE_DIVBYZERO): Likewise.
15793 (FE_OVERFLOW): Likewise.
15794 (FE_UNDERFLOW): Likewise.
15795 (FE_INEXACT): Likewise.
15796 (FE_TONEAREST): Likewise.
15797 (FE_DOWNWARD): Likewise.
15798 (FE_UPWARD): Likewise.
15799 (FE_TOWARDZERO): Likewise.
15800 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15801 (FE_UNDERFLOW): Likewise.
15802 (FE_OVERFLOW): Likewise.
15803 (FE_DIVBYZERO): Likewise.
15804 (FE_INVALID): Likewise.
15805 (FE_TONEAREST): Likewise.
15806 (FE_TOWARDZERO): Likewise.
15807 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15808 (FE_OVERFLOW): Likewise.
15809 (FE_UNDERFLOW): Likewise.
15810 (FE_DIVBYZERO): Likewise.
15811 (FE_INEXACT): Likewise.
15812 (FE_TONEAREST): Likewise.
15813 (FE_TOWARDZERO): Likewise.
15814 (FE_UPWARD): Likewise.
15815 (FE_DOWNWARD): Likewise.
15816 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15817 (FE_DIVBYZERO): Likewise.
15818 (FE_OVERFLOW): Likewise.
15819 (FE_UNDERFLOW): Likewise.
15820 (FE_INEXACT): Likewise.
15821 (FE_TONEAREST): Likewise.
15822 (FE_DOWNWARD): Likewise.
15823 (FE_UPWARD): Likewise.
15824 (FE_TOWARDZERO): Likewise.
15825
105ca950
CM
158262012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15827
15828 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15829
a542b389
AS
158302012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15831
15832 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15833 commands. Quote $PWD.
15834 (blacklist_exports): Don't use remove_newlines. Replace "declare
15835 -x" by "export".
15836 (remove_newlines): Remove.
15837
f62c8abc
L
158382012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15839
15840 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15841 * stdlib/stdlib.h (atof): Moved to ...
15842 * include/bits/stdlib-float.h: Here. New file.
15843 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15844 * stdlib/bits/stdlib-float.h: New file.
15845 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15846 -mno-sse -mno-mmx.
15847 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15848 <xmmintrin.h>.
15849
0155d5b2
JM
158502012-11-02 Joseph Myers <joseph@codesourcery.com>
15851
a68d0680
JM
15852 * conform/conformtest.pl (@headers): Add fenv.h.
15853 * conform/data/fenv.h-data: New file.
15854 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15855 include of <math/fenv.h>.
15856
caf7f573
JM
15857 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15858 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15859 && !UNIX98]. Enables tests for XOPEN2K8.
15860 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15861 POSIX2008]: Likewise.
15862
6c073ad6
JM
15863 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15864 (struct rusage): Do not expect type or its members.
15865
0155d5b2
JM
15866 [BZ #3439]
15867 * math/math.h (FP_NAN): Define macro to integer constant usable in
15868 #if and use that to give value to enum constant.
15869 (FP_INFINITE): Likewise.
15870 (FP_ZERO): Likewise.
15871 (FP_SUBNORMAL): Likewise.
15872 (FP_NORMAL): Likewise.
15873
b5dcacb4
AS
158742012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15875
15876 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15877 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15878 arguments.
15879
f7934be8
RM
158802012-11-02 Roland McGrath <roland@hack.frob.com>
15881
15882 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15883 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15884 autoconf-time if not.
15885 * configure.in: Remove AC_PREREQ.
15886
d7d08bde
TMQMF
158872012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15888
15889 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15890 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15891 of the internal implementation.
15892
dcdae19a
JM
158932012-11-02 Joseph Myers <joseph@codesourcery.com>
15894
15895 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15896 except include of <misc/sys/syslog.h>.
15897
d6cffd3e
AS
158982012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15899
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15901 function returns with a NULL context exit with zero.
15902
b3563932
TMQMF
159032012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15904
15905 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15906
b288a93d
L
159072012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15908
15909 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15910 (run_program_cmd): This.
15911 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15912 (tst_langinfo): New variable. Use it.
15913
a2421a68
SAS
159142012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15915
15916 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15917 floating point opcodes.
15918
6f796e1b
TS
159192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15920
7402596b
TS
15921 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15922 variable.
15923
d0d4f868
TS
15924 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15925
6f796e1b
TS
15926 * sysdeps/mach/hurd/powerpc: Remove directory.
15927 * sysdeps/mach/powerpc: Likewise.
15928
4da224a2
AS
159292012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15930
15931 * scripts/check-local-headers.sh: Ignore c++ headers.
15932
341dd673
TS
159332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15934
15935 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15936 __libc_cleanup_region_start argument.
15937
473611b2
JM
159382012-11-01 Joseph Myers <joseph@codesourcery.com>
15939
15940 [BZ #14784]
15941 [BZ #14785]
15942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15943 x * y using scaling, not as x * y + z.
15944 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15945 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15946 * math/libm-test.inc (fma_test): Add more tests.
15947 (fma_test_towardzero): Likewise.
15948 (fma_test_downward): Likewise.
15949 (fma_test_upward): Likewise.
15950
4078da3d
TS
159512012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15952
15953 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15954
903252aa
JM
159552012-10-31 Joseph Myers <joseph@codesourcery.com>
15956
15957 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15958 New variable.
15959
cbc818d0
TS
159602012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15961
15962 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15963
5a03cb1e
AS
159642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15965
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15967 Fix sort order.
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15969 Likewise.
15970
90aff2ff
TMQMF
159712012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15972
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15974 Fix the order of the list for glibc 2.17.
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15976 Likewise.
15977
1818fcb7
AS
159782012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15979
15980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15981
ef82f4da
JM
159822012-10-31 Joseph Myers <joseph@codesourcery.com>
15983
16a0e2ec
JM
15984 [BZ #14610]
15985 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15986 for low part of x being zero before using __atanl (y).
15987 * math/libm-test.inc (atan2_test): Add another test.
15988
0eb69512
JM
15989 * manual/install.texi (Configuring and compiling): Document
15990 general use of test-wrapper and test-wrapper-env.
15991 * INSTALL: Regenerated.
15992
ef82f4da
JM
15993 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15994 (__fma): Do not extract and scale down low bits on after-rounding
15995 systems when result rounded to normal precision would have normal
15996 exponent.
15997 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15998 (__fmal): Do not extract and scale down low bits on after-rounding
15999 systems when result rounded to normal precision would have normal
16000 exponent.
16001 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16002 (__fmal): Do not extract and scale down low bits on after-rounding
16003 systems when result rounded to normal precision would have normal
16004 exponent.
16005 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16006 macro.
16007 (fma_test): Add more tests.
16008 (fma_test_towardzero): Likewise.
16009 (fma_test_downward): Likewise.
16010 (fma_test_upward): Likewise.
16011
954ef0d9
L
160122012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16013
16014 * sysdeps/i386/tininess.h: Renamed to ...
16015 * sysdeps/x86/tininess.h: This.
16016 * sysdeps/x86_64/tininess.h: Removed.
16017
df61ffb2
JM
160182012-10-30 Joseph Myers <joseph@codesourcery.com>
16019
16020 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16021 input. Use $(build-program-cmd).
16022 ($(objpfx)tst-array1-static.out): Likewise.
16023 ($(objpfx)tst-array2.out): Likewise.
16024 ($(objpfx)tst-array3.out): Likewise.
16025 ($(objpfx)tst-array4.out): Likewise.
16026 ($(objpfx)tst-array5.out): Likewise.
16027 ($(objpfx)tst-array5-static.out): Likewise.
16028
01767843
CM
160292012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16030
47cc1490
CM
16031 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16032 if defined.
16033
01767843
CM
16034 * nss/nsswitch.h (nss_interface_function): Provide new
16035 macro for use with NSS functions.
16036 * grp/initgroups.c: Use new macro.
16037 * nss/getXXbyYY.c: Likewise.
16038 * nss/getXXbyYY_r.c: Likewise.
16039 * nss/getXXent.c: Likewise.
16040 * nss/getXXent_r.c: Likewise.
16041 * sysdeps/posix/getaddrinfo.c: Likewise.
16042
8321aa97
AJ
160432012-10-30 Andreas Jaeger <aj@suse.de>
16044
16045 * po/ru.po: Update Russion translation from translation project.
16046
2a27fd6d
JM
160472012-10-30 Joseph Myers <joseph@codesourcery.com>
16048
8627a232
JM
16049 [BZ #14152]
16050 [BZ #14783]
16051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16052 result and shift together with sticky bit instead of replicating
16053 round-to-nearest rounding.
16054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16055 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16056 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16057 missing underflow exceptions.
16058 (fma_test_towardzero): Add more tests.
16059 (fma_test_downward): Likewise.
16060 (fma_test_upward): Likewise.
16061
2a27fd6d
JM
16062 [BZ #14047]
16063 * sysdeps/generic/tininess.h: New file.
16064 * sysdeps/i386/tininess.h: Likewise.
16065 * sysdeps/sh/tininess.h: Likewise.
16066 * sysdeps/x86_64/tininess.h: Likewise.
16067 * stdlib/tst-strtod-underflow.c: Likewise.
16068 * stdlib/tst-tininess.c: Likewise.
16069 * stdlib/strtod_l.c: Include <tininess.h>.
16070 (round_and_return): Do not set errno for exact underflow cases.
16071 Force an underflow exception when setting errno for underflow.
16072 Determine underflow based on rounding to normal precision if
16073 TININESS_AFTER_ROUNDING.
16074 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16075 ERANGE for exact underflow cases.
16076 * stdlib/Makefile (tests): Add tst-tininess and
16077 tst-strtod-underflow.
16078 ($(objpfx)tst-tininess): Use $(link-libm).
16079 ($(objpfx)tst-strtod-underflow): Likewise.
16080
e7170363
AJ
160812012-10-30 Andreas Jaeger <aj@suse.de>
16082
e5088dc6
AJ
16083 [BZ#14767]
16084 * elf/Makefile (tests): Remove conditional for have-initfini-array
16085 since this is now always required and the variable does not exist
16086 anymore.
16087 (tests-static): Likewise.
16088 (modules-names): Likewise.
16089
e7170363 16090 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16091
16092 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16093 merged with constructor/destructor.
16094 (init_array): Likewise.
16095 * elf/tst-array2dep.c (fini_array): Likewise.
16096 (init_array): Likewise.
16097
60457d8a
MF
160982012-10-29 Mike Frysinger <vapier@gentoo.org>
16099
16100 * manual/message.texi: Delete @cartouche tags.
16101
8bece752
PT
161022012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16103
94ce799f
PT
16104 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16105 EOPNOTSUPP.
16106 * sysdeps/mach/hurd/fsync.c: Likewise.
16107
8bece752
PT
16108 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16109 [_POSIX_REALTIME_SIGNALS]: Change condition to
16110 [_POSIX_REALTIME_SIGNALS > 0].
16111
86ebe6b1
AJ
161122012-10-27 Andreas Jaeger <aj@suse.de>
16113
16114 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16115 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16117 [__WORDSIZE != 64]: Likewise.
16118
54399c08
L
161192012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16120
16121 * iconvdata/tst-table.sh: Remove ${SHELL}.
16122 * iconvdata/tst-tables.sh: Likewise.
16123
e2211bed
DM
161242012-10-25 David S. Miller <davem@davemloft.net>
16125
16126 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16127 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16128 of strtoull.
16129
f303f97c
DM
16130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16131 ifunc-impl-list.c
16132 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16133 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16134 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16135 file.
16136
1e9d84cd
RM
161372012-10-25 Roland McGrath <roland@hack.frob.com>
16138
16139 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16140 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16141 __getdirentries.
16142
df381762
JM
161432012-10-25 Joseph Myers <joseph@codesourcery.com>
16144 Jim Blandy <jimb@codesourcery.com>
16145
16146 * scripts/cross-test-ssh.sh: New file.
16147 * manual/install.texi (Configuring and compiling): Document use of
16148 cross-test-ssh.sh.
16149 * INSTALL: Regenerated.
16150
bff64913
PT
161512012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16152
16153 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16154 EOPNOTSUPP.
16155
25fe8932
JM
161562012-10-25 Joseph Myers <joseph@codesourcery.com>
16157
16158 * Makeconfig (run-program-prefix): Fix comment.
16159
cc1290d0
JM
161602012-10-24 Joseph Myers <joseph@codesourcery.com>
16161 Jim Blandy <jimb@codesourcery.com>
16162
16163 * Makeconfig (test-wrapper): New variable,
16164 (test-wrapper-env): Likewise.
16165 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16166 (run-built-tests): Define to yes.
16167 (run-program-prefix): Use $(test-wrapper).
16168 (built-program-cmd): Likewise.
16169 * Rules (make-test-out): Use $(test-wrapper-env) and
16170 $(host-built-program-cmd).
16171 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16172 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16173 tst-pathopt.sh.
16174 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16175 $(test-wrapper-env) to tst-rtld-load-self.sh.
16176 ($(objpfx)order2.out): Use $(test-wrapper).
16177 ($(objpfx)tst-initorder.out): Likewise.
16178 ($(objpfx)tst-initorder2.out): Likewise.
16179 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16180 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16181 (test_wrapper_env): New variable. Use it to run ld.so.
16182 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16183 Use it to run ld.so.
16184 (test_wrapper_env): Likewise.
16185 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16186 $(test-wrapper) to run-iconv-test.sh.
16187 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16188 (ICONV): Use $test_wrapper.
16189 * posix/Makefile ($(objpfx)globtest.out): Pass
16190 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16191 globtest.sh, not $(run-program-prefix).
16192 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16193 (test_wrapper): Likewise.
16194 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16195 set together with run_via_rtld_prefix.
16196 (run_program_prefix): Define in terms of test_wrapper and
16197 run_via_rtld_prefix.
16198
6e6249d0
RM
161992012-10-24 Roland McGrath <roland@hack.frob.com>
16200
16201 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16202 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16203 Targets removed.
16204
16205 [BZ #14743]
16206 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16207 Declare __clock_getres, __clock_gettime, __clock_settime,
16208 __clock_nanosleep, and __clock_getcpuclockid.
16209 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16210 Remove librt_hidden_def (clock_gettime).
16211 * sysdeps/unix/clock_gettime.c: Likewise.
16212 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16213 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16214 * rt/clock_getres.c: Define __clock_getres as an alias.
16215 * sysdeps/posix/clock_getres.c: Likewise.
16216 * rt/clock_settime.c: Define __clock_settime as an alias.
16217 * sysdeps/unix/clock_settime.c: Likewise.
16218 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16219 * sysdeps/unix/clock_nanosleep.c: Likewise.
16220 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16221 * rt/clock-compat.c: New file.
16222 * rt/Makefile (librt-routines): Add clock-compat and move
16223 $(clock-routines) to ...
16224 (routines): ... here, new variable.
16225 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16226 Don't add get_clockfreq here.
16227 * rt/Versions (libc: GLIBC_2.17): New version set.
16228 Add clock_* symbols here.
16229 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16230 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16231 (GLIBC_2.17): Add clock_* symbols.
16232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16234 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16236 Likewise.
16237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16238 Likewise.
16239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16243 * NEWS: Mention the move.
16244
16245 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16246 Use __open, __read, __close rather than their public counterparts.
16247 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16248 (__get_clockfreq_via_cpuinfo): Likewise.
16249 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16250 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16251
16252 * config.h.in (HAVE_IFUNC): New #undef.
16253 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16254 was successful.
16255 * configure: Regenerated.
16256
0cae3f4b
MF
162572012-10-24 Mike Frysinger <vapier@gentoo.org>
16258
16259 * configure.in: Move READELF check to start of file.
16260 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16261 libc_cv_asm_gnu_indirect_function in the process.
16262 * configure: Regenerated.
16263
8175a253
MF
162642012-10-24 Mike Frysinger <vapier@gentoo.org>
16265
16266 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16267 send the output to /dev/null.
16268 (libc_cv_cc_with_libunwind): Likewise.
16269 (libc_cv_as_noexecstack): Likewise.
16270 * configure: Regenerate.
16271
0708a7d1
JM
162722012-10-24 Joseph Myers <joseph@codesourcery.com>
16273
10b40d85
JM
16274 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16275
0708a7d1
JM
16276 * posix/globtest.sh (TMPDIR): Do not set.
16277 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16278 (testout): Likewise.
16279
9fddec1a
AJ
162802012-10-24 Andreas Jaeger <aj@suse.de>
16281
3a8db22f
AJ
16282 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16283 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16284 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16285 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16286 posix_fadvise64, posix_fallocate64.
16287
9fddec1a
AJ
16288 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16289 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16290 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16291 Likewise.
16292 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16293 Likewise.
16294 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16295
16296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16297 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16298 <bits/fcntl-linux.h>.
16299 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16300
16301 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16302 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16303 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16304 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16305 [__WORDSIZE != 64]: Likewise.
16306
ebfd1bbd
JM
163072012-10-23 Joseph Myers <joseph@codesourcery.com>
16308
03ac099f
JM
16309 * Makeconfig (run-built-tests): New variable.
16310 * Rules [$(cross-compiling) = yes]: Change condition to
16311 [$(run-built-tests) = no].
16312 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16313 to [$(run-built-tests) = yes].
16314 * elf/Makefile [$(cross-compiling) = no]: Likewise
16315 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16316 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16317 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16318 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16319 * io/Makefile [$(cross-compiling) = no]: Likewise.
16320 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16321 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16322 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16323 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16324 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16325 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16326 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16327 * string/Makefile [$(cross-compiling) = no]: Likewise.
16328
ebfd1bbd
JM
16329 * posix/Makefile ($(objpfx)globtest.out): Pass
16330 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16331 $(rtld-installed-name).
16332 * posix/globtest.sh (elf_objpfx): Remove variable.
16333 (rtld_installed_name): Likewise.
16334 (library_path): Likewise.
16335 (run_program_prefix): New variable. Use for running globtest
16336 binary.
16337
166bca24
JB
163382012-10-23 Jim Blandy <jimb@codesourcery.com>
16339 Joseph Myers <joseph@codesourcery.com>
16340
16341 * Makeconfig (host-built-program-cmd): New variable.
16342 * elf/Makefile (tst-stackguard1-ARGS): Use
16343 $(host-built-program-cmd).
16344 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16345 (tst-spawn-ARGS): Likewise.
16346 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16347
88866099
JM
163482012-10-23 Joseph Myers <joseph@codesourcery.com>
16349 Jim Blandy <jimb@codesourcery.com>
16350
16351 * Makeconfig (run-via-rtld-prefix): New variable.
16352 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16353 (built-program-cmd): Likewise.
16354
b4b4c296
AJ
163552012-10-22 Andreas Jaeger <aj@suse.de>
16356
16357 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16358 __O_RSYNC if it exists, otherwise to O_SYNC.
16359
6fb54a22
JB
163602012-10-22 Jim Blandy <jimb@codesourcery.com>
16361 Joseph Myers <joseph@codesourcery.com>
16362
16363 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16364 /dev/null.
16365 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16366 from /dev/null
16367 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16368 /dev/null.
16369
481b90b9
AJ
163702012-10-22 Andreas Jaeger <aj@suse.de>
16371
2a0e2669
AJ
16372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16373 Define always.
16374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16375
76e38f9a
AJ
16376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16377 bits/fcntl-linux.h.
16378
7cd37b43
AJ
16379 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16380 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16381
481b90b9
AJ
16382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16383 to __O_LARGEFILE.
16384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16385 to __O_LARGEFILE.
16386
aba75984
JB
163872012-10-21 Jim Blandy <jimb@codesourcery.com>
16388 Joseph Myers <joseph@codesourcery.com>
16389
16390 * config.make.in (NM): New variable.
16391
88d4247f
AJ
163922012-10-21 Andreas Jaeger <aj@suse.de>
16393
16394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16395 definitions and declarations that are provided by
16396 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16397
f2eed205
L
163982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16399
16400 [BZ #14683]
16401 * elf/Makefile (tests-static): Add tst-leaks1-static.
16402 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16403 ($(objpfx)tst-leaks1-static): New rule.
16404 ($(objpfx)tst-leaks1-static-mem): Likewise.
16405 (tst-leaks1-static-ENV): New macro.
16406 * elf/dl-open.c (dl_open_worker): Check the main application
16407 only if SHARED is defined.
16408 * elf/tst-leaks1-static.c: New file.
16409
335e6931
AJ
164102012-10-20 Andreas Jaeger <aj@suse.de>
16411
16412 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16413 generic values for Linux.
16414 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16415 and declarations that are provided by <bits/fcntl-linux.h> and
16416 include <bits/fcntl-linux.h>.
16417 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16418 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16419
ac5c94d3
RM
164202012-10-20 Roland McGrath <roland@hack.frob.com>
16421
16422 * io/fcntl.h: Move include of <bits/types.h> to the top and
16423 include it unconditionally.
16424
de54b33a
L
164252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16426
228cfb01
L
16427 * wcsmbs/Makefile (tests-ifunc): New variable.
16428 (tests): Add $(tests-ifunc).
16429 * wcsmbs/test-wcschr-ifunc.c: New file.
16430 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16431 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16432 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16433 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16434 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16435
69f07e5f
L
16436 * string/Makefile (tests-ifunc): New variable.
16437 (tests): Add $(tests-ifunc).
16438 * string/test-memccpy.c (TEST_NAME): New macro.
16439 * string/test-memchr.c (TEST_NAME): Likewise.
16440 * string/test-memcmp.c (TEST_NAME): Likewise.
16441 * string/test-memcpy.c (TEST_NAME): Likewise.
16442 * string/test-memmem.c (TEST_NAME): Likewise.
16443 * string/test-memmove.c (TEST_NAME): Likewise.
16444 * string/test-memset.c (TEST_NAME): Likewise.
16445 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16446 * string/test-stpcpy.c (TEST_NAME): Likewise.
16447 * string/test-stpncpy.c (TEST_NAME): Likewise.
16448 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16449 * string/test-strcasestr.c (TEST_NAME): Likewise.
16450 * string/test-strcat.c (TEST_NAME): Likewise.
16451 * string/test-strchr.c (TEST_NAME): Likewise.
16452 * string/test-strcmp.c(TEST_NAME): Likewise.
16453 * string/test-strcpy.c (TEST_NAME): Likewise.
16454 * string/test-strcspn.c (TEST_NAME): Likewise.
16455 * string/test-strlen.c (TEST_NAME): Likewise.
16456 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16457 * string/test-strncmp.c (TEST_NAME): Likewise.
16458 * string/test-strncpy.c (TEST_NAME): Likewise.
16459 * string/test-strnlen.c (TEST_NAME): Likewise.
16460 * string/test-strpbrk.c (TEST_NAME): Likewise.
16461 * string/test-strrchr.c (TEST_NAME): Likewise.
16462 * string/test-strspn.c (TEST_NAME): Likewise.
16463 * string/test-strstr.c (TEST_NAME): Likewise.
16464 * string/test-bcopy-ifunc.c: New file.
16465 * string/test-bzero-ifunc.c: Likewise.
16466 * string/test-memccpy-ifunc.c: Likewise.
16467 * string/test-memchr-ifunc.c: Likewise.
16468 * string/test-memcmp-ifunc.c: Likewise.
16469 * string/test-memcpy-ifunc.c: Likewise.
16470 * string/test-memmem-ifunc.c: Likewise.
16471 * string/test-memmove-ifunc.c: Likewise.
16472 * string/test-mempcpy-ifunc.c: Likewise.
16473 * string/test-memset-ifunc.c: Likewise.
16474 * string/test-rawmemchr-ifunc.c: Likewise.
16475 * string/test-stpcpy-ifunc.c: Likewise.
16476 * string/test-stpncpy-ifunc.c: Likewise.
16477 * string/test-strcasecmp-ifunc.c: Likewise.
16478 * string/test-strcasestr-ifunc.c: Likewise.
16479 * string/test-strcat-ifunc.c: Likewise.
16480 * string/test-strchr-ifunc.c: Likewise.
16481 * string/test-strchrnul-ifunc.c: Likewise.
16482 * string/test-strcmp-ifunc.c: Likewise.
16483 * string/test-strcpy-ifunc.c: Likewise.
16484 * string/test-strcspn-ifunc.c: Likewise.
16485 * string/test-strlen-ifunc.c: Likewise.
16486 * string/test-strncasecmp-ifunc.c: Likewise.
16487 * string/test-strncat-ifunc.c: Likewise.
16488 * string/test-strncmp-ifunc.c: Likewise.
16489 * string/test-strncpy-ifunc.c: Likewise.
16490 * string/test-strnlen-ifunc.c: Likewise.
16491 * string/test-strpbrk-ifunc.c: Likewise.
16492 * string/test-strrchr-ifunc.c: Likewise.
16493 * string/test-strspn-ifunc.c: Likewise.
16494 * string/test-strstr-ifunc.c: Likewise.
16495
de54b33a
L
16496 * debug/Makefile (tests-ifunc): New variable.
16497 (tests): Add $(tests-ifunc).
16498 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16499 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16500 * debug/test-stpcpy_chk-ifunc.c: New file.
16501 * debug/test-strcpy_chk-ifunc.c: Likewise.
16502
88481c16
SP
165032012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16504
16505 [BZ #13601]
16506 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16507 header is not read in.
16508
135948bd
JM
165092012-10-19 Joseph Myers <joseph@codesourcery.com>
16510
89f1c388
JM
16511 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16512 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16513 directly. Pass built executable to script as
16514 $(built-program-cmd).
16515 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16516 $testprogram without using LD_LIBRARY_PATH and $ldso.
16517
e40a0d21
JM
16518 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16519 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16520 $(rtld-installed-name).
16521 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16522 (rtld_installed_name): Likewise.
16523 (library_path): Likewise.
16524 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16525 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16526 $(run-program-prefix) to tst-tables.sh.
16527 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16528 it to run tst-table-from and tst-table-to.
16529 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16530 Pass it to tst-table.sh.
16531 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16532 $(run-program-prefix) to tst-gettext.sh.
16533 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16534 tst-translit.sh.
16535 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16536 tst-gettext2.sh.
16537 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16538 to run tst-gettext.
16539 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16540 to run tst-gettext2.
16541 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16542 to run tst-translit.
16543 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16544 $(run-program-prefix) to tst-mtrace.sh.
16545 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16546 to run tst-mtrace.
16547 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16548 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16549 $(rtld-installed-name).
16550 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16551 (rtld_installed_name): Likewise.
16552 (run_program_prefix): New variable. Use it to run wordexp-test.
16553
728e272a
JM
16554 * Makeconfig (ARCH): Remove all definitions.
16555 (machine): Likewise.
16556 [ARCH]: Remove conditional code.
16557 [!objdir]: Give error.
16558 [!objdir] (objpfx): Remove.
16559 [!objdir] (common-objpfx): Likewise.
16560 [!objdir] (common-objdir): Likewise.
16561 * configure.in (config_makefile): Remove. Hardcode Makefile in
16562 AC_CONFIG_FILES call.
16563 * configure: Regenerated.
16564
d528cdcf
JM
16565 [BZ #13888]
16566 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16567 or TMPDIR.
16568 (testout): Likewise.
16569
135948bd
JM
16570 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16571 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16572 $(rtld-installed-name).
16573 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16574 (rtld_installed_name): Likwise.
16575 (runit): Remove function.
16576 (run_getconf): New variable, Use it for running getconf binary.
16577
38c78296
L
165782012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16579
16580 [BZ #14716]
16581 * string/test-memmem.c (check_result): New function.
16582 (do_one_test): Use it.
16583 (check1): New function.
16584 (test_main): Use it.
16585
d077f65f
MT
165862012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16587
16588 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16589
ced52c71
JM
165902012-10-18 Joseph Myers <joseph@codesourcery.com>
16591
16592 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16593 (_G_LSEEK64): Likewise.
16594 (_G_MMAP64): Likewise.
16595 (_G_FSTAT64): Likewise.
16596 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16597 (_G_LSEEK64): Likewise.
16598 (_G_MMAP64): Likewise.
16599 (_G_FSTAT64): Likewise.
16600 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16601 unconditional. Call __mmap64 directly.
16602 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16603 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16604 __lseek64 directly.
16605 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16606 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16607 __mmap64 directly.
16608 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16609 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16610 __lseek64 directly.
16611 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16612 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16613 __lseek64 directly.
16614 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16615 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16616 __lseek64 directly.
16617 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16618 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16619 __fxstat64 directly.
16620 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16621 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16622 unconditional.
16623 (freopen64) [!_G_OPEN64]: Remove conditional code.
16624 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16625 unconditional.
16626 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16627 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16628 unconditional.
16629 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16630 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16631 unconditional.
16632 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16633 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16634 unconditional.
16635 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16636 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16637 unconditional.
16638 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16639 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16640 unconditional.
16641 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16642 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16643 unconditional.
16644 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16645
b741de23
SP
166462012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16647
16648 [BZ #12140]
16649 * manual/memory.texi (Malloc Tunable Parameters): Add note
16650 about free list pointers overwriting some perturb bytes.
16651 Wording suggested by Roland McGrath.
16652
f9b9d9c9
JM
166532012-10-17 Joseph Myers <joseph@codesourcery.com>
16654
16655 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16656 (lgamma_test): Likewise.
16657 (tgamma_test): Likewise.
16658
172a631a
FW
166592012-10-16 Florian Weimer <fweimer@redhat.com>
16660
16661 [BZ #14700]
16662 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16663 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16664
e9f37252
MK
166652012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16666
16667 * NEWS: Mention BZ #14716.
16668 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16669 when removing AVAILABLE1_USES_J macro.
16670
d394eb74
L
166712012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16672
16673 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16674 (__bswap_64): __uint64_t for unsigned 64-bit int.
16675
ca38dc17
AS
166762012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16677
16678 * include/string.h (memmem): Declare libc hidden alias.
16679 * string/memmem.c (memmem): Define libc hidden alias.
16680 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16681 __read, __close instead of open, read, close.
16682
9a387d1f
L
166832012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16684
ac49ecaf
L
16685 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16686 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16687 global and hidden.
16688 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16689 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16690 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16691 Likewise.
16692 (__rawmemchr_sse2): Likewise.
16693 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16694 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16695 (__strchr_sse2): Likewise.
16696 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16697 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16698 (__strcasecmp_sse2): Likewise.
16699 (__strncasecmp_sse2): Likewise.
16700 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16701 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16702 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16703 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16704 (__strrchr_sse2): Likewise.
16705 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16706 ifunc-impl-list.c.
16707 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16708 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16709 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16710 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16711 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16712 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16713 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16714 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16715 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16716 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16717 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16718 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16719 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16720 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16721 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16722 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16723 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16724 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16725 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16726 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16727 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16728 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16729 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16730 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16731 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16732 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16733 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16734 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16735 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16736 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16737
b090e8ea
L
16738 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16739 global and hidden.
16740 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16741 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16742 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16743 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16744 Likewise.
16745 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16746 Likewise.
16747 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16748 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16749 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16750 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16751 ifunc-impl-list.c.
16752 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16753 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16754 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16755 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16756 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16757 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16758 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16759 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16760 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16761 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16762 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16763 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16764 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16765 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16766 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16767 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16768 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16769 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16770 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16771 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16772 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16773 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16774 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16775 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16776 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16777 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16778 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16779 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16780 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16781 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16782 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16783 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16784 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16785 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16786 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16787 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16788 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16789 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16790 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16791 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16792 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16793
11dd4af6
L
16794 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16795 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16796 * include/ifunc-impl-list.h: New file.
16797 * misc/ifunc-impl-list.c: Likewise.
16798 * misc/Makefile (routines): Add ifunc-impl-list.
16799 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16800 * string/test-string.h: Include <ifunc-impl-list.h>.
16801 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16802 impl_array): New variables.
16803 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16804 are defined.
16805 (test_init): Call __libc_ifunc_impl_list to initialize
16806 func_list if TEST_IFUNC and TEST_NAME are defined.
16807
9a387d1f
L
16808 * string/Makefile (strop-tests): Add bcopy and bzero.
16809 * string/test-bcopy.c: New file.
16810 * string/test-bzero.c: Likewise.
16811 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16812 defined.
16813 * string/test-memset.c: Support bzero test if TEST_BZERO is
16814 defined.
16815 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16816 __libc_memmove.
16817 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16818 __libc_memset.
16819 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16820 of memset.
16821
472371b9
JM
168222012-10-10 Joseph Myers <joseph@codesourcery.com>
16823
1e4a9536
JM
16824 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16825 * configure: Regenerated.
16826
d173d12e
JM
16827 * Makeconfig (+link-static-before-libc): Don't include
16828 $(link-static-libc).
16829
472371b9
JM
16830 * libio/libio.h (_IO_pos_t): Remove.
16831
89a3ad0b
AO
168322012-10-10 Alexandre Oliva <aoliva@redhat.com>
16833
16834 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16835 McGrath.
16836
e7451425
AO
168372012-10-10 Alexandre Oliva <aoliva@redhat.com>
16838
16839 * crypt/crypt-entry.c: Include fips-private.h.
16840 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16841 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16842 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16843 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16844
4ba74a35
AO
168452012-10-10 Alexandre Oliva <aoliva@redhat.com>
16846
16847 * crypt/crypt-private.h: Include stdbool.h.
16848 (_ufc_setup_salt_r): Return bool.
16849 * crypt/crypt-entry.c: Include errno.h.
16850 (__crypt_r): Return NULL with EINVAL for bad salt.
16851 * crypt/crypt_util.c (bad_for_salt): New.
16852 (_ufc_setup_salt_r): Check that salt is long enough and within
16853 the specified alphabet.
16854 * crypt/badsalttest.c: New file.
16855 * crypt/Makefile (tests): Add it.
16856 ($(objpfx)badsalttest): New.
16857
f96f1242
MK
168582012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16859
16860 * NEWS: Add entry for BZ #14602.
16861
0e8e0c1c
JM
168622012-10-09 Joseph Myers <joseph@codesourcery.com>
16863
16864 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16865 type-generic.
16866 * math/libm-test.inc: Update comment listing what functions and
16867 macros are tested.
16868 (isgreater_test): New function.
16869 (isgreaterequal_test): Likewise.
16870 (isless_test): Likewise.
16871 (islessequal_test): Likewise.
16872 (islessgreater_test): Likewise.
16873 (isunordered_test): Likewise.
16874 (main): Call the new functions.
16875
273edc5e
RM
168762012-10-09 Roland McGrath <roland@hack.frob.com>
16877
b8493de0
RM
16878 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16879 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16880 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16881 * sysdeps/i386/configure: Regenerated.
16882 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16883 * sysdeps/mach/configure: Regenerated.
16884 * sysdeps/mach/hurd/configure: Regenerated.
16885 * sysdeps/powerpc/configure: Regenerated.
16886 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16887 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16888 * sysdeps/s390/s390-32/configure: Regenerated.
16889 * sysdeps/s390/s390-64/configure: Regenerated.
16890 * sysdeps/sh/configure: Regenerated.
16891 * sysdeps/sparc/configure: Regenerated.
16892 * sysdeps/unix/sysv/linux/configure: Regenerated.
16893 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16894 * sysdeps/x86_64/configure: Regenerated.
16895
273edc5e
RM
16896 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16897 defined. Don't check if MAP is NULL.
16898
c8450f70
JM
168992012-10-09 Joseph Myers <joseph@codesourcery.com>
16900
16901 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16902 (_G_stat64): Likewise.
16903 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16904 (_G_stat64): Likewise.
16905 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16906 instead of struct _G_stat64.
16907 * libio/fileops.c (mmap_remap_check): Likewise.
16908 (decide_maybe_mmap): Likewise.
16909 (_IO_new_file_seekoff): Likewise.
16910 (_IO_file_stat): Likewise.
16911 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16912 _G_off64_t.
16913 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16914 instead of struct _G_stat64.
16915 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16916
57e605ba
MK
169172012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16918
16919 [BZ #14602]
16920 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16921 Replace with ...
16922 (CHECK_EOL): New macro.
16923 (two_way_short_needle): Check beginning of haystack for EOL. Use
16924 CHECK_EOL.
16925 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16926 Replace with CHECK_EOL.
16927 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16928 Replace with CHECK_EOL.
16929
ef1bb361
JM
169302012-10-08 Joseph Myers <joseph@codesourcery.com>
16931
16932 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16933 type-generic.
16934 * math/libm-test.inc: Update comment listing what functions and
16935 macros are tested.
16936 (finite_test): New function.
16937 (isinf_test): Likewise.
16938 (isnan_test): Likewise.
16939 (fpclassify_test): Test subnormal input.
16940 (isfinite_test): Likewise.
16941 (isnormal_test): Likewise.
16942 (main): Call the new functions.
16943
55f11534
JN
169442012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16945
16946 [BZ #14660]
16947 * Makerules (%.dynsym): Force C locale when running
16948 $(OBJDUMP) --dynamic-syms.
16949
1ab29350
AS
169502012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16951
16952 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16953 <stdint.h>.
16954
f1ecb7ef
DM
169552012-10-06 David S. Miller <davem@davemloft.net>
16956
16957 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16958 upper 32-bits of the length value in %o2 since we use branch-on-register
16959 tests which consider the entire 64-bit register.
16960
5d41d91a
L
169612012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16962
16963 * string/test-strstr.c (check2): Add a test for page boundary.
16964
3baddb72
DM
169652012-10-05 David S. Miller <davem@davemloft.net>
16966
16967 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16968 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16969 file.
16970 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16971 sysdep_routines.
16972 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16973 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16974 and bzero when HWCAP_SPARC_CRYPTO is present.
16975
9cee5585
L
169762012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16977
d7e0dab9
L
16978 [BZ #14602]
16979 * string/test-strstr.c (check2): New function.
16980 (test_main): Call check2.
16981
03759f47
L
16982 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16983 and bug-strchr1.
16984 * string/bug-strcasestr1.c (do_test): Moved to ...
16985 * string/test-strcasestr.c (check1): Here. New function.
16986 (do_one_test): Break out result checking code into ...
16987 (check_result): This. New function.
16988 (do_one_test): Call check_result.
16989 (test_main): Call check1.
16990 * string/bug-strchr1.c (do_test): Moved to ...
16991 * string/test-strchr.c (check1): Here. New function.
16992 (do_one_test): Break out result checking code into ...
16993 (check_result): This. New function.
16994 (do_one_test): Call check_result.
16995 (test_main): Call check1.
16996 * string/bug-strstr1.c (main): Moved to ...
046f153e 16997 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16998 (do_one_test): Break out result checking code into ...
16999 (check_result): This. New function.
17000 (do_one_test): Call check_result.
17001 (test_main): Call check1.
17002 * string/bug-strcasestr1.c: Removed.
17003 * string/bug-strchr1.c: Likewise.
17004 * string/bug-strstr1.c: Likewise.
17005
53cea63e
L
17006 * elf/Makefile (dl-routines): Add hwcaps.
17007 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17008 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17009 (_dl_important_hwcaps): Moved to ...
17010 * elf/dl-hwcaps.c: Here. New file.
17011 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17012
9cee5585 17013 [BZ #14557]
bb859b06
L
17014 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17015 if IS_IN_rtld isn't defined.
17016
9cee5585
L
17017 * elf/dl-support.c (_dl_sysinfo_map): New.
17018 Include "get-dynamic-info.h" and "setup-vdso.h".
17019 (_dl_non_dynamic_init): Call setup_vdso.
17020 * elf/dynamic-link.h: Don't include <assert.h>.
17021 (elf_get_dynamic_info): Moved to ...
17022 * elf/get-dynamic-info.h: Here. New file.
17023 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17024 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17025 * elf/setup-vdso.h: Here. New file.
17026 * elf/rtld.c: Include "setup-vdso.h".
17027 (dl_main): Call setup_vdso.
17028
23c31b76
JM
170292012-10-05 Joseph Myers <joseph@codesourcery.com>
17030
28234b07
JM
17031 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17032 creal in comment listing functions tested. List finite, isinf,
17033 isnan, isless, islessequal, isgreater, isgreaterequal,
17034 islessgreater, isunordered, lgamma_r and pow10 as functions and
17035 macros not tested. Mention which functions not tested are aliases
17036 for other functions. Fix typo. Note that signs of NaNs are not
17037 tested.
17038
23c31b76
JM
17039 * scripts/config.guess: Update from config.git.
17040 * scripts/config.sub: Likewise.
17041
9043e228
RM
170422012-10-04 Roland McGrath <roland@hack.frob.com>
17043
17044 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17045 * misc/madvise.c (madvise): Renamed to __madvise.
17046 Make madvise a weak alias.
17047 * include/sys/mman.h: Declare __madvise.
17048 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17049 * sysdeps/unix/syscalls.list
17050 (madvise): Make __madvise the strong name, and madvise a weak alias.
17051 * sysdeps/unix/sysv/linux/syscalls.list
17052 (madvise, mmap): Remove redundant entries.
17053 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17054 * malloc/malloc.c (mtrim): Likewise.
17055 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17056
f57f8055
RM
170572012-10-03 Roland McGrath <roland@hack.frob.com>
17058
17059 * sysdeps/mach/hurd/dl-cache.c: File removed.
17060 * config.h.in (USE_LDCONFIG): New #undef.
17061 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17062 * configure: Regenerated.
17063 * elf/Makefile (dl-routines): Add dl-cache only under
17064 [$(use-ldconfig) = yes].
17065 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17066 cache on [USE_LDCONFIG].
17067 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17068 [USE_LDCONFIG].
17069 * elf/rtld.c (dl_main): Likewise.
17070
5bb0c10a
PT
170712012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17072
17073 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17074 _SC_LEVEL4_CACHE_LINESIZE.
17075
010188c6
RM
170762012-10-03 Roland McGrath <roland@hack.frob.com>
17077
17078 * sysdeps/unix/bsd/confstr.h: File removed.
17079
b6c5ec07
AO
170802012-10-02 Alexandre Oliva <aoliva@redhat.com>
17081
17082 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17083 sys/sdt-config.h.
17084
408223d4
RM
170852012-10-02 Roland McGrath <roland@hack.frob.com>
17086
17087 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17088 Make 'mapoff' field ElfW(Off) rather than off_t.
17089
bb9510dc
DL
170902012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17091
fc997c6e
DL
17092 * nscd/Makefile: Remove nscd-cflags and all its users.
17093 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17094 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17095
bb9510dc
DL
17096 [BZ #10631]
17097 * malloc.c (malloc_printerr): Clarify error message.
17098
05699367
L
170992012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17100
17101 [BZ #14648]
17102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17103 Set bit_FMA_Usable if FMA is supported.
17104 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17105 macro.
17106 (bit_FMA4_Usable): Updated.
17107 (index_FMA_Usable): New macro.
17108 (CPUID_FMA): Likewise
17109 (HAS_FMA): Defined with bit_FMA_Usable.
17110
51367701
RM
171112012-10-01 Roland McGrath <roland@hack.frob.com>
17112
17113 * bits/types.h (__swblk_t): Type removed.
17114 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17115 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17117 (__SWBLK_T_TYPE): Likewise.
17118 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17119 (__SWBLK_T_TYPE): Likewise.
17120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17121 (__SWBLK_T_TYPE): Likewise.
17122 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17123 (__SWBLK_T_TYPE): Likewise.
17124
4d57bf63 171252012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17126 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17127
17128 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17129 (xdr_mapname): Use YPMAXMAP as maxsize.
17130 (xdr_peername): Use YPMAXPEER as maxsize.
17131 (xdr_keydat): Use YPAXRECORD as maxsize.
17132 (xdr_valdat): Use YPMAXRECORD as maxsize.
17133
93c65d43
RM
171342012-10-01 Roland McGrath <roland@hack.frob.com>
17135
497a03d6
RM
17136 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17137
93c65d43
RM
17138 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17139 * csu/init-first.c: ... here.
17140 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17141 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17142 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17143 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17144 * sysdeps/i386/init-first.c: File removed.
17145 * sysdeps/sh/init-first.c: File removed.
17146
bec749fd
JM
171472012-10-01 Joseph Myers <joseph@codesourcery.com>
17148
17149 [BZ #14645]
17150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17151 if x * y might underflow to zero and z is zero.
17152 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17153 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17154 * math/libm-test.inc (min_subnorm_value): New variable.
17155 (fma_test): Add more tests.
17156 (fma_test_towardzero): Likewise.
17157 (fma_test_downward): Likewise
17158 (fma_test_upward): Likewise.
17159 (initialize): Set min_subnorm_value.
17160
8ec5b013
JM
171612012-09-29 Joseph Myers <joseph@codesourcery.com>
17162
17163 [BZ #14638]
17164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17165 0 + 0.
17166 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17167 mode for addition resulting in exact zero.
17168 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17170 exact 0 + 0.
17171 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17172 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17173 * math/libm-test.inc (fma_test): Add more tests.
17174 (fma_test_towardzero): New function.
17175 (fma_test_downward): Likewise.
17176 (fma_test_upward): Likewise.
17177 (main): Call the new functions.
17178
b1fa802e
DM
171792012-09-28 David S. Miller <davem@davemloft.net>
17180
17181 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17182
d3b9fd9e
RM
171832012-09-28 Roland McGrath <roland@hack.frob.com>
17184
ea4d37b3
RM
17185 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17186 instead of SIGALRM.
17187
ac51c949
RM
17188 * sysdeps/gnu/_G_config.h: Moved to ...
17189 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17190 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17191 * sysdeps/generic/_G_config.h: ... here.
17192
28c195f7
RM
17193 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17194
848917f9
RM
17195 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17196
6bacf05b
RM
17197 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17198 Conditionalize target on [libnss_test1.so-version].
17199
91363dbb
RM
17200 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17201
cc87f7d8
RM
17202 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17203 (elfobjdir): Move out of conditionals.
17204
b1c608fe
RM
17205 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17206 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17207 (__nss_lookup_function): Conditionalize label remove_from_tree on
17208 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17209
1d9a6d96
DM
172102012-09-28 David S. Miller <davem@davemloft.net>
17211
17212 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17213 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17214 file.
17215 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17216 sysdep_routines.
17217 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17219 when HWCAP_SPARC_CRYPTO is present.
17220
72581615
PT
172212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17222
17223 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17224
715a900c
JL
172252012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17226
17227 [BZ #6530]
17228 * stdio-common/vfprintf.c (process_string_arg): Revert
17229 2000-07-22 change.
17230
172312011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17232
17233 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17234 for testcase.
17235 * stdio-common/tst-sprintf.c: Include <locale.h>
17236 (main): Test sprintf's handling of incomplete multibyte
17237 characters.
17238
9bac1d86
L
172392012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17240
17241 * elf/dl-runtime.c (VERSYMIDX): Removed.
17242 * elf/dl-version.c (VERSYMIDX): Likewise.
17243 * elf/do-rel.h (VERSYMIDX): Likewise.
17244 (VALIDX): Likewise.
17245 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17246 * elf/rtld.c (VALIDX): Likewise.
17247 (ADDRIDX): Likewise.
9bac1d86
L
17248 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17249 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17250 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17251 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17252 (VALIDX): Likewise.
17253 (ADDRIDX): Likewise.
9bac1d86 17254
b31606c0
PT
172552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17256
17257 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17258
11541177
JL
172592012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17260
17261 [BZ #11438]
17262 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17263 to global scope.
17264 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17265 addresses are in the same scope as 192.0.2/24.
17266 * posix/gai.conf: Document new scope table defaults.
17267
adb26fae
SP
172682012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17269
17270 [BZ #5298]
17271 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17272 for ftell. Compute offsets from write pointers instead.
17273 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17274
4573c6b0
SP
172752012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17276
17277 [BZ #14543]
17278 * libio/Makefile (tests): New test case tst-fseek.
17279 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17280 combination works in wide mode.
17281 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17282 state when the external buffer state changes.
17283
aa9bbfe6
DM
172842012-09-27 David S. Miller <davem@davemloft.net>
17285
17286 [BZ #14376]
17287 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17288 pass reloc->r_addend in as the 'high' argument to
17289 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17290
784421e7
DM
17291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17292
c39bc8b8
PT
172932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17294
17295 * rt/tst-aio2.c: Include <pthread.h>.
17296 * rt/tst-aio3.c: Likewise.
17297
1ccc2399
SE
172982012-09-27 Steve Ellcey <sellcey@mips.com>
17299
17300 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17301
31ed4153
L
173022012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17303
25f5f885
L
17304 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17305 contents on [SHARED].
31ed4153 17306
b7bfe116
MP
173072012-09-26 Marek Polacek <polacek@redhat.com>
17308
17309 [BZ #14530]
17310 [BZ #13741]
17311 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17312 for C++ and GCC <4.3 as well as for non GCC compilers.
17313
43c4edba
MT
173142012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17315
17316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17317
6a1bf82f
RM
173182012-09-25 Roland McGrath <roland@hack.frob.com>
17319
17320 * Makefile.in (all, install): Declare with .PHONY.
17321 Reported by Michael Hope <michael.hope@linaro.org>.
17322
8ad11b9a
TMQMF
173232012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17324
17325 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17326 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17327 system header.
17328 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17329 Likewise.
17330 (sydep_routines): Add the new and the internal functions.
17331 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17332 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17334 (GLIBC_2.17): Add the new function.
17335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17336 (GLIBC_2.17): Likewise.
17337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17338 (GLIBC_2.17): Likewise.
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17340 (GLIBC_2.17): Likewise.
17341 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17342
7e2fca8d
AM
173432012-09-25 Alan Modra <amodra@gmail.com>
17344
17345 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17346 Add release barrier before setting once_control to say
17347 initialisation is done. Add hints on lwarx. Use macro in
17348 place of isync.
17349 (clear_once_control): Add release barrier.
17350
b87c4b24
JM
173512012-09-25 Joseph Myers <joseph@codesourcery.com>
17352
d032e0d2
JM
17353 [BZ #13629]
17354 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17355 specially.
17356 * math/s_clog10.c (__clog10): Likewise.
17357 * math/s_clog10f.c (__clog10f): Likewise.
17358 * math/s_clog10l.c (__clog10l): Likewise.
17359 * math/s_clogf.c (__clogf): Likewise.
17360 * math/s_clogl.c (__clogl): Likewise.
17361 * math/Makefile (libm-calls): Add x2y2m1.
17362 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17363 (__x2y2m1): Likewise.
17364 (__x2y2m1l): Likewise.
17365 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17366 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17368 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17369 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17370 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17371 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17372 * sysdeps/i386/fpu/libm-test-ulps: Update.
17373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17374
b87c4b24
JM
17375 [BZ #14621]
17376 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17377 int as type of variable DEPTH.
17378 (glob): Use size_t instead of int as type of variables NEWCOUNT
17379 and OLD_PATHC.
17380
6d3bf199
LD
173812012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17382
22bf5c17
LD
17383 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17384 Add s_sincosf-sse2.
17385 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17386 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17387 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17388 macros for using routine as __sincosf_ia32.
17389 Use macro for function declaration and weak_alias.
17390 * sysdeps/i386/fpu/libm-test-ulps: Update.
17391
17392 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17394
17395 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17396 subnormal argument.
17397 * math/s_cexpf.c (__cexpf): Likewise.
17398 * math/s_csinf.c (__csinf): Likewise.
17399 * math/s_csinhf.c (__csinhf): Likewise.
17400 * math/s_ctanf.c (__ctanf): Likewise.
17401 * math/s_ctanhf.c (__ctanhf): Likewise.
17402 * math/s_ccosh.c (__ccoshf): Likewise.
17403 * math/s_cexp.c (__cexpl): Likewise.
17404 * math/s_csin.c (__csin): Likewise.
17405 * math/s_csinh.c (__csinh): Likewise.
17406 * math/s_ctan.c (__ctan): Likewise.
17407 * math/s_ctanh.c (ctanh): Likewise.
17408 * math/s_ccoshl.c (__ccoshl): Likewise.
17409 * math/s_cexpl.c (__cexpl): Likewise.
17410 * math/s_csinl.c (__csinl): Likewise.
17411 * math/s_csinhl.c (__csinhl): Likewise.
17412 * math/s_ctanl.c (__ctanl): Likewise.
17413 * math/s_ctanhl.c (__ctanhl): Likewise.
17414
203e5603
JM
174152012-09-25 Joseph Myers <joseph@codesourcery.com>
17416
17417 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17418 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17419 (_IO_off_t): Define to __off_t, not _G_off_t.
17420 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17421 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17422 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17423 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17424 type of __dummy and __dummy2 fields.
17425 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17426 (_G_ssize_t): Likewise.
17427 (_G_off_t): Likewise.
17428 (_G_pid_t): Likewise.
17429 (_G_uid_t): Likewise.
17430 (_G_wchar_t): Likewise.
17431 (_G_wint_t): Likewise.
17432 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17433 (_G_ssize_t): Likewise.
17434 (_G_off_t): Likewise.
17435 (_G_pid_t): Likewise.
17436 (_G_uid_t): Likewise.
17437 (_G_wchar_t): Likewise.
17438 (_G_wint_t): Likewise.
17439 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17440 (_G_ssize_t): Likewise.
17441 (_G_off_t): Likewise.
17442 (_G_pid_t): Likewise.
17443 (_G_uid_t): Likewise.
17444 (_G_wchar_t): Likewise.
17445 (_G_wint_t): Likewise.
17446
9fab36eb
SP
174472012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17448
17449 * malloc/arena.c: Include malloc-sysdep.h.
17450 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17451 is sufficient to shrink the heap or an unmap is needed.
17452 * sysdeps/generic/malloc-sysdep.h: New file. Define
17453 new function check_may_shrink_heap.
17454 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17455 new function check_may_shrink_heap.
17456
2b4f00d1
SP
174572012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17458
17459 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17460 comments.
17461
9a9028b1
DL
174622012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17463
57c69bef
DL
17464 * catgets/test-gencat.sh: Add "set -e".
17465 * elf/tst-pathopt.sh: Likewise.
17466 * grp/tst_fgetgrent.sh: Likewise.
17467 * iconvdata/run-iconv-test.sh: Likewise.
17468 * intl/tst-gettext.sh: Likewise.
17469 * intl/tst-gettext2.sh: Likewise.
17470 * intl/tst-gettext4.sh: Likewise.
17471 * intl/tst-gettext6.sh: Likewise.
17472 * intl/tst-translit.sh: Likewise.
17473 * io/ftwtest-sh: Likewise.
17474 * libio/test-freopen.sh: Likewise.
17475 * malloc/tst-mtrace.sh: Likewise.
17476 * posix/globtest.sh: Likewise.
17477 * posix/tst-getconf.sh: Likewise.
17478 * posix/wordexp-tst.sh: Likewise.
17479 * stdio-common/tst-printf.sh: Likewise.
17480 * stdio-common/tst-unbputc.sh: Likewise.
17481 * stdlib/tst-fmtmsg.sh: Likewise.
17482 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17483 * catgets/Makefile: Do not specify -e option when running
17484 testsuite shell scripts.
17485 * elf/Makefile: Likewise.
17486 * grp/Makefile: Likewise.
17487 * iconvdata/Makefile: Likewise.
17488 * intl/Makefile: Likewise.
17489 * io/Makefile: Likewise.
17490 * libio/Makefile: Likewise.
17491 * malloc/Makefile: Likewise.
17492 * posix/Makefile: Likewise.
17493 * stdio-common/Makefile: Likewise.
17494 * stdlib/Makefile: Likewise.
17495 * sysdeps/x86_64/Makefile: Likewise.
17496
9a9028b1
DL
17497 * io/ftwtest-sh: Add copyright header.
17498 * posix/globtest.sh: Likewise.
17499 * posix/tst-getconf.sh: Likewise.
17500 * posix/wordexp-tst.sh: Likewise.
17501 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17502
ced6f16e
L
175032012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17504
94b32c39
L
17505 [BZ #13679]
17506 * Makeconfig (+link): Defined as $(+link-static) if
17507 $(build-shared) isn't yes.
17508 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17509 isn't yes.
17510 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17511
189e935b
L
17512 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17513
ced6f16e
L
17514 [BZ #14562]
17515 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17516 new chunk size with MALLOC_ALIGN_MASK.
17517
a9f8e53a
JM
175182012-09-24 Joseph Myers <joseph@codesourcery.com>
17519
17520 [BZ #5044]
17521 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17522 <rounding-mode.h>.
17523 (__printf_fphex): Determine rounding using get_rounding_mode and
17524 round_away.
17525 * stdio-common/tst-printf-round.c (struct hex_test): New
17526 structure.
17527 (hex_tests): New variable.
17528 (test_hex_in_one_mode): New function.
17529 (do_test): Also run tests for hex float output.
17530
43153109
JM
175312012-09-21 Joseph Myers <joseph@codesourcery.com>
17532
17533 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17534 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17535 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17536 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17537 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17538 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17539 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17540 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17541
8a26625d
JM
175422012-09-20 Joseph Myers <joseph@codesourcery.com>
17543
17544 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17545 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17546 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17547 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17548
f3fd569c
DL
175492012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17550
17551 [BZ #14579]
17552 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17553 mode only.
17554 * elf/tst-rtld-load-self.sh: New test.
17555 * elf/Makefile: Run it.
17556
63bbedd4
JM
175572012-09-18 Joseph Myers <joseph@codesourcery.com>
17558
17559 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17560 (tst-writev-ENV): Remove.
17561 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17562
626f8b6a
CM
175632012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17564
17565 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17566
b7aaa4d6
JM
175672012-09-17 Joseph Myers <joseph@codesourcery.com>
17568
17569 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17570 unconditional.
17571 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17572 Likewise.
17573 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17574 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17575 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17576 Likewise.
17577
65513990
L
175782012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17579
17580 [BZ #14587]
17581 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17582 * config.make.in (have-cpp-asm-debuginfo): Removed.
17583 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17584 * configure: Regenerated.
17585
784761be
JM
175862012-09-14 Joseph Myers <joseph@codesourcery.com>
17587
17588 [BZ #5044]
17589 * stdio-common/printf_fp.c: Include <stdbool.h> and
17590 <rounding-mode.h>.
17591 (___printf_fp): Determine rounding using get_rounding_mode and
17592 round_away.
17593 * stdio-common/tst-printf-round.c: New file.
17594 * stdio-common/Makefile (tests): Add tst-printf-round.
17595 (link-libm): New variable.
17596 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17597
9503345f
L
175982012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17599
17600 [BZ #14576]
17601 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17602 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17603 Likewise.
17604 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17605 Likewise.
17606
ad35fc00
JM
176072012-09-13 Joseph Myers <joseph@codesourcery.com>
17608
17609 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17610 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17611 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17612 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17613
6c9b0f68
JM
176142012-09-12 Joseph Myers <joseph@codesourcery.com>
17615
17616 [BZ #14518]
17617 * include/rounding-mode.h: New file.
17618 * sysdeps/generic/get-rounding-mode.h: Likewise.
17619 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17620 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17621 (MAX_VALUE): New macro.
17622 (MIN_VALUE): Likewise.
17623 (overflow_value): New function.
17624 (underflow_value): Likewise.
17625 (round_and_return): Use overflow_value and underflow_value to
17626 determine return values in overflow and underflow cases. Use
17627 round_away to determine rounding depending on rounding mode.
17628 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17629 determine return values in overflow and underflow cases.
17630 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17631 (struct test_results): New structure.
17632 (struct test): Use struct test_results to store expected results
17633 for all rounding modes.
17634 (TEST): Include expected results for all rounding modes.
17635 (test_in_one_mode): New function.
17636 (do_test): Use test_in_one_mode to compute and check results.
17637 Check results for all rounding modes.
17638 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17639 $(link-libm).
17640
19fcedd5
AM
176412012-12-09 Allan McRae <allan@archlinux.org>
17642
1e9d84cd 17643 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17644
8bbfd2f1
JM
176452012-09-11 Joseph Myers <joseph@codesourcery.com>
17646
17647 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17648 (_G_int32_t): Likewise.
17649 (_G_uint16_t): Likewise.
17650 (_G_uint32_t): Likewise.
17651 (_G_HAVE_BOOL): Likewise.
17652 (_G_HAVE_ATEXIT): Likewise.
17653 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17654 (_G_HAVE_IO_FILE_OPEN): Likewise.
17655 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17656 (_G_int32_t): Likewise.
17657 (_G_uint16_t): Likewise.
17658 (_G_uint32_t): Likewise.
17659 (_G_HAVE_BOOL): Likewise.
17660 (_G_HAVE_ATEXIT): Likewise.
17661 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17662 (_G_HAVE_IO_FILE_OPEN): Likewise.
17663 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17664 (_G_int32_t): Likewise.
17665 (_G_uint16_t): Likewise.
17666 (_G_uint32_t): Likewise.
17667 (_G_HAVE_BOOL): Likewise.
17668 (_G_HAVE_ATEXIT): Likewise.
17669 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17670 (_G_HAVE_IO_FILE_OPEN): Likewise.
17671
b1dc5912
L
176722012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17673
17674 * csu/libc-tls.c: Update copyright years.
17675
0e886ef9
JM
176762012-09-10 Joseph Myers <joseph@codesourcery.com>
17677
28361c5e
JM
17678 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17679 [!_G_USING_THUNKS]: Remove conditional code.
17680 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17681 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17682
0e886ef9
JM
17683 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17684 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17685 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17686 (_G_VTABLE_LABEL_PREFIX): Likewise.
17687 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17688 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17689 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17690 (_G_VTABLE_LABEL_PREFIX): Likewise.
17691 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17692 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17693 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17694 (_G_VTABLE_LABEL_PREFIX): Likewise.
17695 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17696
bcba7aa2
L
176972012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17698
17699 * libio/Makefile: Include ../Makeconfig before tests.
17700 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17701 only if $(build-shared) is yes.
17702
06585ee8
L
17703 * iconv/gconv_db.c: Update copyright years.
17704
80ccd52c
LD
177052012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17706
17707 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17708 unwind info if defined PIC. Fix special cases description.
17709 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17710
17711 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17712 DP_HI_MASK entry.
17713 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17714
691bc9c1
L
177152012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17716
3d9b46b3
L
17717 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17718
de2139a9
L
17719 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17720 is NULL.
17721
5ca78dd0
L
17722 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17723 (LDLIBS-tst-chk4): This.
17724 (LDFLAGS-tst-chk5): Renamed to ...
17725 (LDLIBS-tst-chk5): This.
17726 (LDFLAGS-tst-chk6): Renamed to ...
17727 (LDLIBS-tst-chk6): This.
17728 (LDFLAGS-tst-lfschk4): Renamed to ...
17729 (LDLIBS-tst-lfschk4): This.
17730 (LDFLAGS-tst-lfschk5): Renamed to ...
17731 (LDLIBS-tst-lfschk5): This.
17732 (LDFLAGS-tst-lfschk6): Renamed to ...
17733 (LDLIBS-tst-lfschk6): This.
17734
691bc9c1
L
17735 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17736 on $(common-objpfx)soversions.mk.
17737
65cafb1c
JM
177382012-09-07 Joseph Myers <joseph@codesourcery.com>
17739
17740 [BZ #10014]
17741 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17742 example host name.
17743
c78ab094
SP
177442012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17745
17746 * malloc/arena.c (arena_get_retry): New function that gets
17747 another arena for the caller to try its request on.
17748 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17749 current arena cannot fulfill the request.
17750 (__libc_memalign): Likewise.
17751 (__libc_memalign): Likewise.
17752 (__libc_pvalloc): Likewise.
17753 (__libc_calloc): Likewise.
17754
01f49f59
JT
177552012-09-05 John Tobey <john.tobey@gmail.com>
17756
17757 [BZ #13542]
17758 * manual/arith.texi (Operations on Complex): Fix description
17759 of carg branch cut.
17760
4c23fed5
JM
177612012-09-06 Joseph Myers <joseph@codesourcery.com>
17762
1d3c8572
JM
17763 [BZ #10014]
17764 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17765 host name.
17766
4c23fed5
JM
17767 [BZ #10038]
17768 * manual/memory.texi (Memory): Make order of menu items match
17769 order of sections.
17770
04570aaa
L
177712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17772
17773 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17774 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17775 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17776
b80af2f4
L
177772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17778
17779 * csu/libc-tls.c (static_dtv): Renamed to ...
17780 (_dl_static_dtv): This. Make it global.
17781 (_dl_initial_dtv): Removed.
17782 (__libc_setup_tls): Updated.
17783 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17784 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17785 DL_INITIAL_DTV.
17786
2abe9f15
PM
177872012-09-06 Petr Machata <pmachata@redhat.com>
17788
17789 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17790 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17791 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17792 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17793
0948c3af
L
177942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17795
17796 [BZ #14545]
17797 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17798 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17799 freeing dtv[-1].
17800
a5055ad1
L
178012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17802
17803 [BZ #14544]
17804 * Makeconfig (link-static-before-libc): Replace $(+prector)
17805 with $(+prectorT).
17806 (link-static-after-libc): Replace $(+postctor) with
17807 $(+postctorT).
17808 (link-bounded): Replace $(+prector)/$(+postctor) with
17809 $(+prectorT)/$(+postctorT).
17810 (+prectorT): New macro.
17811 (+postctorT): Likewise.
17812
ed8c2ecd
JM
178132012-09-06 Joseph Myers <joseph@codesourcery.com>
17814
17815 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17816 (round_str): Handle values above the maximum for IBM long double
17817 as inexact.
17818 * stdlib/tst-strtod-round.c (tests): Regenerated.
17819
14c996c8
AK
178202012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17821
17822 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17823 assembler flag.
17824 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17825 zarch_nohighgprs around the zarch optimized routines.
17826 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17827 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17828 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17829 for zarch.
17830
430d6ce6
DM
178312012-09-05 David S. Miller <davem@davemloft.net>
17832
17833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17834
ff04dda4
DM
17835 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17836 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17837 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17838 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17839 entries.
17840
24d4e01b
AO
178412012-09-05 Alexandre Oliva <aoliva@redhat.com>
17842
17843 * malloc/arena.c: Fold copyright years.
17844 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17845
61d58174
AO
178462012-09-05 Alexandre Oliva <aoliva@redhat.com>
17847
17848 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17849
20196a5e
AO
178502012-09-05 Alexandre Oliva <aoliva@redhat.com>
17851
17852 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17853
5c447383
AO
178542012-09-05 Alexandre Oliva <aoliva@redhat.com>
17855
17856 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17857 change internal state upon failure.
17858
fad64255
AO
178592012-09-05 Alexandre Oliva <aoliva@redhat.com>
17860
17861 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17862 * malloc/memusage.c (mmap): Likewise.
17863 (mmap64, mremap): Likewise. Adjust name in comment.
17864
1ffb8c90
SP
178652012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17866
17867 * libio/fileops.c: Fix typos in comments.
17868 * libio/oldfileops.c: Likewise.
17869 * libio/wfileops.c: Likewise.
17870
6ef9cc37
SP
178712012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17872
17873 [BZ #1349]
17874 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17875 (tst-malloc-usable-ENV): Set environment for test case.
17876 * malloc/hooks.c (malloc_check_get_size): New function to get
17877 requested size.
17878 * malloc/malloc.c (musable): Use malloc_check_get_size.
17879 * malloc/tst-malloc-usable.c: New test case.
17880
4d038ae3
AS
178812012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17882
17883 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17884
c4e85184
AM
178852012-09-05 Allan McRae <allan@archlinux.org>
17886
b9dafc56 17887 [BZ #13966]
c4e85184
AM
17888 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17889 determine header location.
17890 * configure: Regenerated.
17891
e1343020
AS
178922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17893
17894 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17895 float format.
17896 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17897 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17898 format.
e1343020
AS
17899 (test): Regenerate.
17900
0a9f1987
DM
179012012-09-04 David S. Miller <davem@davemloft.net>
17902
17903 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17904 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17905 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17906
29237804
FW
179072012-09-04 Florian Weimer <fweimer@redhat.com>
17908
17909 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17910 failures.
17911
edb3cb88
FW
17912 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17913
60160d83
JM
179142012-09-04 Joseph Myers <joseph@codesourcery.com>
17915
17916 [BZ #9914]
17917 * libio/iogetdelim.c: Include <limits.h>.
17918 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17919 + len + 1 would overflow.
17920
bcd6c8dc
AJ
179212012-09-03 Andreas Jaeger <aj@suse.de>
17922
17923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17924 * sysdeps/i386/fpu/libm-test-ulps: Update.
17925
4ffffbd2
LD
179262012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17927
17928 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17929 Add s_sinf-sse2, s_conf-sse2.
17930
17931 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17932 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17933 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17934 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17935
17936 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17937 for using routine as __sinf_ia32.
17938 Use macro for function declaration and weak_alias.
17939 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17940 for using routine as __cosf_ia32.
17941 Use macro for function declaration and weak_alias.
17942
17943 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17944 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17945
17946 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17947 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17949
17950 * math/libm-test.inc (cos_test): Add more test cases.
17951 (sin_test): Likewise.
17952 (sincos_test): Likewise.
17953
511fa286
AK
179542012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17955
17956 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17957 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17958 hidden.
17959 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17960
5f30cfec
L
179612012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17962
17963 [BZ #14538]
17964 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17965 first element of the GOT.
17966 (elf_machine_load_address): Return the difference between
17967 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17968
0786794f
AM
179692012-09-01 Allan McRae <allan@archlinux.org>
17970
5f30cfec
L
17971 [BZ #13412]
17972 * configure.in (AWK): Require gawk version 3.0 or later.
17973 * configure: Regenerated.
0786794f 17974
26889eac
JM
179752012-09-01 Joseph Myers <joseph@codesourcery.com>
17976
17977 * sysdeps/unix/sysv/linux/kernel-features.h
17978 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17979 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17980 [__NR_clock_getres]: Make code unconditional.
17981 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17982 (clock_getcpuclockid): Remove code left unreachable by removal of
17983 conditionals.
17984 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17985 code unconditional.
17986 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17987 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17988 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17989 Make code unconditional.
17990 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17991 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17992 * sysdeps/unix/sysv/linux/clock_settime.c
17993 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17994 conditional code.
17995 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17996 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17997
d22e28b0
L
179982012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17999
18000 [BZ #14476]
18001 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18002 scripts/test-installation.pl.
18003
18004 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18005 and $ld_so_version if it is set.
18006
050af9c4
SP
180072012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18008
18009 [BZ #14516]
18010 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18011 failure if reading from procfs failed.
18012 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18013
ad845c0b
JM
180142012-08-27 Joseph Myers <joseph@codesourcery.com>
18015
18016 * sysdeps/unix/sysv/linux/kernel-features.h
18017 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18018 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18019 Remove conditional code.
18020 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18021 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18022 Remove conditional code.
18023 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18024 * sysdeps/unix/sysv/linux/i386/fxstat.c
18025 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18026 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18027 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18028 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18029 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18030 * sysdeps/unix/sysv/linux/i386/lxstat.c
18031 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18032 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18033 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18034 Remove conditional code.
18035 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18036 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18037 Remove conditional code.
18038 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18039 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18040 <kernel-features.h>.
18041 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18042 Remove.
18043 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18044 Remove conditional code.
18045 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18046 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18047 Remove conditional.
18048
5dbf56af
MF
180492012-08-27 Mike Frysinger <vapier@gentoo.org>
18050
18051 [BZ #5400]
18052 * NEWS: Add fixed bug number.
18053
d6e70f43
JM
180542012-08-27 Joseph Myers <joseph@codesourcery.com>
18055
7efb4737
JM
18056 [BZ #14519]
18057 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18058 underflowing exponent in case of negative sign.
18059 * stdlib/tst-strtod-round-data: Add more tests.
18060 * stdlib/tst-strtod-round.c (tests): Regenerated.
18061
af92131a
JM
18062 [BZ #3479]
18063 * stdlib/strtod_l.c (NDIG): Remove.
18064 (HEXNDIG): Likewise.
18065 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18066 smallest representable value.
18067 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18068 lie within an exact representation of 1/2 ulp of the result.
18069 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18070 unconditionally.
18071 (TENS_P9_IDX): Define unconditionally.
18072 (TENS_P9_SIZE): Likewise.
18073 (TENS_P10_IDX): Likewise.
18074 (TENS_P10_SIZE): Likewise.
18075 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18076 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18077 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18078 entries for 10^2^13 and 10^2^14.
18079 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18080 (TENS_P13_IDX): Define.
18081 (TENS_P13_SIZE): Likewise.
18082 (TENS_P14_IDX): Likewise.
18083 (TENS_P14_SIZE): Likewise.
18084 (_fpioconst_pow10): Change array size to
18085 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18086 unconditional.
18087 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18088 1024]: Add entries for 10^2^13 and 10^2^14.
18089 [LAST_POW10 > _LAST_POW10]: Remove #error.
18090 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18091 (_fpioconst_pow10): Change array size to
18092 FPIOCONST_POW10_ARRAY_SIZE.
18093 * stdlib/gen-fpioconst.c: New file.
18094 * stdlib/gen-tst-strtod-round.c: Likewise.
18095 * stdlib/tst-strtod-round-data: Likewise.
18096 * stdlib/tst-strtod-round.c: Likewise.
18097 * stdlib/Makefile (tests): Add tst-strtod-round.
18098
d6e70f43
JM
18099 [BZ #14459]
18100 * stdlib/strtod_l.c: Include <stdint.h>.
18101 (NDEBUG): Do not define.
18102 (round_and_return): Change EXPONENT parameter to type intmax_t.
18103 Rearrange calculations to avoid internal overflow possibilities.
18104 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18105 Rearrange calculations to avoid internal overflow possibilities.
18106 Assert that number fits inside MPNSIZE limbs.
18107 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18108 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18109 calculations and add assertions to avoid internal overflow
18110 possibilities. Add casts to avoid signed/unsigned operations.
18111 * stdlib/tst-strtod-overflow.c: New file.
18112 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18113
1f529f7d
MP
181142012-08-25 Marek Polacek <polacek@redhat.com>
18115
18116 * time/time.h: Fix some typos in comments.
18117
59a629f1
RM
181182012-08-23 Roland McGrath <roland@hack.frob.com>
18119
18120 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18121 * posix/tst-rfc3484-2.c: Likewise.
18122 * posix/tst-rfc3484-3.c: Likewise.
18123
d3bafbc9
SM
181242012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18125
18126 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18127 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18128
4efcc022
JM
181292012-08-23 Joseph Myers <joseph@codesourcery.com>
18130
18131 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18132 #include of fxstatat64.c.
18133
3cc3ef96
RM
181342012-08-22 Roland McGrath <roland@hack.frob.com>
18135
f04e2132
RM
18136 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18137 * shadow/getspent_r.c: Likewise.
18138 * shadow/getspnam.c: Likewise.
18139 * shadow/getspnam_r.c: Likewise.
18140 * gshadow/getsgent.c: Likewise.
18141 * gshadow/getsgent_r.c: Likewise.
18142 * gshadow/getsgnam.c: Likewise.
18143 * gshadow/getsgnam_r.c: Likewise.
18144 * inet/getnetbyad.c: Likewise.
18145 * inet/getnetbyad_r.c: Likewise.
18146 * inet/getnetbynm.c: Likewise.
18147 * inet/getnetbynm_r.c: Likewise.
18148 * inet/getnetent.c: Likewise.
18149 * inet/getnetent_r.c: Likewise.
18150 * inet/getproto.c: Likewise.
18151 * inet/getproto_r.c: Likewise.
18152 * inet/getprtent.c: Likewise.
18153 * inet/getprtent_r.c: Likewise.
18154 * inet/getprtname.c: Likewise.
18155 * inet/getprtname_r.c: Likewise.
18156 * inet/getrpcbyname.c: Likewise.
18157 * inet/getrpcbyname_r.c: Likewise.
18158 * inet/getrpcbynumber.c: Likewise.
18159 * inet/getrpcbynumber_r.c: Likewise.
18160 * inet/getrpcent.c: Likewise.
18161 * inet/getrpcent_r.c: Likewise.
18162 * inet/getaliasent.c: Likewise.
18163 * inet/getaliasent_r.c: Likewise.
18164 * inet/getaliasname.c: Likewise.
18165 * inet/getaliasname_r.c: Likewise.
18166 * nscd/getgrgid_r.c: Likewise.
18167 * nscd/getgrnam_r.c: Likewise.
18168 * nscd/gethstbyad_r.c: Likewise.
18169 * nscd/gethstbynm3_r.c: Likewise.
18170 * nscd/getpwnam_r.c: Likewise.
18171 * nscd/getpwuid_r.c: Likewise.
18172 * nscd/getsrvbynm_r.c: Likewise.
18173 * nscd/getsrvbypt_r.c: Likewise.
18174 * nscd/gai.c: Likewise.
18175
c53d909c
RM
18176 * configure.in (build_nscd): New substituted variable, set
18177 by --disable-build-nscd and defaults to $use_nscd.
18178 * configure: Regenerated.
18179 * config.make.in (build-nscd): New substituted variable.
18180 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18181 Change conditional to require [$(build-nscd) = yes] as well.
18182 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18183
3cc3ef96
RM
18184 [BZ# 13696]
18185 * configure.in (use_nscd): New substituted variable, set by
18186 --disable-nscd. If enabled, define USE_NSCD.
18187 * configure: Regenerated.
18188 * config.h.in: Add USE_NSCD.
18189 * config.make.in (use-nscd): New substituted variable.
18190 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18191 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18192 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18193 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18194 (CFLAGS-getgrnam_r.c): Likewise.
18195 (CFLAGS-initgroups.c): Likewise.
18196 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18197 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18198 Variables removed.
18199 * inet/getnetgrent_r.c
18200 (nscd_setnetgrent): New function, broken out of ...
18201 (setnetgrent): ... here. Call it.
18202 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18203 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18204 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18205 * nscd/Makefile (routines, aux): Move definitions after include of
18206 Makeconfig. Conditionalize on [$(use-nscd) != no].
18207 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18208 Conditionalize on [USE_NSCD].
18209 (is_nscd, nscd_init_cb): Likewise.
18210 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18211 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18212 * nss/nss_db/db-init.c: Likewise.
18213 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18214 [USE_NSCD].
18215 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18216 (make_request): Use it.
18217 (cache_valid_p): New function.
18218 (__check_pf): Use it.
18219 * NEWS: Add item for --disable-nscd.
18220
07e51550
DL
182212012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18222
18223 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18224 to support sed >= 4.2.1-20-ga9bf076.
18225 * configure: Regenerated.
18226
35a5b08b
RM
182272012-08-22 Roland McGrath <roland@hack.frob.com>
18228
18229 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18230 Conditionalize whole body on [IREL].
18231
8479f23a
JL
182322012-08-22 Jeff Law <law@redhat.com>
18233
18234 [BZ #14505]
18235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18236 if the family is PF_UNSPEC.
18237
48da0b21
MF
182382012-08-22 Mike Frysinger <vapier@gentoo.org>
18239
18240 * Makerules (lib-version): Rename from V.
18241 (install-lib-nosubdir): Change V to lib-version.
18242
15d0da8c
WS
182432012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18244
18245 [BZ #14252]
18246 * powerpc32/power6/wcschr.c: New file.
18247 * powerpc32/power6/wcscpy.c: New file.
18248 * powerpc32/power6/wcsrchr.c: New file.
18249 * powerpc64/power6/wcschr.c: New file.
18250 * powerpc64/power6/wcscpy.c: New file.
18251 * powerpc64/power6/wcsrchr.c: New file.
18252
bcca0895
MK
182532012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18254
18255 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18256 (two_way_short_needle): Use it.
5a4aaa33
RM
18257 * string/strstr.c (AVAILABLE1_USES_J): Define.
18258 * string/strcasestr.c: Likewise.
99677e57
MK
18259
18260 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18261 array references.
18262 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18263
400726de
MK
18264 [BZ #11607]
18265 * NEWS: Add an entry.
18266 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18267 define their defaults.
18268 (two_way_short_needle): Detect end-of-string on-the-fly.
18269 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18270 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18271 * string/bug-strcasestr1.c: New test.
18272 * string/Makefile: Run it.
18273
20a71f2c
MK
182742012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18275
18276 [BZ #11607]
18277 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18278 the first character.
18279
21ad0558
RM
182802012-08-21 Roland McGrath <roland@hack.frob.com>
18281
18282 * csu/elf-init.c (__libc_csu_irel): Function removed.
18283 * csu/libc-start.c (apply_irel): New function.
18284 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18285
0e1d9911
JM
182862012-08-21 Joseph Myers <joseph@codesourcery.com>
18287
18288 * sysdeps/unix/sysv/linux/kernel-features.h
18289 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18290 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18291 <kernel-features.h>.
18292 [__NR_fadvise64_64]: Make code unconditional.
18293 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18294 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18295 !__NR_fadvise64_64)]: Likewise.
18296 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18297 !__NR_fadvise64_64))]: Likewise.
18298 [__NR_fadvise64]: Make code unconditional.
18299 [!__NR_fadvise64]: Remove conditional code.
18300 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18301 <kernel-features.h>.
18302 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18303 unconditional.
18304 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18305 conditional code.
18306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18307 not include <kernel-features.h>.
18308 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18309 unconditional.
18310 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18311 conditional code.
18312 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18313 include <kernel-features.h>.
18314 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18315 unconditional.
18316 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18317 conditional code.
18318
14a50c9d
WS
183192012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18320
18321 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18322 slight instruction rearrangements per scrollpipe analysis.
18323 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18324
c0f4faf0
RM
183252012-08-20 Roland McGrath <roland@hack.frob.com>
18326
696da859
RM
18327 * manual/syslog.texi (syslog; vsyslog, closelog):
18328 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18329 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18330
c0f4faf0
RM
18331 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18332 DSOCAPS to match condition on defining it.
18333
348363b2
JM
183342012-08-20 Joseph Myers <joseph@codesourcery.com>
18335
a35cbf28
JM
18336 * sysdeps/unix/sysv/linux/kernel-features.h
18337 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18339 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18340 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18342 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18343 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18345 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18346 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18347
445f7ecd
JM
18348 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18349 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18350
348363b2
JM
18351 * sysdeps/unix/sysv/linux/kernel-features.h
18352 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18353 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18354 unconditional.
18355 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18356 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18357 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18358 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18359 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18360 Make code unconditional.
18361 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18362 (__mmap64) [!__NR_mmap2]: Likewise.
18363 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18364 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18365 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18366 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18367 [__NR_mmap2]: Make code unconditional.
18368 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18369 (__mmap64) [!__NR_mmap2]: Likewise.
18370
bc5bc0e5
AK
183712012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18372
18373 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18374
88d506de
AJ
183752012-08-18 Andreas Jaeger <aj@suse.de>
18376
18377 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18378
493387d2
MF
183792012-08-18 Mike Frysinger <vapier@gentoo.org>
18380
18381 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18382 * include/unistd.h (__have_sock_cloexec): Likewise.
18383 (__have_pipe2): Likewise.
18384 (__have_dup3): Likewise.
18385
a277af22
MF
183862012-08-18 Mike Frysinger <vapier@gentoo.org>
18387
18388 [BZ #9685]
18389 * include/unistd.h (__have_pipe2): Change define into an extern int.
18390 (__have_dup3): Likewise.
18391 * socket/have_sock_cloexec.c: Include fcntl.h.
18392 (__have_pipe2): New variable.
18393 (__have_dup3): Likewise.
18394
fdab8fd3
MF
183952012-08-17 Mike Frysinger <vapier@gentoo.org>
18396
18397 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18398
31035e80
MP
183992012-08-17 Marek Polacek <polacek@redhat.com>
18400
18401 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18402 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18403
3bd9e993
RM
184042012-08-17 Roland McGrath <roland@hack.frob.com>
18405
c91c505f
RM
18406 * configure.in: Add AC_SUBST for sysheaders.
18407 * configure: Regenerated.
18408 * config.make.in (sysheaders): New substituted variable.
18409
7c6f9d53
RM
18410 * sysdeps/unix/mkfifo.c: Moved ...
18411 * sysdeps/posix/mkfifo.c: ... here.
18412 * sysdeps/unix/mkfifoat.c: Moved ...
18413 * sysdeps/posix/mkfifoat.c: ... here.
18414
18415 * sysdeps/unix/utime.c: Moved ...
18416 * sysdeps/posix/utime.c: ... here.
18417
18418 * sysdeps/unix/time.c: Moved ...
18419 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18420 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18421 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18422
18423 * sysdeps/unix/nice.c: Moved ...
18424 * sysdeps/posix/nice.c: ... here.
18425
18426 * sysdeps/unix/alarm.c: Moved ...
18427 * sysdeps/posix/alarm.c: ... here.
18428
3bd9e993
RM
18429 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18430
d1f09384
JL
184312012-08-17 Jeff Law <law@redhat.com>
18432
18433 * intl/Makefile (codeset_mo): New variable.
18434 ($(codeset_mo)): New target.
18435 (tst-codeset.out): Depend on that. Remove explicit rule.
18436 (tst-gettext3.out, tst-gettext5.out): Likewise.
18437 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18438 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18439 * intl/tst-codeset.sh: Remove.
18440 * intl/tst-gettext3.sh: Likewise.
18441 * intl/tst-gettext5.sh: Likewise.
18442
2ae1ae5c
RM
184432012-08-17 Roland McGrath <roland@hack.frob.com>
18444
c31fdb83
RM
18445 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18446 * sysdeps/unix/syscalls.list: ... here.
18447
a0844057
RM
18448 * sysdeps/posix/getaddrinfo.c
18449 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18450 (gaiconf_init, gaiconf_reload): Use them.
18451 [!_STATBUF_ST_NSEC]
18452 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18453 Define using time_t rather than struct timespec.
18454
750c1f2a
RM
18455 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18456 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18457 Macros removed.
18458 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18459 [!NO_THREADS].
18460 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18461 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18462 Likewise.
18463
2ae1ae5c
RM
18464 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18465 __libc_cleanup_push argument.
18466
e66a42f5
RM
18467 * bits/param.h: New file.
18468 * misc/sys/param.h: New file.
18469 * include/sys/param.h: New file.
18470 * misc/Makefile (headers): Add bits/param.h.
18471 * sysdeps/generic/sys/param.h: File removed.
18472 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18473 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18474 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18475 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18476
b7c08a66
RM
18477 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18478 last change.
18479
b2e1c562
RM
18480 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18481 [_IO_MTSAFE_IO].
18482 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18483 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18484 New macros.
18485
c75ccd4c
RM
18486 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18487 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18488 rather than -D_IO_MTSAFE_IO conditionally.
18489 * stdio-common/Makefile (CPPFLAGS): Likewise.
18490 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18491 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18492 Use $(libio-mtsafe).
18493 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18494 of -D_IO_MTSAFE_IO.
18495 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18496 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18497 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18498 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18499 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18500 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18501 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18502 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18503 (CFLAGS-fread_u_chk.c): Likewise.
18504 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18505 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18506 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18507 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18508 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18509 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18510 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18511 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18512 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18513
18514 * libio/Makefile: Test [$(libc-reentrant) = yes]
18515 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18516
18517 * Makeconfig
18518 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18519 * sysdeps/pthread/configure: File removed.
18520 * sysdeps/pthread/Makeconfig: New file.
18521 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18522 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18523
d9195db8
GB
185242012-08-16 Gary Benson <gbenson@redhat.com>
18525
18526 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18527 unmapping the first object in a namespace.
18528
86466cd9
RM
185292012-08-16 Roland McGrath <roland@hack.frob.com>
18530
18531 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18532 (__internal_setnetgrent): ... this. Add internal_function to
18533 definition. Add libc_hidden_def.
18534 (setnetgrent): Update caller.
18535 (internal_endnetgrent): Renamed to ...
18536 (__internal_endnetgrent): ... this. Add internal_function to
18537 definition. Add libc_hidden_def.
18538 (endnetgrent): Update caller.
18539 (internal_getnetgrent_r): Renamed to ...
18540 (__internal_getnetgrent_r): ... this. Add internal_function to
18541 definition. Add libc_hidden_def.
18542 (__getnetgrent_r): Update caller.
18543 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18544
c3c8283c
JM
185452012-08-16 Joseph Myers <joseph@codesourcery.com>
18546
18547 * stdlib/longlong.h: Update from GCC.
18548
db1ee0a8
RM
185492012-08-16 Roland McGrath <roland@hack.frob.com>
18550
18551 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18552 on _QL, which is set by umul_ppmm but never used.
18553 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18554 variables, which are set by GMP macros but never used.
18555 * stdio-common/_itowa.c (_itowa): Likewise.
18556 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18557 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18558
30f69637
CD
185592012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18560
18561 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18562 struct La_sh_regs is not constant.
18563 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18564 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18565 and struct La_sparc64_regs are not constant.
18566
93a78ac4
JM
185672012-08-16 Joseph Myers <joseph@codesourcery.com>
18568
18569 * sysdeps/unix/sysv/linux/kernel-features.h
18570 (__ASSUME_POSIX_TIMERS): Remove.
18571 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18572 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18573 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18574 Make code unconditional.
18575 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18576 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18577 Make code unconditional.
18578 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18579 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18580 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18581 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18582 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18583 Make code unconditional.
18584 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18585 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18586 (__libc_missing_posix_timers): Remove.
18587
dd924cd7
RM
185882012-08-15 Roland McGrath <roland@hack.frob.com>
18589
4b4f2771
RM
18590 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18591 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18592
601c888b
RM
18593 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18594
176790a7
RM
18595 * elf/dl-sym.c: Include <stdlib.h>.
18596
329bc018
RM
18597 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18598 constants, which avoids warnings in 32-bit builds.
18599
e04e272d
RM
18600 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18601 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18602
952bf94a
RM
18603 * misc/lseek.c: File moved to ...
18604 * io/lseek.c: ... here.
18605
7c99b50a
RM
18606 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18607
dd924cd7
RM
18608 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18609 shifting LEN more than 31 bits at once.
18610
b3f479a8
LD
186112012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18612
18613 [BZ #14195]
8c4ae0d4
RM
18614 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18615 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18616 * string/test-strncasecmp.c (check1): Renamed to...
18617 (bz12205): ...this.
18618 (bz14195): Add new testcase for two empty input strings and N > 0.
18619 (test_main): Call new testcase, adapt for renamed function.
18620
9c55864e
AJ
186212012-08-15 Andreas Jaeger <aj@suse.de>
18622
18623 [BZ #14090]
18624 * crypt/md5test2.c: New test, based on test supplied by Serge
18625 Belyshev <belyshev@depni.sinp.msu.ru>.
18626 * crypt/Makefile (xtests): Add md5test-giant..
18627 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18628
02dcb6c5
PE
186292012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18630
18631 [BZ #14090]
18632 * crypt/md5.c (md5_process_block): Don't assume the buffer
18633 length is less than 2**32.
18634 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18635 length is less than 2**64.
18636
a3f95dcc
RM
186372012-08-15 Roland McGrath <roland@hack.frob.com>
18638
be75d758
RM
18639 * string/str-two-way.h: Include <sys/param.h>.
18640 (MAX): Macro removed.
18641
7312ca90
RM
18642 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18643 Move #define and #undef of memmove to just before and after
18644 including <string.h>.
18645
9a0a5486
RM
18646 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18647 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18648 and after including <string.h>. Move declarations of
18649 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18650 to before #include "string/memmove.c".
18651
67cc348d
RM
18652 * include/dirent.h: Declare __getdirentries.
18653
a3f95dcc
RM
18654 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18655 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18656
ca98e171
MF
186572012-08-14 Mike Frysinger <vapier@gentoo.org>
18658
18659 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18660 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18661 * sysdeps/i386/configure: Regenerated.
18662 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18663 STABS_CURRENT_FILE, and STABS_FUN.
18664 (END): Remove call to STABS_FUN_END.
18665 (STABS_CURRENT_FILE1): Delete.
18666 (STABS_CURRENT_FILE): Likewise.
18667 (STABS_FUN): Likewise.
18668 (STABS_FUN_END): Likewise.
18669 (STABS_FUN2): Likewise.
18670 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18671 * sysdeps/x86_64/configure: Regenerated.
18672
5908bf46
RM
186732012-08-14 Roland McGrath <roland@hack.frob.com>
18674
18675 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18676 * elf/dl-lookup.c: Likewise.
5908bf46 18677
f2c05b9e
JM
186782012-08-14 Joseph Myers <joseph@codesourcery.com>
18679
18680 * sysdeps/unix/sysv/linux/kernel-features.h
18681 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18682 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18683 unconditionally.
18684 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18685 unconditionally.
18686 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18687 condition on __ASSUME_CLONE_THREAD_FLAGS.
18688
e11f5155
AJ
186892012-08-14 Andreas Jaeger <aj@suse.de>
18690
18691 * sysdeps/i386/fpu/libm-test-ulps: Update.
18692
51a9ba86
MK
186932012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18694
2fdd4f78
AJ
18695 * include/atomic.h (atomic_exchange_and_add): Split into ...
18696 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18697 New atomic macros.
51a9ba86 18698
ba6cba9e
MT
186992012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18700
18701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18702
42443a47
JL
187032012-08-13 Jeff Law <law@redhat.com>
18704
18705 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18706 null byte in the output string.
18707
121dce05
JM
187082012-08-10 Joseph Myers <joseph@codesourcery.com>
18709
18710 * sysdeps/unix/sysv/linux/kernel-features.h
18711 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18712 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18713 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18714 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18715 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18716 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18717 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18718
bf51f568
JL
187192012-08-09 Jeff Law <law@redhat.com>
18720
18721 [BZ #13939]
18722 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18723 When avoid_arena is set, don't retry in the that arena. Pick the
18724 next one, whatever it might be.
18725 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18726 (arena_lock): Pass in new parameter to arena_get2.
18727 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18728 arena_get2.
18729 (__libc_malloc): Unify retrying after main arena failure with
18730 __libc_memalign version.
18731 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18732
f85fa270
L
187332012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18734
18735 [BZ #14166]
18736 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18737 to __redirect_strstr.
18738 (__strstr_sse42): Use typeof __redirect_strstr.
18739 (__strstr_ia32): Likewise.
18740 (__libc_strstr): New prototype.
18741 (strstr): Renamed to ...
18742 (__libc_strstr): This.
18743 (strstr): New strong alias of __libc_strstr.
18744 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18745 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18746 __redirect_time.
18747 Include <time.h>.
18748 (__libc_time): New prototype.
18749 (time_ifunc): Replace time with __libc_time.
18750 (time): New strong alias and hidden definition of __libc_time.
18751 (__GI_time): Remove strong alias.
18752 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18753 Include <stddef.h>.
18754 (memmove): Redefined to __redirect_memmove.
18755 (__memmove_sse2): Use typeof __redirect_memmove.
18756 (__memmove_ssse3): Likewise.
18757 (__memmove_ssse3_back): Likewise.
18758 (__libc_memmove): New prototype.
18759 (memmove): Renamed to ...
18760 (__libc_memmove): This.
18761 (memmove): New strong alias of __libc_memmove.
18762
33b4a91e
MS
187632012-08-08 Mark Salter <msalter@redhat.com>
18764
18765 * elf/elf.h
18766 (R_MN10300_TLS_GD): Define.
18767 (R_MN10300_TLS_LD): Likewise.
18768 (R_MN10300_TLS_LDO): Likewise.
18769 (R_MN10300_TLS_GOTIE): Likewise.
18770 (R_MN10300_TLS_IE): Likewise.
18771 (R_MN10300_TLS_LE): Likewise.
18772 (R_MN10300_TLS_DTPMOD): Likewise.
18773 (R_MN10300_TLS_DTPOFF): Likewise.
18774 (R_MN10300_TLS_TPOFF): Likewise.
18775 (R_MN10300_SYM_DIFF): Likewise.
18776 (R_MN10300_ALIGN): Likewise.
18777 (R_MN10300_NUM): Update.
18778
b36137f1
JM
187792012-08-08 Joseph Myers <joseph@codesourcery.com>
18780
18781 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18782 Remove.
18783
cdd915fd
RM
187842012-08-08 Roland McGrath <roland@hack.frob.com>
18785
a2433aac
RM
18786 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18787
cdd915fd
RM
18788 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18789 sysdeps/unix -> sysdeps/posix move.
18790 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18791
bf9b740a
AM
187922012-08-07 Allan McRae <allan@archlinux.org>
18793
18794 [BZ #14303]
18795 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18796 (SUNOS_CPP): Likewise.
18797 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18798 not found.
18799 (open_input): Call CPP using execvp.
18800
93df14ee
JM
188012012-08-07 Joseph Myers <joseph@codesourcery.com>
18802
18803 * sysdeps/unix/sysv/linux/kernel-features.h
18804 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18805 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18806 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18807 (__ASSUME_WAITID_SYSCALL): Likewise.
18808 * sysdeps/unix/sysv/linux/dl-execstack.c
18809 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18810 code unconditional.
18811 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18812 conditional code.
18813 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18814 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18815 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18816 code.
18817 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18818 unconditional.
18819 [__ASSUME_WAITID_SYSCALL]: Likewise.
18820 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18821
d34689de
RM
188222012-08-07 Roland McGrath <roland@hack.frob.com>
18823
a281decc
RM
18824 * sysdeps/unix/closedir.c: Renamed to ...
18825 * sysdeps/posix/closedir.c: ... here.
18826 * sysdeps/unix/dirfd.c: Renamed to ...
18827 * sysdeps/posix/dirfd.c: ... here.
18828 * sysdeps/unix/dirstream.h: Renamed to ...
18829 * sysdeps/posix/dirstream.h: ... here.
18830 * sysdeps/unix/fdopendir.c: Renamed to ...
18831 * sysdeps/posix/fdopendir.c: ... here.
18832 * sysdeps/unix/opendir.c: Renamed to ...
18833 * sysdeps/posix/opendir.c: ... here.
18834 * sysdeps/unix/readdir.c: Renamed to ...
18835 * sysdeps/posix/readdir.c: ... here.
18836 * sysdeps/unix/readdir_r.c: Renamed to ...
18837 * sysdeps/posix/readdir_r.c: ... here.
18838 * sysdeps/unix/rewinddir.c: Renamed to ...
18839 * sysdeps/posix/rewinddir.c: ... here.
18840 * sysdeps/unix/seekdir.c: Renamed to ...
18841 * sysdeps/posix/seekdir.c: ... here.
18842 * sysdeps/unix/telldir.c: Renamed to ...
18843 * sysdeps/posix/telldir.c: ... here.
18844 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18845 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18846 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18847 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18848
22895b47
RM
18849 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18850 * bits/fcntl.h: ... here.
18851
707a53b6
RM
18852 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18853 not 0.
18854 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18855 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18856 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18857 (struct flock): Move l_start, l_len to the beginning.
18858 Use __pid_t for l_pid.
18859 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18860 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18861 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18862 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18863 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18864 [__USE_LARGEFILE64] (struct flock64): New type.
18865 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18866
f0bd3e25
RM
18867 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18868 * bits/dirent.h: ... here.
18869
d34689de
RM
18870 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18871 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18872
6dad2c06
JM
188732012-08-07 Joseph Myers <joseph@codesourcery.com>
18874
18875 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18876 Change from 2.6.0 to 2.6.16.
18877 * sysdeps/unix/sysv/linux/configure: Regenerated.
18878 * sysdeps/unix/sysv/linux/kernel-features.h
18879 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18880 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18881 version.
18882 (__ASSUME_UTIMES): Likewise.
18883 (__ASSUME_CLONE_STOPPED): Remove.
18884 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18885 architectures, not kernel version.
18886 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18887 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18888 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18889 (__ASSUME_WAITID_SYSCALL): Likewise.
18890 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18891 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18892 * README: State 2.6.16 as minimum Linux kernel version. Do not
18893 refer to older versions.
18894
03af9520
RM
188952012-08-06 Roland McGrath <roland@hack.frob.com>
18896
8e49df1d
RM
18897 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18898 Define alphasort64 as an alias.
18899 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18900 Define versionsort64 as an alias.
18901 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18902 Define scandir64 as an alias.
18903 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18904 Define scandirat64 as an alias.
18905 * dirent/alphasort64.c (alphasort64):
18906 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18907 * dirent/versionsort64.c: Likewise.
18908 * dirent/scandir64.c: Likewise.
18909 * dirent/scandirat64.c: Likewise.
18910 * sysdeps/wordsize-64/alphasort.c: File removed.
18911 * sysdeps/wordsize-64/alphasort64.c: File removed.
18912 * sysdeps/wordsize-64/scandir.c: File removed.
18913 * sysdeps/wordsize-64/scandir64.c: File removed.
18914 * sysdeps/wordsize-64/scandirat.c: File removed.
18915 * sysdeps/wordsize-64/scandirat64.c: File removed.
18916 * sysdeps/wordsize-64/versionsort.c: File removed.
18917 * sysdeps/wordsize-64/versionsort64.c: File removed.
18918 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18919 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18920 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18921 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18922 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18923 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18924 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18925 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18926
18927 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18929 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18930 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18931 [defined __arch64__ || defined __sparcv9]
18932 (__INO_T_MATCHES_INO64_T): New macro.
18933 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18934 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18935 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18936 * sysdeps/unix/sysv/linux/bits/dirent.h
18937 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18938 (_DIRENT_MATCHES_DIRENT64): New macro.
18939
03af9520
RM
18940 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18941 Define lockf64 as an alias.
18942 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18943 Define fseeko64 as an alias.
18944 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18945 Define ftello64 as an alias.
18946 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18947 Define _IO_fgetpos64 and fgetpos64 as aliases.
18948 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18949 Define _IO_fsetpos64 and fsetpos64 as aliases.
18950 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18951 Conditionalize body on this.
18952 * libio/fseeko64.c: Likewise.
18953 * libio/ftello64.c: Likewise.
18954 * libio/iofgetpos64.c: Likewise.
18955 * libio/iofsetpos64.c: Likewise.
18956 * sysdeps/wordsize-64/lockf.c: File removed.
18957 * sysdeps/wordsize-64/lockf64.c: File removed.
18958 * sysdeps/wordsize-64/fseeko.c: File removed.
18959 * sysdeps/wordsize-64/fseeko64.c: File removed.
18960 * sysdeps/wordsize-64/ftello.c: File removed.
18961 * sysdeps/wordsize-64/ftello64.c: File removed.
18962 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18963 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18964 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18965 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18966 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18967 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18968 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18969 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18970 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18971 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18972 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18973 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18974 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18975 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18976
18977 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18978 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18979 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18980 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18981 [defined __arch64__ || defined __sparcv9]
18982 (__OFF_T_MATCHES_OFF64_T): New macro.
18983 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18984 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18985 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18986 (__OFF_T_MATCHES_OFF64_T): New macro.
18987
c5757acd
L
189882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18989
18990 * stdlib/secure-getenv.c (__secure_getenv): Replace
18991 GLIBC_2_16 with GLIBC_2_17.
18992
3a31811e
L
189932012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18994
18995 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18996 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18997
faa2bccb
DM
189982012-08-03 David S. Miller <davem@davemloft.net>
18999
19000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19001
85fe1997
JM
190022012-08-03 Joseph Myers <joseph@codesourcery.com>
19003
19004 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19005 Remove.
19006 (__ASSUME_CORRECT_SI_PID): Likewise.
19007 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19008 (__ASSUME_TMPFS_NAME): Likewise.
19009 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19010 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19011 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19012 (HAVE_AUX_SECURE): Make definition unconditional.
19013 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19014 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19015
4f75b7a0
RM
190162012-08-03 Roland McGrath <roland@hack.frob.com>
19017
19018 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19019 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19020 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19021 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19022 __eloop_threshold instead of SYMLOOP_MAX.
19023
19024 * sysdeps/generic/eloop-threshold.h: New file.
19025 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19026 of MAXSYMLINKS.
19027 * elf/chroot_canon.c (chroot_canon): Likewise.
19028
7aab07e4
JM
190292012-08-03 Joseph Myers <joseph@codesourcery.com>
19030
19031 [BZ #13717]
19032 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19033 Change to 2.6.0 everywhere.
19034 * sysdeps/unix/sysv/linux/configure: Regenerated.
19035 * sysdeps/unix/sysv/linux/kernel-features.h
19036 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19037 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19038 kernel versions.
19039 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19040 (__ASSUME_FUTEX_REQUEUE): Remove.
19041 (__ASSUME_STATFS64): Define unconditionally.
19042 (__ASSUME_AT_SECURE): Likewise.
19043 (__ASSUME_CORRECT_SI_PID): Likewise.
19044 (__ASSUME_TGKILL): Define without depending on kernel version for
19045 i386.
19046 (__ASSUME_UTIMES): Likewise.
19047 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19048 kernel version.
19049 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19050 (__ASSUME_TMPFS_NAME): Likewise.
19051 * README: Update reference to Linux kernel versions.
19052
b67e9372
MP
190532012-08-02 Marek Polacek <polacek@redhat.com>
19054
1f529f7d 19055 [BZ# 14150]
b67e9372
MP
19056 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19057 libc_cv_asm_type_prefix with %.
19058 * configure: Regenerated.
d2441631
RM
19059 * include/libc-symbols.h: Remove comment about
19060 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19061 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19062 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19063 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19064 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19065 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19066 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19067 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19068 * elf/tst-unique2mod1.c: Likewise.
19069 * elf/tst-unique1mod2.c: Likewise.
19070 * elf/tst-unique1mod1.c: Likewise.
19071 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19072 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19073 Replace ASM_TYPE_DIRECTIVE with .type.
19074 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19075 * sysdeps/i386/sysdep.h: Likewise.
19076 * sysdeps/x86_64/sysdep.h: Likewise.
19077 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19079 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19080 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19081 * sysdeps/powerpc/powerpc32/sysdep.h:
19082 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19083 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19084 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19085 * sysdeps/i386/fpu/e_powf.S: Likewise.
19086 * sysdeps/i386/fpu/e_expl.S: Likewise.
19087 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19088 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19089 * sysdeps/i386/fpu/e_pow.S: Likewise.
19090 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19091 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19092 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19093 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19094 * sysdeps/i386/fpu/e_log2.S: Likewise.
19095 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19096 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19097 * sysdeps/i386/fpu/e_powl.S: Likewise.
19098 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19099 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19100 * sysdeps/i386/fpu/e_logl.S: Likewise.
19101 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19102 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19103 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19104 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19105 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19106 * sysdeps/i386/fpu/e_log.S: Likewise.
19107 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19108 * sysdeps/i386/fpu/e_logf.S: Likewise.
19109 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19110 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19111 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19112 * sysdeps/i386/fpu/e_log10.S: Likewise.
19113 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19114 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19115 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19116 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19117 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19118 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19119 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19120 * sysdeps/i386/i686/strtok.S: Likewise.
19121 * sysdeps/i386/i386-mcount.S: Likewise.
19122 * sysdeps/i386/strtok.S: Likewise.
19123 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19124 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19125 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19126 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19127 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19128 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19129 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19130 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19131 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19132 * sysdeps/x86_64/_mcount.S: Likewise.
19133 * sysdeps/x86_64/strtok.S: Likewise.
19134 * sysdeps/sh/_mcount.S: Likewise.
19135
2747bf9a
RM
191362012-08-01 Roland McGrath <roland@hack.frob.com>
19137
19138 * libio/iofopen.c: Include <fcntl.h>.
19139 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19140 (_IO_fopen64, fopen64): Define as aliases.
19141 * libio/iofopen64.c: Include <fcntl.h>.
19142 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19143 Conditionalize body on this.
19144 * sysdeps/wordsize-64/iofopen.c: File removed.
19145 * sysdeps/wordsize-64/iofopen64.c: File removed.
19146
3fb791b8
MP
191472012-08-01 Marek Polacek <polacek@redhat.com>
19148
19149 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19150 Use dlfcn directly instead of a variable.
19151 (binfmt-subdir): Do not define.
19152 (dlfcn): Likewise.
19153
a9f1039f
JM
191542012-08-01 Joseph Myers <joseph@codesourcery.com>
19155
23bddc06
JM
19156 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19157 Remove all definitions.
19158 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19159 <kernel-features.h>.
19160 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19161 (miss_F_GETOWN_EX): Remove all definitions.
19162 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19163 macro definition.
19164 [!__ASSUME_FCNTL64]: Remove conditional code.
19165 [__ASSUME_FCNTL64]: Make code unconditional.
19166 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19167 <kernel-features.h>.
19168 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19169 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19170 (lockf64) [__NR_fcntl64]: Make code unconditional.
19171 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19172
a9f1039f
JM
19173 * sysdeps/unix/sysv/linux/kernel-features.h
19174 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19175 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19176 Make code unconditional.
19177 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19178 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19180 [__NR_vfork]: Make code unconditional.
19181 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19182 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19184 [__NR_vfork]: Make code unconditional.
19185 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19186 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19187
09c0ee5f
RM
191882012-08-01 Roland McGrath <roland@hack.frob.com>
19189
48aec5b9
RM
19190 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19191 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19192
cd97c966
RM
19193 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19194 Define mkstemp64 as an alias.
3f55550c
RM
19195 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19196 Define mkstemps64 as an alias.
cd97c966
RM
19197 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19198 Define mkostemp64 as an alias.
b8625cfc
RM
19199 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19200 Define mkostemps64 as an alias.
cd97c966
RM
19201 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19202 Conditionalize body on this.
19203 * misc/mkostemp64.c: Likewise.
b8625cfc 19204 * misc/mkostemps64.c: Likewise.
3f55550c 19205 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19206 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19207 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19208 * sysdeps/wordsize-64/mkostemp.c: File removed.
19209 * sysdeps/wordsize-64/mkstemp.c: File removed.
19210 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19211 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19212 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19213 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19214
09c0ee5f
RM
19215 [BZ #14138]
19216 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19217 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19218 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19219 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19220
19221 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19222 compat_symbol macros from <shlib-compat.h> rather than the underlying
19223 default_symbol_version and symbol_version macros, so that DEFAULT
19224 lines in shlib-versions are respected.
19225 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19226
7e66ee51
FW
192272012-08-01 Florian Weimer <fweimer@redhat.com>
19228
19229 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19230 Declare with warn_unused_result.
19231 (setgid, setregid, setegid, setresgid): Likewise.
19232 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19233 Likewise.
19234 * WUR-REPORT: Remove set*id functions.
19235
d2a54255
PT
192362012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19237
19238 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19239
7ecdb005
RM
192402012-07-31 Roland McGrath <roland@hack.frob.com>
19241
b4180a5e 19242 [BZ #10191]
789bd351
RM
19243 * include/sys/socket.h (__libc_accept, __libc_accept4):
19244 Add attribute_hidden.
19245 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19246
40ce302d
RM
19247 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19248 use of PTR_MANGLE.
19249 * inet/getnetgrent_r.c (setup): Likewise.
19250
7ecdb005
RM
19251 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19252
e2eabb2c
DM
192532012-07-31 David S. Miller <davem@davemloft.net>
19254
19255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19256
d0419dbf
JM
192572012-07-31 Joseph Myers <joseph@codesourcery.com>
19258
19259 [BZ #13629]
19260 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19261 value between 1.0 and 2.0 and smaller part has absolute value less
19262 than 1.0.
19263 * math/s_clog10.c (__clog10): Likewise.
19264 * math/s_clog10f.c (__clog10f): Likewise.
19265 * math/s_clog10l.c (__clog10l): Likewise.
19266 * math/s_clogf.c (__clogf): Likewise.
19267 * math/s_clogl.c (__clogl): Likewise.
19268 * math/libm-test.inc (clog_test): Add more tests.
19269 (clog10_test): Likewise.
19270 * sysdeps/i386/fpu/libm-test-ulps: Update.
19271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19272
2bc13872
FW
192732012-07-31 Florian Weimer <fweimer@redhat.com>
19274
19275 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19276 Exit with zero in case no suitable GID is found, and write a
19277 message to standard error.
19278
bea9b193
RM
192792012-07-30 Roland McGrath <roland@hack.frob.com>
19280
19281 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19282 rather than to 1.
19283 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19284 (MAXPATHLEN): Removed.
19285 (NOGROUP, NODEV): New macros.
19286 (setbit, clrbit, isset, isclr): New macros.
19287 (howmany, roundup, powerof2): New macros.
19288 (DEV_BSIZE): New macro.
19289
19290 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19291 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19292
19293 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19294 definition on [!__NO_LONG_DOUBLE_MATH].
19295
19296 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19297 PTR_MANGLE and PTR_DEMANGLE.
19298
19299 * socket/accept4.c (accept4): Rename to __libc_accept4.
19300 Define accept4 as a weak alias.
19301
19302 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19303 on [_DIRENT_HAVE_D_TYPE].
19304 * io/ftw.c (ftw_dir): Likewise.
19305
19306 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19307
19308 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19309
19310 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19311 Use the BSD numbers rather than the arbitrary ones we had.
19312 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19313 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19314 (SIGXCPU, SIGXFSZ): New macros.
19315 (_NSIG): Now 32.
19316
19317 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19318 initializer on [_LIBC_REENTRANT].
19319
19320 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19321 definitions inside [_POSIX_MAPPED_FILES].
19322
19323 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19324
19325 * dirent/opendir.c: Include <fcntl.h>.
19326
19327 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19328 (__libc_getspecific): Likewise.
19329 (__libc_key_create): Likewise.
19330
19331 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19332 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19333 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19334 (tmpfile64): Define as alias.
19335 * sysdeps/wordsize-64/tmpfile.c: File removed.
19336 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19337 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19338 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19339
19340 * stdio-common/vfscanf.c: Include <stdbool.h>.
19341 * nss/makedb.c: Likewise.
19342 * stdio-common/_i18n_number.h: Likewise.
19343 * argp/argp-help.c: Likewise.
19344 * posix/wordexp.c: Likewise.
19345 * sysdeps/posix/spawni.c: Likewise.
19346 * nss/nss_files/files-initgroups.c: Likewise.
19347 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19348 * nss/nss_files/files-initgroups.c: Likewise.
19349 * nss/nss_db/db-netgrp.c: Likewise.
19350 * nss/nss_db/db-initgroups.c: Likewise.
19351 * io/fchmodat.c: Include <sys/stat.h>.
19352
19353 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19354 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19355
19356 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19357 [HAVE_MMAP].
19358
19359 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19360 Add multiple inclusion protection.
19361
e5abc686
DM
193622012-07-27 David S. Miller <davem@davemloft.net>
19363
19364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19365
815e6fa3
GB
193662012-07-27 Gary Benson <gbenson@redhat.com>
19367
19368 [BZ #14298]
19369 * elf/rtld.c: Include <stap-probe.h>.
19370 (dl_main): Added static probes "init_start" and "init_complete".
19371 * elf/dl-load.c: Include <stap-probe.h>.
19372 (lose): Take new parameter "nsid".
19373 Added static probe "map_failed".
19374 (_dl_map_object_from_fd): Pass namespace id to lose.
19375 Added static probe "map_start".
19376 (open_verify): Pass namespace id to lose.
19377 * elf/dl-open.c: Include <stap-probe.h>.
19378 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19379 and "reloc_complete".
19380 * elf/dl-close.c: Include <stap-probe.h>.
19381 (_dl_close_worker): Added static probes "unmap_start" and
19382 "unmap_complete".
19383 * elf/rtld-debugger-interface.txt: New file documenting the above.
19384
9f98c16c
RM
193852012-07-26 Roland McGrath <roland@hack.frob.com>
19386
19387 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19388 rather than a string variable.
19389 * sunrpc/rpc_main.c (h_output): Likewise.
19390 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19391
f3c22df3
PT
193922012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19393
19394 * inet/check_native.c: New file.
19395
3129cfc6
JM
193962012-07-26 Joseph Myers <joseph@codesourcery.com>
19397
da865e95
JM
19398 [BZ #13629]
19399 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19400 if larger part has absolute value 1.0.
19401 * math/s_clog10.c (__clog10): Likewise.
19402 * math/s_clog10f.c (__clog10f): Likewise.
19403 * math/s_clog10l.c (__clog10l): Likewise.
19404 * math/s_clogf.c (__clogf): Likewise.
19405 * math/s_clogl.c (__clogl): Likewise.
19406 * math/libm-test.inc (clog_test): Add more tests.
19407 (clog10_test): Likewise.
19408 * sysdeps/i386/fpu/libm-test-ulps: Update.
19409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19410
3129cfc6
JM
19411 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19412 (pltexit): Likewise.
19413 (La_regs): Likewise.
19414 (La_retval): Likewise.
19415 (int_retval): Likewise.
19416 Update #error for removed macros to refer only to definitions in
19417 tst-audit.h.
19418 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19419 macro.
19420 (pltexit): Likewise.
19421 (La_regs): Likewise.
19422 (La_retval): Likewise.
19423 (int_retval): Likewise.
19424 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19425 macro.
19426 (pltexit): Likewise.
19427 (La_regs): Likewise.
19428 (La_retval): Likewise.
19429 (int_retval): Likewise.
19430 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19431 macro.
19432 (pltexit): Likewise.
19433 (La_regs): Likewise.
19434 (La_retval): Likewise.
19435 (int_retval): Likewise.
19436 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19437 macro.
19438 (pltexit): Likewise.
19439 (La_regs): Likewise.
19440 (La_retval): Likewise.
19441 (int_retval): Likewise.
19442 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19443 macro.
19444 (pltexit): Likewise.
19445 (La_regs): Likewise.
19446 (La_retval): Likewise.
19447 (int_retval): Likewise.
19448 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19449 macro.
19450 (pltexit): Likewise.
19451 (La_regs): Likewise.
19452 (La_retval): Likewise.
19453 (int_retval): Likewise.
19454 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19455 macro definitions in tst-audit.h.
19456 * sysdeps/i386/tst-audit.h: New file.
19457 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19458 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19459 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19460 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19461 * sysdeps/sh/tst-audit.h: Likewise.
19462 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19463 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19464 * sysdeps/x86_64/tst-audit.h: Likewise.
19465
bfc07087
AJ
194662012-07-26 Andreas Jaeger <aj@suse.de>
19467
b1b2aaf8
AJ
19468 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19469 ptrace.
19470
19471 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19472 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19473 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19474 PTRACE_O_MASK.
19475 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19476 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19477 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19478
bfc07087
AJ
19479 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19480 value.
19481
19482 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19483 _sigsys.
19484 (si_call_addr, si_syscall, si_arch): Define new macro.
19485 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19486 _sigsys.
19487 (si_call_addr, si_syscall, si_arch): Define new marcro.
19488 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19489 _sigsys.
19490 (si_call_addr, si_syscall, si_arch): Define new macro.
19491 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19492 _sigsys.
19493 (si_call_addr, si_syscall, si_arch): Define new macro.
19494
89b4b02f
JM
194952012-07-25 Joseph Myers <joseph@codesourcery.com>
19496
19497 [BZ #13717]
19498 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19499 Change to 2.4.21 where previously 2.4.1.
19500 * sysdeps/unix/sysv/linux/configure: Regenerated.
19501 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19502 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19503 Linux kernel version.
19504 (__ASSUME_STD_AUXV): Remove.
19505 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19506 kernel version.
19507 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19508 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19509 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19510 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19511 (__ASSUME_NETLINK_SUPPORT): Likewise.
19512 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19513 (__no_netlink_support): Remove conditional definition.
19514 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19515 Remove.
19516 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19517 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19518 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19519 (if_nameindex_ioctl): Remove.
19520 (if_nameindex_netlink): Do not handle __no_netlink_support.
19521 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19522 code.
19523 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19524 Remove conditional code.
19525 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19526 code.
19527 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19528 unconditional.
19529 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19530 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19531 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19532 Remove.
19533 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19534 [!__ASSUME_STD_AUXV]: Remove conditional code.
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19536 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19537 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19539 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19540 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19541 code.
19542 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19544 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19545 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19546 conditional code.
19547 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19549 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19550 code.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19552 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19553 conditional code.
19554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19555 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19556 code unconditional.
19557 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19558 conditional code.
19559 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19560 unconditional.
19561 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19562 conditional code.
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19564 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19565 unconditional.
19566 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19567 conditional code.
19568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19569 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19570 code unconditional.
19571 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19572 conditional code.
19573 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19574 unconditional.
19575 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19576 conditional code.
19577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19578 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19579 code unconditional.
19580 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19581 conditional code.
19582 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19583 unconditional.
19584 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19585 conditional code.
19586
842a39cd
AS
195872012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19588
19589 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19590 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19591 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19592 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19593 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19594 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19595 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19596 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19597 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19598 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19599 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19600 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19601 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19602 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19603 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19604 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19605 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19606 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19607 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19609 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19610 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19611 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19612
84b3fd84
FW
196132012-07-25 Florian Weimer <fweimer@redhat.com>
19614
19615 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19616 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19617 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19618 Introduce __libc_secure_getenv.
0c7936d5
FW
19619 * stdlib/Versions (2.17): Add secure_getenv
19620 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19621 * stdlib/secure-getenv.c: Rename __secure_getenv to
19622 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19623 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19624 * stdlib/tst-secure-getenv.c: New.
19625 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19626 * manual/startup.texi (Environment Access): Document
19627 secure_getenv.
84b3fd84
FW
19628 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19629 __libc_secure_getenv.
19630 * inet/ruserpass.c (ruserpass): Likewise.
19631 * malloc/mtrace.c (mtrace): Likewise.
19632 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19633 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19634 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19635 * sysdeps/posix/tempname.c: Likewise. Evaluate
19636 HAVE_SECURE_GETENV.
19637 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19638 __secure_getenv to __libc_secure_getenv.
84b3fd84 19639 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19641 Likewise.
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19643 Likewise.
19644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19646 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19651
56e49b71
JM
196522012-07-25 Joseph Myers <joseph@codesourcery.com>
19653
19654 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19655 (struct La_i86_retval): Likewise.
19656 (struct La_x86_64_regs): Likewise.
19657 (struct La_x86_64_retval): Likewise.
19658 (struct La_x32_regs): Likewise.
19659 (struct La_x32_retval): Likewise.
19660 (struct La_ppc32_regs): Likewise.
19661 (struct La_ppc32_retval): Likewise.
19662 (struct La_ppc64_regs): Likewise.
19663 (struct La_ppc64_retval): Likewise.
19664 (struct La_sh_regs): Likewise.
19665 (struct La_sh_retval): Likewise.
19666 (struct La_s390_32_regs): Likewise.
19667 (struct La_s390_32_retval): Likewise.
19668 (struct La_s390_64_regs): Likewise.
19669 (struct La_s390_64_retval): Likewise.
19670 (struct La_sparc32_regs): Likewise.
19671 (struct La_sparc32_retval): Likewise.
19672 (struct La_sparc64_regs): Likewise.
19673 (struct La_sparc64_retval): Likewise.
19674 (struct audit_ifaces): Remove architecture-specific pltenter and
19675 pltexit members.
19676 * sysdeps/i386/ldsodefs.h: New file.
19677 * sysdeps/powerpc/ldsodefs.h: Likewise.
19678 * sysdeps/s390/ldsodefs.h: Likewise.
19679 * sysdeps/sh/ldsodefs.h: Likewise.
19680 * sysdeps/sparc/ldsodefs.h: Likewise.
19681 * sysdeps/x86_64/ldsodefs.h: Likewise.
19682
354691b7
MP
196832012-07-25 Marek Polacek <polacek@redhat.com>
19684
19685 [BZ #6808]
19686 * math/libm-test.inc (yn_test): Add another test.
19687 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19688 to ERANGE when the result is +-Inf.
19689 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19690 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19691 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19692 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19693
bf9e2071
JM
196942012-07-24 Joseph Myers <joseph@codesourcery.com>
19695
19696 * conform/data/time.h-data (NULL): Use macro-constant. Require
19697 equal to 0.
19698 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19699 clock_t.
19700 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19701
57633811
TS
197022012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19703
19704 * configure.in <sysdeps resolving>: Correct printing
19705 Implies_before.
19706 * configure: Regenerate.
19707
c23c33b0
TS
197082012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19709
19710 * math/w_ilogb.c: Include <limits.h>.
19711 * math/w_ilogbl.c: Likewise.
19712
b5982523
JM
197132012-07-20 Joseph Myers <joseph@codesourcery.com>
19714
19715 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19716 va_copy. Document allowing for unavailable va_copy only as
19717 pre-C99 compatibility.
19718 * manual/string.texi (Copying and Concatenation): Use va_copy
19719 instead of __va_copy in concat example.
19720
ac4ea442
PT
197212012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19722
19723 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19724 (__sendto): Use create_address_port. Initialize APORT and deallocate
19725 it if not null.
19726
f98eafbd
PT
19727 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19728 with O_NOLINK passed to __file_name_lookup.
19729
898c7aab
PT
19730 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19731 with O_NOLINK passed to __file_name_lookup.
19732
0ced335a
PT
19733 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19734 negative N or less than NGIDS.
19735
b3404dbd
PT
19736 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19737 type to string_t. Set ERANGE as errno and return it if NAME is not big
19738 enough. Use memcpy instead of strncpy.
19739
0f48659e
JM
197402012-07-20 Joseph Myers <joseph@codesourcery.com>
19741
19742 * elf/Makefile (check-data): Remove.
19743 (localplt.data): New vpath directive.
19744 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19745 instead of $(check-data).
19746 * scripts/data/localplt-generic.data: Move to ...
19747 * sysdeps/generic/localplt.data: ... here.
19748 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19749 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19750 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19752 ... here.
19753 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19755 ... here.
19756 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19758 ... here.
19759 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19761 ... here.
19762 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19764 ... here.
19765 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19767 ... here.
19768
d37cbdaa
AZ
197692012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19770
19771 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19772 PPC32 and PPC64 files.
19773 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19774 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19775
46f85fc2
AK
197762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19777
19778 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19779 __makecontext_ret to ...
19780 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19781 ... here and call exit if uc_link is NULL. New file.
19782 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19783 __makecontext_ret.S.
19784 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19785 __makecontext_ret to ...
19786 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19787 ... here and call exit if uc_link is NULL. New file.
19788 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19789 __makecontext_ret.S.
19790
08f43f9b
AK
197912012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19792
19793 * elf/elf.h (R_390_IRELATIVE): New definition.
19794 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19795 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19796 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19797 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19798 (elf_machine_lazy_rel): Likewise.
19799 * sysdeps/s390/dl-irel.h: New file.
19800 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19801 * sysdeps/s390/s390-64/memset.S: New asm code.
19802 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19803 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19804 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19805 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19806 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19807 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19808 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19809 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19810 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19811 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19812 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19813 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19814 * sysdeps/s390/s390-32/memset.S: New asm code.
19815 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19816
3b05db33
MP
198172012-07-17 Marek Polacek <polacek@redhat.com>
19818
19819 [BZ #14349]
19820 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19821 * sysdeps/s390/s390-64/configure.in: Likewise.
19822 * sysdeps/sparc/configure.in: Likewise.
19823 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19824 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19825 * sysdeps/i386/configure.in: Likewise.
19826 * sysdeps/x86_64/configure.in: Likewise.
19827 * sysdeps/sh/configure.in: Likewise.
19828 * sysdeps/s390/s390-32/configure: Regenerated.
19829 * sysdeps/s390/s390-64/configure: Likewise.
19830 * sysdeps/x86_64/configure: Likewise.
19831 * sysdeps/sh/configure: Likewise.
19832 * sysdeps/powerpc/powerpc64/configure: Likewise.
19833 * sysdeps/powerpc/powerpc32/configure: Likewise.
19834 * sysdeps/sparc/configure: Likwise.
19835 * sysdeps/i386/configure: Likewise.
19836
a66877c6
MP
19837 * elf/dl-open.c: Comment fixes.
19838
cfc82fd8
JM
198392012-07-17 Joseph Myers <joseph@codesourcery.com>
19840
bd29910a
JM
19841 * Makefile [CXX] (check-data): Remove.
19842 [CXX] (c++-types.data): New vpath directive.
19843 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19844 vpath. Do not allow for C++ type data being missing.
19845 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19846 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19847 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19848 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19849 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19850 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19851 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19853 ... here.
19854 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19856 ... here.
19857 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19859 ... here.
19860 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19862 ... here.
19863 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19865 ... here.
19866 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19868 ... here.
19869 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19871 ... here.
19872 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19874
cfc82fd8
JM
19875 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19876 definitions to architecture-specific files.
19877 (TLS_IE): Likewise.
19878 (TLS_LD): Likewise.
19879 (TLS_GD): Likewise.
19880 * sysdeps/i386/tls-macros.h: New file.
19881 * sysdeps/powerpc/tls-macros.h: Likewise.
19882 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19883 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19884 * sysdeps/sh/tls-macros.h: Likewise.
19885 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19886 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19887 * sysdeps/x86_64/tls-macros.h: Likewise.
19888
f7db3170
TS
198892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19890
07cbfc23
TS
19891 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19892 zero value for regular exit case.
19893
f7db3170
TS
19894 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19895 (__start_context): Preserve zero value for regular exit case.
19896
dc97c227
TS
198972012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19898 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19899
19900 * manual/setjmp.texi (setcontext): Clarify normal process
19901 termination when uc_link is the null pointer.
19902 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19903 exit call.
19904
d0cd7d02
AS
199052012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19906
19907 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19908 preprocessor. Test for each exception mask separately.
19909
dd318934
AJ
199102012-07-16 Andreas Jaeger <aj@suse.de>
19911
19912 * po/ru.po: Update from translation team.
19913
8048311a
JM
199142012-07-15 Joseph Myers <joseph@codesourcery.com>
19915
19916 * conform/data/string.h-data (NULL): Use macro-constant. Require
19917 equal to 0.
19918 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19919 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19920 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19921 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19922 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19923
b637d46e
AJ
199242012-07-13 Andreas Jaeger <aj@suse.de>
19925
19926 * po/fr.po: Update from translation team.
19927
541428fe
MP
199282012-07-12 Marek Polacek <polacek@redhat.com>
19929
19930 [BZ #14173]
19931 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19932 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19933 loop condition.
19934
ec332e94
JM
199352012-07-12 Joseph Myers <joseph@codesourcery.com>
19936
19937 [BZ #13717]
19938 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19939 Change to 2.4.1 where previously 2.4.0.
19940 * sysdeps/unix/sysv/linux/configure: Regenerated.
19941 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19942 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19943 version.
19944 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19945 (__ASSUME_AT_CLKTCK): Remove.
19946 (__ASSUME_AT_PAGESIZE): Likewise.
19947 (__ASSUME_AT_XID): Likewise.
19948 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19949 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19950 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19951 unconditionally.
19952 (HAVE_AUX_PAGESIZE): Likewise.
19953 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19954 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19955 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19956
7b6e99be
JB
199572012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19958
19959 [BZ #14307]
19960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19961 the temporary buffer used to invoke __gethostbyname2_r,
19962 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19963 host_data / struct gaih_addrtuple.
19964 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19965 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19966 header file nss/nsswitch.h.
19967 * nss/nsswitch.h (global scope): Add definition of implementation
19968 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19969 resolv/nss_dns/dns-host.c).
19970
608404eb
AJ
199712012-07-11 Andreas Jaeger <aj@suse.de>
19972
19973 * po/fr.po: Update from translation team.
19974
71220aca
AJ
19975 * po/sv.po: Update from translation team
19976 * po/fr.po: Another update from translation team.
19977
28cfe843
AZ
199782012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19979
19980 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19981 for subnormals or multiply small sinh result by itself.
19982 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19984
6b90f981
DM
199852012-07-11 David S. Miller <davem@davemloft.net>
19986
19987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19988
c6825772
AS
199892012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19990
19991 [BZ #14347]
19992 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19993 (INTERNAL_MARK): Shift it here.
19994
7b8e0d49
MP
199952012-07-10 Marek Polacek <polacek@redhat.com>
19996
19997 [BZ #14151]
19998 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19999 libc_cv_asm_global_directive with .globl.
20000 * configure: Regenerated.
20001 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20002 with .globl.
20003 * sysdeps/i386/configure: Regenerated.
20004 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20005 with .globl.
20006 * sysdeps/x86_64/configure: Regenerated.
20007 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20008 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20009 * elf/tst-unique2mod2.c: Likewise.
20010 * elf/tst-unique2mod1.c: Likewise.
20011 * elf/tst-unique1mod2.c: Likewise.
20012 * elf/tst-unique1mod1.c: Likewise.
20013 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20014 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20015 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20016 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20017 * sysdeps/mach/sysdep.h: Likewise.
20018 * sysdeps/i386/sysdep.h: Likewise.
20019 * sysdeps/i386/i386-mcount.S: Likewise.
20020 * sysdeps/x86_64/_mcount.S: Likewise.
20021 * sysdeps/x86_64/sysdep.h: Likewise.
20022 * sysdeps/sh/_mcount.S: Likewise.
20023 * sysdeps/sh/sysdep.h: Likewise.
20024 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20025 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20026 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20027 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20028 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20029 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20030 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20031 * locale/localeinfo.h: Likewise.
20032 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20033 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20034
6c55cda3
RM
200352012-07-09 Roland McGrath <roland@hack.frob.com>
20036
20037 [BZ #14336]
20038 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20039 system".
20040 * manual/message.texi (The Uniforum approach): Likewise.
20041 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20042 (glibc iconv Implementation): Likewise.
20043
638a572e
JM
200442012-07-09 Joseph Myers <joseph@codesourcery.com>
20045
20046 [BZ #14337]
20047 * math/s_clog.c (__clog): Avoid scaling a value down where that
20048 could result in underflow.
20049 * math/s_clog10.c (__clog10): Likewise.
20050 * math/s_clog10f.c (__clog10f): Likewise.
20051 * math/s_clog10l.c (__clog10l): Likewise.
20052 * math/s_clogf.c (__clogf): Likewise.
20053 * math/s_clogl.c (__clogl): Likewise.
20054 * math/libm-test.inc (clog_test): Add more tests.
20055 (clog10_test): Likewise.
20056 * sysdeps/i386/fpu/libm-test-ulps: Update.
20057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20058
261f4859
AS
200592012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20060
0abaf3e4
AS
20061 [BZ #14283]
20062 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20063 by 7 not 8 to examine high bit of fractional part.
20064
261f4859
AS
20065 [BZ #14042]
20066 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20067 for call to __mcount_internal.
20068 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20069 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20070 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20071
f17ac40d
JM
200722012-07-06 Joseph Myers <joseph@codesourcery.com>
20073
9ad63c23
JM
20074 [BZ #14154]
20075 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20076 approximation for values within 0x1p-13f of an odd multiple of
20077 pi/4.
20078 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20079 exception. Add more tests.
20080 * sysdeps/i386/fpu/libm-test-ulps: Update.
20081
f17ac40d
JM
20082 [BZ #6778]
20083 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20084 inputs and return -1 for them. Do not check for +Inf in case not
20085 reachable for +Inf.
20086 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20087 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20088 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20089 and return -1 for them. Do not check for +Inf in case not
20090 reachable for +Inf.
20091 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20092 define.
20093 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20094 and return -1 for them. Do not check for +Inf in case not
20095 reachable for +Inf.
20096 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20097 spurious underflow.
20098 * sysdeps/i386/fpu/libm-test-ulps: Update.
20099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20100
fb21f89b
MF
201012012-07-06 Mike Frysinger <vapier@gentoo.org>
20102
20103 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20104
cdfe2c5e
JM
201052012-07-05 Joseph Myers <joseph@codesourcery.com>
20106
20107 [BZ #14157]
20108 [BZ #14331]
20109 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20110 could result in spurious underflow. Scale down values above
20111 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20112 * math/s_csqrtf.c (__csqrtf): Likewise.
20113 * math/s_csqrtl.c (__csqrtl): Likewise.
20114 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20115 spurious underflow.
20116 * sysdeps/i386/fpu/libm-test-ulps: Update.
20117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20118
70d35b67
AS
201192012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20120
704bc459
AS
20121 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20122 xopen-msg.sed.
20123 * catgets/xopen-msg.awk: New file.
20124 * catgets/xopen-msg.sed: Removed.
20125
70d35b67
AS
20126 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20127 po2text.sed.
20128 * intl/po2test.awk: New file.
20129 * intl/po2test.sed: Removed.
20130
ca61cf32
JM
201312012-07-04 Joseph Myers <joseph@codesourcery.com>
20132
20133 [BZ #14328]
20134 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20135 or multiply small sinh result by itself.
20136 * math/s_ctanf.c (__ctanf): Likewise.
20137 * math/s_ctanh.c (__ctanh): Likewise.
20138 * math/s_ctanhf.c (__ctanhf): Likewise.
20139 * math/s_ctanhl.c (__ctanhl): Likewise.
20140 * math/s_ctanl.c (__ctanl): Likewise.
20141 * math/libm-test.inc (ctan_test_tonearest): New function.
20142 (ctan_test_towardzero): Likewise.
20143 (ctan_test_downward): Likewise.
20144 (ctan_test_upward): Likewise.
20145 (ctanh_test_tonearest): Likewise.
20146 (ctanh_test_towardzero): Likewise.
20147 (ctanh_test_downward): Likewise.
20148 (ctanh_test_upward): Likewise.
20149 (main): Call these new functions.
20150 * sysdeps/i386/fpu/libm-test-ulps: Update.
20151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20152
ca48a46a
MF
201532012-07-03 Mike Frysinger <vapier@gentoo.org>
20154
20155 * .gitignore: Delete /ports entry.
20156
9d63d37d
AJ
201572012-07-03 Andreas Jaeger <aj@suse.de>
20158
20159 * po/bg.po: Update from translation team.
20160 * po/cs.po: Likewise.
20161 * po/de.po: Likewise.
20162 * po/hr.po: Likewise.
20163 * po/nl.pl: Likewise.
20164 * po/pl.po: Likewise.
20165 * po/vi.po: Likewise.
20166
370ca3d2
JM
201672012-07-03 Joseph Myers <joseph@codesourcery.com>
20168
95f5a9a8
JM
20169 * Makeconfig [!+link] (+link-before-libc): New variable.
20170 [!+link] (+link-after-libc): Likewise.
20171 [!+link] (+link-tests): Likewise.
20172 [!+link] (+link): Define in terms of $(+link-before-libc) and
20173 $(+link-after-libc).
20174 [!+link-static] (+link-static-before-libc): New variable.
20175 [!+link-static] (+link-static-after-libc): Likewise.
20176 [!+link-static] (+link-static-tests): Likewise.
20177 [!+link-static] (+link-static): Define in terms of
20178 $(+link-static-before-libc) and $(+link-static-after-libc).
20179 [build-shared] (link-libc-before-gnulib): New variable.
20180 [build-shared] (link-libc-tests): Likewise.
20181 [build-shared] (link-libc): Define in terms of
20182 $(link-libc-before-gnulib).
20183 [!build-shared] (link-libc-tests): New variable.
20184 (link-libc-static-tests): New variable.
20185 [!gnulib] (gnulib-arch): New variable.
20186 [!gnulib] (gnulib-tests): Likewise.
20187 [!gnulib] (static-gnulib-arch): Likewise.
20188 [!gnulib] (static-gnulib-tests): Likewise.
20189 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20190 Define with "=" instead of ":=".
20191 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20192 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20193 * Rules (binaries-all-notests): New variable.
20194 (binaries-all-tests): Likewise.
20195 (binaries-static-notests): Likewise.
20196 (binaries-static-tests): Likewise.
20197 (binaries-all): Define using $(binaries-all-notests) and
20198 $(binaries-all-tests).
20199 (binaries-static): Define using $(binaries-static-notests) and
20200 $(binaries-static-tests).
20201 (binaries-shared-tests): New variable.
20202 (binaries-shared-notests): Likewise.
20203 (binaries-shared): Remove variable.
20204 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20205 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20206 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20207 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20208 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20209 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20210 * elf/Makefile (sln-modules): New variable.
20211 (extra-objs): Add $(sln-modules:=.o).
20212 (ldconfig-modules): Add static-stubs.
20213 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20214 * elf/static-stubs.c: New file.
20215
7a845b2c
JM
20216 [BZ #14283]
20217 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20218 by 7 not 8 to examine high bit of fractional part. Use volatile
20219 variables when splitting into final array of floats if
20220 __FLT_EVAL_METHOD__ != 0.
20221 * math/libm-test.inc (cos_test): Add another test.
20222 (sin_test): Likewise.
20223 * sysdeps/i386/fpu/libm-test-ulps: Update.
20224
e2283f38
JM
20225 [BZ #14273]
20226 * math/libm-test.inc (cosh_test): Add more tests.
20227
370ca3d2
JM
20228 * version.h (RELEASE): Set to "development".
20229 (VERSION): Set to "2.16.90".
20230
ee9247c3
CD
202312012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20232
20233 * NEWS: Update copyright. Remove last-updated date.
20234 Mention math library bug fixes and timezone data changes.
20235 * README: Mention GNU/Hurd, x32, and HPPA support status.
20236
4648c381
TS
202372012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20238
20239 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20240
aac78a43
AJ
202412012-06-27 Andreas Jaeger <aj@suse.de>
20242
20243 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20244
ed3dbfad
AJ
202452012-06-25 Andreas Jaeger <aj@suse.de>
20246
20247 * sysdeps/s390/fpu/libm-test-ulps: Update.
20248
4d0ee855
AS
202492012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20250 Thomas Schwinge <thomas@codesourcery.com>
20251
20252 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20253 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20254 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20255 fanotify_mark.
20256
af1bce34
TS
202572012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20258
a9fa33ba
TS
20259 * sysdeps/mach/start.c: Remove file.
20260 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20261 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20262 * sysdeps/sh/init-first.c: Likewise.
20263
58f902b8
TS
20264 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20265 registers for frame unwinding purposes, add CFI directives.
20266 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20267 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20268 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20269 Likewise.
20270
1518f58b
TS
20271 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20272 __fortify_fail returning.
20273 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20274
db9b5059
TS
20275 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20276 sysdeps/sh/____longjmp_chk.S.
20277 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20278 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20279 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20280 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20281
967705fe
TS
20282 * sysdeps/sh/abort-instr.h: New file.
20283 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20284 process in case exit returns.
20285
a9def8c4
TS
20286 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20287 initialize the GOT register before use.
20288
2a649725
TS
20289 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20290 calculation of ARGC > 4.
20291
af1bce34
TS
20292 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20293 meaningful names to some local labels.
20294
d230f50a
KK
202952012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20296 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20297
20298 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20299 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20300 (__arch_compare_and_exchange_val_16_acq): Likewise.
20301 (__arch_compare_and_exchange_val_32_acq): Likewise.
20302 (atomic_exchange_and_add): Fix gUSA sequence.
20303 (atomic_add): Likewise.
20304 (atomic_add_negative): Likewise.
20305 (atomic_add_zero): Likewise.
20306 (atomic_bit_test_set): Likewise.
20307
0479b305
AS
203082012-06-22 Andreas Schwab <schwab@redhat.com>
20309
20310 [BZ #13579]
20311 * include/link.h (struct link_map): Add l_free_initfini.
20312 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20313 l_initfini.
20314 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20315 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20316 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20317 set.
20318
0e3933b9
CD
203192012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20320
20321 * configure.in: Use AC_LANG_SOURCE.
20322 * configure: Regenerate.
20323
4248b1b1
RM
203242012-06-22 Roland McGrath <roland@hack.frob.com>
20325
20326 * configure.in (libc_cv_localstatedir): New substituted variable.
20327 * configure: Regenerated.
20328 * config.make.in (localstatedir): New variable, substituted from
20329 libc_cv_localstatedir.
20330 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20331 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20332 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20333 * sysdeps/gnu/configure: Regenerated.
20334
006dd861
JL
203352012-06-21 Jeff Law <law@redhat.com>
20336
20337 [BZ #14277]
20338 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20339 free. Simplify list management for _LIBC case.
20340
79662d42
JM
203412012-06-21 Joseph Myers <joseph@codesourcery.com>
20342
b7abb4bf
JM
20343 [BZ #14273]
20344 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20345 Clear sign bit of 64-bit integer value before comparing against
20346 overflow value.
20347
79662d42
JM
20348 * sysdeps/mach/configure: Regenerated.
20349
1f150908
L
203502012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20351
20352 [BZ #14278]
20353 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20354
28363bbf
JL
203552012-06-21 Jeff Law <law@redhat.com>
20356
20357 [BZ #13882]
20358 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20359 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20360 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20361 * elf/dl-open.c (dl_open_worker): Likewise.
20362
09615db4
CD
203632012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20364
20365 * scripts/list-sources.sh: Scan PORTS for translations.
20366 * po/libc.pot: Regenerated.
20367
2174c6dd
AJ
203682012-06-21 Andreas Jaeger <aj@suse.de>
20369
20370 [BZ #12194]
20371 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20372 warning.
20373 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20374 * bits/byteswap-16.h (__bswap_16): Likewise.
20375 * bits/byteswap.h (__bswap_constant_16): Likewise.
20376
3ee947b1
L
203772012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20378
20379 [BZ #14117]
a2f34833
L
20380 * sysdeps/i386/fpu_control.h: Removed.
20381 * sysdeps/x86_64/fpu_control.h: Moved to ...
20382 * sysdeps/x86/fpu_control.h: Here.
20383
3ee947b1
L
20384 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20385 (_FPU_SETCW): Likewise.
20386
ed1825f8
L
203872012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20388
25f1282a
L
20389 [BZ #14117]
20390 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20391 * sysdeps/x86/fpu/bits/mathinline.h: This.
20392 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20393
ed1825f8
L
20394 [BZ #14050]
20395 [BZ #14117]
20396 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20397 functions if __x86_64__ is defined.
20398
36d54b74
CLT
203992012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20400
20401 * string/endian.h: Add !__ASSEMBLER__ condition for including
20402 conversion interfaces.
20403
10285c21
JM
204042012-06-15 Joseph Myers <joseph@codesourcery.com>
20405
20406 [BZ #14241]
20407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20408 of ABS(x) in calculating zero to negative powers other than odd
20409 integers.
20410 * math/libm-test.inc (pow_test): Add more tests.
20411
06c5abbd
AJ
204122012-06-15 Andreas Jaeger <aj@suse.de>
20413
20414 * manual/contrib.texi (Contributors): Update entry of Liubov
20415 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20416 Machado Filho.
20417
a3aeac40
CH
204182012-06-15 Cyril Hrubis <metan@ucw.cz>
20419
20420 * string/string.h: Add __wur to GNU version of strerror_r.
20421
49bdf4c1
L
204222012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20423
20424 [BZ #14229]
20425 * string/Makefile (tests): Add tst-strtok_r.
20426 * string/tst-strtok_r.c: New file.
20427 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20428 RAX_LP/RDX_LP on SAVE_PTR.
20429
834f9b8d
RM
204302012-06-14 Roland McGrath <roland@hack.frob.com>
20431
20432 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20433
75fa1921
JM
204342012-06-14 Joseph Myers <joseph@codesourcery.com>
20435
20436 * libm_test.inc (csqrt_test): Allow more spurious underflow
20437 exceptions.
20438 (j0_test): Likewise.
20439 (j1_test): Likewise.
20440 (y0_test): Likewise.
20441 (y1_test): Likewise.
20442
771766df
CD
204432012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20444
20445 * po/Makefile (libc.pot): Use UTF-8 charset.
20446
ceb9e56b
PP
204472012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20448
20449 [BZ #14210]
20450 Suppress sign-conversion warning from FD_SET.
20451 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20452 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20453 not unsigned long int.
20454 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20455
ddb28975
L
204562012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20457
20458 [BZ #14050]
20459 [BZ #14117]
20460 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20461 __extern_always_inline instead of __extern_inline.
20462 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20463 (__signbit): Likewise.
20464 (__signbitl): Support C++ namespace.
20465 (lrintf): New inline function.
20466 (lrint): Likewise.
20467 (llrintf): Likewise.
20468 (llrint): Likewise.
20469 (fmaxf): Likewise.
20470 (fmax): Likewise.
20471 (fminf): Likewise.
20472 (fmin): Likewise.
20473 (rint): Likewise.
20474 (rintf): Likewise.
20475 (ceil): Likewise.
20476 (ceilf): Likewise.
20477 (floor): Likewise.
20478 (floorf): Likewise.
20479 (nearbyint): Likewise.
20480 (nearbyintf): Likewise.
20481
d7b4fb26
TS
204822012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20483
20484 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20485 non-default versions.
20486
eb55f5c2
RM
204872012-06-11 Roland McGrath <roland@hack.frob.com>
20488
20489 [BZ #14218]
20490 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20491
366af02c
TS
204922012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20493
99ff6e5c
TS
20494 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20495 (FE_UPWARD, FE_DOWNWARD): Don't define.
20496 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20497 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20498
366af02c
TS
20499 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20500 reading it.
20501 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20502 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20503
793ea851
KK
205042012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20505
20506 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20507 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20508 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20509 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20510
a728a38f
L
205112012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20512
20513 [BZ #14117]
c08010c7
L
20514 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20515 * sysdeps/i386/fpu/Implies: New file.
20516 * sysdeps/x86_64/fpu/Implies: Likewise.
20517 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20518 * sysdeps/x86/fpu/bits/fenv.h: This.
20519
a728a38f
L
20520 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20521 __SSE_MATH__.
20522
6e230d11
SP
205232012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20524
20525 [BZ #14134]
20526 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20527 character 0xffff that matches the last element of the
20528 conversion table.
20529
1b671feb
AZ
205302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20531
20532 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20533 fmodl commit.
20534
6043738b
AZ
205352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20536
20537 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20538 values higher than 25.6283.
20539
34ae0b32
AZ
205402012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20541
20542 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20543 subnormal exponent extraction and add some __builtin_expect.
20544 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20545 Fix for subnormal mantissa calculation.
20546
1214ec8f
MF
205472012-06-04 Mike Frysinger <vapier@gentoo.org>
20548
20549 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20550 cpu2 is -1 and errno is not ENOSYS.
20551
f3d1f93c
L
205522012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20553
20554 [BZ #14117]
0e4a3cd7
L
20555 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20556 * sysdeps/x86/bits/string.h: This.
20557 * sysdeps/x86_64/bits/string.h: Removed.
20558
6704c645
L
20559 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20560 if not compiling for x86-64, but compiling for >= i486.
20561
48495318
L
20562 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20563 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20564
14adcbfc
L
20565 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20566 New macro from Linux kernel 3.4.0.
20567 (FP_XSTATE_MAGIC2): Likewise.
20568 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20569 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20570 (struct _fpx_sw_bytes): New struct.
20571 (struct _xsave_hdr): Likewise.
20572 (struct _ymmh_state): Likewise.
20573 (struct _xstate): Likewise.
20574
68e408ab
L
20575 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20576 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20577 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20578 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20579 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20580 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20581
f3d1f93c
L
20582 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20583 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20584 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20585 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20586 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20587 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20588
d9dc34cd
TMQMF
205892012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20590
20591 [BZ #13743]
20592 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20593 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20594 (sysdep_headers): Include sys/platform/ppc.h.
20595 * sysdeps/powerpc/test-gettimebase.c: Test for
20596 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20597 * manual/Makefile (appendices): Include platform.texi.
20598 * manual/contrib.texi (Contributors): Update @node pointers.
20599 * manual/maint.texi (Maintenance): Likewise.
20600 (Platform): New node.
20601 * manual/platform.texi: New file. Document the new features.
20602
4af3879c
SP
206032012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20604 Jakub Jelinek <jakub@redhat.com>
20605
20606 [BZ #14188]
20607 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20608 where __builtin_expect is unavailable.
20609
2fd6ff13
DM
206102012-06-03 David S. Miller <davem@davemloft.net>
20611
20612 * stdlib/longlong.h: Updated from GCC.
20613
173f7220
AS
206142012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20615
20616 [BZ #14042]
20617 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20618 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20619 __mcount_internal.
20620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20621 (GLIBC_2.16): Likewise.
20622
f34a1c6f
L
206232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20624
20625 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20626
88a4576f
JM
206272012-06-01 Joseph Myers <joseph@codesourcery.com>
20628
ea32bcdd
JM
20629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20630 (default-abi): New variable.
20631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20632 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20633 variable.
20634 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20635 Likewise.
20636 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20637 Likewise.
20638 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20639 Likewise.
20640
88a4576f
JM
20641 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20642 definition. Document in comment.
20643
402fe938
DM
206442012-06-01 David S. Miller <davem@davemloft.net>
20645
20646 * stdlib/longlong.h: Updated from GCC.
20647
3553723f
L
206482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20649
20650 [BZ #14117]
3bd872c4
L
20651 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20652 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20653 sys/debugreg.h sys/io.h here.
20654 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20655 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20656 sys/io.h.
20657 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20658 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20659 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20660 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20661 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20662 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20663
3553723f
L
20664 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20665 Define only if __x86_64__ is defined.
20666
4842e4fe
JM
206672012-06-01 Joseph Myers <joseph@codesourcery.com>
20668
c5bfe3d5
JM
20669 [BZ #14048]
20670 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20671 Use int64_t for variable i.
20672 * math/libm-test.inc (fmod_test): Add more tests.
20673
4842e4fe
JM
20674 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20675 z computation is not scheduled after fetestexcept.
20676 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20677 Use math_force_eval instead of asm to ensure calculation scheduled
20678 before exception test.
20679 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20680 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20681
efb73488
AJ
206822012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20683
20684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20685 computation is not scheduled after fetestexcept.
20686
29bcce7c
L
206872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20688
20689 [BZ #14117]
20690 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20691 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20692
73a68f94
AZ
206932012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20694
20695 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20696 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20697
67b6df78
L
206982012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20699
edf2933a 20700 [BZ #14117]
ebc64a18
L
20701 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20702 <bits/wordsize.h>.
20703 (__WCHAR_MIN): Support __WORDSIZE == 64.
20704 (__WCHAR_MAX): Likewise.
20705
edf2933a
L
20706 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20707 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20708
57c6cf40
L
20709 [BZ #14183]
20710 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20711 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20712
67b6df78 20713 [BZ #14117]
8eb6281e
L
20714 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20715 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20716
aac639f4
L
20717 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20718 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20719
67b6df78
L
20720 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20721 Defined to 1 if __x86_64__ isn't defined.
20722 (_STAT_VER_LINUX_OLD): New.
20723 (st_atime): Remove duplicate.
20724 (st_mtime): Likewise.
20725 (st_ctime): Likewise.
20726
1c2cfe81
DM
207272012-05-31 David S. Miller <davem@davemloft.net>
20728
20729 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20730 entries.
20731
5be8418c
AS
207322012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20733
e7725326
AS
20734 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20735 gen-libm-test.pl.
20736
5be8418c
AS
20737 [BZ #14132]
20738 * elf/dl-reloc.c: Include <_itoa.h>.
20739 (_dl_reloc_bad_type): Remove use of INTUSE.
20740 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20741 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20742 * stdio-common/psiginfo.c (psiginfo): Likewise.
20743 * stdio-common/psignal.c (psignal): Likewise.
20744 * string/strsignal.c (strsignal): Likewise.
20745 * include/signal.h (_sys_siglist): Declare hidden proto.
20746 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20747 INTVARDEF with libc_hidden_data_def.
20748 * stdio-common/itoa-udigits.c: Likewise.
20749 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20750 (_itoa_lower_digits_internal): Remove declaration.
20751 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20752 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20753 (_sys_sigabbrev_internal): Remove aliases.
20754 (_sys_siglist): Define hidden alias.
20755
507352f1
MT
207562012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20757
20758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20759 bits/sysctl.h.
20760
42bbb1c3
L
207612012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20762
20763 [BZ #14117]
6bd784b6
L
20764 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20765 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20766
8bca20f0
L
20767 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20768 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20769 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20770 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20771 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20772 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20773
f9e890a9
L
20774 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20775 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20776 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20777
471101a1
L
20778 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20779 with __addr.
20780 (insw): Likewise.
20781 (insl): Likewise.
20782 (outsb): Likewise.
20783 (outsw): Likewise.
20784 (outsl): Likewise.
20785
6451c862
L
20786 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20787 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20788 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20789
a254b8c9
L
20790 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20791 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20792 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20793 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20794 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20795 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20796
b8dfdd92
L
20797 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20798 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20799
578cd270
L
20800 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20801 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20802
de662f5f
L
20803 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20804 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20805 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20806
25653439
L
20807 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20808 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20809 to ...
20810 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20811
6bad24a0
L
20812 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20813 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20814 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20815
42bbb1c3
L
20816 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20817 for x86-64.
20818 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20819
2d10d547
JM
208202012-05-31 Joseph Myers <joseph@codesourcery.com>
20821
20822 * math/math.h (M_El): Use two more decimal places.
20823 (M_LOG2El): Likewise.
20824 (M_LOG10El): Likewise.
20825 (M_LN2l): Likewise.
20826 (M_LN10l): Likewise.
20827 (M_PIl): Likewise.
20828 (M_PI_2l): Likewise.
20829 (M_PI_4l): Likewise.
20830 (M_1_PIl): Likewise.
20831 (M_2_PIl): Likewise.
20832 (M_2_SQRTPIl): Likewise.
20833 (M_SQRT2l): Likewise.
20834 (M_SQRT1_2l): Likewise.
20835
f230c29b
DM
208362012-05-31 David S. Miller <davem@davemloft.net>
20837
20838 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20839 values between float registers.
20840 * sysdeps/sparc/sparc64/memset.S: Likewise.
20841 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20842
fed806c3
MF
208432012-05-31 Mike Frysinger <vapier@gentoo.org>
20844
20845 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20846 -D_FORTIFY_SOURCE=1.
20847 (CPPFLAGS-tst-longjmp_chk.c): Define.
20848 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20849 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20850 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20851 CFLAGS-tst-wchar-h.c.
20852
30917259
MP
208532012-05-31 Marek Polacek <polacek@redhat.com>
20854
20855 [BZ #14132]
20856 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20857 __endmntent_internal): Remove declaration.
20858 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20859 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20860 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20861
1c58d5dc
DM
208622012-05-30 David S. Miller <davem@davemloft.net>
20863
20864 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20865 (___Q_simulate_exceptions): Use real FP ops rather than writing
20866 into the %fsr.
20867 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20868 Likewise.
20869
7dc00e0d
L
208702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20871
20872 [BZ #14117]
0bd53985
L
20873 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20874 * sysdeps/x86/bits/xtitypes.h: This.
20875
3a257e66
L
20876 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20877 * sysdeps/x86/bits/wordsize.h: This.
20878
62f62904
L
20879 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20880 * sysdeps/x86/bits/huge_vall.h: This.
20881
404fe9d9
L
20882 * sysdeps/i386/bits/select.h: Removed.
20883 * sysdeps/x86_64/bits/select.h: Renamed to ...
20884 * sysdeps/x86/bits/select.h: This.
20885
d48d0446
L
20886 * sysdeps/i386/bits/setjmp.h: Removed.
20887 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20888 * sysdeps/x86/bits/setjmp.h: This.
20889
7dc00e0d
L
20890 * sysdeps/i386/bits/mathdef.h: Removed.
20891 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20892 * sysdeps/x86/bits/mathdef.h: This.
20893
03277f8f
AS
208942012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20895
20896 [BZ #14132]
20897 * include/sys/socket.h (__connect_internal)
20898 (__libc_sa_len_internal): Remove declaration.
20899 (__connect, __libc_sa_len): Declare hidden_proto.
20900 (SA_LEN): Remove use of INTUSE.
20901 * socket/connect.c: Add libc_hidden_def.
20902 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20903 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20904 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20905 alias.
20906 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20907 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20908 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20909 of adding _internal alias.
20910
13764867
L
209112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20912
20913 [BZ #14117]
6bd97696
L
20914 * sysdeps/i386/bits/link.h: Removed.
20915 * sysdeps/i386/bits/linkmap.h: Likewise.
20916 * sysdeps/x86_64/bits/link.h: Renamed to ...
20917 * sysdeps/x86/bits/link.h: This.
20918 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20919 * sysdeps/x86/bits/linkmap.h: This.
20920
f726f0bb
L
20921 * sysdeps/i386/bits/endian.h: Removed.
20922 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20923 * sysdeps/x86/bits/endian.h: This.
20924
13764867
L
20925 * sysdeps/i386/bits/byteswap.h: Removed.
20926 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20927 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20928 * sysdeps/x86/bits/byteswap.h: This.
20929 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20930 * sysdeps/x86/bits/byteswap-16.h: This.
20931 * sysdeps/i386/Implies: Add x86.
20932 * sysdeps/x86_64/Implies: Likewise.
20933
ae251b0b
DM
209342012-05-30 David S. Miller <davem@davemloft.net>
20935
20936 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20937 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20938 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20939 (FP_TRAPPING_EXCEPTIONS): Define.
20940 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20941 (FP_TRAPPING_EXCEPTIONS): Define.
20942 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20943 subnormals only when inexact has been signalled or underflow
20944 exceptions are enabled.
20945 (_FP_PACK_CANONICAL): Likewise.
20946
d5c90867
L
209472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20948
20949 [BZ #14183]
20950 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20951 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20952
63f1549e
RH
209532012-05-30 Richard Henderson <rth@twiddle.net>
20954
8d8f2279
RH
20955 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20956 with #ifndef NOT_IN_libc.
20957
63f1549e
RH
20958 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20959 marked to avoid plt entry.
20960
0ab0291b
L
209612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20962
20963 [BZ #14112]
20964 * Makeconfig (default-abi): New macro.
20965 (abi-includes): Likewise.
20966 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20967 $(abi-$(default-abi)-lib-soname) for soname if defined.
20968 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20969 abi-variants.
20970 * Makefile (installed-stubs): Likewise.
20971 * include/stubs-biarch.h: Removed.
20972 * scripts/lib-names.awk: Only handle one library at a time.
20973 * scripts/soversions.awk: Remove WORDSIZE support.
20974 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20975 entries.
20976 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20977 Removed.
20978 (syscall-list-default-condition): Likewise.
20979 (syscall-list-default-condition): Likewise.
20980 (syscall-list-includes): Likewise.
20981 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20982 syscall-list-* with abi-*. Handle undefined abi-variants.
20983 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20984 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20985 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20986 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20987 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20988 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20989 Removed.
20990 (syscall-list-32-options): Likewise.
20991 (syscall-list-32-condition): Likewise.
20992 (syscall-list-64-options): Likewise.
20993 (syscall-list-64-condition): Likewise.
20994 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20995 macro.
20996 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20997 Renamed to ...
20998 (abi-*): This.
20999 (abi-64-ld-soname): New macro.
21000 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21001 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21002 Renamed to ...
21003 (abi-*): This.
21004 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21005 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21006
4da0431d
JM
210072012-05-30 Joseph Myers <joseph@codesourcery.com>
21008
3a85279c
JM
21009 * sysdeps/unix/sysv/linux/kernel-features.h
21010 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21011 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21012 include <kernel-features.h>.
21013 [!__NR_ftruncate64]: Remove conditional code.
21014 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21015 [__NR_ftruncate64]: Make code unconditional.
21016 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21017 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21018 include <kernel-features.h>.
21019 [!__NR_ftruncate64]: Remove conditional code.
21020 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21021 [__NR_ftruncate64]: Make code unconditional.
21022 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21024 include <kernel-features.h>.
21025 [!__NR_ftruncate64]: Remove conditional code.
21026 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21027 [__NR_ftruncate64]: Make code unconditional.
21028 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21030 include <kernel-features.h>.
21031 [!__NR_ftruncate64]: Remove conditional code.
21032 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21033 [__NR_ftruncate64]: Make code unconditional.
21034 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21035
4da0431d
JM
21036 * configure.in (libc_cv_fpie): Weaken to a compile test using
21037 LIBC_TRY_CC_OPTION.
21038 * configure: Regenerated.
21039
11ef492c
AK
210402012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21041
21042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21046 Refreshed.
21047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21053 Refreshed.
21054
d66ef399
DM
210552012-05-27 David S. Miller <davem@davemloft.net>
21056
21057 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21058 (___Q_zero): New.
21059 (__Q_simulate_exceptions): Return void. Change to simulate
21060 exceptions by writing into the %fsr.
21061 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21062 (__Qp_handle_exceptions): Likewise.
21063 (numbers): Delete.
21064 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21065 __Qp_handle_exceptions.
21066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21067 __Qp_handle_exceptions.
21068 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21069 as unused and give dummy FP_RND_NEAREST initializer.
21070 (FP_INHIBIT_RESULTS): Define.
21071 (___Q_simulate_exceptions): Update declaration.
21072 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21073 formatting.
21074 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21075 as unused and give dummy FP_RND_NEAREST initializer.
21076 (__Qp_handle_exceptions): Update declaration.
21077 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21078 formatting.
21079
04fb54b5
TS
210802012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21081
21082 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21083 the temporary FPU control word.
21084 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21085 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21086 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21087 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21088 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21089 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21090 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21091 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21092 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21093 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21094 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21095
3f99608f
KK
210962012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21097
21098 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21099 fields.
21100
65a4de4e
CLT
211012012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21102
21103 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21104 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21105 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21106 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21107 Likewise.
21108 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21109 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21110 Likewise.
21111
15749d40
UD
211122012-05-27 Ulrich Drepper <drepper@gmail.com>
21113
21114 * po/h.po: Update from translation team.
21115
25dbcb27
AS
211162012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21117
3d3f8e55
AS
21118 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21119
25dbcb27
AS
21120 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21121 handling of denormals.
21122 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21123 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21124 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21125 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21126 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21128 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21129 Likewise.
21130
7ad47a80 211312012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21132
21133 [BZ #14152]
21134 * math/libm-test.inc (fma_test): Don't always expect underflow
21135 exception.
21136
9c6ea9fa
SP
211372012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21138
21139 [BZ #12416]
21140 * elf/tst-execstack.c: Include stackinfo.h.
21141 (do_test): Adjust test case to ensure that pthread_getattr_np
21142 behaviour remains the same after marking stack executable.
21143
a8239222
JM
211442012-05-25 Joseph Myers <joseph@codesourcery.com>
21145
21146 * sysdeps/unix/sysv/linux/kernel-features.h
21147 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21148 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21149 kernel-features.h.
21150 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21151 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21152 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21153 kernel-features.h.
21154 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21155 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21156
918b5606
L
211572012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21158
21159 * configure.in: Define the default includes to being none.
21160 * configure: Regenerated.
21161
3a097cc7
RM
211622012-05-25 Roland McGrath <roland@hack.frob.com>
21163
8422c9a5
RM
21164 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21165 * sysdeps/x86_64/setjmp.S: Likewise.
21166 * sysdeps/i386/bsd-setjmp.S: Likewise.
21167 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21168 * sysdeps/i386/setjmp.S: Likewise.
21169 * sysdeps/i386/__longjmp.S: Likewise.
21170 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21171 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21172
3a097cc7
RM
21173 * include/stap-probe.h: New file.
21174 * configure.in: Handle --enable-systemtap.
21175 * configure: Regenerated.
21176 * config.h.in (USE_STAP_PROBE): New #undef.
21177 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21178 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21179 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21180
21708942
JM
211812012-05-25 Joseph Myers <joseph@codesourcery.com>
21182
21183 [BZ #13717]
21184 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21185 to 2.4.0 where earlier.
21186 * sysdeps/unix/sysv/linux/configure: Regenerated.
21187 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21188 <kernel-features.h>.
21189 [__ASSUME_32BITUIDS]: Make code unconditional.
21190 [!__ASSUME_32BITUIDS]: Remove conditional code.
21191 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21192 <kernel-features.h>.
21193 [__ASSUME_32BITUIDS]: Make code unconditional.
21194 [!__ASSUME_32BITUIDS]: Remove conditional code.
21195 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21196 [__ASSUME_32BITUIDS]: Make code unconditional.
21197 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21198 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21199 <kernel-features.h>.
21200 [__ASSUME_32BITUIDS]: Make code unconditional.
21201 [!__ASSUME_32BITUIDS]: Remove conditional code.
21202 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21203 <kernel-features.h>.
21204 [__ASSUME_32BITUIDS]: Make code unconditional.
21205 [!__ASSUME_32BITUIDS]: Remove conditional code.
21206 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21207 <kernel-features.h>.
21208 [__ASSUME_32BITUIDS]: Make code unconditional.
21209 [!__ASSUME_32BITUIDS]: Remove conditional code.
21210 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21211 <kernel-features.h>.
21212 [__ASSUME_32BITUIDS]: Make code unconditional.
21213 [!__ASSUME_32BITUIDS]: Remove conditional code.
21214 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21215 <kernel-features.h>.
21216 [__ASSUME_32BITUIDS]: Make code unconditional.
21217 [!__ASSUME_32BITUIDS]: Remove conditional code.
21218 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21219 <kernel-features.h>.
21220 [__ASSUME_32BITUIDS]: Make code unconditional.
21221 [!__ASSUME_32BITUIDS]: Remove conditional code.
21222 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21223 <kernel-features.h>.
21224 [__ASSUME_32BITUIDS]: Make code unconditional.
21225 [!__ASSUME_32BITUIDS]: Remove conditional code.
21226 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21227 <kernel-features.h>.
21228 [__ASSUME_32BITUIDS]: Make code unconditional.
21229 [!__ASSUME_32BITUIDS]: Remove conditional code.
21230 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21231 <kernel-features.h>.
21232 [__ASSUME_32BITUIDS]: Make code unconditional.
21233 [!__ASSUME_32BITUIDS]: Remove conditional code.
21234 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21235 <kernel-features.h>.
21236 [__ASSUME_32BITUIDS]: Make code unconditional.
21237 [!__ASSUME_32BITUIDS]: Remove conditional code.
21238 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21239 <kernel-features.h>.
21240 [__NR_setresgid] (__setresgid): Do not declare.
21241 [__ASSUME_32BITUIDS]: Make code unconditional.
21242 [!__ASSUME_32BITUIDS]: Remove conditional code.
21243 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21244 <kernel-features.h>.
21245 [__NR_setresuid] (__setresuid): Do not declare.
21246 [__ASSUME_32BITUIDS]: Make code unconditional.
21247 [!__ASSUME_32BITUIDS]: Remove conditional code.
21248 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21249 <kernel-features.h>.
21250 [__ASSUME_32BITUIDS]: Make code unconditional.
21251 [!__ASSUME_32BITUIDS]: Remove conditional code.
21252 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21253 <kernel-features.h>.
21254 [__ASSUME_32BITUIDS]: Make code unconditional.
21255 [!__ASSUME_32BITUIDS]: Remove conditional code.
21256 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21257 <kernel-features.h>.
21258 [__ASSUME_32BITUIDS]: Make code unconditional.
21259 [!__ASSUME_32BITUIDS]: Remove conditional code.
21260 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21261 <kernel-features.h>.
21262 [__ASSUME_32BITUIDS]: Make code unconditional.
21263 [!__ASSUME_32BITUIDS]: Remove conditional code.
21264 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21265 <kernel-features.h>.
21266 [__ASSUME_32BITUIDS]: Make code unconditional.
21267 [!__ASSUME_32BITUIDS]: Remove conditional code.
21268 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21269 <kernel-features.h>.
21270 [__ASSUME_32BITUIDS]: Make code unconditional.
21271 [!__ASSUME_32BITUIDS]: Remove conditional code.
21272 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21273 <kernel-features.h>.
21274 [__ASSUME_32BITUIDS]: Make code unconditional.
21275 [!__ASSUME_32BITUIDS]: Remove conditional code.
21276 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21277 <kernel-features.h>.
21278 [__ASSUME_32BITUIDS]: Make code unconditional.
21279 [!__ASSUME_32BITUIDS]: Remove conditional code.
21280 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21281 <kernel-features.h>.
21282 [__ASSUME_32BITUIDS]: Make code unconditional.
21283 [!__ASSUME_32BITUIDS]: Remove conditional code.
21284 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21285 <kernel-features.h>.
21286 [__ASSUME_32BITUIDS]: Make code unconditional.
21287 [!__ASSUME_32BITUIDS]: Remove conditional code.
21288 * sysdeps/unix/sysv/linux/kernel-features.h
21289 (__ASSUME_SETRESUID_SYSCALL): Remove.
21290 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21291 (__ASSUME_32BITUIDS): Likewise.
21292 (__ASSUME_LDT_WORKS): Likewise.
21293 (__ASSUME_O_DIRECTORY): Likewise.
21294 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21295 architecture but not kernel version.
21296 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21297 (__ASSUME_MMAP2_SYSCALL): Likewise.
21298 (__ASSUME_STAT64_SYSCALL): Likewise.
21299 (__ASSUME_IPC64): Likewise.
21300 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21301 <kernel-features.h>.
21302 [__ASSUME_32BITUIDS]: Make code unconditional.
21303 [!__ASSUME_32BITUIDS]: Remove conditional code.
21304 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21305 <kernel-features.h>.
21306 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21307 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21308 132096]: Remove conditional code.
21309 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21310 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21311 <kernel-features.h>.
21312 [__ASSUME_32BITUIDS]: Make code unconditional.
21313 [!__ASSUME_32BITUIDS]: Remove conditional code.
21314 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21315 <kernel-features.h>.
21316 [__ASSUME_32BITUIDS]: Make code unconditional.
21317 [!__ASSUME_32BITUIDS]: Remove conditional code.
21318 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21319 <kernel-features.h>.
21320 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21321 unconditional.
21322 (__setresgid): Do not declare.
21323 [__ASSUME_32BITUIDS]: Make code unconditional.
21324 [!__ASSUME_32BITUIDS]: Remove conditional code.
21325 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21326 <kernel-features.h>.
21327 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21328 unconditional.
21329 (__setresuid): Do not declare.
21330 [__ASSUME_32BITUIDS]: Make code unconditional.
21331 [!__ASSUME_32BITUIDS]: Remove conditional code.
21332 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21333 <kernel-features.h>.
21334 [__ASSUME_32BITUIDS]: Make code unconditional.
21335 [!__ASSUME_32BITUIDS]: Remove conditional code.
21336 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21337 <kernel-features.h>.
21338 [__ASSUME_32BITUIDS]: Make code unconditional.
21339 [!__ASSUME_32BITUIDS]: Remove conditional code.
21340
a386f1cc
RH
213412012-05-25 Richard Henderson <rth@twiddle.net>
21342
21343 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21344 dl_hwcap to ifunc resolver.
21345 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21346 elf_ifunc_invoke.
21347 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21348 dl_hwcap to ifunc resolver.
21349 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21350
b6550497
JM
213512012-05-24 Joseph Myers <joseph@codesourcery.com>
21352
21353 [BZ #14153]
21354 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21355 for |x| <= 2**-26, not 2**-57.
21356 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21357 exception.
21358
b0bc23a1
JL
213592012-05-24 Jeff Law <law@redhat.com>
21360
21361 * stdio-common/Makefile (tests): Add bug25.
21362 * stdio-common/bug25.c: New test.
21363
347c92e9
L
213642012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21365
21366 [BZ #13576]
21367 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21368 multiple of MALLOC_ALIGNMENT in size.
21369 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21370
6bcc8b3f
JM
213712012-05-24 Joseph Myers <joseph@codesourcery.com>
21372
21373 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21374 Require >= 256.
21375 (FILENAME_MAX): Use macro-int-constant.
21376 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21377 (_IOFBF): Use macro-int-constant.
21378 (_IOLBF): Likewise.
21379 (_IONBF): Likewise.
21380 (SEEK_CUR): Likewise.
21381 (SEEK_END): Likewise.
21382 (SEEK_SET): Likewise.
21383 (TMP_MAX): Likewise.
21384 (EOF): Use macro-int-constant. Require < 0.
21385 (NULL): Use macro-constant. Require == 0.
21386 (stdin): Require type to be FILE *.
21387 (stdout): Likewise.
21388 (stderr): Likewise.
21389 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21390 macro-int-constant.
21391 (EXIT_SUCCESS): Likewise.
21392 (NULL): Use macro-constant. Require == 0.
21393 (RAND_MAX): Use macro-int-constant.
21394 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21395 [C99-based standards] (strtof): Require function.
21396 [C99-based standards] (strtold): Likewise.
21397 [C99-based standards] (strtoll): Likewise.
21398 [C99-based standards] (strtoull): Likewise.
21399 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21400 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21401 [ISO || ISO99 || ISO11] (math.h): Likewise.
21402 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21403 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21404 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21405
d18ea0c5
AS
214062012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21407
21408 [BZ #14132]
56d25bb8
AS
21409 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21410 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21411 * intl/dgettext.c (DCGETTEXT): Likewise.
21412 * intl/gettext.c (DCGETTEXT): Likewise.
21413 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21414 * posix/regex_internal.h (gettext): Likewise.
21415 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21416 Remove declaration.
21417 * include/argz.h (__argz_count_internal)
21418 (__argz_stringify_internal): Remove declaration.
21419 (__argz_count, __argz_stringify): Declare hidden proto.
21420 * intl/dcgettext.c: Remove use of INTDEF.
21421 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21422 * string/argz-stringify.c: Likewise.
21423 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21424 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21425 Declare hidden proto.
d18ea0c5
AS
21426 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21427 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21428 Declare hidden proto.
21429 * include/stdio.h (__asprintf_internal): Don't declare.
21430 (__asprintf): Don't define as macro. Declare hidden proto.
21431 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21432 (__fsetlocking): Declare hidden proto.
21433 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21434 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21435 hidden proto.
21436 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21437 (_IO_setlinebuf): Remove use of INTUSE.
21438 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21439 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21440 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21441 Remove declaration.
21442 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21443 (_IO_do_flush): Remove use of INTUSE.
21444 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21445 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21446 (_IO_adjust_column, _IO_least_wmarker)
21447 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21448 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21449 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21450 (_IO_default_doallocate, _IO_wdefault_doallocate)
21451 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21452 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21453 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21454 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21455 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21456 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21457 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21458 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21459 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21460 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21461 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21462 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21463 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21464 proto.
21465 (_IO_flush_all_internal, _IO_adjust_column_internal)
21466 (_IO_default_uflow_internal, _IO_default_finish_internal)
21467 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21468 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21469 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21470 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21471 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21472 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21473 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21474 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21475 (_IO_file_close_internal, _IO_file_close_it_internal)
21476 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21477 (_IO_file_init_internal, _IO_file_attach_internal)
21478 (_IO_file_fopen_internal, _IO_file_read_internal)
21479 (_IO_file_sync_internal, _IO_file_seek_internal)
21480 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21481 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21482 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21483 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21484 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21485 (_IO_list_all_internal, _IO_link_in_internal)
21486 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21487 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21488 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21489 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21490 (_IO_do_write_internal, _IO_padn_internal)
21491 (_IO_getline_info_internal, _IO_getline_internal)
21492 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21493 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21494 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21495 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21496 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21497 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21498 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21499 with libc_hidden_ver, remove use of INTUSE.
21500 * libio/genops.c: Likewise.
21501 * libio/freopen.c: Likewise.
21502 * libio/freopen64.c: Likewise.
21503 * libio/iofclose.c: Likewise.
21504 * libio/iofdopen.c: Likewise.
21505 * libio/iofflush.c: Likewise.
21506 * libio/iofflush_u.c: Likewise.
21507 * libio/iofgets.c: Likewise.
21508 * libio/iofgets_u.c: Likewise.
21509 * libio/iofopen.c: Likewise.
21510 * libio/iofopncook.c: Likewise.
21511 * libio/iofread.c: Likewise.
21512 * libio/iofread_u.c: Likewise.
21513 * libio/ioftell.c: Likewise.
21514 * libio/iofwrite.c: Likewise.
21515 * libio/iogetline.c: Likewise.
21516 * libio/iogets.c: Likewise.
21517 * libio/iogetwline.c: Likewise.
21518 * libio/iopadn.c: Likewise.
21519 * libio/iopopen.c: Likewise.
21520 * libio/ioseekoff.c: Likewise.
21521 * libio/ioseekpos.c: Likewise.
21522 * libio/iosetbuffer.c: Likewise.
21523 * libio/iosetvbuf.c: Likewise.
21524 * libio/ioungetc.c: Likewise.
21525 * libio/ioungetwc.c: Likewise.
21526 * libio/iovdprintf.c: Likewise.
21527 * libio/iovsprintf.c: Likewise.
21528 * libio/iovsscanf.c: Likewise.
21529 * libio/memstream.c: Likewise.
21530 * libio/obprintf.c: Likewise.
21531 * libio/oldfileops.c: Likewise.
21532 * libio/oldiofclose.c: Likewise.
21533 * libio/oldiofdopen.c: Likewise.
21534 * libio/oldiofopen.c: Likewise.
21535 * libio/oldiopopen.c: Likewise.
21536 * libio/oldstdfiles.c: Likewise.
21537 * libio/putc.c: Likewise.
21538 * libio/setbuf.c: Likewise.
21539 * libio/setlinebuf.c: Likewise.
21540 * libio/stdfiles.c: Likewise.
21541 * libio/strops.c: Likewise.
21542 * libio/vasprintf.c: Likewise.
21543 * libio/vscanf.c: Likewise.
21544 * libio/vsnprintf.c: Likewise.
21545 * libio/vswprintf.c: Likewise.
21546 * libio/wfiledoalloc.c: Likewise.
21547 * libio/wfileops.c: Likewise.
21548 * libio/wgenops.c: Likewise.
21549 * libio/wmemstream.c: Likewise.
21550 * libio/wstrops.c: Likewise.
21551 * libio/__fpurge.c: Likewise.
21552 * libio/__fsetlocking.c: Likewise.
21553 * assert/assert.c: Likewise.
21554 * debug/fgets_chk.c: Likewise.
21555 * debug/fgets_u_chk.c: Likewise.
21556 * debug/fread_chk.c: Likewise.
21557 * debug/fread_u_chk.c: Likewise.
21558 * debug/gets_chk.c: Likewise.
21559 * debug/obprintf_chk.c: Likewise.
21560 * debug/vasprintf_chk.c: Likewise.
21561 * debug/vdprintf_chk.c: Likewise.
21562 * debug/vsnprintf_chk.c: Likewise.
21563 * debug/vsprintf_chk.c: Likewise.
21564 * malloc/mtrace.c: Likewise.
21565 * misc/error.c: Likewise.
21566 * misc/syslog.c: Likewise.
21567 * stdio-common/asprintf.c: Likewise.
21568 * stdio-common/fxprintf.c: Likewise.
21569 * stdio-common/getw.c: Likewise.
21570 * stdio-common/isoc99_fscanf.c: Likewise.
21571 * stdio-common/isoc99_scanf.c: Likewise.
21572 * stdio-common/isoc99_vfscanf.c: Likewise.
21573 * stdio-common/isoc99_vscanf.c: Likewise.
21574 * stdio-common/isoc99_vsscanf.c: Likewise.
21575 * stdio-common/printf-prs.c: Likewise.
21576 * stdio-common/printf_fp.c: Likewise.
21577 * stdio-common/printf_fphex.c: Likewise.
21578 * stdio-common/printf_size.c: Likewise.
21579 * stdio-common/putw.c: Likewise.
21580 * stdio-common/scanf.c: Likewise.
21581 * stdio-common/sprintf.c: Likewise.
21582 * stdio-common/tmpfile.c: Likewise.
21583 * stdio-common/vfprintf.c: Likewise.
21584 * stdio-common/vfscanf.c: Likewise.
21585 * stdlib/strfmon_l.c: Likewise.
21586 * sunrpc/openchild.c: Likewise.
21587 * sunrpc/xdr_stdio.c: Likewise.
21588 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21589 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21590
d6c33fda
RM
215912012-05-24 Roland McGrath <roland@hack.frob.com>
21592
c1487492
RM
21593 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21594
21595 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21596 in the third column, to generate for the shared library an IFUNC
21597 that uses _dl_vdso_vsym.
21598 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21599 * Makeconfig (object-suffixes-noshared): New variable.
21600
21601 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21602 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21603 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21604 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21605
d6c33fda
RM
21606 [BZ #14132]
21607 * include/sys/time.h (__gettimeofday): Remove macro.
21608 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21609 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21610 Remove INTDEF.
21611 (__gettimeofday): Add libc_hidden_def.
21612 (gettimeofday): Add libc_hidden_weak.
21613 * sysdeps/mach/gettimeofday.c: Likewise.
21614 * sysdeps/posix/gettimeofday.c: Likewise.
21615 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21616 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21618 (__gettimeofday_internal): Remove strong_alias.
21619 (__gettimeofday): Add libc_hidden_def.
21620 (gettimeofday): Add libc_hidden_weak.
21621 * sysdeps/unix/syscalls.list (gettimeofday):
21622 Remove __gettimeofday_internal alias.
21623
b5a2bbe6
L
216242012-05-24 Daniel Jacobowitz <drow@false.org>
21625 H.J. Lu <hongjiu.lu@intel.com>
21626
21627 [BZ #12495]
21628 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21629 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21630 (largebin_index_32_big): New.
21631 (largebin_index): Use it for 16-byte alignment.
21632 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21633 correction with front_misalign.
21634
cfba4fda
L
216352012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21636
7f907421
L
21637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21639 Likewise.
21640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21641 Likewise.
21642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21643 Likewise.
21644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21645 Likewise.
21646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21647 Likewise.
21648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21649 Likewise.
21650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21651 Likewise.
21652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21653 Likewise.
21654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21655 Likewise.
21656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21657 Likewise.
21658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21659 Likewise.
21660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21661 Likewise.
21662
cfba4fda
L
21663 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21664 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21665
80bad0cc
JM
216662012-05-24 Joseph Myers <joseph@codesourcery.com>
21667
7a25eb06
JM
21668 [BZ #10846]
21669 [BZ #14036]
21670 * math/libm-test.inc (exp_test): Add test from bug 14036.
21671 (pow_test): Add test from bug 10846.
21672
795405f9
JM
21673 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21674 and other flags.
21675 (special_function): Do not include flags in test name.
21676 (parse_args): Likewise.
21677 * sysdeps/i386/fpu/libm-test-ulps: Update.
21678 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21679 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21680 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21682
80bad0cc
JM
21683 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21684 exceptions.
21685 * math/libm-test.inc ("Philosophy"): Update comment about
21686 exception testing.
21687 (UNDERFLOW_EXCEPTION): New macro.
21688 (UNDERFLOW_EXCEPTION_OK): Likewise.
21689 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21690 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21691 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21692 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21693 (INVALID_EXCEPTION_OK): Update value.
21694 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21695 (OVERFLOW_EXCEPTION_OK): Likewise.
21696 (IGNORE_ZERO_INF_SIGN): Likewise.
21697 (test_exceptions): Handle underflow exceptions.
21698 (acos_test): Update for underflow exception expectations.
21699 (cexp_test): Likewise.
21700 (clog_test): Likewise.
21701 (clog10_test): Likewise.
21702 (csqrt_test): Likewise.
21703 (ctan_test): Likewise.
21704 (ctanh_test): Likewise.
21705 (exp_test): Likewise.
21706 (exp10_test): Likewise.
21707 (exp2_test): Likewise.
21708 (expm1_test): Likewise.
21709 (fma_test): Likewise.
21710 (j0_test): Likewise.
21711 (jn_test): Likewise.
21712 (nexttoward_test): Likewise.
21713 (pow_test): Likewise.
21714 (scalbn_test): Likewise.
21715 (scalbln_test): Likewise.
21716 (tan_test): Likewise.
21717 (y1_test): Likewise.
21718 * sysdeps/i386/fpu/libm-test-ulps: Update.
21719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21720
9e0e3d0b
DM
217212012-05-23 David S. Miller <davem@davemloft.net>
21722
21723 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21724 (__libc_sigaction): Remove unused local variables.
21725
ccd0a08f
L
217262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21727
21728 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21729
62bdf9a6
PE
217302012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21731
f8591f80
PE
21732 mktime: avoid signed integer overflow
21733 * time/mktime.c (__mktime_internal): Do not mishandle the case
21734 where diff == INT_MIN.
21735
94c7d826
PE
21736 mktime: simplify computation of average
21737 * time/mktime.c (ranged_convert): Use new time_t_avg function
21738 instead of rolling our own (probably-slower) code.
21739
ce73d683
PE
21740 mktime: do not assume signed right shift propagates sign bit
21741 * time/mktime.c (isdst_differ): New static function.
21742 (__mktime_internal): No need to normalize tm_isdst now.
21743 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21744 tm_isdst values.
21745
72a22e59
PE
21746 mktime: merge another wrapv change from gnulib
21747 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21748 from some compilers.
21749
68605433
PE
21750 mktime: remove incorrect attempt at unusual arithmetics
21751 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21752 The code didn't really work on such machines anyway.
21753 (TYPE_MINIMUM): Assume two's complement.
21754 (twos_complement_arithmetic): Verify that long_int and time_t
21755 are two's complement (or unsigned, in the latter case).
21756
03cf7fe3
PE
21757 mktime: check signed shifts on long_int and time_t, too
21758 * time/mktime.c (SHR): Check that shifts work as desired
21759 on the types long_int and time_t too, as SHR is used on
21760 such types.
21761
f04dfbc2
PE
21762 mktime: do not assume 'long' is wide enough
21763 * time/mktime.c (verify): Move decl up.
21764 (long_int): New type.
21765 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21766 to remove assumption in the code that 'long' is wide enough to
21767 store year values. This assumption is not true on x32 and on
21768 some non-glibc platforms.
21769
62bdf9a6
PE
21770 mktime: merge wrapv change from gnulib
21771 * time/mktime.c (WRAPV): New macro.
21772 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21773 (guess_time_tm, __mktime_internal): Do not assume that signed
21774 integer overflow wraps around; modern compilers generate code
21775 where this assumption is no longer valid.
21776
5e292e4f
L
217772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21778
21779 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21780 Replace "jmp L(pseudo_end)" with "ret".
21781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21782 Likewise.
21783
8caf8c87
AJ
217842012-05-23 Andreas Jaeger <aj@suse.de>
21785
21786 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21787 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21788
1a09dc56
AJ
217892012-05-23 Andreas Jaeger <aj@suse.de>
21790 Maximilian Attems <max@stro.at>
21791
21792 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21793 New macros.
21794
1c87aba0
L
217952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21796
21797 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21798 code so that pseudo_end is just ret and the stack pointer is
21799 correct also for static library in error case.
21800
40e45bd5
JM
218012012-05-23 Joseph Myers <joseph@codesourcery.com>
21802
c2670533
JM
21803 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21804 move to syscalls.list.
21805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21809
40e45bd5
JM
21810 * manual/install.texi (Running make install): Do not mention Linux
21811 kernel version for which pt_chown is not needed.
21812 (Linux): Do not mention problems with nscd with 2.0 kernels.
21813 * INSTALL: Regenerated.
21814
be08eda5
AJ
218152012-05-23 Andreas Jaeger <aj@suse.de>
21816
21817 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21818 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21819 macro.
21820 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21821 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21822 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21823 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21824 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21825 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21826 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21827 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21828 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21829 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21830 * sysdeps/unix/sysv/linux/bits/in.h
21831 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21832
a6a056bb
RM
218332012-05-22 Roland McGrath <roland@hack.frob.com>
21834
21835 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21836 (PREPARE_VERSION): Just use assert instead, it will be elided
21837 under [NDEBUG] anyway.
21838
c9009328
L
218392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21840
21841 * sysdeps/unix/sysv/linux/Makefile: Include
21842 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21843 (sysdep_routines): Remove sysctl.
c9009328
L
21844 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21845 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21846 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21847 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21848 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21849
73338355
AJ
218502012-05-22 Andreas Jaeger <aj@suse.de>
21851
21852 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21853 that pseudo_end is just ret and the stack pointer is correct also
21854 for static library in error case.
21855
d44638b0
PP
218562012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21857
21858 [BZ #14122]
21859 * nss/nsswitch.c (defconfig_entries): New variable.
21860 (__nss_database_lookup): Don't leak defconfig entries.
21861 (nss_parse_service_list): Don't leak on error paths.
21862 (free_database_entries): New function.
21863 (free_defconfig): New function.
21864 (free_mem): Move common code to free_database_entries.
21865
31a39bd8
L
218662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21867
da0331a8
L
21868 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21869 Add arch_prctl.
21870 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21871
31a39bd8
L
21872 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21873 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21875 New macro.
21876 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21877 (INTERNAL_SYSCALL_TYPES): Likewise.
21878 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21879 (LOAD_REGS_TYPES_[1-6]): Likewise.
21880 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21881 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21882
45470df3
AZ
218832012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21884
21885 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21886 copysignl for GLIBC_2_0.
21887 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21888 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21889 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21890 logbl for GLIBC_2_0.
21891 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21892 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21893
98a61bcb
L
218942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21895
a4f6e481
L
21896 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21897 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21898
f63d5db6
L
21899 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21900 Use "neg %eax".
21901
98a61bcb
L
21902 * time/mktime.c: Update copyright years.
21903
95770f14
PE
219042012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21905
6226efbd
PE
21906 mktime: merge comment-quoting-style change from gnulib
21907 * time/mktime.c: Quote 'like this' in comments.
21908 The GNU coding standards suggest that we no longer quote `like this',
21909 as "`" and "'" are typically rendered asymmetrically nowadays.
21910 The typical gnulib style is to quote 'like this' when quoting
21911 code, and "like this" when quoting English.
21912
b99e4f78
PE
21913 * time/mktime.c (compile-command): Add "-I.".
21914
643e01e6
PE
21915 mktime: merge mktime-internal.h change from gnulib
21916 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21917
2554247d
PE
21918 mktime: merge time_r change from gnulib
21919 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21920
826dd0ab
PE
21921 mktime: merge DEBUG change from gnulib
21922 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21923 case system <time.h> has a #define.
21924
bd83aabe
PE
21925 mktime: merge <sys/types.h> change from gnulib
21926 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21927 since <time.t> is now guaranteed to define time_t.
21928
95770f14
PE
21929 mktime: merge HAVE_CONFIG_H change from gnulib
21930 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21931
5e1a27a9
L
219322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21933
0e44a77e
L
21934 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21935 Use "neg %eax".
21936
5e1a27a9
L
21937 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21938 __rlim_t cast.
21939 (struct rusage): Use anonymous union to pad each field to
21940 __syscall_slong_t.
21941
46259bec
DM
219422012-05-21 David S. Miller <davem@davemloft.net>
21943
21944 * Makefules (o-iterator): Remove .s cases.
21945 (compile-command.s): Delete.
21946 (COMPILE.s): Delete.
21947 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21948
59f0c22e
JM
219492012-05-21 Joseph Myers <joseph@codesourcery.com>
21950
21951 * configure.in (libc_cv_predef_stack_protector): Only consider
21952 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21953 * configure: Regenerated.
21954
20c07380
L
219552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21956
bbb3154b
L
21957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21958 New macro. Use R*LP on int and pointer.
21959 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21960 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21961 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21962 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21963
20c07380
L
21964 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21965 [__WORDSIZE_TIME64_COMPAT32] instead of
21966 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21967 (struct utmp): Likewise.
21968 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21969 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21970 Renamed to ...
21971 (__WORDSIZE_TIME64_COMPAT32): This.
21972 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21973 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21974 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21975 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21976 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21977 (__WORDSIZE_TIME64_COMPAT32): New macro.
21978
d8d1017e
AJ
219792012-05-21 Andreas Jaeger <aj@suse.de>
21980
21981 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21982 only if [SHARED]. Add prototype for __wcschr_ia32.
21983
6c7fb145
RM
219842012-05-21 Roland McGrath <roland@hack.frob.com>
21985
21986 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21987 of %rbp unmolested in the jmp_buf while mangling the low bits.
21988 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21989 unmolested high bits of %rbp while demangling the low bits.
21990 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21991
66274218
AJ
219922012-05-21 Andreas Jaeger <aj@suse.de>
21993
07c58f8f
AJ
21994 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21995 * sunrpc/svc_simple.c: Use it for registerrpc.
21996 * sunrpc/xcrypt.c: Use it for passwd2des.
21997
66274218
AJ
21998 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21999
61f65140
L
220002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22001
22002 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22003 Don't define if [__SYSCALL_WORDSIZE != 32].
22004 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22005 New macro.
22006
5fefb436
AJ
220072012-05-21 Bruno Haible <bruno@clisp.org>
22008 Andreas Jaeger <aj@suse.de>
22009
22010 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22011 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22012 inptr and inend for must_buffer_ch.
22013 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22014 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22015 * stdio-common/Makefile (tests): Remove bug15.
22016 (bug15-ENV): Remove macro.
22017 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22018 anymore.
22019
d8e272ab
AJ
220202012-05-19 Andreas Jaeger <aj@suse.de>
22021 Roland McGrath <roland@hack.frob.com>
22022
22023 * manual/contrib.texi: Completely rewritten. It contains now an
22024 alphabetical list of contributors and their contributions.
22025
4a56a162
RH
220262012-05-21 Richard Henderson <rth@twiddle.net>
22027
22028 * misc/getauxval.c (__getauxval): Use unsigned long int.
22029 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22030 (getauxval): Use unsigned long int.
22031
d024d23c
L
220322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22033
22034 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22035
cbc00a03
RM
220362012-05-21 Roland McGrath <roland@hack.frob.com>
22037
22038 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22039 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22040 __alignof__ (long double).
22041
478143fa
AZ
220422012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22043
22044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22045
c7683a6d
RH
220462012-05-20 Richard Henderson <rth@twiddle.net>
22047
22048 * misc/getauxval.c: New file.
22049 * misc/sys/auxv.h: New file.
22050 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22051 (routines): Add getauxval.
22052 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22053 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22054 * elf/dl-sysdep.c (_dl_auxv): Remove.
22055 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22056 * elf/dl-support.c (_dl_auxv): New variable.
22057 (_dl_aux_init): Initialize it.
22058 * manual/startup.texi (Auxiliary Vector): New node.
22059 * sysdeps/generic/bits/hwcap.h: New file.
22060 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22061 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22062 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22063 * sysdeps/sparc/sysdep.h: ... here. Include it.
22064 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22065 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22067 Update.
c7683a6d
RH
22068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22071 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22076
a6f1845d
AZ
220772012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22078
22079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22080
cbcbe830
DM
220812012-05-19 David S. Miller <davem@davemloft.net>
22082
22083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22084
e0b16cc2
JM
220852012-05-19 Joseph Myers <joseph@codesourcery.com>
22086
22087 [BZ #14123]
22088 * math/s_ccosh.c: Include <float.h>
22089 (__ccosh): Avoid internal overflow calculating sinh and cosh
22090 values before multiplying by sin and cos values.
22091 * math/s_ccoshf.c: Likewise.
22092 * math/s_ccoshl.c: Likewise.
22093 * math/s_csin.c: Likewise.
22094 * math/s_csinf.c: Likewise.
22095 * math/s_csinl.c: Likewise.
22096 * math/s_csinh.c: Likewise.
22097 * math/s_csinhf.c: Likewise.
22098 * math/s_csinhl.c: Likewise.
22099 * math/libm-test.inc (ccos_test): Add more tests.
22100 (ccosh_test): Likewise.
22101 (csin_test): Likewise.
22102 (csinh_test): Likewise.
22103 * sysdeps/i386/fpu/libm-test-ulps: Update.
22104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22105
6ad13e08
L
221062012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22107
f66f0ce8
L
22108 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22109 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22110
6ad13e08
L
22111 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22112
b1d072a7
JM
221132012-05-19 Joseph Myers <joseph@codesourcery.com>
22114
22115 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22116 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22117 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22118 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22119 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22120 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22121 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22122 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22123 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22124 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22125 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22126 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22127 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22128 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22129 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22130 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22131 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22132 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22133 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22134 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22135 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22136 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22137 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22138 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22139 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22140 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22141 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22142 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22143 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22144 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22145 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22146
9eae47cb
AJ
221472012-05-18 Andreas Jaeger <aj@suse.de>
22148
22149 * csu/.gitignore: Delete.
22150
bb07f69f
L
221512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22152
22153 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22154 (timex): Use __syscall_slong_t.
22155
e6bdb741
AJ
221562012-05-18 Andreas Jaeger <aj@suse.de>
22157 Carlos O'Donell <carlos_odonell@mentor.com>
22158
22159 * manual/install.texi (Configuring and compiling): Update
22160 description about files modified in the source directory.
d6c33fda 22161 * INSTALL: Regenerated.
e6bdb741 22162
1b74487e
L
221632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22164
22165 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22166 value. Use "or" to set return value to -1.
22167 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22168 negate return value.
22169
a88b64b9
TMQMF
221702012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22171
22172 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22173 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22174 failure if the compiler has Graphite support disabled.
22175 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22176 Likewise.
22177 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22178 CFLAGS-memmove.c): Likewise.
22179 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22180 Likewise.
22181
3707636e
L
221822012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22183
610b8622
L
22184 * sysdeps/x86_64/x32/_itoa.h: New file.
22185
7cd195df
L
22186 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22187 getdents system call only if kernel and user dirents have the
22188 same d_ino and d_off.
22189
94b07d20
L
22190 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22191 LLONG_MAX != LONG_MAX.
22192 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22193 (_fitoa_word): Likewise.
22194
18298070
L
22195 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22196 years.
22197 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22198 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22199 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22200
553c7ea4
L
22201 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22202 include <bits/wordsize.h>. Check __x86_64__ instead of
22203 __WORDSIZE.
22204 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22205 if __x86_64__ is defined. Use anonymous union on fpstate.
22206
3707636e
L
22207 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22208 anonymous union.
22209
b53ef01a
AS
222102012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22211
37fb1dc0
AS
22212 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22213 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22214 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22215 Refer to _rtld_local_ro instead of _rtld_global_ro.
22216 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22217 Likewise.
22218 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22219 Likewise.
22220 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22221 Likewise.
22222 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22223 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22224 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22225
b53ef01a
AS
22226 * sysdeps/powerpc/powerpc32/dl-machine.c
22227 (__elf_machine_runtime_setup) [PROF]: Don't reference
22228 _dl_prof_resolve.
22229
7a185db2
AJ
222302012-05-18 Andreas Jaeger <aj@suse.de>
22231
22232 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22233 function only available for GCCs before 3.4 since GCC 3.4
22234 introduced a builtin.
22235 (lrint): Likewise.
22236 (llrintf): Likewise.
22237 (llrint): Likewise.
22238 (fmaxf): Likewise.
22239 (fmax): Likewise.
22240 (fminf): Likewise.
22241 (fmin): Likewise.
22242 (rint): Likewise.
22243 (rintf): Likewise.
22244 (nearbyint): Likewise.
22245 (nearbyintf): Likewise.
22246 (ceil): Likewise.
22247 (ceilf): Likewise.
22248 (floor): Likewise.
22249 (floorf): Likewise.
22250
3e5aef87
L
222512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22252
428bd707
L
22253 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22254 on both fields and cast pointer to __syscall_ulong_t.
22255
3e5aef87
L
22256 * bits/types.h (__fsword_t): New type.
22257 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22258 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22259 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22260 (__FSWORD_T_TYPE): Likewise.
22261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22262 (__FSWORD_T_TYPE): Likewise.
22263 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22264 (__FSWORD_T_TYPE): Likewise.
22265 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22266 (__FSWORD_T_TYPE): Likewise.
22267 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22268 __SWORD_TYPE with __fsword_t.
22269 (statfs64): Likewise.
22270
1ba7c3dc
DM
222712012-05-17 David S. Miller <davem@davemloft.net>
22272
22273 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22274
59910343
AJ
222752012-05-17 Andreas Jaeger <aj@suse.de>
22276
22277 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22278 warning.
22279
2e4c1e9e
L
222802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22281
22282 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22283
de7f5ce7
AJ
222842012-05-17 Andreas Jaeger <aj@suse.de>
22285
22286 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22287 when it is used.
22288
286abc3d
CM
222892012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22290
22291 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22292
477cc68e
L
222932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22294
22295 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22296 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22297
1a0994f5
CD
222982012-05-17 Andreas Jaeger <aj@suse.de>
22299 Carlos O'Donell <carlos_odonell@mentor.com>
22300
22301 [BZ #14059]
22302 * sysdeps/x86_64/multiarch/init-arch.h
22303 (bit_YMM_Usable): Rename to...
22304 (bit_AVX_Usable): ... this.
22305 (bit_FMA4_Usable): New macro.
22306 (bit_XMM_state): New macro.
22307 (bit_YMM_state): New macro.
22308 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22309 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22310 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22311 (CPUID_OSXSAVE): New macro.
22312 (CPUID_AVX): New macro.
22313 (CPUID_FMA4): New macro.
22314 (index_YMM_Usable): Rename to...
22315 (index_AVX_Usable): ... this.
22316 (HAS_AVX): Use HAS_ARCH_FEATURE.
22317 (HAS_FMA4): Likewise.
22318 (HAS_YMM_USABLE): Remove.
22319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22320 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22321 are present.
22322 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22323 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22324 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22325 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22326 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22327
0af797de
CM
223282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22329
22330 * math/libm-test.c: Support platforms without multiple rounding modes.
22331 * math/bug-nextafter.c: Support platforms without FP exceptions.
22332 * math/bug-nexttoward.c: Likewise.
22333 * math/test-fenv.c: Likewise.
22334 * math/test-misc.c: Likewise.
22335 * stdlib/bug-getcontext.c: Likewise.
22336
e39745ff
AJ
223372012-05-17 Andreas Jaeger <aj@suse.de>
22338
22339 * manual/examples/search.c (critter_cmp): Change signature to
22340 avoid warnings.
22341 * manual/string.texi (Collation Functions): Likewise.
22342
48970aba
L
223432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22344
22345 * bits/types.h: Fold copyright years.
22346 * bits/typesizes.h: Likewise.
22347 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22348 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22350 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22351 * time/time.h: Likewise.
22352
bedee953
PP
223532012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22354
22355 [BZ #208]
22356 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22357 in instead of returning them. Return void.
22358 (__libc_mallinfo): Accumulate over all arenas.
22359 (__malloc_stats): Adjust for change in int_mallinfo interface.
22360
61653dfb
RM
223612012-05-16 Roland McGrath <roland@hack.frob.com>
22362
30b99d79
RM
22363 [BZ #10375]
22364 * configure.in (NM): Add AC_CHECK_TOOL for it.
22365 (libc_extra_cflags): New substituted variable.
22366 Check for -fstack-protector being used implicitly.
22367 * configure: Regenerated.
22368 * config.make.in (config-extra-cflags): New variable,
22369 gets @libc_extra_cflags@.
22370 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22371
61653dfb
RM
22372 [BZ #10375]
22373 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22374 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22375 * configure: Regenerated.
22376 * config.make.in (CPPUNDEFS): New substituted variable.
22377 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22378 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22379 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22380
661768bb
L
223812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22382
22383 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22384 (mq_attr): Use __syscall_slong_t.
22385
d4261567
L
223862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22387
22388 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22389 Check __x86_64__ instead of __WORDSIZE.
22390 (_STAT_VER_LINUX): Likewise.
22391 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22392 __syscall_ulong_t and __syscall_slong_t.
22393 (stat64): Likewise.
22394
cf3ff365
L
223952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22396
22397 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22398
76cf3e4d
L
223992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22400
22401 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22402
a637753a
L
224032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22404
22405 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22406 __syscall_ulong_t.
22407
d5e05119
L
22408 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22409 include <bits/wordsize.h>. Check __x86_64__ instead of
22410 __WORDSIZE.
22411 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22412 defined.
22413 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22414
f62ee380
L
22415 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22416 include <bits/wordsize.h>. Check __x86_64__ instead of
22417 __WORDSIZE.
22418 (user_regs_struct): Use "__extension__ unsigned long long"
22419 instead of "unsigned long" if __x86_64__ is defined.
22420 (user): Likewise. Pad after pointer field if __ILP32__ is
22421 defined.
22422
4e124ced
JM
224232012-05-16 Joseph Myers <joseph@codesourcery.com>
22424
6a3951a0
JM
22425 * configure.in (makeinfo): Require version 4.5 or later. Allow
22426 versions 5 to 9.
22427 * configure: Regenerated.
22428 * manual/install.texi (texinfo): Increase version requirement to
22429 4.5 or later.
22430 * INSTALL: Regenerated.
22431
4e124ced
JM
22432 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22433
953ca31a
L
224342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22435
22436 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22437
617aca05
L
22438 * sysdeps/x86_64/x32/ffs.c: New file.
22439
5762f7ae
L
22440 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22441 __syscall_ulong_t.
22442 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22443 defined. Use __syscall_ulong_t.
22444 (shminfo): Use __syscall_ulong_t.
22445 (shm_info): Likewise.
22446
a26b6856
L
22447 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22448 __syscall_ulong_t.
22449
cb2b9ef7
L
22450 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22451 <bits/wordsize.h>.
22452 (msgqnum_t): Use __syscall_ulong_t.
22453 (msglen_t): Likewise.
22454 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22455 __syscall_ulong_t.
22456
34683bb0
L
22457 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22458 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22459
84a68786
L
22460 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22461
48baa5f1
L
22462 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22463 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22464
180be88b
L
22465 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22466 __syscall_slong_t.
22467
5e90c8ad
L
22468 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22469 include <bits/wordsize.h>. Check __x86_64__ instead of
22470 __WORDSIZE.
22471
23dfb58b
L
22472 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22473 "unsigned long long int" if __x86_64__ is defined.
22474 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22475
ce5d54b0
L
22476 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22477 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22478 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22479
13dc9eac
L
22480 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22481 <stdint.h>.
22482 (GET_PC): Cast to uintptr_t first.
22483 (GET_FRAME): Likewise.
22484 (GET_STACK): Likewise.
22485
a7895d15
L
22486 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22487 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22488 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22489 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22490 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22491 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22492 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22493 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22494 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22495 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22496 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22497 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22498 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22499 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22500 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22501 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22502 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22503 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22504 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22505 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22506 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22507 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22508 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22509 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22510 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22511 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22512 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22513 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22514 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22515
656416c9
AS
225162012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22517
5bd66283
AS
22518 * Makerules (+depfiles): Also collect depfiles from .oS in
22519 $(extra-objs).
22520 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22521 .oS, $(libnldbl-routines)).
22522
656416c9
AS
22523 * Makerules (native-compile-mkdep-flags): Define.
22524 * sunrpc/Makefile (extra-objs): Add $(addprefix
22525 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22526 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22527 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22528 calling $(make-target-directory).
22529
a46f2169
L
225302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22531
22532 * bits/types.h (__snseconds_t): Removed.
22533 * time/time.h (struct timespec): Replace __snseconds_t with
22534 __syscall_slong_t.
22535 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22536 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22537 Likewise.
22538 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22539 (__SNSECONDS_T_TYPE): Likewise.
22540 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22541 (__SNSECONDS_T_TYPE): Likewise.
22542 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22543 (__SNSECONDS_T_TYPE): Likewise.
22544
6af6528b
L
225452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22546
22547 * sysdeps/mach/hurd/bits/typesizes.h
22548 (__SYSCALL_SLONG_TYPE): New macro.
22549 (__SYSCALL_ULONG_TYPE): Likewise.
22550
de986b56
L
225512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22552
22553 * bits/types.h (__syscall_slong_t): New type.
22554 (__syscall_ulong_t): Likewise.
22555
22556 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22557 (__SYSCALL_ULONG_TYPE): Likewise.
22558 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22559 (__SYSCALL_SLONG_TYPE): Likewise.
22560 (__SYSCALL_ULONG_TYPE): Likewise.
22561 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22562 (__SYSCALL_SLONG_TYPE): Likewise.
22563 (__SYSCALL_ULONG_TYPE): Likewise.
22564 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22565 (__SYSCALL_SLONG_TYPE): Likewise.
22566 (__SYSCALL_ULONG_TYPE): Likewise.
22567
85736dc7
L
225682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22569
22570 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22571 Add sigaltstack-offsets.sym.
22572 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22573 <sigaltstack-offsets.h>.
22574 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22575 longjmp_msg pointer.
22576 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22577 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22578 signal stack.
22579 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22580
cc03b296
JM
225812012-05-15 Joseph Myers <joseph@codesourcery.com>
22582
a9538892
JM
22583 * elf/stackguard-macros.h: Remove file.
22584 * sysdeps/generic/stackguard-macros.h: New file.
22585 * sysdeps/i386/stackguard-macros.h: Likewise.
22586 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22587 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22588 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22589 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22590 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22591 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22592 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22593 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22594 <elf/stackguard-macros.h>.
22595
cc03b296
JM
22596 [BZ #14109]
22597 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22598 __aligned__ in attribute.
22599 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22600 (gregset_t): Likewise.
22601
93171016
L
226022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22603
22604 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22605 * sysdeps/x86_64/64/Implies-after: Here. New file.
22606 * sysdeps/x86_64/x32/Implies-after: New file.
22607
d86813a0
L
226082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22609
22610 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22611 and access return value for _dl_profile_fixup. Use R10_LP to
22612 load frame size.
22613
2953ec75
L
226142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22615
22616 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22617
3b550e9e
L
226182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22619
22620 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22621 * sysdeps/x86_64/x32/sysdep.h: New file.
22622
eda41706
L
226232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22624
22625 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22626 * sysdeps/x86_64/setjmp.S: Likewise.
22627
9ea01d93
AZ
226282012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22629
22630 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22631 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22632 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22633 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22634 remove unused global constant.
22635
02a91938
CM
226362012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22637
22638 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22639 include of <not-cancel.h>.
22640
6540185f
RM
226412012-05-15 Roland McGrath <roland@hack.frob.com>
22642
22643 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22644
509072a0
AJ
226452012-05-15 Jeff Law <law@redhat.com>
22646 Andreas Jaeger <aj@suse.de>
22647
22648 [BZ #13594]
22649 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22650 out from...
22651 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22652 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22653 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22654 code changing __hst_map_handle.map.
22655
ba75122d
RM
226562012-05-15 Roland McGrath <roland@hack.frob.com>
22657
22658 * configure.in (sysnames): Look for Implies-before and Implies-after
22659 files.
22660 * configure: Regenerated.
22661
890d8bd8
L
226622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22663
22664 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22665 8-byte data alignment with LP_SIZE alignment.
22666
f6ee6623
L
226672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22668
22669 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22670 into R10_LP.
22671
ea2626f6
L
226722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22673
22674 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22675
085f715e
L
226762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22677
22678 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22679 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22680 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22681 Likewise.
22682 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22683
be8498fc
L
226842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22685
22686 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22687 (stackinfo_sub_sp): Likewise.
22688
70bc83b9
L
226892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22690
22691 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22692 RAX_LP.
22693
9bc0b730
L
226942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22695
22696 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22697 into R*_LP.
22698
6d2850e7
L
226992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22700
22701 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22702 sizes into R*_LP.
22703
3cb84561
L
227042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22705
22706 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22707
54e2ed81
L
227082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22709
22710 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22711 into R11_LP and load __x86_64_shared_cache_size_half into
22712 R8_LP.
22713
8a17f349
L
227142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22715
22716 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22717 R8_LP.
22718
777b1eea
AZ
227192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22720
22721 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22722 logb for POWER7.
22723 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22724 logbf for POWER7.
22725 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22726 logbl for POWER7.
22727 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22728 powerpc32/power7/fpu/s_logb.c via #include.
22729 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22730 powerpc32/power7/fpu/s_logbf.c via #include.
22731 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22732 powerpc32/power7/fpu/s_logbl.c via #include.
22733
d20d4ac2
JM
227342012-05-15 Joseph Myers <joseph@codesourcery.com>
22735
22736 * README.libm: Remove file.
22737
6cdef1ab
L
227382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22739
22740 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22741 count for x32. Use R*_LP and omit operand-size suffix.
22742
0b254d8f
L
227432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22744
22745 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22746 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22747 * sysdeps/x86_64/x32/shlib-versions: New file.
22748
ceb809dc
RM
227492012-05-14 Roland McGrath <roland@hack.frob.com>
22750
22751 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22752 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22753 Use _dl_fatal_printf instead.
22754
37f1abd4
JM
227552012-05-14 Joseph Myers <joseph@codesourcery.com>
22756
22757 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22758 set if not set by the user. Do not allow for being unset.
22759 * sysdeps/unix/sysv/linux/configure: Regenerated.
22760
11de3a33
L
227612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22762
22763 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22764 the `q' suffix from lea and replace .quad with ASM_ADDR.
22765
e02f153a
L
227662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22767
22768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22769 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22770 instead of $17.
22771 (PTR_DEMANGLE): Likewise.
22772
520ae0fd
L
227732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22774
22775 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22776 (LP_OP): Likewise.
22777 (ASM_ADDR): Likewise.
22778 (RAX_LP): Likewise.
22779 (RBP_LP): Likewise.
22780 (RBX_LP): Likewise.
22781 (RCX_LP): Likewise.
22782 (RDI_LP): Likewise.
22783 (RSI_LP): Likewise.
22784 (RSP_LP): Likewise.
22785 (R8_LP): Likewise.
22786 (R9_LP): Likewise.
22787 (R10_LP): Likewise.
22788 (R10_LP): Likewise.
22789 (R11_LP): Likewise.
22790 (R12_LP): Likewise.
22791 (R13_LP): Likewise.
22792 (R14_LP): Likewise.
22793 (R15_LP): Likewise.
22794
b985be81
L
227952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22796
22797 * sysdeps/x86_64/x32/dl-machine.h: New file.
22798
6a4888ff
AJ
227992012-05-14 Andreas Jaeger <aj@suse.de>
22800
22801 * manual/Makefile (subdir): Remove export of subdir.
22802 (all): Remove target.
22803 (.PHONY): Remove all from list.
22804 (mkinstalldirs): Remove.
22805 (.PHONY): Remove installdirs from list.
22806 ($(inst_infodir)/libc.info): Use make-target-directory.
22807 (installdirs): Remove.
22808 (subdir_%): Remove.
22809 (glibc-targets): Remove.
22810 (lib): Remove.
22811 (stubs): Remove.
22812 ($(objpfx)stubs ../po/manual.pot): Remove.
22813 ($(objpfx)stamp%): Remove.
22814 (make-target-directory): Remove.
22815 (subdir_install): Remove.
22816 (routines): Remove.
22817 (aux): Remove.
22818 (sources): Remove.
22819 (objects): Remove.
22820 (headers): Remove.
22821
22822 [BZ #13750]
22823 * manual/.gitignore: Remove, it's not needed anymore.
22824 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22825 all files in it.
22826 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22827 directory.
22828 (texis): Renamed to $(objpfx)texis.
22829 (texis-path): New, contains path to generated files.
22830 (chapters.%): Use texis-path for complete path, add extra argument
22831 libc-texinfo.sh.
22832 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22833 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22834 (summary,texi, stamp-summary): Use complete path of
22835 files. Generate files in build dir.
22836 (dir-add.texi): Build in build dir.
22837 (libm-err.texi,stamp-libm-err): Likewise.
22838 (version.texi, stamp-version): Likewise.
22839 (.%c.texi): Likewise.
22840 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22841 (mostlyclean): Remove target.
22842 (realclean): Remove target.
22843 (generated): Add new variable with contents from mostlyclean and
22844 realclean, remove entries duplicated in common-mostlyclean, add
22845 stamp-libm-err and stamp-version.
22846 (generated-dirs): Add libc directory.
22847 ($(inst_infodir)/libc.info): Install files from build dir.
22848
22849 * manual/install.texi (Configuring and compiling): Adjust since
22850 the info files are not part of the tar ball anymore.
22851
7ac77294
AJ
228522012-05-14 Andreas Jaeger <aj@suse.de>
22853
22854 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22855 variable.
22856
ffb7875d
JM
228572012-05-14 Joseph Myers <joseph@codesourcery.com>
22858
22859 [BZ #13717]
22860 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22861 to 2.2.0 where earlier.
22862 * sysdeps/unix/sysv/linux/configure: Regenerated.
22863 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22864 Remove conditional code.
22865 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22866 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22867 Remove conditional code.
22868 [!__NR_lchown]: Likewise.
22869 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22870 [__NR_lchown]: Likewise.
22871 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22872 comment referencing __ASSUME_LCHOWN_SYSCALL.
22873 * sysdeps/unix/sysv/linux/i386/sigaction.c
22874 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22875 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22876 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22877 Remove conditional code.
22878 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22879 (__protocol_available): Remove #if 0 code.
22880 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22881 conditional code.
22882 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22883 * sysdeps/unix/sysv/linux/kernel-features.h
22884 (__ASSUME_GETCWD_SYSCALL): Don't define.
22885 (__ASSUME_REALTIME_SIGNALS): Likewise.
22886 (__ASSUME_PREAD_SYSCALL): Likewise.
22887 (__ASSUME_PWRITE_SYSCALL): Likewise.
22888 (__ASSUME_POLL_SYSCALL): Likewise.
22889 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22890 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22891 non-SPARC.
22892 (__ASSUME_SIOCGIFNAME): Don't define.
22893 (__ASSUME_MSG_NOSIGNAL): Likewise.
22894 (__ASSUME_SENDFILE): Define unconditionally.
22895 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22896 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22897 conditional code.
22898 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22899 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22900 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22901 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22902 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22903 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22904 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22906 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22907 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22909 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22910 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22912 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22913 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22915 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22916 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22918 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22919 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22921 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22922 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22924 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22927 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22928 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22929 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22930 Remove conditional code.
22931 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22932 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22933 Remove conditional code.
22934 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22935 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22936 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22937 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22938 Remove conditional code.
22939 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22940 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22941 Remove conditional code.
22942 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22943 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22944 Remove conditional code.
22945 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22946 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22947 Remove conditional code.
22948 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22949 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22950 Remove conditional code.
22951 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22952 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22953 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22954 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22955 * sysdeps/unix/sysv/linux/sigaction.c
22956 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22957 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22958 * sysdeps/unix/sysv/linux/sigpending.c
22959 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22960 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22961 * sysdeps/unix/sysv/linux/sigprocmask.c
22962 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22963 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22964 * sysdeps/unix/sysv/linux/sigsuspend.c
22965 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22966 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22967 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22968 (__libc_missing_rt_sigs): Remove.
22969 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22970 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22971 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22972 Remove conditional code.
22973 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22974 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22975 return 1.
22976 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22977 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22978 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22979 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22980
1bfb7291
AJ
229812012-05-14 Andreas Jaeger <aj@suse.de>
22982
caae5a81
AJ
22983 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22984 it's not used in glibc.
22985 (__coshm1): Likewise.
22986 (__acosh1p): Likewise.
22987 (__sgn): Likewise.
22988
1bfb7291
AJ
22989 * manual/string.texi (Copying and Concatenation): Add missing
22990 variable in concat example.
22991 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22992
c044d724
L
229932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22994
144c5467 22995 [BZ #14103]
c044d724
L
22996 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22997 __builtin_clzl with __builtin_clzll.
22998
2523c62b
L
229992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23000
23001 [BZ #14104]
23002 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23003 libc_freeres_ptr.
23004
d7bb4c42
LD
230052012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23006
23007 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23008 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23009 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23010 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23011
9dc4e1fb
MF
230122012-05-14 Mike Frysinger <vapier@gentoo.org>
23013
23014 * NEWS: Update ia64 info.
23015
c7df0112
AS
230162012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23017
23018 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23019 used as bcopy.
23020
dc70356c
TS
230212012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23022
23023 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23024 * sysdeps/unix/syscalls.list (dup3): Likewise.
23025 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23026 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23027
9fb1a21f
L
230282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23029
23030 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23031 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23032
4822a2a5
L
230332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23034
23035 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23036 thread pointer.
23037 (TLS_IE): Use mov/add instead of movq/addq to load thread
23038 pointer.
23039 (TLS_GD_PREFIX): New.
23040 (TLS_GD): Use it.
23041
842b81d6
DM
230422012-05-11 David S. Miller <davem@davemloft.net>
23043
23044 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23045 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23046 (_FPU_SETCW): Likewise.
23047
1cf463cd
L
230482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23049
23050 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23051 is 32-byte aligned.
23052
60cc4a18
AS
230532012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23054
23055 [BZ #11837]
23056 * iconvdata/gb18030.c: Update tables.
23057 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23058 characters specially.
23059 (BODY for TO_LOOP): Add encoding of missing ranges.
23060
febb44a4
TS
230612012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23062
23063 [BZ #13673]
23064 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23065 * sysdeps/mach/hurd/dup3.c: Likewise.
23066 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23067 * sysdeps/powerpc/memmove.c:: Likewise.
23068
0a10fb9e
L
230692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23070
23071 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23072 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23073
df8a552f
L
230742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23075
23076 * elf/elf.h (R_X86_64_RELATIVE64): New.
23077 (R_X86_64_NUM): Updated.
23078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23079 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23080 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23081 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23082 tst-quad1pie tst-quad2pie
23083 (modules-names): Add tst-quadmod1 tst-quadmod2.
23084 ($(objpfx)tst-quad1): New dependency.
23085 ($(objpfx)tst-quad2): Likewise.
23086 ($(objpfx)tst-quad1pie): Likewise.
23087 ($(objpfx)tst-quad2pie): Likewise.
23088 * sysdeps/x86_64/tst-quad1.c: New file.
23089 * sysdeps/x86_64/tst-quad1pie.c: New file.
23090 * sysdeps/x86_64/tst-quad2.c: Likewise.
23091 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23092 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23093 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23094 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23095 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23096
f34d6f84
ST
230972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23098
f42d41d1
ST
23099 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23100 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23101 * streams/stropts.h (t_scalar_t): Define type.
23102
3c3571fc
ST
23103 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23104 (_PATH_PRESERVE): Set to "/var/lib".
23105 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23106
61f06bd3
ST
23107 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23108 instead of int.
23109
918d4d71
ST
23110 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23111 if __dir_mkfile succeeded.
23112
f34d6f84
ST
23113 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23114 checking for _hurd_dtablesize. Unlock it right after having
23115 finished _hurd_dtable allocation.
23116
10589b4a
TS
231172012-05-10 Thomas Schwinge <thomas@schwinge.name>
23118
674cdbc7
TS
23119 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23120 * sysdeps/mach/hurd/configure: Regenerated.
23121 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23122 special-casing to...
23123 * sysdeps/gnu/configure.in: ... this new file.
23124 * sysdeps/unix/sysv/linux/configure: Regenerated.
23125 * sysdeps/gnu/configure: New generated file.
23126
8e41b99f
TS
23127 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23128 for Linux: use nsec instead of usec, as well as:
23129 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23130 members of type struct timespec.
23131 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23132 New macros.
23133 (struct stat64): Likewise.
23134 (_STATBUF_ST_NSEC): New macro.
23135 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23136
10589b4a
TS
23137 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23138 __strtoul_internal rather than strtoul.
23139
63643c85
PT
231402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23141
23142 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23143 and reject them.
23144
3faebe6a
ST
231452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23146
23147 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23148 which preserves existing values.
23149 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23150
c6474b07
PT
231512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23152
23153 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23154 TIMEOUT values. Return EINVAL for NFDS values either negative or
23155 greater than FD_SETSIZE.
23156
1043890b
ST
231572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23158
23159 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23160 allocated, call __vm_protect to finish enabling the existing space, and
23161 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23162 allocate the remainder.
23163
37ed8b9b
PT
231642012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23165
23166 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23167 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23168
db653660
ST
231692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23170
37ed8b9b
PT
23171 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23172 sysdeps/mach/hurd/readlink.c.
b29d4053 23173
db653660
ST
23174 * posix/tst-sysconf.c (posix_options): Only use
23175 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23176 _POSIX_SYNCHRONIZED_IO when they are defined
23177 * sysdeps/mach/hurd/bits/posix_opt.h:
23178 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23179 (_XOPEN_REALTIME): Undefine macro.
23180 (_XOPEN_REALTIME_THREADS): Undefine macro.
23181 (_XOPEN_SHM): Undefine macro.
23182 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23183 macro to -1.
23184 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23185 macro to -1.
23186 (_POSIX_ASYNC_IO): Undefine macro.
23187 (_POSIX_PRIORITIZED_IO): Undefine macro.
23188 (_POSIX_SPIN_LOCKS): Define macro to -1.
23189
ee16e894
ST
23190 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23191 SA_NODEFER, SA_RESETHAND.
23192 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23193 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23194 F_DUPFD_CLOEXEC.
23195
6103ae3b
TS
231962012-05-10 Thomas Schwinge <thomas@schwinge.name>
23197
23198 * elf/Makefile (pldd-modules): Define unconditionally.
23199
80b4e5f3
TS
232002012-05-10 Thomas Schwinge <thomas@schwinge.name>
23201
23202 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23203
edadcbd6
ST
232042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23205
23206 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23207 Return ENOENT when name is empty.
23208 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23209
80694780
TS
232102012-05-10 Thomas Schwinge <thomas@schwinge.name>
23211
1792c087
TS
23212 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23213
80694780
TS
23214 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23215
6b645f0d
ST
232162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23217
80694780
TS
23218 Fix mlock in all cases except non-readable pages.
23219 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23220 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23221
6b645f0d
ST
23222 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23223 (__mkdir): When path is `/', just fail with EEXIST.
23224 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23225
e468f8a3
TS
232262012-05-10 Thomas Schwinge <thomas@schwinge.name>
23227
23228 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23229 <sys/uio.h> (for writev).
23230 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23231 and <sys/param.h> (for MIN).
23232
a4186cff
PT
232332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23234
23235 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23236 REQUESTED_TIME. Properly set the remaining time and return EINTR
23237 if interrupted.
23238
510bbf14
TS
232392012-05-10 Thomas Schwinge <thomas@schwinge.name>
23240
23241 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23242 Depend on against $(link-rpcuserlibs).
23243
5d5722e8
ST
232442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23245
a4186cff
PT
23246 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23247 (__libc_stack_end): Do not use attribute_relro.
23248 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23249 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23250 to libthread-provided value.
a4186cff
PT
23251 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23252 attribute_relro.
5d5722e8 23253
37233df9
TS
232542012-05-10 Thomas Schwinge <thomas@schwinge.name>
23255
be971a2b
TS
23256 [BZ #3748]
23257 * bits/libc-lock.h (__libc_once_get): New macro.
23258 * sysdeps/mach/bits/libc-lock.h: Likewise.
23259 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23260 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23261 instead of using implementation details.
23262
37233df9
TS
23263 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23264 * libio/freopen.c: Likewise.
23265 * libio/freopen64.c: Likewise.
23266 * misc/syslog.c: Likewise.
23267 * nscd/connections.c: Likewise.
23268 * nscd/netgroupcache.c: Likewise.
23269 * sysdeps/posix/getcwd.c: Likewise.
23270
38de94a5
RM
232712012-05-10 Roland McGrath <roland@hack.frob.com>
23272
23273 * math/w_ilogbf.c: Add #include <limits.h>.
23274
67530489
ST
232752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23276
a4186cff 23277 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23278 path instead of returning without unlocking.
23279
67530489
ST
23280 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23281 immediate-write ioctls.
23282 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23283
5aa3a74a
TS
232842012-05-10 Thomas Schwinge <thomas@schwinge.name>
23285
18bad2ae
TS
23286 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23287 __builtin_frame_address instead of making assumptions about the
23288 location of the return address relative to DATA. Force early load of
23289 the return address.
23290 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23291 __builtin_frame_address.
23292
5aa3a74a
TS
23293 dup3 for GNU Hurd.
23294 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23295 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23296 implement dup3 and do some further code clean-ups.
23297 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23298 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23299
ecd0de9a
ST
233002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23301
cd9fa985
ST
23302 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23303
a4186cff
PT
23304 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23305 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23306 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23307 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23308 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23309 d->port.lock.
802ca5a5 23310
a4186cff
PT
23311 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23312 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23313 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23314
bcf55240
TS
233152012-05-10 Thomas Schwinge <thomas@schwinge.name>
23316
6960eb42
TS
23317 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23318 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23319 definitions.
23320
eb43375f
TS
23321 accept4 for GNU Hurd.
23322 * include/sys/socket.h (__libc_accept4): New prototype.
23323 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23324 to implement __libc_accept4.
23325 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23326 __libc_accept4.
23327 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23328
bcf55240
TS
23329 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23330 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23331 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23332 signal-defines.sym.
23333
6178c55b
ST
233342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23335
a4186cff 23336 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23337
6f080c2f
TS
233382012-05-10 Thomas Schwinge <thomas@schwinge.name>
23339
23340 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23341 assertion on O_CLOEXEC flag.
23342 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23343 * hurd/intern-fd.c: Likewise.
23344 * hurd/port2fd.c: Likewise.
23345
bcfe3a54
ST
233462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23347
23348 [BZ #3906]
23349 * bits/in.h (IPV6_PKTINFO): Define new macro.
23350 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23351
89c9aa49
AZ
233522012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23353
23354 [BZ #13954]
23355 [BZ #13955]
23356 [BZ #13956]
23357 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23358 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23359 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23360 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23361 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23362 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23363 * math/libm-test.inc (logb_test) : Additional logb tests.
23364
021db4be
AJ
233652012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23366 Andreas Jaeger <aj@suse.de>
23367
23368 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23369 * configure: Regenerated.
23370 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23371 * config.make.in (link-obsolete-rpc): New substituted variable.
23372 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23373 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23374 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23375 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23376 so that libc.a contains the symbols.
23377 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23378 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23379 * sunrpc/auth_none.c: Likewise.
23380 * sunrpc/auth_unix.c: Likewise.
23381 * sunrpc/authdes_prot.c: Likewise.
23382 * sunrpc/authuxprot.c: Likewise.
23383 * sunrpc/clnt_gen.c: Likewise.
23384 * sunrpc/clnt_perr.c: Likewise.
23385 * sunrpc/clnt_raw.c: Likewise.
23386 * sunrpc/clnt_simp.c: Likewise.
23387 * sunrpc/clnt_tcp.c: Likewise.
23388 * sunrpc/clnt_udp.c: Likewise.
23389 * sunrpc/clnt_unix.c: Likewise.
23390 * sunrpc/des_crypt.c: Likewise.
23391 * sunrpc/des_soft.c: Likewise.
23392 * sunrpc/get_myaddr.c: Likewise.
23393 * sunrpc/key_call.c: Likewise.
23394 * sunrpc/key_prot.c: Likewise.
23395 * sunrpc/netname.c: Likewise.
23396 * sunrpc/pm_getmaps.c: Likewise.
23397 * sunrpc/pm_getport.c: Likewise.
23398 * sunrpc/pmap_clnt.c: Likewise.
23399 * sunrpc/pmap_prot.c: Likewise.
23400 * sunrpc/pmap_prot2.c: Likewise.
23401 * sunrpc/pmap_rmt.c: Likewise.
23402 * sunrpc/publickey.c: Likewise.
23403 * sunrpc/rpc_cmsg.c: Likewise.
23404 * sunrpc/rpc_common.c: Likewise.
23405 * sunrpc/rpc_dtable.c: Likewise.
23406 * sunrpc/rpc_prot.c: Likewise.
23407 * sunrpc/rpc_thread.c: Likewise.
23408 * sunrpc/rtime.c: Likewise.
23409 * sunrpc/svc.c: Likewise.
23410 * sunrpc/svc_auth.c: Likewise.
23411 * sunrpc/svc_raw.c: Likewise.
23412 * sunrpc/svc_run.c: Likewise.
23413 * sunrpc/svc_tcp.c: Likewise.
23414 * sunrpc/svc_udp.c: Likewise.
23415 * sunrpc/svc_unix.c: Likewise.
23416 * sunrpc/svcauth_des.c: Likewise.
23417 * sunrpc/xcrypt.c: Likewise.
23418 * sunrpc/xdr.c: Likewise.
23419 * sunrpc/xdr_array.c: Likewise.
23420 * sunrpc/xdr_float.c: Likewise.
23421 * sunrpc/xdr_intXX_t.c: Likewise.
23422 * sunrpc/xdr_mem.c: Likewise.
23423 * sunrpc/xdr_rec.c: Likewise.
23424 * sunrpc/xdr_ref.c: Likewise.
23425 * sunrpc/xdr_sizeof.c: Likewise.
23426 * sunrpc/xdr_stdio.c: Likewise.
23427
b5c086a2
RM
234282012-05-10 Roland McGrath <roland@hack.frob.com>
23429
23430 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23431 change. Update copyright years.
23432
6d74dd09
JM
234332012-05-10 Joseph Myers <joseph@codesourcery.com>
23434
23435 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23436
28e72501
MK
234372012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23438 Joseph Myers <joseph@codesourcery.com>
23439 Paul Pluzhnikov <ppluzhnikov@google.com>
23440
23441 [BZ #14012]
23442 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23443 requiring rpcgen.
23444 [cross-compiling] (extra-libs): Likewise.
23445 [cross-compiling] (extra-libs-others): Likewise.
23446 [cross-compiling] (librpcsvc-routines): Likewise.
23447 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23448 [cross-compiling] (omit-deps): Likewise.
23449 (sunrpc-CPPFLAGS): New variable.
23450 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23451 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23452 (cross-rpcgen-objs): New variable.
23453 (extra-objs): Append $(cross-rpcgen-objs).
23454 ($(cross-rpcgen-objs)): New rule.
23455 ($(objpfx)cross-rpcgen): Likewise.
23456 (rpcgen-cmd): Define to use $(built-program-file). Expand
23457 comment.
23458 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23459 ($(objpfx)x%.stmp): Likewise.
23460 * sunrpc/proto.h [IS_IN_build] (_): Define.
23461 [IS_IN_build] (_libc_intl_domainname): Likewise.
23462
c8c59454
L
234632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23464
23465 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23466 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23467 and R_X86_64_TPOFF64.
23468
6f27cd16
JM
234692012-05-10 Joseph Myers <joseph@codesourcery.com>
23470
23471 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23472 sysdeps/unix/sysv/syscalls.list.
23473 (stime): Likewise.
23474 (utime): Likewise.
23475 * sysdeps/unix/sysv/syscalls.list: Remove file.
23476
02467e1c
PE
234772012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23478
23479 [BZ #3440]
23480 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23481 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23482 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23483 (__LC_IDENTIFICATION): Make these macros useful in #if
23484 expressions, as required by C99.
23485
da392631
AS
234862012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23487
23488 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23489 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23490 after this.
23491
8115f29b
L
234922012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23493
23494 * stdlib/longlong.h: Updated from GCC.
23495
bdd74070
AJ
234962012-05-09 Andreas Jaeger <aj@suse.de>
23497
edfe0dbe
AJ
23498 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23499 default is first entry.
23500 (run_mode): Set type.
23501 (main): Remove informal message about syslog.
23502 (options): Fix typo.
23503
bcfe3a54
ST
23504 [BZ #14053]
23505 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 23506 to asm.
bcfe3a54
ST
23507 (lrint): Likewise.
23508 (llrintf): Likewise.
23509 (llrint): Likewise.
23510 (rint): Likewise.
23511 (rintf): Likewise.
23512 (nearbyint): Likewise.
23513 (nearbyintf): Likewise.
bdd74070 23514
91d8d69e
AJ
235152012-05-09 Andreas Jaeger <aj@suse.de>
23516 Pedro Alves <palves@redhat.com>
23517
23518 * nscd/nscd.c (run_mode): Use enum.
23519 (main): Cleanup coding style issue.
23520
bb90b80b
AJ
235212012-05-09 Alexandre Oliva <aoliva@redhat.com>
23522 Andreas Jaeger <aj@suse.de>
23523
bcfe3a54
ST
23524 * nscd/nscd.c (go_background): Replaced with...
23525 (run_mode): ... this.
bb90b80b 23526 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23527 (options): Add -F --foreground.
23528 (main): Implement it.
23529 (parse_opt): Parse it.
bb90b80b 23530
1a4b75a1
AJ
235312012-05-09 Andreas Jaeger <aj@suse.de>
23532
23533 [BZ #14083]
23534 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23535 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23536 -Wconversion warning.
23537 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23538 Likewise.
23539
b1cc2472
JM
235402012-05-09 Joseph Myers <joseph@codesourcery.com>
23541
23542 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23543 == 0.
23544 (LC_ALL): Use macro-int-constant.
23545 (LC_COLLATE): Likewise.
23546 (LC_CTYPE): Likewise.
23547 (LC_MESSAGES): Likewise.
23548 (LC_MONETARY): Likewise.
23549 (LC_NUMERIC): Likewise.
23550 (LC_TIME): Likewise.
23551 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23552 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23553 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23554 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23555 Specify type.
23556 [C99-based standards] (float_t): Expect type.
23557 [C99-based standards] (double_t): Expect type.
23558 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23559 type.
23560 [C99-based standards] (HUGE_VALL): Likewise.
23561 [C99-based standards] (INFINITY): Likewise.
23562 [C99-based standards] (NAN): Likewise.
23563 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23564 [C99-based standards] (FP_NAN): Likewise.
23565 [C99-based standards] (FP_NORMAL): Likewise.
23566 [C99-based standards] (FP_SUBNORMAL): Likewise.
23567 [C99-based standards] (FP_ZERO): Likewise.
23568 [C99-based standards] (FP_FAST_FMA): Use
23569 optional-macro-int-constant. Specify type. Require == 1.
23570 [C99-based standards] (FP_FAST_FMAF): Likewise.
23571 [C99-based standards] (FP_FAST_FMAL): Likewise.
23572 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23573 [C99-based standards] (FP_ILOGBNAN): Likewise.
23574 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23575 Specify type.
23576 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23577 [C99-based standards] (math_errhandling): Specify type.
23578 [ISO99 || ISO11] (signgam): Do not allow.
23579 [non-C99-based standards] (copysignf): Do not allow.
23580 [non-C99-based standards] (exp2f): Likewise.
23581 [non-C99-based standards] (log2f): Likewise.
23582 [non-C99-based standards] (modff): Allow.
23583 [non-C99-based standards] (erff): Do not allow.
23584 [non-C99-based standards] (erfcf): Likewise.
23585 [non-C99-based standards] (gammaf): Likewise.
23586 [non-C99-based standards] (hypotf): Likewise.
23587 [non-C99-based standards] (j0f): Likewise.
23588 [non-C99-based standards] (j1f): Likewise.
23589 [non-C99-based standards] (jnf): Likewise.
23590 [non-C99-based standards] (lgammaf): Likewise.
23591 [non-C99-based standards] (tgammaf): Likewise.
23592 [non-C99-based standards] (y0f): Likewise.
23593 [non-C99-based standards] (y1f): Likewise.
23594 [non-C99-based standards] (ynf): Likewise.
23595 [non-C99-based standards] (isnanf): Likewise.
23596 [non-C99-based standards] (acoshf): Likewise.
23597 [non-C99-based standards] (asinhf): Likewise.
23598 [non-C99-based standards] (atanhf): Likewise.
23599 [non-C99-based standards] (cbrtf): Likewise.
23600 [non-C99-based standards] (expm1f): Likewise.
23601 [non-C99-based standards] (ilogbf): Likewise.
23602 [non-C99-based standards] (log1pf): Likewise.
23603 [non-C99-based standards] (logbf): Likewise.
23604 [non-C99-based standards] (nextafterf): Likewise.
23605 [non-C99-based standards] (remainderf): Likewise.
23606 [non-C99-based standards] (rintf): Likewise.
23607 [non-C99-based standards] (scalbf): Likewise.
23608 [non-C99-based standards] (copysignl): Likewise.
23609 [non-C99-based standards] (exp2l): Likewise.
23610 [non-C99-based standards] (log2l): Likewise.
23611 [non-C99-based standards] (modfl): Allow.
23612 [non-C99-based standards] (erfl): Do not allow.
23613 [non-C99-based standards] (erfcl): Likewise.
23614 [non-C99-based standards] (gammal): Likewise.
23615 [non-C99-based standards] (hypotl): Likewise.
23616 [non-C99-based standards] (j0l): Likewise.
23617 [non-C99-based standards] (j1l): Likewise.
23618 [non-C99-based standards] (jnl): Likewise.
23619 [non-C99-based standards] (lgammal): Likewise.
23620 [non-C99-based standards] (tgammal): Likewise.
23621 [non-C99-based standards] (y0l): Likewise.
23622 [non-C99-based standards] (y1l): Likewise.
23623 [non-C99-based standards] (ynl): Likewise.
23624 [non-C99-based standards] (isnanl): Likewise.
23625 [non-C99-based standards] (acoshl): Likewise.
23626 [non-C99-based standards] (asinhl): Likewise.
23627 [non-C99-based standards] (atanhl): Likewise.
23628 [non-C99-based standards] (cbrtl): Likewise.
23629 [non-C99-based standards] (expm1l): Likewise.
23630 [non-C99-based standards] (ilogbl): Likewise.
23631 [non-C99-based standards] (log1pl): Likewise.
23632 [non-C99-based standards] (logbl): Likewise.
23633 [non-C99-based standards] (nextafterl): Likewise.
23634 [non-C99-based standards] (remainderl): Likewise.
23635 [non-C99-based standards] (rintl): Likewise.
23636 [non-C99-based standards] (scalbl): Likewise.
23637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23638 [non-C99-based standards] (FP_*): Do not allow.
23639 [C99-based standards] (FP_*): Change to
23640 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23641 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23642 allow.
23643 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23644 (SIG_ERR): Likewise.
23645 [X/Open-based standards] (SIG_HOLD): Likewise.
23646 (SIG_IGN): Likewise.
23647 (SIGABRT): Use macro-int-constant. Specify type. Require
23648 positive value.
23649 (SIGFPE): Likewise.
23650 (SIGILL): Likewise.
23651 (SIGINT): Likewise.
23652 (SIGSEGV): Likewise.
23653 (SIGTER): Likewise.
23654 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23655 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23656 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23657 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23658 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23659 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23660 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23661 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23662 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23663 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23664 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23665 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23666 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23667 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23668 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23669 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23670 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23671 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23672 [X/Open-based standards] (SIGTRAP): Likewise.
23673 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23674 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23675 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23676 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23677 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23678 allow.
23679
b9f1922d
IW
236802012-05-08 Ian Wienand <ianw@vmware.com>
23681
23682 [BZ #14080]
23683 * time/tzset.c (__tzset_parse_tz): Update default rules for
23684 daylight time changes in the Energy Policy Act of 2005.
23685
1db86e88
AJ
236862012-05-09 Andreas Jaeger <aj@suse.de>
23687
23688 [BZ #13983]
23689 * elf/ldconfig.c (parse_conf): Change string to make clear that
23690 ldconfig only issued a warning if ld.so.conf does not exist.
23691
dee4a4e3
DM
236922012-05-08 David S. Miller <davem@davemloft.net>
23693
ee0db190
DM
23694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23695 movxtod instead of popping the value on the stack.
23696
dee4a4e3
DM
23697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23698
6a43ec98
CD
236992012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23700
23701 * config.h.in: Add HAVE_ARM_PCS_VFP.
23702
05c2c961
RMG
237032012-05-08 Roland Mc Grath <roland@hack.frob.com>
23704
bcfe3a54
ST
23705 [BZ #13979]
23706 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23707 checking but the checks are disabled for any reason.
05c2c961 23708
4b30f61a
L
237092012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23710
23711 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23712 and ELF64_R_TYPE with ELFW(R_TYPE).
23713
eee2bc67
JM
237142012-05-08 Joseph Myers <joseph@codesourcery.com>
23715
7ea5391a
JM
23716 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23717 (ulimit): Likewise.
23718
eee2bc67
JM
23719 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23720 (settimeofday): Likewise.
23721
abb66a67
MF
237222012-05-08 Mike Frysinger <vapier@gentoo.org>
23723
23724 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23725 a struct th_u2 inside the union, and move tu_block/tu_code into
23726 a new th_u3 union of tu_block/tu_code inside of that. Move
23727 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23728 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23729 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23730 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23731 (th_stuff): Change to th_u1.tu_stuff.
23732 (th_data): Define.
23733 (th_msg): Change to th_u1.th_u2.tu_data.
23734
7f18b530
DM
237352012-05-07 David S. Miller <davem@davemloft.net>
23736
05760585
DM
23737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23738
7f18b530
DM
23739 [BZ #14074]
23740 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23741 (SETUP_PIC_REG): Use it.
23742 (SETUP_PIC_REG_LEAF): Use it.
23743
495fd99f
JM
237442012-05-07 Joseph Myers <joseph@codesourcery.com>
23745
23746 [BZ #13885]
23747 [BZ #13923]
23748 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23749 USE_AS_EXPM1L.
23750 (EXPL_FINITE): Likewise.
23751 (FLDLOG): Likewise.
23752 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23753 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23754 e_expl.S.
23755 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23756 USE_AS_EXPM1L.
23757 (EXPL_FINITE): Likewise.
23758 (FLDLOG): Likewise.
23759 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23760 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23761 e_expl.S.
23762 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23763 test of -max_value argument for long double.
23764 * sysdeps/i386/fpu/libm-test-ulps: Update.
23765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23766
6693d694
DM
237672012-05-06 David S. Miller <davem@davemloft.net>
23768
23769 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23770 quad soft-float symbols whose references which are compiler
23771 generated.
23772 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23773
6c23e11c
JM
237742012-05-06 Joseph Myers <joseph@codesourcery.com>
23775
d8b82cad
JM
23776 [BZ #13884]
23777 [BZ #13914]
23778 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23779 USE_AS_EXP10L.
23780 (EXPL_FINITE): Likewise.
23781 (FLDLOG): Likewise.
23782 (c0): Likewise.
23783 (c1): Likewise.
23784 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23785 Adjust comments for base varying.
23786 (__expl_finite): Change alias to EXPL_FINITE.
23787 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23788 e_expl.S.
23789 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23790 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23791 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23792 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23793 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23794 USE_AS_EXP10L.
23795 (EXPL_FINITE): Likewise.
23796 (FLDLOG): Likewise.
23797 (c0): Likewise.
23798 (c1): Likewise.
23799 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23800 Adjust comments for base varying.
23801 (__expl_finite): Change alias to EXPL_FINITE.
23802 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23803 tests for bugs.
23804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23805
6c23e11c
JM
23806 [BZ #14064]
23807 * math/libm-test.inc (check_float_internal): Correct ulp
23808 calculation for subnormal expected results.
23809
29ba805c
AJ
238102012-05-06 Andreas Jaeger <aj@suse.de>
23811
23812 * Makeconfig (+math-flags): New, set to -frounding-math.
23813 (+cflags): Add +math-flags so that all of glibc gets compiled with
23814 it.
23815
23816 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23817
7b17aeda
JM
238182012-05-05 Joseph Myers <joseph@codesourcery.com>
23819
5779f134
JM
23820 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23821 Disable one test.
23822
41498f4d
JM
23823 [BZ #13787]
23824 [BZ #13922]
23825 [BZ #14036]
23826 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23827 (__ieee754_expl): Allow for and saturate large arguments.
23828 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23829 (u_threshold): Likewise.
23830 (__exp): Call __ieee754_exp before checking for overflow and
23831 underflow.
23832 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23833 (u_threshold): Likewise.
23834 (__expf): Call __ieee754_expf before checking for overflow and
23835 underflow.
23836 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23837 (u_threshold): Likewise.
23838 (__expl): Call __ieee754_expl before checking for overflow and
23839 underflow.
23840 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23841 (__ieee754_expl): Allow for and saturate large arguments.
23842 * math/libm-test.inc (exp_test): Add another test. Do not allow
23843 missing overflow exception on overflow.
23844 (expm1_test): Do not allow missing overflow exception on overflow.
23845
6698b8bf
JM
23846 * sysdeps/i386/fpu/e_expl.c: Move to ...
23847 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23848 rather than using inline asm.
23849 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23850 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23851 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23852
7b17aeda
JM
23853 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23854 (nice): Likewise.
23855 (poll): Likewise.
23856 (signal): Likewise.
23857 (time): Likewise.
23858 (times): Likewise.
23859
f7c85819
JM
238602012-05-04 Joseph Myers <joseph@codesourcery.com>
23861
23862 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23863 sysdeps/unix/common/syscalls.list.
23864 (fchmod): Likewise.
23865 (fchown): Likewise.
23866 (ftruncate): Likewise.
23867 (getrusage): Likewise.
23868 (gettimeofday): Likewise.
23869 (setpgid): Likewise.
23870 (setregid): Likewise.
23871 (setreuid): Likewise.
23872 (sigaction): Likewise.
23873 (truncate): Likewise.
23874 (vhangup): Likewise.
23875 * sysdeps/unix/common/syscalls.list: Remove file.
23876 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23877 * sysdeps/unix/sysv/linux/Implies: Likewise.
23878
336270d0
L
238792012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23880
23881 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23883 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23884 Moved to ...
23885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23886 Here.
23887 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23888 to ...
23889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23890 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23891 to ...
23892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23893 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23894 to ...
23895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23896 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23897 to ...
23898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23899 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23900 to ...
23901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23902 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23903 to ...
23904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23905 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23906 to ...
23907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23908 Here.
23909 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23910 to ...
23911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23912 Here.
23913 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23914 to ...
23915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23916 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23917 Moved to ...
23918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23919 Here.
23920 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23921 to ...
23922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23923
d128e450
JM
239242012-05-04 Joseph Myers <joseph@codesourcery.com>
23925
fa8ee516
JM
23926 * sysdeps/unix/common/bits/dirent.h: Remove file.
23927 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23928
d128e450
JM
23929 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23930 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23931 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23932 * sysdeps/unix/bsd/isatty.c: Likewise.
23933 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23934 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23935 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23936
ff8faaf0 239372012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23938
62881be4 23939 [BZ #13563]
31dc8730
AZ
23940 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23941 long double comparison inaccuracies.
23942 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23944
6fef930c
AS
239452012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23946
23947 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23948 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23949
8f203e6c
JM
239502012-05-04 Joseph Myers <joseph@codesourcery.com>
23951
23952 [BZ #14049]
23953 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23954 nonzero digits before rounding a hex value.
23955 * stdlib/tst-strtod.c (tests): Add another test.
23956
5197d9c2
AK
239572012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23958
23959 * sysdeps/s390/fpu/libm-test-ulps: Update.
23960
f0c1dedf
AJ
239612012-05-03 Andreas Jaeger <aj@suse.de>
23962
23963 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23964 does not get optimized out.
23965 (malloc_opt_barrier): New.
23966
a65ef2ae 239672012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23968 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23969
2b942cb7 23970 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23971 intermediate file deletion.
2b942cb7 23972 (generated): Add .symlist files.
a65ef2ae 23973
54b71e02
JM
239742012-05-03 Joseph Myers <joseph@codesourcery.com>
23975
23976 [BZ #13775]
23977 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23978 Redirect under this condition.
23979 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23980 [__USE_GNU] (__dprintf_chk): Not under this condition.
23981 [__USE_GNU] (__vdprintf_chk): Likewise.
23982 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23983 under this condition.
23984 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23985 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23986 [__USE_XOPEN2K8] (vdprintf): Likewise.
23987 [__USE_GNU] (__dprintf_chk): Not under this condition.
23988 [__USE_GNU] (__vdprintf_chk): Likewise.
23989 [__USE_GNU] (dprintf): Likewise.
23990 [__USE_GNU] (vdprintf): Likewise.
23991
d3dfcc41
RM
239922012-05-03 Roland McGrath <roland@hack.frob.com>
23993
23994 * elf/Makefile (common-generated): Set this instead of generated for
23995 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23996 $(all-built-dso)-derived lists.
23997
7ac30cc5
AJ
239982012-05-03 Andreas Jaeger <aj@suse.de>
23999
0c51e550
AJ
24000 * sysdeps/i386/fpu/libm-test-ulps: Update.
24001
7ac30cc5
AJ
24002 * FAQ: Removed.
24003 * FAQ.in: Likewise.
24004 * scripts/gen-FAQ.pl: Likewise.
24005 * manual/install.texi (Installation): Point to online location of
24006 FAQ.
24007 * Makefile (files-for-dist): Remove FAQ.
24008 (FAQ): Remove.
24009
d4c2917f
AM
240102012-05-02 Allan McRae <allan@archlinux.org>
24011
24012 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24013 (LDFLAGS-reldepmod5.so): Likewise.
24014 (LDFLAGS-reldep6mod1.so): Likewise.
24015 (LDFLAGS-reldep6mod4.so): Likewise.
24016 (LDFLAGS-reldep8mod3.so): Likewise.
24017 (LDFLAGS-unload4mod1.so): Likewise.
24018 (LDFLAGS-unload4mod2.so): Likewise.
24019 (LDFLAGS-tst-initorder): Likewise.
24020 (LDFLAGS-tst-initordera2.so): Likewise.
24021 (LDFLAGS-tst-initordera3.so): Likewise.
24022 (LDFLAGS-tst-initordera4.so): Likewise.
24023 (LDFLAGS-tst-initorderb2.so): Likewise.
24024 (LDFLAGS-noload): Likewise.
24025 (LDFLAGS-next): Likewise.
24026 (LDFLAGS-order2mod1.so): Likewise.
24027 (LDFLAGS-order2mod2.so): Likewise.
24028 (LDFLAGS-tst-initorder2): Likewise.
24029 (LDFLAGS-tst-initorder2a.so): Likewise.
24030 (LDFLAGS-tst-initorder2b.so): Likewise.
24031 (LDFLAGS-tst-initorder2c.so): Likewise.
24032 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24033
d77f993f
DM
240342012-05-02 David S. Miller <davem@davemloft.net>
24035
24036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24037
171a70b4
PP
240382012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24039
24040 [BZ #14055]
24041 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24042
0be196ad
AJ
240432012-05-02 Andreas Jaeger <aj@suse.de>
24044
24045 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24046 since we manipulate rounding mode.
24047 (CPPFLAGS-test-idouble.c): Likewise.
24048 (CPPFLAGS-test-ifloat.c): Likewise.
24049 (CFLAGS-test-ldouble.c): Likewise.
24050 (CFLAGS-test-double.c): Likewise.
24051 (CFLAGS-test-float.c): Likewise.
24052 (CFLAGS-test-misc.c): Likewise.
24053 (CFLAGS-test-test-fenv.c): Likewise.
24054
4f9d04aa
AZ
240552012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24056
2b942cb7
RM
24057 [BZ #2550]
24058 [BZ #2570]
24059 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24060 comparisons to determine direction to adjust input.
4f9d04aa 24061
82a79e7d
RM
240622012-05-01 Roland McGrath <roland@hack.frob.com>
24063
f5a01ca9
RM
24064 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24065 output to the target.
24066
90fe4186
RM
24067 * scripts/localplt.awk: New file.
24068 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24069 (check-localplt-CFLAGS): Variable removed.
24070 ($(all-built-dso:=.jmprel)): New static pattern rule.
24071 (generated): Add those targets.
24072 (localplt-built-dso): New variable.
24073 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24074
24075 * elf/check-localplt.c: File removed.
24076
82397ed6
RM
24077 * scripts/check-execstack.awk: New file.
24078 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24079 (check-execstack-CFLAGS): Variable removed.
24080 ($(objpfx)check-execstack.h): Target removed.
24081 ($(objpfx)execstack-default): New target.
24082 (generated): Add that instead of check-execstack.h.
24083 ($(all-built-dso:=.phdr)): New static pattern rule.
24084 (generated): Add those targets.
24085 * elf/check-execstack.c: File removed.
24086
82a79e7d
RM
24087 * scripts/check-textrel.awk: New file.
24088 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24089 (check-textrel-CFLAGS): Variable removed.
24090 (all-built-dso): Use := to define.o
24091 ($(all-built-dso:=.dyn)): New static pattern rule.
24092 (generated): Add those targets.
24093 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24094 * config.make.in (READELF): New substituted variable.
24095 * elf/check-textrel.c: File removed.
24096
62fde54f 240972012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24098
615605c9
JM
24099 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24100 allow.
24101 * conform/data/ctype.h-data [C99-based standards] (isblank):
24102 Expect function.
24103 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24104 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24105 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24106 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24107 Specify type. Require positive value.
24108 (EILSEQ): Likewise.
24109 (ERANGE): Likewise.
24110 [ISO || POSIX] (EILSEQ): Do not expect.
24111 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24112 Specify type. Require positive value.
24113 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24114 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24115 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24116 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24117 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24118 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24119 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24120 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24121 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24122 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24123 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24124 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24125 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24126 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24127 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24128 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24129 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24130 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24131 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24132 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24133 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24134 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24135 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24136 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24137 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24138 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24139 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24140 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24141 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24142 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24143 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24144 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24145 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24146 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24147 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24148 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24149 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24150 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24151 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24152 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24153 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24154 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24155 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24156 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24157 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24158 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24159 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24162 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24163 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24164 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24165 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24166 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24168 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24169 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24171 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24172 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24173 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24174 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24175 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24176 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24177 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24178 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24179 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24180 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24181 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24182 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24183 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24184 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24185 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24186 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24187 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24188 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24189 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24190 Require >= 2.
24191 (FLT_ROUNDS): Expect as macro, not constant.
24192 (FLT_MANT_DIG): Use macro-int-constant.
24193 (DBL_MANT_DIG): Likewise.
24194 (LDBL_MANT_DIG): Likewise.
24195 (FLT_DIG): Likewise.
24196 (DBL_DIG): Likewise.
24197 (LDBL_DIG): Likewise.
24198 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24199 (DBL_MIN_EXP): Likewise.
24200 (LDBL_MIN_EXP): Likewise.
24201 (FLT_MAX_EXP): Use macro-int-constant.
24202 (DBL_MAX_EXP): Likewise.
24203 (LDBL_MAX_EXP): Likewise.
24204 (FLT_MAX_10_EXP): Likewise.
24205 (DBL_MAX_10_EXP): Likewise.
24206 (LDBL_MAX_10_EXP): Likewise.
24207 (FLT_MAX): Use macro-constant.
24208 (DBL_MAX): Likewise.
24209 (LDBL_MAX): Likewise.
24210 (FLT_EPSILON): Use macro-constant. Give upper bound.
24211 (DBL_EPSILON): Likewise.
24212 (LDBL_EPSILON): Likewise.
24213 (FLT_MIN): Likewise.
24214 (DBL_MIN): Likewise.
24215 (LDBL_MIN): Likewise.
24216 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24217 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24218 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24219 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24220 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24221 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24222 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24223 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24224 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24225 [ISO11] (FLT_TRUE_MIN): Likewise.
24226 [ISO11] (LDBL_TRUE_MIN): Likewise.
24227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24228 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24229 (SCHAR_MIN): Use macro-int-constant. Specify type.
24230 (SCHAR_MAX): Likewise.
24231 (UCHAR_MAX): Likewise.
24232 (CHAR_MIN): Likewise.
24233 (CHAR_MAX): Likewise.
24234 (MB_LEN_MAX): Use macro-int-constant.
24235 (SHRT_MIN): Use macro-int-constant. Specify type.
24236 (SHRT_MAX): Likewise.
24237 (USHRT_MAX): Likewise.
24238 (INT_MAX): Likewise.
24239 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24240 bound negative.
24241 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24242 bound with "U".
24243 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24244 bound with "L".
24245 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24246 bound negative. Suffix upper bound with "L".
24247 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24248 bound with "UL".
24249 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24250 Specify type.
24251 [C99-based standards] (LLONG_MAX): Likewise.
24252 [C99-based standards] (ULLONG_MAX): Likewise.
24253 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24254 == 0.
24255 [ISO11] (max_align_t): Require type.
24256 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24257
c9140a62
JM
24258 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24259 from $CFLAGS, without defining away __attribute__ calls.
24260 (checknamespace): Use $CFLAGS_namespace.
24261
9af0bf29
JM
24262 * conform/conformtest.pl (@keywords): Only include C99 keywords
24263 for standards based on C99 or C11.
24264
343222a2
JM
24265 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24266 Disable tests.
24267 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24268 UNIX98]: Likewise.
24269
661f8cf0
JM
24270 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24271 usability of symbols in #if.
24272
ee74b9cb
JM
24273 * conform/conformtest.pl: If macro or constant types start
24274 "promoted:", expect the symbol to be of the following type
24275 promoted by the integer promotions.
62fde54f 24276
aafc49b3
JM
24277 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24278 in one place. Also handle "macro-constant".
24279
fefdf574
JM
24280 * conform/conformtest.pl: Only accept expected macro values with
24281 "==". Parse all "macro" lines in one place.
24282 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24283
f2d922fe
JM
24284 * conform/conformtest.pl: Handle braced types on "constant" lines
24285 instead of handling "typed-constant".
24286 * conform/data/signal.h-data: Use "constant" instead of
24287 "typed-constant".
24288
d22956c9
JM
24289 * conform/conformtest.pl: Handle "optional-" at start of lines in
24290 one place rather than duplicating several cases. Handle each
24291 format of "macro" line with initial "optional-".
24292
028e2e38
JM
24293 * conform/conformtest.pl: Only accept expected constant or
24294 optional-constant values with "==". Parse all "constant" lines in
24295 one place. Parse all "optional-constant" lines in one place.
24296 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24297 * conform/data/fmtmsg.h-data: Likewise.
24298 * conform/data/netinet/in.h-data: Likewise.
24299 * conform/data/tar.h-data: Likewise.
24300 * conform/data/limits.h-data: Use "==" form on "constant" and
24301 "optional-constant" lines.
24302
1b8f2850
JM
24303 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24304 Use -std=c99 for XOPEN2K.
24305 (@knownproblems): Remove.
24306 (newtoken): Don't check %isknown.
24307
a05a144b
JM
24308 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24309 Do not expect macro.
24310 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24311 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24312 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24313 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24314 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24315 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24316 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24317 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24318 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24319 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24320 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24321 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24322 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24323 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24324 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24325 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24326 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24327 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24328 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24329 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24330 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24331 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24332 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24333 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24334 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24335 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24336 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24337 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24338 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24339 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24340 [XPG3] (acosh): Likewise.
24341 [XPG3] (asinh): Likewise.
24342 [XPG3] (atanh): Likewise.
24343 [XPG3] (cbrt): Likewise.
24344 [XPG3] (expm1): Likewise.
24345 [XPG3] (ilogb): Likewise.
24346 [XPG3] (log1p): Likewise.
24347 [XPG3] (logb): Likewise.
24348 [XPG3] (nextafter): Likewise.
24349 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24350 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24351 [XPG3] (remainder): Likewise.
24352 [XPG3] (rint): Likewise.
24353 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24354 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24355 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24356 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24357 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24358 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24359 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24360 [UNIX98 || XOPEN2K] (scalb): Expect.
24361 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24362 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24363 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24364 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24365 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24366 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24367 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24368 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24369 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24370 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24371 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24372 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24373 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24374 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24375 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24376 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24377 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24378 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24379 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24380 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24381 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24382 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24383 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24384 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24385 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24386 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24387 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24388 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24389 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24390 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24391 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24392 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24393 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24394 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24395 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24396 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24397 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24398 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24399 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24400 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24401 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24402 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24403 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24404 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24405 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24406 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24407 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24408 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24409 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24410 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24411 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24412 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24413 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24414 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24415 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24416 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24417 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24418 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24419 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24420 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24421 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24422 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24423 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24424 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24425 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24426 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24427 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24428 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24429 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24430 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24431 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24432 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24433 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24434 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24435 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24436 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24437 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24438 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24439 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24440 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24441 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24442 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24443 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24444 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24445 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24446 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24447 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24448 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24449 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24450 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24451 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24452 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24453 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24454 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24455 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24456 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24457 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24458 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24459 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24460 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24461 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24462 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24463 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24464 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24465 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24466 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24467 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24468 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24469 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24470 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24471 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24472 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24473 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24474 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24475 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24476 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24477 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24478 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24479 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24480 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24481 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24482 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24483 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24484 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24485 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24486 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24487 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24488 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24489 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24490 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24491 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24492 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24493 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24494 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24495 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24496 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24497 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24498
73c5ebe3
JM
24499 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24500 _XOPEN_SOURCE_EXTENDED for XPG4.
24501
39c33b6c
JM
24502 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24503
62fde54f
JM
24504 * Makeconfig (localtime): Remove variable.
24505 (inst_localtime-file): Likewise.
24506
0741d64c
AS
245072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24508
24509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24510 Update.
24511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24512 Update.
24513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24514 Update.
24515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24516 Update.
24517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24518 Update.
24519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24520 Update.
24521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24522 Update.
24523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24524 Update.
24525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24526 Update.
24527
7cb029ee
JM
245282012-05-01 Joseph Myers <joseph@codesourcery.com>
24529
24530 [BZ #2550]
24531 [BZ #2570]
24532 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24533 comparisons to determine direction to adjust input.
24534 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24535 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24536 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24537 Likewise.
24538 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24539 Likewise.
24540 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24541 Likewise.
24542 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24543 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24544 Likewise.
24545 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24546 Likewise.
24547 * math/libm-test.inc (nexttoward_test): Add more tests.
24548
412bd966
AS
245492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24550
24551 [BZ #14040]
24552 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24553 in version GLIBC_2.1, not GLIBC_2.0.
24554 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24555 Likewise.
24556
9568c0c2
JM
245572012-04-30 Joseph Myers <joseph@codesourcery.com>
24558
adfbc8ac
JM
24559 [BZ #13942]
24560 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24561 (1 - x) * (1 + x).
24562 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24563 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24564 * math/libm-test.inc (acos_test): Add more tests.
24565 (asin_test): Likewise.
24566 * sysdeps/i386/fpu/libm-test-ulps: Update.
24567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24568
5ba3cc69
JM
24569 [BZ #14034]
24570 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24571 of square root.
24572 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24573 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24574 * math/libm-test.inc (acos_test_tonearest): New function.
24575 (acos_test_towardzero): Likewise.
24576 (acos_test_downward): Likewise.
24577 (acos_test_upward): Likewise.
24578 (asin_test_tonearest): Likewise.
24579 (asin_test_towardzero): Likewise.
24580 (asin_test_downward): Likewise.
24581 (asin_test_upward): Likewise.
24582 (main): Call the new functions.
24583 * sysdeps/i386/fpu/libm-test-ulps: Update.
24584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24585
9568c0c2
JM
24586 [BZ #13884]
24587 [BZ #13924]
24588 * math/e_exp10.c: Include <float.h>.
24589 (__ieee754_exp10): Handle underflow here rather than multiplying
24590 large negative argument by M_LN10.
24591 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24592 of __ieee754_expf.
24593 * math/e_exp10l.c: Include <float.h>.
24594 (__ieee754_exp10l): Handle underflow here rather than multiplying
24595 large negative argument by M_LN10l.
24596 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24597 spurious overflow exception on underflow.
24598
5ac3ea17
MP
245992012-04-29 Marek Polacek <polacek@redhat.com>
24600
24601 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24602 (__fortify_function): New macro.
24603 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24604 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24605 __extern_always_inline.
24606 * libio/bits/stdio2.h: Likewise.
24607 * libio/bits/stdio.h: Likewise.
24608 * string/string.h: Likewise.
24609 * string/bits/string3.h: Likewise.
24610 * include/stdio.h: Likewise.
24611 * stdlib/bits/stdlib.h: Likewise.
24612 * stdlib/stdlib.h: Likewise.
24613 * rt/bits/mqueue2.h: Likewise.
24614 * rt/mqueue.h: Likewise.
24615 * posix/bits/unistd.h: Likewise.
24616 * posix/unistd.h: Likewise.
24617 * io/bits/poll2.h: Likewise.
24618 * io/bits/fcntl2.h: Likewise.
24619 * io/fcntl.h: Likewise.
24620 * io/sys/poll.h: Likewise.
24621 * misc/bits/syslog.h: Likewise.
24622 * misc/bits/syslog-ldbl.h: Likewise.
24623 * misc/sys/syslog.h: Likewise.
24624 * socket/bits/socket2.h: Likewise.
24625 * socket/sys/socket.h: Likewise.
24626 * debug/tst-chk1.c: Likewise.
24627 * wcsmbs/bits/wchar2.h: Likewise.
24628 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24629 * wcsmbs/wchar.h: Likewise.
24630
ecf0ebfb
AJ
246312012-04-29 Andreas Jaeger <aj@suse.de>
24632
24633 * Makerules (tests): Remove enable-check-abi protection.
24634 (check-abi-warn): Remove.
24635 (check-abi-%): Remove check-abi-warn usage.
24636
24637 * configure.in: Remove check-abi configure option.
24638 * configure: Regenerated.
24639 * config.make.in (enable-check-abi): Remove.
24640
6d5c57fa
AS
246412012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24642
24c5d07e 24643 [BZ #14033]
ded5180a
AS
24644 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24645 double functions to double *_finite functions.
24646
7e0d315d
AS
24647 [BZ #13941]
24648 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24649 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24650 LDBL_MIN_EXP.
24651 * stdio-common/Makefile (tests): Add tst-sprintf3.
24652 * stdio-common/tst-sprintf3.c: New file.
24653
6d5c57fa
AS
24654 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24655 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24656
0749ff8b
JM
246572012-04-28 Joseph Myers <joseph@codesourcery.com>
24658
24659 * conform/conformtest.pl: Remove duplicate typed-constant
24660 handling.
24661
8dbd5d7b
DM
246622012-04-28 David S. Miller <davem@davemloft.net>
24663
24664 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24665 (check-abi-%): Remove AWK script prerequisite and explicit
24666 abilist directory.
24667 (check-abi): Rewrite to just diff the symlist with the abilist.
24668 (config-tls, config-abi-config): Delete, no longer used.
24669 (update-abi-%): Remove AWK script and explicit abilist directory.
24670 (update-abi): Rewrite to simply compare and conditionally copy the
24671 symlist and the sysdep abilist file. Remove update-abi-config
24672 checks.
24673 * abilist/ld.abilist: Remove.
24674 * abilist/libBrokenLocale.abilist: Remove.
24675 * abilist/libanl.abilist: Remove.
24676 * abilist/libcrypt.abilist: Remove.
24677 * abilist/libdl.abilist: Remove.
24678 * abilist/librt.abilist: Remove.
24679 * abilist/libthread_db.abilist: Remove.
24680 * abilist/libutil.abilist: Remove.
24681 * scripts/extract-abilist.awk: Remove.
24682 * scripts/merge-abilist.awk: Remove.
24683 * sysdeps/generic/libcidn.abilist: New file.
24684 * sysdeps/generic/libnss_compat.abilist: New file.
24685 * sysdeps/generic/libnss_db.abilist: New file.
24686 * sysdeps/generic/libnss_dns.abilist: New file.
24687 * sysdeps/generic/libnss_files.abilist: New file.
24688 * sysdeps/generic/libnss_hesiod.abilist: New file.
24689 * sysdeps/generic/libnss_nis.abilist: New file.
24690 * sysdeps/generic/libnss_nisplus.abilist: New file.
24691 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24692 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24693 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24694 file.
24695 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24696 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24697 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24698 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24699 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24700 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24701 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24702 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24703 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24704 file.
24705 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24706 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24707 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24708 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24709 file.
24710 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24711 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24712 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24713 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24714 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24715 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24716 file.
24717 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24718 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24719 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24720 file.
24721 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24723 New file.
24724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24725 New file.
24726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24727 New file.
24728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24729 New file.
24730 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24731 New file.
24732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24733 New file.
24734 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24735 New file.
24736 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24737 New file.
24738 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24739 New file.
24740 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24741 New file.
24742 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24743 New file.
24744 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24745 New file.
24746 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24747 New file.
24748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24749 file.
24750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24751 New file.
24752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24753 New file.
24754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24755 file.
24756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24757 New file.
24758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24759 New file.
24760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24761 file.
24762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24763 New file.
24764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24765 New file.
24766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24767 New file.
24768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24769 New file.
24770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24771 New file.
24772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24773 New file.
24774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24776 file.
24777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24778 New file.
24779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24780 file.
24781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24782 file.
24783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24784 file.
24785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24786 file.
24787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24788 file.
24789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24790 New file.
24791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24792 file.
24793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24794 file.
24795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24796 New file.
24797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24798 file.
24799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24801 file.
24802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24803 New file.
24804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24805 file.
24806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24807 file.
24808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24809 file.
24810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24811 file.
24812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24813 file.
24814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24815 New file.
24816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24817 file.
24818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24819 file.
24820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24821 New file.
24822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24823 file.
24824 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24825 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24826 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24827 file.
24828 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24829 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24830 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24831 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24832 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24833 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24834 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24835 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24836 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24837 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24840 file.
24841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24842 New file.
24843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24844 file.
24845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24846 file.
24847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24848 file.
24849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24850 file.
24851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24852 file.
24853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24854 New file.
24855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24856 New file.
24857 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24858 file.
24859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24860 New file.
24861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24862 file.
24863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24865 file.
24866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24867 New file.
24868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24869 file.
24870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24871 file.
24872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24873 file.
24874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24875 file.
24876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24877 file.
24878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24879 New file.
24880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24881 New file.
24882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24883 file.
24884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24885 New file.
24886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24887 file.
24888
41d73a1b
JM
248892012-04-28 Joseph Myers <joseph@codesourcery.com>
24890
24891 * conform/conformtest.pl: Fix typo in handling typed-constant from
24892 allow-header.
24893
28aeeda4
JM
248942012-04-27 Joseph Myers <joseph@codesourcery.com>
24895
adae8f5e
JM
24896 * README: Cut down references to pre-2.6 Linux kernels and
24897 Linuxthreads. Update lists of configurations in libc and ports
24898 and sort alphabetically. Say "or newer" with Linux kernel version
24899 requirements.
24900
28aeeda4
JM
24901 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24902
a462cb63
RA
249032012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24904
24905 [BZ #887]
24906 * math/libm-test.inc (logb_test_downward): New test to expose
24907 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24908 rounding mode.
24909
6ad3493e
JM
249102012-04-27 Joseph Myers <joseph@codesourcery.com>
24911
24912 [BZ #14027]
24913 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24914 to be done.
24915 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24916 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24917
2ce4f015
JM
249182012-04-26 Joseph Myers <joseph@codesourcery.com>
24919
5aeb141a
JM
24920 * sysdeps/unix/i386/brk.S: Remove file.
24921 * sysdeps/unix/i386/dl-brk.S: Likewise.
24922 * sysdeps/unix/i386/pipe.S: Likewise.
24923 * sysdeps/unix/i386/sigreturn.S: Likewise.
24924 * sysdeps/unix/i386/syscall.S: Likewise.
24925 * sysdeps/unix/i386/vfork.S: Likewise.
24926 * sysdeps/unix/i386/wait.S: Likewise.
24927
7143acae
JM
24928 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24929 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24930
2ce4f015
JM
24931 * configure.in (arm*-none*): Do not allow without
24932 --enable-hacker-mode.
24933 (netbsd*): Remove case setting base_os.
24934 (386bsd*): Likewise.
24935 (freebsd*): Likewise.
24936 (bsdi*): Likewise.
24937 (osf*): Likewise.
24938 (sunos*): Likewise.
24939 (ultrix*): Likewise.
24940 (newsos*): Likewise.
24941 (dynix*): Likewise.
24942 (*bsd*): Likewise.
24943 (sysv*): Likewise.
24944 (isc*): Likewise.
24945 (esix*): Likewise.
24946 (sco*): Likewise.
24947 (minix*): Likewise.
24948 (irix4*): Likewise.
24949 (irix6*): Likewise.
24950 (solaris[2-9]*): Likewise.
24951 (none): Likewise.
24952 * configure: Regenerated.
24953
0ac229c8
AZ
249542012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24955
24956 [BZ #11521]
24957 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24958 overflow or cancellation in calculating denominator.
24959 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24960 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24961 down expression to avoid unexpected rounding in newer GCCs.
24962 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24963
33f244f4
DM
249642012-04-26 David S. Miller <davem@davemloft.net>
24965
24966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24967 long-double compat symbols.
24968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24981
cfa1f3e8
DM
249822012-04-25 David S. Miller <davem@davemloft.net>
24983
24984 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24985 HWCAP_* values only after the memory barriers have been defined.
24986 (atomic_full_barrier): Define.
24987 (atomic_read_barrier): Define.
24988 (atomic_write_barrier): Define.
24989
6e236b92
SP
249902012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24991
24992 * shlib-versions: Add libgcc_s version information.
24993 * sysdeps/generic/libgcc_s.h: Remove.
24994 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24995 libgcc_s.h.
24996 * sysdeps/gnu/unwind-resume.c: Likewise.
24997 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24998
aab39a09
DM
249992012-04-25 David S. Miller <davem@davemloft.net>
25000
25001 * sysdeps/unix/sparc/brk.S: Delete.
25002 * sysdeps/unix/sparc/dl-brk.S: Delete.
25003 * sysdeps/unix/sparc/pipe.S: Delete.
25004 * sysdeps/unix/sparc/sysdep.S: Delete.
25005 * sysdeps/unix/sparc/sysdep.h: Delete.
25006 * sysdeps/unix/sparc/vfork.S: Delete.
25007 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25008 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25009 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25010 ret_ERRVAL, r0, r1, MOVE): Define.
25011 (JUMPTARGET): Remove.
25012 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25013 sysdeps/unix/sparc/sysdep.h
25014 (ENTRY, END): Remove.
25015 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25016
a3cc4f48
JM
250172012-04-25 Joseph Myers <joseph@codesourcery.com>
25018
2ed8cda2
JM
25019 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25020 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25021 -DIS_IN_build.
25022
35d76d59
JM
25023 * timezone/README: Update upstream location and email address for
25024 tzcode and tzdata.
25025 * timezone/zdump.c: Update from tzcode 2012b.
25026 * timezone/zic.c: Likewise.
25027
a3cc4f48
JM
25028 * configure.in (libc_cv_as_needed): Remove test.
25029 * configure: Regenerated.
25030 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25031 conditional definition.
25032 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25033 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25034 * config.make.in (have-as-needed): Remove variable.
25035
ceab42c3
SP
250362012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25037 Paul Pluzhnikov <ppluzhnikov@google.com>
25038
25039 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25040 strings correctly.
25041
3ce2865f
CLT
250422012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25043
25044 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25045 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25046 * sysdeps/sh/strlen.S: Likewise.
25047
f37e0d68
JM
250482012-04-24 Joseph Myers <joseph@codesourcery.com>
25049
ae186e9a
JM
25050 * sysdeps/unix/fork.S: Remove file.
25051 * sysdeps/unix/i386/fork.S: Likewise.
25052 * sysdeps/unix/sparc/fork.S: Likewise.
25053
b96914af
JM
25054 * sysdeps/unix/system.c: Remove file.
25055 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25056
f37e0d68
JM
25057 * sysdeps/unix/getegid.S: Remove file.
25058 * sysdeps/unix/geteuid.S: Likewise.
25059
87ef29ca
RM
250602012-04-24 Roland McGrath <roland@hack.frob.com>
25061
83bcd236
RM
25062 * scripts/check-localplt.awk: New file.
25063 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25064 of diff.
25065 * scripts/data/localplt-generic.data: Add a comment.
25066
87ef29ca
RM
25067 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25068 NODE when __dir_mkfile failed.
25069 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25070 Reported by Ludovic Courtès <ludo@gnu.org>.
25071
e5a6e567
AJ
250722012-04-24 Andreas Jaeger <aj@suse.de>
25073
25074 * Makerules (common-clean): Also remove gen-as-const-headers
25075 files.
25076
c1820385
JM
250772012-04-24 Joseph Myers <joseph@codesourcery.com>
25078
25079 * Makerules (native-compile): Do not change working directory for
25080 build. Use $(OUTPUT_OPTION) in command.
25081 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25082
94e02fc4
AZ
250832012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25084
25085 [BZ #13886]
25086 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25087 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25088 * math/libm-test.inc (floor_test): Add more tests.
25089 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25090
3a533ca3
JM
250912012-04-24 Joseph Myers <joseph@codesourcery.com>
25092
940ab4b3
JM
25093 * sysdeps/unix/getdents.c: Remove file.
25094 * sysdeps/unix/sysv/getdents.c: Likewise.
25095 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25096
90e037bd
JM
25097 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25098 sysdeps/unix/mman/syscalls.list.
25099 (mmap): Likewise.
25100 (mprotect): Likewise.
25101 (msync): Likewise.
25102 (munmap): Likewise.
25103 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25104 * sysdeps/unix/mman/syscalls.list: Remove.
25105 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25106
3a533ca3
JM
25107 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25108 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25109 * configure: Regenerated.
25110 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25111 $(libgcc_s_suffix).
25112 * config.make.in (libgcc_s_suffix): Remove variable.
25113
1ad743de
JM
251142012-04-23 Joseph Myers <joseph@codesourcery.com>
25115
4ad451e2
JM
25116 * sysdeps/unix/sysv/gethostname.c: Move to ...
25117 * sysdeps/posix/gethostname.c: ... here.
25118
5e37ce39
JM
25119 * sysdeps/unix/execve.S: Remove file.
25120
1ad743de
JM
25121 * sysdeps/unix/_exit.S: Remove file.
25122
4e681b5b
AJ
251232012-04-23 Andreas Jaeger <aj@suse.de>
25124
25125 [BZ #13739]
25126 * manual/Makefile: Remove make dist support, there's no
25127 need for a stand-alone documentation tar ball.
25128 (TEXI2DVI): Define always, it's not in Makeconfig.
25129 (dist): Removed.
25130 (tar-it): Removed.
25131 (edition): Removed.
25132 (glibc-doc-$(edition).tar): Removed
25133 (%.Z): Removed.
25134 (%.gz): Removed.
25135 (%.uu): Removed.
25136 (ETAGS): Remove, it's in Makeconfig.
25137 (move-if-change): Remove, it's in Makeconfig.
25138
38686a03 251392012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25140
25141 [BZ #13970]
25142 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25143 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25144 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25145 (strtod_l, strtof_l, strtold_l): Remove __wur.
25146 It is not necessarily an error to ignore strtol's return value.
25147 One can reliably look at the stored endptr to decide whether
25148 the number had valid syntax.
25149
7c0616fa
AJ
251502012-04-21 Andreas Jaeger <aj@suse.de>
25151
803cb6b7 25152 [BZ #13739]
7c0616fa
AJ
25153 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25154
b0fe253f
JM
251552012-04-21 Joseph Myers <joseph@codesourcery.com>
25156
25157 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25158 * sysdeps/unix/sysv/Versions: Remove file.
25159
8280f22d
MT
251602012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25161
25162 [BZ #13927]
25163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25164
75ce411f 251652012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25166
25167 [BZ #7064]
25168 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25169 version from __vm86.
25170
097d59fa
JM
251712012-04-20 Joseph Myers <joseph@codesourcery.com>
25172
a90f3bcb
JM
25173 * sysdeps/unix/common/lxstat.c: Remove file.
25174 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25175
edc7ea78
JM
25176 * sysdeps/unix/sysv/Makefile: Remove file.
25177
cb78c221
JM
25178 * sysdeps/unix/sysv/direct.h: Remove file.
25179
efa6a45f
JM
25180 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25181 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25182 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25183 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25184 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25185 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25186 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25187
9c9f2d0c
JM
25188 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25189
4541c83b
JM
25190 * sysdeps/unix/xmknod.c: Remove file.
25191 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25192
f5d153a0
JM
25193 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25194
aa746595
JM
25195 * sysdeps/unix/sysv/i386/time.S: Remove file.
25196
cce5905e
JM
25197 * sysdeps/unix/fxstat.c: Remove file.
25198 * sysdeps/unix/xstat.c: Likewise.
25199 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25200
37fa3841
JM
25201 * sysdeps/unix/sysv/sigaction.c: Remove file.
25202
ff1962a3
JM
25203 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25204 (sysdep_headers): Remove variable.
25205 [termio.h not in sysdep_headers] (generated): Likewise.
25206 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25207 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25208 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25209 * sysdeps/unix/sysv/tcflow.c: Likewise.
25210 * sysdeps/unix/sysv/tcflush.c: Likewise.
25211 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25212 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25213 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25214 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25215 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25216
e7740d31
JM
25217 * sysdeps/unix/siglist.c: Remove file.
25218
ee06f18b
JM
25219 * sysdeps/unix/getppid.S: Remove file.
25220
097d59fa
JM
25221 * sysdeps/unix/mkdir.c: Remove file.
25222 * sysdeps/unix/rmdir.c: Likewise.
25223
ff3d51ec
AS
252242012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25225
25226 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25227 ERR_MAX value.
25228 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25229 errlist-compat value.
25230
50f81fd7
DM
252312012-04-18 David S. Miller <davem@davemloft.net>
25232
25233 * sysdeps/generic/memcopy.h (reg_char): Delete.
25234 * debug/strcat_chk.c: Use char, not reg_char.
25235 * debug/strcpy_chk.c: Likewise.
25236 * debug/strncat_chk.c: Likewise.
25237 * debug/strncpy_chk.c: Likewise.
25238 * string/memchr.c: Likewise.
25239 * string/memrchr.c: Likewise.
25240 * string/rawmemchr.c: Likewise.
25241 * string/strcat.c: Likewise.
25242 * string/strchr.c: Likewise.
25243 * string/strchrnul.c: Likewise.
25244 * string/strcmp.c: Likewise.
25245 * string/strcpy.c: Likewise.
25246 * string/strncat.c: Likewise.
25247 * string/strncmp.c: Likewise.
25248 * string/strncpy.c: Likewise.
25249
8ff41c46
WS
252502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25251
25252 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25253 __builtin_memcopy is called when src and dest ranges are known to not
25254 overlap.
25255
6b652f46
WS
252562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25257
25258 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25259 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25260 fwd_align_merge macro call.
25261 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25262 bwd_align_merge macro call.
25263 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25264
b282631e
WS
252652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25266
25267 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25268 bwd_align_merge macros.
25269 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25270 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25271 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25272
95aa737c
DM
252732012-04-18 David S. Miller <davem@davemloft.net>
25274
25275 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25276
7a99a614
AJ
252772012-04-18 Andreas Jaeger <aj@suse.de>
25278
25279 [BZ# 6794]
25280 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25281 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25282 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25283
25284 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25285 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25286 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25287
25288 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25289 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25290 Adjust for changed ldbl-128 files.
25291
25292 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25293 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25294 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25295
e5270c23
DM
252962012-04-17 David S. Miller <davem@davemloft.net>
25297
25298 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25299
fb5e92c9
AS
253002012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25301
25302 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25303 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25304 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25305 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25306 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25307 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25308
76da7265
AZ
253092012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25310
25311 [BZ #6794]
25312 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25313 * math/libm-test.inc: Add ilogb errno and exception tests.
25314 * math/w_ilogb.c: New file: ilogb wrapper.
25315 * math/w_ilogbf.c: New file: ilogbf wrapper.
25316 * math/w_ilogbl.c: New file: ilogbl wrapper.
25317 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25318 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25319 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25320 exception being thrown with 0.0 as argument.
25321 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25322 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25323 exception being thrown with 0.0 as argument.
25324 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25325 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25326 exception being thrown with 0.0 as argument.
25327 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25328 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25329 exception being thrown with 0.0 as argument.
25330 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25331 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25332 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25333 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25334 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25335 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25336 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25337 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25338 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25339
0396e69d
PB
253402012-04-17 Petr Baudis <pasky@ucw.cz>
25341
25342 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25343 with altivec.
25344
750b5926
MP
253452012-04-16 Marek Polacek <polacek@redhat.com>
25346
25347 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25348
751728a1
MP
253492012-04-16 Marek Polacek <polacek@redhat.com>
25350
25351 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25352 operands of fdivp instruction.
25353
34a27407
L
253542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25355
25356 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25357 * elf/tst-auditmod3b.c: Likewise.
25358 * elf/tst-auditmod4b.c: Likewise.
25359 * elf/tst-auditmod5b.c: Likewise.
25360 * elf/tst-auditmod6b.c: Likewise.
25361 * elf/tst-auditmod6c.c: Likewise.
25362 * elf/tst-auditmod7b.c: Likewise.
25363 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25364 * sysdeps/x86_64/preconfigure.in: Likewise.
25365 * sysdeps/x86_64/preconfigure: Regenerated.
25366
7e73e17d
L
253672012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25368
25369 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25370 __ILP32__.
25371
c7a6ab72
AB
253722012-04-13 Antoine Balestrat <merkil33@gmail.com>
25373
25374 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25375 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25376
a9e8e0e0
CL
253772012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25378
25379 [BZ #13973]
25380 * locale/iso-639.def: Fix gl language name. Spotted by
25381 Yaron Shahrabani.
25382
ec98af7d
RM
253832012-04-12 Roland McGrath <roland@hack.frob.com>
25384
25385 [BZ #2074]
25386 * libio/libio.h (__io_write_fn): Update comment.
25387
247c3ede
PB
253882012-04-12 Petr Baudis <pasky@ucw.cz>
25389
25390 [BZ #2074]
25391 * stdio.texi (Hook Functions): The user provided writer function
25392 is not allowed to return -1.
25393
55939d6d
DM
253942012-04-11 David S. Miller <davem@davemloft.net>
25395
25396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25397
90020f5a
MF
253982012-04-11 Mike Frysinger <vapier@gentoo.org>
25399
25400 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25401 Add a leading slash to rtkaio.
25402
288f9098
JM
254032012-04-11 Jim Meyering <meyering@redhat.com>
25404
90020f5a
MF
25405 [BZ #11959]
25406 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25407 It is not necessarily an error to ignore fwrite's return
25408 value. One can reliably use ferror to test for errors after
25409 the fact.
288f9098 25410
4be2b570
L
254112012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25412
25413 * bits/types.h (__snseconds_t): New type.
25414 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25415
25416 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25417 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25418 (__SNSECONDS_T_TYPE): Likewise.
25419 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25420 (__SNSECONDS_T_TYPE): Likewise.
25421 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25422 (__SNSECONDS_T_TYPE): Likewise.
25423
288f9098 254242012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25425
25426 [BZ #2636]
25427 * manual/time.texi (Processor Time): Return type of times is
25428 elapsed real time since an arbitrary point in the past.
25429 (CPU Time): Move CLK_TCK from here...
25430 (Processor Time): ...to here. Correct description.
25431 * manual/conf.texi (Constants for Sysconf): Correct description of
25432 _SC_CLK_TCK.
25433
d7dd4413
DM
254342012-04-10 David S. Miller <davem@davemloft.net>
25435
25436 [BZ #13967]
25437 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25438 where the is a gap between DT_REL(A) and DT_JMPREL.
25439
b46068fc
L
254402012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25441
25442 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25443 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25444 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25445
73d65cc3
SP
254462012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25447
25448 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25449 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25450 (dl_main): Handle --inhibit-cache.
25451 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25452 _dl_inhibit_cache.
25453 * elf/dl-load.c (_dl_map_object): Use it.
25454 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25455
bcc8d661
JM
254562012-04-09 Joseph Myers <joseph@codesourcery.com>
25457
8f9a2fae
JM
25458 [BZ #13872]
25459 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25460 (__ieee754_powl): Saturate large exponents rather than testing for
25461 overflow of y*log2(x).
25462 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25463 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25464 exceptions.
25465
bcc8d661
JM
25466 [BZ #11521]
25467 * math/s_ctan.c: Include <float.h>.
25468 (__ctan): Avoid internal overflow or cancellation in calculating
25469 denominator.
25470 * math/s_ctanf.c: Likewise.
25471 * math/s_ctanl.c: Likewise.
25472 * math/s_ctanh.c: Likewise.
25473 * math/s_ctanhf.c: Likewise.
25474 * math/s_ctanhl.c: Likewise.
25475 * math/libm-test.inc (ctan_test): Add more tests.
25476 (ctanh_test): Likewise.
25477 * sysdeps/i386/fpu/libm-test-ulps: Update.
25478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25479
823fbbb4
AJ
254802012-04-09 Andreas Jaeger <aj@suse.de>
25481
03879793
AJ
25482 [BZ #6894]
25483 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25484 is an optional BSD extension.
25485
823fbbb4
AJ
25486 [BZ #10254]
25487 * manual/stdio.texi (Opening Streams): Document additional fopen
25488 parameters.
25489
8de131cb
RM
254902012-04-09 Roland McGrath <roland@hack.frob.com>
25491
25492 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25493 %eax without telling the compiler.
25494
c0ed9d7d
CD
254952012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25496
25497 [BZ # 13963]
25498 * manual/install.texi: Use sourceware.org.
25499
c483f6b4
JM
255002012-04-09 Joseph Myers <joseph@codesourcery.com>
25501
d7dd9453
JM
25502 [BZ #13873]
25503 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25504 (__ieee754_pow): Generate overflow and underflow using huge*huge
25505 and tiny*tiny rather than just returning constant infinity or zero
25506 for large exponents.
25507 * math/libm-test.inc (pow_test): Require overflow exceptions for
25508 applicable cases of large exponents.
25509
c483f6b4
JM
25510 [BZ #706]
25511 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25512 (__ieee754_pow): Use iterative multiplication algorithm only for
25513 integer exponents with absolute value below 1024. Check for odd
25514 integer exponents when using algorithm for real exponents.
25515 * math/libm-test.inc (pow_test): Add more tests.
25516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25517
d2de7579
JM
255182012-04-08 Joseph Myers <joseph@codesourcery.com>
25519
25520 [BZ #13705]
25521 * math/libm-test.inc (exp_test): Do not allow overflow exception
25522 on underflow test.
25523
f77f1232
AJ
255242012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25525
25526 [BZ #13705]
25527 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25528 instead of __kernel_standard_f.
25529
3884932b
MF
255302012-04-08 Mike Frysinger <vapier@gentoo.org>
25531
25532 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25533 * sysdeps/x86_64/memset_chk.S: Likewise.
25534
54472e9c
AJ
255352012-04-08 Andreas Jaeger <aj@suse.de>
25536
6ab0fbfc
AJ
25537 [BZ #10153]
25538 * manual/startup.texi (Environment Access): Describe return value
25539 for putenv and setenv.
25540
61efba8c
AJ
25541 [BZ #6895]
25542 * manual/filesys.texi (Directory Entries): Add description for
25543 DT_LNK.
25544
95c3f29a
AJ
25545 [BZ #6890]
25546 * manual/filesys.texi (Directory Entries): Clarify that it's file
25547 system not operating system in the description of DT_UNKNOWN.
25548
54472e9c
AJ
25549 [BZ #6578]
25550 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25551
624254b1
SC
255522012-04-08 Stephen Compall <s11@member.fsf.org>
25553
25554 [BZ #6649]
25555 * manual/llio.texi (Opening and Closing Files): Add cross
25556 reference to explain mode argument.
25557
1e4920e0
MF
255582012-04-07 Mike Frysinger <vapier@gentoo.org>
25559
25560 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25561 * sysdeps/x86_64/memset_chk.S: Likewise.
25562
5ed848f3
DM
255632012-04-07 David S. Miller <davem@davemloft.net>
25564
25565 * elf/elf.h (R_SPARC_WDISP10): Define.
25566 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25567 R_SPARC_SIZE32.
25568 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25569 R_SPARC_SIZE64 and R_SPARC_H34.
25570
96154cd8
CD
255712012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25572
25573 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25574 conditions and remove no longer applicable assertion.
25575
9904dc47
L
255762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25577
25578 * bits/byteswap.h: Include <features.h>.
25579 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25580 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25581
f8887d0a
L
255822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25583
25584 * bits/byteswap.h (__bswap_16): Removed.
25585 Include <bits/byteswap-16.h> to get __bswap_16.
25586 * sysdeps/i386/bits/byteswap.h: Likewise.
25587 * sysdeps/s390/bits/byteswap.h: Likewise.
25588 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25589 * bits/byteswap-16.h: New file.
25590 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25591 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25592 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25593 * string/Makefile (headers): Add bits/byteswap-16.h.
25594
62470f60
PP
255952012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25596
25597 [BZ #13895]
25598 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25599 extra indirection.
25600 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25601 * nss/tst-nss-static.c: New.
25602
4dad7bab
RM
256032012-04-06 Robert Millan <rmh@gnu.org>
25604
25605 [BZ #6486]
25606 * manual/llio.texi (File Position Primitive): lseek
25607 refers to WHENCE when it really means OFFSET.
25608
e9142a17
AJ
256092012-04-06 Andreas Jaeger <aj@suse.de>
25610
2c040eff
AJ
25611 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25612 strncmp declarations.
25613
e9142a17
AJ
25614 * abilist/libc.abilist: Add __poll and __ppoll.
25615
ff9f1c5f
DM
256162012-04-05 David S. Miller <davem@davemloft.net>
25617
dcd2ae90
DM
25618 * scripts/check-local-headers.sh: Accept a host triplet in the
25619 path matched by the exclude regexp.
25620
993eb054
DM
25621 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25622 definition.
25623 * sysdeps/powerpc/powerpc32/dl-machine.h
25624 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25625 * sysdeps/s390/s390-32/dl-machine.h
25626 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25627 * sysdeps/sparc/sparc32/dl-machine.h
25628 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25629 * sysdeps/sparc/sparc64/dl-machine.h
25630 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25631
ff9f1c5f
DM
25632 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25633 lazy binding.
48e2e132 25634 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25635 undefined symbol errors.
25636
48e2e132 25637 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25638 DT_NEEDED entries.
25639
e80d6f94
MM
256402012-04-05 Michael Matz <matz@suse.de>
25641
25642 [BZ #13592]
25643 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25644
349fa79f
AJ
256452012-04-05 Andreas Jaeger <aj@suse.de>
25646
25647 [BZ #13908]
25648 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25649 comment.
25650
f402708f
KK
256512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25652
25653 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25654 which ROUND is no valid rounding mode.
25655
2ecccfc9
KK
256562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25657
25658 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25659 read again.
25660 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25661
8a53f50f
KK
256622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25663
25664 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25665 an exception using FPU order intentionally.
25666
256672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25668
25669 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25670 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25671 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25672 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25673
d653abb7
SJ
256742012-04-05 Simon Josefsson <simon@josefsson.org>
25675
25676 [BZ #12340]
25677 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25678 EINVAL when BUFLEN is too smal.
25679
c3b1bf7d
TS
256802012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25681
25682 [BZ #13553]
25683 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25684 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25685
b1aa60f3
AJ
256862012-04-03 Andreas Jaeger <aj@suse.de>
25687
c3b1bf7d 25688 [BZ #13938]
67f60a26
AJ
25689 * manual/setjmp.texi (System V contexts): Fix sentence.
25690
b1aa60f3
AJ
25691 [BZ #13926]
25692 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25693 New macro for this case.
25694 [!__GNUC__] (__bswap_64): New inline function for this case.
25695 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25696 * bits/byteswap.h: Likewise.
25697 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25698 ull, guard with __GLIBC_HAVE_LONG_LONG.
25699
25700 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25701 __GLIBC_HAVE_LONG_LONG.
25702
25703 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25704 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25705
39c59c35
TMQMF
257062012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25707
25708 [BZ #13691]
25709 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25710 inptr and inend, rather than using last_ch.
25711
135ffda8
DM
257122012-04-02 David S. Miller <davem@davemloft.net>
25713
25714 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25715 * stdio-common/printf-parse.h (read_int): Change return type to
25716 'int', return -1 on INT_MAX overflow.
25717 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25718 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25719 overflows INT_MAX. Check for overflow of in-format-string precision
25720 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25721 SIZE_MAX not INT_MAX for integer overflow test.
25722 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25723 skip the construct in the format string but do not record anything.
25724 * stdio-common/bug22.c: Adjust to test both width/prevision
25725 INT_MAX overflow as well as total length INT_MAX overflow. Check
25726 explicitly for proper errno values.
25727
228c019e
TS
257282012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25729
302cadd3
TS
25730 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25731 CHAR_MAX.
25732 * string/test-strcmp.c [! WIDE]: Likewise.
25733 * time/tst-mktime2.c: Likewise for INT_MAX.
25734 * string/test-string.h: #include <sys/param.h> for MIN.
25735
228c019e
TS
25736 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25737 * sysdeps/i386/init-first.c (init): Likewise.
25738 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25739 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25740 * sysdeps/sh/init-first.c (init): Likewise.
25741
cfa633f5
UD
257422012-04-01 Ulrich Drepper <drepper@gmail.com>
25743
25744 * po/ru.po: Update from translation team.
d1635ef8 25745 * po/vi.po: Likewise.
cfa633f5 25746
6cd0a5ea
SP
257472012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25748
25749 * resolv/nss_dns/dns-host.c: Merge copyright years.
25750
4b43400f
LD
257512012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25752
25753 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25754 Optimize memcpy with prefetch if
25755 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25756 src, dst pointers have unequal 16 byte alignments.
25757
48c41d04
SP
257582012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25759
25760 [BZ #13928]
25761 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25762 from a CNAME entry and return the minimum ttl for the query.
25763 (gaih_getanswer_slice): Likewise.
25764
b8dc394d
JL
257652012-03-30 Jeff Law <law@redhat.com>
25766
25767 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25768 due to long keys.
25769 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25770 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25771
2f5a5ed0
JL
25772 * resolv/nss_dns/dns-host.c: Update copyright year.
25773
1d39e359
UD
257742012-03-30 Ulrich Drepper <drepper@gmail.com>
25775
c030f70c 25776 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25777 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25778
1d39e359
UD
25779 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25780 comments for sendmmsg.
25781
257822012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25783
25784 [BZ #13691]
25785 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25786 with only 1 character between 0x0041 and 0x01b0.
25787 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25788 * wcsmbs/tst-mbsnrtowcs.c: New file.
25789
20fde227
DM
257902012-03-29 David S. Miller <davem@davemloft.net>
25791
25792 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25793 small copies by hand.
25794
984a4237
JL
257952012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25796
25797 [BZ #13761]
25798 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25799 _nss_compat_initgroups_dyn): Fall back to malloc/free
25800 for large group memberships.
25801
18c9d62b
DM
258022012-03-28 David S. Miller <davem@davemloft.net>
25803
88d85d4f
DM
25804 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25805 that branches into memcpy.
25806 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25807 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25808 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25809 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25810 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25811 bits.
25812 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25813 implementation too.
25814 * sysdeps/sparc/mempcpy.S: New file.
25815
e5aa83e1
DM
25816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25817 the IFUNC routine in the libc case.
25818 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25819
88570753
DM
25820 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25821 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25822 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25823 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25824 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25825 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25826 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25827 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25828
249d7567
DM
25829 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25830 loop to 256 bytes instead of 64 bytes and fix test signedness.
25831
18c9d62b
DM
25832 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25833 * sysdeps/sparc/sparc32/Makefile: rather than here...
25834 * sysdeps/sparc/sparc64/Makefile: and here.
25835
05f3d1f6
UD
258362012-03-28 Ulrich Drepper <drepper@gmail.com>
25837
25838 * malloc/mallocbug.c: Avoid warnings about unused variables.
25839
86ae07a8
JL
258402012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25841
25842 [BZ #13760]
25843 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25844 in the right place. Discard and retry query if response is
25845 larger than input buffer size.
25846
41bf21a1
JM
258472012-03-28 Joseph Myers <joseph@codesourcery.com>
25848
d6270972
JM
25849 [BZ #369]
25850 [BZ #2678]
25851 [BZ #3866]
25852 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25853 x for large integer exponent.
25854 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25855 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25856 sign of result as needed afterwards.
25857 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25858 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25859 result for underflowing pow the same as for overflow.
25860 (__kernel_standard_l): Handle powl overflow and underflow here
25861 rather than calling __kernel_standard.
25862 * math/libm-test.inc (pow_test): Add more tests.
25863
414fca03 25864 [BZ #3868]
41bf21a1
JM
25865 [BZ #13879]
25866 [BZ #13910]
25867 [BZ #13911]
25868 [BZ #13912]
25869 [BZ #13913]
25870 [BZ #13915]
25871 [BZ #13916]
25872 [BZ #13917]
25873 [BZ #13918]
25874 [BZ #13919]
25875 [BZ #13920]
25876 [BZ #13921]
25877 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25878 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25879 (__kernel_standard_l): New function.
25880 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25881 __kernel_standard.
25882 * math/w_acosl.c (__acosl): Likewise.
25883 * math/w_asinl.c (__asinl): Likewise.
25884 * math/w_atan2l.c (__atan2l): Likewise.
25885 * math/w_atanhl.c (__atanhl): Likewise.
25886 * math/w_coshl.c (__coshl): Likewise.
25887 * math/w_exp10l.c (__exp10l): Likewise.
25888 * math/w_exp2l.c (__exp2l): Likewise.
25889 * math/w_fmodl.c (__fmodl): Likewise.
25890 * math/w_hypotl.c (__hypotl): Likewise.
25891 * math/w_j0l.c (__j0l, __y0l): Likewise.
25892 * math/w_j1l.c (__j1l, __y1l): Likewise.
25893 * math/w_jnl.c (__jnl, __ynl): Likewise.
25894 * math/w_lgammal.c (__lgammal): Likewise.
25895 * math/w_log10l.c (__log10l): Likewise.
25896 * math/w_log2l.c (__log2l): Likewise.
25897 * math/w_logl.c (__logl): Likewise.
25898 * math/w_powl.c (__powl): Likewise.
25899 * math/w_remainderl.c (__remainderl): Likewise.
25900 * math/w_scalbl.c (sysv_scalbl): Likewise.
25901 * math/w_sinhl.c (__sinhl): Likewise.
25902 * math/w_sqrtl.c (__sqrtl): Likewise.
25903 * math/w_tgammal.c (__tgammal): Likewise.
25904 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25905 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25906 * math/libm-test.inc (acos_test): Add more tests.
25907 (acosh_test): Likewise.
25908 (asin_test): Likewise.
25909 (atanh_test): Likewise.
25910 (exp_test): Likewise.
25911 (exp10_test): Likewise.
25912 (exp2_test): Likewise.
25913 (expm1_test): Likewise.
25914 (lgamma_test): Likewise.
25915 (log_test): Likewise.
25916 (log10_test): Likewise.
25917 (log1p_test): Likewise.
25918 (log2_test): Likewise.
25919 (pow_test): Do not allow some spurious overflow exceptions.
25920 (sqrt_test): Add more tests.
25921 (tgamma_test): Likewise.
25922 (y0_test): Likewise.
25923 (y1_test): Likewise.
25924 (yn_test): Likewise.
25925
dd62fda6
AB
259262012-03-27 Anton Blanchard <anton@samba.org>
25927
25928 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25929 MAP_HUGETLB.
25930 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25931 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25932 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25933
1e3cdfda
AJ
259342012-03-27 David S. Miller <davem@davemloft.net>
25935
b855ab85
DM
25936 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25937
1e3cdfda
AJ
25938 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25939 have-as-vis3 check.
25940
259412012-03-27 Andreas Jaeger <aj@suse.de>
25942
25943 * sysdeps/x86_64/elf/configure.in: Moved to ...
25944 * sysdeps/x86_64/configure.in: ... here.
25945 * sysdeps/x86_64/elf/start.S: Moved to ...
25946 * sysdeps/x86_64/start.S: ... here.
25947 * sysdeps/x86_64/elf/configure: Delete.
25948
25949 * sysdeps/x86_64/configure.in: Merge contents from
25950 sysdeps/i386/configure.in (without i686 check).
25951
25952 * sysdeps/i386/elf/Versions: Merge into ...
25953 * sysdeps/i386/Versions: ... this.
25954 * sysdeps/i386/elf/Versions: Delete file.
25955 * sysdeps/i386/elf/start.S: Moved to ...
25956 * sysdeps/i386/start.S: ...here.
25957 * sysdeps/i386/elf/configure.in: Merge into...
25958 * sysdeps/i386/configure.in: ...here.
25959 * sysdeps/i386/elf/configure.in: Delete file.
25960 * sysdeps/i386/elf/configure: Delete file.
25961
25962 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25963 * debug/backtracesyms.c: ... here.
25964 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25965 * debug/backtracesymsfd.c: ... here.
25966 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25967 * sysdeps/generic/ifunc-sel.h: ... here.
25968
25969 * sysdeps/unix/i386/start.c: Delete file.
25970 * sysdeps/unix/sparc/start.c: Delete file.
25971 * sysdeps/unix/start.c: Delete file.
25972
25973 * sysdeps/sh/elf/configure.in: Moved to ...
25974 * sysdeps/sh/configure.in: ... here.
25975 * sysdeps/sh/elf/start.S: Moved to ...
25976 * sysdeps/sh/start.S: ... here.
25977 * sysdeps/sh/elf/configure: Delete file.
25978
25979 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25980 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25981 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25982 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25983 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25984 * sysdeps/powerpc/powerpc64/start.S: here.
25985 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25986 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25987 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25988 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25989 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25990
25991 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25992 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25993 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25994 * sysdeps/powerpc/powerpc32/start.S: ... here.
25995 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25996 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25997 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25998
25999 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26000 * sysdeps/powerpc/ifunc-sel.h: ... here.
26001 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26002 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26003
26004 * sysdeps/sparc/elf/configure.in: Moved to ...
26005 * sysdeps/sparc/configure.in: ... here.
26006 * sysdeps/sparc/elf/configure: Delete file.
26007 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26008 * sysdeps/sparc/sparc32/start.S: ... here.
26009 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26010 * sysdeps/sparc/sparc64/start.S: ... here.
26011 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26012 * sysdeps/sparc/sparc32/Makefile: ... this.
26013 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26014 * sysdeps/sparc/sparc64/Makefile: ... this.
26015
26016 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26017 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26018 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26019 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26020 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26021 * sysdeps/s390/s390-32/setjmp.S: ... here.
26022 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26023 * sysdeps/s390/s390-32/configure.in: ... here.
26024 * sysdeps/s390/s390-32/elf/configure: Delete file.
26025 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26026 * sysdeps/s390/s390-32/start.S: ... here.
26027
26028 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26029 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26030 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26031 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26032 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26033 * sysdeps/s390/s390-64/setjmp.S: ... here.
26034 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26035 * sysdeps/s390/s390-64/configure.in: ... here
26036 * sysdeps/s390/s390-64/elf/configure: Delete file.
26037 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26038 * sysdeps/s390/s390-64/start.S: ... here.
26039 * sysdeps/s390/s390-64/elf/configure: Delete.
26040
26041 * configure.in: Remove support for elf directories in sysdeps.
26042
26043 * configure: Regenerated.
26044 * sysdeps/i386/configure: Regenerated.
26045 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26046 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26047 * sysdeps/s390/s390-32/configure: Regenerated.
26048 * sysdeps/s390/s390-64/configure: Regenerated.
26049 * sysdeps/sh/configure: Regenerated.
26050 * sysdeps/sparc/configure: Regenerated.
26051 * sysdeps/x86_64/configure: Regenerated.
26052
a3f61311
AS
260532012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26054
c876e002
AS
26055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26056
a3f61311
AS
26057 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26058 denormal result into account.
26059
ac4c54f0
RM
260602012-03-25 Roland McGrath <roland@hack.frob.com>
26061
26062 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26063 Reported by Allan McRae <allan@archlinux.org>.
26064
6a9b9c02
JL
260652012-03-23 Jeff Law <law@redhat.com>
26066
26067 * nss/getnssent.c (__nss_getent): Fix typo.
26068
4c42a0c1
DM
260692012-03-23 David S. Miller <davem@davemloft.net>
26070
26071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26072
1532c7ac
L
260732012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26074
26075 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26076 to pad to uint64_t for each field.
26077 (dl_tls_index): Replace unsigned long with uint64_t.
26078
3ff42526
PP
260792012-03-23 Daniel Jacobowitz <dmj@google.com>
26080 Paul Pluzhnikov <ppluzhnikov@google.com>
26081
26082 [BZ #6528]
26083 * grp/Makefile (otherlibs): Don't set it.
26084 * inet/Makefile (otherlibs): Likewise.
26085 * login/Makefile (otherlibs): Likewise.
26086 * nscd/Makefile (otherlibs): Likewise.
26087 * posix/Makefile (otherlibs): Likewise.
26088 * pwd/Makefile (otherlibs): Likewise.
26089 * rt/Makefile (otherlibs): Likewise.
26090 * sunrpc/Makefile (otherlibs): Likewise.
26091 * nss/Makefile (otherlibs): Likewise.
26092 Add libnss_files to routines and static-only-routines.
26093 ($(objpfx)getent): Remove rule.
26094 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26095 static-only-routines.
26096
7c69cd14
JM
260972012-03-22 Joseph Myers <joseph@codesourcery.com>
26098
26099 [BZ #13892]
26100 * math/s_cexp.c: Include <float.h>.
26101 (__cexp): Handle exp result overflowing not necessarily
26102 overflowing both real and imaginary parts of result.
26103 * math/s_cexpf.c: Likewise.
26104 * math/s_cexpl.c: Likewise.
26105 * math/libm-test.inc (cexp_test): Add more tests.
26106 * sysdeps/i386/fpu/libm-test-ulps: Update.
26107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26108
81b035fe
L
261092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26110
26111 * include/link.h (ELFW): New macro.
26112 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26113 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26114
1da7940c
L
261152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26116
26117 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26118 with uint64_t.
26119
b749dbb9
L
261202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26121
26122 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26123 declaration.
26124 (struct La_x32_retval): Likewise.
26125
2ff87f3f
L
261262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26127
26128 * sysdeps/x86_64/preconfigure.in: New file.
26129 * sysdeps/x86_64/preconfigure: New generated file.
26130
c0df8e69
JM
261312012-03-22 Joseph Myers <joseph@codesourcery.com>
26132
48e44791
JM
26133 [BZ #13824]
26134 * math/e_exp2l.c: Include <float.h>.
26135 (__ieee754_exp2l): Handle overflow and underflow cases
26136 separately. Only pass fractional part of argument to
26137 __ieee754_expl.
26138 * math/libm-test.inc (exp2_test): Add more tests.
26139
c0df8e69
JM
26140 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26141 negating x to take absolute value.
26142 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26143 Likewise.
26144 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26145 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26146 Likewise.
26147 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26148 computing low part if x was negated.
26149 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26150
c8e43ba7
L
261512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26152
26153 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26154 la_x32_gnu_pltexit.
26155 (pltexit): Cast int_retval to ptrdiff_t.
26156 * elf/tst-auditmod3b.c: Likewise.
26157 * elf/tst-auditmod4b.c: Likewise.
26158 * elf/tst-auditmod5b.c: Likewise.
26159 * elf/tst-auditmod6b.c: Likewise.
26160 * elf/tst-auditmod6c.c: Likewise.
26161 * elf/tst-auditmod7b.c: Likewise.
26162
26163 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26164 and x32_gnu_pltexit.
26165
26166 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26167 __ELF_NATIVE_CLASS.
26168 (La_x32_regs): New macro.
26169 (La_x32_retval): Likewise.
26170 (la_x32_gnu_pltenter): New function prototype.
26171 (la_x32_gnu_pltexit): Likewise.
26172
7998fa78
AS
261732012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26174
dcb33988
AS
26175 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26176 exponent.
26177
233fc563
AS
26178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26179
7998fa78
AS
26180 * configure.in (libc_cv_cc_nofma): Check for option to disable
26181 generation of FMA instructions.
26182 * configure: Regenerate.
26183 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26184 * sysdeps/ieee754/dbl-64/Makefile: New file.
26185 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26186 Remove brandred-fma4.
26187 (CFLAGS-brandred-fma4.c): Remove.
26188 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26189 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26190 define.
26191 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26192 define.
26193
8e95c99a
L
261942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26195
26196 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26197 LLONG_MAX != LONG_MAX.
26198 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26199 (_fitoa_word): Likewise.
26200 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26201 LLONG_MAX != LONG_MAX.
26202 * stdio-common/_itowa.h: Include <_itoa.h>.
26203 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26204 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26205 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26206 only if not defined.
26207 (_ITOA_WORD_TYPE): Likewise.
26208 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26209 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26210
6f4db457
DM
262112012-03-21 David S. Miller <davem@davemloft.net>
26212
26213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26214
7785fe5a
L
262152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26216
26217 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26218 of x86_64 when setting libc_cv_slibdir, libdir and
26219 libc_cv_localedir.
26220 * sysdeps/unix/sysv/linux/configure: Regenerated.
26221
4535cd55
JM
262222012-03-21 Joseph Myers <joseph@codesourcery.com>
26223
26224 * manual/lang.texi (Old Varargs): Remove section.
26225 (How Variadic): Update menu.
26226 (va_start): Do not mention varargs.h.
26227
17228132
TS
262282012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26229 Joseph Myers <joseph@codesourcery.com>
26230
26231 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26232 link test.
26233 * configure: Regenerated.
26234
8149f976
TS
262352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26236
05f3d1f6
UD
26237 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26238 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26239 conformtest.pl
8149f976 26240
1a4ac776
JM
262412012-03-21 Joseph Myers <joseph@codesourcery.com>
26242
be22ce65
JM
26243 * NOTES: Remove.
26244 * Makefile (files-for-dist): Remove NOTES.
26245 (NOTES): Remove rule.
26246 * README: Don't refer to NOTES.
26247 * manual/creature.texi: Don't include macros.texi.
26248 * manual/intro.texi (creature.texi): Remove comment referring to
26249 NOTES.
26250
40b601fb
JM
26251 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26252 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26253 * configure: Regenerated.
26254 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26255 LIBC_TRY_CC_OPTION.
26256 (libc_cv_as_i686): Likewise.
26257 (libc_cv_cc_avx): Likewise.
26258 (libc_cv_cc_sse2avx): Likewise.
26259 (libc_cv_cc_fma4): Likewise.
26260 (libc_cv_cc_novzeroupper): Likewise.
26261 * sysdeps/i386/configure: Regenerated.
26262
1a4ac776
JM
26263 [BZ #13883]
26264 * sysdeps/i386/fpu/s_cexp.S: Remove.
26265 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26266 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26267 * math/libm-test.inc (cexp_test): Add more tests.
26268 * sysdeps/i386/fpu/libm-test-ulps: Update.
26269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26270
a458e7fe
AM
262712012-03-21 Allan McRae <allan@archlinux.org>
26272
26273 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26274
0cb7efc5
JM
262752012-03-21 Joseph Myers <joseph@codesourcery.com>
26276
26277 [BZ #13871]
26278 * math/w_exp2.c: Do not include <float.h>.
26279 (o_threshold, u_threshold): Remove.
26280 (__exp2): Calculate result before checking finiteness and calling
26281 __kernel_standard.
26282 * math/w_exp2f.c: Likewise.
26283 * math/w_exp2l.c: Likewise.
26284 * math/libm-test.inc (exp2_test): Require overflow exception for
26285 1e6 input.
2460d3aa
JM
26286
26287 [BZ #3866]
26288 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26289 range of signed 64-bit integers before using fistpll. Remove
26290 checks for whether integers fit in mantissa bits.
26291 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26292 the range of signed 32-bit integers before using fistpl. Remove
26293 checks for whether integers fit in mantissa bits.
26294 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26295 (__ieee754_powl): Test for y outside the range of signed 64-bit
26296 integers before using fistpll. Reduce 64-bit values to 63-bit
26297 ones as needed.
26298 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26299 divide-by-zero is raised for zero to large negative powers.
26300 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26301 (__ieee754_powl): Test for y outside the range of signed 64-bit
26302 integers before using fistpll. Reduce 64-bit values to 63-bit
26303 ones as needed.
26304 * math/libm-test.inc (pow_test): Add more tests.
26305
eb96ffb0
L
263062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26307
26308 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26309 <stdio-common/_itoa.h>.
26310 * debug/segfault.c: Likewise.
26311 * elf/dl-cache.c: Likewise.
26312 * elf/dl-minimal.c: Likewise.
26313 * elf/dl-misc.c: Likewise.
26314 * elf/dl-sysdep.c: Likewise.
26315 * elf/dl-version.c: Likewise.
26316 * elf/rtld.c: Likewise.
26317 * hurd/hurdsock.c: Likewise.
26318 * hurd/lookup-retry.c: Likewise.
26319 * malloc/malloc.c: Likewise.
26320 * malloc/mtrace.c: Likewise.
26321 * nscd/nscd_getgr_r.c: Likewise.
26322 * nscd/nscd_getpw_r.c: Likewise.
26323 * nscd/nscd_getserv_r.c: Likewise.
26324 * posix/getopt_init.c: Likewise.
26325 * posix/wordexp.c: Likewise.
26326 * stdio-common/_itoa.c: Likewise.
26327 * stdio-common/printf_fphex.c: Likewise.
26328 * stdio-common/vfprintf.c: Likewise.
26329 * string/_strerror.c: Likewise.
26330 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26331 * sysdeps/i386/i686/hp-timing.h: Likewise.
26332 * sysdeps/mach/_strerror.c: Likewise.
26333 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26334 * sysdeps/mach/hurd/sethostid.c: Likewise.
26335 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26336 * sysdeps/mach/xpg-strerror.c: Likewise.
26337 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26338 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26339 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26340 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26341 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26342 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26343 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26344 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26345 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26346 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26347 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26348 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26349 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26350 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26351 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26352 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26353 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26354 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26355 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26356 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26357 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26358
26359 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26360
26361 * stdio-common/_itoa.h: Moved to ...
26362 * sysdeps/generic/_itoa.h: Here.
26363
26364 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26365
26366 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26367 instead of "_itoa.h" and "_itowa.h".
26368 * stdio-common/vfprintf.: Likewise.
26369
d1af992d
L
263702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26371
26372 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26373 <bits/wordsize.h>.
26374 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26375 (__signbit): Likwise.
26376 (llrintf): Likwise.
26377 (llrint): Likwise.
26378
114883e0
L
263792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26380
26381 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26382 __WORDSIZE != 64.
26383
c135cc1b
JM
263842012-03-20 Joseph Myers <joseph@codesourcery.com>
26385
26386 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26387 OVERFLOW_EXCEPTION_OK.
26388 * math/libm-test.inc ("Philosophy"): Update comment about
26389 exception testing.
26390 (OVERFLOW_EXCEPTION): Define.
26391 (OVERFLOW_EXCEPTION_OK): Likewise.
26392 (INVALID_EXCEPTION_OK): Renumber.
26393 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26394 (IGNORE_ZERO_INF_SIGN): Likewise.
26395 (test_exceptions): Handle FE_OVERFLOW.
26396 (exp10_test): Expect overflow exceptions.
26397 (exp2_test): Likewise.
26398 (expm1_test): Likewise.
26399 (nextafter_test): Likewise.
26400 (pow_test): Likewise.
26401 (scalbn_test): Likewise.
26402 (scalbln_test): Likewise.
26403
95443d88
L
264042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26405
26406 * sysdeps/x86_64/bits/atomic.h
26407 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26408 64bit integer.
26409 (atomic_exchange_acq): Likewise.
26410 (__arch_exchange_and_add_body): Likewise.
26411 (__arch_add_body): Likewise.
26412 (atomic_add_negative): Likewise.
26413 (atomic_add_zero): Likewise.
26414
490df6c4
L
264152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26416
c2722551 26417 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26418 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26419
5e52b189
L
264202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26421
26422 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26423 Check __x86_64__ instead of __WORDSIZE.
26424
a9879d4c
L
264252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26426
26427 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26428
5df98260
DM
264292012-03-19 David S. Miller <davem@davemloft.net>
26430
e1497744
DM
26431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26432
5df98260
DM
26433 * sysdeps/sparc/fpu/fenv_private.h: New file.
26434 * sysdeps/sparc/fpu/math_private.h: Use it.
26435 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26436 Remove.
26437 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26438 (libc_feholdexcept_setroundl): Remove.
26439 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26440 Remove.
26441 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26442 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26443
b4c35121
L
264442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26445
26446 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26447 int64_t instead of long int.
26448 (INSERT_WORDS64): Likwise.
26449
56965fd7
L
264502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26451
26452 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26453 _Unwind_GetCFA return to _Unwind_Ptr first.
26454
83d1aec8
JM
264552012-03-19 Joseph Myers <joseph@codesourcery.com>
26456
1897ad44
JM
26457 [BZ #13629]
26458 * math/s_clog.c: Include <float.h>.
26459 (__clog): Scale large or subnormal inputs.
26460 * math/s_clogf.c: Likewise.
26461 * math/s_clogl.c: Likewise.
26462 * math/s_clog10.c: Include <float.h>.
26463 (M_LOG10_2): Define.
26464 (__clog10): Scale large or subnormal inputs.
26465 * math/s_clog10f.c: Likewise.
26466 * math/s_clog10l.c: Likewise.
26467 * math/libm-test.inc (clog_test): Add more tests.
26468 (clog10_test): Likewise.
26469 * sysdeps/i386/fpu/libm-test-ulps: Update.
26470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26471
7726d6a9
JM
26472 [BZ #11451]
26473 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26474 x and y.
26475 * math/libm-test.inc (atan2_test): Add another test.
26476
83d1aec8
JM
26477 * Makerules (common-objdir-compile): Remove.
26478 * sysdeps/unix/Makefile (config-generated): Do not add
26479 $(unix-generated) to variable.
26480 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26481 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26482 Remove rule.
26483 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26484 Likewise.
26485 [generic bits/local_lim.h] (before-compile): Do not append to
26486 variable.
26487 [generic bits/local_lim.h] (common-generated): Likewise.
26488 [generic sys/param.h] (before-compile): Do not append to variable.
26489 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26490 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26491 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26492 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26493 include.
26494 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26495 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26496 [generic sys/param.h] ($(addprefix
26497 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26498 [generic sys/param.h] (common-generated): Do not append to
26499 variable.
26500 [generic sys/param.h] (sysdep_headers): Likewise.
26501 [generic bits/errno.h] (before-compile): Do not append to
26502 variable.
26503 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26504 rule.
26505 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26506 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26507 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26508 [generic bits/errno.h] (common-generated): Do not append to
26509 variable.
26510 [generic bits/ioctls.h] (before-compile): Do not append to
26511 variable.
26512 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26513 rule.
26514 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26515 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26516 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26517 rule.
26518 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26519 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26520 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26521 [generic bits/ioctls.h] (common-generated): Do not append to
26522 variable.
26523 [generic sys/syscall.h] (syscall.h): Remove variable.
26524 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26525 rule.
26526 [generic sys/syscall.h] (before-compile): Do not append to
26527 variable.
26528 [generic sys/syscall.h] (common-generated): Likewise.
26529 * sysdeps/unix/errnos-tmpl.c: Remove file.
26530 * sysdeps/unix/errnos.awk: Likewise.
26531 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26532 * sysdeps/unix/ioctls.awk: Likewise.
26533 * sysdeps/unix/mk-local_lim.c: Likewise.
26534 * sysdeps/unix/snarf-ioctls: Likewise.
26535
4851a949
RH
265362012-03-19 Richard Henderson <rth@twiddle.net>
26537
bd37f2ee
RH
26538 * sysdeps/i386/fpu/fenv_private.h: New file.
26539 * sysdeps/i386/fpu/math_private.h: Use it.
26540 (math_opt_barrier, math_force_eval): Remove.
26541 (libc_feholdexcept_setround_53bit): Remove.
26542 (libc_feupdateenv_53bit): Remove.
26543 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26544 (math_opt_barrier, math_force_eval): Remove.
26545 (libc_feholdexcept): Remove.
26546 (libc_feholdexcept_setround): Remove.
26547 (libc_fetestexcept, libc_fesetenv): Remove.
26548 (libc_feupdateenv_test): Remove.
26549 (libc_feupdateenv, libc_feholdsetround): Remove.
26550 (libc_feresetround): Remove.
26551
d0adc922
RH
26552 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26553 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26554
0fe0f1f8
RH
26555 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26556 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26557 (libc_feupdateenv_testl): New.
26558 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26559 (libc_feupdateenv_testf): New.
26560 (libc_feupdateenv): Use libc_feupdateenv_test.
26561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26562 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26563
eb92c487
RH
26564 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26565 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26566 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26567 (libc_feresetround_noex): New.
26568 (libc_feresetround_noexf): New.
26569 (libc_feresetround_noexl): New.
26570 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26571 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26572 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26573 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26574 SET_RESTORE_ROUND.
26575 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26576 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26577 (__cos): Likewise.
26578 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26579 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26580 SET_RESTORE_ROUND_NOEX.
26581 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26582 SET_RESTORE_ROUND_NOEXF.
26583 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26584 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26585 (libc_feholdsetroundf): New.
26586 (libc_feresetround, libc_feresetroundf): New.
26587
7d2e8012
RH
26588 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26589 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26590 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26591
b4dabbb4
RH
26592 * sysdeps/generic/math_private.h: Include <fenv.h>.
26593 (default_libc_feholdexcept): New.
26594 (default_libc_feholdexcept_setround): New.
26595 (default_libc_fesetenv, default_libc_feupdateenv): New.
26596 (libc_feholdexcept): Only define if undefined.
26597 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26598 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26599 (libc_feholdexcept_setroundl): Likewise.
26600 (libc_feholdexcept_setround_53bit): Likewise.
26601 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26602 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26603 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26604 (libc_feupdateenv_53bit): Likewise.
26605 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26606 (libc_feholdexcept): Convert from macro to inline function.
26607 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26608 (libc_fesetenv, libc_feupdateenv): Likewise.
26609
4851a949
RH
26610 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26611 not previously defined.
26612 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26613 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26614 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26615 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26616 * sysdeps/ieee754/flt-32/math_private.h: New file.
26617 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26618 math_private.h below SET_FLOAT_WORD.
26619 (__isnan, __isinf_ns, __finite): Remove.
26620 (__isnanf, __isinf_nsf, __finitef): Remove.
26621
e79d442e
AS
266222012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26623
26624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26625
90b80344
DM
266262012-03-17 David S. Miller <davem@davemloft.net>
26627
26628 [BZ #6471]
26629 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26630 for 2.16.
26631
edc21804
DM
266322012-03-16 David S. Miller <davem@davemloft.net>
26633
77e927af
DM
26634 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26635 warnings.
26636
374976dd
DM
26637 [BZ #6471]
26638 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26639 properly.
26640 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26641 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26642 sysdep_routines when subdir is sysvipc.
26643 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26644 __getshmlba helper.
26645
edc21804
DM
26646 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26647
473c3ef3
L
266482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26649
26650 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26651 [__LP64__].
26652
eb0f39b6
L
266532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26654
26655 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26656 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26657 (__lround): Renamed to ...
26658 (__llround): This. Replace long int with long long int.
26659 Define lround functions as aliases of llround functions.
26660 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26661
6b6cd74b
L
266622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26663
26664 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26665 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26666 adresses to uintptr_t. Replace "long int" and "unsigned long
26667 int" with "greg_t" on va_arg.
26668
f1a77b01
L
266692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26670
26671 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26672 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26673
26674 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26675 Move e_machine check before EI_CLASS check. Handle x32
26676 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26677 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26678 SKIP_EM_IA_64 and include
26679 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26680
26681 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26682 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26683 (add_system_dir): New macro.
26684
26685 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26686 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26687
11b90b9f
JM
266882012-03-16 Joseph Myers <joseph@codesourcery.com>
26689
c36e1d23
JM
26690 [BZ #2551]
26691 [BZ #2552]
26692 [BZ #2553]
26693 [BZ #2554]
26694 [BZ #2562]
26695 [BZ #2563]
26696 [BZ #2565]
26697 [BZ #2566]
26698 [BZ #2576]
26699 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26700 (y0): Likewise.
26701 * math/w_j0f.c (j0f): Likewise.
26702 (y0f): Likewise.
26703 * math/w_j0l.c (__j0l): Likewise.
26704 (__y0l): Likewise.
26705 * math/w_j1.c (j1): Likewise.
26706 (y1): Likewise.
26707 * math/w_j1f.c (j1f): Likewise.
26708 (y1f): Likewise.
26709 * math/w_j1l.c (__j1l): Likewise.
26710 (__y1l): Likewise.
26711 * math/w_jn.c (jn): Likewise.
26712 (yn): Likewise.
26713 * math/w_jnf.c (jnf): Likewise.
26714 (ynf): Likewise.
26715 * math/w_jnl.c (__jnl): Likewise.
26716 (__ynl): Likewise.
26717 * math/libm-test.inc (j0_test): Add more tests.
26718 (j1_test): Likewise.
26719 (jn_test): Likewise. Add trailing semicolon to existing test.
26720 (y0_test): Likewise.
26721 (y1_test): Likewise.
26722 * sysdeps/i386/fpu/libm-test-ulps: Update.
26723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26724
11b90b9f
JM
26725 [BZ #13851]
26726 [BZ #13854]
26727 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26728 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26729 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26730 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26731 (__tanl): Set errno for infinite argument.
26732 * sysdeps/i386/fpu/mptan.c: Remove.
26733 * sysdeps/i386/fpu/s_tan.S: Likewise.
26734 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26735 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26736 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26737 * math/libm-test.inc (tan_test): Add more tests and enable more
26738 tests for double and long double.
26739 * sysdeps/i386/fpu/libm-test-ulps: Update.
26740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26741
6a1bd2a1
JK
267422012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26743
26744 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26745 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26746
10a803e0
RM
267472012-03-16 Roland McGrath <roland@hack.frob.com>
26748
26749 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26750 * configure.in: Use it for both main tree and add-ons.
26751 * configure: Regenerated.
26752
f196c7f7
L
267532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26754
26755 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26756
8848d99d
JM
267572012-03-16 Joseph Myers <joseph@codesourcery.com>
26758
96cbe7f4
JM
26759 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26760 in comment.
26761
8848d99d
JM
26762 [BZ #13851]
26763 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26764 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26765 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26767 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26768 infinite argument.
26769 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26771 != 0 for prec == 2.
26772 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26773 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26774 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26775 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26776 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26777 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26778 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26779 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26780 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26781 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26782 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26783 * math/libm-test.inc (cos_test): Add more tests and enable more
26784 tests for long double.
26785 (sin_test): Likewise.
26786 (sincos_test): Likewise.
26787 * sysdeps/i386/fpu/libm-test-ulps: Update.
26788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26789
dd7f4703
DM
267902012-03-16 David S. Miller <davem@davemloft.net>
26791
26792 * sysdeps/sparc/fpu/math_private.h: New file.
26793
006f1daa
DM
267942012-03-15 David S. Miller <davem@davemloft.net>
26795
c0c83bc8
DM
26796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26797 file.
e6a62e18 26798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26800 file.
e6a62e18
DM
26801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26806 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26807 sysdep routines.
26808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26809
88cb87d9
DM
26810 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26811 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26812
006f1daa 26813 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26815 sparc-ifunc.h
006f1daa 26816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26818 Likewise.
26819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26820 Likewise.
006f1daa
DM
26821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26825 Likewise.
006f1daa
DM
26826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26831 Likewise.
26832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26833 Likewise.
006f1daa
DM
26834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26841 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26854 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26855 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26856 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26857 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26858
11e0098e
AS
268592012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26860
26861 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26862 scaling.
26863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26864
e85b09d0
AJ
268652012-03-15 Andreas Jaeger <aj@suse.de>
26866
26867 [BZ #13852]
26868 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26869 ieee754/flt-32 implementation for sin, cos and sincos.
26870 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26871 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26872 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26873 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26874 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26875 ieee754/flt-32 implementation for tan.
26876
26877 * math/libm-test.inc (cos_test): Enable some large input tests for
26878 float as well
26879 (sin_test): Likewise.
26880 (sincos_test): Likewise.
26881 (tan_test): Add tests for large input.
26882
26883 * sysdeps/i386/fpu/libm-test-ulps: Update.
26884
81c64153
AJ
268852012-03-15 Andreas Jaeger <aj@suse.de>
26886
26887 [BZ #13658]
26888 * math/libm-test.inc (cos_test): Add more test cases.
26889 (sin_test): Likewise.
26890 (sincos_test): Likewise.
26891
7bbfa5c6
AJ
268922012-03-15 Andreas Jaeger <aj@suse.de>
26893
26894 [BZ #13837]
26895 * math/libm-test.inc (cos_test): Add a test case for large input
26896 value.
26897 (sin_test): Likewise.
26898 (sincos_test): Likewise.
26899
269002012-03-15 Andreas Jaeger <aj@suse.de>,
26901 Joseph Myers <joseph@codesourcery.com>
26902
26903 [BZ #13658]
0671f479 26904 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26905 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26906 * sysdeps/i386/fpu/branred.c: Likewise.
26907 * sysdeps/i386/fpu/dosincos.c: Likewise.
26908 * sysdeps/i386/fpu/mpa.c: Likewise.
26909 * sysdeps/i386/fpu/s_cos.S: Likewise.
26910 * sysdeps/i386/fpu/s_sin.S: Likewise.
26911 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26912 * sysdeps/i386/fpu/sincos32.c: Likewise.
26913
26914 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26915 Define.
26916 (libc_feupdateenv_53bit): Define.
26917 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26918 Define.
26919 (libc_feupdateenv_53bit): Define.
26920
26921 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26922 53 bit (without extend i386 double precision).
26923
26924 * math/libm-test.inc (sincos_test): Add tests for large input.
26925 (sin): Likewise.
26926 (cos): Likewise.
26927
26928 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26929
9cad04ea
AS
269302012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26931
26932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26933
f7062b9a
DM
269342012-03-15 David S. Miller <davem@davemloft.net>
26935
26936 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26937 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26938 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26939 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26952 file.
f7062b9a 26953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26955 file.
f7062b9a 26956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26958 file.
f7062b9a 26959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26961 file.
f7062b9a
DM
26962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26963 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26964 fmin/fmax sysdep routines.
26965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26966
7bd951ff
DM
269672012-03-14 David S. Miller <davem@davemloft.net>
26968
559398ab
DM
26969 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26973 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26974 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26976 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26989 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26990 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26995 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26996 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26998 routines.
26999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27000 file.
559398ab 27001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
27002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27003 file.
559398ab 27004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
27005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27006 file.
559398ab 27007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
27008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27009 file.
559398ab 27010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
27011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27012 file.
559398ab 27013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
27014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27015 file.
27016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27017 file.
27018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27019 file.
27020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27021 file.
27022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27023 New file.
27024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27025 file.
27026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27027 file.
559398ab 27028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27030 file.
559398ab 27031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27033 file.
559398ab 27034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27036 file.
559398ab 27037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27039 VIS3 routines.
559398ab
DM
27040
27041 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27042 New file.
27043
5a1c1e32
DM
27044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27045
eae47a36
DM
27046 * sysdeps/sparc/configure.in: New file.
27047 * sysdeps/sparc/configure: Generate.
27048 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27049 * configure: Regenerate.
27050 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27051 * config.make.in (have-as-vis3): New.
27052 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27053 available use -Av9d instead of -Av9a.
27054 * sysdeps/sparc/sparc64/Makefile: Likewise.
27055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27057 New file.
27058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27059 file.
27060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27061 New file.
27062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27063 file.
eae47a36
DM
27064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27065 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27066 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27067 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27068 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27069
c0c83bc8
DM
27070 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27071 fzeros/fnegs to load 0x80000000 into a float register instead of
27072 using the stack.
7bd951ff
DM
27073 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27074
bd951ccb
JM
270752012-03-14 Joseph Myers <joseph@codesourcery.com>
27076
27077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27078 bits/syscall.h.
27079 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27080 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27081 ($(inst_includedir)/bits/syscall.h): Remove rule.
27082 ($(objpfx)bits/syscall.d): Include instead of
27083 $(objpfx)syscall-list.d.
27084 (generated): Change syscall-list.h and syscall-list.d to
27085 bits/syscall.h and bits/syscall.d.
27086
bb4e6db2
RM
270872012-03-14 Roland McGrath <roland@hack.frob.com>
27088
27089 [BZ #13846]
27090 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27091
aa4a2ae1
JM
270922012-03-14 Joseph Myers <joseph@codesourcery.com>
27093
e456826d
JM
27094 [BZ #13841]
27095 * math/s_csqrt.c: Include <float.h>.
27096 (__csqrt): Scale large or subnormal inputs.
27097 * math/s_csqrtf.c: Likewise.
27098 * math/s_csqrtl.c: Likewise.
27099 * math/libm-test.inc (csqrt_test): Add more tests.
27100 * sysdeps/i386/fpu/libm-test-ulps: Update.
27101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27102
aa4a2ae1
JM
27103 [BZ #13840]
27104 * math/libm-test.inc (hypot_test): Add more tests.
27105
7c10fd35
DM
271062012-03-13 David S. Miller <davem@davemloft.net>
27107
27108 [BZ #13840]
27109 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27110 double-precision for the calculation instead of scaling.
27111
f453b98b
JM
271122012-03-13 Joseph Myers <joseph@codesourcery.com>
27113
27114 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27115 manipulate bits before adding and subtracting TWO52[sx].
27116 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27117 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27118 Likewise.
27119 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27120
09a3453f
DM
271212012-03-13 David S. Miller <davem@davemloft.net>
27122
8e59da90
DM
27123 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27124 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27126 rtld-global-offsets.h
27127 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27128
2a8ab7f2
DM
27129 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27130 large parameters.
27131
10f62770
DM
27132 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27133
5f0bdb18
DM
27134 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27135 'err' in the ifdef scope in which it is actually used.
27136
09a3453f
DM
27137 * nss/nss_db/db-init.c: Include string.h
27138
b4b2eb5e
DM
271392012-03-12 David S. Miller <davem@davemloft.net>
27140
98bb2f1c
DM
27141 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27142 masking out of the most significant byte of random value used.
27143 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27144 Fix coding style in previous change.
27145
b4b2eb5e
DM
27146 * sysdeps/unix/sysv/linux/kernel-features.h
27147 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27148 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27149 expression.
27150 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27151 later.
27152
6e226b09
DM
271532012-03-11 David S. Miller <davem@davemloft.net>
27154
a1bcbd40
DM
27155 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27156 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27157 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27158 for 'resultvar' otherwise things get truncated on 64-bit.
27159
cb9d6174
DM
27160 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27161 Fix masking out of the most significant byte of random value used.
27162
6e226b09
DM
27163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27164
058c132d
AS
271652012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27166
27167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27168
2d2cd515
DM
271692012-03-09 David S. Miller <davem@davemloft.net>
27170
27171 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27172 variables with appropriate CPP guards.
27173 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27174 frame pointer, not the stack pointer. Correct layout comments. Fix test
27175 on resulting framesize and the management of the outregs buffer for pltexit.
27176 Preserve floating point return values across _dl_call_pltexit call.
27177 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27178 framesize and the management of the outregs buffer for pltexit.
27179 Preserve floating point return values across _dl_call_pltexit
27180 call.
27181 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27182 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27183 (print_exit): Fix format string for return register value.
27184
9a07f9d0
JM
271852012-03-10 Joseph Myers <joseph@codesourcery.com>
27186
27187 * sunrpc/Makefile (others): Add rpcgen.
27188 ($(objpfx)rpcgen): Remove special build rule and dependency on
27189 libc.
27190 * sunrpc/rpcgen.c: New file.
27191
547b5e30
PE
271922012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27193
c524201a
PE
27194 [BZ #13673]
27195 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27196 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27197 * sysdeps/i386/crti.S: Likewise.
27198 * sysdeps/i386/crtn.S: Likewise.
27199 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27200 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27201 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27202 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27203 * sysdeps/sh/crti.S: Likewise.
27204 * sysdeps/sh/crtn.S: Likewise.
27205 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27206
7b6235f2
PE
27207 [BZ #13673]
27208 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27209 with URL.
27210 * locale/programs/locfile-kw.gperf: Likewise.
27211 * locale/programs/charmap-kw.h: Regenerated.
27212 * locale/programs/locfile-kw.h: Likewise.
27213
547b5e30
PE
27214 [BZ #13673]
27215 * intl/plural.y: Replace FSF snail mail address with URL.
27216 * intl/plural.c: Regenerated.
27217
5f0a5dae
RH
272182012-03-09 Richard Henderson <rth@twiddle.net>
27219
27220 * include/math_private.h: Remove file.
27221 * math/math_private.h: Move file ...
27222 * sysdeps/generic/math_private.h: ... here.
27223
b8c03620
RH
27224 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27225 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27226 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27227
4e234f5d 27228 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27229 and <math_private.h>.
27230 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27231 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27232 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27233 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27234 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27235 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27236 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27238 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27239 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27240 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27241 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27243 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27244 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27245 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27246 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27247 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27248 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27249 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27250 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27251 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27252 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27253 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27254 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27255 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27256 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27257 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27258 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27259 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27260 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27262 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27263 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27264 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27265 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27266 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27267 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27268 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27269 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27270 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27271 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27272 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27273 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27274 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27275 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27276 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27277 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27278 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27279 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27280 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27281 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27282 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27283 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27284 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27285 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27286 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27287 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27288 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27289 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27290 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27291 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27292 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27293 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27294 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27295 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27296 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27297 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27298 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27299 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27300 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27301 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27302 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27304 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27305 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27307 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27308 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27309 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27310 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27311 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27312 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27313 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27314 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27315 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27317 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27318 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27319 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27320 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27321 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27322 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27323 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27324 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27325 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27326 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27327 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27328 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27329 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27330 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27331 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27332 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27333 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27334 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27335 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27336 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27337 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27338 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27339 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27340 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27341 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27342 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27343 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27344 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27345 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27346 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27347 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27348 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27349 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27350 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27351 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27352 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27353 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27354 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27355 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27356 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27357 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27358 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27359 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27360 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27361 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27362 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27363 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27364 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27365 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27366 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27367 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27368 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27369 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27370 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27371 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27372 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27373 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27374 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27375 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27376 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27377 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27378 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27379 * sysdeps/ieee754/k_standard.c: Likewise.
27380 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27381 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27382 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27383 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27384 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27385 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27386 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27387 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27388 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27389 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27390 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27391 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27392 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27393 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27394 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27395 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27396 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27397 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27398 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27399 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27400 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27401 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27402 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27403 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27404 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27405 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27406 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27407 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27408 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27409 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27410 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27411 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27412 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27413 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27414 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27415 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27416 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27417 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27418 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27419 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27420 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27421 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27422 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27423 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27424 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27425 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27426 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27427 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27428 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27429 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27430 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27431 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27432 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27433 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27434 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27435 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27436 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27437 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27438 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27439 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27440 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27441 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27442 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27443 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27444 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27445 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27446 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27447 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27448 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27449 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27450 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27451 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27452 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27453 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27454 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27455 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27456 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27457 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27458 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27459 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27460 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27461 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27462 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27463 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27464 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27465 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27466 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27467 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27468 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27469 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27470 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27471 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27472 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27473 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27474 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27475 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27476 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27477 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27478 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27479 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27480 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27481 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27483 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27484 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27485 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27486 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27487 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27489 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27492 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27493 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27494 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27495 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27496 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27497 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27498 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27499 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27500 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27501 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27502 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27503 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27504 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27505 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27506 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27507 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27508 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27509 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27510 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27511 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27512 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27513 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27514 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27515 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27516 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27517 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27518 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27519 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27520 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27521 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27522 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27523 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27524 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27525 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27526 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27527 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27528 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27529 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27530 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27531 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27532 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27533 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27534 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27535 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27536 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27537 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27538 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27539 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27540 * sysdeps/ieee754/s_lib_version.c: Likewise.
27541 * sysdeps/ieee754/s_matherr.c: Likewise.
27542 * sysdeps/ieee754/s_signgam.c: Likewise.
27543 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27544 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27545 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27546 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27547 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27548 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27549 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27550 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27551 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27552 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27553 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27554 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27555 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27556 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27557 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27558 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27559 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27560 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27561 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27562 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27563 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27564
1991fa03
JM
275652012-03-09 Joseph Myers <joseph@codesourcery.com>
27566
27567 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27568 * sunrpc/rpc_main.c: Likewise.
27569 * sunrpc/rpc_svcout.c: Likewise.
27570
60d6f5a6
DM
275712012-03-09 David S. Miller <davem@davemloft.net>
27572
27573 * include/math_private.h: New file.
27574
4962050e
JM
275752012-03-09 Joseph Myers <joseph@codesourcery.com>
27576
02a6f887
JM
27577 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27578 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27579 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27580 from <bits/socket_type.h>.
27581 (enum __socket_type): Don't define here.
27582 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27584 bits/socket_type.h.
27585
c6e013c1
JM
27586 [BZ #13566]
27587 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27588 checking __USE_GNU.
27589
4962050e
JM
27590 * Makerules ($(inst_includedir)/%.h): New rule.
27591 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27592 (install-others): Remove variable setting.
27593 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27594
38842f45
RH
275952012-03-08 Richard Henderson <rth@twiddle.net>
27596
67bb6da6
RH
27597 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27598 from macro to inline function; merge with the
27599 !__LIBC_INTERNAL_MATH_INLINES version.
27600 (__ieee754_sqrtf): Likewise.
27601
15194b4b
RH
27602 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27603 to inline function.
27604 (__rintf, __floor, __floorf): Likewise.
27605
64e21ede
RH
27606 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27607 macro to inline function.
27608 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27609
38842f45
RH
27610 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27611 not <math/math_private.h>.
27612
c64bf5fe
DM
276132012-03-08 David S. Miller <davem@davemloft.net>
27614
27615 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27616 copyright year.
27617 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27618
82d86f28
TS
276192012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27620
27621 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27622 normalization.
27623 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27624 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27625
aea5d727
UD
276262012-03-08 Ulrich Drepper <drepper@gmail.com>
27627
27628 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27629 be defined individually, they must be defined as a block. Define
27630 S for printing a string instead of hidint the different by using a
27631 macro for adding the 'l'.
27632 * stdio-common/tst-fphex-wide.c: Adjust.
27633
70bca0a3
MP
276342012-03-07 Marek Polacek <polacek@redhat.com>
27635
27636 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27637
65b81130
MP
276382012-03-08 Marek Polacek <polacek@redhat.com>
27639
27640 [BZ #13806]
27641 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27642 * stdio-common/tst-fphex.c: Define a few macros to make the
27643 test reusable. Use them.
27644 * stdio-common/tst-fphex-wide.c: New file.
27645
07037eeb
JM
276462012-03-08 Joseph Myers <joseph@codesourcery.com>
27647
a7a93d50
JM
27648 [BZ #6911]
27649 * manual/macros.texi (gnusystems): New macro.
27650 (nongnusystems): Likewise.
27651 (gnulinuxhurdsystems): Likewise.
27652 (gnuhurdsystems): Likewise..
27653 (gnulinuxsystems): Likewise.
27654 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27655 variants of the GNU system, not "GNU system".
27656 * manual/conf.texi: Likewise.
27657 * manual/errno.texi: Likewise. Update example of errno macro
27658 expansion.
27659 * manual/filesys.texi: Likewise.
27660 (getumask): Document as specific to GNU/Hurd.
27661 * manual/install.texi: Likewise. Reword some references to
27662 GNU/Linux.
27663 * manual/intro.texi: Likewise.
27664 * manual/io.texi: Likewise.
27665 (File Name Portability): Detail which constraints are inapplicable
27666 to all GNU systems and which are only inapplicable to GNU/Hurd.
27667 * manual/job.texi: Likewise.
27668 * manual/llio.texi: Likewise.
27669 (O_NOCTTY): Document as present on GNU/Linux.
27670 * manual/maint.texi: Likewise.
27671 * manual/memory.texi: Likewise.
27672 * manual/pattern.texi: Likewise.
27673 * manual/pipe.texi: Likewise.
27674 * manual/process.texi: Likewise.
27675 * manual/resource.texi: Likewise.
27676 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27677 child on GNU/Hurd.
27678 * manual/setjmp.texi: Likewise.
27679 * manual/signal.texi: Likewise.
27680 * manual/startup.texi: Likewise.
27681 * manual/stdio.texi: Likewise.
27682 * manual/terminal.texi: Likewise.
27683 (ONLCR): Document as POSIX.
27684 (OXTABS): Document availability on GNU/Linux as XTABS.
27685 (ONOEOT): Document availability separately from other bits.
27686 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27687 * manual/time.texi: Likewise.
27688 * manual/users.texi: Likewise.
27689 * INSTALL: Regenerated.
27690 * sysdeps/gnu/errlist.c: Regenerated.
27691
07037eeb
JM
27692 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27693 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27694 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27695 puts.
27696 * configure: Regenerated.
27697
d1d3431a
JM
276982012-03-07 Joseph Myers <joseph@codesourcery.com>
27699
af6a1e37
JM
27700 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27701 default includes instead of AC_HEADER_CHECK.
27702 * sysdeps/i386/configure: Regenerated.
27703
d1d3431a
JM
27704 [BZ #10716]
27705 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27706 * math/s_cacoshf.c (__cacoshf): Likewise.
27707 * math/s_cacoshl.c (__cacoshl): Likewise.
27708 * math/s_casinh.c (__casinh): Set signs of result from argument.
27709 * math/s_casinhf.c (__casinhf): Likewise.
27710 * math/s_casinhl.c (__casinhl): Likewise.
27711 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27712 (casinh_test): Add more tests.
27713 * sysdeps/i386/fpu/libm-test-ulps: Update.
27714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27715
482ff4da
UD
277162012-03-07 Ulrich Drepper <drepper@gmail.com>
27717
872fda05
UD
27718 * po/zh_TW.po: Update from translation team.
27719
a4300c7a
UD
27720 * login/Makefile (distribute): Remove variable.
27721 * catgets/Makefile: Likewise.
27722 * mach/Makefile: Likewise.
27723 * malloc/Makefile: Likewise.
27724 * misc/Makefile: Likewise.
27725 * iconv/Makefile: Likewise.
27726 * nscd/Makefile: Likewise.
27727 * hurd/Makefile: Likewise.
27728 * manual/Makefile: Likewise.
27729 * locale/Makefile: Likewise.
27730 * intl/Makefile: Likewise.
27731 * conform/Makefile: Likewise.
27732 * nss/Makefile: Likewise.
27733 * time/Makefile: Likewise.
27734 * soft-fp/Makefile: Likewise.
27735 * dirent/Makefile: Likewise.
27736 * gmon/Makefile: Likewise.
27737 * po/Makefile: Likewise.
27738 * rt/Makefile: Likewise.
27739 * socket/Makefile: Likewise.
27740 * math/Makefile: Likewise.
27741 * signal/Makefile: Likewise.
27742 * debug/Makefile: Likewise.
27743 * elf/Makefile: Likewise.
27744 * timezone/Makefile: Likewise.
27745 * stdlib/Makefile: Likewise.
27746 * iconvdata/Makefile: Likewise.
27747 * sunrpc/Makefile: Likewise.
27748 * io/Makefile: Likewise.
27749 * argp/Makefile: Likewise.
27750 * inet/Makefile: Likewise.
27751 * hesiod/Makefile: Likewise.
27752 * grp/Makefile: Likewise.
27753 * csu/Makefile: Likewise.
27754 * wctype/Makefile: Likewise.
27755 * crypt/Makefile: Likewise.
27756 * libio/Makefile: Likewise.
27757 * string/Makefile: Likewise.
27758 * nis/Makefile: Likewise.
27759 * resolv/Makefile: Likewise.
27760 * stdio-common/Makefile: Likewise.
27761 * wcsmbs/Makefile: Likewise.
27762 * dlfcn/Makefile: Likewise.
27763 * posix/Makefile: Likewise.
27764
3b7c4e74 27765 [BZ #6959]
482ff4da
UD
27766 * timezone/Makefile: Don't install timezone files, just the programs
27767 and scripts.
27768
f72ed77d
UD
277692012-03-06 Ulrich Drepper <drepper@gmail.com>
27770
a000466f
UD
27771 * nss/databases.def: Add missing gshadow entry.
27772
f72ed77d
UD
27773 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27774
a53b7a4e
MP
277752012-03-06 Marek Polacek <polacek@redhat.com>
27776
27777 [BZ #13726]
27778 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27779 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27780 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27781 * stdio-common/tst-long-dbl-fphex.c: New file.
27782
e9258400
DM
277832012-03-06 David S. Miller <davem@davemloft.net>
27784
27785 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27786 (set_obp_int): New function.
27787 (get_obp_int): New function.
27788 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27789 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27790 Avoid unused variable warnings on 'val' and use builtin_expect.
27791 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27792 __builtin_expect.
e9258400
DM
27793 (INLINE_CLONE_SYSCALL): Likewise.
27794
3bd2c723
DM
277952012-03-05 David S. Miller <davem@davemloft.net>
27796
27797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27798
bbb78d03
AS
277992012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27800
884c5db4
AS
27801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27802
bbb78d03
AS
27803 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27804 only for |x| >= 40.
27805 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27806
1c9f702a 278072012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27808
27809 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27810 Replace gettimeofday with __vdso_gettimeofday.
27811
7be16f82
RM
27812 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27813 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27814 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27815
27816 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27817 time with __vdso_time.
27818
ed58a00f
JM
278192012-03-05 Joseph Myers <joseph@codesourcery.com>
27820
27821 * manual/lang.texi (size_t): Note types to which size_t may be
27822 equivalent with the GNU C Library, but do not describe when
27823 differences between them are significant.
27824
30ee4ced
AJ
278252012-03-05 Andreas Jaeger <aj@suse.de>
27826
27827 * sysdeps/i386/fpu/libm-test-ulps: Update.
27828
b7cd39e8
JM
278292012-03-05 Joseph Myers <joseph@codesourcery.com>
27830
27831 [BZ #3976]
27832 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27833 (__ieee754_pow): Save and restore rounding mode and use
27834 round-to-nearest for main computations.
27835 * math/libm-test.inc (pow_test_tonearest): New function.
27836 (pow_test_towardzero): Likewise.
27837 (pow_test_downward): Likewise.
27838 (pow_test_upward): Likewise.
27839 (main): Call the new functions.
27840 * sysdeps/i386/fpu/libm-test-ulps: Update.
27841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27842
27843 [BZ #3976]
27844 * math/libm-test.inc (cosh_test_tonearest): New function.
27845 (cosh_test_towardzero): Likewise.
27846 (cosh_test_downward): Likewise.
27847 (cosh_test_upward): Likewise.
27848 (sinh_test_tonearest): Likewise.
27849 (sinh_test_towardzero): Likewise.
27850 (sinh_test_downward): Likewise.
27851 (sinh_test_upward): Likewise.
27852 (main): Call the new functions.
27853 * sysdeps/i386/fpu/libm-test-ulps: Update.
27854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27855
6c6a98c9
TV
278562012-03-05 Tom de Vries <tom@codesourcery.com>
27857
27858 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27859 default stack guard is set in last bytes.
27860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27861
21bb2d2e 278622012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27863
21bb2d2e 27864 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27865
21bb2d2e
AJ
27866 [BZ #13656]
27867 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27868 possibly allocate from heap instead of stack.
27869 * stdio-common/bug-vfprintf-nargs.c: New file.
27870 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27871
c6922934
AS
278722012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27873
27874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27875
bc957d53
MP
278762012-03-03 Marek Polacek <polacek@redhat.com>
27877
27878 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27879 * math/math_private.h: Likewise.
27880 * stdlib/tst-strtod.c: Likewise.
27881 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27882 * sysdeps/x86_64/bits/atomic.h: Likewise.
27883
6358490d
DM
278842012-03-02 David S. Miller <davem@davemloft.net>
27885
27886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27890 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27891 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27892 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27893 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27894
01ae168d
RM
278952012-03-02 Roland McGrath <roland@hack.frob.com>
27896
d9a17c07
RM
27897 [BZ #13792]
27898 * manual/examples/README: New file, says the example source files
27899 can be used under GPL>=2.
27900 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27901 line containing just "*/".
27902 * manual/examples/add.c: Add copyright header (GPL>=2).
27903 * manual/examples/argp-ex1.c: Likewise.
27904 * manual/examples/argp-ex2.c: Likewise.
27905 * manual/examples/argp-ex3.c: Likewise.
27906 * manual/examples/argp-ex4.c: Likewise.
27907 * manual/examples/atexit.c: Likewise.
27908 * manual/examples/db.c: Likewise.
27909 * manual/examples/dir.c: Likewise.
27910 * manual/examples/dir2.c: Likewise.
27911 * manual/examples/execinfo.c: Likewise.
27912 * manual/examples/filecli.c: Likewise.
27913 * manual/examples/filesrv.c: Likewise.
27914 * manual/examples/fmtmsgexpl.c: Likewise.
27915 * manual/examples/genpass.c: Likewise.
27916 * manual/examples/inetcli.c: Likewise.
27917 * manual/examples/inetsrv.c: Likewise.
27918 * manual/examples/isockad.c: Likewise.
27919 * manual/examples/longopt.c: Likewise.
27920 * manual/examples/memopen.c: Likewise.
27921 * manual/examples/memstrm.c: Likewise.
27922 * manual/examples/mkfsock.c: Likewise.
27923 * manual/examples/mkisock.c: Likewise.
27924 * manual/examples/mygetpass.c: Likewise.
27925 * manual/examples/pipe.c: Likewise.
27926 * manual/examples/popen.c: Likewise.
27927 * manual/examples/rprintf.c: Likewise.
27928 * manual/examples/search.c: Likewise.
27929 * manual/examples/select.c: Likewise.
27930 * manual/examples/setjmp.c: Likewise.
27931 * manual/examples/sigh1.c: Likewise.
27932 * manual/examples/sigusr.c: Likewise.
27933 * manual/examples/stpcpy.c: Likewise.
27934 * manual/examples/strdupa.c: Likewise.
27935 * manual/examples/strftim.c: Likewise.
27936 * manual/examples/strncat.c: Likewise.
27937 * manual/examples/subopt.c: Likewise.
27938 * manual/examples/swapcontext.c: Likewise.
27939 * manual/examples/termios.c: Likewise.
27940 * manual/examples/testopt.c: Likewise.
27941 * manual/examples/testpass.c: Likewise.
27942 * manual/examples/timeval_subtract.c: Likewise.
27943
01ae168d
RM
27944 [BZ #13792]
27945 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27946 function to ...
27947 * manual/timeval_subtract.c.texi: ... here, new file.
27948
49efa33d
DM
279492012-03-02 David S. Miller <davem@davemloft.net>
27950
27951 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27952
28afd92d
JM
279532012-03-02 Joseph Myers <joseph@codesourcery.com>
27954
804360ed
JM
27955 [BZ #3976]
27956 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27957 (__sin): Save and restore rounding mode and use round-to-nearest
27958 for all computations.
27959 (__cos): Save and restore rounding mode and use round-to-nearest
27960 for all computations.
27961 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27962 <fenv.h>.
27963 (tan): Save and restore rounding mode and use round-to-nearest for
27964 all computations.
27965 * math/libm-test.inc (cos_test_tonearest): New function.
27966 (cos_test_towardzero): Likewise.
27967 (cos_test_downward): Likewise.
27968 (cos_test_upward): Likewise.
27969 (sin_test_tonearest): Likewise.
27970 (sin_test_towardzero): Likewise.
27971 (sin_test_downward): Likewise.
27972 (sin_test_upward): Likewise.
27973 (tan_test_tonearest): Likewise.
27974 (tan_test_towardzero): Likewise.
27975 (tan_test_downward): Likewise.
27976 (tan_test_upward): Likewise.
27977 (main): Call the new functions.
27978 * sysdeps/i386/fpu/libm-test-ulps: Update.
27979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27980
a6d06d7b
JM
27981 [BZ #10135]
27982 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27983 small n, then large n, before computing and testing k+n.
27984 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27985 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27986 Likewise.
27987 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27988 Likewise.
27989 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27990 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27991 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27992 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27993 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27994 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27995 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27996 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27997 * math/libm-test.inc (scalbn_test): Add more tests.
27998 (scalbln_test): Likewise.
27999
07e12bb3
JM
28000 * manual/filesys.texi (mode_t): Describe constraints on size and
28001 signedness, not exact equivalence to a particular type.
28002 (ino_t): Likewise.
28003 (ino64_t): Likewise.
28004 (dev_t): Likewise.
28005 (nlink_t): Likewise.
28006 (blkcnt_t): Likewise.
28007 (blkcnt64_t): Likewise.
28008 * manual/llio.texi (off_t): Likewise.
28009
28afd92d
JM
28010 [BZ #3976]
28011 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28012 (__ieee754_exp): Save and restore rounding mode and use
28013 round-to-nearest for all computations.
28014 * math/libm-test.inc (exp_test_tonearest): New function.
28015 (exp_test_towardzero): Likewise.
28016 (exp_test_downward): Likewise.
28017 (exp_test_upward): Likewise.
28018 (main): Call the new functions.
28019 * sysdeps/i386/fpu/libm-test-ulps: Update.
28020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28021
b1eeb65d
CD
280222012-03-01 Chris Demetriou <cgd@google.com>
28023
28024 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28025 have predictable order.
28026
53362a4b
DM
280272012-03-01 David S. Miller <davem@davemloft.net>
28028
3c969083
DM
28029 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28030
759707de
DM
28031 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28032 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28033 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28034 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28035
dfdb8ff2
DM
28036 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28037 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28038 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28040 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28041 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28042 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28043 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28044 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28045
ead89f96
DM
28046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28047
7f66bd07
DM
28048 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28049 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28050 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28051
53362a4b
DM
28052 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28053 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28054 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28055 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28056 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28057 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28058 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28059 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28060 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28061 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28062 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28063 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28064 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28065 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28066 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28067 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28068 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28069 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28070 * sysdeps/sparc/elf/configure: Regenerated.
28071
7b1902cb
JM
280722012-03-01 Joseph Myers <joseph@codesourcery.com>
28073
bec039bc
JM
28074 * configure.in (AS, LD): Require binutils 2.20 or later.
28075 * configure: Regenerated.
28076 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28077 as required minimum version.
28078 * INSTALL: Regenerated.
28079
7b1902cb
JM
28080 [BZ #2541]
28081 [BZ #4108]
28082 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28083 before squaring exponent.
28084 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28085 bottom long double and 27 bits of top long double before squaring
28086 exponent.
28087 * math/libm-test.inc (erfc_test): Add more tests.
28088 * sysdeps/i386/fpu/libm-test-ulps: Update.
28089 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28091
f775c276
KT
280922012-03-01 Kai Tietz <ktietz@redhat.com>
28093
28094 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28095 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28096 containing bit-fields.
28097 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28098 * soft-fp/single.h (_FP_UNION_S): Likewise.
28099 * soft-fp/double.h (_FP_UNION_D): Likewise.
28100
5b8a4d4a
JM
281012012-02-29 Joseph Myers <joseph@codesourcery.com>
28102
0bab47b6
JM
28103 [BZ #13786]
28104 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28105 not include ../strcmp.S.
28106 [USE_AS_STRNCASECMP_L]: Likewise.
28107 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28108 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28109 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28110 (__strncasecmp_l_ia32): Define as alias to
28111 __strncasecmp_l_nonascii.
28112
0fcad3e2
JM
28113 [BZ #5794]
28114 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28115 * sysdeps/i386/fpu/libm-test-ulps: Update.
28116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28117
5b8a4d4a
JM
28118 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28120
8fdceb2e
JL
281212012-02-29 Jeff Law <law@redhat.com>
28122
28123 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28124 out of bounds read.
28125
1f393a11
MP
281262012-02-29 Marek Polacek <polacek@redhat.com>
28127
28128 [BZ #13706]
28129 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28130 * elf/Makefile: Add rules to run tst-unused-dep.out.
28131
8847f037
DM
281322012-02-28 David S. Miller <davem@davemloft.net>
28133
28134 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28135 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28136 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28137 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28138 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28139 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28140
169d7f11
JM
281412012-02-29 Joseph Myers <joseph@codesourcery.com>
28142
28143 * math/libm-test.inc (llround_test): Move one test from
28144 lround_test. Use TEST_f_L in moved test.
28145 (lround_test): Move misplaced test to llround_test. Add testcase
28146 from bug 2561.
28147
39adf059
UD
281482012-02-28 Ulrich Drepper <drepper@gmail.com>
28149
28150 * sysdeps/x86_64/fpu/e_expf.S: New file.
28151 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28152
71b5d1c5
SB
281532012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28154
28155 [BZ #13637]
28156 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28157 of remain_len that may cause incomplete multi-byte character and
28158 false match.
28159 * posix/bug-regex33.c: New file.
28160 * posix/Makefile (tests): Add bug-regex33.
28161
1f77f049
JM
281622012-02-28 Joseph Myers <joseph@codesourcery.com>
28163
28164 * manual/macros.texi: New file.
28165 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28166 * manual/libc.texinfo: Include macros.texi.
28167 * manual/creatute.texi: Likewise.
28168 * manual/install.texi: Likewise.
28169 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28170 @glibcadj{} in references to the GNU C Library.
28171 * manual/charset.texi: Likewise.
28172 * manual/conf.texi: Likewise.
28173 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28174 when not using those macros.
28175 * manual/creature.texi: Likewise.
28176 * manual/crypt.texi: Likewise.
28177 * manual/errno.texi: Likewise.
28178 * manual/filesys.texi: Likewise.
28179 * manual/header.texi: Likewise.
28180 * manual/install.texi: Likewise.
28181 * manual/intro.texi: Likewise.
28182 * manual/io.texi: Likewise.
28183 * manual/job.texi: Likewise.
28184 * manual/lang.texi: Likewise.
28185 * manual/libc.texiinfo: Likewise.
28186 * manual/llio.texi: Likewise.
28187 * manual/locale.texi: Likewise.
28188 * manual/maint.texi: Likewise.
28189 * manual/math.texi: Likewise.
28190 * manual/memory.texi: Likewise.
28191 * manual/message.texi: Likewise.
28192 * manual/nss.texi: Likewise.
28193 * manual/pattern.texi: Likewise.
28194 * manual/process.texi: Likewise.
28195 * manual/resource.texi: Likewise.
28196 * manual/search.texi: Likewise.
28197 * manual/setjmp.texi: Likewise.
28198 * manual/signal.texi: Likewise.
28199 * manual/socket.texi: Likewise.
28200 * manual/startup.texi: Likewise.
28201 * manual/stdio.texi: Likewise.
28202 * manual/string.texi: Likewise.
28203 * manual/sysinfo.texi: Likewise.
28204 * manual/syslog.texi: Likewise.
28205 * manual/terminal.texi: Likewise.
28206 * manual/time.texi: Likewise.
28207 * manual/users.texi: Likewise.
28208 * INSTALL: Regenerated.
28209 * NOTES: Regenerated.
d40c5d54 28210 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28211
450bf206
AS
282122012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28213
28214 * include/dirent.h: Include <dirstream.h> before
28215 <dirent/dirent.h>.
28216
741a235b
DM
282172012-02-28 David S. Miller <davem@davemloft.net>
28218
28219 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28220 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28221 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28222 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28223
d6b5aa58
DM
282242012-02-27 David S. Miller <davem@davemloft.net>
28225
1aff59a3
DM
28226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28228 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28229 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28230
d6b5aa58
DM
28231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28232 frame pointer instead of stack pointer relative arg slot.
28233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28234 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28235 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28236
433f48bf
CD
282372012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28238
28239 [BZ #3992]
28240 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28241
d674b76d
DM
282422012-02-27 David S. Miller <davem@davemloft.net>
28243
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28248 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28249 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28250 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28251 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28252
0e7727f7
JM
282532012-02-27 Joseph Myers <joseph@codesourcery.com>
28254
28255 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28256 later. Allow versions 5-9.
43be4ca2 28257 * configure: Regenerated.
0e7727f7
JM
28258 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28259 required minimum version and 4.6 as recommended version. Do not
28260 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28261 * INSTALL: Regenerated.
0e7727f7 28262
a78bc654
DM
282632012-02-27 David S. Miller <davem@davemloft.net>
28264
428d5830
DM
28265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28269 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28270 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28271 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28272 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28273
a78bc654
DM
28274 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28275 manipulate bits before adding and subtracting TWO112[sx].
28276 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28277
4579f81c
RM
282782012-02-27 Roland McGrath <roland@hack.frob.com>
28279
36c8acb4
RM
28280 [BZ #13775]
28281 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28282 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28283 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28284 being in POSIX, because they are in 1003.1-2008.
28285
84ad622b
RM
28286 * rt/tst-aio.c: Include <fcntl.h>.
28287 * rt/tst-aio7.c: Likewise.
28288 * rt/tst-aio64.c: Likewise.
28289
4579f81c
RM
28290 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28291
abd923db
JM
282922012-02-27 Joseph Myers <joseph@codesourcery.com>
28293
28294 * manual/install.texi (--with-headers): Describe headers as
28295 interface headers, not private headers.
28296 (Specific advice for GNU/Linux systems): Describe use of headers
28297 from "make headers_install", not private headers from older
28298 kernels.
43be4ca2 28299 * INSTALL: Regenerated.
abd923db
JM
28300 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28301 Change to 2.6.19.
28302 * sysdeps/unix/sysv/linux/configure: Regenerated.
28303
6664049b
JM
28304 * manual/llio.texi (fclean): Remove documentation.
28305
bb8b6697
JM
28306 * manual/Makefile (libc-texi-generated): New variable. Include
28307 version.texi.
28308 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28309 $(libc-texi-generated), not duplicated list of files.
28310 (version.texi, stamp-version): New rules.
28311 (realclean): Remove $(libc-texi-generated), not individual files
28312 from that list. Do not remove dir-add.texinfo.
28313 * manual/libc.texinfo: Comment out uses of edition numbers and
28314 references to printed manual. Remove last-updated dates.
28315 (EDITION): Comment out.
28316 (ISBN): Likewise.
28317 (VERSION, UPDATED): Remove.
28318 (version.texi): Include.
28319
12e5c3b9
AS
283202012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28321
28322 * sysdeps/posix/spawni.c: Include <signal.h>.
28323 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28324 * sysdeps/pthread/aio_fsync.c: Likewise.
28325
4efeffc1 283262012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28327
ba63ba08
UD
28328 * conform/Makefile (tests): Run only when not cross-compiling and
28329 when fast-check is not defined.
28330
d94a4670
UD
28331 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28332 * conform/data/limits.h-data: Fixes for POSIX2008.
28333 * conform/run-conformtest.sh: Run all tests.
28334 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28335 headers.
28336 * include/bits/dlfcn.h: Likewise.
28337 * include/langinfo.h: Likewise.
28338 * include/monetary.h: Likewise.
28339 * include/sys/poll.h: Likewise.
28340
28341 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28342 for __USE_GNU.
28343 * posix/spawn.h: Define __need_sigset_t.
28344 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28345 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28346 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28347 to get sigevent_t only.
28348 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28349 only for __USE_GNU.
28350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28351 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28352 process_vm_writev only for __USE_GNU.
28353 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28354
28355 * conform/Makefile: For now ignore errors from run-conformtest.
28356 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28357 POSIX to avoid namespace pollution. Don't prepend headers.
28358 * conform/data/aio.h-data: Fixes for POSIX testing.
28359 * conform/data/fcntl.h-data: Likewise.
28360 * conform/data/glob.h-data: Likewise.
28361 * conform/data/grp.h-data: Likewise.
28362 * conform/data/pthread.h-data: Likewise.
28363 * conform/data/pwd.h-data: Likewise.
28364 * conform/data/signal.h-data: Likewise.
28365 * conform/data/spawn.h-data: Likewise.
28366 * conform/data/stdio.h-data: Likewise.
28367 * conform/data/stdlib.h-data: Likewise.
28368 * conform/data/stropts.h-data: Likewise.
28369 * conform/data/sys/mman.h-data: Likewise.
28370 * conform/data/sys/stat.h-data: Likewise.
28371 * conform/data/sys/types.h-data: Likewise.
28372 * conform/data/sys/wait.h-data: Likewise.
28373 * conform/data/time.h-data: Likewise.
28374 * conform/data/unistd.h-data: Likewise.
28375 * conform/data/utime.h-data: Likewise.
28376
28377 * io/sys/stat.h: fchmod was always in POSIX.
28378 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28379 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28380 * rt/aio.h: Define __need_timespec before including <time.h>.
28381 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28382 struct. Add forward declaration of pthread_attr_t and use it in
28383 sigevent.
28384 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28385 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28386 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28387 always remove CLK_TCK definition.
28388
c20105c3
AS
283892012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28390
28391 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28392
7a270350
UD
283932012-02-25 Ulrich Drepper <drepper@gmail.com>
28394
31341567
UD
28395 * conform/run-conformtest.sh: New file.
28396 * conform/Makefile: Run run-conformtest for tests.
28397 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28398 support.
28399
28400 * conform/data/uchar.h-data: New file.
28401 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28402 * conform/data/arpa/inet.h-data: Likewise.
28403 * conform/data/assert.h-data: Likewise.
28404 * conform/data/complex.h-data: Likewise.
28405 * conform/data/cpio.h-data: Likewise.
28406 * conform/data/ctype.h-data: Likewise.
28407 * conform/data/dirent.h-data: Likewise.
28408 * conform/data/dlfcn.h-data: Likewise.
28409 * conform/data/errno.h-data: Likewise.
28410 * conform/data/fcntl.h-data: Likewise.
28411 * conform/data/float.h-data: Likewise.
28412 * conform/data/fmtmsg.h-data: Likewise.
28413 * conform/data/fnmatch.h-data: Likewise.
28414 * conform/data/ftw.h-data: Likewise.
28415 * conform/data/glob.h-data: Likewise.
28416 * conform/data/grp.h-data: Likewise.
28417 * conform/data/iconv.h-data: Likewise.
28418 * conform/data/inttypes.h-data: Likewise.
28419 * conform/data/langinfo.h-data: Likewise.
28420 * conform/data/libgen.h-data: Likewise.
28421 * conform/data/limits.h-data: Likewise.
28422 * conform/data/locale.h-data: Likewise.
28423 * conform/data/math.h-data: Likewise.
28424 * conform/data/monetary.h-data: Likewise.
28425 * conform/data/mqueue.h-data: Likewise.
28426 * conform/data/ndbm.h-data: Likewise.
28427 * conform/data/net/if.h-data: Likewise.
28428 * conform/data/netdb.h-data: Likewise.
28429 * conform/data/netinet/in.h-data: Likewise.
28430 * conform/data/nl_types.h-data: Likewise.
28431 * conform/data/poll.h-data: Likewise.
28432 * conform/data/pthread.h-data: Likewise.
28433 * conform/data/pwd.h-data: Likewise.
28434 * conform/data/regex.h-data: Likewise.
28435 * conform/data/sched.h-data: Likewise.
28436 * conform/data/search.h-data: Likewise.
28437 * conform/data/semaphore.h-data: Likewise.
28438 * conform/data/setjmp.h-data: Likewise.
28439 * conform/data/signal.h-data: Likewise.
28440 * conform/data/spawn.h-data: Likewise.
28441 * conform/data/stdarg.h-data: Likewise.
28442 * conform/data/stdio.h-data: Likewise.
28443 * conform/data/stdlib.h-data: Likewise.
28444 * conform/data/string.h-data: Likewise.
28445 * conform/data/strings.h-data: Likewise.
28446 * conform/data/stropts.h-data: Likewise.
28447 * conform/data/sys/ipc.h-data: Likewise.
28448 * conform/data/sys/mman.h-data: Likewise.
28449 * conform/data/sys/msg.h-data: Likewise.
28450 * conform/data/sys/resource.h-data: Likewise.
28451 * conform/data/sys/select.h-data: Likewise.
28452 * conform/data/sys/sem.h-data: Likewise.
28453 * conform/data/sys/shm.h-data: Likewise.
28454 * conform/data/sys/socket.h-data: Likewise.
28455 * conform/data/sys/stat.h-data: Likewise.
28456 * conform/data/sys/statvfs.h-data: Likewise.
28457 * conform/data/sys/time.h-data: Likewise.
28458 * conform/data/sys/timeb.h-data: Likewise.
28459 * conform/data/sys/times.h-data: Likewise.
28460 * conform/data/sys/types.h-data: Likewise.
28461 * conform/data/sys/uio.h-data: Likewise.
28462 * conform/data/sys/un.h-data: Likewise.
28463 * conform/data/sys/utsname.h-data: Likewise.
28464 * conform/data/sys/wait.h-data: Likewise.
28465 * conform/data/syslog.h-data: Likewise.
28466 * conform/data/tar.h-data: Likewise.
28467 * conform/data/termios.h-data: Likewise.
28468 * conform/data/utime.h-data: Likewise.
28469 * conform/data/utmpx.h-data: Likewise.
28470 * conform/data/varargs.h-data: Likewise.
28471 * conform/data/wchar.h-data: Likewise.
28472 * conform/data/wctype.h-data: Likewise.
28473 * conform/data/wordexp.h-data: Likewise.
28474
28475 * include/stropts.h: New file.
28476 * include/uchar.h: New file.
28477 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28478 * include/assert.h: Likewise.
28479 * include/ctype.h: Likewise.
28480 * include/dirent.h: Likewise.
28481 * include/dlfcn.h: Likewise.
28482 * include/fcntl.h: Likewise.
28483 * include/fnmatch.h: Likewise.
28484 * include/glob.h: Likewise.
28485 * include/grp.h: Likewise.
28486 * include/libio.h: Likewise.
28487 * include/locale.h: Likewise.
28488 * include/math.h: Likewise.
28489 * include/net/if.h: Likewise.
28490 * include/netdb.h: Likewise.
28491 * include/netinet/in.h: Likewise.
28492 * include/pthread.h: Likewise.
28493 * include/pwd.h: Likewise.
28494 * include/regex.h: Likewise.
28495 * include/sched.h: Likewise.
28496 * include/search.h: Likewise.
28497 * include/setjmp.h: Likewise.
28498 * include/signal.h: Likewise.
28499 * include/stdio.h: Likewise.
28500 * include/stdlib.h: Likewise.
28501 * include/string.h: Likewise.
28502 * include/sys/cdefs.h: Likewise.
28503 * include/sys/mman.h: Likewise.
28504 * include/sys/msg.h: Likewise.
28505 * include/sys/resource.h: Likewise.
28506 * include/sys/select.h: Likewise.
28507 * include/sys/socket.h: Likewise.
28508 * include/sys/stat.h: Likewise.
28509 * include/sys/statvfs.h: Likewise.
28510 * include/sys/time.h: Likewise.
28511 * include/sys/times.h: Likewise.
28512 * include/sys/uio.h: Likewise.
28513 * include/sys/utsname.h: Likewise.
28514 * include/sys/wait.h: Likewise.
28515 * include/termios.h: Likewise.
28516 * include/time.h: Likewise.
28517 * include/ulimit.h: Likewise.
28518 * include/unistd.h: Likewise.
28519 * include/utime.h: Likewise.
28520 * include/wchar.h: Likewise.
28521 * include/wctype.h: Likewise.
28522 * include/wordexp.h: Likewise.
28523
28524 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28525
7a270350
UD
28526 * time/time.h: TIME_UTC must be a macro.
28527 Make timespec_get available for ISO C11 only as well.
28528
7724defc
UD
285292012-02-24 Ulrich Drepper <drepper@gmail.com>
28530
28531 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28532 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28533
6b1d1d46
JM
285342012-02-24 Joseph Myers <joseph@codesourcery.com>
28535
28536 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28537
0f8bbd69
JM
285382012-02-24 Joseph Myers <joseph@codesourcery.com>
28539
28540 * manual/texinfo.tex: Update to version 2012-01-19.16.
28541
66ab80bc
JM
285422012-02-24 Joseph Myers <joseph@codesourcery.com>
28543
28544 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28545
74981cc5
RM
285462012-02-24 Roland McGrath <roland@hack.frob.com>
28547
ee968201
RM
28548 [BZ #13738]
28549 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28550 * manual/fdl-1.3.texi: New file.
28551 * manual/fdl-1.1.texi: File removed.
28552
74981cc5
RM
28553 [BZ #13738]
28554 * manual/libc.texinfo (FDL_VERSION): New @set.
28555 Use it for mention of FDL in cover text.
28556 (Documentation License): Use it in @include file name.
28557
7bb764bc
JM
285582012-02-22 Joseph Myers <joseph@codesourcery.com>
28559 Roland McGrath <roland@hack.frob.com>
28560
28561 [BZ #5461]
28562 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28563 not LONG_LONG_MAX and LONG_LONG_MIN.
28564 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28565 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28566 name.
28567 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28568
6cbeae47
JM
285692012-02-22 Joseph Myers <joseph@codesourcery.com>
28570
28571 [BZ #2547]
28572 [BZ #11365]
28573 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28574 manipulate bits before adding and subtracting TWO23[sx].
28575 * math/libm-test.inc (nearbyint_test): Add more tests.
28576
fe45ce09
JM
285772012-02-22 Joseph Myers <joseph@codesourcery.com>
28578
28579 [BZ #2548]
28580 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28581 bits before adding and subtracting TWO23[sx].
28582 * math/libm-test.inc (rint_test): Add more tests.
28583 (rint_test_tonearest): Likewise.
28584 (rint_test_towardzero): Likewise.
28585 (rint_test_downward): Likewise.
28586 (rint_test_upward: Likewise.
28587
ff3b3d82
JM
285882012-02-22 Joseph Myers <joseph@codesourcery.com>
28589
28590 [BZ #10110]
28591 * include/stdc-predef.h: New file. Extracted from features.h.
28592 * include/features.h: Include stdc-predef.h.
28593 * Makefile (headers): Add stdc-predef.h.
28594 * CONFORMANCE (Compiler limitations): Update.
28595
ef0aab35
JM
285962012-02-22 Joseph Myers <joseph@codesourcery.com>
28597
28598 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28599
58639409
DM
286002012-02-21 David S. Miller <davem@davemloft.net>
28601
28602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28603 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28604
c0e70b25
DM
286052012-02-20 David S. Miller <davem@davemloft.net>
28606
28607 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28608 using a normal save/restore sequence, rather than allocating a
28609 dummy stack frame just to store a frame pointer and restore.
28610 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28611
fb06851d
JM
286122012-02-21 Joseph Myers <joseph@codesourcery.com>
28613
28614 * manual/install.texi: Fix stray word in line-wrapped comment.
28615
7a8b71c3
DM
286162012-02-20 David S. Miller <davem@davemloft.net>
28617
d510c123
DM
28618 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28619 both binutils and gcc support GOTDATA.
28620
0722d7c2
DM
28621 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28622 "rd %pc" in the PIC register setup sequences.
28623
3d2b3019
DM
28624 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28625 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28626 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28627 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28628 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28630 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28631 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28633 (SYSCALL_ERROR_HANDLER): Likewise.
28634 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28635 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28637 (SYSCALL_ERROR_HANDLER): Likewise.
28638
c80098a9
DM
28639 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28640 (HAVE_GCC_GOTDATA): New.
28641 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28642 relocation support in both binutils and gcc.
28643 * sysdeps/sparc/elf/configure: Regenerate.
28644
3a2545a0
DM
28645 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28646 * sysdeps/sparc/sparc32/elf/configure: Delete.
28647 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28648 * sysdeps/sparc/sparc64/elf/configure: Delete.
28649 * sysdeps/sparc/elf/configure.in: New file.
28650 * sysdeps/sparc/elf/configure: Generate.
28651
7a8b71c3
DM
28652 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28653 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28654 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28655 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28656 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28657
f1e86fca
JM
286582012-02-21 Joseph Myers <joseph@codesourcery.com>
28659
28660 * manual/install.texi: Do not mention specific glibc version
28661 numbers.
28662 * manual/libc.texinfo (VERSION, UPDATED): Update.
28663 (@copying): Use @copyright{} and range of years.
28664
0e7dfaef
JM
286652012-02-21 Joseph Myers <joseph@codesourcery.com>
28666
28667 [BZ #13695]
28668 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28669 [crti.S not in sysdirs] (generated): Do not append.
28670 [crti.S not in sysdirs] (omit-deps): Likewise.
28671 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28672 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28673 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28674 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28675 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28676 Likewise.
28677 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28678 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28679 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28680 * csu/defs.awk: Remove file.
28681 * sysdeps/generic/initfini.c: Likewise.
28682 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28683 variable.
28684 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28685 Likewise.
28686
599af3ca
JM
286872012-02-20 Joseph Myers <joseph@codesourcery.com>
28688
28689 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28690 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28691 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28692 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28693 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28694 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28695 <bits/epoll.h>.
28696 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28697 (__EPOLL_PACKED): Define to empty if not defined by
28698 <bits/epoll.h>.
28699 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28700 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28701 bits/epoll.h.
28702
0e499750
JM
287032012-02-20 Joseph Myers <joseph@codesourcery.com>
28704
28705 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28706 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28707 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28708 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28709 <bits/timerfd.h>.
28710 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28712 bits/timerfd.h.
28713
5ad91f6e
JM
287142012-02-20 Joseph Myers <joseph@codesourcery.com>
28715
28716 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28717 in C locale.
28718 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28719 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28720 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28722
06b99b02
AJ
287232012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28724
28725 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28726 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28727
7638c0fd
AS
287282012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28729
28730 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28731 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28732 defined.
28733 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28734 Likewise.
28735 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28736 entry for 2.16.
28737
92221550
AJ
287382012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28739
28740 * math/w_acos.c: Use non-signaling floating-point comparisons.
28741 * math/w_acosf.c: Likewise.
28742 * math/w_acosh.c: Likewise.
28743 * math/w_acoshf.c: Likewise.
28744 * math/w_acoshl.c: Likewise.
28745 * math/w_acosl.c: Likewise.
28746 * math/w_asin.c: Likewise.
28747 * math/w_asinf.c: Likewise.
28748 * math/w_asinl.c: Likewise.
28749 * math/w_atanh.c: Likewise.
28750 * math/w_atanhf.c: Likewise.
28751 * math/w_atanhl.c: Likewise.
28752 * math/w_exp2.c: Likewise.
28753 * math/w_exp2f.c: Likewise.
28754 * math/w_exp2l.c: Likewise.
28755 * math/w_j0.c: Likewise.
28756 * math/w_j0f.c: Likewise.
28757 * math/w_j0l.c: Likewise.
28758 * math/w_j1.c: Likewise.
28759 * math/w_j1f.c: Likewise.
28760 * math/w_j1l.c: Likewise.
28761 * math/w_jn.c: Likewise.
28762 * math/w_jnf.c: Likewise.
28763 * math/w_log.c: Likewise.
28764 * math/w_log10.c: Likewise.
28765 * math/w_log10f.c: Likewise.
28766 * math/w_log10l.c: Likewise.
28767 * math/w_log2.c: Likewise.
28768 * math/w_log2f.c: Likewise.
28769 * math/w_log2l.c: Likewise.
28770 * math/w_logf.c: Likewise.
28771 * math/w_logl.c: Likewise.
28772 * math/w_sqrt.c: Likewise.
28773 * math/w_sqrtf.c: Likewise.
28774 * math/w_sqrtl.c: Likewise.
28775 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28776 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28777 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28778 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28779 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28780
ebaf36eb
JM
287812012-02-19 Joseph Myers <joseph@codesourcery.com>
28782
28783 [BZ #9739]
28784 * manual/string.texi (strnlen): Use correct parameter name in
28785 equivalent expression.
28786
71c254a6
JM
287872012-02-19 Joseph Myers <joseph@codesourcery.com>
28788
28789 [BZ #11174]
28790 * manual/users.texi (seteuid): Consistently use neweuid for
28791 argument name.
28792
16d2c631
JM
287932012-02-19 Joseph Myers <joseph@codesourcery.com>
28794
28795 [BZ #13704]
28796 * manual/nss.texi (Services in the NSS configuration): Correct
28797 list of services in example configuration file.
28798
cd837b09
NB
287992012-02-19 Nick Bowler <nbowler@draconx.ca>
28800
28801 [BZ #11322]
28802 * manual/arith.texi: Remove statements about negative zero
28803 behaving identically to zero.
28804
02c4bbad
JM
288052012-02-18 Joseph Myers <joseph@codesourcery.com>
28806
28807 [BZ #5993]
28808 * manual/install.texi: Do not document upgrading from libc5.
28809
366842e7
JM
288102012-02-18 Joseph Myers <joseph@codesourcery.com>
28811
28812 [BZ #4596]
28813 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28814
dd54084d
DM
288152012-02-18 David S. Miller <davem@davemloft.net>
28816
28817 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28818 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28819 %o7 across the call.
28820 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28821 instead.
28822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28823 SETUP_PIC_REG_LEAF.
28824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28825 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28826 * sysdeps/sparc/crtn.S: Likewise.
28827
2bcc53a3
UD
288282012-02-17 Ulrich Drepper <drepper@gmail.com>
28829
28830 * aout/Makefile: Remove.
28831
09c093b5
RK
288322012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28833
28834 [BZ #13058]
28835 * manual/examples/argp-ex1.c (main): Format definition in GNU
28836 style.
28837 * manual/examples/argp-ex2.c (main): Likewise.
28838 * manual/examples/argp-ex3.c (main): Likewise.
28839 * manual/examples/argp-ex4.c (main): Likewise.
28840 * manual/examples/longopt.c (main): Use new-style prototype
28841 definition.
28842 * manual/examples/strncat.c (main): Specify return type and use
28843 (void) for arguments.
28844 * manual/examples/subopt.c (main): Use char **argv argument.
28845
2ee633a2
JM
288462012-02-17 Joseph Myers <joseph@codesourcery.com>
28847
28848 [BZ #5077]
28849 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28850 rounding modes.
28851
0520adde
FB
288522012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28853
28854 [BZ #6907]
28855 * manual/string.texi (strchr): Change when strchrnul is
28856 recommended.
28857
3f4081cd
DGM
288582012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28859
28860 [BZ #174]
28861 * manual/locale.texi (setlocale): Document LOCPATH.
28862
d1b10e78
JM
288632012-02-17 Joseph Myers <joseph@codesourcery.com>
28864
28865 [BZ #10210]
28866 * manual/process.texi (execle): Move @dots{} before last argument.
28867
79c6869c
PB
288682012-02-17 Paul Bolle <pebolle@tiscali.nl>
28869
28870 [BZ #12047]
28871 * manual/charset.texi (Generic Charset Conversion): Fix typo
28872 (LC_TYPE -> LC_CTYPE).
28873
cc6e48bc
NB
288742012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28875
28876 [BZ #5805]
28877 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28878 (scalbnf): Likewise.
28879 (scalbnl): Likewise.
28880 (scalbln): Likewise.
28881 (scalblnf): Likewise.
28882 (scalblnl): Likewise.
28883 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28884 (vwarnx): Likewise.
28885 (verr): Likewise.
28886 (verrx): Likewise.
28887 * manual/filesys.texi (telldir): Use braces around return type.
28888 * manual/llio.texi (mmap): Add space after comma.
28889 (mmap64): Likewise.
28890 * manual/math.texi (jn): Use @var{} on parameter names.
28891 (jnf): Likewise.
28892 (jnl): Likewise.
28893 (yn): Likewise.
28894 (ynf): Likewise.
28895 (ynl): Likewise.
28896 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28897 line.
28898 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28899 "...".
28900 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28901 (sched_get_priority_max): Likewise.
28902 * manual/signal.texi (sigvec): Add space after comma.
28903 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28904 names.
28905 (if_indextoname): Likewise.
28906 (if_freenameindex): Likewise.
28907 (sendto): Use ',' instead of '.' in prototype.
28908 * manual/startup.texi (syscall): Use @dots{} instead of literal
28909 "...".
28910 * manual/stdio.texi (__fpending): Separate initial words of
28911 paragraph from @deftypefun line.
28912 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28913 "...".
28914 (vsyslog): Use @var{} on parameter names.
28915 * manual/terminal.texi (stty): Use @var{} on parameter names.
28916 * manual/users.texi (getutmp): Use @var{} on parameter names.
28917 (getutmpx): Likewise.
28918
5b23062f
JM
289192012-02-17 Joseph Myers <joseph@codesourcery.com>
28920
28921 [BZ #6884]
28922 * manual/stdio.texi (fopen): Fix typos in description of
28923 ",ccs=STRING".
28924
8dee4833
AJ
289252012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28926
28927 [BZ #4026]
28928 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28929 get clock_id definition.
28930
9078ce93
TS
289312012-02-17 Thomas Schwinge <thomas@schwinge.name>
28932
28933 [BZ #4822]
28934 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28935 (madvise): Cast every argument to void on its own.
28936
3835c55f
JM
289372012-02-17 Joseph Myers <joseph@codesourcery.com>
28938
28939 [BZ #9902]
28940 * manual/startup.texi (Exit Status): Fix typo.
28941
35c47e37
JM
289422012-02-17 Joseph Myers <joseph@codesourcery.com>
28943
28944 [BZ #10140]
28945 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28946 * manual/examples/argp-ex2.c: Likewise.
28947 * manual/examples/argp-ex3.c: Likewise.
28948
e3b69ca7
RH
289492012-02-16 Richard Henderson <rth@redhat.com>
28950
28951 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28952 * sysdeps/s390/s390-32/initfini.c: Remove.
28953 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28954 * sysdeps/s390/s390-64/initfini.c: Remove.
28955
df83af67
KK
289562012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28957
28958 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28959 compiler output for sysdeps/generic/initfini.c.
28960 * sysdeps/sh/elf/initfini.c: Remove file.
28961
f63f3380
DM
289622012-02-16 David S. Miller <davem@davemloft.net>
28963
fb59b3a4
DM
28964 [BZ #11494]
28965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28966
f63f3380
DM
28967 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28968 * sysdeps/sparc/crti.S: New file.
28969 * sysdeps/sparc/crtn.S: New file.
28970 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28971 * sysdeps/sparc/sparc64/Makefile: Likewise.
28972
df6a4a4a
MF
289732012-02-15 Mike Frysinger <vapier@gentoo.org>
28974
6dd8f3dc 28975 [BZ #3335]
df6a4a4a
MF
28976 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28977
1cac7236
RM
289782012-02-15 Roland McGrath <roland@hack.frob.com>
28979
d2c736f8
RM
28980 [BZ #4822]
28981 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28982
1cac7236
RM
28983 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28984 (write, read, close): Likewise.
28985 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28986
8e475601
JM
289872012-02-15 Joseph Myers <joseph@codesourcery.com>
28988
28989 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28990 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28991 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28992 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28993 <bits/signalfd.h>.
28994 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28996 bits/signalfd.h.
28997
ed656b40
MP
289982012-02-14 Marek Polacek <polacek@redhat.com>
28999
29000 * sysdeps/x86_64/crti.S: New file.
29001 * sysdeps/x86_64/crtn.S: New file.
29002 * sysdeps/x86_64/elf/initfini.c: Remove file.
29003
2a979d3a
JM
290042012-02-13 Joseph Myers <joseph@codesourcery.com>
29005
29006 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29007 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29008 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29009 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29010 <bits/inotify.h>.
29011 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29013 bits/inotify.h.
29014
2a418ac3
JM
290152012-02-13 Joseph Myers <joseph@codesourcery.com>
29016
29017 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29018 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29019 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29020 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29021 <bits/eventfd.h>.
29022 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29024 bits/eventfd.h.
29025
fb779be7
TS
290262012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29027
e19e83c5
RM
29028 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29029 __feraiseexcept instead of feraiseexcept.
7c35ffed 29030
fb779be7
TS
29031 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29032 nanosleep invocations.
29033 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29034 strings, and add error checking for a nanosleep invocations.
29035
59ba27a6
PE
290362012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29037
29038 Replace FSF snail mail address with URLs, as per GNU coding standards.
29039 Most of the snail mail addresses were wrong anyway, and omitting
29040 them makes the source code easier to maintain. Almost all of the
29041 changes are to license notices and to locale LC_IDENTIFICATION
29042 addresses, except for this one:
29043 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29044 not its snail mail address.
29045
57b957eb
RH
290462012-02-09 Richard Henderson <rth@twiddle.net>
29047
af850b1c
RH
29048 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29049 of kernel-features.h.
29050
57b957eb
RH
29051 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29052
6b73181a
MP
290532012-02-08 Marek Polacek <polacek@redhat.com>
29054
29055 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29056 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29057 * sysdeps/gnu/_G_config.h: Likewise.
29058 * sysdeps/generic/_G_config.h: Likewise.
29059
26ecc33a
AS
290602012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29061
6c6dbc63
AS
29062 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29063 tests.
29064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29065
e216c012
AS
29066 * sysdeps/powerpc/powerpc32/crti.S: New file.
29067 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29068 * sysdeps/powerpc/powerpc64/crti.S: New file.
29069 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29070
26ecc33a
AS
29071 * Makeconfig (have-initfini): Don't set.
29072 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29073 * configure.in (nopic_initfini): Don't substitute.
29074 * config.h.in (HAVE_INITFINI): Don't #undef.
29075 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29076 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29077
3add8e13
JM
290782012-02-08 Joseph Myers <joseph@codesourcery.com>
29079
29080 Support crti.S and crtn.S provided directly by architectures.
29081 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29082 [crti.S in sysdirs] (omit-deps): Likewise.
29083 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29084 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29085 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29086 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29087 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29088 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29089 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29090 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29091 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29092 compiler output for sysdeps/generic/initfini.c.
29093 * sysdeps/i386/elf/Makefile: Remove file.
29094 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29095
a22f12b4
MP
290962012-02-07 Marek Polacek <polacek@redhat.com>
29097
29098 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29099 * sysdeps/gnu/_G_config.h: Likewise.
29100 * sysdeps/mach/hurd/_G_config.h: Likewise.
29101
148cf100
MP
291022012-02-07 Marek Polacek <polacek@redhat.com>
29103
29104 * math/Makefile (tests): Add tst-CMPLX2.
29105 * math/tst-CMPLX2.c: New file.
29106
cfdc0dd7
AS
291072012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29108
84ba42c4
AS
29109 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29110
cfdc0dd7
AS
29111 * math/libm-test.inc (jn_test): Add missing L suffix.
29112
622c86f4
MP
291132012-02-06 Marek Polacek <polacek@redhat.com>
29114
29115 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29116 * sysdeps/i386/fpu/e_powf.S: Likewise.
29117 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29118 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29119 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29120 * sysdeps/i386/fpu/e_pow.S: Likewise.
29121 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29122 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29123 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29124 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29125 * sysdeps/i386/fpu/e_log2.S: Likewise.
29126 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29127 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29128 * sysdeps/i386/fpu/e_powl.S: Likewise.
29129 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29130 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29131 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29132 * sysdeps/i386/fpu/e_logl.S: Likewise.
29133 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29134 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29135 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29136 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29137 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29138 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29139 * sysdeps/i386/fpu/e_log.S: Likewise.
29140 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29141 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29142 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29143 * sysdeps/i386/fpu/e_logf.S: Likewise.
29144 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29145 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29146 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29147 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29148 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29149 * sysdeps/i386/fpu/e_log10.S: Likewise.
29150 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29151 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29152 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29153 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29154 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29155 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29156 * sysdeps/i386/asm-syntax.h: Likewise.
29157 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29158 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29159 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29160 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29161 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29162 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29163 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29164 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29165 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29166 * sysdeps/powerpc/sysdep.h: Likewise.
29167 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29168 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29169
d4a54ac6
JM
291702012-02-06 Joseph Myers <joseph@codesourcery.com>
29171
29172 [BZ #411]
29173 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29174
314054ea
JM
291752012-02-06 Joseph Myers <joseph@codesourcery.com>
29176
29177 * sysdeps/i386/sysdep.h: Include <features.h>.
29178 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29179 version.
29180
d8e0ca50
JM
291812012-02-05 Joseph Myers <joseph@codesourcery.com>
29182
29183 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29184 Define.
29185 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29186 LOAD_PIC_REG_STR.
29187
b1da7dd9
JM
291882012-02-03 Joseph Myers <joseph@codesourcery.com>
29189
29190 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29191 (SETUP_PIC_REG): Use GET_PC_THUNK.
29192 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29193 macro.
29194
9a1d9254
JM
291952012-02-03 Joseph Myers <joseph@codesourcery.com>
29196
29197 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29198 for non-PIC compilation.
29199 (SETUP_PIC_REG): Add .p2align directive.
29200 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29201 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29202 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29203 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29204 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29205 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29206 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29207 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29208 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29209 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29210 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29211 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29212 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29213 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29214 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29215 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29216 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29217 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29218 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29219 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29220 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29221 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29222 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29223 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29225 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29226 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29227 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29228 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29229 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29230 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29231 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29232 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29233 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29234 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29235 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29236 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29237 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29238 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29239 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29240 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29241
65dc3b75
JM
292422012-02-03 Joseph Myers <joseph@codesourcery.com>
29243
29244 * math/tst-CMPLX.c: Include <stdio.h>.
29245
d55bf177
JM
292462012-01-31 Joseph Myers <joseph@codesourcery.com>
29247
29248 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29249 float.
29250 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29251 * sysdeps/sparc/bits/mathdef.h: Likewise.
29252
69db4f8f
MP
292532012-01-31 Marek Polacek <polacek@redhat.com>
29254
29255 * libio/libio.h: Don't define _PARAMS.
29256 * locale/programs/config.h: Don't define PARAMS.
29257 * stdlib/strtol_l.c: Likewise.
29258 (__strtol_l): Remove PARAMS from the prototype.
29259
41b81892
UD
292602012-01-31 Ulrich Drepper <drepper@gmail.com>
29261
3b49edc0
UD
29262 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29263 names. Just use the correct names. Remove unnecessary wrapper
29264 functions.
29265 * malloc/arena.c: Likewise.
29266 * malloc/hooks.c: Likewise.
29267
41b81892
UD
29268 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29269 ARENA_TEST says not to. Simplify test for creation of a new arena.
29270 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29271
27a25b6e
UD
292722012-01-30 Ulrich Drepper <drepper@gmail.com>
29273
29274 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29275 into tail calls.
29276 (update_get_addr): New function.
29277 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29278 GET_ADDR_MODULE parameter.
29279
c8a89e7d
JM
292802012-01-30 Joseph Myers <joseph@codesourcery.com>
29281
29282 * crypt/cert.c: Remove __STDC__ conditionals.
29283 * crypt/crypt-entry.c: Likewise.
29284 * crypt/crypt_util.c: Likewise.
29285 * libio/filedoalloc.c: Likewise.
29286 * libio/fileops.c: Likewise.
29287 * libio/genops.c: Likewise.
29288 * libio/iofclose.c: Likewise.
29289 * libio/iofdopen.c: Likewise.
29290 * libio/iofopen.c: Likewise.
29291 * libio/iofopen64.c: Likewise.
29292 * libio/iogetdelim.c: Likewise.
29293 * libio/iopopen.c: Likewise.
29294 * libio/obprintf.c: Likewise.
29295 * libio/oldfileops.c: Likewise.
29296 * libio/oldiofclose.c: Likewise.
29297 * libio/oldiofdopen.c: Likewise.
29298 * libio/oldiofopen.c: Likewise.
29299 * libio/oldiopopen.c: Likewise.
29300 * libio/wfiledoalloc.c: Likewise.
29301 * libio/wgenops.c: Likewise.
29302 * locale/programs/xmalloc.c: Likewise.
29303 * misc/syslog.c: Likewise.
29304 * stdio-common/xbug.c: Likewise.
29305 * string/memchr.c: Likewise.
29306 * string/memcmp.c: Likewise.
29307 * string/memrchr.c: Likewise.
29308 * string/rawmemchr.c: Likewise.
29309 * sysdeps/posix/getcwd.c: Likewise.
29310 * time/strftime_l.c: Likewise.
29311
3b100462
JM
293122012-01-30 Joseph Myers <joseph@codesourcery.com>
29313
29314 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29315 * config.make.in (config-cflags-sse2avx): Define.
29316 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29317 Fix typo.
29318
607998af
CM
293192012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29320
29321 * scripts/config.guess: Update from upstream config git repository.
29322 * scripts/config.sub: Likewise.
29323
3601428f
CM
293242012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29325
3ac8b282
CM
29326 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29327 (EM_NUM): Update.
29328 (R_TILEPRO_*, R_TILEGX_*): New macros.
29329
e034841e
CM
29330 * scripts/firstversions.awk: Fix bug in version range handling.
29331
540d7568
CM
29332 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29333
3601428f
CM
29334 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29335
463de862
CM
29336 * include/sys/epoll.h: New file.
29337 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29338 libc_hidden_def.
29339
73139a76
UD
293402012-01-28 Ulrich Drepper <drepper@gmail.com>
29341
96bc5b45
UD
29342 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29343 Avoid unnecessary __WORDSIZE == 64 test.
29344 (fmaxf): Use VEX format if possible.
29345 (fmax): Likewise.
29346 (fminf): Likewise.
29347 (fmin): Likewise.
29348
56f6f6a2
UD
29349 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29350 * math/math_private.h: Remove libc_fegetround* and
29351 libc_fesetround*.
29352 * sysdeps/i386/configure.in: Check for -msse2avx.
29353 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29354 also if SSE2AVX is defined.
29355 Remove libc_fegetround* and libc_fesetround*.
29356 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29357 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29358 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29359 of HAS_YMM_USABLE.
29360 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29361 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29362 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29363 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29364 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29365
73139a76
UD
29366 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29367
d73f93a4
AZ
293682012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29369
29370 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29371 size is not set.
29372 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29373
6ee65ed6
UD
293742012-01-27 Ulrich Drepper <drepper@gmail.com>
29375
29376 [BZ #13618]
29377 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29378 relocation.
29379 * Makeconfig (libm): Define.
29380 * elf/Makefile: Add rules to build and run tst-relsort1.
29381 * elf/tst-relsort1.c: New file.
29382 * elf/tst-relsort1mod1.c: New file.
29383 * elf/tst-relsort1mod2.c: New file.
29384
8db21882
JM
293852012-01-27 Joseph Myers <joseph@codesourcery.com>
29386
29387 * math/s_ldexp.c: Remove __STDC__ conditionals.
29388 * math/s_ldexpf.c: Likewise.
29389 * math/s_ldexpl.c: Likewise.
29390 * math/s_nextafter.c: Likewise.
29391 * math/s_nexttowardf.c: Likewise.
29392 * math/s_significand.c: Likewise.
29393 * math/s_significandf.c: Likewise.
29394 * math/s_significandl.c: Likewise.
29395 * math/w_jnl.c: Likewise.
29396 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29397 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29398 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29399 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29400 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29401 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29402 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29403 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29404 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29405 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29406 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29407 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29408 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29409 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29410 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29411 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29412 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29413 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29414 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29415 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29416 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29417 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29418 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29419 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29420 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29421 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29422 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29423 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29424 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29425 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29426 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29427 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29428 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29429 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29430 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29431 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29432 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29433 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29434 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29435 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29436 * sysdeps/ieee754/k_standard.c: Likewise.
29437 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29438 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29439 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29440 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29441 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29442 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29443 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29444 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29445 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29446 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29447 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29448 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29449 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29450 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29451 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29452 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29453 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29454 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29455 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29456 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29457 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29458 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29459 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29460 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29461 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29462 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29465 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29466 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29467 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29468 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29469 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29470 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29471 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29472 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29473 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29474 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29475 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29476 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29477 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29478 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29479 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29480 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29481 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29482 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29483 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29484 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29485 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29486 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29488 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29489 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29490 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29491 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29492 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29493 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29494 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29495 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29496 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29497 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29498 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29499 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29500 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29501 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29502 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29503 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29504 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29505 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29506 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29507 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29508 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29509 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29510 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29511 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29512 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29513 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29514 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29515 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29516 * sysdeps/ieee754/s_matherr.c: Likewise.
29517 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29518 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29519 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29521
965a54a4
JM
295222012-01-26 Joseph Myers <joseph@codesourcery.com>
29523
29524 * crypt/md5.h: Remove __STDC__ conditionals.
29525 * libio/libioP.h: Likewise.
29526 * locale/programs/config.h: Likewise.
29527 * sysdeps/generic/sysdep.h: Likewise.
29528 * sysdeps/i386/asm-syntax.h: Likewise.
29529 * sysdeps/s390/asm-syntax.h: Likewise.
29530 * sysdeps/unix/sysdep.h: Likewise.
29531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29533
7071ad79
JM
295342012-01-26 Joseph Myers <joseph@codesourcery.com>
29535
29536 * libio/libio.h: Remove __STDC__ conditionals.
29537 * malloc/obstack.h: Likewise.
29538 * math/complex.h: Likewise.
29539 * math/math.h: Likewise.
29540 * sysdeps/generic/_G_config.h: Likewise.
29541 * sysdeps/gnu/_G_config.h: Likewise.
29542 * sysdeps/mach/hurd/_G_config.h: Likewise.
29543 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29544 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29545 * sysdeps/sparc/bits/mathdef.h: Likewise.
29546
afc5ed09
UD
295472012-01-26 Ulrich Drepper <drepper@gmail.com>
29548
29549 [BZ #13583]
29550 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29551 Clean up HAS_* macros.
afc5ed09 29552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29553 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29554 possible.
29555 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29556 HAS_AVX.
29557 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29558 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29559 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29560 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29562
bdb6de1d
JM
295632012-01-25 Joseph Myers <joseph@codesourcery.com>
29564
29565 * elf/tst-unique3.cc (gets): Remove declaration.
29566 * elf/tst-unique3lib.cc (gets): Likewise.
29567 * elf/tst-unique3lib2.cc (gets): Likewise.
29568 * elf/tst-unique4.cc (gets): Likewise.
29569
b15549e6
UD
295702012-01-24 Ulrich Drepper <drepper@gmail.com>
29571
29572 * include/stdio.h: Add C++ protection. Add gets declarations and
29573 definitions.
29574 * debug/tst-chk1.c: Don't declare gets here.
29575 * stdio-common/tst-gets.c: Likewise.
29576
a037381f
JM
295772012-01-24 Joseph Myers <joseph@codesourcery.com>
29578
29579 * posix/glob: Remove directory.
29580
f1d4aa75
JM
295812012-01-24 Joseph Myers <joseph@codesourcery.com>
29582
29583 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29584
81c0c964
PT
295852012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29586
29587 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29588 of the non-standard EPFNOSUPPORT.
29589
0ea698ae
ST
295902011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29591
29592 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29593 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29594 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29595
d220b117
UD
295962012-01-21 Ulrich Drepper <drepper@gmail.com>
29597
29598 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29599
3e1aa84e
UD
296002012-01-20 Ulrich Drepper <drepper@gmail.com>
29601
29602 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29603 transient errors.
29604 * nscd/grpcache.c (cache_addgr): Likewise.
29605 * nscd/hstcache.c (cache_addhst): Likewise.
29606 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29607 * nscd/pwdcache.c (cache_addpw): Likewise.
29608 * nscd/servicescache.c (cache_addserv): Likewise.
29609
400aa020
UD
296102012-01-16 Ulrich Drepper <drepper@gmail.com>
29611
d77e7869
UD
29612 * malloc/malloc.c: Various cleanups.
29613 * malloc/hooks.c: Likewise.
29614
400aa020
UD
29615 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29616 * stdlib/bug-fmtmsg1.c: New file.
29617
29618 * stdlib/fmtmsg.c (init): Add missing unlock.
29619 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29620
e0a309cf
MP
296212012-01-12 Marek Polacek <polacek@redhat.com>
29622
29623 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29624 and _GNU_SOURCE.
29625
929d11c7
WS
296262012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29627
29628 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29629 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29630 macro to ensure uniqueness of label name.
29631 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29632 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29633
41d0e869
UD
296342012-01-11 Ulrich Drepper <drepper@gmail.com>
29635
0cc5ed3b
UD
29636 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29637
41d0e869
UD
29638 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29639 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29640 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29642
a47a831a
UD
296432012-01-10 Ulrich Drepper <drepper@gmail.com>
29644
daa891c0
UD
29645 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29646
29647 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29648 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29649 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29650
e58ef0f2
UD
29651 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29652
a47a831a 29653 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29654 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29655 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29656 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29657
29658 * math/bits/math-finite.h: Add ldexp support.
29659
a0bfc9c7
MP
296602012-01-10 Marek Polacek <polacek@redhat.com>
29661
29662 * locale/programs/localedef.h (show_archive_content): Add noreturn
29663 attribute.
29664
d6e97a1d
UD
296652012-01-09 Ulrich Drepper <drepper@gmail.com>
29666
29667 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29668
d5835c26
UD
296692012-01-08 Ulrich Drepper <drepper@gmail.com>
29670
e5f484c6
UD
29671 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29672
d5835c26
UD
29673 * io/Makefile (headers): Add bits/poll2.h.
29674
d1f741e9
WS
296752011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29676
29677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29678 typo #include statement.
29679
ec09c1c4
UD
296802012-01-08 Ulrich Drepper <drepper@gmail.com>
29681
29682 * include/sys/cdefs.h: Define __attribute_alloc_size.
29683 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29684 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29685 * elf/pldd.c: Likewise.
29686 * iconv/iconv_charmap.c: Likewise.
29687 * iconv/iconvconfig.c: Likewise.
29688 * iconv/strtab.c: Likewise.
29689 * locale/programs/locale.c: Likewise.
29690 * locale/programs/localedef.h: Likewise.
29691 * locale/programs/simple-hash.c: Likewise.
29692 * nscd/nscd.h: Likewise.
29693 * nss/makedb.c: Likewise.
29694 * sysdeps/generic/ldconfig.h: Likewise.
29695 * locale/programs/localedef.c: Remove xmalloc prototype.
29696 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29697
20b38e03
PP
296982012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29699
29700 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29701 appropriate.
29702
a0da5fe1
UD
297032012-01-08 Ulrich Drepper <drepper@gmail.com>
29704
1d5a644a 29705 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29706 * math/tst-CMPLX.c: New file.
1d5a644a 29707
8784a6db
UD
29708 * math/complex.h (CMPLXL): Fix typo.
29709
d9a216c0
UD
29710 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29711 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29712 GLIBC_2.16.
29713 * debug/tst-chk1.c: Add poll and ppoll tests.
29714 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29715 * include/sys/poll.h: Add hidden proto for ppoll.
29716 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29717 * sysdeps/mach/hurd/ppoll.c: Likewise.
29718 * io/ppoll.c: Likewise.
29719 * debug/poll_chk.c: New file.
29720 * debug/ppoll_chk.c: New file.
29721 * include/bits/poll2.h: New file.
29722 * io/bits/poll2.h: New file.
29723
ac097f5c
UD
29724 [BZ #1350]
29725 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29726
2119dcfa
UD
29727 * configure.in: static is always set to yes. Remove.
29728 * config.make.in: Don't set build-static.
29729 * Makeconfig: Remove use of build-static.
29730 * dlfcn/Makefile: Likewise.
29731 * elf/Makefile: Likewise.
29732 * math/Makefile: Likewise.
29733 * misc/Makefile: Likewise.
29734 * nptl/Makefile: Likewise.
29735 * sysdeps/mach/hurd/Makefile: Likewise.
29736
121766a9
UD
29737 * configure.in: PWD_P is not used anymore.
29738 * config.make.in: Remove PWD_P entry.
29739
51a1d39c 29740 * configure.in: Remove last remnants of RANLIB.
8720d066 29741 No need to check for signed size_t anymore.
215f4bdc
UD
29742 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29743 and IA-64.
3857022a 29744 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29745 * aclocal.m4: Likewise.
29746
d3ed7225
UD
29747 * wcsmbs/mbrtoc16.c: Implement using towc function.
29748 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29749 * wcsmbs/wcsmbsload.c: Likewise.
29750 * iconv/gconv_simple.c: Likewise.
29751 * iconv/gconv_int.h: Likewise.
29752 * iconv/gconv_builtin.h: Likewise.
29753 * iconv/iconv_prog.c: Remove CHAR16 handling.
29754
29755 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29756
29757 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29758
a0da5fe1
UD
29759 * configure.in: Remove --with-elf and --enable-bounded options.
29760 Dont set base_machine for ia64. More non-ELF conditions removed.
29761 Remove testing and setting of leading underscore information.
29762 * config.make.in (build-bounded): Set to no.
29763 * config.h.in: Remove NO_UNDERSCORES entry.
29764 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29765 them.
29766 * csu/start.c: Remove !NO_UNDERSCORE code.
29767 * locale/localeinfo.h: Likewise.
29768 * sysdeps/generic/machine-gmon.h: Likewise.
29769 * sysdeps/generic/sysdep.h: Likewise.
29770 * sysdeps/i386/sysdep.h: Likewise.
29771 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29772 * sysdeps/mach/sysdep.h: Likewise.
29773 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29774 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29775 * sysdeps/sh/sysdep.h: Likewise.
29776 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29777 * sysdeps/unix/i386/sysdep.S: Likewise.
29778 * sysdeps/unix/sparc/start.c: Likewise.
29779 * sysdeps/unix/sparc/sysdep.S: Likewise.
29780 * sysdeps/unix/sparc/sysdep.h: Likewise.
29781 * sysdeps/unix/start.c: Likewise.
29782 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29783 * sysdeps/x86_64/sysdep.h: Likewise.
29784
df78418a
UD
297852012-01-07 Ulrich Drepper <drepper@gmail.com>
29786
a784e502
UD
29787 [BZ #13553]
29788 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29789 for non-gcc.
29790 * argp/argp-fmtstream.h: Use const instead __const.
29791 * argp/argp.h: Likewise.
29792 * assert/assert.h: Likewise.
29793 * bits/fenv.h: Likewise.
29794 * bits/sched.h: Likewise.
29795 * bits/sigset.h: Likewise.
29796 * bits/sigthread.h: Likewise.
29797 * catgets/nl_types.h: Likewise.
29798 * conform/data/pthread.h-data: Likewise.
29799 * crypt/crypt-private.h: Likewise.
29800 * crypt/crypt.h: Likewise.
29801 * crypt/crypt_util.c: Likewise.
29802 * ctype/ctype.h: Likewise.
29803 * debug/execinfo.h: Likewise.
29804 * debug/mbsnrtowcs_chk.c: Likewise.
29805 * debug/mbsrtowcs_chk.c: Likewise.
29806 * debug/wcsnrtombs_chk.c: Likewise.
29807 * debug/wcsrtombs_chk.c: Likewise.
29808 * debug/wcstombs_chk.c: Likewise.
29809 * dirent/dirent.h: Likewise.
29810 * dlfcn/dlfcn.h: Likewise.
29811 * elf/neededtest4.c: Likewise.
29812 * grp/grp.h: Likewise.
29813 * gshadow/gshadow.h: Likewise.
29814 * iconv/gconv.h: Likewise.
29815 * iconv/gconv_int.h: Likewise.
29816 * iconv/gconv_simple.c: Likewise.
29817 * iconv/iconv.h: Likewise.
29818 * iconv/loop.c: Likewise.
29819 * iconv/skeleton.c: Likewise.
29820 * include/aio.h: Likewise.
29821 * include/aliases.h: Likewise.
29822 * include/argz.h: Likewise.
29823 * include/arpa/inet.h: Likewise.
29824 * include/assert.h: Likewise.
29825 * include/dirent.h: Likewise.
29826 * include/dlfcn.h: Likewise.
29827 * include/execinfo.h: Likewise.
29828 * include/fcntl.h: Likewise.
29829 * include/fenv.h: Likewise.
29830 * include/glob.h: Likewise.
29831 * include/grp.h: Likewise.
29832 * include/libintl.h: Likewise.
29833 * include/mntent.h: Likewise.
29834 * include/netdb.h: Likewise.
29835 * include/pwd.h: Likewise.
29836 * include/rpc/netdb.h: Likewise.
29837 * include/sched.h: Likewise.
29838 * include/search.h: Likewise.
29839 * include/shadow.h: Likewise.
29840 * include/signal.h: Likewise.
29841 * include/stdio.h: Likewise.
29842 * include/stdlib.h: Likewise.
29843 * include/string.h: Likewise.
29844 * include/sys/socket.h: Likewise.
29845 * include/sys/stat.h: Likewise.
29846 * include/sys/statfs.h: Likewise.
29847 * include/sys/statvfs.h: Likewise.
29848 * include/sys/syslog.h: Likewise.
29849 * include/sys/time.h: Likewise.
29850 * include/sys/uio.h: Likewise.
29851 * include/time.h: Likewise.
29852 * include/unistd.h: Likewise.
29853 * include/utmp.h: Likewise.
29854 * include/wchar.h: Likewise.
29855 * include/wctype.h: Likewise.
29856 * inet/aliases.h: Likewise.
29857 * inet/arpa/inet.h: Likewise.
29858 * inet/netinet/ether.h: Likewise.
29859 * inet/netinet/in.h: Likewise.
29860 * intl/libintl.h: Likewise.
29861 * io/bits/fcntl2.h: Likewise.
29862 * io/fcntl.h: Likewise.
29863 * io/ftw.h: Likewise.
29864 * io/sys/poll.h: Likewise.
29865 * io/sys/stat.h: Likewise.
29866 * io/sys/statfs.h: Likewise.
29867 * io/sys/statvfs.h: Likewise.
29868 * io/utime.h: Likewise.
29869 * libio/bits/stdio.h: Likewise.
29870 * libio/bits/stdio2.h: Likewise.
29871 * libio/libio.h: Likewise.
29872 * libio/libioP.h: Likewise.
29873 * libio/stdio.h: Likewise.
29874 * locale/lc-ctype.c: Likewise.
29875 * locale/locale.h: Likewise.
29876 * login/utmp.h: Likewise.
29877 * malloc/arena.c: Likewise.
29878 * malloc/malloc.c: Likewise.
29879 * malloc/malloc.h: Likewise.
29880 * malloc/mcheck.c: Likewise.
29881 * malloc/mtrace.c: Likewise.
29882 * math/bits/mathcalls.h: Likewise.
29883 * math/fenv.h: Likewise.
29884 * math/math_private.h: Likewise.
29885 * misc/bits/error.h: Likewise.
29886 * misc/bits/syslog.h: Likewise.
29887 * misc/err.h: Likewise.
29888 * misc/error.h: Likewise.
29889 * misc/fstab.h: Likewise.
29890 * misc/mntent.h: Likewise.
29891 * misc/regexp.h: Likewise.
29892 * misc/search.h: Likewise.
29893 * misc/sgtty.h: Likewise.
29894 * misc/sys/mman.h: Likewise.
29895 * misc/sys/syslog.h: Likewise.
29896 * misc/sys/uio.h: Likewise.
29897 * misc/sys/xattr.h: Likewise.
29898 * misc/ttyent.h: Likewise.
29899 * nis/rpcsvc/ypclnt.h: Likewise.
29900 * nss/nss.h: Likewise.
29901 * posix/bits/unistd.h: Likewise.
29902 * posix/fnmatch.h: Likewise.
29903 * posix/glob.h: Likewise.
29904 * posix/sched.h: Likewise.
29905 * posix/spawn.h: Likewise.
29906 * posix/sys/wait.h: Likewise.
29907 * posix/unistd.h: Likewise.
29908 * posix/wordexp.h: Likewise.
29909 * pwd/pwd.h: Likewise.
29910 * resolv/netdb.h: Likewise.
29911 * resource/sys/resource.h: Likewise.
29912 * rt/aio.h: Likewise.
29913 * rt/bits/mqueue2.h: Likewise.
29914 * rt/mqueue.h: Likewise.
29915 * shadow/shadow.h: Likewise.
29916 * signal/signal.h: Likewise.
29917 * socket/send.c: Likewise.
29918 * socket/sendto.c: Likewise.
29919 * socket/sys/socket.h: Likewise.
29920 * stdio-common/printf.h: Likewise.
29921 * stdlib/bits/stdlib.h: Likewise.
29922 * stdlib/fmtmsg.h: Likewise.
29923 * stdlib/monetary.h: Likewise.
29924 * stdlib/stdlib.h: Likewise.
29925 * stdlib/ucontext.h: Likewise.
29926 * streams/stropts.h: Likewise.
29927 * string/argz.h: Likewise.
29928 * string/bits/string2.h: Likewise.
29929 * string/string.h: Likewise.
29930 * string/strings.h: Likewise.
29931 * sunrpc/rpc/auth.h: Likewise.
29932 * sunrpc/rpc/auth_des.h: Likewise.
29933 * sunrpc/rpc/clnt.h: Likewise.
29934 * sunrpc/rpc/netdb.h: Likewise.
29935 * sunrpc/rpc/pmap_clnt.h: Likewise.
29936 * sunrpc/rpc/xdr.h: Likewise.
29937 * sysdeps/generic/inttypes.h: Likewise.
29938 * sysdeps/generic/net/if.h: Likewise.
29939 * sysdeps/generic/sys/swap.h: Likewise.
29940 * sysdeps/gnu/net/if.h: Likewise.
29941 * sysdeps/gnu/utmpx.h: Likewise.
29942 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29943 * sysdeps/i386/i486/bits/string.h: Likewise.
29944 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29945 * sysdeps/s390/bits/string.h: Likewise.
29946 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29947 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29948 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29949 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29950 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29951 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29952 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29953 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29954 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29955 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29956 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29957 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29958 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29959 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29960 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29961 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29962 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29963 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29964 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29965 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29966 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29967 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29968 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29969 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29970 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29971 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29972 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29973 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29974 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29975 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29976 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29977 * sysvipc/sys/ipc.h: Likewise.
29978 * sysvipc/sys/msg.h: Likewise.
29979 * sysvipc/sys/sem.h: Likewise.
29980 * sysvipc/sys/shm.h: Likewise.
29981 * termios/termios.h: Likewise.
29982 * time/sys/time.h: Likewise.
29983 * time/time.h: Likewise.
29984 * wcsmbs/bits/wchar2.h: Likewise.
29985 * wcsmbs/uchar.h: Likewise.
29986 * wcsmbs/wchar.h: Likewise.
29987 * wctype/wctype.h: Likewise.
29988
0269750c
UD
29989 [BZ #13551]
29990 * Makeconfig: Remove all but ELF support including AIX support.
29991 * Makerules: Likewise.
29992 * config.h.in: Likewise.
29993 * config.make.in: Likewise.
29994 * configure: Likewise.
29995 * configure.in: Likewise.
29996 * csu/Makefile: Likewise.
29997 * csu/version.c: Likewise.
29998 * debug/Makefile: Likewise.
29999 * dlfcn/Makefile: Likewise.
30000 * elf/Makefile: Likewise.
30001 * extra-lib.mk: Likewise.
30002 * iconv/Makefile: Likewise.
30003 * include/libc-symbols.h: Likewise.
30004 * include/shlib-compat.h: Likewise.
30005 * resolv/Makefile: Likewise.
30006 * resolv/res_libc.c: Likewise.
30007 * rt/Makefile: Likewise.
30008 * sysdeps/i386/asm-syntax.h: Likewise.
30009 * sysdeps/i386/sysdep.h: Likewise.
30010 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30011 * sysdeps/mach/sysdep.h: Likewise.
30012 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30013 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30014 * sysdeps/s390/asm-syntax.h: Likewise.
30015 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30016 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30017 * sysdeps/sh/sysdep.h: Likewise.
30018 * sysdeps/unix/sparc/sysdep.h: Likewise.
30019 * sysdeps/wordsize-32/divdi3.c: Likewise.
30020 * sysdeps/x86_64/sysdep.h: Likewise.
30021
00bbd29b
UD
30022 * argp/Versions: Remove _argp_unlock_xxx.
30023
30024 [BZ #13559]
30025 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30026 * abilist/libBrokenLocale.abilist: Likewise.
30027 * abilist/libanl.abilist: Likewise.
30028 * abilist/libc.abilist: Likewise.
30029 * abilist/libcrypt.abilist: Likewise.
30030 * abilist/libdl.abilist: Likewise.
30031 * abilist/libm.abilist: Likewise.
30032 * abilist/libnsl.abilist: Likewise.
30033 * abilist/libpthread.abilist: Likewise.
30034 * abilist/libresolv.abilist: Likewise.
30035 * abilist/librt.abilist: Likewise.
30036 * abilist/libthread_db.abilist: Likewise.
30037 * abilist/libutil.abilist: Likewise.
30038 * abilist/libnss_db.abilist: New file.
30039
30040 * scripts/abilist.awk: Add support for indirect functions.
30041
a2693a0e
UD
30042 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30043
3f05895f
UD
30044 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30045
ecb6fb48
UD
30046 * shlib-versions: Remove entries for ports architectures.
30047
664f8cb9
UD
30048 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30049 files in ports.
30050 * elf/stackguard-macros.h: Remove support for IA-64.
30051 * elf/tst-auditmod1.c: Likewise.
30052 * sysdeps/generic/ldsodefs.h: Likewise.
30053
7ae81d88
UD
30054 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30055 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30056 configure files.
30057
bdeba135
UD
30058 [BZ #13552]
30059 * configure.in: Remove --enable-omitfp support.
30060 * FAQ.in: Adjust.
30061 * config.make.in: Likewise.
30062 * Makeconfig: Likewise.
30063 * manual/install.texi: Likewise.
30064
d75a0a62
UD
30065 In case anyone cares, the IA-64 architecture could move to ports.
30066 * sysdeps/ia64/*: Removed.
30067 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30068 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30069
dcc9756b
UD
30070 [BZ #13555]
30071 * configure.in: Remove entries for unsupported architectures.
30072
d3761ebc 30073 [BZ #13533]
9954432e
UD
30074 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30075 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30076 routines.
30077 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30078 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30079 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30080 fall back to using wcrtomb.
30081 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30082 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30083 renaming.
30084 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30085 * wcsmbs/tst-c16c32-1.c: New file.
30086
30087 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30088 local variable.
30089
c3a87236
UD
30090 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30091
28926a1b
UD
30092 * elf/tst-unique3.cc: Add explicit declaration of gets.
30093 * elf/tst-unique3lib.cc: Likewise.
30094 * elf/tst-unique3lib2.cc: Likewise.
30095 * elf/tst-unique4.cc: Likewise.
30096
df78418a
UD
30097 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30098
8ecd6b2a
JM
300992012-01-06 Joseph Myers <joseph@codesourcery.com>
30100
30101 [BZ #13566]
30102 * assert/assert.h (static_assert): Don't define for C++.
30103 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30104 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30105
9f115170
UD
301062012-01-03 Ulrich Drepper <drepper@gmail.com>
30107
5e0d0300
UD
30108 * iconv/loop.c (single loop): Fix assertion in storing of
30109 remaining bytes.
30110
9f115170
UD
30111 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30112
81fb02b0
UD
301132012-01-01 Ulrich Drepper <drepper@gmail.com>
30114
30115 * posix/getconf.c: Update copyright year.
30116 * nss/getent.c: Likewise.
a316c1f6 30117 * nss/makedb.c: Likewise.
81fb02b0
UD
30118 * iconv/iconvconfig.c: Likewise.
30119 * iconv/iconv_prog.c: Likewise.
30120 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30121 * elf/pldd.c: Likewise.
30122 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30123 * catgets/gencat.c: Likewise.
30124 * csu/version.c: Likewise.
30125 * elf/ldd.bash.in: Likewise.
30126 * elf/sprof.c (print_version): Likewise.
30127 * locale/programs/locale.c: Likewise.
30128 * locale/programs/localedef.c: Likewise.
a316c1f6 30129 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30130 * nscd/nscd.c (print_version): Likewise.
30131 * debug/xtrace.sh: Likewise.
30132 * malloc/memusage.sh: Likewise.
30133 * malloc/mtrace.pl: Likewise.
30134 * debug/catchsegv.sh: Likewise.
30135
2ba92745
JJ
301362011-12-30 Jakub Jelinek <jakub@redhat.com>
30137
30138 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30139 pure attribute.
30140
dadebdae
UD
301412011-12-24 Ulrich Drepper <drepper@gmail.com>
30142
d3761ebc 30143 [BZ #13533]
db6af3eb
UD
30144 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30145 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30146 transformations.
30147 * iconv/gconv_int.h: Likewise.
30148 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30149 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30150 from libc for GLIBC_2.16.
30151 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30152 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30153 * wcsmbs/uchar.h: Really define mbstate_t.
30154 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30155 * wcsmbs/c16rtomb.c: New file.
30156 * wcsmbs/mbrtoc16.c: New file.
30157 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30158 for C/POSIX locale.
30159 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30160 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30161
dadebdae
UD
30162 * wcsmbs/wchar.h: Add missing __restrict.
30163
67371b56
UD
301642011-12-23 Ulrich Drepper <drepper@gmail.com>
30165
74033a25
UD
30166 [BZ #13532]
30167 * time/Makefile (routines): Add timespec_get.
30168 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30169 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30170 timespec for ISO C11.
30171 * time/timespec_get.c: New file.
30172 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30173 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30174
380d7e87
UD
30175 [BZ #13531]
30176 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30177 * stdlib/stdlib.h: Declare aligned_alloc.
30178 * Versions.def: Add GLIBC_2.16 for libc.
30179 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30180
4e9e7a35
UD
30181 [BZ 13527]
30182 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30183 ISO C11.
30184
380d7e87 30185 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30186 code.
30187
03a71829
UD
30188 [BZ #13528]
30189 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30190
839e283e
UD
30191 [BZ #13529]
30192 * assert/assert.h (static_assert): Define.
30193
ce5294e2 30194 * version.h: Update for 2.16 development version.
90fa7312 30195
8d44e150 30196 [BZ #13526]
d7809905
UD
30197 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30198 _ISOC11_SOURCE.
30199
c0da14cd
UD
30200 * version.h (RELEASE): Bump for 2.15 release.
30201 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30202
530a3249
MP
30203 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30204 Patch by Marek Polacek <mpolacek@redhat.com>.
30205
67371b56
UD
30206 * bits/byteswap.h: Protect long long constants with __extension__.
30207 * sysdeps/i386/bits/byteswap.h: Likewise.
30208 * sysdeps/ia64/bits/byteswap.h: Likewise.
30209 * sysdeps/s390/bits/byteswap.h: Likewise.
30210 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30211
15db4de1
LD
302122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30213
30214 [BZ #13540]
bbe315ea
LD
30215 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30216 destination buffer.
15db4de1
LD
30217 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30218
2b2596b1
MP
302192011-12-23 Marek Polacek <polacek@redhat.com>
30220
30221 * elf/dl-addr.c (determine_info): Add inline keyword.
30222 * elf/tst-auditmod4b.c (check_avx): Likewise.
30223 * elf/tst-auditmod6b.c (check_avx): Likewise.
30224 * elf/tst-auditmod6c.c (check_avx): Likewise.
30225 * elf/tst-auditmod7b.c (check_avx): Likewise.
30226
70c6c246
UD
302272011-12-23 Ulrich Drepper <drepper@gmail.com>
30228
30229 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30230 !__SSE_MATH__.
30231
c044cf14
LD
302322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30233
15db4de1 30234 [BZ #13540]
c044cf14
LD
30235 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30236 processing for last bytes.
30237
6b13d9d9
BH
302382011-08-06 Bruno Haible <bruno@clisp.org>
30239
d455f537
BH
30240 [BZ #13061]
30241 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30242 U+0385, not to U+1FEE.
30243
6b13d9d9
BH
30244 [BZ #13062]
30245 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30246 entry for U+00A5 U+0301.
30247
db910efd
UD
302482011-12-22 Ulrich Drepper <drepper@gmail.com>
30249
27deeafc
UD
30250 [BZ #13166]
30251 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30252 buffer for the output is too small.
30253
aed9d171
UD
30254 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30255 optimization.
30256
db910efd
UD
30257 [BZ #13185]
30258 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30259 SSE flags if possible.
30260
2bd779ae
LD
302612011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30262
e7f9dac3 30263 [BZ #13540]
2bd779ae
LD
30264 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30265 processing for last bytes.
30266
154bfc16
JM
302672011-12-22 Joseph Myers <joseph@codesourcery.com>
30268
30269 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30270 (syscall-list-default-options, syscall-list-default-condition)
30271 (syscall-list-includes): Define.
30272 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30273 list of ABIs and options and #if conditions for each ABI. Do not
30274 handle common syscalls between ABIs specially.
30275 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30276 Remove.
30277 (syscall-list-variants, syscall-list-32bit-options)
30278 (syscall-list-32bit-condition, syscall-list-64bit-options)
30279 (syscall-list-64bit-condition): Define.
30280 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30281 (syscall-list-variants, syscall-list-32bit-options)
30282 (syscall-list-32bit-condition, syscall-list-64bit-options)
30283 (syscall-list-64bit-condition): Define.
30284 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30285 Remove.
30286 (syscall-list-variants, syscall-list-32bit-options)
30287 (syscall-list-32bit-condition, syscall-list-64bit-options)
30288 (syscall-list-64bit-condition): Define.
30289 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30290 Remove.
30291 (syscall-list-variants, syscall-list-32bit-options)
30292 (syscall-list-32bit-condition, syscall-list-64bit-options)
30293 (syscall-list-64bit-condition): Define.
30294
21eaf3a5
UD
302952011-12-22 Ulrich Drepper <drepper@gmail.com>
30296
16c6f992
UD
30297 * locale/iso-639.def: Add brx entry.
30298
41043168
UD
30299 [BZ #13328]
30300 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30301 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30302
21eaf3a5
UD
30303 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30304 __feraiseexcept_renamed.
30305
e3a851a2
UD
303062011-12-21 Ulrich Drepper <drepper@gmail.com>
30307
4920765e
UD
30308 [BZ #13538]
30309 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30310 EPOLLET with unsigned values.
30311 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30312 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30313
e3a851a2
UD
30314 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30315 to large cancellation.
30316 * math/s_cacoshf.c: Likewise.
30317 * math/s_cacoshl.c: Likewise.
30318
b27e24b8
RK
303192011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30320
30321 [BZ #13305]
aebefeee 30322 [BZ #12786]
b27e24b8
RK
30323 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30324 * math/s_cacoshf.c: Likewise.
30325 * math/s_cacoshl.c: Likewise.
30326
ee190f67
UD
303272011-12-21 Ulrich Drepper <drepper@gmail.com>
30328
30329 [BZ #13439]
30330 * iconv/gconv.h: Define __GCONV_SWAP.
30331 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30332 * iconvdata/utf-16.c: Likewise.
30333 * iconvdata/utf-32.c: Likewise.
30334
707f25df
AS
303352011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30336
30337 [BZ #13524]
30338 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30339 numerator after shifting it by one limb.
30340
d2daaa1e
RÁE
303412011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30342
30343 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30344 under [__USE_EXTERN_INLINES].
30345
a4647e72
UD
303462011-12-17 Ulrich Drepper <drepper@gmail.com>
30347
30348 [BZ #13446]
30349 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30350
f0b264f1
AZ
303512011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30352
30353 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30354 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30355 optimized code.
30356 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30357 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30358 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30359 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30360 for strncasecmp/strncasecmp_l compilation.
30361 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30362 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30363
8ef4f244
MP
303642011-12-08 Marek Polacek <mpolacek@redhat.com>
30365
30366 [BZ #13484]
30367 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30368 of __asm__.
30369
97ac2654
UD
303702011-12-17 Ulrich Drepper <drepper@gmail.com>
30371
30372 [BZ #13506]
30373 * time/tzfile.c (__tzfile_read): Check values from file header.
30374
91d2a845
WS
303752011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30376
30377 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30378 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30379 * powerpc/powerpc32/dl-start.S: Likewise.
30380 * powerpc/powerpc32/elf/start.S: Likewise.
30381 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30382 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30383 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30384 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30385 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30386 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30387 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30388 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30389 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30390 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30391 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30392 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30393 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30394 * powerpc/powerpc32/memset.S: Likewise.
30395 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30396 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30397 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30398 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30399 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30400 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30401 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30402 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30403 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30404 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30405 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30406 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30407 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30408
a1267ba1
AZ
304092011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30410
30411 * math/libm-test.inc: Added more nearbyint tests.
30412 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30413 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30414 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30415 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30416
ad8ac1bd
RL
304172011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30418
30419 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30420 FD_CLOEXEC.
30421
1d3e4b61
UD
304222011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30423
30424 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30425 Add wcscpy-ssse3 wcscpy-c.
30426 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30427 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30428 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30429 * sysdeps/x86_64/wcschr.S: New file.
30430 * sysdeps/x86_64/wcsrchr.S: New file.
30431 * string/test-strcmp.c: Remove checking of wcscmp function for
30432 wrong alignments.
30433 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30434 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30435 wcsrchr-sse2 wcsrchr-c.
30436 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30437 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30438 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30439 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30440 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30441 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30442 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30443 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30444 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30445 * wcsmbc/wcschr.c (WCSCHR): New macro.
30446
5b330a2d
UD
304472011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30448
30449 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30450 * wcsmbs/test-wcsrchr.c: New file.
30451 * string/test-strrchr.c: Add wcsrchr support.
30452 (WIDE): New macro.
30453 * wcsmbs/test-wcscpy.c: New file.
30454 * string/test-strcpy.c: Add wcscpy support.
30455 (WIDE): New macro.
26428b7c 30456
f039c043
UD
304572011-12-10 Ulrich Drepper <drepper@gmail.com>
30458
30459 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30460 the inner loop.
30461
850fb039
AS
304622011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30463
30464 [BZ #13472]
30465 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30466
4efbd5cb
UD
304672011-12-04 Ulrich Drepper <drepper@gmail.com>
30468
52ff5dd0 30469 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30470 Minor optimizations.
52ff5dd0 30471
4efbd5cb
UD
30472 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30473 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30474 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30475
8a426e12
UD
304762011-12-03 Ulrich Drepper <drepper@gmail.com>
30477
aff2453d
UD
30478 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30479 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30480 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30481 for gcc to avoid warnings.
30482 * inet/Makefile (tests): Add tst-checks.
30483 * inet/tst-checks.c: New file.
30484
30485 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30486 warning.
30487
30488 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30489 __wmemcmp_sse2.
30490
30491 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30492 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30493
8a426e12
UD
30494 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30495
9bea3473
UD
304962011-12-02 Ulrich Drepper <drepper@gmail.com>
30497
3a965496
UD
30498 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30499 problem.
30500
9bea3473
UD
30501 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30502
f101631b
UD
305032011-11-29 Joseph Myers <joseph@codesourcery.com>
30504
30505 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30506 conditional on GCC version.
30507 (__arch_compare_and_exchange_val_8_acq)
30508 (__arch_compare_and_exchange_val_16_acq)
30509 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30510 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30511 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30512
a98275aa
UD
305132011-12-02 Joseph Myers <joseph@codesourcery.com>
30514
30515 * sysdeps/sh/backtrace.c: New file.
30516
d4cc29a2
AS
305172011-12-02 Andreas Schwab <schwab@redhat.com>
30518
30519 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30520 parenthesis.
30521
6257af2d
AS
305222011-12-01 Andreas Schwab <schwab@redhat.com>
30523
30524 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30525 falling back to utime.
30526
b5f44c1a
AS
305272011-11-30 Andreas Schwab <schwab@redhat.com>
30528
30529 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30530 expectations for float.
30531
f3a6cc0a
AS
305322011-11-29 Andreas Schwab <schwab@redhat.com>
30533
30534 * locale/weight.h (findidx): Add parameter len.
30535 * locale/weightwc.h (findidx): Likewise.
30536 * posix/fnmatch_loop.c (FCT): Adjust caller.
30537 * posix/regcomp.c (build_equiv_class): Likewise.
30538 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30539 * posix/regexec.c (check_node_accept_bytes): Likewise.
30540 * string/strcoll_l.c (STRCOLL): Likewise.
30541 * string/strxfrm_l.c (STRXFRM): Likewise.
30542
9d65ea3a
UD
305432011-11-17 Ulrich Drepper <drepper@gmail.com>
30544
30545 * Makefile.in: Remove CVSOPT handling.
30546 * configure.in: Remove use of AC_REVISION.
30547 * iconvdata/Makefile (distribute): No need to filter out CVS.
30548 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30549 handling.
30550
5583a086
AS
305512011-11-16 Andreas Schwab <schwab@redhat.com>
30552
30553 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30554 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30555 [USE_AS_STRNCASECMP_L]: Likewise.
30556 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30557 NO_TLS_DIRECT_SEG_REFS.
30558 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30559 Fix argument offsets for non-PIC.
30560 [USE_AS_STRNCASECMP_L]: Likewise.
30561 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30562 NO_TLS_DIRECT_SEG_REFS.
30563
d62a8200
UD
305642011-11-15 Ulrich Drepper <drepper@gmail.com>
30565
9d65ea3a 30566 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30567 O_CLOEXEC.
30568 * locale/loadlocale.c (_nl_load_locale): Likewise.
30569
09f93bd3
AS
305702011-11-15 Andreas Schwab <schwab@redhat.com>
30571
446514f9
AS
30572 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30573 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30574 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30575 (SYSCALL_GETTIME): Set errno on error.
30576
09f93bd3
AS
30577 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30578 count references to noai6ai_cached.
30579
312be3f9
UD
305802011-11-15 Ulrich Drepper <drepper@gmail.com>
30581
30582 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30583
30584 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30585 FD_CLOEXEC for /proc/self/maps.
30586
30587 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30588 FD_CLOEXEC for /proc/meminfo.
30589
30590 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30591 gai.conf.
30592
30593 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30594 FD_CLOEXEC for given file.
30595
30596 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30597
30598 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30599 FD_CLOEXEC for /etc/hosts.
30600 (_gethtent): Likewise.
30601
30602 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30603
30604 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30605 cancellation and set FD_CLOEXEC for /etc/netgroup.
30606
30607 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30608 reading /etc/publickey.
30609
30610 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30611 allow cancellation when reading /etc/group.
30612
30613 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30614 cancellation.
30615 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30616
30617 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30618 when using data file.
30619
30620 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30621
30622 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30623 (write_nis_obj): Use "c" and "e" in fopen.
30624
30625 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30626
30627 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30628
30629 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30630
30631 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30632
30633 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30634 locale.alias.
30635
30636 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30637
30638 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30639
30640 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30641
30642 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30643 file parsing and set FD_CLOEXEC.
30644
82af0fa8
UD
306452011-11-14 Ulrich Drepper <drepper@gmail.com>
30646
30647 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30648
a5fb313c
AS
306492011-11-14 Andreas Schwab <schwab@redhat.com>
30650
30651 * malloc/arena.c (arena_get2): Don't call reused_arena when
30652 _int_new_arena failed.
30653
6abf3465
UD
306542011-11-14 Ulrich Drepper <drepper@gmail.com>
30655
30656 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30657 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30658 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30659 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30660 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30661 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30662 to compile strcasecmp and strncasecmp.
30663 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30664 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30665
30666 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30667
76e3966e
UD
306682011-11-13 Ulrich Drepper <drepper@gmail.com>
30669
30670 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30671 locale-defines.sym to gen-as-const-headers.
30672 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30673 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30674 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30675 to compile strcasecmp and strncasecmp.
30676 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30677 strcasecmp_l and strncasecmp_l.
30678 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30679 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30680 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30681 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30682 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30683 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30684 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30685 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30686 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30687 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30688 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30689
ab26144e
UD
306902011-11-12 Ulrich Drepper <drepper@gmail.com>
30691
7edb22ef
UD
30692 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30693 result of SYSDEP_GETTIME_CPU to retval.
30694 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30695 parameter list to macro. Remove trailing semicolon. Adjust users.
30696
9694fc44
UD
30697 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30698 variable.
30699
8ad89ef8
UD
30700 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30701 mantissa words.
30702 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30703
0c822ef9
UD
30704 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30705 from unused variable.
30706
874e0564
UD
30707 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30708 DWARF definitions.
30709 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30710 for assembling.
30711
3a2edc79
UD
30712 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30713 over namespaces.
30714
f3c2577f
UD
30715 * sunrpc/rpc_prot.c (rejected): Fix case value.
30716
294ce126
UD
30717 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30718 unsigned long long int to avoid warnings in shift.
30719
5e2b63c6
UD
30720 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30721 of use of trans.
30722 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30723 variable tmp.
30724
e7f4b08e
UD
30725 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30726 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30727 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30728
ab26144e
UD
30729 * nis/nis_table.c (nis_list): Use variable of correct type for
30730 result of __follow_path call.
30731
8a6d5255
AZ
307322011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30733
30734 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30735 of math functions ceil, trunc, floor, round, and sqrt, when
30736 avaliable on the platform.
30737 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30738 name clash.
30739 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30740 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30741 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30742
aaddc98c
MP
307432011-10-30 Marek Polacek <mpolacek@redhat.com>
30744
30745 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30746 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30747
95b7042b
RM
307482011-11-11 Roland McGrath <roland@hack.frob.com>
30749
30750 * include/unistd.h: Fix __readlink return type.
30751 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30752
57769839
UD
307532011-11-11 Ulrich Drepper <drepper@gmail.com>
30754
30755 * stdlib/ucontext.h: Undo last change for makecontext.
30756
edc5984d
AS
307572011-11-11 Andreas Schwab <schwab@redhat.com>
30758
98591e58
AS
30759 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30760
edc5984d
AS
30761 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30762 * setjmp/setjmp.h: Mark functions as non-leaf.
30763 * setjmp/bits/setjmp2.h: Likewise.
30764 * stdlib/ucontext.h: Likewise.
30765
77cdc054
AS
307662011-11-10 Andreas Schwab <schwab@redhat.com>
30767
30768 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30769 (reused_arena): Don't check arena limit.
30770 (arena_get2): Atomically check arena limit.
30771
fe72eebd
UD
307722011-11-08 Ulrich Drepper <drepper@gmail.com>
30773
5f078c32
UD
30774 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30775 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30776
fe72eebd
UD
30777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30778 instructions.
30779
ae1bc2fa
AS
307802011-11-07 Andreas Schwab <schwab@redhat.com>
30781
7583a88d
AS
30782 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30783 handler when locking.
30784
ae1bc2fa
AS
30785 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30786 Fix size of allocated buffer.
30787
10fb0bfa
AS
307882011-11-04 Andreas Schwab <schwab@redhat.com>
30789
998832a4
AS
30790 [BZ #10103]
30791 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30792 declarations for long double functions.
30793 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30794
10fb0bfa
AS
30795 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30796
3d7ba52b
AS
307972011-11-03 Andreas Schwab <schwab@redhat.com>
30798
a9ae54a1
AS
30799 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30800 installed.
30801
3d7ba52b
AS
30802 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30803 is disabled.
30804
bc8db248
ST
308052011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30806
30807 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30808
45b96dd6
AS
308092011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30810
647776f6
AS
30811 * include/alloca.h (stackinfo_alloca_round): Define.
30812 (extend_alloca): Use it.
30813 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30814 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30815 here.
30816
d91a8b93
AS
30817 * scripts/check-local-headers.sh: Ignore libaudit.h.
30818
45b96dd6
AS
30819 * nscd/Makefile (extra-objs): Make recursively expanded.
30820
432d41ce
UD
308212011-11-01 Ulrich Drepper <drepper@gmail.com>
30822
34372fc6
UD
30823 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30824 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30825
fadb59f8
UD
30826 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30827 * posix/tst-rfc3484-2.c: Likewise.
30828 * posix/tst-rfc3484-3.c: Likewise.
30829
78239589
UD
30830 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30831 process_vm_writev.
30832 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30833 process_vm_writev.
30834 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30835 process_vm_writev from libc using GLIBC_2.15 version.
30836
432d41ce
UD
30837 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30838
02f9c6cf
PP
308392011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30840
30841 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30842 stack usage.
30843
3a2c0242
UD
308442011-10-31 Ulrich Drepper <drepper@gmail.com>
30845
f4ec4833
UD
30846 [BZ #13367]
30847 * nss/getent.c (initgroups_keys): Show error message in case no group
30848 names are given.
30849
3a2c0242
UD
30850 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30851 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30852 __bump_nl_timestamp.
30853 * nscd/connections (nscd_init): When host database is served open
30854 netlink socket and request notification about configuration changes.
30855 (main_loop_poll): Track netlink file descriptor and bump timestamp
30856 in case data becomes available.
30857 (main_loop_epoll): Likewise.
30858 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30859 (database_pers_head): Add extra_data fileds.
30860 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30861 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30862 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30863 Adjust caller.
30864 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30865 in6ai data, call __free_in6ai.
30866 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30867 Add -DHAVE_NETLINK.
30868 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30869 interface information. Reuse previous data if netlink timestamp
30870 is not changed.
30871 (__bump_nl_timestamp): New function.
30872 (__free_in6ai): New function.
30873
636064eb
UD
308742011-10-30 Ulrich Drepper <drepper@gmail.com>
30875
30876 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30877 close_not_cancel_no_status here.
30878 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30879
9beb2334
UD
308802011-10-29 Ulrich Drepper <drepper@gmail.com>
30881
6ef76f3b
UD
30882 [BZ #13276]
30883 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30884 return value.
30885
0ffc4f3e 30886 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30887 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30888 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30889
cb95113e
UD
308902011-07-03 Andreas Jaeger <aj@suse.de>
30891
30892 [BZ #10709]
30893 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30894 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30895 * math/libm-test.inc (sin_test): Add test case.
30896
a1b560ff
UD
308972011-10-29 Ulrich Drepper <drepper@gmail.com>
30898
c9aaface
UD
30899 [BZ #13337]
30900 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30901 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30902
d272e7f1
UD
30903 * elf/chroot_canon.c (chroot_canon): Cleanups.
30904
1bc33071
UD
30905 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30906
1760874d
TJ
30907 [BZ #13335]
30908 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30909 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30910
51d91b18
UD
30911 * string/test-strchr.c: Make usable for strchrnul testing.
30912 * string/test-strchrnul.c: New file.
30913 * string/Makefile (strop-tests): Add strchrnul.
30914
a1b560ff 30915 * po/it.po: Update from translation team.
b611fb81 30916 * po/es.po: Likewise.
a1b560ff 30917
a5b81e1f
UD
309182011-10-28 Ulrich Drepper <drepper@gmail.com>
30919
fd52bc6d
UD
30920 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30921 the three constants needed as parameters. Drop the others.
30922 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30923 __m128i_strloadu_tolower.
52e4b9eb
UD
30924 Create and initialize variable zero and use it in all the places
30925 where _mm_setzero_si128 was used.
fd52bc6d 30926
a5b81e1f
UD
30927 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30928 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30929 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30930 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30931 anymore.
30932 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30933 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30934 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30935 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30936 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30937 __mpranred, __mptan.
30938 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30939 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30940 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30941 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30942 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30943 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30944 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30945 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30946 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30947
b4343346
AS
309482011-10-28 Andreas Schwab <schwab@redhat.com>
30949
0c92d8a8
AS
30950 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30951 redefine if SHARED.
30952 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30953
b4343346
AS
30954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30955 wide char related routines to wcsmbs subdir.
30956
3871f58f
AS
309572011-10-27 Andreas Schwab <schwab@redhat.com>
30958
30959 [BZ #13344]
30960 * misc/sys/cdefs.h (__THROWNL): Define.
30961 * posix/unistd.h: Use __THREADNL instead of __THREAD
30962 for memory synchronization functions.
30963
94d44d9f
RM
309642011-10-26 Roland McGrath <roland@hack.frob.com>
30965
21b64b15 30966 [BZ #13349]
94d44d9f
RM
30967 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30968 doesn't exist.
30969 * manual/stdio.texi (Obstack Streams): Node removed.
30970
f6ce9294
AS
309712011-10-26 Andreas Schwab <schwab@redhat.com>
30972
80479147
AS
30973 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30974 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30975 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30976
f6ce9294
AS
30977 * math/math_private.h (math_force_eval): Allow non-addressable
30978 arguments.
30979 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30980
618280a1
UD
309812011-10-25 Ulrich Drepper <drepper@gmail.com>
30982
e0016b11
UD
30983 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30984 file is not needed.
30985
30986 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30987 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30988 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30989 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30990 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30991 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30992 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30993 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30994 Add AVX variants.
30995 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30996 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30997 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30998 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30999 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31000 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31001 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31002 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31003 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31004 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31005 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31006 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31007 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31008 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31009 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31010 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31011 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31012 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31013 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31014
31015 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31016 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31017
618280a1
UD
31018 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31019 place. Use VEX encoding when compiling for AVX.
31020
37822576
AS
310212011-10-25 Andreas Schwab <schwab@redhat.com>
31022
1f1e1947
AS
31023 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31024 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31025
37822576
AS
31026 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31027
31ea014d
UD
310282011-10-25 Ulrich Drepper <drepper@gmail.com>
31029
d7826aa1 31030 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31031 useless if() expression.
d7826aa1
UD
31032 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31033 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31034 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31035 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31036 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31037 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31038 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31040 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31042 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31043 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31044 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31045 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31046 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31047 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31048 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31050 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31051
31ea014d
UD
31052 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31053
16437fec
AS
310542011-10-25 Andreas Schwab <schwab@redhat.com>
31055
31056 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31057 condition.
31058 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31059
31d3cc00
UD
310602011-10-25 Ulrich Drepper <drepper@gmail.com>
31061
31062 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31063 .text section. Avoid duplicate constants.
31064 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31065 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31066 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31068 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31072 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31073 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31074 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31075 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31076 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31077 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31078 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31079 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31080 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31081 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31082 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31083 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31084 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31085 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31086 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31087 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31088 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31089 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31090 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31091 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31092 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31093 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31094 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31095 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31096 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31097 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31098 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31099 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31100 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31101 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31102 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31103 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31104 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31105 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31106 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31107 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31108 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31109
58985aa9
UD
311102011-10-24 Ulrich Drepper <drepper@gmail.com>
31111
202c9deb
UD
31112 * sysdeps/x86_64/dla.h: Move to ...
31113 * sysdeps/x86_64/fpu/dla.h: ...here.
31114 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31115 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31116
af968f62
UD
31117 * config.make.in: Add have-mfma4 entry.
31118 * configure.in: Substitute libc_cv_cc_fma4.
31119 * math/Makefile (dbl-only-routines): Add sincostab.
31120 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31121 Use __sincostab not sincos.
31122 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31123 name is a macro.
31124 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31125 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31126 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31127 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31128 using __copysign.
31129 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31130 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31131 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31132 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31133 and __inv.
31134 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31135 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31136 __copysign.
31137 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31138 define aliases when function name is a macro.
31139 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31140 sysdeps/ieee754/dbl-64/sincos.tbl.
31141 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31142 fma4-enabled routines.
31143 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31144 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31145 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31146 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31147 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31148 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31149 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31150 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31151 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31152 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31153 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31154 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31155 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31156 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31157 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31158 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31159 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31160 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31161 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31162 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31163 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31164 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31165 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31166 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31167 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31168 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31169 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31170 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31171 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31172 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31173
58985aa9
UD
31174 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31175 rename.
31176 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31178 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31179 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31181 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31182 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31183 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31184
a201fbcf
AS
311852011-10-24 Andreas Schwab <schwab@redhat.com>
31186
31187 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31188
fc2ee42a
LD
311892011-10-23 Ulrich Drepper <drepper@gmail.com>
31190
bb3129bd
UD
31191 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31192
0275fff8
UD
31193 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31194 prediction.
31195 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31196
2fa2ae85
UD
31197 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31198 Remove unused variable magic_bits.
31199 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31200
fc2ee42a
LD
31201 * string/strnlen.c: Define and use STRNLEN macro.
31202 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31203 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31204 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31205 * wcsmbs/wcslen.c: Define and use WCSLEN.
31206 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31207 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31208 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31209 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31210 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31211 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31212 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31213
ce7dd29f
LD
312142011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31215
31216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31217 strnlen-sse2-no-bsf.
31218 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31219 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31220 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31221 Add strnlen support.
31222 (USE_AS_STRNLEN): New macro.
31223 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31224 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31225 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31226 * sysdeps/x86_64/wcslen.S: New file.
31227
979c70a3
MZ
312282011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31229
31230 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31231 XMM-moves are used for copying on small sizes.
31232
2d09f82f
LD
312332011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31234
31235 * wcsmbs/Makefile (strop-tests): Add wcschr.
31236 * wcsmbs/test-wcschr.c: New file.
31237 * string/test-strchr.c: Update.
31238 Add wcschr support.
31239 (WIDE): New macro.
31240
619fccca
LD
312412011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31242
2d09f82f 31243 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31244 * wcsmbs/test-wcslen.c: New file.
31245 * string/test-strlen.c: Update.
31246 Add wcslen support.
31247 (WIDE): New macro.
31248
09f699ea
UD
312492011-10-23 Ulrich Drepper <drepper@gmail.com>
31250
31251 * po/it.po: Update from translation team.
31252
95584d3b
LD
312532011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31254
31255 * sysdeps/x86_64/wcscmp.S: Update.
31256 Fix wrong comparison semantics.
31257 wcscmp shall use signed comparison not unsigned.
31258 Don't use substraction to avoid overflow bug.
31259 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31260 * wcsmbc/wcscmp.c: Likewise.
31261 * string/test-strcmp.c: Likewise.
31262 Add new tests to check cases with negative values.
31263
c8b3296b
UD
312642011-10-23 Ulrich Drepper <drepper@gmail.com>
31265
31266 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31267 * sysdeps/x86_64/dla.h: ...here. New file.
31268 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31270 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31271 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31273 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31276 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31277
246ad57a
AS
312782011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31279
31280 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31281 __ynl_finite aliases.
31282
a1a87169
UD
312832011-10-22 Ulrich Drepper <drepper@gmail.com>
31284
0d355eb7
UD
31285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31286
a1a87169
UD
31287 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31288 define DLA_FMA.
31289 [DLA_FMA] (EMULV): Use DLA_FMA.
31290 [DLA_FMA] (MUL12): Use EMULV.
31291 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31292 that are not needed.
31293 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31296 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31297 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31298 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31299 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31300
ee2aafe0
AS
313012011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31302
31303 * math/s_nan.c: Undef __nan.
31304 * math/s_nanf.c: Undef __nanf.
31305 * math/s_nanl.c: Undef __nanl.
31306 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31307 "math_private.h".
31308
bc62c2fb
UD
313092011-10-22 Ulrich Drepper <drepper@gmail.com>
31310
77425c63
UD
31311 * math/s_catan.c: Add branch predictions.
31312 * math/s_catanf.c: Likewise.
31313 * math/s_catanh.c: Likewise.
31314 * math/s_catanhf.c: Likewise.
31315 * math/s_catanhl.c: Likewise.
31316 * math/s_catanl.c: Likewise.
31317 * math/s_cexp.c: Likewise.
31318 * math/s_cexpf.c: Likewise.
31319 * math/s_cexpl.c: Likewise.
31320 * math/s_clog.c: Likewise.
31321 * math/s_clog10.c: Likewise.
31322 * math/s_clog10f.c: Likewise.
31323 * math/s_clog10l.c: Likewise.
31324 * math/s_clogf.c: Likewise.
31325 * math/s_clogl.c: Likewise.
31326 * math/s_csqrt.c: Likewise.
31327 * math/s_csqrtf.c: Likewise.
31328 * math/s_csqrtl.c: Likewise.
31329 * math/s_ctanf.c: Likewise.
31330 * math/s_ctanh.c: Likewise.
31331 * math/s_ctanhf.c: Likewise.
31332 * math/s_ctanhl.c: Likewise.
31333 * math/s_ctanl.c: Likewise.
31334
bc62c2fb
UD
31335 * math/math_private.h: Define __nan, __nanf, __nanl.
31336 * math/s_cacosh.c: Include <math_private.h>.
31337 * math/s_cacoshl.c: Likewise.
31338 * math/s_casinh.c: Likewise.
31339 * math/s_casinhf.c: Likewise.
31340 * math/s_casinhl.c: Likewise.
31341 * math/s_ccos.c: Rely entire on ccosh.
31342 * math/s_ccosf.c: Rely entire on ccoshf.
31343 * math/s_ccosl.c: Rely entirely on ccoshl.
31344 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31345 Remove tests for FE_INVALID.
31346 * math/s_ccoshf.c: Likewise.
31347 * math/s_ccoshl.c: Likewise.
31348 * math/s_csin.c: Likewise.
31349 * math/s_csinf.c: Likewise.
31350 * math/s_csinh.c Likewise.
31351 * math/s_csinhf.c: Likewise.
31352 * math/s_csinhl.c: Likewise.
31353 * math/s_csinl.c: Likewise.
31354 * math/s_ctan.c: Likewise.
31355 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31356 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31357 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31358
8ec250a4
UD
313592011-10-21 Ulrich Drepper <drepper@gmail.com>
31360
c196fed8
UD
31361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31362 compilation problems.
31363
8ec250a4
UD
31364 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31365 __builtin_expect.
31366
8d4f46c6
UD
313672011-10-20 Ulrich Drepper <drepper@gmail.com>
31368
ed72b654
UD
31369 * sysdeps/i386/configure.in: Test for -mfma4 option.
31370 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31371 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31372 COMMON_CPUID_INDEX_80000001.
31373 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31374 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31375 use it if FMA3 is not supported.
31376 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31377
8d4f46c6
UD
31378 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31379 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31380
d45c60c2
AS
313812011-10-20 Andreas Schwab <schwab@redhat.com>
31382
31383 [BZ #12892]
31384 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31385 it would create a cycle with a link time dependency.
31386
d9a4d2ab
UD
313872011-10-19 Ulrich Drepper <drepper@gmail.com>
31388
855d1560
UD
31389 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31390 instruction.
31391 * string/Makefile (strop-tests): Add rawmemchr.
31392 * string/test-rawmemchr.c: New file.
31393
d9a4d2ab
UD
31394 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31395 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31396 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31397 when compiling str{,n}casecmp and when AVX is available. Hook up
31398 new optimized code in initializers.
31399
8f3b1ffe
AS
314002011-10-19 Andreas Schwab <schwab@redhat.com>
31401
31402 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31403 __feraiseexcept instead of feraiseexcept.
31404
d38f1dba
UD
314052011-10-18 Ulrich Drepper <drepper@gmail.com>
31406
d9a8d0ab
UD
31407 * math/math_private.h: Define defaults for libc_fetestexcept and
31408 libc_feupdateenv.
31409 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31410 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31411 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31412 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31413 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31414 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31415 libc_fetestexcept and libc_feupdateenv.
31416
4855e3dd
UD
31417 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31418 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31419 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31420 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31421 libc_feholdexcept_setround.
31422
581d30e3
UD
31423 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31424 Add s_nearbyint-c and s_nearbyintf-c.
31425 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31426 nearbyintf inlines.
31427 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31428 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31429 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31430 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31431
d38f1dba
UD
31432 * math/math_private.h: Define defaults for libc_fegetround,
31433 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31434 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31435 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31436 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31437 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31438 standard functions.
31439 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31440 Remove comments and hacks for old compiler versions.
31441 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31442 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31443 libc_feholdexceptl.
31444
caa6c9d8
AS
314452011-10-18 Andreas Schwab <schwab@redhat.com>
31446
31447 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31448 (__feraiseexcept_renamed): Add __NTH.
31449 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31450 namespace violations.
31451
97c066e6
UD
314522011-10-17 Ulrich Drepper <drepper@gmail.com>
31453
99ce7b04
UD
31454 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31455
1004d182
UD
31456 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31457
228a984d
UD
31458 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31459 recently added interfaces.
31460 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31461
c8553a6a
UD
31462 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31463 about macro parameter expansion.
31464
ed22dcf6
UD
31465 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31466 __NO_MATH_INLINES is defined. Cleanups.
31467
31468 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31469 and __floorf is target has SSE4.1.
31470 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31471 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31472 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31473 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31474
b171c137
UD
31475 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31476 name.
31477 (floorf): Likewise.
31478
97c066e6
UD
31479 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31480
629f62ef
AS
314812011-10-17 Andreas Schwab <schwab@redhat.com>
31482
49a43d80
AS
31483 * misc/sys/cdefs.h: Fix last change.
31484
629f62ef
AS
31485 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31486 database lookup.
31487
e453f6cd
UD
314882011-10-16 Ulrich Drepper <drepper@gmail.com>
31489
aa78043a
UD
31490 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31491
ad0f5cad
UD
31492 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31494 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31495 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31496 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31497 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31498 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31499 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31500 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31501 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31502 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31503 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31504 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31505 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31506 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31507 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31508 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31509 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31510 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31511 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31512 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31513 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31514
31515 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31516 ceil, ceilf, floor, floorf.
31517
31518 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31519 Perform IRELATIVE relocations last.
31520
e453f6cd
UD
31521 * elf/do-rel.h: Add another parameter nrelative, replacing the
31522 local variable with the same name. Change name of the function
31523 to end in Rel or Rela (uppercase).
31524 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31525 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31526 elf_dynamic_do_##reloc function.
31527
fd5bdc09
UD
315282011-10-15 Ulrich Drepper <drepper@gmail.com>
31529
79b195b5
UD
31530 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31531 is sufficient, at least on modern CPUs.
31532
d4a28569
UD
31533 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31534
b61099b5
UD
31535 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31536 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31537
bcf01e6d
UD
31538 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31539 __expl_finite.
31540 * math/bits/math-finite.h: Add entries for exp.
31541 * math/e_expl.c: Add __*_finite alias.
31542 * sysdeps/i386/fpu/e_exp.S: Likewise.
31543 * sysdeps/i386/fpu/e_expf.S: Likewise.
31544 * sysdeps/i386/fpu/e_expl.c: Likewise.
31545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31546 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31547 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31548 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31549 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31550 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31551 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31552
ba1a0d59
UD
31553 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31554 is sufficient, at least on modern CPUs.
31555
fd5bdc09
UD
31556 * ctype/ctype-info.c (__ctype_init): Define.
31557 * include/ctype.h (__ctype_init): Declare.
31558 (__ctype_b_loc): The variable is always initialized.
31559 (__ctype_toupper_loc): Likewise.
31560 (__ctype_tolower_loc): Likewise.
31561 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31562 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31563
7872cfb0
AS
315642011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31565
b468825a
AS
31566 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31567
7872cfb0
AS
31568 * configure.in: Also look in $cxxmachine/include for C++ system
31569 headers.
31570
be13f7bf
LD
315712011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31572
31573 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31574 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31575 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31576 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31577 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31578 (USE_AS_WMEMCMP): New macro.
31579 Fixing indents.
31580 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31581 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31582 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31583 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31585 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31586 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31587 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31588 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31589 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31590 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31591 (USE_AS_WMEMCMP): New macro.
31592 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31593 * sysdeps/string/test-memcmp.c: Update.
31594 Fix simple_wmemcmp.
31595 Add new tests.
31596 * wcsmbs/wmemcmp.c: Update.
31597 (WMEMCMP): New macro.
31598 Fix overflow bug.
31599
556a2007
AJ
316002011-10-12 Andreas Jaeger <aj@suse.de>
31601
31602 [BZ #13268]
31603 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31604
538faaa7
UD
316052011-10-15 Ulrich Drepper <drepper@gmail.com>
31606
ab6737ff
UD
31607 * libio/iofwide.c (do_length): Avoid warning.
31608
538faaa7
UD
31609 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31610
396a21b1
UD
316112011-10-14 Ulrich Drepper <drepper@gmail.com>
31612
cdf2901f
UD
31613 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31614
38ad40ce
UD
31615 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31616 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31617 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31618 * sysdeps/i386/i686/fpu/e_log.S: New file.
31619 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31620 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31621
396a21b1
UD
31622 * ctype/ctype.h: Add support for inlined isXXX functions when
31623 compiling C++ code.
31624
6b1f68c9
AS
316252011-10-14 Andreas Schwab <schwab@redhat.com>
31626
349290c0
AS
31627 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31628
6b1f68c9
AS
31629 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31630
f2282d42
RM
316312011-10-13 Roland McGrath <roland@hack.frob.com>
31632
31633 [BZ #13291]
31634 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31635
5298ffa8
AS
316362011-10-13 Andreas Schwab <schwab@redhat.com>
31637
714fad23
AS
31638 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31639 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31640 feraiseexcept.
31641
81dcc7fb
AS
31642 * sysdeps/x86_64/memrchr.S: Check for zero size.
31643
5298ffa8
AS
31644 * string/stratcliff.c: Add memrchr tests.
31645
951fbcec
LD
316462011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31647
31648 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31649 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31650 rawmemchr-sse2 rawmemchr-sse2-bsf.
31651 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31652 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31653 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31654 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31655 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31656 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31657 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31658 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31659 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31660 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31661 * string/memrchr.c (MEMRCHR): New macro.
31662
0ac5ae23
UD
316632011-10-12 Ulrich Drepper <drepper@gmail.com>
31664
31665 Add integration with gcc's -ffinite-math-only and optimize wrapper
31666 functions in libm.
31667 * Versions.def: Define GLIBC_2.15 version for libm.
31668 * math/Makefile (headers): Add bits/math-finite.h.
31669 * math/bits/math-finite.h: New file.
31670 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31671 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31672 * math/e_acoshl.c: Add __*_finite alias.
31673 * math/e_acosl.c: Likewise.
31674 * math/e_asinl.c: Likewise.
31675 * math/e_atan2l.c: Likewise.
31676 * math/e_atanhl.c: Likewise.
31677 * math/e_coshl.c: Likewise.
31678 * math/e_exp10.c: Likewise.
31679 * math/e_exp10f.c: Likewise.
31680 * math/e_exp10l.c: Likewise.
31681 * math/e_exp2l.c: Likewise.
31682 * math/e_fmodl.c: Likewise.
31683 * math/e_gammal_r.c: Likewise.
31684 * math/e_hypotl.c: Likewise.
31685 * math/e_j0l.c: Likewise.
31686 * math/e_j1l.c: Likewise.
31687 * math/e_jnl.c: Likewise.
31688 * math/e_lgammal_r.c: Likewise.
31689 * math/e_log10l.c: Likewise.
31690 * math/e_log2l.c: Likewise.
31691 * math/e_logl.c: Likewise.
31692 * math/e_powl.c: Likewise.
31693 * math/e_sinhl.c: Likewise.
31694 * math/e_sqrtl.c: Likewise.
31695 * math/e_scalb.c: Completely rewritten and optimized.
31696 * math/e_scalbf.c: Likewise.
31697 * math/e_scalbl.c: Likewise.
31698 * math/w_acos.c: Likewise.
31699 * math/w_acosf.c: Likewise.
31700 * math/w_acosl.c: Likewise.
31701 * math/w_acosh.c: Likewise.
31702 * math/w_acoshf.c: Likewise.
31703 * math/w_acoshl.c: Likewise.
31704 * math/w_asin.c: Likewise.
31705 * math/w_asinf.c: Likewise.
31706 * math/w_asinl.c: Likewise.
31707 * math/w_atan2.c: Likewise.
31708 * math/w_atan2f.c: Likewise.
31709 * math/w_atan2l.c: Likewise.
31710 * math/w_atanh.c: Likewise.
31711 * math/w_atanhf.c: Likewise.
31712 * math/w_atanhl.c: Likewise.
31713 * math/w_exp10.c: Likewise.
31714 * math/w_exp10f.c: Likewise.
31715 * math/w_exp10l.c: Likewise.
31716 * math/w_fmod.c: Likewise.
31717 * math/w_fmodf.c: Likewise.
31718 * math/w_fmodl.c: Likewise.
31719 * math/w_j0.c: Likewise.
31720 * math/w_j0f.c: Likewise.
31721 * math/w_j0l.c: Likewise.
31722 * math/w_j1.c: Likewise.
31723 * math/w_j1f.c: Likewise.
31724 * math/w_j1l.c: Likewise.
31725 * math/w_jn.c: Likewise.
31726 * math/w_jnf.c: Likewise.
31727 * math/w_log.c: Likewise.
31728 * math/w_logf.c: Likewise.
31729 * math/w_logl.c: Likewise.
31730 * math/w_log10.c: Likewise.
31731 * math/w_log10f.c: Likewise.
31732 * math/w_log10l.c: Likewise.
31733 * math/w_log2.c: Likewise.
31734 * math/w_log2f.c: Likewise.
31735 * math/w_log2l.c: Likewise.
31736 * math/w_pow.c: Likewise.
31737 * math/w_powf.c: Likewise.
31738 * math/w_powl.c: Likewise.
31739 * math/w_remainder.c: Likewise.
31740 * math/w_remainderf.c: Likewise.
31741 * math/w_remainderl.c: Likewise.
31742 * math/w_scalb.c: Likewise.
31743 * math/w_scalbf.c: Likewise.
31744 * math/w_scalbl.c: Likewise.
31745 * math/w_sqrt.c: Likewise.
31746 * math/w_sqrtf.c: Likewise.
31747 * math/w_sqrtl.c: Likewise.
31748 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31749 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31750 used.
31751 * math/math_private.h: Declare __kernel_standard_f.
31752 * math/w_cosh.c: Remove cruft and optimize a bit.
31753 * math/w_coshf.c: Likewise.
31754 * math/w_coshl.c: Likewise.
31755 * math/w_exp2.c: Likewise.
31756 * math/w_exp2f.c: Likewise.
31757 * math/w_exp2l.c: Likewise.
31758 * math/w_hypot.c: Likewise.
31759 * math/w_hypotf.c: Likewise.
31760 * math/w_hypotl.c: Likewise.
31761 * math/w_lgamma.c: Likewise.
31762 * math/w_lgamma_r.c: Likewise.
31763 * math/w_lgammaf.c: Likewise.
31764 * math/w_lgammaf_r.c: Likewise.
31765 * math/w_lgammal.c: Likewise.
31766 * math/w_lgammal_r.c: Likewise.
31767 * math/w_sinh.c: Likewise.
31768 * math/w_sinhf.c: Likewise.
31769 * math/w_sinhl.c: Likewise.
31770 * math/w_tgamma.c: Likewise.
31771 * math/w_tgammaf.c: Likewise.
31772 * math/w_tgammal.c: Likewise.
31773 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31774 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31775 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31776 Minor optimizations. Pretty printing. Remove cruft.
31777 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31778 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31779 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31780 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31781 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31782 * sysdeps/i386/fpu/e_asin.S: Likewise.
31783 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31784 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31785 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31786 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31787 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31788 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31789 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31790 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31791 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31792 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31793 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31794 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31795 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31796 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31797 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31798 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31799 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31800 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31801 * sysdeps/i386/fpu/e_log.S: Likewise.
31802 * sysdeps/i386/fpu/e_log10.S: Likewise.
31803 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31804 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31805 * sysdeps/i386/fpu/e_log2.S: Likewise.
31806 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31807 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31808 * sysdeps/i386/fpu/e_logf.S: Likewise.
31809 * sysdeps/i386/fpu/e_logl.S: Likewise.
31810 * sysdeps/i386/fpu/e_pow.S: Likewise.
31811 * sysdeps/i386/fpu/e_powf.S: Likewise.
31812 * sysdeps/i386/fpu/e_powl.S: Likewise.
31813 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31814 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31815 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31816 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31817 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31818 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31819 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31820 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31821 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31822 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31823 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31825 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31826 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31827 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31828 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31829 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31830 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31831 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31832 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31833 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31834 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31835 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31836 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31837 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31838 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31839 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31840 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31841 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31842 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31843 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31844 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31845 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31846 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31847 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31848 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31849 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31850 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31851 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31852 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31853 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31854 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31855 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31856 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31857 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31858 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31859 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31860 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31861 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31862 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31863 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31864 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31865 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31866 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31867 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31868 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31869 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31870 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31871 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31872 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31873 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31874 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31875 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31876 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31877 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31878 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31879 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31880 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31881 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31882 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31883 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31884 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31885 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31886 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31887 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31889 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31890 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31891 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31892 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31893 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31894 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31895 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31896 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31897 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31898 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31899 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31900 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31901 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31902 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31903 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31904 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31905 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31906 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31907 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31908 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31909 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31910 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31911 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31912 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31913 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31914 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31915 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31916 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31917 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31918 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31919 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31920 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31921 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31922 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31923 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31924 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31925 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31926 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31927 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31928 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31929 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31930 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31931 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31932 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31933 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31934 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31935 (__isnanf): Likewise.
31936 (__isinf_ns): Likewise.
31937 (__isinf_nsf): Likewise.
31938 (__finite): Likewise.
31939 (__finitef): Likewise.
31940 (__ieee754_sqrt): Define as macro.
31941 (__ieee754_sqrtf): Define as macro.
31942 (__ieee754_sqrtl): Define as macro.
31943 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31944 inlined copy.
31945 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31946 __FINITE_MATH_ONLY__ consistent.
31947 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31948
12cc2fcd
AS
319492011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31950
a843a204
AS
31951 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31952 of rawmemchr.
31953
12cc2fcd
AS
31954 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31955
c853acd5
UD
319562011-10-09 Ulrich Drepper <drepper@gmail.com>
31957
31958 * po/ja.po: Update from translation team.
31959
c658d255
RM
319602011-10-08 Roland McGrath <roland@hack.frob.com>
31961
110946e4
RM
31962 * locale/programs/locarchive.c (prepare_address_space): New function.
31963 (create_archive, enlarge_archive, open_archive): Use it.
31964
50604220
RM
31965 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31966 inside [SHARED], where it is used.
31967
c658d255
RM
31968 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31969
31970 * nss/getent.c (netgroup_keys): Remove unused variable.
31971 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31972
6a621eb7
UD
319732011-10-08 Ulrich Drepper <drepper@gmail.com>
31974
7edb55ce
UD
31975 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31976 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31977 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31978 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31979 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31980 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31981 * math/Makefile (libm-calls): Add s_isinf_ns.
31982 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31983 * math/multc3.c: Likewise.
31984 * math/s_casin.c: Likewise.
31985 * math/s_casinf.c: Likewise.
31986 * math/s_casinl.c: Likewise.
31987 * math/s_ccos.c: Likewise.
31988 * math/s_ccosf.c: Likewise.
31989 * math/s_ccosl.c: Likewise.
31990 * math/s_ctan.c: Likewise.
31991 * math/s_ctanf.c: Likewise.
31992 * math/s_ctanh.c: Likewise.
31993 * math/s_ctanhf.c: Likewise.
31994 * math/s_ctanhl.c: Likewise.
31995 * math/s_ctanl.c: Likewise.
31996 * math/w_fmod.c: Likewise.
31997 * math/w_fmodf.c: Likewise.
31998 * math/w_fmodl.c: Likewise.
31999 * math/w_remainder.c: Likewise.
32000 * math/w_remainderf.c: Likewise.
32001 * math/w_remainderl.c: Likewise.
32002 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32003 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32004 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32005 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32006 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32007 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32008 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32009 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32010
187da0ae
UD
32011 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32012 of the number.
32013 * stdio-common/printf_fphex.c: Likewise.
32014 * stdio-common/printf_size.c: Likewise.
32015
9277c064
UD
32016 * math/e_exp10.c: Include math_private.h using <...> not "...".
32017 * math/e_exp10f.c: Likewise.
32018 * math/e_exp10l.c: Likewise.
32019 * math/e_exp2l.c: Likewise.
32020 * math/e_j0l.c: Likewise.
32021 * math/e_j1l.c: Likewise.
32022 * math/e_jnl.c: Likewise.
32023 * math/e_lgammal_r.c: Likewise.
32024 * math/e_rem_pio2l.c: Likewise.
32025 * math/e_scalb.c: Likewise.
32026 * math/e_scalbf.c: Likewise.
32027 * math/e_scalbl.c: Likewise.
32028 * math/k_cosl.c: Likewise.
32029 * math/k_sinl.c: Likewise.
32030 * math/k_tanl.c: Likewise.
32031 * math/s_cacoshf.c: Likewise.
32032 * math/s_catan.c: Likewise.
32033 * math/s_catanf.c: Likewise.
32034 * math/s_catanh.c: Likewise.
32035 * math/s_catanhf.c: Likewise.
32036 * math/s_catanhl.c: Likewise.
32037 * math/s_catanl.c: Likewise.
32038 * math/s_ccosh.c: Likewise.
32039 * math/s_ccoshf.c: Likewise.
32040 * math/s_ccoshl.c: Likewise.
32041 * math/s_cexp.c: Likewise.
32042 * math/s_cexpf.c: Likewise.
32043 * math/s_cexpl.c: Likewise.
32044 * math/s_clog.c: Likewise.
32045 * math/s_clog10.c: Likewise.
32046 * math/s_clog10f.c: Likewise.
32047 * math/s_clog10l.c: Likewise.
32048 * math/s_clogf.c: Likewise.
32049 * math/s_clogl.c: Likewise.
32050 * math/s_csin.c: Likewise.
32051 * math/s_csinf.c: Likewise.
32052 * math/s_csinh.c: Likewise.
32053 * math/s_csinhf.c: Likewise.
32054 * math/s_csinhl.c: Likewise.
32055 * math/s_csinl.c: Likewise.
32056 * math/s_csqrt.c: Likewise.
32057 * math/s_csqrtf.c: Likewise.
32058 * math/s_csqrtl.c: Likewise.
32059 * math/s_ctan.c: Likewise.
32060 * math/s_ctanf.c: Likewise.
32061 * math/s_ctanh.c: Likewise.
32062 * math/s_ctanhf.c: Likewise.
32063 * math/s_ctanhl.c: Likewise.
32064 * math/s_ctanl.c: Likewise.
32065 * math/s_ldexp.c: Likewise.
32066 * math/s_ldexpf.c: Likewise.
32067 * math/s_ldexpl.c: Likewise.
32068 * math/s_significand.c: Likewise.
32069 * math/s_significandf.c: Likewise.
32070 * math/s_significandl.c: Likewise.
32071 * math/w_acos.c: Likewise.
32072 * math/w_acosf.c: Likewise.
32073 * math/w_acosh.c: Likewise.
32074 * math/w_acoshf.c: Likewise.
32075 * math/w_acoshl.c: Likewise.
32076 * math/w_acosl.c: Likewise.
32077 * math/w_asin.c: Likewise.
32078 * math/w_asinf.c: Likewise.
32079 * math/w_asinl.c: Likewise.
32080 * math/w_atan2.c: Likewise.
32081 * math/w_atan2f.c: Likewise.
32082 * math/w_atan2l.c: Likewise.
32083 * math/w_atanh.c: Likewise.
32084 * math/w_atanhf.c: Likewise.
32085 * math/w_atanhl.c: Likewise.
32086 * math/w_cosh.c: Likewise.
32087 * math/w_coshf.c: Likewise.
32088 * math/w_coshl.c: Likewise.
32089 * math/w_dremf.c: Likewise.
32090 * math/w_exp10.c: Likewise.
32091 * math/w_exp10f.c: Likewise.
32092 * math/w_exp10l.c: Likewise.
32093 * math/w_exp2.c: Likewise.
32094 * math/w_exp2f.c: Likewise.
32095 * math/w_fmod.c: Likewise.
32096 * math/w_fmodf.c: Likewise.
32097 * math/w_fmodl.c: Likewise.
32098 * math/w_hypot.c: Likewise.
32099 * math/w_hypotf.c: Likewise.
32100 * math/w_hypotl.c: Likewise.
32101 * math/w_j0.c: Likewise.
32102 * math/w_j0f.c: Likewise.
32103 * math/w_j0l.c: Likewise.
32104 * math/w_j1.c: Likewise.
32105 * math/w_j1f.c: Likewise.
32106 * math/w_j1l.c: Likewise.
32107 * math/w_jn.c: Likewise.
32108 * math/w_jnf.c: Likewise.
32109 * math/w_jnl.c: Likewise.
32110 * math/w_lgamma.c: Likewise.
32111 * math/w_lgamma_r.c: Likewise.
32112 * math/w_lgammaf.c: Likewise.
32113 * math/w_lgammaf_r.c: Likewise.
32114 * math/w_lgammal.c: Likewise.
32115 * math/w_lgammal_r.c: Likewise.
32116 * math/w_log.c: Likewise.
32117 * math/w_log10.c: Likewise.
32118 * math/w_log10f.c: Likewise.
32119 * math/w_log10l.c: Likewise.
32120 * math/w_log2.c: Likewise.
32121 * math/w_log2f.c: Likewise.
32122 * math/w_log2l.c: Likewise.
32123 * math/w_logf.c: Likewise.
32124 * math/w_logl.c: Likewise.
32125 * math/w_pow.c: Likewise.
32126 * math/w_powf.c: Likewise.
32127 * math/w_powl.c: Likewise.
32128 * math/w_remainder.c: Likewise.
32129 * math/w_remainderf.c: Likewise.
32130 * math/w_remainderl.c: Likewise.
32131 * math/w_scalb.c: Likewise.
32132 * math/w_scalbf.c: Likewise.
32133 * math/w_scalbl.c: Likewise.
32134 * math/w_sinh.c: Likewise.
32135 * math/w_sinhf.c: Likewise.
32136 * math/w_sinhl.c: Likewise.
32137 * math/w_sqrt.c: Likewise.
32138 * math/w_sqrtf.c: Likewise.
32139 * math/w_sqrtl.c: Likewise.
32140 * math/w_tgamma.c: Likewise.
32141 * math/w_tgammaf.c: Likewise.
32142 * math/w_tgammal.c: Likewise.
32143
6a621eb7
UD
32144 * po/ja.po: Update from translation team.
32145
bf582445
AJ
321462011-09-29 Andreas Jaeger <aj@suse.de>
32147
f9efbf3a
AJ
32148 [BZ #13179]
32149 * sunrpc/netname.c (netname2host): Fix logic.
32150
bf582445
AJ
32151 [BZ #6779]
32152 [BZ #6783]
32153 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32154 correctly.
32155 * math/w_remainder.c (__remainder): Likewise.
32156 * math/w_remainderf.c (__remainderf): Likewise.
32157 * math/libm-test.inc (remainder_test): Add test cases.
32158
48693bea
AK
321592011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32160
32161 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32162 sdiv_qrnnd.
32163
42622229
LD
321642011-10-07 Ulrich Drepper <drepper@gmail.com>
32165
32166 * string/test-memcmp.c: Avoid unncessary #defines.
32167 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32168
093ecf92
LD
321692011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32170
32171 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32172 Use new sse2 version for core i3 - i7 as it's faster
32173 than sse42 version.
32174 (bit_Prefer_PMINUB_for_stringop): New.
32175 * sysdeps/x86_64/rawmemchr.S: Update.
32176 Replace with faster SSE2 version.
32177 * sysdeps/x86_64/memrchr.S: New file.
32178 * sysdeps/x86_64/memchr.S: Update.
32179 Replace with faster SSE2 version.
32180
fde56e5c
MP
321812011-09-12 Marek Polacek <mpolacek@redhat.com>
32182
32183 * elf/dl-load.c (lose): Add cast to avoid warning.
32184
21fd49a9
UD
321852011-10-07 Ulrich Drepper <drepper@gmail.com>
32186
5a06e643
UD
32187 * po/ca.po: Update from translation team.
32188
684ae515
UD
32189 * inet/getnetgrent_r.c: Hook up nscd.
32190 * nscd/Makefile (routines): Add nscd_netgroup.
32191 (nscd-modules): Add netgroupcache.
32192 (CFLAGS-netgroupcache.c): Define.
32193 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32194 (cache_search): Add const to second parameter.
32195 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32196 INNETGR.
32197 (dbs): Add netgrdb entry.
32198 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32199 (verify_persistent_db): Handle netgrdb.
32200 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32201 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32202 GETFDNETGR.
32203 (netgroup_response_header): Define.
32204 (innetgroup_response_header): Define.
32205 (datahead): Add netgroup_response_header and innetgroup_response_header
32206 elements.
32207 * nscd/nscd.conf: Add entries for netgroup cache.
32208 * nscd/nscd.h (dbtype): Add netgrdb.
32209 (_PATH_NSCD_NETGROUP_DB): Define.
32210 (netgroup_iov_disabled): Declare.
32211 (xmalloc, xcalloc, xrealloc): Move declarations here.
32212 (cache_search): Adjust prototype.
32213 Add netgroup-related prototypes.
32214 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32215 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32216 (__nscd_innetgr): Declare.
32217 * nscd/selinux.c (perms): Use access_vector_t as element type and
32218 add netgroup-related initializers.
32219 * nscd/netgroupcache.c: New file.
32220 * nscd/nscd_netgroup.c: New file.
32221 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32222 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32223 For four parameters use innetgr.
32224 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32225 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32226 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32227 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32228
21fd49a9
UD
32229 * nscd/connections.c (register_traced_file): Don't register file
32230 for disabled databases.
32231
054c0457
UD
322322011-10-06 Ulrich Drepper <drepper@gmail.com>
32233
32b63198
UD
32234 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32235
054c0457
UD
32236 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32237 from tree and freeing node.
32238
64031225
JO
322392011-09-25 Jiri Olsa <jolsa@redhat.com>
32240
32241 * nss/nsswitch.c (__nss_database_lookup): Handle
32242 nss_parse_service_list out of memory case.
32243
0490345c
JO
322442011-09-15 Jiri Olsa <jolsa@redhat.com>
32245
32246 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32247 out of memory case.
32248
3a62d00d
AS
322492011-10-04 Andreas Schwab <schwab@redhat.com>
32250
32251 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32252 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32253 pass it down.
32254 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32255 elf_machine_rela, elf_machine_lazy_rel.
32256 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32257 (ELF_DYNAMIC_DO_REL): Likewise.
32258 (ELF_DYNAMIC_DO_RELA): Likewise.
32259 (ELF_DYNAMIC_RELOCATE): Likewise.
32260 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32261 to ELF_DYNAMIC_DO_REL.
32262 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32263 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32264 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32265 elf_machine_rela.
32266 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32267 skip_ifunc, don't call ifunc function if non-zero.
32268 (elf_machine_rela): Likewise.
32269 (elf_machine_lazy_rel): Likewise.
32270 (elf_machine_lazy_rela): Likewise.
32271 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32272 (elf_machine_lazy_rel): Likewise.
32273 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32274 Likewise.
32275 (elf_machine_lazy_rel): Likewise.
32276 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32277 Likewise.
32278 (elf_machine_lazy_rel): Likewise.
32279 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32280 (elf_machine_lazy_rel): Likewise.
32281 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32282 (elf_machine_lazy_rel): Likewise.
32283 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32284 (elf_machine_lazy_rel): Likewise.
32285 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32286 (elf_machine_lazy_rel): Likewise.
32287 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32288 (elf_machine_lazy_rel): Likewise.
32289 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32290 (elf_machine_lazy_rel): Likewise.
32291
68577918
UD
322922011-09-28 Ulrich Drepper <drepper@gmail.com>
32293
32294 * nss/nss_files/files-init.c (_nss_files_init): Use static
32295 initialization for all the *_traced_file variables.
32296
68822d74
AS
322972011-09-28 Andreas Schwab <schwab@redhat.com>
32298
32299 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32300
2056100b
RM
323012011-09-27 Roland McGrath <roland@hack.frob.com>
32302
32303 [BZ #13226]
32304 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32305
32c76b63
AS
323062011-09-27 Andreas Schwab <schwab@redhat.com>
32307
32308 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32309 Reread the line before reparsing it.
32310
bf972c9d
AS
323112011-09-26 Andreas Schwab <schwab@redhat.com>
32312
32313 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32314
e057a1b5
JM
323152011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32316 Maxim Kuvyrkov <maxim@codesourcery.com>
32317 Joseph Myers <joseph@codesourcery.com>
32318
32319 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32320 if needed for __stack_chk_guard.
32321
bc7e1c36
RM
323222011-09-19 Roland McGrath <roland@hack.frob.com>
32323
ecb1482f
RM
32324 * sysdeps/posix/spawni.c (script_execute): Always define it.
32325 It will be optimized away if unused.
32326 (maybe_script_execute): New function.
32327 (__spawni): Call it.
32328
bc7e1c36
RM
32329 * Makerules: Don't include tls.make.
32330 (config-tls): Always set to thread.
32331 * tls.make.c: File removed.
32332
1c3b002b
MF
323332011-09-19 Mike Frysinger <vapier@gentoo.org>
32334
32335 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32336 * config.make.in (CPPFLAGS-config): New substituted variable.
32337
2840865d
UD
323382011-09-15 Ulrich Drepper <drepper@gmail.com>
32339
88738eb6
UD
32340 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32341
cbf645a6 32342 [BZ #13192]
2840865d
UD
32343 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32344 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32345
b402e91a
RM
323462011-09-15 Roland McGrath <roland@hack.frob.com>
32347
32348 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32349 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32350 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32351 (CALL_FAIL): Likewise.
32352 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32353 (CALL_FAIL): Macro removed.
32354 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32355
4c1a1f71
UD
323562011-09-15 Ulrich Drepper <drepper@gmail.com>
32357
32358 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32359 for __FINITE_MATH_ONLY__ == 1.
32360
edc121be
AS
323612011-09-15 Andreas Schwab <schwab@redhat.com>
32362
32363 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32364 __ieee754_sqrt instead of sqrt.
32365 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32366 __ieee754_sqrtf instead of sqrtf.
32367 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32368 __floorf instead of floorf.
32369 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32370 __floorf, __truncf instead of floorf, truncf.
32371
cd205654
UD
323722011-09-14 Ulrich Drepper <drepper@gmail.com>
32373
ee4d0315
UD
32374 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32375
cd205654
UD
32376 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32377 __extern_always_inline.
32378 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32379 32-bit.
32380
48b67d71
AS
323812011-09-14 Andreas Schwab <schwab@redhat.com>
32382
32383 * elf/rtld.c (dl_main): Also relocate in dependency order when
32384 doing symbol dependency testing.
32385
1ae12c75
AS
323862011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32387
32388 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32389 Always define `refsym'.
32390
995a80df
AS
323912011-09-13 Andreas Schwab <schwab@redhat.com>
32392
e529793b
AS
32393 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32394 (__FD_ELT): Renamed from __FDELT.
32395 * misc/bits/select2.h (__FD_ELT): Likewise.
32396 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32397 __FD_MASK instead of __FDELT, __FDMASK.
32398 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32399 Likewise.
32400 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32401 Likewise.
32402
52d4fef8
AS
32403 * elf/Makefile (gen-ldd): Fix pattern.
32404
995a80df
AS
32405 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32406 (init_tls): Likewise.
32407
8682f8b0
UD
324082011-09-12 Ulrich Drepper <drepper@gmail.com>
32409
32410 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32411
de82006d
AS
324122011-09-12 Andreas Schwab <schwab@redhat.com>
32413
a7c8e6a1
AS
32414 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32415 `struct cmsghdr *' instead of `void *'.
32416 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32417 Likewise.
32418
0f31fe77
AS
324192011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32420
32421 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32422 if non-absolute.
32423 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32424 ldd_rewrite_script.
0f31fe77 32425
32b4c839
UD
324262011-09-11 Ulrich Drepper <drepper@gmail.com>
32427
83cd1420
UD
32428 * configure.in: Remove --with-tls option.
32429 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32430 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32431 out in case it is missing.
32432 * sysdeps/ia64/elf/configure.in: Likewise.
32433 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32434 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32435 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32436 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32437 * sysdeps/sh/elf/configure.in: Likewise.
32438 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32439 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32440 * sysdeps/x86_64/elf/configure.in: Likewise.
32441 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32442 * sysdeps/mach/hurd/tls.h: Likewise.
32443
633f745d
UD
32444 [BZ #13067]
32445 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32446
f318beb8
UD
32447 [BZ #13090]
32448 * configure.in: Fix use of AC_INIT.
32449
32b4c839
UD
32450 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32451
3ce1f295
UD
324522011-09-10 Ulrich Drepper <drepper@gmail.com>
32453
bb016596
UD
32454 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32455 __set_errno.
8e58439c
UD
32456 * malloc/hooks.c: Likewise.
32457
aebae053 32458 [BZ #11929]
02d46fc4
UD
32459 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32460 variables statically.
32461 (narenas): Initialize.
32462 (list_lock): Initialize.
bb016596
UD
32463 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32464 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32465 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32466 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32467 Add initializers to main_arena and mp_.
32468 (malloc_state): Remove pagesize member. Change all users to use
32469 GLRO(dl_pagesize).
32470
32471 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32472 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32473 is always initialized.
32474
22a89187
UD
32475 * malloc/malloc.c: Removed unused configurations and dead code.
32476 * malloc/arena.c: Likewise.
32477 * malloc/hooks.c: Likewise.
02d46fc4 32478 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32479
d063d164
UD
32480 * include/tls.h: Removed. USE___THREAD must always be defined.
32481 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32482 * elf/dl-libc.c: Likewise.
32483 * elf/dl-tsd.c: Likewise.
32484 * include/errno.h: Likewise.
32485 * include/netdb.h: Likewise.
32486 * include/resolv.h: Likewise.
32487 * inet/herrno-loc.c: Likewise.
32488 * inet/herrno.c: Likewise.
32489 * malloc/arena.c: Likewise.
32490 * malloc/hooks.c: Likewise.
32491 * malloc/malloc.c: Likewise.
32492 * resolv/res-state.c: Likewise.
32493 * resolv/res_libc.c: Likewise.
32494 * sysdeps/i386/dl-machine.h: Likewise.
32495 * sysdeps/ia64/dl-machine.h: Likewise.
32496 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32497 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32498 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32499 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32500 * sysdeps/sh/dl-machine.h: Likewise.
32501 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32502 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32503 * sysdeps/unix/i386/sysdep.S: Likewise.
32504 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32505 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32506 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32507 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32508 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32509 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32510 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32511 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32512 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32514 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32515 * sysdeps/x86_64/dl-machine.h: Likewise.
32516 * tls.make.c: Likewise.
32517
3ce1f295
UD
32518 * configure.in: Remove --with-__thread option. Make tests for
32519 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32520 tls_model attribute fail if no support is available. Remove
32521 USE_IN_LIBIO.
32522 * Makeconfig: Adjust for dropped configure option. All features are
32523 now mandatory.
32524 * Makerules: Likewise.
32525 * Versions.def: Likewise.
32526 * argp/argp-fmtstream.c: Likewise.
32527 * argp/argp-fmtstream.h: Likewise.
32528 * argp/argp-help.c: Likewise.
32529 * assert/assert.c: Likewise.
32530 * config.h.in: Likewise.
32531 * config.make.in: Likewise.
32532 * configure: Likewise.
32533 * configure.in: Likewise.
32534 * csu/Versions: Likewise.
32535 * csu/init.c: Likewise.
32536 * elf/tst-audit2.c: Likewise.
32537 * elf/tst-tls10.c: Likewise.
32538 * elf/tst-tls10.h: Likewise.
32539 * elf/tst-tls11.c: Likewise.
32540 * elf/tst-tls12.c: Likewise.
32541 * elf/tst-tls14.c: Likewise.
32542 * elf/tst-tlsmod11.c: Likewise.
32543 * elf/tst-tlsmod12.c: Likewise.
32544 * elf/tst-tlsmod13.c: Likewise.
32545 * elf/tst-tlsmod13a.c: Likewise.
32546 * elf/tst-tlsmod14a.c: Likewise.
32547 * elf/tst-tlsmod15b.c: Likewise.
32548 * elf/tst-tlsmod16a.c: Likewise.
32549 * elf/tst-tlsmod16b.c: Likewise.
32550 * elf/tst-tlsmod7.c: Likewise.
32551 * elf/tst-tlsmod8.c: Likewise.
32552 * elf/tst-tlsmod9.c: Likewise.
32553 * gmon/gmon.c: Likewise.
32554 * grp/fgetgrent_r.c: Likewise.
32555 * grp/putgrent.c: Likewise.
32556 * hurd/fopenport.c: Likewise.
32557 * include/libc-symbols.h: Likewise.
32558 * include/tls.h: Likewise.
32559 * intl/gettextP.h: Likewise.
32560 * intl/loadinfo.h: Likewise.
32561 * locale/global-locale.c: Likewise.
32562 * locale/localeinfo.h: Likewise.
32563 * mach/devstream.c: Likewise.
32564 * malloc/arena.c: Likewise.
32565 * malloc/set-freeres.c: Likewise.
32566 * misc/err.c: Likewise.
32567 * misc/getttyent.c: Likewise.
32568 * misc/mntent_r.c: Likewise.
32569 * posix/getopt.c: Likewise.
32570 * posix/wordexp.c: Likewise.
32571 * pwd/fgetpwent_r.c: Likewise.
32572 * resolv/Versions: Likewise.
32573 * resolv/res_hconf.c: Likewise.
32574 * shadow/fgetspent_r.c: Likewise.
32575 * shadow/putspent.c: Likewise.
32576 * stdio-common/printf_fphex.c: Likewise.
32577 * stdio-common/tmpfile.c: Likewise.
32578 * stdlib/abort.c: Likewise.
32579 * stdlib/fmtmsg.c: Likewise.
32580 * sunrpc/auth_unix.c: Likewise.
32581 * sunrpc/clnt_perr.c: Likewise.
32582 * sunrpc/clnt_tcp.c: Likewise.
32583 * sunrpc/clnt_udp.c: Likewise.
32584 * sunrpc/clnt_unix.c: Likewise.
32585 * sunrpc/openchild.c: Likewise.
32586 * sunrpc/svc_simple.c: Likewise.
32587 * sunrpc/svc_tcp.c: Likewise.
32588 * sunrpc/svc_udp.c: Likewise.
32589 * sunrpc/svc_unix.c: Likewise.
32590 * sunrpc/xdr.c: Likewise.
32591 * sunrpc/xdr_array.c: Likewise.
32592 * sunrpc/xdr_rec.c: Likewise.
32593 * sunrpc/xdr_ref.c: Likewise.
32594 * sunrpc/xdr_stdio.c: Likewise.
32595
1248c1c4
PB
325962011-09-09 Ulrich Drepper <drepper@gmail.com>
32597
32598 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32599
326002011-07-03 Andreas Jaeger <aj@suse.de>
32601
32602 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32603 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32604 regenerate with gen-libm-tests.pl.
32605
326062010-05-12 Petr Baudis <pasky@suse.cz>
32607
32608 [BZ #11589]
32609 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32610 around j0() zero points by switching to j1().
32611 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32612 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32614 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32615
f22e1074
UD
326162011-09-09 Ulrich Drepper <drepper@gmail.com>
32617
f19009c1
UD
32618 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32619 instead of 0.
32620 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32621 instead of 0.
f19009c1
UD
32622 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32623 Patch in part by Pavel Roskin <proski@gnu.org>.
32624
3f8cc204
UD
32625 [BZ #13138]
32626 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32627 realloc.
32628 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32629 Free memory block if necessary.
32630
f22e1074
UD
32631 [BZ #12847]
32632 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32633 be NULL. Don't lock in this case.
32634
0a2349f9
RM
326352011-09-09 Roland McGrath <roland@hack.frob.com>
32636
32637 * elf/elf.h (ELFOSABI_GNU): New macro.
32638 (ELFOSABI_LINUX): Define to that.
32639
f3cdd467
DZ
326402011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32641
32642 * string/strncat.c (strncat): Undef the symbol in case it has been
32643 defined in bits/string.h.
32644
74718d13
UD
326452011-09-09 Ulrich Drepper <drepper@gmail.com>
32646
633e9e0f
UD
32647 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32648
0a2349f9 32649 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32650 link map.
32651
f9924780
AJ
326522011-08-17 Andreas Jaeger <aj@suse.de>
32653
32654 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32655
7f5517aa
PP
326562011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32657 Ian Lance Taylor <iant@google.com>
32658
32659 * math/libm-test.inc (lround_test): New testcase.
32660 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32661
762011fe
UD
326622011-09-08 Ulrich Drepper <drepper@gmail.com>
32663
92963737
UD
32664 * Makefile: Remove support for automatic cvs check-ins.
32665 * Makerules: Likewise.
32666 * config.make.in: Likewise.
32667 * configure.in: Likewise.
32668 * intl/Makefile: Likewise.
32669 * locale/Makefile: Likewise.
32670 * po/Makefile: Likewise.
32671 * posix/Makefile: Likewise.
32672 * sysdeps/gnu/Makefile: Likewise.
32673 * sysdeps/mach/hurd/Makefile: Likewise.
32674 * sysdeps/sparc/sparc32/Makefile: Likewise.
32675
b0727fd8
JS
32676 [BZ #13118]
32677 * posix/Makefile (bug-regex32-ENV): Define.
32678 Patch by John Stanley <jpsinthemix@verizon.net>.
32679
a0f33f99
UD
32680 * misc/Makefile (headers): Add bits/select2.h.
32681 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32682 * misc/bits/select2.h: New file.
32683 * include/bits/select2.h: New file.
32684 * debug/Makefile (routines): Add fdelt_chk.
32685 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32686 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32687 FD_ISSET.
32688 * debug/fdelt_chk.c: New file.
32689
762011fe
UD
32690 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32691 * wcsmbs/test-wmemcmp.c: Likewise.
32692 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32693 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32694
326952011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32696
32697 * string/Makefile (strop-tests): Add memcmp.
32698 * string/test-wmemcmp.c: New file.
32699 * string/test-memcmp.c: Add wmemcmp support.
32700
7f513ec8
RM
327012011-09-08 Roland McGrath <roland@hack.frob.com>
32702
0442afb4
RM
32703 [BZ #13153]
32704 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32705 2011-07-19 change.
32706
7f513ec8
RM
32707 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32708 garbage value in a __mach_port_mod_refs call in the cases of the
32709 task-self and thread-self ports.
32710
a12b2239
ST
327112011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32712
32713 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32714
610f9ab4
AS
327152011-09-08 Andreas Schwab <schwab@redhat.com>
32716
7f513ec8 32717 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32718
48882a1a
LD
327192011-09-07 Ulrich Drepper <drepper@gmail.com>
32720
b49865be
UD
32721 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32722
fdc86bc9
UD
32723 * elf/dl-libc.c (dlerror_run): Pass back error code from
32724 dl_catch_error.
32725
c966526a
UD
32726 [BZ #13123]
32727 * elf/dl-load.c (lose): Free l_origin if it is valid.
32728
48882a1a
LD
32729 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32730 names.
32731 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32732 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32733 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32734 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32735 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32736 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32737
77a2a8b4
AZ
327382011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32739
32740 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32741 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32742 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32743 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32744 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32745 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32746 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32747 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32748 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32749 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32750
24f579d8
AM
327512011-08-15 Alan Modra <amodra@gmail.com>
32752
32753 [BZ #13092]
32754 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32755 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32756 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32757 ppc_mcount to static-only-routines.
32758 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32759 __mcount_internal.
32760 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32761 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32762
3d4837df
UD
327632011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32764
32765 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32766 for finite and infinity parameters.
32767
22700377
WS
327682011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32769
32770 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32771 and add nop instructions for throughput optimization.
32772 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32773
5025581e
WS
327742011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32775
32776 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32777 aligned copy for power7 with vector-scalar instructions.
32778 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32779
08a300c9
L
327802011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32781
32782 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32783 AVX check.
32784
59178ef9
AS
327852011-09-07 Andreas Schwab <schwab@redhat.com>
32786
32787 [BZ #13144]
32788 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32789 last change.
32790
e38ba7ab
UD
327912011-09-07 Ulrich Drepper <drepper@gmail.com>
32792
32793 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32794 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32795 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32796 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32797 clock_gettime.
32798
d53a73ac
UD
327992011-09-06 Ulrich Drepper <drepper@gmail.com>
32800
fc8bffcc
UD
32801 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32802 Forgot to demangle the pointer.
32803
ceaa0c5d
UD
32804 * sysdeps/i386/sysdep.h: Define atom_text_section.
32805 * sysdeps/x86_64/sysdep.h: Likewise.
32806 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32807 section with atom_text_section.
32808 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32809 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32810 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32811 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32812 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32813
a77d3c17
UD
32814 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32815 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32816 already be defined. Change to take two parameters and don't assign
32817 result to variable. Adjust all users.
32818 Define INTERNAL_GETTIME if not already defined.
32819 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32820 call.
32821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32822 HAVE_CLOCK_GETTIME_VSYSCALL.
32823 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32824
d53a73ac
UD
32825 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32826 gettimeofday vsyscall, just use time.
32827
a8f84144
AS
328282011-09-06 Andreas Schwab <schwab@redhat.com>
32829
32830 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32831 <errno.h>.
32832
ef606249
UD
328332011-09-06 Ulrich Drepper <drepper@gmail.com>
32834
32835 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32836 syscall on x86-64.
32837 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32838 syscall.
32839 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32840 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32841 syscall if possible.
32842
6585cb60
UD
328432011-09-05 Ulrich Drepper <drepper@gmail.com>
32844
32845 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32846 e_ident. Don't pass to find_mapsXX.
32847 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32848
a5f524e4
LD
328492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32850
32851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32852 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32853 * sysdeps/x86_64/multiarch/strchr.S: Update.
32854 Check bit_slow_BSF bit.
32855 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32856 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32857 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32858
554881ef
UD
328592011-09-05 Ulrich Drepper <drepper@gmail.com>
32860
d96de963
UD
32861 [BZ #13134]
32862 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32863 before glibc 2.15.
32864 (tryshell): Define.
32865 (__spawni): Change last parameter to be flag. Test
32866 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32867 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32868 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32869 * posix/spawni.c: Likewise.
32870 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32871 * posix/spawnp.c: Likewise. Change normal version to use
32872 SPAWN_XFLAGS_USE_PATH.
32873 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32874 SPAWN_XFLAGS_TRY_SHELL.
32875
d48e5868
UD
32876 [BZ #13150]
32877 * posix/glob.h: Remove gcc 1.x support.
32878
554881ef
UD
32879 [BZ #13068]
32880 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32881
693fb948
LD
328822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32883
32884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32885 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32886 strrchr-sse2-bsf
32887 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32888 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32889 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32890 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32891 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32892 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32893
1b48c537
UD
328942011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32895
49d42c37
UD
32896 * sysdeps/x86_64/wcscmp.S: New file.
32897
1b48c537
UD
32898 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32899 wcscmp-c wcscmp-sse2
32900 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32901 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32902 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32903 * wcsmbs/wcscmp.c: Allow renaming.
32904
15c95c5d
DM
329052011-09-05 David S. Miller <davem@davemloft.net>
32906
32907 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32908 stack slot, rather than the struct return pointer slot.
32909 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32910 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32912 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32913
2f0ad8f3
UD
329142011-09-05 Ulrich Drepper <drepper@gmail.com>
32915
d88ae418
UD
32916 * po/ja.po: Update from translation team.
32917
2f0ad8f3
UD
32918 [BZ #13144]
32919 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32920 kernel in 64-bit binaries.
32921
5f4318d1
DM
329222011-09-01 David S. Miller <davem@davemloft.net>
32923
32924 * elf/elf.h (HWCAP_SPARC_*): Move to..
32925 * sysdeps/sparc/sysdep.h: this new file and add new values.
32926 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32927 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32928 _DL_HWCAP_COUNT to 24.
32929 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32930 entries.
32931 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32932 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32933 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32934 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32935 instead of magic constants.
32936 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32937
3ba57516
DM
329382011-08-31 David S. Miller <davem@davemloft.net>
32939
32940 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32941 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32942 Reimplement to do errno handling inline.
32943 (SYSCALL_ERROR_HANDLER): New macro.
32944 (__SYSCALL_STRING): Do not do errno handling in asm.
32945 (__CLONE_SYSCALL_STRING): Delete.
32946 (__INTERNAL_SYSCALL_STRING): Delete.
32947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32948 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32949 (PSEUDO): Reimplement to do errno handling inline.
32950 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32951 (SYSCALL_ERROR_HANDLER): New macro.
32952 (__SYSCALL_STRING): Do not do errno handling in asm.
32953 (__CLONE_SYSCALL_STRING): Delete.
32954 (__INTERNAL_SYSCALL_STRING): Delete.
32955 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32956 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32957 i386.
32958 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32959 (inline_syscall*): Add 'err' argument.
32960 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32961 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32962 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32963 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32964
32965 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32966 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32967
2bc17433
AS
329682011-08-30 Andreas Schwab <schwab@redhat.com>
32969
32970 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32971
fbeb5f4d
JO
329722011-08-29 Jiri Olsa <jolsa@redhat.com>
32973
32974 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32975 directive.
32976
ad69cc26
DM
329772011-08-24 David S. Miller <davem@davemloft.net>
32978
32979 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32980
39dd69df
AS
329812011-08-24 Andreas Schwab <schwab@redhat.com>
32982
32983 * elf/Makefile: Add rules to build and run unload8 test.
32984 * elf/unload8.c: New file.
32985 * elf/unload8mod1.c: New file.
32986 * elf/unload8mod1x.c: New file.
32987 * elf/unload8mod2.c: New file.
32988 * elf/unload8mod3.c: New file.
32989
32990 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32991 it wasn't used.
32992
2c0b250a
DM
329932011-08-23 David S. Miller <davem@davemloft.net>
32994
32995 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32996 subtract stack bias.
32997 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32998 %sp not %fp in calculations.
32999 (_JMPBUF_UNWINDS_ADJ): Likewise.
33000
22044b48
DM
33001 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33002 (aio_suspend): Call it to force an exception region around the
33003 AIO_MISC_WAIT() invocation.
33004
2cae4995
AS
330052011-08-23 Andreas Schwab <schwab@redhat.com>
33006
33007 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33008 backslash.
33009
873a772e
AJ
330102011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33011
33012 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33013 protection macro.
33014 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33015 and <dl-machine.h>.
33016 (Elf64_FuncDesc): Remove.
33017
25ad0df1
DM
330182011-08-22 David S. Miller <davem@davemloft.net>
33019
33020 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33021 sigaltstack check, add missing cfi directives.
33022 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33023 missing cfi directives, and sigaltstack handling.
33024
e888bcbe
AS
330252011-08-16 Andreas Schwab <schwab@redhat.com>
33026
33027 [BZ #11724]
33028 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33029 object is seen twice.
33030 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33031
33032 * elf/Makefile (distribute): Add tst-initorder2.c.
33033 (tests): Add tst-initorder2.
33034 (modules-names): Add tst-initorder2a tst-initorder2b
33035 tst-initorder2c tst-initorder2d. Add rules to build them.
33036 ($(objpfx)tst-initorder2.out): New rule.
33037 * elf/tst-initorder2.c: New file.
33038 * elf/tst-initorder2.exp: New file.
33039
87162f46
AS
330402011-08-22 Andreas Schwab <schwab@redhat.com>
33041
70538b7f
AS
33042 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33043
f55ffe58
AS
33044 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33045 dependencies back to end of function.
33046
87162f46
AS
33047 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33048 $(elfobjdir)/ld.so.
33049
91b392a4
UD
330502011-08-21 Ulrich Drepper <drepper@gmail.com>
33051
33052 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33053 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33055 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33056 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33057 of __vdso_gettimeofday.
33058 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33059 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33060 attribute_hidden.
33061 (_libc_vdso_platform_setup): Remove initialization of
33062 __vdso_gettimeofday and __vdso_time.
33063
5c43483f
UD
330642011-08-20 Ulrich Drepper <drepper@gmail.com>
33065
775a77e7
UD
33066 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33067 and fgetc_unlocked.
33068 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33069 getc_unlocked.
89f447ed 33070
49c74ba9
UD
33071 * elf/dl-open.c (add_to_global): Report additions to the global scope
33072 for LD_DEBUG=scopes.
33073 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33074 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33075
5c43483f
UD
33076 [BZ #13114]
33077 * stdio-common/Makefile (tests): Add bug24.
33078 * stdio-common/bug24.c: New file.
33079
a101b025
AJ
330802011-08-19 Andreas Jaeger <aj@suse.de>
33081
33082 [BZ #13114]
33083 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33084 non-existant file when using close-on-exec mode.
33085
c88f1766
UD
330862011-08-20 Ulrich Drepper <drepper@gmail.com>
33087
0276a718
UD
33088 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33089 the very first instruction.
33090
c88f1766
UD
33091 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33092 the CFI state in the end.
33093 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33094 inclusion of dl-trampoline.h.
33095 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33096
51ccffa0
AS
330972011-08-19 Andreas Schwab <schwab@redhat.com>
33098
94d7165f
AS
33099 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33100 expectations for long double.
33101
51ccffa0
AS
33102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33103 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33104
fd708658 331052011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33106
33107 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33108 artificual limit depends upon the system page size.
33109
44f0a71e
UD
331102011-08-17 Ulrich Drepper <drepper@gmail.com>
33111
33112 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33113 * resolv/Makefile: Define CFLAGS-libresolv.
33114
8de79a24
AS
331152011-08-17 Andreas Schwab <schwab@redhat.com>
33116
33117 * nss/makedb.c (compute_tables): Make variables used in nested
33118 function static.
33119
27724598
UD
331202011-08-17 Ulrich Drepper <drepper@gmail.com>
33121
c5305d88
UD
33122 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33123 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33124 if buffer was too small.
33125
27724598
UD
33126 * elf/pldd.c (main): Attach to all threads in the process.
33127 Rewrite /proc handling to use *at functions.
33128
076fe015
UD
331292011-08-16 Ulrich Drepper <drepper@gmail.com>
33130
174baab3
UD
33131 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33132 specifies first scope to show.
33133 (dl_open_worker): Update callers. Move printing scope of new
33134 object to before the relocation.
44f0a71e 33135 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33136 * sysdeps/generic/ldsodefs.h: Update declaration.
33137
076fe015
UD
33138 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33139 string for the scope number.
33140
a60df2c3
UD
331412011-08-14 Ulrich Drepper <drepper@gmail.com>
33142
33143 * nscd/servicescache.c (cache_addserv): Make sure written is always
33144 initialized.
33145
5e4287d1
RM
331462011-08-14 Roland McGrath <roland@hack.frob.com>
33147
85ae0589
RM
33148 * sysdeps/i386/i486/bits/atomic.h
33149 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33150 statement expression, so as to suppress "set but not used" warning.
33151 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33152
69f63097
RM
33153 * string/strncat.c (STRNCAT): Use prototype definition.
33154
675456ef
RM
33155 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33156 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33157 -Iprograms here.
33158 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33159 (localedef-modules): Add localedef.
33160 (locale-modules): Add locale.
33161
5e4287d1
RM
33162 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33163 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33164 to avoid a warning.
33165
9c96ff23
DM
331662011-08-14 David S. Miller <davem@davemloft.net>
33167
33168 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33169 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33170
f9ddf089
UD
331712011-08-13 Ulrich Drepper <drepper@gmail.com>
33172
44f0a71e 33173 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33174 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33175 * elf/rtld.c (dl_main): Set l_name of vDSO.
33176 Call _dl_show_scope when DL_DEBUG_SCOPES.
33177 (process_dl_debug): Recognize scopes flag and also set it for all.
33178 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33179 Declare _dl_show_scope.
33180
1dc27704
UD
33181 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33182 (do_dlopen): Pass caller_dlopen to dl_open.
33183 (__libc_dlopen_mode): Initialize caller_dlopen.
33184
f9ddf089
UD
33185 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33186 of libc. Make tolower call locale-independent. Optimize a bit by
33187 using isdigit instead of isalnum.
33188 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33189
9ac533d3
UD
331902011-08-12 Ulrich Drepper <drepper@gmail.com>
33191
33192 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33193 was a dependency or dynamically loaded.
33194
89edf2e9
UD
331952011-08-11 Ulrich Drepper <drepper@gmail.com>
33196
8e999d29
UD
33197 * intl/l10nflist.c: Allow architecture-specific pop function.
33198 * sysdeps/x86_64/l10nflist.c: New file.
33199
89edf2e9
UD
33200 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33201 classification.
33202
14d96785
AS
332032011-08-10 Andreas Schwab <schwab@redhat.com>
33204
33205 * include/dirent.h: Add libc_hidden_proto for scandirat and
33206 scandirat64. Don't declare __scandirat64.
33207 * dirent/scandirat.c: Add libc_hidden_def.
33208 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33209 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33210
6761ac04
DM
332112011-08-10 David S. Miller <davem@davemloft.net>
33212
33213 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33214 enum.
33215 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33216 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33217 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33218
c55fbd1e
UD
332192011-08-09 Ulrich Drepper <drepper@gmail.com>
33220
33221 * Versions.def [libc]: Add GLIBC_2.15.
33222 * dirent/Makefile (routines): Add scandirat and scandirat64.
33223 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33224 GLIBC_2.15.
33225 * dirent/dirent.h: Declare scandirat and scandirat64.
33226 * dirent/scandirat.c: New file.
33227 * dirent/scandirat64.c: New file.
33228 * sysdeps/wordsize-64/scandirat.c: New file.
33229 * sysdeps/wordsize-64/scandirat64.c: New file.
33230 * dirent/opendir.c: Define opendirat.
33231 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33232 using scandirat.
33233 * dirent/scandir64.c: Adjust for scandir.c change.
33234 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33235 __scandirat64, and __scandir_cancel_handler.
33236 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33237 additional parameter and use openat instead of open (outside of ld.so).
33238 Add new __opendir as wrapper around __opendirat.
33239 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33240 here without requiring old scandirat implementation.
33241
879165f2
UD
332422011-08-08 Ulrich Drepper <drepper@gmail.com>
33243
33244 * dirent/scandir.c (cancel_handler): Renamed to
33245 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33246 defined. Adjust users.
33247 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33248 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33249
cb7e923b
UD
332502011-08-04 Ulrich Drepper <drepper@gmail.com>
33251
16292edd
UD
33252 * string/test-string.h (IMPL): Use __STRING to expand name and then
33253 stringify it.
33254
cb7e923b
UD
33255 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33256 of cleanups.
33257
cff82933
LD
332582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33259
33260 * string/Makefile: Update.
33261 (strop-tests): Append strncat.
33262 * string/test-wcscmp.c: New file.
33263 New comprehensive test for wcscmp.
33264 * string/test-strcmp.c: Update.
33265 (WIDE): New define.
33266
9be9bfcc
AS
332672011-07-22 Andreas Schwab <schwab@redhat.com>
33268
33269 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33270 line.
33271
2e96f1c7
AS
332722011-07-26 Andreas Schwab <schwab@redhat.com>
33273
33274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33275 encoding to ACE if AI_IDN.
33276
85188888
JJ
332772011-08-01 Jakub Jelinek <jakub@redhat.com>
33278
33279 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33280 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33281
5fa16e9b
LD
332822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33283
33284 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33285 Fix overflow bug in strncat.
33286 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33287
33288 * string/test-strncat.c: Update.
33289 Add new tests for checking overflow bugs.
33290
332912011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33292
33293 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33294 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33295 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33296 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33297 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33298 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33299 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33300 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33301 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33302
33303 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33304 (USE_AS_STRCAT): Define.
33305 Add strcat and strncat support.
33306 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33307
8c1a459f
AS
333082011-07-25 Andreas Schwab <schwab@redhat.com>
33309
33310 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33311 __n bigger than INT_MAX+1.
33312 (__strncmp_g): Likewise.
33313
bba33c28
UD
333142011-07-23 Ulrich Drepper <drepper@gmail.com>
33315
798be72d
UD
33316 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33317 * libio/stido.h: Likewise.
33318
8accd4dc
UD
33319 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33320 (AF_NFC): Define.
33321 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33322 (AF_NFC): Define.
33323
cbff0d96
UD
33324 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33325 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33326 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33327 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33328 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33329
9191c04a
UD
33330 [BZ #13021]
33331 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33332 installed.
33333
bba33c28
UD
33334 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33335 typo.
33336 (_dl_x86_64_save_sse): Likewise.
33337
90f139dd
UD
333382011-07-22 Ulrich Drepper <drepper@gmail.com>
33339
1aae088a
UD
33340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33341 OSXSAVE.
33342 (_dl_x86_64_save_sse): Likewise.
33343
8e2045f5
UD
33344 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33345
90f139dd
UD
33346 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33347
1d002f25
AS
333482011-07-21 Andreas Schwab <schwab@redhat.com>
33349
33350 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33351 change.
33352 (_dl_x86_64_save_sse): Use correct AVX check.
33353
21137f89
UD
333542011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33355
33356 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33357 bug in strncpy/strncat.
33358 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33359
a65c0b7a
UD
333602011-07-21 Ulrich Drepper <drepper@gmail.com>
33361
33362 * string/tester.c (test_strcat): Add tests for different alignments
33363 of source and destination.
33364 (test_strncat): Likewise.
33365
6986b98a
UD
333662011-07-20 Ulrich Drepper <drepper@gmail.com>
33367
90bb2039
UD
33368 [BZ #12852]
33369 * posix/glob.c (glob): Check passed in values before using them in
33370 expressions to avoid some overflows.
33371 (glob_in_dir): Likewise.
33372
5644ef54
UD
33373 [BZ #13007]
33374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33375 check for AVX enablement so that we don't crash with old kernels and
33376 new hardware.
33377 * elf/tst-audit4.c: Add same checks here.
33378 * elf/tst-audit6.c: Likewise.
33379
33380 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33381
bfc9dc9b
AS
333822011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33383
33384 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33385
702e64bb
UD
333862011-07-20 Ulrich Drepper <drepper@gmail.com>
33387
33388 * po/cs.po: Update from translation team.
33389 * po/bg.po: Likewise.
33390
295e904f
MP
333912011-07-12 Marek Polacek <mpolacek@redhat.com>
33392
33393 * misc/sys/cdefs.h: Add support for const attribute.
33394 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33395 to gnu_dev_{major,minor,makedev} functions.
33396
3ff94596
MP
333972011-07-20 Marek Polacek <mpolacek@redhat.com>
33398
33399 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33400
28b59fca
AS
334012011-07-20 Andreas Schwab <schwab@redhat.com>
33402
33403 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33404 strlen results.
33405
19df733e
AK
334062011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33407
33408 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33409 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33410 register in order to avoid conflicts with the soft frame pointer
33411 being held in r11 when necessary.
33412 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33413 (INTERNAL_VSYSCALL_NCS): Likewise.
33414
c8835729
MP
334152011-07-14 Marek Polacek <mpolacek@redhat.com>
33416
33417 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33418 * elf/dl-fini.c (_dl_fini): Adjust caller.
33419 * elf/dl-close.c (_dl_close_worker): Likewise.
33420 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33421
b902330c
MP
334222011-07-15 Marek Polacek <mpolacek@redhat.com>
33423
8991e135
MP
33424 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33425 "aux_cache->nlibs < 0".
33426
b902330c
MP
33427 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33428 in the reload-count case.
33429
99710781
LD
334302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33431
33432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33433 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33434 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33435 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33436 * sysdeps/x86_64/multiarch/strcat.S: New file.
33437 * sysdeps/x86_64/multiarch/strncat.S: New file.
33438 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33439 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33440 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33441 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33442 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33443 (USE_AS_STRCAT): Define.
33444 Add strcat and strncat support.
33445 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33446 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33447 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33448 * string/strncat.c: Update.
33449 (USE_AS_STRNCAT): Define.
33450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33451 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33452 and i7.
33453 * sysdeps/x86_64/multiarch/init-arch.h
33454 (bit_Prefer_PMINUB_for_stringop): New.
33455 (index_Prefer_PMINUB_for_stringop): Likewise.
33456 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33457 bit_Prefer_PMINUB_for_stringop.
33458
7dc6bd90
UD
334592011-07-19 Ulrich Drepper <drepper@gmail.com>
33460
33461 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33462 buffer64.
33463 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33464 of casting of buffer.
33465 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33466 buffer32 and buffer64.
33467 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33468 writes instead of casting of buffer.
33469 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33470 buffer32.
33471 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33472 casting of buffer.
33473
e0e72284
AS
334742011-07-19 Andreas Schwab <schwab@redhat.com>
33475
33476 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33477
feb1eb0b
UD
334782011-07-19 Ulrich Drepper <drepper@gmail.com>
33479
33480 * nscd/nscd.c (termination_handler): Don't do anything for a database
33481 if it has not yet been initialized.
33482
298711ff
UD
334832011-07-18 Ulrich Drepper <drepper@gmail.com>
33484
33485 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33486
334872011-07-15 Marek Polacek <mpolacek@redhat.com>
33488
33489 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33490
f9d68389
UD
334912011-07-18 Ulrich Drepper <drepper@gmail.com>
33492
33493 * po/nl.po: Update from translation team.
33494 * po/sv.po: Likewise.
33495
db290cf5
RM
334962011-07-16 Roland McGrath <roland@hack.frob.com>
33497
33498 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33499 now disallowed by GCC.
5c550700 33500
fd5e21c7
RM
33501 * configure.in (use-default-link): Default to yes if a test -shared
33502 link meets our qualifications.
33503 * configure: Regenerated.
33504
5c550700
RM
33505 * config.make.in (output-format): New variable.
33506 * configure.in: Check for ld --print-output-format support.
33507 * configure: Regenerated.
33508 * Makerules ($(common-objpfx)format.lds)
33509 [$(output-format) != unknown]: Just use $(output-format),
33510 instead of the linker-script munging.
33511
9fa2c032
RM
335122011-07-14 Roland McGrath <roland@hack.frob.com>
33513
a6928d51
RM
33514 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33515 of $(common-objpfx)shlib.lds.
33516 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33517
661607b3
RM
33518 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33519 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33520
9fa2c032
RM
33521 * configure.in (-z relro check): Adjust test code to add a large
33522 writable data section after it.
33523 * configure: Regenerated.
33524
defe9061
RM
335252011-07-11 Roland McGrath <roland@hack.frob.com>
33526
33527 * configure.in (-z relro check): Fix test code to make the variable
33528 truly const.
33529 * configure: Regenerated.
33530
319b9ad4
UD
335312011-07-11 Ulrich Drepper <drepper@gmail.com>
33532
33533 * nscd/nscd.h (struct traced_file): Define.
33534 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33535 elements. Add traced_files.
33536 (inotify_fd): Declare.
33537 (register_traced_file): Declare.
33538 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33539 (inotify_fd): Export.
33540 (resolv_conf_descr): Remove.
33541 (nscd_init): Move inotify descriptor creation to main.
33542 Don't register files for notification here.
33543 (register_traced_file): New function.
33544 (invalidate_cache): Don't use reset_res to determine whether to call
33545 res_init, go through the list of registered files.
33546 (main_loop_poll): The inotify descriptors are now stored in the
33547 structures for the traced files.
33548 (main_loop_epoll): Likewise
33549 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33550 to __nss_disable_nscd.
33551 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33552 for a database anymore. Check the records for all the registered
33553 files instead.
33554 * nss/Makefile (libnss_files-routines): Add files-init.
33555 (libnss_db-routines): Add db-init.
33556 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33557 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33558 * nss/nss_db/db-init.c: New file.
33559 * nss/nss_files/files-init.c: New file.
33560 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33561 __nss_lookup_function.
33562 (__nss_lookup_function): Call nss_load_library.
33563 (nss_load_all_libraries): New function.
33564 (__nss_disable_nscd): Take parameter with callback function for files
33565 to register. Set is_nscd. Load all the DSOs for the NSS modules
33566 used for the cached services.
33567 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33568 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33569 options for features to all the files in nscd.
33570
33571 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33572
23bee3e8
RM
335732011-07-10 Roland McGrath <roland@hack.frob.com>
33574
33575 * csu/elf-init.c (__libc_csu_init): Comment typo.
33576
46a5b7f0
UD
335772011-07-09 Ulrich Drepper <drepper@gmail.com>
33578
33579 * po/pl.po: Update from translation team.
33580 * po/ja.po: Likewise.
33581 * po/ru.po: Likewise.
33582 * po/ko.po: Likewise.
33583 * po/fr.po: Likewise.
33584
d30cf5bb
RM
335852011-07-09 Roland McGrath <roland@hack.frob.com>
33586
113ddea4
RM
33587 * configure.in (.ctors/.dtors header and trailer check):
33588 Use an empirical test on a built program.
33589 * configure: Regenerated.
33590
574920b4
RM
33591 * configure.in (-z relro check): Use an empirical test on a built DSO.
33592 Detect, but do not require, on ia64.
33593 * configure: Regenerated.
33594
d30cf5bb
RM
33595 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33596 Update tests that use readelf to use $READELF instead.
33597 * configure: Regenerated.
33598
8538fdb3
UD
335992011-07-08 Ulrich Drepper <drepper@gmail.com>
33600
33601 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33602 if the result is not used.
33603
04d08991
AJ
336042011-07-05 Andreas Jaeger <aj@suse.de>
33605
33606 [BZ#9696]
33607 * stdlib/tst-strtod.c: Add testcase.
33608
de283087
AD
336092011-07-07 Ulrich Drepper <drepper@gmail.com>
33610
4e5f31c8 33611 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33612 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33613 The latter has a higher limit. Take additional parameter to pass to
33614 the new function.
33615 (__pathconf): Pass file to __statfs_link_max.
33616 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33617 __statfs_link_max.
33618 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33619 __statfs_link_max.
33620
de283087
AD
33621 [BZ #12868]
33622 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33623 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33624 Handle Lustre.
33625 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33626 (__statfs_filesize_max): Likewise.
33627 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33628
c75fa153
AJ
336292011-07-05 Andreas Jaeger <aj@suse.de>
33630
33631 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33632
1a544854
UD
336332011-07-06 Marek Polacek <mpolacek@redhat.com>
33634
33635 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33636 `status' variable.
33637 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33638 Likewise.
33639
6f0eec67
UD
336402011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33641
33642 * Makefile (strop-tests): Add strncat.
33643 * string/test-strncat.c: New file.
33644
aae30307
UD
336452011-06-30 Marek Polacek <mpolacek@redhat.com>
33646
33647 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33648
c0cfb5eb
UD
336492011-06-21 Andreas Jaeger <aj@suse.de>
33650
33651 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33652 Copy rule from iconvdata/Makefile.
33653
01636b21
UD
336542011-07-06 Ulrich Drepper <drepper@gmail.com>
33655
33656 [BZ #12922]
33657 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33658 but no long options are defined, just return 'W'.
33659
9895c8bc
UD
336602011-06-22 Marek Polacek <mpolacek@redhat.com>
33661
33662 [BZ #9696]
33663 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33664
5d4cf042
UD
336652011-07-06 Ulrich Drepper <drepper@gmail.com>
33666
33667 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33668 netgroups to read.
960e5535 33669 (innetgr): Likewise.
5d4cf042 33670
751eb97e
RM
336712011-07-05 Roland McGrath <roland@hack.frob.com>
33672
33673 * config.make.in (install_root): Default to $(DESTDIR).
33674
f15f1e45
UD
336752011-07-05 Ulrich Drepper <drepper@gmail.com>
33676
33677 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33678
4e34ac6a
RM
336792011-07-02 Roland McGrath <roland@hack.frob.com>
33680
5e9b6af4
RM
33681 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33682
84f9ea0f
RM
33683 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33684 containing directory rather than embedding absolute directory names.
33685
ea5ee9f7
RM
33686 * scripts/check-local-headers.sh: Rewritten using awk.
33687 Match by word, not by line. Print error messages for matches.
33688 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33689
1b74661a
RM
33690 * Makerules [shlib-lds-flags empty]:
33691 ($(common-objpfx)libc_pic.opts): New target.
33692 ($(common-objpfx)libc_pic.os.clean): New target.
33693 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33694
33695 * config.make.in (OBJCOPY): New variable.
33696 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33697 * configure: Regenerated.
33698
f781ef40
RM
33699 * config.make.in (use-default-link): New variable.
33700 * configure.in (use_default_link): Grok --with-default-link to set it.
33701 * configure: Regenerated.
33702 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33703 (shlib-lds, shlib-lds-flags): Define to empty.
33704
2d4fa81e
RM
33705 * Makerules (shlib-lds): New variable.
33706 (shlib-lds-flags): New variable.
33707 (build-shlib, build-moduile, build-module-asneeded): Use it.
33708 ($(common-objpfx)libc.so): Use $(shlib-lds).
33709 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33710 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33711
31fffa6b
RM
33712 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33713 DT_FLAGS/DT_FLAGS_1 with zero flags.
33714
4e34ac6a
RM
33715 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33716 linker script munging.
33717
fcfc776b
UD
337182011-07-02 Ulrich Drepper <drepper@gmail.com>
33719
33720 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33721 as 128-bit value.
33722 * crypt/sha512.c (sha512_process_block): Perform total addition using
33723 128-bit if possible.
33724 (__sha512_finish_ctx): Likewise.
33725 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33726 as 64-bit value.
33727 * crypt/sha256.c (SWAP64): Define.
33728 (sha256_process_block): Perform total addition using 64-bit if
33729 possible.
33730 (__sha256_finish_ctx): Likewise.
33731
99231d9a
UD
337322011-07-01 Ulrich Drepper <drepper@gmail.com>
33733
33734 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33735 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33736 * nscd/hstcache.c (cache_addhst): Likewise.
33737 * nscd/grpcache.c (cache_addgr): Likewise.
33738 * nscd/aicache.c (addhstaiX): Likewise
33739 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33740
445b4a53
TK
337412011-07-01 Thorsten Kukuk <kukuk@suse.de>
33742
33743 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33744 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33745 * nscd/hstcache.c (cache_addhst): Likewise.
33746 * nscd/grpcache.c (cache_addgr): Likewise.
33747 * nscd/aicache.c (addhstaiX): Likewise
33748
6d4d8e8e
AS
337492011-07-01 Andreas Schwab <schwab@redhat.com>
33750
33751 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33752 domain only when needed.
33753
89f654c5
AS
337542011-06-30 Andreas Schwab <schwab@redhat.com>
33755
33756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33757 is always restored.
33758
cf3b23ff
UD
337592011-06-29 Ulrich Drepper <drepper@gmail.com>
33760
33761 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33762 are re-adding the entry.
33763 * nscd/servicescache.c (cache_addserv): Likewise.
33764
751626f9
AJ
337652011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33766
33767 * sysdeps/generic/dl-irel.h: fix protection against multiple
33768 inclusions.
33769 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33770
9113ea1f
UD
337712011-06-28 Ulrich Drepper <drepper@gmail.com>
33772
5c0b8d90
UD
33773 [BZ #12935]
33774 * malloc/memusage.sh: Fix quoting in message.
33775 * debug/xtrace.sh: Likewise.
33776
9113ea1f
UD
33777 * configure.in: Remove support for --experimental-malloc option, make
33778 it the default.
33779 * config.make.in: Likewise.
33780 * malloc/Makefile: Likewise.
33781
a4172181
AS
337822011-06-27 Andreas Schwab <schwab@redhat.com>
33783
33784 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33785 two-byte characters.
33786
78a7eee7
RM
337872011-06-27 Roland McGrath <roland@hack.frob.com>
33788
62bede13
RM
33789 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33790 AC_CACHE_CHECK invocation.
33791 * configure: Regenerated.
33792
78a7eee7
RM
33793 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33794
5ce33a62
UD
337952011-06-27 Ulrich Drepper <drepper@gmail.com>
33796
034807a9
UD
33797 [BZ #12350]
33798 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33799 bit from old_res_options.
33800
4902da17
UD
33801 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33802
5ce33a62
UD
33803 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33804 value type for setfct.
33805
c2344f56
L
338062011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33807
33808 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33809 __gettimeofday instead of gettimeofday.
33810
68468076
UD
338112011-06-26 Ulrich Drepper <drepper@gmail.com>
33812
33813 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33814
acb0d739
L
338152011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33816
33817 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33818
33819 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33820 info.
33821
8912479f
L
338222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33823
33824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33825 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33826 strcpy-sse2-unaligned strncpy-sse2-unaligned
33827 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33828 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33829 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33830 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33831 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33832 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33833 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33834 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33835 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33836 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33837 (STRCPY): Support SSE2 and SSSE3 versions.
33838
d5495a11
UD
338392011-06-24 Ulrich Drepper <drepper@gmail.com>
33840
33841 [BZ #12874]
33842 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33843 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33844 kernels which artificially limit size of requests.
33845
0b1cbaae
L
338462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33847
33848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33849 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33850 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33851 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33852 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33853 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33854 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33855 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33856 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33858 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33859 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33860 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33861 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33862 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33864 Enable unaligned load optimization for Intel Core i3, i5 and i7
33865 processors.
33866 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33867 Define.
33868 (index_Fast_Unaligned_Load): Define.
33869 (HAS_FAST_UNALIGNED_LOAD): Define.
33870
07f494a0
MP
338712011-06-23 Marek Polacek <mpolacek@redhat.com>
33872
33873 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33874
fa3fc0fe
UD
338752011-06-22 Ulrich Drepper <drepper@gmail.com>
33876
33877 [BZ #12907]
33878 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33879 until it is clear that the information is realy needed.
33880 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33881
e12df166
AS
338822011-06-22 Andreas Schwab <schwab@redhat.com>
33883
33884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33885
852eb34d
UD
338862011-06-22 Ulrich Drepper <drepper@gmail.com>
33887
84e2a551
UD
33888 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33889 /sys/devices/system/cpu/online if it is usable.
33890
852eb34d
UD
33891 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33892 reading the information from the /proc filesystem to once a second.
33893
6e502e19
UD
338942011-06-21 Andreas Jaeger <aj@suse.de>
33895
33896 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33897 NULL after inclusion of kernel headers.
33898
75d39ff2
UD
338992011-06-21 Ulrich Drepper <drepper@gmail.com>
33900
51f9aa6a
UD
33901 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33902 calls to internal_setent.
33903
c0244a9d
UD
33904 [BZ #12885]
33905 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33906 addresses using gethostbyname4_r ignore IPv4 addresses.
33907
c5e3c2ae
UD
33908 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33909 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33910
75d39ff2
UD
33911 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33912
42675c6f
DM
339132011-06-20 David S. Miller <davem@davemloft.net>
33914
33915 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33916 inclusions.
33917 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33918
33919 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33920 (elf_irel): Use it.
33921 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33922 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33923 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33924 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33925 * sysdeps/x86_64/dl-irel.h: Likewise.
33926
33927 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33928 * elf/dl-sym.c: Likewise.
33929
57912a71
UD
339302011-06-15 Ulrich Drepper <drepper@gmail.com>
33931
33932 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33933 need to dereference resplen2.
33934
ee22793d
AS
339352011-06-14 Andreas Schwab <schwab@redhat.com>
33936
33937 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33938
a9e836b0
UD
339392011-06-15 Ulrich Drepper <drepper@gmail.com>
33940
77fb9117
UD
33941 * Makeconfig: Define vardbdir and inst_vardbdir.
33942 * nss/Makefile: Add rules to install db-Makefile.
33943
40c1b22c
UD
33944 * nss/nss_db/db-XXX.c: Cleanup.
33945
9f2da732
UD
33946 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33947 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33948 GLIBC_PRIVATE.
33949 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33950 * nss/makedb.c: Implement -g option to specify that value strings
33951 are generated and should not be added to table iterated over for
33952 get*ent calls.
33953 * nss/nss_db/db-initgroups.c: New file.
33954
82e9a1f7
UD
33955 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33956 interface.
33957
c41af17e
UD
33958 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33959 (internal_getgrouplist): Adjust to name change.
33960 Update use_initgroups_entry if this is not the first call.
33961 * nss/databases.def: Add initgroups entry.
33962
a9e836b0
UD
33963 * nss/makedb.c (compute_tables): Check result of multiple hash table
33964 sizes to minimize maximum chain length.
33965
2666d441
UD
339662011-06-14 Ulrich Drepper <drepper@gmail.com>
33967
33968 * Versions.def: Add entry for libnss_db.
33969 * shlib-versions: Likewise.
33970 * nss/Makefile: Add rules to build libnss_db.
33971 * nss/Versions: Add libnss_db information. Organize libnss_files
33972 entries better.
33973 * nss/db-Makefile: Add gshadow support. Change rules for the new
33974 makedb progra. Some minor improvements to generate smaller files.
33975 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33976 here from...
33977 * nss/makedb.c: ...here.
33978 Improve database format to be smaller and require less memory at
33979 runtime.
33980 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33981 db anymore.
33982 * nss/nss_db/db-netgrp.c: Likewise.
33983 * nss/nss_db/db-open.c: Likewise.
33984 * nss/nss_files/flies-XXX.x: Adjust comments.
33985 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33986 * nss/nss_files/files-grp.c: Likewise.
33987 * nss/nss_files/files-hosts.c: Likewise.
33988 * nss/nss_files/files-network.c: Likewise.
33989 * nss/nss_files/files-proto.c: Likewise.
33990 * nss/nss_files/files-pwd.c: Likewise.
33991 * nss/nss_files/files-rpc.c: Likewise.
33992 * nss/nss_files/files-service.c: Likewise.
33993 * nss/nss_files/files-sgrp.c: Likewise.
33994 * nss/nss_files/files-spwd.c: Likewise.
33995 * nss/nss_db/db-alias.c: Removed.
33996 * nss/nss_db/dummy-db.h: Removed.
33997
9ee76b5a
UD
339982011-06-02 Ulrich Drepper <drepper@gmail.com>
33999
34000 * nss/makedb.c: Rewritten to not use database library.
34001 * nss/Makefile: Update to build new makedb program.
34002
c71ca1f8
AJ
340032011-06-14 Andreas Jaeger <aj@suse.de>
34004
34005 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34006 memset declaration.
34007
3154bfb8
UD
340082011-06-10 Andreas Schwab <schwab@redhat.com>
34009
34010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34011 tmpbuf.
34012
b350afab
RM
340132011-06-10 Roland McGrath <roland@hack.frob.com>
34014
decd4e50
RM
34015 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34016 * elf/Makefile ($(objpfx)ld.so): Likewise.
34017
5615eaf2
RM
34018 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34019 Don't list ld.so twice in dependencies.
34020
34021 * posix/bug-regex31.c: Include <stdlib.h>.
34022
34023 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34024
34025 * nis/nss_compat/compat-spwd.c
34026 (getspent_next_nss_netgr): Remove unused variable.
34027 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34028
34029 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34030 nonmembers" output to use the right array.
34031
34032 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34033
34034 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34035
34036 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34037 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34038 * catgets/gencat.c (read_input_file): Likewise.
34039 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34040
34041 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34042 variable definition inside #if's controlling its use.
34043
34044 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34045
34046 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34047
34048 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34049
34050 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34051 unreachable code.
34052
34053 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34054
b68e08db
RM
34055 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34056 * configure: Regenerated.
34057
b350afab
RM
34058 * Makerules: Revert last change.
34059 * elf/Makefile: Likewise.
34060
28368601
RM
340612011-06-09 Roland McGrath <roland@hack.frob.com>
34062
34063 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34064 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34065 (reloc-link): Likewise.
34066
11988f8f
UD
340672011-06-09 Ulrich Drepper <drepper@gmail.com>
34068
34069 * elf/Makefile: Add rules to build pldd.
34070 * elf/pldd.c: New file.
34071 * elf/pldd-xx.c: New file.
34072
e80fab37
UD
340732011-06-07 Ulrich Drepper <drepper@gmail.com>
34074
34075 * version.h: Update for 2.15 development version.
34076
9b849836
DM
340772011-06-07 David S. Miller <davem@davemloft.net>
34078
34079 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34080 ifuncs.
34081 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34082 elf_machine_lazy_rel): Likewise.
34083 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34084 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34085 elf_machine_lazy_rel): Likewise.
34086 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34087 dl_hwcap via passed in argument.
34088 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34089 Likewise.
34090
5a31b283
AK
340912011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34092
34093 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34094
069e52f8
RM
340952011-06-06 Roland McGrath <roland@hack.frob.com>
34096
34097 [BZ #12849]
34098 * manual/fdl-1.1.texi: New file, verbatim from:
34099 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34100 * manual/lgpl-2.1.texi: New file, verbatim from:
34101 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34102 * manual/Makefile (licenses): New variable, list those new file names.
34103 (texis): Use it.
34104 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34105
34106 * manual/fdl.texi: File removed.
34107 * manual/lesser.texi: File removed.
34108 * manual/libc.texinfo (Copying, Documentation License):
34109 Use new @include file names, put @appendix directive before @include.
34110
f16846a5
JJ
341112011-06-04 Jakub Jelinek <jakub@redhat.com>
34112
34113 [BZ #12841]
34114 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34115 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34116 (mq_open): Add __NTH.
34117
3d29045b
L
341182011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34119
34120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34121 Assume Intel Core i3/i5/i7 processor if AVX is available.
34122
8c297311
UD
341232011-05-31 Ulrich Drepper <drepper@gmail.com>
34124
34125 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34126 typo.
34127
c8fc0c91
UD
341282011-05-31 Andreas Schwab <schwab@redhat.com>
34129
34130 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34131 memory. Use alloca_account. Fix memory leak when retrying.
34132
5b27a807
UD
341332011-05-31 Ulrich Drepper <drepper@gmail.com>
34134
356f8bc6
UD
34135 * version.h (RELEASE): Bump for 2.14 release.
34136 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34137
5b27a807
UD
34138 * config.make.in (RANLIB): Remove entry.
34139
01f16ab0
UD
341402011-05-30 Ulrich Drepper <drepper@gmail.com>
34141
41fce8bd
UD
34142 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34143 (libc.pot): Work around missing support for .ksh extension in xgettext.
34144
4769ae77
UD
34145 [BZ #12684]
34146 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34147 if both request failed.
34148 (send_dg): In case of server errors clear resplen or *resplen2.
34149
6b1e7d19
UD
34150 [BZ #12454]
34151 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34152 when there are multiple maps.
34153 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34154 (_dl_fini): Remove test here.
34155
01f16ab0
UD
34156 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34157
b1ebd700
UD
341582011-05-29 Ulrich Drepper <drepper@gmail.com>
34159
7ae22829
UD
34160 [BZ #12350]
34161 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34162 bit from old_res_options.
34163 (gaih_inet): Likewise.
34164
553149f6 34165 [BZ #11099]
18a84741 34166 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34167 as signed.
34168
652ffab1
UD
34169 * resolv/res_init.c (res_setoptions): Make the code more compact.
34170
16985fd0
UD
34171 [BZ #11558]
34172 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34173 set RES_USEVC.
34174
0464f746
UD
34175 [BZ #11634]
34176 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34177
7d17596c
UD
34178 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34179
cf6bbbd7
UD
34180 [BZ #11781]
34181 * malloc/malloc.h: Declare malloc hook variables as volatile.
34182
13f1ab36
UD
34183 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34184 in last patch.
34185
b1ebd700
UD
34186 [BZ #11799]
34187 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34188 raise in the comment.
80e2212d
UD
34189 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34190 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34191 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34192
ce67228d
UD
341932011-05-28 Ulrich Drepper <drepper@gmail.com>
34194
8887a920
UD
34195 [BZ #12811]
34196 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34197 grow the buffers more if it already has to be sufficient.
34198 (build_wcs_upper_buffer): Likewise.
34199 * posix/regexec.c (check_matching): Likewise.
34200 (clean_state_log_if_needed): Likewise.
34201 (extend_buffers): Don't enlarge buffers beyond size of the input
34202 buffer.
34203 Patches mostly by Emil Wojak <emil@wojak.eu>.
34204 * posix/bug-regex32.c: New file.
34205 * posix/Makefile (tests): Add bug-regex32.
34206
4f031072
UD
34207 * locale/findlocale.c (_nl_find_locale): Return right away if
34208 _nl_explode_name failed.
34209 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34210
d0478f0c
UD
34211 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34212
de81b246
UD
34213 * debug/xtrace.sh: Unify messages.
34214 * malloc/memusage.sh: Likewise.
34215
c738465a
UD
34216 [BZ #12813]
34217 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34218 time symbol from vDSO. Substitute with vsyscall if not available.
34219 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34220 __vdso_time.
34221
f1f929d7
UD
34222 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34223 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34224 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34225 Add sendmmsg and internal_sendmmsg.
34226 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34227 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34228 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34229
ce67228d
UD
34230 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34231 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34232 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34233
e57420c6
UD
342342011-05-27 Ulrich Drepper <drepper@gmail.com>
34235
a8509ca5
UD
34236 [BZ #12813]
34237 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34238 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34239 available.
34240 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34241 __vdso_getcpu.
34242
e57420c6
UD
34243 [BZ #12814]
34244 * iconvdata/Makefile (tests): Add bug-iconv9.
34245 * iconvdata/bug-iconv9.c: New file.
34246
4d07db15
AS
342472011-05-27 Andreas Schwab <schwab@redhat.com>
34248
34249 [BZ #12814]
34250 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34251
ea486f69
JJ
342522011-05-25 Jakub Jelinek <jakub@redhat.com>
34253
34254 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34255 (struct user_regs_struct): Change intcs field back to cs.
34256
6f038433
UD
342572011-05-25 Ulrich Drepper <drepper@gmail.com>
34258
34259 * po/ja.po: Update from translation team.
34260
67f86a25
UD
342612011-05-23 Ulrich Drepper <drepper@gmail.com>
34262
34263 [BZ #12795]
34264 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34265 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34266
def7fbd6
AS
342672011-05-20 Andreas Schwab <schwab@redhat.com>
34268
34269 * stdlib/longlong.h: Update from GCC.
34270
f50ef8f1
AS
342712011-05-23 Andreas Schwab <schwab@redhat.com>
34272
34273 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34274 parameter name.
34275 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34276 Add parameter name.
34277 (__sysconf): Pass it down.
34278
de7ce8f1
UD
342792011-05-22 Ulrich Drepper <drepper@gmail.com>
34280
f2962a71
UD
34281 [BZ #12671]
34282 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34283 some situations.
34284 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34285 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34286 add in in __libc_use_alloca calls. Adjust callers.
34287 (glob): Use malloc in some situations.
34288
de7ce8f1
UD
34289 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34290 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34291 pltexit.
34292
aec84f53
UD
342932011-05-21 Ulrich Drepper <drepper@gmail.com>
34294
05bb4a68
UD
34295 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34296 and CLOCK_BOOTTIME_ALARM.
34297
7ea72f99
UD
34298 [BZ #12782]
34299 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34300 is returned.
34301
7e4afad5
UD
34302 * string/_strerror.c (__strerror_r): Print negative errors as signed
34303 numbers.
34304
8e211fec
UD
34305 [BZ #12777]
34306 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34307 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34308 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34309
f7d82dc9
UD
34310 * configure.in: Fix typo in redirection and correct removal of test
34311 files in two cases.
34312
cc9e536d
UD
34313 [BZ #12788]
34314 * locale/setlocale.c (new_composite_name): Fix test to check for
34315 identical name of all categories.
34316
aec84f53
UD
34317 [BZ #12792]
34318 * libio/filedoalloc.c (local_isatty): New function.
34319 (_IO_file_doallocate): Use local_isatty.
34320 * stdio-common/perror.c (perror): In case a new stream is used
34321 forward the stream error.
34322 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34323 error flag.
34324
78e64fdc
RT
343252011-05-20 Ulrich Drepper <drepper@gmail.com>
34326
34a9094f
UD
34327 [BZ #11869]
34328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34329 alloca.
34330 * include/alloca.h (extend_alloca_account): Define.
34331
78e64fdc
RT
34332 [BZ #11857]
34333 * posix/regex.h: Fix comments with documentation of user-accessible
34334 fields after compilation and describe correct free'ing of pattern
34335 after re_compile_pattern.
34336 Patch by Reuben Thomas <rrt@sc3d.org>.
34337
457bddfc
RA
343382011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34339
34340 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34341 and -mno-altivec to prevent the compiler from using Altivec and/or
34342 VSX instructions when the corresponding registers are not available.
34343
a4527b51
AS
343442011-05-19 Andreas Schwab <schwab@redhat.com>
34345
34346 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34347
ed690b2f
UD
343482011-05-19 Ulrich Drepper <drepper@gmail.com>
34349
34350 * libio/freopen.c (freopen): Use __dup2, not dup2.
34351 * libio/freopen64.c (freopen64): Likewise.
34352
8db73634
L
343532011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34354
34355 [BZ #12775]
34356 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34357 * math/Makefile (tests): Add test-powl.
34358 (CFLAGS-test-powl.c): Define.
34359 * math/test-powl.c: New file.
34360
0a197a9d
L
343612011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34362
34363 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34364
ee30c380
UD
343652011-05-17 Ulrich Drepper <drepper@gmail.com>
34366
34367 [BZ #11837]
34368 * iconvdata/gb18030.c: Update to GB18020-2005.
34369
6ce75379
UD
343702011-05-16 Ulrich Drepper <drepper@gmail.com>
34371
a4b89fd8
AR
34372 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34373 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34374 Patch by Aharon Robbins <arnold@skeeve.com>.
34375
ea389b12
UD
34376 [BZ #11892]
34377 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34378 on the stack.
34379
68a3f91f
UD
34380 [BZ #11895]
34381 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34382 through underflows.
34383
15cc7dd1
UD
34384 [BZ #12766]
34385 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34386 point to strings before performing equality test for error_one_per_line
34387 mode.
34388
f3799213
UD
34389 [BZ #11697]
34390 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34391
d79a9c94
UD
34392 [BZ #11820]
34393 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34394 (struct user_fpregs_struct): Avoid __uint*_t types.
34395
56e5eb46
UD
34396 [BZ #6420]
34397 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34398 symbol info. Use it instead of calling _dl_addr locally.
34399 (lock_and_info): New function.
34400 (tr_freehook): Call lock_and_info and pass symbol info as additional
34401 parameter to tr_where.
34402 (tr_mallochook): Likewise.
34403 (tr_reallochook): Likewise.
34404 (tr_memalignhook): Likewise.
34405
6ce75379
UD
34406 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34407 used and couldn't be at all thread-safe.
34408
f8a3b5bf
UD
344092011-05-15 Ulrich Drepper <drepper@gmail.com>
34410
94b7cc37
UD
34411 * libio/freopen.c (freopen): Don't close old file descriptor
34412 before the new one is opened. Instead dup the new file descriptor
34413 to the old one after the new stream is created.
34414 * libio/freopen64.c (freopen64): Likewise.
34415 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34416 * libio/fileops.c (_IO_new_file_close_it): Handle new
34417 _IO_FLAGS2_NOCLOSE flag.
34418 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34419 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34420 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34421 _IO_FLAGS2_NOCLOSE flag.
34422 * include/unistd.h: Add hidden_proto for dup3.
34423 Define __have_dup3.
34424 * io/dup3.c: Define hidden symbol.
34425 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34426
bd25564e
UD
34427 [BZ #7101]
34428 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34429 when an incomplete long option is used.
34430 * posix/tst-getopt_long1.c: New file.
34431 * posix/Makefile (tests): Add tst-getopt_long1.
34432
c84cfef4
UD
34433 [BZ #10138]
34434 * scripts/config.guess: Update from autoconf-2.68.
34435 * scripts/config.sub: Likewise.
34436
3b85df27
UD
34437 [BZ #10157]
34438 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34439 tests into ...
34440 (has_cpuclock): ...this. New function.
34441 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34442 macro here based on has_cpuclock code.
34443
15a856b1
UD
34444 [BZ #10149]
34445 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34446 First byte (not low byte) is now always NUL.
34447 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34448
05f399e6
UD
34449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34450 Use non-cancelable interfaces.
34451
10a52685 34452 [BZ #9809]
94ecc67d
UD
34453 * locale/iso-639.def: Add entry for Sorani.
34454
f8a3b5bf
UD
34455 [BZ #11901]
34456 * include/stdlib.h: Move include protection to the right place.
34457 Define abort_msg_s. Declare __abort_msg with it.
34458 * stdlib/abort.c (__abort_msg): Adjust type.
34459 * assert/assert.c (__assert_fail_base): New function. Majority
34460 of code from __assert_fail. Allocate memory for __abort_msg with
34461 mmap.
34462 (__assert_fail): Now call __assert_fail_base.
34463 * assert/assert-perr.c: Remove bulk of implementation. Use
34464 __assert_fail_base.
34465 * include/assert.hL Declare __assert_fail_base.
34466 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34467 mmap.
34468 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34469
1af4e298
UD
344702011-05-14 Ulrich Drepper <drepper@gmail.com>
34471
f8a3b5bf 34472 [BZ #11952]
d26dfc60
MG
34473 [BZ #12453]
34474 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34475 until all modules are registered in the DTV.
34476 * elf/Makefile: Add rules to build and run tst-tls19.
34477 * elf/tst-tls19.c: New file.
34478 * elf/tst-tls19mod1.c: New file.
34479 * elf/tst-tls19mod2.c: New file.
34480 * elf/tst-tls19mod3.c: New file.
34481 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34482
2fc54d6f
UD
34483 [BZ #12083]
34484 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34485 correctly.
34486
98d76b46
UD
34487 [BZ #12601]
34488 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34489 two-byte sequence errors.
34490 * iconvdata/Makefile (tests): Add bug-iconv8.
34491 * iconvdata/bug-iconv8.c: New file.
34492
da3c19ef
UD
34493 [BZ #12626]
34494 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34495 buf2 definition.
34496
ca408c15
UD
34497 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34498
d6f67f7d
UD
34499 [BZ #12432]
34500 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34501 (dummy_getcfa): New function.
34502 (init): Get _Unwind_GetCFA address, use dummy if not found.
34503 (backtrace_helper): In recursion check, also check whether CFA changes.
34504 (__backtrace): Completely initialize arg.
34505
1af4e298 34506 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
34507 storing incomplete byte sequence in state object. Avoid testing for
34508 guaranteed too small input if we know there is enough data available.
1af4e298 34509
da62f81b
AS
345102011-05-11 Andreas Schwab <schwab@redhat.com>
34511
34512 * Makeconfig (+link-pie): Indent.
34513 * Rules (binaries-pie): Define if $(have-fpie) and
34514 $(build-shared).
34515 (binaries-shared): Also filter out $(binaries-pie).
34516 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34517 * nscd/Makefile (others-pie): Add nscd.
34518 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34519 ($(objpfx)nscd): Remove command override.
34520 * login/Makefile (others-pie): Add pt_chown.
34521 ($(objpfx)pt_chown): Remove command override.
34522 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34523 remove command overrides.
34524
fcabc0f8
UD
345252011-05-13 Ulrich Drepper <drepper@gmail.com>
34526
20030ae6
UD
34527 * libio/tst_putwc.c: Fix error messages.
34528
fcabc0f8
UD
34529 [BZ #12724]
34530 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34531 currently writing and seek to current position when not.
34532 * libio/Makefile (tests): Add bug-fclose1.
34533 * libio/bug-fclose1.c: New file.
34534
320a5dc0
PB
345352011-05-12 Ulrich Drepper <drepper@gmail.com>
34536
34537 [BZ #12511]
34538 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34539 don't set DF_1_NODELETE here.
34540 (do_lookup_x): When entering new entry test for copy relocation
34541 and if necessary set DF_1_NODELETE flag.
34542 * elf/tst-unique4.cc: New file.
34543 * elf/tst-unique4.h: New file.
34544 * elf/tst-unique4lib.cc: New file.
34545 * elf/Makefile: Add rules to build and run tst-unique4.
34546 Patch by Piotr Bury <pbury@goahead.com>.
34547
22836f52
UD
345482011-05-11 Ulrich Drepper <drepper@gmail.com>
34549
f574184a
UD
34550 [BZ #12052]
34551 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34552
e1fb097f
UD
34553 [BZ #12625]
34554 * misc/mntent_r.c (addmntent): Flush the stream after the output
34555
22836f52
UD
34556 [BZ #12393]
34557 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34558 (is_trusted_path_normalize): Skip initial colon. Append slash
34559 to empty buffer. Duplicate is_trusted_path code but allow
34560 constructed patch to be prefix.
34561 (is_dst): Allow $ORIGIN followed by /.
34562 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34563 Correct testing of result of is_trusted_path_normalize
34564 (decompose_rpath): Fix warning.
34565
7b3b0b2a
UD
345662011-05-10 Ulrich Drepper <drepper@gmail.com>
34567
34568 [BZ #11257]
34569 * grp/initgroups.c (internal_getgrouplist): When we found the service
34570 list through the initgroups entry in nsswitch.conf do not always
34571 continue on a successful lookup. Don't always use the
eac80ce2 34572 __nss_group_database value if it is set.
7b3b0b2a
UD
34573 * nss/nsswitch.conf (initgroups): Change action for successful db
34574 lookup to continue for compatibility.
34575
2a81eaa5
UD
345762011-05-09 Ulrich Drepper <drepper@gmail.com>
34577
be97a69e
UD
34578 [BZ #11532]
34579 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34580 and CP774 modules.
34581 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34582 and CP774 modules.
34583 * iconvdata/tst-tables.sh: Likewise.
34584 * iconvdata/cp770.c: New file.
34585 * iconvdata/cp771.c: New file.
34586 * iconvdata/cp772.c: New file.
34587 * iconvdata/cp773.c: New file.
34588 * iconvdata/cp774.c: New file.
34589 * iconvdata/testdata/CP770: New file.
34590 * iconvdata/testdata/CP770..UTF8: New file.
34591 * iconvdata/testdata/CP771: New file.
34592 * iconvdata/testdata/CP771..UTF8: New file.
34593 * iconvdata/testdata/CP772: New file.
34594 * iconvdata/testdata/CP772..UTF8: New file.
34595 * iconvdata/testdata/CP773: New file.
34596 * iconvdata/testdata/CP773..UTF8: New file.
34597 * iconvdata/testdata/CP774: New file.
34598 * iconvdata/testdata/CP774..UTF8: New file.
34599
34600 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34601 END CHARMAP line.
34602 * iconvdata/gen-8bit-gap.sh: Likewise.
34603 * iconvdata/gen-8bit.sh: Likewise.
34604
c1e9e399
UD
34605 * locale/iso-639.def: Add ary entry.
34606
24c55fb3 34607 [BZ #11258]
96b4b1b0
UD
34608 * locale/C-translit.h.in: Add U20A1 transliteration.
34609
bdc2f971
KB
34610 [BZ #12178]
34611 * locale/iso-639.def: Add wae entry.
34612 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34613
2952b117
UD
34614 [BZ #12545]
34615 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34616 for n.
34617
2a81eaa5
UD
34618 [BZ #12711]
34619 * locale/C-translit.h.in: Add entry for U20B9.
34620 Patch by pravin.d.s@gmail.com.
34621
28377d1b
UD
346222011-05-08 Ulrich Drepper <drepper@gmail.com>
34623
7fb90fb8
UD
34624 [BZ #12713]
34625 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34626 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34627 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34628 in rtld. Use *stat64.
7fb90fb8 34629 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34630 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34631 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34632 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34633 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34634 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34635 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34636 __fstatat64 macros.
7fb90fb8
UD
34637 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34638 * dirent/rewinddir.c: Add libc_hidden_def.
34639 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34640 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34641
28377d1b
UD
34642 * include/dirent.h (__alloc_dir): Add flags parameter.
34643 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34644 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34645 __alloc_dir.
34646 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34647 from fdopendir if O_CLOEXEC is already set.
34648
66bdbaa4
AM
346492011-03-15 Alan Modra <amodra@gmail.com>
34650
34651 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34652 l_tls_firstbyte_offset non-zero. Save padding offset in
34653 l_tls_firstbyte_offset for later use.
34654 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34655 freeing static tls block.
34656
95721191
JN
346572011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34658
34659 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34660 where #ifdef was intended. The intent is to prevent ARG_MAX from
34661 being defined by the kernel headers.
34662
f87dfb1f
UD
346632011-05-07 Ulrich Drepper <drepper@gmail.com>
34664
34665 [BZ #12734]
34666 * resolv/resolv.h: Define RES_NOTLDQUERY.
34667 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34668 no-tld-query and set RES_NOTLDQUERY.
34669 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34670 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34671 modern BIND to search name as TLD unless forbidden.
34672
47c3cd7a
UD
346732011-05-07 Petr Baudis <pasky@suse.cz>
34674 Ulrich Drepper <drepper@gmail.com>
34675
34676 [BZ #12393]
34677 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34678 (is_trusted_path): ...to here.
c1e9ea35 34679 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34680 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34681 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34682
8a35c912
PP
346832011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34684
34685 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34686 __BEGIN/__END_DECLS.
34687
acd41f47
UD
346882011-05-06 Ulrich Drepper <drepper@gmail.com>
34689
34690 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34691 NSS_STATUS_NOTFOUND if no record was found.
34692
597df647
AS
346932011-05-05 Andreas Schwab <schwab@redhat.com>
34694
34695 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34696 (headers-not-in-tirpc): Remove rpc/netdb.h
34697 * resolv/netdb.h: Revert last change.
34698
b9af1301
PP
346992011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34700
34701 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34702 circular dependency between libgcc.a and libc.a.
34703
4e34d5f5
AS
347042011-05-05 Andreas Schwab <schwab@redhat.com>
34705
34706 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34707 * nis/Makefile: Don't install rpcsvc/*.
34708 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34709 instead of <rpc/types.h>.
34710 (MAXHOSTNAMELEN): Define.
34711
00ee369c
AS
347122011-05-03 Andreas Schwab <schwab@redhat.com>
34713
34714 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34715
0b592a30
MB
347162011-04-28 Maciej Babinski <mbabinski@google.com>
34717
34718 [BZ #12714]
34719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34720 gethostbyname4_r when IPv6 results are possible.
34721
6e04cbbe
UD
347222011-05-02 Ulrich Drepper <drepper@gmail.com>
34723
34724 [BZ #12723]
34725 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34726 _PC_PIPE_BUF handling.
34727
e4ecafe0
BH
347282011-04-30 Bruno Haible <bruno@clisp.org>
34729
34730 [BZ #12717]
34731 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34732 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34733 to 'int'.
34734 * inet/getnameinfo.c (getnameinfo): Likewise.
34735
125ee683
UD
347362011-04-29 Ulrich Drepper <drepper@gmail.com>
34737
34738 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34739 to groups setting in database lookup.
34740 * nss/nsswitch.conf: Add initgroups entry.
34741
b722481a
EB
347422011-04-22 Ulrich Drepper <drepper@gmail.com>
34743
34744 [BZ #12685]
34745 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34746 mode string.
34747 Patch by Eric Blake <eblake@redhat.com>.
34748
4df46dbd
L
347492011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34750
34751 * sunrpc/Makefile (need-export-routines): Add svc_run.
34752 (routines): Remove svc_run.
34753 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34754 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34755 * sunrpc/svc_run.c (svc_run): Likewise.
34756 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34757
e84142d2
UD
347582011-04-21 Ulrich Drepper <drepper@gmail.com>
34759
34760 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34761 problem in reallocation in last patch.
34762
877175d8
UD
347632011-04-20 Ulrich Drepper <drepper@gmail.com>
34764
34765 * sunrpc/Makefile: Move inclusion of Rules.
34766
ab8eed78
UD
347672011-04-19 Ulrich Drepper <drepper@gmail.com>
34768
34769 * nss/nss_files/files-initgroups.c: New file.
34770 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34771 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34772 _nss_files_initgroups_dyn.
34773
e3d8f584
RS
347742011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34775
34776 * elf/elf.h (R_ARM_IRELATIVE): Define.
34777
af190f45
UD
347782011-04-19 Ulrich Drepper <drepper@gmail.com>
34779
34780 * po/ru.po: Update from translation team.
34781
53cf59ef
UD
347822011-04-17 Ulrich Drepper <drepper@gmail.com>
34783
34784 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34785 dependencies.
34786
4c559bcd
MF
347872011-02-06 Mike Frysinger <vapier@gentoo.org>
34788
34789 [BZ #12653]
34790 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34791 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34792 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34793 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34794 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34795
4420675c
AS
347962011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34797
34798 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34799 differing bytes.
34800 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34801 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34802 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34803
75ea32ab
UD
348042011-04-17 Ulrich Drepper <drepper@gmail.com>
34805
34806 [BZ #12420]
34807 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34808 storing it.
34809 * stdlib/bug-getcontext.c: New file.
34810 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34811
27390476
AK
348122011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34813
34814 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34815 instructions into .machine "z9-109".
34816 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34817 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34818
10442705
AK
348192011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34820
34821 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34822 between environment variables and auxiliary vector.
34823
7b57bfe5
UD
348242011-04-16 Ulrich Drepper <drepper@gmail.com>
34825
34826 * Makefile: Add rules to build linkobj/libc.so.
34827 * include/libc-symbols.h: Define libc_hidden_nolink.
34828 * include/rpc/auth.h: Mark functions which are to be hidden.
34829 * include/rpc/auth_des.h: Likewise.
34830 * include/rpc/auth_unix.h: Likewise.
34831 * include/rpc/clnt.h: Likewise.
34832 * include/rpc/des_crypt.h: Likewise.
34833 * include/rpc/key_prot.h: Likewise.
34834 * include/rpc/pmap_clnt.h: Likewise.
34835 * include/rpc/pmap_prot.h: Likewise.
34836 * include/rpc/pmap_rmt.h: Likewise.
34837 * include/rpc/rpc_msg.h: Likewise.
34838 * include/rpc/svc.h: Likewise.
34839 * include/rpc/svc_auth.h: Likewise.
34840 * include/rpc/xdr.h: Likewise.
34841 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34842 * nss/Makefile: Likewise.
34843 * sunrpc/Makefile: Don't install headers. Build library with normal
34844 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34845 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34846 for the compat linking library. Remove use of INTDEF/INTUSE.
34847 * sunrpc/auth_none.c: Likewise.
34848 * sunrpc/auth_unix.c: Likewise.
34849 * sunrpc/authdes_prot.c: Likewise.
34850 * sunrpc/authuxprot.c: Likewise.
34851 * sunrpc/clnt_gen.c: Likewise.
34852 * sunrpc/clnt_perr.c: Likewise.
34853 * sunrpc/clnt_raw.c: Likewise.
34854 * sunrpc/clnt_simp.c: Likewise.
34855 * sunrpc/clnt_tcp.c: Likewise.
34856 * sunrpc/clnt_udp.c: Likewise.
34857 * sunrpc/clnt_unix.c: Likewise.
34858 * sunrpc/des_crypt.c: Likewise.
34859 * sunrpc/des_soft.c: Likewise.
34860 * sunrpc/get_myaddr.c: Likewise.
34861 * sunrpc/key_call.c: Likewise.
34862 * sunrpc/key_prot.c: Likewise.
34863 * sunrpc/netname.c: Likewise.
34864 * sunrpc/pm_getmaps.c: Likewise.
34865 * sunrpc/pm_getport.c: Likewise.
34866 * sunrpc/pmap_clnt.c: Likewise.
34867 * sunrpc/pmap_prot.c: Likewise.
34868 * sunrpc/pmap_prot2.c: Likewise.
34869 * sunrpc/pmap_rmt.c: Likewise.
34870 * sunrpc/publickey.c: Likewise.
34871 * sunrpc/rpc_cmsg.c: Likewise.
34872 * sunrpc/rpc_common.c: Likewise.
34873 * sunrpc/rpc_dtable.c: Likewise.
34874 * sunrpc/rpc_prot.c: Likewise.
34875 * sunrpc/rpc_thread.c: Likewise.
34876 * sunrpc/rtime.c: Likewise.
34877 * sunrpc/svc.c: Likewise.
34878 * sunrpc/svc_auth.c: Likewise.
34879 * sunrpc/svc_authux.c: Likewise.
34880 * sunrpc/svc_raw.c: Likewise.
34881 * sunrpc/svc_run.c: Likewise.
34882 * sunrpc/svc_simple.c: Likewise.
34883 * sunrpc/svc_tcp.c: Likewise.
34884 * sunrpc/svc_udp.c: Likewise.
34885 * sunrpc/svc_unix.c: Likewise.
34886 * sunrpc/svcauth_des.c: Likewise.
34887 * sunrpc/xcrypt.c: Likewise.
34888 * sunrpc/xdr.c: Likewise.
34889 * sunrpc/xdr_array.c: Likewise.
34890 * sunrpc/xdr_float.c: Likewise.
34891 * sunrpc/xdr_intXX_t.c: Likewise.
34892 * sunrpc/xdr_mem.c: Likewise.
34893 * sunrpc/xdr_rec.c: Likewise.
34894 * sunrpc/xdr_ref.c: Likewise.
34895 * sunrpc/xdr_sizeof.c: Likewise.
34896 * sunrpc/xdr_stdio.c: Likewise.
34897
e6c61494
UD
348982011-04-10 Ulrich Drepper <drepper@gmail.com>
34899
34900 [BZ #12650]
34901 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34902 * sysdeps/ia64/dl-tls.h: Likewise.
34903 * sysdeps/powerpc/dl-tls.h: Likewise.
34904 * sysdeps/s390/dl-tls.h: Likewise.
34905 * sysdeps/sh/dl-tls.h: Likewise.
34906 * sysdeps/sparc/dl-tls.h: Likewise.
34907 * sysdeps/x86_64/dl-tls.h: Likewise.
34908 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34909
34fe483e
AS
349102011-03-14 Andreas Schwab <schwab@redhat.com>
34911
34912 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34913 rpath element also skip the following colon.
34914 (expand_dynamic_string_token): Add is_path parameter and pass
34915 down to DL_DST_REQUIRED and _dl_dst_substitute.
34916 (decompose_rpath): Call expand_dynamic_string_token with
34917 non-zero is_path. Ignore empty rpaths.
34918 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34919 with zero is_path.
34920
f12a32e6
AS
349212011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34922
34923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34924 Make cancelable.
34925
38a7d692
UD
349262011-04-09 Ulrich Drepper <drepper@gmail.com>
34927
34928 [BZ #12655]
34929 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34930 Patch by Filipe David Manana <fdmanana@apache.org>.
34931
e451d22b
AS
349322011-04-07 Andreas Schwab <schwab@redhat.com>
34933
34934 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34935 Maintain aligned stack.
34936 (CHECK_RSP): Remove unused macro.
34937
dedc7c7b
UD
349382011-04-03 Ulrich Drepper <drepper@gmail.com>
34939
34940 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34941 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34942
94521213
UD
349432011-04-02 Ulrich Drepper <drepper@gmail.com>
34944
34945 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34946
8cb700c0 34947 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34948
0354e355
L
349492011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34950
34951 [BZ #12518]
34952 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34953 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34954 * sysdeps/x86_64/memmove.c: New file.
34955 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34956 (memcpy): Renamed to ...
34957 (__new_memcpy): This.
34958 (memcpy): Provide GLIBC_2_14 memcpy.
34959 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34960 (memcpy): Provide GLIBC_2_2_5 memcpy.
34961
8593482f
UD
349622011-04-01 Ulrich Drepper <drepper@gmail.com>
34963
34964 [BZ #12631]
34965 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34966
81a5726b
AS
349672011-03-30 Andreas Schwab <schwab@redhat.com>
34968
34969 * misc/syncfs.c: New file.
34970 * misc/Makefile (routines): Add syncfs.
34971 * posix/unistd.h: Declare syncfs.
34972 * sysdeps/unix/syscalls.list: Add syncfs.
34973
00e5419f
AS
349742011-04-01 Andreas Schwab <schwab@redhat.com>
34975
34976 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34977 open_by_handle_at.
34978 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34979 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34981 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34983 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34984 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34985
748876bf
UD
349862011-04-01 Ulrich Drepper <drepper@gmail.com>
34987
658e451d
UD
34988 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34989 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34990 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34992 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34993 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34994 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34995
748876bf
UD
34996 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34997 sync_file_range.c with -fexceptions.
34998 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34999 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35000 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35001 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35002 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35003 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
35005 sync_file_range as cancellation point
35006 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35007 now a wrapper around __call_sync_file_range with cancellation handling.
35008 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35009 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35010 function name to __call_sync_file_range.
35011 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35012 Add call_sync_file_range.
748876bf 35013
6e63d5e1
AS
350142011-04-01 Andreas Schwab <schwab@redhat.com>
35015
35016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35017 bits/timex.h.
6e63d5e1 35018
46998f74
UD
350192011-04-01 Ulrich Drepper <drepper@gmail.com>
35020
4c1423ed
UD
35021 * iconv/iconv.h: Fix typo in comment.
35022 * io/fcntl.h: Likewise.
35023 * libio/stdio.h: Likewise.
35024 * posix/spawn.h: Likewise.
35025 * posix/unistd.h: Likewise.
35026 * stdlib/stdlib.h: Likewise.
35027 * time/time.h: Likewise.
35028 * wcsmbs/wchar.h: Likewise.
35029
158648c0
UD
35030 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35031 open_by_handle): Add.
35032 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35033 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35034 Augment a few comments.
35035 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35036 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35037 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35039 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35040 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35041 open_by_handle.
35042
46998f74
UD
35043 * io/fcntl.h (AT_EMPTY_PATH): Define.
35044
83fe108b
UD
350452011-03-30 Ulrich Drepper <drepper@gmail.com>
35046
35047 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35048 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35049 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35050 to...
35051 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35052 * Versions.def: Add GLIBC_2.14.
35053 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35054 Export.
83fe108b 35055
bb242059
UD
350562011-03-22 Ulrich Drepper <drepper@gmail.com>
35057
35058 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35059 round counter.
35060 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35061
c97a1282
L
350622011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35063
35064 [BZ #12597]
35065 * string/test-strncmp.c (do_page_test): New function.
35066 (check2): Likewise.
35067 (test_main): Call check2.
35068 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35069
2a115601
UD
350702011-03-20 Ulrich Drepper <drepper@gmail.com>
35071
35072 [BZ #12587]
35073 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35074 Handle cache information in CPU leaf 4.
35075 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35076
8126d904
UD
350772011-03-18 Ulrich Drepper <drepper@gmail.com>
35078
042c49c6 35079 [BZ #12583]
8126d904
UD
35080 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35081 character representation.
35082 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35083
ccfe366e
RA
350842011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35085
35086 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35087 END(__isnan) to END(__isnanf) to match function entry point/label
35088 EALIGN(__isnanf,...).
35089
c6e13027
JJ
350902011-03-10 Jakub Jelinek <jakub@redhat.com>
35091
35092 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35093
33f85a3f
UD
350942011-03-10 Ulrich Drepper <drepper@gmail.com>
35095
028478fa
UD
35096 [BZ #12510]
35097 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35098 copy from the symbol referenced in the relocation to initialize the
35099 used variable.
35100 Patch by Piotr Bury <pbury@goahead.com>.
35101 * elf/Makefile: Add rules to build and tst-unique3.
35102 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35103 * elf/tst-unique3.cc: New file.
35104 * elf/tst-unique3.h: New file.
35105 * elf/tst-unique3lib.cc: New file.
35106 * elf/tst-unique3lib2.cc: New file.
35107
33f85a3f
UD
35108 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35109
03592fc7
MF
351102011-03-10 Mike Frysinger <vapier@gentoo.org>
35111
35112 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35113 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35114 to _start.
03592fc7 35115
6a5ee102
UD
351162011-03-06 Ulrich Drepper <drepper@gmail.com>
35117
35118 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35119 to-be-loaded object along a path to loader is ld.so.
35120
7e4ba49c
HJ
351212011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35122 Ulrich Drepper <drepper@gmail.com>
35123
35124 * sysdeps/x86_64/memset.S: After aligning destination, code
35125 branches to different locations depending on the value of
35126 misalignment, when multiarch is enabled. Fix this.
35127
351282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35129
35130 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35131 Set _x86_64_preferred_memory_instruction for AMD processsors.
35132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35133 Set bit_Prefer_SSE_for_memop for AMD processors.
35134
13a804de
UD
351352011-03-04 Ulrich Drepper <drepper@gmail.com>
35136
35137 * libio/fmemopen.c (fmemopen): Optimize a bit.
35138
9d25c392
AS
351392011-03-03 Andreas Schwab <schwab@redhat.com>
35140
35141 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35142
a5543c6a
RM
351432011-03-03 Roland McGrath <roland@redhat.com>
35144
35145 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35146
012d35f7
DM
351472011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35148
7e4ba49c 35149 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35150 __bzero_ultra1 instead of __memset_ultra1.
35151
4bff6e01
AS
351522011-02-23 Andreas Schwab <schwab@redhat.com>
35153 Ulrich Drepper <drepper@gmail.com>
35154
35155 [BZ #12509]
35156 * include/link.h (struct link_map): Add l_orig_initfini.
35157 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35158 returning unsuccessfully.
35159 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35160 close of a file loaded at startup, restore the original l_initfini
35161 list.
35162 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35163 list, store the pointer.
35164 * elf/Makefile ($(objpfx)noload-mem): New rule.
35165 (noload-ENV): Define.
35166 (tests): Add $(objpfx)noload-mem.
35167 * elf/noload.c: Include <memcheck.h>.
35168 (main): Call mtrace. Close all opened handles.
35169
f2092faf
AS
351702011-02-17 Andreas Schwab <schwab@redhat.com>
35171
35172 [BZ #12454]
35173 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35174 dependencies are missing.
35175
6c8a2e88
ST
351762011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35177
f2092faf 35178 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35179 Hurd needs munmap.
35180 * sysdeps/mach/hurd/ifreq.h: New file.
35181
84a42118
PB
351822011-01-27 Petr Baudis <pasky@suse.cz>
35183 Ulrich Drepper <drepper@gmail.com>
35184
071f805e 35185 [BZ 12445]#
84a42118
PB
35186 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35187 to extend_alloca().
35188 * stdio-common/bug23.c: New file.
35189 * stdio-common/Makefile (tests): Add bug23.
35190
e23fe25b
AS
351912010-09-28 Andreas Schwab <schwab@redhat.com>
35192 Ulrich Drepper <drepper@gmail.com>
35193
35194 [BZ #12489]
35195 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35196 before performing relro protection. At old place add assertion
35197 to make sure nothing changed.
35198
d3f02e10
NS
351992011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35200 Glauber de Oliveira Costa <glommer@gmail.com>
35201
35202 * elf/elf.h: Add new ARM TLS relocs.
35203
d55fd7a5
RA
352042011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35205
35206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35207 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35208 cast from r3.
35209 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35210 'tests' variable.
35211 * sysdeps/wordsize-64/tst-writev.c: New file.
35212
2206397e
RA
352132011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35214
35215 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35216 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35217 insns in _dl_start to prevent a TOC reference before relocs are
35218 resolved.
35219
e9433893
UD
352202011-02-15 Ulrich Drepper <drepper@gmail.com>
35221
35222 [BZ #12469]
35223 * Makeconfig: Remove RANLIB definition.
35224 * Makerules: Don't use RANLIB.
35225 * aclocal.m4: Remove ranlib test.
35226 * configure.in: No need to check for ranlib.
35227 * elf/rtld-Rules: Don't use RANLIB.
35228
f75286c6
ST
352292011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35230
8e31c82d
ST
35231 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35232 protection macro.
35233 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35234 inclusion protection macro.
35235
f75286c6
ST
35236 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35237 SIGRTMIN and SIGRTMAX and print information in that case only when
35238 SIGRTMIN is defined.
35239
c1d0e639
JJ
352402011-02-11 Jakub Jelinek <jakub@redhat.com>
35241
35242 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35243 arginfo fn returning -1.
35244
35245 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35246 and thousands string is zero terminated.
35247
edf9294e
AS
352482011-02-03 Andreas Schwab <schwab@redhat.com>
35249
35250 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35251 sysdeps/unix/sysv/linux/bits/socket.h.
35252
2b7e92df
ST
352532011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35254
edf9294e
AS
35255 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35256 (__CPU_COUNT): Remove old macros.
35257 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35258 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35259 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35260 (__sched_cpualloc, __sched_cpufree): Add declarations.
35261
a4c7ea7b
UD
352622011-02-05 Ulrich Drepper <drepper@gmail.com>
35263
35264 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35265 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35266 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35267 (readdhstai): Return value of addhstaiX call.
35268 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35269 (addgrbyX): Return value returned by cache_addgr.
35270 (readdgrbyname): Return value returned by addgrbyX.
35271 (readdgrbygid): Likewise.
35272 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35273 (addpwbyX): Return value returned by cache_addpw.
35274 (readdpwbyname): Return value returned by addhstbyX.
35275 (readdpwbyuid): Likewise.
35276 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35277 (addservbyX): Return value returned by cache_addserv.
35278 (readdservbyname): Return value returned by addservbyX:
35279 (readdservbyport): Likewise.
35280 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35281 (addhstbyX): Return value returned by cache_addhst.
35282 (readdhstbyname): Return value returned by addhstbyX.
35283 (readdhstbyaddr): Likewise.
35284 (readdhstbynamev6): Likewise.
35285 (readdhstbyaddrv6): Likewise.
35286 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35287 (readdinitgroups): Return value returned by addinitgroupsX.
35288 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35289 (prune_cache): Keep track of timeout value of re-added entries.
35290 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35291 * nscd/nscd.h: Adjust prototypes of readd* functions.
35292
a0bf67cc
RM
352932011-02-04 Roland McGrath <roland@redhat.com>
35294
35295 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35296 (nis_stats): Likewise.
35297 * nis/nis_modify.c (nis_modify): Likewise.
35298 * nis/nis_remove.c (nis_remove): Likewise.
35299 * nis/nis_add.c (nis_add): Likewise.
35300
35301 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35302
35303 * posix/fnmatch_loop.c: Add some consts.
35304
35305 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35306
435b95eb
L
353072011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35308
35309 [BZ #12460]
35310 * config.make.in (config-cflags-novzeroupper): Define.
35311 * configure.in: Substitute libc_cv_cc_novzeroupper.
35312 * elf/Makefile (AVX-CFLAGS): Define.
35313 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35314 (CFLAGS-tst-auditmod4a.c): Likewise.
35315 (CFLAGS-tst-auditmod4b.c): Likewise.
35316 (CFLAGS-tst-auditmod6b.c): Likewise.
35317 (CFLAGS-tst-auditmod6c.c): Likewise.
35318 (CFLAGS-tst-auditmod7b.c): Likewise.
35319 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35320
8517b15e
UD
353212011-02-02 Ulrich Drepper <drepper@gmail.com>
35322
35323 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35324 function to the callback.
35325 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35326
10a656fe
AS
353272011-02-02 Andreas Schwab <schwab@redhat.com>
35328
35329 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35330 of errno.
35331
968dad0a
UD
353322011-01-19 Ulrich Drepper <drepper@gmail.com>
35333
9f94d2ea 35334 [BZ #11724]
968dad0a
UD
35335 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35336 of constructors.
35337 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35338 of destructors.
35339 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35340
35341 [BZ #11724]
35342 * elf/Makefile: Add rules to build and run new test.
35343 * elf/tst-initorder.c: New file.
35344 * elf/tst-initorder.exp: New file.
35345 * elf/tst-initordera1.c: New file.
35346 * elf/tst-initordera2.c: New file.
35347 * elf/tst-initordera3.c: New file.
35348 * elf/tst-initordera4.c: New file.
35349 * elf/tst-initorderb1.c: New file.
35350 * elf/tst-initorderb2.c: New file.
35351 * elf/tst-order-a1.c: New file.
35352 * elf/tst-order-a2.c: New file.
35353 * elf/tst-order-a3.c: New file.
35354 * elf/tst-order-a4.c: New file.
35355 * elf/tst-order-b1.c: New file.
35356 * elf/tst-order-b2.c: New file.
35357 * elf/tst-order-main.c: New file.
35358 New test case by George Gensure <werkt0@gmail.com>.
35359
86e92359
UD
353602010-10-01 Andreas Schwab <schwab@redhat.com>
35361
35362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35363 decoding ACE if AI_CANONIDN.
35364
5d5732b0
UD
353652011-01-18 Ulrich Drepper <drepper@gmail.com>
35366
35367 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35368
a77e8cbc
UD
353692011-01-17 Ulrich Drepper <drepper@gmail.com>
35370
6392473f
UD
35371 * version.h (RELEASE): Bump for 2.13 release.
35372 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35373
620a0529
UD
35374 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35375
18ba70a5
UD
35376 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35377 MADV_NOHUGEPAGE.
32465c3e
UD
35378 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35379 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35380 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35381 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35382 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35383 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35384
c0dafcf1
UD
35385 * posix/getconf.c: Update copyright year.
35386 * catgets/gencat.c: Likewise.
35387 * csu/version.c: Likewise.
35388 * debug/catchsegv.sh: Likewise.
35389 * debug/xtrace.sh: Likewise.
35390 * elf/ldconfig.c: Likewise.
35391 * elf/ldd.bash.in: Likewise.
35392 * elf/sprof.c (print_version): Likewise.
35393 * iconv/iconv_prog.c: Likewise.
35394 * iconv/iconvconfig.c: Likewise.
35395 * locale/programs/locale.c: Likewise.
35396 * locale/programs/localedef.c: Likewise.
35397 * malloc/memusage.sh: Likewise.
35398 * malloc/mtrace.pl: Likewise.
35399 * nscd/nscd.c (print_version): Likewise.
35400 * nss/getent.c: Likewise.
35401
a77e8cbc
UD
35402 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35403 PF_CAIF, and PF_ALG.
35404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35405
77e8bddf
AS
354062011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35407
1f20b93a
AS
35408 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35409 (modules-names): Use them.
35410 (ifunc-test-modules, ifunc-pie-tests): Define.
35411 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35412 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35413 (test-extras): Likewise.
35414 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35415 $(compile-command.c).
35416 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35417 (all-built-dso): Define.
35418 (check-textrel.out, check-execstack.out): Depend on it.
35419
77e8bddf
AS
35420 * configure.in: Don't override --enable-multi-arch.
35421
bc425b33
UD
354222011-01-15 Ulrich Drepper <drepper@gmail.com>
35423
35424 [BZ #6812]
35425 * nscd/hstcache.c (tryagain): Define.
35426 (cache_addhst): Return tryagain not notfound for temporary errors.
35427 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35428 failed.
35429
794c3ad3
UD
354302011-01-14 Ulrich Drepper <drepper@gmail.com>
35431
70181fdd
UD
35432 [BZ #10563]
35433 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35434 to make the syscall.
35435 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35436
794c3ad3
UD
35437 [BZ #12378]
35438 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35439 and fall back to matching as normal character if the string ends before
35440 the matching ']' is found. This is what POSIX requires.
35441 * posix/testfnm.c: Adjust test result.
35442 * posix/globtest.sh: Adjust test result. Add new test.
35443 * posix/tst-fnmatch.input: Likewise.
35444 * posix/tst-fnmatch2.c: Add new test.
35445
68dc9497
AS
354462010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35447
35448 * elf/Makefile (check-execstack): Revert last change. Depend on
35449 check-execstack.h.
35450 (check-execstack.h): New target.
35451 (generated): Add check-execstack.h.
35452 * elf/check-execstack.c: Include "check-execstack.h".
35453 (main): Revert last change.
35454 (handle_file): Return zero if GNU_STACK is absent and
35455 DEFAULT_STACK_PERMS doesn't include PF_X.
35456
451f001b
UD
354572011-01-13 Ulrich Drepper <drepper@gmail.com>
35458
cfa28e56
UD
35459 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35460 in child fails because the descriptor is already closed.
8cf8ce17
UD
35461 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35462 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35463 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35464
1086d70d
UD
35465 [BZ #12397]
35466 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35467 syscall.
35468
451f001b
UD
35469 [BZ #10484]
35470 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35471 temporary buffer used to handle multi lookups locally.
a85b5cb4 35472 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35473
08769175
UD
354742011-01-12 Ulrich Drepper <drepper@gmail.com>
35475
35476 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35477 loader is ld.so.
35478
5e49c52e
UD
354792011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35480
35481 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35482 alignment for SSE2.
35483
60522a5f
UD
354842011-01-12 Ulrich Drepper <drepper@gmail.com>
35485
35486 [BZ #12394]
35487 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35488 characters. When rounding increased number of integer digits recompute
35489 number of groups.
35490 * stdio-common/tst-grouping.c: New file.
35491 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35492
f257bbd7
UD
354932011-01-09 Ulrich Drepper <drepper@gmail.com>
35494
35495 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35496 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35497
35498 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35499 void.
35500 * bits/select.h: Likewise.
35501
fa9c15cb
UD
355022011-01-08 Ulrich Drepper <drepper@gmail.com>
35503
35504 * po/ja.po: Update from translation team.
35505
16c2895f
DM
355062011-01-04 David S. Miller <davem@sunset.davemloft.net>
35507
35508 [BZ #11155]
35509 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35510 implementation just like for lxstat, fxstatat, et al.
35511
2543fef2
JM
355122010-12-27 Jim Meyering <meyering@redhat.com>
35513
35514 [BZ #12348]
35515 * posix/regexec.c (build_trtable): Return failure indication upon
35516 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35517
98727dbe
UD
355182010-12-25 Ulrich Drepper <drepper@gmail.com>
35519
5bd6dc5c
UD
35520 [BZ #12201]
35521 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35522 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35523 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35524 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35525
97983464
UD
35526 [BZ #12207]
35527 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35528
98727dbe
UD
35529 [BZ #12204]
35530 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35531 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35532
4a531bb0
L
355332010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35534
35535 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35536 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35537 script has SORT_BY_INIT_PRIORITY.
35538 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35539 NO_CTORS_DTORS_SECTIONS is defined.
35540 * elf/soinit.c: Likewise.
35541 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35542 NO_CTORS_DTORS_SECTIONS is defined.
35543 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35544 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35545 * sysdeps/sh/init-first.c: Likewise.
35546 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35547
07eb4b71
UD
355482010-12-24 Ulrich Drepper <drepper@gmail.com>
35549
35550 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35551 always use the slow path.
35552
30950a5f
RA
355532010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35554
35555 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35556 similar rule which adds the sysdep directories to the header search in
35557 order to pick up the correct platform stackinfo.h.
35558 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35559 perform test if it is, otherwise return successfully without testing.
35560 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35561 DEFAULT_STACK_PERMS define in stackinfo.h.
35562 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35563 defined in stackinfo.h.
35564 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35565 DEFAULT_STACK_PERMS defined in stackinfo.h.
35566 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35567 * sysdeps/ia64/stackinfo.h: Likewise.
35568 * sysdeps/s390/stackinfo.h: Likewise.
35569 * sysdeps/sh/stackinfo.h: Likewise.
35570 * sysdeps/sparc/stackinfo.h: Likewise.
35571 * sysdeps/x86_64/stackinfo.h: Likewise.
35572 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35573 PF_X for powerpc64. Retain PF_X for powerpc32.
35574
db753e2c
UD
355752010-12-19 Ulrich Drepper <drepper@gmail.com>
35576
14b697f7
UD
35577 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35578 accurately.
db753e2c
UD
35579 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35580 GETDENTS_64BIT_ALIGNED.
35581
28300719
UD
355822010-12-14 Ulrich Drepper <dreper@gmail.com>
35583
14b697f7 35584 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35585
4f197237
AS
355862010-12-10 Andreas Schwab <schwab@redhat.com>
35587
dbb0472f
AS
35588 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35589 _GNU_SOURCE.
35590
4f197237
AS
35591 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35592 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35593 Remove __restrict.
35594 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35595 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35596
fb88ac72
UD
355972010-12-09 Ulrich Drepper <drepper@gmail.com>
35598
35599 [BZ #11655]
35600 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35601 are initialized.
35602
42acbb92
JJ
356032010-12-09 Jakub Jelinek <jakub@redhat.com>
35604
35605 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35606
c038d98d
UD
356072010-12-03 Ulrich Drepper <drepper@gmail.com>
35608
35609 * po/it.po: Update from translation team.
35610
3a4a2499
L
356112010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35612
35613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35614 unused codes.
35615
1e24cf6e
UD
356162010-11-30 Ulrich Drepper <drepper@gmail.com>
35617
35618 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35619
a7690819
AS
356202010-11-24 Andreas Schwab <schwab@redhat.com>
35621
35622 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35623 specially.
35624 (gaih_getanswer_slice): Likewise.
35625
3bf8d1b1
JJ
356262010-10-20 Jakub Jelinek <jakub@redhat.com>
35627
35628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35629
6db52fbb
PB
356302010-05-31 Petr Baudis <pasky@suse.cz>
35631
35632 [BZ #11149]
35633 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35634 silently even in the chroot mode.
35635
eaca7569
UD
356362010-11-22 Ulrich Drepper <drepper@gmail.com>
35637
35638 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35639 last patch a bit. Pretty printing
35640
3056dcdb
UD
356412010-05-31 Petr Baudis <pasky@suse.cz>
35642
35643 [BZ #10085]
35644 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35645 initialization of skip_initgroups_dyn.
35646
cf7c9078
UD
356472010-11-19 Ulrich Drepper <drepper@gmail.com>
35648
35649 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35650 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35651
a1fb5e3e
UD
356522010-11-16 Ulrich Drepper <drepper@gmail.com>
35653
35654 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35655
3540d66b
AS
356562010-11-11 Andreas Schwab <schwab@redhat.com>
35657
35658 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35659 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35660 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35661 ($(objpfx)tst-fnmatch-mem): New rule.
35662 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35663 * posix/tst-fnmatch.c (main): Call mtrace.
35664
13b69574
L
356652010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35666
35667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35668 Support Intel processor model 6 and model 0x2c.
35669
da93d214
LM
356702010-11-10 Luis Machado <luisgpm@br.ibm.com>
35671
35672 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35673 signed comparison.
35674
8ca52c6e
L
356752010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35676
35677 [BZ #12205]
35678 * string/test-strncasecmp.c (check_result): New function.
35679 (do_one_test): Use it.
35680 (check1): New function.
35681 (test_main): Use it.
35682 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35683 Support strcasecmp and strncasecmp.
35684
69da074d
UD
356852010-11-08 Ulrich Drepper <drepper@gmail.com>
35686
35687 [BZ #12194]
35688 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35689 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35690
ff02d528
L
356912010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35692
35693 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35694 IFUNC support.
35695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35696 memset-x86-64.
35697 * sysdeps/x86_64/multiarch/bzero.S: New file.
35698 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35699 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35700 * sysdeps/x86_64/multiarch/memset.S: New file.
35701 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35703 Set bit_Prefer_SSE_for_memop for Intel processors.
35704 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35705 Define.
35706 (index_Prefer_SSE_for_memop): Define.
35707 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35708
344d0b54
LM
357092010-11-04 Luis Machado <luisgpm@br.ibm.com>
35710
35711 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35712 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35713
c0dde15b
UD
357142010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35715
35716 [BZ #12191]
35717 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35718 (__x86_64_raw_data_cache_size_half): Likewise.
35719 (__x86_64_raw_shared_cache_size): Likewise.
35720 (__x86_64_raw_shared_cache_size_half): Likewise.
35721
35722 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35723 (__x86_64_raw_data_cache_size_half): Likewise.
35724 (__x86_64_raw_shared_cache_size): Likewise.
35725 (__x86_64_raw_shared_cache_size_half): Likewise.
35726 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35727 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35728 and __x86_64_raw_shared_cache_size_half. Round
35729 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35730 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35731 to multiple of 256 bytes.
35732
0e516e0e
MS
357332010-11-03 Ulrich Drepper <drepper@gmail.com>
35734
35735 [BZ #12167]
35736 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35737 of inacessible symlinks. Verify result of symlink before returning it.
35738 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35739 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35740
0e012e87
ER
357412010-10-28 Erich Ritz <erichritz@gmail.com>
35742
35743 * math/math.h (isinf): Fix typo in comment.
35744
de0ff7bc
UD
357452010-11-01 Ulrich Drepper <drepper@gmail.com>
35746
35747 * po/da.po: Update from translation team.
35748
fa41c84d
UD
357492010-10-26 Ulrich Drepper <drepper@gmail.com>
35750
35751 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35752 is added to the list.
35753
f0967738
AK
357542010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35755 Ulrich Drepper <drepper@gmail.com>
35756
35757 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35758 the global list here. Move code to...
35759 (_dl_add_to_namespace_list): ...here. New function.
35760 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35761 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35762 * elf/dl-load.c (lose): Don't remove the element from the list.
35763 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35764 (_dl_map_object): Likewise.
35765
357662010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35767
35768 [BZ #12159]
35769 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35770 into all bytes of SSE register.
35771 Patch by Richard Li <richardpku@gmail.com>.
35772
f0967738 357732010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35774
35775 [BZ #12140]
35776 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35777 perturbing.
35778
d0b9e94f
MB
357792010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35780
35781 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35782 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35783 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35784 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35786 submachine.
35787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35788
8e9f92e9
AS
357892010-10-22 Andreas Schwab <schwab@redhat.com>
35790
35791 * include/dlfcn.h (__RTLD_SECURE): Define.
35792 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35793 mode & __RTLD_SECURE instead.
35794 (open_path): Rename preloaded parameter to secure.
35795 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35796 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35797 * elf/dl-deps.c (openaux): Likewise.
35798 * elf/rtld.c (struct map_args): Remove is_preloaded.
35799 (map_doit): Don't use it.
35800 (dl_main): Likewise.
35801 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35802 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35803
bc96fbda
AS
358042010-09-09 Andreas Schwab <schwab@redhat.com>
35805
35806 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35807 (sysd-rules-targets): Remove duplicates.
35808 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35809 rtld-%.$o dependency.
35810
22cd1c9b
AS
358112010-10-18 Andreas Schwab <schwab@redhat.com>
35812
35813 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35814 _dl_map_object do it.
35815
18edac48
UD
358162010-10-19 Ulrich Drepper <drepper@gmail.com>
35817
35818 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35819 fast fma builtins, define the macros in the C99 standard.
35820 (FP_FAST_FMAF): Likewise.
35821 (FP_FAST_FMAL): Likewise.
35822 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35823
35824 * bits/mathdef.h: Update copyright year.
35825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35826
d2050124
MM
358272010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35828
35829 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35830 builtins, define the macros in the C99 standard.
35831 (FP_FAST_FMAF): Likewise.
35832 (FP_FAST_FMAL): Likewise.
35833 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35834 multiply/add.
35835 (FP_FAST_FMAF): Likewise.
35836
475facd1
JJ
358372010-10-15 Jakub Jelinek <jakub@redhat.com>
35838
35839 [BZ #3268]
35840 * math/libm-test.inc (fma_test): Some new testcases.
35841 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35842 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35843 y and infinite z. Do multiplication by C already in long double.
35844 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35846 y and infinite z. Do bitwise or of inexact bit into u.d.
35847 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35848 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35849 * sysdeps/i386/fpu/s_fma.S: Removed.
35850 * sysdeps/i386/fpu/s_fmal.S: Removed.
35851
7c08a05c
JJ
358522010-10-16 Jakub Jelinek <jakub@redhat.com>
35853
35854 [BZ #3268]
35855 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35857 computation is not scheduled after fetestexcept. Fix value
35858 of minimum denormal long double.
35859
f3f7372d
JJ
358602010-10-14 Jakub Jelinek <jakub@redhat.com>
35861
35862 [BZ #3268]
35863 * math/libm-test.inc (fma_test): Add some more tests.
35864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35865 correctly.
35866
14d43591
AS
358672010-10-15 Andreas Schwab <schwab@redhat.com>
35868
35869 * scripts/data/localplt-s390-linux-gnu.data: New file.
35870 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35871
5e908464
JJ
358722010-10-13 Jakub Jelinek <jakub@redhat.com>
35873
35874 [BZ #3268]
35875 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35876 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35877 instead of dbl-64.
35878 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35879 inlines.
35880 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35882 if one of x and y is very large and the other is subnormal.
35883 * sysdeps/s390/fpu/s_fmaf.c: New file.
35884 * sysdeps/s390/fpu/s_fma.c: New file.
35885 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35886 * sysdeps/powerpc/fpu/s_fma.S: New file.
35887 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35888 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35889 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35890
358912010-10-12 Jakub Jelinek <jakub@redhat.com>
35892
35893 [BZ #3268]
35894 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35895 fma tests.
35896 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35897 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35898 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35899 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35900 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35901 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35902 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35903
b833d51f
UD
359042010-10-12 Ulrich Drepper <drepper@redhat.com>
35905
35906 [BZ #12078]
35907 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35908 * posix/bug-regex31.input: Add test case.
35909
1751705d
UD
359102010-10-11 Ulrich Drepper <drepper@gmail.com>
35911
e9b9cbf5
UD
35912 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35913 * posix/bug-regex31.input: New file.
35914
35915 [BZ #12078]
35916 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35917 (parse_sub_exp): Fix last change, use postorder.
35918
ef06edbe
UD
35919 * posix/bug-regex31.c: New file.
35920 * posix/Makefile: Add rules to build and run bug-regex31.
35921
a129c80d
UD
35922 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35923
35924 [BZ #12078]
35925 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35926
b76b818e
UD
35927 [BZ #12108]
35928 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35929 to have entries in sys_siglist.
35930
1751705d
UD
35931 [BZ #12093]
35932 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35933 be NULL.
35934
9ff8d36f
JJ
359352010-10-07 Jakub Jelinek <jakub@redhat.com>
35936
35937 [BZ #3268]
35938 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35939 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35940 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35941 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35942 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35943 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35944 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35945 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35946 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35947 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35948 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35949 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35950 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35951 * math/ftestexcept.c (fetestexcept): Likewise.
35952 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35953 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35954 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35955 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35956 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35957 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35958 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35959
af325969
UD
359602010-10-11 Ulrich Drepper <drepper@gmail.com>
35961
c579b202 35962 [BZ #12107]
af325969
UD
35963 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35964 newline.
35965
67a67b95
UD
359662010-10-06 Ulrich Drepper <drepper@gmail.com>
35967
35968 * string/bug-strstr1.c: New file.
35969 * string/Makefile: Add rules to build and run bug-strstr1.
35970
5fb308bc
EB
359712010-10-05 Eric Blake <eblake@redhat.com>
35972
35973 [BZ #12092]
35974 * string/str-two-way.h (two_way_long_needle): Always clear memory
35975 when skipping input due to the shift table.
35976
45db99c7
UD
359772010-10-03 Ulrich Drepper <drepper@gmail.com>
35978
3b111893
UD
35979 [BZ #12005]
35980 * malloc/mcheck.c: Handle large requests.
35981
45db99c7
UD
35982 [BZ #12077]
35983 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35984 for strncmp and strncasecmp.
35985 * string/stratcliff.c: Add tests for strcmp and strncmp.
35986 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35987
cf7a1eb8
NI
359882010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35989
35990 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35991 __set_fpscr.
35992
6484ba5e
AJ
359932010-09-30 Andreas Jaeger <aj@suse.de>
35994
35995 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35996 (CGROUP_SUPER_MAGIC): Define.
35997 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35998 Handle btrfs and cgroup file systems.
35999 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36000 Likewise.
36001
91c42559
LM
360022010-09-27 Luis Machado <luisgpm@br.ibm.com>
36003
36004 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36005 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36006
87a97932
AK
360072010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36008
36009 [BZ #12067]
36010 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36011 trying to locate the ELF header.
36012
c21cc9bc
AS
360132010-09-27 Andreas Schwab <schwab@redhat.com>
36014
36015 [BZ #11611]
36016 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36017 Mask out sign-bit copies when constructing f_fsid.
36018
315970f6
PB
360192010-09-24 Petr Baudis <pasky@suse.cz>
36020
36021 * debug/stack_chk_fail_local.c: Add missing licence exception.
36022 * debug/warning-nop.c: Likewise.
36023
1ac7a2c7
JM
360242010-09-15 Joseph Myers <joseph@codesourcery.com>
36025
36026 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36027 implementing getdents64 using getdents syscall, set d_type if
36028 __ASSUME_GETDENTS32_D_TYPE.
36029
56801c50
AS
360302010-09-16 Andreas Schwab <schwab@redhat.com>
36031
36032 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36033 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36034
dda51327
UD
360352010-09-21 Ulrich Drepper <drepper@redhat.com>
36036
36037 [BZ #12037]
36038 * posix/unistd.h: Undo change of feature selection for ftruncate from
36039 2010-01-11.
36040
8ffcee4a
UD
360412010-09-20 Ulrich Drepper <drepper@redhat.com>
36042
a545ecd9 36043 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36044 detection.
36045
e24f0a8b
AS
360462010-09-20 Andreas Schwab <schwab@redhat.com>
36047
36048 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36049 fanotify_mark.
36050 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36051
7291c56f
AS
360522010-09-14 Andreas Schwab <schwab@redhat.com>
36053
36054 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36055 variables after CHECK_SP call.
36056 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36057
bc5fb037
AS
360582010-09-13 Andreas Schwab <schwab@redhat.com>
36059 Ulrich Drepper <drepper@redhat.com>
36060
36061 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36062 re-relocationg ld.so.
36063 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36064 _dl_init_paths call.
36065 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36066 here anymore.
36067
e66e7419
UD
360682010-09-14 Ulrich Drepper <drepper@redhat.com>
36069
36070 * resolv/res_init.c (__res_vinit): Count the default server we added.
36071
c044aa75
CLT
360722010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36073 Ulrich Drepper <drepper@redhat.com>
36074
36075 [BZ #11968]
36076 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36077 (____longjmp_chk): Use %ebx for saving value across system call.
36078 Add unwind info.
36079
32cf4069
AS
360802010-09-06 Andreas Schwab <schwab@redhat.com>
36081
36082 * manual/Makefile: Don't mix pattern rules with normal rules.
36083
817328ee
AS
360842010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36085
36086 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36087 operation.
36088 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36089 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36090 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36091 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36092 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36093 Likewise.
36094
29fddf61
UD
360952010-09-04 Ulrich Drepper <drepper@redhat.com>
36096
36097 [BZ #11979]
36098 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36099 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36100
0959ffc9
UD
361012010-09-02 Ulrich Drepper <drepper@redhat.com>
36102
36103 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36104 * sysdeps/x86_64/addmul_1.S: Likewise.
36105 * sysdeps/x86_64/lshift.S: Likewise.
36106 * sysdeps/x86_64/mul_1.S: Likewise.
36107 * sysdeps/x86_64/rshift.S: Likewise.
36108 * sysdeps/x86_64/sub_n.S: Likewise.
36109 * sysdeps/x86_64/submul_1.S: Likewise.
36110
ece29840
ST
361112010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36112
0959ffc9
UD
36113 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36114 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36115 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36116 * bits/sched.h [__need_schedparam]
ece29840 36117 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36118 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36119 (__defined_schedparam): Define to 1.
ece29840
ST
36120 (__sched_param): New structure, identical to sched_param.
36121 (__need_schedparam): Undefine.
36122
e53a31fe
MF
361232010-08-31 Mike Frysinger <vapier@gentoo.org>
36124
fdc0c10d
MF
36125 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36126 (epoll_create1): Declare.
36127
e53a31fe
MF
36128 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36129
a726d796
AS
361302010-08-31 Andreas Schwab <schwab@redhat.com>
36131
36132 [BZ #7066]
36133 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36134 shifting retval into place.
36135
2f3e3dc7
UD
361362010-09-01 Ulrich Drepper <drepper@redhat.com>
36137
f2933da9
UD
36138 * nis/rpcsvc/nis.h: Update copyright notice.
36139 * nis/rpcsvc/nis.x: Likewise.
36140 * nis/rpcsvc/nis_callback.h: Likewise.
36141 * nis/rpcsvc/nis_callback.x: Likewise.
36142 * nis/rpcsvc/nis_object.x: Likewise.
36143 * nis/rpcsvc/nis_tags.h: Likewise.
36144 * nis/rpcsvc/yp.h: Likewise.
36145 * nis/rpcsvc/yp.x: Likewise.
36146 * nis/rpcsvc/ypupd.h: Likewise.
36147 * nis/yp_xdr.c: Likewise.
36148 * nis/ypupdate_xdr.c: Likewise.
36149
2f3e3dc7
UD
36150 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36151 mainly the body of pmap_getport. Add parameters to specify timeouts.
36152 (pmap_getport): Use __libc_rpc_getport.
36153 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36154 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36155 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36156
f3dcc2f9
AS
361572010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36158
36159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36160 fanotify_mark.
36161
6d34eb5b
RM
361622010-08-27 Roland McGrath <roland@redhat.com>
36163
36164 * sysdeps/i386/i686/multiarch/Makefile
36165 (CFLAGS-varshift.c): New variable.
36166
9ea3de11
UD
361672010-08-27 Ulrich Drepper <drepper@redhat.com>
36168
c96d23fc
UD
36169 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36170 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36171
9ea3de11
UD
36172 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36173
36174 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36175
623aac7f
L
361762010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36177
36178 * sysdeps/x86_64/strlen.S: Unroll the loop.
36179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36180 strlen-sse2 strlen-sse2-bsf.
36181 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36182 __strlen_no_bsf if bit_Slow_BSF is set.
36183 (__strlen_sse42): Removed.
36184 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36185 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36186
8b2b7715
RM
361872010-08-25 Roland McGrath <roland@redhat.com>
36188
36189 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36190 * sysdeps/x86_64/multiarch/varshift.c: New file.
36191 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36192 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36193 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36194 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36195
e73015f2
L
361962010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36197
36198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36199 strlen-sse2 strlen-sse2-bsf.
36200 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36201 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36202 (__strlen_sse2): Removed.
36203 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36204 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36206 bit_Slow_BSF for Atom.
36207 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36208 (index_Slow_BSF): Define.
36209 (HAS_SLOW_BSF): Define.
36210
df24a73e
UD
362112010-08-25 Ulrich Drepper <drepper@redhat.com>
36212
36213 [BZ #10851]
36214 * resolv/res_init.c (__res_vinit): When no server address at all
36215 is given default to loopback.
36216
f2ac4868
RM
362172010-08-24 Roland McGrath <roland@redhat.com>
36218
09055553
RM
36219 * configure.in: Remove config-name.h generation.
36220 * configure: Regenerated.
36221 * config-name.in: File removed.
36222 * scripts/config-uname.sh: New file.
36223 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36224 ($(objdir)config-name.h): New target.
36225
f2ac4868
RM
36226 * sunrpc/rpc_parse.h: Avoid nested comment.
36227
73f27d5e
RH
362282010-08-24 Richard Henderson <rth@redhat.com>
36229 Ulrich Drepper <drepper@redhat.com>
36230 H.J. Lu <hongjiu.lu@intel.com>
36231
36232 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36234 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36235 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36236 _mm_alignr_epi8 with _mm_loadu_si128.
36237 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36238 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36239 (__m128i_shift_right): Removed.
36240 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36241 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36242 * sysdeps/x86_64/multiarch/varshift.h: New file.
36243 * sysdeps/x86_64/multiarch/varshift.S: New file.
36244
84b9230c
MF
362452010-08-21 Mike Frysinger <vapier@gentoo.org>
36246
36247 * configure.in: Move assembler checks to before sysdep dir checking.
36248
9bbd0ddc
PB
362492010-08-20 Petr Baudis <pasky@suse.cz>
36250
36251 * LICENSES: Sync the sunrpc license.
36252
9da4bb31
UD
362532010-08-19 Ulrich Drepper <drepper@redhat.com>
36254
a7ab6ec8
UD
36255 * sunrpc/auth_des.c: Update copyright notice once again.
36256 * sunrpc/auth_none.c: Likewise.
36257 * sunrpc/auth_unix.c: Likewise.
36258 * sunrpc/authdes_prot.c: Likewise.
36259 * sunrpc/authuxprot.c: Likewise.
36260 * sunrpc/bindrsvprt.c: Likewise.
36261 * sunrpc/clnt_gen.c: Likewise.
36262 * sunrpc/clnt_perr.c: Likewise.
36263 * sunrpc/clnt_raw.c: Likewise.
36264 * sunrpc/clnt_simp.c: Likewise.
36265 * sunrpc/clnt_tcp.c: Likewise.
36266 * sunrpc/clnt_udp.c: Likewise.
36267 * sunrpc/clnt_unix.c: Likewise.
36268 * sunrpc/des_crypt.c: Likewise.
36269 * sunrpc/des_soft.c: Likewise.
36270 * sunrpc/get_myaddr.c: Likewise.
36271 * sunrpc/getrpcport.c: Likewise.
36272 * sunrpc/key_call.c: Likewise.
36273 * sunrpc/key_prot.c: Likewise.
36274 * sunrpc/openchild.c: Likewise.
36275 * sunrpc/pm_getmaps.c: Likewise.
36276 * sunrpc/pm_getport.c: Likewise.
36277 * sunrpc/pmap_clnt.c: Likewise.
36278 * sunrpc/pmap_prot.c: Likewise.
36279 * sunrpc/pmap_prot2.c: Likewise.
36280 * sunrpc/pmap_rmt.c: Likewise.
36281 * sunrpc/rpc/auth.h: Likewise.
36282 * sunrpc/rpc/auth_unix.h: Likewise.
36283 * sunrpc/rpc/clnt.h: Likewise.
36284 * sunrpc/rpc/des_crypt.h: Likewise.
36285 * sunrpc/rpc/key_prot.h: Likewise.
36286 * sunrpc/rpc/netdb.h: Likewise.
36287 * sunrpc/rpc/pmap_clnt.h: Likewise.
36288 * sunrpc/rpc/pmap_prot.h: Likewise.
36289 * sunrpc/rpc/pmap_rmt.h: Likewise.
36290 * sunrpc/rpc/rpc.h: Likewise.
36291 * sunrpc/rpc/rpc_des.h: Likewise.
36292 * sunrpc/rpc/rpc_msg.h: Likewise.
36293 * sunrpc/rpc/svc.h: Likewise.
36294 * sunrpc/rpc/svc_auth.h: Likewise.
36295 * sunrpc/rpc/types.h: Likewise.
36296 * sunrpc/rpc/xdr.h: Likewise.
36297 * sunrpc/rpc_clntout.c: Likewise.
36298 * sunrpc/rpc_cmsg.c: Likewise.
36299 * sunrpc/rpc_common.c: Likewise.
36300 * sunrpc/rpc_cout.c: Likewise.
36301 * sunrpc/rpc_dtable.c: Likewise.
36302 * sunrpc/rpc_hout.c: Likewise.
36303 * sunrpc/rpc_main.c: Likewise.
36304 * sunrpc/rpc_parse.c: Likewise.
36305 * sunrpc/rpc_parse.h: Likewise.
36306 * sunrpc/rpc_prot.c: Likewise.
36307 * sunrpc/rpc_sample.c: Likewise.
36308 * sunrpc/rpc_scan.c: Likewise.
36309 * sunrpc/rpc_scan.h: Likewise.
36310 * sunrpc/rpc_svcout.c: Likewise.
36311 * sunrpc/rpc_tblout.c: Likewise.
36312 * sunrpc/rpc_util.c: Likewise.
36313 * sunrpc/rpc_util.h: Likewise.
36314 * sunrpc/rpcinfo.c: Likewise.
36315 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36316 * sunrpc/rpcsvc/key_prot.x: Likewise.
36317 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36318 * sunrpc/rpcsvc/mount.x: Likewise.
36319 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36320 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36321 * sunrpc/rpcsvc/rex.x: Likewise.
36322 * sunrpc/rpcsvc/rstat.x: Likewise.
36323 * sunrpc/rpcsvc/rusers.x: Likewise.
36324 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36325 * sunrpc/rpcsvc/spray.x: Likewise.
36326 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36327 * sunrpc/rtime.c: Likewise.
36328 * sunrpc/svc.c: Likewise.
36329 * sunrpc/svc_auth.c: Likewise.
36330 * sunrpc/svc_authux.c: Likewise.
36331 * sunrpc/svc_raw.c: Likewise.
36332 * sunrpc/svc_run.c: Likewise.
36333 * sunrpc/svc_simple.c: Likewise.
36334 * sunrpc/svc_tcp.c: Likewise.
36335 * sunrpc/svc_udp.c: Likewise.
36336 * sunrpc/svc_unix.c: Likewise.
36337 * sunrpc/svcauth_des.c: Likewise.
36338 * sunrpc/xcrypt.c: Likewise.
36339 * sunrpc/xdr.c: Likewise.
36340 * sunrpc/xdr_array.c: Likewise.
36341 * sunrpc/xdr_float.c: Likewise.
36342 * sunrpc/xdr_mem.c: Likewise.
36343 * sunrpc/xdr_rec.c: Likewise.
36344 * sunrpc/xdr_ref.c: Likewise.
36345 * sunrpc/xdr_sizeof.c: Likewise.
36346 * sunrpc/xdr_stdio.c: Likewise.
36347
9da4bb31
UD
36348 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36349 handling.
36350
bdaa77bc
AS
363512010-08-19 Andreas Schwab <schwab@redhat.com>
36352
36353 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36354
fe2f79db
LM
363552010-08-19 Luis Machado <luisgpm@br.ibm.com>
36356
36357 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36358 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36359 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36360 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36361 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36362 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36363 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36364 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36365 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36366 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36367 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36368 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36369 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36370 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36371
b9b42ee0
AB
363722010-07-26 Anton Blanchard <anton@samba.org>
36373
36374 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36375 * malloc/arena.c (heap_trim): Likewise.
36376
1c06ba31
UD
363772010-08-16 Ulrich Drepper <drepper@redhat.com>
36378
36379 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36380 here. Not...
36381 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36382 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36383
f8392f40
L
363842010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36385
36386 * sysdeps/i386/elf/Makefile: New file.
36387
3162f12e
AS
363882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36389
36390 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36391 from fanotify_init.
36392 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36394
28c90b2c
UD
363952010-08-15 Ulrich Drepper <drepper@redhat.com>
36396
36397 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36398 of strncasecmp_l.
1feccb6c 36399 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36400
ca6bb004
UD
364012010-08-14 Ulrich Drepper <drepper@redhat.com>
36402
e9f82e0d
UD
36403 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36404 strncase_l-nonascii.
36405 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36406 Add strncase_l-ssse3.
36407 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36408 * sysdeps/x86_64/strcmp.S: Likewise.
36409 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36410 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36411 * sysdeps/x86_64/strncase.S: New file.
36412 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36413 * sysdeps/x86_64/strncase_l.S: New file.
36414 * string/Makefile (strop-tests): Add strncasecmp.
36415 * string/test-strncasecmp.c: New file.
36416
36417 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36418 warning.
36419
ca6bb004
UD
36420 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36421 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36422
052fa7b3
AS
364232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36424
36425 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36426
962dba78
UD
364272010-08-12 Ulrich Drepper <drepper@redhat.com>
36428
36429 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36430 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36431 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36432
bebff237
AM
364332010-05-01 Alan Modra <amodra@gmail.com>
36434
36435 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36436 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36437 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36438 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36439 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36440 tidying. Don't tail-call __sigjmp_save for static lib.
36441 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36442 save location.
36443 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36444 (CALL_MCOUNT): Add eh info, and nop after bl.
36445 (TAIL_CALL_SYSCALL_ERROR): New macro.
36446 (PSEUDO_RET): Use it.
36447 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36448 Correct save location of integer regs and cr.
36449 (_dl_profile_resolve): Correct cr save location. Delete nops
36450 after bl when SHARED. Reduce cfi size a little by better
36451 placement of cfi directives.
36452 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36453 make a stack frame. Instead use parm save area as a temp.
36454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36455 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36457 Don't make a stack frame for parent, use parm save area.
36458 Increase child stack frame to 112 bytes. Don't save unused reg,
36459 and adjust reg usage. Set up cfi on error recovery and
36460 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36462 (__makecontext): Add dummy nop after jump to exit.
36463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36464 Use correct parm save area and cr save, reduce stack frame.
36465 Correct cfi for possible PSEUDO_RET frame setup.
36466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36467 Branch to local label emitted by PSEUDO_RET rather than
36468 __syscall_error.
36469
02637374
AS
364702010-08-12 Andreas Schwab <schwab@redhat.com>
36471
36472 [BZ #11904]
36473 * locale/programs/locale.c (print_assignment): New function.
36474 (show_locale_vars): Use it.
36475
c3e2f19b
UD
364762010-08-11 Ulrich Drepper <drepper@redhat.com>
36477
3cdaa6ad
UD
36478 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36479 field.
36480 (struct statfs64): Likewise.
36481 (_STATFS_F_FLAGS): Define.
36482 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36483 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36484 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36485 (ST_VALID): Define locally.
36486 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36487 __statvfs_getflags, use the provided value.
36488 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36489 __ASSUME_STATFS_F_FLAGS.
36490
754f7da3
UD
36491 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36492
10b3bedc
UD
36493 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36494 Add sys/fanotify.h.
36495 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36496 fanotify_mask for GLIBC_2.13.
36497 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36498 fanotify_init and fanotify_mark.
36499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36500 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36501
c08fb0d7
UD
36502 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36503 Add prlimit.
36504 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36505 prlimit64 for GLIBC_2.13.
36506 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36507 prlimit64.
36508 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36509 syscall.
36510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36511 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36512 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36513 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36514 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36515 add prlimit alias.
36516 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36517
15bac72b
UD
36518 [BZ #11903]
36519 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36520 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36521
c3e2f19b
UD
36522 * nss/Makefile: Add rules to build and run tst-nss-test1.
36523 * shlib-versions: Add entry for libnss_test1.
36524 * nss/nss_test1.c: New file.
36525 * nss/tst-nss-test1.c: New file.
36526
36527 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36528 (__nss_configure_lookup): Set appropriate entry in
36529 __nss_configure_lookup to true.
36530 * nss/nsswitch.h: Define enum with indeces of databases in
36531 databases and __nss_database_custom arrays. Declare
36532 __nss_database_custom.
36533 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36534 to avoid using nscd when custom rules are installed.
36535 * nss/getXXbyYY_r.c: Likewise.
36536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36537
36538 * nss/nss_files/files-parse.c: Whitespace fixes.
36539
f15ce4d8
UD
365402010-08-09 Ulrich Drepper <drepper@redhat.com>
36541
36542 [BZ #11883]
36543 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36544 * posix/fnmatch_loop.c: Likewise.
36545
d22e4cc9
AK
365462010-07-17 Andi Kleen <ak@linux.intel.com>
36547
36548 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36549 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36550 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36551 * Versions.def [GLIBC_2.13]: Add.
36552
805bc17d
UD
365532010-08-06 Ulrich Drepper <drepper@redhat.com>
36554
36555 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36556 Also fail if tpwd after pwuid call is NULL.
36557
5a42321d
ST
365582010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36559
36560 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36561 when converting to ms.
36562
fd3ebeda
ST
365632010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36564
36565 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36566 EOPNOTSUPP errors with ENOTTY.
36567 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36568 EOPNOTSUPP errors with ENOTTY.
36569
73507d3a
UD
365702010-07-31 Ulrich Drepper <drepper@redhat.com>
36571
36572 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36573 Add strcasecmp_l-ssse3.
36574 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36575 strcasecmp.
36576 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36577 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36578 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36579
fe36dd02
UD
365802010-07-30 Ulrich Drepper <drepper@redhat.com>
36581
66f6765a
UD
36582 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36583
42e08a54
UD
36584 * string/Makefile (strop-tests): Add strcasecmp.
36585 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36586 strcasecmp_l-nonascii.
36587 (gen-as-const-headers): Add locale-defines.sym.
36588 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36589 * sysdeps/x86_64/strcasecmp.S: New file.
36590 * sysdeps/x86_64/strcasecmp_l.S: New file.
36591 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36592 * sysdeps/x86_64/locale-defines.sym: New file.
36593 * string/test-strcasecmp.c: New file.
36594
fe36dd02
UD
36595 * string/test-strcasestr.c: Test both ends of the range of characters.
36596 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36597
48cbc0d6
RM
365982010-07-29 Roland McGrath <roland@redhat.com>
36599
76e6d6bc 36600 [BZ #11856]
48cbc0d6
RM
36601 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36602
880113d9
UD
366032010-07-27 Ulrich Drepper <drepper@redhat.com>
36604
36605 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36606 for ld.so.
36607
deb9cabb
AS
366082010-07-27 Andreas Schwab <schwab@redhat.com>
36609
36610 * manual/memory.texi (Malloc Tunable Parameters): Document
36611 M_PERTURB.
36612
1c7570ff
RM
366132010-07-26 Roland McGrath <roland@redhat.com>
36614
36615 [BZ #11840]
36616 * configure.in (-fgnu89-inline check): Set and substitute
36617 gnu89_inline, not libc_cv_gnu89_inline.
36618 * configure: Regenerated.
36619 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36620
24fb0f88
UD
366212010-07-26 Ulrich Drepper <drepper@redhat.com>
36622
36623 * string/test-strnlen.c: New file.
36624 * string/Makefile (strop-tests): Add strnlen.
36625 * string/tester.c (test_strnlen): Add a few more test cases.
36626 * string/tst-strlen.c: Better error reporting.
36627
36628 * sysdeps/x86_64/strnlen.S: New file.
36629
8e96b93a
UD
366302010-07-24 Ulrich Drepper <drepper@redhat.com>
36631
36632 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36633 lower-latency instructions.
36634
dbc676d4
UD
366352010-07-23 Ulrich Drepper <drepper@redhat.com>
36636
36637 * string/test-strcasestr.c: New file.
36638 * string/test-strstr.c: New file.
36639 * string/Makefile (strop-tests): Add strstr and strcasestr.
36640 * string/str-two-way.h: Don't undefine MAX.
36641 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36642
f6a31e0e
AS
366432010-07-21 Andreas Schwab <schwab@redhat.com>
36644
36645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36646 strcasestr-nonascii.
36647 (CFLAGS-strcasestr-nonascii.c): Define.
36648 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36649 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36650 Remove unused attribute.
36651
5dbc3b6c
RM
366522010-07-20 Roland McGrath <roland@redhat.com>
36653
36654 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36655 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36656 ld.so.cache was broken. With it, there is no way to disable dsocaps
36657 like LD_HWCAP_MASK can disable hwcaps.
36658
23d101d8
EPM
366592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36660
36661 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36662
cc9f2e47
UD
366632010-07-16 Ulrich Drepper <drepper@redhat.com>
36664
36665 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36666 call in strcasestr.
36667 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36668 __strcasestr_sse42_nonascii.
36669 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36670 strcasestr-nonascii.c.
36671 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36672
77c1b069
LM
366732010-06-15 Luis Machado <luisgpm@br.ibm.com>
36674
36675 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36676 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36677 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36678 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36679
440566c3
UD
366802010-07-09 Ulrich Drepper <drepper@redhat.com>
36681
36682 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36683 fcntl.
36684
5be9d05d
AS
366852010-07-06 Andreas Schwab <schwab@redhat.com>
36686
c30b7ee2 36687 [BZ #11577]
5be9d05d
AS
36688 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36689 dl_signal_cerror.
36690
8a492a67
UD
366912010-07-06 Ulrich Drepper <drepper@redhat.com>
36692
36693 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36694 _PC_PIPE_BUF using F_GETPIPE_SZ.
36695
713df3d5
RM
366962010-07-05 Roland McGrath <roland@redhat.com>
36697
36698 * manual/arith.texi (Rounding Functions): Fix rint description
36699 implicit in round description.
36700
702e8f14
UD
367012010-07-02 Ulrich Drepper <drepper@redhat.com>
36702
36703 * elf/Makefile: Fix linking for a few tests to make recent linker
36704 happy.
36705
52ed8be9
AS
367062010-06-30 Andreas Schwab <schwab@redhat.com>
36707
36708 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36709 $(common-objpfx)libc_nonshared.a.
36710
f47c9a11
LM
367112010-06-21 Luis Machado <luisgpm@br.ibm.com>
36712
36713 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36714 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36715 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36716 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36717 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36718 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36719 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36720 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36735 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36736 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36737 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36738 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36739 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36740 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36741 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36742 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36743 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36744 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36745 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36746 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36761
6fb8cbcb
L
367622010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36763
36764 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36765 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36766 * string/memmove.c (memmove): Renamed to ...
36767 (MEMMOVE): ...this. Default to memmove.
36768 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36769 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36770 (END_CHK): Define.
36771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36772 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36773 mempcpy-ssse3-back memmove-ssse3-back.
36774 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36775 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36776 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36777 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36778 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36779 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36780 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36781 * sysdeps/x86_64/multiarch/memmove.c: New file.
36782 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36783 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36784 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36785 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36786 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36787 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36788 Define.
36789 (index_Fast_Copy_Backward): Define.
36790 (HAS_ARCH_FEATURE): Define.
36791 (HAS_FAST_REP_STRING): Define.
36792 (HAS_FAST_COPY_BACKWARD): Define.
36793
4e733bac 367942010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36795
36796 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36797 Restore proper fallback handling.
36798
63c4ed22
UD
367992010-06-19 Ulrich Drepper <drepper@redhat.com>
36800
ac2b484c
UD
36801 [BZ #11701]
36802 * posix/group_member.c (__group_member): Correct checking loop.
36803
63c4ed22
UD
36804 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36805 OOM in getpwuid_r correctly. Return error number when the caller
36806 should return, otherwise -1.
36807 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36808 call returning > 0 value.
36809 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36810
765ade4b
AS
368112010-06-07 Andreas Schwab <schwab@redhat.com>
36812
36813 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36814 libc_nonshared.a from targets in modules-names.
36815
80da2e09
KS
368162010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36817
36818 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36819 requires it.
36820
158db122
LM
368212010-06-10 Luis Machado <luisgpm@br.ibm.com>
36822
36823 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36824 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36825 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36826 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36827
caa78cf8
AS
368282010-06-02 Andreas Schwab <schwab@redhat.com>
36829
36830 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36831
b2ef2c01
UD
368322010-06-14 Ulrich Drepper <drepper@redhat.com>
36833
36834 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36835 and F_GETPIPE_SZ.
36836 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36837 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36838 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36840 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36841 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36842
fbd643b6
RM
368432010-06-14 Roland McGrath <roland@redhat.com>
36844
36845 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36846
f32f2869
JJ
368472010-06-07 Jakub Jelinek <jakub@redhat.com>
36848
36849 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36850 __REDIRECT followed by __THROW.
36851 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36852 * posix/getopt.h (getopt): Likewise.
36853
2a50c078
EPM
368542010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36855
36856 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36857 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36858 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36859 in AT_FLAGS.
36860 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36861 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36862
eb5ad2eb
LM
368632010-05-28 Luis Machado <luisgpm@br.ibm.com>
36864
36865 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36866
3c88fe1e
L
368672010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36868
36869 [BZ #11640]
36870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36871 Properly check family and model.
36872
d2f73151
TY
368732010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36874
36875 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36876
ebd2e13d
LM
368772010-05-24 Luis Machado <luisgpm@br.ibm.com>
36878
36879 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36880
b32b8b45
UD
368812010-05-21 Ulrich Drepper <drepper@redhat.com>
36882
36883 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36884 symbol reference.
36885
9acbe24d
AS
368862010-05-19 Andreas Schwab <schwab@redhat.com>
36887
36888 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36889 symbol reference.
36890
f0ccf6ea
AS
368912010-05-21 Andreas Schwab <schwab@redhat.com>
36892
3d04ff3a
AS
36893 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36894 and internal_recvmmsg.
36895 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36896 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36897 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36898 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36899
f0ccf6ea
AS
36900 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36901 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36902 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36903
5b08ac57
AS
369042010-05-20 Andreas Schwab <schwab@redhat.com>
36905
36906 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36907
4828935d
LM
369082010-05-17 Luis Machado <luisgpm@br.ibm.com>
36909
36910 POWER7 optimizations.
36911 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36912 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36913
373d545e
UD
369142010-05-19 Ulrich Drepper <drepper@redhat.com>
36915
36916 * version.h: Update for 2.13 development version.
36917
21a2b1ae
AS
369182010-05-12 Andrew Stubbs <ams@codesourcery.com>
36919
36920 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36921 exceptions. Return 0.
36922
3f7dcb2b
RM
369232010-05-07 Roland McGrath <roland@redhat.com>
36924
36925 * elf/ldconfig.c (main): Add a const.
36926
5f24d53a 369272010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36928
a160f8d8
UD
36929 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36930 (args_options): Add no-idn option.
36931 (ahosts_keys_int): Add idn_flags to ai_flags.
36932 (parse_option): Handle 'i' option to clear idn_flags.
36933
5f24d53a
UD
36934 * malloc/malloc.c (_int_free): Possible race in the most recently
36935 added check. Only act on the data if no current modification
36936 happened.
265bb1ce
UD
36937
36938See ChangeLog.17 for earlier changes.
This page took 4.793489 seconds and 5 git commands to generate.