]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use double constants instead of the struct number
[thirdparty/glibc.git] / ChangeLog
CommitLineData
196f7f5d
SP
12013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
4 instead of structures.
5 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6 (POLYNOMIAL): Likewise.
7 (TAYLOR_SLOW): Likewise.
8 (__sin): Likewise.
9 (__cos): Likewise.
10 (slow1): Likewise.
11 (slow2): Likewise.
12 (sloww): Likewise.
13 (sloww1); Likewise.
14 (sloww2): Likewise.
15 (bsloww1): Likewise.
16 (bsloww2): Likewise.
17 (cslow2): Likewise.
18 (csloww): Likewise.
19 (csloww1): Likewise.
20 (csloww2): Likewise.
21
0dfa665c
OB
222013-12-10 Ondřej Bílka <neleai@seznam.cz>
23
24 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25 (__malloc_assert, __libc_realloc, __libc_calloc,
26 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
27 memcpy and memset.
28 * malloc/hooks.c (realloc_check): Likewise.
29
5782a80f
OB
302013-12-10 Ondřej Bílka <neleai@seznam.cz>
31
32 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33 * malloc/arena.c: Remove PER_THREAD conditional.
34 [!PER_THREAD]: Remove code.
35 (ptmalloc_unlock_all2): Likewise.
36 (ptmalloc_init): Likewise.
37 (_int_new_arena): Likewise.
38 (arena_get2): Likewise.
39 * malloc/hooks.c (__malloc_get_state): Likewise.
40 (__malloc_set_state): Likewise.
41 * malloc/malloc.c: Likewise.
42 (struct malloc_state): Likewise.
43 (struct malloc_par): Likewise.
44 (__libc_realloc): Likewise.
45 (__libc_mallopt): Likewise.
46
aeb95445
AZ
472013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48
49 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
50
e8349efd
OB
512013-12-09 Ondřej Bílka <neleai@seznam.cz>
52
53 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
54 macro to a function. Check for zero perturb_byte.
55 (_int_malloc, _int_free): Remove zero perturb_byte checks.
56
f3eeb3fc
OB
572013-12-09 Ondřej Bílka <neleai@seznam.cz>
58
59 * malloc/malloc.c: (force_reg): Remove.
60 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
61 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
62 force_reg by atomic_forced_read.
63 * malloc/arena.c (ptmalloc_init): Likewise.
64 * malloc/hooks.c (top_check): Likewise.
65
be2f9009
AZ
662013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67
68 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69
e7b914bd
MT
702013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
71
72 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73
9f0be4f8
JM
742013-12-08 Joseph Myers <joseph@codesourcery.com>
75
76 * math/auto-libm-test-in: Add tests of lgamma.
77 * math/auto-libm-test-out: Regenerated.
78 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
79 (M_LOG_2_SQRT_PIl): Likewise.
80 (lgamma_test_data): Use AUTO_TESTS_f_f1.
81 * math/gen-auto-libm-tests.c (func_calc_method): Add value
82 mpfr_f_f1.
83 (func_calc_desc): Add mpfr_f_f1 union field.
84 (ARGS1): New macro.
85 (ARGS2): Likewise.
86 (ARGS3): Likewise.
87 (ARGS4): Likewise.
88 (RET1): Likewise.
89 (RET2): Likewise.
90 (CALC): Likewise.
91 (FUNC): Likewise.
92 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
93 (test_functions): Add lgamma.
94 (calc_generic_results): Handle mpfr_f_f1.
95 * sysdeps/i386/fpu/libm-test-ulps: Update.
96 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
97
24eeafdb
AZ
982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
99
100 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
101 __mpn_add_n for PowerPC64/POWER7.
102 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
103 __mpn_sub_n for PowerPC64/POWER7.
104
4a2c0fd4
AZ
1052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
106
107 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
108 __mpn_addmul_1 for PowerPC64.
109 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
110 __mpn_submul_1 for PowerPC64.
111 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
112 for PowerPC64.
113 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
114 for PowerPC64.
115
4b5b548c
FS
1162013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
117
118 [BZ #15089]
119 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
120
0a3ac0aa
AZ
1212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
122
123 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
124
ccdc8438
AZ
1252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
126
127 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
128 add multiarch folders.
129 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
130 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
131 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
132 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
133 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
134 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
135 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
136 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
137 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
138 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
139 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
146
2e973d99
AZ
1472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
148
149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
150 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
152 New file.
153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
154 New file.
155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
156 multiarch __ieee754_hypot for PowerPC32.
157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
158 New file.
159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
160 New file.
161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
162 multiarch __ieee754_hypotf for PowerPC32.
163
2d9470b2
AZ
1642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
165
166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
167 long_double_symbol only if __logbl is defined.
168 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
169 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
170 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
171 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
173 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
174 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
175 path for implementation.
176 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
177 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
179 logb, and logbl multiarch implementations for PowerPC32.
180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
181 file.
182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
183 file.
184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
185 multiarch logb for PowerPC32.
186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
187 file.
188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
189 file.
190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
191 multiarch logbf for PowerPC32.
192 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
194 file.
195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
196 multiarch logbl implementation for PowerPC32.
197
5212ffce
AZ
1982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
199
200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
201 and modff multiarch implementations.
202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
203 New file.
204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
205 New file.
206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
207 multiarch modf for PowerPC32.
208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
209 New file.
210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
211 New file.
212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
213 multiarch modff for PowerPC32.
214
79dccf31
AZ
2152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
216
217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
218 and lrintf multiarch implementations.
219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
220 New file.
221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
222 New file.
223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
224 multiarch lrint for PowerPC32.
225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
226 file: multiarch lrintf for PowerPC32.
227
deb66480
AZ
2282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
229
230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
231 and lroundf multiarch implementations.
232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
233 New file.
234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
235 New file.
236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
237 New file.
238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
239 multiarch lround for PowerPC32.
240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
241 file: multiarch lroundf for PowerPC32.
242
264b036b
AZ
2432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
244
245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
246 copysign and copysignf multiarch implementations.
247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
248 New file.
249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
250 New file.
251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
252 file: multiarch copysign for PowerPC32.
253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
254 file: multiarch copysignf for PowerPC32.
255
d47db6c9
AZ
2562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
257
258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
259 and truncf multiarch implementations.
260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
261 New file.
262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
263 file.
264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
265 multiarch trunc for PowerPC32.
266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
267 New file.
268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
269 New file.
270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
271 multiarch truncf for PowerPC32.
272
ddb60b5a
AZ
2732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
274
275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
276 and roundf multiarch implementations.
277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
278 New file.
279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
280 file.
281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
282 multiarch round for PowerPC32.
283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
284 New file.
285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
286 New file.
287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
288 multiarch roundf for PowerPC32.
289
bedcf49b
AZ
2902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
291
292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
293 and floorf multiarch implementations.
294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
295 New file.
296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
297 file.
298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
299 multiarch floor for PowerPC32.
300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
301 New file.
302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
303 New file.
304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
305 multiarch floorf for PowerPC32.
306
35ae5b40
AZ
3072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
308
309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
310 and ceilf multiarch implementations.
311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
312 New file.
313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
314 file.
315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
316 multiarch ceil for PowerPC32.
317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
318 New file.
319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
320 file.
321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
322 multiarch ceilf for PowerPC32.
323
ae1a4cd9
AZ
3242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
325
326 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
327 is defined.
328 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
329 FINITEF is defined.
330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
331 and finitef multiarch implementations.
332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
333 New file.
334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
335 file.
336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
337 multiarch finite for PowerPC32.
338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
339 New file.
340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
341 file: multiarch finitef for PowerPC32.
342
64fffd65
AZ
3432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
344
345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
346 and isinff multiarch implementations.
347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
348 file.
349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
350 file.
351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
352 multiarch isinf for PowerPC32.
353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
354 New file.
355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
356 multiarch isinff for PowerPC32.
357
8e4e7ba2
AZ
3582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
359
360 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
361 alias when __isnan is defined.
362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
363 and isnanf multiarch implementations.
364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
365 file.
366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
367 file.
368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
369 file.
370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
371 file.
372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
373 multiarch isnan for PowerPC32.
374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
375 New file.
376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
377 New file.
378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
379 multiarch isnanf for PowerPC32.
380
ddba588e
AZ
3812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
382
383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
384 and sqrtf multiarch implementations.
385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
386 file.
387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
388 file.
389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
390 multiarch sqrt for PowerPC32.
391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
392 file.
393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
394 file.
395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
396 multiarch sqrtf for PowerPC32.
397
0f96a2f0
AZ
3982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
399
400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
401 and llroundf multiarch implementations.
402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
403 New file.
404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
405 New file.
406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
407 New file.
408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
409 file: multiarch llround for PowerPC32.
410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
411 file: multiarch llroundf for PowerPC32.
412
c9b5d79e
AZ
4132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
414
415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
416 multiarch PowerPC32 fpu implementations.
417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
418 New file.
419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
420 New file.
421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
422 multiarch llrint for PowerPC32.
423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
424 New file.
425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
426 New file.
427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
428 file.
429
9cbb3aab
AZ
4302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
431
432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
433
ea5a72f8
AZ
4342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
435
436 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
437 file.
438 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
439 file.
440 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
441 file.
442 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
443 multiarch wordcopy for PPC32.
444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
445 wordcopy objects.
446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
447 (__libc_ifunc_impl_list): Likewise.
448 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
449 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
450 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
451 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
452 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
453 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
454
93be09e7
AZ
4552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
456
457 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
458 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
459 file.
460 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
461 file.
462 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
463 file.
464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
465 multiarch wcscpy for PPC32.
466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
467 multiarch objects.
468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
469 (__libc_ifunc_impl_list): Likewise.
470 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
471 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
472 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
473 sysdeps/powerpc/power6/wcscpy.c.
474
bb04e529
AZ
4752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
476
477 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
478 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
479 file.
480 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
481 file.
482 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
483 file.
484 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
485 multiarch wcsrchr for PPC32.
486 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
487 multiarch objects.
488 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
489 (__libc_ifunc_impl_list): Likewise.
490 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
491 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
492 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
493 sysdeps/powerpc/power6/wcsrchr.c.
494
05b5cd1c
AZ
4952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
496
497 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
498 file.
499 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
500 file.
501 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
502 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
503 multiarch wcschr for PPc32.
504 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
505 multiarch objects.
506 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
507 (__libc_ifunc_impl_list): Likewise.
508 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
509 * sysdeps/powerpc/power6/wcschr.c: ... to here.
510 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
511 sysdeps/powerpc/power6/wcschr.c.
512
ba964147
AZ
5132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
514
515 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
516 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
517 file.
518 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
519 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
520 file: multiarch strchr for PPC32.
521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
522 multiarch objects.
523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
524 (__libc_ifunc_impl_list): Likewise.
525
31c81aaa
AZ
5262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
527
528 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
529 name.
530 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
531 file.
532 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
533 file.
534 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
535 multiarch strchrnul for PPC32.
536 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
537 multiarch objects.
538 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
539 (__libc_ifunc_impl_list): Likewise.
540
0d0607d9
AZ
5412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
542
543 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
544 file.
545 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
546 multiarch strncasecmp for PPC32.
547 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
548 file.
549 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
550 multiarch strncasecmp_l for PPC32.
551 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
552 strncasecmp multiarch objects.
553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
554 (__libc_ifunc_impl_list): Likewise.
555
4dfd5c86
AZ
5562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
557
558 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
559 file.
560 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
561 multiarch strncasecmp for PPC32.
562 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
563 New file.
564 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
565 multiarch strcasecmp_l for PPC32.
566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
567 multiarch objects.
568 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
569 (__libc_ifunc_impl_list): Likewise.
570
a19e01a3
AZ
5712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
572
573 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
574 file.
575 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
576 file.
577 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
578 multiarch strncmp for PPC32.
579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
580 multiarch objects.
581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
582 (__libc_ifunc_impl_list): Likewise.
583
ae9cf7a2
AZ
5842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
585
586 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
587 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
588 file.
589 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
590 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
591 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
592 multiarch objects.
593 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
594 (__libc_ifunc_impl_list): Likewise.
595
3148bb7d
AZ
5962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
597
598 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
599 file.
600 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
601 file.
602 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
604 multiarch objects.
605 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
606 (__libc_ifunc_impl_list): Likewise.
607
7af8b946
AZ
6082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
609
610 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
611 file.
612 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
613 file.
614 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
615 multiarch rawmemchr for PPC32.
616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
617 multiarch objects.
618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
619 (__libc_ifunc_impl_list): Likewise.
620
03a6aa6a
AZ
6212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
622
623 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
624 file.
625 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
626 file.
627 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
628 file: memrchr multiarch for PPC32.
629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
630 multiarch objects.
631 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
632 (__libc_ifunc_impl_list): Likewise.
633
1c62e6d9
AZ
6342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
635
636 * string/memchr.c (__memchr): Using macro to redefine symbol name.
637 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
638 file.
639 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
640 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
641 multiarch memchr for PPC32.
642 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
643 multiarch objects.
644 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
645 (__libc_ifunc_impl_list): Likewise.
646
87da8bdb
AZ
6472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
648
649 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
650 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
651 file.
652 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
653 file.
654 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
655 file: multiarch mempcpy for PPC32.
656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
657 multiarch objects.
658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
659 (__libc_ifunc_impl_list): Likewise.
660
20ed4714
AZ
6612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
662
663 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
664 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
665 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
666 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
667 multiarch bzero for PPC32.
668 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
669 file.
670 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
671 file.
672 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
673 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
674 file: multiarch memset for PPC32.
675 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
676 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
677 memset multiarch objects.
678 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
679 (__libc_ifunc_impl_list): Likewise.
680
ab3e3a46
AZ
6812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
682
683 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
684 file.
685 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
686 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
687 memcmp for PPC32.
688 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
690 multiarch objects.
691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
692 (__libc_ifunc_impl_list): Likewise.
693
930de6f0
AZ
6942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
695
696 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
697 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
698 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
699 file.
700 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
701 file.
702 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
703 file.
704 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
705 multiarch memcpy for PPC32.
706 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
707 multiarch objects.
708 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
709 (__libc_ifunc_impl_list): Likewise.
710
4c628e00
AZ
7112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
712
713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
714 support multiarch for POWER/PPC32.
715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
716 Likewise.
717 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
719 Implies file to make multiarch folder appers before the fpu and
720 default folder for power4 configuration.
721
f4479220
SP
7222013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
723
724 * scripts/bench.pl: Append volatile keyword to type.
725
8517800f
KK
7262013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
727
728 * sysdeps/sh/sotruss-lib.c: New file.
729 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
730
180138f1
AZ
7312013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
732
733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
734
bbf37bdc
JM
7352013-12-05 Joseph Myers <joseph@codesourcery.com>
736
e47cc4e0
JM
737 [BZ #6810]
738 * math/w_tgamma.c: Include <errno.h>.
739 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
740 * math/w_tgammaf.c: Include <errno.h>.
741 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
742 * math/w_tgammal.c: Include <errno.h>.
743 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
744 * math/auto-libm-test-in: Do not allow missing errno on tgamma
745 underflow. Add more tgamma tests.
746 * math/auto-libm-test-out: Regenerated.
747 * sysdeps/i386/fpu/libm-test-ulps: Update.
748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
749
bbf37bdc
JM
750 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
751 sin, sinh, tan, tanh, tgamma, y0 and y1.
752 * math/auto-libm-test-out: Regenerated.
753 * math/libm-test.inc (TEST_COND_x86_64): New macro.
754 (TEST_COND_x86): Likewise.
755 (M_E2l): Remove macro.
756 (M_E3l): Likewise.
757 (M_2_SQRT_PIl): Likewise.
758 (M_SQRT_PIl): Likewise.
759 (M_1_DIV_El): Likewise.
760 (log_test_data): Use AUTO_TESTS_f_f.
761 (log10_test_data): Likewise.
762 (log1p_test_data): Likewise.
763 (log2_test_data): Likewise.
764 (sin_test_data): Likewise.
765 (sin_tonearest_test_data): Likewise.
766 (sin_towardzero_test_data): Likewise.
767 (sin_downward_test_data): Likewise.
768 (sin_upward_test_data): Likewise.
769 (sinh_test_data): Likewise.
770 (sinh_tonearest_test_data): Likewise.
771 (sinh_towardzero_test_data): Likewise.
772 (sinh_downward_test_data): Likewise.
773 (sinh_upward_test_data): Likewise.
774 (tan_test_data): Likewise.
775 (tan_tonearest_test_data): Likewise.
776 (tan_towardzero_test_data): Likewise.
777 (tan_downward_test_data): Likewise.
778 (tan_upward_test_data): Likewise.
779 (tanh_test_data): Likewise.
780 (tgamma_test_data): Likewise.
781 (y0_test_data): Likewise.
782 (y1_test_data): Likewise.
783 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
784 (special_real_inputs): Add pi/4.
785 * sysdeps/i386/fpu/libm-test-ulps: Update.
786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
787
eb5ad6b9
AZ
7882013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
789
790 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
791 "longjmp_target" static probes.
792 (__longjmp): Rename to __longjmp_symbol.
793 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
794 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
795 on which longjmp to generate.
796 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
797 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
798 probe.
799 (__sigsetjmp): Rename to __sigsetjmp_symbol.
800 (__sigjmp_save): Rename to __sigjmp_save_symbol.
801 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
802 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
803 and __sigjmp_save_symbol based on which sigsetjmp to generated.
804 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
806 __longjmp_symbol based on which __longjmp to generate.
807 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
808 probe.
809 (setjmp): Rename to setjmp_symbol.
810 (__sigsetjmp): Rename to __sigsetjmp_symbol.
811 (_setjmp): Rename to _setjmp_symbol.
812 (__sigsetjmp): Rename to __sigsetjmp_symbol.
813 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
814 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
815 which setjmp to generate.
816 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
817 "longjmp_target" static probes.
818
d136c6dc
SP
8192013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
820
9298ecba
SP
821 * benchtests/README: Add note about output arguments.
822 * benchtests/bench-sincos.c: Remove file.
823 * benchtests/sincos-inputs: New file.
824 * scripts/bench.pl: Identify output arguments and define
825 static variables for them.
826
232983e9
SP
827 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
828
d136c6dc
SP
829 [BZ #15941]
830 * Makefile (INSTALL): Add install-plain.texi as the primary
831 dependency.
832 * manual/install-plain.texi: New file.
833 * manual/install.texi: Include node directive only for
834 non-plaintext output.
835
699ff837
JM
8362013-12-04 Joseph Myers <joseph@codesourcery.com>
837
ab07cea8
JM
838 * stdlib/longlong.h: Update from GCC.
839
699ff837
JM
840 [BZ #6807]
841 [BZ #15901]
842 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
843 * math/w_j0f.c (y0f): Likewise.
844 * math/w_j0l.c (__y0l): Likewise.
845 * math/w_j1.c (y1): Likewise.
846 * math/w_j1f.c (y1f): Likewise.
847 * math/w_j1l.c (__y1l): Likewise
848 * math/w_jn.c (yn): Likewise.
849 * math/w_jnf.c (ynf): Likewise.
850 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
851 Bessel function pole errors in _POSIX_ mode. Use NAN as return
852 value for Bessel function domain errors outside _SVID_ mode.
853 Adjust sign of return value for yn (negative integer, 0).
854 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
855 by zero in return for negative x and set sign appropriately for
856 negative n.
857 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
858 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
859 * math/libm-test.inc (y0_test_data): Add more tests and adjust
860 expectations in error cases.
861 (y1_test_data): Likewise.
862 (yn_test_data): Likewise.
863 * sysdeps/i386/fpu/libm-test-ulps: Update.
864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
865
5b118558
UW
8662013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
867
868 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
869 "64" to "64-v1". Add "64-v2".
870 (abi-64-options): Rename to ...
871 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
872 (abi-64-condition): Rename to ...
873 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
874 (abi-64-ld-soname): Rename to ...
875 (abi-64-v1-ld-soname): ... this.
876 (abi-64-v2-options): Define.
877 (abi-64-v2-condition): Likewise.
878 (abi-64-v2-ld-soname): Likewise.
879 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
880 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
884
61cd8fe4
UW
8852013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
886 Alan Modra <amodra@gmail.com>
887
888 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
889 New versions for use with the ELFv2 ABI.
890 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
891 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
892 declaration.
893 (struct La_ppc64v2_retval): Likewise.
894 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
895 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
896 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
897 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
898 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
899 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
900 Do not save or restore CR.
901 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
902 (_dl_profile_resolve): Do no save or restore CR. Support extended
903 return values for ELFv2 ABI. Fix location of FPR return registers.
904 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
905 updated values for _CALL_ELF == 2.
906 (La_regs, La_retval, int_retval): Likewise.
907
8b8a692c
UW
9082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
909
910 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
911 (FRAME_MIN_SIZE_PARM): Likewise.
912 (FRAME_BACKCHAIN): Likewise.
913 (FRAME_CR_SAVE): Likewise.
914 (FRAME_LR_SAVE): Likewise.
915 (FRAME_TOC_SAVE): Likewise.
916 (FRAME_PARM_SAVE): Likewise.
917 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
918 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
919 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
920 (call_mcount_parm_offset): New macro.
921 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
922 (PROF): Use symbolic stack frame offsets.
923 (TAIL_CALL_SYSCALL_ERROR): Likewise.
924 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
925 Redefine in terms of FRAME_MIN_SIZE.
926 (_dl_runtime_resolve): Use symbolic stack frame offsets.
927 (_dl_profile_resolve): Likewise. Update comment.
928 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
929 symbols stack frame offsets.
930 (__sigsetjmp): Likewise.
931 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
932 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
933 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
934 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
935
936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
937 (FRAME_BACKCHAIN): Remove.
938 (FRAME_CR_SAVE): Likewise.
939 (FRAME_LR_SAVE): Likewise.
940 (FRAME_COMPILER_DW): Likewise.
941 (FRAME_LINKER_DW): Likewise.
942 (FRAME_TOC_SAVE): Likewise.
943 (FRAME_PARM_SAVE): Likewise.
944 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
945 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
946 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
948 (CHECK_SP): Use symbolic stack frame offsets.
949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
950 zone" instead of caller's parameter save area for temp storage.
951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
952 Likewise. Also, use symbolic stack frame offsets.
953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
954 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
955 our own stack frame instead of the caller's.
956 (__socket): Use symbolic stack frame offsets.
957
122b66de
UW
9582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
959 Alan Modra <amodra@gmail.com>
960
961 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
962 Define.
963 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
964 PPC64_LOCAL_ENTRY_OFFSET): Define.
965 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
966 New function.
967 (elf_machine_fixup_plt): Call it.
968 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
969 reloc arguments.
970 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
971 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
972 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
973 r2 before calling target.
974
696caf1d
UW
9752013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
976 Alan Modra <amodra@gmail.com>
977
978 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
979 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
980 versions of macros to support ELFv2 ABI.
981 (LOCALENTRY): New macro.
982 (ENTRY, EALIGN): Use it.
983 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
984 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
985 fall through into ENTRY entry point.
986 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
987 Only define if _CALL_ELF != 2.
988
989 (elf_machine_matches_host): Verify ABI version matches.
990 (RTLD_START): Use LOCALENTRY.
991 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
992 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
993 (PLT_ENTRY_WORDS): New macro.
994 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
995 (elf_machine_runtime_setup): Support ELFv2 ABI.
996 (elf_machine_fixup_plt): Likewise.
997 (elf_machine_plt_conflict): Likewise.
998 (resolve_ifunc): Likewise.
999 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1000 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1001 Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1003 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1005 (makecontext): Support ELFv2 ABI.
1006 * elf/elf.h (EF_PPC64_ABI): Define.
1007
d31beafa
UW
10082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1009
1010 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1011 New assembler macro.
1012 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1013 [ASSEMBLER] (ENTRY): ... but instead here ...
1014 [ASSEMBLER] (EALIGN): ... and here.
1015 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1016 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1017 [!ASSEMBLER] (ENTRY_2): Use it.
1018 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1019 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1020 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1021 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1022 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1024 Use PPC64_LOAD_FUNCPTR.
1025
b525166b
UW
10262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1027
1028 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1029
7ec07d9a
AM
10302013-12-04 Alan Modra <amodra@gmail.com>
1031
1032 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1033 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1034 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1035 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1036
1037 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1038 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1039 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1040 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1041 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1042 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1043
5162e7dd
UW
10442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1045
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1047 (__makecontext): Fix incorrect CFI when backtracing out of
1048 context created via makecontext.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1050 (__setcontext): Fix incorrect CFI during switch to new context.
1051 (__novec_setcontext): Likewise.
1052
19e3372b
OB
10532013-12-04 Ondřej Bílka <neleai@seznam.cz>
1054
1055 [BZ #4772]
1056 * time/strptime_l.c (__strptime_internal): Allow modifiers
1057 in strptime.
1058 * time/tst-strptime.c (day_tests): Add testcase.
1059
1060
ecaf142d
SP
10612013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1062
1063 * scripts/bench.pl: Skip over blank lines.
1064
fbf964ae
PE
10652013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1066
1067 [BZ #926]
1068 * manual/time.texi (Calendar Time): Clarify what timezone functions
1069 use.
1070
fa60a674
AZ
10712013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1072
1073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1074
d674f0ef
OB
10752013-12-04 Ondřej Bílka <neleai@seznam.cz>
1076
1077 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1078 implementation.
1079 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1080 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1081 * debug/memset_chk.c (__memset_chk): Likewise.
1082 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1083 * debug/strncpy_chk.c: Likewise.
1084
17dea188
JM
10852013-12-03 Joseph Myers <joseph@codesourcery.com>
1086
749008ff
JM
1087 [BZ #15268]
1088 [BZ #15425]
1089 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1090 (__ieee754_exp): For possibly underflowing results, check size of
1091 result and force underflow exception if required.
1092 * math/auto-libm-test-in: Add more tests of exp.
1093 * math/auto-libm-test-out: Regenerated.
1094 * sysdeps/i386/fpu/libm-test-ulps: Update.
1095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1096
17dea188
JM
1097 [BZ #16283]
1098 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1099 * math/w_exp2f.c (__exp2f): Likewise.
1100 * math/w_exp2l.c (__exp2l): Likewise.
1101 * math/auto-libm-test-in: Do not allow missing errno on exp2
1102 underflow.
1103 * math/auto-libm-test-out: Regenerated.
1104
b20de2c3
OB
11052013-12-03 Ondřej Bílka <neleai@seznam.cz>
1106
1107 [BZ #16274]
1108 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1109 handle filename validation.
1110 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1111 (do_open): Delete.
1112
d8e2dbe3
JM
11132013-12-03 Joseph Myers <joseph@codesourcery.com>
1114
34e16df5
JM
1115 [BZ #6786]
1116 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1117 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1118 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1119 <float.h>.
1120 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1121 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1122 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1123 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1124 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1125 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1126 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1127 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1128 Add more erfc tests.
1129 * math/auto-libm-test-out: Regenerated.
1130 * sysdeps/i386/fpu/libm-test-ulps: Update.
1131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1132
d8e2dbe3
JM
1133 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1134 exp2, expm1, j0 and j1.
1135 * math/auto-libm-test-out: Regenerated.
1136 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1137 (erfc_test_data): Likewise.
1138 (exp_test_data): Likewise.
1139 (exp_tonearest_test_data): Likewise.
1140 (exp_towardzero_test_data): Likewise.
1141 (exp_downward_test_data): Likewise.
1142 (exp_upward_test_data): Likewise.
1143 (exp10_test_data): Likewise.
1144 (exp2_test_data): Likewise.
1145 (expm1_test_data): Likewise.
1146 (j0_test_data): Likewise.
1147 (j1_test_data): Likewise.
1148 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1149 (input_flag_type): Add flag_xfail_rounding.
1150 (input_flags): Add xfail-rounding.
1151 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1152 (output_for_one_input_case): Handle flag_xfail_rounding.
1153 * sysdeps/i386/fpu/libm-test-ulps: Update.
1154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1155
18d14251
AJ
11562013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1157
3d2e6075 1158 [BZ #16289]
18d14251
AJ
1159 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1160 division by 0.
1161
520d437b
SP
11622013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1163
1164 [BZ #16195]
1165 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1166 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1167 (STAP_PROBE0): New macro.
1168 (STAP_PROBE1): Likewise.
1169 (STAP_PROBE2): Likewise.
1170 (STAP_PROBE3): Likewise.
1171 (STAP_PROBE4): Likewise.
1172
416e0145
OB
11732013-12-02 Ondřej Bílka <neleai@seznam.cz>
1174
1175 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1176
9d17796a
SE
11772013-12-02 Steve Ellcey <sellcey@mips.com>
1178
1179 * benchtests/Makefile (bench): Add sqrt.
1180 (LDLIBS-bench-sqrt): New.
1181 * benchtests/sqrt-input: New.
1182
f524d6a8
PS
11832013-12-02 Pavel Simerda <psimerda@redhat.com>
1184
639a0ef8
PS
1185 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1186 (GAIH_EAI): Likewise.
1187 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1188 (gaih_inet): Likewise.
1189 (getaddrinfo): Don't use GAIH_EAI.
1190
f524d6a8
PS
1191 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1192 (struct gaih): Remove definition.
1193
df3aedaf
SP
11942013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1195
1196 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1197 Use HERRNOP directly.
1198
1ab19dec
AZ
11992013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1200
b42ad38d 1201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 1202
176b0c79
JM
12032013-11-30 Joseph Myers <joseph@codesourcery.com>
1204
1205 * math/gen-auto-libm-tests.c (test_functions): Add more
1206 single-argument functions.
1207 (special_fill_pi_2): New function.
1208 (special_fill_minus_pi_2): Likewise.
1209 (special_fill_pi_6): Likewise.
1210 (special_fill_minus_pi_6): Likewise.
1211 (special_fill_pi_3): Likewise.
1212 (special_fill_2pi_3): Likewise.
1213 (special_fill_e): Likewise.
1214 (special_fill_1_e): Likewise.
1215 (special_fill_e_minus_1): Likewise.
1216 (special_real_inputs): Add more special inputs.
1217 (output_for_one_input_case): Do not require ERANGE on underflow to
1218 zero if round-to-nearest result does not underflow to zero, unless
1219 exact results required.
1220 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1221 atan, atanh, cbrt, cos and cosh.
1222 * math/auto-libm-test-out: Regenerated.
1223 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1224 (acos_tonearest_test_data): Likewise.
1225 (acos_towardzero_test_data): Likewise.
1226 (acos_downward_test_data): Likewise.
1227 (acos_upward_test_data): Likewise.
1228 (acosh_test_data): Likewise.
1229 (asin_test_data): Likewise.
1230 (asin_tonearest_test_data): Likewise.
1231 (asin_towardzero_test_data): Likewise.
1232 (asin_upward_test_data): Likewise.
1233 (asinh_test_data): Likewise.
1234 (atan_test_data): Likewise.
1235 (atanh_test_data): Likewise.
1236 (cbrt_test_data): Likewise.
1237 (cos_test_data): Likewise.
1238 (cos_tonearest_test_data): Likewise.
1239 (cos_towardzero_test_data): Likewise.
1240 (cos_downward_test_data): Likewise.
1241 (cos_upward_test_data): Likewise.
1242 (cosh_test_data): Likewise.
1243 (cosh_tonearest_test_data): Likewise.
1244 (cosh_towardzero_test_data): Likewise.
1245 (cosh_downward_test_data): Likewise.
1246 (cosh_upward_test_data): Likewise.
1247 * sysdeps/i386/fpu/libm-test-ulps: Update.
1248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1249
ffb536d0
JM
12502013-11-29 Joseph Myers <joseph@codesourcery.com>
1251
2a77a467
JM
1252 [BZ #6787]
1253 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1254 * math/w_exp10f.c (__exp10f): Likewise.
1255 * math/w_exp10l.c (__exp10l): Likewise.
1256 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1257 errno settings in existing tests.
1258
ea3bc4e8
JM
1259 [BZ #14032]
1260 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1261 precision control set to double precision.
1262 * sysdeps/i386/fpu/w_sqrt.c: New file.
1263 * math/auto-libm-test-in: Add more tests.
1264 * math/auto-libm-test-out: Update.
1265
0712c9d8
JM
1266 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1267 (sqrt_test_tonearest): New function.
1268 (sqrt_towardzero_test_data): New variable.
1269 (sqrt_test_towardzero): New function.
1270 (sqrt_downward_test_data): New variable.
1271 (sqrt_test_downward): New function.
1272 (sqrt_upward_test_data): New variable.
1273 (sqrt_test_upward): New function.
1274 (main): Call the new functions.
1275
ffb536d0
JM
1276 * math/gen-auto-libm-tests.c: New file.
1277 * math/auto-libm-test-in: Likewise.
1278 * math/auto-libm-test-out: New generated file.
1279 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1280 variables.
1281 (%beautify): Add generated representations of zero.
1282 (top level): Set $auto_input and call parse_auto_input.
1283 (beautify): Remove trailing "f" from hex float constants.
1284 (parse_args): Handle XFAIL_TEST.
1285 (convert_condition): New function.
1286 (or_value): Likewise.
1287 (or_cond_value): Likewise.
1288 (generate_testfile): Handle AUTO_TESTS_* lines.
1289 (parse_auto_input): New function.
1290 * math/libm-test.inc (XFAIL_TEST): New macro.
1291 (ERRNO_UNCHANGED): Update value.
1292 (ERRNO_EDOM): Likewise.
1293 (ERRNO_ERANGE): Likewise.
1294 (IGNORE_RESULT): Likewise.
1295 (TEST_COND_flt_32): New macro.
1296 (TEST_COND_dbl_64): Likewise.
1297 (TEST_COND_ldbl_96_intel): Likewise.
1298 (TEST_COND_ldbl_96_m68k): Likewise.
1299 (TEST_COND_ldbl_128): Likewise.
1300 (TEST_COND_ldbl_128ibm): Likewise.
1301 (TEST_COND_long32): Likewise.
1302 (TEST_COND_long64): Likewise.
1303 (TEST_COND_before_rounding): Likewise.
1304 (TEST_COND_after_rounding): Likewise.
1305 (enable_test): Handle XFAIL_TEST flag.
1306 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1307 with finite results.
1308 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1309 auto-libm-test-out.
1310
acd98a8e
AK
13112013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1312 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1313
1314 [BZ #16214]
1315 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1316 __tls_get_addr_internal instead of __tls_get_offset in order to
1317 avoid GOT pointer dependency. Make rtld export
1318 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1319 __tls_get_addr since we are a __tls_get_offset platform.
1320 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1321 GOT pointer being set up before.
1322 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1323
3c1c46a6
JM
13242013-11-28 Joseph Myers <joseph@codesourcery.com>
1325
7475aef5
JM
1326 * manual/math.texi (Errors in Math Functions): Document accuracy
1327 goals.
1328
8bca7cd8
JM
1329 [BZ #15004]
1330 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1331 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1332 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1333 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1334 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1335 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1336 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1337 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1338 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1339 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1340 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1341 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1343 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1344 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1345 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1346
91a1f3fe
JM
1347 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1348 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1349 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1350 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1351 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1352 Likewise.
1353 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1354 Likewise.
1355 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1356 Likewise.
1357 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1358 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1359 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1360 atomic-feupdateenv and flt-rounds.
1361 * sysdeps/powerpc/nofpu/Versions (libc): Add
1362 __atomic_feholdexcept, __atomic_feclearexcept,
1363 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1364 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1365 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1366 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1367 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1368 here.
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1370 Update.
1371
c5df7609
JM
1372 * manual/arith.texi (FP Exceptions): Document that exceptions may
1373 not be raised when matherr is used.
1374 (Math Error Reporting): Document overflow in directed rounding
1375 modes. Document that errno may not be set when finite values are
1376 returned on overflow. Document intent to set errno on underflow
1377 only for underflow to zero.
1378
3c1c46a6
JM
1379 [BZ #16271]
1380 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1381 round-to-nearest then adjust result for other rounding modes.
1382 * include/fenv.h (fegetround): Use libm_hidden_proto.
1383 * math/fegetround.c (fegetround): Use libm_hidden_def.
1384 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1385 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1386 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1387 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1388 Likewise.
1389 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1390 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1391 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1392 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1393
5a4c6d53
SP
13942013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1395
1396 [BZ #16077]
1397 * nss/Versions (libnss_files): Add
1398 _nss_files_gethostbyname3_r.
1399 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1400 New function.
1401 (HOST_DB_LOOKUP): Remove macro.
1402 (_nss_files_gethostbyname_r): Implement function without the
1403 HOST_DB_LOOKUP macro.
1404 (_nss_files_gethostbyname2_r): Likewise.
1405
897b98ba
OB
14062013-11-28 Ondřej Bílka <neleai@seznam.cz>
1407
1408 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1409
6f476861
UB
14102013-11-26 Uros Bizjak <ubizjak@gmail.com>
1411
1412 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1413 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1414 warning.
1415
bd12ab55
AZ
14162013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1417
1418 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1419 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1420 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1421 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1422 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1423 __fe_nomask_env_priv and attribute_hidden.
1424 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1425 (libc_feupdateenv_test_ppc): Likewise.
1426 (libc_feresetround_ppc): Likewise.
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1428 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1429 compat_symbol macro.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1431 (__fe_nomask_env): Likewise.
1432 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1433
52bb6543
OB
14342013-11-26 Ondřej Bílka <neleai@seznam.cz>
1435
1436 * string/Makefile: Remove ifunc tests.
1437 * string/test-string.h: Define TEST_IFUNC.
1438 * string/test-bcopy-ifunc.c: Remove.
1439 * string/test-bzero-ifunc.c: Likewise.
1440 * string/test-memccpy-ifunc.c: Likewise.
1441 * string/test-memchr-ifunc.c: Likewise.
1442 * string/test-memcmp-ifunc.c: Likewise.
1443 * string/test-memcpy-ifunc.c: Likewise.
1444 * string/test-memmem-ifunc.c: Likewise.
1445 * string/test-memmove-ifunc.c: Likewise.
1446 * string/test-mempcpy-ifunc.c: Likewise.
1447 * string/test-memrchr-ifunc.c: Likewise.
1448 * string/test-memset-ifunc.c: Likewise.
1449 * string/test-rawmemchr-ifunc.c: Likewise.
1450 * string/test-stpcpy-ifunc.c: Likewise.
1451 * string/test-stpncpy-ifunc.c: Likewise.
1452 * string/test-strcasecmp-ifunc.c: Likewise.
1453 * string/test-strcasestr-ifunc.c: Likewise.
1454 * string/test-strcat-ifunc.c: Likewise.
1455 * string/test-strchr-ifunc.c: Likewise.
1456 * string/test-strchrnul-ifunc.c: Likewise.
1457 * string/test-strcmp-ifunc.c: Likewise.
1458 * string/test-strcpy-ifunc.c: Likewise.
1459 * string/test-strcspn-ifunc.c: Likewise.
1460 * string/test-strlen-ifunc.c: Likewise.
1461 * string/test-strncasecmp-ifunc.c: Likewise.
1462 * string/test-strncat-ifunc.c: Likewise.
1463 * string/test-strncmp-ifunc.c: Likewise.
1464 * string/test-strncpy-ifunc.c: Likewise.
1465 * string/test-strnlen-ifunc.c: Likewise.
1466 * string/test-strpbrk-ifunc.c: Likewise.
1467 * string/test-strrchr-ifunc.c: Likewise.
1468 * string/test-strspn-ifunc.c: Likewise.
1469 * string/test-strstr-ifunc.c: Likewise.
1470
ab260039 14712013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
1472
1473 * benchtests/Makefile: Remove ifunc tests.
1474 * benchtests/bench-string.h: Define TEST_IFUNC.
1475 * benchtests/bench-bcopy-ifunc.c: Remove.
1476 * benchtests/bench-bzero-ifunc.c: Likewise.
1477 * benchtests/bench-memccpy-ifunc.c: Likewise.
1478 * benchtests/bench-memchr-ifunc.c: Likewise.
1479 * benchtests/bench-memcmp-ifunc.c: Likewise.
1480 * benchtests/bench-memcpy-ifunc.c: Likewise.
1481 * benchtests/bench-memmem-ifunc.c: Likewise.
1482 * benchtests/bench-memmove-ifunc.c: Likewise.
1483 * benchtests/bench-mempcpy-ifunc.c: Likewise.
1484 * benchtests/bench-memrchr-ifunc.c: Likewise.
1485 * benchtests/bench-memset-ifunc.c: Likewise.
1486 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1487 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1488 * benchtests/bench-stpcpy-ifunc.c: Likewise.
1489 * benchtests/bench-stpncpy-ifunc.c: Likewise.
1490 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1491 * benchtests/bench-strcasestr-ifunc.c: Likewise.
1492 * benchtests/bench-strcat-ifunc.c: Likewise.
1493 * benchtests/bench-strchr-ifunc.c: Likewise.
1494 * benchtests/bench-strchrnul-ifunc.c: Likewise.
1495 * benchtests/bench-strcmp-ifunc.c: Likewise.
1496 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1497 * benchtests/bench-strcpy-ifunc.c: Likewise.
1498 * benchtests/bench-strcspn-ifunc.c: Likewise.
1499 * benchtests/bench-strlen-ifunc.c: Likewise.
1500 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1501 * benchtests/bench-strncat-ifunc.c: Likewise.
1502 * benchtests/bench-strncmp-ifunc.c: Likewise.
1503 * benchtests/bench-strncpy-ifunc.c: Likewise.
1504 * benchtests/bench-strnlen-ifunc.c: Likewise.
1505 * benchtests/bench-strpbrk-ifunc.c: Likewise.
1506 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 1507 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
1508 * benchtests/bench-strspn-ifunc.c: Likewise.
1509 * benchtests/bench-strstr-ifunc.c: Likewise.
1510
15112013-11-26 Ondřej Bílka <neleai@seznam.cz>
1512
ab260039
OB
1513 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1514
d1d9eaf4 15152013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 1516
d1d9eaf4
OB
1517 * resolv/netdb.h: Use __glibc_reserved instead __unused.
1518 * rt/aio.h: Likewise.
1519 * sysdeps/gnu/bits/utmp.h: Likewise.
1520 * sysdeps/gnu/bits/utmpx.h: Likewise.
1521 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1522 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1523 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1524 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1525 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1526 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1527 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1528 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1529 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1530 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1531 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1532 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1533 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1535 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1536 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1537 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1538 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1539 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1540 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1541 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1542 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1543 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1544 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1545 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1547 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1548 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1549 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1550 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1551 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1552 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1553 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1554 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1555 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1556 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1557 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1558 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1559 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1560 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1561 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1562 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1563
a7624ed9
CD
15642013-11-25 Carlos O'Donell <carlos@redhat.com>
1565
1566 [BZ #16245]
1567 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1568 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1569
63cfe52b
JM
15702013-11-25 Joseph Myers <joseph@codesourcery.com>
1571
1572 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1573 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1574 Likewise.
1575
41e8926a
AZ
15762013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1577
1578 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1579 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1580 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1581 (__fesetround): Remove define.
1582 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1583 rounding and exceptions handling.
1584 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1585 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1586 (__fe_nomask_env): Likewise.
1587 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1588 __fegetround instead of fegetround.
1589 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1590 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1591
6851bd4d
RM
15922013-11-21 Roland McGrath <roland@hack.frob.com>
1593
070906ff
RM
1594 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1595 it's there.
1596
6851bd4d
RM
1597 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1598
84ae135d
MI
15992013-11-21 Meador Inge <meadori@codesourcery.com>
1600
1601 [BZ #11157]
1602 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1603 (encrypt_r): Likewise.
1604 * malloc/obstack.h (obstack_free): Likewise.
1605 * posix/unistd.h (encrypt): Likewise.
1606
daf75146
GM
16072013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1608
1609 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1610 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1611 DL_CALL_DT_FINI() that call the functions directly.
1612 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1613 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1614 * elf/dl-fini.c: Likewise.
1615
10ad46bc
OB
16162013-11-20 Ondřej Bílka <neleai@seznam.cz>
1617
1618 * malloc/hooks.c (memalign_check): Add alignment rounding.
1619 * malloc/malloc.c (_mid_memalign): New function.
1620 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1621 Implement by calling _mid_memalign.
1622 * manual/probes.texi (Memory Allocation Probes): Remove
1623 memory_valloc_retry and memory_pvalloc_retry.
1624
f3fd2628
SP
16252013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1626
4712799f
SP
1627 * locale/programs/locarchive.c (open_archive): Add const
1628 qualifier to ARCHIVEFNAME and copy default fname to
1629 DEFAULT_FNAME.
1630
0417b20f
SP
1631 [BZ #15601]
1632 * libio/tst-widetext.input: Rename Oriya to Odia.
1633 * locale/iso-639.def: Likewise.
1634
f3fd2628
SP
1635 * manual/probes.texi (Mathematical Function Probes): Add
1636 documentation for sin, cos, asin and acos probes.
1637 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1638 (__sin32): Add slowasin probe.
1639 (__cos32): Add slowacos probe.
1640 (__mpsin): Add slowsin probe.
1641 (__mpcos): Add slowcos probe.
1642
73c1ce4f
JM
16432013-11-19 Joseph Myers <joseph@codesourcery.com>
1644
1645 [BZ #15483]
1646 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1647 thread-local __sim_exceptions_thread and global
1648 __sim_exceptions_global.
1649 (__sim_disabled_exceptions): Change to thread-local
1650 __sim_disabled_exceptions_thread and global
1651 __sim_disabled_exceptions_global.
1652 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1653 and global __sim_round_mode_global.
1654 (__simulate_exceptions): Use thread-local floating-point state and
1655 set global state from it as needed.
1656 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1657 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1658 __sim_round_mode_thread.
1659 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1660 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1661 and global __sim_exceptions_global.
1662 (__sim_disabled_exceptions): Change to thread-local
1663 __sim_disabled_exceptions_thread and global
1664 __sim_disabled_exceptions_global.
1665 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1666 and global __sim_round_mode_global.
1667 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1668 (SIM_SET_GLOBAL): Likewise.
1669 * sysdeps/powerpc/soft-fp/sfp-machine.h
1670 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1671 __sim_round_mode_thread.
1672 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1673 __sim_disabled_exceptions_thread.
1674 (__sim_exceptions): Change to __sim_exceptions_thread.
1675 (__sim_disabled_exceptions): Change to
1676 __sim_disabled_exceptions_thread.
1677 (__sim_round_mode): Change to __sim_round_mode_thread.
1678 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1679 thread-local floating-point state and set global state from it as
1680 needed.
1681 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1682 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1683 (__sim_disabled_exceptions): Remove extern declaration.
1684 (feenableexcept): Use thread-local floating-point state and set
1685 global state from it as needed.
1686 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1687 extern declaration.
1688 (__sim_disabled_exceptions): Likewise.
1689 (__sim_round_mode): Likewise.
1690 (__fegetenv): Use thread-local floating-point state.
1691 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1692 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1693 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1694 floating-point state and set global state from it as needed.
1695 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1696 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1697 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1698 Likewise.
1699 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1700 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1701 Likewise.
1702 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1703 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1704 Use __sim_round_mode_thread.
1705 * math/test-fenv-tls.c: New file.
1706 * math/Makefile (tests): Add test-fenv-tls.
1707 ($(objpfx)test-fenv-tls): Depend on
1708 $(common-objpfx)nptl/libpthread.so.
1709
b5449b12
AS
17102013-11-19 Andreas Schwab <schwab@suse.de>
1711
1712 * locale/programs/locale.c (show_info): Decode wordarray elements.
1713 * locale/categories.def (LC_MONETARY): Add element for
1714 _NL_MONETARY_CRNCYSTR.
1715 * locale/C-monetary.c (conversion_rate): New variable.
1716 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1717 element.
1718
e186536b
CM
17192013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1720
1721 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1722 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1723
5c349950
PP
17242013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1725
1726 * elf/Makefile (tst-auxv): New test.
1727 * elf/tst-auxv.c: New
1728 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1729
699df45b
JM
17302013-11-18 Joseph Myers <joseph@codesourcery.com>
1731
1732 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1733 (hidden_proto): Caller changed.
1734 (hidden_tls_proto): New macro.
1735 (libc_hidden_tls_proto): Likewise.
1736 (rtld_hidden_tls_proto): Likewise.
1737 (libm_hidden_tls_proto): Likewise.
1738 (libresolv_hidden_tls_proto): Likewise.
1739 (librt_hidden_tls_proto): Likewise.
1740 (libdl_hidden_tls_proto): Likewise.
1741 (libnss_files_hidden_tls_proto): Likewise.
1742 (libnsl_hidden_tls_proto): Likewise.
1743 (libnss_nisplus_hidden_tls_proto): Likewise.
1744 (libutil_hidden_tls_proto): Likewise.
1745
b7589107
OB
17462013-11-18 Ondřej Bílka <neleai@seznam.cz>
1747
1748 [BZ #10253]
1749 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1750 (decompose_rpath): Defer expansion to fillin_rpath.
1751 (_dl_init_paths): Pass linkmap to fillin_rpath.
1752
250c23bd
RS
17532013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1754
1755 * benchtests/Makefile: Add strsep.
1756 * benchtests/bench-strsep.c: New file: strsep benchtest.
1757 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1758
a7931fcf
AS
17592013-11-18 Andreas Schwab <schwab@suse.de>
1760
1761 * locale/programs/locale.c (show_info) [case byte]: Check for
1762 '\377' instead of '\177'.
1763 * locale/C-monetary.c (not_available): Always use "\377".
1764 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1765 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1766 detect unavailable sign_posn locale elements.
1767 * locale/localeconv.c (__localeconv): For grouping and
1768 mon_grouping handle "\177" and "\377" like no grouping.
1769 (INT_ELEM): New macro. Use it to set all numeric members.
1770 * locale/programs/ld-monetary.c (monetary_read)
1771 <tok_mon_grouping>: Normalize single -1 to the empty string.
1772 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1773 Likewise.
1774
728dab0e
OB
17752013-11-07 Ondřej Bílka <neleai@seznam.cz>
1776
1777 [BZ #16055]
1778 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1779 when we match (nil).
1780 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1781
66294491
JM
17822013-11-16 Joseph Myers <joseph@codesourcery.com>
1783
ce665817
JM
1784 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1785 (NO_TEST_INLINE): Update value.
1786 (ERRNO_UNCHANGED): Likewise.
1787 (ERRNO_EDOM): Likewise.
1788 (ERRNO_ERANGE): Likewise.
1789 (IGNORE_RESULT): Likewise.
1790 (check_float_internal): Check signs of NaN results if
1791 TEST_NAN_SIGN used.
1792 (check_complex): Pass TEST_NAN_SIGN flag through to second
1793 check_float_internal call.
1794 (copysign_test_data): Add tests with quiet NaNs as second
1795 argument. Use TEST_NAN_SIGN.
1796 (fabs_test_data): Add test of negative quiet NaN argument. Use
1797 TEST_NAN_SIGN.
1798 (signbit_test_data): Add tests of quiet NaN argument.
1799 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1800
ee1466a9
JM
1801 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1802 $ignore_result.
1803 (parse_args): Handle function results specified as IGNORE.
1804 * math/libm-test.inc (IGNORE_RESULT): New macro.
1805 (check_float_internal): Do not check numerical result if flag
1806 IGNORE_RESULT set.
1807 (check_complex): Pass through IGNORE_RESULT to second
1808 check_float_internal call.
1809 (check_int): Do not check numerical result if flag IGNORE_RESULT
1810 set.
1811 (check_long): Likewise.
1812 (check_bool): Likewise.
1813 (check_longlong): Likewise.
1814 (lrint_test_data): Add tests of infinite and NaN arguments.
1815 (lrint_tonearest_test_data): Likewise.
1816 (lrint_towardzero_test_data): Likewise.
1817 (lrint_downward_test_data): Likewise.
1818 (lrint_upward_test_data): Likewise.
1819 (llrint_test_data): Likewise.
1820 (llrint_tonearest_test_data): Likewise.
1821 (llrint_towardzero_test_data): Likewise.
1822 (llrint_downward_test_data): Likewise.
1823 (llrint_upward_test_data): Likewise.
1824 (lround_test_data): Likewise.
1825 (llround_test_data): Likewise.
1826
14407b7e
JM
1827 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1828 (ERRNO_UNCHANGED): Update value.
1829 (ERRNO_EDOM): Likewise.
1830 (ERRNO_ERANGE): Likewise.
1831 (NO_TEST_INLINE_FLOAT): New macro.
1832 (NO_TEST_INLINE_DOUBLE): Likewise.
1833 (enable_test): New function.
1834 (RUN_TEST_f_f): Check enable_test before running test.
1835 (RUN_TEST_2_f): Likewise.
1836 (RUN_TEST_fff_f): Likewise.
1837 (RUN_TEST_c_f): Likewise.
1838 (RUN_TEST_f_f1): Likewise.
1839 (RUN_TEST_fF_f1): Likewise.
1840 (RUN_TEST_fI_f1): Likewise.
1841 (RUN_TEST_ffI_f1): Likewise.
1842 (RUN_TEST_c_c): Likewise.
1843 (RUN_TEST_cc_c): Likewise.
1844 (RUN_TEST_f_i): Likewise.
1845 (RUN_TEST_f_i_tg): Likewise.
1846 (RUN_TEST_ff_i_tg): Likewise.
1847 (RUN_TEST_f_b): Likewise.
1848 (RUN_TEST_f_b_tg): Likewise.
1849 (RUN_TEST_f_l): Likewise.
1850 (RUN_TEST_f_L): Likewise.
1851 (RUN_TEST_fFF_11): Likewise.
1852 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1853 conditionals.
1854 (cosh_test_data): Likewise.
1855 (exp_test_data): Likewise.
1856 (expm1_test_data): Likewise.
1857 (hypot_test_data): Likewise.
1858 (pow_test_data): Likewise.
1859 (sinh_test_data): Likewise.
1860 (tanh_test_data): Likewise.
1861 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1862 flags argument.
1863
ca07f197
JM
1864 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1865 tests with quiet NaN input and output.
1866 (acosh_test_data): Likewise.
1867 (asin_test_data): Likewise.
1868 (asinh_test_data): Likewise.
1869 (atan_test_data): Likewise.
1870 (atanh_test_data): Likewise.
1871 (atan2_test_data): Likewise.
1872 (cbrt_test_data): Likewise.
1873 (cos_test_data): Likewise.
1874 (cosh_test_data): Likewise.
1875 (erf_test_data): Likewise.
1876 (erfc_test_data): Likewise.
1877 (exp_test_data): Likewise.
1878 (exp10_test_data): Likewise.
1879 (exp2_test_data): Likewise.
1880 (expm1_test_data): Likewise.
1881 (hypot_test_data): Likewise.
1882 (j0_test_data): Likewise.
1883 (j1_test_data): Likewise.
1884 (jn_test_data): Likewise.
1885 (lgamma_test_data): Likewise.
1886 (log_test_data): Likewise.
1887 (log10_test_data): Likewise.
1888 (log1p_test_data): Likewise.
1889 (log2_test_data): Likewise.
1890 (pow_test_data): Likewise.
1891 (scalb_test_data): Likewise.
1892 (sin_test_data): Likewise.
1893 (sincos_test_data): Likewise.
1894 (sinh_test_data): Likewise.
1895 (tan_test_data): Likewise.
1896 (tanh_test_data): Likewise.
1897 (tgamma_test_data): Likewise.
1898 (y0_test_data): Likewise.
1899 (y1_test_data): Likewise.
1900 (yn_test_data): Likewise.
1901
66294491
JM
1902 [BZ #16167]
1903 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1904 argument being NaN and avoid computations with second argument in
1905 that case.
1906 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1907 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1908 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1909
1820b143
CL
19102013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1911
1912 * locale/iso-639.def: Add Chitwani Tharu (the).
1913
714bd261
AS
19142013-11-14 Andreas Schwab <schwab@suse.de>
1915
1916 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1917 word instead of empty string.
1918
7ab44563
AZ
19192013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1920
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1922 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1924 (__fe_nomask_env): Likewise.
1925
e8470ea2
SE
19262013-11-13 Steve Ellcey <sellcey@mips.com>
1927
1928 * benchtests/bench-timing.h: Include time.h.
1929
17c1d9f0
L
19302013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1931
1932 [BZ #15997]
1933 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1934 to 3.4.0 for x32.
1935 * sysdeps/unix/sysv/linux/configure: Regenerated.
1936
9310c284
JM
19372013-11-13 Joseph Myers <joseph@codesourcery.com>
1938
1939 [BZ #16151]
1940 * stdlib/strtod_l.c (round_and_return): Do not consider
1941 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1942 exponent one less than half the least subnormal exponent.
1943 * stdlib/test-strtod-round-data: Add more tests.
1944 * stdlib/tst-strtod-round.c (tests): Regenerated.
1945
7a2ad8cf
AZ
19462013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1947
1948 [BZ #14143]
1949 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1950 (__fe_mask_env): Likewise.
1951 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1952 libm_hidden_proto and add function prototype.
1953 (__fe_mask_env): Add function prototype.
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1955 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1957 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1959 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1960
50727aa7
MS
19612013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1962
b2f386c1 1963 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1964 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1965
a615be46
MS
19662013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1967
1968 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1969 of htab_find_slot().
1970
7ddace62
DM
19712013-11-11 David S. Miller <davem@davemloft.net>
1972
1973 [BZ #16150]
1974 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1975 symbol in the non-vis3 case in static builds.
1976 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1977 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1978 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1979 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1980
9182aa67
JK
19812013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1982
1983 [BZ #387]
1984 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1985 it is empty.
1986
450a2e2d
AZ
19872013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1988
b2f386c1
SP
1989 * benchtests/Makefile: Add bench-strtod.
1990 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1991
8ec3f656
AS
19922013-11-11 Andreas Schwab <schwab@suse.de>
1993
1994 [BZ #16153]
1995 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1996 terminating NUL in key length.
1997
76a9b998
AZ
19982013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1999
2000 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2001 Add artificial ODP entry for vDSO symbol for PPC64.
2002 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2003 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2004
e4368156
OB
20052013-11-07 Ondřej Bílka <neleai@seznam.cz>
2006
2007 [BZ #15374]
2008 * nss/getent.c (services_keys): Recognize services starting with digit.
2009
8d6bb57c
DM
20102013-11-06 David S. Miller <davem@davemloft.net>
2011
2012 [BZ #15985]
2013 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2014 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2015
e256c421
WN
20162013-11-06 Will Newton <will.newton@linaro.org>
2017
2018 * manual/memory.texi (Malloc Examples): Remove register
2019 keyword from examples.
2020
f6e12daa 20212013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 2022
f6e12daa 2023 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 2024
9d880655
AS
20252013-11-04 Joseph Myers <joseph@codesourcery.com>
2026
2027 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2028 depending on [__GCC_IEC_559 > 0].
2029 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2030 depending on [__GCC_IEC_559_COMPLEX > 0].
2031
ae129d3c
CL
20322013-11-03 Chris Leonard <cjl@sugarlabs.org>
2033
2034 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2035 to iso-639.def.
2036
4a15c2a4 20372013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2038
2039 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2040
8b35e35d
OB
20412013-11-01 Ondřej Bílka <neleai@seznam.cz>
2042
2043 [BZ #16112]
2044 * malloc/malloc (malloc_info): Do not handle first bin as
2045 special case.
2046
1d70fd6c
CL
20472013-11-01 Chris Leonard <cjl@sugarlabs.org>
2048
2049 * locale/iso-639.def: Add Central Nahuatl (nhn).
2050
8c5c2600
BH
20512013-11-01 Bruno Haible <bruno@clisp.org>
2052
2053 [BZ #7003]
2054 * manual/math.texi (BSD Random): Specify range upper bound as
2055 in POSIX.
2056
da5579c2
CL
20572013-10-31 Chris Leonard <cjl@sugarlabs.org>
2058
2059 * locale/iso-639.def: Add Meadow Mari (mhr).
2060
5d30d853
OB
20612013-10-31 Ondřej Bílka <neleai@seznam.cz>
2062
2063 [BZ #14752], [BZ #15763]
2064 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2065 Validate name.
2066 * rt/tst_shm.c: Add test for escaping directory.
2067
a4966c61
AS
20682013-10-31 Andreas Schwab <schwab@suse.de>
2069
8a43e768 2070 [BZ #15917]
a4966c61
AS
2071 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2072 followed by 'x' as part of digit sequence.
2073 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2074
28d708c4
MAP
20752013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2076
2077 [BZ #16037]
2078 * configure.ac: allow GNU Make 4.0 and greater.
2079 * configure: Regenerated.
2080
a56ee40b
WN
20812013-10-30 Will Newton <will.newton@linaro.org>
2082
2083 [BZ #16038]
2084 * malloc/hooks.c (memalign_check): Limit alignment to the
2085 maximum representable power of two.
2086 * malloc/malloc.c (__libc_memalign): Likewise.
2087 * malloc/tst-memalign.c (do_test): Add test for very
2088 large alignment values.
2089 * malloc/tst-posix_memalign.c (do_test): Likewise.
2090
c6e4925d
OB
20912013-10-30 Ondřej Bílka <neleai@seznam.cz>
2092
2093 [BZ #11087]
2094 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2095 (munmap_chunk): Likewise.
2096 (mremap_chunk): Likewise.
2097
20982013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 2099
8a43e768 2100 [BZ #15799]
bbea82f7
OB
2101 * stdlib/div.c (div): Remove obsolete code.
2102 * stdlib/ldiv.c (ldiv): Likewise.
2103 * stdlib/lldiv.c (lldiv): Likewise.
2104
977f4b31
SP
21052013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2106
2107 [BZ #16071]
2108 * nss/nss_files/files-XXX.c (get_contents_ret): New
2109 enumerator.
2110 (get_contents): New function.
2111 (internal_getent): Use it. Expand size of LINEBUFLEN.
2112
cb8a6dbd
MF
21132013-10-30 Mike Frysinger <vapier@gentoo.org>
2114
2115 * configure.in: Moved to ...
2116 * configure.ac: ... here. Change reference to configure.in
2117 to configure.ac.
2118 * sysdeps/arm/preconfigure.ac: ... here.
2119 configure.in to configure.ac.
2120 * sysdeps/gnu/configure.in: Moved to ...
2121 * sysdeps/gnu/configure.ac: ... here.
2122 * sysdeps/i386/configure.in: Moved to ...
2123 * sysdeps/i386/configure.ac: ... here.
2124 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2125 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2126 * sysdeps/mach/configure.in: Moved to ...
2127 * sysdeps/mach/configure.ac: ... here.
2128 * sysdeps/mach/hurd/configure.in: Moved to ...
2129 * sysdeps/mach/hurd/configure.ac: ... here.
2130 * sysdeps/powerpc/configure.in: Moved to ...
2131 * sysdeps/powerpc/configure.ac: ... here.
2132 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2133 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2134 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2135 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2136 * sysdeps/s390/s390-32/configure.in: Moved to ...
2137 * sysdeps/s390/s390-32/configure.ac: ... here.
2138 * sysdeps/s390/s390-64/configure.in: Moved to ...
2139 * sysdeps/s390/s390-64/configure.ac: ... here.
2140 * sysdeps/sh/configure.in: Moved to ...
2141 * sysdeps/sh/configure.ac: ... here.
2142 * sysdeps/sparc/configure.in: Moved to ...
2143 * sysdeps/sparc/configure.ac: ... here.
2144 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2145 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2146 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2147 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2148 * sysdeps/x86_64/configure.in: Moved to ...
2149 * sysdeps/x86_64/configure.ac: ... here.
2150 * sysdeps/x86_64/preconfigure.in: Moved to ...
2151 * sysdeps/x86_64/preconfigure.ac: ... here.
2152 * aclocal.m4: Change reference to configure.in to configure.ac.
2153 * config.h.in: Likewise.
2154 * manual/install.texi: Likewise.
2155 * manual/maint.texi: Likewise.
2156 * Makefile: Likewise.
2157 * malloc/Makefile: Likewise.
2158 * nscd/Makefile: Likewise.
2159 * Makeconfig: Change reference to configure.in and
2160 preconfigure.in to configure.ac and preconfigure.ac
2161 respectively.
2162 * INSTALL: Regenerated.
2163 * configure: Likewise.
2164 * sysdeps/gnu/configure: Likewise.
2165 * sysdeps/i386/configure: Likewise.
2166 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2167 * sysdeps/mach/configure: Likewise.
2168 * sysdeps/mach/hurd/configure: Likewise.
2169 * sysdeps/powerpc/configure: Likewise.
2170 * sysdeps/powerpc/powerpc32/configure: Likewise.
2171 * sysdeps/powerpc/powerpc64/configure: Likewise.
2172 * sysdeps/s390/s390-32/configure: Likewise.
2173 * sysdeps/s390/s390-64/configure: Likewise.
2174 * sysdeps/sh/configure: Likewise.
2175 * sysdeps/sparc/configure: Likewise.
2176 * sysdeps/unix/sysv/linux/configure: Likewise.
2177 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2178 * sysdeps/x86_64/configure: Likewise.
2179 * sysdeps/x86_64/preconfigure: Likewise.
2180
36a4953a
AS
21812013-10-29 Andreas Schwab <schwab@suse.de>
2182
2183 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2184
c79a1204
SP
21852013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2186
dfa1b402
SP
2187 * benchtests/pow-inputs: Add new inputs.
2188
54f73d9c
SP
2189 * benchtests/exp-inputs: Add new inputs.
2190
c79a1204
SP
2191 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2192 conditional check for return value.
2193 (__cos32): Likewise.
2194
67beb545 21952013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
2196
2197 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2198 to provide a boost for large inputs with word alignment.
2199 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2200 implementation based on optimized PPC64 strcpy.
2201 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2202 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2203 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2204 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2205
151659f6
OB
22062013-10-25 Ondřej Bílka <neleai@seznam.cz>
2207
482a077e 2208 [BZ #2801]
151659f6
OB
2209 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2210
10b0f26b
OB
22112013-10-25 Ondřej Bílka <neleai@seznam.cz>
2212
2213 [BZ #14876]
2214 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2215 * time/tst-strptime.c (day_tests): Add testcase.
2216
ca42d35e
OB
22172013-10-25 Ondřej Bílka <neleai@seznam.cz>
2218
482a077e 2219 [BZ #14029]
ca42d35e
OB
2220 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2221
52e6d801
FB
22222013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2223
2224 [BZ #16074]
2225 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2226 MAP_FAILED on error.
2227
7cbcdb36
SP
22282013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2229
2230 [BZ #16072]
2231 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2232 heap for large requests.
2233
894f3f10
AM
22342013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2235
2236 [BZ #9954]
2237 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2238 result if the result has no associated interface.
2239 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2240 interface for all 127.X.Y.Z addresses.
2241
b85545a6
CL
22422013-10-24 Chris Leonard <cjl@sugarlabs.org>
2243
2244 * locale/iso-639.def: Add Ligurian (lij)
2245
d1f23d46
OB
22462013-10-21 Ondřej Bílka <neleai@seznam.cz>
2247
2248 [BZ #15825]
2249 * sunrpc/rpc_main.c: Document rpcgen -5.
2250
4db5b08f
MS
22512013-10-19 Michael Stahl <mstahl@redhat.com>
2252
2253 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2254
a471e96a
OB
22552013-10-19 Ondřej Bílka <neleai@seznam.cz>
2256
d1f23d46 2257 [BZ #10278]
a471e96a
OB
2258 * posix/glob.c: Match only directories when trailing slash is present.
2259 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2260 (main): Add testcase.
2261
45c30c61
OB
22622013-10-19 Ondřej Bílka <neleai@seznam.cz>
2263
2264 [BZ #15670]
2265 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2266
484c12fb
CD
22672013-10-18 Carlos O'Donell <carlos@redhat.com>
2268
3d7dc513
CD
2269 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2270 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2271 AUTH_DES and cindex for FIPS 140-2.
2272 (DES Encryption): Add cindex FIPS 46-3.
2273
484c12fb
CD
2274 * locale/locarchive.h (struct locarhandle): Add fname.
2275 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2276 if an optional argument was specified to --list-archive,
2277 otherwise NULL.
2278 * locale/programs/locarchive.c (show_archive_content): Take new
2279 argument fname and pass it via ah.fname to open_archive.
2280 * locale/programs/localedef.h: Update decl.
2281 (open_archive): If AH->fname is non-null, open that file
2282 rather than the default file name, and don't ignore ENOENT.
2283 (create_archive): Set AH.fname to NULL.
2284 (delete_locales_from_archive): Likewise.
2285 (add_locales_to_archive): Likewise.
2286 * locale/programs/locfile.c (write_all_categories): Likewise.
2287
3c8325fb
JM
22882013-10-18 Joseph Myers <joseph@codesourcery.com>
2289 Aldy Hernandez <aldyh@redhat.com>
2290
2291 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2292 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2293 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2294 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2295 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2296 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2297 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2298 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2299 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2300 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2301 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2302 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2303 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2304 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2305 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2306 Likewise.
2307 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2308 Likewise.
2309 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2310 Likewise.
2311 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2312 Likewise.
2313 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2314 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2315 Likewise.
2316 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2317 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2318 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2319 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2320 Likewise.
2321 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2322 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2323 * sysdeps/powerpc/preconfigure: Likewise.
2324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2325 Likewise.
2326 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2327 Replace contents of file by #include of <fenv_libc.h>.
2328 * sysdeps/powerpc/soft-fp/sfp-machine.h
2329 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2330 and <sys/prctl.h>.
2331 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2332 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2333 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2334 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2335 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2336 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2338 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2339 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2340 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2341 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2342 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2344 Allow copysignl PLT reference to be missing.
2345
5abe0682
RS
23462013-10-18 Richard Sandiford <richard@codesourcery.com>
2347 Joseph Myers <joseph@codesourcery.com
2348
2349 [BZ #15948]
2350 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2351 single character.
2352 (add_to_tablewc): Assert sequence of wide characters is nonempty.
2353
c7738d08
SP
23542013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2355
2356 * elf/tst-tls-dlinfo.c: Don't include tls.h.
2357 * elf/tst-tls1.c: Likewise.
2358 * elf/tst-tls10.h: Likewise.
2359 * elf/tst-tls14.c: Likewise.
2360 * elf/tst-tls2.c: Likewise.
2361 * elf/tst-tls3.c: Likewise.
2362 * elf/tst-tls4.c: Likewise.
2363 * elf/tst-tls5.c: Likewise.
2364 * elf/tst-tls6.c: Likewise.
2365 * elf/tst-tls7.c: Likewise.
2366 * elf/tst-tls8.c: Likewise.
2367 * elf/tst-tls9.c: Likewise.
2368 * elf/tst-tlsmod1.c: Likewise.
2369 * elf/tst-tlsmod13.c: Likewise.
2370 * elf/tst-tlsmod13a.c: Likewise.
2371 * elf/tst-tlsmod14a.c: Likewise.
2372 * elf/tst-tlsmod16a.c: Likewise.
2373 * elf/tst-tlsmod16b.c: Likewise.
2374 * elf/tst-tlsmod2.c: Likewise.
2375 * elf/tst-tlsmod3.c: Likewise.
2376 * elf/tst-tlsmod4.c: Likewise.
2377 * elf/tst-tlsmod5.c: Likewise.
2378 * elf/tst-tlsmod6.c: Likewise.
2379
0bfcf2c7
OB
23802013-10-18 Ondřej Bílka <neleai@seznam.cz>
2381
2382 [BZ #12486]
2383 * malloc/malloc.c: remove checks for statistics.
2384
264aad1e
OB
23852013-10-17 Ondřej Bílka <neleai@seznam.cz>
2386
2387 [BZ #15277]
2388 * inet/inet_net.c (inet_network): Detect additional invalid strings.
2389 * inet/tst-network.c: Add testcase.
2390
b957ced8
AS
23912013-10-17 Andreas Schwab <schwab@suse.de>
2392
2393 [BZ #15218]
2394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2395 to determine canonical name.
2396
c5d5d574
OB
23972013-10-17 Ondřej Bílka <neleai@seznam.cz>
2398
2399 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2400 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2402 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2403 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2404 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2405 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2406 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2407 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2408 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2409 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2410 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2411 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2412 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2413 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2414 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2416 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2417 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2418 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2419 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2422 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2423 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2424 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2425 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2426 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2427 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2428 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2429 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2430 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2431 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2432 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2433 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2434 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2435 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2436 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2437 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2438 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2439 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2440 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2441 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2442 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2443 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2444 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2445 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2446 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2447 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2448 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2449 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2450 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2451 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2452 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2453 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2454 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2455 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2456 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2457
e5c2c2d0
JM
24582013-10-17 Joseph Myers <joseph@codesourcery.com>
2459
2460 [BZ #16041]
2461 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2462 make result into a quiet NaN.
2463
51ca9e29
JM
24642013-10-16 Joseph Myers <joseph@codesourcery.com>
2465
2466 * soft-fp/adddf3.c: Fix horizontal whitespace.
2467 * soft-fp/addsf3.c: Likewise.
2468 * soft-fp/addtf3.c: Likewise.
2469 * soft-fp/divdf3.c: Likewise.
2470 * soft-fp/divsf3.c: Likewise.
2471 * soft-fp/divtf3.c: Likewise.
2472 * soft-fp/double.h: Likewise.
2473 * soft-fp/eqdf2.c: Likewise.
2474 * soft-fp/eqsf2.c: Likewise.
2475 * soft-fp/eqtf2.c: Likewise.
2476 * soft-fp/extenddftf2.c: Likewise.
2477 * soft-fp/extended.h: Likewise.
2478 * soft-fp/extendsfdf2.c: Likewise.
2479 * soft-fp/extendsftf2.c: Likewise.
2480 * soft-fp/extendxftf2.c: Likewise.
2481 * soft-fp/fixdfdi.c: Likewise.
2482 * soft-fp/fixdfsi.c: Likewise.
2483 * soft-fp/fixdfti.c: Likewise.
2484 * soft-fp/fixsfdi.c: Likewise.
2485 * soft-fp/fixsfsi.c: Likewise.
2486 * soft-fp/fixsfti.c: Likewise.
2487 * soft-fp/fixtfdi.c: Likewise.
2488 * soft-fp/fixtfsi.c: Likewise.
2489 * soft-fp/fixtfti.c: Likewise.
2490 * soft-fp/fixunsdfdi.c: Likewise.
2491 * soft-fp/fixunsdfsi.c: Likewise.
2492 * soft-fp/fixunsdfti.c: Likewise.
2493 * soft-fp/fixunssfdi.c: Likewise.
2494 * soft-fp/fixunssfsi.c: Likewise.
2495 * soft-fp/fixunssfti.c: Likewise.
2496 * soft-fp/fixunstfdi.c: Likewise.
2497 * soft-fp/fixunstfsi.c: Likewise.
2498 * soft-fp/fixunstfti.c: Likewise.
2499 * soft-fp/floatdidf.c: Likewise.
2500 * soft-fp/floatdisf.c: Likewise.
2501 * soft-fp/floatditf.c: Likewise.
2502 * soft-fp/floatsidf.c: Likewise.
2503 * soft-fp/floatsisf.c: Likewise.
2504 * soft-fp/floatsitf.c: Likewise.
2505 * soft-fp/floattidf.c: Likewise.
2506 * soft-fp/floattisf.c: Likewise.
2507 * soft-fp/floattitf.c: Likewise.
2508 * soft-fp/floatundidf.c: Likewise.
2509 * soft-fp/floatundisf.c: Likewise.
2510 * soft-fp/floatunditf.c: Likewise.
2511 * soft-fp/floatunsidf.c: Likewise.
2512 * soft-fp/floatunsisf.c: Likewise.
2513 * soft-fp/floatunsitf.c: Likewise.
2514 * soft-fp/floatuntidf.c: Likewise.
2515 * soft-fp/floatuntisf.c: Likewise.
2516 * soft-fp/floatuntitf.c: Likewise.
2517 * soft-fp/fmadf4.c: Likewise.
2518 * soft-fp/fmasf4.c: Likewise.
2519 * soft-fp/fmatf4.c: Likewise.
2520 * soft-fp/gedf2.c: Likewise.
2521 * soft-fp/gesf2.c: Likewise.
2522 * soft-fp/getf2.c: Likewise.
2523 * soft-fp/ledf2.c: Likewise.
2524 * soft-fp/lesf2.c: Likewise.
2525 * soft-fp/letf2.c: Likewise.
2526 * soft-fp/muldf3.c: Likewise.
2527 * soft-fp/mulsf3.c: Likewise.
2528 * soft-fp/multf3.c: Likewise.
2529 * soft-fp/negdf2.c: Likewise.
2530 * soft-fp/negsf2.c: Likewise.
2531 * soft-fp/negtf2.c: Likewise.
2532 * soft-fp/op-1.h: Likewise.
2533 * soft-fp/op-2.h: Likewise.
2534 * soft-fp/op-4.h: Likewise.
2535 * soft-fp/op-8.h: Likewise.
2536 * soft-fp/op-common.h: Likewise.
2537 * soft-fp/quad.h: Likewise.
2538 * soft-fp/single.h: Likewise.
2539 * soft-fp/soft-fp.h: Likewise.
2540 * soft-fp/sqrtdf2.c: Likewise.
2541 * soft-fp/sqrtsf2.c: Likewise.
2542 * soft-fp/sqrttf2.c: Likewise.
2543 * soft-fp/subdf3.c: Likewise.
2544 * soft-fp/subsf3.c: Likewise.
2545 * soft-fp/subtf3.c: Likewise.
2546 * soft-fp/truncdfsf2.c: Likewise.
2547 * soft-fp/trunctfdf2.c: Likewise.
2548 * soft-fp/trunctfsf2.c: Likewise.
2549 * soft-fp/trunctfxf2.c: Likewise.
2550 * soft-fp/unorddf2.c: Likewise.
2551 * soft-fp/unordsf2.c: Likewise.
2552 * soft-fp/unordtf2.c: Likewise.
2553
9ebb0332
JM
25542013-10-15 Joseph Myers <joseph@codesourcery.com>
2555
2556 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2557 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2558
4b1a6d8b
OB
25592013-10-15 Ondřej Bílka <neleai@seznam.cz>
2560
2561 * elf/dl-libc.c: Clear initfini list after freeing.
2562
1e145589
JM
25632013-10-14 Joseph Myers <joseph@codesourcery.com>
2564
2565 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2566 * soft-fp/addsf3.c: Likewise.
2567 * soft-fp/addtf3.c: Likewise.
2568 * soft-fp/divdf3.c: Likewise.
2569 * soft-fp/divsf3.c: Likewise.
2570 * soft-fp/divtf3.c: Likewise.
2571 * soft-fp/double.h: Likewise.
2572 * soft-fp/eqdf2.c: Likewise.
2573 * soft-fp/eqsf2.c: Likewise.
2574 * soft-fp/eqtf2.c: Likewise.
2575 * soft-fp/extenddftf2.c: Likewise.
2576 * soft-fp/extended.h: Likewise.
2577 * soft-fp/extendsfdf2.c: Likewise.
2578 * soft-fp/extendsftf2.c: Likewise.
2579 * soft-fp/extendxftf2.c: Likewise.
2580 * soft-fp/fixdfdi.c: Likewise.
2581 * soft-fp/fixdfsi.c: Likewise.
2582 * soft-fp/fixdfti.c: Likewise.
2583 * soft-fp/fixsfdi.c: Likewise.
2584 * soft-fp/fixsfsi.c: Likewise.
2585 * soft-fp/fixsfti.c: Likewise.
2586 * soft-fp/fixtfdi.c: Likewise.
2587 * soft-fp/fixtfsi.c: Likewise.
2588 * soft-fp/fixtfti.c: Likewise.
2589 * soft-fp/fixunsdfdi.c: Likewise.
2590 * soft-fp/fixunsdfsi.c: Likewise.
2591 * soft-fp/fixunsdfti.c: Likewise.
2592 * soft-fp/fixunssfdi.c: Likewise.
2593 * soft-fp/fixunssfsi.c: Likewise.
2594 * soft-fp/fixunssfti.c: Likewise.
2595 * soft-fp/fixunstfdi.c: Likewise.
2596 * soft-fp/fixunstfsi.c: Likewise.
2597 * soft-fp/fixunstfti.c: Likewise.
2598 * soft-fp/floatdidf.c: Likewise.
2599 * soft-fp/floatdisf.c: Likewise.
2600 * soft-fp/floatditf.c: Likewise.
2601 * soft-fp/floatsidf.c: Likewise.
2602 * soft-fp/floatsisf.c: Likewise.
2603 * soft-fp/floatsitf.c: Likewise.
2604 * soft-fp/floattidf.c: Likewise.
2605 * soft-fp/floattisf.c: Likewise.
2606 * soft-fp/floattitf.c: Likewise.
2607 * soft-fp/floatundidf.c: Likewise.
2608 * soft-fp/floatundisf.c: Likewise.
2609 * soft-fp/floatunsidf.c: Likewise.
2610 * soft-fp/floatunsisf.c: Likewise.
2611 * soft-fp/floatuntidf.c: Likewise.
2612 * soft-fp/floatuntisf.c: Likewise.
2613 * soft-fp/floatuntitf.c: Likewise.
2614 * soft-fp/fmadf4.c: Likewise.
2615 * soft-fp/fmasf4.c: Likewise.
2616 * soft-fp/fmatf4.c: Likewise.
2617 * soft-fp/gedf2.c: Likewise.
2618 * soft-fp/gesf2.c: Likewise.
2619 * soft-fp/getf2.c: Likewise.
2620 * soft-fp/ledf2.c: Likewise.
2621 * soft-fp/lesf2.c: Likewise.
2622 * soft-fp/letf2.c: Likewise.
2623 * soft-fp/muldf3.c: Likewise.
2624 * soft-fp/mulsf3.c: Likewise.
2625 * soft-fp/multf3.c: Likewise.
2626 * soft-fp/negdf2.c: Likewise.
2627 * soft-fp/negsf2.c: Likewise.
2628 * soft-fp/negtf2.c: Likewise.
2629 * soft-fp/op-1.h: Likewise.
2630 * soft-fp/op-2.h: Likewise.
2631 * soft-fp/op-4.h: Likewise.
2632 * soft-fp/op-8.h: Likewise.
2633 * soft-fp/op-common.h: Likewise.
2634 * soft-fp/quad.h: Likewise.
2635 * soft-fp/single.h: Likewise.
2636 * soft-fp/soft-fp.h: Likewise.
2637 * soft-fp/sqrtdf2.c: Likewise.
2638 * soft-fp/sqrtsf2.c: Likewise.
2639 * soft-fp/sqrttf2.c: Likewise.
2640 * soft-fp/subdf3.c: Likewise.
2641 * soft-fp/subsf3.c: Likewise.
2642 * soft-fp/subtf3.c: Likewise.
2643 * soft-fp/truncdfsf2.c: Likewise.
2644 * soft-fp/trunctfdf2.c: Likewise.
2645 * soft-fp/trunctfsf2.c: Likewise.
2646 * soft-fp/trunctfxf2.c: Likewise.
2647 * soft-fp/unorddf2.c: Likewise.
2648 * soft-fp/unordsf2.c: Likewise.
2649 * soft-fp/unordtf2.c: Likewise.
2650
17c48a60
OB
26512013-10-14 Ondřej Bílka <neleai@seznam.cz>
2652
2653 [BZ #15672]
2654 * misc/error.c (error_tail): Fix possible buffer overflow.
2655
cabba934
OB
26562013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2657
2658 [BZ #13028]
2659 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2660 address.
2661
94bf958a
PM
26622013-10-14 P. J. McDermott <pj@pehjota.net>
2663
2664 [BZ #832]
2665 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2666 testing pipefail option.
2667
71b4dea7
JM
26682013-10-12 Joseph Myers <joseph@codesourcery.com>
2669
2670 * soft-fp/double.h: Indent preprocessor directives inside #if.
2671 * soft-fp/extended.h: Likewise.
2672 * soft-fp/op-2.h: Likewise.
2673 * soft-fp/op-4.h: Likewise.
2674 * soft-fp/op-common.h: Likewise.
2675 * soft-fp/quad.h: Likewise.
2676 * soft-fp/single.h: Likewise.
2677 * soft-fp/soft-fp.h: Likewise.
2678
55602758
YC
26792013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2680
2681 * iconv/iconv_prog.c: Fix typos.
2682 * stdio-common/psiginfo-data.h: Likewise.
2683
9cd83302
RT
26842013-10-12 Reuben Thomas <rrt@sc3d.org>
2685
2686 [BZ #15764]
2687 * locale/setlocale.c: Fix typo.
2688
99fd9f47
JM
26892013-10-12 Joseph Myers <joseph@codesourcery.com>
2690
b7ea74f0
JM
2691 [BZ #16036]
2692 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2693 signaling NaN arguments.
2694 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2695 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2696
8a509447
JM
2697 [BZ #14910]
2698 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2699 unordered operands.
2700 * soft-fp/gesf2.c (__gesf2): Likewise.
2701 * soft-fp/getf2.c (__getf2): Likewise.
2702 * soft-fp/ledf2.c (__ledf2): Likewise.
2703 * soft-fp/lesf2.c (__lesf2): Likewise.
2704 * soft-fp/letf2.c (__letf2): Likewise.
2705
98998e9f
JM
2706 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2707 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2708 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2709 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2710 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2711 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2712 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2713 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2714 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2715 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2716 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2717 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2718 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2719 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2720 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2721 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2722 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2723 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2724 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2725 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2726 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2727 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2728 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2729 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2730 * soft-fp/floattidf.c (__floattidf): Likewise.
2731 * soft-fp/floattisf.c (__floattisf): Likewise.
2732 * soft-fp/floattitf.c (__floattitf): Likewise.
2733 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2734 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2735 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2736 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2737 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2738 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2739 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2740 * soft-fp/gesf2.c (__gesf2): Likewise.
2741 * soft-fp/getf2.c (__getf2): Likewise.
2742 * soft-fp/ledf2.c (__ledf2): Likewise.
2743 * soft-fp/lesf2.c (__lesf2): Likewise.
2744 * soft-fp/letf2.c (__letf2): Likewise.
2745
8edc4a11
JM
2746 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2747 Undefine and redefine.
2748 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2749 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2750 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2751 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2752 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2753 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2754 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2755 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2756 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2757 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2758 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2759 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2760 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2761 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2762 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2763
8399acaf
JM
2764 [BZ #16032]
2765 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2766 without decrementing exponent if mantissa >= that for the
2767 denominator, not >.
2768 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2769 denominator, not >. Decrement exponent in < case instead of
2770 incrementing in >= case.
2771 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2772 without decrementing exponent if mantissa >= that for the
2773 denominator, not >.
2774
99fd9f47
JM
2775 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2776 computing saturated result for unsigned overflow.
2777
10e1cf6b
SP
27782013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2779 Jeff Law <law@redhat.com>
2780
2781 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2782 (atan2Mp): Add systemtap probe marker.
2783 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2784 (__ieee754_log): Add systemtap probe marker.
2785 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2786 (atanMp): Add systemtap probe marker.
2787 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2788 (tanMp): Add systemtap probe marker.
2789 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2790 (__slowexp): Add systemtap probe marker.
2791 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2792 (__slowpow): Add systemtap probe marker.
2793 * manual/probes.texi: Document probes.
2794
3d110c7c
EB
27952013-10-11 Eric Biggers <ebiggers3@gmail.com>
2796
2797 [BZ #15362]
2798 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2799 written.
2800 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2801 written.
2802 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2803 written to buffer but not flushed.
2804 * libio/iofwrite_u.c: Likewise.
2805 * libio/iopadn.c: Return bytes returned even if EOF was
2806 encountered.
2807 * libio/iowpadn.c: Likewise.
2808 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2809 if _IO_padn does not write the whole buffer.
2810 [!COMPILE_WPRINTF] (PAD): Likewise.
2811
75b4202a
DM
28122013-10-10 David S. Miller <davem@davemloft.net>
2813
2814 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2815 directory block.
2816
6c6352e6
JM
28172013-10-10 Joseph Myers <joseph@codesourcery.com>
2818
33b853c3
JM
2819 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2820 instead of FSF address.
2821 * soft-fp/fixdfti.c: Likewise.
2822 * soft-fp/fixsfti.c: Likewise.
2823 * soft-fp/fixtfti.c: Likewise.
2824 * soft-fp/fixunsdfti.c: Likewise.
2825 * soft-fp/fixunssfti.c: Likewise.
2826 * soft-fp/fixunstfti.c: Likewise.
2827 * soft-fp/floattidf.c: Likewise.
2828 * soft-fp/floattisf.c: Likewise.
2829 * soft-fp/floattitf.c: Likewise.
2830 * soft-fp/floatuntidf.c: Likewise.
2831 * soft-fp/floatuntisf.c: Likewise.
2832 * soft-fp/floatuntitf.c: Likewise.
2833 * soft-fp/trunctfxf2.c: Likewise.
2834
6c6352e6
JM
2835 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
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
3bf78b71
DM
28502013-10-10 David S. Miller <davem@davemloft.net>
2851
2852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2853
6f10289e
JM
28542013-10-10 Joseph Myers <joseph@codsourcery.com>
2855
bd878fc0
JM
2856 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2857 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2858 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2859 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2860 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2861 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2862 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2863
6f10289e
JM
2864 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2865 for NaNs before doing comparisons on argument.
2866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2867 Likewise.
2868
321e2684
WN
28692013-10-10 Will Newton <will.newton@linaro.org>
2870
2871 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2872 passed to _int_memalign does not overflow.
2873
40fefba1
TR
28742013-10-10 Torvald Riegel <triegel@redhat.com>
2875
2876 * scripts/bench.pl: Add include-sources directive.
2877 * benchtests/README: Update documentation.
2878
2ae21ed2
JM
28792013-10-10 Joseph Myers <joseph@codesourcery.com>
2880
dcc2dd3f
JM
2881 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2882 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2883 instead of FP_INIT_ROUNDMODE.
2884 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2885 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2886
2ae21ed2
JM
2887 [BZ #16034]
2888 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2889 copy class of input value.
2890 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2891 not handle exceptions.
2892 * soft-fp/negsf2.c (__negsf2): Likewise.
2893 * soft-fp/negtf2.c (__negtf2): Likewise.
2894 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2895
cb8f9562
JM
28962013-10-09 Joseph Myers <joseph@codesourcery.com>
2897
2898 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2899 semicolon. From Linux kernel.
2900
5b60c59d
AB
29012013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2902
2903 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2904
b86835ca
YC
29052013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2906
2907 [BZ #156]
2908 * manual/socket.texi: Added statement about buffer
2909 for gethostbyname2_r.
2910
e7044ea7
OB
29112013-10-08 Ondřej Bílka <neleai@seznam.cz>
2912
2913 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2914 Use .p2align directive instead, throughout.
2915 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2916 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2917 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2918 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2919 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2920 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2921 * sysdeps/x86_64/strchr.S: Likewise.
2922 * sysdeps/x86_64/strrchr.S: Likewise.
2923
09544cbc
SP
29242013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2925
88576635
SP
2926 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2927
e7b2d1dd
SP
2928 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2929
09544cbc
SP
2930 * sysdeps/generic/math_private.h (__mpsin1): Remove
2931 declaration.
2932 (__mpcos1): Likewise.
2933 (__mpsin): New argument __range_reduce.
2934 (__mpcos): Likewise.
2935 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2936 (slow): Use __mpsin and __mpcos.
2937 (slow1): Likewise.
2938 (slow2): Likewise.
2939 (sloww): Likewise.
2940 (sloww1): Likewise.
2941 (sloww2): Likewise.
2942 (bsloww): Likewise.
2943 (bsloww1): Likewise.
2944 (bsloww2): Likewise.
2945 (cslow2): Likewise.
2946 (csloww): Likewise.
2947 (csloww1): Likewise.
2948 (csloww2): Likewise.
2949 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2950 range_reduce. Merge in __mpsin1.
2951 (__mpcos): Likewise.
2952 (__mpsin1): Remove.
2953 (__mpcos1): Likewise.
2954
7602d070
JM
29552013-10-07 Joseph Myers <joseph@codesourcery.com>
2956
2957 * locale/loadlocale.c (_nl_intern_locale_data): Use
2958 LOCFILE_ALIGNED_P.
2959 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2960 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2961 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2962 obstack data is appropriately aligned.
2963 (obstack_int32_grow_fast): Likewise.
2964 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2965 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2966 (add_locale_uint32_array): Likewise.
2967
a357259b
SP
29682013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2969
2970 * benchtests/Makefile: Remove ARGLIST and RET variables.
2971 ($(objpfx)bench-%.c): Pass only function name to the script.
2972 * benchtests/README: Update documentation.
2973 * benchtests/acos-inputs: Add new directives.
2974 * benchtests/acosh-inputs: Likewise.
2975 * benchtests/asin-inputs: Likewise.
2976 * benchtests/asinh-inputs: Likewise.
2977 * benchtests/atan-inputs: Likewise.
2978 * benchtests/atanh-inputs: Likewise.
2979 * benchtests/cos-inputs: Likewise.
2980 * benchtests/cosh-inputs: Likewise.
2981 * benchtests/exp-inputs: Likewise.
2982 * benchtests/log-inputs: Likewise.
2983 * benchtests/pow-inputs: Likewise.
2984 * benchtests/rint-inputs: Likewise.
2985 * benchtests/sin-inputs: Likewise.
2986 * benchtests/sinh-inputs: Likewise.
2987 * benchtests/tan-inputs: Likewise.
2988 * benchtests/tanh-inputs: Likewise.
2989 * scripts/bench.pl: Add support for new directives.
2990
9ec1b13d
AM
29912013-10-07 Alan Modra <amodra@gmail.com>
2992
2993 * README: Fix careless merge.
2994
8b7d57cd
AM
29952013-10-05 Alan Modra <amodra@gmail.com>
2996
2997 * NEWS: Mention powerpc64le support and bugs fixed.
2998 * README: Both big-endian and little-endian powerpc64 supported.
2999
7b7bab13
ST
30002013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3001
3002 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3003 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3004 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3005 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3006
d39baad1
RA
30072013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3008
3009 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3010 match prototype.
3011
cd78f7e7
JM
30122013-10-04 Joseph Myers <joseph@codesourcery.com>
3013
29d73d86
JM
3014 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3015 Move -mhard-float appending from
3016 ports/sysdeps/powerpc/powerpc32/Makefile.
3017 [$(with-fp) = yes] (ASFLAGS): Likewise.
3018 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3019 * sysdeps/powerpc/nofpu: Move directory from
3020 ports/sysdeps/powerpc/nofpu.
3021 * sysdeps/powerpc/soft-fp: Move directory from
3022 ports/sysdeps/powerpc/soft-fp.
3023 * sysdeps/powerpc/powerpc32/405: Move directory from
3024 ports/sysdeps/powerpc/powerpc32/405.
3025 * sysdeps/powerpc/powerpc32/440: Move directory from
3026 ports/sysdeps/powerpc/powerpc32/440.
3027 * sysdeps/powerpc/powerpc32/464: Move directory from
3028 ports/sysdeps/powerpc/powerpc32/464.
3029 * sysdeps/powerpc/powerpc32/476: Move directory from
3030 ports/sysdeps/powerpc/powerpc32/476.
3031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3032 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3034 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3036 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3038 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3040 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3041 * README: Update for powerpc-*-linux-gnu software floating point
3042 support in libc.
3043
e246b347
JM
3044 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3045 case to powerpc/powerpc32*.
3046 * sysdeps/unix/sysv/linux/configure: Regenerated.
3047
89c2003e
JM
3048 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3049 (_FPU_MASK_OM): Define as 0x04.
3050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3052 0x00c10080.
3053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3054 0x0000003c.
3055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3056
cd78f7e7
JM
3057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3058 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3059 getcontext_e500.
3060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3061 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3062 setcontext_e500.
3063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3064 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3065 and setcontext_e500.
3066
c755294d
CL
30672013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3068
3069 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3070
e16d221c
SP
30712013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3072
3073 * manual/threads.texi (Default Thread Attributes): Fix typo.
3074
215c7d43
WN
30752013-10-04 Will Newton <will.newton@linaro.org>
3076
3077 * malloc/Makefile: Add tst-memalign.
3078 * malloc/tst-memalign.c: New file.
3079
27d0461b
WN
3080 * malloc/tst-posix_memalign.c: Add comments.
3081 (do_test): Add comments and call free on all potentially
3082 allocated pointers. Add space after cast.
3083
1bc92709
WN
3084 * malloc/tst-pvalloc.c: Add comments.
3085 (do_test): Add comments and call free on all potentially
3086 allocated pointers. Remove duplicate check for NULL pointer.
3087 Add space after cast.
3088
66a9be9d
WN
3089 * malloc/tst-valloc.c: Add comments.
3090 (do_test): Add comments and call free on all potentially
3091 allocated pointers. Remove duplicate check for NULL pointer.
3092 Add space after cast.
3093
4cb81307
AM
30942013-10-04 Alan Modra <amodra@gmail.com>
3095
3096 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3097 Use stdint types in rather than __attribute__((mode())).
3098 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3099
f8e3e9f3
AM
31002013-10-04 Alan Modra <amodra@gmail.com>
3101
3102 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3103 Correct handling of unaligned relocs for little-endian.
3104 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3105
8f9ebb08
AM
31062013-10-04 Alan Modra <amodra@gmail.com>
3107
3108 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3109 * configure: Regenerate.
3110 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3111 * shlib-versions: Likewise.
3112
0edf96c2
AM
31132013-10-04 Alan Modra <amodra@gmail.com>
3114
3115 * string/tester.c (test_memrchr): Increment reported test cycle.
3116
e0f7a380
AM
31172013-10-04 Alan Modra <amodra@gmail.com>
3118
3119 * string/test-memcpy.c (do_one_test): When reporting errors, print
3120 string address and don't overrun end of string.
3121
466b0393
AM
31222013-10-04 Alan Modra <amodra@gmail.com>
3123
3124 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3125 insrdi. Make better use of reg selection to speed exit slightly.
3126 Schedule entry path a little better. Remove useless "are we done"
3127 checks on entry to main loop. Handle wrapping around zero address.
3128 Correct main loop count. Handle single left-over word from main
3129 loop inline rather than by using loop_small. Remove extra word
3130 case in loop_small caused by wrong loop count. Add little-endian
3131 support.
3132 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3133 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3134 cache hint.
3135 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3136 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3137 support. Avoid rlwimi.
3138 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3139
3be87c77
AM
31402013-10-04 Alan Modra <amodra@gmail.com>
3141
3142 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 3143 insrdi. Formatting.
3be87c77
AM
3144 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3145 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3146 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3147 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3148 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3149 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3150
759cfef3
AM
31512013-10-04 Alan Modra <amodra@gmail.com>
3152
3153 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3154 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3155 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3156 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3157 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3158 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3159 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3160 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3161 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3162 use of regs. Use power7 mtocrf. Tidy function tails.
3163
fe6e95d7
AM
31642013-10-04 Alan Modra <amodra@gmail.com>
3165
3166 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3167 Formatting. Consistently use rXXX register defines or rN defines.
3168 Use early exit labels that avoid restoring unused non-volatile regs.
3169 Make cr field use more consistent with rWORDn compares. Rename
3170 regs used as shift registers for unaligned loop, using rN defines
3171 for short lifetime/multiple use regs.
3172 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3173 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3174 addi 1,1,64 to pop stack frame. Simplify return value code.
3175 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3176
664318c3
AM
31772013-10-04 Alan Modra <amodra@gmail.com>
3178
3179 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3180 support. Correct typos, formatting. Optimize tail. Use insrdi
3181 rather than rlwimi.
3182 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3183 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3184 little-endian support. Correct typos.
3185 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3186 rather than rlwimi.
3187 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3188 in loop and entry code to keep "and." results.
3189 (strchr): Add little-endian support. Comment. Move cntlzd
3190 earlier in tail.
3191 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3192
43b84013
AM
31932013-10-04 Alan Modra <amodra@gmail.com>
3194
3195 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3196 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3197 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3198 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3199
8a7413f9
AM
32002013-10-04 Alan Modra <amodra@gmail.com>
3201
3202 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3203 (rTMP): Define as r11.
3204 (strcmp): Add little-endian support. Optimise tail.
3205 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3206 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3207 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3208 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3209 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3210 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3211 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3212
33ee81de
AM
32132013-10-04 Alan Modra <amodra@gmail.com>
3214
3215 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3216 little-endian support. Remove unnecessary "are we done" tests.
3217 Handle "s" wrapping around zero and extremely large "size".
3218 Correct main loop count. Handle single left-over word from main
3219 loop inline rather than by using small_loop. Correct comments.
3220 Delete "zero" tail, use "end_max" instead.
3221 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3222
db9b4570
AM
32232013-10-04 Alan Modra <amodra@gmail.com>
3224
3225 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3226 support. Don't branch over align.
3227 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3228 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3229 support. Rearrange tmp reg use to suit. Comment.
3230 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3231
f7c399cf
AM
32322013-10-04 Alan Modra <amodra@gmail.com>
3233
3234 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3235
0b2c2ace
AM
32362013-10-04 Alan Modra <amodra@gmail.com>
3237
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3239 conditional form of branch and link when obtaining pc.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3241
02f04a6c
AM
32422013-10-04 Alan Modra <amodra@gmail.com>
3243
3244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3245 HIWORD/LOWORD.
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3248
9b874b2f
AM
32492013-10-04 Alan Modra <amodra@gmail.com>
3250
3251 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3252 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3253 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3254 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3255 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3256 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3257 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3258 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3259 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3260 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3261
be1e5d31
AB
32622013-10-04 Anton Blanchard <anton@au1.ibm.com>
3263 Alistair Popple <alistair@ozlabs.au.ibm.com>
3264 Alan Modra <amodra@gmail.com>
3265
3266 [BZ #15723]
3267 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3268 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3269 _dl_hwcap access for little-endian.
3270 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3271 destroy vmx regs when saving unaligned.
3272 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3273 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3274 destroy vmx regs when saving unaligned.
3275
fef13a78
AM
32762013-10-04 Alan Modra <amodra@gmail.com>
3277
3278 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3279 Don't use a union to pack hi/low value.
3280
76a66d51
AB
32812013-10-04 Anton Blanchard <anton@au1.ibm.com>
3282
3283 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3284 for little-endian.
3285 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3286 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3287 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3288 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3289 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3290
6a31fe7f
AM
32912013-10-04 Alan Modra <amodra@gmail.com>
3292
3293 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3294 constants to usual value for .cst8 section, and remove redundant
3295 high address load.
3296 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3297 constant for 0x1p52. Load little-endian words of double from
3298 correct stack offsets.
3299
7b88401f
AM
33002013-10-04 Alan Modra <amodra@gmail.com>
3301
3302 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3303 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3304 words of double from correct stack offsets.
3305 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3306 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3307 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3308 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3309 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3310 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3311 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3312 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3313 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3314 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3315 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3316 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3317 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3318 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3319 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3320 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3321 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3322
9c008155
AM
33232013-10-04 Alan Modra <amodra@gmail.com>
3324
3325 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3326 64-bit int/double union.
3327 (_FPU_SETCW): Likewise.
3328 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3329 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3330
da13146d
AM
33312013-10-04 Alan Modra <amodra@gmail.com>
3332
3333 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3334 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3335
603e8410
AM
33362013-10-04 Alan Modra <amodra@gmail.com>
3337
3338 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3339 use vector int constants.
3340 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3341
4a28b3ca
AB
33422013-10-04 Anton Blanchard <anton@au1.ibm.com>
3343
3344 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3345 array with long long.
3346 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3347 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3348 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3349 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3350 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3351 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3352 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3353 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3354 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3355 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3356 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3357 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3358 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3359
2ca85d2b
AB
33602013-10-04 Anton Blanchard <anton@au1.ibm.com>
3361
3362 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3363 (__signbit): Likewise. Correct for little-endian.
3364 (__signbitl): Call __signbit.
3365 (lrint): Correct for little-endian.
3366 (lrintf): Call lrint.
3367
62a728ae
AM
33682013-10-04 Alan Modra <amodra@gmail.com>
3369
3370 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3371 union 32-bit int array member with 64-bit int array.
3372 (t515, tm256): Double rather than long double.
3373 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3374
32c301df
AM
33752013-10-04 Alan Modra <amodra@gmail.com>
3376
3377 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3378 Delete.
3379 (IEEE854_LONG_DOUBLE_BIAS): Delete.
3380 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3381 version of math_ldbl.h.
3382
650ef4bd
AM
33832013-10-04 Alan Modra <amodra@gmail.com>
3384
3385 [BZ #15734], [BZ #15735]
3386 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3387 all uses of ieee875 long double macros and unions. Simplify test
3388 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
3389 ldbl_extract_mantissa value for ix,iy exponents. Properly
3390 normalize after ldbl_extract_mantissa, and don't add hidden bit
3391 already handled. Don't treat low word of ieee854 mantissa like
3392 low word of IBM long double and mask off bit when testing for
3393 zero.
3394 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3395 all uses of ieee875 long double macros and unions. Simplify tests
3396 for 0.0L and inf. Correct double adjustment of k. Delete dead code
3397 adjusting ha,hb. Simplify code setting kld. Delete two600 and
3398 two1022, instead use their values. Recognise that tests for large
3399 "a" and small "b" are mutually exclusive. Rename vars. Comment.
3400 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3401 Rewrite all uses of ieee875 long double macros and unions. Simplify
3402 test for 0.0L and nan. Correct negation.
3403 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3404 ieee875 long double macros and unions. Correct output for large
3405 magnitude x. Correct absolute value calculation.
3406 (__erfcl): Likewise.
3407 * math/libm-test.inc: Add tests for errors discovered in IBM long
3408 double versions of fmodl, remainderl, erfl and erfcl.
3409
765714ca
AM
34102013-10-04 Alan Modra <amodra@gmail.com>
3411
3412 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3413 all uses of ieee854 long double macros and unions. Simplify tests
3414 for long doubles that are fully specified by the high double.
3415 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3416 Likewise.
3417 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3418 Remove dead code too.
3419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3420 (__ieee754_ynl): Likewise.
3421 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3422 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3423 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3424 Remove dead code too.
3425 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3426 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3427 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3428 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3429 Simplify.
3430 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3431 Simplify.
3432 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3433 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3434 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3435 Comment on variable precision.
3436 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3437 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3438 Likewise.
3439 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3440 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3441 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3442 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3443 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3444
4ebd120c
AM
34452013-10-04 Alan Modra <amodra@gmail.com>
3446
3447 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3448 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3449 all uses of ieee854 long double macros and unions.
3450 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3451 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3452 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3453 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3454 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3455 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3456 Likewise.
3457 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3458 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3459 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3460 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3461 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3462 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3463 Simplify sign and nan test too.
3464 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3465 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3466 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3467 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3468 Likewise.
3469 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3470 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3471 Likewise.
3472 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3473 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3474 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3475 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3476 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3477 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3478
1b6adf88
AM
34792013-10-04 Alan Modra <amodra@gmail.com>
3480
3481 * stdio-common/printf_size.c (__printf_size): Don't use
3482 union ieee854_long_double in fpnum union.
3483 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
3484 signbit macro to retrieve sign from long double.
3485 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3486 retrieve sign from long double.
3487 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3488 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3489 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3490 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3491 * math/test-misc.c (main): Don't use union ieee854_long_double.
3492
4cf69995
AM
34932013-10-04 Alan Modra <amodra@gmail.com>
3494
3495 [BZ #15680]
3496 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3497 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3498 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3499 calculation. Remove unnecessary test for denormal exponent.
3500 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3501 Correct handling of denormals. Avoid undefined shift behaviour.
3502 Correct normalisation of low mantissa when low double is denormal.
3503 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3504 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
3505 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3506 Correct normalisation of low mantissa. Test for overflow of high
3507 mantissa and normalise.
3508 (ldbl_nearbyint): Use more readable constant for two52.
3509 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3510 (__mpn_construct_long_double): Fix test for overflow of high
3511 mantissa and correct normalisation. Avoid undefined shift.
3512
9605ca6c
AM
35132013-10-04 Alan Modra <amodra@gmail.com>
3514
3515 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3516 (union ibm_extended_long_double): Define as an array of ieee754_double.
3517 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3518 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3519 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3520 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3521 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3522 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3523 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3524 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3525 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3526 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3527 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3528
975569d0
JM
35292013-10-03 Joseph Myers <joseph@codesourcery.com>
3530
d3d23756
JM
3531 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3532 page size instead of calling getpagesize.
3533
975569d0
JM
3534 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3535 (LOCFILE_ALIGN_MASK): Likewise.
3536 (LOCFILE_ALIGN_UP): Likewise.
3537 (LOCFILE_ALIGNED_P): Likewise.
3538 * locale/programs/ld-collate.c (collate_output): Use the new
3539 macros instead of __alignof__ (int32_t).
3540 * locale/weight.h (findidx): Likewise.
3541
b1fe1f2b
OB
35422013-10-03 Ondřej Bílka <neleai@seznam.cz>
3543
3544 [BZ #431]
3545 * manual/string.texi: Fix strncat and wcsncat.
3546
5f855e35
BM
35472013-10-03 Brooks Moses <bmoses@google.com>
3548
3549 [BZ #15915]
3550 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3551 * Makerules: ...here, and adjust associated comments.
3552
3cef6009
WN
35532013-10-02 Will Newton <will.newton@linaro.org>
3554
3555 * malloc/Makefile: Add tst-pvalloc.
3556 * malloc/tst-pvalloc.c: New file.
3557
7815420b
WN
35582013-10-02 Will Newton <will.newton@linaro.org>
3559
3560 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3561 improve test coverage.
3562
4868b204
WN
35632013-10-02 Will Newton <will.newton@linaro.org>
3564
3565 * malloc/Makefile: Add tst-posix_memalign.
3566 * malloc/tst-posix_memalign.c: New file.
3567
29c793b3
EB
35682013-10-01 Eric Blake <eblake@redhat.com>
3569
3570 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3571 Use __THROWNL rather than __THROW on static functions.
3572
fd967522
PM
35732013-09-30 Petr Machata <pmachata@redhat.com>
3574
3575 * elf/elf.h (R_AARCH64_ABS16): New macro.
3576 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3577 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3578 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3579 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3580 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3581 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3582 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3583 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3584 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3585 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3586 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3587 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3588 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3589 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3590 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3591 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3592 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3593 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3594 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3595 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3596 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3597 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3598 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3599 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3600 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3601 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3602 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3603 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3604 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3605 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3606 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3607 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3608 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3609 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3610 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3611 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3612 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3613 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3614 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3615 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3616 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3617 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3618 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3619 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3620 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3621 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3622 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3623 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3624 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3625 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3626 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3627 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3628 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3629 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3630 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3631 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3632 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3633 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3634 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3635 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3636 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3637 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3638 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3639 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3640 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3641 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3642 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3643 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3644 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3645 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3646 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3647 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3648 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3649 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3650 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3651 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3652 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3653 (R_AARCH64_TLSDESC_LDR): Likewise.
3654 (R_AARCH64_TLSDESC_ADD): Likewise.
3655 (R_AARCH64_TLSDESC_CALL): Likewise.
3656
b2179107
AS
36572013-09-30 Andreas Schwab <schwab@suse.de>
3658
3659 [BZ #15048]
3660 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3661 the nss database lookup.
3662 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3664
47f28d0a
MF
36652013-09-28 Mike Frysinger <vapier@gentoo.org>
3666
3667 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3668
36692013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3670
3671 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3672 ${Bash-specific parameter/pattern/string} parameter expansion.
3673 * sysdeps/unix/make-syscalls.sh: Likewise.
3674
f4518a17
KK
36752013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3676
3677 * sysdeps/sh/stackguard-macros.h: New file.
3678
dc1a95c7
OB
36792013-09-26 Ondřej Bílka <neleai@seznam.cz>
3680
3681 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3682 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3683 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3684 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3685 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3686 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3687
5ebbff8f
AZ
36882013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3689
3690 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3691 Fix thread ID register.
3692
4fd2cf9f
JM
36932013-09-25 Joseph Myers <joseph@codesourcery.com>
3694
3695 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3696 [POSIX || UNIX98]: Require rather than permitting all symbols from
3697 <time.h>.
3698 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3699 element of struct sched_param.
3700 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3701 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3702 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3703 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3704 constant.
3705
12c22bc4
OL
37062013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3707
3708 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3709 argument calculation.
3710
a03d8ea7
JM
37112013-09-24 Joseph Myers <joseph@codesourcery.com>
3712
3713 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3714 Expect macro.
3715 [POSIX] (pthread_attr_t): Do not require type.
3716 [POSIX] (pthread_cond_t): Likewise.
3717 [POSIX] (pthread_condattr_t): Likewise.
3718 [POSIX] (pthread_key_t): Likewise.
3719 [POSIX] (pthread_mutex_t): Likewise.
3720 [POSIX] (pthread_mutexattr_t): Likewise.
3721 [POSIX] (pthread_once_t): Likewise.
3722 [POSIX] (pthread_t): Likewise.
3723 [POSIX-based standards] (pthread_atfork): Expect function.
3724
6055173a
JM
37252013-09-24 Joseph Myers <joseph@codesourcery.com>
3726 Richard Sandiford <richard@codesourcery.com>
3727
3728 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3729 (swap_endianness_p): New extern variable.
3730 (set_big_endian): New inline function.
3731 (maybe_swap_uint32): Likewise.
3732 (maybe_swap_uint32_array): Likewise.
3733 (maybe_swap_uint32_obstack): Likewise.
3734 * locale/programs/locfile.c: Include <stdbool.h>.
3735 (swap_endianness_p): New variable.
3736 (add_locale_uint32): Call maybe_swap_uint32.
3737 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3738 (write_locale_data): Call maybe_swap_uint32_array.
3739 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3740 maybe_swap_uint32.
3741 (obstack_int32_grow_fast): Likewise.
3742 (output_weightwc): Call maybe_swap_uint32_obstack.
3743 (collate_output): Likewise.
3744 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3745 (OPT_LITTLE_ENDIAN): Likewise.
3746 (options): Add --little-endian and --big-endian options.
3747 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3748 * locale/programs/locarchive.c: Include "locfile.h".
3749 (GET): New macro.
3750 (SET): Likewise.
3751 (INC): Likewise.
3752 (create_archive): Use the new macros to access fields of
3753 structures directly mapped from or written to locale archives.
3754 (oldlocrecentcmp): Likewise.
3755 (enlarge_archive): Likewise.
3756 (insert_name): Likewise.
3757 (add_alias): Likewise.
3758 (add_locale): Likewise.
3759 (delete_locales_from_archive): Likewise.
3760 (show_archive_content): Likewise.
3761 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3762 locale data.
3763
39bf0bb4
RM
37642013-09-24 Roland McGrath <roland@hack.frob.com>
3765
3766 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3767 http://www.gnu.org/doc/freemanuals.texi.
3768 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3769
f02eed10
WN
37702013-09-24 Will Newton <will.newton@linaro.org>
3771
3772 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3773 macro.
3774
a3a6c312
JM
37752013-09-23 Joseph Myers <joseph@codesourcery.com>
3776
3777 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3778 unsigned char.
3779
107375ac
MR
37802013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3781
3782 * manual/threads.texi (POSIX Threads): Fix a typo.
3783
141f3a77
SP
37842013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3785
303e567a
SP
3786 [BZ #14547]
3787 * string/tst-strcoll-overflow.c: New test case.
3788 * string/Makefile (xtests): Add tst-strcoll-overflow.
3789 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3790 cache if string sizes may cause integer overflow.
3791
141f3a77
SP
3792 [BZ #14547]
3793 * string/strcoll_l.c (coll_seq): New members rule, idx,
3794 save_idx and back_us.
3795 (get_next_seq_nocache): New function.
3796 (do_compare_nocache): New function.
3797 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3798 when malloc fails.
3799
c61b4d41
CD
38002013-09-23 Carlos O'Donell <carlos@redhat.com>
3801
0b1f8e35
CD
3802 [BZ #15754]
3803 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3804 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3805 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3806
c61b4d41
CD
3807 [BZ #15754]
3808 * elf/Makefile (tests): Add tst-ptrguard1.
3809 (tests-static): Add tst-ptrguard1-static.
3810 (tst-ptrguard1-ARGS): Define.
3811 (tst-ptrguard1-static-ARGS): Define.
3812 * elf/tst-ptrguard1.c: New file.
3813 * elf/tst-ptrguard1-static.c: New file.
3814 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3815 * sysdeps/i386/stackguard-macros.h: Likewise.
3816 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3817 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3818 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3819 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3820 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3821 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3822
38232013-09-23 Hector Marco <hecmargi@upv.es>
3824 Ismael Ripoll <iripoll@disca.upv.es>
3825 Carlos O'Donell <carlos@redhat.com>
3826
3827 [BZ #15754]
3828 * sysdeps/generic/stackguard-macros.h: Define
3829 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3830 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3831 Define __pointer_chk_guard_local.
3832 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3833 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3834
f5f4e7b4
VV
38352013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3836
3837 [BZ #15859]
3838 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3839
5bb43a43
AS
38402013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3841
3842 * include/string.h (__ffs): Declare as hidden.
3843 * string/ffs.c (__ffs): Define as hidden.
3844 * sysdeps/i386/ffs.c (__ffs): Likewise.
3845 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3846 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3847 * sysdeps/s390/ffs.c (__ffs): Likewise.
3848 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3849
3ea5be54
AO
38502013-09-20 Alexandre Oliva <aoliva@redhat.com>
3851
ffb89e53
AO
3852 * NEWS: Mention malloc probes.
3853
322dea08
AO
3854 * malloc/arena.c (new_heap): New memory_heap_new probe.
3855 (grow_heap): New memory_heap_more probe.
3856 (shrink_heap): New memory_heap_less probe.
3857 (heap_trim): New memory_heap_free probe.
3858 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3859 (systrim): New memory_sbrk_less probe.
3860 * manual/probes.texi: Document them.
3861
655673f3
AO
3862 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3863 * manual/probes.texi: Document it.
3864
35fed6f1
AO
3865 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3866 (__libc_realloc): Add memory_realloc_retry probe.
3867 (__libc_memalign): Add memory_memalign_retry probe.
3868 (__libc_valloc): Add memory_valloc_retry probe.
3869 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3870 (__libc_calloc): Add memory_calloc_retry probe.
3871 * manual/probes.texi: Document them.
3872
6999d38c
AO
3873 * malloc/arena.c (get_free_list): Add probe
3874 memory_arena_reuse_free_list.
3875 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3876 and memory_arena_reuse.
3877 (arena_get2) [!PER_THREAD]: Likewise.
3878 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3879 memory_arena_reuse_realloc.
3880 * manual/probes.texi: Document them.
3881
0653427f
AO
3882 * malloc/malloc.c (__libc_free): Add
3883 memory_mallopt_free_dyn_thresholds probe.
3884 (__libc_mallopt): Add multiple memory_mallopt probes.
3885 * manual/probes.texi: Document them.
3886
3ea5be54
AO
3887 * malloc/malloc.c: Include stap-probe.h.
3888 (__libc_mallopt): Add memory_mallopt probe.
3889 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3890 * manual/probes.texi: New.
3891 * manual/Makefile (chapters): Add probes.
3892 * manual/threads.texi: Set next node.
3893
e35696c3 38942013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3895
e35696c3
CL
3896 [BZ #15963, #13985]
3897 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3898 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3899 Add `Chinese' to `nan' entry name.
3900
4aafb73c
SP
39012013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3902
3903 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3904 (POLYNOMIAL): Likewise.
3905 (TAYLOR_SINCOS): Likewise.
3906 (TAYLOR_SLOW): Likewise.
3907 (__sin): Use TAYLOR_SINCOS.
3908 (__cos): Likewise.
3909 (slow): Use TAYLOR_SLOW.
3910 (sloww): Likewise.
3911 (bsloww): Likewise.
3912 (csloww): Likewise.
3913
d84f25c7
LD
39142013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3915
3916 * stdlib/strtod_l.c: Fix buffer overrun.
3917
5eea0404
SP
39182013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3919
7849ff93
SP
3920 * benchtests/Makefile (bench): Add sincos.
3921 * benchtests/bench-sincos.c: New file.
3922
cfa3c886
SP
3923 * math/libm-test.inc (cos_test_data): New test inputs.
3924 (sin_test_data): Likewise.
3925
b348e1e3
SP
3926 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3927 macro.
3928 (__sin): Use it.
3929 (__cos): Likewise.
3930 (slow1): Likewise.
3931 (slow2): Likewise.
3932 (sloww1): Likewise.
3933 (sloww2): Likewise.
3934 (bsloww1): Likewise.
3935 (bsloww2): Likewise.
3936 (cslow2): Likewise.
3937 (csloww1): Likewise.
3938 (csloww2): Likewise.
3939
6cce25f8
SP
3940 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3941 function.
3942 (__sin): Use it.
3943 (__cos): Likewise.
3944
5eea0404
SP
3945 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3946 gotos.
3947 (__cos): Likewise.
3948
9c21573c
MR
39492013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3950
3951 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3952 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3953 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3954 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3955 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3956 * elf/cache.c (print_entry): Handle the new cache flags.
3957
24d22e65
JM
39582013-09-18 Joseph Myers <joseph@codesourcery.com>
3959 Aldy Hernandez <aldyh@redhat.com>
3960
3961 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3962 Change condition to [_SOFT_FLOAT].
3963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3964 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3974 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3975 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3978 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3979 declaration.
3980
d13ef066
JM
39812013-09-18 Joseph Myers <joseph@codesourcery.com>
3982
2e071de0
JM
3983 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3984 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3985 (__longjmp): Use LOAD_GP to load saved GPRs.
3986 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3987 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3988 (__sigsetjmp): Use SAVE_GP to save GPRs.
3989
d13ef066
JM
3990 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3991 Do not append -msoft-float.
3992 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3993
97a0650b
SP
39942013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3995
3996 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3997
11ca09e9
JM
39982013-09-17 Joseph Myers <joseph@codesourcery.com>
3999
4000 [BZ #15966]
4001 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4002 (_FPU_GETCW): Use initial "__" on variable and field names but not
4003 on macro parameter name.
4004 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4005 parentheses around reference to macro parameter.
4006
08ffcf34
RS
40072013-09-13 Richard Sandiford <richard@codesourcery.com>
4008
4009 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4010 prototype.
4011 (ctype_startup): Use uint32_t in cast and sizeof for
4012 ctype->charnames.
4013
ae7080d3
JL
40142013-09-11 Jia Liu <proljc@gmail.com>
4015
4016 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4017 __daddr_t_defined.
4018 [__FreeBSD__]: Likewise.
4019
5905e7b3
OB
40202013-09-11 Ondřej Bílka <neleai@seznam.cz>
4021
4022 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4023 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4024 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4025 (strchr): Remove __strchr_sse42 ifunc selection.
4026 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4027 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4028
b987c776
WN
40292013-09-11 Will Newton <will.newton@linaro.org>
4030
4031 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4032 parameter to RES. Remove hardcoded 1000 value.
4033 * benchtests/bench-skeleton.c (main): Pass RES parameter
4034 to TIMING_INIT and multiply result by 1000.
4035
ddf985af
AZ
40362013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4037
4038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4039
ffdd3181
AS
40402013-09-11 Andreas Schwab <schwab@suse.de>
4041
4042 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4043 if not defined.
4044 (O_TMPFILE) [__USE_GNU]: Define.
4045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4046 Define.
4047
b73ed247
WN
40482013-09-11 Will Newton <will.newton@linaro.org>
4049
4050 [BZ #15857]
4051 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4052 does not overflow.
4053
55e17aad
WN
40542013-09-11 Will Newton <will.newton@linaro.org>
4055
4056 [BZ #15856]
4057 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4058 does not overflow.
4059
1159a193
WN
40602013-09-11 Will Newton <will.newton@linaro.org>
4061
4062 [BZ #15855]
4063 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4064 does not overflow.
4065
5905e7b3 40662013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
4067
4068 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4069 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4070 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4071 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4072 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4073
cdfc721b
AM
40742013-09-10 Allan McRae <allan@archlinux.org>
4075
aa04af00
AM
4076 [BZ #15748]
4077 * manual/arith.texi (Parsing of Floats): Clarify
4078 cross-reference.
4079
cdfc721b
AM
4080 [BZ #15849]
4081 * manual/install.texi (Running make install): Mention
4082 --enable-pt-chown.
4083 * INSTALL: Regenerated.
4084
95e7cf29
MR
40852013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4086
4087 * csu/init-first.c (_init): Remove the !SHARED condition around
4088 FPU control word initialization.
4089 * elf/dl-support.c (_dl_fpu_control): New variable.
4090 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4091 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4092 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4093 * math/test-fpucw-static.c: New file.
4094 * math/test-fpucw-ieee.c: New file.
4095 * math/test-fpucw-ieee-static.c: New file.
4096 * math/Makefile (tests): Add `test-fpucw-ieee' and
4097 `$(tests-static)'.
4098 (tests-static): New variable.
4099 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4100 dependency to...
4101 [($(build-shared),yes)]
4102 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4103 ... this.
4104 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4105 New dependency.
4106
83e43bf0
AM
41072013-09-09 Allan McRae <allan@archlinux.org>
4108
a9f5ce09
AM
4109 [BZ #15939]
4110 * manual/string.texi (Collation Functions): Fix typo in
4111 strcoll example.
4112 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4113
34829bc2
AM
4114 [BZ #15893]
4115 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4116
3932737d
AM
4117 [BZ #15892]
4118 * libio/memstream.c (open_memstream): Fix memory leak.
4119 * libio/wmemstream.c (open_wmemstream): Likewise.
4120
83e43bf0
AM
4121 [BZ #15895]
4122 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4123
0c66b8e9
WN
41242013-09-09 Will Newton <will.newton@linaro.org>
4125
4126 * malloc/Makefile: Add tst-realloc to tests.
4127 * malloc/tst-realloc.c: New file.
4128
f6b00fd1
AM
41292013-09-09 Allan McRae <allan@archlinux.org>
4130
4131 [BZ #15844]
4132 * COPYING: Update from GNU website to fix FSF address.
4133 * COPYING.LIB: Likewise.
4134
eec55e16
DM
41352013-09-06 David S. Miller <davem@davemloft.net>
4136
4137 * po/zh_TW.po: Update Chinese (traditional) translation from
4138 translation project.
4139
1ecbb381
RS
41402013-09-06 Richard Sandiford <richard@codesourcery.com>
4141 Joseph Myers <joseph@codesourcery.com>
4142
4143 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4144 "localeinfo.h".
4145 (obstack_chunk_alloc): New macro.
4146 (obstack_chunk_free): Likewise.
4147 (record_offset): New function.
4148 (init_locale_data): Likewise.
4149 (align_locale_data): Likewise.
4150 (add_locale_empty): Likewise.
4151 (add_locale_raw_data): Likewise.
4152 (add_locale_raw_obstack): Likewise.
4153 (add_locale_string): Likewise.
4154 (add_locale_wstring): Likewise.
4155 (add_locale_uint32): Likewise.
4156 (add_locale_uint32_array): Likewise.
4157 (add_locale_char): Likewise.
4158 (start_locale_structure): Likewise.
4159 (end_locale_structure): Likewise.
4160 (start_locale_prelude): Likewise.
4161 (end_locale_prelude): Likewise.
4162 (write_locale_data): Take locale_file structure rather than an
4163 iovec.
4164 * locale/programs/locfile.h: Include "obstack.h".
4165 (struct locale_file): Change to store locale file contents instead
4166 of header.
4167 (init_locale_data): New prototype.
4168 (align_locale_data): Likewise.
4169 (add_locale_empty): Likewise.
4170 (add_locale_raw_data): Likewise.
4171 (add_locale_raw_obstack): Likewise.
4172 (add_locale_string): Likewise.
4173 (add_locale_wstring): Likewise.
4174 (add_locale_uint32): Likewise.
4175 (add_locale_uint32_array): Likewise.
4176 (add_locale_char): Likewise.
4177 (start_locale_structure): Likewise.
4178 (end_locale_structure): Likewise.
4179 (start_locale_prelude): Likewise.
4180 (end_locale_prelude): Likewise.
4181 (write_locale_data): Update prototype.
4182 * locale/programs/3level.h (struct TABLE): Remove result field.
4183 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4184 Use new locale_file interface.
4185 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4186 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4187 * locale/programs/ld-address.c (address_output): Use new
4188 locale_file interface.
4189 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4190 NO_ADD_LOCALE.
4191 (collate_finish): Don't call collseq_table_finalize.
4192 (collate_output): Use new locale_file interface.
4193 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4194 in file.
4195 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4196 (TABLE): Move defines earlier in file.
4197 (ELEMENT): Likewise.
4198 (DEFAULT): Likewise.
4199 (wctrans_table_add): Move macro and inline function earlier in
4200 file.
4201 (struct wctype_table): Move type earlier in file.
4202 (add_locale_wctype_table): New static prototype.
4203 (struct locale_ctype_t): Use logical types instead of struct iovec
4204 pointers for members.
4205 (ctype_output): Use new locale_file interface.
4206 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4207 new locale_file interface.
4208 (allocate_arrays): Update for use of new locale_file interface.
4209 * locale/programs/ld-identification.c (identification_output): Use
4210 new locale_file interface.
4211 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4212 * locale/programs/ld-messages.c (messages_output): Likewise.
4213 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4214 * locale/programs/ld-name.c (name_output): Likewise.
4215 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4216 * locale/programs/ld-paper.c (paper_output): Likewise.
4217 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4218 * locale/programs/ld-time.c (time_output): Likewise.
4219
e029e2e5
AZ
42202013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4221
4222 * benchtests/Makefile: Add memrchr benchmark.
4223 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4224 benchmark as memrchr.
4225 * benchtests/bench-memrchr-ifunc.c: New file.
4226 * benchtests/bench-memrchr.c: New file.
4227
bbf6e8e4
WN
42282013-09-06 Will Newton <will.newton@linaro.org>
4229
4230 * benchtests/Makefile (string-bench): Add memcpy.
4231
6c82a2f8
CD
42322013-09-05 Carlos O'Donell <carlos@redhat.com>
4233 Cong Wang <amwang@redhat.com>
4234
4235 * sysdeps/unix/sysv/linux/bits/in.h
4236 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4237 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4238 before __USE_KERNEL_IPV6_DEFS uses.
4239 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4240 IPPROTO_BEETPH.
4241 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4242 sockaddr_in6, or ipv6_mreq.
4243
5430fc65
AZ
42442013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4245
4246 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4247 memory access for final bytes in some large inputs.
4248 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4249
4660856c
AZ
42502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4251
4252 * string/test-memrchr.c: New file.
4253 * string/test-memrchr-ifunc.c: New file.
4254 * string/Makefile: Add new memrchr testcase.
4255
bb8ea713
MF
42562013-09-05 Mike Frysinger <vapier@gentoo.org>
4257
4258 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4259 fanotify_init returns EPERM.
4260
b92a20b5
JM
42612013-09-04 Joseph Myers <joseph@codesourcery.com>
4262
4263 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4264 errors.
4265 (top level): Treat second token from macro or constant entries for
4266 allowed headers as allowed.
4267 * include/complex.h: Condition internal declarations on
4268 [!_ISOMAC].
4269 * include/fenv.h: Condition include of <stdbool.h> and internal
4270 declarations on [!_ISOMAC].
7447ccd9
CL
4271
42722013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4273
3e181dda 4274 [BZ #15923]
7447ccd9
CL
4275 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4276
3f2e46a4
JM
42772013-09-04 Joseph Myers <joseph@codesourcery.com>
4278
4279 * configure.in (--enable-versioning): Remove configure option.
4280 (libc_cv_asm_symver_directive): Remove configure test.
4281 (libc_cv_ld_version_script_option): Likewise.
4282 (VERSIONING): Remove variable and AC_SUBST.
4283 (DO_VERSIONING): Remove AC_DEFINE.
4284 * configure: Regenerated.
4285 * config.h.in (DO_VERSIONING): Remove macro.
4286 * Makerules [$(versioning) = yes]: Change conditionals to
4287 [$(build-shared) = yes].
4288 * config.make.in (versioning): Remove variable.
4289 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4290 [$(build-shared) = yes].
4291 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4292 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4293 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4294 [$(build-shared) = yes].
4295 * extra-lib.mk [$(versioning) = yes]: Likewise.
4296 * hurd/Makefile [$(versioning) = yes]: Likewise.
4297 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4298 [SHARED].
4299 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4300 [SHARED].
4301 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4302 [SHARED && !NO_HIDDEN].
4303 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4304 [SHARED].
4305 [SHARED && DO_VERSIONING]: Likewise..
4306 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4307 [$(build-shared) = yes].
4308 * manual/install.texi (--disable-versioning): Remove
4309 documentation.
4310 * INSTALL: Regenerated.
4311 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4312 to [SHARED].
4313 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4314 [$(build-shared) = yes].
4315 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4316 * sysdeps/i386/i686/multiarch/strstr-c.c
4317 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4318 [SHARED && !NO_HIDDEN].
4319 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4320 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4321 * sysdeps/powerpc/powerpc32/dl-machine.c
4322 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4323 * sysdeps/powerpc/powerpc32/sysdep.h
4324 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4325 to [SHARED && PIC && !NO_HIDDEN].
4326 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4327 conditional to [SHARED].
4328
44558701
WN
43292013-09-04 Will Newton <will.newton@linaro.org>
4330
4331 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4332 * benchtests/bench-string.h: Include bench-timing.h instead
4333 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4334 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4335 call to HP_TIMING_DIFF_INIT.
4336 * benchtests/bench-memccpy.c: Use bench-timing.h macros
4337 instead of hp-timing.h macros.
4338 * benchtests/bench-memchr.c: Likewise.
4339 * benchtests/bench-memcmp.c: Likewise.
4340 * benchtests/bench-memcpy.c: Likewise.
4341 * benchtests/bench-memmem.c: Likewise.
4342 * benchtests/bench-memmove.c: Likewise.
4343 * benchtests/bench-memset.c: Likewise.
4344 * benchtests/bench-rawmemchr.c: Likewise.
4345 * benchtests/bench-strcasecmp.c: Likewise.
4346 * benchtests/bench-strcasestr.c: Likewise.
4347 * benchtests/bench-strcat.c: Likewise.
4348 * benchtests/bench-strchr.c: Likewise.
4349 * benchtests/bench-strcmp.c: Likewise.
4350 * benchtests/bench-strcpy.c: Likewise.
4351 * benchtests/bench-strcpy_chk.c: Likewise.
4352 * benchtests/bench-strlen.c: Likewise.
4353 * benchtests/bench-strncasecmp.c: Likewise.
4354 * benchtests/bench-strncat.c: Likewise.
4355 * benchtests/bench-strncmp.c: Likewise.
4356 * benchtests/bench-strncpy.c: Likewise.
4357 * benchtests/bench-strnlen.c: Likewise.
4358 * benchtests/bench-strpbrk.c: Likewise.
4359 * benchtests/bench-strrchr.c: Likewise.
4360 * benchtests/bench-strspn.c: Likewise.
4361 * benchtests/bench-strstr.c: Likewise.
4362
cae16d66
WN
43632013-09-04 Will Newton <will.newton@linaro.org>
4364
4365 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4366
ffa3cd7f
JM
43672013-09-03 Joseph Myers <joseph@codesourcery.com>
4368
4369 [BZ #15427]
4370 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4371 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4372 * math/libm-test.inc (lgamma_test_data): Add more tests.
4373 * sysdeps/i386/fpu/libm-test-ulps: Update.
4374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4375
8f02859f
OB
43762013-09-03 Ondřej Bílka <neleai@seznam.cz>
4377
4378 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4380 Add ifunc.
4381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4382 Add strcmp-sse2-unaligned
4383 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4384
18d43716
MF
43852013-09-02 Mike Frysinger <vapier@gentoo.org>
4386
4387 * Versions.def (libc): Add GLIBC_2.19.
4388
ac444012
MF
43892013-09-02 Mike Frysinger <vapier@gentoo.org>
4390
4391 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4392 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4393
b7835e32
JM
43942013-09-02 Joseph Myers <joseph@codesourcery.com>
4395
4396 [BZ #14155]
4397 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4398 intermediate calculations in recurrence.
4399 (__ieee754_ynf): Likewise.
4400 * math/libm-test.inc (jn_test_data): Do not allow spurious
4401 underflow exception. Add more tests.
4402 (yn_test_data): Add more tests.
4403 * sysdeps/i386/fpu/libm-test-ulps: Update.
4404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4405
8220f4f0
OB
44062013-09-02 Ondřej Bílka <neleai@seznam.cz>
4407
4408 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4409
f24a6d08
OB
44102013-08-30 Ondřej Bílka <neleai@seznam.cz>
4411
4412 * csu/init-first.c: Fix then/than typos.
4413 * locale/programs/ld-collate.c: Likewise.
4414 * locale/programs/linereader.h: Likewise.
4415 * manual/charset.texi: Likewise.
4416 * manual/filesys.texi: Likewise.
4417 * manual/stdio.texi: Likewise.
4418 * manual/string.texi: Likewise.
4419 * stdlib/fmtmsg.c: Likewise.
4420 * sysdeps/i386/stpncpy.S: Likewise.
4421 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4422 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4423 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4424 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4425
382466e0
OB
44262013-08-30 Ondřej Bílka <neleai@seznam.cz>
4427
4428 * elf/dl-open.c: Fix typos.
4429 * iconvdata/gbbig5.c: Likewise.
4430 * iconvdata/iso-2022-jp.c: Likewise.
4431 * iconv/gconv_int.h: Likewise.
4432 * iconv/loop.c: Likewise.
4433 * nis/rpcsvc/nis.h: Likewise.
4434 * resolv/ns_name.c: Likewise.
4435 * stdio-common/vfscanf.c: Likewise.
4436 * streams/stropts.h: Likewise.
4437 * sunrpc/rpc_thread.c: Likewise.
4438 * sysdeps/i386/strpbrk.S: Likewise.
4439 * sysdeps/ieee754/k_standard.c: Likewise.
4440 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4442 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4443 * sysdeps/mach/hurd/profil.c: Likewise.
4444 * sysdeps/s390/dl-procinfo.h: Likewise.
4445 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4446 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4447 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4448 * sysdeps/x86_64/dl-trampoline.S: Likewise.
4449 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4450
0186c6e9
OB
44512013-08-30 Ondřej Bílka <neleai@seznam.cz>
4452
4453 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4455
d4e16af1
OB
44562013-08-29 Ondřej Bílka <neleai@seznam.cz>
4457
4458 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4459 aix specific files.
4460 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4461 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4462 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4463 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4464 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4465 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4466 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4467 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4468
88335980
TS
44692013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4470 Roland McGrath <roland@hack.frob.com>
4471
4472 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4473 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4474
ed479b02
ST
44752013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
4476
4477 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4478 __executable_start symbol instead of _start.
4479
f1cc4c86
TS
44802013-08-29 Thomas Schwinge <thomas@codesourcery.com>
4481
d821f07c
TS
4482 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4483 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4484 Move macros to...
4485 * sysdeps/gnu/ldsodefs.h: ... this new file.
4486
c54290cf
TS
4487 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4488 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4489 instead of ELFOSABI_LINUX.
4490
0007fc9b 4491 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
4492 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4493 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4494 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4495 Likewise.
4496 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4497 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4498 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4499 Likewise.
4500 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4501 (ibm_extended_long_double): Add ieee_nan member.
4502 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4503 (do_test): New function.
4504
f1cc4c86
TS
4505 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4506 TEST_TRUNC.
4507 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4508 functions, renamed from truncdfsf_test, trunctfsf_test,
4509 trunctfdf_test.
4510 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4511 functions.
4512 (do_test): Run all these.
4513
6f65e668
OB
45142013-08-29 Ondřej Bílka <neleai@seznam.cz>
4515
4516 * argp/argp-help.c: Fix typos.
4517 * argp/argp-parse.c: Likewise.
4518 * debug/backtracesyms.c: Likewise.
4519 * elf/elf.h: Likewise.
4520 * malloc/malloc.c: Likewise.
4521 * nis/nis_print.c: Likewise.
4522 * resolv/res_comp.c: Likewise.
4523 * stdlib/stdlib.h: Likewise.
4524 * sunrpc/clnt_tcp.c: Likewise.
4525 * sunrpc/clnt_udp.c: Likewise.
4526 * sunrpc/clnt_unix.c: Likewise.
4527 * sysdeps/unix/bsd/ptsname.c: Likewise.
4528 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4529 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
4530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4531 Likewise.
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4533 Likewise.
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4535 Likewise.
6f65e668
OB
4536 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4537
3a309239
SP
45382013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4539
4540 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4542
3b813b29
MF
45432013-08-27 Mike Frysinger <vapier@gentoo.org>
4544
4545 [BZ #15897]
4546 * dlfcn/Makefile (tests): Add bug-dl-leaf.
4547 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4548 ($(objpfx)bug-dl-leaf): New rule.
4549 ($(objpfx)bug-dl-leaf.so): Likewise.
4550 ($(objpfx)bug-dl-leaf.out): Likewise.
4551 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4552 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4553 * dlfcn/bug-dl-leaf.c: New test.
4554 * dlfcn/bug-dl-leaf-lib.c: Likewise.
4555 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4556 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4557 (dlclose): Likewise.
4558 (dlmopen): Likewise.
4559
8cc3269f
RM
45602013-08-27 Roland McGrath <roland@hack.frob.com>
4561
7f9d0034
RM
4562 * include/netdb.h [!_ISOMAC]:
4563 Don't include <tls.h>.
4564 (h_errno, __libc_h_errno): Move declaration and macros out of
4565 [_LIBC_REENTRANT].
4566
fb431262
RM
4567 * include/resolv.h [_RESOLV_H_]:
4568 Don't include <tls.h>.
4569 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4570 * resolv/res_libc.c: Don't include <tls.h>.
4571 (_res): Use __attribute__ ((nocommon)) in place of
4572 __attribute__ ((section (".bss"))).
4573
bd81123a
RM
4574 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4575 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4576
c4e42566
RM
4577 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4578
f890a59b
RM
4579 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4580 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4581
4582 * resolv/res_mkquery.c: Include <sys/time.h>.
4583
5d1f0a09
RM
4584 * inet/ifreq.c: Moved to ...
4585 * sysdeps/unix/ifreq.c: ... here.
4586 * inet/ifreq.c: New file, true stub version.
4587
6fcf28b3
RM
4588 * socket/sa_len.c: New file.
4589 * socket/Makefile (aux): Add it.
4590 * sysdeps/unix/sysv/linux/Makefile
4591 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4592 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4593 and #include <socket/sa_len.c>.
4594 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4595 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4596
e041fb8b
RM
4597 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4598 * bits/socket.h: ... here.
4599
8cc3269f
RM
4600 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4601 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4602 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4603
5d228a43
AS
46042013-08-27 Andreas Schwab <schwab@suse.de>
4605
45b8accc
AS
4606 [BZ #15736]
4607 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4608 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4609 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4610 * string/test-strcasecmp.c (test_main): Run tests in several
4611 locales.
4612 * string/test-strncasecmp.c (test_main): Likewise.
4613
5d228a43
AS
4614 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4615 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4616 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4617 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4618 (__strncasecmp_ssse3) [PIC]: Likewise.
4619
59d112a4
RM
46202013-08-26 Roland McGrath <roland@hack.frob.com>
4621
53234cc3
RM
4622 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4623
59d112a4
RM
4624 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4625 instead of explicitly declaring xdecrypt.
4626 * nis/nss_nis/nis-publickey.c: Likewise.
4627
595aba70
SP
46282013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4629
4630 [BZ #15890]
4631 * nscd/aicache.c: Include res_hconf.h.
4632 (addhstaiX): Initialize res_hconf.
4633
ffabd393
AS
46342013-08-26 Andreas Schwab <schwab@suse.de>
4635
4636 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4637 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4638
e0a69f5c
SP
46392013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4640
4641 * nscd/aicache.c (addhstaiX): Fix indentation.
4642
8c12f01d
MF
46432013-08-25 Mike Frysinger <vapier@gentoo.org>
4644
4645 * configure.ac: Quote $build_pt_chown test.
4646 * configure: Regenerated.
4647
8fe89494
JM
46482013-08-23 Joseph Myers <joseph@codesourcery.com>
4649
4650 [BZ #15532]
4651 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4652 * math/s_cexpf.c (__cexpf): Likewise.
4653 * math/s_cexpl.c (__cexpl): Likewise.
4654 * math/libm-test.inc (cexp_test_data): Correct expected return
4655 value for NaN + i0. Add another test.
4656
75b181d6
DM
46572013-08-22 David S. Miller <davem@davemloft.net>
4658
4659 * po/ca.po: Update Catalan translation from translation project.
936241e4 4660 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4661
acd06bb1
JM
46622013-08-21 Joseph Myers <joseph@codesourcery.com>
4663
4664 [BZ #15797]
4665 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4666 is infinite, not alongside NaN test.
4667 * math/s_fdimf.c (__fdimf): Likewise.
4668 * math/s_fdiml.c (__fdiml): Likewise.
4669 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4670 errno is unchanged.
4671
c0c3f78a
OB
46722013-08-21 Ondřej Bílka <neleai@seznam.cz>
4673
4674 * argp/argp-help.c: Fix typos.
4675 * crypt/speeds.c: Likewise.
4676 * csu/check_fds.c: Likewise.
4677 * elf/dl-load.c: Likewise.
4678 * elf/dl-open.c: Likewise.
4679 * elf/reldep3.c: Likewise.
4680 * elf/reldep.c: Likewise.
4681 * elf/sprof.c: Likewise.
4682 * iconv/iconv_charmap.c: Likewise.
4683 * iconv/skeleton.c: Likewise.
4684 * iconv/strtab.c: Likewise.
4685 * io/lockf64.c: Likewise.
4686 * libio/libioP.h: Likewise.
4687 * resolv/gai_notify.c: Likewise.
4688 * resolv/ns_name.c: Likewise.
4689 * resolv/ns_samedomain.c: Likewise.
4690 * resolv/res_send.c: Likewise.
4691 * stdlib/random.c: Likewise.
4692 * sunrpc/rpc/xdr.h: Likewise.
4693 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4694 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4695 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4696 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4697 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4698 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4699 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4700 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4701 * sysdeps/mach/hurd/check_fds.c: Likewise.
4702 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4703 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4704 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4705 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4706 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4707 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4708 * sysdeps/pthread/aio_notify.c: Likewise.
4709 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4710 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4711 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4712 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4713 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4714
46ed1038
LD
47152013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4716
4717 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4718 version if bit_Slow_SSE4_2 is set.
4719 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4720 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4721
d400dcac
AZ
47222013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4723
4724 [BZ #15867]
4725 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4726 trampoline stack frame information.
4727 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4728 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4729 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4730 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4731 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4732 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4733 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4734 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4735 sa_flags value.
4736 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4737 interrupting a syscall and set with option SA_SIGINFO.
4738
42c8fdd8
JM
47392013-08-20 Joseph Myers <joseph@codesourcery.com>
4740
c980f2f4
JM
4741 [BZ #15531]
4742 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4743 argument is infinite.
4744 * math/s_cprojf.c (__cprojf): Likewise.
4745 * math/s_cprojl.c (__cprojl): Likewise.
4746 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4747 * math/libm-test.inc (cproj_test_data): Add more tests.
4748
0716c4fc
JM
4749 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4750
42c8fdd8
JM
4751 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4752 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4753 size. Use __ffs to determine corresponding shift.
4754
b31469d0
JM
47552013-08-20 Joseph Myers <joseph@codesourcery.com>
4756 Roland McGrath <roland@hack.frob.com>
4757
4758 * Makefile (INSTALL): Remove trailing blank lines from output of
4759 makeinfo.
4760
4e39af6e
AK
47612013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4762
4763 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4764 Align 32 bit compat elf_greg to 8 bytes.
4765
f315524e
AA
47662013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4767
4768 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4769
1326ba1a
SP
47702013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4771
4772 * string/strcoll_l.c (coll_seq): New structure.
4773 (get_next_seq_cached): New function.
4774 (get_next_seq): New function.
4775 (do_compare): New function.
4776 (STRCOLL): Use GNU style definition. Simplify implementation
4777 by using get_next_seq, get_next_seq_cached and do_compare.
4778
91ce4085
FW
47792013-08-16 Florian Weimer <fweimer@redhat.com>
4780
4781 [BZ #14699]
4782 CVE-2013-4237
4783 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4784 member.
4785 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4786 member.
4787 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4788 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4789 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4790 conditional.
4791 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4792 GETDENTS_64BIT_ALIGNED.
4793 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4794 * manual/filesys.texi (Reading/Closing Directory): Document
4795 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4796 strongly.
4797 * manual/conf.texi (Limits for Files): Add portability note to
4798 NAME_MAX, PATH_MAX.
4799 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4800
ca0a6bc4
AS
48012013-08-13 Andreas Schwab <schwab@suse.de>
4802
4803 [BZ #15749]
4804 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4805 of fabs.
4806 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4807 LDBL_MAX_EXP >= 16384]: Add tests for it.
4808
6c1fd795
DM
48092013-08-12 David S. Miller <davem@davemloft.net>
4810
4811 * version.h (RELEASE): Set to "development".
4812 (VERSION): Set to "2.18.90".
4813 * NEWS: Add 2.19 section.
4814
31ad488d
DM
48152013-08-03 David S. Miller <davem@davemloft.net>
4816
4817 * po/ko.po: Update Korean translation from translation project.
4818
db24e684
DM
48192013-08-01 David S. Miller <davem@davemloft.net>
4820
4821 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4822 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4823 Bilka.
4824
f723285b
DM
48252013-07-30 David S. Miller <davem@davemloft.net>
4826
4827 * po/fr.po: Update French translation from translation project.
4828
3cbc52db
DM
48292013-07-28 David S. Miller <davem@davemloft.net>
4830
30bbc0cc
DM
4831 * po/cs.po: Update Czech translation from translation project.
4832
3cbc52db
DM
4833 * po/sv.po: Update Swedish translation from translation project.
4834
d492e6d0
DM
48352013-07-27 David S. Miller <davem@davemloft.net>
4836
f1a7f492
DM
4837 * po/eo.po: Update Esperanto translation from translation project.
4838
90e62a4a
DM
4839 * po/vi.po: Update Vietnamese translation from translation project.
4840
d492e6d0
DM
4841 * po/de.po: Update German translation from translation project.
4842
d4baa62d
DM
48432013-07-26 David S. Miller <davem@davemloft.net>
4844
641aa7b4
DM
4845 * po/bg.po: Update Bulgarian translation from translation project.
4846
d4baa62d
DM
4847 * po/nl.po: Update Dutch translation from translation project.
4848 * po/pl.po: Update Polish translation from translation project.
4849 * po/ru.po: Update Russian translation from translation project.
4850
61a9dcb9
DM
48512013-07-24 David S. Miller <davem@davemloft.net>
4852
4853 * po/libc.pot: Update.
4854
7b1f8b58
AZ
48552013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4856
4857 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4858 variable page size.
4859 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4860 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4861 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4862
a8fc7a03
AK
48632013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4864
4865 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4866
e4608715
CD
48672013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4868 Andreas Schwab <schwab@suse.de>
4869 Roland McGrath <roland@hack.frob.com>
4870 Joseph Myers <joseph@codesourcery.com>
4871 Carlos O'Donell <carlos@redhat.com>
4872
4873 [BZ #15755]
4874 * config.h.in: Define HAVE_PT_CHOWN.
4875 * config.make.in (build-pt-chown): New variable.
4876 * configure.in (--enable-pt_chown): New configure option.
4877 * configure: Regenerate.
4878 * login/Makefile: Include Makeconfig. Build pt_chown only if
4879 build-pt-chown is enabled.
4880 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4881 pt_chown to fix pty ownership.
4882 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4883 CLOSE_ALL_FDS.
4884 * manual/install.texi (Configuring and compiling): Mention
4885 --enable-pt_chown. Add @findex for grantpt.
4886 * INSTALL: Regenerate.
4887
da2d62df
DM
48882013-07-20 David S. Miller <davem@davemloft.net>
4889
4890 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4891 difference between 32-bit and 64-bit.
4892
d7e06450
CD
48932013-07-15 Carlos O'Donell <carlos@redhat.com>
4894
4895 [BZ #15711]
4896 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4897 Avoid system header dependency with -ffreestanding.
4898 ($(objpfx)bits/syscall%d): Likewise.
4899
f959cfd7
DM
49002013-07-13 David S. Miller <davem@davemloft.net>
4901
4902 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4903 underflows from atanl/atan2l due to bug 15319.
4904 (casinh_test_data): Likewise.
4905
c61f8513
DM
49062013-07-07 David S. Miller <davem@davemloft.net>
4907
4908 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4909
72c90ed0
JA
49102013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4911
4912 * sysdeps/i386/fpu/libm-test-ulps: Update.
4913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4914
52dfbe13
SP
49152013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4916
4917 * configure.in (--enable-lock-elision): Fix message text.
4918 * INSTALL: Regenerate.
4919 * configure: Regenerate.
4920
3f169543
AZ
49212013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4922
4923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4924
521c6785
AJ
49252013-07-03 Andreas Jaeger <aj@suse.de>
4926
4927 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4928 define.
4929 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4930 (ptrace_peeksiginfo_args): Add.
4931 (__ptrace_peeksiginfo_flags): Add.
4932 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4933 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4934 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4935
d2cc15cb
AM
49362013-07-03 Allan McRae <allan@archlinux.org>
4937
4938 * sysdeps/i386/fpu/libm-test-ulps: Update.
4939
3aaeeca7
DM
49402013-07-02 David S. Miller <davem@davemloft.net>
4941
4942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4943
5314ed1a
MT
49442013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4945
4946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4947
67338156
JM
49482013-07-02 Joseph Myers <joseph@codesourcery.com>
4949
4950 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4952
1717da59
AK
49532013-07-02 Andi Kleen <ak@linux.intel.com>
4954
4955 * config.h.in (ENABLE_LOCK_ELISION): Add.
4956 * configure.in (--enable-lock-elision): Add option.
4957 * manual/install.texi: Document --enable lock elision.
4958 * configure: Regenerate
4959 * INSTALL: Regenerate.
4960
1c81621c
L
49612013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4962
4963 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4964 SSE4.2 strcasecmp for libc.a.
4965 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4966
77f01ab5
JM
49672013-07-02 Joseph Myers <joseph@codesourcery.com>
4968
4969 [BZ #13304]
4970 * soft-fp/op-common.h (_FP_FMA): New macro.
4971 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4972 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4973 (_FP_MUL_MEAT_1_imm): ... here.
4974 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4975 (_FP_MUL_MEAT_1_wide): ... here.
4976 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4977 (_FP_MUL_MEAT_1_hard): ... here.
4978 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4979 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4980 (_FP_MUL_MEAT_2_wide): ... here.
4981 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4982 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4983 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4984 (_FP_MUL_MEAT_2_gmp): ... here.
4985 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4986 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4987 (_FP_MUL_MEAT_4_wide): ... here.
4988 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4989 (_FP_MUL_MEAT_4_gmp): ... here.
4990 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4991 (_FP_WFRACBITS_DW_S): Likewise.
4992 (_FP_WFRACXBITS_DW_S): Likewise.
4993 (_FP_HIGHBIT_DW_S): Likewise.
4994 (FP_FMA_S): Likewise.
4995 (_FP_FRAC_HIGH_DW_S): Likewise.
4996 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4997 (_FP_WFRACBITS_DW_D): Likewise.
4998 (_FP_WFRACXBITS_DW_D): Likewise.
4999 (_FP_HIGHBIT_DW_D): Likewise.
5000 (FP_FMA_D): Likewise.
5001 (_FP_FRAC_HIGH_DW_D): Likewise.
5002 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5003 (_FP_WFRACBITS_DW_E): Likewise.
5004 (_FP_WFRACXBITS_DW_E): Likewise.
5005 (_FP_HIGHBIT_DW_E): Likewise.
5006 (FP_FMA_E): Likewise.
5007 (_FP_FRAC_HIGH_DW_E): Likewise.
5008 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5009 (_FP_WFRACBITS_DW_Q): Likewise.
5010 (_FP_WFRACXBITS_DW_Q): Likewise.
5011 (_FP_HIGHBIT_DW_Q): Likewise.
5012 (FP_FMA_Q): Likewise.
5013 (_FP_FRAC_HIGH_DW_Q): Likewise.
5014 * soft-fp/fmasf4.c: New file.
5015 * soft-fp/fmadf4.c: Likewise.
5016 * soft-fp/fmatf4.c: Likewise.
5017
6308fd9a
LD
50182013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5019
5020 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5021 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5022 Silvermont.
5023 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5024 macro.
5025 (index_Slow_SSE4_2): Likewise.
5026 (index_Prefer_PMINUB_for_stringop): Likewise.
5027 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5028 bit_Slow_SSE4_2 is set.
5029 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5030 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5031
89cd9569
RA
50322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5033
5034 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5035 rtld_global._dl_hwcap2.
5036 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5037 POWER8.
5038 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5039 POWER8 feature descriptions defined in _dl_hwcap2.
5040 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5041 string handling for POWER8 feature bits.
5042 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5043 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5044 _dl_powerpc_cap_flags.
5045 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5046 * sysdeps/powerpc/rtld-global-offsets.sym
5047 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5048 _dl_hwcap2 in the rtld_global_ro structure.
5049
1ae8bfe0
RA
50502013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5051
5052 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5053 hardware capabilities in support of AT_HWCAP2.
5054 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5055 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5056 GLRO(dl_hwcap2).
5057 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5058 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5059 explicitly the unknown a_type display mechanism is used.
5060 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5061 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5062 struct member.
5063 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5064 to macro prototype for AT_HWCAP2 support.
5065 * sysdeps/i386/dl-procinfo.h: Likewise.
5066 * sysdeps/s390/dl-procinfo.h: Likewise.
5067 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5068 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5069 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5070 return -1 for unknown a_type display fallback.
5071 * sysdeps/sparc/dl-procinfo.h: Likewise.
5072 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5073 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5074
8fbec010
JM
50752013-06-28 Joseph Myers <joseph@codesourcery.com>
5076
5077 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5078 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5079
0432680e
PY
50802013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5081
5082 [BZ #12492]
5083 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5084 mprotect making __stack_prot writable.
5085
ce61a2ad
NF
50862013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5087 Joseph Myers <joseph@codesourcery.com>
5088
5089 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5090 as being properly aligned.
5091
f91f1c0f
MR
50922013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5093
3d0f5d0c
MR
5094 * dlfcn/modstatic5.c: New file.
5095 * dlfcn/tststatic5.c: New file.
5096 * dlfcn/Makefile (tests): Add tststatic5.
5097 (tests-static): Likewise.
5098 (modules-names): Add modstatic5.
5099 (tststatic5-ENV): New variable.
5100 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5101
f91f1c0f
MR
5102 [BZ #15022]
5103 * elf/dl-support.c (_dl_main_map): New variable.
5104 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5105 (_dl_nns, _dl_load_adds): Set to 1.
5106 (_dl_initial_searchlist): Refer to _dl_main_map.
5107 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5108 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5109 call to _dl_get_origin.
5110 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5111 around call_map.
5112 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5113 * dlfcn/modstatic3.c: New file.
5114 * dlfcn/tststatic3.c: New file.
5115 * dlfcn/tststatic4.c: New file.
5116 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5117 (tests-static): Likewise.
5118 (modules-names): Add modstatic3.
5119 (tststatic3-ENV, tststatic4-ENV): New variables.
5120 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5121 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5122
cbe7d24b
JM
51232013-06-26 Joseph Myers <joseph@codesourcery.com>
5124
5125 * configure.in (CC): Require GCC version 4.4 or later.
5126 * configure: Regenerated.
5127 * manual/install.texi (Tools for Compilation): Update GCC version
5128 requirement.
5129 * INSTALL: Regenerated.
5130
11b8a0e1
LD
51312013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5132
5133 [BZ #15674]
bb5bb87c
L
5134 * string/test-memcmp.c (check2): New.
5135 (main): Call check2.
5136
11b8a0e1
LD
5137 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5138
b0037103
MR
51392013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5140
5141 [BZ #15022]
5142 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5143 over to...
5144 (dl_open_worker) [!SHARED]: ... here.
5145
c18c701d
RA
51462013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5147
5148 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5149
1d17fa5f
RH
51502013-06-25 Richard Henderson <rth@redhat.com>
5151
5152 * locale/programs/locarchive.c: Include <libc-internal.h>
5153
8fcb833a
JM
51542013-06-25 Joseph Myers <joseph@codesourcery.com>
5155
5156 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5157 trailing whitespace removed.
5158
17db6e8d
MF
51592013-06-24 Mike Frysinger <vapier@gentoo.org>
5160
5161 [BZ #10283]
17db6e8d
MF
5162 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5163 * locale/programs/locarchive.c: Include libc-mmap.h.
5164 (prepare_address_space): Take two new outputs (the mmap base and len).
5165 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5166 values.
5167 (create_archive): Declare new mmap base and len values for
5168 prepare_address_space, and store the result in ah.
5169 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5170 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5171 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5172 Declare new mmap base and len values for
5173 prepare_address_space, and store the result in new_ah.
5174 (open_archive): Declare new mmap base and len values for
5175 prepare_address_space, and store the result in ah.
5176 (close_archive): If ah->mmap_base is not NULL, use that and
5177 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5178 * sysdeps/generic/libc-mmap.h: New file.
5179
d605071e
MF
51802013-06-24 Mike Frysinger <vapier@gentoo.org>
5181
5182 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5183 (ALIGN_UP): Likewise.
5184 (PTR_ALIGN_DOWN): Likewise.
5185 (PTR_ALIGN_UP): Likewise.
5186
2f063a6e
RA
51872013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5188
5189 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5190 entry mapped to PPC_PLATFORM_POWER8.
5191 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5192 POWER8.
5193 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5194 (_dl_string_platform): Add case for exporting platform position for
5195 POWER8.
5196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5197 search path to sysdeps/powerpc/powerpc32/power8 directory.
5198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5199 search path to sysdeps/powerpc/powerpc64/power8 directory.
5200 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5201 power7 directories.
5202 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5203 power7 directories.
5204
a31ee4b3
SP
52052013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5206
a74ca98f
SP
5207 * INSTALL: Regenerate.
5208
a31ee4b3
SP
5209 * nscd/connections.c (nscd_init): Fix comment.
5210
695c378f
JM
52112013-06-22 Joseph Myers <joseph@codesourcery.com>
5212
d8412221
JM
5213 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5214
695c378f
JM
5215 [BZ #15667]
5216 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5217 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5218
d1d54715
MR
52192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5220
5221 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5222 DL_DST_REQ_STATIC.
5223 (DL_DST_REQ_STATIC): Remove macro.
5224
8fdda7af
JM
52252013-06-21 Joseph Myers <joseph@codesourcery.com>
5226
5227 [BZ #7006]
5228 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5229 with a shift of 0 bits.
5230
f3bc5e5a
MR
52312013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5232
5233 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5234 $(tststatic-ENV).
5235
be09e8c9
KK
52362013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5237
5238 [BZ #15655]
5239 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5240
85c2e611
AZ
52412013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5242
5243 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5244 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5245 accepts -fno-tree-loop-distribute-patterns.
5246 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5247 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5248 recursive call.
5249 * string/memset.c (memset): Likewise.
5250 * string/test-memmove.c (simple_memmove): Disable loop transformation
5251 to library calls.
5252 * string/test-memset.c (simple_memset): Likewise.
5253 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5254 * benchtests/bench-memset.c (simple_memset): Likewise.
5255 * configure: Regenerated.
5256
c91e0825
JM
52572013-06-20 Joseph Myers <joseph@codesourcery.com>
5258
b8c792af
JM
5259 * math/test-misc.c (main): Ignore fesetround failure when failures
5260 of subsequent rounding tests would be ignored.
5261
c91e0825
JM
5262 [BZ #15654]
5263 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5264 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5265 * math/fegetenv.c (__fegetenv): Return 0.
5266 * math/fegetexcept.c (fegetexcept): Return 0.
5267 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5268 FE_TONEAREST.
5269 * math/feholdexcpt.c (feholdexcept): Return 0.
5270 * math/fesetenv.c (__fesetenv): Return 0.
5271 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5272 argument FE_TONEAREST.
5273 * math/feupdateenv.c (__feupdateenv): Return 0.
5274 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5275
bfcacbde
RM
52762013-06-18 Roland McGrath <roland@hack.frob.com>
5277
5278 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5279 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5280 ($(objpfx)rtld-%.os rules): Use them.
5281
e55a9b25
AZ
52822013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5283
5284 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5285 fields.
5286
346d65b3
RM
52872013-06-17 Roland McGrath <roland@hack.frob.com>
5288
12086fb4
RM
5289 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5290 length of target pattern, then descending length of dependency pattern.
5291 * configure.in (AWK): Require gawk 3.1.2 or newer.
5292 * manual/install.texi (Tools for Compilation): Say that we do.
5293 * configure: Regenerated.
5294
346d65b3
RM
5295 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5296 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5297 * scripts/sysd-rules.awk: ... this new script.
5298 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5299 than a glob-style pattern.
5300
1a846317
JM
53012013-06-17 Joseph Myers <joseph@codesourcery.com>
5302
5303 * math/test-misc.c (main): Do not treat incorrectly rounded
5304 conversions as failure unless ROUNDING_TESTS passes.
5305
8fc75e6f
JM
53062013-06-15 Joseph Myers <joseph@codesourcery.com>
5307
3711a167
JM
5308 [BZ #15631]
5309 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5310 restore exception state around main square root computation, then
5311 check for inexactness explicitly.
5312
8fc75e6f
JM
5313 * math/libm-test.inc (fma_test_data): Add another test.
5314
61dd6208
SP
53152013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5316
adf23d2c
SP
5317 * manual/threads.texi (Non-POSIX Extensions): New document
5318 node. Document pthread_getattr_default_np and
5319 pthread_setattr_default_np.
5320
61dd6208
SP
5321 * Versions.def (libpthread): Add GLIBC_2.18.
5322 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5324 Likewise.
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5326 Likewise.
5327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5328 Likewise.
5329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5330 Likewise.
5331 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5332 Likewise.
5333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5334 Likewise.
5335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5336 Likewise.
5337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5338 Likewise.
5339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5340 Likewise.
5341
d086fc7b
LD
53422013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5343
5344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5345 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5346
747ef469
SP
53472013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5348 H.J. Lu <hjl.tools@gmail.com>
5349
5350 [BZ #15627]
5351 * sysdeps/x86_64/rtld-memset.c: Remove file.
5352 * sysdeps/x86_64/rtld-memset.S: New file.
5353
1b2feed2
JM
53542013-06-14 Joseph Myers <joseph@codesourcery.com>
5355
5356 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5357 (test_in_one_mode): Take arguments for whether the rounding mode
5358 is supported for each floating-point type.
5359 (do_test): Pass new arguments to test_in_one_mode using
5360 ROUNDING_TESTS.
5361
a58ad3f8
RM
53622013-06-13 Roland McGrath <roland@hack.frob.com>
5363
5364 * posix/tst-waitid.c (do_test): Distinguish different instances of
5365 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
5366 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5367 before entering the kernel for waitpid.
5368
c204ab28
SP
53692013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5370
5371 * NEWS: Fix note on clock function precision. Text by Roland
5372 McGrath.
5373
f4a29fba
RM
53742013-06-13 Roland McGrath <roland@hack.frob.com>
5375
5376 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5377 it into place only when and if the sanity check passes.
5378
1f24b9ad
JM
53792013-06-13 Joseph Myers <joseph@codesourcery.com>
5380
5381 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5382 output for whether conversion result is exact. Take argument
5383 indicating whether type is IBM long double.
5384 (round_for_all): Change need_exact field to ibm_ld.
5385 * stdlib/tst-strtod-round.c (struct exactness): New type.
5386 (struct test): Change bool ld_ok field to struct exactness exact.
5387 (TEST): Update all definitions for change to field.
5388 (tests): Regenerate array contents.
5389 (test_in_one_mode): Take pointer to new field instead of old ld_ok
5390 field value. Check for IBM long double here.
5391 (do_test): Update calls to test_in_one_mode.
5392
58206c68
SP
53932013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5394
5395 [BZ #12515]
5396 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5397 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5398
2d6f4c5b 53992013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
5400
5401 [BZ #15605]
5402 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5403 generated by the compiler on loop optimizations.
5404 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5405 general definitions.
5406
94f2c076
JM
54072013-06-12 Joseph Myers <joseph@codesourcery.com>
5408
5409 * math/bug-nextafter.c: Include <math-tests.h>.
5410 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5411 the relevant type.
5412 * math/bug-nexttoward.c: Include <math-tests.h>.
5413 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5414 the relevant type.
5415 * math/test-misc.c: Include <math-tests.h>.
5416 (main): Only test for exceptions if EXCEPTION_TESTS is true for
5417 the relevant type.
5418
e0e50a0a
AJ
54192013-06-12 Andreas Jaeger <aj@suse.de>
5420
5421 * po/ia.po: Update Interlingua translation from translation
5422 project.
5423
25061094
SP
54242013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5425
5426 * include/fenv.h: Include stdbool.h.
5427 (struct rm_ctx): New structure.
5428 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5429 Define macro.
5430 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5431 (SET_RESTORE_ROUNDF): Likewise.
5432 (SET_RESTORE_ROUNDL): Likewise.
5433 (SET_RESTORE_ROUND_NOEX): Likewise.
5434 (SET_RESTORE_ROUND_NOEXF): Likewise.
5435 (SET_RESTORE_ROUND_NOEXL): Likewise.
5436 (SET_RESTORE_ROUND_53BIT): Likewise.
5437 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5438 (libc_feresetround_noexf_ctx): Likewise.
5439 (libc_feresetround_noexl_ctx): Likewise.
5440 (libc_feholdsetround_53bit_ctx): Likewise.
5441 (libc_feresetround_53bit_ctx): Likewise.
5442 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5443 (libc_feholdexcept_setround_sse_ctx): New function.
5444 (libc_fesetenv_sse_ctx): Likewise.
5445 (libc_feupdateenv_sse_ctx): Likewise.
5446 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5447 (libc_feholdexcept_setround_387_ctx): Likewise.
5448 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5449 (libc_feholdsetround_387_prec_ctx): Likewise.
5450 (libc_feholdsetround_387_ctx): Likewise.
5451 (libc_feholdsetround_387_53bit_ctx): Likewise.
5452 (libc_feholdsetround_sse_ctx): Likewise.
5453 (libc_feresetround_sse_ctx): Likewise.
5454 (libc_feresetround_387_ctx): Likewise.
5455 (libc_feupdateenv_387_ctx): Likewise.
5456 (libc_feholdexcept_setroundf_ctx): Define macro.
5457 (libc_fesetenvf_ctx): Likewise.
5458 (libc_feupdateenvf_ctx): Likewise.
5459 (libc_feholdsetroundf_ctx): Likewise.
5460 (libc_feresetroundf_ctx): Likewise.
5461 (libc_feholdexcept_setround_ctx): Likewise.
5462 (libc_fesetenv_ctx): Likewise.
5463 (libc_feupdateenv_ctx): Likewise.
5464 (libc_feholdsetround_ctx): Likewise.
5465 (libc_feresetround_ctx): Likewise.
5466 (libc_feholdexcept_setroundl_ctx): Likewise.
5467 (libc_feupdateenvl_ctx): Likewise.
5468 (libc_feholdsetroundl_ctx): Likewise.
5469 (libc_feresetroundl_ctx): Likewise.
5470 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5471 (libc_feresetround_53bit_ctx): Likewise.
5472
59b30555
SP
54732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5474
5475 * locale/iso-639.def: Convert to UTF-8.
5476
f1d73d30
JM
54772013-06-11 Joseph Myers <joseph@codesourcery.com>
5478
5479 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5480 (EXCEPTION_TESTS_double): Likewise.
5481 (EXCEPTION_TESTS_long_double): Likewise.
5482 (EXCEPTION_TESTS): Likewise.
5483 * math/libm-test.inc (test_exceptions): Only test exceptions if
5484 EXCEPTION_TESTS (FLOAT).
5485
94aca5e7
SP
54862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5487
5488 * benchtests/Makefile (string-bench): Add strcpy_chk and
5489 stpcpy_chk.
5490 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5491 * benchtests/bench-stpcpy_chk.c: New file.
5492 * benchtests/bench-strcpy_chk-ifunc.c: New file.
5493 * benchtests/bench-strcpy_chk.c: New file.
5494 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5495 code.
5496 (do_test): Likewise.
5497
fac0c5f2
RA
54982013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5499
5500 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5501 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5502 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5503 with tabs where appropriate.
5504 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5505 dl-procinfo.h.
5506 [PPC_PLATFORM_PPC440]: Likewise.
5507 [PPC_PLATFORM_PPC464]: Likewise.
5508 [PPC_PLATFORM_PPC476]: Likewise.
5509 (_dl_string_platform): Add support for detecting ppc405, ppc440,
5510 ppc464, and ppc476 platform strings merging from ports/
5511 dl-procinfo.h.
5512
f22bc486
AS
55132013-06-11 Andreas Schwab <schwab@suse.de>
5514
5515 [BZ #14991]
5516 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5517 (from_ucs4_idx): Regenerate.
5518 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5519 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5520 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5521 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5522 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5523 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5524 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5525 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5526 from FROM_LOOP and TO_LOOP specific macros.
5527 (BODY): Handle combining characters.
5528 * iconvdata/BIG5HKSCS.irreversible: Update.
5529 * iconvdata/BIG5HKSCS.precomposed: New file.
5530 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5531 characters.
5532 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5533
c1f75dc3
SP
55342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5535
4eacded2
SP
5536 * include/sys/time.h: Fix indentation and add copyright header.
5537
fec799f8
SP
5538 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5539 (do_test): Likewise.
5540 * string/test-memchr.c (do_one_test): Likewise.
5541 (do_test): Likewise.
5542 * string/test-memcmp.c (do_one_test): Likewise.
5543 (do_test): Likewise.
5544 * string/test-memcpy.c (do_one_test): Likewise.
5545 (do_test): Likewise.
5546 * string/test-memmem.c (do_one_test): Likewise.
5547 (do_test): Likewise.
5548 (do_random_tests): Likewise.
5549 * string/test-memmove.c (do_one_test): Likewise.
5550 (do_test): Likewise.
5551 * string/test-memset.c (do_one_test): Likewise.
5552 (do_test): Likewise.
5553 * string/test-rawmemchr.c (do_one_test): Likewise.
5554 (do_test): Likewise.
5555 * string/test-strcasecmp.c (do_one_test): Likewise.
5556 (do_test): Likewise.
5557 * string/test-strcasestr.c (do_one_test): Likewise.
5558 (do_test): Likewise.
5559 * string/test-strcat.c (do_one_test): Likewise.
5560 (do_test): Likewise.
5561 * string/test-strchr.c (do_one_test): Likewise.
5562 (do_test): Likewise.
5563 * string/test-strcmp.c (do_one_test): Likewise.
5564 (do_test): Likewise.
5565 * string/test-strcpy.c (do_one_test): Likewise.
5566 (do_test): Likewise.
5567 * string/test-string.h: Likewise.
5568 (test_init): Likewise.
5569 * string/test-strlen.c (do_one_test): Likewise.
5570 (do_test): Likewise.
5571 * string/test-strncasecmp.c (do_one_test): Likewise.
5572 (do_test): Likewise.
5573 * string/test-strncat.c (do_one_test): Likewise.
5574 (do_test): Likewise.
5575 * string/test-strncmp.c (do_one_test): Likewise.
5576 (do_test_limit): Likewise.
5577 (do_test): Likewise.
5578 * string/test-strncpy.c (do_one_test): Likewise.
5579 (do_test): Likewise.
5580 * string/test-strnlen.c (do_one_test): Likewise.
5581 (do_test): Likewise.
5582 * string/test-strpbrk.c (do_one_test): Likewise.
5583 (do_test): Likewise.
5584 * string/test-strrchr.c (do_one_test): Likewise.
5585 (do_test): Likewise.
5586 * string/test-strspn.c (do_one_test): Likewise.
5587 (do_test): Likewise.
5588 * string/test-strstr.c (do_one_test): Likewise.
5589 (do_test): Likewise.
5590
97020474
SP
5591 * benchtests/Makefile (string-bench): Add string benchmarks.
5592 * benchtests/bench-bcopy-ifunc.c: New file.
5593 * benchtests/bench-bcopy.c: New file.
5594 * benchtests/bench-bzero-ifunc.c: New file.
5595 * benchtests/bench-bzero.c: New file.
5596 * benchtests/bench-memccpy-ifunc.c: New file.
5597 * benchtests/bench-memccpy.c: New file.
5598 * benchtests/bench-memchr-ifunc.c: New file.
5599 * benchtests/bench-memchr.c: New file.
5600 * benchtests/bench-memcmp-ifunc.c: New file.
5601 * benchtests/bench-memcmp.c: New file.
5602 * benchtests/bench-memmem-ifunc.c: New file.
5603 * benchtests/bench-memmem.c: New file.
5604 * benchtests/bench-memmove-ifunc.c: New file.
5605 * benchtests/bench-memmove.c: New file.
5606 * benchtests/bench-mempcpy-ifunc.c: New file.
5607 * benchtests/bench-mempcpy.c: New file.
5608 * benchtests/bench-memset-ifunc.c: New file.
5609 * benchtests/bench-memset.c: New file.
5610 * benchtests/bench-rawmemchr-ifunc.c: New file.
5611 * benchtests/bench-rawmemchr.c: New file.
5612 * benchtests/bench-stpcpy-ifunc.c: New file.
5613 * benchtests/bench-stpcpy.c: New file.
5614 * benchtests/bench-stpncpy-ifunc.c: New file.
5615 * benchtests/bench-stpncpy.c: New file.
5616 * benchtests/bench-strcasecmp-ifunc.c: New file.
5617 * benchtests/bench-strcasecmp.c: New file.
5618 * benchtests/bench-strcasestr-ifunc.c: New file.
5619 * benchtests/bench-strcasestr.c: New file.
5620 * benchtests/bench-strcat-ifunc.c: New file.
5621 * benchtests/bench-strcat.c: New file.
5622 * benchtests/bench-strchr-ifunc.c: New file.
5623 * benchtests/bench-strchr.c: New file.
5624 * benchtests/bench-strchrnul-ifunc.c: New file.
5625 * benchtests/bench-strchrnul.c: New file.
5626 * benchtests/bench-strcmp-ifunc.c: New file.
5627 * benchtests/bench-strcmp.c: New file.
5628 * benchtests/bench-strcpy-ifunc.c: New file.
5629 * benchtests/bench-strcpy.c: New file.
5630 * benchtests/bench-strcspn-ifunc.c: New file.
5631 * benchtests/bench-strcspn.c: New file.
5632 * benchtests/bench-strlen-ifunc.c: New file.
5633 * benchtests/bench-strlen.c: New file.
5634 * benchtests/bench-strncasecmp-ifunc.c: New file.
5635 * benchtests/bench-strncasecmp.c: New file.
5636 * benchtests/bench-strncat-ifunc.c: New file.
5637 * benchtests/bench-strncat.c: New file.
5638 * benchtests/bench-strncmp-ifunc.c: New file.
5639 * benchtests/bench-strncmp.c: New file.
5640 * benchtests/bench-strncpy-ifunc.c: New file.
5641 * benchtests/bench-strncpy.c: New file.
5642 * benchtests/bench-strnlen-ifunc.c: New file.
5643 * benchtests/bench-strnlen.c: New file.
5644 * benchtests/bench-strpbrk-ifunc.c: New file.
5645 * benchtests/bench-strpbrk.c: New file.
5646 * benchtests/bench-strrchr-ifunc.c: New file.
5647 * benchtests/bench-strrchr.c: New file.
5648 * benchtests/bench-strspn-ifunc.c: New file.
5649 * benchtests/bench-strspn.c: New file.
5650 * benchtests/bench-strstr-ifunc.c: New file.
5651 * benchtests/bench-strstr.c: New file.
5652
c1f75dc3
SP
5653 * benchtests/Makefile: Disable parallel execution of targets.
5654 (string-bench): Add memcpy.
5655 (benchset): New variable to store a list of benchmark sets.
5656 (bench-func): Renamed from bench.
5657 (bench-set): New target.
5658 (bench): Depend on bench-func and bench-set.
5659 * benchtests/README: Add section on benchmark sets.
5660 * benchtests/bench-memcpy-ifunc.c: New file.
5661 * benchtests/bench-memcpy.c: New file.
5662 * benchtests/bench-string.h: New file.
5663
50fd745b
AS
56642013-06-11 Andreas Schwab <schwab@suse.de>
5665
5666 [BZ #15577]
5667 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5668 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5669 values in the triple.
5670 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5671 terminator in the group key.
5672
3ee7e9fe
AJ
56732013-06-11 Andreas Jaeger <aj@suse.de>
5674
5675 * po/zh_TW.po: Update Chinese (traditional) translation from
5676 translation project.
5677
89fb6835
SP
56782013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5679
5680 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5681 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5682 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5683 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5684 (clock_getcpuclockid): Likewise.
5685 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5686 Add weak_alias and libc_hidden_def.
5687 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5688 * rt/clock_gettime.c (clock_gettime): Rename to
5689 __clock_gettime. Add weak_alias and libc_hidden_def.
5690 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5691 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5692 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5693 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5694 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5695 Likewise.
5696 * rt/clock_settime.c (clock_settime): Rename to
5697 __clock_settime. Add weak_alias and libc_hidden_def.
5698 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5699
0efa6f8b
JM
57002013-06-10 Joseph Myers <joseph@codesourcery.com>
5701
b8c61b4b
JM
5702 * mach/err_boot.sub: Remove trailing whitespace.
5703 * mach/err_ipc.sub: Likewise.
5704 * mach/err_mach.sub: Likewise.
5705
0efa6f8b
JM
5706 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5707 (ROUNDING_TESTS_double): Likewise.
5708 (ROUNDING_TESTS_long_double): Likewise.
5709 (ROUNDING_TESTS): Likewise.
5710 * math/libm-test.inc: Include <math-tests.h>.
5711 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5712 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5713 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5714 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5715
50b818bf
SP
57162013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5717
5718 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5719 of assigning.
5720
60d2f8f3
JM
57212013-06-08 Joseph Myers <joseph@codesourcery.com>
5722
4902d2c3
JM
5723 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5724 otherwise empty TRANS lines.
5725 * sysdeps/gnu/errlist.c: Regenerated.
5726
60d2f8f3
JM
5727 * catgets/gencat.c (error_print): Use (void) in function
5728 definition.
5729 * crypt/crypt_util.c (__init_des): Likewise.
5730 * crypt/speeds.c (Stop): Likewise.
5731 (main): Likewise.
5732 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5733 * inet/ruserpass.c (token): Likewise.
5734 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5735 * intl/localealias.c (extend_alias_table): Likewise.
5736 * intl/plural-exp.c (init_germanic_plural): Likewise.
5737 * libio/fcloseall.c (__fcloseall): Likewise.
5738 * libio/genops.c (_IO_flush_all): Likewise.
5739 (_IO_flush_all_linebuffered): Likewise.
5740 (_IO_cleanup): Likewise.
5741 (_IO_iter_begin): Likewise.
5742 (_IO_iter_end): Likewise.
5743 (_IO_list_lock): Likewise.
5744 (_IO_list_unlock): Likewise.
5745 (_IO_list_resetlock): Likewise.
5746 * libio/getchar.c (getchar): Likewise.
5747 * libio/getchar_u.c (getchar_unlocked): Likewise.
5748 * libio/getwchar.c (getwchar): Likewise.
5749 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5750 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5751 * login/getpt.c (__getpt): Likewise.
5752 * login/tst-utmp.c (main): Likewise.
5753 * malloc/hooks.c (__malloc_check_init): Likewise.
5754 * malloc/malloc.c (__malloc_stats): Likewise.
5755 * malloc/mtrace.c (tr_break): Likewise.
5756 (mtrace): Likewise.
5757 (muntrace): Likewise.
5758 * misc/fstab.c (endfsent): Likewise.
5759 * misc/getclktck.c (__getclktck): Likewise.
5760 * misc/getdtsz.c (__getdtablesize): Likewise.
5761 * misc/gethostid.c (gethostid): Likewise.
5762 * misc/getpagesize.c (__getpagesize): Likewise.
5763 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5764 (__get_nprocs): Likewise.
5765 (__get_phys_pages): Likewise.
5766 (__get_avphys_pages): Likewise.
5767 * misc/getttyent.c (getttyent): Likewise.
5768 (setttyent): Likewise.
5769 (endttyent): Likewise.
5770 * misc/getusershell.c (getusershell): Likewise.
5771 (endusershell): Likewise.
5772 (setusershell): Likewise.
5773 (initshells): Likewise.
5774 * misc/hsearch.c (__hdestroy): Likewise.
5775 * misc/sync.c (sync): Likewise.
5776 * misc/syslog.c (closelog_internal): Likewise.
5777 (closelog): Likewise.
5778 * misc/ttyslot.c (ttyslot): Likewise.
5779 * misc/vhangup.c (vhangup): Likewise.
5780 * posix/fork.c (__fork): Likewise.
5781 * posix/getegid.c (__getegid): Likewise.
5782 * posix/geteuid.c (__geteuid): Likewise.
5783 * posix/getgid.c (__getgid): Likewise.
5784 * posix/getpid.c (__getpid): Likewise.
5785 * posix/getppid.c (__getppid): Likewise.
5786 * posix/getuid.c (__getuid): Likewise.
5787 * posix/pause.c (pause): Likewise.
5788 * posix/setpgrp.c (setpgrp): Likewise.
5789 * posix/setsid.c (__setsid): Likewise.
5790 * posix/test-vfork.c (noop): Likewise.
5791 * resolv/gethnamaddr.c (_endhtent): Likewise.
5792 (_gethtent): Likewise.
5793 (ht_endhostent): Likewise.
5794 (gethostent): Likewise.
5795 (dns_service): Likewise.
5796 * stdlib/drand48.c (drand48): Likewise.
5797 * stdlib/lrand48.c (lrand48): Likewise.
5798 * stdlib/mrand48.c (mrand48): Likewise.
5799 * stdlib/rand.c (rand): Likewise.
5800 * stdlib/random.c (__random): Likewise.
5801 * stdlib/setenv.c (clearenv): Likewise.
5802 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5803 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5804 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5805 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5806 (__get_nprocs): Likewise.
5807 (__get_phys_pages): Likewise.
5808 (__get_avphys_pages): Likewise.
5809 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5810 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5811 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5812 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5813 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5814 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5815 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5816 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5817 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5818 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5819 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5820 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5821 * sysdeps/posix/clock.c (clock): Likewise.
5822 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5823 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5824 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5825 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5826 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5827 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5828 (__get_nprocs_conf): Likewise.
5829 (__get_phys_pages): Likewise.
5830 (__get_avphys_pages): Likewise.
5831 * time/clock.c (clock): Likewise.
5832 * time/tzset.c (__tzname_max): Likewise.
5833
2e09a79a
JM
58342013-06-07 Joseph Myers <joseph@codesourcery.com>
5835
5836 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5837 (__bswap_32): Do not use "register".
5838 * crypt/crypt.c (_ufc_doit_r): Likewise.
5839 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5840 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5841 * gmon/gmon.c (__monstartup): Likewise.
5842 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5843 * hurd/hurdmalloc.c (more_memory): Likewise.
5844 (malloc): Likewise.
5845 (free): Likewise.
5846 (realloc): Likewise.
5847 (malloc_fork_prepare): Likewise.
5848 (malloc_fork_parent): Likewise.
5849 (malloc_fork_child): Likewise.
5850 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5851 (_svcauth_des): Likewise.
5852 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5853 * inet/inet_net.c (inet_network): Likewise.
5854 * inet/inet_netof.c (inet_netof): Likewise.
5855 * inet/rcmd.c (__validuser2_sa): Likewise.
5856 * io/fts.c (fts_open): Likewise.
5857 (fts_load): Likewise.
5858 (fts_close): Likewise.
5859 (fts_read): Likewise.
5860 (fts_children): Likewise.
5861 (fts_build): Likewise.
5862 (fts_stat): Likewise.
5863 (fts_sort): Likewise.
5864 (fts_alloc): Likewise.
5865 (fts_lfree): Likewise.
5866 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5867 (_IO_file_xsgetn): Likewise.
5868 (_IO_file_xsgetn_mmap): Likewise.
5869 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5870 (_IO_cookie_write): Likewise.
5871 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5872 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5873 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5874 * malloc/obstack.c (_obstack_begin): Likewise.
5875 (_obstack_begin_1): Likewise.
5876 (_obstack_newchunk): Likewise.
5877 (_obstack_allocated_p): Likewise.
5878 (obstack_free): Likewise.
5879 (_obstack_memory_used): Likewise.
5880 * misc/getttyent.c (getttynam): Likewise.
5881 (getttyent): Likewise.
5882 (skip): Likewise.
5883 (value): Likewise.
5884 * misc/getusershell.c (initshells): Likewise.
5885 * misc/syslog.c (__vsyslog_chk): Likewise.
5886 * misc/ttyslot.c (ttyslot): Likewise.
5887 * nis/nis_hash.c (__nis_hash): Likewise.
5888 * posix/fnmatch_loop.c (FCT): Likewise.
5889 * posix/getconf.c (print_all): Likewise.
5890 (main): Likewise.
5891 * posix/getopt.c (exchange): Likewise.
5892 * posix/glob.c (globfree): Likewise.
5893 (prefix_array): Likewise.
5894 (__glob_pattern_type): Likewise.
5895 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5896 (NS_GET32): Likewise.
5897 (NS_PUT16): Likewise.
5898 (NS_PUT32): Likewise.
5899 * resolv/gethnamaddr.c (getanswer): Likewise.
5900 (gethostbyname2): Likewise.
5901 (gethostbyaddr): Likewise.
5902 (_gethtent): Likewise.
5903 (_gethtbyname2): Likewise.
5904 (_gethtbyaddr): Likewise.
5905 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5906 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5907 * resolv/res_init.c (__res_vinit): Likewise.
5908 (net_mask): Likewise.
5909 * resolv/res_mkquery.c (outchar): Likewise.
5910 (PRINT): Likewise.
5911 * stdio-common/printf_fp.c (outchar): Likewise.
5912 (PRINT): Likewise.
5913 * stdio-common/printf_fphex.c (outchar): Likewise.
5914 (PRINT): Likewise.
5915 * stdio-common/printf_size.c (outchar): Likewise.
5916 (PRINT): Likewise.
5917 * stdio-common/test_rdwr.c (main): Likewise.
5918 * stdio-common/tfformat.c (matches): Likewise.
5919 * stdio-common/vfprintf.c (outchar): Likewise.
5920 (printf_unknown): Likewise.
5921 (buffered_vfprintf): Likewise.
5922 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5923 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5924 (ReadFile): Likewise.
5925 * stdlib/qsort.c (SWAP): Likewise.
5926 (_quicksort): Likewise.
5927 * stdlib/setenv.c (__add_to_environ): Likewise.
5928 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5929 * stdlib/strtol_l.c (__strtol_l): Likewise.
5930 * stdlib/tst-strtod.c (main): Likewise.
5931 * stdlib/tst-strtol.c (main): Likewise.
5932 * stdlib/tst-strtoll.c (main): Likewise.
5933 * string/bits/string2.h (__strcmp_cc): Likewise.
5934 (__strcmp_cg): Likewise.
5935 (__strcspn_c1): Likewise.
5936 (__strcspn_c2): Likewise.
5937 (__strcspn_c3): Likewise.
5938 (__strspn_c1): Likewise.
5939 (__strspn_c2): Likewise.
5940 (__strspn_c3): Likewise.
5941 (__strsep_1c): Likewise.
5942 (__strsep_2c): Likewise.
5943 (__strsep_3c): Likewise.
5944 * string/memccpy.c (__memccpy): Likewise.
5945 * string/stpcpy.c (__stpcpy): Likewise.
5946 * string/strcmp.c (strcmp): Likewise.
5947 * string/strrchr.c (strrchr): Likewise.
5948 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5949 Likewise.
5950 * sysdeps/mach/hurd/getcwd.c
5951 (_hurd_canonicalize_directory_name_internal): Likewise.
5952 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5953 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5954 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5955 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5956 Likewise, in both definitions.
5957 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5958 definitions.
5959 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5960 64] (__bswap_64): Likewise.
5961 * time/test_time.c (main): Likewise.
5962 * time/tzfile.c (__tzfile_read): Likewise.
5963 (__tzfile_compute): Likewise.
5964 * time/tzset.c (__tzset_parse_tz): Likewise.
5965 (tzset_internal): Likewise.
5966 (compute_change): Likewise.
5967 * wcsmbs/wcscat.c (__wcscat): Likewise.
5968 * wcsmbs/wcschr.c (wcschr): Likewise.
5969 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5970 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5971 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5972 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5973 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5974 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5975 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5976 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5977 * wcsmbs/wmemset.c (wmemset): Likewise.
5978
9e54314b
JM
59792013-06-06 Joseph Myers <joseph@codesourcery.com>
5980
5981 * scripts/config.guess: Update to version 2013-05-16.
5982 * scripts/config.sub: Update to version 2013-04-24.
5983 * scripts/install-sh: Update to version 2011-11-20.07.
5984 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5985 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5986
350635a5
OB
59872013-06-06 Ondřej Bílka <neleai@seznam.cz>
5988
5989 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5990 * elf/sln.c: Likewise.
5991 * hurd/hurd/ioctl.h: Likewise.
5992 * hurd/hurdmalloc.c: Likewise.
5993 * hurd/xattr.c: Likewise.
5994 * include/shlib-compat.h: Likewise.
5995 * inet/ruserpass.c: Likewise.
5996 * libio/iofgets_u.c: Likewise.
5997 * libio/iofgetws_u.c: Likewise.
5998 * locale/programs/ld-identification.c: Likewise.
5999 * locale/programs/ld-time.c: Likewise.
6000 * mach/msg-destroy.c: Likewise.
6001 * nss/nss_files/files-netgrp.c: Likewise.
6002 * resolv/res_data.c: Likewise.
6003 * soft-fp/op-1.h: Likewise.
6004 * soft-fp/op-2.h: Likewise.
6005 * soft-fp/op-4.h: Likewise.
6006 * soft-fp/op-common.h: Likewise.
6007 * stdio-common/printf_fphex.c: Likewise.
6008 * stdlib/strtod_l.c: Likewise.
6009 * sunrpc/rpc/clnt.h: Likewise.
6010 * sysdeps/generic/framestate.c: Likewise.
6011 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6012 * sysdeps/i386/bsd-setjmp.S: Likewise.
6013 * sysdeps/i386/__longjmp.S: Likewise.
6014 * sysdeps/i386/setjmp.S: Likewise.
6015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6016 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6017 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6018 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6019 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6020 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6021 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6022 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6023 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6024 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6025 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6026 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6027 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6028 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6029 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6030 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6032 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6033 * sysdeps/ieee754/support.c: Likewise.
6034 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6035 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6036 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6037 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6038 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6039 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6040 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6041 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6042 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6043 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6044 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6045 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6046 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6047 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6048 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6049 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6050 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6052
44a988af
OB
60532013-06-05 Ondřej Bílka <neleai@seznam.cz>
6054
25506f09 6055 * posix/transbug.c: Remove executable mode.
44a988af 6056
9c84384c
JM
60572013-06-05 Joseph Myers <joseph@codesourcery.com>
6058
6059 * crypt/speeds.c: Remove trailing whitespace.
6060 * dlfcn/default.c: Likewise.
6061 * elf/ifuncdep2.c: Likewise.
6062 * elf/ifuncmain1.c: Likewise.
6063 * elf/ifuncmain1vis.c: Likewise.
6064 * elf/testobj.h: Likewise.
6065 * elf/tst-stackguard1.c: Likewise.
6066 * gmon/sys/gmon.h: Likewise.
6067 * hurd/hurdmsg.c: Likewise.
6068 * hurd/new-fd.c: Likewise.
6069 * hurd/ports-get.c: Likewise.
6070 * iconvdata/ibm1008_420.c: Likewise.
6071 * inet/tst-getni1.c: Likewise.
6072 * inet/tst-getni2.c: Likewise.
6073 * libio/ioungetc.c: Likewise.
6074 * libio/wfiledoalloc.c: Likewise.
6075 * manual/libm-err-tab.pl: Likewise.
6076 * math/w_dremf.c: Likewise.
6077 * misc/ftruncate.c: Likewise.
6078 * posix/bug-glob2.c: Likewise.
6079 * posix/tst-pcre.c: Likewise.
6080 * posix/wait4.c: Likewise.
6081 * resolv/README: Likewise.
6082 * resolv/res_debug.h: Likewise.
6083 * resolv/tst-inet_ntop.c: Likewise.
6084 * setjmp/bug269-setjmp.c: Likewise.
6085 * soft-fp/extended.h: Likewise.
6086 * soft-fp/op-1.h: Likewise.
6087 * soft-fp/op-2.h: Likewise.
6088 * soft-fp/op-4.h: Likewise.
6089 * soft-fp/op-8.h: Likewise.
6090 * soft-fp/testit.c: Likewise.
6091 * stdio-common/bug16.c: Likewise.
6092 * stdlib/random.c: Likewise.
6093 * sunrpc/rpcsvc/rquota.x: Likewise.
6094 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6095 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6096 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6097 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6098 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6099 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6100 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6101 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6102 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6103 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6104 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6110 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6111 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6112 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6121 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6123 * sysdeps/ieee754/s_lib_version.c: Likewise.
6124 * sysdeps/mach/hurd/check_fds.c: Likewise.
6125 * sysdeps/mach/hurd/getsockname.c: Likewise.
6126 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6127 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6128 * sysdeps/powerpc/bits/link.h: Likewise.
6129 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6130 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6131 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6132 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6133 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6134 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6135 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6136 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6137 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6138 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6139 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6140 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6141 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6142 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6143 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6144 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6145 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6146 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6147 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6148 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6149 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6150 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6151 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6152 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6153 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6154 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6155 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6156 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6157 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6158 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6159 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6160 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6161 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6162 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6163 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6164 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6165 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6166 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6167 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6168 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6169 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6170 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6171 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6172 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6173 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6174 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6175 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6176 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6177 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6178 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6179 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6181 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6182 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6183 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6184 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6185 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6186 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6187 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6188 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6189 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6190 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6191 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6192 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6193 * sysdeps/powerpc/sysdep.h: Likewise.
6194 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6195 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6196 * sysdeps/sh/dl-trampoline.S: Likewise.
6197 * sysdeps/sh/memset.S: Likewise.
6198 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6199 * sysdeps/sh/strlen.S: Likewise.
6200 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6201 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6202 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6203 * sysdeps/sparc/sparc32/rem.S: Likewise.
6204 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6205 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6206 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6207 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6208 * sysdeps/sparc/sparc32/urem.S: Likewise.
6209 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6210 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6211 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6212 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6213 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6214 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6215 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6216 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6217 * sysdeps/unix/bsd/times.c: Likewise.
6218 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6219 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6223 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6224 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6225 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6226 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6227 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6228 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6229 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6230 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6231 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6232 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6233 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6234 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6235 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6236 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6237 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6238 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6239 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6240 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6241 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6242 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6243 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6244 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6245 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6246 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6247 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6248 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6249 * sysdeps/x86_64/strcspn.S: Likewise.
6250
869378a5
RA
62512013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6252
6253 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6254 generated file. Regenerate properly from gen-translit.pl.
6255 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6256 locale/C-translit.h.
6257
840e2943
AS
62582013-06-05 Andreas Schwab <schwab@suse.de>
6259
6260 [BZ #15100]
6261 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6262 week as 6 instead of -1.
6263 * time/tst-strptime.c (day_tests): Add test case.
6264
4c60cb0c
SP
62652013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6266
6267 * sysdeps/generic/math_private.h
6268 (libc_feholdexcept_setround_53bit): Replace with
6269 libc_feholdsetround_53bit.
6270 (libc_feupdateenv_53bit): Replace with
6271 libc_feresetround_53bit.
6272 (SET_RESTORE_ROUND_53BIT): Adjust.
6273
d180203e
SP
62742013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6275
96df079a
SP
6276 * string/test-strchrnul.c: Add copyright header.
6277
d180203e
SP
6278 * posix/tst-getaddrinfo4.c: Increase test timeout.
6279
8b0ccb2d
CD
62802013-06-03 Carlos O'Donell <carlos@redhat.com>
6281
6282 [BZ #15536]
6283 * math/libm-test.inc (MAX_EXP): Remove
6284 (MIN_EXP): Define.
6285 (ulp): Use MIN_EXP - MANT_DIG.
6286 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6287
3b3c4d40
CD
62882013-05-31 Carlos O'Donell <carlos@redhat.com>
6289
6290 * po/be.po: Revert last change.
6291 * po/zh_CN.po: Likewise.
6292 * po/header.pot: Likewise.
6293
fab7ce3f
JM
62942013-05-31 Joseph Myers <joseph@codesourcery.com>
6295
6296 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6297 link-libc-deps to empty as target-specific variable.
6298 * Makerules (link-libc-args): New variable.
6299 (libc-for-link): Likewise.
6300 (link-libc-deps): Likewise.
6301 (lib%.so): Depend on $(link-libc-deps). Link with
6302 $(link-libc-args).
6303 (build-module): Link with $(link-libc-args).
6304 (build-module-asneeded): Likewise.
6305 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6306 list of objects.
6307 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6308 target-specific variable.
6309 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6310 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6311 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6312 libc.
6313 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6314 libc and ld.so.
6315 ($(objpfx)libpcprofile.so): Likewise.
6316 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6317 libc_nonshared.a.
6318 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6319 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6320 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6321 $(link-libc-deps).
6322 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6323 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6324 * login/Makefile ($(objpfx)libutil.so): Likewise.
6325 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6326 * math/Makefile ($(objpfx)libm.so): Likewise.
6327 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6328 $(objpfx)libnsl.so): Define libc-for-link as target-specific
6329 variable instead of depending directly on libc.
6330 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6331 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6332 $(link-libc-deps).
6333 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6334 libc.
6335 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6336 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6337 ($(objpfx)libanl.so): Likewise.
6338 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6339 ld.so.
6340 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6341 $(link-libc-deps).
6342 * sysdeps/i386/fpu/Makefile: Remove file.
6343 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6344 ($(objpfx)libm.so): Remove dependency on ld.so.
6345
eca5920c
PF
63462013-05-30 Patsy Franklin <pfrankli@redhat.com>
6347
6348 [BZ # 15553]
6349 * nis/yp_xdr.c (XDRMAXNAME): Define.
6350 (XDRMAXRECORD): Define.
6351 (xdr_domainname): Use XDRMAXNAME.
6352 (xdr_mapname): Likewise.
6353 (xdr_peername): Likewise.
6354 (xdr_keydat): Use XDRMAXRECORD.
6355 (xdr_valdat): Likewise.
6356
63572013-05-30 Jeff Law <law@redhat.com>
96945714
JL
6358
6359 [BZ #14256]
6360 * manual/errno.texi (ESTALE): Update to account for more than
6361 just NFS file systems.
6362 * sysdeps/gnu/errlist.c: Regenerated.
6363
b9375348
SP
63642013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6365
6366 [BZ #15465]
6367 * elf/Makefile (tests): Add tst-null-argv.
6368 (modules-names): Add tst-null-argv-lib.
6369 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6370 (tst-null-argv-ENV): Set environment for tst-null-argv.
6371 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6372 (RTLD_PROGNAME): New macro.
6373 * elf/tst-null-argv.c: New test case.
6374 * elf/tst-null-argv-lib.c: Library for test case.
6375 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6376 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6377 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6378 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6379 * elf/dl-init.c (call_init): Likewise.
6380 (_dl_init): Likewise.
6381 * elf/dl-load.c (print_search_path): Likewise.
6382 (_dl_map_object): Likewise.
6383 * elf/dl-lookup.c (do_lookup_x): Likewise.
6384 (add_dependency): Likewise.
6385 (_dl_lookup_symbol_x): Likewise.
6386 (_dl_debug_bindings): Likewise.
6387 * elf/dl-open.c (_dl_show_scope): Likewise.
6388 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6389 * elf/dl-version.c (match_symbol): Likewise.
6390 (_dl_check_map_versions): Likewise.
6391 * elf/rtld.c (dl_main): Likewise.
6392 (print_unresolved): Use RTLD_PROGNAME.
6393 (print_missing_version): Likewise.
6394 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6395 (elf_machine_rela): Likewise.
6396 * sysdeps/powerpc/powerpc32/dl-machine.c
6397 (__process_machine_rela): Likewise.
6398 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6399 Likewise.
6400 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6401 Likewise.
6402 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6403 Likewise.
6404 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6406 Likewise.
6407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6408 Likewise.
6409 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6410
8a9f20c8
CD
64112013-05-28 Carlos O'Donell <carlos@redhat.com>
6412
6413 * po/be.po: Add descriptive title.
6414 * po/zh_CN.po: Likewise.
6415 * po/header.pot: Likewise.
6416
0e60d68e
MF
64172013-05-28 Mike Frysinger <vapier@gentoo.org>
6418
6419 * locale/programs/locarchive.c (create_archive): Inlucde fname in
6420 error message.
6421 (enlarge_archive): Likewise.
6422
56b672e9
BN
64232013-05-28 Ben North <ben@redfrontdoor.org>
6424
6425 * manual/arith.texi (frexp): It is the magnitude of the return
6426 value which lies in [0.5, 1), not the return value itself.
6427
5e056687
AZ
64282013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6429
6430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6431
2b66ef5d
TS
64322013-05-26 Thomas Schwinge <thomas@codesourcery.com>
6433
528c2405
TS
6434 * stdio-common/bug26.c (main): Correct fscanf template.
6435
07b4c13d
TS
6436 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6437 declare _dl_skip_args.
6438
ec9dd97c
TS
6439 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6440 Don't declare.
6441
2b66ef5d
TS
6442 * manual/platform.texi: Add missing @end deftypefun.
6443
4f8dfe27
JM
64442013-05-24 Joseph Myers <joseph@codesourcery.com>
6445
0323d086
JM
6446 [BZ #15529]
6447 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6448 bit of mantissa of 2^16382.
6449 * math/libm-test.inc (hypot_test_data): Add more tests.
6450
dd4259b9
JM
6451 * math/libm-test.inc: Add drem and pow10 to list of tested
6452 functions.
6453 (pow10_test): New function.
6454 (drem_test): Likewise.
6455 (drem_test_tonearest): Likewise.
6456 (drem_test_towardzero): Likewise.
6457 (drem_test_downward): Likewise.
6458 (drem_test_upward): Likewise.
6459 (main): Call the new functions.
6460
4f8dfe27
JM
6461 * math/libm-test.inc (finite_test_data): Remove.
6462 (finite_test): Run tests from isfinite_test_data.
6463 (gamma_test_data): Remove.
6464 (gamma_test): Run tests from lgamma_test_data.
6465 * sysdeps/i386/fpu/libm-test-ulps: Update.
6466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6467
d116b7c4
AZ
64682013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6469
6470 * manual/platform.texi: Add PowerPC PPR function set documentation.
6471 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6472 implementation.
6473
e96e3767
CD
64742013-05-24 Carlos O'Donell <carlos@redhat.com>
6475
6476 * math/libm-test.inc (MAX_EXP): Define.
6477 (ULPDIFF): Define.
6478 (ulp): New function.
6479 (check_float_internal): Use ULPDIFF.
6480 (cpow_test): Disable failing test.
6481 (check_ulp): Test ulp() implemetnation.
6482 (main): Call check_ulp before starting tests.
6483
b679a606
JM
64842013-05-24 Joseph Myers <joseph@codesourcery.com>
6485
e8bdba36
JM
6486 * math/gen-libm-test.pl (generate_testfile): Do not handle
6487 START_DATA and END_DATA.
6488 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6489 END_DATA.
6490 (acos_tonearest_test_data): Likewise.
6491 (acos_towardzero_test_data): Likewise.
6492 (acos_downward_test_data): Likewise.
6493 (acos_upward_test_data): Likewise.
6494 (acosh_test_data): Likewise.
6495 (asin_test_data): Likewise.
6496 (asin_tonearest_test_data): Likewise.
6497 (asin_towardzero_test_data): Likewise.
6498 (asin_downward_test_data): Likewise.
6499 (asin_upward_test_data): Likewise.
6500 (asinh_test_data): Likewise.
6501 (atan_test_data): Likewise.
6502 (atanh_test_data): Likewise.
6503 (atan2_test_data): Likewise.
6504 (cabs_test_data): Likewise.
6505 (cacos_test_data): Likewise.
6506 (cacosh_test_data): Likewise.
6507 (carg_test_data): Likewise.
6508 (casin_test_data): Likewise.
6509 (casinh_test_data): Likewise.
6510 (catan_test_data): Likewise.
6511 (catanh_test_data): Likewise.
6512 (cbrt_test_data): Likewise.
6513 (ccos_test_data): Likewise.
6514 (ccosh_test_data): Likewise.
6515 (ceil_test_data): Likewise.
6516 (cexp_test_data): Likewise.
6517 (cimag_test_data): Likewise.
6518 (clog_test_data): Likewise.
6519 (clog10_test_data): Likewise.
6520 (conj_test_data): Likewise.
6521 (copysign_test_data): Likewise.
6522 (cos_test_data): Likewise.
6523 (cos_tonearest_test_data): Likewise.
6524 (cos_towardzero_test_data): Likewise.
6525 (cos_downward_test_data): Likewise.
6526 (cos_upward_test_data): Likewise.
6527 (cosh_test_data): Likewise.
6528 (cosh_tonearest_test_data): Likewise.
6529 (cosh_towardzero_test_data): Likewise.
6530 (cosh_downward_test_data): Likewise.
6531 (cosh_upward_test_data): Likewise.
6532 (cpow_test_data): Likewise.
6533 (cproj_test_data): Likewise.
6534 (creal_test_data): Likewise.
6535 (csin_test_data): Likewise.
6536 (csinh_test_data): Likewise.
6537 (csqrt_test_data): Likewise.
6538 (ctan_test_data): Likewise.
6539 (ctan_tonearest_test_data): Likewise.
6540 (ctan_towardzero_test_data): Likewise.
6541 (ctan_downward_test_data): Likewise.
6542 (ctan_upward_test_data): Likewise.
6543 (ctanh_test_data): Likewise.
6544 (ctanh_tonearest_test_data): Likewise.
6545 (ctanh_towardzero_test_data): Likewise.
6546 (ctanh_downward_test_data): Likewise.
6547 (ctanh_upward_test_data): Likewise.
6548 (erf_test_data): Likewise.
6549 (erfc_test_data): Likewise.
6550 (exp_test_data): Likewise.
6551 (exp_tonearest_test_data): Likewise.
6552 (exp_towardzero_test_data): Likewise.
6553 (exp_downward_test_data): Likewise.
6554 (exp_upward_test_data): Likewise.
6555 (exp10_test_data): Likewise.
6556 (exp2_test_data): Likewise.
6557 (expm1_test_data): Likewise.
6558 (fabs_test_data): Likewise.
6559 (fdim_test_data): Likewise.
6560 (finite_test_data): Likewise.
6561 (floor_test_data): Likewise.
6562 (fma_test_data): Likewise.
6563 (fma_towardzero_test_data): Likewise.
6564 (fma_downward_test_data): Likewise.
6565 (fma_upward_test_data): Likewise.
6566 (fmax_test_data): Likewise.
6567 (fmin_test_data): Likewise.
6568 (fmod_test_data): Likewise.
6569 (fpclassify_test_data): Likewise.
6570 (frexp_test_data): Likewise.
6571 (gamma_test_data): Likewise.
6572 (hypot_test_data): Likewise.
6573 (ilogb_test_data): Likewise.
6574 (isfinite_test_data): Likewise.
6575 (isgreater_test_data): Likewise.
6576 (isgreaterequal_test_data): Likewise.
6577 (isinf_test_data): Likewise.
6578 (isless_test_data): Likewise.
6579 (islessequal_test_data): Likewise.
6580 (islessgreater_test_data): Likewise.
6581 (isnan_test_data): Likewise.
6582 (isnormal_test_data): Likewise.
6583 (issignaling_test_data): Likewise.
6584 (isunordered_test_data): Likewise.
6585 (j0_test_data): Likewise.
6586 (j1_test_data): Likewise.
6587 (jn_test_data): Likewise.
6588 (ldexp_test_data): Likewise.
6589 (lgamma_test_data): Likewise.
6590 (lrint_test_data): Likewise.
6591 (lrint_tonearest_test_data): Likewise.
6592 (lrint_towardzero_test_data): Likewise.
6593 (lrint_downward_test_data): Likewise.
6594 (lrint_upward_test_data): Likewise.
6595 (llrint_test_data): Likewise.
6596 (llrint_tonearest_test_data): Likewise.
6597 (llrint_towardzero_test_data): Likewise.
6598 (llrint_downward_test_data): Likewise.
6599 (llrint_upward_test_data): Likewise.
6600 (log_test_data): Likewise.
6601 (log10_test_data): Likewise.
6602 (log1p_test_data): Likewise.
6603 (log2_test_data): Likewise.
6604 (logb_test_data): Likewise.
6605 (logb_downward_test_data): Likewise.
6606 (lround_test_data): Likewise.
6607 (llround_test_data): Likewise.
6608 (modf_test_data): Likewise.
6609 (nearbyint_test_data): Likewise.
6610 (nextafter_test_data): Likewise.
6611 (nexttoward_test_data): Likewise.
6612 (pow_test_data): Likewise.
6613 (pow_tonearest_test_data): Likewise.
6614 (pow_towardzero_test_data): Likewise.
6615 (pow_downward_test_data): Likewise.
6616 (pow_upward_test_data): Likewise.
6617 (remainder_test_data): Likewise.
6618 (remainder_tonearest_test_data): Likewise.
6619 (remainder_towardzero_test_data): Likewise.
6620 (remainder_downward_test_data): Likewise.
6621 (remainder_upward_test_data): Likewise.
6622 (remquo_test_data): Likewise.
6623 (rint_test_data): Likewise.
6624 (rint_tonearest_test_data): Likewise.
6625 (rint_towardzero_test_data): Likewise.
6626 (rint_downward_test_data): Likewise.
6627 (rint_upward_test_data): Likewise.
6628 (round_test_data): Likewise.
6629 (scalb_test_data): Likewise.
6630 (scalbn_test_data): Likewise.
6631 (scalbln_test_data): Likewise.
6632 (signbit_test_data): Likewise.
6633 (sin_test_data): Likewise.
6634 (sin_tonearest_test_data): Likewise.
6635 (sin_towardzero_test_data): Likewise.
6636 (sin_downward_test_data): Likewise.
6637 (sin_upward_test_data): Likewise.
6638 (sincos_test_data): Likewise.
6639 (sinh_test_data): Likewise.
6640 (sinh_tonearest_test_data): Likewise.
6641 (sinh_towardzero_test_data): Likewise.
6642 (sinh_downward_test_data): Likewise.
6643 (sinh_upward_test_data): Likewise.
6644 (sqrt_test_data): Likewise.
6645 (tan_test_data): Likewise.
6646 (tan_tonearest_test_data): Likewise.
6647 (tan_towardzero_test_data): Likewise.
6648 (tan_downward_test_data): Likewise.
6649 (tan_upward_test_data): Likewise.
6650 (tanh_test_data): Likewise.
6651 (tgamma_test_data): Likewise.
6652 (trunc_test_data): Likewise.
6653 (y0_test_data): Likewise.
6654 (y1_test_data): Likewise.
6655 (yn_test_data): Likewise.
6656 (significand_test_data): Likewise.
6657
b679a606
JM
6658 * math/gen-libm-test.pl (@functions): Remove variable.
6659 (generate_testfile): Don't handle START and END lines.
6660 * math/libm-test.inc (START): New macro.
6661 (END): Likewise.
6662 (END_COMPLEX): Likewise.
6663 (acos_test): Use END macro without arguments.
6664 (acos_test_tonearest): Likewise.
6665 (acos_test_towardzero): Likewise.
6666 (acos_test_downward): Likewise.
6667 (acos_test_upward): Likewise.
6668 (acosh_test): Likewise.
6669 (asin_test): Likewise.
6670 (asin_test_tonearest): Likewise.
6671 (asin_test_towardzero): Likewise.
6672 (asin_test_downward): Likewise.
6673 (asin_test_upward): Likewise.
6674 (asinh_test): Likewise.
6675 (atan_test): Likewise.
6676 (atanh_test): Likewise.
6677 (atan2_test): Likewise.
6678 (cabs_test): Likewise.
6679 (cacos_test): Use END_COMPLEX macro without arguments.
6680 (cacosh_test): Likewise.
6681 (carg_test): Use END macro without arguments.
6682 (casin_test): Use END_COMPLEX macro without arguments.
6683 (casinh_test): Likewise.
6684 (catan_test): Likewise.
6685 (catanh_test): Likewise.
6686 (cbrt_test): Use END macro without arguments.
6687 (ccos_test): Use END_COMPLEX macro without arguments.
6688 (ccosh_test): Likewise.
6689 (ceil_test): Use END macro without arguments.
6690 (cexp_test): Use END_COMPLEX macro without arguments.
6691 (cimag_test): Use END macro without arguments.
6692 (clog_test): Use END_COMPLEX macro without arguments.
6693 (clog10_test): Likewise.
6694 (conj_test): Likewise.
6695 (copysign_test): Use END macro without arguments.
6696 (cos_test): Likewise.
6697 (cos_test_tonearest): Likewise.
6698 (cos_test_towardzero): Likewise.
6699 (cos_test_downward): Likewise.
6700 (cos_test_upward): Likewise.
6701 (cosh_test): Likewise.
6702 (cosh_test_tonearest): Likewise.
6703 (cosh_test_towardzero): Likewise.
6704 (cosh_test_downward): Likewise.
6705 (cosh_test_upward): Likewise.
6706 (cpow_test): Use END_COMPLEX macro without arguments.
6707 (cproj_test): Likewise.
6708 (creal_test): Use END macro without arguments.
6709 (csin_test): Use END_COMPLEX macro without arguments.
6710 (csinh_test): Likewise.
6711 (csqrt_test): Likewise.
6712 (ctan_test): Likewise.
6713 (ctan_test_tonearest): Likewise.
6714 (ctan_test_towardzero): Likewise.
6715 (ctan_test_downward): Likewise.
6716 (ctan_test_upward): Likewise.
6717 (ctanh_test): Likewise.
6718 (ctanh_test_tonearest): Likewise.
6719 (ctanh_test_towardzero): Likewise.
6720 (ctanh_test_downward): Likewise.
6721 (ctanh_test_upward): Likewise.
6722 (erf_test): Use END macro without arguments.
6723 (erfc_test): Likewise.
6724 (exp_test): Likewise.
6725 (exp_test_tonearest): Likewise.
6726 (exp_test_towardzero): Likewise.
6727 (exp_test_downward): Likewise.
6728 (exp_test_upward): Likewise.
6729 (exp10_test): Likewise.
6730 (exp2_test): Likewise.
6731 (expm1_test): Likewise.
6732 (fabs_test): Likewise.
6733 (fdim_test): Likewise.
6734 (finite_test): Likewise.
6735 (floor_test): Likewise.
6736 (fma_test): Likewise.
6737 (fma_test_towardzero): Likewise.
6738 (fma_test_downward): Likewise.
6739 (fma_test_upward): Likewise.
6740 (fmax_test): Likewise.
6741 (fmin_test): Likewise.
6742 (fmod_test): Likewise.
6743 (fpclassify_test): Likewise.
6744 (frexp_test): Likewise.
6745 (gamma_test): Likewise.
6746 (hypot_test): Likewise.
6747 (ilogb_test): Likewise.
6748 (isfinite_test): Likewise.
6749 (isgreater_test): Likewise.
6750 (isgreaterequal_test): Likewise.
6751 (isinf_test): Likewise.
6752 (isless_test): Likewise.
6753 (islessequal_test): Likewise.
6754 (islessgreater_test): Likewise.
6755 (isnan_test): Likewise.
6756 (isnormal_test): Likewise.
6757 (issignaling_test): Likewise.
6758 (isunordered_test): Likewise.
6759 (j0_test): Likewise.
6760 (j1_test): Likewise.
6761 (jn_test): Likewise.
6762 (ldexp_test): Likewise.
6763 (lgamma_test): Likewise.
6764 (lrint_test): Likewise.
6765 (lrint_test_tonearest): Likewise.
6766 (lrint_test_towardzero): Likewise.
6767 (lrint_test_downward): Likewise.
6768 (lrint_test_upward): Likewise.
6769 (llrint_test): Likewise.
6770 (llrint_test_tonearest): Likewise.
6771 (llrint_test_towardzero): Likewise.
6772 (llrint_test_downward): Likewise.
6773 (llrint_test_upward): Likewise.
6774 (log_test): Likewise.
6775 (log10_test): Likewise.
6776 (log1p_test): Likewise.
6777 (log2_test): Likewise.
6778 (logb_test): Likewise.
6779 (logb_test_downward): Likewise.
6780 (lround_test): Likewise.
6781 (llround_test): Likewise.
6782 (modf_test): Likewise.
6783 (nearbyint_test): Likewise.
6784 (nextafter_test): Likewise.
6785 (nexttoward_test): Likewise.
6786 (pow_test): Likewise.
6787 (pow_test_tonearest): Likewise.
6788 (pow_test_towardzero): Likewise.
6789 (pow_test_downward): Likewise.
6790 (pow_test_upward): Likewise.
6791 (remainder_test): Likewise.
6792 (remainder_test_tonearest): Likewise.
6793 (remainder_test_towardzero): Likewise.
6794 (remainder_test_downward): Likewise.
6795 (remainder_test_upward): Likewise.
6796 (remquo_test): Likewise.
6797 (rint_test): Likewise.
6798 (rint_test_tonearest): Likewise.
6799 (rint_test_towardzero): Likewise.
6800 (rint_test_downward): Likewise.
6801 (rint_test_upward): Likewise.
6802 (round_test): Likewise.
6803 (scalb_test): Likewise.
6804 (scalbn_test): Likewise.
6805 (scalbln_test): Likewise.
6806 (signbit_test): Likewise.
6807 (sin_test): Likewise.
6808 (sin_test_tonearest): Likewise.
6809 (sin_test_towardzero): Likewise.
6810 (sin_test_downward): Likewise.
6811 (sin_test_upward): Likewise.
6812 (sincos_test): Likewise.
6813 (sinh_test): Likewise.
6814 (sinh_test_tonearest): Likewise.
6815 (sinh_test_towardzero): Likewise.
6816 (sinh_test_downward): Likewise.
6817 (sinh_test_upward): Likewise.
6818 (sqrt_test): Likewise.
6819 (tan_test): Likewise.
6820 (tan_test_tonearest): Likewise.
6821 (tan_test_towardzero): Likewise.
6822 (tan_test_downward): Likewise.
6823 (tan_test_upward): Likewise.
6824 (tanh_test): Likewise.
6825 (tgamma_test): Likewise.
6826 (trunc_test): Likewise.
6827 (y0_test): Likewise.
6828 (y1_test): Likewise.
6829 (yn_test): Likewise.
6830 (significand_test): Likewise.
6831
bae143d2
OB
68322013-05-24 Ondřej Bílka <neleai@seznam.cz>
6833
6834 [BZ #15381]
6835 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6836
9323d39b
EM
68372013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6838
d4ea44a0 6839 [BZ #14894]
9323d39b
EM
6840 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6841 __ppc_mdoio and __ppc_mdoom.
6842 * manual/platform.texi: Document new functions __ppc_yield,
6843 __ppc_mdoio and __ppc_mdoom.
6844
13e23af7
CD
68452013-05-22 Carlos O'Donell <carlos@redhat.com>
6846
6847 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6848 (main): Mention "tls" pseudo-hwcap is legacy.
6849 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6850
351fe550
JM
68512013-05-22 Joseph Myers <joseph@codesourcery.com>
6852
6853 * math/gen-libm-test.pl (parse_args): Output only string of
6854 arguments as text for test name, not full call or descriptions of
6855 tests for extra outputs.
6856 (generate_testfile): Do not pass function name to parse_args.
6857 Generate this_func variable from START.
6858 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6859 field to arg_str.
6860 (struct test_ff_f_data): Likewise.
6861 (test_ff_f_data_nexttoward): Likewise.
6862 (struct test_fi_f_data): Likewise.
6863 (struct test_fl_f_data): Likewise.
6864 (struct test_if_f_data): Likewise.
6865 (struct test_fff_f_data): Likewise.
6866 (struct test_c_f_data): Likewise.
6867 (struct test_f_f1_data): Likewise. Remove field extra_name.
6868 (struct test_fF_f1_data): Likewise.
6869 (struct test_ffI_f1_data): Likewise.
6870 (struct test_c_c_data): Rename test_name field to arg_str.
6871 (struct test_cc_c_data): Likewise.
6872 (struct test_f_i_data): Likewise.
6873 (struct test_ff_i_data): Likewise.
6874 (struct test_f_l_data): Likewise.
6875 (struct test_f_L_data): Likewise.
6876 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6877 and extra2_name.
6878 (COMMON_TEST_SETUP): New macro.
6879 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6880 (COMMON_TEST_CLEANUP): Likewise.
6881 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6882 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6883 macros.
6884 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6885 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6886 macros.
6887 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6888 (RUN_TEST_fff_f): Take argument string. Call new setup and
6889 cleanup macros.
6890 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6891 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6892 macros.
6893 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6894 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6895 macros.
6896 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6897 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6898 cleanup macros.
6899 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6900 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6901 cleanup macros.
6902 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6903 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6904 cleanup macros.
6905 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6906 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6907 macros.
6908 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6909 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6910 macros.
6911 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6912 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6913 macros.
6914 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6915 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6916 cleanup macros.
6917 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6918 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6919 cleanup macros.
6920 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6921 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6922 macros.
6923 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6924 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6925 cleanup macros.
6926 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6927 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6928 macros.
6929 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6930 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6931 macros.
6932 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6933 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6934 cleanup macros.
6935 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6936
85118d4d
EBM
69372013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6938
6939 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6940 to _sifields.sigfault.
6941 (si_addr_lsb): Define new macro.
6942 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6944 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6945
7a44c18f
CD
69462013-05-03 Carlos O'Donell <carlos at redhat.com>
6947
6948 [BZ #15441]
6949 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6950 returns -1.
6951 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6952 null return -1.
6953 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6954 loading the domain.
6955
b50a7181
JM
69562013-05-22 Joseph Myers <joseph@codesourcery.com>
6957
6958 * math/gen-libm-test.pl (parse_args): Do not include expected
6959 result in test name.
6960 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6961 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6962 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6963 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6964 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6966
051063c8
SP
69672013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6968
3ce9e010
SP
6969 * benchtests/Makefile: Sort function entries.
6970
051063c8
SP
6971 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6972 tanh, asinh, acosh, atanh.
6973 * benchtests/acos-inputs: New file.
6974 * benchtests/acosh-inputs: New file.
6975 * benchtests/asin-inputs: New file.
6976 * benchtests/asinh-inputs: New file.
6977 * benchtests/atanh-inputs: New file.
6978 * benchtests/cosh-inputs: New file.
6979 * benchtests/log-inputs: New file.
6980 * benchtests/sinh-inputs: New file.
6981 * benchtests/tanh-inputs: New file.
6982
47c22455
DL
69832013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6984
6985 [BZ #15339]
6986 * posix/tst-getaddrinfo4.c: New test.
6987 * posix/Makefile (tests): Add it.
6988
3d04f5db
SP
69892013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6990
6991 [BZ #15339]
6992 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6993 when no services were used.
6994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6995 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6996
d5dd6189
AS
69972013-05-21 Andreas Schwab <schwab@suse.de>
6998
6999 [BZ #15014]
7000 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7001 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7002 successful.
7003 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7004 redundant variable declarations and reallocation of buffer when
7005 parsing as IPv6 address. Always set NSS status when called from
7006 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7007 buffer too small. Correct computation of needed size.
7008 * nss/Makefile (tests): Add test-digits-dots.
7009 * nss/test-digits-dots.c: New test.
7010
fef94eab
SP
70112013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7012
7013 * benchtests/Makefile: Remove instructions for adding
7014 benchmark tests.
7015 * benchtests/README: New file to explain how to execute and
7016 enhance the benchmark tests.
7017
e39adf43
AS
70182013-05-21 Andreas Schwab <schwab@suse.de>
7019
7020 [BZ #15493]
7021 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7022 * setjmp/tst-sigsetjmp.c: New test.
7023
b2b671b6
OB
70242013-05-20 Ondřej Bílka <neleai@seznam.cz>
7025
7026 * sysdeps/x86_64/memset.S (memset): New implementation.
7027 (__bzero): Likewise.
7028 (__memset_tail): New function.
7029
2d48b41c
OB
70302013-05-20 Ondřej Bílka <neleai@seznam.cz>
7031
7032 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7033 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7034 __memcpy_sse2_unaligned ifunc selection.
7035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7036 Add memcpy-sse2-unaligned.S.
7037 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7038 Add: __memcpy_sse2_unaligned.
7039
f16cc3eb
JM
70402013-05-19 Joseph Myers <joseph@codesourcery.com>
7041
3e694268
JM
7042 [BZ #15490]
7043 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7044 math_force_eval before restoring floating-point envrionment.
7045 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7047 Likewise.
7048 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7049 <math_private.h>.
7050 (__nearbyintl): Use math_force_eval before restoring
7051 floating-point environment.
7052 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7053
db62a907
JM
7054 * math/gen-libm-test.pl (special_functions): Remove.
7055 (parse_args): Don't handle TEST_extra. Handle functions with no
7056 return value.
7057 * math/libm-test.inc (struct test_sincos_data): Replace with
7058 struct test_fFF_11_data.
7059 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7060 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7061 (sincos_test_data): Change element type to struct
7062 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7063 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7064 RUN_TEST_LOOP_sincos.
7065 * math/README.libm-test: Don't mention special handling of
7066 individual functions.
7067 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7068 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7069 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7070 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7071 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7073
f16cc3eb
JM
7074 * math/gen-libm-test.pl (get_variable): Remove function.
7075 (parse_args): Don't show pointer parameters to call in test
7076 names. Use "extra output N" in test names for extra outputs
7077 rather than naming variables.
7078
3779b5b6
JM
70792013-05-18 Joseph Myers <joseph@codesourcery.com>
7080
2ee094ff
JM
7081 [BZ #15488]
7082 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7083 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7084 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7085 double tests.
7086 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7087 disable.
7088 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7089 check_long_double.
7090
3779b5b6
JM
7091 * math/gen-libm-test.pl (@tests): Remove variable.
7092 ($count): Likewise.
7093 (new_test): Remove function.
7094 (show_exceptions): New function.
7095 (special_functions): Use show_exceptions instead of new_test.
7096 (parse_args): Likewise.
7097 (generate_testfile): Pass only function name in generated call to
7098 print_max_error or print_complex_max_error.
7099 (get_ulps): Do not handle complex tests specially.
7100 (output_test): Rename to ...
7101 (get_all_ulps_for_test): ... this. Return a string rather than
7102 printing to a file. Require ulps to be present.
7103 (output_ulps): Generate arrays rather than #defines.
7104 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7105 (struct ulp_data): New type.
7106 (BUILD_COMPLEX_ULP): Remove macro.
7107 (compare_ulp_data): New function.
7108 (find_ulps): Likewise.
7109 (find_test_ulps): Likewise.
7110 (find_function_ulps): Likewise.
7111 (find_complex_function_ulps): Likewise.
7112 (print_max_error): Determine allowed ulps using
7113 find_function_ulps.
7114 (print_complex_max_error): Determine allowed ulps using
7115 find_complex_function_ulps.
7116 (check_float_internal): Determine max ulps using find_test_ulps.
7117 (check_float): Do not take max_ulp parameter. Update call to
7118 check_float_internal.
7119 (check_complex): Likewise.
7120 (check_int): Do not take max_ulp parameter.
7121 (check_long): Likewise.
7122 (check_bool): Likewise.
7123 (check_longlong): Likewise.
7124 (struct test_f_f_data): Remove max_ulp field.
7125 (struct test_ff_f_data): Likewise.
7126 (struct test_ff_f_data_nexttoward): Likewise.
7127 (struct test_fi_f_data): Likewise.
7128 (struct test_fl_f_data): Likewise.
7129 (struct test_if_f_data): Likewise.
7130 (struct test_fff_f_data): Likewise.
7131 (struct test_c_f_data): Likewise.
7132 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7133 (struct test_fF_f1_data): Likewise.
7134 (struct test_ffI_f1_data): Likewise.
7135 (struct test_c_c_data): Remove max_ulp field.
7136 (struct test_cc_c_data): Likewise.
7137 (struct test_f_i_data): Likewise.
7138 (struct test_ff_i_data): Likewise.
7139 (struct test_f_l_data): Likewise.
7140 (struct test_f_L_data): Likewise.
7141 (struct test_sincos_data): Likewise.
7142 (RUN_TEST_f_f): Do not handle ulps.
7143 (RUN_TEST_LOOP_f_f): Likewise.
7144 (RUN_TEST_2_f): Likewise.
7145 (RUN_TEST_LOOP_2_f): Likewise.
7146 (RUN_TEST_fff_f): Likewise.
7147 (RUN_TEST_LOOP_fff_f): Likewise.
7148 (RUN_TEST_c_f): Likewise.
7149 (RUN_TEST_LOOP_c_f): Likewise.
7150 (RUN_TEST_f_f1): Likewise.
7151 (RUN_TEST_LOOP_f_f1): Likewise.
7152 (RUN_TEST_fF_f1): Likewise.
7153 (RUN_TEST_LOOP_fF_f1): Likewise.
7154 (RUN_TEST_fI_f1): Likewise.
7155 (RUN_TEST_LOOP_fI_f1): Likewise.
7156 (RUN_TEST_ffI_f1): Likewise.
7157 (RUN_TEST_LOOP_ffI_f1): Likewise.
7158 (RUN_TEST_c_c): Likewise.
7159 (RUN_TEST_LOOP_c_c): Likewise.
7160 (RUN_TEST_cc_c): Likewise.
7161 (RUN_TEST_LOOP_cc_c): Likewise.
7162 (RUN_TEST_f_i): Likewise.
7163 (RUN_TEST_LOOP_f_i): Likewise.
7164 (RUN_TEST_f_i_tg): Likewise.
7165 (RUN_TEST_LOOP_f_i_tg): Likewise.
7166 (RUN_TEST_ff_i_tg): Likewise.
7167 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7168 (RUN_TEST_f_b): Likewise.
7169 (RUN_TEST_LOOP_f_b): Likewise.
7170 (RUN_TEST_f_b_tg): Likewise.
7171 (RUN_TEST_LOOP_f_b_tg): Likewise.
7172 (RUN_TEST_f_l): Likewise.
7173 (RUN_TEST_LOOP_f_l): Likewise.
7174 (RUN_TEST_f_L): Likewise.
7175 (RUN_TEST_LOOP_f_L): Likewise.
7176 (RUN_TEST_sincos): Likewise.
7177 (RUN_TEST_LOOP_sincos): Likewise.
7178
8269107f
JM
71792013-05-17 Joseph Myers <joseph@codesourcery.com>
7180
bb38759d
JM
7181 [BZ #15480]
7182 [BZ #15485]
7183 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7184 main case of finite arguments, set rounding mode to FE_TONEAREST
7185 and discard exceptions.
7186 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7187 exceptions.
7188 (remainder_tonearest_test_data): New variable.
7189 (remainder_test_tonearest): New function.
7190 (remainder_towardzero_test_data): New variable.
7191 (remainder_test_towardzero): New function.
7192 (remainder_downward_test_data): New variable.
7193 (remainder_test_downward): New function.
7194 (remainder_upward_test_data): New variable.
7195 (remainder_test_upward): New function.
7196 (main): Call the new test functions.
7197
a00bdcf0
JM
7198 * math/libm-test.inc (struct test_f_f1_data): Remove field
7199 extra_init.
7200 (struct test_fF_f1_data): Likewise.
7201 (struct test_ffI_f1_data): Likewise.
7202 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7203 based on value of EXTRA_EXPECTED.
7204 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7205 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7206 EXTRA_VAR based on value of EXTRA_EXPECTED.
7207 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7208 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7209 EXTRA_VAR based on value of EXTRA_EXPECTED.
7210 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7211 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7212 EXTRA_VAR based on value of EXTRA_EXPECTED.
7213 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7214 * math/gen-libm-test.pl (parse_args): Don't output initializers
7215 for extra output values.
7216
de407f79
JM
7217 * math/libm-test.inc (check_int): Expect result to be exactly
7218 equal to expected value and do not handle ulps.
7219 (check_long): Likewise.
7220 (check_longlong): Likewise.
7221
8269107f
JM
7222 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7223 exceptions.
7224 (cimag_test_data): Likewise.
7225 (conj_test_data): Likewise.
7226 (copysign_test_data): Likewise.
7227 (cproj_test_data): Likewise.
7228 (creal_test_data): Likewise.
7229 (fabs_test_data): Likewise.
7230 (fdim_test_data): Likewise.
7231 (finite_test_data): Likewise.
7232 (floor_test_data): Likewise.
7233 (fmax_test_data): Likewise.
7234 (fmin_test_data): Likewise.
7235 (fmod_test_data): Likewise.
7236 (fpclassify_test_data): Likewise.
7237 (frexp_test_data): Likewise.
7238 (ilogb_test_data): Likewise.
7239 (isfinite_test_data): Likewise.
7240 (isgreater_test_data): Likewise.
7241 (isgreaterequal_test_data): Likewise.
7242 (isinf_test_data): Likewise.
7243 (isless_test_data): Likewise.
7244 (islessequal_test_data): Likewise.
7245 (islessgreater_test_data): Likewise.
7246 (isnan_test_data): Likewise.
7247 (isnormal_test_data): Likewise.
7248 (issignaling_test_data): Likewise.
7249 (isunordered_test_data): Likewise.
7250 (ldexp_test_data): Likewise.
7251 (lrint_test_data): Likewise.
7252 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7253 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7254 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7255 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7256 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7257 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7258 test input.
7259 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7260 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7261 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7262 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7263 that test input.
7264 (lrint_downward_test_data): Test for "inexact" exceptions.
7265 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7266 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7267 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7268 test input.
7269 (lrint_upward_test_data): Test for "inexact" exceptions.
7270 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7271 test input.
7272 (llrint_test_data): Test for "inexact" exceptions.
7273 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7274 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7275 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7276 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7277 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7278 (llrint_downward_test_data): Test for "inexact" exceptions.
7279 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7280 (llrint_upward_test_data): Test for "inexact" exceptions.
7281 (logb_test_data): Likewise.
7282 (logb_downward_test_data): Likewise.
7283 (nextafter_test_data): Likewise.
7284 (nexttoward_test_data): Likewise.
7285 (remainder_test_data): Likewise.
7286 (remquo_test_data): Likewise.
7287 (scalbn_test_data): Likewise.
7288 (scalbln_test_data): Likewise.
7289 (signbit_test_data): Likewise.
7290 (sqrt_test_data): Likewise.
7291 (significand_test_data): Likewise.
7292
48a18de1
SP
72932013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7294
7295 [BZ #15424]
7296 * benchtests/bench-modf.c (struct args): Mark arg0 as
7297 volatile.
7298 * scripts/bench.pl: Mark members of struct args as volatile.
7299
13d3b41a
AZ
73002013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7301
68191c1d 7302 [BZ # 15497]
13d3b41a
AZ
7303 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7304 negative infinity on POWER6 or lower.
7305 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7306
2848b105
MR
73072013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7308
7309 [BZ #15442]
7310 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7311 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7312 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7313 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7314 (_FP_SETQNAN): New macro.
7315 (_FP_SETQNAN_SEMIRAW): Likewise.
7316 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7317 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7318 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7319 (FP_EXTEND): Use _FP_FRAC_SNANP.
7320 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7321 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7322 into account.
7323 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7324 New macro.
7325 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7326 Likewise.
7327
323e5cb7
JM
73282013-05-16 Joseph Myers <joseph@codesourcery.com>
7329
c58b274f
JM
7330 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7331 with DIVIDE_BY_ZERO_EXCEPTION.
7332 (gamma_test_data): Likewise.
7333 (lgamma_test_data): Likewise.
7334 (log_test_data): Likewise.
7335 (log10_test_data): Likewise.
7336 (log2_test_data): Likewise.
7337 (tgamma_test_data): Likewise.
7338
0ab34904
JM
7339 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7340 (acos_test_tonearest): Likewise.
7341 (acos_test_towardzero): Likewise.
7342 (acos_test_downward): Likewise.
7343 (acos_test_upward): Likewise.
7344 (acosh_test): Likewise.
7345 (asin_test): Likewise.
7346 (asin_test_tonearest): Likewise.
7347 (asin_test_towardzero): Likewise.
7348 (asin_test_downward): Likewise.
7349 (asin_test_upward): Likewise.
7350 (asinh_test): Likewise.
7351 (atan_test): Likewise.
7352 (atanh_test): Likewise.
7353 (atan2_test): Likewise.
7354 (cabs_test): Likewise.
7355 (cacos_test): Likewise.
7356 (cacosh_test): Likewise.
7357 (casin_test): Likewise.
7358 (casinh_test): Likewise.
7359 (catan_test): Likewise.
7360 (catanh_test): Likewise.
7361 (cbrt_test): Likewise.
7362 (ccos_test): Likewise.
7363 (ccosh_test): Likewise.
7364 (cexp_test): Likewise.
7365 (clog_test): Likewise.
7366 (clog10_test): Likewise.
7367 (cos_test): Likewise.
7368 (cos_test_tonearest): Likewise.
7369 (cos_test_towardzero): Likewise.
7370 (cos_test_downward): Likewise.
7371 (cos_test_upward): Likewise.
7372 (cosh_test): Likewise.
7373 (cosh_test_tonearest): Likewise.
7374 (cosh_test_towardzero): Likewise.
7375 (cosh_test_downward): Likewise.
7376 (cosh_test_upward): Likewise.
7377 (cpow_test): Likewise.
7378 (csin_test): Likewise.
7379 (csinh_test): Likewise.
7380 (csqrt_test): Likewise.
7381 (ctan_test): Likewise.
7382 (ctan_test_tonearest): Likewise.
7383 (ctan_test_towardzero): Likewise.
7384 (ctan_test_downward): Likewise.
7385 (ctan_test_upward): Likewise.
7386 (ctanh_test): Likewise.
7387 (ctanh_test_tonearest): Likewise.
7388 (ctanh_test_towardzero): Likewise.
7389 (ctanh_test_downward): Likewise.
7390 (ctanh_test_upward): Likewise.
7391 (erf_test): Likewise.
7392 (erfc_test): Likewise.
7393 (exp_test): Likewise.
7394 (exp_test_tonearest): Likewise.
7395 (exp_test_towardzero): Likewise.
7396 (exp_test_downward): Likewise.
7397 (exp_test_upward): Likewise.
7398 (exp10_test): Likewise.
7399 (exp2_test): Likewise.
7400 (expm1_test): Likewise.
7401 (fmod_test): Likewise.
7402 (gamma_test): Likewise.
7403 (hypot_test): Likewise.
7404 (j0_test): Likewise.
7405 (j1_test): Likewise.
7406 (jn_test): Likewise.
7407 (lgamma_test): Likewise.
7408 (log_test): Likewise.
7409 (log10_test): Likewise.
7410 (log1p_test): Likewise.
7411 (log2_test): Likewise.
7412 (logb_test_downward): Likewise.
7413 (pow_test): Likewise.
7414 (pow_test_tonearest): Likewise.
7415 (pow_test_towardzero): Likewise.
7416 (pow_test_downward): Likewise.
7417 (pow_test_upward): Likewise.
7418 (remainder_test): Likewise.
7419 (remquo_test): Likewise.
7420 (sin_test): Likewise.
7421 (sin_test_tonearest): Likewise.
7422 (sin_test_towardzero): Likewise.
7423 (sin_test_downward): Likewise.
7424 (sin_test_upward): Likewise.
7425 (sincos_test): Likewise.
7426 (sinh_test): Likewise.
7427 (sinh_test_tonearest): Likewise.
7428 (sinh_test_towardzero): Likewise.
7429 (sinh_test_downward): Likewise.
7430 (sinh_test_upward): Likewise.
7431 (sqrt_test): Likewise.
7432 (tan_test): Likewise.
7433 (tan_test_tonearest): Likewise.
7434 (tan_test_towardzero): Likewise.
7435 (tan_test_downward): Likewise.
7436 (tan_test_upward): Likewise.
7437 (tanh_test): Likewise.
7438 (tgamma_test): Likewise.
7439 (y0_test): Likewise.
7440 (y1_test): Likewise.
7441 (yn_test): Likewise.
7442
323e5cb7
JM
7443 * math/gen-libm-test.pl (adjust_arg): Remove function.
7444 (special_function): Remove argument $in_func. Only handle
7445 generating output for tables of tests, not inside functions.
7446 (parse_args): Likewise.
7447 (generate_testfile): Remove variable $in_func. Update call to
7448 parse_args.
7449 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7450 (MINUS_ZERO_INIT): Rename macro to minus_zero.
7451 (PLUS_INFTY_INIT): Rename macro to plus_infty.
7452 (MINUS_INFTY_INIT): Rename macro to minus_infty.
7453 (QNAN_VALUE_INIT): Rename macro to qnan_value.
7454 (MAX_VALUE_INIT): Rename macro to max_value.
7455 (MIN_VALUE_INIT): Rename macro to min_value.
7456 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7457 (plus_zero): Remove variable.
7458 (minus_zero): Likewise.
7459 (plus_infty): Likewise.
7460 (minus_infty): Likewise.
7461 (qnan_value): Likewise.
7462 (max_value): Likewise.
7463 (min_value): Likewise.
7464 (min_subnorm_value): Likewise.
7465
e054f494
RA
74662013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7467
7468 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7469 uint64_t or uint32_t usage.
7470 * crypt/sha256-block.c: Likewise.
7471 * crypt/sha256-crypt.c: Likewise.
7472 * crypt/sha256.c: Likewise.
7473 * crypt/sha512-block.c: Likewise.
7474 * crypt/sha512-crypt.c: Likewise.
7475 * crypt/sha512.c: Likewise.
7476 * debug/backtrace-tst.c: Likewise.
7477 * debug/pcprofiledump.c: Likewise.
7478 * elf/cache.c: Likewise.
7479 * elf/dl-cache.c: Likewise.
7480 * elf/dl-misc.c: Likewise.
7481 * elf/dl-profile.c: Likewise.
7482 * elf/dl-support.c: Likewise.
7483 * elf/ldconfig.c: Likewise.
7484 * elf/sprof.c: Likewise.
7485 * iconv/dummy-repertoire.c: Likewise.
7486 * iconv/iconv_charmap.c: Likewise.
7487 * iconv/skeleton.c: Likewise.
7488 * iconvdata/8bit-generic.c: Likewise.
7489 * iconvdata/cp737.h: Likewise.
7490 * iconvdata/cp775.h: Likewise.
7491 * iconvdata/ibm1008.h: Likewise.
7492 * iconvdata/ibm1025.h: Likewise.
7493 * iconvdata/ibm1046.h: Likewise.
7494 * iconvdata/ibm1097.h: Likewise.
7495 * iconvdata/ibm1112.h: Likewise.
7496 * iconvdata/ibm1122.h: Likewise.
7497 * iconvdata/ibm1123.h: Likewise.
7498 * iconvdata/ibm1124.h: Likewise.
7499 * iconvdata/ibm1129.h: Likewise.
7500 * iconvdata/ibm1130.h: Likewise.
7501 * iconvdata/ibm1132.h: Likewise.
7502 * iconvdata/ibm1133.h: Likewise.
7503 * iconvdata/ibm1137.h: Likewise.
7504 * iconvdata/ibm1140.h: Likewise.
7505 * iconvdata/ibm1141.h: Likewise.
7506 * iconvdata/ibm1142.h: Likewise.
7507 * iconvdata/ibm1143.h: Likewise.
7508 * iconvdata/ibm1144.h: Likewise.
7509 * iconvdata/ibm1145.h: Likewise.
7510 * iconvdata/ibm1146.h: Likewise.
7511 * iconvdata/ibm1147.h: Likewise.
7512 * iconvdata/ibm1148.h: Likewise.
7513 * iconvdata/ibm1149.h: Likewise.
7514 * iconvdata/ibm1153.h: Likewise.
7515 * iconvdata/ibm1154.h: Likewise.
7516 * iconvdata/ibm1155.h: Likewise.
7517 * iconvdata/ibm1156.h: Likewise.
7518 * iconvdata/ibm1157.h: Likewise.
7519 * iconvdata/ibm1158.h: Likewise.
7520 * iconvdata/ibm1160.h: Likewise.
7521 * iconvdata/ibm1161.h: Likewise.
7522 * iconvdata/ibm1162.h: Likewise.
7523 * iconvdata/ibm1163.h: Likewise.
7524 * iconvdata/ibm1164.h: Likewise.
7525 * iconvdata/ibm1166.h: Likewise.
7526 * iconvdata/ibm1167.h: Likewise.
7527 * iconvdata/ibm12712.h: Likewise.
7528 * iconvdata/ibm1390.h: Likewise.
7529 * iconvdata/ibm1399.h: Likewise.
7530 * iconvdata/ibm16804.h: Likewise.
7531 * iconvdata/ibm4517.h: Likewise.
7532 * iconvdata/ibm4899.h: Likewise.
7533 * iconvdata/ibm4909.h: Likewise.
7534 * iconvdata/ibm4971.h: Likewise.
7535 * iconvdata/ibm5347.h: Likewise.
7536 * iconvdata/ibm803.h: Likewise.
7537 * iconvdata/ibm856.h: Likewise.
7538 * iconvdata/ibm901.h: Likewise.
7539 * iconvdata/ibm902.h: Likewise.
7540 * iconvdata/ibm9030.h: Likewise.
7541 * iconvdata/ibm9066.h: Likewise.
7542 * iconvdata/ibm921.h: Likewise.
7543 * iconvdata/ibm922.h: Likewise.
7544 * iconvdata/ibm9448.h: Likewise.
7545 * iconvdata/isiri-3342.h: Likewise.
7546 * iconvdata/jis0201.h: Likewise.
7547 * include/link.h: Likewise.
7548 * include/netdb.h: Likewise.
7549 * inet/check_native.c: Likewise.
7550 * inet/check_pf.c: Likewise.
7551 * inet/getipv4sourcefilter.c: Likewise.
7552 * inet/getnameinfo.c: Likewise.
7553 * inet/getsourcefilter.c: Likewise.
7554 * inet/htonl.c: Likewise.
7555 * inet/setipv4sourcefilter.c: Likewise.
7556 * inet/setsourcefilter.c: Likewise.
7557 * inet/test-inet6_opt.c: Likewise.
7558 * inet/tst-network.c: Likewise.
7559 * locale/C-collate.c: Likewise.
7560 * locale/C-ctype.c: Likewise.
7561 * locale/C-time.c: Likewise.
7562 * locale/C-translit.h: Likewise.
7563 * locale/loadarchive.c: Likewise.
7564 * locale/programs/3level.h: Likewise.
7565 * locale/programs/charmap.c: Likewise.
7566 * locale/programs/charmap.h: Likewise.
7567 * locale/programs/ld-address.c: Likewise.
7568 * locale/programs/ld-collate.c: Likewise.
7569 * locale/programs/ld-ctype.c: Likewise.
7570 * locale/programs/ld-identification.c: Likewise.
7571 * locale/programs/ld-measurement.c: Likewise.
7572 * locale/programs/ld-messages.c: Likewise.
7573 * locale/programs/ld-monetary.c: Likewise.
7574 * locale/programs/ld-name.c: Likewise.
7575 * locale/programs/ld-numeric.c: Likewise.
7576 * locale/programs/ld-paper.c: Likewise.
7577 * locale/programs/ld-telephone.c: Likewise.
7578 * locale/programs/ld-time.c: Likewise.
7579 * locale/programs/linereader.c: Likewise.
7580 * locale/programs/locale.c: Likewise.
7581 * locale/programs/locarchive.c: Likewise.
7582 * locale/programs/locfile.h: Likewise.
7583 * locale/programs/repertoire.c: Likewise.
7584 * locale/programs/simple-hash.c: Likewise.
7585 * locale/programs/simple-hash.h: Likewise.
7586 * malloc/memusage.c: Likewise.
7587 * malloc/memusagestat.c: Likewise.
7588 * nis/nis_defaults.c: Likewise.
7589 * nis/nis_hash.c: Likewise.
7590 * nis/nis_print.c: Likewise.
7591 * nis/nis_xdr.c: Likewise.
7592 * nscd/connections.c: Likewise.
7593 * nscd/hstcache.c: Likewise.
7594 * nscd/nscd_gethst_r.c: Likewise.
7595 * nscd/nscd_getserv_r.c: Likewise.
7596 * nscd/nscd_helper.c: Likewise.
7597 * nscd/servicescache.c: Likewise.
7598 * nss/makedb.c: Likewise.
7599 * nss/nss_db/db-XXX.c: Likewise.
7600 * nss/nss_db/db-initgroups.c: Likewise.
7601 * nss/nss_db/db-netgrp.c: Likewise.
7602 * nss/nss_files/files-network.c: Likewise.
7603 * nss/nss_files/files-parse.c: Likewise.
7604 * posix/bug-regex5.c: Likewise.
7605 * posix/fnmatch_loop.c: Likewise.
7606 * posix/regcomp.c: Likewise.
7607 * posix/regexec.c: Likewise.
7608 * posix/tst-rfc3484-2.c: Likewise.
7609 * posix/tst-rfc3484-3.c: Likewise.
7610 * posix/tst-rfc3484.c: Likewise.
7611 * resolv/nss_dns/dns-canon.c: Likewise.
7612 * resolv/nss_dns/dns-network.c: Likewise.
7613 * resolv/res_init.c: Likewise.
7614 * resolv/res_mkquery.c: Likewise.
7615 * resolv/tst-aton.c: Likewise.
7616 * stdlib/cxa_atexit.c: Likewise.
7617 * stdlib/cxa_finalize.c: Likewise.
7618 * stdlib/gen-fpioconst.c: Likewise.
7619 * stdlib/strtol_l.c: Likewise.
7620 * string/tst-endian.c: Likewise.
7621 * sunrpc/auth_des.c: Likewise.
7622 * sunrpc/clnt_udp.c: Likewise.
7623 * sunrpc/rtime.c: Likewise.
7624 * sunrpc/svcauth_des.c: Likewise.
7625 * sunrpc/xdr.c: Likewise.
7626 * sunrpc/xdr_intXX_t.c: Likewise.
7627 * sunrpc/xdr_rec.c: Likewise.
7628 * sysdeps/generic/ldconfig.h: Likewise.
7629 * sysdeps/generic/ldsodefs.h: Likewise.
7630 * sysdeps/generic/memusage.h: Likewise.
7631 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7632 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7633 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7634 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7635 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7636 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7637 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7638 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7639 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7640 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7641 * sysdeps/posix/getaddrinfo.c: Likewise.
7642 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7643 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7644 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7645 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7646 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7647 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7648 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7649 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7650 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7651 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7652 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7653 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7654 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7655 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7656 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7657 * sysdeps/x86_64/dl-tls.h: Likewise.
7658 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7659 * time/alt_digit.c: Likewise.
7660 * time/era.c: Likewise.
7661 * wcsmbs/tst-c16c32-1.c: Likewise.
7662
8c75f674
JM
76632013-05-16 Joseph Myers <joseph@codesourcery.com>
7664
7665 * math/libm-test.inc (struct test_sincos_data): New type.
7666 (RUN_TEST_LOOP_sincos): New macro.
7667 (sincos_test_data): New variable.
7668 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7669
e6e49e59
RH
76702013-05-16 Richard Henderson <rth@redhat.com>
7671
7672 * math/atest-exp2.c (LIMB64): New macro.
7673 (CONSTSZ): New macro.
7674 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7675 (hexdig): Move ...
7676 (print_mpn_fp): ... to function scope.
7677 (read_mpn_hex): Remove.
7678 (get_log2): Remove.
7679 (exp2_mpn): Use mp_log2.
7680 (main): Use mp_exp1.
7681
15c7c18d
JM
76822013-05-16 Joseph Myers <joseph@codesourcery.com>
7683
105a07df
JM
7684 * math/libm-test.inc: Remove comment about not testing "inexact"
7685 exceptions.
7686 (INEXACT_EXCEPTION): New macro.
7687 (NO_INEXACT_EXCEPTION): Likewise.
7688 (INVALID_EXCEPTION_OK): Update value.
7689 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7690 (OVERFLOW_EXCEPTION_OK): Likewise.
7691 (UNDERFLOW_EXCEPTION_OK): Likewise.
7692 (IGNORE_ZERO_INF_SIGN): Likewise.
7693 (ERRNO_UNCHANGED): Likewise.
7694 (ERRNO_EDOM): Likewise.
7695 (ERRNO_ERANGE): Likewise.
7696 (test_exceptions): Handle testing "inexact" exceptions.
7697 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7698 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7699 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7700 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7701 INEXACT_EXCEPTION.
7702 (rint_towardzero_test_data): Likewise.
7703 (rint_downward_test_data): Likewise.
7704 (rint_upward_test_data): Likewise.
7705
e9eee333
JM
7706 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7707 with OVERFLOW_EXCEPTION.
7708 (exp10_test_data): Likewise.
7709 (exp2_test_data): Likewise.
7710 (expm1_test_data): Likewise.
7711 (lgamma_test_data): Likewise.
7712 (pow_test_data): Likewise.
7713 (tgamma_test_data): Likewise.
7714 (yn_test_data): Remove duplicate test of overflow.
7715
1c38ff73
JM
7716 * math/libm-test.inc (struct test_cc_c_data): New type.
7717 (RUN_TEST_LOOP_cc_c): New macro.
7718 (cpow_test_data): New variable.
7719 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7720
15c7c18d
JM
7721 * math/libm-test.inc (struct test_f_L_data): New type.
7722 (RUN_TEST_LOOP_f_L): New macro.
7723 (llrint_test_data): New variable.
7724 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7725 (llrint_tonearest_test_data): New variable.
7726 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7727 (llrint_towardzero_test_data): New variable.
7728 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7729 (llrint_downward_test_data): New variable.
7730 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7731 (llrint_upward_test_data): New variable.
7732 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7733 (llround_test_data): New variable.
7734 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7735
f137ff13
PC
77362013-05-13 Peter Collingbourne <pcc@google.com>
7737
7738 * math/atest-exp2.c (get_log2): Remove const attribute.
7739
3608cb24
JM
77402013-05-15 Joseph Myers <joseph@codesourcery.com>
7741
7742 * math/libm-test.inc (struct test_f_l_data): New type.
7743 (RUN_TEST_LOOP_f_l): New macro.
7744 (lrint_test_data): New variable.
7745 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7746 (lrint_tonearest_test_data): New variable.
7747 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7748 (lrint_towardzero_test_data): New variable.
7749 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7750 (lrint_downward_test_data): New variable.
7751 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7752 (lrint_upward_test_data): New variable.
7753 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7754 (lround_test_data): New variable.
7755 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7756
39b1f617
PC
77572013-05-15 Peter Collingbourne <pcc@google.com>
7758
1deff3dc
PC
7759 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7760 (EXTRACT_WORDS64) Use where appropriate.
7761 (INSERT_WORDS64) Likewise.
7762
791f3ba0
PC
7763 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7764 constraints with x constraints.
7765 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7766
39b1f617
PC
7767 * malloc/obstack.c (_obstack_compat): Add initializer.
7768
12fba011
EM
77692013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7770
7771 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7772 si_trapno and add si_addr_lsb to _sifields.sigfault.
7773 (si_trapno): Remove macro.
7774 (si_addr_lsb): Define new macro.
7775 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7776
d369f531
JM
77772013-05-15 Joseph Myers <joseph@codesourcery.com>
7778
b861c6c4
JM
7779 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7780 instead of TEST_f_l.
7781 (llrint_test_tonearest): Likewise.
7782 (llrint_test_towardzero): Likewise.
7783 (llrint_test_downward): Likewise.
7784 (llrint_test_upward): Likewise.
7785 (llround_test): Likewise.
7786
7abeee12
JM
7787 * math/libm-test.inc (struct test_f_i_data): Add comment.
7788 (RUN_TEST_LOOP_f_b): New macro.
7789 (RUN_TEST_LOOP_f_b_tg): Likewise.
7790 (finite_test_data): New variable.
7791 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7792 (isfinite_test_data): New variable.
7793 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7794 (isinf_test_data): New variable.
7795 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7796 (isnan_test_data): New variable.
7797 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7798 (isnormal_test_data): New variable.
7799 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7800 (issignaling_test_data): New variable.
7801 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7802 (signbit_test_data): New variable.
7803 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7804
cbe8c4d3
JM
7805 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7806 with INVALID_EXCEPTION.
7807 (acosh_test_data): Likewise.
7808 (asin_test_data): Likewise.
7809 (atanh_test_data): Likewise.
7810 (fmod_test_data): Likewise.
7811 (log_test_data): Likewise.
7812 (log10_test_data): Likewise.
7813 (log2_test_data): Likewise.
7814 (pow_test_data): Likewise.
7815 (sqrt_test_data): Likewise.
7816 (y0_test_data): Likewise.
7817 (y1_test_data): Likewise.
7818 (yn_test_data): Likewise.
7819
5575c0e5
JM
7820 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7821 function contents.
7822
d369f531
JM
7823 * math/libm-test.inc (struct test_ff_i_data): New type.
7824 (RUN_TEST_LOOP_ff_i_tg): New macro.
7825 (isgreater_test_data): New variable.
7826 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7827 (isgreaterequal_test_data): New variable.
7828 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7829 (isless_test_data): New variable.
7830 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7831 (islessequal_test_data): New variable.
7832 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7833 (islessgreater_test_data): New variable.
7834 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7835 (isunordered_test_data): New variable.
7836 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7837
781fd748
DM
78382013-05-14 David S. Miller <davem@davemloft.net>
7839
7840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7841
87aa21df
JM
78422013-05-14 Joseph Myers <joseph@codesourcery.com>
7843
5e908270
JM
7844 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7845
f71172e5
JM
7846 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7847 extra_test to int.
7848 (struct test_f_i_data): Change type of max_ulp to int.
7849
8cfa635a
JM
7850 * math/libm-test.inc (test_ffI_f1_data): New type.
7851 (RUN_TEST_LOOP_ffI_f1): New macro.
7852 (remquo_test_data): New variable.
7853 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7854
2bcb36b2
JM
7855 * setjmp/tst-setjmp-fp.c: New file.
7856 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7857 (link-libm): New variable.
7858 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7859
acbd839a
JM
7860 * math/libm-test.inc (struct test_f_i_data): New type.
7861 (RUN_TEST_LOOP_f_i): New macro.
7862 (RUN_TEST_LOOP_f_i_tg): Likewise.
7863 (fpclassify_test_data): New variable.
7864 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7865 (ilogb_test_data): New variable.
7866 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7867
e414d745
JM
7868 * math/libm-test.inc (scalbln_test): Correct function name in END
7869 call.
7870
d9c2a0fd
JM
7871 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7872 (RUN_TEST_LOOP_fI_f1): New macro.
7873 (frexp_test_data): New variable.
7874 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7875
9dc9095d
JM
7876 * math/libm-test.inc (struct test_fF_f1_data): New type.
7877 (RUN_TEST_LOOP_fF_f1): New macro.
7878 (modf_test_data): New variable.
7879 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7880
87aa21df
JM
7881 * math/libm-test.inc (struct test_f_f1_data): New type.
7882 (RUN_TEST_LOOP_f_f1): New macro.
7883 (gamma_test_data): New variable.
7884 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7885 (lgamma_test_data): New variable.
7886 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7887
141af660
CD
78882013-05-13 Carlos O'Donell <carlos@redhat.com>
7889
7890 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7891 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7892 (main): Comment "tls" pseudo-hwcap.
7893
6d33265c
JM
78942013-05-13 Joseph Myers <joseph@codesourcery.com>
7895
68fc074c
JM
7896 * math/libm-test.inc (struct test_fl_f_data): New type.
7897 (RUN_TEST_LOOP_fl_f): New variable.
7898 (scalbln_test_data): New variable.
7899 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7900
243216e1
JM
7901 * math/libm-test.inc (struct test_fi_f_data): New type.
7902 (RUN_TEST_LOOP_fi_f): New macro.
7903 (ldexp_test_data): New variable.
7904 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7905 (scalbn_test_data): New variable.
7906 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7907
6a1992e2
JM
7908 * math/libm-test.inc (struct test_c_f_data): New type.
7909 (RUN_TEST_LOOP_c_f): New macro.
7910 (cabs_test_data): New variable.
7911 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7912 (carg_test_data): New variable.
7913 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7914 (cimag_test_data): New variable.
7915 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7916 (creal_test_data): New variable.
7917 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7918
0e400df5
JM
7919 * math/libm-test.inc (struct test_if_f_data): New type.
7920 (RUN_TEST_LOOP_if_f): New macro.
7921 (jn_test_data): New variable.
7922 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7923 (yn_test_data): New variable.
7924 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7925
6d33265c
JM
7926 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7927
f98ece5f
AZ
79282013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7929
7930 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7931 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7932
0f7d347b
SP
79332013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7934
43fe811b
SP
7935 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7936 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7937 (bench-deps): Add bench-timing.h.
7938 * benchtests-bench-skeleton.c: Include bench-timing.h.
7939 (main): Use TIMING_* macros instead of clock_gettime.
7940 * benchtests/bench-timing.h: New file.
7941
0f7d347b
SP
7942 [BZ #14582]
7943 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7944 Renamed from _LIB_VERSION.
7945 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7946
601a3a5f
JM
79472013-05-12 Joseph Myers <joseph@codesourcery.com>
7948
4f184d30
JM
7949 * math/libm-test.inc (struct test_fff_f_data): New type.
7950 (RUN_TEST_LOOP_fff_f): New macro.
7951 (fma_test_data): New variable.
7952 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7953 (fma_towardzero_test_data): New variable.
7954 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7955 (fma_downward_test_data): New variable.
7956 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7957 (fma_upward_test_data): New variable.
7958 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7959
08198877
JM
7960 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7961 (struct test_c_c_data): New type.
7962 (RUN_TEST_LOOP_c_c): New macro.
7963 (cacos_test_data): New variable.
7964 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7965 (cacosh_test_data): New variable.
7966 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7967 (casin_test_data): New variable.
7968 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7969 (casinh_test_data): New variable.
7970 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7971 (catan_test_data): New variable.
7972 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7973 (catanh_test_data): New variable.
7974 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7975 (ccos_test_data): New variable.
7976 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7977 (ccosh_test_data): New variable.
7978 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7979 (cexp_test_data): New variable.
7980 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7981 (clog_test_data): New variable.
7982 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7983 (clog10_test_data): New variable.
7984 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7985 (conj_test_data): New variable.
7986 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7987 (cproj_test_data): New variable.
7988 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7989 (csin_test_data): New variable.
7990 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7991 (csinh_test_data): New variable.
7992 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7993 (csqrt_test_data): New variable.
7994 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7995 (ctan_test_data): New variable.
7996 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7997 (ctan_tonearest_test_data): New variable.
7998 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7999 (ctan_towardzero_test_data): New variable.
8000 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8001 (ctan_downward_test_data): New variable.
8002 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8003 (ctan_upward_test_data): New variable.
8004 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8005 (ctanh_test_data): New variable.
8006 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8007 (ctanh_tonearest_test_data): New variable.
8008 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8009 (ctanh_towardzero_test_data): New variable.
8010 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8011 (ctanh_downward_test_data): New variable.
8012 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8013 (ctanh_upward_test_data): New variable.
8014 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8015 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8016 of BUILD_COMPLEX.
8017
601a3a5f
JM
8018 * math/libm-test.inc (struct test_ff_f_data): New type.
8019 (struct test_ff_f_data_nexttoward): Likewise.
8020 (RUN_TEST_LOOP_2_f): New macro.
8021 (RUN_TEST_LOOP_ff_f): Likewise.
8022 (atan2_test_data): New variable.
8023 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8024 (copysign_test_data): New variable.
8025 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8026 (fdim_test_data): New variable.
8027 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8028 (fmax_test_data): New variable.
8029 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8030 (fmin_test_data): New variable.
8031 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8032 (fmod_test_data): New variable.
8033 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8034 (hypot_test_data): New variable.
8035 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8036 (nextafter_test_data): New variable.
8037 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8038 (nexttoward_test_data): New variable.
8039 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8040 (pow_test_data): New variable.
8041 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8042 (pow_tonearest_test_data): New variable.
8043 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8044 (pow_towardzero_test_data): New variable.
8045 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8046 (pow_downward_test_data): New variable.
8047 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8048 (pow_upward_test_data): New variable.
8049 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8050 (remainder_test_data): New variable.
8051 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8052 (scalb_test_data): New variable.
8053 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8054 * sysdeps/i386/fpu/libm-test-ulps: Update.
8055
74c57478
JM
80562013-05-11 Joseph Myers <joseph@codesourcery.com>
8057
8329e4da
JM
8058 * math/libm-test.inc (fma_test): Use max_value instead of local
8059 variable fltmax.
8060 (nextafter_test): Likewise.
8061
74c57478
JM
8062 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8063 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8064 (acos_downward_test_data): New variable.
8065 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8066 (acos_upward_test_data): New variable.
8067 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8068 (acosh_test_data): New variable.
8069 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8070 (asin_test_data): New variable.
8071 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8072 (asin_tonearest_test_data): New variable.
8073 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8074 (asin_towardzero_test_data): New variable.
8075 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8076 (asin_downward_test_data): New variable.
8077 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8078 (asin_upward_test_data): New variable.
8079 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8080 (asinh_test_data): New variable.
8081 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8082 (atan_test_data): New variable.
8083 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8084 (atanh_test_data): New variable.
8085 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8086 (cbrt_test_data): New variable.
8087 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8088 (ceil_test_data): New variable.
8089 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8090 (cos_test_data): New variable.
8091 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8092 (cos_tonearest_test_data): New variable.
8093 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8094 (cos_towardzero_test_data): New variable.
8095 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8096 (cos_downward_test_data): New variable.
8097 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8098 (cos_upward_test_data): New variable.
8099 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8100 (cosh_test_data): New variable.
8101 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8102 (cosh_tonearest_test_data): New variable.
8103 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8104 (cosh_towardzero_test_data): New variable.
8105 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8106 (cosh_downward_test_data): New variable.
8107 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8108 (cosh_upward_test_data): New variable.
8109 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8110 (erf_test_data): New variable.
8111 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8112 (erfc_test_data): New variable.
8113 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8114 (exp_test_data): New variable.
8115 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8116 (exp_tonearest_test_data): New variable.
8117 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8118 (exp_towardzero_test_data): New variable.
8119 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8120 (exp_downward_test_data): New variable.
8121 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8122 (exp_upward_test_data): New variable.
8123 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8124 (exp10_test_data): New variable.
8125 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8126 (exp2_test_data): New variable.
8127 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8128 (expm1_test_data): New variable.
8129 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8130 (fabs_test_data): New variable.
8131 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8132 (floor_test_data): New variable.
8133 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8134 (j0_test_data): New variable.
8135 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8136 (j1_test_data): New variable.
8137 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8138 (log_test_data): New variable.
8139 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8140 (log10_test_data): New variable.
8141 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8142 (log1p_test_data): New variable.
8143 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8144 (log2_test_data): New variable.
8145 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8146 (logb_test_data): New variable.
8147 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8148 (logb_downward_test_data): New variable.
8149 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8150 (nearbyint_test_data): New variable.
8151 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8152 (rint_test_data): New variable.
8153 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8154 (rint_tonearest_test_data): New variable.
8155 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8156 (rint_towardzero_test_data): New variable.
8157 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8158 (rint_downward_test_data): New variable.
8159 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8160 (rint_upward_test_data): New variable.
8161 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8162 (round_test_data): New variable.
8163 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8164 (sin_test_data): New variable.
8165 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8166 (sin_tonearest_test_data): New variable.
8167 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8168 (sin_towardzero_test_data): New variable.
8169 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8170 (sin_downward_test_data): New variable.
8171 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8172 (sin_upward_test_data): New variable.
8173 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8174 (sinh_test_data): New variable.
8175 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8176 (sinh_tonearest_test_data): New variable.
8177 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8178 (sinh_towardzero_test_data): New variable.
8179 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8180 (sinh_downward_test_data): New variable.
8181 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8182 (sinh_upward_test_data): New variable.
8183 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8184 (sqrt_test_data): New variable.
8185 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8186 (tan_test_data): New variable.
8187 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8188 (tan_tonearest_test_data): New variable.
8189 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8190 (tan_towardzero_test_data): New variable.
8191 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8192 (tan_downward_test_data): New variable.
8193 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8194 (tan_upward_test_data): New variable.
8195 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8196 (tanh_test_data): New variable.
8197 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8198 (tgamma_test_data): New variable.
8199 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8200 (trunc_test_data): New variable.
8201 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8202 (y0_test_data): New variable.
8203 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8204 (y1_test_data): New variable.
8205 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8206 (significand_test_data): New variable.
8207 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8208
7187d844
CG
82092013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8210
8211 [BZ #12387]
8212 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8213
f63fae73
PT
82142013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8215
8216 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8217
8a67a4b3
AJ
82182013-05-10 Andreas Jaeger <aj@suse.de>
8219
8220 [BZ #15448]
8221 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8222 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8223
51df539d
JM
82242013-05-10 Joseph Myers <joseph@codesourcery.com>
8225
8226 * math/gen-libm-test.pl (adjust_arg): New function.
8227 (special_functions): Handle generating output in both functions
8228 and arrays.
8229 (parse_args): Likewise.
8230 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8231 $in_func argument to parse_args.
8232 * math/libm-test.inc (struct test_f_f_data): New type.
8233 (IF_ROUND_INIT_): New macro.
8234 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8235 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8236 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8237 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8238 (ROUND_RESTORE_): Likewise.
8239 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8240 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8241 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8242 (ROUND_RESTORE_FE_UPWARD): Likewise.
8243 (RUN_TEST_LOOP_f_f): New macro.
8244 (acos_test_data): New variable.
8245 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8246 (acos_tonearest_test_data): New variable.
8247 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8248
5c637fe5
SP
82492013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8250
8251 * benchtests/bench-skeleton.c (startup): Fix coding style.
8252
ab2b9461
JM
82532013-05-10 Joseph Myers <joseph@codesourcery.com>
8254
8255 [BZ #6809]
8256 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8257 negative infinity argument.
8258 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8259 negative infinity argument.
8260 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8261 negative infinity argument.
8262 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8263 domain errors.
8264
4c0fe6fe
FW
82652013-05-10 Florian Weimer <fweimer@redhat.com>
8266
8267 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8268 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8269 * iconv/iconv_prog.c (main): Likewise.
8270 * locale/programs/charmap-dir.c (charmap_readdir)
8271 (fopen_uncompressed): Likewise.
8272 * locale/programs/locfile.c (siblings_uncached)
8273 (write_locale_data): Use lstat64 instead of lstat.
8274 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8275 stat.
8276
a3375d29
AJ
82772013-05-10 Andreas Jaeger <aj@suse.de>
8278
8279 [BZ #15395]
8280 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8281 localization.
8282 Include <locale.h>.
8283
36129722
CD
82842013-05-09 Carlos O'Donell <carlos@redhat.com>
8285
8286 * elf/dl-close.c (_dl_close_worker): Add comments.
8287
faa7f811
JM
82882013-05-09 Joseph Myers <joseph@codesourcery.com>
8289
ed41ffef
JM
8290 [BZ #15359]
8291 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8292 high part of pi/2.
8293 (__ieee754_rem_pio2l): Update comments.
8294
d0213cd0
JM
8295 [BZ #15429]
8296 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8297 high part of pi/2.
8298 (__ieee754_rem_pio2l): Update comments.
8299
0d3e777a
JM
8300 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8301 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8302
24f56066
JM
8303 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8304 M_PI_4l.
8305
faa7f811
JM
8306 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8307 (M_PI_34_LOG10El): Likewise.
8308 (M_PI2_LOG10El): Likewise.
8309 (M_PI4_LOG10El): Likewise.
8310 (M_PI_LOG10El): Likewise.
8311
e9a5e0fd
AZ
83122013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8313
8314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8315
d8cd06db
JM
83162013-05-08 Joseph Myers <joseph@codesourcery.com>
8317
a0d9f9d7
JM
8318 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8319 (MINUS_ZERO_INIT): Likewise.
8320 (PLUS_INFTY_INIT): Likewise.
8321 (MINUS_INFTY_INIT): Likewise.
8322 (QNAN_VALUE_INIT): Likewise.
8323 (MAX_VALUE_INIT): Likewise.
8324 (MIN_VALUE_INIT): Likewise.
8325 (MIN_SUBNORM_VALUE_INIT): Likewise.
8326 (plus_zero): Initialize with PLUS_ZERO_INIT.
8327 (minus_zero): Initialize with MINUS_ZERO_INIT.
8328 (plus_infty): Initialize with PLUS_INFTY_INIT.
8329 (minus_infty): Initialize with MINUS_INFTY_INIT.
8330 (qnan_value): Initialize with QNAN_VALUE_INIT.
8331 (max_value): Initialize with MAX_VALUE_INIT.
8332 (min_value): Initialize with MIN_VALUE_INIT.
8333 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8334
ae08db3b
JM
8335 * math/libm-test.inc (RUN_TEST_if_f): New macro.
8336 (jn_test): Use TEST_if_f instead of TEST_ff_f.
8337 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8338 (yn_test): Use TEST_if_f instead of TEST_ff_f.
8339
f44bf14a
JM
8340 * math/libm-test.inc (RUN_TEST_f_f): New macro.
8341 (RUN_TEST_2_f): Likewise.
8342 (RUN_TEST_ff_f): Likewise.
8343 (RUN_TEST_fi_f): Likewise.
8344 (RUN_TEST_fl_f): Likewise.
8345 (RUN_TEST_fff_f): Likewise.
8346 (RUN_TEST_c_f): Likewise.
8347 (RUN_TEST_f_f1): Likewise.
8348 (RUN_TEST_fF_f1): Likewise.
8349 (RUN_TEST_fI_f1): Likewise.
8350 (RUN_TEST_ffI_f1): Likewise.
8351 (RUN_TEST_c_c): Likewise.
8352 (RUN_TEST_cc_c): Likewise.
8353 (RUN_TEST_f_i): Likewise.
8354 (RUN_TEST_f_i_tg): Likewise.
8355 (RUN_TEST_ff_i_tg): Likewise.
8356 (RUN_TEST_f_b): Likewise.
8357 (RUN_TEST_f_b_tg): Likewise.
8358 (RUN_TEST_f_l): Likewise.
8359 (RUN_TEST_f_L): Likewise.
8360 (RUN_TEST_sincos): Likewise.
8361 * math/gen-libm-test.pl (new_test): Take new argument to indicate
8362 whether to show exceptions. Do not include ");\n" in return
8363 value.
8364 (special_functions): Output call to RUN_TEST_sincos instead of
8365 check_float calls. Update calls to new_test.
8366 (parse_args): Output call to single RUN_TEST_* macro instead of
8367 check_* calls and other assignments. Update calls to new_test.
8368
d8cd06db
JM
8369 [BZ #2546]
8370 [BZ #2560]
8371 [BZ #5159]
8372 [BZ #15426]
8373 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8374 input to result for tgamma overflow.
8375 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8376 (gamma_coeff): New variable.
8377 (NCOEFF): New macro.
8378 (gamma_positive): New function.
8379 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8380 underflow here. Use gamma_positive instead of exp (lgamma) for
8381 other arguments.
8382 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8383 (gamma_coeff): New variable.
8384 (NCOEFF): New macro.
8385 (gammaf_positive): New function.
8386 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8387 underflow here. Use gamma_positive instead of exp (lgamma) for
8388 other arguments.
8389 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8390 (gamma_coeff): New variable.
8391 (NCOEFF): New macro.
8392 (gammal_positive): New function.
8393 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8394 underflow here. Use gamma_positive instead of exp (lgamma) for
8395 other arguments.
8396 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8397 (gamma_coeff): New variable.
8398 (NCOEFF): New macro.
8399 (gammal_positive): New function.
8400 (__ieee754_gammal_r): Handle positive infinity, overflow and
8401 underflow here. Handle NaN the same as positive infinity. Remove
8402 check x < 0xffffffff for negative integers. Use gamma_positive
8403 instead of exp (lgamma) for other arguments.
8404 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8405 (gamma_coeff): New variable.
8406 (NCOEFF): New macro.
8407 (gammal_positive): New function.
8408 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8409 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8410 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8413 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8414 * sysdeps/generic/math_private.h (__gamma_productf): New
8415 prototype.
8416 (__gamma_product): Likewise.
8417 (__gamma_productl): Likewise.
8418 * math/Makefile (libm-calls): Add gamma_product.
8419 * math/libm-test.inc (tgamma_test): Add more tests.
8420 * sysdeps/i386/fpu/libm-test-ulps: Update.
8421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8422
bb7cf681
OB
84232013-05-08 Ondřej Bílka <neleai@seznam.cz>
8424
8425 * benchtests/bench-skeleton.c (main): Preheat CPU.
8426
ba853947
AJ
84272013-05-07 Aurelien Jarno <aurelien@aurel32.net>
8428
8429 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8430
8347c74c
RM
84312013-05-07 Roland McGrath <roland@hack.frob.com>
8432
8433 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8434 and _dl_skip_args_internal.
8435
e8dd4791
CD
84362013-05-07 Carlos O'Donell <carlos@redhat.com>
8437
8438 * manual/message.texi (Message Translation): Talk about users.
8439 Message to key mapping impacts design.
8440
c7405830
RM
84412013-05-06 Roland McGrath <roland@hack.frob.com>
8442
a9173057
RM
8443 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8444
976e2f03
RM
8445 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8446
9723ffc5
RM
8447 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8448 * sysdeps/wordsize-64/glob64.c: ... here.
8449
962e6658
RM
8450 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8451 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8452 New macros.
8453
ee586a6d
RM
8454 * debug/getlogin_r_chk.c: Moved to ...
8455 * login/getlogin_r_chk.c: ... here.
8456 * debug/Makefile (routines): Move getlogin_r_chk to ...
8457 * login/Makefile (routines): ... here.
8458 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8459 * login/Versions (libc: GLIBC_2.4): ... here.
8460
355f9165
RM
8461 * io/poll.c (__poll): Renamed from poll.
8462 Add libc_hidden_def.
8463 (poll): Define as weak alias.
8464
bd9ffde6
RM
8465 * debug/ptsname_r_chk.c: Moved to ...
8466 * login/ptsname_r_chk.c: ... here.
8467 * debug/Makefile (routines): Move ptsname_r_chk to ...
8468 * login/Makefile (routines): ... here.
8469 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8470 * login/Versions (libc: GLIBC_2.4): ... here.
8471
8fb16a04
RM
8472 * posix/getlogin.c: Moved to ...
8473 * login/getlogin.c: ... here.
8474 * posix/getlogin_r.c: Moved to ...
8475 * login/getlogin_r.c: ... here.
8476 * posix/getlogin_r.c: Moved to ...
8477 * login/getlogin_r.c: ... here.
8478 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8479 * login/Makefile (routines): ... here.
8480 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8481 * login/Versions (libc: GLIBC_2.0): ... here.
8482
b99b892f
RM
8483 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8484 (setrlimit): Define as weak alias.
8485
c7405830
RM
8486 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8487 Call __ names for open, ftruncate, and close.
8488 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8489 (truncate): Define as weak alias.
8490
5bf96de5
JM
84912013-05-06 Joseph Myers <joseph@codesourcery.com>
8492
9ea3513c
JM
8493 * math/gen-libm-test.pl (parse_args): Initialize x before each
8494 test of frexp, modf and remquo.
8495
5bf96de5
JM
8496 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8497 test signgam value.
8498
16e616a7
AZ
84992013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8500
8501 [BZ #15418]
8502 [BZ #15419]
8503 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8504 internal tests.
8505 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8506
d5e82754
RM
85072013-05-06 Roland McGrath <roland@hack.frob.com>
8508
8509 * elf/dl-writev.h: New file.
8510 * elf/dl-misc.c: Include it.
8511 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8512 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8513
a7548d41
JM
85142013-05-04 Joseph Myers <joseph@codesourcery.com>
8515
b7dab1e4
JM
8516 * math/libm-test.inc (noXFails): Remove variable.
8517 (noXPasses): Likewise.
8518 (BUILD_COMPLEX_INT): Remove macro.
8519 (print_screen): Remove xfail argument.
8520 (print_screen_max_error): Likewise.
8521 (update_stats): Likewise.
8522 (print_max_error): Likewise. Update calls to other affected
8523 functions.
8524 (print_complex_max_error): Likewise.
8525 (test_single_exception): Update calls to print_screen.
8526 (test_single_errno): Likewise.
8527 (check_float_internal): Remove xfail argument. Update calls to
8528 other affected functions.
8529 (check_float): Likewise.
8530 (check_complex): Likewise.
8531 (check_int): Likewise.
8532 (check_long): Likewise.
8533 (check_bool): Likewise.
8534 (check_longlong): Likewise.
8535 (main): Don't print noXFails and noXPasses.
8536 * math/gen-libm-test.pl (top level): Don't mention expected
8537 failure handling in comment.
8538 (new_test): Don't handle expected failures.
8539 (parse_args): Don't mention expected failure handling in comment.
8540 (generate_testfile): Don't handle expected failures.
8541 (parse_ulps): Likewise.
8542 (print_ulps_file): Likewise.
8543 (get_failure): Remove function.
8544 (output_test): Don't handle expected failures.
8545 * make/README.libm-test: Don't mention expected failure handling.
8546
a7548d41
JM
8547 * math/libm-test.inc (plus_zero): Make const. Add initializer.
8548 (minus_zero): Likewise.
8549 (plus_infty): Likewise.
8550 (minus_infty): Likewise.
8551 (qnan_value): Likewise.
8552 (max_value): Likewise.
8553 (min_value): Likewise.
8554 (min_subnorm_value): Likewise.
8555 (initialize): Do not initialize those variables dynamically.
8556
60bfd54c
RM
85572013-05-03 Roland McGrath <roland@hack.frob.com>
8558
cc0e6ed8
RM
8559 * io/open.c (__open_2): Moved to ...
8560 * io/open_2.c: ... this new file.
8561 * io/open64.c (__open64_2): Moved to ...
8562 * io/open64_2.c: ... this new file.
8563 * io/openat.c (__openat_2): Moved to ...
8564 * io/openat_2.c: ... this new file.
8565 * io/openat64.c (__openat64_2): Moved to ...
8566 * io/openat64_2.c: ... this new file.
8567 * io/Makefile (routines): Add them.
8568 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8569 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8570 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8571 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8572 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8573 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8574 (__openat64): Add hidden_ver.
8575 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8576 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8577
60bfd54c
RM
8578 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8579 Separately conditionalize setting of GLRO(dl_sysinfo) so
8580 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8581 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8582
83e7640f
AZ
85832013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8584
8585 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8586 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8587 definition.
8588 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8589 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8590 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8591 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8592 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8593
d5dc2af3
JM
85942013-05-03 Joseph Myers <joseph@codesourcery.com>
8595
c31a5b1e
JM
8596 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8597 test signgam value.
8598
d5dc2af3
JM
8599 * math/libm-test.inc (hypot_test): Do not use
8600 IGNORE_ZERO_INF_SIGN.
8601
164fd39d
AJ
86022013-05-03 Andreas Jaeger <aj@suse.de>
8603
8604 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8605 Linux 3.9.
8606 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8607 (PF_MAX): Adjust for VSOCK change.
8608
8237f48c
AZ
86092013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8610
8611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8612
9df02941
CD
86132013-05-02 Carlos O'Donell <carlos@redhat.com>
8614
8615 [BZ #15264]
8616 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8617 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8618 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8619
d422395e
DM
86202013-05-02 David S. Miller <davem@davemloft.net>
8621
8622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8623
a07c5731
OB
86242013-05-01 Ondřej Bílka <neleai@seznam.cz>
8625
8626 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8627
1324e37f
RM
86282013-05-01 Roland McGrath <roland@hack.frob.com>
8629
8630 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8631
0695940b
RS
86322013-05-01 Richard Smith <richard@metafoo.co.uk>
8633
bb5f27ad 8634 [BZ #14952]
0695940b
RS
8635 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8636 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8637 Use __attribute__ ((__gnu_inline__)).
8638 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8639 Don't use __attribute__ ((__gnu_inline__)).
8640
10de07f5
JM
86412013-05-01 Joseph Myers <joseph@codesourcery.com>
8642
8643 [BZ #15423]
8644 * math/s_catan.c (__catan): Handle small real or imaginary part of
8645 input specially to avoid spurious underflow.
8646 * math/s_catanf.c (__catanf): Likewise.
8647 * math/s_catanh.c (__catanh): Likewise.
8648 * math/s_catanhf.c (__catanhf): Likewise.
8649 * math/s_catanhl.c (__catanhl): Likewise.
8650 * math/s_catanl.c (__catanl): Likewise.
8651 * math/libm-test.inc (catan_test): Add more tests.
8652 (catanh_test): Likewise.
8653 * sysdeps/i386/fpu/libm-test-ulps: Update.
8654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8655
cb4d5414
AZ
86562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8657
8658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8659
caf84319
JM
86602013-04-30 Joseph Myers <joseph@codesourcery.com>
8661
8662 [BZ #15416]
8663 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8664 accurately for denominator in atan2.
8665 * math/s_catanf.c (__catanf): Likewise.
8666 * math/s_catanh.c (__catanh): Likewise.
8667 * math/s_catanhf.c (__catanhf): Likewise.
8668 * math/s_catanhl.c (__catanhl): Likewise.
8669 * math/s_catanl.c (__catanl): Likewise.
8670 * math/libm-test.inc (catan_test): Add more tests.
8671 (catanh_test): Likewise.
8672 * sysdeps/i386/fpu/libm-test-ulps: Update.
8673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8674
d569c6ee
SP
86752013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8676
6dbe713d
SP
8677 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8678
f0ee064b
SP
8679 * benchtests/Makefile (bench): Remove slow benchmarks.
8680 * benchtests/atan-inputs: Add slow benchmark inputs.
8681 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8682 (BENCH_FUNC): Accept variant offset.
8683 (VARIANT): Define.
8684 * benchtests/bench-skeleton.c (main): Run benchmark for each
8685 variant.
8686 * benchtests/cos-inputs: Add slow benchmark inputs.
8687 * benchtests/exp-inputs: Likewise.
8688 * benchtests/pow-inputs: Likewise.
8689 * benchtests/sin-inputs: Likewise.
8690 * benchtests/slowatan-inputs: Remove.
8691 * benchtests/slowatan.c: Remove.
8692 * benchtests/slowcos-inputs: Remove.
8693 * benchtests/slowcos.c: Remove.
8694 * benchtests/slowexp-inputs: Remove.
8695 * benchtests/slowexp.c: Remove.
8696 * benchtests/slowpow-inputs: Remove.
8697 * benchtests/slowpow.c: Remove.
8698 * benchtests/slowsin-inputs: Remove.
8699 * benchtests/slowsin.c: Remove.
8700 * benchtests/slowtan-inputs: Remove.
8701 * benchtests/slowtan.c: Remove.
8702 * benchtests/tan-inputs: Add slow benchmark inputs.
8703 * scripts/bench.pl: Parse comments and directives.
8704
d569c6ee
SP
8705 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8706 in CPPFLAGS.
8707 ($(objpfx)bench-%.c): Remove *-ITER.
8708 * benchtests/bench-modf.c: Remove definition of ITER.
8709 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8710 (main): Loop for DURATION seconds instead of fixed number of
8711 iterations.
8712 * scripts/bench.pl: Don't expect iterations in parameters.
8713
a6a242fe
RM
87142013-04-29 Roland McGrath <roland@hack.frob.com>
8715
8716 * io/fchdir.c (__fchdir): Renamed from fchdir.
8717 (fchdir): Define as weak alias.
8718
f2da7793
JM
87192013-04-29 Joseph Myers <joseph@codesourcery.com>
8720
8721 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8722 (ERRNO_EDOM): Likewise.
8723 (ERRNO_ERANGE): Likewise.
8724 (noErrnoTests): New variable.
8725 (init_max_error): Set errno to 0.
8726 (test_single_errno): New function.
8727 (test_errno): Likewise.
8728 (check_float_internal): Call test_errno. Set errno to 0.
8729 (check_complex): Refer to errno tests in comment.
8730 (check_int): Call test_errno. Set errno to 0.
8731 (check_long): Likewise.
8732 (check_bool): Likewise.
8733 (check_longlong): Likewise.
8734 (cos_test): Use ERRNO_* flags for errno tests instead of
8735 check_int.
8736 (expm1_test): Likewise.
8737 (fmod_test): Likewise.
8738 (ilogb_test): Likewise.
8739 (lgamma_test): Likewise.
8740 (pow_test): Likewise.
8741 (remainder_test): Likewise.
8742 (sin_test): Likewise.
8743 (tan_test): Likewise.
8744 (yn_test): Likewise.
8745 (initialize): Set errno to 0.
8746 (main): Print number of errno tests.
8747 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8748
b1a36ceb
AJ
87492013-04-29 Andreas Jaeger <aj@suse.de>
8750
c3ed8088
AJ
8751 [BZ #15084]
8752 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8753 and RES_USEVC.
8754
f1a24198
AJ
8755 [BZ #15085]
8756 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8757 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8758 unimplemented.
8759
9ce3b2cb
AJ
8760 [BZ #15380]
8761 * stdlib/random.c (__initstate): Return NULL if
8762 __initstate fails.
8763
f1a24198 8764 [BZ #15086]
b1a36ceb
AJ
8765 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8766 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8767 RES_SNGLKUPREOP.
8768
7e7b6f36
AZ
87692013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8770
8771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8772
4d14f449
JM
87732013-04-29 Joseph Myers <joseph@codesourcery.com>
8774
8775 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8776 of individual tests.
8777 (casin_test): Likewise.
8778 (casinh_test): Likewise.
8779
5b4217d7
JM
87802013-04-27 Joseph Myers <joseph@codesourcery.com>
8781
8782 [BZ #15409]
8783 * math/s_catan.c (__catan): Handle arguments with large real or
8784 imaginary part separately without squaring.
8785 * math/s_catanf.c (__catanf): Likewise.
8786 * math/s_catanh.c (__catanh): Likewise.
8787 * math/s_catanhf.c (__catanhf): Likewise.
8788 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8789 and redefine.
8790 (__catanhl): Handle arguments with large real or imaginary part
8791 separately without squaring.
8792 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8793 and redefine.
8794 (__catanl): Handle arguments with large real or imaginary part
8795 separately without squaring.
8796 * math/libm-test.inc (catan_test): Add more tests.
8797 (catanh_test): Likewise.
8798 * sysdeps/i386/fpu/libm-test-ulps: Update.
8799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8800
4220c3ef
AJ
88012013-04-27 Andreas Jaeger <aj@suse.de>
8802
8803 [BZ #15007]
8804 * stdlib/stdlib.h: Update guards for qecvt.
8805 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8806 <stdlib.h>.
8807
4721b2d1
AM
88082013-04-27 Allan McRae <allan@archlinux.org>
8809
8810 * sysdeps/i386/fpu/libm-test-ulps: Update.
8811
f0302940
JM
88122013-04-26 Joseph Myers <joseph@codesourcery.com>
8813
9457fd95
JM
8814 [BZ #15406]
8815 * math/s_catan.c: Include <float.h>.
8816 (__catan): Ensure underflow exception occurs for underflowed
8817 result.
8818 * math/s_catanf.c: Include <float.h>.
8819 (__catanf): Ensure underflow exception occurs for underflowed
8820 result.
8821 * math/s_catanh.c: Include <float.h>.
8822 (__catanh): Ensure underflow exception occurs for underflowed
8823 result.
8824 * math/s_catanhf.c: Include <float.h>.
8825 (__catanhf): Ensure underflow exception occurs for underflowed
8826 result.
8827 * math/s_catanhl.c: Include <float.h>.
8828 (__catanhl): Ensure underflow exception occurs for underflowed
8829 result.
8830 * math/s_catanl.c: Include <float.h>.
8831 (__catanl): Ensure underflow exception occurs for underflowed
8832 result.
8833 * math/libm-test.inc (catan_test): Add more tests.
8834 (catanh_test): Likewise.
8835
f0302940
JM
8836 [BZ #15405]
8837 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8838 underflowed result.
8839 * math/s_ccoshf.c (__ccoshf): Likewise.
8840 * math/s_ccoshl.c (__ccoshl): Likewise.
8841 * math/s_csin.c (__csin): Likewise.
8842 * math/s_csinf.c (__csinf): Likewise.
8843 * math/s_csinh.c (__csinh): Likewise.
8844 * math/s_csinhf.c (__csinhf): Likewise.
8845 * math/s_csinhl.c (__csinhl): Likewise.
8846 * math/s_csinl.c (__csinl): Likewise.
8847 * math/libm-test.inc (ccos_test): Add more tests.
8848 (ccosh_test): Likewise.
8849 (csin_test): Likewise.
8850 (csinh_test): Likewise.
8851
aa630f59
AZ
88522013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8853
8854 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8855 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8856 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8857 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8858 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8859 powerpc/power5+/fpu folders.
8860 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8861
8862
1b835983
MT
88632013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8864
8865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8866
73709b26
JM
88672013-04-25 Joseph Myers <joseph@codesourcery.com>
8868
8869 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8870 additions to variable.
8871 [$(config-machine) = x86_64] (modules-names): Likewise.
8872 ($(objpfx)tst-audit3): Remove dependency.
8873 ($(objpfx)tst-audit3.out): Likewise.
8874 ($(objpfx)tst-audit4): Likewise.
8875 ($(objpfx)tst-audit4.out): Likewise.
8876 ($(objpfx)tst-audit5): Likewise.
8877 ($(objpfx)tst-audit5.out): Likewise.
8878 ($(objpfx)tst-audit6): Likewise.
8879 ($(objpfx)tst-audit6.out): Likewise.
8880 ($(objpfx)tst-audit7): Likewise.
8881 ($(objpfx)tst-audit7.out): Likewise.
8882 (tst-audit3-ENV): Remove variable.
8883 (tst-audit4-ENV): Likewise.
8884 (tst-audit5-ENV): Likewise.
8885 (tst-audit6-ENV): Likewise.
8886 (tst-audit7-ENV): Likewise.
8887 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8888 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8889 addition to variable.
8890 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8891 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8892 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8893 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8894 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8895 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8896 tst-audit3, tst-audit4 and tst-audit5.
8897 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8898 tst-audit6 and tst-audit7.
8899 [$(subdir) = elf] (modules-names): Add audit modules for those
8900 tests.
8901 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8902 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8903 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8904 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8905 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8906 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8907 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8908 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8909 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8910 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8911 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8912 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8913 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8914 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8915 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8916 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8917 Likewise.
8918 [$(subdir) = elf && $(config-cflags-avx) = yes]
8919 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8920 [$(subdir) = elf && $(config-cflags-avx) = yes]
8921 (CFLAGS-tst-auditmod4a.c): Likewise.
8922 [$(subdir) = elf && $(config-cflags-avx) = yes]
8923 (CFLAGS-tst-auditmod4b.c): Likewise.
8924 [$(subdir) = elf && $(config-cflags-avx) = yes]
8925 (CFLAGS-tst-auditmod6b.c): Likewise.
8926 [$(subdir) = elf && $(config-cflags-avx) = yes]
8927 (CFLAGS-tst-auditmod6c.c): Likewise.
8928 [$(subdir) = elf && $(config-cflags-avx) = yes]
8929 (CFLAGS-tst-auditmod7b.c): Likewise.
8930 * elf/tst-audit3.c: Move to ...
8931 * sysdeps/x86_64/tst-audit3.c: ... here.
8932 * elf/tst-audit4.c: Move to ...
8933 * sysdeps/x86_64/tst-audit4.c: ... here.
8934 * elf/tst-audit5.c: Move to ...
8935 * sysdeps/x86_64/tst-audit5.c: ... here.
8936 * elf/tst-audit6.c: Move to ...
8937 * sysdeps/x86_64/tst-audit6.c: ... here.
8938 * elf/tst-audit7.c: Move to ...
8939 * sysdeps/x86_64/tst-audit7.c: ... here.
8940 * elf/tst-auditmod3a.c: Move to ...
8941 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8942 * elf/tst-auditmod3b.c: Move to ...
8943 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8944 * elf/tst-auditmod4a.c: Move to ...
8945 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8946 * elf/tst-auditmod4b.c: Move to ...
8947 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8948 * elf/tst-auditmod5a.c: Move to ...
8949 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8950 * elf/tst-auditmod5b.c: Move to ...
8951 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8952 * elf/tst-auditmod6a.c: Move to ...
8953 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8954 * elf/tst-auditmod6b.c: Move to ...
8955 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8956 * elf/tst-auditmod6c.c: Move to ...
8957 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8958 * elf/tst-auditmod7a.c: Move to ...
8959 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8960 * elf/tst-auditmod7b.c: Move to ...
8961 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8962
1ef74943
PP
89632013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8964
8965 [BZ #15366]
8966 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8967 define unconditionally.
8968 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8969 define unconditionally.
8970 (INT8_C, INT16_C, etc.): Likewise.
8971
93fd48c5
MR
89722013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8973
ae9552cf
MR
8974 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8975 __ehdr_start with hidden visibility.
8976
93fd48c5
MR
8977 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8978
418601aa
CD
89792013-04-24 Carlos O'Donell <carlos@redhat.com>
8980
8981 * math/libm-test.inc (cos_test): Use accurate hex constants.
8982 (sincost_test): Likewise.
8983
2f38fbfe
JM
89842013-04-24 Joseph Myers <joseph@codesourcery.com>
8985
5e221800
JM
8986 * math/libm-test.inc (catan_test): Add more tests.
8987 (catanh_test): Likewise.
8988
77f143fd
JM
8989 * math/s_catanf.c (__catanf): Use suffixed floating-point
8990 constants.
8991 * math/s_catanhf.c (__catanhf): Likewise.
8992 * math/s_catanhl.c (__catanhl): Likewise.
8993 * math/s_catanl.c (__catanl): Likewise.
8994
2f38fbfe
JM
8995 [BZ #15394]
8996 * math/s_catan.c (__catan): Calculate imaginary part of result
8997 with log1p not log unless computing log of number close to 0.
8998 * math/s_catanf.c (__catanf): Likewise.
8999 * math/s_catanl.c (__catanl): Likewise.
9000 * math/s_catanh.c (__catanh): Calculate real part of result with
9001 log1p not log unless computing log of number close to 0.
9002 * math/s_catanhf.c (__catanhf): Likewise.
9003 * math/s_catanhl.c (__catanhl): Likewise.
9004 * math/libm-test.inc (catan_test): Add more tests.
9005 (catanh_test): Likewise.
9006 * sysdeps/i386/fpu/libm-test-ulps: Update.
9007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9008
45d69176
SP
90092013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9010
9011 * benchtests/Makefile: Mention files in which fast and slow
9012 paths of math functions are implemented.
9013
87f51853
RM
90142013-04-23 Roland McGrath <roland@hack.frob.com>
9015
9016 * sysdeps/posix/timespec_get.c: New file.
9017
3c026539
AZ
90182013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9019
9020 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9021 POWER.
9022 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9023 for POWER.
9024 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9025 powerpc/power5/fpu folders.
9026 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9027 * benchtests/Makefile: Add modf testcase.
9028 * benchtests/bench-modf.c: New file: Benchmark test for mo
9029
ff491d14
SP
90302013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9031
9032 [BZ #14888]
9033 * time/Makefile (tests): Add tst-strptime-whitespace.
9034 * time/strptime_l.c (get_number): Use ISSPACE.
9035 (__strptime_internal): Likewise.
9036 * time/tst-strptime-whitespace.c: New test case.
9037
7ed3f4e8
AS
90382013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9039
9040 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9041 member.
9042 (_nss_files_init): Set it here.
9043
5c95f7b6
HC
90442013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9045
9046 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9047 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9048 unsigned.
9049
d34c9158
JBG
90502013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9051
9052 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9053
2169712d
SP
90542013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9055
9056 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9057 size just once.
9058
29c5de99
DM
90592013-04-21 David S. Miller <davem@davemloft.net>
9060
9061 * po/ru.po: Update Russion translation from translation project.
9062
ccdad15d
AC
90632013-04-17 Adam Conrad <adconrad@0c3.net>
9064
9065 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9066 and setfsgid.
9067
0f122b8d
CD
90682013-04-17 Carlos O'Donell <carlos@redhat.com>
9069
5c5b07da 9070 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 9071 * configure: Regenerate.
5c5b07da 9072 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
9073 Add example to error message.
9074 * sysdeps/i386/configure: Regenerate.
9075
037714dd
SP
90762013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9077
9078 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9079 slowtan.
9080 * benchtests/cos-inputs: New file.
9081 * benchtests/slowcos-inputs: New file.
9082 * benchtests/slowcos.c: New file.
9083 * benchtests/slowtan-inputs: New file.
9084 * benchtests/slowtan.c: New file.
9085 * benchtests/tan-inputs: New file.
9086
e913141d
RM
90872013-04-16 Roland McGrath <roland@hack.frob.com>
9088
9089 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9090 considered kosher.
9091
a2964074
SP
90922013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9093
4856bcd2
SP
9094 * benchtests/Makefile: Include cppflags-iterator.mk to add
9095 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9096
a2964074
SP
9097 * Makefile.in (bench-clean): New target.
9098 * benchtests/Makefile (bench-clean): Likewise.
9099
9fbf9aca
DH
91002013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9101
9102 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9103
207d1e2a
TS
91042013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9105
9106 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9107
306dfba9
AS
91082013-04-15 Andreas Schwab <schwab@suse.de>
9109
9110 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9111 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9112 * nscd/pwdcache.c (cache_addpw): Likewise.
9113 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9114 more than recsize.
9115
206a6699
SP
91162013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9117
9118 * benchtests/Makefile (bench): Write all output to
9119 bench-out.tmp together.
9120
0582f6b3
AS
91212013-04-15 Andreas Schwab <schwab@suse.de>
9122
9123 * nscd/nscd.c (main): Don't fork again after closing files.
9124
acb4325f
SP
91252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9126
5cb26d0a
SP
9127 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9128
acb4325f
SP
9129 * benchtests/Rules (bench-deps): Collect dependencies into a
9130 single variable. Add Makefile to dependencies.
9131 ($(objpfx)bench-%.c): Depend on bench-deps.
9132
47792506
RM
91332013-04-12 Roland McGrath <roland@hack.frob.com>
9134 Xavier Roche <roche+kml2@exalead.com>
9135
9136 [BZ #15361]
9137 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9138 just that it's a file descriptor.
9139 * manual/llio.texi (Synchronizing AIO Operations): Update description
9140 for EBADF error from aio_fsync.
9141
8fc1bee5
SP
91422013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9143
9144 * Rules (bench): Move target definition...
9145 * benchtests/Makefile: ... here.
9146
aba5e333
CD
91472013-04-11 Carlos O'Donell <carlos@redhat.com>
9148
9149 * math/libm-test.inc (cos_test): Fix PI/2 test.
9150 (sincos_test): Likewise.
9151 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9152 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9153
273cdee8
AS
91542013-04-11 Andreas Schwab <schwab@suse.de>
9155
6ecec3b6
AS
9156 [BZ #13988]
9157 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9158 accept exponent character only when digits were seen.
9159 * stdio-common/Makefile (tests): Add bug26.
9160 * stdio-common/bug26.c: New file.
9161
273cdee8
AS
9162 [BZ #14293]
9163 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9164 non-freeable.
9165
8da491f5
SP
91662013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9167
01dc6df9
SP
9168 * Makeconfig (rtld-prefix): Define built linker prefix.
9169 * Rules (run-bench): Use it.
9170 * math/Makefile (run-regen-ulps): Likewise.
9171
8da491f5
SP
9172 * Rules (bench): Remove eval.
9173
abe7f530
SP
91742013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9175 Roland McGrath <roland@hack.frob.com>
9176 Ondrej Bilka <neleai@seznam.cz>
9177
9178 [BZ #15346]
9179 * time/getdate.c: Include ctype.h and alloca.h.
9180 (__getdate_r): Trim leading and trailing spaces of input.
9181 * time/tst-getdate.c (tests): Add tests with leading and
9182 trailing spaces.
9183
61c23e62
RM
91842013-04-08 Roland McGrath <roland@hack.frob.com>
9185
9186 [BZ #14280]
9187 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9188 when computing value.
9189
7208a313
CD
91902013-04-06 Carlos O'Donell <carlos@redhat.com>
9191
085b2d41
CD
9192 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9193 Use testrun.sh to run libm tests.
9194
7208a313
CD
9195 [BZ #15309]
9196 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9197
872c0acd
MM
91982013-04-06 Marko Myllynen <myllynen@redhat.com>
9199
9200 [BZ #15264]
9201 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9202
26510bdd
CD
92032013-04-06 Carlos O'Donell <carlos@redhat.com>
9204
9205 * Makefile.in (regen-ulps): New target.
9206 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9207 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9208 [ifneq (no,$(PERL)] (regen-ulps): New target.
9209 [ifeq (no,$(PERL)] (regen-ulps): New target.
9210 * math/libm-test.inc (ulps_file_name): Define.
9211 (output_dir): New variable.
9212 (options): Add "output-dir" option.
9213 (parse_opt): Handle 'o' case.
9214 (main): If output_dir is non-NULL use it as a prefix
9215 otherwise use "".
9216 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9217
a01f19c8
CD
92182013-04-06 Carlos O'Donell <carlos@redhat.com>
9219
9220 [BZ #10060, #10062]
9221 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9222 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9223 fail configure if __sync_val_compare_and_swap is not inlined.
9224 * sysdeps/i386/configure: Regenerate.
9225 * configure.in: Build for i686 when configured for i386.
9226 * configure: Regenerate.
9227 * README: Remove i386 reference.
9228
b7a329a5
CD
92292013-04-06 Carlos O'Donell <carlos@redhat.com>
9230
9231 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9232 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9233
bf0f50df
TS
92342013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9235
ee091edf
TS
9236 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9237 (lmsnanval): New variables.
9238 (F): Add conversion tests.
9239 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9240 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9241
a8b792d6
TS
9242 * stdio-common/tstdiomisc.c (F): Properly collect individual
9243 tests' results.
9244
a1cbf437
TS
9245 [BZ #14686, #15336]
9246 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9247 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9248 Instead, use input NaN values or generate a qNaN by arithmetic
9249 operation. Also fix bugs to comply with the standard.
9250 * math/libm-test.inc (remainder_test): Add more tests.
9251
8b43a0c9
TS
9252 [BZ #15335, #15342]
9253 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9254 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9255 input NaN values or generate a qNaN by arithmetic operation.
9256
d91da4ce
TS
9257 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9258 unreachable code.
9259
bf0f50df
TS
9260 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9261 definitions.
9262
05e166c8
JM
92632013-04-03 Joseph Myers <joseph@codesourcery.com>
9264
9265 [BZ #14478]
9266 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9267 underflowed result.
9268 * math/s_cexpf.c (__cexpf): Likewise.
9269 * math/s_cexpl.c (__cexpl): Likewise.
9270 * math/libm-test.inc (cexp_test): Add more tests.
9271
1cef1b19
AS
92722013-04-03 Andreas Schwab <schwab@suse.de>
9273
9274 [BZ #15330]
9275 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9276 order arrays from heap if bigger than alloca cutoff.
9277
74d87055
TS
92782013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9279
9280 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9281 (SNAN_TESTS_double): Refer to GCC PR56831.
9282 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9283 GCC PR56828.
9284
d755bba4
SP
92852013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9286
90d5d5bb
SP
9287 * Rules (bench): Move bench.out after the run is complete.
9288
73e0cd5d
SP
9289 * Rules (bench): Echo currently running benchmark.
9290
64aabd4b
SP
9291 * benchtests/Makefile (bench): Add atan and slowatan.
9292 * benchtests/atan-inputs: New file.
9293 * benchtests/slowatan-inputs: New file.
9294 * benchtests/slowatan.c: New file.
9295
c871eccd
SP
9296 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9297 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9298 its value.
9299
d755bba4
SP
9300 [BZ #15305]
9301 * sysdeps/unix/sysv/linux/kernel-features.h
9302 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9303 __ASSUME_XFS_RESTRICTED_CHOWN.
9304 * sysdeps/unix/sysv/linux/pathconf.c
9305 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9306 Save and restore errno.
9307
52ce4860
JM
93082013-04-02 Joseph Myers <joseph@codesourcery.com>
9309
9310 [BZ #15327]
9311 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9312 arguments using __kernel_casinh.
9313 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9314 arguments using __kernel_casinhf.
9315 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9316 arguments using __kernel_casinhl.
9317 * math/libm-test.inc (cacosh_test): Add more tests.
9318 * sysdeps/i386/fpu/libm-test-ulps: Update.
9319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9320
81f311c2
SP
93212013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9322
e7906a47
SP
9323 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9324 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9325
92e3664b
SP
9326 * bench/Makefile (bench): Add sin and slowsin.
9327 * benchtests/sin-inputs: New file.
9328 * benchtests/slowsin-inputs: New file.
9329 * benchtests/slowsin.c: New file.
9330
81f311c2
SP
9331 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9332 (bench): Add slowexp and slowpow.
9333 (exp-ITER): Increase iterations.
9334 (pow-ITER): Likewise.
9335 * benchtests/exp-inputs: Change input.
9336 * benchtests/pow-inputs: Likewise.
9337 * benchtests/slowexp-inputs: New file.
9338 * benchtests/slowexp.c: New file.
9339 * benchtests/slowpow-inputs: New file.
9340 * benchtests/slowpow.c: New file.
9341
ab0f1aa9
AZ
93422013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9343
9344 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9345 instructions.
9346 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9347 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9348 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9349 * benchtests/Makefile: Add rint benchtest.
9350 * benchtests/rint-inputs: Input for rint benchtest.
9351
57267616
TS
93522013-04-02 Thomas Schwinge <thomas@codesourcery.com>
9353
9354 * Versions.def (libm): Add GLIBC_2.18.
9355 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9356 hidden libm prototypes.
9357 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9358 * math/Makefile (libm-calls): Add s_issignaling.
9359 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9360 __issignalingf, __issignalingl. Adjust all libm.abilist files.
9361 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9362 declaration.
9363 * math/math.h [__USE_GNU] (issignaling): New macro.
9364 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9365 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9366 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9367 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9370 * manual/arith.texi (issignaling): New section.
9371 * manual/libm-err-tab.pl (@all_functions): Update comment.
9372 * math/gen-libm-test.pl (parse_args): Apply special handling for
9373 issignaling.
9374 * math/libm-test.inc (print_float, issignaling_test): New
9375 functions.
9376 (check_float_internal): Add issignaling checks.
9377 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9378 default definition.
9379 * sysdeps/powerpc/math-tests.h: New file.
9380 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9381 tests.
9382 * math/test-snan.c (TEST_FUNC): Likewise.
9383
6142896d
DM
93842013-03-30 David S. Miller <davem@davemloft.net>
9385
9386 * po/de.po: Update from translation team.
9387
ccc8cadf
JM
93882013-03-30 Joseph Myers <joseph@codesourcery.com>
9389
9390 [BZ #10357]
9391 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9392 imaginary part less than 1.0 and real part less than 0.5
9393 specially.
9394 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9395 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9396 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9397 (cacos_test): Add more tests.
9398 (casin_test): Likewise.
9399 (casinh_test): Likewise.
9400 * sysdeps/i386/fpu/libm-test-ulps: Update.
9401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9402
0f6a8d4b
SP
94032013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9404
0d1029de
SP
9405 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9406 ONE with its value.
9407
c2d94018
SP
9408 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9409 (__pow_mp): Replace ONE and MONE with their values.
9410 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9411 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9412 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9413 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9414 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9415 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9416
27ec37f1
SP
9417 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9418
a64d7e0e
SP
9419 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9420 (__pow_mp): Replace ZERO and MZERO with their values.
9421 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9422 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9423 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9424 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9425 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9426 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9427 (__sqr): Likewise.
9428
d26dd3eb
SP
9429 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9430
0f6a8d4b
SP
9431 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9432
e57b0c61
RM
94332013-03-28 Roland McGrath <roland@hack.frob.com>
9434
9435 * include/stdlib.h [!SHARED] (__call_tls_dtors):
9436 Declare with __attribute__ ((weak)).
9437 * stdlib/exit.c (__libc_atexit) [!SHARED]:
9438 Call __call_tls_dtors only if it's not NULL.
9439
356b3480
RM
94402013-03-28 Roland McGrath <roland@hack.frob.com>
9441
288f7d79
RM
9442 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9443 didn't do it already, then set _dl_phdr and _dl_phnum based on the
9444 magic __ehdr_start linker symbol if it's defined.
9445 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9446 them up here if it was already done.
9447
dc0a0263
RM
9448 * elf/dl-support.c (_dl_phdr): Make pointer to const.
9449 (_dl_aux_init): Use const in cast when setting it.
9450 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9451 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9452 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9453
3d3436ae
RM
9454 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9455 Declare them here.
9456 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9457 * csu/libc-tls.c: Nor here.
9458 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9459
356b3480
RM
9460 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9461 (__libc_message): Never call vsyslog.
9462
b0f1246a
AM
94632013-03-28 Alan Modra <amodra@gmail.com>
9464
9465 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9466 Define as empty.
9467 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9468 Likewise.
9469
fbbe2b9a
AZ
94702013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9471
9472 [BZ #15214]
9473 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9474 underflow.
9475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9476
1728ab37
SP
94772013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9478
7a86be6e
SP
9479 [BZ #15304]
9480 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9481 Don't add gid passed as argument.
9482
1728ab37
SP
9483 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9484
3a7182a1
JM
94852013-03-27 Joseph Myers <joseph@codesourcery.com>
9486
9487 [BZ #15307]
9488 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9489 imaginary part between 1.0 and 1.5 and real part less than 0.5
9490 specially.
9491 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9492 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9493 * math/libm-test.inc (cacos_test): Add more tests.
9494 (casin_test): Likewise.
9495 (casinh_test): Likewise.
9496 * sysdeps/i386/fpu/libm-test-ulps: Update.
9497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9498
6f2e90e7
SP
94992013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9500
5739f705
SP
9501 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9502 constants.
9503 (norm): Likewise.
9504 (denorm): Likewise.
9505 (__dbl_mp): Likewise.
9506 (add_magnitudes): Likewise.
9507 (sub_magnitudes): Likewise.
9508 (__add): Likewise.
9509 (__sub): Likewise.
9510 (__mul): Likewise.
9511 (__sqr): Likewise.
9512 (__inv): Likewise.
9513 (__dvd): Likewise.
9514
e375e83d
SP
9515 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9516 commented code.
9517 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9518 (__dubcos): Likewise.
9519 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9520 (__ieee754_acos): Likewise.
9521 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9522 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9523 (__exp1): Likewise.
9524 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9525 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9526 (log1): Likewise.
9527 (my_log2): Likewise.
9528 (checkint): Likewise.
9529 * sysdeps/ieee754/dbl-64/e_remainder.c
9530 (__ieee754_remainder): Likewise.
9531 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9532 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9533 (bsloww): Likewise.
9534 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9535
6f2e90e7
SP
9536 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9537 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9538 MANTISSA_STORE_T to store computations on mantissa. Use
9539 macros for rounding and division.
9540 (denorm): Likewise.
9541 (__dbl_mp): Likewise.
9542 (add_magnitudes): Likewise.
9543 (sub_magnitudes): Likewise.
9544 (__mul): Likewise.
9545 (__sqr): Likewise.
9546 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9547 powers of two in terms of TWOPOW macro.
9548 (mp_no): Make type of mantissa as MANTISSA_T.
9549 [!RADIXI]: Define RADIXI.
9550 [!TWO52]: Define TWO52.
9551 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9552
fce14d4e
AZ
95532013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9554
9555 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9556 llroundl symbol when building for PPC32.
9557
9ad027fb
MW
95582013-03-24 Mark H Weaver <mhw@netris.org>
9559
9560 * manual/arith.texi (Normalization Functions): Fix prototypes for
9561 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9562
e42a38dd
AZ
95632013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9564
9565 [BZ #13889]
9566 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9567 high value to check if expl overflow.
9568 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9569 to check for underflow and overflow.
9570 * math/libm-test.inc: Add exp test.
9571
2e0fb521
DL
95722013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9573
9574 [BZ #11120]
9575 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9576 with NOT_IN_libc.
9577
b5784d95
AZ
95782013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9579
9580 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9581 symbol.
9582
5aa4a1a1
TS
95832013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9584
bdef0be7
TS
9585 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9586 wrap blocks consisting of several statements.
9587
5aa4a1a1
TS
9588 * sysdeps/generic/math-tests.h: New file.
9589 * sysdeps/i386/fpu/math-tests.h: Likewise.
9590 * math/test-snan.c: Include it.
9591 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9592
98c48fe5
JM
95932013-03-21 Joseph Myers <joseph@codesourcery.com>
9594
9595 [BZ #15285]
9596 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9597 (__ieee754_j0l): Do not improve calculations using cos of twice
9598 input for inputs above LDBL_MAX / 2.0L.
9599 (__ieee754_y0l): Likewise.
9600 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9601 (__ieee754_j1l): Do not improve calculations using cos of twice
9602 input for inputs above LDBL_MAX / 2.0L.
9603 (__ieee754_y1l): Likewise.
9604 * math/libm-test.inc (j0_test): Add another test.
9605 (j1_test): Likewise.
9606 (y0_test): Likewise.
9607 (y1_test): Likewise.
9608 * sysdeps/i386/fpu/libm-test-ulps: Update.
9609
3775a8bc
SP
96102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9611
9612 * Rules ($(objpfx)bench-%.c): Include code from a C source
9613 file.
9614
0a1b2ae6
JM
96152013-03-21 Joseph Myers <joseph@codesourcery.com>
9616
9617 [BZ #15287]
9618 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9619 imaginary part 1.0 and real part less than 0.5 specially.
9620 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9621 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9622 * math/libm-test.inc (cacos_test): Add more tests.
9623 (casin_test): Likewise.
9624 (casinh_test): Likewise.
9625 * sysdeps/i386/fpu/libm-test-ulps: Update.
9626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9627
b33d4ce4
SP
96282013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9629
9630 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9631 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9632
bef0b507
JM
96332013-03-20 Joseph Myers <joseph@codesourcery.com>
9634
9635 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9636 * config.make.in (config-cflags-sse4): Remove variable.
9637 (config-cflags-avx): Likewise.
9638 (config-cflags-sse2avx): Likewise.
9639 (config-cflags-novzeroupper): Likewise.
9640 (config-asflags-i686): Likewise.
9641 (have-mfma4): Likewise.
9642 (have-as-vis3): Likewise.
9643 (MIG): Likewise.
9644 * configure.in (MIG): Do not AC_SUBST.
9645 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9646 (libc_cv_cc_sse4): Do not AC_SUBST.
9647 (libc_cv_cc_avx): Likewise.
9648 (libc_cv_cc_sse2avx): Likewise.
9649 (libc_cv_cc_novzeroupper): Likewise.
9650 (libc_cv_cc_fma4): Likewise.
9651 (libc_cv_as_i686): Likewise.
9652 (libc_cv_sparc_as_vis3): Likewise.
9653 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9654 LIBC_CONFIG_VAR.
9655 (config-asflags-i686): Likewise.
9656 (config-cflags-avx): Likewise.
9657 (config-cflags-sse2avx): Likewise.
9658 (have-mfma4): Likewise.
9659 (config-cflags-novzeroupper): Likewise.
9660 * sysdeps/mach/configure.in (MIG): Likewise.
9661 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9662 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9663 LIBC_CONFIG_VAR.
9664 (config-cflags-avx): Likewise.
9665 (config-cflags-sse2avx): Likewise.
9666 (have-mfma4): Likewise.
9667 (config-cflags-novzeroupper): Likewise.
9668 * configure: Regenerated.
9669 * sysdeps/i386/configure: Likewise.
9670 * sysdeps/mach/configure: Likewise.
9671 * sysdeps/sparc/configure: Likewise.
9672 * sysdeps/x86_64/configure: Likewise.
9673
912cc4b3
RM
96742013-03-20 Roland McGrath <roland@hack.frob.com>
9675
9676 [BZ #14812]
9677 * locale/programs/localedef.c (options): Put N_ translation marker
9678 on argument names, not just descriptions.
9679
04eed2b0
MS
96802013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9681
9682 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9683
a065ceff
OB
96842013-03-20 Ondřej Bílka <neleai@seznam.cz>
9685
9bb2a810 9686 [BZ #14176]
a065ceff
OB
9687 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9688
a600e5ce
RM
96892013-03-19 Roland McGrath <roland@hack.frob.com>
9690
9691 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9692 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9693 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9694 [!BEFORE_ABORT] (before_abort): New function.
9695 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9696 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9697 (writev_for_fatal): New function.
9698 (WRITEV_FOR_FATAL): New macro; call that.
9699 (backtrace_and_maps): New function.
9700 (BEFORE_ABORT): New macro; call that.
9701 (struct str_list): Type removed.
9702 (__libc_message, __libc_fatal): Functions removed.
9703 Include <sysdeps/posix/libc_fatal.c> instead.
9704
6b18bea6
JM
97052013-03-19 Joseph Myers <joseph@codesourcery.com>
9706
9707 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9708 constants.
9709 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9710 double constants.
9711
aaa8cb4b
AS
97122013-03-19 Andreas Schwab <schwab@suse.de>
9713
44673770
AS
9714 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9715 * sysdeps/gnu/configure: Regenerate.
9716
aaa8cb4b
AS
9717 * configure.in: Substitute libc_cv_rtlddir.
9718 * configure: Regenerate.
9719 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9720 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9721 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9722 * elf/Makefile (install-others, CFLAGS-interp.c)
9723 (ldso_install, common-ldd-rewrite): Likewise.
9724 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9725 $(inst_slibdir)/$(rtld-installed-name).
9726 * scripts/rellns-sh: Add -p option.
9727 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9728 for source.
9729
d3cfc668
SP
97302013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9731
9732 * manual/nptl.texi: Renamed to ...
9733 * manual/threads.texi: ... this.
9734 * manual/Makefile (chapters): Update.
9735
0e2b9cdd
RM
97362013-03-18 Roland McGrath <roland@hack.frob.com>
9737
9738 [BZ #14812]
9739 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9740 on argument names, not just descriptions.
0e2b9cdd
RM
9741 * malloc/memusagestat.c (options): Likewise.
9742 * nss/getent.c (options): Likewise.
63270c24
RM
9743
97442013-03-18 Benno Schulenberg <bensberg@justemail.net>
9745
9746 [BZ #14812]
9747 * iconv/iconv_prog.c (options): Put N_ translation marker
9748 on argument names, not just descriptions.
9749 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9750
b2e1393c
OB
97512013-03-18 Ondrej Bilka <neleai@seznam.cz>
9752
9753 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9754 implementation which is faster on all x86_64 architectures.
9755 Tested on AMD, Intel Nehalem, SNB, IVB.
9756 * sysdeps/x86_64/strnlen.S: Likewise.
9757
9758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9759 Remove all multiarch strlen and strnlen versions.
9760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9761 Remove strlen and strnlen related parts.
9762
9763 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9764 Inline strlen part.
9765 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9766
9767 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9768 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9769 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9770 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9771 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9772 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9773
ec4ff04d
CD
97742013-03-17 Carlos O'Donell <carlos@redhat.com>
9775
9776 * manual/memory.texi (Malloc Tunable Parameters):
9777 Sort parameters alphabetically. Add comments for missing entries.
9778
cd18e90a
DM
97792013-03-17 David S. Miller <davem@davemloft.net>
9780
9781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9782
2a185d32
JM
97832013-03-16 Joseph Myers <joseph@codesourcery.com>
9784
d2f9799e
JM
9785 [BZ #15283]
9786 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9787 for arguments at most half maximum finite value.
9788 * math/libm-test.inc (j0_test): Add more tests.
9789 (j1_test): Likewise.
9790 (y0_test): Likewise.
9791 (y1_test): Likewise.
9792 * sysdeps/i386/fpu/libm-test-ulps: Update.
9793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9794
2a185d32
JM
9795 [BZ #14155]
9796 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9797 1 / x and functions P and Q for arguments above 0x1p256L.
9798 (__ieee754_y0l): Likewise.
9799 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9800 (__ieee754_y1l): Likewise.
9801 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9802 (j1_test): Likewise.
9803 (y0_test): Likewise.
9804 (y1_test): Likewise.
9805
6cbec759
TS
98062013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9807
9808 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9809 variable.
9810
bc16e260
RM
98112013-03-15 Roland McGrath <roland@hack.frob.com>
9812
aefc9b8c
RM
9813 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9814 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9815 zero since it's initialized to EXEC_PAGESIZE.
9816
bc16e260
RM
9817 * sysdeps/unix/sysv/linux/ldsodefs.h
9818 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9819 * sysdeps/generic/ldsodefs.h: ... here.
9820
a57da955
TS
98212013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9822
af00a34d
TS
9823 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9824
495ded2c
TS
9825 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9826 math/test-snan.c.
9827 * math/test-snan.c: Renamed from
9828 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9829 * math/Makefile (tests): Add test-snan.
9830 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9831 test-powerpc-snan.
9832
777b0332
TS
9833 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9834 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9835 functions.
9836 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9837 __builtin_nan family of functions.
9838 * math/libm-test.inc (initialize): Initialize qnan_value with
9839 __builtin_nan family of functions.
9840 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9841 Remove variables.
9842 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9843 Remove functions.
9844 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9845 storage class. Initialize qNaN_var and sNaN_var with
9846 __builtin_nan and __builtin_nans families of functions,
9847 respectively.
9848
64d063b8
TS
9849 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9850 (sqrt_test): Remove duplicate test with qNaN input.
9851 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9852 (round_test, signbit_test, significand_test): Note missing +/-Inf
9853 as well as qNaN tests.
9854
67e971f1
TS
9855 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9856 qNaN_var. Fix a few strings, too.
9857 * math/libm-test.inc (nan_value): Rename to qnan_value.
9858 * math/gen-libm-test.pl (%beautify): Adjust to that.
9859 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9860 * math/test-misc.c (main): Likewise.
9861 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9862 to __qnan_bytes, and __qnan_union, respectively.
9863 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9864 Likewise.
9865 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9866 and lqnanval, respectively.
9867 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9868 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9869 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9870 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9871
64487e12
TS
9872 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9873 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9874 doubles.
9875
e015e27b
TS
9876 * math/test-misc.c (main): Fix copy'n'pastos.
9877 * misc/tst-efgcvt.c (special): Likewise.
9878
a57da955
TS
9879 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9880 Remove declarations.
9881
1e380345
SP
98822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9883
9884 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9885 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9886 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9887 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9888
ef26eece
AZ
98892013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9890
9891 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9892 macro to return vdso values correctly in IFUNC implementations.
9893 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9894 Optimization by using IFUNC.
9895
8cfdb7e0
SP
98962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9897 Richard Henderson <rth@redhat.com>
9898 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9899
9900 * Makefile.in (bench): New target.
9901 * NEWS: Mention the benchmark framework.
9902 * Rules (bench): Likewise.
9903 (binaries-bench): Generate binaries for functions to
9904 benchmark.
9905 * benchtests/Makefile: New makefile for benchmark tests.
9906 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9907 programs.
9908 * benchtests/exp-inputs: New input file for EXP function.
9909 * benchtests/pow-inputs: New input file for POW function.
9910 * scripts/bench.pl: New script to generate source files for
9911 benchmark programs.
9912
bcda9880
SP
99132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9914
d22ca8cd
SP
9915 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9916 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9917 computations on mantissa. Use macros for rounding and
9918 division.
9919 (denorm): Likewise.
9920 (__dbl_mp): Likewise.
9921 (add_magnitudes): Likewise.
9922 (sub_magnitudes): Likewise.
9923 (__mul): Likewise.
9924 (__sqr): Likewise.
9925 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9926 powers of two in terms of TWOPOW macro.
9927 (mp_no): Make type of mantissa as MANTISSA_T.
9928 [!RADIXI]: Define RADIXI.
9929 [!TWO52]: Define TWO52.
9930 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9931
bcda9880
SP
9932 * manual/nptl.texi (cindex): Modify threads to pthreads.
9933
06d5adfb
JM
99342013-03-15 Joseph Myers <joseph@codesourcery.com>
9935
9936 * sysdeps/x86_64/preconfigure: Regenerated.
9937
41c7328e
JM
99382013-03-14 Joseph Myers <joseph@codesourcery.com>
9939
9940 [BZ #14155]
9941 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9942 0x1p28 and above.
9943 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9944 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9945 0x1p28 and above.
9946 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9947 * math/libm-test.inc (j0_test): Do not allow one spurious
9948 underflow exception.
9949 (y1_test): Likewise.
9950
e25cfa60
SP
99512013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9952
0409959c
SP
9953 * manual/Makefile (chapters): Add nptl.
9954 * manual/debug.texi (Debugging Support): Add link to Threads
9955 chapter.
9956 * manual/nptl.texi: New file.
9957
e25cfa60
SP
9958 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9959
58a1335e
PB
99602013-03-14 Petr Baudis <pasky@ucw.cz>
9961
9962 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9963 for non-NULL pointer before the memory validity test. Pointed
9964 out by Holger Brunck <holger.brunck@keymile.com>.
9965
9dc7c64f
AS
99662013-03-13 Andreas Schwab <schwab@suse.de>
9967
9968 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9969 instead of .os.
9970
54206aa6
JM
99712013-03-13 Joseph Myers <joseph@codesourcery.com>
9972
9973 * timezone/zic.c: Update from tzcode 2013b.
9974
e98cdb38
CD
99752013-03-12 Carlos O'Donell <carlos@redhat.com>
9976
9977 * manual/install.texi (Configuring and compiling):
9978 Mention i686 and i586.
9979 * INSTALL: Regenerate.
9980
9967e003
RM
99812013-03-12 Roland McGrath <roland@hack.frob.com>
9982
9983 * sysdeps/init_array/elf-init.c: New file.
9984 * csu/elf-init.c
9985 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9986 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9987
9988 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9989 __gmon_start__ as global, but as static with a .preinit_array pointer.
9990 * sysdeps/init_array/gmon-start.c: New file. Use that.
9991 * sysdeps/init_array/crti.S: New file, empty except for comments.
9992 * sysdeps/init_array/crtn.S: Likewise.
9993
e6b5a293 99942013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9995
9996 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9997 definining bcopy.
80f844c9
OB
9998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9999 Remove Prefer_SSE_for_memop.
10000 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10001 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10002 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
10003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10004 memset-x86-64.
80f844c9 10005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 10006 Remove bzero, memset ifunc support.
80f844c9
OB
10007 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10008 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10009 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10010 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10011
fb6b0fcb
AS
100122013-03-11 Andreas Schwab <schwab@suse.de>
10013
10014 [BZ #15234]
10015 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10016 by SHLIB_COMPAT.
10017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10018 (GLIBC_2.16): Remove pthread_atfork.
10019
3e6bd4b1
PP
100202013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10021
10022 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10023 (ptestcases.h): Likewise.
10024
222d7f00
RM
100252013-03-08 Roland McGrath <roland@hack.frob.com>
10026
10027 * Makeconfig ($(common-objpfx)config.status): Depend on
10028 sysdeps/*/preconfigure{,.in} too.
10029
1ba4f030
JM
100302013-03-08 Joseph Myers <joseph@codesourcery.com>
10031
a222d91a
JM
10032 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10033 (__free_hook): Use void * instead of __malloc_ptr_t.
10034 (__malloc_hook): Likewise.
10035 (__realloc_hook): Likewise.
10036 (__memalign_hook): Likewise.
10037 (__after_morecore_hook): Likewise.
10038 * malloc/arena.c (save_malloc_hook): Likewise.
10039 (save_free_hook): Likewise.
10040 * malloc/hooks.c (malloc_hook_ini): Likewise.
10041 (realloc_hook_ini): Likewise.
10042 (memalign_hook_ini): Likewise.
10043 * malloc/malloc.c (malloc_hook_ini): Likewise.
10044 (realloc_hook_ini): Likewise.
10045 (memalign_hook_ini): Likewise.
10046 (__free_hook): Likewise.
10047 (__malloc_hook): Likewise.
10048 (__realloc_hook): Likewise.
10049 (__memalign_hook): Likewise.
10050 (__libc_malloc): Likewise.
10051 (__libc_free): Likewise.
10052 (__libc_realloc): Likewise.
10053 (__libc_memalign): Likewise.
10054 (__libc_valloc): Likewise.
10055 (__libc_pvalloc): Likewise.
10056 (__libc_calloc): Likewise.
10057 (__posix_memalign): Likewise.
10058 * malloc/morecore.c (__sbrk): Likewise.
10059 (__default_morecore): Likewise.
10060
5cc45e10
JM
10061 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10062
dd54b864
JM
10063 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10064 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10065 __malloc_ptrdiff_t.
10066
1ba4f030
JM
10067 * malloc/malloc.h (__malloc_size_t): Remove macro.
10068 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10069 __malloc_size_t.
10070 (old_memalign_hook): Likewise.
10071 (old_realloc_hook): Likewise.
10072 (struct hdr): Likewise.
10073 (flood): Likewise.
10074 (mallochook): Likewise.
10075 (memalignhook): Likewise.
10076 (reallochook): Likewise.
10077 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10078 (tr_old_realloc_hook): Likewise.
10079 (tr_old_memalign_hook): Likewise.
10080 (tr_mallochook): Likewise.
10081 (tr_reallochook): Likewise.
10082 (tr_memalignhook): Likewise.
10083
edf66e57
AZ
100842013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10085
10086 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10087 default_ldbl_pack and using as default implementation.
10088 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10089 implementation.
10090 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10091 redundant definition.
10092 (ldbl_insert_mantissa): Likewise.
10093 (ldbl_canonicalize): Likewise.
10094 (ldbl_nearbyint): Likewise.
10095 (ldbl_pack): Rename to ldbl_pack_ppc.
10096 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10097 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10098 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10099
6d9145d8
SP
101002013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10101
10102 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10103 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10104 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10105 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10107 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10108 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10109 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10110
4dd4e157
AJ
101112013-03-07 Andreas Jaeger <aj@suse.de>
10112
10113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10114 bits/mman-linux.h.
10115
adbb8027
SP
101162013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10117
ce544b5b
SP
10118 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10119 Include mpa.h and declare __MPEXP.
10120 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10121 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10122 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10123 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10124 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10125 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10126 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10127
4cc149fd
SP
10128 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10129 (__slowpow): Use long double EXPL and LOGL functions to
10130 compute POW.
10131 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10132 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10133 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10134 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10135 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10136 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10137
e6ebd4a7
SP
10138 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10139 intermediate variable to calculate exponent.
10140 (__sqr): Likewise.
10141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10142 Likewise.
10143 (__sqr): Likewise.
10144
82a9811d
SP
10145 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10146 [!NO__SQR]: Define __sqr.
10147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10148 and NO__SQR. Remove all code except __mul and __sqr. Include
10149 sysdeps/ieee754/dbl-64/mpa.c.
10150 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10151
adbb8027
SP
10152 [BZ #12723]
10153 * posix/Makefile (tests): Add tst-pathconf.
10154 * posix/tst-pathconf.c: New test case.
10155 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10156 _PC_PIPE_BUF.
10157 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10158
39120df9
PF
101592013-03-06 Patsy Franklin <pfrankli@redhat.com>
10160
10161 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10162
67525cb8
AJ
101632013-03-06 Andreas Jaeger <aj@suse.de>
10164
664a9ce4
AJ
10165 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10166 definition via __MAP_ANONYMOUS.
10167
8e39047d
AJ
10168 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10169 it's not part of Linux headers.
10170
67525cb8
AJ
10171 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10172 (MAP_HUGE_MASK): Define.
10173
10174 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10175 Define.
10176 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10177 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10178 Define.
10179 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10180 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10181 Define.
10182 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10183 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10184 Define.
10185 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10186
10187 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10188 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10189 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10190 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10191 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10192 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10193
10194 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10195 Handle f2fs.
10196
10197 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10198 Handle f2fs and efivarfs.
10199
10200 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10201 f2fs.
10202
10203 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10204 (EFIVARFS_MAGIC): Add.
10205 (F2FS_LINK_MAX): Add.
10206
e1b42695
PP
102072013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10208
10209 * stdio-common/vfprintf.c: Replace __builtin_expect with
10210 __glibc_unlikely.
10211
2d67d91a
JM
102122013-03-06 Joseph Myers <joseph@codesourcery.com>
10213
10214 [BZ #13550]
10215 * sysdeps/generic/bp-sym.h: Remove file.
10216 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10217 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10218 <bp-sym.h> and <bp-asm.h>.
10219 (__longjmp): Don't use BP_SYM.
10220 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10221 and <bp-asm.h>.
10222 (memcpy): Don't use BP_SYM.
10223 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10224 <bp-sym.h> and <bp-asm.h>.
10225 (memcpy): Don't use BP_SYM.
10226 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10227 <bp-asm.h>.
10228 (memcpy): Don't use BP_SYM.
10229 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10230 <bp-asm.h>.
10231 (memset): Don't use BP_SYM.
10232 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10233 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10234 (__bzero): Don't use BP_SYM.
10235 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10236 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10237 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10238 <bp-sym.h> and <bp-asm.h>.
10239 (memcmp): Don't use BP_SYM. Remove comment about bounded
10240 pointers.
10241 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10242 <bp-sym.h> and <bp-asm.h>.
10243 (memcpy): Don't use BP_SYM.
10244 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10245 <bp-sym.h> and <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/strncmp.S: Don't include
10253 <bp-sym.h> and <bp-asm.h>.
10254 (strncmp): Don't use BP_SYM. Remove comment about bounded
10255 pointers.
10256 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10257 <bp-sym.h> and <bp-asm.h>.
10258 (memcpy): Don't use BP_SYM.
10259 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
10268 <bp-sym.h> and <bp-asm.h>.
10269 (__memchr): Don't use BP_SYM.
10270 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10271 <bp-sym.h> and <bp-asm.h>.
10272 (memcmp): Don't use BP_SYM. Remove comment about bounded
10273 pointers.
10274 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10275 <bp-sym.h> and <bp-asm.h>.
10276 (memcpy): Don't use BP_SYM.
10277 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10278 <bp-sym.h> and <bp-asm.h>.
10279 (__mempcpy): Don't use BP_SYM.
10280 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10281 <bp-sym.h> and <bp-asm.h>.
10282 (__memrchr): Don't use BP_SYM.
10283 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10284 <bp-sym.h> and <bp-asm.h>.
10285 (memset): Don't use BP_SYM.
10286 (__bzero): Likewise.
10287 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10288 <bp-sym.h> and <bp-asm.h>.
10289 (__rawmemchr): Don't use BP_SYM.
10290 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10291 <bp-sym.h> and <bp-asm.h>.
10292 (__STRCMP): Don't use BP_SYM.
10293 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10294 <bp-sym.h> and <bp-asm.h>.
10295 (strchr): Don't use BP_SYM.
10296 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10297 <bp-sym.h> and <bp-asm.h>.
10298 (__strchrnul): Don't use BP_SYM.
10299 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10300 <bp-sym.h> and <bp-asm.h>.
10301 (strlen): Don't use BP_SYM.
10302 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10303 <bp-sym.h> and <bp-asm.h>.
10304 (strncmp): Don't use BP_SYM. Remove comment about bounded
10305 pointers.
10306 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10307 <bp-sym.h> and <bp-asm.h>.
10308 (__strnlen): Don't use BP_SYM.
10309 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10310 <bp-sym.h> and <bp-asm.h>.
10311 (__GI__setjmp): Don't use BP_SYM.
10312 (_setjmp): Likewise.
10313 (__sigsetjmp): Likewise.
10314 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10315 (L(start_addresses)): Don't use BP_SYM.
10316 (_start): Likewise.
10317 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10318 <bp-asm.h>.
10319 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10320 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10321 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10322 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10323 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10324 <bp-asm.h>.
10325 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10326 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
10327 about bounded pointers.
10328 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10329 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10330 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10331 <bp-asm.h>.
10332 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10333 about bounded pointers. Remove GKM FIXME comments.
10334 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10335 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10336 <bp-asm.h>.
10337 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10338 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
10339 Remove GKM FIXME comments.
10340 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10341 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10342 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10343 <bp-asm.h>.
10344 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
10345 about bounded pointers. Remove GKM FIXME comment.
10346 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10347 and <bp-asm.h>.
10348 (strncmp): Don't use BP_SYM. Remove comment about bounded
10349 pointers.
10350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10351 <bp-sym.h> and <bp-asm.h>.
10352 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10354 <bp-sym.h> and <bp-asm.h>.
10355 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10356 comment.
10357
cdcf361f
PP
103582013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10359
10360 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10361 call free(NULL).
10362
3c4a2b15
DM
103632013-03-05 David S. Miller <davem@davemloft.net>
10364
10365 * po/es.po: Update from translation team.
10366
cdcf361f 103672013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
10368
10369 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10370 <bits/mman-linux.h>.
10371 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10372 is fine.
10373 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10374 <bits/mman-linux.h> to end of file.
10375 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10376 is fine.
10377 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10378 <bits/mman-linux.h> to end of file.
10379 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10380 is fine.
10381 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10382 <bits/mman-linux.h> to end of file.
10383
10384 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10385 (MCL_CURRENT, MCL_FUTURE): Define here.
10386
5f67c04f
AK
103872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10388
8a4473cc 10389 [BZ #15232]
5f67c04f
AK
10390 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10391 attribute_hidden.
10392 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10393
c3e94a95
AK
103942013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10395
10396 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10397 fourth parameter needed for rt_sigprocmask syscall.
10398 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10399 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10400 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10401 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10402 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10403 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10404
cfb6382a
JM
104052013-03-04 Joseph Myers <joseph@codesourcery.com>
10406
10407 [BZ #13550]
10408 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10409 comment about bounded pointers.
10410 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10411 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10412
539d8e01
AJ
104132013-03-04 Andreas Jaeger <aj@suse.de>
10414
10415 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10416 common definitions.
10417
10418 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10419 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10420 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10421 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10422 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
10423 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10424
2e167a70 104252013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
10426
10427 [BZ #15055]
10428 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10429 __ieee754_sqrl instead of __sqrl.
10430
68508633
JM
104312013-03-01 Joseph Myers <joseph@codesourcery.com>
10432
10433 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10434 * sysdeps/powerpc/fpu_control.h: ... here.
10435 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10436 * sysdeps/powerpc/bits/fenvinline.h: ... here.
10437 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10438 * sysdeps/powerpc/bits/mathinline.h: ... here.
10439
7775448e
RM
104402013-03-01 Roland McGrath <roland@hack.frob.com>
10441
10442 * elf/dl-hwcaps.c (_dl_important_hwcaps):
10443 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10444 to just [NEED_DL_SYSINFO_DSO].
10445 * elf/dl-support.c: Likewise.
10446 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10447 * elf/rtld.c (dl_main): Likewise.
10448 * elf/setup-vdso.h (setup_vdso): Likewise.
10449 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10450 * sysdeps/unix/sysv/linux/dl-sysdep.c
10451 (_dl_discover_osversion): Likewise.
10452
4e9b5995
CD
104532013-03-01 Carlos O'Donell <carlos@redhat.com>
10454
10455 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10456 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10457
e23872c8
SP
104582013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10459
e5c74c63
SP
10460 * NEWS: Mention libm performance improvements and non-x86 PI
10461 futex support.
10462
e23872c8
SP
10463 * csu/libc-start.c (__pthread_initialize_minimal): Change
10464 function arguments.
10465 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10466
b5510883
JM
104672013-02-28 Joseph Myers <joseph@codesourcery.com>
10468
10469 [BZ #13550]
10470 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10471 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10472 <bp-sym.h> and <bp-asm.h>.
10473 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10474 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10475 and <bp-asm.h>.
10476 (memcpy): Don't use BP_SYM.
10477 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10478 <bp-asm.h>.
10479 (__mpn_add_n): Don't use BP_SYM.
10480 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10481 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10482 and <bp-asm.h>.
10483 (__mpn_addmul_1): Don't use BP_SYM.
10484 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10485 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10486 <bp-sym.h>.
10487 (_setjmp): Don't use BP_SYM.
10488 (__novmx_setjmp): Likewise.
10489 (__GI__setjmp): Likewise.
10490 (__vmx_setjmp): Likewise.
10491 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10492 <bp-sym.h>.
10493 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10494 (__bzero): Don't use BP_SYM.
10495 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10496 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10497 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10498 <bp-sym.h> and <bp-asm.h>.
10499 (memcpy): Don't use BP_SYM.
10500 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10501 <bp-sym.h> and <bp-asm.h>.
10502 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10503 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10504 <bp-sym.h> and <bp-asm.h>.
10505 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10506 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10507 <bp-asm.h>.
10508 (__mpn_lshift): Don't use BP_SYM.
10509 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10510 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10511 <bp-asm.h>.
10512 (memset): Don't use BP_SYM.
10513 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10514 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10515 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10516 <bp-asm.h>.
10517 (__mpn_mul_1): Don't use BP_SYM.
10518 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10519 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10520 <bp-sym.h> and <bp-asm.h>.
10521 (memcmp): Don't use BP_SYM.
10522 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10523 <bp-sym.h> and <bp-asm.h>.
10524 (memcpy): Don't use BP_SYM.
10525 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10526 <bp-sym.h> and <bp-asm.h>.
10527 (memset): Don't use BP_SYM.
10528 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10529 <bp-sym.h> and <bp-asm.h>.
10530 (strncmp): Don't use BP_SYM.
10531 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10532 <bp-sym.h> and <bp-asm.h>.
10533 (memcpy): Don't use BP_SYM.
10534 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10535 <bp-sym.h> and <bp-asm.h>.
10536 (memset): Don't use BP_SYM.
10537 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10538 <bp-sym.h> and <bp-asm.h>.
10539 (__memchr): Don't use BP_SYM.
10540 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10541 <bp-sym.h> and <bp-asm.h>.
10542 (memcmp): Don't use BP_SYM.
10543 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10544 <bp-sym.h> and <bp-asm.h>.
10545 (memcpy): Don't use BP_SYM.
10546 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10547 <bp-sym.h> and <bp-asm.h>.
10548 (__mempcpy): Don't use BP_SYM.
10549 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10550 <bp-sym.h> and <bp-asm.h>.
10551 (__memrchr): Don't use BP_SYM.
10552 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10553 <bp-sym.h> and <bp-asm.h>.
10554 (memset): Don't use BP_SYM.
10555 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10556 <bp-sym.h> and <bp-asm.h>.
10557 (__rawmemchr): Don't use BP_SYM.
10558 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10559 <bp-sym.h> and <bp-asm.h>.
10560 (__STRCMP): Don't use BP_SYM.
10561 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10562 <bp-sym.h> and <bp-asm.h>.
10563 (strchr): Don't use BP_SYM.
10564 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10565 <bp-sym.h> and <bp-asm.h>.
10566 (__strchrnul): Don't use BP_SYM.
10567 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10568 <bp-sym.h> and <bp-asm.h>.
10569 (strlen): Don't use BP_SYM.
10570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10571 <bp-sym.h> and <bp-asm.h>.
10572 (strncmp): Don't use BP_SYM.
10573 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10574 <bp-sym.h> and <bp-asm.h>.
10575 (__strnlen): Don't use BP_SYM.
10576 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10577 <bp-asm.h>.
10578 (__mpn_rshift): Don't use BP_SYM.
10579 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10580 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10581 <bp-sym.h> and <bp-asm.h>.
10582 (__sigsetjmp): Don't use BP_SYM.
10583 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10584 (L(start_addresses)): Don't use BP_SYM.
10585 (_start): Likewise.
10586 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10587 <bp-asm.h>.
10588 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10589 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10590 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10591 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10592 <bp-asm.h>.
10593 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10594 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10595 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10596 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10597 <bp-asm.h>.
10598 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10599 comments.
10600 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10601 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10602 <bp-asm.h>.
10603 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10604 FIXME comments.
10605 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10606 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10607 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10608 <bp-asm.h>.
10609 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10610 comment.
10611 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10612 and <bp-asm.h>.
10613 (strncmp): Don't use BP_SYM,
10614 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10615 <bp-asm.h>.
10616 (__mpn_sub_n): Don't use BP_SYM.
10617 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10618 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10619 and <bp-asm.h>.
10620 (__mpn_submul_1): Don't use BP_SYM.
10621 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10623 <bp-sym.h> and <bp-asm.h>.
10624 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10626 <bp-sym.h> and <bp-asm.h>.
10627 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10628 comment.
10629
8d19fe64
SP
106302013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10631
10632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10633 Use ZK to minimize writes to Z.
10634 (sub_magnitudes): Simplify code a bit.
10635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10636 Use ZK to minimize writes to Z.
10637 (sub_magnitudes): Simplify code a bit.
10638
85bd816a
RM
106392013-02-27 Roland McGrath <roland@hack.frob.com>
10640
10641 * csu/gmon-start.c: Add special exception to license text.
10642
b5977bf2
RH
106432013-02-27 Richard Henderson <rth@redhat.com>
10644
10645 * scripts/config.guess: Update from config.git.
10646 * scripts/config.sub: Likewise.
10647
11d6e2f2
SP
106482013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10649
09c14ed2
SP
10650 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10651
a688864e
SP
10652 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10653
6295157a
SP
10654 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10655
b8de2202
SP
10656 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10657
11d6e2f2
SP
10658 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10659
7e80ddb8
RM
106602013-02-26 Roland McGrath <roland@hack.frob.com>
10661
10662 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10663 [$(build-shared = yes].
7e80ddb8 10664
7da6d9ed
SP
106652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10666
45f05884
SP
10667 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10668 (__mul): Reduce iterations for calculating mantissa.
10669
2236d359
SP
10670 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10671 MPTWO.
10672 (__mpranred): Likewise.
10673
7da6d9ed
SP
10674 [BZ #15160]
10675 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10676 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10677
b7688c42
PE
106782013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10679
10680 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10681 Define __attribute__.
10682
53a5c423
SP
106832013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10684
10685 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10686 unused.
10687 * posix/regex_internal.h (__attribute): Remove.
10688 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10689 (re_string_context_at): Likewise.
10690 (bitset_not): Use __attribute__ and mark function as possibly
10691 unused.
10692 (bitset_merge): Likewise.
10693 (bitset_mask): Likewise.
10694 (re_string_char_size_at): Likewise.
10695 (re_string_wchar_at): Likewise.
10696 (re_string_elem_size_at): Likewise.
10697
60f5a8b5
SP
106982013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10699
2a983a2e
SP
10700 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10701 code.
10702 (cc32): Likewise.
10703
e69804d1
SP
10704 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10705 (__acr): Likewise.
10706 (__cpy): Likewise.
10707 (norm): Likewise.
10708 (denorm): Likewise.
10709 (__dbl_mp): Likewise.
10710 (add_magnitudes): Likewise.
10711 (sub_magnitudes): Likewise.
10712 (__mul): Likewise.
10713 (__inv): Likewise.
10714
2f22a1e8
SP
10715 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10716 style.
10717
8930ddc7
SP
10718 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10719 style.
10720
dc60cb11
SP
10721 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10722 code.
10723
60f5a8b5
SP
10724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10725 up changes with default code.
10726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10727 Likewise.
10728
b4d1fd33
AM
107292013-02-24 Allan McRae <allan@archlinux.org>
10730
faf6f8bc
AM
10731 * manual/socket.texi (The Internet Namespace): Order menu items
10732 to match that in the file.
10733
b4d1fd33
AM
10734 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10735 node listing of the info page menu.
10736
2366713d
JM
107372013-02-21 Joseph Myers <joseph@codesourcery.com>
10738
10739 [BZ #13550]
10740 * sysdeps/i386/bp-asm.h: Remove file.
10741 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10742 (PARMS): Do not use macros from bp-asm.h.
10743 (S1): Likewise.
10744 (S2): Likewise.
10745 (SIZE): Likewise.
10746 (__mpn_add_n): Do not use BP_SYM
10747 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10748 "bp-asm.h".
10749 (PARMS): Do not use macros from bp-asm.h.
10750 (S1): Likewise.
10751 (SIZE): Likewise.
10752 (__mpn_addmul_1): Do not use BP_SYM
10753 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10754 "bp-asm.h".
10755 (PARMS): Do not use macros from bp-asm.h.
10756 (SIGMSK): Likewise.
10757 (_setjmp): Likewise. Do not use BP_SYM.
10758 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10759 "bp-asm.h".
10760 (PARMS): Do not use macros from bp-asm.h.
10761 (SIGMSK): Likewise.
10762 (setjmp): Likewise. Do not use BP_SYM.
10763 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10764 "bp-asm.h".
10765 (PARMS): Do not use macros from bp-asm.h.
10766 (__frexp): Do not use BP_SYM.
10767 (frexp): Likewise.
10768 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10769 "bp-asm.h".
10770 (PARMS): Do not use macros from bp-asm.h.
10771 (__frexpf): Do not use BP_SYM.
10772 (frexpf): Likewise.
10773 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10774 "bp-asm.h".
10775 (PARMS): Do not use macros from bp-asm.h.
10776 (__frexpl): Do not use BP_SYM.
10777 (frexpl): Likewise.
10778 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10779 "bp-asm.h".
10780 (PARMS): Do not use macros from bp-asm.h.
10781 (__remquo): Do not use BP_SYM.
10782 (remquo): Likewise.
10783 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10784 "bp-asm.h".
10785 (PARMS): Do not use macros from bp-asm.h.
10786 (__remquof): Do not use BP_SYM.
10787 (remquof): Likewise.
10788 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10789 "bp-asm.h".
10790 (PARMS): Do not use macros from bp-asm.h.
10791 (__remquol): Do not use BP_SYM.
10792 (remquol): Likewise.
10793 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10794 "bp-asm.h".
10795 (PARMS): Do not use macros from bp-asm.h.
10796 (DEST): Likewise.
10797 (SRC): Likewise.
10798 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10799 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10800 "bp-asm.h".
10801 (PARMS): Do not use macros from bp-asm.h.
10802 (strlen): Do not use BP_SYM.
10803 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10804 "bp-asm.h".
10805 (PARMS): Do not use macros from bp-asm.h.
10806 (S1): Likewise.
10807 (S2): Likewise.
10808 (SIZE): Likewise.
10809 (__mpn_add_n): Do not use BP_SYM.
10810 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10811 "bp-asm.h".
10812 (PARMS): Do not use macros from bp-asm.h.
10813 (S1): Likewise.
10814 (SIZE): Likewise.
10815 (__mpn_addmul_1): Do not use BP_SYM.
10816 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10817 weak_alias.
10818 (bzero): Likewise.
10819 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10820 "bp-asm.h".
10821 (PARMS): Do not use macros from bp-asm.h.
10822 (S): Likewise.
10823 (SIZE): Likewise.
10824 (__mpn_lshift): Do not use BP_SYM.
10825 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10826 "bp-asm.h".
10827 (PARMS): Do not use macros from bp-asm.h.
10828 (DEST): Likewise.
10829 (SRC): Likewise.
10830 (LEN): Likewise.
10831 (memcpy): Likewise. Do not use BP_SYM.
10832 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10833 libc_hidden_def and weak_alias.
10834 (mempcpy): Do not use BP_SYM in weak_alias.
10835 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10836 "bp-asm.h".
10837 (PARMS): Do not use macros from bp-asm.h.
10838 (DEST): Likewise.
10839 (LEN): Likewise.
10840 [!BZERO_P] (CHR): Likewise.
10841 (memset): Likewise. Do not use BP_SYM.
10842 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10843 "bp-asm.h".
10844 (PARMS): Do not use macros from bp-asm.h.
10845 (S1): Likewise.
10846 (SIZE): Likewise.
10847 (__mpn_mul_1): Do not use BP_SYM.
10848 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10849 "bp-asm.h".
10850 (PARMS): Do not use macros from bp-asm.h.
10851 (S): Likewise.
10852 (SIZE): Likewise.
10853 (__mpn_rshift): Do not use BP_SYM.
10854 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10855 "bp-asm.h".
10856 (PARMS): Do not use macros from bp-asm.h.
10857 (STR): Likewise.
10858 (CHR): Likewise.
10859 (strchr): Likewise. Do not use BP_SYM.
10860 (index): Do not use BP_SYM in weak_alias.
10861 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10862 "bp-asm.h".
10863 (PARMS): Do not use macros from bp-asm.h.
10864 (DEST): Likewise.
10865 (SRC): Likewise.
10866 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10867 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10868 "bp-asm.h".
10869 (PARMS): Do not use macros from bp-asm.h.
10870 (strlen): Do not use BP_SYM.
10871 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10872 "bp-asm.h".
10873 (PARMS): Do not use macros from bp-asm.h.
10874 (S1): Likewise.
10875 (S2): Likewise.
10876 (SIZE): Likewise.
10877 (__mpn_sub_n): Do not use BP_SYM.
10878 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10879 "bp-asm.h".
10880 (PARMS): Do not use macros from bp-asm.h.
10881 (S1): Likewise.
10882 (SIZE): Likewise.
10883 (__mpn_submul_1): Do not use BP_SYM.
10884 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10885 "bp-asm.h".
10886 (PARMS): Do not use macros from bp-asm.h.
10887 (S1): Likewise.
10888 (S2): Likewise.
10889 (SIZE): Likewise.
10890 (__mpn_add_n): Do not use BP_SYM.
10891 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10892 weak_alias.
10893 (bzero): Likewise.
10894 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10895 "bp-asm.h".
10896 (PARMS): Do not use macros from bp-asm.h.
10897 (BLK2): Likewise.
10898 (LEN): Likewise.
10899 (memcmp): Do not use BP_SYM.
10900 (bcmp): Do not use BP_SYM in weak_alias.
10901 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10902 "bp-asm.h".
10903 (PARMS): Do not use macros from bp-asm.h.
10904 (DEST): Likewise.
10905 (SRC): Likewise.
10906 (LEN): Likewise.
10907 (memcpy): Likewise. Do not use BP_SYM.
10908 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10909 "bp-asm.h".
10910 (PARMS): Do not use macros from bp-asm.h.
10911 (DEST): Likewise.
10912 (SRC): Likewise.
10913 (LEN): Likewise.
10914 (memmove): Likewise. Do not use BP_SYM.
10915 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10916 "bp-asm.h".
10917 (PARMS): Do not use macros from bp-asm.h.
10918 (DEST): Likewise.
10919 (SRC): Likewise.
10920 (LEN): Likewise.
10921 (__mempcpy): Likewise. Do not use BP_SYM.
10922 (mempcpy): Do not use BP_SYM in weak_alias.
10923 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
10928 [!BZERO_P] (CHR): Likewise.
10929 (memset): Likewise. Do not use BP_SYM.
10930 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10931 "bp-asm.h".
10932 (PARMS): Do not use macros from bp-asm.h.
10933 (STR2): Likewise.
10934 (strcmp): Do not use BP_SYM.
10935 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10936 "bp-asm.h".
10937 (PARMS): Do not use macros from bp-asm.h.
10938 (STR): Likewise.
10939 (DELIM): Likewise.
10940 [USE_AS_STRTOK_R] (SAVE): Likewise.
10941 (FUNCTION): Likewise. Do not use BP_SYM.
10942 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10943 aliases.
10944 (strtok_r): Likewise.
10945 (__GI___strtok_r): Likewise.
10946 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10947 (PARMS): Do not use macros from bp-asm.h.
10948 (S): Likewise.
10949 (SIZE): Likewise.
10950 (__mpn_lshift): Do not use BP_SYM.
10951 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10952 (PARMS): Do not use macros from bp-asm.h.
10953 (STR): Likewise.
10954 (CHR): Likewise.
10955 (__memchr): Do not use BP_SYM.
10956 (memchr): Do not use BP_SYM in weak_alias.
10957 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10958 (PARMS): Do not use macros from bp-asm.h.
10959 (BLK2): Likewise.
10960 (LEN): Likewise.
10961 (memcmp): Do not use BP_SYM.
10962 (bcmp): Do not use BP_SYM in weak_alias.
10963 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10964 (PARMS): Do not use macros from bp-asm.h.
10965 (S1): Likewise.
10966 (SIZE): Likewise.
10967 (__mpn_mul_1): Do not use BP_SYM.
10968 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10969 "bp-asm.h".
10970 (PARMS): Do not use macros from bp-asm.h.
10971 (STR): Likewise.
10972 (CHR): Likewise.
10973 (__rawmemchr): Do not use BP_SYM.
10974 (rawmemchr): Do not use BP_SYM in weak_alias.
10975 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10976 (PARMS): Do not use macros from bp-asm.h.
10977 (S): Likewise.
10978 (SIZE): Likewise.
10979 (__mpn_rshift): Do not use BP_SYM.
10980 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10981 (PARMS): Do not use macros from bp-asm.h.
10982 (SIGMSK): Likewise.
10983 (__sigsetjmp): Likewise. Do not use BP_SYM.
10984 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10985 (_start): Do not use BP_SYM.
10986 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10987 (PARMS): Do not use macros from bp-asm.h.
10988 (DEST): Likewise.
10989 (SRC): Likewise.
10990 (__stpcpy): Likewise. Do not use BP_SYM.
10991 (stpcpy): Do not use BP_SYM in weak_alias.
10992 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10993 "bp-asm.h".
10994 (PARMS): Do not use macros from bp-asm.h.
10995 (DEST): Likewise.
10996 (SRC): Likewise.
10997 (LEN): Likewise.
10998 (__stpncpy): Likewise. Do not use BP_SYM.
10999 (stpncpy): Do not use BP_SYM in weak_alias.
11000 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11001 (PARMS): Do not use macros from bp-asm.h.
11002 (STR): Likewise.
11003 (CHR): Likewise.
11004 (strchr): Likewise. Do not use BP_SYM.
11005 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11006 "bp-asm.h".
11007 (PARMS): Do not use macros from bp-asm.h.
11008 (STR): Likewise.
11009 (CHR): Likewise.
11010 (__strchrnul): Likewise. Do not use BP_SYM.
11011 (strchrnul): Do not use BP_SYM in weak_alias.
11012 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11013 "bp-asm.h".
11014 (PARMS): Do not use macros from bp-asm.h.
11015 (STOP): Likewise.
11016 (strcspn): Do not use BP_SYM.
11017 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11018 "bp-asm.h".
11019 (PARMS): Do not use macros from bp-asm.h.
11020 (STR): Likewise.
11021 (STOP): Likewise.
11022 (strpbrk): Likewise. Do not use BP_SYM.
11023 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11024 "bp-asm.h".
11025 (PARMS): Do not use macros from bp-asm.h.
11026 (STR): Likewise.
11027 (CHR): Likewise.
11028 (strrchr): Likewise. Do not use BP_SYM.
11029 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11030 (PARMS): Do not use macros from bp-asm.h.
11031 (SKIP): Likewise.
11032 (strspn): Do not use BP_SYM.
11033 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11034 (PARMS): Do not use macros from bp-asm.h.
11035 (STR): Likewise.
11036 (DELIM): Likewise.
11037 (SAVE): Likewise.
11038 (FUNCTION): Likewise. Do not use BP_SYM.
11039 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11040 aliases.
11041 (strtok_r): Likewise.
11042 (__GI___strtok_r): Likewise.
11043 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11044 (PARMS): Do not use macros from bp-asm.h.
11045 (S1): Likewise.
11046 (S2): Likewise.
11047 (SIZE): Likewise.
11048 (__mpn_sub_n): Do not use BP_SYM.
11049 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11050 "bp-asm.h".
11051 (PARMS): Do not use macros from bp-asm.h.
11052 (S1): Likewise.
11053 (SIZE): Likewise.
11054 (__mpn_submul_1): Do not use BP_SYM.
11055 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11056 <bp-sym.h>.
11057 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11058 and <bp-asm.h>.
11059 (PARMS): Do not use macros from bp-asm.h.
11060 (FLAGS): Likewise.
11061 (PTID): Likewise.
11062 (TLS): Likewise.
11063 (CTID): Likewise.
11064 (__clone): Do not use BP_SYM.
11065 (clone): Do not use BP_SYM in weak_alias.
11066 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11067 and <bp-asm.h>.
11068 (PARMS): Do not use macros from bp-asm.h.
11069 (LEN): Likewise.
11070 (__mmap64): Do not use BP_SYM.
11071 (mmap64): Do not use BP_SYM in weak_alias.
11072 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11073 <bp-sym.h> and <bp-asm.h>.
11074 (PARMS): Do not use macros from bp-asm.h.
11075 (__posix_fadvise64_l64): Do not use BP_SYM.
11076 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11077 (PARMS): Do not use macros from bp-asm.h.
11078 (NSOPS): Likewise.
11079 (semtimedop): Do not use BP_SYM.
11080 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11081 and <bp-asm.h>.
11082
582a3cff
AM
110832013-02-21 Allan McRae <allan@archlinux.org>
11084
11085 * manual/message.texi (Charset conversion in gettext):
11086 Move @end statement to beginning of line.
11087
bab8a695
SP
110882013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11089
80945231
SP
11090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11091 static.
11092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11093 Likewise.
11094
bab8a695
SP
11095 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11096 (denorm): Likewise.
11097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11099
e21d7aa7
AK
111002013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11101
11102 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11103 tail-call to the resolved function if pltexit isn't needed.
11104
4c7a4263
SP
111052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11106
11107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11108 or Y being zero as being unlikely.
11109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11110 Likewise.
11111
41f49342
CD
111122013-02-20 Carlos O'Donell <carlos@redhat.com>
11113
11114 * manual/nss.texi (System Databases and Name Service Switch):
11115 Remove frobnicate @pxref.
11116
50022a93
TS
111172013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11118
11119 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11120 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11121
08cbd996
PM
111222013-02-20 Petr Machata <pmachata@redhat.com>
11123
11124 * elf/elf.h (R_ARM_TARGET1): New macro.
11125 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11126 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11127 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11128 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11129 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11130 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11131 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11132 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11133 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11134 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11135 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11136 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11137 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11138 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11139 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11140 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11141 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11142 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11143 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11144 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11145 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11146 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11147 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11148 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11149 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11150 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11151 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11152 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11153 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11154 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11155 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11156 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11157 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11158 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11159 (R_ARM_THM_GOT_BREL12): Likewise.
11160 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11161 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11162 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11163 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11164 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11165 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11166 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11167 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11168 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11169
c7b275d6
TS
111702013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11171
11172 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11173 __attribute_used__ to __attribute__ ((unused)).
11174
20cd7fb3
SP
111752013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11176
11177 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11178 powerpc mpa.c.
11179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11180 comment formatting.
11181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11182
92945b52
JM
111832013-02-19 Joseph Myers <joseph@codesourcery.com>
11184
11185 [BZ #13550]
11186 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11187 Remove macro.
11188 (ENTER): Remove both macro definitions.
11189 (LEAVE): Likewise.
11190 (CHECK_BOUNDS_LOW): Likewise.
11191 (CHECK_BOUNDS_HIGH): Likewise.
11192 (CHECK_BOUNDS_BOTH): Likewise.
11193 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11194 (RETURN_BOUNDED_POINTER): Likewise.
11195 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11196 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11197 (POP_ERRNO_LOCATION_RETURN): Likewise.
11198 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11199 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11200 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11201 macros.
11202 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11203 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11204 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11205 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11206 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11207 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11208 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11209 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11210 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11211 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11212 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11213 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11214 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11215 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11216 removed macros.
11217 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11218 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11219 macros.
11220 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11221 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11222 * sysdeps/i386/i586/memset.S (memset): Likewise.
11223 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11224 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11225 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11226 macros.
11227 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11228 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11229 Change uses of L(2) to L(out).
11230 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11231 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11232 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11233 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11234 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11235 removed macros.
11236 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11237 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11238 macros.
11239 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11240 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11241 (RETURN): Do not use macro LEAVE.
11242 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11243 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11244 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11245 * sysdeps/i386/i686/memset.S (memset): Likewise.
11246 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11247 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11248 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11249 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11250 Likewise.
11251 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11252 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11253 L(1_2) and L(1_3) into L(1).
11254 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11255 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11256 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11257 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11258 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11259 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11260 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11261 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11262 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11263 macros.
11264 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11265 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11266 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11267 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11268 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11269 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11270 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11271 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11272 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11273 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11274 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11275 * sysdeps/i386/strspn.S (strspn): Likewise.
11276 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11277 conditional code.
11278 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11279 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11280 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11281 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11282 L(1_3) into L(1_1).
11283 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11284 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11285 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11286 macros.
11287 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11288
2389741a
JJ
112892013-02-19 Jakub Jelinek <jakub@redhat.com>
11290
11291 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11292 macro.
11293
2016b3cd
SP
112942013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11295
e4f22324
SP
11296 * math/atest-exp.c (exp_mpn): Remove ROUND.
11297 * math/atest-exp2.c (exp_mpn): Likewise.
11298 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11299
2016b3cd
SP
11300 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11301 * stdlib/tst-tls-atexit-lib.c: Likewise.
11302 * stdlib/tst-tls-atexit.c: Likewise.
11303
4be9b544
MF
113042013-02-18 Mike Frysinger <vapier@gentoo.org>
11305
11306 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11307 and __attribute_alloc_size__.
11308
2f62b9ee
MF
113092013-02-18 Mike Frysinger <vapier@gentoo.org>
11310
11311 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11312 __attribute_alloc_size__.
11313 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11314 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11315
6ff444c4
MF
113162013-02-18 Mike Frysinger <vapier@gentoo.org>
11317
11318 * include/programs/xmalloc.h: New file.
11319 * catgets/gencat.c: Include it.
11320 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11321 * elf/pldd.c: Likewise.
11322 * iconv/iconv_charmap.c: Likewise.
11323 * iconv/iconvconfig.c: Likewise.
11324 * iconv/strtab.c: Likewise.
11325 * locale/programs/locale.c: Likewise.
11326 * locale/programs/localedef.h: Likewise.
11327 * locale/programs/simple-hash.c: Likewise.
11328 * nscd/nscd.h: Likewise.
11329 * nss/makedb.c: Likewise.
11330 * sysdeps/generic/ldconfig.h: Likewise.
11331
be179c8a
SP
113322013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11333
ba384f6e
SP
11334 * Versions.def: Add GLIBC_2.18.
11335 * include/link.h (struct link_map): New member l_tls_dtor_count.
11336 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11337 (__call_tls_dtors): Likewise.
11338 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11339 __cxa_thread_atexit_impl.
11340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11341 Likewise.
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11343 Likewise.
11344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11345 Likewise.
11346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11347 Likewise.
11348 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11350 Likewise.
11351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11352 Likewise.
11353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11355 Likewise.
11356 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11357 (tests): Add test case tst-tls-atexit.
11358 (modules-names): Add shared library for tst-tls-atexit.
85891aca 11359 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
11360 (GLIBC_PRIVATE): Add __call_tls_dtors.
11361 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11362 for libstdc++.
11363 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11364 * stdlib/tst-tls-atexit.c: New test case.
11365 * stdlib/tst-tls-atexit-lib.c: New test case.
11366
ffaa74cf 11367 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 11368
be179c8a
SP
11369 * elf/Versions (ld): Add _dl_find_dso_for_object.
11370 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11371 * elf/dl-open.c (_dl_find_dso_for_object): New function.
11372 (dl_open_worker): Use _dl_find_dso_for_object.
11373 * elf/dl-sym.c (do_sym): Likewise.
11374 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11375
f78b5caa
AK
113762013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11377
11378 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11379 Syntactic changes only.
11380 (_dl_runtime_profile): Do a tail-call to the resolved function.
11381
29691210
JM
113822013-02-17 Joseph Myers <joseph@codesourcery.com>
11383
11384 [BZ #13550]
11385 * sysdeps/x86_64/bp-asm.h: Remove file.
11386 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11387 <bp-sym.h> and <bp-asm.h>.
11388 (__clone): Do not use BP_SYM.
11389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11390 <bp-sym.h> and <bp-asm.h>.
11391 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11392 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11393 "bp-asm.h".
11394 (_setjmp): Do not use BP_SYM.
11395 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11396 "bp-asm.h".
11397 (setjmp): Do not use BP_SYM.
11398 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11399 libc_hidden_def.
11400 (mempcpy): Do not use BP_SYM in weak_alias.
11401 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11402 "bp-asm.h".
11403 (strchr): Do not use BP_SYM.
11404 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11405 "bp-asm.h".
11406 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11407 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11408 (_start): Do not use BP_SYM.
11409 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11410 "bp-asm.h".
11411 (strcat): Do not use BP_SYM.
11412 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11413 "bp-asm.h".
11414 (STRCMP): Do not use BP_SYM.
11415 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11416 "bp-asm.h".
11417 (STRCPY): Do not use BP_SYM.
11418 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11419 "bp-asm.h".
11420 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11421 "bp-asm.h".
11422 (FUNCTION): Do not use BP_SYM.
11423 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11424 weak_alias.
11425 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11426
f238fd19
AJ
114272013-02-17 Andreas Jaeger <aj@suse.de>
11428
11429 * time/Versions: Sort entries.
11430 * string/Versions: Likewise.
11431 * resolv/Versions: Likewise.
11432 * posix/Versions: Likewise.
11433 * iconv/Versions: Likewise.
11434 * elf/Versions: Likewise.
11435 * wcsmbs/Versions: Likewise.
11436
bd07f23c 114372013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 11438
22af19f9
SP
11439 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11440 loop termination condition.
11441
4709fe76
SP
11442 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11443 variable to calculate EZ.
11444 (__sqr): Likewise.
2d0e0f29
SP
11445
11446 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11447 the lower precision input.
11448
daaa7713
JM
114492013-02-15 Joseph Myers <joseph@codesourcery.com>
11450
11451 [BZ #13550]
11452 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11453 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11454 (run-via-rtld-prefix): Do not handle %-bp tests.
11455 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11456 (all-object-suffixes): Remove .ob.
11457 (bppfx): Remove variable.
11458 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11459 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11460 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11461 [$(build-bounded) = yes] (libtype.ob): Likewise.
11462 * Makerules (elide-routines.ob): Remove variable.
11463 (do-tests-clean): Do not handle *-bp.out.
11464 (common-mostlyclean): Do not handle *-bp and *-bp.out.
11465 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11466 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11467 (tests): Do not include $(tests-bp.out).
11468 (xtests): Do not include $(xtests-bp.out).
11469 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11470 [$(build-bounded) = yes] ($(addprefix
11471 $(objpfx),$(binaries-bounded))): Remove rule.
11472 ($(objpfx)%-bp.out): Remove rule.
11473 * config.make.in (build-bounded): Remove variable.
11474 * crypt/Makefile [$(build-bounded) = yes]
11475 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11476 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11477 append to variable.
11478 [$(build-bounded) = yes] (install-lib): Likewise.
11479 [$(build-bounded) = yes] (generated): Likewise.
11480 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11481 Remove rule.
11482 * intl/Makefile [$(build-bounded) = yes]
11483 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11484 * math/Makefile [$(build-bounded) = yes]
11485 ($(tests:%=$(objpfx)%-bp): Likewise.
11486 * misc/Makefile [$(build-bounded) = yes]
11487 ($(objpfx)tst-tsearch-bp): Likewise.
11488 * nptl/Makeconfig (bounded-thread-library): Remove variable.
11489 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11490 Remove dependency.
11491 * string/Makefile (o-objects.ob): Remove variable.
11492 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11493 (CFLAGS-.ob): Remove variable.
11494 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11495 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11496 both definitions of variable.
11497 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11498 (ASFLAGS-.ob): Remove variable.
11499
e97ed6dd
JM
115002013-02-14 Joseph Myers <joseph@codesourcery.com>
11501
2bdd4ca6
JM
11502 [BZ #13550]
11503 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11504 Remove __BOUNDED_POINTERS__ from condition.
11505 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11506 * string/bits/string2.h [!__NO_STRING_INLINES &&
11507 !__BOUNDED_POINTERS__]: Likewise.
11508 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11509 Likewise.
11510 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11511 Remove conditional code.
11512 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11513 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11514 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11515 condition.
11516
e97ed6dd
JM
11517 [BZ #13550]
11518 * csu/libc-start.c: Do not include <bp-sym.h>.
11519 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11520 * elf/dl-open.c: Do not include <bp-sym.h>.
11521 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11522 * math/fegetenv.c: Do not include <bp-sym.h>.
11523 (fegetenv): Do not use BP_SYM in versioned symbols.
11524 * nptl/sysdeps/pthread/bits/libc-lockP.h
11525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11526 <bp-sym.h>.
11527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11528 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11530 (__pthread_mutex_destroy): Likewise.
11531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11532 (__pthread_mutex_lock): Likewise.
11533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11534 (__pthread_mutex_trylock): Likewise.
11535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11536 (__pthread_mutex_unlock): Likewise.
11537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11538 (__pthread_mutexattr_init): Likewise.
11539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11540 (__pthread_mutexattr_destroy): Likewise.
11541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11542 (__pthread_mutexattr_settype): Likewise.
11543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11544 (__pthread_rwlock_init): Likewise.
11545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11546 (__pthread_rwlock_destroy): Likewise.
11547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11548 (__pthread_rwlock_rdlock): Likewise.
11549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11550 (__pthread_rwlock_tryrdlock): Likewise.
11551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11552 (__pthread_rwlock_wrlock): Likewise.
11553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11554 (__pthread_rwlock_trywrlock): Likewise.
11555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11556 (__pthread_rwlock_unlock): Likewise.
11557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11558 (__pthread_key_create): Likewise.
11559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11560 (__pthread_setspecific): Likewise.
11561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11562 (__pthread_getspecific): Likewise.
11563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11564 Likewise.
11565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11566 (_pthread_cleanup_push_defer): Likewise.
11567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11568 (_pthread_cleanup_pop_restore): Likewise.
11569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11570 (pthread_setcancelstate): Likewise.
11571 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11572 <bp-sym.h>.
11573 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11574 (memchr): Do not use BP_SYM in weak_alias.
11575 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11576 (fegetenv): Do not use BP_SYM in versioned symbols.
11577 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11578 (fesetenv): Do not use BP_SYM in versioned symbols.
11579 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11580 (feupdateenv): Do not use BP_SYM in versioned symbols.
11581 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11582 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11583 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11584 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11585 (open64): Do not use BP_SYM in weak_alias.
11586 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11587 (fegetenv): Do not use BP_SYM in versioned symbols.
11588 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11589 (fesetenv): Do not use BP_SYM in versioned symbols.
11590 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11591 (feupdateenv): Do not use BP_SYM in versioned symbols.
11592 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11593 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11594 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11595 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11596 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11597 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11598 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11599 <bp-sym.h>.
11600 (__libc_start_main): Do not use BP_SYM.
11601
d6752ccd
SP
116022013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11603
cb57ce60
SP
11604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11605 redundant return line.
11606 (norm): Likewise.
11607 (denorm): Likewise.
11608 (dbl_mp): Likewise.
11609 (sub_magnitudes): Likewise.
11610 (__add): Likewise.
11611 (__sub): Likewise.
11612 (__mul): Likewise.
11613 (__inv): Likewise.
11614 (__dvd): Likewise.
11615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11616 (norm): Likewise.
11617 (denorm): Likewise.
11618 (dbl_mp): Likewise.
11619 (sub_magnitudes): Likewise.
11620 (__add): Likewise.
11621 (__sub): Likewise.
11622 (__mul): Likewise.
11623 (__inv): Likewise.
11624 (__dvd): Likewise.
11625
f414520d
SP
11626 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11627 instead of __mul.
11628 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11629 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11630 (cc32): Likewise.
11631
d6752ccd
SP
11632 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11633 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11635 of __mul for squares.
11636 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11637 function
11638 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11639 Likewise.
11640 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11641 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11642
70d9946a
JM
116432013-02-13 Joseph Myers <joseph@codesourcery.com>
11644
11645 [BZ #13550]
11646 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11647 code.
11648 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11649 prototype or function definition. Rename ubp_* variables and
11650 parameters. Remove argv definitions conditional on
11651 [__BOUNDED_POINTERS__].
11652 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11653 * elf/dl-runtime.c (_dl_fixup): Likewise.
11654 * include/set-hooks.h (RUN_HOOK): Likewise.
11655 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11656 definition.
11657 * string/strcpy.c (strcpy): Do not use __unbounded.
11658 * sysdeps/generic/frame.h (struct layout): Likewise.
11659 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11660 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11661 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11662 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11663 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11664 (__backtrace): Likewise.
11665 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11666 use __ptrvalue.
11667 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11668 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11669 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11670 Likewise.
11671 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11672 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11673 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11674 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11675 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11676 Do not use __unbounded.
11677 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11678 Rename __unboundedrlimits parameter to rlimits in prototype.
11679 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11680 Do not use __unbounded.
11681 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11682 not use __ptrvalue.
11683 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11684 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11685 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11686 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11687 __ptrvalue or __unbounded.
11688 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11689 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11690 use __unbounded.
11691 (__new_msgctl): Do not use __ptrvalue.
11692 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11693 __unbounded.
11694 (__libc_msgrcv): Do not use __ptrvalue.
11695 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11696 startup_info): Do not use __unbounded.
11697 (__libc_start_main): Likewise. Rename ubp_* variables and
11698 parameters. Remove argv definitions conditional on
11699 [__BOUNDED_POINTERS__].
11700 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11701 __ptrvalue.
11702 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11703 use __unbounded.
11704 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11705 or __ptrvalue.
11706 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11707 use __unbounded.
11708 (__new_shmctl): Do not use __ptrvalue.
11709 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11710 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11711 Likewise.
11712 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11713 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11714 (__libc_sigaction): Likewise.
11715 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11716 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11717 Likewise.
11718 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11719
cc7834d6
OB
117202013-02-13 Ondřej Bílka <neleai@seznam.cz>
11721
ffb1ec7b 11722 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11723
11724 * string/mempcpy.c: Implement by calling memcpy.
11725
bdf02814
SP
117262013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11727
c2af38aa
SP
11728 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11729
4e92d59e
SP
11730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11731 evaluation.
11732
909279a5
SP
11733 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11734 values in the mantissa.
11735
bdf02814
SP
11736 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11737 minimize writes to Z.
11738 (sub_magnitudes): Simplify code a bit.
11739
cd525923
RM
117402013-02-12 Roland McGrath <roland@hack.frob.com>
11741
11742 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11743 from the message. The linker prefixes all warnings with that already.
11744
7e2f0d2d
AS
117452013-02-12 Andreas Schwab <schwab@suse.de>
11746
a445af0b
AS
11747 [BZ #15078]
11748 * posix/regexec.c (extend_buffers): Add parameter min_len.
11749 (check_matching): Pass minimum needed length.
11750 (clean_state_log_if_needed): Likewise.
11751 (get_subexp): Likewise.
11752 * posix/Makefile (tests): Add bug-regex34.
11753 (bug-regex34-ENV): Define.
11754 * posix/bug-regex34.c: New file.
11755
7e2f0d2d
AS
11756 [BZ #11561]
11757 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11758 elements compare against the byte sequence of it, not its name.
11759 * posix/Makefile (tests): Add bug-regex35.
11760 (bug-regex35-ENV): Define.
11761 * posix/bug-regex35.c: New file.
11762
a175b684
TV
117632013-02-11 Tom de Vries <tom@codesourcery.com>
11764
11765 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11766 comment.
11767 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11768 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11769 (CHECK_EOL): Add undef.
11770
310998fe 117712013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11772
11773 * bits/stdlib-bsearch.h: New file.
11774 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11775 * stdlib/stdlib.h: Likewise.
41eda41d 11776
8ded91fb
RM
117772013-02-11 Roland McGrath <roland@hack.frob.com>
11778
11779 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11780 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11781 declaration.
11782 * manual/search.texi (Array Search Function): Add missing const in
11783 lfind prototype.
11784 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11785 declaration to use rlim_t.
11786 (Basic Scheduling Functions): Remove erroneous const from
11787 sched_getparam prototype. Remove erroneous * from
11788 sched_get_priority_max and sched_get_priority_min prototypes.
11789 (Resource Usage): Fix summary @comment on vtimes to refer to
11790 sys/vtimes.h rather than vtimes.h.
11791 Add missing *s in vtimes prototype.
11792 (Limits on Resources): Fix ulimit prototype to return long int.
11793 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11794 prototypes to use long int rather than double.
11795 (BSD Random): Fix initstate and setstate to use char *, not void *.
11796 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11797 prototype to make second argument 'struct aiocb64 *const[]'.
11798 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11799 (Status of AIO Operations): Remove erroneous const in aio_return and
11800 aio_return64 prototypes.
11801 (Synchronizing I/O): Fix sync prototype to return void.
11802 * manual/startup.texi (Suboptions): Remove an erroneous const in
11803 getsubopt prototype.
11804 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11805 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11806 use size_t rather than int.
11807 (Scanning All Users): Likewise for getpwent_r.
11808 (Setting Groups): Add missing const to setgroups prototype.
11809 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11810 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11811 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11812 'const void *' rather than 'const char *'.
11813 (Host Address Functions): Likewise for inet_ntop.
11814 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11815 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11816 ssize_t for return value.
11817 (Sending Data): Likewise for send, sendto, sendmsg.
11818 (Socket Option Functions): Add a missing const in setsockopt prototype.
11819 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11820 use wchar_t for the argument.
11821 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11822 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11823 take no arguments.
11824 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11825 double/float/long double for second argument.
11826 Fix return types of significand, significandf, significandl.
11827 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11828 argument in fchmod prototype.
11829 (File Owner): Use uid_t and gid_t in fchown prototype.
11830 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11831 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11832 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11833 use 'const struct dirent **' as argument types to CMP function pointer
11834 argument.
11835 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11836 (File Times): Fix summary magic @comment for struct utimbuf and utime
11837 to refer to utime.h, not time.h.
11838 * manual/string.texi (Argz Functions): Add missing const in
11839 argz_extract and argz_next prototypes.
11840 (Finding Tokens in a String): Likewise for basename.
11841 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11842 (Copying and Concatenation): Fix typo in wmemmove prototype.
11843 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11844 (Signal Stack): Remove erroneous const in sigstack prototype.
11845 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11846 prototype.
11847 (Simple Calendar Time): Likewise for stime.
11848 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11849 prototype.
11850 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11851 say sys/sysctl.h instead.
11852 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11853 and vsyslog prototypes.
11854
fe77fe6d
TV
118552013-02-11 Tom de Vries <tom@codesourcery.com>
11856
11857 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11858 Remove.
11859
3a09b620
RM
118602013-02-11 Roland McGrath <roland@hack.frob.com>
11861
11862 * misc/sys/mman.h: Fix typo in mremap comment.
11863
550a0b89
RM
118642013-02-08 Roland McGrath <roland@hack.frob.com>
11865
11866 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11867 the '\0' terminator.
11868
a2da1673
JM
118692013-02-08 Joseph Myers <joseph@codesourcery.com>
11870
11871 [BZ #13550]
11872 * debug/segfault.c: Don't include <bp-checks.h>.
11873 * sysdeps/generic/bp-checks.h: Remove file.
11874 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11875 (__GETDENTS): Don't use CHECK_N.
11876 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11877 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11878 (__getgroups): Don't use CHECK_N.
11879 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11880 (setgroups): Don't use CHECK_N.
11881 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11882 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11883 (__libc_msgrcv): Don't use CHECK_N.
11884 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11885 (__libc_msgsnd): Don't use CHECK_N.
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11887 <bp-checks.h>.
11888 (__libc_pread): Don't use CHECK_N.
11889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11890 include <bp-checks.h>.
11891 (__libc_pread64): Don't use CHECK_N.
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11893 include <bp-checks.h>.
11894 (__libc_pwrite): Don't use CHECK_N.
11895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11896 include <bp-checks.h>.
11897 (__libc_pwrite64): Don't use CHECK_N.
11898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11899 <bp-checks.h>.
11900 (__libc_pread): Don't use CHECK_N.
11901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11902 include <bp-checks.h>.
11903 (__libc_pread64): Don't use CHECK_N.
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11905 include <bp-checks.h>.
11906 (__libc_pwrite): Don't use CHECK_N.
11907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11908 include <bp-checks.h>.
11909 (__libc_pwrite64): Don't use CHECK_N.
11910 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11911 (do_pread): Don't use CHECK_N.
11912 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11913 (do_pread64): Don't use CHECK_N.
11914 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11915 (do_pwrite): Don't use CHECK_N.
11916 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11917 (do_pwrite64): Don't use CHECK_N.
11918 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11919 (__libc_readv): Don't use CHECK_N.
11920 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11921 (semop): Don't use CHECK_N.
11922 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11923 <bp-checks.h>.
11924 (semtimedop): Don't use CHECK_N.
11925 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11926 (__libc_pread): Don't use CHECK_N.
11927 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11928 <bp-checks.h>.
11929 (__libc_pread64): Don't use CHECK_N.
11930 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11931 <bp-checks.h>.
11932 (__libc_pwrite): Don't use CHECK_N.
11933 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11934 <bp-checks.h>.
11935 (__libc_pwrite64): Don't use CHECK_N.
11936 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11937 <bp-checks.h>.
11938 (__libc_msgrcv): Don't use CHECK_N.
11939 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11940 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11941 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11942 (__libc_writev): Don't use CHECK_N.
11943
b84660a8
RM
119442013-02-08 Roland McGrath <roland@hack.frob.com>
11945
7f3e75f8
RM
11946 * string/strcpy.c: Removed unused variable.
11947
b84660a8
RM
11948 * Makeconfig (+sysdep-includes): Define with := rather than =.
11949 Use an existing include/ subdir of each sysdeps dir before it.
11950
471514d3
CD
119512013-02-08 Carlos O'Donell <carlos@redhat.com>
11952
11953 * nscd/connection.c (register_traced_file): Comment function.
11954 [HAVE_INOTIFY] (union __inev): Define.
11955 [HAVE_INOTIFY] (inotify_check_files): New function.
11956 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11957 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11958 clear_db_cache.
11959 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11960
b2d3c3be
CD
119612013-02-08 Carlos O'Donell <carlos@redhat.com>
11962
11963 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11964 loaded if not already and that a failure is permanent.
11965
b39949d2
CD
119662013-02-08 Carlos O'Donell <carlos@redhat.com>
11967
ddacd1db 11968 [BZ #15006]
b39949d2
CD
11969 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11970 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11971
b2c9eff4
JM
119722013-02-08 Joseph Myers <joseph@codesourcery.com>
11973
f3aae3f3
JM
11974 [BZ #13550]
11975 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11976 (CHECK_1_NULL_OK): Likewise.
11977 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11978 (__fxstat): Do not use CHECK_1.
11979 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11980 <bp-checks.h>.
11981 (___fxstat64): Do not use CHECK_1.
11982 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11983 <bp-checks.h>.
11984 (__fxstatat): Do not use CHECK_1.
11985 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11986 <bp-checks.h>.
11987 (__fxstatat64): Do not use CHECK_1.
11988 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11989 <bp-checks.h>.
11990 (__fxstat): Do not use CHECK_1.
11991 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11992 <bp-checks.h>.
11993 (__fxstatat): Do not use CHECK_1.
11994 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11995 <bp-checks.h>.
11996 (__getresgid): Do not use CHECK_1.
11997 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11998 <bp-checks.h>.
11999 (__getresuid): Do not use CHECK_1.
12000 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12001 <bp-checks.h>.
12002 (__lxstat): Do not use CHECK_1.
12003 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12004 <bp-checks.h>.
12005 (__old_msgctl): Do not use CHECK_1.
12006 (__new_msgctl): Likewise.
12007 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12008 <bp-checks.h>.
12009 (__new_setrlimit): Do not use CHECK_1.
12010 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12011 <bp-checks.h>.
12012 (__old_shmctl): Do not use CHECK_1.
12013 (__new_shmctl): Likewise.
12014 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12015 <bp-checks.h>.
12016 (__xstat): Do not use CHECK_1.
12017 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12018 (__lxstat): Do not use CHECK_1.
12019 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12020 <bp-checks.h>.
12021 (___lxstat64): Do not use CHECK_1.
12022 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12023 (__old_msgctl): Do not use CHECK_1.
12024 (__new_msgctl): Likewise.
12025 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12026 <bp-checks.h>.
12027 (__gettimeofday): Do not use CHECK_1.
12028 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12029 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12030 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12031 <bp-checks.h>.
12032 (__gettimeofday): Do not use CHECK_1.
12033 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12034 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12035 (__new_shmctl): Do not use CHECK_1.
12036 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12037 <bp-checks.h>.
12038 (do_sigtimedwait): Do not use CHECK_1.
12039 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12040 <bp-checks.h>.
12041 (do_sigwaitinfo): Do not use CHECK_1.
12042 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12043 <bp-checks.h>.
12044 (msgctl): Do not use CHECK_1.
12045 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12046 <bp-checks.h>.
12047 (shmctl): Do not use CHECK_1.
12048 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12049 (ustat): Do not use CHECK_1.
12050 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12051 <bp-checks.h>.
12052 (__fxstat): Do not use CHECK_1.
12053 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12054 <bp-checks.h>.
12055 (__fxstatat): Do not use CHECK_1.
12056 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12057 <bp-checks.h>.
12058 (__lxstat): Do not use CHECK_1.
12059 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12060 <bp-checks.h>.
12061 (__xstat): Do not use CHECK_1.
12062 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12063 (__xstat): Do not use CHECK_1.
12064 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12065 (___xstat64): Do not use CHECK_1.
12066
b2c9eff4
JM
12067 [BZ #13550]
12068 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12069 definitions.
12070 (CHECK_BOUNDS_HIGH): Likewise.
12071 * string/strcpy.c: Do not include <bp-checks.h>.
12072 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12073
f1d70dad
RM
120742013-02-07 Roland McGrath <roland@hack.frob.com>
12075
12076 * nscd/nscd-client.h (__nscd_drop_map_ref):
12077 Add __attribute__ ((unused)).
12078 * nis/nss-nisplus.h (niserr2nss): Likewise.
12079
12080 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12081 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12082
12083 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12084 Remove inline keyword.
12085 * include/rounding-mode.h (round_away): Likewise.
12086 * libio/wfileops.c (adjust_wide_data): Likewise.
12087 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12088 (__m128i_strloadu_tolower): Likewise.
12089 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12090 (__m128i_strloadu_tolower): Likewise.
12091 * time/mktime.c (ydhms_diff): Likewise.
12092 * locale/elem-hash.h (elem_hash): Likewise.
12093 * locale/setlocale.c (setdata): Likewise.
12094 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12095 (re_string_wchar_at): Likewise.
12096 (bitset_not, bitset_merge, bitset_mask): Likewise.
12097 [!(__GNUC__ > 3)] (inline): Remove macro.
12098 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12099 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12100 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12101 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12102 * string/memcmp.c (memcmp_bytes): Likewise.
12103 * locale/programs/locarchive.c (compute_hashval): Likewise.
12104 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12105 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12106 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12107 * nss/getent.c (print_rpc, print_protocols): Likewise.
12108 (print_passwd, print_group, print_aliases): Likewise.
12109 * nis/nss-nisplus.h (niserr2nss): Likewise.
12110 * nscd/connections.c (restart_p): Likewise.
12111 Change return type to bool.
12112
eab55bfb
RM
121132013-02-05 Roland McGrath <roland@hack.frob.com>
12114
7bd642f5
RM
12115 * Makeconfig (all-Depend-files): Add existing
12116 $(sorted-subdirs:=/Depend) files.
12117 (all-subdirs): Remove nss.
12118 * sysdeps/unix/inet/Subdirs: Add it here instead.
12119 * hesiod/Depend: New file.
12120
573c29b2
RM
12121 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12122 instead of calling alloca.
12123
b2e25af0
RM
12124 * io/lseek.c (__lseek): Rename to __libc_lseek.
12125 Define __lseek as an alias.
12126
eab55bfb
RM
12127 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12128
9a0d1941
CD
121292013-02-04 Carlos O'Donell <carlos@redhat.com>
12130
12131 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12132 else clause and remove check for non-standard endianness.
12133
b83bbec4
DM
121342013-02-04 David S. Miller <davem@davemloft.net>
12135
12136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12137
6277fdab
JM
121382013-02-04 Joseph Myers <joseph@codesourcery.com>
12139
12140 [BZ #13550]
12141 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12142 (__ubp_memchr): Remove prototype.
12143 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12144 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12145 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12146 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12147 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12148 Remove alias.
12149 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12150 (__ubp_memchr): Likewise.
12151 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12152 (__ubp_memchr): Likewise.
12153 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12154 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12155 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12156 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12157 CHECK_STRING.
12158 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12159 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12160 (__getcwd): Do not use CHECK_STRING.
12161 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12162 <bp-checks.h>.
12163 (__real_chown): Do not use CHECK_STRING.
12164 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12165 <bp-checks.h>.
12166 (fchownat): Do not use CHECK_STRING.
12167 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12168 CHECK_STRING.
12169 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12170 <bp-checks.h>.
12171 (__lchown): Do not use CHECK_STRING.
12172 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12173 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12174 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12175 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12177 include <bp-checks.h>.
12178 (truncate64): Do not use CHECK_STRING.
12179 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12180 <bp-checks.h>.
12181 (__real_chown): Do not use CHECK_STRING.
12182 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12183 <bp-checks.h>.
12184 (__lchown): Do not use CHECK_STRING.
12185 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12186 <bp-checks.h>.
12187 (__chown): Do not use CHECK_STRING.
12188 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12189 <bp-checks.h>.
12190 (truncate64): Do not use CHECK_STRING.
12191 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12192 Likewise.
12193 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12194 (__xmknod): Do not use CHECK_STRING.
12195 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12196 <bp-checks.h>.
12197 (__xmknodat): Do not use CHECK_STRING.
12198 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12199 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12200
903ae060
AS
122012013-02-04 Andreas Schwab <schwab@suse.de>
12202
12203 [BZ #14142]
12204 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12205 * include/netdb.h: Likewise for h_errno.
12206 * elf/tst-stackguard1.c: Include <tls.h>.
12207
542f9466
JK
122082013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12209
12210 * elf/link.h (struct link_map): Extend the l_addr comment.
12211 * include/link.h (struct link_map): Likewise.
12212
e782a927
JM
122132013-02-01 Joseph Myers <joseph@codesourcery.com>
12214
12215 [BZ #13550]
12216 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12217 (BOUNDED_1): Remove macro.
12218 * debug/backtrace.c: Don't include <bp-checks.h>.
12219 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12220 (__backtrace): Likewise.
12221 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12222 <bp-checks.h>.
12223 (__backtrace): Don't use BOUNDED_1.
12224 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12225 <bp-checks.h>.
12226 (__backtrace): Don't use BOUNDED_1.
12227 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12228 (__backtrace): Don't use BOUNDED_1.
12229 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12230 (shmat): Don't use BOUNDED_N.
12231
8cf28c5e
JM
122322013-01-31 Joseph Myers <joseph@codesourcery.com>
12233
3a7ac8a0
JM
12234 [BZ #13550]
12235 * sysdeps/generic/bp-start.h: Remove file.
12236 * csu/libc-start.c: Don't include <bp-start.h>.
12237 (LIBC_START_MAIN): Set up __environ directly instead of using
12238 INIT_ARGV_and_ENVIRON.
12239 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12240 <bp-start.h>.
12241
f3499f95
JM
12242 [BZ #13550]
12243 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12244 definitions.
12245 (CHECK_FCNTL): Likewise.
12246 (CHECK_N_PAGES): Likewise.
12247
32a45bea
JM
12248 [BZ #13550]
12249 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12250 definitions.
12251 (CHECK_SIGSET_NULL_OK): Likewise.
12252 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12253 <bp-checks.h>.
12254 (sigpending): Don't use CHECK_SIGSET.
12255 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12256 <bp-checks.h>.
12257 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12258 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12259 <bp-checks.h>.
12260 (do_sigsuspend): Don't use CHECK_SIGSET.
12261 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12262 use CHECK_SIGSET.
12263 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12264 (do_sigwait): Don't use CHECK_SIGSET.
12265 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12266 use CHECK_SIGSET.
12267 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12268 include <bp-checks.h>.
12269 (sigpending): Don't use CHECK_SIGSET.
12270 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12271 include <bp-checks.h>.
12272 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12273 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12274 <bp-checks.h>.
12275 (sigpending): Don't use CHECK_SIGSET.
12276 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12277 <bp-checks.h>.
12278 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12279
2e8a5c8c
JM
12280 [BZ #13550]
12281 * sysdeps/generic/bp-semctl.h: Remove file.
12282 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12283 <bp-checks.h> and <bp-semctl.h>.
12284 (__old_semctl): Don't use CHECK_SEMCTL.
12285 (__new_semctl): Likewise.
12286 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12287 and <bp-semctl.h>.
12288 (__old_semctl): Don't use CHECK_SEMCTL.
12289 (__new_semctl): Likewise.
12290 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12291 <bp-checks.h> and <bp-semctl.h>.
12292 (__old_semctl): Don't use CHECK_SEMCTL.
12293 (__new_semctl): Likewise.
12294 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12295 <bp-checks.h> and <bp-semctl.h>.
12296 (semctl): Don't use CHECK_SEMCTL.
12297
c2d54929
JM
12298 [BZ #13550]
12299 * Makerules (elide-bp-thunks): Remove variable.
12300 (elide-routines.oS): Don't use $(elide-bp-thunks).
12301 (elide-routines.os): Likewise.
12302 (elide-routines.o): Likewise.
12303 (elide-routines.op): Likewise.
12304 (elide-routines.og): Likewise.
12305 (objects): Don't use $(bp-thunks).
12306 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12307 include.
12308 (common-generated): Do not add s-proto-bp.d.
12309 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12310 (int): Likewise.
12311 (typ): Likewise.
12312 Do not generate makefile rules for bounded-pointer thunks.
12313 * sysdeps/generic/bp-thunks.h: Remove file.
12314 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12315 * sysdeps/unix/s-proto-bp.S: Likewise.
12316
8cf28c5e
JM
12317 [BZ #15062]
12318 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12319 parts of result separately when argument is not close to line from
12320 -i to i and one part of argument is small.
12321 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12322 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12323 * math/libm-test.inc (cacos_test): Add more tests.
12324 (casin_test): Likewise.
12325 (casinh_test): Likewise.
12326 * sysdeps/i386/fpu/libm-test-ulps: Update.
12327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12328
c4e33b8d
DM
123292013-01-31 David S. Miller <davem@davemloft.net>
12330
12331 * po/de.po: Update from translation team.
12332
3b60b421
MK
123332013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
12334
12335 * time/tzfile.c: Include stdint.h for SIZE_MAX.
12336
bb931195
TS
123372013-01-25 Thomas Schwinge <thomas@codesourcery.com>
12338
b5a5da23
TS
12339 * configure.in (_AC_PROG_CC_C89): New definition.
12340 * configure: Regenerate.
12341
bb931195
TS
12342 * configure.in (AC_PROG_CPP): New definition.
12343 * configure: Regenerate.
12344
8c53a12c
JM
123452013-01-23 Joseph Myers <joseph@codesourcery.com>
12346
12347 * debug/tst-backtrace.h: New file.
12348 * debug/tst-backtrace2.c: Include tst-backtrace.h.
12349 (ret): Remove variable.
12350 (x): Likewise.
12351 (FAIL): Remove macro.
12352 (NO_INLINE): Likewise.
12353 (fn1): Use match function instead of strstr.
12354 * debug/tst-backtrace3.c: Include tst-backtrace.h.
12355 (ret): Remove variable.
12356 (x): Likewise.
12357 (FAIL): Remove macro.
12358 (NO_INLINE): Likewise.
12359 (fn): Use match function instead of strstr.
12360 * debug/tst-backtrace4.c: Include tst-backtrace.h.
12361 (ret): Remove variable.
12362 (x): Likewise.
12363 (FAIL): Remove macro.
12364 (NO_INLINE): Likewise.
12365 (handle_signal): Use match function instead of strstr.
12366 * debug/tst-backtrace5.c: Include tst-backtrace.h.
12367 (ret): Remove variable.
12368 (x): Likewise.
12369 (FAIL): Remove macro.
12370 (NO_INLINE): Likewise.
12371 (handle_signal): Use match function instead of strstr.
12372
4858fa2a
RM
123732013-01-23 Roland McGrath <roland@hack.frob.com>
12374
12375 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12376
bae8e7f5
DM
123772013-01-23 David S. Miller <davem@davemloft.net>
12378
12379 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12380 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12381 argument of CAS if possible.
12382 * sysdeps/sparc/sparc64/bits/atomic.h
12383 (__arch_compare_and_exchange_val_32_acq): Likewise.
12384 (__arch_compare_and_exchange_val_64_acq): Likewise.
12385
9cbbc4ae
PT
123862013-01-23 Pino Toscano <toscano.pino@tiscali.it>
12387
12388 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12389 * sysdeps/posix/ulimit.c: ... this.
92a601b8 12390 Include <limits.h>.
67b3f58c 12391 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 12392
5655a0b5
AC
123932013-01-23 Adam Conrad <adconrad@0c3.net>
12394
12395 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12396 (LDFLAGS-tst-array5): Likewise.
12397
052aff95
JM
123982013-01-23 Joseph Myers <joseph@codesourcery.com>
12399
12400 [BZ #15036]
12401 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12402 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12403 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12404 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12405
7c1e01aa
DM
124062013-01-21 David S. Miller <davem@davemloft.net>
12407
12408 * sysdeps/sparc/backtrace.c: New file.
12409 * sysdeps/sparc/sparc32/backtrace.h: New file.
12410 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12411 * sysdeps/sparc/sparc64/backtrace.h: New file.
12412 * sysdeps/sparc/sparc64/backtrace.c: Delete.
12413 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12414 -funwind-tables.
12415
ab087e0a
AS
124162013-01-21 Andreas Schwab <schwab@suse.de>
12417
12418 [BZ #15020]
12419 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12420 closed its stdout.
12421
ed689c2f
AS
124222013-01-20 Andreas Schwab <schwab@linux-m68k.org>
12423
12424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12425 "mpa2.h".
12426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12427
31d470ac
JM
124282013-01-18 Joseph Myers <joseph@codesourcery.com>
12429 Mark Mitchell <mark@codesourcery.com>
12430 Tom de Vries <tom@codesourcery.com>
12431 Paul Pluzhnikov <ppluzhnikov@google.com>
12432
12433 * debug/tst-backtrace2.c: New file.
12434 * debug/tst-backtrace3.c: Likewise.
12435 * debug/tst-backtrace4.c: Likewise.
12436 * debug/tst-backtrace5.c: Likewise.
12437 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12438 (CFLAGS-tst-backtrace3.c): Likewise.
12439 (CFLAGS-tst-backtrace4.c): Likewise.
12440 (CFLAGS-tst-backtrace5.c): Likewise.
12441 (LDFLAGS-tst-backtrace2): Likewise.
12442 (LDFLAGS-tst-backtrace3): Likewise.
12443 (LDFLAGS-tst-backtrace4): Likewise.
12444 (LDFLAGS-tst-backtrace5): Likewise.
12445 (tests): Add new tests tst-backtrace2, tst-backtrace3,
12446 tst-backtrace4 and tst-backtrace5.
12447
90567f30 124482013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
12449 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12450
12451 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12452 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12453 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12454 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12456 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12457 "+r" and remove output regs list as redundant. Add explicit inline
12458 asm to specify register of return val to work around compiler codegen
12459 bug. Remove (int) cast on return value. Add return type parameter to
12460 use in macro so that this macro does not truncate return value for
12461 64-bit values.
12462 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12463 pass to INTERNAL_VSYSCALL_NCS.
12464 (INLINE_VSYSCALL): Add 'long int' as return type to
12465 INTERNAL_VSYSCALL_NCS macro invocation.
12466 (INTERNAL_VSYSCALL): Add 'long int' as return type to
12467 INTERNAL_VSYSCALL_NCS macro invocation.
12468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12469
d3b9ea61
SP
124702013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12471
0b57daeb
SP
12472 [BZ #14496]
12473 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12474 Fix application of SIMD FP exception mask.
12475
caa99d06
SP
12476 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12477 mp_no from a power of two.
12478 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12479 __mpexp_twomm1. Use __pow_mp.
12480
d3b9ea61
SP
12481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12482 multiplication.
12483
1dbaee3c
DM
124842013-01-17 David S. Miller <davem@davemloft.net>
12485
12486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12487
728d7b43
JM
124882013-01-17 Joseph Myers <joseph@codesourcery.com>
12489
12490 [BZ #15023]
12491 * include/complex.h: Condition contents on [!_COMPLEX_H].
12492 (__kernel_casinhf): New prototype.
12493 (__kernel_casinh): Likewise.
12494 (__kernel_casinhl): Likewise.
12495 * math/Makefile (libm_calls): Add k_casinh.
12496 * math/k_casinh.c: New file.
12497 * math/k_casinhf.c: Likewise.
12498 * math/k_casinhl.c: Likewise.
12499 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12500 finite nonzero arguments.
12501 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12502 finite nonzero arguments.
12503 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12504 finite nonzero arguments.
12505 * math/s_casinh.c: Do not include <float.h>.
12506 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12507 * math/s_casinhf.c: Do not include <float.h>.
12508 (__casinhf): Move code for finite nonzero arguments to
12509 k_casinhf.c.
12510 * math/s_casinhl.c: Do not include <float.h>.
12511 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12512 redefine.
12513 (__casinhl): Move code for finite nonzero arguments to
12514 k_casinhl.c.
12515 * math/libm-test.inc (cacos_test): Add more tests.
12516 * sysdeps/i386/fpu/libm-test-ulps: Update.
12517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12518
2a26ef3a
PT
125192013-01-17 Pino Toscano <toscano.pino@tiscali.it>
12520
12521 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12522 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12523 [!HAVE_MREMAP]: Remove [defined linux] case.
12524 * malloc/arena.c: Do not include <malloc-sysdep.h>.
12525
a897655d
SP
125262013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12527
12528 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12529
881ebe89 125302013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
12531
12532 * elf/elf.h (R_386_SIZE32): New relocation.
12533 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12534 R_386_SIZE32.
12535 (elf_machine_rela): Likewise.
12536 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12537 R_X86_64_SIZE64 and R_X86_64_SIZE32.
12538
59981e9b
JM
125392013-01-17 Joseph Myers <joseph@codesourcery.com>
12540
12541 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12542 (FP_FAST_FMA): Do not define.
12543 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12544 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12545 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12546 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12547 !_SOFT_FLOAT]: Likewise.
12548 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12549 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12550 value.
12551 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12552 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12553 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12554 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12555 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12556 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12557 file.
12558
cfa8054f
AS
125592013-01-16 Andreas Schwab <schwab@suse.de>
12560
12561 [BZ #14327]
12562 * include/stdlib.h (__mktemp): Add declaration.
12563 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12564 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12565
dd930cc5
SP
125662013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12567
881ebe89
SP
12568 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12569 definitions.
12570 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12571 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12572 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12573 definitions here.
12574 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12575 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12576 definitions.
12577 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12578 and ONE.
12579 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12580 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12581 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12582 definitions.
12583 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12584 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12585 definitions.
12586 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12587
dd930cc5
SP
12588 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12589
c19a9f89
DM
125902013-01-15 David S. Miller <davem@davemloft.net>
12591
1aa61767
DM
12592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12593 trunc{,f} to libm-sysdep_routes.
12594 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12596 file.
12597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12599 file.
12600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12601 file.
12602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12604 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12605 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12606 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12607 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12608 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12609 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12610
c42d5e98
DM
12611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12612 nearbyint{,f} to libm-sysdep_routes.
12613 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12615 New file.
12616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12617 file.
12618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12619 New file.
12620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12621 file.
12622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12624 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12625 file.
12626 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12627 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12628 file.
12629 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12630 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12631 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12632
c19a9f89
DM
12633 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12634 libc_feholdexcept and libc_fesetenv.
12635
357679d2
MF
126362013-01-15 Mike Frysinger <vapier@gentoo.org>
12637
12638 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12639
65a82e3d
DM
126402013-01-14 David S. Miller <davem@davemloft.net>
12641
8b954ab9
DM
12642 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12643 (SPARC_ASM_VIS2_IFUNC): Likewise.
12644 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12646 use of 'siam' instruction.
12647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12648 Likewise.
12649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12650 Likewise.
12651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12652 Likewise.
12653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12655 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12656 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12658 file.
12659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12660 file.
12661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12662 file.
12663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12664 file.
12665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12670 new VIS2 routines.
12671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12674 Likewise.
12675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12676 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12680 routines to libm-sysdep_routines.
12681 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12682
65a82e3d
DM
12683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12684 fdim/fdimf to libm-sysdep_routines.
12685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12686 file.
12687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12689 file.
12690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12693 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12694 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12695 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12696 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12697
e34ab705
SP
126982013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12699
2a91b573
SP
12700 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12701 to optimize copies.
12702
1066a534
SP
12703 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12706
e34ab705
SP
12707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12708 local variable MPTWO.
12709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12710 Likewise.
12711
aba5e596
MF
127122013-01-13 Mike Frysinger <vapier@gentoo.org>
12713
12714 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12715 GLOB_NOESCAPE.
12716
e557e9e5
MF
127172013-01-13 Mike Frysinger <vapier@gentoo.org>
12718
12719 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12720
0428cec9
MF
127212013-01-13 Mike Frysinger <vapier@gentoo.org>
12722
12723 * manual/pattern.texi (glob_t): Document gl_flags.
12724 (glob64_t): Likewise.
12725
8794a964
DM
127262013-01-11 David S. Miller <davem@davemloft.net>
12727
66438c3f
RM
12728 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12729 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12730 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12731 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12732 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12733 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12734 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12735 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12736 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12737 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12738 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12739 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12740 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12741
4ae4244d
DM
12742 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12743 sparc V9 rather than using V8 code.
12744 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12745 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12746
8794a964
DM
12747 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12748 Move to...
12749 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12750 Here.
12751
6270516e
RM
127522013-01-11 Roland McGrath <roland@hack.frob.com>
12753
12754 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12755 not in the main loop.
12756 * configure: Regenerated.
12757
6a57d931
JM
127582013-01-11 Joseph Myers <joseph@codesourcery.com>
12759
12760 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12761 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12762 to just #else.
12763 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12764 [!__GLIBC_HAVE_LONG_LONG] case.
12765 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12766 condition to just #else.
12767 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12768 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12769 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12770 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12771 unconditional.
12772 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12773 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12774 #elif condition to just #else.
12775 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12776 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12777 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12778 #elif condition to just #else.
12779
0e8529e9
SE
127802013-01-11 Steve Ellcey <sellcey@mips.com>
12781
12782 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12783 (EF_MIPS_ARCH_64): Fix value.
12784 (EF_MIPS_ARCH_32R2): New.
12785 (EF_MIPS_ARCH_64R2): New.
12786
740b3dbe
L
127872013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12788
12789 * Makeconfig (+link-pie-before-libc): New.
12790 (+link-pie-after-libc): Likewise.
12791 (+link-pie-tests): Likewise.
12792 (+link-pie): Rewritten.
12793 (link-before-libc): Remove $(config-LDFLAGS).
12794 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12795 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12796 (config-LDFLAGS): Renamed to ...
12797 (rtld-LDFLAGS): This.
12798 (rtld-tests-LDFLAGS): New macro.
12799 (link-libc-rpath-link): Likewise.
12800 (link-libc-tests-rpath-link): Likewise.
12801 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12802 (link-libc): Prepand $(link-libc-rpath-link).
12803 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12804 (test-program-prefix): New macro.
12805 (test-via-rtld-prefix): Likewise.
12806 (test-program-cmd): Likewise.
12807 (host-test-program-cmd): Likewise.
12808 * Makefile ($(common-objpfx)testrun.sh): Replace
12809 $(run-program-prefix) with $(test-program-prefix).
12810 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12811 $(rtld-LDFLAGS).
12812 ($(common-objpfx)shlib.lds): Likewise.
12813 (build-module-helper): Likewise.
12814 ($(common-objpfx)format.lds): Likewise.
12815 * Rules (binaries-pie-tests): New.
12816 (binaries-pie-notests): Likewise.
12817 (binaries-pie): Rewritten.
12818 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12819 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12820 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12821 (make-test-out): Replace $(host-built-program-cmd) with
12822 $(host-test-program-cmd).
12823 * config.make.in (build-hardcoded-path-in-tests): New variable.
12824 * configure.in (--enable-hardcoded-path-in-tests): New configure
12825 option.
12826 (hardcoded_path_in_tests): New AC_SUBST.
12827 * configure: Regenerated.
12828 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12829 $(built-program-cmd) with $(test-program-cmd).
12830 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12831 (test_program_cmd): This.
12832 * elf/Makefile ($(objpfx)order.out): Run test with
12833 $(test-program-prefix).
12834 ($(objpfx)order2.out): Likewise.
12835 ($(objpfx)tst-initorder.out): Likewise.
12836 ($(objpfx)tst-initorder2.out): Likewise.
12837 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12838 $(test-program-cmd).
12839 ($(objpfx)tst-array1-static.out): Likewise.
12840 ($(objpfx)tst-array2.out): Likewise.
12841 ($(objpfx)tst-array3.out): Likewise.
12842 ($(objpfx)tst-array4.out): Likewise.
12843 ($(objpfx)tst-array5.out): Likewise.
12844 ($(objpfx)tst-array5-static.out): Likewise.
12845 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12846 $(test-program-cmd).
12847 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12848 $(run-program-prefix) with $(test-program-prefix).
12849 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12850 (test_program_prefix): This.
12851 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12852 $(run-program-prefix) with $(test-program-prefix).
12853 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12854 (test_program_prefix): This.
12855 * iconvdata/tst-tables.sh: Likewise.
12856 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12857 $(run-program-prefix) with $(test-program-prefix).
12858 ($(objpfx)tst-translit.out): Likewise.
12859 ($(objpfx)tst-gettext2.out): Likewise.
12860 ($(objpfx)tst-gettext4.out): Likewise.
12861 ($(objpfx)tst-gettext6.out): Likewise.
12862 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12863 (test_program_prefix): This.
12864 * intl/tst-gettext2.sh: Likewise.
12865 * intl/tst-gettext4.sh Likewise.
12866 * intl/tst-gettext6.sh: Likewise.
12867 * intl/tst-translit.sh: Likewise.
12868 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12869 with $(test-program-cmd).
12870 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12871 $(run-program-prefix) with $(test-program-prefix).
12872 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12873 (test_program_prefix): This.
12874 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12875 $(run-program-prefix) with $(test-program-prefix).
12876 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12877 (test_program_prefix): This.
12878 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12879 * posix/Makefile ($(objpfx)globtest.out): Replace
12880 $(run-via-rtld-prefix) and $(test-wrapper) with
12881 $(test-program-prefix) and $(test-via-rtld-prefix).
12882 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12883 $(test-program-prefix).
12884 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12885 $(host-test-program-cmd).
12886 (tst-spawn-ARGS): Likewise.
12887 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12888 $(test-program-prefix).
12889 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12890 (test_via_rtld_prefix): This.
12891 (test_wrapper): Renamed to ...
12892 (test_program_prefix): This.
12893 (run_program_prefix): Replaced by test_program_prefix.
12894 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12895 (test_program_prefix): This.
12896 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12897 with $(host-test-program-cmd).
12898 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12899 $(run-program-prefix) with $(test-program-prefix).
12900 ($(objpfx)tst-printf.out): Likewise.
12901 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12902 $(test-program-cmd).
12903 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12904 (test_program_prefix): This.
12905 * stdio-common/tst-unbputc.sh: Likewise.
12906 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12907 $(run-program-prefix) with $(test-program-prefix).
12908 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12909 (test_program_prefix): This.
12910 * string/Makefile ($(objpfx)tst-svc.out): Replace
12911 $(built-program-cmd) with $(test-program-cmd).
12912
c6fe55cf
AJ
129132013-01-11 Andreas Jaeger <aj@suse.de>
12914
12915 [BZ #15003]
12916 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12917 value. Sync with Linux 3.7.
12918
9e6919c8
DM
129192013-01-10 David S. Miller <davem@davemloft.net>
12920
12921 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12922 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12923 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12924
1c9f1a02
RM
129252013-01-10 Roland McGrath <roland@hack.frob.com>
12926
12927 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12928 never set.
12929 * configure: Regenerated.
12930
b9de2dde
DM
129312013-01-10 David S. Miller <davem@davemloft.net>
12932
12933 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12934 sparc V9 rather than using V8 code.
12935 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12936 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12937
e7f68ef4
RM
129382013-01-10 Roland McGrath <roland@hack.frob.com>
12939
12940 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12941 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12942 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12943 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12944 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12945 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12946 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12947 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12948 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12949 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12950 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12951 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12952 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12953 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12954 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12955 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12956 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12957 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12958 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12959 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12960 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12961 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12962 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12963 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12964 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12965 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12966 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12967
5a47cc9c
DM
129682013-01-10 David S. Miller <davem@davemloft.net>
12969
12970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12971
4cf8f209
L
129722013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12973
12974 * posix/Makefile (tests-static): New variable.
12975 (tests): Add $(tests-static).
12976 (tst-exec-static-ARGS): New variable.
12977 (tst-spawn-static-ARGS): Likewise.
12978 * posix/tst-exec-static.c: New file.
12979 * posix/tst-spawn-static.c: Likewise.
12980 * posix/tst-exec.c: Support run directly.
12981 * posix/tst-spawn.c: Likewise.
12982
fed0faa1
JM
129832013-01-10 Joseph Myers <joseph@codesourcery.com>
12984
828beb13
JM
12985 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12986 long.
12987 * math/bits/mathcalls.h (llrint): Likewise.
12988 (llround): Likewise.
12989 * stdlib/stdlib.h (struct drand48_data): Likewise.
12990 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12991 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12992 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12993 Likewise.
12994 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12995 Likewise.
12996 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12997 (elf_greg_t): Likewise.
12998 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12999 (__jmp_buf): Likewise.
13000 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13001 definitions.
13002 (llrint): Likewise, for all definitions.
13003 (llrintl): Likewise.
13004
fed0faa1
JM
13005 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13006 Remove [__GNUC__] condition.
13007 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13008 condition to just [__USE_ISOC99].
13009 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13010
1a20cb20
L
130112013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13012
13013 [BZ #14200]
13014 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13015 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13016 defined.
13017 (_POSIX_V6_ILP32_OFF32): Likewise.
13018 (_XBS5_ILP32_OFF32): Likewise.
13019 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13020 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13021
751b85f7
SP
130222013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13023
7490eb81
SP
13024 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13025
751b85f7
SP
13026 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13027 doubles __mpexp_twomm1. Adjust usage.
13028 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13029 Remove.
13030
988197f0
AS
130312013-01-10 Andreas Schwab <schwab@suse.de>
13032
13033 [BZ #14964]
13034 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13035 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13036
e83d7298
DM
130372013-01-09 David S. Miller <davem@davemloft.net>
13038
034ed64b 13039 [BZ #15003]
e83d7298
DM
13040 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13041 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13042 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13043 TCP_FASTOPEN): Define.
13044 (tcp_repair_opt): New structure.
13045 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13046 enum values.
13047 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13048 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13049 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13050 (tcp_cookie_transactions): New structure.
13051
d5e0b9bd
AB
130522013-01-09 Anton Blanchard <anton@samba.org>
13053
13054 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13055 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13056 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13057 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13058
0c07e3ea
JM
130592013-01-09 Joseph Myers <joseph@codesourcery.com>
13060
13061 * include/features.h (__USE_ANSI): Remove.
13062
232f7002
RM
130632013-01-09 Roland McGrath <roland@hack.frob.com>
13064
ad98e30c
RM
13065 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13066
232f7002
RM
13067 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13068
950c99ca
SP
130692013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13070
b5792741
SP
13071 * sysdeps/s390/fpu/libm-test-ulps: Update.
13072
47cf2278
SP
13073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13074
950c99ca
SP
13075 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13076 (__acr): Likewise.
13077 (__cpy): Likewise.
13078 (norm): Likewise.
13079 (denorm): Likewise.
13080 (__mp_dbl): Likewise.
13081 (__dbl_mp): Likewise.
13082 (add_magnitudes): Likewise.
13083 (sub_magnitudes): Likewise.
13084 (__add): Likewise.
13085 (__sub): Likewise.
13086 (__mul): Likewise.
13087 (__inv): Likewise.
13088 (__dvd): Likewise.
13089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13090 (__acr): Likewise.
13091 (__cpy): Likewise.
13092 (norm): Likewise.
13093 (denorm): Likewise.
13094 (__mp_dbl): Likewise.
13095 (__dbl_mp): Likewise.
13096 (add_magnitudes): Likewise.
13097 (sub_magnitudes): Likewise.
13098 (__add): Likewise.
13099 (__sub): Likewise.
13100 (__mul): Likewise.
13101 (__inv): Likewise.
13102 (__dvd): Likewise.
13103 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13104 (__acr): Likewise.
13105 (__cpy): Likewise.
13106 (norm): Likewise.
13107 (denorm): Likewise.
13108 (__mp_dbl): Likewise.
13109 (__dbl_mp): Likewise.
13110 (add_magnitudes): Likewise.
13111 (sub_magnitudes): Likewise.
13112 (__add): Likewise.
13113 (__sub): Likewise.
13114 (__mul): Likewise.
13115 (__inv): Likewise.
13116 (__dvd): Likewise.
13117
eede9df9
JM
131182013-01-08 Joseph Myers <joseph@codesourcery.com>
13119
13120 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13121 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13122 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13123 2 && __USE_EXTERN_INLINES]: Likewise.
13124
c40ea3d9
AJ
131252013-01-08 Andreas Jaeger <aj@suse.de>
13126
13127 [BZ# 14985]
13128 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13129 Remove.
13130 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13131 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13132
2ccdea26
AB
131332013-01-07 Anton Blanchard <anton@samba.org>
13134
13135 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13136 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13137 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13138 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13139 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13140 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13141 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13142 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13144 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13145 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13146 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13147 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13148 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13149 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13150 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13151 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13152 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13153 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13154 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13155 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13156 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13157 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13158 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13159 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13160 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13161 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13162 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13163 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13164 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13165 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13167 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13168 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13169 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13170 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13171 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13172 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13173 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13174 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13175 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13176 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13177 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13178
a9708fed
JM
131792013-01-07 Joseph Myers <joseph@codesourcery.com>
13180
375607b9
JM
13181 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13182 (__MALLOC_PMT): Likewise.
13183 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13184 [__GNUC__], only on [_LIBC].
13185 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13186 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13187 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13188 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13189 forward declaration.
13190 (realloc_hook_ini): Likewise.
13191 (memalign_hook_ini): Likewise.
13192 (__libc_memalign): Do not use __MALLOC_PMT in variable
13193 declaration.
13194 (__libc_valloc): Likewise.
13195 (__libc_pvalloc): Likewise.
13196 (__libc_calloc): Likewise.
13197 (__posix_memalign): Likewise.
13198
a9708fed
JM
13199 [BZ #14996]
13200 * math/s_casinh.c: Include <float.h>.
13201 (__casinh): Do not do computation with squaring and square root
13202 for large arguments.
13203 * math/s_casinhf.c: Include <float.h>.
13204 (__casinhf): Do not do computation with squaring and square root
13205 for large arguments.
13206 * math/s_casinhl.c: Include <float.h>.
13207 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13208 (__casinhl): Do not do computation with squaring and square root
13209 for large arguments.
13210 * math/libm-test.inc (casin_test): Add more tests.
13211 (casinh_test): Likewise.
13212 * sysdeps/i386/fpu/libm-test-ulps: Update.
13213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13214
afec409a
L
132152013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13216
13217 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13218 (__x86_64_raw_data_cache_size): Likewise.
13219 (__x86_64_data_cache_size_half): Likewise.
13220 (__x86_64_raw_data_cache_size_half): Likewise.
13221 (__x86_64_shared_cache_size): Likewise.
13222 (__x86_64_raw_shared_cache_size): Likewise.
13223 (__x86_64_shared_cache_size_half): Likewise.
13224 (__x86_64_raw_shared_cache_size_half): Likewise.
13225 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13226 to ...
13227 (__x86_data_cache_size): This.
13228 (__x86_64_raw_data_cache_size): Renamed to ...
13229 (__x86_raw_data_cache_size): This.
13230 (__x86_64_data_cache_size_half): Renamed to ...
13231 (__x86_data_cache_size_half): This.
13232 (__x86_64_raw_data_cache_size_half): Renamed to ...
13233 (__x86_raw_data_cache_size_half): This.
13234 (__x86_64_shared_cache_size): Renamed to ...
13235 (__x86_shared_cache_size): This.
13236 (__x86_64_raw_shared_cache_size): Renamed to ...
13237 (__x86_raw_shared_cache_size): This.
13238 (__x86_64_shared_cache_size_half): Renamed to ...
13239 (__x86_shared_cache_size_half): This.
13240 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13241 (__x86_raw_shared_cache_size_half): This.
13242 * sysdeps/x86_64/memcpy.S: Updated.
13243 * sysdeps/x86_64/memset.S: Likewise.
13244 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13245 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13246 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13247
0b3986d0
DM
132482013-01-04 David S. Miller <davem@davemloft.net>
13249
13250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13251
e47686e9
AS
132522013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13253
d643bac1
AS
13254 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13255 1 to avoid redefinition warning.
13256 (__USE_GNU): Don't define.
13257 (init_signaling_nan): Protoize.
13258
e47686e9
AS
13259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13260
b18decba
SP
132612013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13262
fffb407f
SP
13263 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13265 (__cpymn): Likewise.
13266 (norm): Remove commented code.
13267 (denorm): Likewise.
13268 (__mp_dbl): Likewise.
13269 (__inv): Likewise.
13270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13271 (__cpymn): Likewise.
13272 (norm): Remove commented code.
13273 (denorm): Likewise.
13274 (__mp_dbl): Likewise.
13275 (__inv): Likewise.
13276
b18decba
SP
13277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13278 mp_no value for 1.0 and 2.0.
13279 (norm): Use RADIXI instead of radixi.d.
13280 (denorm): Likewise.
13281 (__mul): Use 0.0 instead of zero.d.
13282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13283 mp_no value for 1.0 and 2.0.
13284 (norm): Use RADIXI instead of radixi.d.
13285 (denorm): Likewise.
13286 (__mul): Use 0.0 instead of zero.d.
13287
cdc1c96f
JM
132882013-01-04 Joseph Myers <joseph@codesourcery.com>
13289
13290 [BZ #14994]
13291 * math/s_casinh.c (__casinh): Reduce finite argument to first
13292 quadrant then set signs of results at the end.
13293 * math/s_casinhf.c (__casinhf): Likewise.
13294 * math/s_casinhl.c (__casinhl): Likewise.
13295 * math/libm-test.inc (casin_test): Add more tests.
13296 (casinh_test): Likewise.
13297 * sysdeps/i386/fpu/libm-test-ulps: Update.
13298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13299
302913e1
SP
133002013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13301
6420d207
SP
13302 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13303
a9e48ab4
SP
13304 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13305
b7837264
SP
13306 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13307 declarations.
13308 (denorm): Likewise.
13309 (__mp_dbl): Likewise.
13310 (__inv): Likewise.
13311
f8af25d2
SP
13312 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13313 and adjust the header comment.
13314
302913e1
SP
13315 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13316 variable name from declaration.
13317
5d7dd1ca
L
133182013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13319
13320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13321 Initialize COMMON_CPUID_INDEX_7 element.
13322 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13323 (CPUID_RTM): Likewise.
13324 (HAS_RTM): Likewise.
13325 (COMMON_CPUID_INDEX_7): New enum.
13326
2f5f40f4
AS
133272013-01-03 Andreas Schwab <schwab@linux-m68k.org>
13328
13329 [BZ #14981]
13330 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13331 size is zero, record memory as freed.
13332
4056f4a0
AJ
133332013-01-03 Andreas Jaeger <aj@suse.de>
13334
13335 * po/ia.po: Add new Interlingua translation.
13336
ab15736f 133372012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
13338
13339 * locale/programs/localedef.c: Fix description of '--posix' flag.
13340
568035b7
JM
133412013-01-02 Joseph Myers <joseph@codesourcery.com>
13342
e6898b8d
JM
13343 * NEWS: Update dates in second copyright notice.
13344 * README: Update copyright dates in example.
13345 * manual/libc.texinfo: Update copyright dates.
13346 * scripts/test-installation.pl: Update copyright date in --version
13347 output.
13348
0e2f9562
JM
13349 * hurd/ctty-input.c: Fix copyright notice formatting.
13350 * hurd/ctty-output.c: Likewise.
13351 * hurd/dtable.c: Likewise.
13352 * hurd/hurd-raise.c: Likewise.
13353 * hurd/hurdprio.c: Likewise.
13354 * hurd/msgportdemux.c: Likewise.
13355 * misc/sys/file.h: Likewise.
13356 * misc/sys/ioctl.h: Likewise.
13357 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13358 * sysdeps/mach/hurd/chdir.c: Likewise.
13359 * sysdeps/mach/hurd/fchdir.c: Likewise.
13360 * sysdeps/mach/hurd/rename.c: Likewise.
13361 * sysdeps/mach/hurd/rmdir.c: Likewise.
13362 * sysdeps/mach/hurd/seekdir.c: Likewise.
13363 * sysdeps/mach/hurd/setsid.c: Likewise.
13364 * sysdeps/posix/wait3.c: Likewise.
13365
568035b7
JM
13366 * All files with FSF copyright notices: Update copyright dates
13367 using scripts/update-copyrights.
13368 * intl/plural.c: Regenerated.
13369 * locale/programs/charmap-kw.h: Likewise.
13370 * locale/programs/locfile-kw.h: Likewise.
13371
da08f647
SP
133722013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13373
0f5477af
SP
13374 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13375 four values.
13376
44e0d4c2
SP
13377 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13378 calculation loop and add branch prediction.
13379
4d55b4e5
SP
13380 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13381 check access beyond bounds of m1np.
13382
da08f647
SP
13383 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13384 MPTWO.
13385 (__inv): Remove local variable MPTWO to use the global
13386 constant.
13387 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13388 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13389 variable MPTWO.
13390 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13391 MP3HALFS static const.
13392
8e051029
DM
133932013-01-01 David S. Miller <davem@davemloft.net>
13394
13395 * po/ca.po: Update from translation team.
13396
f4cf5f2d
JM
133972013-01-01 Joseph Myers <joseph@codesourcery.com>
13398
13399 * scripts/update-copyrights: New file.
13400 * Makeconfig: Reformat copyright notice.
13401 * ctype/ctype.h: Likewise.
13402 * debug/swprintf_chk.c: Likewise.
13403 * elf/dl-cache.c: Likewise.
13404 * elf/dl-debug.c: Likewise.
13405 * elf/dl-object.c: Likewise.
13406 * grp/initgroups.c: Likewise.
13407 * hurd/Makefile: Likewise.
13408 * hurd/hurd/signal.h: Likewise.
13409 * hurd/hurdfault.c: Likewise.
13410 * hurd/hurdioctl.c: Likewise.
13411 * hurd/hurdlookup.c: Likewise.
13412 * hurd/intr-msg.c: Likewise.
13413 * iconv/gconv_open.c: Likewise.
13414 * libio/swprintf.c: Likewise.
13415 * locale/lc-ctype.c: Likewise.
13416 * locale/nl_langinfo.c: Likewise.
13417 * mach/Machrules: Likewise.
13418 * mach/Makefile: Likewise.
13419 * malloc/obstack.h: Likewise.
13420 * manual/Makefile: Likewise.
13421 * manual/tsort.awk: Likewise.
13422 * misc/bits/stab.def: Likewise.
13423 * nis/nis_print_group_entry.c: Likewise.
13424 * nis/nis_table.c: Likewise.
13425 * nis/nss_compat/compat-pwd.c: Likewise.
13426 * nis/nss_compat/compat-spwd.c: Likewise.
13427 * po/Makefile: Likewise.
13428 * posix/fnmatch.c: Likewise.
13429 * posix/regex.h: Likewise.
13430 * resolv/Makefile: Likewise.
13431 * resolv/nss_dns/dns-network.c: Likewise.
13432 * resolv/res_hconf.c: Likewise.
13433 * scripts/gen-sorted.awk: Likewise.
13434 * soft-fp/soft-fp.h: Likewise.
13435 * stdio-common/printf.h: Likewise.
13436 * stdlib/monetary.h: Likewise.
13437 * stdlib/random.c: Likewise.
13438 * stdlib/random_r.c: Likewise.
13439 * sysdeps/generic/Makefile: Likewise.
13440 * sysdeps/gnu/Makefile: Likewise.
13441 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13442 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13443 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13445 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13446 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13447 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13448 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13449 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13450 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13451 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13452 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13453 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13454 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13455 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13456 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13457 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13458 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13459 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13460 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13461 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13462 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13463 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13469 * sysdeps/mach/hurd/errnos.awk: Likewise.
13470 * sysdeps/mach/hurd/fork.c: Likewise.
13471 * sysdeps/mach/hurd/getcwd.c: Likewise.
13472 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13473 * sysdeps/mach/hurd/mmap.c: Likewise.
13474 * sysdeps/mach/hurd/utimes.c: Likewise.
13475 * sysdeps/mach/hurd/xmknod.c: Likewise.
13476 * sysdeps/posix/profil.c: Likewise.
13477 * sysdeps/posix/readdir_r.c: Likewise.
13478 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13479 * sysdeps/powerpc/bits/setjmp.h: Likewise.
13480 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13481 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13483 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13484 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13485 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13487 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13488 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13489 * sysdeps/pthread/lio_listio.c: Likewise.
13490 * sysdeps/sparc/dl-procinfo.h: Likewise.
13491 * sysdeps/unix/i386/sysdep.S: Likewise.
13492 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13493 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13494 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13495 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13497 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13498 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13499 * sysdeps/unix/sysv/linux/speed.c: Likewise.
13500 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13501 * sysdeps/wordsize-32/divdi3.c: Likewise.
13502 * time/sys/time.h: Likewise.
13503 * wcsmbs/Makefile: Likewise.
13504
0549fbba
DM
135052013-01-01 David S. Miller <davem@davemloft.net>
13506
a141f1a7
DM
13507 * po/fr.po: Update from translation team.
13508
0549fbba
DM
13509 * catgets/gencat.c: Update copyright year.
13510 * csu/version.c: Likewise.
13511 * debug/catchsegv.sh: Likewise.
13512 * debug/pcprofiledump.c: Likewise.
13513 * debug/xtrace.sh: Likewise.
13514 * elf/ldconfig.c: Likewise.
13515 * elf/ldd.bash.in: Likewise.
13516 * elf/pldd.c: Likewise.
13517 * elf/sotruss.ksh: Likewise.
13518 * elf/sprof.c: Likewise.
13519 * iconv/iconv_prog.c: Likewise.
13520 * iconv/iconvconfig.c: Likewise.
13521 * locale/programs/locale.c: Likewise.
13522 * locale/programs/localedef.c: Likewise.
13523 * login/programs/pt_chown.c: Likewise.
13524 * malloc/memusage.sh: Likewise.
13525 * malloc/memusagestat.c: Likewise.
13526 * malloc/mtrace.pl: Likewise.
13527 * nscd/nscd.c: Likewise.
13528 * nss/getent.c: Likewise.
13529 * nss/makedb.c: Likewise.
13530 * posix/getconf.c: Likewise.
13531
18ea052c
SP
135322012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13533
13534 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13535 numbers.
13536
9c89fca6
MF
135372012-12-30 Mike Frysinger <vapier@gentoo.org>
13538
13539 * math/bits/mathcalls.h (modf): Use __nonnull.
13540
085ec079
SP
135412012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13542
13543 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13544 (split): Use macro CN instead of the bare value.
13545 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13546 could be used.
13547 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13548 instead of the bare value.
13549 (power1): Likewise.
13550
6d9f97e1
SP
135512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13552
d63f73be
SP
13553 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13554 __ATAN_TWOM.
13555 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13556
6d9f97e1
SP
13557 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13558 their values.
13559 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13560 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13561 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13562 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13563
4c4febf5
AJ
135642012-12-28 Andreas Jaeger <aj@suse.de>
13565
af5843ef
AJ
13566 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
13567 values are from Linux 3.7.
13568
4c4febf5
AJ
13569 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13570 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13571
99136f82
SP
135722012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13573
2f216c3c 13574 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13575 TRUE case.
13576
99136f82
SP
13577 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13578 (norm): Likewise.
13579 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13580 variables with preprocessor constants.
13581 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13582 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13583 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13584
7fffbdff
BH
135852012-12-27 Bruno Haible <bruno@clisp.org>
13586
13587 [BZ #14317]
13588 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13589 only if needed.
13590
b76eb5f0
SP
135912012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13592
31a7fe5c
SP
13593 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13594 and use variable directly.
13595 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13596
b76eb5f0
SP
13597 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13598 MPONE.
13599 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13600 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13601 variable MPONE.
13602 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13603 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13604 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13605 include directive. Remove local variable MPONE.
13606 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13607 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13608 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13609
2c8bfe7d
DM
136102012-12-25 David S. Miller <davem@davemloft.net>
13611
13612 * version.h (RELEASE): Set to "development".
13613 (VERSION): Set to "2.17.90".
13614 * NEWS: Add 2.18 section.
13615
147d03b0
DM
136162012-12-21 David S. Miller <davem@davemloft.net>
13617
13618 * po/hr.po: Update from translation team.
13619
a8ebb2b9
AK
136202012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13621
13622 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13623
95b4f1b6
SE
136242012-12-19 Steve Ellcey <sellcey@mips.com>
13625
b2d94007 13626 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13627
cedb2a90
MS
136282012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13629
13630 * manual/contrib.texi (Contributors): Spelling correction.
13631
bbf527d6
DM
136322012-12-15 David S. Miller <davem@davemloft.net>
13633
13634 * po/ru.po: Update from translation team.
13635
bc38c906
DM
136362012-12-13 David S. Miller <davem@davemloft.net>
13637
85429b1a
DM
13638 * NEWS: Mention IFUNC testsuite enhancements.
13639
d283e353
DM
13640 * po/pl.po: Update from translation team.
13641 * po/bg.po: Likewise.
13642
bc38c906
DM
13643 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13644 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13645
a181b0d7
DM
136462012-12-11 David S. Miller <davem@davemloft.net>
13647
4641d57e
DM
13648 * po/sv.po: Update from translation team.
13649
f7bc6495
DM
13650 * po/vi.po: Update from translation team.
13651
6fc9048f
DM
13652 * po/cs.po: Update from translation team.
13653
a181b0d7
DM
13654 * po/de.po: Update from translation team.
13655 * po/eo.po: Likewise.
13656 * po/nl.po: Likewise.
13657
f70bfe80
SP
136582012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13659
3c8b4190
SP
13660 [BZ #14246]
13661 * manual/argp.texi (Argp Helper Functions): Move node to follow
13662 Argp Parsing State.
13663
f70bfe80
SP
13664 [BZ #14872]
13665 * manual/conf.texi (Limits on File System Capacity): Mention if
13666 terminating null is included in the max size.
13667
188f0adf
AJ
136682012-12-10 Andreas Jaeger <aj@suse.de>
13669
13670 * po/cs.po: Update from translation team.
13671
56e7d3ad
SP
136722012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13673
13674 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13675 void pointer and cast to uintptr_t.
13676 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13677 path.
13678 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13679 * sysdeps/s390/s390-64/memset.S: Likewise.
13680
76f2d2ea 136812012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13682
13683 [BZ #14833]
13684 * menual/message.texi (Message Translation): Fix typos.
13685 (Helper programs for gettext): Likewise.
13686
67cbf9a2
AS
136872012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13688
13689 [BZ #14898]
13690 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13691 Change to -1.
13692
682d0e9a
DM
136932012-12-07 David S. Miller <davem@davemloft.net>
13694
13695 * po/libc.pot: Update.
13696
573cd484
RH
136972012-12-07 Richard Henderson <rth@redhat.com>
13698
7e9da188 13699 [BZ #10114]
573cd484
RH
13700 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13701 normal/normal case to before the switch.
13702 (_FP_DIV): Likewise.
13703
e933a943
MF
137042012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13705 Mike Frysinger <vapier@gentoo.org>
13706
13707 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13708 check for __NR_fadvise64_64.
13709
82123268
CM
137102012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13711
13712 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13713 0, not just to plain "0" as a statement.
13714 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13715 with cw.
13716
d9814526
JM
137172012-12-06 Joseph Myers <joseph@codesourcery.com>
13718
13719 * NEWS: Use sourceware.org in Bugzilla URL.
13720
7728c574
SP
137212012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13722
f16946dd
SP
13723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13724 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13725
5704bbcb
SP
13726 * stdio-common/tst-put-error.c (do_test): Add newline to the
13727 padded test to ensure flush.
13728
17aa0516
JL
137292012-12-05 Jeff Law <law@redhat.com>
13730
13731 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13732
363313b5
JM
137332012-12-05 Joseph Myers <joseph@codesourcery.com>
13734
effbd42a
JM
13735 * README: Don't refer to ports add-on as distributed separately.
13736 Mention AArch64 in list of systems supported in the ports add-on.
13737
87600365
JM
13738 * LICENSES: Add more non-FSF copyright and license notices.
13739
a0d7066a
JM
13740 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13741 ((unused)).
13742
66ca5a5b
JM
13743 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13744
363313b5
JM
13745 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13746 10000 as width of padded output.
13747
b37984ad
JM
137482012-12-04 Joseph Myers <joseph@codesourcery.com>
13749
9003570a
JM
13750 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13751
b37984ad
JM
13752 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13753 variable LX with __attribute__ ((unused)).
13754 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13755 Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13758 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13759 with __attribute__ ((unused)).
13760
c8df52ec
DM
137612012-12-04 David S. Miller <davem@abraco.davemloft.net>
13762
13763 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13764
b3b099af
JM
137652012-12-04 Joseph Myers <joseph@codesourcery.com>
13766
c33aa6e3
JM
13767 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13768 (CFLAGS-nldbl-acos.c): New variable.
13769 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13770 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13771 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13772 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13773 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13774 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13775 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13776 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13777 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13778 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13779 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13780 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13781 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13782 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13783 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13784 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13785 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13786 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13787 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13788 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13789 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13790 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13791 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13792 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13793 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13794 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13795 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13796 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13797 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13798 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13799 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13800 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13801 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13802 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13803 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13804 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13805 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13806 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13807 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13808 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13809 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13810 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13811 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13812 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13813 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13814 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13815 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13816 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13817 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13818 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13819 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13820 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13821 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13822 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13823 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13824 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13825 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13826 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13827 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13828 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13829 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13830 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13831 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13832 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13833 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13834 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13835 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13836 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13837 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13838 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13839 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13840 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13841 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13842 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13843 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13844 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13845 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13846 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13847 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13848 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13849 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13850 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13851 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13852 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13853 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13854 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13855 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13856 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13857 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13858 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13859 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13860 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13861 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13862 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13863 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13864 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13865 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13866
20f0018d
JM
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13868 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13869
b3b099af
JM
13870 [BZ #14914]
13871 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13872 whole low double instead of just low 47 bits when splitting values
13873 into two parts.
13874
029264d1
AM
138752012-12-03 Allan McRae <allan@archlinux.org>
13876
13877 * manual/stdio.texi (Predefined Printf Handlers): Remove
13878 @hsep and @vsep usage.
13879
c9d6789e
MF
138802012-12-03 Mike Frysinger <vapier@gentoo.org>
13881
13882 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13883 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13884
4b7634a5
JL
138852012-12-03 Jeff Law <law@redhat.com>
13886
13887 * time/sys/time.h (settimeofday): Do not mark TV argument
13888 as __nonnull.
13889
eb6cbd24
MF
138902012-12-01 Mike Frysinger <vapier@gentoo.org>
13891
13892 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13893 when currently writing and seek to current position when not.
13894 * libio/Makefile (tests): Remove bug-fclose1.
13895 * libio/bug-fclose1.c: Delete.
13896
f638872a
JM
138972012-12-01 Joseph Myers <joseph@codesourcery.com>
13898
13899 * manual/arith.texi (feenableexcept): Fix typo.
13900 (fedisableexcept): Likewise.
13901
48085d14
RM
139022012-11-30 Roland McGrath <roland@hack.frob.com>
13903
13904 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13905 second, differently-typed declaration, rather than a cast.
13906
1a538b9f
SP
139072012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13908
13909 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13910 * include/rpc/svc.h: ... here.
13911
d07f2ff1 139122012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13913
13914 [BZ #13013]
13915 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13916 depending n and resplen2 to catch cases where answer
13917 equals answerp2.
13918
c93ec1f0
CD
139192012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13920
13921 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13922 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13923
37db69de
MF
139242012-11-29 Mike Frysinger <vapier@gentoo.org>
13925
13926 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13927
e10c4e4f
RM
139282012-11-29 Roland McGrath <roland@hack.frob.com>
13929
13930 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13931
2af1b328
JL
139322012-11-28 Jeff Law <law@redhat.com>
13933
13934 [BZ #13761]
13935 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13936 dataset_temporary. Track alloca usage into alloca_used.
13937 If dataset is large allocate and release it via malloc/free.
13938
111db5b1
FW
139392012-06-04 Florian Weimer <fweimer@redhat.com>
13940
f06cc227 13941 [BZ #14197]
111db5b1
FW
13942 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13943
dd694abd
DM
139442012-11-28 David S. Miller <davem@davemloft.net>
13945
13946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13947
9984dd01
JM
139482012-11-28 Joseph Myers <joseph@codesourcery.com>
13949
13950 [BZ #14803]
13951 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13952 of pi/2 rounded to nearest to 64 bits.
13953 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13954 nearest to 64 bits.
13955 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13956 bits.
13957
14bc93a9
JL
139582012-11-28 Jeff Law <law@redhat.com>
13959 Martin Osvald <mosvald@redhat.com>
13960
13961 [BZ #14889]
13962 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13963 * sunrpc/svc.c: Include time.h.
13964 (__svc_accept_failed): New function.
13965 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13966 any reason other than EINTR, call __svc_accept_failed.
13967 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13968 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13969
e3c6aa3a
AS
139702012-11-28 Andreas Schwab <schwab@suse.de>
13971
13972 * scripts/abilist.awk: Also handle indirect functions in .opd
13973 section.
13974
1bead169
JM
139752012-11-28 Joseph Myers <joseph@codesourcery.com>
13976
13977 [BZ #13881]
13978 * sysdeps/x86/fpu/powl_helper.c: New file.
13979 * sysdeps/x86/fpu/Makefile: Likewise.
13980 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13981 (p3): New object.
13982 (__ieee754_powl): Use __powl_helper for finite arguments except
13983 integer exponents below 8.
13984 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13985 (p3): New object.
13986 (__ieee754_powl): Use __powl_helper for finite arguments except
13987 integer exponents below 8.
13988 * math/libm-test.inc (pow_test): Add more tests and enable some
13989 previously disabled tests.
13990 * sysdeps/i386/fpu/libm-test-ulps: Update.
13991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13992
0817d63d
SP
139932012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13994 Carlos O'Donell <carlos_odonell@mentor.com>
13995
13996 * nss/makedb.c (is_prime): Assert that input is odd and greater
13997 than 4. Note that fact in a comment too.
13998 (next_prime): Add 4 to input.
13999
de2fd463
SP
140002012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14001
14002 [BZ #11741]
14003 * libio/Makefile (tests): Add test case tst-fwrite-error.
14004 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14005 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14006 * libio/tst-fwrite-error.c: New test case.
14007
c515fb51
L
140082012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14009
14010 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14011 before casting to void *.
14012 * include/libc-internal.h (__pointer_type): New macro.
14013 (__integer_if_pointer_type_sub): Likewise.
14014 (__integer_if_pointer_type): Likewise.
14015 (cast_to_integer): Likewise.
14016 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14017 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14018 before casting to atomic64_t.
14019 (atomic_exchange_acq): Likewise.
14020 (__arch_exchange_and_add_body): Likewise.
14021 (__arch_add_body): Likewise.
14022 (atomic_add_negative): Likewise.
14023 (atomic_add_zero): Likewise.
14024
4cf77aa9
JM
140252012-11-26 Joseph Myers <joseph@codesourcery.com>
14026
14027 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14028 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14029 (add_fdes): Likewise.
14030 (linear_search_fdes): Likewise.
14031 (binary_search_unencoded_fdes): Likewise.
14032
d260b3b4
AS
140332012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14034
14035 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14036
67060746
AC
140372012-11-24 Adam Conrad <adconrad@0c3.net>
14038
14039 * configure.in: Autodetect C++ header directories.
14040 * configure: Regenerated.
14041
800938a1
MF
140422012-11-23 Mike Frysinger <vapier@gentoo.org>
14043
14044 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14045
4e6e34e6
AS
140462012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14047
14048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14049
7c7feb47
JM
140502012-11-22 Joseph Myers <joseph@codesourcery.com>
14051
7184dcdf
JM
14052 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14053 LDBL_MANT_DIG == 106]: Disable some tests.
14054 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14055 Likewise.
14056 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14057 Likewise.
14058
0a42601f
JM
14059 [BZ #14871]
14060 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14061 input for small inputs. Return +/- pi/2 for large inputs.
14062 * math/libm-test.inc (atan_test): Add more tests.
14063
79c9b9fe
JM
14064 * sysdeps/generic/unwind-dw2-fde-glibc.c
14065 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14066 __attribute__ ((unused)).
14067
c60d3bf2
JM
14068 [BZ #14645]
14069 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14070 x * y if x and y are nonzero and z is zero.
14071
ef1e0867
JM
14072 [BZ #14811]
14073 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14074 nonzero exponents with absolute value below 0x1p-117 to +/-
14075 0x1p-117.
14076
1468ded3
JM
14077 [BZ #14869]
14078 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14079 up arguments below 2**-450, not just those below 2**-500.
14080 * math/libm-test.inc (hypot_test): Add another test.
14081
8e27e3cc
JM
14082 [BZ #14868]
14083 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14084 Return a+b for ratio over 2**120, not 2**60.
14085 * math/libm-test.inc (hypot_test): Add another test.
14086
c9c0279b
JM
14087 * math/libm-test.inc (clog_test): Use
14088 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14089 (clog10_test): Likewise.
14090
7c7feb47
JM
14091 [BZ #6778]
14092 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14093
fff1530e
AS
140942012-11-22 Andreas Schwab <schwab@suse.de>
14095
14096 * sysdeps/i386/fpu/libm-test-ulps: Update.
14097
94558d30
PT
140982012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14099
14100 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14101 printf output with newline.
14102
7e1be741
L
141032012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14104
6bfea974
L
14105 [BZ #14865]
14106 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14107 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14108 -z nodlopen, -z initfirst and -z execstack support.
14109 * configure: Regenerated.
14110
7e1be741
L
14111 * elf/elf.h (DF_1_NODIRECT): New macro.
14112 (DF_1_IGNMULDEF): Likewise.
14113 (DF_1_NOKSYMS): Likewise.
14114 (DF_1_NOHDR): Likewise.
14115 (DF_1_EDITED): Likewise.
14116 (DF_1_NORELOC): Likewise.
14117 (DF_1_SYMINTPOSE): Likewise.
14118 (DF_1_GLOBAUDIT): Likewise.
14119 (DF_1_SINGLETON): Likewise.
14120 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14121 DT_1_SUPPORTED_MASK bits.
14122 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14123
105ce2ce
CD
141242012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14125
14126 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14127
123be9de
TS
141282012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14129
d072f3f7
TS
14130 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14131 macro.
14132
123be9de
TS
14133 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14134 (sendmmsg): Move declarations...
14135 * socket/sys/socket.h: ... here.
14136 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14137 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14138 include it from...
14139 * socket/recvmmsg.c: ... this new file.
14140 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14141 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14142 definition of __sendmmsg hidden.
14143 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14144 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14145 Move ENOSYS stub into and include it from...
14146 * socket/sendmmsg.c: ... this new file.
14147 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14148 (sysdep_routines): Move recvmmsg and sendmmsg...
14149 * socket/Makefile (routines): ... here.
14150 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14151 (GLIBC_PRIVATE): Add __sendmmsg.
14152 * include/sys/socket.h (__sendmmsg): Add declarations.
14153 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14154 sendmmsg.
14155
cf9a5d18
JM
141562012-11-20 Joseph Myers <joseph@codesourcery.com>
14157
14158 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14159 variable I1 with __attribute__ ((unused)).
14160 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14161
ecd4caf9
JM
141622012-11-19 Joseph Myers <joseph@codesourcery.com>
14163
be14d48f
JM
14164 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14165 DUMMY variables with __attribute__ ((unused)).
14166
ecd4caf9
JM
14167 * bits/byteswap.h: Include <bits/types.h>.
14168 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14169
986cab95
PT
141702012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14171
14172 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14173 string_t. Do not manually set errno.
14174 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14175 length with __strnlen. Make sure to both set errno and return it on
14176 failure.
14177
6d33cc9d
DM
141782012-11-19 David S. Miller <davem@davemloft.net>
14179
14180 With help from Joseph Myers.
14181 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14182 very large arguments properly.
14183 * math/libm-test.inc (atan_test): New tests.
14184 (atan2_test): New tests.
14185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14187
ee663277
JM
141882012-11-19 Joseph Myers <joseph@codesourcery.com>
14189
877f2d8e
JM
14190 [BZ #14856]
14191 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14192 Define to 3.
14193
116fc08a
JM
14194 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14195 [POSIX] (EADDRNOTAVAIL): Likewise.
14196 [POSIX] (EAFNOSUPPORT): Likewise.
14197 [POSIX] (EALREADY): Likewise.
14198 [POSIX] (ECONNABORTED): Likewise.
14199 [POSIX] (ECONNREFUSED): Likewise.
14200 [POSIX] (ECONNRESET): Likewise.
14201 [POSIX] (EDESTADDRREQ): Likewise.
14202 [POSIX] (EDQUOT): Likewise.
14203 [POSIX] (EHOSTUNREACH): Likewise.
14204 [POSIX] (EIDRM): Likewise.
14205 [POSIX] (EISCONN): Likewise.
14206 [POSIX] (ELOOP): Likewise.
14207 [POSIX] (EMULTIHOP): Likewise.
14208 [POSIX] (ENETDOWN): Likewise.
14209 [POSIX] (ENETUNREACH): Likewise.
14210 [POSIX] (ENOBUFS): Likewise.
14211 [POSIX] (ENODATA): Likewise.
14212 [POSIX] (ENOLINK): Likewise.
14213 [POSIX] (ENOMSG): Likewise.
14214 [POSIX] (ENOPROTOOPT): Likewise.
14215 [POSIX] (ENOSR): Likewise.
14216 [POSIX] (ENOSTR): Likewise.
14217 [POSIX] (ENOTCONN): Likewise.
14218 [POSIX] (ENOTSOCK): Likewise.
14219 [POSIX] (EOPNOTSUPP): Likewise.
14220 [POSIX] (EOVERFLOW): Likewise.
14221 [POSIX] (EPROTO): Likewise.
14222 [POSIX] (EPROTONOSUPPORT): Likewise.
14223 [POSIX] (EPROTOTYPE): Likewise.
14224 [POSIX] (ESTALE): Likewise.
14225 [POSIX] (ETIME): Likewise.
14226 [POSIX] (ETXTBSY): Likewise.
14227 [POSIX] (EWOULDBLOCK): Likewise.
14228 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14229 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14230 [POSIX] (SEEK_CUR): Likewise.
14231 [POSIX] (SEEK_END): Likewise.
14232 [POSIX || UNIX98] (mode_t): Do not require.
14233 [POSIX] (off_t): Likewise.
14234 [POSIX] (pid_t): Likewise.
14235 [POSIX] (sys/stat.h): Do not allow header.
14236 [POSIX] (unistd.h): Likewise.
14237 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14238 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14239 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14240 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14241 require.
14242 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14243 sigevent): Specify elements.
14244 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14245 entry.
14246 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14247 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14248
a483863f
JM
14249 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14250 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14251 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14252 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14253 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14254 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14255 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14256 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14257 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14258 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14259 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14260 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14261 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14262 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14263 Likewise.
14264 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14265 Likewise.
14266 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14267 Likewise.
14268 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14269 Likewise.
14270 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14271 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14272 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14273 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14274 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14275 Specify lower bound on value.
14276 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14277 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14278 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14279 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14280 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14281 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14282 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14283 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14284 value.
14285 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14286 as optional.
14287 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14288 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14289 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14290 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14291 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14292 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14293 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14294 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14295 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14296 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14297 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14298 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14299 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14300 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14301 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14302 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14303 entry.
14304 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14305 optional.
14306 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14307 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14308 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14309 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14310 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14311 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14312 Likewise.
14313 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14314 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14315 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14316 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14317 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14318 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14319 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14320 as optional.
14321 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14322 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14323 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14324 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14325 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14326 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14327 specify as optional.
14328 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14329 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14330 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14331 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14332 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14333 [XPG3] (NL_LANGMAX): Likewise.
14334 [POSIX || XPG3] (NL_MSGMAX): Likewise.
14335 [POSIX || XPG3] (NL_NMAX): Likewise.
14336 [POSIX || XPG3] (NL_SETMAX): Likewise.
14337 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14338 [XPG3] (NZERO): Likewise.
14339 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14340 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14341 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14342 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14343 (REG_ERANGE): Expect.
14344 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14345 optional-constant.
14346 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14347 Use (void) in prototype.
14348 [POSIX] (*_t): Allow.
14349 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14350 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14351 (WRDE_BADVAL): Expect.
14352
5ba924e3
JM
14353 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14354 expect.
14355 [XPG3 || XPG4] (O_RSYNC): Likewise.
14356 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14357 Likewise.
14358 [XPG3 || XPG4] (pthread_sigmask): Likewise.
14359 [XPG3 || XPG4] (sigqueue): Likewise.
14360 [XPG3 || XPG4] (sigtimedwait): Likewise.
14361 [XPG3 || XPG4] (sigwaitinfo): Likewise.
14362 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14363 [XPG3 || XPG4] (vsnprintf): Likewise.
14364 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14365 Likewise.
14366 [XPG3 || XPG4] (blksize_t): Likewise.
14367 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14368 Likewise.
14369 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14370 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14371 [XPG3 || XPG4] (struct itimerspec): Likewise.
14372 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14373 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14374 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14375 [XPG3 || XPG4] (clockid_t): Likewise.
14376 [XPG3 || XPG4] (timer_t): Likewise.
14377 [XPG3 || XPG4] (clock_getres): Likewise.
14378 [XPG3 || XPG4] (clock_gettime): Likewise.
14379 [XPG3 || XPG4] (clock_settime): Likewise.
14380 [XPG3 || XPG4] (nanosleep): Likewise.
14381 [XPG3 || XPG4] (timer_create): Likewise.
14382 [XPG3 || XPG4] (timer_delete): Likewise.
14383 [XPG3 || XPG4] (timer_gettime): Likewise.
14384 [XPG3 || XPG4] (timer_getoverrun): Likewise.
14385 [XPG3 || XPG4] (timer_settime): Likewise.
14386 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14387 [XPG3 || XPG4] (getlogin_r): Likewise.
14388 [XPG3 || XPG4] (pread): Likewise.
14389 [XPG3 || XPG4] (pthread_atfork): Likewise.
14390 [XPG3 || XPG4] (pwrite): Likewise.
14391
ee663277
JM
14392 [BZ #14835]
14393 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14394 <bits/siginfo.h>.
14395
942caa16
PT
143962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14397
e19af380
PT
14398 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14399 finalizing MALLSTREAM.
14400
942caa16
PT
14401 * sysdeps/mach/hurd/syncfs.c: New file.
14402
cfde9b46
SP
144032012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14404
14405 [BZ #14719]
14406 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14407 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14408 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14409 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14410 (_nss_dns_gethostbyname4_r): Likewise.
14411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14412 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14413
f6da27e5
PH
144142012-11-19 Peng Haitao <penght@cn.fujitsu.com>
14415
14416 [BZ #13763]
14417 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14418
6665d4a2
SM
144192012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
14420
1f51ee92
SM
14421 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14422 * elf/cache.c (print_entry): Print ",AArch64" for
14423 FLAG_AARCH64_LIB64
14424
6665d4a2
SM
14425 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14426 * elf/cache.c (print_entry): Print ",hard-float" for
14427 FLAG_ARM_LIBHF.
14428
05b227bd
DM
144292012-11-18 David S. Miller <davem@davemloft.net>
14430
14431 With help from Joseph Myers.
14432 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14433 cutoff to 2**-13.
14434 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14435 cutoff to 2**-25.
14436 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14437 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14438 small.
14439 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14440 * math/libm-test.inc (y0_test): New tests.
14441 (y1_test): New tests.
14442 * sysdeps/i386/fpu/libm-test-ulps: Update.
14443 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14445
786b0b67
AS
144462012-11-18 Andreas Schwab <schwab@linux-m68k.org>
14447
14448 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14449 64-bit targets.
14450 * configure: Regenerated.
14451
8e18b86d
DM
144522012-11-17 David S. Miller <davem@davemloft.net>
14453
14454 [BZ #14811]
14455 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14456 nonzero exponents with absolute value below 0x1p-128 to +/-
14457 0x1p-128.
14458
531f1ae0
JM
144592012-11-17 Joseph Myers <joseph@codesourcery.com>
14460
12df29e2
JM
14461 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14462
150dc1a0
JM
14463 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14464
531f1ae0
JM
14465 * posix/getconf-speclist.c: New file.
14466 * posix/posix-envs.def: Likewise.
14467 * posix/confstr.c (START_ENV_GROUP): New macro.
14468 (END_ENV_GROUP): Likewise.
14469 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14470 (KNOWN_PRESENT_ENV_STRING): Likewise.
14471 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14472 (UNKNOWN_ENVIRONMENT): Likewise.
14473 (confstr): Include posix-envs.def instead of handling
14474 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14475 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14476 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14477 (END_ENV_GROUP): Likewise.
14478 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14479 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14480 (UNKNOWN_ENVIRONMENT): Likewise.
14481 (__sysconf): Include posix-envs.def instead of handling associated
14482 cases directly here.
14483 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14484 preprocessing getconf-speclist.c rather than running getconf or
14485 generating empty file.
14486
a93f9cbc
PT
144872012-11-16 Pino Toscano <toscano.pino@tiscali.it>
14488
14489 * scripts/check-local-headers.sh: Ignore 'mach' headers.
14490
d64d9f87
AL
144912012-11-16 Andrej Lajovic <natrij@gmail.com>
14492
14493 [BZ #14672]
14494 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14495
447885eb
DM
144962012-11-16 David S. Miller <davem@davemloft.net>
14497
14498 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14499 smaller than LDBL_EPSILON/2.0L, just return xm1.
14500
bcbf9830
L
145012012-11-16 H.J. Lu <hongjiu.lu@intel.com>
14502
14503 * elf/tst-array1.c (init): Set constructor priority to 1000.
14504 (fini): Set destructor priority to 1000.
14505 * elf/tst-array2dep.c: Likewise.
14506
2b766585
SP
145072012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14508
14509 [BZ #11741]
14510 * libio/fileops.c (_IO_new_file_write): Correctly return error.
14511 (_IO_new_file_xsputn): Also return EOF if none of the input
14512 data was written when overflow failed.
14513 * libio/iopadn.c (_IO_padn): Likewise.
14514 * libio/iowpadn.c (_IO_wpadn): Likewise.
14515 * stdio-common/tst-put-error.c: Add copyright notice.
14516 (do_test): Add case for printing padded string.
14517 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14518 _IO_padn returned error.
14519 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14520 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14521 return EOF.
14522
b1848fde
SP
145232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14524
14525 * libio/libioP.h: Add comment note that the references to C++
14526 bits are now obsolete.
14527
2fd89785
MS
145282012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14529
14530 * math/libm-test.inc (check_complex): Use asprintf.
14531
e3ea5409
JM
145322012-11-14 Joseph Myers <joseph@codesourcery.com>
14533
14534 * debug/pcprofiledump.c (print_version): Update copyright year.
14535 * malloc/memusagestat.c (print_version): Likewise.
14536
2e64d265
L
145372012-11-14 H.J. Lu <hongjiu.lu@intel.com>
14538
14539 [BZ #14831]
14540 * elf/Makefile (tests): Add tst-audit8.
14541 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14542 ($(objpfx)tst-audit8.out): New target.
14543 (tst-audit8-ENV): New variable.
14544 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14545 audit if l_reloc_result is NULL.
14546 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14547 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14548 * elf/tst-audit8.c: New file.
14549
c485e4d2
MS
145502012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14551
14552 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14553 * misc/Makefile (CFLAGS-select.c): Define.
14554 * posix/Makefile (CFLAGS-pause.c): Define.
14555
3a0d900a
DM
145562012-11-13 David S. Miller <davem@davemloft.net>
14557
14558 * crypt/Makefile: Move test targets after toplevel Rules
14559 inclusion. Grab any necessary sysdep routines when linking.
14560 * crypt/md5.c (md5_process_block): Remove define, we will always
14561 name it __md5_process_block.
14562 (md5_finish_ctx): Update md5_process_block call.
14563 (md5_stream): Likewise.
14564 (md5_process_bytes): Likewise.
14565 (md5_process_block): Rename to __md5_process_block and move to ...
14566 * crypt/md5-block.c: ... here.
14567 * crypt/sha256.c (sha256_process_block): Move to ...
14568 * crypt/sha256-block.c: ... here.
14569 * crypt/sha512.c (sha512_process_block): Move to ...
14570 * crypt/sha512-block.c: ... here.
14571 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14572 path.
14573 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14574 * sysdeps/sparc/sparc64/multiarch/Makefile
14575 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14576 crypt subdir.
14577 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14578 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14579 multiarch changes.
14580 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14581 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14582 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14583 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14584 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14585 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14586 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14587 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14588 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14589 file.
14590 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14591 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14592 file.
14593 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14594
8ca89318
JM
145952012-11-13 Joseph Myers <joseph@codesourcery.com>
14596
e27d476a
JM
14597 * timezone/tzselect.ksh: Update from tzcode git revision
14598 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14599 * timezone/zdump.c: Likewise.
14600 * timezone/zic.c: Likewise.
14601 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14602 in TZVERSION setting, not $(PKGVERSION).
14603 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14604 REPORT_BUGS_TO settings.
14605
8ca89318
JM
14606 [BZ #14838]
14607 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14608 macro.
14609
47594329
MS
146102012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14611
14612 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14613 detection to immediately after _FP_ROUND().
14614 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14615 bits are 0.
14616
640ac3f1
DM
146172012-11-11 David S. Miller <davem@davemloft.net>
14618
14619 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14620 inttypes.h
14621 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14622 __close rather than their public counterparts.
14623
3d2577bb
JM
146242012-11-10 Joseph Myers <joseph@codesourcery.com>
14625
14626 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14627 file.
14628 [UNIX98] (sem_timedwait): Do not expect.
14629 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14630 [XPG4 || UNIX98] (sockatmark): Do not expect.
14631 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14632 (clock_getcpuclockid): Do not expect.
14633 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14634 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14635 Do not expect.
14636 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14637 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14638 [UNIX98] (vwscanf): Likewise.
14639 [UNIX98] (vswscanf): Likewise.
14640
fb1ae1ee
JM
146412012-11-09 Joseph Myers <joseph@codesourcery.com>
14642
9ec6f8bd
JM
14643 * timezone/version.h: Remove file.
14644 * timezone/README: Do not refer to version.h.
14645 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14646 $(objpfx)version.h.
14647 ($(objpfx)zdump.o): Likewise.
c3f81911 14648 ($(objpfx)version.h): New target.
9ec6f8bd 14649
0aa8f8a1
JM
14650 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14651 2012i.
14652 * timezone/README: Don't mention modification to tzselect.ksh.
14653 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14654 work on unmodified tzselect.ksh. Substitute version numbers in
14655 tzselect.ksh.
14656
4e87147f
JM
14657 * Makefile (format-me): Remove.
14658 (INSTALL): Adjust indentation. Use commands directly instead of
14659 using $(format-me).
14660
8b748aed
JM
14661 * aclocal.m4 (ACX_PKGVERSION): New macro.
14662 (ACX_BUGURL): Likewise.
14663 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14664 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14665 (REPORT_BUGS_TO): Likewise.
14666 * configure: Regenerated.
14667 * config.h.in (PKGVERSION): New macro.
14668 (REPORT_BUGS_TO): Likewise.
14669 * config.make.in (PKGVERSION): New variable.
14670 (PKGVERSION_TEXI): Likewise.
14671 (REPORT_BUGS_TO): Likewise.
14672 (REPORT_BUGS_TEXI): Likewise.
14673 * Makefile (format-me): Use -I$(common-objpfx)manual.
14674 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14675 ($(common-objpfx)manual/%): New target.
14676 (manual/%): Remove target.
14677 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14678 (print_version): Use PKGVERSION.
14679 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14680 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14681 and REPORT_BUGS_TO.
14682 ($(objpfx)xtrace): Likewise.
14683 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14684 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14685 (print_version): Use PKGVERSION.
14686 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14687 (do_version): Use PKGVERSION.
14688 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14689 REPORT_BUGS_TO.
14690 (common-ldd-rewrite): Likewise.
14691 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14692 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14693 (print_version): Use PKGVERSION.
14694 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14695 * elf/pldd.c (argp_program_bug_address): Remove variable.
14696 (more_help): New function.
14697 (argp): Use more_help.
14698 (print_version): Use PKGVERSION.
14699 * elf/sln.c (main): Use PKGVERSION.
14700 (usage): Use REPORT_BUGS_TO.
14701 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14702 (top level): Use PKGVERSION.
14703 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14704 (print_version): Use PKGVERSION.
14705 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14706 (print_version): Use PKGVERSION.
14707 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14708 (print_version): Use PKGVERSION.
14709 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14710 (print_version): Use PKGVERSION.
14711 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14712 (print_version): Use PKGVERSION.
14713 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14714 (print_version): Use PKGVERSION.
14715 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14716 and BUGURL.
14717 ($(objpfx)memusage): Likewise.
14718 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14719 (do_version): Use PKGVERSION.
14720 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14721 (print_version): Use PKGVERSION.
14722 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14723 ($PKGVERSION): New variable.
14724 ($REPORT_BUGS_TO): Likewise.
14725 (usage): Use $REPORT_BUGS_TO.
14726 (top level): Use $PKGVERSION.
14727 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14728 ($(objpfx)pkgvers.texi): New rule.
14729 ($(objpfx)stamp-pkgvers): Likewise.
14730 * manual/install.texi: Include pkgvers.texi.
14731 (--with-pkgversion): Document new configure option.
14732 (--with-bugurl): Likewise.
14733 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14734 than necessarily for this particular distribution. Use
14735 REPORT_BUGS_TO for where to report bugs.
14736 * INSTALL: Regenerated.
14737 * manual/libc.texinfo: Include pkgvers.texi.
14738 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14739 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14740 (print_version): Use PKGVERSION.
14741 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14742 (print_version): Use PKGVERSION.
14743 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14744 (print_version): Use PKGVERSION.
14745 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14746 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14747 macro.
14748 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14749 (print_version): Use PKGVERSION.
14750 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14751 (print_version): Use PKGVERSION.
14752 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14753 and PKGVERSION.
14754
92e4b6a9
JM
14755 * timezone/checktab.awk: Update from tzcode 2012i.
14756 * timezone/ialloc.c: Likewise.
14757 * timezone/private.h: Likewise.
14758 * timezone/scheck.c: Likewise.
14759 * timezone/tzfile.h: Likewise.
14760 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14761 (TZVERSION): Hardcode tzcode version number.
14762 * timezone/zdump.c: Update from tzcode 2012i.
14763 * timezone/zic.c: Likewise.
14764 * timezone/version.h: New file.
14765 * timezone/README: Describe version.h. Update upstream location.
14766
9bde902c
JM
14767 [BZ #14824]
14768 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14769 (mktemp): Enable declaration.
14770 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14771 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14772 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14773 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14774 Likewise.
14775 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14776 Likewise.
14777 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14778 Likewise.
14779 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14780 Likewise.
14781 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14782 Likewise.
14783 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14784 Likewise.
14785
fb1ae1ee
JM
14786 [BZ #14821]
14787 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14788 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14789 for copies of such integer values.
14790 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14791 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14792
2c1adbcb
AJ
147932012-11-09 Andreas Jaeger <aj@suse.de>
14794
14795 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14796 definitions and declarations that are provided by
14797 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14798
d0f8457e
AK
147992012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14800
3a235abb 14801 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14802 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14803 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14804 definition.
14805
57241e26
MS
148062012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14807
14808 * elf/elf.h: Update comment before AArch64 relocations.
14809
60e8270d
DM
148102012-11-07 David S. Miller <davem@davemloft.net>
14811
14812 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14813 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14814 (__start_context): Declare.
14815 (__makecontext_ret): Delete.
14816 (__makecontext): Hook up __start_context instead of
14817 __makecontext_ret.
14818 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14819 (sysdep_routines): Add __start_context when in stdlib.
14820
0fbb0fbc
JM
148212012-11-07 Joseph Myers <joseph@codesourcery.com>
14822
14823 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14824 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14825 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14826 hardcoded "nm".
14827 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14828 (READELF): New variable. Use it instead of hardcoded "readelf".
14829
eb48db7e
L
148302012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14831
14832 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14833 * sysdeps/x86/Makefile: Here.
14834 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14835 * sysdeps/x86/tst-xmmymm.sh: This.
14836
05bcf62a
JM
148372012-11-07 Joseph Myers <joseph@codesourcery.com>
14838
c4b6cf53
JM
14839 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14840 expectations.
14841 [UNIX98] (pthread_barrier_t): Do not expect.
14842 [UNIX98] (pthread_barrierattr_t): Likewise.
14843 [UNIX98] (pthread_spinlock_t): Likewise.
14844 [UNIX98] (pthread_barrier_destroy): Likewise.
14845 [UNIX98] (pthread_barrier_init): Likewise.
14846 [UNIX98] (pthread_barrier_wait): Likewise.
14847 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14848 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14849 [UNIX98] (pthread_barrierattr_init): Likewise.
14850 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14851 [UNIX98] (pthread_getcpuclockid): Likewise.
14852 [UNIX98] (pthread_mutex_timedlock): Likewise.
14853 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14854 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14855 [UNIX98] (pthread_sigmask): Likewise.
14856 [UNIX98] (pthread_spin_destroy): Likewise.
14857 [UNIX98] (pthread_spin_init): Likewise.
14858 [UNIX98] (pthread_spin_lock): Likewise.
14859 [UNIX98] (pthread_spin_trylock): Likewise.
14860 [UNIX98] (pthread_spin_unlock): Likewise.
14861 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14862 Do not expect.
14863 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14864 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14865 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14866 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14867 [XPG3 || XPG4] (pthread_key_t): Likewise.
14868 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14869 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14870 [XPG3 || XPG4] (pthread_once_t): Likewise.
14871 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14872 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14873 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14874 [XPG3 || XPG4] (pthread_t): Likewise.
14875
cbe6e120
JM
14876 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14877 not expect.
14878 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14879
1b126443
JM
14880 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14881 Change function return type to int.
14882
b961a573
JM
14883 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14884 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14885 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14886 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14887 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14888 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14889 [!POSIX] (posix_madvise): Likewise.
14890 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14891 && !UNIX98].
14892 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14893 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14894 (mode_t): Likewise.
14895 (posix_mem_offset): Likewise.
14896 (posix_typed_mem_get_info): Likewise.
14897 (posix_typed_mem_open): Likewise.
14898
9e188909
JM
14899 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14900 Change condition to [XOPEN2K8].
14901
05bcf62a
JM
14902 * conform/conformtest.pl: Preprocess allow-header data with -x c
14903 instead of from stdin.
14904 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14905 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14906 [C99-based standards] (cerfc): Likewise.
14907 [C99-based standards] (cexp2): Likewise.
14908 [C99-based standards] (cexpm1): Likewise.
14909 [C99-based standards] (clog10): Likewise.
14910 [C99-based standards] (clog1p): Likewise.
14911 [C99-based standards] (clog2): Likewise.
14912 [C99-based standards] (clgamma): Likewise.
14913 [C99-based standards] (ctgamma): Likewise.
14914 [C99-based standards] (cerff): Likewise.
14915 [C99-based standards] (cerfcf): Likewise.
14916 [C99-based standards] (cexp2f): Likewise.
14917 [C99-based standards] (cexpm1f): Likewise.
14918 [C99-based standards] (clog10f): Likewise.
14919 [C99-based standards] (clog1pf): Likewise.
14920 [C99-based standards] (clog2f): Likewise.
14921 [C99-based standards] (clgammaf): Likewise.
14922 [C99-based standards] (ctgammaf): Likewise.
14923 [C99-based standards] (cerfl): Likewise.
14924 [C99-based standards] (cerfcl): Likewise.
14925 [C99-based standards] (cexp2l): Likewise.
14926 [C99-based standards] (cexpm1l): Likewise.
14927 [C99-based standards] (clog10l): Likewise.
14928 [C99-based standards] (clog1pl): Likewise.
14929 [C99-based standards] (clog2l): Likewise.
14930 [C99-based standards] (clgammal): Likewise.
14931 [C99-based standards] (ctgammal): Likewise.
14932 * conform/data/inttypes.h-data [C99-based standards]: Include
14933 stdint.h-data. Remove all expectations for stdint.h contents.
14934 [C99-based standards] (PRI*): Do not allow.
14935 [C99-based standards] (SCN*): Likewise.
14936 [C99-based standards] (*_t): Likewise.
14937 [C99-based-standards] (PRId8): Expect macro.
14938 [C99-based-standards] (PRIi8): Likewise.
14939 [C99-based-standards] (PRIo8): Likewise.
14940 [C99-based-standards] (PRIu8): Likewise.
14941 [C99-based-standards] (PRIx8): Likewise.
14942 [C99-based-standards] (PRIX8): Likewise.
14943 [C99-based-standards] (SCNd8): Likewise.
14944 [C99-based-standards] (SCNi8): Likewise.
14945 [C99-based-standards] (SCNo8): Likewise.
14946 [C99-based-standards] (SCNu8): Likewise.
14947 [C99-based-standards] (SCNx8): Likewise.
14948 [C99-based-standards] (PRIdLEAST8): Likewise.
14949 [C99-based-standards] (PRIiLEAST8): Likewise.
14950 [C99-based-standards] (PRIoLEAST8): Likewise.
14951 [C99-based-standards] (PRIuLEAST8): Likewise.
14952 [C99-based-standards] (PRIxLEAST8): Likewise.
14953 [C99-based-standards] (PRIXLEAST8): Likewise.
14954 [C99-based-standards] (SCNdLEAST8): Likewise.
14955 [C99-based-standards] (SCNiLEAST8): Likewise.
14956 [C99-based-standards] (SCNoLEAST8): Likewise.
14957 [C99-based-standards] (SCNuLEAST8): Likewise.
14958 [C99-based-standards] (SCNxLEAST8): Likewise.
14959 [C99-based-standards] (PRIdFAST8): Likewise.
14960 [C99-based-standards] (PRIiFAST8): Likewise.
14961 [C99-based-standards] (PRIoFAST8): Likewise.
14962 [C99-based-standards] (PRIuFAST8): Likewise.
14963 [C99-based-standards] (PRIxFAST8): Likewise.
14964 [C99-based-standards] (PRIXFAST8): Likewise.
14965 [C99-based-standards] (SCNdFAST8): Likewise.
14966 [C99-based-standards] (SCNiFAST8): Likewise.
14967 [C99-based-standards] (SCNoFAST8): Likewise.
14968 [C99-based-standards] (SCNuFAST8): Likewise.
14969 [C99-based-standards] (SCNxFAST8): Likewise.
14970 [C99-based-standards] (PRId16): Likewise.
14971 [C99-based-standards] (PRIi16): Likewise.
14972 [C99-based-standards] (PRIo16): Likewise.
14973 [C99-based-standards] (PRIu16): Likewise.
14974 [C99-based-standards] (PRIx16): Likewise.
14975 [C99-based-standards] (PRIX16): Likewise.
14976 [C99-based-standards] (SCNd16): Likewise.
14977 [C99-based-standards] (SCNi16): Likewise.
14978 [C99-based-standards] (SCNo16): Likewise.
14979 [C99-based-standards] (SCNu16): Likewise.
14980 [C99-based-standards] (SCNx16): Likewise.
14981 [C99-based-standards] (PRIdLEAST16): Likewise.
14982 [C99-based-standards] (PRIiLEAST16): Likewise.
14983 [C99-based-standards] (PRIoLEAST16): Likewise.
14984 [C99-based-standards] (PRIuLEAST16): Likewise.
14985 [C99-based-standards] (PRIxLEAST16): Likewise.
14986 [C99-based-standards] (PRIXLEAST16): Likewise.
14987 [C99-based-standards] (SCNdLEAST16): Likewise.
14988 [C99-based-standards] (SCNiLEAST16): Likewise.
14989 [C99-based-standards] (SCNoLEAST16): Likewise.
14990 [C99-based-standards] (SCNuLEAST16): Likewise.
14991 [C99-based-standards] (SCNxLEAST16): Likewise.
14992 [C99-based-standards] (PRIdFAST16): Likewise.
14993 [C99-based-standards] (PRIiFAST16): Likewise.
14994 [C99-based-standards] (PRIoFAST16): Likewise.
14995 [C99-based-standards] (PRIuFAST16): Likewise.
14996 [C99-based-standards] (PRIxFAST16): Likewise.
14997 [C99-based-standards] (PRIXFAST16): Likewise.
14998 [C99-based-standards] (SCNdFAST16): Likewise.
14999 [C99-based-standards] (SCNiFAST16): Likewise.
15000 [C99-based-standards] (SCNoFAST16): Likewise.
15001 [C99-based-standards] (SCNuFAST16): Likewise.
15002 [C99-based-standards] (SCNxFAST16): Likewise.
15003 [C99-based-standards] (PRId32): Likewise.
15004 [C99-based-standards] (PRIi32): Likewise.
15005 [C99-based-standards] (PRIo32): Likewise.
15006 [C99-based-standards] (PRIu32): Likewise.
15007 [C99-based-standards] (PRIx32): Likewise.
15008 [C99-based-standards] (PRIX32): Likewise.
15009 [C99-based-standards] (SCNd32): Likewise.
15010 [C99-based-standards] (SCNi32): Likewise.
15011 [C99-based-standards] (SCNo32): Likewise.
15012 [C99-based-standards] (SCNu32): Likewise.
15013 [C99-based-standards] (SCNx32): Likewise.
15014 [C99-based-standards] (PRIdLEAST32): Likewise.
15015 [C99-based-standards] (PRIiLEAST32): Likewise.
15016 [C99-based-standards] (PRIoLEAST32): Likewise.
15017 [C99-based-standards] (PRIuLEAST32): Likewise.
15018 [C99-based-standards] (PRIxLEAST32): Likewise.
15019 [C99-based-standards] (PRIXLEAST32): Likewise.
15020 [C99-based-standards] (SCNdLEAST32): Likewise.
15021 [C99-based-standards] (SCNiLEAST32): Likewise.
15022 [C99-based-standards] (SCNoLEAST32): Likewise.
15023 [C99-based-standards] (SCNuLEAST32): Likewise.
15024 [C99-based-standards] (SCNxLEAST32): Likewise.
15025 [C99-based-standards] (PRIdFAST32): Likewise.
15026 [C99-based-standards] (PRIiFAST32): Likewise.
15027 [C99-based-standards] (PRIoFAST32): Likewise.
15028 [C99-based-standards] (PRIuFAST32): Likewise.
15029 [C99-based-standards] (PRIxFAST32): Likewise.
15030 [C99-based-standards] (PRIXFAST32): Likewise.
15031 [C99-based-standards] (SCNdFAST32): Likewise.
15032 [C99-based-standards] (SCNiFAST32): Likewise.
15033 [C99-based-standards] (SCNoFAST32): Likewise.
15034 [C99-based-standards] (SCNuFAST32): Likewise.
15035 [C99-based-standards] (SCNxFAST32): Likewise.
15036 [C99-based-standards] (PRId64): Likewise.
15037 [C99-based-standards] (PRIi64): Likewise.
15038 [C99-based-standards] (PRIo64): Likewise.
15039 [C99-based-standards] (PRIu64): Likewise.
15040 [C99-based-standards] (PRIx64): Likewise.
15041 [C99-based-standards] (PRIX64): Likewise.
15042 [C99-based-standards] (SCNd64): Likewise.
15043 [C99-based-standards] (SCNi64): Likewise.
15044 [C99-based-standards] (SCNo64): Likewise.
15045 [C99-based-standards] (SCNu64): Likewise.
15046 [C99-based-standards] (SCNx64): Likewise.
15047 [C99-based-standards] (PRIdLEAST64): Likewise.
15048 [C99-based-standards] (PRIiLEAST64): Likewise.
15049 [C99-based-standards] (PRIoLEAST64): Likewise.
15050 [C99-based-standards] (PRIuLEAST64): Likewise.
15051 [C99-based-standards] (PRIxLEAST64): Likewise.
15052 [C99-based-standards] (PRIXLEAST64): Likewise.
15053 [C99-based-standards] (SCNdLEAST64): Likewise.
15054 [C99-based-standards] (SCNiLEAST64): Likewise.
15055 [C99-based-standards] (SCNoLEAST64): Likewise.
15056 [C99-based-standards] (SCNuLEAST64): Likewise.
15057 [C99-based-standards] (SCNxLEAST64): Likewise.
15058 [C99-based-standards] (PRIdFAST64): Likewise.
15059 [C99-based-standards] (PRIiFAST64): Likewise.
15060 [C99-based-standards] (PRIoFAST64): Likewise.
15061 [C99-based-standards] (PRIuFAST64): Likewise.
15062 [C99-based-standards] (PRIxFAST64): Likewise.
15063 [C99-based-standards] (PRIXFAST64): Likewise.
15064 [C99-based-standards] (SCNdFAST64): Likewise.
15065 [C99-based-standards] (SCNiFAST64): Likewise.
15066 [C99-based-standards] (SCNoFAST64): Likewise.
15067 [C99-based-standards] (SCNuFAST64): Likewise.
15068 [C99-based-standards] (SCNxFAST64): Likewise.
15069 [C99-based-standards] (PRIdMAX): Likewise.
15070 [C99-based-standards] (PRIiMAX): Likewise.
15071 [C99-based-standards] (PRIoMAX): Likewise.
15072 [C99-based-standards] (PRIuMAX): Likewise.
15073 [C99-based-standards] (PRIxMAX): Likewise.
15074 [C99-based-standards] (PRIXMAX): Likewise.
15075 [C99-based-standards] (SCNdMAX): Likewise.
15076 [C99-based-standards] (SCNiMAX): Likewise.
15077 [C99-based-standards] (SCNoMAX): Likewise.
15078 [C99-based-standards] (SCNuMAX): Likewise.
15079 [C99-based-standards] (SCNxMAX): Likewise.
15080 [C99-based-standards] (PRIdPTR): Likewise.
15081 [C99-based-standards] (PRIiPTR): Likewise.
15082 [C99-based-standards] (PRIoPTR): Likewise.
15083 [C99-based-standards] (PRIuPTR): Likewise.
15084 [C99-based-standards] (PRIxPTR): Likewise.
15085 [C99-based-standards] (PRIXPTR): Likewise.
15086 [C99-based-standards] (SCNdPTR): Likewise.
15087 [C99-based-standards] (SCNiPTR): Likewise.
15088 [C99-based-standards] (SCNoPTR): Likewise.
15089 [C99-based-standards] (SCNuPTR): Likewise.
15090 [C99-based-standards] (SCNxPTR): Likewise.
15091 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15092 allow.
15093 * conform/data/stdint.h-data: Update comments to clarify
15094 requirements.
15095 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15096 type.
15097 [C99-based standards] (INT8_MAX): Likewise.
15098 [C99-based standards] (INT16_MIN): Likewise.
15099 [C99-based standards] (INT16_MAX): Likewise.
15100 [C99-based standards] (INT32_MIN): Likewise.
15101 [C99-based standards] (INT32_MAX): Likewise.
15102 [C99-based standards] (INT64_MIN): Likewise.
15103 [C99-based standards] (INT64_MAX): Likewise.
15104 [C99-based standards] (UINT8_MAX): Likewise.
15105 [C99-based standards] (UINT16_MAX): Likewise.
15106 [C99-based standards] (UINT32_MAX): Likewise.
15107 [C99-based standards] (UINT64_MAX): Likewise.
15108 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15109 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15110 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15111 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15112 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15113 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15114 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15115 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15116 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15117 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15118 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15119 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15120 [C99-based standards] (INT_FAST8_MIN): Likewise.
15121 [C99-based standards] (INT_FAST8_MAX): Likewise.
15122 [C99-based standards] (INT_FAST16_MIN): Likewise.
15123 [C99-based standards] (INT_FAST16_MAX): Likewise.
15124 [C99-based standards] (INT_FAST32_MIN): Likewise.
15125 [C99-based standards] (INT_FAST32_MAX): Likewise.
15126 [C99-based standards] (INT_FAST64_MIN): Likewise.
15127 [C99-based standards] (INT_FAST64_MAX): Likewise.
15128 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15129 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15130 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15131 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15132 [C99-based standards] (INTPTR_MIN): Likewise.
15133 [C99-based standards] (INTPTR_MAX): Likewise.
15134 [C99-based standards] (UINTPTR_MAX): Likewise.
15135 [C99-based standards] (INTMAX_MIN): Likewise.
15136 [C99-based standards] (INTMAX_MAX): Likewise.
15137 [C99-based standards] (UINTMAX_MAX): Likewise.
15138 [C99-based standards] (PTRDIFF_MIN): Likewise.
15139 [C99-based standards] (PTRDIFF_MAX): Likewise.
15140 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15141 [C99-based standards] (SIZE_MAX): Likewise.
15142 [C99-based standards] (WCHAR_MAX): Likewise.
15143 [C99-based standards] (WINT_MAX): Likewise.
15144 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15145 constraint on value.
15146 [C99-based standards] (WCHAR_MIN): Likewise.
15147 [C99-based standards] (WINT_MIN): Likewise.
15148 [C99-based standards] (*_t): Allow.
15149 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15150 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15151 Include math.h-data and complex.h-data. Remove all expectations
15152 of math.h and complex.h contents.
15153 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15154 at end of line.
15155 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15156 (struct tm): Expect tag.
15157 [C99-based-standards] (wcstof): Expect function.
15158 [C99-based-standards] (wcstold): Likewise.
15159 [C99-based-standards] (wcstoll): Likewise.
15160 [C99-based-standards] (wcstoull): Likewise.
15161 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15162 macro-int-constant. Specify type.
15163 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15164 constraint on value.
15165 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15166 Specify type.
15167 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15168 Specify value.
15169 [ISO C standards]: Do not allow headers.
15170 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15171 wcs[abcdefghijklmnopqrstuvwxyz]*.
15172 [ISO C standards] (*_t): Do not allow.
15173 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15174 Expect function.
15175 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15176 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15177 Specify type.
15178 [ISO C standards]: Do not allow headers.
15179 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15180 is[abcdefghijklmnopqrstuvwxyz]*.
15181 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15182 to[abcdefghijklmnopqrstuvwxyz]*.
15183 [ISO C standards] (*_t): Do not allow.
15184 * conform/data/stdalign.h-data: New file.
15185 * conform/data/stdbool.h-data: Likewise.
15186 * conform/data/stdnoreturn.h-data: Likewise.
15187
7514feb8
RM
151882012-11-07 Roland McGrath <roland@hack.frob.com>
15189
15190 [BZ #14815]
15191 * manual/filesys.texi (Directory Entries): Typo fix.
15192 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15193
19b2ecfc
MS
151942012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15195
15196 * elf/elf.h (EM_AARCH64): New macro.
15197 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15198 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15199 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15200 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15201 (R_AARCH64_TLSDESC): Likewise.
15202 (NT_ARM_TLS): Likewise.
15203 (NT_ARM_HW_BREAK): Likewise.
15204 (NT_ARM_HW_WATCH): Likewise.
15205
60e235ee
JM
152062012-11-07 Joseph Myers <joseph@codesourcery.com>
15207
15208 [BZ #14811]
15209 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15210 (__ieee754_powl): Saturate nonzero exponents with absolute value
15211 below 0x1p-79 to +/- 0x1p-79.
15212 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15213 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15214 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15215 nonzero exponents with absolute value below 0x1p-32 to +/-
15216 0x1p-32.
15217 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15218 (__ieee754_powl): Saturate nonzero exponents with absolute value
15219 below 0x1p-79 to +/- 0x1p-79.
15220 * math/libm-test.inc (pow_test): Add more tests.
15221
0ab234b7
AK
152222012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15223
15224 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15225 _dl_s390_cap_flags with kernel. Increase string length.
15226 (_dl_s390_platforms): Add z196 and zEC12.
15227
45832f74
JM
152282012-11-07 Joseph Myers <joseph@codesourcery.com>
15229
15230 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15231 Change XOPEN21K to XOPEN2K.
15232
19218757
MK
152332012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15234
15235 * string/memmove.c: Use memcpy when possible.
15236
c5f45721
AJ
152372012-11-06 Andreas Jaeger <aj@suse.de>
15238
15239 * po/eo.po: Update from translation team.
15240
82477c28
JM
152412012-11-06 Joseph Myers <joseph@codesourcery.com>
15242
15243 [BZ #14793]
15244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15245 exponent and small x and y exponents, scale x or y up. Increase
15246 by 2 the exponent used in scaling up.
15247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15248 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15249 * math/libm-test.inc (fma_test): Add more tests.
15250 (fma_test_towardzero): Likewise.
15251 (fma_test_downward): Likewise.
15252 (fma_test_upward): Likewise.
15253
99252c8c
JM
152542012-11-05 Joseph Myers <joseph@codesourcery.com>
15255
acfa885f
JM
15256 [BZ #14805]
15257 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15258 fenv_t *.
15259
99252c8c
JM
15260 [BZ #14801]
15261 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15262 namespace for names of struct fields.
15263 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15264 fenv_t fields.
15265 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15266 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15267
d6d98dea
ST
152682012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15269
15270 [BZ #3665]
15271 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15272
e10bb107
TS
152732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15274
15275 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15276 PTR_DEMANGLE.
15277
15278 [BZ #5246]
15279 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15280 PTR_DEMANGLE.
15281
a0c2940d
JM
152822012-11-04 Joseph Myers <joseph@codesourcery.com>
15283
15284 [BZ #14797]
15285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15286 definitely overflow as x * y not x * y + z.
15287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15289 * math/libm-test.inc (fma_test): Add more tests.
15290 (fma_test_towardzero): Likewise.
15291 (fma_test_downward): Likewise.
15292 (fma_test_upward): Likewise.
15293
b830319d
TS
152942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15295
15296 [BZ #157]
15297
15298 * include/stub-tag.h: Remove file.
15299 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15300 '#include' of it.
15301 * manual/maint.texi (Porting): Don't reference it.
15302 * Makerules ($(objpfx)stubs): Likewise.
15303 * dirent/closedir.c: Don't include <stub-tag.h>.
15304 * dirent/dirfd.c: Likewise.
15305 * dirent/fdopendir.c: Likewise.
15306 * dirent/getdents.c: Likewise.
15307 * dirent/getdents64.c: Likewise.
15308 * dirent/opendir.c: Likewise.
15309 * dirent/readdir.c: Likewise.
15310 * dirent/readdir64.c: Likewise.
15311 * dirent/readdir64_r.c: Likewise.
15312 * dirent/readdir_r.c: Likewise.
15313 * dirent/rewinddir.c: Likewise.
15314 * dirent/seekdir.c: Likewise.
15315 * dirent/telldir.c: Likewise.
15316 * gmon/profil.c: Likewise.
15317 * grp/setgroups.c: Likewise.
15318 * inet/if_index.c: Likewise.
15319 * io/access.c: Likewise.
15320 * io/chdir.c: Likewise.
15321 * io/chmod.c: Likewise.
15322 * io/chown.c: Likewise.
15323 * io/close.c: Likewise.
15324 * io/dup.c: Likewise.
15325 * io/dup2.c: Likewise.
15326 * io/dup3.c: Likewise.
15327 * io/euidaccess.c: Likewise.
15328 * io/faccessat.c: Likewise.
15329 * io/fchdir.c: Likewise.
15330 * io/fchmod.c: Likewise.
15331 * io/fchmodat.c: Likewise.
15332 * io/fchown.c: Likewise.
15333 * io/fchownat.c: Likewise.
15334 * io/fcntl.c: Likewise.
15335 * io/flock.c: Likewise.
15336 * io/fstatfs.c: Likewise.
15337 * io/fstatfs64.c: Likewise.
15338 * io/fstatvfs.c: Likewise.
15339 * io/fstatvfs64.c: Likewise.
15340 * io/futimens.c: Likewise.
15341 * io/fxstat.c: Likewise.
15342 * io/fxstat64.c: Likewise.
15343 * io/fxstatat.c: Likewise.
15344 * io/fxstatat64.c: Likewise.
15345 * io/getcwd.c: Likewise.
15346 * io/isatty.c: Likewise.
15347 * io/lchmod.c: Likewise.
15348 * io/lchown.c: Likewise.
15349 * io/link.c: Likewise.
15350 * io/linkat.c: Likewise.
15351 * io/lseek.c: Likewise.
15352 * io/lseek64.c: Likewise.
15353 * io/lxstat64.c: Likewise.
15354 * io/mkdir.c: Likewise.
15355 * io/mkdirat.c: Likewise.
15356 * io/mkfifo.c: Likewise.
15357 * io/mkfifoat.c: Likewise.
15358 * io/open.c: Likewise.
15359 * io/open64.c: Likewise.
15360 * io/openat.c: Likewise.
15361 * io/openat64.c: Likewise.
15362 * io/pipe.c: Likewise.
15363 * io/pipe2.c: Likewise.
15364 * io/poll.c: Likewise.
15365 * io/posix_fadvise.c: Likewise.
15366 * io/posix_fadvise64.c: Likewise.
15367 * io/posix_fallocate.c: Likewise.
15368 * io/posix_fallocate64.c: Likewise.
15369 * io/read.c: Likewise.
15370 * io/readlink.c: Likewise.
15371 * io/readlinkat.c: Likewise.
15372 * io/rmdir.c: Likewise.
15373 * io/sendfile.c: Likewise.
15374 * io/sendfile64.c: Likewise.
15375 * io/statfs.c: Likewise.
15376 * io/statfs64.c: Likewise.
15377 * io/statvfs.c: Likewise.
15378 * io/statvfs64.c: Likewise.
15379 * io/symlink.c: Likewise.
15380 * io/symlinkat.c: Likewise.
15381 * io/ttyname.c: Likewise.
15382 * io/ttyname_r.c: Likewise.
15383 * io/umask.c: Likewise.
15384 * io/unlink.c: Likewise.
15385 * io/unlinkat.c: Likewise.
15386 * io/utime.c: Likewise.
15387 * io/utimensat.c: Likewise.
15388 * io/write.c: Likewise.
15389 * io/xmknod.c: Likewise.
15390 * io/xmknodat.c: Likewise.
15391 * io/xstat.c: Likewise.
15392 * io/xstat64.c: Likewise.
15393 * login/getpt.c: Likewise.
15394 * login/grantpt.c: Likewise.
15395 * login/unlockpt.c: Likewise.
15396 * math/e_acoshl.c: Likewise.
15397 * math/e_acosl.c: Likewise.
15398 * math/e_asinl.c: Likewise.
15399 * math/e_atan2l.c: Likewise.
15400 * math/e_atanhl.c: Likewise.
15401 * math/e_coshl.c: Likewise.
15402 * math/e_expl.c: Likewise.
15403 * math/e_fmodl.c: Likewise.
15404 * math/e_gammal_r.c: Likewise.
15405 * math/e_hypotl.c: Likewise.
15406 * math/e_j0l.c: Likewise.
15407 * math/e_j1l.c: Likewise.
15408 * math/e_jnl.c: Likewise.
15409 * math/e_lgammal_r.c: Likewise.
15410 * math/e_log10l.c: Likewise.
15411 * math/e_log2l.c: Likewise.
15412 * math/e_logl.c: Likewise.
15413 * math/e_powl.c: Likewise.
15414 * math/e_rem_pio2l.c: Likewise.
15415 * math/e_sinhl.c: Likewise.
15416 * math/e_sqrtl.c: Likewise.
15417 * math/fclrexcpt.c: Likewise.
15418 * math/fedisblxcpt.c: Likewise.
15419 * math/feenablxcpt.c: Likewise.
15420 * math/fegetenv.c: Likewise.
15421 * math/fegetexcept.c: Likewise.
15422 * math/fegetround.c: Likewise.
15423 * math/feholdexcpt.c: Likewise.
15424 * math/fesetenv.c: Likewise.
15425 * math/fesetround.c: Likewise.
15426 * math/feupdateenv.c: Likewise.
15427 * math/fgetexcptflg.c: Likewise.
15428 * math/fraiseexcpt.c: Likewise.
15429 * math/fsetexcptflg.c: Likewise.
15430 * math/ftestexcept.c: Likewise.
15431 * math/k_cosl.c: Likewise.
15432 * math/k_rem_pio2l.c: Likewise.
15433 * math/k_sinl.c: Likewise.
15434 * math/k_tanl.c: Likewise.
15435 * math/s_asinhl.c: Likewise.
15436 * math/s_atanl.c: Likewise.
15437 * math/s_cbrtl.c: Likewise.
15438 * math/s_erfl.c: Likewise.
15439 * math/s_expm1l.c: Likewise.
15440 * math/s_log1pl.c: Likewise.
15441 * math/s_tanhl.c: Likewise.
15442 * misc/acct.c: Likewise.
15443 * misc/brk.c: Likewise.
15444 * misc/chflags.c: Likewise.
15445 * misc/chroot.c: Likewise.
15446 * misc/fchflags.c: Likewise.
15447 * misc/fgetxattr.c: Likewise.
15448 * misc/flistxattr.c: Likewise.
15449 * misc/fremovexattr.c: Likewise.
15450 * misc/fsetxattr.c: Likewise.
15451 * misc/fsync.c: Likewise.
15452 * misc/ftruncate.c: Likewise.
15453 * misc/futimes.c: Likewise.
15454 * misc/futimesat.c: Likewise.
15455 * misc/getdomain.c: Likewise.
15456 * misc/getdtsz.c: Likewise.
15457 * misc/gethostid.c: Likewise.
15458 * misc/gethostname.c: Likewise.
15459 * misc/getloadavg.c: Likewise.
15460 * misc/getpagesize.c: Likewise.
15461 * misc/getsysstats.c: Likewise.
15462 * misc/getxattr.c: Likewise.
15463 * misc/gtty.c: Likewise.
15464 * misc/ioctl.c: Likewise.
15465 * misc/lgetxattr.c: Likewise.
15466 * misc/listxattr.c: Likewise.
15467 * misc/llistxattr.c: Likewise.
15468 * misc/lremovexattr.c: Likewise.
15469 * misc/lsetxattr.c: Likewise.
15470 * misc/lutimes.c: Likewise.
15471 * misc/madvise.c: Likewise.
15472 * misc/mincore.c: Likewise.
15473 * misc/mlock.c: Likewise.
15474 * misc/mlockall.c: Likewise.
15475 * misc/mmap.c: Likewise.
15476 * misc/mprotect.c: Likewise.
15477 * misc/msync.c: Likewise.
15478 * misc/munlock.c: Likewise.
15479 * misc/munlockall.c: Likewise.
15480 * misc/munmap.c: Likewise.
15481 * misc/preadv.c: Likewise.
15482 * misc/preadv64.c: Likewise.
15483 * misc/ptrace.c: Likewise.
15484 * misc/pwritev.c: Likewise.
15485 * misc/pwritev64.c: Likewise.
15486 * misc/readv.c: Likewise.
15487 * misc/reboot.c: Likewise.
15488 * misc/remap_file_pages.c: Likewise.
15489 * misc/removexattr.c: Likewise.
15490 * misc/revoke.c: Likewise.
15491 * misc/select.c: Likewise.
15492 * misc/setdomain.c: Likewise.
15493 * misc/setegid.c: Likewise.
15494 * misc/seteuid.c: Likewise.
15495 * misc/sethostid.c: Likewise.
15496 * misc/sethostname.c: Likewise.
15497 * misc/setregid.c: Likewise.
15498 * misc/setreuid.c: Likewise.
15499 * misc/setxattr.c: Likewise.
15500 * misc/sstk.c: Likewise.
15501 * misc/stty.c: Likewise.
15502 * misc/swapoff.c: Likewise.
15503 * misc/swapon.c: Likewise.
15504 * misc/sync.c: Likewise.
15505 * misc/syncfs.c: Likewise.
15506 * misc/syscall.c: Likewise.
15507 * misc/truncate.c: Likewise.
15508 * misc/ualarm.c: Likewise.
15509 * misc/usleep.c: Likewise.
15510 * misc/ustat.c: Likewise.
15511 * misc/utimes.c: Likewise.
15512 * misc/vhangup.c: Likewise.
15513 * misc/writev.c: Likewise.
15514 * posix/_exit.c: Likewise.
15515 * posix/alarm.c: Likewise.
15516 * posix/execve.c: Likewise.
15517 * posix/fexecve.c: Likewise.
15518 * posix/fork.c: Likewise.
15519 * posix/fpathconf.c: Likewise.
15520 * posix/getaddrinfo.c: Likewise.
15521 * posix/getegid.c: Likewise.
15522 * posix/geteuid.c: Likewise.
15523 * posix/getgid.c: Likewise.
15524 * posix/getgroups.c: Likewise.
15525 * posix/getlogin.c: Likewise.
15526 * posix/getlogin_r.c: Likewise.
15527 * posix/getpgid.c: Likewise.
15528 * posix/getpid.c: Likewise.
15529 * posix/getppid.c: Likewise.
15530 * posix/getresgid.c: Likewise.
15531 * posix/getresuid.c: Likewise.
15532 * posix/getsid.c: Likewise.
15533 * posix/getuid.c: Likewise.
15534 * posix/glob64.c: Likewise.
15535 * posix/nanosleep.c: Likewise.
15536 * posix/pathconf.c: Likewise.
15537 * posix/pause.c: Likewise.
15538 * posix/posix_madvise.c: Likewise.
15539 * posix/pread.c: Likewise.
15540 * posix/pread64.c: Likewise.
15541 * posix/pwrite.c: Likewise.
15542 * posix/pwrite64.c: Likewise.
15543 * posix/sched_getaffinity.c: Likewise.
15544 * posix/sched_getp.c: Likewise.
15545 * posix/sched_gets.c: Likewise.
15546 * posix/sched_primax.c: Likewise.
15547 * posix/sched_primin.c: Likewise.
15548 * posix/sched_rr_gi.c: Likewise.
15549 * posix/sched_setaffinity.c: Likewise.
15550 * posix/sched_setp.c: Likewise.
15551 * posix/sched_sets.c: Likewise.
15552 * posix/sched_yield.c: Likewise.
15553 * posix/setgid.c: Likewise.
15554 * posix/setlogin.c: Likewise.
15555 * posix/setpgid.c: Likewise.
15556 * posix/setresgid.c: Likewise.
15557 * posix/setresuid.c: Likewise.
15558 * posix/setsid.c: Likewise.
15559 * posix/setuid.c: Likewise.
15560 * posix/sleep.c: Likewise.
15561 * posix/spawni.c: Likewise.
15562 * posix/sysconf.c: Likewise.
15563 * posix/times.c: Likewise.
15564 * posix/wait.c: Likewise.
15565 * posix/wait3.c: Likewise.
15566 * posix/wait4.c: Likewise.
15567 * posix/waitpid.c: Likewise.
15568 * resolv/gai_sigqueue.c: Likewise.
15569 * resource/getpriority.c: Likewise.
15570 * resource/getrlimit.c: Likewise.
15571 * resource/getrusage.c: Likewise.
15572 * resource/nice.c: Likewise.
15573 * resource/setpriority.c: Likewise.
15574 * resource/setrlimit.c: Likewise.
15575 * resource/ulimit.c: Likewise.
15576 * rt/aio_cancel.c: Likewise.
15577 * rt/aio_fsync.c: Likewise.
15578 * rt/aio_read.c: Likewise.
15579 * rt/aio_sigqueue.c: Likewise.
15580 * rt/aio_suspend.c: Likewise.
15581 * rt/aio_write.c: Likewise.
15582 * rt/clock_getres.c: Likewise.
15583 * rt/clock_gettime.c: Likewise.
15584 * rt/clock_nanosleep.c: Likewise.
15585 * rt/clock_settime.c: Likewise.
15586 * rt/lio_listio.c: Likewise.
15587 * rt/mq_close.c: Likewise.
15588 * rt/mq_getattr.c: Likewise.
15589 * rt/mq_notify.c: Likewise.
15590 * rt/mq_open.c: Likewise.
15591 * rt/mq_receive.c: Likewise.
15592 * rt/mq_send.c: Likewise.
15593 * rt/mq_setattr.c: Likewise.
15594 * rt/mq_timedreceive.c: Likewise.
15595 * rt/mq_timedsend.c: Likewise.
15596 * rt/mq_unlink.c: Likewise.
15597 * rt/shm_open.c: Likewise.
15598 * rt/shm_unlink.c: Likewise.
15599 * rt/timer_create.c: Likewise.
15600 * rt/timer_delete.c: Likewise.
15601 * rt/timer_getoverr.c: Likewise.
15602 * rt/timer_gettime.c: Likewise.
15603 * rt/timer_settime.c: Likewise.
15604 * setjmp/__longjmp.c: Likewise.
15605 * setjmp/setjmp.c: Likewise.
15606 * signal/kill.c: Likewise.
15607 * signal/killpg.c: Likewise.
15608 * signal/raise.c: Likewise.
15609 * signal/sigaction.c: Likewise.
15610 * signal/sigaltstack.c: Likewise.
15611 * signal/sigblock.c: Likewise.
15612 * signal/sigignore.c: Likewise.
15613 * signal/sigintr.c: Likewise.
15614 * signal/signal.c: Likewise.
15615 * signal/sigpause.c: Likewise.
15616 * signal/sigpending.c: Likewise.
15617 * signal/sigqueue.c: Likewise.
15618 * signal/sigreturn.c: Likewise.
15619 * signal/sigset.c: Likewise.
15620 * signal/sigsetmask.c: Likewise.
15621 * signal/sigstack.c: Likewise.
15622 * signal/sigsuspend.c: Likewise.
15623 * signal/sigtimedwait.c: Likewise.
15624 * signal/sigvec.c: Likewise.
15625 * signal/sigwait.c: Likewise.
15626 * signal/sigwaitinfo.c: Likewise.
15627 * signal/sysv_signal.c: Likewise.
15628 * socket/accept.c: Likewise.
15629 * socket/accept4.c: Likewise.
15630 * socket/bind.c: Likewise.
15631 * socket/connect.c: Likewise.
15632 * socket/getpeername.c: Likewise.
15633 * socket/getsockname.c: Likewise.
15634 * socket/getsockopt.c: Likewise.
15635 * socket/isfdtype.c: Likewise.
15636 * socket/listen.c: Likewise.
15637 * socket/recv.c: Likewise.
15638 * socket/recvfrom.c: Likewise.
15639 * socket/recvmsg.c: Likewise.
15640 * socket/send.c: Likewise.
15641 * socket/sendmsg.c: Likewise.
15642 * socket/sendto.c: Likewise.
15643 * socket/setsockopt.c: Likewise.
15644 * socket/shutdown.c: Likewise.
15645 * socket/sockatmark.c: Likewise.
15646 * socket/socket.c: Likewise.
15647 * socket/socketpair.c: Likewise.
15648 * stdio-common/ctermid.c: Likewise.
15649 * stdio-common/cuserid.c: Likewise.
15650 * stdio-common/remove.c: Likewise.
15651 * stdio-common/rename.c: Likewise.
15652 * stdio-common/renameat.c: Likewise.
15653 * stdio-common/tempname.c: Likewise.
15654 * stdlib/getcontext.c: Likewise.
15655 * stdlib/makecontext.c: Likewise.
15656 * stdlib/setcontext.c: Likewise.
15657 * stdlib/swapcontext.c: Likewise.
15658 * stdlib/system.c: Likewise.
15659 * streams/fattach.c: Likewise.
15660 * streams/fdetach.c: Likewise.
15661 * streams/getmsg.c: Likewise.
15662 * streams/getpmsg.c: Likewise.
15663 * streams/putmsg.c: Likewise.
15664 * streams/putpmsg.c: Likewise.
15665 * sysdeps/unix/bsd/getpt.c: Likewise.
15666 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15667 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15668 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15670 Likewise.
15671 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15672 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15673 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15674 * sysvipc/msgctl.c: Likewise.
15675 * sysvipc/msgget.c: Likewise.
15676 * sysvipc/msgrcv.c: Likewise.
15677 * sysvipc/msgsnd.c: Likewise.
15678 * sysvipc/semctl.c: Likewise.
15679 * sysvipc/semget.c: Likewise.
15680 * sysvipc/semop.c: Likewise.
15681 * sysvipc/semtimedop.c: Likewise.
15682 * sysvipc/shmat.c: Likewise.
15683 * sysvipc/shmctl.c: Likewise.
15684 * sysvipc/shmdt.c: Likewise.
15685 * sysvipc/shmget.c: Likewise.
15686 * termios/tcdrain.c: Likewise.
15687 * termios/tcflow.c: Likewise.
15688 * termios/tcflush.c: Likewise.
15689 * termios/tcgetattr.c: Likewise.
15690 * termios/tcgetpgrp.c: Likewise.
15691 * termios/tcsendbrk.c: Likewise.
15692 * termios/tcsetattr.c: Likewise.
15693 * termios/tcsetpgrp.c: Likewise.
15694 * time/adjtime.c: Likewise.
15695 * time/clock.c: Likewise.
15696 * time/getitimer.c: Likewise.
15697 * time/gettimeofday.c: Likewise.
15698 * time/setitimer.c: Likewise.
15699 * time/settimeofday.c: Likewise.
15700 * time/stime.c: Likewise.
15701 * time/time.c: Likewise.
15702
157032012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15704
a20492cf
PT
15705 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15706 /usr/old/bin.
15707
72e182e3
PT
15708 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15709 instead of spaces.
15710 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15711
fbeafede
JM
157122012-11-03 Joseph Myers <joseph@codesourcery.com>
15713
5b5b04d6
JM
15714 [BZ #14796]
15715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15716 FE_TONEAREST before applying Dekker multiplication and Knuth
15717 addition. Clear inexact exceptions and check for exact zero
15718 results afterwards.
15719 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15720 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15721 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15722 * math/libm-test.inc (fma_test): Add more tests.
15723 (fma_test_towardzero): Likewise.
15724 (fma_test_downward): Likewise.
15725 (fma_test_upward): Likewise.
15726 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15727 function.
15728 (libc_fesetround): New macro.
15729 (libc_fesetroundf): Likewise.
15730 (libc_fesetroundl): Likewise.
15731 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15732 function.
15733 (libc_fesetround_387): Likewise.
15734 (libc_fesetroundf): New macro.
15735 (libc_fesetround): Likewise.
15736 (libc_fesetroundl): Likewise.
15737 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15738 function.
15739 (libc_fesetroundf): New macro.
15740 (libc_fesetround): Likewise.
15741 (libc_fesetroundl): Likewise.
15742 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15743 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15744 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15745 libm_hidden_ver.
15746 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15747 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15748 libm_hidden_def.
15749 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15750 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15751 libm_hidden_ver.
15752 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15753 libm_hidden_def.
15754
fbeafede
JM
15755 [BZ #3439]
15756 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15757 integer constant usable in #if and use that to give value to enum
15758 constant.
15759 (FE_DIVBYZERO): Likewise.
15760 (FE_UNDERFLOW): Likewise.
15761 (FE_OVERFLOW): Likewise.
15762 (FE_INVALID): Likewise.
15763 (FE_INVALID_SNAN): Likewise.
15764 (FE_INVALID_ISI): Likewise.
15765 (FE_INVALID_IDI): Likewise.
15766 (FE_INVALID_ZDZ): Likewise.
15767 (FE_INVALID_IMZ): Likewise.
15768 (FE_INVALID_COMPARE): Likewise.
15769 (FE_INVALID_SOFTWARE): Likewise.
15770 (FE_INVALID_SQRT): Likewise.
15771 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15772 (FE_TONEAREST): Likewise.
15773 (FE_TOWARDZERO): Likewise.
15774 (FE_UPWARD): Likewise.
15775 (FE_DOWNWARD): Likewise.
15776 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15777 (FE_DIVBYZERO): Likewise.
15778 (FE_OVERFLOW): Likewise.
15779 (FE_UNDERFLOW): Likewise.
15780 (FE_INEXACT): Likewise.
15781 (FE_TONEAREST): Likewise.
15782 (FE_DOWNWARD): Likewise.
15783 (FE_UPWARD): Likewise.
15784 (FE_TOWARDZERO): Likewise.
15785 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15786 (FE_UNDERFLOW): Likewise.
15787 (FE_OVERFLOW): Likewise.
15788 (FE_DIVBYZERO): Likewise.
15789 (FE_INVALID): Likewise.
15790 (FE_TONEAREST): Likewise.
15791 (FE_TOWARDZERO): Likewise.
15792 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15793 (FE_OVERFLOW): Likewise.
15794 (FE_UNDERFLOW): Likewise.
15795 (FE_DIVBYZERO): Likewise.
15796 (FE_INEXACT): Likewise.
15797 (FE_TONEAREST): Likewise.
15798 (FE_TOWARDZERO): Likewise.
15799 (FE_UPWARD): Likewise.
15800 (FE_DOWNWARD): Likewise.
15801 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15802 (FE_DIVBYZERO): Likewise.
15803 (FE_OVERFLOW): Likewise.
15804 (FE_UNDERFLOW): Likewise.
15805 (FE_INEXACT): Likewise.
15806 (FE_TONEAREST): Likewise.
15807 (FE_DOWNWARD): Likewise.
15808 (FE_UPWARD): Likewise.
15809 (FE_TOWARDZERO): Likewise.
15810
105ca950
CM
158112012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15812
15813 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15814
a542b389
AS
158152012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15816
15817 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15818 commands. Quote $PWD.
15819 (blacklist_exports): Don't use remove_newlines. Replace "declare
15820 -x" by "export".
15821 (remove_newlines): Remove.
15822
f62c8abc
L
158232012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15824
15825 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15826 * stdlib/stdlib.h (atof): Moved to ...
15827 * include/bits/stdlib-float.h: Here. New file.
15828 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15829 * stdlib/bits/stdlib-float.h: New file.
15830 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15831 -mno-sse -mno-mmx.
15832 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15833 <xmmintrin.h>.
15834
0155d5b2
JM
158352012-11-02 Joseph Myers <joseph@codesourcery.com>
15836
a68d0680
JM
15837 * conform/conformtest.pl (@headers): Add fenv.h.
15838 * conform/data/fenv.h-data: New file.
15839 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15840 include of <math/fenv.h>.
15841
caf7f573
JM
15842 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15843 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15844 && !UNIX98]. Enables tests for XOPEN2K8.
15845 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15846 POSIX2008]: Likewise.
15847
6c073ad6
JM
15848 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15849 (struct rusage): Do not expect type or its members.
15850
0155d5b2
JM
15851 [BZ #3439]
15852 * math/math.h (FP_NAN): Define macro to integer constant usable in
15853 #if and use that to give value to enum constant.
15854 (FP_INFINITE): Likewise.
15855 (FP_ZERO): Likewise.
15856 (FP_SUBNORMAL): Likewise.
15857 (FP_NORMAL): Likewise.
15858
b5dcacb4
AS
158592012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15860
15861 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15862 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15863 arguments.
15864
f7934be8
RM
158652012-11-02 Roland McGrath <roland@hack.frob.com>
15866
15867 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15868 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15869 autoconf-time if not.
15870 * configure.in: Remove AC_PREREQ.
15871
d7d08bde
TMQMF
158722012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15873
15874 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15875 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15876 of the internal implementation.
15877
dcdae19a
JM
158782012-11-02 Joseph Myers <joseph@codesourcery.com>
15879
15880 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15881 except include of <misc/sys/syslog.h>.
15882
d6cffd3e
AS
158832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15884
15885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15886 function returns with a NULL context exit with zero.
15887
b3563932
TMQMF
158882012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15889
15890 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15891
b288a93d
L
158922012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15893
15894 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15895 (run_program_cmd): This.
15896 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15897 (tst_langinfo): New variable. Use it.
15898
a2421a68
SAS
158992012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15900
15901 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15902 floating point opcodes.
15903
6f796e1b
TS
159042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15905
7402596b
TS
15906 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15907 variable.
15908
d0d4f868
TS
15909 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15910
6f796e1b
TS
15911 * sysdeps/mach/hurd/powerpc: Remove directory.
15912 * sysdeps/mach/powerpc: Likewise.
15913
4da224a2
AS
159142012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15915
15916 * scripts/check-local-headers.sh: Ignore c++ headers.
15917
341dd673
TS
159182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15919
15920 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15921 __libc_cleanup_region_start argument.
15922
473611b2
JM
159232012-11-01 Joseph Myers <joseph@codesourcery.com>
15924
15925 [BZ #14784]
15926 [BZ #14785]
15927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15928 x * y using scaling, not as x * y + z.
15929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15931 * math/libm-test.inc (fma_test): Add more tests.
15932 (fma_test_towardzero): Likewise.
15933 (fma_test_downward): Likewise.
15934 (fma_test_upward): Likewise.
15935
4078da3d
TS
159362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15937
15938 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15939
903252aa
JM
159402012-10-31 Joseph Myers <joseph@codesourcery.com>
15941
15942 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15943 New variable.
15944
cbc818d0
TS
159452012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15946
15947 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15948
5a03cb1e
AS
159492012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15950
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15952 Fix sort order.
15953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15954 Likewise.
15955
90aff2ff
TMQMF
159562012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15957
15958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15959 Fix the order of the list for glibc 2.17.
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15961 Likewise.
15962
1818fcb7
AS
159632012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15964
15965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15966
ef82f4da
JM
159672012-10-31 Joseph Myers <joseph@codesourcery.com>
15968
16a0e2ec
JM
15969 [BZ #14610]
15970 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15971 for low part of x being zero before using __atanl (y).
15972 * math/libm-test.inc (atan2_test): Add another test.
15973
0eb69512
JM
15974 * manual/install.texi (Configuring and compiling): Document
15975 general use of test-wrapper and test-wrapper-env.
15976 * INSTALL: Regenerated.
15977
ef82f4da
JM
15978 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15979 (__fma): Do not extract and scale down low bits on after-rounding
15980 systems when result rounded to normal precision would have normal
15981 exponent.
15982 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15983 (__fmal): Do not extract and scale down low bits on after-rounding
15984 systems when result rounded to normal precision would have normal
15985 exponent.
15986 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15987 (__fmal): Do not extract and scale down low bits on after-rounding
15988 systems when result rounded to normal precision would have normal
15989 exponent.
15990 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15991 macro.
15992 (fma_test): Add more tests.
15993 (fma_test_towardzero): Likewise.
15994 (fma_test_downward): Likewise.
15995 (fma_test_upward): Likewise.
15996
954ef0d9
L
159972012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15998
15999 * sysdeps/i386/tininess.h: Renamed to ...
16000 * sysdeps/x86/tininess.h: This.
16001 * sysdeps/x86_64/tininess.h: Removed.
16002
df61ffb2
JM
160032012-10-30 Joseph Myers <joseph@codesourcery.com>
16004
16005 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16006 input. Use $(build-program-cmd).
16007 ($(objpfx)tst-array1-static.out): Likewise.
16008 ($(objpfx)tst-array2.out): Likewise.
16009 ($(objpfx)tst-array3.out): Likewise.
16010 ($(objpfx)tst-array4.out): Likewise.
16011 ($(objpfx)tst-array5.out): Likewise.
16012 ($(objpfx)tst-array5-static.out): Likewise.
16013
01767843
CM
160142012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16015
47cc1490
CM
16016 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16017 if defined.
16018
01767843
CM
16019 * nss/nsswitch.h (nss_interface_function): Provide new
16020 macro for use with NSS functions.
16021 * grp/initgroups.c: Use new macro.
16022 * nss/getXXbyYY.c: Likewise.
16023 * nss/getXXbyYY_r.c: Likewise.
16024 * nss/getXXent.c: Likewise.
16025 * nss/getXXent_r.c: Likewise.
16026 * sysdeps/posix/getaddrinfo.c: Likewise.
16027
8321aa97
AJ
160282012-10-30 Andreas Jaeger <aj@suse.de>
16029
16030 * po/ru.po: Update Russion translation from translation project.
16031
2a27fd6d
JM
160322012-10-30 Joseph Myers <joseph@codesourcery.com>
16033
8627a232
JM
16034 [BZ #14152]
16035 [BZ #14783]
16036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16037 result and shift together with sticky bit instead of replicating
16038 round-to-nearest rounding.
16039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16041 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16042 missing underflow exceptions.
16043 (fma_test_towardzero): Add more tests.
16044 (fma_test_downward): Likewise.
16045 (fma_test_upward): Likewise.
16046
2a27fd6d
JM
16047 [BZ #14047]
16048 * sysdeps/generic/tininess.h: New file.
16049 * sysdeps/i386/tininess.h: Likewise.
16050 * sysdeps/sh/tininess.h: Likewise.
16051 * sysdeps/x86_64/tininess.h: Likewise.
16052 * stdlib/tst-strtod-underflow.c: Likewise.
16053 * stdlib/tst-tininess.c: Likewise.
16054 * stdlib/strtod_l.c: Include <tininess.h>.
16055 (round_and_return): Do not set errno for exact underflow cases.
16056 Force an underflow exception when setting errno for underflow.
16057 Determine underflow based on rounding to normal precision if
16058 TININESS_AFTER_ROUNDING.
16059 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16060 ERANGE for exact underflow cases.
16061 * stdlib/Makefile (tests): Add tst-tininess and
16062 tst-strtod-underflow.
16063 ($(objpfx)tst-tininess): Use $(link-libm).
16064 ($(objpfx)tst-strtod-underflow): Likewise.
16065
e7170363
AJ
160662012-10-30 Andreas Jaeger <aj@suse.de>
16067
e5088dc6
AJ
16068 [BZ#14767]
16069 * elf/Makefile (tests): Remove conditional for have-initfini-array
16070 since this is now always required and the variable does not exist
16071 anymore.
16072 (tests-static): Likewise.
16073 (modules-names): Likewise.
16074
e7170363 16075 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
16076
16077 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16078 merged with constructor/destructor.
16079 (init_array): Likewise.
16080 * elf/tst-array2dep.c (fini_array): Likewise.
16081 (init_array): Likewise.
16082
60457d8a
MF
160832012-10-29 Mike Frysinger <vapier@gentoo.org>
16084
16085 * manual/message.texi: Delete @cartouche tags.
16086
8bece752
PT
160872012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16088
94ce799f
PT
16089 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16090 EOPNOTSUPP.
16091 * sysdeps/mach/hurd/fsync.c: Likewise.
16092
8bece752
PT
16093 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16094 [_POSIX_REALTIME_SIGNALS]: Change condition to
16095 [_POSIX_REALTIME_SIGNALS > 0].
16096
86ebe6b1
AJ
160972012-10-27 Andreas Jaeger <aj@suse.de>
16098
16099 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16100 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16101 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16102 [__WORDSIZE != 64]: Likewise.
16103
54399c08
L
161042012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16105
16106 * iconvdata/tst-table.sh: Remove ${SHELL}.
16107 * iconvdata/tst-tables.sh: Likewise.
16108
e2211bed
DM
161092012-10-25 David S. Miller <davem@davemloft.net>
16110
16111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16112 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16113 of strtoull.
16114
f303f97c
DM
16115 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16116 ifunc-impl-list.c
16117 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16118 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16119 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16120 file.
16121
1e9d84cd
RM
161222012-10-25 Roland McGrath <roland@hack.frob.com>
16123
16124 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16125 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16126 __getdirentries.
16127
df381762
JM
161282012-10-25 Joseph Myers <joseph@codesourcery.com>
16129 Jim Blandy <jimb@codesourcery.com>
16130
16131 * scripts/cross-test-ssh.sh: New file.
16132 * manual/install.texi (Configuring and compiling): Document use of
16133 cross-test-ssh.sh.
16134 * INSTALL: Regenerated.
16135
bff64913
PT
161362012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16137
16138 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16139 EOPNOTSUPP.
16140
25fe8932
JM
161412012-10-25 Joseph Myers <joseph@codesourcery.com>
16142
16143 * Makeconfig (run-program-prefix): Fix comment.
16144
cc1290d0
JM
161452012-10-24 Joseph Myers <joseph@codesourcery.com>
16146 Jim Blandy <jimb@codesourcery.com>
16147
16148 * Makeconfig (test-wrapper): New variable,
16149 (test-wrapper-env): Likewise.
16150 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16151 (run-built-tests): Define to yes.
16152 (run-program-prefix): Use $(test-wrapper).
16153 (built-program-cmd): Likewise.
16154 * Rules (make-test-out): Use $(test-wrapper-env) and
16155 $(host-built-program-cmd).
16156 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16157 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16158 tst-pathopt.sh.
16159 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16160 $(test-wrapper-env) to tst-rtld-load-self.sh.
16161 ($(objpfx)order2.out): Use $(test-wrapper).
16162 ($(objpfx)tst-initorder.out): Likewise.
16163 ($(objpfx)tst-initorder2.out): Likewise.
16164 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16165 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16166 (test_wrapper_env): New variable. Use it to run ld.so.
16167 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16168 Use it to run ld.so.
16169 (test_wrapper_env): Likewise.
16170 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16171 $(test-wrapper) to run-iconv-test.sh.
16172 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16173 (ICONV): Use $test_wrapper.
16174 * posix/Makefile ($(objpfx)globtest.out): Pass
16175 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16176 globtest.sh, not $(run-program-prefix).
16177 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16178 (test_wrapper): Likewise.
16179 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16180 set together with run_via_rtld_prefix.
16181 (run_program_prefix): Define in terms of test_wrapper and
16182 run_via_rtld_prefix.
16183
6e6249d0
RM
161842012-10-24 Roland McGrath <roland@hack.frob.com>
16185
16186 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16187 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16188 Targets removed.
16189
16190 [BZ #14743]
16191 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16192 Declare __clock_getres, __clock_gettime, __clock_settime,
16193 __clock_nanosleep, and __clock_getcpuclockid.
16194 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16195 Remove librt_hidden_def (clock_gettime).
16196 * sysdeps/unix/clock_gettime.c: Likewise.
16197 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16198 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16199 * rt/clock_getres.c: Define __clock_getres as an alias.
16200 * sysdeps/posix/clock_getres.c: Likewise.
16201 * rt/clock_settime.c: Define __clock_settime as an alias.
16202 * sysdeps/unix/clock_settime.c: Likewise.
16203 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16204 * sysdeps/unix/clock_nanosleep.c: Likewise.
16205 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16206 * rt/clock-compat.c: New file.
16207 * rt/Makefile (librt-routines): Add clock-compat and move
16208 $(clock-routines) to ...
16209 (routines): ... here, new variable.
16210 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16211 Don't add get_clockfreq here.
16212 * rt/Versions (libc: GLIBC_2.17): New version set.
16213 Add clock_* symbols here.
16214 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16215 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16216 (GLIBC_2.17): Add clock_* symbols.
16217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16219 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16221 Likewise.
16222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16223 Likewise.
16224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16228 * NEWS: Mention the move.
16229
16230 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16231 Use __open, __read, __close rather than their public counterparts.
16232 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16233 (__get_clockfreq_via_cpuinfo): Likewise.
16234 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16235 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16236
16237 * config.h.in (HAVE_IFUNC): New #undef.
16238 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16239 was successful.
16240 * configure: Regenerated.
16241
0cae3f4b
MF
162422012-10-24 Mike Frysinger <vapier@gentoo.org>
16243
16244 * configure.in: Move READELF check to start of file.
16245 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16246 libc_cv_asm_gnu_indirect_function in the process.
16247 * configure: Regenerated.
16248
8175a253
MF
162492012-10-24 Mike Frysinger <vapier@gentoo.org>
16250
16251 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16252 send the output to /dev/null.
16253 (libc_cv_cc_with_libunwind): Likewise.
16254 (libc_cv_as_noexecstack): Likewise.
16255 * configure: Regenerate.
16256
0708a7d1
JM
162572012-10-24 Joseph Myers <joseph@codesourcery.com>
16258
10b40d85
JM
16259 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16260
0708a7d1
JM
16261 * posix/globtest.sh (TMPDIR): Do not set.
16262 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16263 (testout): Likewise.
16264
9fddec1a
AJ
162652012-10-24 Andreas Jaeger <aj@suse.de>
16266
3a8db22f
AJ
16267 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16268 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16269 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16270 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16271 posix_fadvise64, posix_fallocate64.
16272
9fddec1a
AJ
16273 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16274 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16275 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16276 Likewise.
16277 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16278 Likewise.
16279 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16280
16281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16282 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16283 <bits/fcntl-linux.h>.
16284 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16285
16286 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16287 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16288 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16289 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16290 [__WORDSIZE != 64]: Likewise.
16291
ebfd1bbd
JM
162922012-10-23 Joseph Myers <joseph@codesourcery.com>
16293
03ac099f
JM
16294 * Makeconfig (run-built-tests): New variable.
16295 * Rules [$(cross-compiling) = yes]: Change condition to
16296 [$(run-built-tests) = no].
16297 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16298 to [$(run-built-tests) = yes].
16299 * elf/Makefile [$(cross-compiling) = no]: Likewise
16300 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16301 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16302 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16303 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16304 * io/Makefile [$(cross-compiling) = no]: Likewise.
16305 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16306 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16307 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16308 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16309 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16310 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16311 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16312 * string/Makefile [$(cross-compiling) = no]: Likewise.
16313
ebfd1bbd
JM
16314 * posix/Makefile ($(objpfx)globtest.out): Pass
16315 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16316 $(rtld-installed-name).
16317 * posix/globtest.sh (elf_objpfx): Remove variable.
16318 (rtld_installed_name): Likewise.
16319 (library_path): Likewise.
16320 (run_program_prefix): New variable. Use for running globtest
16321 binary.
16322
166bca24
JB
163232012-10-23 Jim Blandy <jimb@codesourcery.com>
16324 Joseph Myers <joseph@codesourcery.com>
16325
16326 * Makeconfig (host-built-program-cmd): New variable.
16327 * elf/Makefile (tst-stackguard1-ARGS): Use
16328 $(host-built-program-cmd).
16329 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16330 (tst-spawn-ARGS): Likewise.
16331 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16332
88866099
JM
163332012-10-23 Joseph Myers <joseph@codesourcery.com>
16334 Jim Blandy <jimb@codesourcery.com>
16335
16336 * Makeconfig (run-via-rtld-prefix): New variable.
16337 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16338 (built-program-cmd): Likewise.
16339
b4b4c296
AJ
163402012-10-22 Andreas Jaeger <aj@suse.de>
16341
16342 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16343 __O_RSYNC if it exists, otherwise to O_SYNC.
16344
6fb54a22
JB
163452012-10-22 Jim Blandy <jimb@codesourcery.com>
16346 Joseph Myers <joseph@codesourcery.com>
16347
16348 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16349 /dev/null.
16350 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16351 from /dev/null
16352 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16353 /dev/null.
16354
481b90b9
AJ
163552012-10-22 Andreas Jaeger <aj@suse.de>
16356
2a0e2669
AJ
16357 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16358 Define always.
16359 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16360
76e38f9a
AJ
16361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16362 bits/fcntl-linux.h.
16363
7cd37b43
AJ
16364 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16365 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16366
481b90b9
AJ
16367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16368 to __O_LARGEFILE.
16369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16370 to __O_LARGEFILE.
16371
aba75984
JB
163722012-10-21 Jim Blandy <jimb@codesourcery.com>
16373 Joseph Myers <joseph@codesourcery.com>
16374
16375 * config.make.in (NM): New variable.
16376
88d4247f
AJ
163772012-10-21 Andreas Jaeger <aj@suse.de>
16378
16379 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16380 definitions and declarations that are provided by
16381 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16382
f2eed205
L
163832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16384
16385 [BZ #14683]
16386 * elf/Makefile (tests-static): Add tst-leaks1-static.
16387 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16388 ($(objpfx)tst-leaks1-static): New rule.
16389 ($(objpfx)tst-leaks1-static-mem): Likewise.
16390 (tst-leaks1-static-ENV): New macro.
16391 * elf/dl-open.c (dl_open_worker): Check the main application
16392 only if SHARED is defined.
16393 * elf/tst-leaks1-static.c: New file.
16394
335e6931
AJ
163952012-10-20 Andreas Jaeger <aj@suse.de>
16396
16397 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16398 generic values for Linux.
16399 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16400 and declarations that are provided by <bits/fcntl-linux.h> and
16401 include <bits/fcntl-linux.h>.
16402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16403 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16404
ac5c94d3
RM
164052012-10-20 Roland McGrath <roland@hack.frob.com>
16406
16407 * io/fcntl.h: Move include of <bits/types.h> to the top and
16408 include it unconditionally.
16409
de54b33a
L
164102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
16411
228cfb01
L
16412 * wcsmbs/Makefile (tests-ifunc): New variable.
16413 (tests): Add $(tests-ifunc).
16414 * wcsmbs/test-wcschr-ifunc.c: New file.
16415 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16416 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16417 * wcsmbs/test-wcslen-ifunc.c: Likewise.
16418 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16419 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16420
69f07e5f
L
16421 * string/Makefile (tests-ifunc): New variable.
16422 (tests): Add $(tests-ifunc).
16423 * string/test-memccpy.c (TEST_NAME): New macro.
16424 * string/test-memchr.c (TEST_NAME): Likewise.
16425 * string/test-memcmp.c (TEST_NAME): Likewise.
16426 * string/test-memcpy.c (TEST_NAME): Likewise.
16427 * string/test-memmem.c (TEST_NAME): Likewise.
16428 * string/test-memmove.c (TEST_NAME): Likewise.
16429 * string/test-memset.c (TEST_NAME): Likewise.
16430 * string/test-rawmemchr.c (TEST_NAME): Likewise.
16431 * string/test-stpcpy.c (TEST_NAME): Likewise.
16432 * string/test-stpncpy.c (TEST_NAME): Likewise.
16433 * string/test-strcasecmp.c (TEST_NAME): Likewise.
16434 * string/test-strcasestr.c (TEST_NAME): Likewise.
16435 * string/test-strcat.c (TEST_NAME): Likewise.
16436 * string/test-strchr.c (TEST_NAME): Likewise.
16437 * string/test-strcmp.c(TEST_NAME): Likewise.
16438 * string/test-strcpy.c (TEST_NAME): Likewise.
16439 * string/test-strcspn.c (TEST_NAME): Likewise.
16440 * string/test-strlen.c (TEST_NAME): Likewise.
16441 * string/test-strncasecmp.c (TEST_NAME): Likewise.
16442 * string/test-strncmp.c (TEST_NAME): Likewise.
16443 * string/test-strncpy.c (TEST_NAME): Likewise.
16444 * string/test-strnlen.c (TEST_NAME): Likewise.
16445 * string/test-strpbrk.c (TEST_NAME): Likewise.
16446 * string/test-strrchr.c (TEST_NAME): Likewise.
16447 * string/test-strspn.c (TEST_NAME): Likewise.
16448 * string/test-strstr.c (TEST_NAME): Likewise.
16449 * string/test-bcopy-ifunc.c: New file.
16450 * string/test-bzero-ifunc.c: Likewise.
16451 * string/test-memccpy-ifunc.c: Likewise.
16452 * string/test-memchr-ifunc.c: Likewise.
16453 * string/test-memcmp-ifunc.c: Likewise.
16454 * string/test-memcpy-ifunc.c: Likewise.
16455 * string/test-memmem-ifunc.c: Likewise.
16456 * string/test-memmove-ifunc.c: Likewise.
16457 * string/test-mempcpy-ifunc.c: Likewise.
16458 * string/test-memset-ifunc.c: Likewise.
16459 * string/test-rawmemchr-ifunc.c: Likewise.
16460 * string/test-stpcpy-ifunc.c: Likewise.
16461 * string/test-stpncpy-ifunc.c: Likewise.
16462 * string/test-strcasecmp-ifunc.c: Likewise.
16463 * string/test-strcasestr-ifunc.c: Likewise.
16464 * string/test-strcat-ifunc.c: Likewise.
16465 * string/test-strchr-ifunc.c: Likewise.
16466 * string/test-strchrnul-ifunc.c: Likewise.
16467 * string/test-strcmp-ifunc.c: Likewise.
16468 * string/test-strcpy-ifunc.c: Likewise.
16469 * string/test-strcspn-ifunc.c: Likewise.
16470 * string/test-strlen-ifunc.c: Likewise.
16471 * string/test-strncasecmp-ifunc.c: Likewise.
16472 * string/test-strncat-ifunc.c: Likewise.
16473 * string/test-strncmp-ifunc.c: Likewise.
16474 * string/test-strncpy-ifunc.c: Likewise.
16475 * string/test-strnlen-ifunc.c: Likewise.
16476 * string/test-strpbrk-ifunc.c: Likewise.
16477 * string/test-strrchr-ifunc.c: Likewise.
16478 * string/test-strspn-ifunc.c: Likewise.
16479 * string/test-strstr-ifunc.c: Likewise.
16480
de54b33a
L
16481 * debug/Makefile (tests-ifunc): New variable.
16482 (tests): Add $(tests-ifunc).
16483 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16484 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16485 * debug/test-stpcpy_chk-ifunc.c: New file.
16486 * debug/test-strcpy_chk-ifunc.c: Likewise.
16487
88481c16
SP
164882012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16489
16490 [BZ #13601]
16491 * elf/dl-load.c (open_verify): Retry read if the entire ELF
16492 header is not read in.
16493
135948bd
JM
164942012-10-19 Joseph Myers <joseph@codesourcery.com>
16495
89f1c388
JM
16496 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
16497 script to $(SHELL) as $<. Pass $(common-objpfx) to script
16498 directly. Pass built executable to script as
16499 $(built-program-cmd).
16500 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
16501 $testprogram without using LD_LIBRARY_PATH and $ldso.
16502
e40a0d21
JM
16503 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16504 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16505 $(rtld-installed-name).
16506 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16507 (rtld_installed_name): Likewise.
16508 (library_path): Likewise.
16509 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
16510 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16511 $(run-program-prefix) to tst-tables.sh.
16512 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
16513 it to run tst-table-from and tst-table-to.
16514 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16515 Pass it to tst-table.sh.
16516 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16517 $(run-program-prefix) to tst-gettext.sh.
16518 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16519 tst-translit.sh.
16520 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16521 tst-gettext2.sh.
16522 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
16523 to run tst-gettext.
16524 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
16525 to run tst-gettext2.
16526 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
16527 to run tst-translit.
16528 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16529 $(run-program-prefix) to tst-mtrace.sh.
16530 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
16531 to run tst-mtrace.
16532 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16533 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16534 $(rtld-installed-name).
16535 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16536 (rtld_installed_name): Likewise.
16537 (run_program_prefix): New variable. Use it to run wordexp-test.
16538
728e272a
JM
16539 * Makeconfig (ARCH): Remove all definitions.
16540 (machine): Likewise.
16541 [ARCH]: Remove conditional code.
16542 [!objdir]: Give error.
16543 [!objdir] (objpfx): Remove.
16544 [!objdir] (common-objpfx): Likewise.
16545 [!objdir] (common-objdir): Likewise.
16546 * configure.in (config_makefile): Remove. Hardcode Makefile in
16547 AC_CONFIG_FILES call.
16548 * configure: Regenerated.
16549
d528cdcf
JM
16550 [BZ #13888]
16551 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16552 or TMPDIR.
16553 (testout): Likewise.
16554
135948bd
JM
16555 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16556 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16557 $(rtld-installed-name).
16558 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16559 (rtld_installed_name): Likwise.
16560 (runit): Remove function.
16561 (run_getconf): New variable, Use it for running getconf binary.
16562
38c78296
L
165632012-10-18 H.J. Lu <hongjiu.lu@intel.com>
16564
16565 [BZ #14716]
16566 * string/test-memmem.c (check_result): New function.
16567 (do_one_test): Use it.
16568 (check1): New function.
16569 (test_main): Use it.
16570
d077f65f
MT
165712012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16572
16573 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16574
ced52c71
JM
165752012-10-18 Joseph Myers <joseph@codesourcery.com>
16576
16577 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16578 (_G_LSEEK64): Likewise.
16579 (_G_MMAP64): Likewise.
16580 (_G_FSTAT64): Likewise.
16581 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16582 (_G_LSEEK64): Likewise.
16583 (_G_MMAP64): Likewise.
16584 (_G_FSTAT64): Likewise.
16585 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16586 unconditional. Call __mmap64 directly.
16587 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16588 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16589 __lseek64 directly.
16590 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16591 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16592 __mmap64 directly.
16593 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16594 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16595 __lseek64 directly.
16596 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16597 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16598 __lseek64 directly.
16599 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16600 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16601 __lseek64 directly.
16602 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16603 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16604 __fxstat64 directly.
16605 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16606 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16607 unconditional.
16608 (freopen64) [!_G_OPEN64]: Remove conditional code.
16609 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16610 unconditional.
16611 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16612 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16613 unconditional.
16614 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16615 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16616 unconditional.
16617 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16618 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16619 unconditional.
16620 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16621 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16622 unconditional.
16623 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16624 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16625 unconditional.
16626 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16627 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16628 unconditional.
16629 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16630
b741de23
SP
166312012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16632
16633 [BZ #12140]
16634 * manual/memory.texi (Malloc Tunable Parameters): Add note
16635 about free list pointers overwriting some perturb bytes.
16636 Wording suggested by Roland McGrath.
16637
f9b9d9c9
JM
166382012-10-17 Joseph Myers <joseph@codesourcery.com>
16639
16640 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16641 (lgamma_test): Likewise.
16642 (tgamma_test): Likewise.
16643
172a631a
FW
166442012-10-16 Florian Weimer <fweimer@redhat.com>
16645
16646 [BZ #14700]
16647 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16648 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16649
e9f37252
MK
166502012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16651
16652 * NEWS: Mention BZ #14716.
16653 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16654 when removing AVAILABLE1_USES_J macro.
16655
d394eb74
L
166562012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16657
16658 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16659 (__bswap_64): __uint64_t for unsigned 64-bit int.
16660
ca38dc17
AS
166612012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16662
16663 * include/string.h (memmem): Declare libc hidden alias.
16664 * string/memmem.c (memmem): Define libc hidden alias.
16665 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16666 __read, __close instead of open, read, close.
16667
9a387d1f
L
166682012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16669
ac49ecaf
L
16670 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16671 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16672 global and hidden.
16673 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16674 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16675 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16676 Likewise.
16677 (__rawmemchr_sse2): Likewise.
16678 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16679 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16680 (__strchr_sse2): Likewise.
16681 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16682 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16683 (__strcasecmp_sse2): Likewise.
16684 (__strncasecmp_sse2): Likewise.
16685 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16686 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16687 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16688 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16689 (__strrchr_sse2): Likewise.
16690 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16691 ifunc-impl-list.c.
16692 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16693 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16694 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16695 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16696 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16697 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16698 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16699 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16700 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16701 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16702 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16703 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16704 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16705 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16706 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16707 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16708 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16709 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16710 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16711 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16712 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16713 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16714 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16715 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16716 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16717 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16718 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16719 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16720 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16721 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16722
b090e8ea
L
16723 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16724 global and hidden.
16725 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16726 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16727 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16728 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16729 Likewise.
16730 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16731 Likewise.
16732 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16733 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16734 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16735 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16736 ifunc-impl-list.c.
16737 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16738 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16739 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16740 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16741 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16742 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16743 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16744 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16745 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16746 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16747 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16748 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16749 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16750 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16751 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16752 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16753 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16754 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16755 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16756 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16757 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16758 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16759 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16760 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16761 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16762 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16763 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16764 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16765 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16766 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16767 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16768 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16769 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16770 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16771 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16772 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16773 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16774 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16775 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16776 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16777 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16778
11dd4af6
L
16779 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16780 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16781 * include/ifunc-impl-list.h: New file.
16782 * misc/ifunc-impl-list.c: Likewise.
16783 * misc/Makefile (routines): Add ifunc-impl-list.
16784 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16785 * string/test-string.h: Include <ifunc-impl-list.h>.
16786 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16787 impl_array): New variables.
16788 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16789 are defined.
16790 (test_init): Call __libc_ifunc_impl_list to initialize
16791 func_list if TEST_IFUNC and TEST_NAME are defined.
16792
9a387d1f
L
16793 * string/Makefile (strop-tests): Add bcopy and bzero.
16794 * string/test-bcopy.c: New file.
16795 * string/test-bzero.c: Likewise.
16796 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16797 defined.
16798 * string/test-memset.c: Support bzero test if TEST_BZERO is
16799 defined.
16800 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16801 __libc_memmove.
16802 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16803 __libc_memset.
16804 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16805 of memset.
16806
472371b9
JM
168072012-10-10 Joseph Myers <joseph@codesourcery.com>
16808
1e4a9536
JM
16809 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16810 * configure: Regenerated.
16811
d173d12e
JM
16812 * Makeconfig (+link-static-before-libc): Don't include
16813 $(link-static-libc).
16814
472371b9
JM
16815 * libio/libio.h (_IO_pos_t): Remove.
16816
89a3ad0b
AO
168172012-10-10 Alexandre Oliva <aoliva@redhat.com>
16818
16819 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16820 McGrath.
16821
e7451425
AO
168222012-10-10 Alexandre Oliva <aoliva@redhat.com>
16823
16824 * crypt/crypt-entry.c: Include fips-private.h.
16825 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16826 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16827 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16828 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16829
4ba74a35
AO
168302012-10-10 Alexandre Oliva <aoliva@redhat.com>
16831
16832 * crypt/crypt-private.h: Include stdbool.h.
16833 (_ufc_setup_salt_r): Return bool.
16834 * crypt/crypt-entry.c: Include errno.h.
16835 (__crypt_r): Return NULL with EINVAL for bad salt.
16836 * crypt/crypt_util.c (bad_for_salt): New.
16837 (_ufc_setup_salt_r): Check that salt is long enough and within
16838 the specified alphabet.
16839 * crypt/badsalttest.c: New file.
16840 * crypt/Makefile (tests): Add it.
16841 ($(objpfx)badsalttest): New.
16842
f96f1242
MK
168432012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16844
16845 * NEWS: Add entry for BZ #14602.
16846
0e8e0c1c
JM
168472012-10-09 Joseph Myers <joseph@codesourcery.com>
16848
16849 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16850 type-generic.
16851 * math/libm-test.inc: Update comment listing what functions and
16852 macros are tested.
16853 (isgreater_test): New function.
16854 (isgreaterequal_test): Likewise.
16855 (isless_test): Likewise.
16856 (islessequal_test): Likewise.
16857 (islessgreater_test): Likewise.
16858 (isunordered_test): Likewise.
16859 (main): Call the new functions.
16860
273edc5e
RM
168612012-10-09 Roland McGrath <roland@hack.frob.com>
16862
b8493de0
RM
16863 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16864 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16865 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16866 * sysdeps/i386/configure: Regenerated.
16867 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16868 * sysdeps/mach/configure: Regenerated.
16869 * sysdeps/mach/hurd/configure: Regenerated.
16870 * sysdeps/powerpc/configure: Regenerated.
16871 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16872 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16873 * sysdeps/s390/s390-32/configure: Regenerated.
16874 * sysdeps/s390/s390-64/configure: Regenerated.
16875 * sysdeps/sh/configure: Regenerated.
16876 * sysdeps/sparc/configure: Regenerated.
16877 * sysdeps/unix/sysv/linux/configure: Regenerated.
16878 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16879 * sysdeps/x86_64/configure: Regenerated.
16880
273edc5e
RM
16881 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16882 defined. Don't check if MAP is NULL.
16883
c8450f70
JM
168842012-10-09 Joseph Myers <joseph@codesourcery.com>
16885
16886 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16887 (_G_stat64): Likewise.
16888 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16889 (_G_stat64): Likewise.
16890 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16891 instead of struct _G_stat64.
16892 * libio/fileops.c (mmap_remap_check): Likewise.
16893 (decide_maybe_mmap): Likewise.
16894 (_IO_new_file_seekoff): Likewise.
16895 (_IO_file_stat): Likewise.
16896 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16897 _G_off64_t.
16898 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16899 instead of struct _G_stat64.
16900 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16901
57e605ba
MK
169022012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16903
16904 [BZ #14602]
16905 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16906 Replace with ...
16907 (CHECK_EOL): New macro.
16908 (two_way_short_needle): Check beginning of haystack for EOL. Use
16909 CHECK_EOL.
16910 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16911 Replace with CHECK_EOL.
16912 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16913 Replace with CHECK_EOL.
16914
ef1bb361
JM
169152012-10-08 Joseph Myers <joseph@codesourcery.com>
16916
16917 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16918 type-generic.
16919 * math/libm-test.inc: Update comment listing what functions and
16920 macros are tested.
16921 (finite_test): New function.
16922 (isinf_test): Likewise.
16923 (isnan_test): Likewise.
16924 (fpclassify_test): Test subnormal input.
16925 (isfinite_test): Likewise.
16926 (isnormal_test): Likewise.
16927 (main): Call the new functions.
16928
55f11534
JN
169292012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16930
16931 [BZ #14660]
16932 * Makerules (%.dynsym): Force C locale when running
16933 $(OBJDUMP) --dynamic-syms.
16934
1ab29350
AS
169352012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16936
16937 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16938 <stdint.h>.
16939
f1ecb7ef
DM
169402012-10-06 David S. Miller <davem@davemloft.net>
16941
16942 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16943 upper 32-bits of the length value in %o2 since we use branch-on-register
16944 tests which consider the entire 64-bit register.
16945
5d41d91a
L
169462012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16947
16948 * string/test-strstr.c (check2): Add a test for page boundary.
16949
3baddb72
DM
169502012-10-05 David S. Miller <davem@davemloft.net>
16951
16952 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16953 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16954 file.
16955 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16956 sysdep_routines.
16957 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16958 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16959 and bzero when HWCAP_SPARC_CRYPTO is present.
16960
9cee5585
L
169612012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16962
d7e0dab9
L
16963 [BZ #14602]
16964 * string/test-strstr.c (check2): New function.
16965 (test_main): Call check2.
16966
03759f47
L
16967 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16968 and bug-strchr1.
16969 * string/bug-strcasestr1.c (do_test): Moved to ...
16970 * string/test-strcasestr.c (check1): Here. New function.
16971 (do_one_test): Break out result checking code into ...
16972 (check_result): This. New function.
16973 (do_one_test): Call check_result.
16974 (test_main): Call check1.
16975 * string/bug-strchr1.c (do_test): Moved to ...
16976 * string/test-strchr.c (check1): Here. New function.
16977 (do_one_test): Break out result checking code into ...
16978 (check_result): This. New function.
16979 (do_one_test): Call check_result.
16980 (test_main): Call check1.
16981 * string/bug-strstr1.c (main): Moved to ...
046f153e 16982 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16983 (do_one_test): Break out result checking code into ...
16984 (check_result): This. New function.
16985 (do_one_test): Call check_result.
16986 (test_main): Call check1.
16987 * string/bug-strcasestr1.c: Removed.
16988 * string/bug-strchr1.c: Likewise.
16989 * string/bug-strstr1.c: Likewise.
16990
53cea63e
L
16991 * elf/Makefile (dl-routines): Add hwcaps.
16992 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16993 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16994 (_dl_important_hwcaps): Moved to ...
16995 * elf/dl-hwcaps.c: Here. New file.
16996 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16997
9cee5585 16998 [BZ #14557]
bb859b06
L
16999 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17000 if IS_IN_rtld isn't defined.
17001
9cee5585
L
17002 * elf/dl-support.c (_dl_sysinfo_map): New.
17003 Include "get-dynamic-info.h" and "setup-vdso.h".
17004 (_dl_non_dynamic_init): Call setup_vdso.
17005 * elf/dynamic-link.h: Don't include <assert.h>.
17006 (elf_get_dynamic_info): Moved to ...
17007 * elf/get-dynamic-info.h: Here. New file.
17008 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17009 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17010 * elf/setup-vdso.h: Here. New file.
17011 * elf/rtld.c: Include "setup-vdso.h".
17012 (dl_main): Call setup_vdso.
17013
23c31b76
JM
170142012-10-05 Joseph Myers <joseph@codesourcery.com>
17015
28234b07
JM
17016 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17017 creal in comment listing functions tested. List finite, isinf,
17018 isnan, isless, islessequal, isgreater, isgreaterequal,
17019 islessgreater, isunordered, lgamma_r and pow10 as functions and
17020 macros not tested. Mention which functions not tested are aliases
17021 for other functions. Fix typo. Note that signs of NaNs are not
17022 tested.
17023
23c31b76
JM
17024 * scripts/config.guess: Update from config.git.
17025 * scripts/config.sub: Likewise.
17026
9043e228
RM
170272012-10-04 Roland McGrath <roland@hack.frob.com>
17028
17029 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17030 * misc/madvise.c (madvise): Renamed to __madvise.
17031 Make madvise a weak alias.
17032 * include/sys/mman.h: Declare __madvise.
17033 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17034 * sysdeps/unix/syscalls.list
17035 (madvise): Make __madvise the strong name, and madvise a weak alias.
17036 * sysdeps/unix/sysv/linux/syscalls.list
17037 (madvise, mmap): Remove redundant entries.
17038 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17039 * malloc/malloc.c (mtrim): Likewise.
17040 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17041
f57f8055
RM
170422012-10-03 Roland McGrath <roland@hack.frob.com>
17043
17044 * sysdeps/mach/hurd/dl-cache.c: File removed.
17045 * config.h.in (USE_LDCONFIG): New #undef.
17046 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17047 * configure: Regenerated.
17048 * elf/Makefile (dl-routines): Add dl-cache only under
17049 [$(use-ldconfig) = yes].
17050 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17051 cache on [USE_LDCONFIG].
17052 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17053 [USE_LDCONFIG].
17054 * elf/rtld.c (dl_main): Likewise.
17055
5bb0c10a
PT
170562012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17057
17058 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17059 _SC_LEVEL4_CACHE_LINESIZE.
17060
010188c6
RM
170612012-10-03 Roland McGrath <roland@hack.frob.com>
17062
17063 * sysdeps/unix/bsd/confstr.h: File removed.
17064
b6c5ec07
AO
170652012-10-02 Alexandre Oliva <aoliva@redhat.com>
17066
17067 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17068 sys/sdt-config.h.
17069
408223d4
RM
170702012-10-02 Roland McGrath <roland@hack.frob.com>
17071
17072 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17073 Make 'mapoff' field ElfW(Off) rather than off_t.
17074
bb9510dc
DL
170752012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17076
fc997c6e
DL
17077 * nscd/Makefile: Remove nscd-cflags and all its users.
17078 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17079 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17080
bb9510dc
DL
17081 [BZ #10631]
17082 * malloc.c (malloc_printerr): Clarify error message.
17083
05699367
L
170842012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17085
17086 [BZ #14648]
17087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17088 Set bit_FMA_Usable if FMA is supported.
17089 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17090 macro.
17091 (bit_FMA4_Usable): Updated.
17092 (index_FMA_Usable): New macro.
17093 (CPUID_FMA): Likewise
17094 (HAS_FMA): Defined with bit_FMA_Usable.
17095
51367701
RM
170962012-10-01 Roland McGrath <roland@hack.frob.com>
17097
17098 * bits/types.h (__swblk_t): Type removed.
17099 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17100 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17101 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17102 (__SWBLK_T_TYPE): Likewise.
17103 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17104 (__SWBLK_T_TYPE): Likewise.
17105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17106 (__SWBLK_T_TYPE): Likewise.
17107 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17108 (__SWBLK_T_TYPE): Likewise.
17109
4d57bf63 171102012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 17111 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
17112
17113 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17114 (xdr_mapname): Use YPMAXMAP as maxsize.
17115 (xdr_peername): Use YPMAXPEER as maxsize.
17116 (xdr_keydat): Use YPAXRECORD as maxsize.
17117 (xdr_valdat): Use YPMAXRECORD as maxsize.
17118
93c65d43
RM
171192012-10-01 Roland McGrath <roland@hack.frob.com>
17120
497a03d6
RM
17121 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17122
93c65d43
RM
17123 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17124 * csu/init-first.c: ... here.
17125 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17126 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17127 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17128 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17129 * sysdeps/i386/init-first.c: File removed.
17130 * sysdeps/sh/init-first.c: File removed.
17131
bec749fd
JM
171322012-10-01 Joseph Myers <joseph@codesourcery.com>
17133
17134 [BZ #14645]
17135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17136 if x * y might underflow to zero and z is zero.
17137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17138 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17139 * math/libm-test.inc (min_subnorm_value): New variable.
17140 (fma_test): Add more tests.
17141 (fma_test_towardzero): Likewise.
17142 (fma_test_downward): Likewise
17143 (fma_test_upward): Likewise.
17144 (initialize): Set min_subnorm_value.
17145
8ec5b013
JM
171462012-09-29 Joseph Myers <joseph@codesourcery.com>
17147
17148 [BZ #14638]
17149 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17150 0 + 0.
17151 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17152 mode for addition resulting in exact zero.
17153 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17155 exact 0 + 0.
17156 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17157 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17158 * math/libm-test.inc (fma_test): Add more tests.
17159 (fma_test_towardzero): New function.
17160 (fma_test_downward): Likewise.
17161 (fma_test_upward): Likewise.
17162 (main): Call the new functions.
17163
b1fa802e
DM
171642012-09-28 David S. Miller <davem@davemloft.net>
17165
17166 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17167
d3b9fd9e
RM
171682012-09-28 Roland McGrath <roland@hack.frob.com>
17169
ea4d37b3
RM
17170 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17171 instead of SIGALRM.
17172
ac51c949
RM
17173 * sysdeps/gnu/_G_config.h: Moved to ...
17174 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17175 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17176 * sysdeps/generic/_G_config.h: ... here.
17177
28c195f7
RM
17178 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17179
848917f9
RM
17180 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17181
6bacf05b
RM
17182 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17183 Conditionalize target on [libnss_test1.so-version].
17184
91363dbb
RM
17185 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17186
cc87f7d8
RM
17187 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17188 (elfobjdir): Move out of conditionals.
17189
b1c608fe
RM
17190 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17191 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17192 (__nss_lookup_function): Conditionalize label remove_from_tree on
17193 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 17194
1d9a6d96
DM
171952012-09-28 David S. Miller <davem@davemloft.net>
17196
17197 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17198 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17199 file.
17200 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17201 sysdep_routines.
17202 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17204 when HWCAP_SPARC_CRYPTO is present.
17205
72581615
PT
172062012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17207
17208 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17209
715a900c
JL
172102012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17211
17212 [BZ #6530]
17213 * stdio-common/vfprintf.c (process_string_arg): Revert
17214 2000-07-22 change.
17215
172162011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17217
17218 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17219 for testcase.
17220 * stdio-common/tst-sprintf.c: Include <locale.h>
17221 (main): Test sprintf's handling of incomplete multibyte
17222 characters.
17223
9bac1d86
L
172242012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17225
17226 * elf/dl-runtime.c (VERSYMIDX): Removed.
17227 * elf/dl-version.c (VERSYMIDX): Likewise.
17228 * elf/do-rel.h (VERSYMIDX): Likewise.
17229 (VALIDX): Likewise.
17230 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17231 * elf/rtld.c (VALIDX): Likewise.
17232 (ADDRIDX): Likewise.
9bac1d86
L
17233 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17234 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17235 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
17236 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17237 (VALIDX): Likewise.
17238 (ADDRIDX): Likewise.
9bac1d86 17239
b31606c0
PT
172402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17241
17242 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17243
11541177
JL
172442012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17245
17246 [BZ #11438]
17247 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17248 to global scope.
17249 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17250 addresses are in the same scope as 192.0.2/24.
17251 * posix/gai.conf: Document new scope table defaults.
17252
adb26fae
SP
172532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17254
17255 [BZ #5298]
17256 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17257 for ftell. Compute offsets from write pointers instead.
17258 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17259
4573c6b0
SP
172602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17261
17262 [BZ #14543]
17263 * libio/Makefile (tests): New test case tst-fseek.
17264 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17265 combination works in wide mode.
17266 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17267 state when the external buffer state changes.
17268
aa9bbfe6
DM
172692012-09-27 David S. Miller <davem@davemloft.net>
17270
17271 [BZ #14376]
17272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17273 pass reloc->r_addend in as the 'high' argument to
17274 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17275
784421e7
DM
17276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17277
c39bc8b8
PT
172782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17279
17280 * rt/tst-aio2.c: Include <pthread.h>.
17281 * rt/tst-aio3.c: Likewise.
17282
1ccc2399
SE
172832012-09-27 Steve Ellcey <sellcey@mips.com>
17284
17285 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17286
31ed4153
L
172872012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17288
25f5f885
L
17289 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17290 contents on [SHARED].
31ed4153 17291
b7bfe116
MP
172922012-09-26 Marek Polacek <polacek@redhat.com>
17293
17294 [BZ #14530]
17295 [BZ #13741]
17296 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17297 for C++ and GCC <4.3 as well as for non GCC compilers.
17298
43c4edba
MT
172992012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17300
17301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17302
6a1bf82f
RM
173032012-09-25 Roland McGrath <roland@hack.frob.com>
17304
17305 * Makefile.in (all, install): Declare with .PHONY.
17306 Reported by Michael Hope <michael.hope@linaro.org>.
17307
8ad11b9a
TMQMF
173082012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17309
17310 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17311 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17312 system header.
17313 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17314 Likewise.
17315 (sydep_routines): Add the new and the internal functions.
17316 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17317 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17319 (GLIBC_2.17): Add the new function.
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17321 (GLIBC_2.17): Likewise.
17322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17323 (GLIBC_2.17): Likewise.
17324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17325 (GLIBC_2.17): Likewise.
17326 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17327
7e2fca8d
AM
173282012-09-25 Alan Modra <amodra@gmail.com>
17329
17330 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17331 Add release barrier before setting once_control to say
17332 initialisation is done. Add hints on lwarx. Use macro in
17333 place of isync.
17334 (clear_once_control): Add release barrier.
17335
b87c4b24
JM
173362012-09-25 Joseph Myers <joseph@codesourcery.com>
17337
d032e0d2
JM
17338 [BZ #13629]
17339 * math/s_clog.c (__clog): Handle more values close to |z| = 1
17340 specially.
17341 * math/s_clog10.c (__clog10): Likewise.
17342 * math/s_clog10f.c (__clog10f): Likewise.
17343 * math/s_clog10l.c (__clog10l): Likewise.
17344 * math/s_clogf.c (__clogf): Likewise.
17345 * math/s_clogl.c (__clogl): Likewise.
17346 * math/Makefile (libm-calls): Add x2y2m1.
17347 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17348 (__x2y2m1): Likewise.
17349 (__x2y2m1l): Likewise.
17350 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17351 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17354 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17355 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17356 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17357 * sysdeps/i386/fpu/libm-test-ulps: Update.
17358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17359
b87c4b24
JM
17360 [BZ #14621]
17361 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17362 int as type of variable DEPTH.
17363 (glob): Use size_t instead of int as type of variables NEWCOUNT
17364 and OLD_PATHC.
17365
6d3bf199
LD
173662012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17367
22bf5c17
LD
17368 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17369 Add s_sincosf-sse2.
17370 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17371 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17372 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17373 macros for using routine as __sincosf_ia32.
17374 Use macro for function declaration and weak_alias.
17375 * sysdeps/i386/fpu/libm-test-ulps: Update.
17376
17377 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17379
17380 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
17381 subnormal argument.
17382 * math/s_cexpf.c (__cexpf): Likewise.
17383 * math/s_csinf.c (__csinf): Likewise.
17384 * math/s_csinhf.c (__csinhf): Likewise.
17385 * math/s_ctanf.c (__ctanf): Likewise.
17386 * math/s_ctanhf.c (__ctanhf): Likewise.
17387 * math/s_ccosh.c (__ccoshf): Likewise.
17388 * math/s_cexp.c (__cexpl): Likewise.
17389 * math/s_csin.c (__csin): Likewise.
17390 * math/s_csinh.c (__csinh): Likewise.
17391 * math/s_ctan.c (__ctan): Likewise.
17392 * math/s_ctanh.c (ctanh): Likewise.
17393 * math/s_ccoshl.c (__ccoshl): Likewise.
17394 * math/s_cexpl.c (__cexpl): Likewise.
17395 * math/s_csinl.c (__csinl): Likewise.
17396 * math/s_csinhl.c (__csinhl): Likewise.
17397 * math/s_ctanl.c (__ctanl): Likewise.
17398 * math/s_ctanhl.c (__ctanhl): Likewise.
17399
203e5603
JM
174002012-09-25 Joseph Myers <joseph@codesourcery.com>
17401
17402 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17403 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17404 (_IO_off_t): Define to __off_t, not _G_off_t.
17405 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17406 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17407 (_IO_wint_t): Define to wint_t, not _G_wint_t.
17408 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17409 type of __dummy and __dummy2 fields.
17410 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17411 (_G_ssize_t): Likewise.
17412 (_G_off_t): Likewise.
17413 (_G_pid_t): Likewise.
17414 (_G_uid_t): Likewise.
17415 (_G_wchar_t): Likewise.
17416 (_G_wint_t): Likewise.
17417 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17418 (_G_ssize_t): Likewise.
17419 (_G_off_t): Likewise.
17420 (_G_pid_t): Likewise.
17421 (_G_uid_t): Likewise.
17422 (_G_wchar_t): Likewise.
17423 (_G_wint_t): Likewise.
17424 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17425 (_G_ssize_t): Likewise.
17426 (_G_off_t): Likewise.
17427 (_G_pid_t): Likewise.
17428 (_G_uid_t): Likewise.
17429 (_G_wchar_t): Likewise.
17430 (_G_wint_t): Likewise.
17431
9fab36eb
SP
174322012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17433
17434 * malloc/arena.c: Include malloc-sysdep.h.
17435 (shrink_heap): Use check_may_shrink_heap to decide if madvise
17436 is sufficient to shrink the heap or an unmap is needed.
17437 * sysdeps/generic/malloc-sysdep.h: New file. Define
17438 new function check_may_shrink_heap.
17439 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
17440 new function check_may_shrink_heap.
17441
2b4f00d1
SP
174422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17443
17444 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17445 comments.
17446
9a9028b1
DL
174472012-09-24 Dmitry V. Levin <ldv@altlinux.org>
17448
57c69bef
DL
17449 * catgets/test-gencat.sh: Add "set -e".
17450 * elf/tst-pathopt.sh: Likewise.
17451 * grp/tst_fgetgrent.sh: Likewise.
17452 * iconvdata/run-iconv-test.sh: Likewise.
17453 * intl/tst-gettext.sh: Likewise.
17454 * intl/tst-gettext2.sh: Likewise.
17455 * intl/tst-gettext4.sh: Likewise.
17456 * intl/tst-gettext6.sh: Likewise.
17457 * intl/tst-translit.sh: Likewise.
17458 * io/ftwtest-sh: Likewise.
17459 * libio/test-freopen.sh: Likewise.
17460 * malloc/tst-mtrace.sh: Likewise.
17461 * posix/globtest.sh: Likewise.
17462 * posix/tst-getconf.sh: Likewise.
17463 * posix/wordexp-tst.sh: Likewise.
17464 * stdio-common/tst-printf.sh: Likewise.
17465 * stdio-common/tst-unbputc.sh: Likewise.
17466 * stdlib/tst-fmtmsg.sh: Likewise.
17467 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17468 * catgets/Makefile: Do not specify -e option when running
17469 testsuite shell scripts.
17470 * elf/Makefile: Likewise.
17471 * grp/Makefile: Likewise.
17472 * iconvdata/Makefile: Likewise.
17473 * intl/Makefile: Likewise.
17474 * io/Makefile: Likewise.
17475 * libio/Makefile: Likewise.
17476 * malloc/Makefile: Likewise.
17477 * posix/Makefile: Likewise.
17478 * stdio-common/Makefile: Likewise.
17479 * stdlib/Makefile: Likewise.
17480 * sysdeps/x86_64/Makefile: Likewise.
17481
9a9028b1
DL
17482 * io/ftwtest-sh: Add copyright header.
17483 * posix/globtest.sh: Likewise.
17484 * posix/tst-getconf.sh: Likewise.
17485 * posix/wordexp-tst.sh: Likewise.
17486 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17487
ced6f16e
L
174882012-09-24 H.J. Lu <hongjiu.lu@intel.com>
17489
94b32c39
L
17490 [BZ #13679]
17491 * Makeconfig (+link): Defined as $(+link-static) if
17492 $(build-shared) isn't yes.
17493 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17494 isn't yes.
17495 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17496
189e935b
L
17497 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17498
ced6f16e
L
17499 [BZ #14562]
17500 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17501 new chunk size with MALLOC_ALIGN_MASK.
17502
a9f8e53a
JM
175032012-09-24 Joseph Myers <joseph@codesourcery.com>
17504
17505 [BZ #5044]
17506 * stdio-common/printf_fphex.c: Include <stdbool.h> and
17507 <rounding-mode.h>.
17508 (__printf_fphex): Determine rounding using get_rounding_mode and
17509 round_away.
17510 * stdio-common/tst-printf-round.c (struct hex_test): New
17511 structure.
17512 (hex_tests): New variable.
17513 (test_hex_in_one_mode): New function.
17514 (do_test): Also run tests for hex float output.
17515
43153109
JM
175162012-09-21 Joseph Myers <joseph@codesourcery.com>
17517
17518 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17519 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17520 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17521 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17522 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17523 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17524 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17525 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17526
8a26625d
JM
175272012-09-20 Joseph Myers <joseph@codesourcery.com>
17528
17529 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17530 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17531 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17532 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17533
f3fd569c
DL
175342012-09-19 Dmitry V. Levin <ldv@altlinux.org>
17535
17536 [BZ #14579]
17537 * elf/rtld.c (dl_main): Limit the check for self loading to normal
17538 mode only.
17539 * elf/tst-rtld-load-self.sh: New test.
17540 * elf/Makefile: Run it.
17541
63bbedd4
JM
175422012-09-18 Joseph Myers <joseph@codesourcery.com>
17543
17544 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17545 (tst-writev-ENV): Remove.
17546 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17547
626f8b6a
CM
175482012-09-17 Chris Metcalf <cmetcalf@tilera.com>
17549
17550 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17551
b7aaa4d6
JM
175522012-09-17 Joseph Myers <joseph@codesourcery.com>
17553
17554 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17555 unconditional.
17556 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17557 Likewise.
17558 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17559 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17560 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17561 Likewise.
17562
65513990
L
175632012-09-14 H.J. Lu <hongjiu.lu@intel.com>
17564
17565 [BZ #14587]
17566 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17567 * config.make.in (have-cpp-asm-debuginfo): Removed.
17568 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17569 * configure: Regenerated.
17570
784761be
JM
175712012-09-14 Joseph Myers <joseph@codesourcery.com>
17572
17573 [BZ #5044]
17574 * stdio-common/printf_fp.c: Include <stdbool.h> and
17575 <rounding-mode.h>.
17576 (___printf_fp): Determine rounding using get_rounding_mode and
17577 round_away.
17578 * stdio-common/tst-printf-round.c: New file.
17579 * stdio-common/Makefile (tests): Add tst-printf-round.
17580 (link-libm): New variable.
17581 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17582
9503345f
L
175832012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17584
17585 [BZ #14576]
17586 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17587 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17588 Likewise.
17589 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17590 Likewise.
17591
ad35fc00
JM
175922012-09-13 Joseph Myers <joseph@codesourcery.com>
17593
17594 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17595 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17596 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17597 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17598
6c9b0f68
JM
175992012-09-12 Joseph Myers <joseph@codesourcery.com>
17600
17601 [BZ #14518]
17602 * include/rounding-mode.h: New file.
17603 * sysdeps/generic/get-rounding-mode.h: Likewise.
17604 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17605 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17606 (MAX_VALUE): New macro.
17607 (MIN_VALUE): Likewise.
17608 (overflow_value): New function.
17609 (underflow_value): Likewise.
17610 (round_and_return): Use overflow_value and underflow_value to
17611 determine return values in overflow and underflow cases. Use
17612 round_away to determine rounding depending on rounding mode.
17613 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17614 determine return values in overflow and underflow cases.
17615 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17616 (struct test_results): New structure.
17617 (struct test): Use struct test_results to store expected results
17618 for all rounding modes.
17619 (TEST): Include expected results for all rounding modes.
17620 (test_in_one_mode): New function.
17621 (do_test): Use test_in_one_mode to compute and check results.
17622 Check results for all rounding modes.
17623 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17624 $(link-libm).
17625
19fcedd5
AM
176262012-12-09 Allan McRae <allan@archlinux.org>
17627
1e9d84cd 17628 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17629
8bbfd2f1
JM
176302012-09-11 Joseph Myers <joseph@codesourcery.com>
17631
17632 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17633 (_G_int32_t): Likewise.
17634 (_G_uint16_t): Likewise.
17635 (_G_uint32_t): Likewise.
17636 (_G_HAVE_BOOL): Likewise.
17637 (_G_HAVE_ATEXIT): Likewise.
17638 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17639 (_G_HAVE_IO_FILE_OPEN): Likewise.
17640 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17641 (_G_int32_t): Likewise.
17642 (_G_uint16_t): Likewise.
17643 (_G_uint32_t): Likewise.
17644 (_G_HAVE_BOOL): Likewise.
17645 (_G_HAVE_ATEXIT): Likewise.
17646 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17647 (_G_HAVE_IO_FILE_OPEN): Likewise.
17648 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17649 (_G_int32_t): Likewise.
17650 (_G_uint16_t): Likewise.
17651 (_G_uint32_t): Likewise.
17652 (_G_HAVE_BOOL): Likewise.
17653 (_G_HAVE_ATEXIT): Likewise.
17654 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17655 (_G_HAVE_IO_FILE_OPEN): Likewise.
17656
b1dc5912
L
176572012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17658
17659 * csu/libc-tls.c: Update copyright years.
17660
0e886ef9
JM
176612012-09-10 Joseph Myers <joseph@codesourcery.com>
17662
28361c5e
JM
17663 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17664 [!_G_USING_THUNKS]: Remove conditional code.
17665 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17666 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17667
0e886ef9
JM
17668 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17669 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17670 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17671 (_G_VTABLE_LABEL_PREFIX): Likewise.
17672 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17673 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17674 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17675 (_G_VTABLE_LABEL_PREFIX): Likewise.
17676 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17677 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17678 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17679 (_G_VTABLE_LABEL_PREFIX): Likewise.
17680 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17681
bcba7aa2
L
176822012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17683
17684 * libio/Makefile: Include ../Makeconfig before tests.
17685 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17686 only if $(build-shared) is yes.
17687
06585ee8
L
17688 * iconv/gconv_db.c: Update copyright years.
17689
80ccd52c
LD
176902012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17691
17692 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17693 unwind info if defined PIC. Fix special cases description.
17694 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17695
17696 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17697 DP_HI_MASK entry.
17698 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17699
691bc9c1
L
177002012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17701
3d9b46b3
L
17702 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17703
de2139a9
L
17704 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17705 is NULL.
17706
5ca78dd0
L
17707 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17708 (LDLIBS-tst-chk4): This.
17709 (LDFLAGS-tst-chk5): Renamed to ...
17710 (LDLIBS-tst-chk5): This.
17711 (LDFLAGS-tst-chk6): Renamed to ...
17712 (LDLIBS-tst-chk6): This.
17713 (LDFLAGS-tst-lfschk4): Renamed to ...
17714 (LDLIBS-tst-lfschk4): This.
17715 (LDFLAGS-tst-lfschk5): Renamed to ...
17716 (LDLIBS-tst-lfschk5): This.
17717 (LDFLAGS-tst-lfschk6): Renamed to ...
17718 (LDLIBS-tst-lfschk6): This.
17719
691bc9c1
L
17720 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17721 on $(common-objpfx)soversions.mk.
17722
65cafb1c
JM
177232012-09-07 Joseph Myers <joseph@codesourcery.com>
17724
17725 [BZ #10014]
17726 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17727 example host name.
17728
c78ab094
SP
177292012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17730
17731 * malloc/arena.c (arena_get_retry): New function that gets
17732 another arena for the caller to try its request on.
17733 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17734 current arena cannot fulfill the request.
17735 (__libc_memalign): Likewise.
17736 (__libc_memalign): Likewise.
17737 (__libc_pvalloc): Likewise.
17738 (__libc_calloc): Likewise.
17739
01f49f59
JT
177402012-09-05 John Tobey <john.tobey@gmail.com>
17741
17742 [BZ #13542]
17743 * manual/arith.texi (Operations on Complex): Fix description
17744 of carg branch cut.
17745
4c23fed5
JM
177462012-09-06 Joseph Myers <joseph@codesourcery.com>
17747
1d3c8572
JM
17748 [BZ #10014]
17749 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17750 host name.
17751
4c23fed5
JM
17752 [BZ #10038]
17753 * manual/memory.texi (Memory): Make order of menu items match
17754 order of sections.
17755
04570aaa
L
177562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17757
17758 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17759 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17760 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17761
b80af2f4
L
177622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17763
17764 * csu/libc-tls.c (static_dtv): Renamed to ...
17765 (_dl_static_dtv): This. Make it global.
17766 (_dl_initial_dtv): Removed.
17767 (__libc_setup_tls): Updated.
17768 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17769 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17770 DL_INITIAL_DTV.
17771
2abe9f15
PM
177722012-09-06 Petr Machata <pmachata@redhat.com>
17773
17774 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17775 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17776 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17777 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17778
0948c3af
L
177792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17780
17781 [BZ #14545]
17782 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17783 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17784 freeing dtv[-1].
17785
a5055ad1
L
177862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17787
17788 [BZ #14544]
17789 * Makeconfig (link-static-before-libc): Replace $(+prector)
17790 with $(+prectorT).
17791 (link-static-after-libc): Replace $(+postctor) with
17792 $(+postctorT).
17793 (link-bounded): Replace $(+prector)/$(+postctor) with
17794 $(+prectorT)/$(+postctorT).
17795 (+prectorT): New macro.
17796 (+postctorT): Likewise.
17797
ed8c2ecd
JM
177982012-09-06 Joseph Myers <joseph@codesourcery.com>
17799
17800 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17801 (round_str): Handle values above the maximum for IBM long double
17802 as inexact.
17803 * stdlib/tst-strtod-round.c (tests): Regenerated.
17804
14c996c8
AK
178052012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17806
17807 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17808 assembler flag.
17809 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17810 zarch_nohighgprs around the zarch optimized routines.
17811 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17812 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17813 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17814 for zarch.
17815
430d6ce6
DM
178162012-09-05 David S. Miller <davem@davemloft.net>
17817
17818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17819
ff04dda4
DM
17820 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17821 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17822 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17823 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17824 entries.
17825
24d4e01b
AO
178262012-09-05 Alexandre Oliva <aoliva@redhat.com>
17827
17828 * malloc/arena.c: Fold copyright years.
17829 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17830
61d58174
AO
178312012-09-05 Alexandre Oliva <aoliva@redhat.com>
17832
17833 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17834
20196a5e
AO
178352012-09-05 Alexandre Oliva <aoliva@redhat.com>
17836
17837 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17838
5c447383
AO
178392012-09-05 Alexandre Oliva <aoliva@redhat.com>
17840
17841 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17842 change internal state upon failure.
17843
fad64255
AO
178442012-09-05 Alexandre Oliva <aoliva@redhat.com>
17845
17846 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17847 * malloc/memusage.c (mmap): Likewise.
17848 (mmap64, mremap): Likewise. Adjust name in comment.
17849
1ffb8c90
SP
178502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17851
17852 * libio/fileops.c: Fix typos in comments.
17853 * libio/oldfileops.c: Likewise.
17854 * libio/wfileops.c: Likewise.
17855
6ef9cc37
SP
178562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17857
17858 [BZ #1349]
17859 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17860 (tst-malloc-usable-ENV): Set environment for test case.
17861 * malloc/hooks.c (malloc_check_get_size): New function to get
17862 requested size.
17863 * malloc/malloc.c (musable): Use malloc_check_get_size.
17864 * malloc/tst-malloc-usable.c: New test case.
17865
4d038ae3
AS
178662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17867
17868 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17869
c4e85184
AM
178702012-09-05 Allan McRae <allan@archlinux.org>
17871
b9dafc56 17872 [BZ #13966]
c4e85184
AM
17873 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17874 determine header location.
17875 * configure: Regenerated.
17876
e1343020
AS
178772012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17878
17879 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17880 float format.
17881 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17882 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17883 format.
e1343020
AS
17884 (test): Regenerate.
17885
0a9f1987
DM
178862012-09-04 David S. Miller <davem@davemloft.net>
17887
17888 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17889 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17890 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17891
29237804
FW
178922012-09-04 Florian Weimer <fweimer@redhat.com>
17893
17894 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17895 failures.
17896
edb3cb88
FW
17897 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17898
60160d83
JM
178992012-09-04 Joseph Myers <joseph@codesourcery.com>
17900
17901 [BZ #9914]
17902 * libio/iogetdelim.c: Include <limits.h>.
17903 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17904 + len + 1 would overflow.
17905
bcd6c8dc
AJ
179062012-09-03 Andreas Jaeger <aj@suse.de>
17907
17908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17909 * sysdeps/i386/fpu/libm-test-ulps: Update.
17910
4ffffbd2
LD
179112012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17912
17913 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17914 Add s_sinf-sse2, s_conf-sse2.
17915
17916 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17917 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17918 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17919 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17920
17921 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17922 for using routine as __sinf_ia32.
17923 Use macro for function declaration and weak_alias.
17924 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17925 for using routine as __cosf_ia32.
17926 Use macro for function declaration and weak_alias.
17927
17928 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17929 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17930
17931 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17932 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17934
17935 * math/libm-test.inc (cos_test): Add more test cases.
17936 (sin_test): Likewise.
17937 (sincos_test): Likewise.
17938
511fa286
AK
179392012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17940
17941 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17942 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17943 hidden.
17944 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17945
5f30cfec
L
179462012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17947
17948 [BZ #14538]
17949 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17950 first element of the GOT.
17951 (elf_machine_load_address): Return the difference between
17952 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17953
0786794f
AM
179542012-09-01 Allan McRae <allan@archlinux.org>
17955
5f30cfec
L
17956 [BZ #13412]
17957 * configure.in (AWK): Require gawk version 3.0 or later.
17958 * configure: Regenerated.
0786794f 17959
26889eac
JM
179602012-09-01 Joseph Myers <joseph@codesourcery.com>
17961
17962 * sysdeps/unix/sysv/linux/kernel-features.h
17963 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17964 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17965 [__NR_clock_getres]: Make code unconditional.
17966 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17967 (clock_getcpuclockid): Remove code left unreachable by removal of
17968 conditionals.
17969 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17970 code unconditional.
17971 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17972 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17973 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17974 Make code unconditional.
17975 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17976 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17977 * sysdeps/unix/sysv/linux/clock_settime.c
17978 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17979 conditional code.
17980 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17981 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17982
d22e28b0
L
179832012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17984
17985 [BZ #14476]
17986 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17987 scripts/test-installation.pl.
17988
17989 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17990 and $ld_so_version if it is set.
17991
050af9c4
SP
179922012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17993
17994 [BZ #14516]
17995 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17996 failure if reading from procfs failed.
17997 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17998
ad845c0b
JM
179992012-08-27 Joseph Myers <joseph@codesourcery.com>
18000
18001 * sysdeps/unix/sysv/linux/kernel-features.h
18002 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18003 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18004 Remove conditional code.
18005 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18006 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18007 Remove conditional code.
18008 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18009 * sysdeps/unix/sysv/linux/i386/fxstat.c
18010 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18011 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18012 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18013 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18014 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18015 * sysdeps/unix/sysv/linux/i386/lxstat.c
18016 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18017 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18018 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18019 Remove conditional code.
18020 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18021 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18022 Remove conditional code.
18023 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18024 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18025 <kernel-features.h>.
18026 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18027 Remove.
18028 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18029 Remove conditional code.
18030 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18031 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18032 Remove conditional.
18033
5dbf56af
MF
180342012-08-27 Mike Frysinger <vapier@gentoo.org>
18035
18036 [BZ #5400]
18037 * NEWS: Add fixed bug number.
18038
d6e70f43
JM
180392012-08-27 Joseph Myers <joseph@codesourcery.com>
18040
7efb4737
JM
18041 [BZ #14519]
18042 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18043 underflowing exponent in case of negative sign.
18044 * stdlib/tst-strtod-round-data: Add more tests.
18045 * stdlib/tst-strtod-round.c (tests): Regenerated.
18046
af92131a
JM
18047 [BZ #3479]
18048 * stdlib/strtod_l.c (NDIG): Remove.
18049 (HEXNDIG): Likewise.
18050 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18051 smallest representable value.
18052 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18053 lie within an exact representation of 1/2 ulp of the result.
18054 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18055 unconditionally.
18056 (TENS_P9_IDX): Define unconditionally.
18057 (TENS_P9_SIZE): Likewise.
18058 (TENS_P10_IDX): Likewise.
18059 (TENS_P10_SIZE): Likewise.
18060 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18061 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18062 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18063 entries for 10^2^13 and 10^2^14.
18064 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18065 (TENS_P13_IDX): Define.
18066 (TENS_P13_SIZE): Likewise.
18067 (TENS_P14_IDX): Likewise.
18068 (TENS_P14_SIZE): Likewise.
18069 (_fpioconst_pow10): Change array size to
18070 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18071 unconditional.
18072 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18073 1024]: Add entries for 10^2^13 and 10^2^14.
18074 [LAST_POW10 > _LAST_POW10]: Remove #error.
18075 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18076 (_fpioconst_pow10): Change array size to
18077 FPIOCONST_POW10_ARRAY_SIZE.
18078 * stdlib/gen-fpioconst.c: New file.
18079 * stdlib/gen-tst-strtod-round.c: Likewise.
18080 * stdlib/tst-strtod-round-data: Likewise.
18081 * stdlib/tst-strtod-round.c: Likewise.
18082 * stdlib/Makefile (tests): Add tst-strtod-round.
18083
d6e70f43
JM
18084 [BZ #14459]
18085 * stdlib/strtod_l.c: Include <stdint.h>.
18086 (NDEBUG): Do not define.
18087 (round_and_return): Change EXPONENT parameter to type intmax_t.
18088 Rearrange calculations to avoid internal overflow possibilities.
18089 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18090 Rearrange calculations to avoid internal overflow possibilities.
18091 Assert that number fits inside MPNSIZE limbs.
18092 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18093 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18094 calculations and add assertions to avoid internal overflow
18095 possibilities. Add casts to avoid signed/unsigned operations.
18096 * stdlib/tst-strtod-overflow.c: New file.
18097 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18098
1f529f7d
MP
180992012-08-25 Marek Polacek <polacek@redhat.com>
18100
18101 * time/time.h: Fix some typos in comments.
18102
59a629f1
RM
181032012-08-23 Roland McGrath <roland@hack.frob.com>
18104
18105 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18106 * posix/tst-rfc3484-2.c: Likewise.
18107 * posix/tst-rfc3484-3.c: Likewise.
18108
d3bafbc9
SM
181092012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18110
18111 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18112 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18113
4efcc022
JM
181142012-08-23 Joseph Myers <joseph@codesourcery.com>
18115
18116 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18117 #include of fxstatat64.c.
18118
3cc3ef96
RM
181192012-08-22 Roland McGrath <roland@hack.frob.com>
18120
f04e2132
RM
18121 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18122 * shadow/getspent_r.c: Likewise.
18123 * shadow/getspnam.c: Likewise.
18124 * shadow/getspnam_r.c: Likewise.
18125 * gshadow/getsgent.c: Likewise.
18126 * gshadow/getsgent_r.c: Likewise.
18127 * gshadow/getsgnam.c: Likewise.
18128 * gshadow/getsgnam_r.c: Likewise.
18129 * inet/getnetbyad.c: Likewise.
18130 * inet/getnetbyad_r.c: Likewise.
18131 * inet/getnetbynm.c: Likewise.
18132 * inet/getnetbynm_r.c: Likewise.
18133 * inet/getnetent.c: Likewise.
18134 * inet/getnetent_r.c: Likewise.
18135 * inet/getproto.c: Likewise.
18136 * inet/getproto_r.c: Likewise.
18137 * inet/getprtent.c: Likewise.
18138 * inet/getprtent_r.c: Likewise.
18139 * inet/getprtname.c: Likewise.
18140 * inet/getprtname_r.c: Likewise.
18141 * inet/getrpcbyname.c: Likewise.
18142 * inet/getrpcbyname_r.c: Likewise.
18143 * inet/getrpcbynumber.c: Likewise.
18144 * inet/getrpcbynumber_r.c: Likewise.
18145 * inet/getrpcent.c: Likewise.
18146 * inet/getrpcent_r.c: Likewise.
18147 * inet/getaliasent.c: Likewise.
18148 * inet/getaliasent_r.c: Likewise.
18149 * inet/getaliasname.c: Likewise.
18150 * inet/getaliasname_r.c: Likewise.
18151 * nscd/getgrgid_r.c: Likewise.
18152 * nscd/getgrnam_r.c: Likewise.
18153 * nscd/gethstbyad_r.c: Likewise.
18154 * nscd/gethstbynm3_r.c: Likewise.
18155 * nscd/getpwnam_r.c: Likewise.
18156 * nscd/getpwuid_r.c: Likewise.
18157 * nscd/getsrvbynm_r.c: Likewise.
18158 * nscd/getsrvbypt_r.c: Likewise.
18159 * nscd/gai.c: Likewise.
18160
c53d909c
RM
18161 * configure.in (build_nscd): New substituted variable, set
18162 by --disable-build-nscd and defaults to $use_nscd.
18163 * configure: Regenerated.
18164 * config.make.in (build-nscd): New substituted variable.
18165 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18166 Change conditional to require [$(build-nscd) = yes] as well.
18167 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18168
3cc3ef96
RM
18169 [BZ# 13696]
18170 * configure.in (use_nscd): New substituted variable, set by
18171 --disable-nscd. If enabled, define USE_NSCD.
18172 * configure: Regenerated.
18173 * config.h.in: Add USE_NSCD.
18174 * config.make.in (use-nscd): New substituted variable.
18175 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18176 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18177 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18178 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18179 (CFLAGS-getgrnam_r.c): Likewise.
18180 (CFLAGS-initgroups.c): Likewise.
18181 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18182 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18183 Variables removed.
18184 * inet/getnetgrent_r.c
18185 (nscd_setnetgrent): New function, broken out of ...
18186 (setnetgrent): ... here. Call it.
18187 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18188 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18189 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18190 * nscd/Makefile (routines, aux): Move definitions after include of
18191 Makeconfig. Conditionalize on [$(use-nscd) != no].
18192 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18193 Conditionalize on [USE_NSCD].
18194 (is_nscd, nscd_init_cb): Likewise.
18195 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18196 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18197 * nss/nss_db/db-init.c: Likewise.
18198 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18199 [USE_NSCD].
18200 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18201 (make_request): Use it.
18202 (cache_valid_p): New function.
18203 (__check_pf): Use it.
18204 * NEWS: Add item for --disable-nscd.
18205
07e51550
DL
182062012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18207
18208 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18209 to support sed >= 4.2.1-20-ga9bf076.
18210 * configure: Regenerated.
18211
35a5b08b
RM
182122012-08-22 Roland McGrath <roland@hack.frob.com>
18213
18214 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18215 Conditionalize whole body on [IREL].
18216
8479f23a
JL
182172012-08-22 Jeff Law <law@redhat.com>
18218
18219 [BZ #14505]
18220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18221 if the family is PF_UNSPEC.
18222
48da0b21
MF
182232012-08-22 Mike Frysinger <vapier@gentoo.org>
18224
18225 * Makerules (lib-version): Rename from V.
18226 (install-lib-nosubdir): Change V to lib-version.
18227
15d0da8c
WS
182282012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18229
18230 [BZ #14252]
18231 * powerpc32/power6/wcschr.c: New file.
18232 * powerpc32/power6/wcscpy.c: New file.
18233 * powerpc32/power6/wcsrchr.c: New file.
18234 * powerpc64/power6/wcschr.c: New file.
18235 * powerpc64/power6/wcscpy.c: New file.
18236 * powerpc64/power6/wcsrchr.c: New file.
18237
bcca0895
MK
182382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18239
18240 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18241 (two_way_short_needle): Use it.
5a4aaa33
RM
18242 * string/strstr.c (AVAILABLE1_USES_J): Define.
18243 * string/strcasestr.c: Likewise.
99677e57
MK
18244
18245 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18246 array references.
18247 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18248
400726de
MK
18249 [BZ #11607]
18250 * NEWS: Add an entry.
18251 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18252 define their defaults.
18253 (two_way_short_needle): Detect end-of-string on-the-fly.
18254 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18255 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18256 * string/bug-strcasestr1.c: New test.
18257 * string/Makefile: Run it.
18258
20a71f2c
MK
182592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18260
18261 [BZ #11607]
18262 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18263 the first character.
18264
21ad0558
RM
182652012-08-21 Roland McGrath <roland@hack.frob.com>
18266
18267 * csu/elf-init.c (__libc_csu_irel): Function removed.
18268 * csu/libc-start.c (apply_irel): New function.
18269 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18270
0e1d9911
JM
182712012-08-21 Joseph Myers <joseph@codesourcery.com>
18272
18273 * sysdeps/unix/sysv/linux/kernel-features.h
18274 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18275 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18276 <kernel-features.h>.
18277 [__NR_fadvise64_64]: Make code unconditional.
18278 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18279 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18280 !__NR_fadvise64_64)]: Likewise.
18281 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18282 !__NR_fadvise64_64))]: Likewise.
18283 [__NR_fadvise64]: Make code unconditional.
18284 [!__NR_fadvise64]: Remove conditional code.
18285 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18286 <kernel-features.h>.
18287 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18288 unconditional.
18289 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18290 conditional code.
18291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18292 not include <kernel-features.h>.
18293 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18294 unconditional.
18295 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18296 conditional code.
18297 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18298 include <kernel-features.h>.
18299 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18300 unconditional.
18301 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18302 conditional code.
18303
14a50c9d
WS
183042012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18305
18306 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18307 slight instruction rearrangements per scrollpipe analysis.
18308 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18309
c0f4faf0
RM
183102012-08-20 Roland McGrath <roland@hack.frob.com>
18311
696da859
RM
18312 * manual/syslog.texi (syslog; vsyslog, closelog):
18313 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18314 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18315
c0f4faf0
RM
18316 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18317 DSOCAPS to match condition on defining it.
18318
348363b2
JM
183192012-08-20 Joseph Myers <joseph@codesourcery.com>
18320
a35cbf28
JM
18321 * sysdeps/unix/sysv/linux/kernel-features.h
18322 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18324 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18325 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18327 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18328 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18330 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18331 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18332
445f7ecd
JM
18333 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18334 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18335
348363b2
JM
18336 * sysdeps/unix/sysv/linux/kernel-features.h
18337 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18338 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18339 unconditional.
18340 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18341 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18342 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18343 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18344 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18345 Make code unconditional.
18346 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18347 (__mmap64) [!__NR_mmap2]: Likewise.
18348 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18349 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18350 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18351 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18352 [__NR_mmap2]: Make code unconditional.
18353 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18354 (__mmap64) [!__NR_mmap2]: Likewise.
18355
bc5bc0e5
AK
183562012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18357
18358 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18359
88d506de
AJ
183602012-08-18 Andreas Jaeger <aj@suse.de>
18361
18362 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18363
493387d2
MF
183642012-08-18 Mike Frysinger <vapier@gentoo.org>
18365
18366 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18367 * include/unistd.h (__have_sock_cloexec): Likewise.
18368 (__have_pipe2): Likewise.
18369 (__have_dup3): Likewise.
18370
a277af22
MF
183712012-08-18 Mike Frysinger <vapier@gentoo.org>
18372
18373 [BZ #9685]
18374 * include/unistd.h (__have_pipe2): Change define into an extern int.
18375 (__have_dup3): Likewise.
18376 * socket/have_sock_cloexec.c: Include fcntl.h.
18377 (__have_pipe2): New variable.
18378 (__have_dup3): Likewise.
18379
fdab8fd3
MF
183802012-08-17 Mike Frysinger <vapier@gentoo.org>
18381
18382 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18383
31035e80
MP
183842012-08-17 Marek Polacek <polacek@redhat.com>
18385
18386 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18387 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18388
3bd9e993
RM
183892012-08-17 Roland McGrath <roland@hack.frob.com>
18390
c91c505f
RM
18391 * configure.in: Add AC_SUBST for sysheaders.
18392 * configure: Regenerated.
18393 * config.make.in (sysheaders): New substituted variable.
18394
7c6f9d53
RM
18395 * sysdeps/unix/mkfifo.c: Moved ...
18396 * sysdeps/posix/mkfifo.c: ... here.
18397 * sysdeps/unix/mkfifoat.c: Moved ...
18398 * sysdeps/posix/mkfifoat.c: ... here.
18399
18400 * sysdeps/unix/utime.c: Moved ...
18401 * sysdeps/posix/utime.c: ... here.
18402
18403 * sysdeps/unix/time.c: Moved ...
18404 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
18405 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18406 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
18407
18408 * sysdeps/unix/nice.c: Moved ...
18409 * sysdeps/posix/nice.c: ... here.
18410
18411 * sysdeps/unix/alarm.c: Moved ...
18412 * sysdeps/posix/alarm.c: ... here.
18413
3bd9e993
RM
18414 * intl/Makefile ($(codeset_mo)): Depend on the input file.
18415
d1f09384
JL
184162012-08-17 Jeff Law <law@redhat.com>
18417
18418 * intl/Makefile (codeset_mo): New variable.
18419 ($(codeset_mo)): New target.
18420 (tst-codeset.out): Depend on that. Remove explicit rule.
18421 (tst-gettext3.out, tst-gettext5.out): Likewise.
18422 (LOCPATH-ENV, tst-codeset-ENV): New variables.
18423 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18424 * intl/tst-codeset.sh: Remove.
18425 * intl/tst-gettext3.sh: Likewise.
18426 * intl/tst-gettext5.sh: Likewise.
18427
2ae1ae5c
RM
184282012-08-17 Roland McGrath <roland@hack.frob.com>
18429
c31fdb83
RM
18430 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
18431 * sysdeps/unix/syscalls.list: ... here.
18432
a0844057
RM
18433 * sysdeps/posix/getaddrinfo.c
18434 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18435 (gaiconf_init, gaiconf_reload): Use them.
18436 [!_STATBUF_ST_NSEC]
18437 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18438 Define using time_t rather than struct timespec.
18439
750c1f2a
RM
18440 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18441 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18442 Macros removed.
18443 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18444 [!NO_THREADS].
18445 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18446 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18447 Likewise.
18448
2ae1ae5c
RM
18449 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18450 __libc_cleanup_push argument.
18451
e66a42f5
RM
18452 * bits/param.h: New file.
18453 * misc/sys/param.h: New file.
18454 * include/sys/param.h: New file.
18455 * misc/Makefile (headers): Add bits/param.h.
18456 * sysdeps/generic/sys/param.h: File removed.
18457 * sysdeps/unix/sysv/linux/bits/param.h: New file.
18458 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18459 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 18460 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 18461
b7c08a66
RM
18462 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18463 last change.
18464
b2e1c562
RM
18465 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18466 [_IO_MTSAFE_IO].
18467 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18468 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18469 New macros.
18470
c75ccd4c
RM
18471 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18472 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18473 rather than -D_IO_MTSAFE_IO conditionally.
18474 * stdio-common/Makefile (CPPFLAGS): Likewise.
18475 * wcsmbs/Makefile (CPPFLAGS): Likewise.
18476 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18477 Use $(libio-mtsafe).
18478 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18479 of -D_IO_MTSAFE_IO.
18480 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18481 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18482 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18483 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18484 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18485 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18486 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18487 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18488 (CFLAGS-fread_u_chk.c): Likewise.
18489 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18490 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18491 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18492 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18493 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18494 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18495 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18496 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18497 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18498
18499 * libio/Makefile: Test [$(libc-reentrant) = yes]
18500 instead of [$(filter %REENTRANT, $(defines)) nonempty].
18501
18502 * Makeconfig
18503 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18504 * sysdeps/pthread/configure: File removed.
18505 * sysdeps/pthread/Makeconfig: New file.
18506 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18507 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18508
d9195db8
GB
185092012-08-16 Gary Benson <gbenson@redhat.com>
18510
18511 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18512 unmapping the first object in a namespace.
18513
86466cd9
RM
185142012-08-16 Roland McGrath <roland@hack.frob.com>
18515
18516 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18517 (__internal_setnetgrent): ... this. Add internal_function to
18518 definition. Add libc_hidden_def.
18519 (setnetgrent): Update caller.
18520 (internal_endnetgrent): Renamed to ...
18521 (__internal_endnetgrent): ... this. Add internal_function to
18522 definition. Add libc_hidden_def.
18523 (endnetgrent): Update caller.
18524 (internal_getnetgrent_r): Renamed to ...
18525 (__internal_getnetgrent_r): ... this. Add internal_function to
18526 definition. Add libc_hidden_def.
18527 (__getnetgrent_r): Update caller.
18528 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
18529
c3c8283c
JM
185302012-08-16 Joseph Myers <joseph@codesourcery.com>
18531
18532 * stdlib/longlong.h: Update from GCC.
18533
db1ee0a8
RM
185342012-08-16 Roland McGrath <roland@hack.frob.com>
18535
18536 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18537 on _QL, which is set by umul_ppmm but never used.
18538 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18539 variables, which are set by GMP macros but never used.
18540 * stdio-common/_itowa.c (_itowa): Likewise.
18541 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18542 * stdlib/mod_1.c (mpn_mod_1): Likewise.
18543
30f69637
CD
185442012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
18545
18546 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18547 struct La_sh_regs is not constant.
18548 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18549 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18550 and struct La_sparc64_regs are not constant.
18551
93a78ac4
JM
185522012-08-16 Joseph Myers <joseph@codesourcery.com>
18553
18554 * sysdeps/unix/sysv/linux/kernel-features.h
18555 (__ASSUME_POSIX_TIMERS): Remove.
18556 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18557 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18558 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18559 Make code unconditional.
18560 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18561 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18562 Make code unconditional.
18563 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18564 * sysdeps/unix/sysv/linux/clock_nanosleep.c
18565 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18566 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18567 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18568 Make code unconditional.
18569 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18570 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18571 (__libc_missing_posix_timers): Remove.
18572
dd924cd7
RM
185732012-08-15 Roland McGrath <roland@hack.frob.com>
18574
4b4f2771
RM
18575 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18576 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18577
601c888b
RM
18578 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18579
176790a7
RM
18580 * elf/dl-sym.c: Include <stdlib.h>.
18581
329bc018
RM
18582 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18583 constants, which avoids warnings in 32-bit builds.
18584
e04e272d
RM
18585 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18586 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18587
952bf94a
RM
18588 * misc/lseek.c: File moved to ...
18589 * io/lseek.c: ... here.
18590
7c99b50a
RM
18591 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18592
dd924cd7
RM
18593 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18594 shifting LEN more than 31 bits at once.
18595
b3f479a8
LD
185962012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18597
18598 [BZ #14195]
8c4ae0d4
RM
18599 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18600 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18601 * string/test-strncasecmp.c (check1): Renamed to...
18602 (bz12205): ...this.
18603 (bz14195): Add new testcase for two empty input strings and N > 0.
18604 (test_main): Call new testcase, adapt for renamed function.
18605
9c55864e
AJ
186062012-08-15 Andreas Jaeger <aj@suse.de>
18607
18608 [BZ #14090]
18609 * crypt/md5test2.c: New test, based on test supplied by Serge
18610 Belyshev <belyshev@depni.sinp.msu.ru>.
18611 * crypt/Makefile (xtests): Add md5test-giant..
18612 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18613
02dcb6c5
PE
186142012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18615
18616 [BZ #14090]
18617 * crypt/md5.c (md5_process_block): Don't assume the buffer
18618 length is less than 2**32.
18619 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18620 length is less than 2**64.
18621
a3f95dcc
RM
186222012-08-15 Roland McGrath <roland@hack.frob.com>
18623
be75d758
RM
18624 * string/str-two-way.h: Include <sys/param.h>.
18625 (MAX): Macro removed.
18626
7312ca90
RM
18627 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18628 Move #define and #undef of memmove to just before and after
18629 including <string.h>.
18630
9a0a5486
RM
18631 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18632 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18633 and after including <string.h>. Move declarations of
18634 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18635 to before #include "string/memmove.c".
18636
67cc348d
RM
18637 * include/dirent.h: Declare __getdirentries.
18638
a3f95dcc
RM
18639 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18640 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18641
ca98e171
MF
186422012-08-14 Mike Frysinger <vapier@gentoo.org>
18643
18644 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18645 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18646 * sysdeps/i386/configure: Regenerated.
18647 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18648 STABS_CURRENT_FILE, and STABS_FUN.
18649 (END): Remove call to STABS_FUN_END.
18650 (STABS_CURRENT_FILE1): Delete.
18651 (STABS_CURRENT_FILE): Likewise.
18652 (STABS_FUN): Likewise.
18653 (STABS_FUN_END): Likewise.
18654 (STABS_FUN2): Likewise.
18655 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18656 * sysdeps/x86_64/configure: Regenerated.
18657
5908bf46
RM
186582012-08-14 Roland McGrath <roland@hack.frob.com>
18659
18660 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18661 * elf/dl-lookup.c: Likewise.
5908bf46 18662
f2c05b9e
JM
186632012-08-14 Joseph Myers <joseph@codesourcery.com>
18664
18665 * sysdeps/unix/sysv/linux/kernel-features.h
18666 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18667 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18668 unconditionally.
18669 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18670 unconditionally.
18671 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18672 condition on __ASSUME_CLONE_THREAD_FLAGS.
18673
e11f5155
AJ
186742012-08-14 Andreas Jaeger <aj@suse.de>
18675
18676 * sysdeps/i386/fpu/libm-test-ulps: Update.
18677
51a9ba86
MK
186782012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18679
2fdd4f78
AJ
18680 * include/atomic.h (atomic_exchange_and_add): Split into ...
18681 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18682 New atomic macros.
51a9ba86 18683
ba6cba9e
MT
186842012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18685
18686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18687
42443a47
JL
186882012-08-13 Jeff Law <law@redhat.com>
18689
18690 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18691 null byte in the output string.
18692
121dce05
JM
186932012-08-10 Joseph Myers <joseph@codesourcery.com>
18694
18695 * sysdeps/unix/sysv/linux/kernel-features.h
18696 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18697 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18698 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18699 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18700 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18701 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18702 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18703
bf51f568
JL
187042012-08-09 Jeff Law <law@redhat.com>
18705
18706 [BZ #13939]
18707 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18708 When avoid_arena is set, don't retry in the that arena. Pick the
18709 next one, whatever it might be.
18710 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18711 (arena_lock): Pass in new parameter to arena_get2.
18712 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18713 arena_get2.
18714 (__libc_malloc): Unify retrying after main arena failure with
18715 __libc_memalign version.
18716 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18717
f85fa270
L
187182012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18719
18720 [BZ #14166]
18721 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18722 to __redirect_strstr.
18723 (__strstr_sse42): Use typeof __redirect_strstr.
18724 (__strstr_ia32): Likewise.
18725 (__libc_strstr): New prototype.
18726 (strstr): Renamed to ...
18727 (__libc_strstr): This.
18728 (strstr): New strong alias of __libc_strstr.
18729 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18730 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18731 __redirect_time.
18732 Include <time.h>.
18733 (__libc_time): New prototype.
18734 (time_ifunc): Replace time with __libc_time.
18735 (time): New strong alias and hidden definition of __libc_time.
18736 (__GI_time): Remove strong alias.
18737 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18738 Include <stddef.h>.
18739 (memmove): Redefined to __redirect_memmove.
18740 (__memmove_sse2): Use typeof __redirect_memmove.
18741 (__memmove_ssse3): Likewise.
18742 (__memmove_ssse3_back): Likewise.
18743 (__libc_memmove): New prototype.
18744 (memmove): Renamed to ...
18745 (__libc_memmove): This.
18746 (memmove): New strong alias of __libc_memmove.
18747
33b4a91e
MS
187482012-08-08 Mark Salter <msalter@redhat.com>
18749
18750 * elf/elf.h
18751 (R_MN10300_TLS_GD): Define.
18752 (R_MN10300_TLS_LD): Likewise.
18753 (R_MN10300_TLS_LDO): Likewise.
18754 (R_MN10300_TLS_GOTIE): Likewise.
18755 (R_MN10300_TLS_IE): Likewise.
18756 (R_MN10300_TLS_LE): Likewise.
18757 (R_MN10300_TLS_DTPMOD): Likewise.
18758 (R_MN10300_TLS_DTPOFF): Likewise.
18759 (R_MN10300_TLS_TPOFF): Likewise.
18760 (R_MN10300_SYM_DIFF): Likewise.
18761 (R_MN10300_ALIGN): Likewise.
18762 (R_MN10300_NUM): Update.
18763
b36137f1
JM
187642012-08-08 Joseph Myers <joseph@codesourcery.com>
18765
18766 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18767 Remove.
18768
cdd915fd
RM
187692012-08-08 Roland McGrath <roland@hack.frob.com>
18770
a2433aac
RM
18771 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18772
cdd915fd
RM
18773 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18774 sysdeps/unix -> sysdeps/posix move.
18775 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18776
bf9b740a
AM
187772012-08-07 Allan McRae <allan@archlinux.org>
18778
18779 [BZ #14303]
18780 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18781 (SUNOS_CPP): Likewise.
18782 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18783 not found.
18784 (open_input): Call CPP using execvp.
18785
93df14ee
JM
187862012-08-07 Joseph Myers <joseph@codesourcery.com>
18787
18788 * sysdeps/unix/sysv/linux/kernel-features.h
18789 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18790 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18791 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18792 (__ASSUME_WAITID_SYSCALL): Likewise.
18793 * sysdeps/unix/sysv/linux/dl-execstack.c
18794 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18795 code unconditional.
18796 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18797 conditional code.
18798 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18799 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18800 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18801 code.
18802 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18803 unconditional.
18804 [__ASSUME_WAITID_SYSCALL]: Likewise.
18805 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18806
d34689de
RM
188072012-08-07 Roland McGrath <roland@hack.frob.com>
18808
a281decc
RM
18809 * sysdeps/unix/closedir.c: Renamed to ...
18810 * sysdeps/posix/closedir.c: ... here.
18811 * sysdeps/unix/dirfd.c: Renamed to ...
18812 * sysdeps/posix/dirfd.c: ... here.
18813 * sysdeps/unix/dirstream.h: Renamed to ...
18814 * sysdeps/posix/dirstream.h: ... here.
18815 * sysdeps/unix/fdopendir.c: Renamed to ...
18816 * sysdeps/posix/fdopendir.c: ... here.
18817 * sysdeps/unix/opendir.c: Renamed to ...
18818 * sysdeps/posix/opendir.c: ... here.
18819 * sysdeps/unix/readdir.c: Renamed to ...
18820 * sysdeps/posix/readdir.c: ... here.
18821 * sysdeps/unix/readdir_r.c: Renamed to ...
18822 * sysdeps/posix/readdir_r.c: ... here.
18823 * sysdeps/unix/rewinddir.c: Renamed to ...
18824 * sysdeps/posix/rewinddir.c: ... here.
18825 * sysdeps/unix/seekdir.c: Renamed to ...
18826 * sysdeps/posix/seekdir.c: ... here.
18827 * sysdeps/unix/telldir.c: Renamed to ...
18828 * sysdeps/posix/telldir.c: ... here.
18829 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18830 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18831 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18832 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18833
22895b47
RM
18834 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18835 * bits/fcntl.h: ... here.
18836
707a53b6
RM
18837 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18838 not 0.
18839 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18840 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18841 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18842 (struct flock): Move l_start, l_len to the beginning.
18843 Use __pid_t for l_pid.
18844 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18845 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18846 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18847 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18848 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18849 [__USE_LARGEFILE64] (struct flock64): New type.
18850 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18851
f0bd3e25
RM
18852 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18853 * bits/dirent.h: ... here.
18854
d34689de
RM
18855 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18856 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18857
6dad2c06
JM
188582012-08-07 Joseph Myers <joseph@codesourcery.com>
18859
18860 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18861 Change from 2.6.0 to 2.6.16.
18862 * sysdeps/unix/sysv/linux/configure: Regenerated.
18863 * sysdeps/unix/sysv/linux/kernel-features.h
18864 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18865 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18866 version.
18867 (__ASSUME_UTIMES): Likewise.
18868 (__ASSUME_CLONE_STOPPED): Remove.
18869 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18870 architectures, not kernel version.
18871 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18872 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18873 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18874 (__ASSUME_WAITID_SYSCALL): Likewise.
18875 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18876 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18877 * README: State 2.6.16 as minimum Linux kernel version. Do not
18878 refer to older versions.
18879
03af9520
RM
188802012-08-06 Roland McGrath <roland@hack.frob.com>
18881
8e49df1d
RM
18882 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18883 Define alphasort64 as an alias.
18884 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18885 Define versionsort64 as an alias.
18886 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18887 Define scandir64 as an alias.
18888 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18889 Define scandirat64 as an alias.
18890 * dirent/alphasort64.c (alphasort64):
18891 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18892 * dirent/versionsort64.c: Likewise.
18893 * dirent/scandir64.c: Likewise.
18894 * dirent/scandirat64.c: Likewise.
18895 * sysdeps/wordsize-64/alphasort.c: File removed.
18896 * sysdeps/wordsize-64/alphasort64.c: File removed.
18897 * sysdeps/wordsize-64/scandir.c: File removed.
18898 * sysdeps/wordsize-64/scandir64.c: File removed.
18899 * sysdeps/wordsize-64/scandirat.c: File removed.
18900 * sysdeps/wordsize-64/scandirat64.c: File removed.
18901 * sysdeps/wordsize-64/versionsort.c: File removed.
18902 * sysdeps/wordsize-64/versionsort64.c: File removed.
18903 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18904 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18905 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18906 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18907 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18908 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18909 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18910 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18911
18912 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18913 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18914 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18915 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18916 [defined __arch64__ || defined __sparcv9]
18917 (__INO_T_MATCHES_INO64_T): New macro.
18918 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18919 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18920 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18921 * sysdeps/unix/sysv/linux/bits/dirent.h
18922 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18923 (_DIRENT_MATCHES_DIRENT64): New macro.
18924
03af9520
RM
18925 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18926 Define lockf64 as an alias.
18927 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18928 Define fseeko64 as an alias.
18929 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18930 Define ftello64 as an alias.
18931 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18932 Define _IO_fgetpos64 and fgetpos64 as aliases.
18933 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18934 Define _IO_fsetpos64 and fsetpos64 as aliases.
18935 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18936 Conditionalize body on this.
18937 * libio/fseeko64.c: Likewise.
18938 * libio/ftello64.c: Likewise.
18939 * libio/iofgetpos64.c: Likewise.
18940 * libio/iofsetpos64.c: Likewise.
18941 * sysdeps/wordsize-64/lockf.c: File removed.
18942 * sysdeps/wordsize-64/lockf64.c: File removed.
18943 * sysdeps/wordsize-64/fseeko.c: File removed.
18944 * sysdeps/wordsize-64/fseeko64.c: File removed.
18945 * sysdeps/wordsize-64/ftello.c: File removed.
18946 * sysdeps/wordsize-64/ftello64.c: File removed.
18947 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18948 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18949 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18950 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18951 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18952 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18953 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18954 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18955 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18956 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18957 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18958 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18959 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18960 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18961
18962 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18963 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18964 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18965 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18966 [defined __arch64__ || defined __sparcv9]
18967 (__OFF_T_MATCHES_OFF64_T): New macro.
18968 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18969 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18970 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18971 (__OFF_T_MATCHES_OFF64_T): New macro.
18972
c5757acd
L
189732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18974
18975 * stdlib/secure-getenv.c (__secure_getenv): Replace
18976 GLIBC_2_16 with GLIBC_2_17.
18977
3a31811e
L
189782012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18979
18980 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18981 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18982
faa2bccb
DM
189832012-08-03 David S. Miller <davem@davemloft.net>
18984
18985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18986
85fe1997
JM
189872012-08-03 Joseph Myers <joseph@codesourcery.com>
18988
18989 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18990 Remove.
18991 (__ASSUME_CORRECT_SI_PID): Likewise.
18992 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18993 (__ASSUME_TMPFS_NAME): Likewise.
18994 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18995 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18996 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18997 (HAVE_AUX_SECURE): Make definition unconditional.
18998 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18999 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19000
4f75b7a0
RM
190012012-08-03 Roland McGrath <roland@hack.frob.com>
19002
19003 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19004 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19005 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19006 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19007 __eloop_threshold instead of SYMLOOP_MAX.
19008
19009 * sysdeps/generic/eloop-threshold.h: New file.
19010 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19011 of MAXSYMLINKS.
19012 * elf/chroot_canon.c (chroot_canon): Likewise.
19013
7aab07e4
JM
190142012-08-03 Joseph Myers <joseph@codesourcery.com>
19015
19016 [BZ #13717]
19017 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19018 Change to 2.6.0 everywhere.
19019 * sysdeps/unix/sysv/linux/configure: Regenerated.
19020 * sysdeps/unix/sysv/linux/kernel-features.h
19021 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19022 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19023 kernel versions.
19024 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19025 (__ASSUME_FUTEX_REQUEUE): Remove.
19026 (__ASSUME_STATFS64): Define unconditionally.
19027 (__ASSUME_AT_SECURE): Likewise.
19028 (__ASSUME_CORRECT_SI_PID): Likewise.
19029 (__ASSUME_TGKILL): Define without depending on kernel version for
19030 i386.
19031 (__ASSUME_UTIMES): Likewise.
19032 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19033 kernel version.
19034 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19035 (__ASSUME_TMPFS_NAME): Likewise.
19036 * README: Update reference to Linux kernel versions.
19037
b67e9372
MP
190382012-08-02 Marek Polacek <polacek@redhat.com>
19039
1f529f7d 19040 [BZ# 14150]
b67e9372
MP
19041 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19042 libc_cv_asm_type_prefix with %.
19043 * configure: Regenerated.
d2441631
RM
19044 * include/libc-symbols.h: Remove comment about
19045 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
19046 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19047 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19048 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19049 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19050 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19051 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19052 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19053 * elf/tst-unique2mod1.c: Likewise.
19054 * elf/tst-unique1mod2.c: Likewise.
19055 * elf/tst-unique1mod1.c: Likewise.
19056 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19057 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19058 Replace ASM_TYPE_DIRECTIVE with .type.
19059 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19060 * sysdeps/i386/sysdep.h: Likewise.
19061 * sysdeps/x86_64/sysdep.h: Likewise.
19062 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19064 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 19065 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
19066 * sysdeps/powerpc/powerpc32/sysdep.h:
19067 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
19068 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19069 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19070 * sysdeps/i386/fpu/e_powf.S: Likewise.
19071 * sysdeps/i386/fpu/e_expl.S: Likewise.
19072 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19073 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19074 * sysdeps/i386/fpu/e_pow.S: Likewise.
19075 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19076 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19077 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19078 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19079 * sysdeps/i386/fpu/e_log2.S: Likewise.
19080 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19081 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19082 * sysdeps/i386/fpu/e_powl.S: Likewise.
19083 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19084 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19085 * sysdeps/i386/fpu/e_logl.S: Likewise.
19086 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19087 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19088 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19089 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19090 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19091 * sysdeps/i386/fpu/e_log.S: Likewise.
19092 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19093 * sysdeps/i386/fpu/e_logf.S: Likewise.
19094 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19095 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19096 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19097 * sysdeps/i386/fpu/e_log10.S: Likewise.
19098 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19099 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19100 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19101 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19102 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19103 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19104 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19105 * sysdeps/i386/i686/strtok.S: Likewise.
19106 * sysdeps/i386/i386-mcount.S: Likewise.
19107 * sysdeps/i386/strtok.S: Likewise.
19108 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19109 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19110 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19111 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19112 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19113 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19114 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19115 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19116 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19117 * sysdeps/x86_64/_mcount.S: Likewise.
19118 * sysdeps/x86_64/strtok.S: Likewise.
19119 * sysdeps/sh/_mcount.S: Likewise.
19120
2747bf9a
RM
191212012-08-01 Roland McGrath <roland@hack.frob.com>
19122
19123 * libio/iofopen.c: Include <fcntl.h>.
19124 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19125 (_IO_fopen64, fopen64): Define as aliases.
19126 * libio/iofopen64.c: Include <fcntl.h>.
19127 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19128 Conditionalize body on this.
19129 * sysdeps/wordsize-64/iofopen.c: File removed.
19130 * sysdeps/wordsize-64/iofopen64.c: File removed.
19131
3fb791b8
MP
191322012-08-01 Marek Polacek <polacek@redhat.com>
19133
19134 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19135 Use dlfcn directly instead of a variable.
19136 (binfmt-subdir): Do not define.
19137 (dlfcn): Likewise.
19138
a9f1039f
JM
191392012-08-01 Joseph Myers <joseph@codesourcery.com>
19140
23bddc06
JM
19141 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19142 Remove all definitions.
19143 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19144 <kernel-features.h>.
19145 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19146 (miss_F_GETOWN_EX): Remove all definitions.
19147 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19148 macro definition.
19149 [!__ASSUME_FCNTL64]: Remove conditional code.
19150 [__ASSUME_FCNTL64]: Make code unconditional.
19151 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19152 <kernel-features.h>.
19153 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19154 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19155 (lockf64) [__NR_fcntl64]: Make code unconditional.
19156 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19157
a9f1039f
JM
19158 * sysdeps/unix/sysv/linux/kernel-features.h
19159 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19160 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19161 Make code unconditional.
19162 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19163 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19165 [__NR_vfork]: Make code unconditional.
19166 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19167 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19169 [__NR_vfork]: Make code unconditional.
19170 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19171 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19172
09c0ee5f
RM
191732012-08-01 Roland McGrath <roland@hack.frob.com>
19174
48aec5b9
RM
19175 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19176 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19177
cd97c966
RM
19178 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19179 Define mkstemp64 as an alias.
3f55550c
RM
19180 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19181 Define mkstemps64 as an alias.
cd97c966
RM
19182 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19183 Define mkostemp64 as an alias.
b8625cfc
RM
19184 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19185 Define mkostemps64 as an alias.
cd97c966
RM
19186 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19187 Conditionalize body on this.
19188 * misc/mkostemp64.c: Likewise.
b8625cfc 19189 * misc/mkostemps64.c: Likewise.
3f55550c 19190 * misc/mkstemps64.c: Likewise.
cd97c966
RM
19191 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19192 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19193 * sysdeps/wordsize-64/mkostemp.c: File removed.
19194 * sysdeps/wordsize-64/mkstemp.c: File removed.
19195 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19196 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19197 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19198 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19199
09c0ee5f
RM
19200 [BZ #14138]
19201 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19202 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19203 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19204 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19205
19206 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19207 compat_symbol macros from <shlib-compat.h> rather than the underlying
19208 default_symbol_version and symbol_version macros, so that DEFAULT
19209 lines in shlib-versions are respected.
19210 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19211
7e66ee51
FW
192122012-08-01 Florian Weimer <fweimer@redhat.com>
19213
19214 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19215 Declare with warn_unused_result.
19216 (setgid, setregid, setegid, setresgid): Likewise.
19217 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19218 Likewise.
19219 * WUR-REPORT: Remove set*id functions.
19220
d2a54255
PT
192212012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19222
19223 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19224
7ecdb005
RM
192252012-07-31 Roland McGrath <roland@hack.frob.com>
19226
b4180a5e 19227 [BZ #10191]
789bd351
RM
19228 * include/sys/socket.h (__libc_accept, __libc_accept4):
19229 Add attribute_hidden.
19230 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19231
40ce302d
RM
19232 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19233 use of PTR_MANGLE.
19234 * inet/getnetgrent_r.c (setup): Likewise.
19235
7ecdb005
RM
19236 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19237
e2eabb2c
DM
192382012-07-31 David S. Miller <davem@davemloft.net>
19239
19240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19241
d0419dbf
JM
192422012-07-31 Joseph Myers <joseph@codesourcery.com>
19243
19244 [BZ #13629]
19245 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19246 value between 1.0 and 2.0 and smaller part has absolute value less
19247 than 1.0.
19248 * math/s_clog10.c (__clog10): Likewise.
19249 * math/s_clog10f.c (__clog10f): Likewise.
19250 * math/s_clog10l.c (__clog10l): Likewise.
19251 * math/s_clogf.c (__clogf): Likewise.
19252 * math/s_clogl.c (__clogl): Likewise.
19253 * math/libm-test.inc (clog_test): Add more tests.
19254 (clog10_test): Likewise.
19255 * sysdeps/i386/fpu/libm-test-ulps: Update.
19256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19257
2bc13872
FW
192582012-07-31 Florian Weimer <fweimer@redhat.com>
19259
19260 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19261 Exit with zero in case no suitable GID is found, and write a
19262 message to standard error.
19263
bea9b193
RM
192642012-07-30 Roland McGrath <roland@hack.frob.com>
19265
19266 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19267 rather than to 1.
19268 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19269 (MAXPATHLEN): Removed.
19270 (NOGROUP, NODEV): New macros.
19271 (setbit, clrbit, isset, isclr): New macros.
19272 (howmany, roundup, powerof2): New macros.
19273 (DEV_BSIZE): New macro.
19274
19275 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19276 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19277
19278 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19279 definition on [!__NO_LONG_DOUBLE_MATH].
19280
19281 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19282 PTR_MANGLE and PTR_DEMANGLE.
19283
19284 * socket/accept4.c (accept4): Rename to __libc_accept4.
19285 Define accept4 as a weak alias.
19286
19287 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19288 on [_DIRENT_HAVE_D_TYPE].
19289 * io/ftw.c (ftw_dir): Likewise.
19290
19291 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19292
19293 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19294
19295 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19296 Use the BSD numbers rather than the arbitrary ones we had.
19297 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19298 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19299 (SIGXCPU, SIGXFSZ): New macros.
19300 (_NSIG): Now 32.
19301
19302 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19303 initializer on [_LIBC_REENTRANT].
19304
19305 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19306 definitions inside [_POSIX_MAPPED_FILES].
19307
19308 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19309
19310 * dirent/opendir.c: Include <fcntl.h>.
19311
19312 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19313 (__libc_getspecific): Likewise.
19314 (__libc_key_create): Likewise.
19315
19316 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19317 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19318 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19319 (tmpfile64): Define as alias.
19320 * sysdeps/wordsize-64/tmpfile.c: File removed.
19321 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19322 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19323 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19324
19325 * stdio-common/vfscanf.c: Include <stdbool.h>.
19326 * nss/makedb.c: Likewise.
19327 * stdio-common/_i18n_number.h: Likewise.
19328 * argp/argp-help.c: Likewise.
19329 * posix/wordexp.c: Likewise.
19330 * sysdeps/posix/spawni.c: Likewise.
19331 * nss/nss_files/files-initgroups.c: Likewise.
19332 * stdio-common/reg-modifier.c: Include <stdlib.h>.
19333 * nss/nss_files/files-initgroups.c: Likewise.
19334 * nss/nss_db/db-netgrp.c: Likewise.
19335 * nss/nss_db/db-initgroups.c: Likewise.
19336 * io/fchmodat.c: Include <sys/stat.h>.
19337
19338 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19339 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19340
19341 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19342 [HAVE_MMAP].
19343
19344 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19345 Add multiple inclusion protection.
19346
e5abc686
DM
193472012-07-27 David S. Miller <davem@davemloft.net>
19348
19349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19350
815e6fa3
GB
193512012-07-27 Gary Benson <gbenson@redhat.com>
19352
19353 [BZ #14298]
19354 * elf/rtld.c: Include <stap-probe.h>.
19355 (dl_main): Added static probes "init_start" and "init_complete".
19356 * elf/dl-load.c: Include <stap-probe.h>.
19357 (lose): Take new parameter "nsid".
19358 Added static probe "map_failed".
19359 (_dl_map_object_from_fd): Pass namespace id to lose.
19360 Added static probe "map_start".
19361 (open_verify): Pass namespace id to lose.
19362 * elf/dl-open.c: Include <stap-probe.h>.
19363 (dl_open_worker) Added static probes "map_complete", "reloc_start"
19364 and "reloc_complete".
19365 * elf/dl-close.c: Include <stap-probe.h>.
19366 (_dl_close_worker): Added static probes "unmap_start" and
19367 "unmap_complete".
19368 * elf/rtld-debugger-interface.txt: New file documenting the above.
19369
9f98c16c
RM
193702012-07-26 Roland McGrath <roland@hack.frob.com>
19371
19372 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19373 rather than a string variable.
19374 * sunrpc/rpc_main.c (h_output): Likewise.
19375 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19376
f3c22df3
PT
193772012-07-26 Pino Toscano <toscano.pino@tiscali.it>
19378
19379 * inet/check_native.c: New file.
19380
3129cfc6
JM
193812012-07-26 Joseph Myers <joseph@codesourcery.com>
19382
da865e95
JM
19383 [BZ #13629]
19384 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19385 if larger part has absolute value 1.0.
19386 * math/s_clog10.c (__clog10): Likewise.
19387 * math/s_clog10f.c (__clog10f): Likewise.
19388 * math/s_clog10l.c (__clog10l): Likewise.
19389 * math/s_clogf.c (__clogf): Likewise.
19390 * math/s_clogl.c (__clogl): Likewise.
19391 * math/libm-test.inc (clog_test): Add more tests.
19392 (clog10_test): Likewise.
19393 * sysdeps/i386/fpu/libm-test-ulps: Update.
19394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19395
3129cfc6
JM
19396 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19397 (pltexit): Likewise.
19398 (La_regs): Likewise.
19399 (La_retval): Likewise.
19400 (int_retval): Likewise.
19401 Update #error for removed macros to refer only to definitions in
19402 tst-audit.h.
19403 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19404 macro.
19405 (pltexit): Likewise.
19406 (La_regs): Likewise.
19407 (La_retval): Likewise.
19408 (int_retval): Likewise.
19409 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19410 macro.
19411 (pltexit): Likewise.
19412 (La_regs): Likewise.
19413 (La_retval): Likewise.
19414 (int_retval): Likewise.
19415 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19416 macro.
19417 (pltexit): Likewise.
19418 (La_regs): Likewise.
19419 (La_retval): Likewise.
19420 (int_retval): Likewise.
19421 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19422 macro.
19423 (pltexit): Likewise.
19424 (La_regs): Likewise.
19425 (La_retval): Likewise.
19426 (int_retval): Likewise.
19427 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19428 macro.
19429 (pltexit): Likewise.
19430 (La_regs): Likewise.
19431 (La_retval): Likewise.
19432 (int_retval): Likewise.
19433 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19434 macro.
19435 (pltexit): Likewise.
19436 (La_regs): Likewise.
19437 (La_retval): Likewise.
19438 (int_retval): Likewise.
19439 * sysdeps/generic/tst-audit.h: Update comment to refer only to
19440 macro definitions in tst-audit.h.
19441 * sysdeps/i386/tst-audit.h: New file.
19442 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19443 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19444 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19445 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19446 * sysdeps/sh/tst-audit.h: Likewise.
19447 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19448 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19449 * sysdeps/x86_64/tst-audit.h: Likewise.
19450
bfc07087
AJ
194512012-07-26 Andreas Jaeger <aj@suse.de>
19452
b1b2aaf8
AJ
19453 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19454 ptrace.
19455
19456 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19457 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19458 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19459 PTRACE_O_MASK.
19460 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19461 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19462 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19463
bfc07087
AJ
19464 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19465 value.
19466
19467 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19468 _sigsys.
19469 (si_call_addr, si_syscall, si_arch): Define new macro.
19470 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19471 _sigsys.
19472 (si_call_addr, si_syscall, si_arch): Define new marcro.
19473 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19474 _sigsys.
19475 (si_call_addr, si_syscall, si_arch): Define new macro.
19476 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19477 _sigsys.
19478 (si_call_addr, si_syscall, si_arch): Define new macro.
19479
89b4b02f
JM
194802012-07-25 Joseph Myers <joseph@codesourcery.com>
19481
19482 [BZ #13717]
19483 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19484 Change to 2.4.21 where previously 2.4.1.
19485 * sysdeps/unix/sysv/linux/configure: Regenerated.
19486 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19487 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19488 Linux kernel version.
19489 (__ASSUME_STD_AUXV): Remove.
19490 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19491 kernel version.
19492 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19493 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19494 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19495 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19496 (__ASSUME_NETLINK_SUPPORT): Likewise.
19497 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19498 (__no_netlink_support): Remove conditional definition.
19499 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19500 Remove.
19501 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19502 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19503 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19504 (if_nameindex_ioctl): Remove.
19505 (if_nameindex_netlink): Do not handle __no_netlink_support.
19506 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19507 code.
19508 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19509 Remove conditional code.
19510 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19511 code.
19512 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19513 unconditional.
19514 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19515 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19516 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19517 Remove.
19518 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19519 [!__ASSUME_STD_AUXV]: Remove conditional code.
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19521 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19522 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19524 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19525 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19526 code.
19527 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19529 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19530 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19531 conditional code.
19532 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19534 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19535 code.
19536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19537 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19538 conditional code.
19539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19540 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19541 code unconditional.
19542 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19543 conditional code.
19544 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19545 unconditional.
19546 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19547 conditional code.
19548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19549 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19550 unconditional.
19551 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19552 conditional code.
19553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19554 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19555 code unconditional.
19556 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19557 conditional code.
19558 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19559 unconditional.
19560 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19561 conditional code.
19562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19563 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19564 code unconditional.
19565 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19566 conditional code.
19567 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19568 unconditional.
19569 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19570 conditional code.
19571
842a39cd
AS
195722012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19573
19574 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19575 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19576 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19577 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19578 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19579 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19580 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19581 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19582 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19583 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19584 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19585 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19586 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19587 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19588 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19589 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19590 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19591 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19592 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19594 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19595 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19596 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19597
84b3fd84
FW
195982012-07-25 Florian Weimer <fweimer@redhat.com>
19599
19600 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19601 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19602 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19603 Introduce __libc_secure_getenv.
0c7936d5
FW
19604 * stdlib/Versions (2.17): Add secure_getenv
19605 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19606 * stdlib/secure-getenv.c: Rename __secure_getenv to
19607 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19608 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19609 * stdlib/tst-secure-getenv.c: New.
19610 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19611 * manual/startup.texi (Environment Access): Document
19612 secure_getenv.
84b3fd84
FW
19613 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19614 __libc_secure_getenv.
19615 * inet/ruserpass.c (ruserpass): Likewise.
19616 * malloc/mtrace.c (mtrace): Likewise.
19617 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19618 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19619 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19620 * sysdeps/posix/tempname.c: Likewise. Evaluate
19621 HAVE_SECURE_GETENV.
19622 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19623 __secure_getenv to __libc_secure_getenv.
84b3fd84 19624 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19626 Likewise.
19627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19628 Likewise.
19629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19631 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19636
56e49b71
JM
196372012-07-25 Joseph Myers <joseph@codesourcery.com>
19638
19639 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19640 (struct La_i86_retval): Likewise.
19641 (struct La_x86_64_regs): Likewise.
19642 (struct La_x86_64_retval): Likewise.
19643 (struct La_x32_regs): Likewise.
19644 (struct La_x32_retval): Likewise.
19645 (struct La_ppc32_regs): Likewise.
19646 (struct La_ppc32_retval): Likewise.
19647 (struct La_ppc64_regs): Likewise.
19648 (struct La_ppc64_retval): Likewise.
19649 (struct La_sh_regs): Likewise.
19650 (struct La_sh_retval): Likewise.
19651 (struct La_s390_32_regs): Likewise.
19652 (struct La_s390_32_retval): Likewise.
19653 (struct La_s390_64_regs): Likewise.
19654 (struct La_s390_64_retval): Likewise.
19655 (struct La_sparc32_regs): Likewise.
19656 (struct La_sparc32_retval): Likewise.
19657 (struct La_sparc64_regs): Likewise.
19658 (struct La_sparc64_retval): Likewise.
19659 (struct audit_ifaces): Remove architecture-specific pltenter and
19660 pltexit members.
19661 * sysdeps/i386/ldsodefs.h: New file.
19662 * sysdeps/powerpc/ldsodefs.h: Likewise.
19663 * sysdeps/s390/ldsodefs.h: Likewise.
19664 * sysdeps/sh/ldsodefs.h: Likewise.
19665 * sysdeps/sparc/ldsodefs.h: Likewise.
19666 * sysdeps/x86_64/ldsodefs.h: Likewise.
19667
354691b7
MP
196682012-07-25 Marek Polacek <polacek@redhat.com>
19669
19670 [BZ #6808]
19671 * math/libm-test.inc (yn_test): Add another test.
19672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19673 to ERANGE when the result is +-Inf.
19674 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19675 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19676 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19677 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19678
bf9e2071
JM
196792012-07-24 Joseph Myers <joseph@codesourcery.com>
19680
19681 * conform/data/time.h-data (NULL): Use macro-constant. Require
19682 equal to 0.
19683 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19684 clock_t.
19685 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19686
57633811
TS
196872012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19688
19689 * configure.in <sysdeps resolving>: Correct printing
19690 Implies_before.
19691 * configure: Regenerate.
19692
c23c33b0
TS
196932012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19694
19695 * math/w_ilogb.c: Include <limits.h>.
19696 * math/w_ilogbl.c: Likewise.
19697
b5982523
JM
196982012-07-20 Joseph Myers <joseph@codesourcery.com>
19699
19700 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19701 va_copy. Document allowing for unavailable va_copy only as
19702 pre-C99 compatibility.
19703 * manual/string.texi (Copying and Concatenation): Use va_copy
19704 instead of __va_copy in concat example.
19705
ac4ea442
PT
197062012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19707
19708 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19709 (__sendto): Use create_address_port. Initialize APORT and deallocate
19710 it if not null.
19711
f98eafbd
PT
19712 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19713 with O_NOLINK passed to __file_name_lookup.
19714
898c7aab
PT
19715 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19716 with O_NOLINK passed to __file_name_lookup.
19717
0ced335a
PT
19718 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19719 negative N or less than NGIDS.
19720
b3404dbd
PT
19721 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19722 type to string_t. Set ERANGE as errno and return it if NAME is not big
19723 enough. Use memcpy instead of strncpy.
19724
0f48659e
JM
197252012-07-20 Joseph Myers <joseph@codesourcery.com>
19726
19727 * elf/Makefile (check-data): Remove.
19728 (localplt.data): New vpath directive.
19729 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19730 instead of $(check-data).
19731 * scripts/data/localplt-generic.data: Move to ...
19732 * sysdeps/generic/localplt.data: ... here.
19733 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19734 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19735 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19737 ... here.
19738 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19740 ... here.
19741 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19743 ... here.
19744 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19746 ... here.
19747 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19749 ... here.
19750 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19752 ... here.
19753
d37cbdaa
AZ
197542012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19755
19756 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19757 PPC32 and PPC64 files.
19758 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19759 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19760
46f85fc2
AK
197612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19762
19763 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19764 __makecontext_ret to ...
19765 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19766 ... here and call exit if uc_link is NULL. New file.
19767 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19768 __makecontext_ret.S.
19769 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19770 __makecontext_ret to ...
19771 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19772 ... here and call exit if uc_link is NULL. New file.
19773 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19774 __makecontext_ret.S.
19775
08f43f9b
AK
197762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19777
19778 * elf/elf.h (R_390_IRELATIVE): New definition.
19779 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19780 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19781 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19782 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19783 (elf_machine_lazy_rel): Likewise.
19784 * sysdeps/s390/dl-irel.h: New file.
19785 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19786 * sysdeps/s390/s390-64/memset.S: New asm code.
19787 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19788 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19789 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19790 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19791 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19792 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19793 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19794 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19795 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19796 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19797 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19798 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19799 * sysdeps/s390/s390-32/memset.S: New asm code.
19800 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19801
3b05db33
MP
198022012-07-17 Marek Polacek <polacek@redhat.com>
19803
19804 [BZ #14349]
19805 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19806 * sysdeps/s390/s390-64/configure.in: Likewise.
19807 * sysdeps/sparc/configure.in: Likewise.
19808 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19809 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19810 * sysdeps/i386/configure.in: Likewise.
19811 * sysdeps/x86_64/configure.in: Likewise.
19812 * sysdeps/sh/configure.in: Likewise.
19813 * sysdeps/s390/s390-32/configure: Regenerated.
19814 * sysdeps/s390/s390-64/configure: Likewise.
19815 * sysdeps/x86_64/configure: Likewise.
19816 * sysdeps/sh/configure: Likewise.
19817 * sysdeps/powerpc/powerpc64/configure: Likewise.
19818 * sysdeps/powerpc/powerpc32/configure: Likewise.
19819 * sysdeps/sparc/configure: Likwise.
19820 * sysdeps/i386/configure: Likewise.
19821
a66877c6
MP
19822 * elf/dl-open.c: Comment fixes.
19823
cfc82fd8
JM
198242012-07-17 Joseph Myers <joseph@codesourcery.com>
19825
bd29910a
JM
19826 * Makefile [CXX] (check-data): Remove.
19827 [CXX] (c++-types.data): New vpath directive.
19828 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19829 vpath. Do not allow for C++ type data being missing.
19830 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19831 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19832 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19833 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19834 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19835 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19836 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19838 ... here.
19839 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19841 ... here.
19842 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19844 ... here.
19845 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19847 ... here.
19848 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19850 ... here.
19851 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19853 ... here.
19854 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19856 ... here.
19857 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19859
cfc82fd8
JM
19860 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19861 definitions to architecture-specific files.
19862 (TLS_IE): Likewise.
19863 (TLS_LD): Likewise.
19864 (TLS_GD): Likewise.
19865 * sysdeps/i386/tls-macros.h: New file.
19866 * sysdeps/powerpc/tls-macros.h: Likewise.
19867 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19868 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19869 * sysdeps/sh/tls-macros.h: Likewise.
19870 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19871 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19872 * sysdeps/x86_64/tls-macros.h: Likewise.
19873
f7db3170
TS
198742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19875
07cbfc23
TS
19876 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19877 zero value for regular exit case.
19878
f7db3170
TS
19879 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19880 (__start_context): Preserve zero value for regular exit case.
19881
dc97c227
TS
198822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19883 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19884
19885 * manual/setjmp.texi (setcontext): Clarify normal process
19886 termination when uc_link is the null pointer.
19887 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19888 exit call.
19889
d0cd7d02
AS
198902012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19891
19892 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19893 preprocessor. Test for each exception mask separately.
19894
dd318934
AJ
198952012-07-16 Andreas Jaeger <aj@suse.de>
19896
19897 * po/ru.po: Update from translation team.
19898
8048311a
JM
198992012-07-15 Joseph Myers <joseph@codesourcery.com>
19900
19901 * conform/data/string.h-data (NULL): Use macro-constant. Require
19902 equal to 0.
19903 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19904 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19905 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19906 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19907 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19908
b637d46e
AJ
199092012-07-13 Andreas Jaeger <aj@suse.de>
19910
19911 * po/fr.po: Update from translation team.
19912
541428fe
MP
199132012-07-12 Marek Polacek <polacek@redhat.com>
19914
19915 [BZ #14173]
19916 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19917 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19918 loop condition.
19919
ec332e94
JM
199202012-07-12 Joseph Myers <joseph@codesourcery.com>
19921
19922 [BZ #13717]
19923 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19924 Change to 2.4.1 where previously 2.4.0.
19925 * sysdeps/unix/sysv/linux/configure: Regenerated.
19926 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19927 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19928 version.
19929 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19930 (__ASSUME_AT_CLKTCK): Remove.
19931 (__ASSUME_AT_PAGESIZE): Likewise.
19932 (__ASSUME_AT_XID): Likewise.
19933 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19934 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19935 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19936 unconditionally.
19937 (HAVE_AUX_PAGESIZE): Likewise.
19938 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19939 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19940 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19941
7b6e99be
JB
199422012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19943
19944 [BZ #14307]
19945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19946 the temporary buffer used to invoke __gethostbyname2_r,
19947 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19948 host_data / struct gaih_addrtuple.
19949 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19950 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19951 header file nss/nsswitch.h.
19952 * nss/nsswitch.h (global scope): Add definition of implementation
19953 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19954 resolv/nss_dns/dns-host.c).
19955
608404eb
AJ
199562012-07-11 Andreas Jaeger <aj@suse.de>
19957
19958 * po/fr.po: Update from translation team.
19959
71220aca
AJ
19960 * po/sv.po: Update from translation team
19961 * po/fr.po: Another update from translation team.
19962
28cfe843
AZ
199632012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19964
19965 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19966 for subnormals or multiply small sinh result by itself.
19967 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19969
6b90f981
DM
199702012-07-11 David S. Miller <davem@davemloft.net>
19971
19972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19973
c6825772
AS
199742012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19975
19976 [BZ #14347]
19977 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19978 (INTERNAL_MARK): Shift it here.
19979
7b8e0d49
MP
199802012-07-10 Marek Polacek <polacek@redhat.com>
19981
19982 [BZ #14151]
19983 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19984 libc_cv_asm_global_directive with .globl.
19985 * configure: Regenerated.
19986 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19987 with .globl.
19988 * sysdeps/i386/configure: Regenerated.
19989 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19990 with .globl.
19991 * sysdeps/x86_64/configure: Regenerated.
19992 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19993 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19994 * elf/tst-unique2mod2.c: Likewise.
19995 * elf/tst-unique2mod1.c: Likewise.
19996 * elf/tst-unique1mod2.c: Likewise.
19997 * elf/tst-unique1mod1.c: Likewise.
19998 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19999 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20000 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20001 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20002 * sysdeps/mach/sysdep.h: Likewise.
20003 * sysdeps/i386/sysdep.h: Likewise.
20004 * sysdeps/i386/i386-mcount.S: Likewise.
20005 * sysdeps/x86_64/_mcount.S: Likewise.
20006 * sysdeps/x86_64/sysdep.h: Likewise.
20007 * sysdeps/sh/_mcount.S: Likewise.
20008 * sysdeps/sh/sysdep.h: Likewise.
20009 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20010 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20011 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20012 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20013 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20014 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20015 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20016 * locale/localeinfo.h: Likewise.
20017 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20018 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20019
6c55cda3
RM
200202012-07-09 Roland McGrath <roland@hack.frob.com>
20021
20022 [BZ #14336]
20023 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20024 system".
20025 * manual/message.texi (The Uniforum approach): Likewise.
20026 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20027 (glibc iconv Implementation): Likewise.
20028
638a572e
JM
200292012-07-09 Joseph Myers <joseph@codesourcery.com>
20030
20031 [BZ #14337]
20032 * math/s_clog.c (__clog): Avoid scaling a value down where that
20033 could result in underflow.
20034 * math/s_clog10.c (__clog10): Likewise.
20035 * math/s_clog10f.c (__clog10f): Likewise.
20036 * math/s_clog10l.c (__clog10l): Likewise.
20037 * math/s_clogf.c (__clogf): Likewise.
20038 * math/s_clogl.c (__clogl): Likewise.
20039 * math/libm-test.inc (clog_test): Add more tests.
20040 (clog10_test): Likewise.
20041 * sysdeps/i386/fpu/libm-test-ulps: Update.
20042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20043
261f4859
AS
200442012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20045
0abaf3e4
AS
20046 [BZ #14283]
20047 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20048 by 7 not 8 to examine high bit of fractional part.
20049
261f4859
AS
20050 [BZ #14042]
20051 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20052 for call to __mcount_internal.
20053 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20054 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20055 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20056
f17ac40d
JM
200572012-07-06 Joseph Myers <joseph@codesourcery.com>
20058
9ad63c23
JM
20059 [BZ #14154]
20060 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20061 approximation for values within 0x1p-13f of an odd multiple of
20062 pi/4.
20063 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20064 exception. Add more tests.
20065 * sysdeps/i386/fpu/libm-test-ulps: Update.
20066
f17ac40d
JM
20067 [BZ #6778]
20068 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20069 inputs and return -1 for them. Do not check for +Inf in case not
20070 reachable for +Inf.
20071 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20072 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20073 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20074 and return -1 for them. Do not check for +Inf in case not
20075 reachable for +Inf.
20076 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20077 define.
20078 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20079 and return -1 for them. Do not check for +Inf in case not
20080 reachable for +Inf.
20081 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20082 spurious underflow.
20083 * sysdeps/i386/fpu/libm-test-ulps: Update.
20084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20085
fb21f89b
MF
200862012-07-06 Mike Frysinger <vapier@gentoo.org>
20087
20088 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20089
cdfe2c5e
JM
200902012-07-05 Joseph Myers <joseph@codesourcery.com>
20091
20092 [BZ #14157]
20093 [BZ #14331]
20094 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20095 could result in spurious underflow. Scale down values above
20096 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20097 * math/s_csqrtf.c (__csqrtf): Likewise.
20098 * math/s_csqrtl.c (__csqrtl): Likewise.
20099 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20100 spurious underflow.
20101 * sysdeps/i386/fpu/libm-test-ulps: Update.
20102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20103
70d35b67
AS
201042012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20105
704bc459
AS
20106 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20107 xopen-msg.sed.
20108 * catgets/xopen-msg.awk: New file.
20109 * catgets/xopen-msg.sed: Removed.
20110
70d35b67
AS
20111 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20112 po2text.sed.
20113 * intl/po2test.awk: New file.
20114 * intl/po2test.sed: Removed.
20115
ca61cf32
JM
201162012-07-04 Joseph Myers <joseph@codesourcery.com>
20117
20118 [BZ #14328]
20119 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20120 or multiply small sinh result by itself.
20121 * math/s_ctanf.c (__ctanf): Likewise.
20122 * math/s_ctanh.c (__ctanh): Likewise.
20123 * math/s_ctanhf.c (__ctanhf): Likewise.
20124 * math/s_ctanhl.c (__ctanhl): Likewise.
20125 * math/s_ctanl.c (__ctanl): Likewise.
20126 * math/libm-test.inc (ctan_test_tonearest): New function.
20127 (ctan_test_towardzero): Likewise.
20128 (ctan_test_downward): Likewise.
20129 (ctan_test_upward): Likewise.
20130 (ctanh_test_tonearest): Likewise.
20131 (ctanh_test_towardzero): Likewise.
20132 (ctanh_test_downward): Likewise.
20133 (ctanh_test_upward): Likewise.
20134 (main): Call these new functions.
20135 * sysdeps/i386/fpu/libm-test-ulps: Update.
20136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20137
ca48a46a
MF
201382012-07-03 Mike Frysinger <vapier@gentoo.org>
20139
20140 * .gitignore: Delete /ports entry.
20141
9d63d37d
AJ
201422012-07-03 Andreas Jaeger <aj@suse.de>
20143
20144 * po/bg.po: Update from translation team.
20145 * po/cs.po: Likewise.
20146 * po/de.po: Likewise.
20147 * po/hr.po: Likewise.
20148 * po/nl.pl: Likewise.
20149 * po/pl.po: Likewise.
20150 * po/vi.po: Likewise.
20151
370ca3d2
JM
201522012-07-03 Joseph Myers <joseph@codesourcery.com>
20153
95f5a9a8
JM
20154 * Makeconfig [!+link] (+link-before-libc): New variable.
20155 [!+link] (+link-after-libc): Likewise.
20156 [!+link] (+link-tests): Likewise.
20157 [!+link] (+link): Define in terms of $(+link-before-libc) and
20158 $(+link-after-libc).
20159 [!+link-static] (+link-static-before-libc): New variable.
20160 [!+link-static] (+link-static-after-libc): Likewise.
20161 [!+link-static] (+link-static-tests): Likewise.
20162 [!+link-static] (+link-static): Define in terms of
20163 $(+link-static-before-libc) and $(+link-static-after-libc).
20164 [build-shared] (link-libc-before-gnulib): New variable.
20165 [build-shared] (link-libc-tests): Likewise.
20166 [build-shared] (link-libc): Define in terms of
20167 $(link-libc-before-gnulib).
20168 [!build-shared] (link-libc-tests): New variable.
20169 (link-libc-static-tests): New variable.
20170 [!gnulib] (gnulib-arch): New variable.
20171 [!gnulib] (gnulib-tests): Likewise.
20172 [!gnulib] (static-gnulib-arch): Likewise.
20173 [!gnulib] (static-gnulib-tests): Likewise.
20174 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20175 Define with "=" instead of ":=".
20176 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20177 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20178 * Rules (binaries-all-notests): New variable.
20179 (binaries-all-tests): Likewise.
20180 (binaries-static-notests): Likewise.
20181 (binaries-static-tests): Likewise.
20182 (binaries-all): Define using $(binaries-all-notests) and
20183 $(binaries-all-tests).
20184 (binaries-static): Define using $(binaries-static-notests) and
20185 $(binaries-static-tests).
20186 (binaries-shared-tests): New variable.
20187 (binaries-shared-notests): Likewise.
20188 (binaries-shared): Remove variable.
20189 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20190 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20191 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20192 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20193 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20194 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20195 * elf/Makefile (sln-modules): New variable.
20196 (extra-objs): Add $(sln-modules:=.o).
20197 (ldconfig-modules): Add static-stubs.
20198 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20199 * elf/static-stubs.c: New file.
20200
7a845b2c
JM
20201 [BZ #14283]
20202 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20203 by 7 not 8 to examine high bit of fractional part. Use volatile
20204 variables when splitting into final array of floats if
20205 __FLT_EVAL_METHOD__ != 0.
20206 * math/libm-test.inc (cos_test): Add another test.
20207 (sin_test): Likewise.
20208 * sysdeps/i386/fpu/libm-test-ulps: Update.
20209
e2283f38
JM
20210 [BZ #14273]
20211 * math/libm-test.inc (cosh_test): Add more tests.
20212
370ca3d2
JM
20213 * version.h (RELEASE): Set to "development".
20214 (VERSION): Set to "2.16.90".
20215
ee9247c3
CD
202162012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20217
20218 * NEWS: Update copyright. Remove last-updated date.
20219 Mention math library bug fixes and timezone data changes.
20220 * README: Mention GNU/Hurd, x32, and HPPA support status.
20221
4648c381
TS
202222012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20223
20224 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20225
aac78a43
AJ
202262012-06-27 Andreas Jaeger <aj@suse.de>
20227
20228 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20229
ed3dbfad
AJ
202302012-06-25 Andreas Jaeger <aj@suse.de>
20231
20232 * sysdeps/s390/fpu/libm-test-ulps: Update.
20233
4d0ee855
AS
202342012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20235 Thomas Schwinge <thomas@codesourcery.com>
20236
20237 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20238 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20239 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20240 fanotify_mark.
20241
af1bce34
TS
202422012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20243
a9fa33ba
TS
20244 * sysdeps/mach/start.c: Remove file.
20245 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20246 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20247 * sysdeps/sh/init-first.c: Likewise.
20248
58f902b8
TS
20249 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20250 registers for frame unwinding purposes, add CFI directives.
20251 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20252 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20253 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20254 Likewise.
20255
1518f58b
TS
20256 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20257 __fortify_fail returning.
20258 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20259
db9b5059
TS
20260 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20261 sysdeps/sh/____longjmp_chk.S.
20262 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20263 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20264 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20265 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20266
967705fe
TS
20267 * sysdeps/sh/abort-instr.h: New file.
20268 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20269 process in case exit returns.
20270
a9def8c4
TS
20271 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20272 initialize the GOT register before use.
20273
2a649725
TS
20274 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20275 calculation of ARGC > 4.
20276
af1bce34
TS
20277 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20278 meaningful names to some local labels.
20279
d230f50a
KK
202802012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20281 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20282
20283 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20284 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20285 (__arch_compare_and_exchange_val_16_acq): Likewise.
20286 (__arch_compare_and_exchange_val_32_acq): Likewise.
20287 (atomic_exchange_and_add): Fix gUSA sequence.
20288 (atomic_add): Likewise.
20289 (atomic_add_negative): Likewise.
20290 (atomic_add_zero): Likewise.
20291 (atomic_bit_test_set): Likewise.
20292
0479b305
AS
202932012-06-22 Andreas Schwab <schwab@redhat.com>
20294
20295 [BZ #13579]
20296 * include/link.h (struct link_map): Add l_free_initfini.
20297 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20298 l_initfini.
20299 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20300 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20301 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20302 set.
20303
0e3933b9
CD
203042012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20305
20306 * configure.in: Use AC_LANG_SOURCE.
20307 * configure: Regenerate.
20308
4248b1b1
RM
203092012-06-22 Roland McGrath <roland@hack.frob.com>
20310
20311 * configure.in (libc_cv_localstatedir): New substituted variable.
20312 * configure: Regenerated.
20313 * config.make.in (localstatedir): New variable, substituted from
20314 libc_cv_localstatedir.
20315 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20316 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20317 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20318 * sysdeps/gnu/configure: Regenerated.
20319
006dd861
JL
203202012-06-21 Jeff Law <law@redhat.com>
20321
20322 [BZ #14277]
20323 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20324 free. Simplify list management for _LIBC case.
20325
79662d42
JM
203262012-06-21 Joseph Myers <joseph@codesourcery.com>
20327
b7abb4bf
JM
20328 [BZ #14273]
20329 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20330 Clear sign bit of 64-bit integer value before comparing against
20331 overflow value.
20332
79662d42
JM
20333 * sysdeps/mach/configure: Regenerated.
20334
1f150908
L
203352012-06-21 H.J. Lu <hongjiu.lu@intel.com>
20336
20337 [BZ #14278]
20338 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20339
28363bbf
JL
203402012-06-21 Jeff Law <law@redhat.com>
20341
20342 [BZ #13882]
20343 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
20344 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 20345 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
20346 * elf/dl-open.c (dl_open_worker): Likewise.
20347
09615db4
CD
203482012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
20349
20350 * scripts/list-sources.sh: Scan PORTS for translations.
20351 * po/libc.pot: Regenerated.
20352
2174c6dd
AJ
203532012-06-21 Andreas Jaeger <aj@suse.de>
20354
20355 [BZ #12194]
20356 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20357 warning.
20358 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20359 * bits/byteswap-16.h (__bswap_16): Likewise.
20360 * bits/byteswap.h (__bswap_constant_16): Likewise.
20361
3ee947b1
L
203622012-06-18 H.J. Lu <hongjiu.lu@intel.com>
20363
20364 [BZ #14117]
a2f34833
L
20365 * sysdeps/i386/fpu_control.h: Removed.
20366 * sysdeps/x86_64/fpu_control.h: Moved to ...
20367 * sysdeps/x86/fpu_control.h: Here.
20368
3ee947b1
L
20369 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20370 (_FPU_SETCW): Likewise.
20371
ed1825f8
L
203722012-06-15 H.J. Lu <hongjiu.lu@intel.com>
20373
25f1282a
L
20374 [BZ #14117]
20375 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20376 * sysdeps/x86/fpu/bits/mathinline.h: This.
20377 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20378
ed1825f8
L
20379 [BZ #14050]
20380 [BZ #14117]
20381 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20382 functions if __x86_64__ is defined.
20383
36d54b74
CLT
203842012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
20385
20386 * string/endian.h: Add !__ASSEMBLER__ condition for including
20387 conversion interfaces.
20388
10285c21
JM
203892012-06-15 Joseph Myers <joseph@codesourcery.com>
20390
20391 [BZ #14241]
20392 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20393 of ABS(x) in calculating zero to negative powers other than odd
20394 integers.
20395 * math/libm-test.inc (pow_test): Add more tests.
20396
06c5abbd
AJ
203972012-06-15 Andreas Jaeger <aj@suse.de>
20398
20399 * manual/contrib.texi (Contributors): Update entry of Liubov
20400 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20401 Machado Filho.
20402
a3aeac40
CH
204032012-06-15 Cyril Hrubis <metan@ucw.cz>
20404
20405 * string/string.h: Add __wur to GNU version of strerror_r.
20406
49bdf4c1
L
204072012-06-14 H.J. Lu <hongjiu.lu@intel.com>
20408
20409 [BZ #14229]
20410 * string/Makefile (tests): Add tst-strtok_r.
20411 * string/tst-strtok_r.c: New file.
20412 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20413 RAX_LP/RDX_LP on SAVE_PTR.
20414
834f9b8d
RM
204152012-06-14 Roland McGrath <roland@hack.frob.com>
20416
20417 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20418
75fa1921
JM
204192012-06-14 Joseph Myers <joseph@codesourcery.com>
20420
20421 * libm_test.inc (csqrt_test): Allow more spurious underflow
20422 exceptions.
20423 (j0_test): Likewise.
20424 (j1_test): Likewise.
20425 (y0_test): Likewise.
20426 (y1_test): Likewise.
20427
771766df
CD
204282012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
20429
20430 * po/Makefile (libc.pot): Use UTF-8 charset.
20431
ceb9e56b
PP
204322012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
20433
20434 [BZ #14210]
20435 Suppress sign-conversion warning from FD_SET.
20436 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20437 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20438 not unsigned long int.
20439 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20440
ddb28975
L
204412012-06-12 H.J. Lu <hongjiu.lu@intel.com>
20442
20443 [BZ #14050]
20444 [BZ #14117]
20445 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20446 __extern_always_inline instead of __extern_inline.
20447 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20448 (__signbit): Likewise.
20449 (__signbitl): Support C++ namespace.
20450 (lrintf): New inline function.
20451 (lrint): Likewise.
20452 (llrintf): Likewise.
20453 (llrint): Likewise.
20454 (fmaxf): Likewise.
20455 (fmax): Likewise.
20456 (fminf): Likewise.
20457 (fmin): Likewise.
20458 (rint): Likewise.
20459 (rintf): Likewise.
20460 (ceil): Likewise.
20461 (ceilf): Likewise.
20462 (floor): Likewise.
20463 (floorf): Likewise.
20464 (nearbyint): Likewise.
20465 (nearbyintf): Likewise.
20466
d7b4fb26
TS
204672012-06-12 Thomas Schwinge <thomas@codesourcery.com>
20468
20469 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20470 non-default versions.
20471
eb55f5c2
RM
204722012-06-11 Roland McGrath <roland@hack.frob.com>
20473
20474 [BZ #14218]
20475 * manual/argp.texi (Argp): Reword argp_parse description slightly.
20476
366af02c
TS
204772012-06-09 Thomas Schwinge <thomas@codesourcery.com>
20478
99ff6e5c
TS
20479 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20480 (FE_UPWARD, FE_DOWNWARD): Don't define.
20481 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20482 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20483
366af02c
TS
20484 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20485 reading it.
20486 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20487 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20488
793ea851
KK
204892012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20490
20491 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20492 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20493 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20494 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20495
a728a38f
L
204962012-06-06 H.J. Lu <hongjiu.lu@intel.com>
20497
20498 [BZ #14117]
c08010c7
L
20499 * sysdeps/i386/fpu/bits/fenv.h: Removed.
20500 * sysdeps/i386/fpu/Implies: New file.
20501 * sysdeps/x86_64/fpu/Implies: Likewise.
20502 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20503 * sysdeps/x86/fpu/bits/fenv.h: This.
20504
a728a38f
L
20505 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20506 __SSE_MATH__.
20507
6e230d11
SP
205082012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20509
20510 [BZ #14134]
20511 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20512 character 0xffff that matches the last element of the
20513 conversion table.
20514
1b671feb
AZ
205152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20516
20517 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20518 fmodl commit.
20519
6043738b
AZ
205202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20521
20522 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20523 values higher than 25.6283.
20524
34ae0b32
AZ
205252012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20526
20527 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20528 subnormal exponent extraction and add some __builtin_expect.
20529 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20530 Fix for subnormal mantissa calculation.
20531
1214ec8f
MF
205322012-06-04 Mike Frysinger <vapier@gentoo.org>
20533
20534 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20535 cpu2 is -1 and errno is not ENOSYS.
20536
f3d1f93c
L
205372012-06-04 H.J. Lu <hongjiu.lu@intel.com>
20538
20539 [BZ #14117]
0e4a3cd7
L
20540 * sysdeps/i386/i486/bits/string.h: Renamed to ...
20541 * sysdeps/x86/bits/string.h: This.
20542 * sysdeps/x86_64/bits/string.h: Removed.
20543
6704c645
L
20544 * sysdeps/i386/i486/bits/string.h: Define inline functions only
20545 if not compiling for x86-64, but compiling for >= i486.
20546
48495318
L
20547 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20548 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20549
14adcbfc
L
20550 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20551 New macro from Linux kernel 3.4.0.
20552 (FP_XSTATE_MAGIC2): Likewise.
20553 (FP_XSTATE_MAGIC2_SIZE): Likewise.
20554 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20555 (struct _fpx_sw_bytes): New struct.
20556 (struct _xsave_hdr): Likewise.
20557 (struct _ymmh_state): Likewise.
20558 (struct _xstate): Likewise.
20559
68e408ab
L
20560 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20561 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20562 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20563 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20564 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20565 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20566
f3d1f93c
L
20567 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20568 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20569 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20570 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20571 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20572 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20573
d9dc34cd
TMQMF
205742012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20575
20576 [BZ #13743]
20577 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20578 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20579 (sysdep_headers): Include sys/platform/ppc.h.
20580 * sysdeps/powerpc/test-gettimebase.c: Test for
20581 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20582 * manual/Makefile (appendices): Include platform.texi.
20583 * manual/contrib.texi (Contributors): Update @node pointers.
20584 * manual/maint.texi (Maintenance): Likewise.
20585 (Platform): New node.
20586 * manual/platform.texi: New file. Document the new features.
20587
4af3879c
SP
205882012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20589 Jakub Jelinek <jakub@redhat.com>
20590
20591 [BZ #14188]
20592 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20593 where __builtin_expect is unavailable.
20594
2fd6ff13
DM
205952012-06-03 David S. Miller <davem@davemloft.net>
20596
20597 * stdlib/longlong.h: Updated from GCC.
20598
173f7220
AS
205992012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20600
20601 [BZ #14042]
20602 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20603 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20604 __mcount_internal.
20605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20606 (GLIBC_2.16): Likewise.
20607
f34a1c6f
L
206082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20609
20610 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20611
88a4576f
JM
206122012-06-01 Joseph Myers <joseph@codesourcery.com>
20613
ea32bcdd
JM
20614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20615 (default-abi): New variable.
20616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20617 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20618 variable.
20619 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20620 Likewise.
20621 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20622 Likewise.
20623 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20624 Likewise.
20625
88a4576f
JM
20626 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20627 definition. Document in comment.
20628
402fe938
DM
206292012-06-01 David S. Miller <davem@davemloft.net>
20630
20631 * stdlib/longlong.h: Updated from GCC.
20632
3553723f
L
206332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20634
20635 [BZ #14117]
3bd872c4
L
20636 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20637 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20638 sys/debugreg.h sys/io.h here.
20639 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20640 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20641 sys/io.h.
20642 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20643 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20644 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20645 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20646 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20647 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20648
3553723f
L
20649 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20650 Define only if __x86_64__ is defined.
20651
4842e4fe
JM
206522012-06-01 Joseph Myers <joseph@codesourcery.com>
20653
c5bfe3d5
JM
20654 [BZ #14048]
20655 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20656 Use int64_t for variable i.
20657 * math/libm-test.inc (fmod_test): Add more tests.
20658
4842e4fe
JM
20659 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20660 z computation is not scheduled after fetestexcept.
20661 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20662 Use math_force_eval instead of asm to ensure calculation scheduled
20663 before exception test.
20664 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20665 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20666
efb73488
AJ
206672012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20668
20669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20670 computation is not scheduled after fetestexcept.
20671
29bcce7c
L
206722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20673
20674 [BZ #14117]
20675 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20676 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20677
73a68f94
AZ
206782012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20679
20680 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20681 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20682
67b6df78
L
206832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20684
edf2933a 20685 [BZ #14117]
ebc64a18
L
20686 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20687 <bits/wordsize.h>.
20688 (__WCHAR_MIN): Support __WORDSIZE == 64.
20689 (__WCHAR_MAX): Likewise.
20690
edf2933a
L
20691 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20692 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20693
57c6cf40
L
20694 [BZ #14183]
20695 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20696 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20697
67b6df78 20698 [BZ #14117]
8eb6281e
L
20699 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20700 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20701
aac639f4
L
20702 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20703 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20704
67b6df78
L
20705 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20706 Defined to 1 if __x86_64__ isn't defined.
20707 (_STAT_VER_LINUX_OLD): New.
20708 (st_atime): Remove duplicate.
20709 (st_mtime): Likewise.
20710 (st_ctime): Likewise.
20711
1c2cfe81
DM
207122012-05-31 David S. Miller <davem@davemloft.net>
20713
20714 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20715 entries.
20716
5be8418c
AS
207172012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20718
e7725326
AS
20719 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20720 gen-libm-test.pl.
20721
5be8418c
AS
20722 [BZ #14132]
20723 * elf/dl-reloc.c: Include <_itoa.h>.
20724 (_dl_reloc_bad_type): Remove use of INTUSE.
20725 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20726 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20727 * stdio-common/psiginfo.c (psiginfo): Likewise.
20728 * stdio-common/psignal.c (psignal): Likewise.
20729 * string/strsignal.c (strsignal): Likewise.
20730 * include/signal.h (_sys_siglist): Declare hidden proto.
20731 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20732 INTVARDEF with libc_hidden_data_def.
20733 * stdio-common/itoa-udigits.c: Likewise.
20734 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20735 (_itoa_lower_digits_internal): Remove declaration.
20736 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20737 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20738 (_sys_sigabbrev_internal): Remove aliases.
20739 (_sys_siglist): Define hidden alias.
20740
507352f1
MT
207412012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20742
20743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20744 bits/sysctl.h.
20745
42bbb1c3
L
207462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20747
20748 [BZ #14117]
6bd784b6
L
20749 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20750 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20751
8bca20f0
L
20752 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20753 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20754 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20755 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20756 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20757 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20758
f9e890a9
L
20759 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20760 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20761 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20762
471101a1
L
20763 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20764 with __addr.
20765 (insw): Likewise.
20766 (insl): Likewise.
20767 (outsb): Likewise.
20768 (outsw): Likewise.
20769 (outsl): Likewise.
20770
6451c862
L
20771 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20772 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20773 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20774
a254b8c9
L
20775 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20776 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20777 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20778 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20779 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20780 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20781
b8dfdd92
L
20782 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20783 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20784
578cd270
L
20785 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20786 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20787
de662f5f
L
20788 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20789 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20790 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20791
25653439
L
20792 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20793 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20794 to ...
20795 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20796
6bad24a0
L
20797 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20798 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20799 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20800
42bbb1c3
L
20801 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20802 for x86-64.
20803 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20804
2d10d547
JM
208052012-05-31 Joseph Myers <joseph@codesourcery.com>
20806
20807 * math/math.h (M_El): Use two more decimal places.
20808 (M_LOG2El): Likewise.
20809 (M_LOG10El): Likewise.
20810 (M_LN2l): Likewise.
20811 (M_LN10l): Likewise.
20812 (M_PIl): Likewise.
20813 (M_PI_2l): Likewise.
20814 (M_PI_4l): Likewise.
20815 (M_1_PIl): Likewise.
20816 (M_2_PIl): Likewise.
20817 (M_2_SQRTPIl): Likewise.
20818 (M_SQRT2l): Likewise.
20819 (M_SQRT1_2l): Likewise.
20820
f230c29b
DM
208212012-05-31 David S. Miller <davem@davemloft.net>
20822
20823 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20824 values between float registers.
20825 * sysdeps/sparc/sparc64/memset.S: Likewise.
20826 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20827
fed806c3
MF
208282012-05-31 Mike Frysinger <vapier@gentoo.org>
20829
20830 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20831 -D_FORTIFY_SOURCE=1.
20832 (CPPFLAGS-tst-longjmp_chk.c): Define.
20833 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20834 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20835 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20836 CFLAGS-tst-wchar-h.c.
20837
30917259
MP
208382012-05-31 Marek Polacek <polacek@redhat.com>
20839
20840 [BZ #14132]
20841 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20842 __endmntent_internal): Remove declaration.
20843 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20844 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20845 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20846
1c58d5dc
DM
208472012-05-30 David S. Miller <davem@davemloft.net>
20848
20849 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20850 (___Q_simulate_exceptions): Use real FP ops rather than writing
20851 into the %fsr.
20852 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20853 Likewise.
20854
7dc00e0d
L
208552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20856
20857 [BZ #14117]
0bd53985
L
20858 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20859 * sysdeps/x86/bits/xtitypes.h: This.
20860
3a257e66
L
20861 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20862 * sysdeps/x86/bits/wordsize.h: This.
20863
62f62904
L
20864 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20865 * sysdeps/x86/bits/huge_vall.h: This.
20866
404fe9d9
L
20867 * sysdeps/i386/bits/select.h: Removed.
20868 * sysdeps/x86_64/bits/select.h: Renamed to ...
20869 * sysdeps/x86/bits/select.h: This.
20870
d48d0446
L
20871 * sysdeps/i386/bits/setjmp.h: Removed.
20872 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20873 * sysdeps/x86/bits/setjmp.h: This.
20874
7dc00e0d
L
20875 * sysdeps/i386/bits/mathdef.h: Removed.
20876 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20877 * sysdeps/x86/bits/mathdef.h: This.
20878
03277f8f
AS
208792012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20880
20881 [BZ #14132]
20882 * include/sys/socket.h (__connect_internal)
20883 (__libc_sa_len_internal): Remove declaration.
20884 (__connect, __libc_sa_len): Declare hidden_proto.
20885 (SA_LEN): Remove use of INTUSE.
20886 * socket/connect.c: Add libc_hidden_def.
20887 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20888 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20889 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20890 alias.
20891 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20892 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20893 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20894 of adding _internal alias.
20895
13764867
L
208962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20897
20898 [BZ #14117]
6bd97696
L
20899 * sysdeps/i386/bits/link.h: Removed.
20900 * sysdeps/i386/bits/linkmap.h: Likewise.
20901 * sysdeps/x86_64/bits/link.h: Renamed to ...
20902 * sysdeps/x86/bits/link.h: This.
20903 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20904 * sysdeps/x86/bits/linkmap.h: This.
20905
f726f0bb
L
20906 * sysdeps/i386/bits/endian.h: Removed.
20907 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20908 * sysdeps/x86/bits/endian.h: This.
20909
13764867
L
20910 * sysdeps/i386/bits/byteswap.h: Removed.
20911 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20912 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20913 * sysdeps/x86/bits/byteswap.h: This.
20914 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20915 * sysdeps/x86/bits/byteswap-16.h: This.
20916 * sysdeps/i386/Implies: Add x86.
20917 * sysdeps/x86_64/Implies: Likewise.
20918
ae251b0b
DM
209192012-05-30 David S. Miller <davem@davemloft.net>
20920
20921 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20922 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20923 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20924 (FP_TRAPPING_EXCEPTIONS): Define.
20925 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20926 (FP_TRAPPING_EXCEPTIONS): Define.
20927 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20928 subnormals only when inexact has been signalled or underflow
20929 exceptions are enabled.
20930 (_FP_PACK_CANONICAL): Likewise.
20931
d5c90867
L
209322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20933
20934 [BZ #14183]
20935 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20936 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20937
63f1549e
RH
209382012-05-30 Richard Henderson <rth@twiddle.net>
20939
8d8f2279
RH
20940 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20941 with #ifndef NOT_IN_libc.
20942
63f1549e
RH
20943 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20944 marked to avoid plt entry.
20945
0ab0291b
L
209462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20947
20948 [BZ #14112]
20949 * Makeconfig (default-abi): New macro.
20950 (abi-includes): Likewise.
20951 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20952 $(abi-$(default-abi)-lib-soname) for soname if defined.
20953 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20954 abi-variants.
20955 * Makefile (installed-stubs): Likewise.
20956 * include/stubs-biarch.h: Removed.
20957 * scripts/lib-names.awk: Only handle one library at a time.
20958 * scripts/soversions.awk: Remove WORDSIZE support.
20959 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20960 entries.
20961 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20962 Removed.
20963 (syscall-list-default-condition): Likewise.
20964 (syscall-list-default-condition): Likewise.
20965 (syscall-list-includes): Likewise.
20966 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20967 syscall-list-* with abi-*. Handle undefined abi-variants.
20968 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20969 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20970 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20971 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20972 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20973 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20974 Removed.
20975 (syscall-list-32-options): Likewise.
20976 (syscall-list-32-condition): Likewise.
20977 (syscall-list-64-options): Likewise.
20978 (syscall-list-64-condition): Likewise.
20979 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20980 macro.
20981 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20982 Renamed to ...
20983 (abi-*): This.
20984 (abi-64-ld-soname): New macro.
20985 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20986 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20987 Renamed to ...
20988 (abi-*): This.
20989 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20990 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20991
4da0431d
JM
209922012-05-30 Joseph Myers <joseph@codesourcery.com>
20993
3a85279c
JM
20994 * sysdeps/unix/sysv/linux/kernel-features.h
20995 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20996 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20997 include <kernel-features.h>.
20998 [!__NR_ftruncate64]: Remove conditional code.
20999 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21000 [__NR_ftruncate64]: Make code unconditional.
21001 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21002 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21003 include <kernel-features.h>.
21004 [!__NR_ftruncate64]: Remove conditional code.
21005 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21006 [__NR_ftruncate64]: Make code unconditional.
21007 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21009 include <kernel-features.h>.
21010 [!__NR_ftruncate64]: Remove conditional code.
21011 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21012 [__NR_ftruncate64]: Make code unconditional.
21013 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21015 include <kernel-features.h>.
21016 [!__NR_ftruncate64]: Remove conditional code.
21017 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21018 [__NR_ftruncate64]: Make code unconditional.
21019 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21020
4da0431d
JM
21021 * configure.in (libc_cv_fpie): Weaken to a compile test using
21022 LIBC_TRY_CC_OPTION.
21023 * configure: Regenerated.
21024
11ef492c
AK
210252012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21026
21027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21031 Refreshed.
21032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21038 Refreshed.
21039
d66ef399
DM
210402012-05-27 David S. Miller <davem@davemloft.net>
21041
21042 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21043 (___Q_zero): New.
21044 (__Q_simulate_exceptions): Return void. Change to simulate
21045 exceptions by writing into the %fsr.
21046 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21047 (__Qp_handle_exceptions): Likewise.
21048 (numbers): Delete.
21049 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21050 __Qp_handle_exceptions.
21051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21052 __Qp_handle_exceptions.
21053 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21054 as unused and give dummy FP_RND_NEAREST initializer.
21055 (FP_INHIBIT_RESULTS): Define.
21056 (___Q_simulate_exceptions): Update declaration.
21057 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21058 formatting.
21059 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21060 as unused and give dummy FP_RND_NEAREST initializer.
21061 (__Qp_handle_exceptions): Update declaration.
21062 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21063 formatting.
21064
04fb54b5
TS
210652012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21066
21067 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21068 the temporary FPU control word.
21069 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21070 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21071 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21072 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21073 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21074 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21075 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21076 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21077 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21078 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21079 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21080
3f99608f
KK
210812012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21082
21083 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21084 fields.
21085
65a4de4e
CLT
210862012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21087
21088 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21089 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21090 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21091 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21092 Likewise.
21093 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21094 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21095 Likewise.
21096
15749d40
UD
210972012-05-27 Ulrich Drepper <drepper@gmail.com>
21098
21099 * po/h.po: Update from translation team.
21100
25dbcb27
AS
211012012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21102
3d3f8e55
AS
21103 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21104
25dbcb27
AS
21105 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21106 handling of denormals.
21107 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21108 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21109 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21110 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21111 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21114 Likewise.
21115
7ad47a80 211162012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
21117
21118 [BZ #14152]
21119 * math/libm-test.inc (fma_test): Don't always expect underflow
21120 exception.
21121
9c6ea9fa
SP
211222012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21123
21124 [BZ #12416]
21125 * elf/tst-execstack.c: Include stackinfo.h.
21126 (do_test): Adjust test case to ensure that pthread_getattr_np
21127 behaviour remains the same after marking stack executable.
21128
a8239222
JM
211292012-05-25 Joseph Myers <joseph@codesourcery.com>
21130
21131 * sysdeps/unix/sysv/linux/kernel-features.h
21132 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21133 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21134 kernel-features.h.
21135 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21136 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21137 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21138 kernel-features.h.
21139 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21140 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21141
918b5606
L
211422012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21143
21144 * configure.in: Define the default includes to being none.
21145 * configure: Regenerated.
21146
3a097cc7
RM
211472012-05-25 Roland McGrath <roland@hack.frob.com>
21148
8422c9a5
RM
21149 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21150 * sysdeps/x86_64/setjmp.S: Likewise.
21151 * sysdeps/i386/bsd-setjmp.S: Likewise.
21152 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21153 * sysdeps/i386/setjmp.S: Likewise.
21154 * sysdeps/i386/__longjmp.S: Likewise.
21155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21156 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21157
3a097cc7
RM
21158 * include/stap-probe.h: New file.
21159 * configure.in: Handle --enable-systemtap.
21160 * configure: Regenerated.
21161 * config.h.in (USE_STAP_PROBE): New #undef.
21162 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21163 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21164 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21165
21708942
JM
211662012-05-25 Joseph Myers <joseph@codesourcery.com>
21167
21168 [BZ #13717]
21169 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21170 to 2.4.0 where earlier.
21171 * sysdeps/unix/sysv/linux/configure: Regenerated.
21172 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21173 <kernel-features.h>.
21174 [__ASSUME_32BITUIDS]: Make code unconditional.
21175 [!__ASSUME_32BITUIDS]: Remove conditional code.
21176 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21177 <kernel-features.h>.
21178 [__ASSUME_32BITUIDS]: Make code unconditional.
21179 [!__ASSUME_32BITUIDS]: Remove conditional code.
21180 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21181 [__ASSUME_32BITUIDS]: Make code unconditional.
21182 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21183 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21184 <kernel-features.h>.
21185 [__ASSUME_32BITUIDS]: Make code unconditional.
21186 [!__ASSUME_32BITUIDS]: Remove conditional code.
21187 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
21196 <kernel-features.h>.
21197 [__ASSUME_32BITUIDS]: Make code unconditional.
21198 [!__ASSUME_32BITUIDS]: Remove conditional code.
21199 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21200 <kernel-features.h>.
21201 [__ASSUME_32BITUIDS]: Make code unconditional.
21202 [!__ASSUME_32BITUIDS]: Remove conditional code.
21203 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21204 <kernel-features.h>.
21205 [__ASSUME_32BITUIDS]: Make code unconditional.
21206 [!__ASSUME_32BITUIDS]: Remove conditional code.
21207 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21208 <kernel-features.h>.
21209 [__ASSUME_32BITUIDS]: Make code unconditional.
21210 [!__ASSUME_32BITUIDS]: Remove conditional code.
21211 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21212 <kernel-features.h>.
21213 [__ASSUME_32BITUIDS]: Make code unconditional.
21214 [!__ASSUME_32BITUIDS]: Remove conditional code.
21215 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21216 <kernel-features.h>.
21217 [__ASSUME_32BITUIDS]: Make code unconditional.
21218 [!__ASSUME_32BITUIDS]: Remove conditional code.
21219 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21220 <kernel-features.h>.
21221 [__ASSUME_32BITUIDS]: Make code unconditional.
21222 [!__ASSUME_32BITUIDS]: Remove conditional code.
21223 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21224 <kernel-features.h>.
21225 [__NR_setresgid] (__setresgid): Do not declare.
21226 [__ASSUME_32BITUIDS]: Make code unconditional.
21227 [!__ASSUME_32BITUIDS]: Remove conditional code.
21228 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21229 <kernel-features.h>.
21230 [__NR_setresuid] (__setresuid): Do not declare.
21231 [__ASSUME_32BITUIDS]: Make code unconditional.
21232 [!__ASSUME_32BITUIDS]: Remove conditional code.
21233 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21234 <kernel-features.h>.
21235 [__ASSUME_32BITUIDS]: Make code unconditional.
21236 [!__ASSUME_32BITUIDS]: Remove conditional code.
21237 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21238 <kernel-features.h>.
21239 [__ASSUME_32BITUIDS]: Make code unconditional.
21240 [!__ASSUME_32BITUIDS]: Remove conditional code.
21241 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21242 <kernel-features.h>.
21243 [__ASSUME_32BITUIDS]: Make code unconditional.
21244 [!__ASSUME_32BITUIDS]: Remove conditional code.
21245 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21246 <kernel-features.h>.
21247 [__ASSUME_32BITUIDS]: Make code unconditional.
21248 [!__ASSUME_32BITUIDS]: Remove conditional code.
21249 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21250 <kernel-features.h>.
21251 [__ASSUME_32BITUIDS]: Make code unconditional.
21252 [!__ASSUME_32BITUIDS]: Remove conditional code.
21253 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21254 <kernel-features.h>.
21255 [__ASSUME_32BITUIDS]: Make code unconditional.
21256 [!__ASSUME_32BITUIDS]: Remove conditional code.
21257 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21258 <kernel-features.h>.
21259 [__ASSUME_32BITUIDS]: Make code unconditional.
21260 [!__ASSUME_32BITUIDS]: Remove conditional code.
21261 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21262 <kernel-features.h>.
21263 [__ASSUME_32BITUIDS]: Make code unconditional.
21264 [!__ASSUME_32BITUIDS]: Remove conditional code.
21265 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21266 <kernel-features.h>.
21267 [__ASSUME_32BITUIDS]: Make code unconditional.
21268 [!__ASSUME_32BITUIDS]: Remove conditional code.
21269 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21270 <kernel-features.h>.
21271 [__ASSUME_32BITUIDS]: Make code unconditional.
21272 [!__ASSUME_32BITUIDS]: Remove conditional code.
21273 * sysdeps/unix/sysv/linux/kernel-features.h
21274 (__ASSUME_SETRESUID_SYSCALL): Remove.
21275 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21276 (__ASSUME_32BITUIDS): Likewise.
21277 (__ASSUME_LDT_WORKS): Likewise.
21278 (__ASSUME_O_DIRECTORY): Likewise.
21279 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21280 architecture but not kernel version.
21281 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21282 (__ASSUME_MMAP2_SYSCALL): Likewise.
21283 (__ASSUME_STAT64_SYSCALL): Likewise.
21284 (__ASSUME_IPC64): Likewise.
21285 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21286 <kernel-features.h>.
21287 [__ASSUME_32BITUIDS]: Make code unconditional.
21288 [!__ASSUME_32BITUIDS]: Remove conditional code.
21289 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21290 <kernel-features.h>.
21291 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21292 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21293 132096]: Remove conditional code.
21294 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21295 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21296 <kernel-features.h>.
21297 [__ASSUME_32BITUIDS]: Make code unconditional.
21298 [!__ASSUME_32BITUIDS]: Remove conditional code.
21299 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21300 <kernel-features.h>.
21301 [__ASSUME_32BITUIDS]: Make code unconditional.
21302 [!__ASSUME_32BITUIDS]: Remove conditional code.
21303 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21304 <kernel-features.h>.
21305 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21306 unconditional.
21307 (__setresgid): Do not declare.
21308 [__ASSUME_32BITUIDS]: Make code unconditional.
21309 [!__ASSUME_32BITUIDS]: Remove conditional code.
21310 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21311 <kernel-features.h>.
21312 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21313 unconditional.
21314 (__setresuid): Do not declare.
21315 [__ASSUME_32BITUIDS]: Make code unconditional.
21316 [!__ASSUME_32BITUIDS]: Remove conditional code.
21317 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21318 <kernel-features.h>.
21319 [__ASSUME_32BITUIDS]: Make code unconditional.
21320 [!__ASSUME_32BITUIDS]: Remove conditional code.
21321 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21322 <kernel-features.h>.
21323 [__ASSUME_32BITUIDS]: Make code unconditional.
21324 [!__ASSUME_32BITUIDS]: Remove conditional code.
21325
a386f1cc
RH
213262012-05-25 Richard Henderson <rth@twiddle.net>
21327
21328 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21329 dl_hwcap to ifunc resolver.
21330 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21331 elf_ifunc_invoke.
21332 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21333 dl_hwcap to ifunc resolver.
21334 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21335
b6550497
JM
213362012-05-24 Joseph Myers <joseph@codesourcery.com>
21337
21338 [BZ #14153]
21339 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21340 for |x| <= 2**-26, not 2**-57.
21341 * math/libm-test.inc (acos_test): Do not allow spurious underflow
21342 exception.
21343
b0bc23a1
JL
213442012-05-24 Jeff Law <law@redhat.com>
21345
21346 * stdio-common/Makefile (tests): Add bug25.
21347 * stdio-common/bug25.c: New test.
21348
347c92e9
L
213492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21350
21351 [BZ #13576]
21352 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21353 multiple of MALLOC_ALIGNMENT in size.
21354 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21355
6bcc8b3f
JM
213562012-05-24 Joseph Myers <joseph@codesourcery.com>
21357
21358 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21359 Require >= 256.
21360 (FILENAME_MAX): Use macro-int-constant.
21361 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
21362 (_IOFBF): Use macro-int-constant.
21363 (_IOLBF): Likewise.
21364 (_IONBF): Likewise.
21365 (SEEK_CUR): Likewise.
21366 (SEEK_END): Likewise.
21367 (SEEK_SET): Likewise.
21368 (TMP_MAX): Likewise.
21369 (EOF): Use macro-int-constant. Require < 0.
21370 (NULL): Use macro-constant. Require == 0.
21371 (stdin): Require type to be FILE *.
21372 (stdout): Likewise.
21373 (stderr): Likewise.
21374 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21375 macro-int-constant.
21376 (EXIT_SUCCESS): Likewise.
21377 (NULL): Use macro-constant. Require == 0.
21378 (RAND_MAX): Use macro-int-constant.
21379 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21380 [C99-based standards] (strtof): Require function.
21381 [C99-based standards] (strtold): Likewise.
21382 [C99-based standards] (strtoll): Likewise.
21383 [C99-based standards] (strtoull): Likewise.
21384 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21385 [ISO || ISO99 || ISO11] (limits.h): Likewise.
21386 [ISO || ISO99 || ISO11] (math.h): Likewise.
21387 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21388 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21390
d18ea0c5
AS
213912012-05-24 Andreas Schwab <schwab@linux-m68k.org>
21392
21393 [BZ #14132]
56d25bb8
AS
21394 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21395 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21396 * intl/dgettext.c (DCGETTEXT): Likewise.
21397 * intl/gettext.c (DCGETTEXT): Likewise.
21398 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21399 * posix/regex_internal.h (gettext): Likewise.
21400 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21401 Remove declaration.
21402 * include/argz.h (__argz_count_internal)
21403 (__argz_stringify_internal): Remove declaration.
21404 (__argz_count, __argz_stringify): Declare hidden proto.
21405 * intl/dcgettext.c: Remove use of INTDEF.
21406 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21407 * string/argz-stringify.c: Likewise.
21408 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21409 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21410 Declare hidden proto.
d18ea0c5
AS
21411 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21412 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21413 Declare hidden proto.
21414 * include/stdio.h (__asprintf_internal): Don't declare.
21415 (__asprintf): Don't define as macro. Declare hidden proto.
21416 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21417 (__fsetlocking): Declare hidden proto.
21418 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21419 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21420 hidden proto.
21421 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21422 (_IO_setlinebuf): Remove use of INTUSE.
21423 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21424 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21425 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21426 Remove declaration.
21427 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21428 (_IO_do_flush): Remove use of INTUSE.
21429 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21430 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21431 (_IO_adjust_column, _IO_least_wmarker)
21432 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21433 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21434 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21435 (_IO_default_doallocate, _IO_wdefault_doallocate)
21436 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21437 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21438 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21439 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21440 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21441 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21442 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21443 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21444 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21445 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21446 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21447 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21448 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21449 proto.
21450 (_IO_flush_all_internal, _IO_adjust_column_internal)
21451 (_IO_default_uflow_internal, _IO_default_finish_internal)
21452 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21453 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21454 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21455 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21456 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21457 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21458 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21459 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21460 (_IO_file_close_internal, _IO_file_close_it_internal)
21461 (_IO_file_underflow_internal, _IO_file_overflow_internal)
21462 (_IO_file_init_internal, _IO_file_attach_internal)
21463 (_IO_file_fopen_internal, _IO_file_read_internal)
21464 (_IO_file_sync_internal, _IO_file_seek_internal)
21465 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21466 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21467 (_IO_str_underflow_internal, _IO_str_overflow_internal)
21468 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21469 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21470 (_IO_list_all_internal, _IO_link_in_internal)
21471 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21472 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21473 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21474 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21475 (_IO_do_write_internal, _IO_padn_internal)
21476 (_IO_getline_info_internal, _IO_getline_internal)
21477 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21478 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21479 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21480 (_IO_vfscanf_internal, _IO_vfprintf_internal)
21481 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21482 (_IO_init_internal, _IO_un_link_internal): Don't declare.
21483 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21484 with libc_hidden_ver, remove use of INTUSE.
21485 * libio/genops.c: Likewise.
21486 * libio/freopen.c: Likewise.
21487 * libio/freopen64.c: Likewise.
21488 * libio/iofclose.c: Likewise.
21489 * libio/iofdopen.c: Likewise.
21490 * libio/iofflush.c: Likewise.
21491 * libio/iofflush_u.c: Likewise.
21492 * libio/iofgets.c: Likewise.
21493 * libio/iofgets_u.c: Likewise.
21494 * libio/iofopen.c: Likewise.
21495 * libio/iofopncook.c: Likewise.
21496 * libio/iofread.c: Likewise.
21497 * libio/iofread_u.c: Likewise.
21498 * libio/ioftell.c: Likewise.
21499 * libio/iofwrite.c: Likewise.
21500 * libio/iogetline.c: Likewise.
21501 * libio/iogets.c: Likewise.
21502 * libio/iogetwline.c: Likewise.
21503 * libio/iopadn.c: Likewise.
21504 * libio/iopopen.c: Likewise.
21505 * libio/ioseekoff.c: Likewise.
21506 * libio/ioseekpos.c: Likewise.
21507 * libio/iosetbuffer.c: Likewise.
21508 * libio/iosetvbuf.c: Likewise.
21509 * libio/ioungetc.c: Likewise.
21510 * libio/ioungetwc.c: Likewise.
21511 * libio/iovdprintf.c: Likewise.
21512 * libio/iovsprintf.c: Likewise.
21513 * libio/iovsscanf.c: Likewise.
21514 * libio/memstream.c: Likewise.
21515 * libio/obprintf.c: Likewise.
21516 * libio/oldfileops.c: Likewise.
21517 * libio/oldiofclose.c: Likewise.
21518 * libio/oldiofdopen.c: Likewise.
21519 * libio/oldiofopen.c: Likewise.
21520 * libio/oldiopopen.c: Likewise.
21521 * libio/oldstdfiles.c: Likewise.
21522 * libio/putc.c: Likewise.
21523 * libio/setbuf.c: Likewise.
21524 * libio/setlinebuf.c: Likewise.
21525 * libio/stdfiles.c: Likewise.
21526 * libio/strops.c: Likewise.
21527 * libio/vasprintf.c: Likewise.
21528 * libio/vscanf.c: Likewise.
21529 * libio/vsnprintf.c: Likewise.
21530 * libio/vswprintf.c: Likewise.
21531 * libio/wfiledoalloc.c: Likewise.
21532 * libio/wfileops.c: Likewise.
21533 * libio/wgenops.c: Likewise.
21534 * libio/wmemstream.c: Likewise.
21535 * libio/wstrops.c: Likewise.
21536 * libio/__fpurge.c: Likewise.
21537 * libio/__fsetlocking.c: Likewise.
21538 * assert/assert.c: Likewise.
21539 * debug/fgets_chk.c: Likewise.
21540 * debug/fgets_u_chk.c: Likewise.
21541 * debug/fread_chk.c: Likewise.
21542 * debug/fread_u_chk.c: Likewise.
21543 * debug/gets_chk.c: Likewise.
21544 * debug/obprintf_chk.c: Likewise.
21545 * debug/vasprintf_chk.c: Likewise.
21546 * debug/vdprintf_chk.c: Likewise.
21547 * debug/vsnprintf_chk.c: Likewise.
21548 * debug/vsprintf_chk.c: Likewise.
21549 * malloc/mtrace.c: Likewise.
21550 * misc/error.c: Likewise.
21551 * misc/syslog.c: Likewise.
21552 * stdio-common/asprintf.c: Likewise.
21553 * stdio-common/fxprintf.c: Likewise.
21554 * stdio-common/getw.c: Likewise.
21555 * stdio-common/isoc99_fscanf.c: Likewise.
21556 * stdio-common/isoc99_scanf.c: Likewise.
21557 * stdio-common/isoc99_vfscanf.c: Likewise.
21558 * stdio-common/isoc99_vscanf.c: Likewise.
21559 * stdio-common/isoc99_vsscanf.c: Likewise.
21560 * stdio-common/printf-prs.c: Likewise.
21561 * stdio-common/printf_fp.c: Likewise.
21562 * stdio-common/printf_fphex.c: Likewise.
21563 * stdio-common/printf_size.c: Likewise.
21564 * stdio-common/putw.c: Likewise.
21565 * stdio-common/scanf.c: Likewise.
21566 * stdio-common/sprintf.c: Likewise.
21567 * stdio-common/tmpfile.c: Likewise.
21568 * stdio-common/vfprintf.c: Likewise.
21569 * stdio-common/vfscanf.c: Likewise.
21570 * stdlib/strfmon_l.c: Likewise.
21571 * sunrpc/openchild.c: Likewise.
21572 * sunrpc/xdr_stdio.c: Likewise.
21573 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21574 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21575
d6c33fda
RM
215762012-05-24 Roland McGrath <roland@hack.frob.com>
21577
c1487492
RM
21578 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21579
21580 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21581 in the third column, to generate for the shared library an IFUNC
21582 that uses _dl_vdso_vsym.
21583 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21584 * Makeconfig (object-suffixes-noshared): New variable.
21585
21586 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21587 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21588 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21589 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21590
d6c33fda
RM
21591 [BZ #14132]
21592 * include/sys/time.h (__gettimeofday): Remove macro.
21593 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21594 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21595 Remove INTDEF.
21596 (__gettimeofday): Add libc_hidden_def.
21597 (gettimeofday): Add libc_hidden_weak.
21598 * sysdeps/mach/gettimeofday.c: Likewise.
21599 * sysdeps/posix/gettimeofday.c: Likewise.
21600 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21601 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21602 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21603 (__gettimeofday_internal): Remove strong_alias.
21604 (__gettimeofday): Add libc_hidden_def.
21605 (gettimeofday): Add libc_hidden_weak.
21606 * sysdeps/unix/syscalls.list (gettimeofday):
21607 Remove __gettimeofday_internal alias.
21608
b5a2bbe6
L
216092012-05-24 Daniel Jacobowitz <drow@false.org>
21610 H.J. Lu <hongjiu.lu@intel.com>
21611
21612 [BZ #12495]
21613 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21614 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21615 (largebin_index_32_big): New.
21616 (largebin_index): Use it for 16-byte alignment.
21617 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21618 correction with front_misalign.
21619
cfba4fda
L
216202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21621
7f907421
L
21622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21624 Likewise.
21625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21626 Likewise.
21627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21628 Likewise.
21629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21630 Likewise.
21631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21632 Likewise.
21633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21634 Likewise.
21635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21636 Likewise.
21637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21638 Likewise.
21639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21640 Likewise.
21641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21642 Likewise.
21643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21644 Likewise.
21645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21646 Likewise.
21647
cfba4fda
L
21648 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21649 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21650
80bad0cc
JM
216512012-05-24 Joseph Myers <joseph@codesourcery.com>
21652
7a25eb06
JM
21653 [BZ #10846]
21654 [BZ #14036]
21655 * math/libm-test.inc (exp_test): Add test from bug 14036.
21656 (pow_test): Add test from bug 10846.
21657
795405f9
JM
21658 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21659 and other flags.
21660 (special_function): Do not include flags in test name.
21661 (parse_args): Likewise.
21662 * sysdeps/i386/fpu/libm-test-ulps: Update.
21663 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21664 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21665 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21667
80bad0cc
JM
21668 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21669 exceptions.
21670 * math/libm-test.inc ("Philosophy"): Update comment about
21671 exception testing.
21672 (UNDERFLOW_EXCEPTION): New macro.
21673 (UNDERFLOW_EXCEPTION_OK): Likewise.
21674 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21675 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21676 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21677 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21678 (INVALID_EXCEPTION_OK): Update value.
21679 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21680 (OVERFLOW_EXCEPTION_OK): Likewise.
21681 (IGNORE_ZERO_INF_SIGN): Likewise.
21682 (test_exceptions): Handle underflow exceptions.
21683 (acos_test): Update for underflow exception expectations.
21684 (cexp_test): Likewise.
21685 (clog_test): Likewise.
21686 (clog10_test): Likewise.
21687 (csqrt_test): Likewise.
21688 (ctan_test): Likewise.
21689 (ctanh_test): Likewise.
21690 (exp_test): Likewise.
21691 (exp10_test): Likewise.
21692 (exp2_test): Likewise.
21693 (expm1_test): Likewise.
21694 (fma_test): Likewise.
21695 (j0_test): Likewise.
21696 (jn_test): Likewise.
21697 (nexttoward_test): Likewise.
21698 (pow_test): Likewise.
21699 (scalbn_test): Likewise.
21700 (scalbln_test): Likewise.
21701 (tan_test): Likewise.
21702 (y1_test): Likewise.
21703 * sysdeps/i386/fpu/libm-test-ulps: Update.
21704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21705
9e0e3d0b
DM
217062012-05-23 David S. Miller <davem@davemloft.net>
21707
21708 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21709 (__libc_sigaction): Remove unused local variables.
21710
ccd0a08f
L
217112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21712
21713 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21714
62bdf9a6
PE
217152012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21716
f8591f80
PE
21717 mktime: avoid signed integer overflow
21718 * time/mktime.c (__mktime_internal): Do not mishandle the case
21719 where diff == INT_MIN.
21720
94c7d826
PE
21721 mktime: simplify computation of average
21722 * time/mktime.c (ranged_convert): Use new time_t_avg function
21723 instead of rolling our own (probably-slower) code.
21724
ce73d683
PE
21725 mktime: do not assume signed right shift propagates sign bit
21726 * time/mktime.c (isdst_differ): New static function.
21727 (__mktime_internal): No need to normalize tm_isdst now.
21728 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21729 tm_isdst values.
21730
72a22e59
PE
21731 mktime: merge another wrapv change from gnulib
21732 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21733 from some compilers.
21734
68605433
PE
21735 mktime: remove incorrect attempt at unusual arithmetics
21736 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21737 The code didn't really work on such machines anyway.
21738 (TYPE_MINIMUM): Assume two's complement.
21739 (twos_complement_arithmetic): Verify that long_int and time_t
21740 are two's complement (or unsigned, in the latter case).
21741
03cf7fe3
PE
21742 mktime: check signed shifts on long_int and time_t, too
21743 * time/mktime.c (SHR): Check that shifts work as desired
21744 on the types long_int and time_t too, as SHR is used on
21745 such types.
21746
f04dfbc2
PE
21747 mktime: do not assume 'long' is wide enough
21748 * time/mktime.c (verify): Move decl up.
21749 (long_int): New type.
21750 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21751 to remove assumption in the code that 'long' is wide enough to
21752 store year values. This assumption is not true on x32 and on
21753 some non-glibc platforms.
21754
62bdf9a6
PE
21755 mktime: merge wrapv change from gnulib
21756 * time/mktime.c (WRAPV): New macro.
21757 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21758 (guess_time_tm, __mktime_internal): Do not assume that signed
21759 integer overflow wraps around; modern compilers generate code
21760 where this assumption is no longer valid.
21761
5e292e4f
L
217622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21763
21764 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21765 Replace "jmp L(pseudo_end)" with "ret".
21766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21767 Likewise.
21768
8caf8c87
AJ
217692012-05-23 Andreas Jaeger <aj@suse.de>
21770
21771 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21772 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21773
1a09dc56
AJ
217742012-05-23 Andreas Jaeger <aj@suse.de>
21775 Maximilian Attems <max@stro.at>
21776
21777 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21778 New macros.
21779
1c87aba0
L
217802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21781
21782 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21783 code so that pseudo_end is just ret and the stack pointer is
21784 correct also for static library in error case.
21785
40e45bd5
JM
217862012-05-23 Joseph Myers <joseph@codesourcery.com>
21787
c2670533
JM
21788 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21789 move to syscalls.list.
21790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21794
40e45bd5
JM
21795 * manual/install.texi (Running make install): Do not mention Linux
21796 kernel version for which pt_chown is not needed.
21797 (Linux): Do not mention problems with nscd with 2.0 kernels.
21798 * INSTALL: Regenerated.
21799
be08eda5
AJ
218002012-05-23 Andreas Jaeger <aj@suse.de>
21801
21802 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21803 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21804 macro.
21805 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21806 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21807 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21808 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21809 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21810 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21811 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21812 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21813 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21814 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21815 * sysdeps/unix/sysv/linux/bits/in.h
21816 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21817
a6a056bb
RM
218182012-05-22 Roland McGrath <roland@hack.frob.com>
21819
21820 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21821 (PREPARE_VERSION): Just use assert instead, it will be elided
21822 under [NDEBUG] anyway.
21823
c9009328
L
218242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21825
21826 * sysdeps/unix/sysv/linux/Makefile: Include
21827 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21828 (sysdep_routines): Remove sysctl.
c9009328
L
21829 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21830 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21831 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21832 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21833 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21834
73338355
AJ
218352012-05-22 Andreas Jaeger <aj@suse.de>
21836
21837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21838 that pseudo_end is just ret and the stack pointer is correct also
21839 for static library in error case.
21840
d44638b0
PP
218412012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21842
21843 [BZ #14122]
21844 * nss/nsswitch.c (defconfig_entries): New variable.
21845 (__nss_database_lookup): Don't leak defconfig entries.
21846 (nss_parse_service_list): Don't leak on error paths.
21847 (free_database_entries): New function.
21848 (free_defconfig): New function.
21849 (free_mem): Move common code to free_database_entries.
21850
31a39bd8
L
218512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21852
da0331a8
L
21853 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21854 Add arch_prctl.
21855 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21856
31a39bd8
L
21857 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21858 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21860 New macro.
21861 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21862 (INTERNAL_SYSCALL_TYPES): Likewise.
21863 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21864 (LOAD_REGS_TYPES_[1-6]): Likewise.
21865 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21866 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21867
45470df3
AZ
218682012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21869
21870 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21871 copysignl for GLIBC_2_0.
21872 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21873 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21874 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21875 logbl for GLIBC_2_0.
21876 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21877 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21878
98a61bcb
L
218792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21880
a4f6e481
L
21881 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21882 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21883
f63d5db6
L
21884 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21885 Use "neg %eax".
21886
98a61bcb
L
21887 * time/mktime.c: Update copyright years.
21888
95770f14
PE
218892012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21890
6226efbd
PE
21891 mktime: merge comment-quoting-style change from gnulib
21892 * time/mktime.c: Quote 'like this' in comments.
21893 The GNU coding standards suggest that we no longer quote `like this',
21894 as "`" and "'" are typically rendered asymmetrically nowadays.
21895 The typical gnulib style is to quote 'like this' when quoting
21896 code, and "like this" when quoting English.
21897
b99e4f78
PE
21898 * time/mktime.c (compile-command): Add "-I.".
21899
643e01e6
PE
21900 mktime: merge mktime-internal.h change from gnulib
21901 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21902
2554247d
PE
21903 mktime: merge time_r change from gnulib
21904 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21905
826dd0ab
PE
21906 mktime: merge DEBUG change from gnulib
21907 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21908 case system <time.h> has a #define.
21909
bd83aabe
PE
21910 mktime: merge <sys/types.h> change from gnulib
21911 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21912 since <time.t> is now guaranteed to define time_t.
21913
95770f14
PE
21914 mktime: merge HAVE_CONFIG_H change from gnulib
21915 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21916
5e1a27a9
L
219172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21918
0e44a77e
L
21919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21920 Use "neg %eax".
21921
5e1a27a9
L
21922 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21923 __rlim_t cast.
21924 (struct rusage): Use anonymous union to pad each field to
21925 __syscall_slong_t.
21926
46259bec
DM
219272012-05-21 David S. Miller <davem@davemloft.net>
21928
21929 * Makefules (o-iterator): Remove .s cases.
21930 (compile-command.s): Delete.
21931 (COMPILE.s): Delete.
21932 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21933
59f0c22e
JM
219342012-05-21 Joseph Myers <joseph@codesourcery.com>
21935
21936 * configure.in (libc_cv_predef_stack_protector): Only consider
21937 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21938 * configure: Regenerated.
21939
20c07380
L
219402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21941
bbb3154b
L
21942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21943 New macro. Use R*LP on int and pointer.
21944 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21945 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21946 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21947 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21948
20c07380
L
21949 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21950 [__WORDSIZE_TIME64_COMPAT32] instead of
21951 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21952 (struct utmp): Likewise.
21953 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21954 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21955 Renamed to ...
21956 (__WORDSIZE_TIME64_COMPAT32): This.
21957 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21958 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21959 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21960 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21961 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21962 (__WORDSIZE_TIME64_COMPAT32): New macro.
21963
d8d1017e
AJ
219642012-05-21 Andreas Jaeger <aj@suse.de>
21965
21966 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21967 only if [SHARED]. Add prototype for __wcschr_ia32.
21968
6c7fb145
RM
219692012-05-21 Roland McGrath <roland@hack.frob.com>
21970
21971 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21972 of %rbp unmolested in the jmp_buf while mangling the low bits.
21973 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21974 unmolested high bits of %rbp while demangling the low bits.
21975 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21976
66274218
AJ
219772012-05-21 Andreas Jaeger <aj@suse.de>
21978
07c58f8f
AJ
21979 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21980 * sunrpc/svc_simple.c: Use it for registerrpc.
21981 * sunrpc/xcrypt.c: Use it for passwd2des.
21982
66274218
AJ
21983 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21984
61f65140
L
219852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21986
21987 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21988 Don't define if [__SYSCALL_WORDSIZE != 32].
21989 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21990 New macro.
21991
5fefb436
AJ
219922012-05-21 Bruno Haible <bruno@clisp.org>
21993 Andreas Jaeger <aj@suse.de>
21994
21995 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21996 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21997 inptr and inend for must_buffer_ch.
21998 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21999 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22000 * stdio-common/Makefile (tests): Remove bug15.
22001 (bug15-ENV): Remove macro.
22002 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22003 anymore.
22004
d8e272ab
AJ
220052012-05-19 Andreas Jaeger <aj@suse.de>
22006 Roland McGrath <roland@hack.frob.com>
22007
22008 * manual/contrib.texi: Completely rewritten. It contains now an
22009 alphabetical list of contributors and their contributions.
22010
4a56a162
RH
220112012-05-21 Richard Henderson <rth@twiddle.net>
22012
22013 * misc/getauxval.c (__getauxval): Use unsigned long int.
22014 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22015 (getauxval): Use unsigned long int.
22016
d024d23c
L
220172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22018
22019 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22020
cbc00a03
RM
220212012-05-21 Roland McGrath <roland@hack.frob.com>
22022
22023 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22024 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22025 __alignof__ (long double).
22026
478143fa
AZ
220272012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22028
22029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22030
c7683a6d
RH
220312012-05-20 Richard Henderson <rth@twiddle.net>
22032
22033 * misc/getauxval.c: New file.
22034 * misc/sys/auxv.h: New file.
22035 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22036 (routines): Add getauxval.
22037 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22038 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22039 * elf/dl-sysdep.c (_dl_auxv): Remove.
22040 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22041 * elf/dl-support.c (_dl_auxv): New variable.
22042 (_dl_aux_init): Initialize it.
22043 * manual/startup.texi (Auxiliary Vector): New node.
22044 * sysdeps/generic/bits/hwcap.h: New file.
22045 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22046 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22047 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22048 * sysdeps/sparc/sysdep.h: ... here. Include it.
22049 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22050 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
22051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22052 Update.
c7683a6d
RH
22053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22056 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22061
a6f1845d
AZ
220622012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22063
22064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22065
cbcbe830
DM
220662012-05-19 David S. Miller <davem@davemloft.net>
22067
22068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22069
e0b16cc2
JM
220702012-05-19 Joseph Myers <joseph@codesourcery.com>
22071
22072 [BZ #14123]
22073 * math/s_ccosh.c: Include <float.h>
22074 (__ccosh): Avoid internal overflow calculating sinh and cosh
22075 values before multiplying by sin and cos values.
22076 * math/s_ccoshf.c: Likewise.
22077 * math/s_ccoshl.c: Likewise.
22078 * math/s_csin.c: Likewise.
22079 * math/s_csinf.c: Likewise.
22080 * math/s_csinl.c: Likewise.
22081 * math/s_csinh.c: Likewise.
22082 * math/s_csinhf.c: Likewise.
22083 * math/s_csinhl.c: Likewise.
22084 * math/libm-test.inc (ccos_test): Add more tests.
22085 (ccosh_test): Likewise.
22086 (csin_test): Likewise.
22087 (csinh_test): Likewise.
22088 * sysdeps/i386/fpu/libm-test-ulps: Update.
22089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22090
6ad13e08
L
220912012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22092
f66f0ce8
L
22093 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22094 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22095
6ad13e08
L
22096 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22097
b1d072a7
JM
220982012-05-19 Joseph Myers <joseph@codesourcery.com>
22099
22100 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22101 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22102 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22103 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22104 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22105 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22106 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22107 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22108 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22109 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22110 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22111 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22112 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22113 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22114 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22115 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22116 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22117 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22118 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22119 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22120 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22121 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22122 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22123 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22124 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22125 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22126 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22127 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22128 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22129 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22130 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22131
9eae47cb
AJ
221322012-05-18 Andreas Jaeger <aj@suse.de>
22133
22134 * csu/.gitignore: Delete.
22135
bb07f69f
L
221362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22137
22138 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22139 (timex): Use __syscall_slong_t.
22140
e6bdb741
AJ
221412012-05-18 Andreas Jaeger <aj@suse.de>
22142 Carlos O'Donell <carlos_odonell@mentor.com>
22143
22144 * manual/install.texi (Configuring and compiling): Update
22145 description about files modified in the source directory.
d6c33fda 22146 * INSTALL: Regenerated.
e6bdb741 22147
1b74487e
L
221482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22149
22150 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22151 value. Use "or" to set return value to -1.
22152 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22153 negate return value.
22154
a88b64b9
TMQMF
221552012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22156
22157 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22158 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22159 failure if the compiler has Graphite support disabled.
22160 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22161 Likewise.
22162 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22163 CFLAGS-memmove.c): Likewise.
22164 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22165 Likewise.
22166
3707636e
L
221672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22168
610b8622
L
22169 * sysdeps/x86_64/x32/_itoa.h: New file.
22170
7cd195df
L
22171 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22172 getdents system call only if kernel and user dirents have the
22173 same d_ino and d_off.
22174
94b07d20
L
22175 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22176 LLONG_MAX != LONG_MAX.
22177 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22178 (_fitoa_word): Likewise.
22179
18298070
L
22180 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22181 years.
22182 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22183 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22184 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22185
553c7ea4
L
22186 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22187 include <bits/wordsize.h>. Check __x86_64__ instead of
22188 __WORDSIZE.
22189 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22190 if __x86_64__ is defined. Use anonymous union on fpstate.
22191
3707636e
L
22192 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22193 anonymous union.
22194
b53ef01a
AS
221952012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22196
37fb1dc0
AS
22197 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22198 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22199 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22200 Refer to _rtld_local_ro instead of _rtld_global_ro.
22201 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22202 Likewise.
22203 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22204 Likewise.
22205 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22206 Likewise.
22207 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22208 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22209 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22210
b53ef01a
AS
22211 * sysdeps/powerpc/powerpc32/dl-machine.c
22212 (__elf_machine_runtime_setup) [PROF]: Don't reference
22213 _dl_prof_resolve.
22214
7a185db2
AJ
222152012-05-18 Andreas Jaeger <aj@suse.de>
22216
22217 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22218 function only available for GCCs before 3.4 since GCC 3.4
22219 introduced a builtin.
22220 (lrint): Likewise.
22221 (llrintf): Likewise.
22222 (llrint): Likewise.
22223 (fmaxf): Likewise.
22224 (fmax): Likewise.
22225 (fminf): Likewise.
22226 (fmin): Likewise.
22227 (rint): Likewise.
22228 (rintf): Likewise.
22229 (nearbyint): Likewise.
22230 (nearbyintf): Likewise.
22231 (ceil): Likewise.
22232 (ceilf): Likewise.
22233 (floor): Likewise.
22234 (floorf): Likewise.
22235
3e5aef87
L
222362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22237
428bd707
L
22238 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22239 on both fields and cast pointer to __syscall_ulong_t.
22240
3e5aef87
L
22241 * bits/types.h (__fsword_t): New type.
22242 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22243 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22245 (__FSWORD_T_TYPE): Likewise.
22246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22247 (__FSWORD_T_TYPE): Likewise.
22248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22249 (__FSWORD_T_TYPE): Likewise.
22250 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22251 (__FSWORD_T_TYPE): Likewise.
22252 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22253 __SWORD_TYPE with __fsword_t.
22254 (statfs64): Likewise.
22255
1ba7c3dc
DM
222562012-05-17 David S. Miller <davem@davemloft.net>
22257
22258 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22259
59910343
AJ
222602012-05-17 Andreas Jaeger <aj@suse.de>
22261
22262 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22263 warning.
22264
2e4c1e9e
L
222652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22266
22267 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22268
de7f5ce7
AJ
222692012-05-17 Andreas Jaeger <aj@suse.de>
22270
22271 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22272 when it is used.
22273
286abc3d
CM
222742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22275
22276 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22277
477cc68e
L
222782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22279
22280 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22281 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22282
1a0994f5
CD
222832012-05-17 Andreas Jaeger <aj@suse.de>
22284 Carlos O'Donell <carlos_odonell@mentor.com>
22285
22286 [BZ #14059]
22287 * sysdeps/x86_64/multiarch/init-arch.h
22288 (bit_YMM_Usable): Rename to...
22289 (bit_AVX_Usable): ... this.
22290 (bit_FMA4_Usable): New macro.
22291 (bit_XMM_state): New macro.
22292 (bit_YMM_state): New macro.
22293 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22294 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22295 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22296 (CPUID_OSXSAVE): New macro.
22297 (CPUID_AVX): New macro.
22298 (CPUID_FMA4): New macro.
22299 (index_YMM_Usable): Rename to...
22300 (index_AVX_Usable): ... this.
22301 (HAS_AVX): Use HAS_ARCH_FEATURE.
22302 (HAS_FMA4): Likewise.
22303 (HAS_YMM_USABLE): Remove.
22304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22305 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22306 are present.
22307 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22308 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22309 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22310 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22311 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22312
0af797de
CM
223132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22314
22315 * math/libm-test.c: Support platforms without multiple rounding modes.
22316 * math/bug-nextafter.c: Support platforms without FP exceptions.
22317 * math/bug-nexttoward.c: Likewise.
22318 * math/test-fenv.c: Likewise.
22319 * math/test-misc.c: Likewise.
22320 * stdlib/bug-getcontext.c: Likewise.
22321
e39745ff
AJ
223222012-05-17 Andreas Jaeger <aj@suse.de>
22323
22324 * manual/examples/search.c (critter_cmp): Change signature to
22325 avoid warnings.
22326 * manual/string.texi (Collation Functions): Likewise.
22327
48970aba
L
223282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22329
22330 * bits/types.h: Fold copyright years.
22331 * bits/typesizes.h: Likewise.
22332 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22333 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22335 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22336 * time/time.h: Likewise.
22337
bedee953
PP
223382012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
22339
22340 [BZ #208]
22341 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22342 in instead of returning them. Return void.
22343 (__libc_mallinfo): Accumulate over all arenas.
22344 (__malloc_stats): Adjust for change in int_mallinfo interface.
22345
61653dfb
RM
223462012-05-16 Roland McGrath <roland@hack.frob.com>
22347
30b99d79
RM
22348 [BZ #10375]
22349 * configure.in (NM): Add AC_CHECK_TOOL for it.
22350 (libc_extra_cflags): New substituted variable.
22351 Check for -fstack-protector being used implicitly.
22352 * configure: Regenerated.
22353 * config.make.in (config-extra-cflags): New variable,
22354 gets @libc_extra_cflags@.
22355 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22356
61653dfb
RM
22357 [BZ #10375]
22358 * configure.in: Check for _FORTIFY_SOURCE being predefined.
22359 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22360 * configure: Regenerated.
22361 * config.make.in (CPPUNDEFS): New substituted variable.
22362 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22363 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22364 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22365
661768bb
L
223662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22367
22368 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22369 (mq_attr): Use __syscall_slong_t.
22370
d4261567
L
223712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22372
22373 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22374 Check __x86_64__ instead of __WORDSIZE.
22375 (_STAT_VER_LINUX): Likewise.
22376 (stat): Check __x86_64__ instead of __WORDSIZE. Use
22377 __syscall_ulong_t and __syscall_slong_t.
22378 (stat64): Likewise.
22379
cf3ff365
L
223802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22381
22382 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22383
76cf3e4d
L
223842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22385
22386 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22387
a637753a
L
223882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22389
22390 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22391 __syscall_ulong_t.
22392
d5e05119
L
22393 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22394 include <bits/wordsize.h>. Check __x86_64__ instead of
22395 __WORDSIZE.
22396 (greg_t): Use "__extension__ long long int" if __x86_64__ is
22397 defined.
22398 (mcontext_t): Replace "unsigned long" with "unsigned long long".
22399
f62ee380
L
22400 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22401 include <bits/wordsize.h>. Check __x86_64__ instead of
22402 __WORDSIZE.
22403 (user_regs_struct): Use "__extension__ unsigned long long"
22404 instead of "unsigned long" if __x86_64__ is defined.
22405 (user): Likewise. Pad after pointer field if __ILP32__ is
22406 defined.
22407
4e124ced
JM
224082012-05-16 Joseph Myers <joseph@codesourcery.com>
22409
6a3951a0
JM
22410 * configure.in (makeinfo): Require version 4.5 or later. Allow
22411 versions 5 to 9.
22412 * configure: Regenerated.
22413 * manual/install.texi (texinfo): Increase version requirement to
22414 4.5 or later.
22415 * INSTALL: Regenerated.
22416
4e124ced
JM
22417 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22418
953ca31a
L
224192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
22420
22421 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22422
617aca05
L
22423 * sysdeps/x86_64/x32/ffs.c: New file.
22424
5762f7ae
L
22425 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22426 __syscall_ulong_t.
22427 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22428 defined. Use __syscall_ulong_t.
22429 (shminfo): Use __syscall_ulong_t.
22430 (shm_info): Likewise.
22431
a26b6856
L
22432 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22433 __syscall_ulong_t.
22434
cb2b9ef7
L
22435 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22436 <bits/wordsize.h>.
22437 (msgqnum_t): Use __syscall_ulong_t.
22438 (msglen_t): Likewise.
22439 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
22440 __syscall_ulong_t.
22441
34683bb0
L
22442 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22443 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22444
84a68786
L
22445 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22446
48baa5f1
L
22447 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22448 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22449
180be88b
L
22450 * sysvipc/sys/msg.h (msgbuf): Replace long int with
22451 __syscall_slong_t.
22452
5e90c8ad
L
22453 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22454 include <bits/wordsize.h>. Check __x86_64__ instead of
22455 __WORDSIZE.
22456
23dfb58b
L
22457 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22458 "unsigned long long int" if __x86_64__ is defined.
22459 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22460
ce5d54b0
L
22461 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22462 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22463 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22464
13dc9eac
L
22465 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22466 <stdint.h>.
22467 (GET_PC): Cast to uintptr_t first.
22468 (GET_FRAME): Likewise.
22469 (GET_STACK): Likewise.
22470
a7895d15
L
22471 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22472 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22473 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22474 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22475 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22476 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22477 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22478 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22479 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22480 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22481 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22482 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22483 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22484 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22485 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22486 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22487 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22488 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22489 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22490 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22491 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22492 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22493 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22494 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22495 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22496 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22497 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22498 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22499 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22500
656416c9
AS
225012012-05-16 Andreas Schwab <schwab@linux-m68k.org>
22502
5bd66283
AS
22503 * Makerules (+depfiles): Also collect depfiles from .oS in
22504 $(extra-objs).
22505 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22506 .oS, $(libnldbl-routines)).
22507
656416c9
AS
22508 * Makerules (native-compile-mkdep-flags): Define.
22509 * sunrpc/Makefile (extra-objs): Add $(addprefix
22510 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22511 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22512 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
22513 calling $(make-target-directory).
22514
a46f2169
L
225152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22516
22517 * bits/types.h (__snseconds_t): Removed.
22518 * time/time.h (struct timespec): Replace __snseconds_t with
22519 __syscall_slong_t.
22520 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22521 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22522 Likewise.
22523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22524 (__SNSECONDS_T_TYPE): Likewise.
22525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22526 (__SNSECONDS_T_TYPE): Likewise.
22527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22528 (__SNSECONDS_T_TYPE): Likewise.
22529
6af6528b
L
225302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22531
22532 * sysdeps/mach/hurd/bits/typesizes.h
22533 (__SYSCALL_SLONG_TYPE): New macro.
22534 (__SYSCALL_ULONG_TYPE): Likewise.
22535
de986b56
L
225362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22537
22538 * bits/types.h (__syscall_slong_t): New type.
22539 (__syscall_ulong_t): Likewise.
22540
22541 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22542 (__SYSCALL_ULONG_TYPE): Likewise.
22543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22544 (__SYSCALL_SLONG_TYPE): Likewise.
22545 (__SYSCALL_ULONG_TYPE): Likewise.
22546 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22547 (__SYSCALL_SLONG_TYPE): Likewise.
22548 (__SYSCALL_ULONG_TYPE): Likewise.
22549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22550 (__SYSCALL_SLONG_TYPE): Likewise.
22551 (__SYSCALL_ULONG_TYPE): Likewise.
22552
85736dc7
L
225532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22554
22555 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22556 Add sigaltstack-offsets.sym.
22557 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22558 <sigaltstack-offsets.h>.
22559 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
22560 longjmp_msg pointer.
22561 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
22562 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22563 signal stack.
22564 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22565
cc03b296
JM
225662012-05-15 Joseph Myers <joseph@codesourcery.com>
22567
a9538892
JM
22568 * elf/stackguard-macros.h: Remove file.
22569 * sysdeps/generic/stackguard-macros.h: New file.
22570 * sysdeps/i386/stackguard-macros.h: Likewise.
22571 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22572 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22573 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22574 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22575 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22576 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22577 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22578 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22579 <elf/stackguard-macros.h>.
22580
cc03b296
JM
22581 [BZ #14109]
22582 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22583 __aligned__ in attribute.
22584 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22585 (gregset_t): Likewise.
22586
93171016
L
225872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22588
22589 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22590 * sysdeps/x86_64/64/Implies-after: Here. New file.
22591 * sysdeps/x86_64/x32/Implies-after: New file.
22592
d86813a0
L
225932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22594
22595 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22596 and access return value for _dl_profile_fixup. Use R10_LP to
22597 load frame size.
22598
2953ec75
L
225992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22600
22601 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22602
3b550e9e
L
226032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22604
22605 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22606 * sysdeps/x86_64/x32/sysdep.h: New file.
22607
eda41706
L
226082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22609
22610 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22611 * sysdeps/x86_64/setjmp.S: Likewise.
22612
9ea01d93
AZ
226132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22614
22615 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22616 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22617 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22618 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22619 remove unused global constant.
22620
02a91938
CM
226212012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22622
22623 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22624 include of <not-cancel.h>.
22625
6540185f
RM
226262012-05-15 Roland McGrath <roland@hack.frob.com>
22627
22628 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22629
509072a0
AJ
226302012-05-15 Jeff Law <law@redhat.com>
22631 Andreas Jaeger <aj@suse.de>
22632
22633 [BZ #13594]
22634 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22635 out from...
22636 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22637 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22638 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22639 code changing __hst_map_handle.map.
22640
ba75122d
RM
226412012-05-15 Roland McGrath <roland@hack.frob.com>
22642
22643 * configure.in (sysnames): Look for Implies-before and Implies-after
22644 files.
22645 * configure: Regenerated.
22646
890d8bd8
L
226472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22648
22649 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22650 8-byte data alignment with LP_SIZE alignment.
22651
f6ee6623
L
226522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22653
22654 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22655 into R10_LP.
22656
ea2626f6
L
226572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22658
22659 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22660
085f715e
L
226612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22662
22663 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22664 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22665 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22666 Likewise.
22667 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22668
be8498fc
L
226692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22670
22671 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22672 (stackinfo_sub_sp): Likewise.
22673
70bc83b9
L
226742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22675
22676 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22677 RAX_LP.
22678
9bc0b730
L
226792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22680
22681 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22682 into R*_LP.
22683
6d2850e7
L
226842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22685
22686 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22687 sizes into R*_LP.
22688
3cb84561
L
226892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22690
22691 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22692
54e2ed81
L
226932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22694
22695 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22696 into R11_LP and load __x86_64_shared_cache_size_half into
22697 R8_LP.
22698
8a17f349
L
226992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22700
22701 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22702 R8_LP.
22703
777b1eea
AZ
227042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22705
22706 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22707 logb for POWER7.
22708 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22709 logbf for POWER7.
22710 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22711 logbl for POWER7.
22712 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22713 powerpc32/power7/fpu/s_logb.c via #include.
22714 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22715 powerpc32/power7/fpu/s_logbf.c via #include.
22716 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22717 powerpc32/power7/fpu/s_logbl.c via #include.
22718
d20d4ac2
JM
227192012-05-15 Joseph Myers <joseph@codesourcery.com>
22720
22721 * README.libm: Remove file.
22722
6cdef1ab
L
227232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22724
22725 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22726 count for x32. Use R*_LP and omit operand-size suffix.
22727
0b254d8f
L
227282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22729
22730 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22731 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22732 * sysdeps/x86_64/x32/shlib-versions: New file.
22733
ceb809dc
RM
227342012-05-14 Roland McGrath <roland@hack.frob.com>
22735
22736 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22737 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22738 Use _dl_fatal_printf instead.
22739
37f1abd4
JM
227402012-05-14 Joseph Myers <joseph@codesourcery.com>
22741
22742 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22743 set if not set by the user. Do not allow for being unset.
22744 * sysdeps/unix/sysv/linux/configure: Regenerated.
22745
11de3a33
L
227462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22747
22748 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22749 the `q' suffix from lea and replace .quad with ASM_ADDR.
22750
e02f153a
L
227512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22752
22753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22754 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22755 instead of $17.
22756 (PTR_DEMANGLE): Likewise.
22757
520ae0fd
L
227582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22759
22760 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22761 (LP_OP): Likewise.
22762 (ASM_ADDR): Likewise.
22763 (RAX_LP): Likewise.
22764 (RBP_LP): Likewise.
22765 (RBX_LP): Likewise.
22766 (RCX_LP): Likewise.
22767 (RDI_LP): Likewise.
22768 (RSI_LP): Likewise.
22769 (RSP_LP): Likewise.
22770 (R8_LP): Likewise.
22771 (R9_LP): Likewise.
22772 (R10_LP): Likewise.
22773 (R10_LP): Likewise.
22774 (R11_LP): Likewise.
22775 (R12_LP): Likewise.
22776 (R13_LP): Likewise.
22777 (R14_LP): Likewise.
22778 (R15_LP): Likewise.
22779
b985be81
L
227802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22781
22782 * sysdeps/x86_64/x32/dl-machine.h: New file.
22783
6a4888ff
AJ
227842012-05-14 Andreas Jaeger <aj@suse.de>
22785
22786 * manual/Makefile (subdir): Remove export of subdir.
22787 (all): Remove target.
22788 (.PHONY): Remove all from list.
22789 (mkinstalldirs): Remove.
22790 (.PHONY): Remove installdirs from list.
22791 ($(inst_infodir)/libc.info): Use make-target-directory.
22792 (installdirs): Remove.
22793 (subdir_%): Remove.
22794 (glibc-targets): Remove.
22795 (lib): Remove.
22796 (stubs): Remove.
22797 ($(objpfx)stubs ../po/manual.pot): Remove.
22798 ($(objpfx)stamp%): Remove.
22799 (make-target-directory): Remove.
22800 (subdir_install): Remove.
22801 (routines): Remove.
22802 (aux): Remove.
22803 (sources): Remove.
22804 (objects): Remove.
22805 (headers): Remove.
22806
22807 [BZ #13750]
22808 * manual/.gitignore: Remove, it's not needed anymore.
22809 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22810 all files in it.
22811 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22812 directory.
22813 (texis): Renamed to $(objpfx)texis.
22814 (texis-path): New, contains path to generated files.
22815 (chapters.%): Use texis-path for complete path, add extra argument
22816 libc-texinfo.sh.
22817 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22818 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22819 (summary,texi, stamp-summary): Use complete path of
22820 files. Generate files in build dir.
22821 (dir-add.texi): Build in build dir.
22822 (libm-err.texi,stamp-libm-err): Likewise.
22823 (version.texi, stamp-version): Likewise.
22824 (.%c.texi): Likewise.
22825 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22826 (mostlyclean): Remove target.
22827 (realclean): Remove target.
22828 (generated): Add new variable with contents from mostlyclean and
22829 realclean, remove entries duplicated in common-mostlyclean, add
22830 stamp-libm-err and stamp-version.
22831 (generated-dirs): Add libc directory.
22832 ($(inst_infodir)/libc.info): Install files from build dir.
22833
22834 * manual/install.texi (Configuring and compiling): Adjust since
22835 the info files are not part of the tar ball anymore.
22836
7ac77294
AJ
228372012-05-14 Andreas Jaeger <aj@suse.de>
22838
22839 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22840 variable.
22841
ffb7875d
JM
228422012-05-14 Joseph Myers <joseph@codesourcery.com>
22843
22844 [BZ #13717]
22845 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22846 to 2.2.0 where earlier.
22847 * sysdeps/unix/sysv/linux/configure: Regenerated.
22848 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22849 Remove conditional code.
22850 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22851 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22852 Remove conditional code.
22853 [!__NR_lchown]: Likewise.
22854 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22855 [__NR_lchown]: Likewise.
22856 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22857 comment referencing __ASSUME_LCHOWN_SYSCALL.
22858 * sysdeps/unix/sysv/linux/i386/sigaction.c
22859 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22860 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22861 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22862 Remove conditional code.
22863 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22864 (__protocol_available): Remove #if 0 code.
22865 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22866 conditional code.
22867 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22868 * sysdeps/unix/sysv/linux/kernel-features.h
22869 (__ASSUME_GETCWD_SYSCALL): Don't define.
22870 (__ASSUME_REALTIME_SIGNALS): Likewise.
22871 (__ASSUME_PREAD_SYSCALL): Likewise.
22872 (__ASSUME_PWRITE_SYSCALL): Likewise.
22873 (__ASSUME_POLL_SYSCALL): Likewise.
22874 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22875 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22876 non-SPARC.
22877 (__ASSUME_SIOCGIFNAME): Don't define.
22878 (__ASSUME_MSG_NOSIGNAL): Likewise.
22879 (__ASSUME_SENDFILE): Define unconditionally.
22880 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22881 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22882 conditional code.
22883 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22884 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22885 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22886 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22887 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22888 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22889 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22891 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22892 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22894 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22895 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22897 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22898 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22900 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22901 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22903 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22904 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22906 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22907 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22909 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22910 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22912 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22913 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22914 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22915 Remove conditional code.
22916 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22917 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22918 Remove conditional code.
22919 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22920 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22921 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22922 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22923 Remove conditional code.
22924 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22925 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22926 Remove conditional code.
22927 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22928 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22929 Remove conditional code.
22930 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22931 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22932 Remove conditional code.
22933 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22934 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22935 Remove conditional code.
22936 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22937 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22938 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22939 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22940 * sysdeps/unix/sysv/linux/sigaction.c
22941 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22942 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22943 * sysdeps/unix/sysv/linux/sigpending.c
22944 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22945 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22946 * sysdeps/unix/sysv/linux/sigprocmask.c
22947 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22948 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22949 * sysdeps/unix/sysv/linux/sigsuspend.c
22950 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22951 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22952 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22953 (__libc_missing_rt_sigs): Remove.
22954 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22955 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22956 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22957 Remove conditional code.
22958 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22959 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22960 return 1.
22961 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22962 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22963 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22964 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22965
1bfb7291
AJ
229662012-05-14 Andreas Jaeger <aj@suse.de>
22967
caae5a81
AJ
22968 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22969 it's not used in glibc.
22970 (__coshm1): Likewise.
22971 (__acosh1p): Likewise.
22972 (__sgn): Likewise.
22973
1bfb7291
AJ
22974 * manual/string.texi (Copying and Concatenation): Add missing
22975 variable in concat example.
22976 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22977
c044d724
L
229782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22979
144c5467 22980 [BZ #14103]
c044d724
L
22981 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22982 __builtin_clzl with __builtin_clzll.
22983
2523c62b
L
229842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22985
22986 [BZ #14104]
22987 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22988 libc_freeres_ptr.
22989
d7bb4c42
LD
229902012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22991
22992 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22993 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22994 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22995 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22996
9dc4e1fb
MF
229972012-05-14 Mike Frysinger <vapier@gentoo.org>
22998
22999 * NEWS: Update ia64 info.
23000
c7df0112
AS
230012012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23002
23003 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23004 used as bcopy.
23005
dc70356c
TS
230062012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23007
23008 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23009 * sysdeps/unix/syscalls.list (dup3): Likewise.
23010 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23011 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23012
9fb1a21f
L
230132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23014
23015 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23016 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23017
4822a2a5
L
230182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23019
23020 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23021 thread pointer.
23022 (TLS_IE): Use mov/add instead of movq/addq to load thread
23023 pointer.
23024 (TLS_GD_PREFIX): New.
23025 (TLS_GD): Use it.
23026
842b81d6
DM
230272012-05-11 David S. Miller <davem@davemloft.net>
23028
23029 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23030 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23031 (_FPU_SETCW): Likewise.
23032
1cf463cd
L
230332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23034
23035 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23036 is 32-byte aligned.
23037
60cc4a18
AS
230382012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23039
23040 [BZ #11837]
23041 * iconvdata/gb18030.c: Update tables.
23042 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23043 characters specially.
23044 (BODY for TO_LOOP): Add encoding of missing ranges.
23045
febb44a4
TS
230462012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23047
23048 [BZ #13673]
23049 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23050 * sysdeps/mach/hurd/dup3.c: Likewise.
23051 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23052 * sysdeps/powerpc/memmove.c:: Likewise.
23053
0a10fb9e
L
230542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23055
23056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23057 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23058
df8a552f
L
230592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23060
23061 * elf/elf.h (R_X86_64_RELATIVE64): New.
23062 (R_X86_64_NUM): Updated.
23063 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23064 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23065 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23066 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23067 tst-quad1pie tst-quad2pie
23068 (modules-names): Add tst-quadmod1 tst-quadmod2.
23069 ($(objpfx)tst-quad1): New dependency.
23070 ($(objpfx)tst-quad2): Likewise.
23071 ($(objpfx)tst-quad1pie): Likewise.
23072 ($(objpfx)tst-quad2pie): Likewise.
23073 * sysdeps/x86_64/tst-quad1.c: New file.
23074 * sysdeps/x86_64/tst-quad1pie.c: New file.
23075 * sysdeps/x86_64/tst-quad2.c: Likewise.
23076 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23077 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23078 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23079 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23080 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23081
f34d6f84
ST
230822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23083
f42d41d1
ST
23084 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23085 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23086 * streams/stropts.h (t_scalar_t): Define type.
23087
3c3571fc
ST
23088 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23089 (_PATH_PRESERVE): Set to "/var/lib".
23090 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23091
61f06bd3
ST
23092 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23093 instead of int.
23094
918d4d71
ST
23095 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23096 if __dir_mkfile succeeded.
23097
f34d6f84
ST
23098 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23099 checking for _hurd_dtablesize. Unlock it right after having
23100 finished _hurd_dtable allocation.
23101
10589b4a
TS
231022012-05-10 Thomas Schwinge <thomas@schwinge.name>
23103
674cdbc7
TS
23104 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23105 * sysdeps/mach/hurd/configure: Regenerated.
23106 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23107 special-casing to...
23108 * sysdeps/gnu/configure.in: ... this new file.
23109 * sysdeps/unix/sysv/linux/configure: Regenerated.
23110 * sysdeps/gnu/configure: New generated file.
23111
8e41b99f
TS
23112 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23113 for Linux: use nsec instead of usec, as well as:
23114 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23115 members of type struct timespec.
23116 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23117 New macros.
23118 (struct stat64): Likewise.
23119 (_STATBUF_ST_NSEC): New macro.
23120 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23121
10589b4a
TS
23122 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23123 __strtoul_internal rather than strtoul.
23124
63643c85
PT
231252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23126
23127 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23128 and reject them.
23129
3faebe6a
ST
231302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23131
23132 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23133 which preserves existing values.
23134 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23135
c6474b07
PT
231362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23137
23138 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23139 TIMEOUT values. Return EINVAL for NFDS values either negative or
23140 greater than FD_SETSIZE.
23141
1043890b
ST
231422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23143
23144 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23145 allocated, call __vm_protect to finish enabling the existing space, and
23146 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23147 allocate the remainder.
23148
37ed8b9b
PT
231492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23150
23151 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23152 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23153
db653660
ST
231542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23155
37ed8b9b
PT
23156 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23157 sysdeps/mach/hurd/readlink.c.
b29d4053 23158
db653660
ST
23159 * posix/tst-sysconf.c (posix_options): Only use
23160 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23161 _POSIX_SYNCHRONIZED_IO when they are defined
23162 * sysdeps/mach/hurd/bits/posix_opt.h:
23163 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23164 (_XOPEN_REALTIME): Undefine macro.
23165 (_XOPEN_REALTIME_THREADS): Undefine macro.
23166 (_XOPEN_SHM): Undefine macro.
23167 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23168 macro to -1.
23169 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23170 macro to -1.
23171 (_POSIX_ASYNC_IO): Undefine macro.
23172 (_POSIX_PRIORITIZED_IO): Undefine macro.
23173 (_POSIX_SPIN_LOCKS): Define macro to -1.
23174
ee16e894
ST
23175 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23176 SA_NODEFER, SA_RESETHAND.
23177 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23178 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23179 F_DUPFD_CLOEXEC.
23180
6103ae3b
TS
231812012-05-10 Thomas Schwinge <thomas@schwinge.name>
23182
23183 * elf/Makefile (pldd-modules): Define unconditionally.
23184
80b4e5f3
TS
231852012-05-10 Thomas Schwinge <thomas@schwinge.name>
23186
23187 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23188
edadcbd6
ST
231892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23190
23191 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23192 Return ENOENT when name is empty.
23193 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23194
80694780
TS
231952012-05-10 Thomas Schwinge <thomas@schwinge.name>
23196
1792c087
TS
23197 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23198
80694780
TS
23199 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23200
6b645f0d
ST
232012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23202
80694780
TS
23203 Fix mlock in all cases except non-readable pages.
23204 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23205 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 23206
6b645f0d
ST
23207 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23208 (__mkdir): When path is `/', just fail with EEXIST.
23209 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23210
e468f8a3
TS
232112012-05-10 Thomas Schwinge <thomas@schwinge.name>
23212
23213 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23214 <sys/uio.h> (for writev).
23215 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23216 and <sys/param.h> (for MIN).
23217
a4186cff
PT
232182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23219
23220 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23221 REQUESTED_TIME. Properly set the remaining time and return EINTR
23222 if interrupted.
23223
510bbf14
TS
232242012-05-10 Thomas Schwinge <thomas@schwinge.name>
23225
23226 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23227 Depend on against $(link-rpcuserlibs).
23228
5d5722e8
ST
232292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23230
a4186cff
PT
23231 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23232 (__libc_stack_end): Do not use attribute_relro.
23233 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23234 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 23235 to libthread-provided value.
a4186cff
PT
23236 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23237 attribute_relro.
5d5722e8 23238
37233df9
TS
232392012-05-10 Thomas Schwinge <thomas@schwinge.name>
23240
be971a2b
TS
23241 [BZ #3748]
23242 * bits/libc-lock.h (__libc_once_get): New macro.
23243 * sysdeps/mach/bits/libc-lock.h: Likewise.
23244 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23245 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23246 instead of using implementation details.
23247
37233df9
TS
23248 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23249 * libio/freopen.c: Likewise.
23250 * libio/freopen64.c: Likewise.
23251 * misc/syslog.c: Likewise.
23252 * nscd/connections.c: Likewise.
23253 * nscd/netgroupcache.c: Likewise.
23254 * sysdeps/posix/getcwd.c: Likewise.
23255
38de94a5
RM
232562012-05-10 Roland McGrath <roland@hack.frob.com>
23257
23258 * math/w_ilogbf.c: Add #include <limits.h>.
23259
67530489
ST
232602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23261
a4186cff 23262 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
23263 path instead of returning without unlocking.
23264
67530489
ST
23265 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23266 immediate-write ioctls.
23267 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23268
5aa3a74a
TS
232692012-05-10 Thomas Schwinge <thomas@schwinge.name>
23270
18bad2ae
TS
23271 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23272 __builtin_frame_address instead of making assumptions about the
23273 location of the return address relative to DATA. Force early load of
23274 the return address.
23275 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23276 __builtin_frame_address.
23277
5aa3a74a
TS
23278 dup3 for GNU Hurd.
23279 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23280 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23281 implement dup3 and do some further code clean-ups.
23282 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23283 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23284
ecd0de9a
ST
232852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23286
cd9fa985
ST
23287 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23288
a4186cff
PT
23289 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23290 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23291 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23292 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23293 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23294 d->port.lock.
802ca5a5 23295
a4186cff
PT
23296 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23297 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23298 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 23299
bcf55240
TS
233002012-05-10 Thomas Schwinge <thomas@schwinge.name>
23301
6960eb42
TS
23302 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23303 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23304 definitions.
23305
eb43375f
TS
23306 accept4 for GNU Hurd.
23307 * include/sys/socket.h (__libc_accept4): New prototype.
23308 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23309 to implement __libc_accept4.
23310 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23311 __libc_accept4.
23312 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23313
bcf55240
TS
23314 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23315 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23316 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23317 signal-defines.sym.
23318
6178c55b
ST
233192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23320
a4186cff 23321 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 23322
6f080c2f
TS
233232012-05-10 Thomas Schwinge <thomas@schwinge.name>
23324
23325 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23326 assertion on O_CLOEXEC flag.
23327 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23328 * hurd/intern-fd.c: Likewise.
23329 * hurd/port2fd.c: Likewise.
23330
bcfe3a54
ST
233312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23332
23333 [BZ #3906]
23334 * bits/in.h (IPV6_PKTINFO): Define new macro.
23335 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23336
89c9aa49
AZ
233372012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23338
23339 [BZ #13954]
23340 [BZ #13955]
23341 [BZ #13956]
23342 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23343 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23344 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23345 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23347 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23348 * math/libm-test.inc (logb_test) : Additional logb tests.
23349
021db4be
AJ
233502012-05-09 Andreas Schwab <schwab@linux-m68k.org>
23351 Andreas Jaeger <aj@suse.de>
23352
23353 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23354 * configure: Regenerated.
23355 * config.h.in (LINK_OBSOLETE_RPC): New macro.
23356 * config.make.in (link-obsolete-rpc): New substituted variable.
23357 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23358 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23359 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23360 (shared-only-routines): Don't set it under [link-obsolete-rpc],
23361 so that libc.a contains the symbols.
23362 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23363 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23364 * sunrpc/auth_none.c: Likewise.
23365 * sunrpc/auth_unix.c: Likewise.
23366 * sunrpc/authdes_prot.c: Likewise.
23367 * sunrpc/authuxprot.c: Likewise.
23368 * sunrpc/clnt_gen.c: Likewise.
23369 * sunrpc/clnt_perr.c: Likewise.
23370 * sunrpc/clnt_raw.c: Likewise.
23371 * sunrpc/clnt_simp.c: Likewise.
23372 * sunrpc/clnt_tcp.c: Likewise.
23373 * sunrpc/clnt_udp.c: Likewise.
23374 * sunrpc/clnt_unix.c: Likewise.
23375 * sunrpc/des_crypt.c: Likewise.
23376 * sunrpc/des_soft.c: Likewise.
23377 * sunrpc/get_myaddr.c: Likewise.
23378 * sunrpc/key_call.c: Likewise.
23379 * sunrpc/key_prot.c: Likewise.
23380 * sunrpc/netname.c: Likewise.
23381 * sunrpc/pm_getmaps.c: Likewise.
23382 * sunrpc/pm_getport.c: Likewise.
23383 * sunrpc/pmap_clnt.c: Likewise.
23384 * sunrpc/pmap_prot.c: Likewise.
23385 * sunrpc/pmap_prot2.c: Likewise.
23386 * sunrpc/pmap_rmt.c: Likewise.
23387 * sunrpc/publickey.c: Likewise.
23388 * sunrpc/rpc_cmsg.c: Likewise.
23389 * sunrpc/rpc_common.c: Likewise.
23390 * sunrpc/rpc_dtable.c: Likewise.
23391 * sunrpc/rpc_prot.c: Likewise.
23392 * sunrpc/rpc_thread.c: Likewise.
23393 * sunrpc/rtime.c: Likewise.
23394 * sunrpc/svc.c: Likewise.
23395 * sunrpc/svc_auth.c: Likewise.
23396 * sunrpc/svc_raw.c: Likewise.
23397 * sunrpc/svc_run.c: Likewise.
23398 * sunrpc/svc_tcp.c: Likewise.
23399 * sunrpc/svc_udp.c: Likewise.
23400 * sunrpc/svc_unix.c: Likewise.
23401 * sunrpc/svcauth_des.c: Likewise.
23402 * sunrpc/xcrypt.c: Likewise.
23403 * sunrpc/xdr.c: Likewise.
23404 * sunrpc/xdr_array.c: Likewise.
23405 * sunrpc/xdr_float.c: Likewise.
23406 * sunrpc/xdr_intXX_t.c: Likewise.
23407 * sunrpc/xdr_mem.c: Likewise.
23408 * sunrpc/xdr_rec.c: Likewise.
23409 * sunrpc/xdr_ref.c: Likewise.
23410 * sunrpc/xdr_sizeof.c: Likewise.
23411 * sunrpc/xdr_stdio.c: Likewise.
23412
b5c086a2
RM
234132012-05-10 Roland McGrath <roland@hack.frob.com>
23414
23415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23416 change. Update copyright years.
23417
6d74dd09
JM
234182012-05-10 Joseph Myers <joseph@codesourcery.com>
23419
23420 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23421
28e72501
MK
234222012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
23423 Joseph Myers <joseph@codesourcery.com>
23424 Paul Pluzhnikov <ppluzhnikov@google.com>
23425
23426 [BZ #14012]
23427 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23428 requiring rpcgen.
23429 [cross-compiling] (extra-libs): Likewise.
23430 [cross-compiling] (extra-libs-others): Likewise.
23431 [cross-compiling] (librpcsvc-routines): Likewise.
23432 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23433 [cross-compiling] (omit-deps): Likewise.
23434 (sunrpc-CPPFLAGS): New variable.
23435 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23436 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23437 (cross-rpcgen-objs): New variable.
23438 (extra-objs): Append $(cross-rpcgen-objs).
23439 ($(cross-rpcgen-objs)): New rule.
23440 ($(objpfx)cross-rpcgen): Likewise.
23441 (rpcgen-cmd): Define to use $(built-program-file). Expand
23442 comment.
23443 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23444 ($(objpfx)x%.stmp): Likewise.
23445 * sunrpc/proto.h [IS_IN_build] (_): Define.
23446 [IS_IN_build] (_libc_intl_domainname): Likewise.
23447
c8c59454
L
234482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23449
23450 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23451 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23452 and R_X86_64_TPOFF64.
23453
6f27cd16
JM
234542012-05-10 Joseph Myers <joseph@codesourcery.com>
23455
23456 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23457 sysdeps/unix/sysv/syscalls.list.
23458 (stime): Likewise.
23459 (utime): Likewise.
23460 * sysdeps/unix/sysv/syscalls.list: Remove file.
23461
02467e1c
PE
234622012-05-10 Paul Eggert <eggert@cs.ucla.edu>
23463
23464 [BZ #3440]
23465 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23466 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23467 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23468 (__LC_IDENTIFICATION): Make these macros useful in #if
23469 expressions, as required by C99.
23470
da392631
AS
234712012-05-10 Andreas Schwab <schwab@linux-m68k.org>
23472
23473 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23474 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
23475 after this.
23476
8115f29b
L
234772012-05-09 H.J. Lu <hongjiu.lu@intel.com>
23478
23479 * stdlib/longlong.h: Updated from GCC.
23480
bdd74070
AJ
234812012-05-09 Andreas Jaeger <aj@suse.de>
23482
edfe0dbe
AJ
23483 * nscd/nscd.c (run_modes): Make named enum, reorder so that
23484 default is first entry.
23485 (run_mode): Set type.
23486 (main): Remove informal message about syslog.
23487 (options): Fix typo.
23488
bcfe3a54
ST
23489 [BZ #14053]
23490 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 23491 to asm.
bcfe3a54
ST
23492 (lrint): Likewise.
23493 (llrintf): Likewise.
23494 (llrint): Likewise.
23495 (rint): Likewise.
23496 (rintf): Likewise.
23497 (nearbyint): Likewise.
23498 (nearbyintf): Likewise.
bdd74070 23499
91d8d69e
AJ
235002012-05-09 Andreas Jaeger <aj@suse.de>
23501 Pedro Alves <palves@redhat.com>
23502
23503 * nscd/nscd.c (run_mode): Use enum.
23504 (main): Cleanup coding style issue.
23505
bb90b80b
AJ
235062012-05-09 Alexandre Oliva <aoliva@redhat.com>
23507 Andreas Jaeger <aj@suse.de>
23508
bcfe3a54
ST
23509 * nscd/nscd.c (go_background): Replaced with...
23510 (run_mode): ... this.
bb90b80b 23511 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
23512 (options): Add -F --foreground.
23513 (main): Implement it.
23514 (parse_opt): Parse it.
bb90b80b 23515
1a4b75a1
AJ
235162012-05-09 Andreas Jaeger <aj@suse.de>
23517
23518 [BZ #14083]
23519 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23520 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23521 -Wconversion warning.
23522 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23523 Likewise.
23524
b1cc2472
JM
235252012-05-09 Joseph Myers <joseph@codesourcery.com>
23526
23527 * conform/data/locale.h-data (NULL): Use macro-constant. Require
23528 == 0.
23529 (LC_ALL): Use macro-int-constant.
23530 (LC_COLLATE): Likewise.
23531 (LC_CTYPE): Likewise.
23532 (LC_MESSAGES): Likewise.
23533 (LC_MONETARY): Likewise.
23534 (LC_NUMERIC): Likewise.
23535 (LC_TIME): Likewise.
23536 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23537 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23539 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23540 Specify type.
23541 [C99-based standards] (float_t): Expect type.
23542 [C99-based standards] (double_t): Expect type.
23543 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
23544 type.
23545 [C99-based standards] (HUGE_VALL): Likewise.
23546 [C99-based standards] (INFINITY): Likewise.
23547 [C99-based standards] (NAN): Likewise.
23548 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23549 [C99-based standards] (FP_NAN): Likewise.
23550 [C99-based standards] (FP_NORMAL): Likewise.
23551 [C99-based standards] (FP_SUBNORMAL): Likewise.
23552 [C99-based standards] (FP_ZERO): Likewise.
23553 [C99-based standards] (FP_FAST_FMA): Use
23554 optional-macro-int-constant. Specify type. Require == 1.
23555 [C99-based standards] (FP_FAST_FMAF): Likewise.
23556 [C99-based standards] (FP_FAST_FMAL): Likewise.
23557 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23558 [C99-based standards] (FP_ILOGBNAN): Likewise.
23559 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23560 Specify type.
23561 [C99-based standards] (MATH_ERREXCEPT): Likewise.
23562 [C99-based standards] (math_errhandling): Specify type.
23563 [ISO99 || ISO11] (signgam): Do not allow.
23564 [non-C99-based standards] (copysignf): Do not allow.
23565 [non-C99-based standards] (exp2f): Likewise.
23566 [non-C99-based standards] (log2f): Likewise.
23567 [non-C99-based standards] (modff): Allow.
23568 [non-C99-based standards] (erff): Do not allow.
23569 [non-C99-based standards] (erfcf): Likewise.
23570 [non-C99-based standards] (gammaf): Likewise.
23571 [non-C99-based standards] (hypotf): Likewise.
23572 [non-C99-based standards] (j0f): Likewise.
23573 [non-C99-based standards] (j1f): Likewise.
23574 [non-C99-based standards] (jnf): Likewise.
23575 [non-C99-based standards] (lgammaf): Likewise.
23576 [non-C99-based standards] (tgammaf): Likewise.
23577 [non-C99-based standards] (y0f): Likewise.
23578 [non-C99-based standards] (y1f): Likewise.
23579 [non-C99-based standards] (ynf): Likewise.
23580 [non-C99-based standards] (isnanf): Likewise.
23581 [non-C99-based standards] (acoshf): Likewise.
23582 [non-C99-based standards] (asinhf): Likewise.
23583 [non-C99-based standards] (atanhf): Likewise.
23584 [non-C99-based standards] (cbrtf): Likewise.
23585 [non-C99-based standards] (expm1f): Likewise.
23586 [non-C99-based standards] (ilogbf): Likewise.
23587 [non-C99-based standards] (log1pf): Likewise.
23588 [non-C99-based standards] (logbf): Likewise.
23589 [non-C99-based standards] (nextafterf): Likewise.
23590 [non-C99-based standards] (remainderf): Likewise.
23591 [non-C99-based standards] (rintf): Likewise.
23592 [non-C99-based standards] (scalbf): Likewise.
23593 [non-C99-based standards] (copysignl): Likewise.
23594 [non-C99-based standards] (exp2l): Likewise.
23595 [non-C99-based standards] (log2l): Likewise.
23596 [non-C99-based standards] (modfl): Allow.
23597 [non-C99-based standards] (erfl): Do not allow.
23598 [non-C99-based standards] (erfcl): Likewise.
23599 [non-C99-based standards] (gammal): Likewise.
23600 [non-C99-based standards] (hypotl): Likewise.
23601 [non-C99-based standards] (j0l): Likewise.
23602 [non-C99-based standards] (j1l): Likewise.
23603 [non-C99-based standards] (jnl): Likewise.
23604 [non-C99-based standards] (lgammal): Likewise.
23605 [non-C99-based standards] (tgammal): Likewise.
23606 [non-C99-based standards] (y0l): Likewise.
23607 [non-C99-based standards] (y1l): Likewise.
23608 [non-C99-based standards] (ynl): Likewise.
23609 [non-C99-based standards] (isnanl): Likewise.
23610 [non-C99-based standards] (acoshl): Likewise.
23611 [non-C99-based standards] (asinhl): Likewise.
23612 [non-C99-based standards] (atanhl): Likewise.
23613 [non-C99-based standards] (cbrtl): Likewise.
23614 [non-C99-based standards] (expm1l): Likewise.
23615 [non-C99-based standards] (ilogbl): Likewise.
23616 [non-C99-based standards] (log1pl): Likewise.
23617 [non-C99-based standards] (logbl): Likewise.
23618 [non-C99-based standards] (nextafterl): Likewise.
23619 [non-C99-based standards] (remainderl): Likewise.
23620 [non-C99-based standards] (rintl): Likewise.
23621 [non-C99-based standards] (scalbl): Likewise.
23622 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23623 [non-C99-based standards] (FP_*): Do not allow.
23624 [C99-based standards] (FP_*): Change to
23625 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23626 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23627 allow.
23628 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23629 (SIG_ERR): Likewise.
23630 [X/Open-based standards] (SIG_HOLD): Likewise.
23631 (SIG_IGN): Likewise.
23632 (SIGABRT): Use macro-int-constant. Specify type. Require
23633 positive value.
23634 (SIGFPE): Likewise.
23635 (SIGILL): Likewise.
23636 (SIGINT): Likewise.
23637 (SIGSEGV): Likewise.
23638 (SIGTER): Likewise.
23639 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23640 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23641 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23642 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23643 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23644 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23645 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23646 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23647 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23648 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23649 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23650 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23651 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23652 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23653 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23654 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23655 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23656 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23657 [X/Open-based standards] (SIGTRAP): Likewise.
23658 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23659 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23660 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23661 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23662 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23663 allow.
23664
b9f1922d
IW
236652012-05-08 Ian Wienand <ianw@vmware.com>
23666
23667 [BZ #14080]
23668 * time/tzset.c (__tzset_parse_tz): Update default rules for
23669 daylight time changes in the Energy Policy Act of 2005.
23670
1db86e88
AJ
236712012-05-09 Andreas Jaeger <aj@suse.de>
23672
23673 [BZ #13983]
23674 * elf/ldconfig.c (parse_conf): Change string to make clear that
23675 ldconfig only issued a warning if ld.so.conf does not exist.
23676
dee4a4e3
DM
236772012-05-08 David S. Miller <davem@davemloft.net>
23678
ee0db190
DM
23679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23680 movxtod instead of popping the value on the stack.
23681
dee4a4e3
DM
23682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23683
6a43ec98
CD
236842012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23685
23686 * config.h.in: Add HAVE_ARM_PCS_VFP.
23687
05c2c961
RMG
236882012-05-08 Roland Mc Grath <roland@hack.frob.com>
23689
bcfe3a54
ST
23690 [BZ #13979]
23691 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23692 checking but the checks are disabled for any reason.
05c2c961 23693
4b30f61a
L
236942012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23695
23696 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23697 and ELF64_R_TYPE with ELFW(R_TYPE).
23698
eee2bc67
JM
236992012-05-08 Joseph Myers <joseph@codesourcery.com>
23700
7ea5391a
JM
23701 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23702 (ulimit): Likewise.
23703
eee2bc67
JM
23704 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23705 (settimeofday): Likewise.
23706
abb66a67
MF
237072012-05-08 Mike Frysinger <vapier@gentoo.org>
23708
23709 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23710 a struct th_u2 inside the union, and move tu_block/tu_code into
23711 a new th_u3 union of tu_block/tu_code inside of that. Move
23712 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23713 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23714 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23715 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23716 (th_stuff): Change to th_u1.tu_stuff.
23717 (th_data): Define.
23718 (th_msg): Change to th_u1.th_u2.tu_data.
23719
7f18b530
DM
237202012-05-07 David S. Miller <davem@davemloft.net>
23721
05760585
DM
23722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23723
7f18b530
DM
23724 [BZ #14074]
23725 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23726 (SETUP_PIC_REG): Use it.
23727 (SETUP_PIC_REG_LEAF): Use it.
23728
495fd99f
JM
237292012-05-07 Joseph Myers <joseph@codesourcery.com>
23730
23731 [BZ #13885]
23732 [BZ #13923]
23733 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23734 USE_AS_EXPM1L.
23735 (EXPL_FINITE): Likewise.
23736 (FLDLOG): Likewise.
23737 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23738 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23739 e_expl.S.
23740 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23741 USE_AS_EXPM1L.
23742 (EXPL_FINITE): Likewise.
23743 (FLDLOG): Likewise.
23744 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23745 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23746 e_expl.S.
23747 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23748 test of -max_value argument for long double.
23749 * sysdeps/i386/fpu/libm-test-ulps: Update.
23750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23751
6693d694
DM
237522012-05-06 David S. Miller <davem@davemloft.net>
23753
23754 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23755 quad soft-float symbols whose references which are compiler
23756 generated.
23757 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23758
6c23e11c
JM
237592012-05-06 Joseph Myers <joseph@codesourcery.com>
23760
d8b82cad
JM
23761 [BZ #13884]
23762 [BZ #13914]
23763 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23764 USE_AS_EXP10L.
23765 (EXPL_FINITE): Likewise.
23766 (FLDLOG): Likewise.
23767 (c0): Likewise.
23768 (c1): Likewise.
23769 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23770 Adjust comments for base varying.
23771 (__expl_finite): Change alias to EXPL_FINITE.
23772 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23773 e_expl.S.
23774 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23775 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23776 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23777 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23778 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23788 tests for bugs.
23789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23790
6c23e11c
JM
23791 [BZ #14064]
23792 * math/libm-test.inc (check_float_internal): Correct ulp
23793 calculation for subnormal expected results.
23794
29ba805c
AJ
237952012-05-06 Andreas Jaeger <aj@suse.de>
23796
23797 * Makeconfig (+math-flags): New, set to -frounding-math.
23798 (+cflags): Add +math-flags so that all of glibc gets compiled with
23799 it.
23800
23801 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23802
7b17aeda
JM
238032012-05-05 Joseph Myers <joseph@codesourcery.com>
23804
5779f134
JM
23805 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23806 Disable one test.
23807
41498f4d
JM
23808 [BZ #13787]
23809 [BZ #13922]
23810 [BZ #14036]
23811 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23812 (__ieee754_expl): Allow for and saturate large arguments.
23813 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23814 (u_threshold): Likewise.
23815 (__exp): Call __ieee754_exp before checking for overflow and
23816 underflow.
23817 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23818 (u_threshold): Likewise.
23819 (__expf): Call __ieee754_expf before checking for overflow and
23820 underflow.
23821 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23822 (u_threshold): Likewise.
23823 (__expl): Call __ieee754_expl before checking for overflow and
23824 underflow.
23825 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23826 (__ieee754_expl): Allow for and saturate large arguments.
23827 * math/libm-test.inc (exp_test): Add another test. Do not allow
23828 missing overflow exception on overflow.
23829 (expm1_test): Do not allow missing overflow exception on overflow.
23830
6698b8bf
JM
23831 * sysdeps/i386/fpu/e_expl.c: Move to ...
23832 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23833 rather than using inline asm.
23834 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23835 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23836 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23837
7b17aeda
JM
23838 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23839 (nice): Likewise.
23840 (poll): Likewise.
23841 (signal): Likewise.
23842 (time): Likewise.
23843 (times): Likewise.
23844
f7c85819
JM
238452012-05-04 Joseph Myers <joseph@codesourcery.com>
23846
23847 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23848 sysdeps/unix/common/syscalls.list.
23849 (fchmod): Likewise.
23850 (fchown): Likewise.
23851 (ftruncate): Likewise.
23852 (getrusage): Likewise.
23853 (gettimeofday): Likewise.
23854 (setpgid): Likewise.
23855 (setregid): Likewise.
23856 (setreuid): Likewise.
23857 (sigaction): Likewise.
23858 (truncate): Likewise.
23859 (vhangup): Likewise.
23860 * sysdeps/unix/common/syscalls.list: Remove file.
23861 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23862 * sysdeps/unix/sysv/linux/Implies: Likewise.
23863
336270d0
L
238642012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23865
23866 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23868 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23869 Moved to ...
23870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23871 Here.
23872 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23873 to ...
23874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23875 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23876 to ...
23877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23878 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23879 to ...
23880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23881 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23882 to ...
23883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23884 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23885 to ...
23886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23887 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23888 to ...
23889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23890 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23891 to ...
23892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23893 Here.
23894 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23895 to ...
23896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23897 Here.
23898 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23899 to ...
23900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23901 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23902 Moved to ...
23903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23904 Here.
23905 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23906 to ...
23907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23908
d128e450
JM
239092012-05-04 Joseph Myers <joseph@codesourcery.com>
23910
fa8ee516
JM
23911 * sysdeps/unix/common/bits/dirent.h: Remove file.
23912 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23913
d128e450
JM
23914 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23915 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23916 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23917 * sysdeps/unix/bsd/isatty.c: Likewise.
23918 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23919 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23920 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23921
ff8faaf0 239222012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23923
62881be4 23924 [BZ #13563]
31dc8730
AZ
23925 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23926 long double comparison inaccuracies.
23927 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23929
6fef930c
AS
239302012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23931
23932 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23933 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23934
8f203e6c
JM
239352012-05-04 Joseph Myers <joseph@codesourcery.com>
23936
23937 [BZ #14049]
23938 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23939 nonzero digits before rounding a hex value.
23940 * stdlib/tst-strtod.c (tests): Add another test.
23941
5197d9c2
AK
239422012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23943
23944 * sysdeps/s390/fpu/libm-test-ulps: Update.
23945
f0c1dedf
AJ
239462012-05-03 Andreas Jaeger <aj@suse.de>
23947
23948 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23949 does not get optimized out.
23950 (malloc_opt_barrier): New.
23951
a65ef2ae 239522012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23953 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23954
2b942cb7 23955 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23956 intermediate file deletion.
2b942cb7 23957 (generated): Add .symlist files.
a65ef2ae 23958
54b71e02
JM
239592012-05-03 Joseph Myers <joseph@codesourcery.com>
23960
23961 [BZ #13775]
23962 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23963 Redirect under this condition.
23964 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23965 [__USE_GNU] (__dprintf_chk): Not under this condition.
23966 [__USE_GNU] (__vdprintf_chk): Likewise.
23967 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23968 under this condition.
23969 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23970 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23971 [__USE_XOPEN2K8] (vdprintf): Likewise.
23972 [__USE_GNU] (__dprintf_chk): Not under this condition.
23973 [__USE_GNU] (__vdprintf_chk): Likewise.
23974 [__USE_GNU] (dprintf): Likewise.
23975 [__USE_GNU] (vdprintf): Likewise.
23976
d3dfcc41
RM
239772012-05-03 Roland McGrath <roland@hack.frob.com>
23978
23979 * elf/Makefile (common-generated): Set this instead of generated for
23980 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23981 $(all-built-dso)-derived lists.
23982
7ac30cc5
AJ
239832012-05-03 Andreas Jaeger <aj@suse.de>
23984
0c51e550
AJ
23985 * sysdeps/i386/fpu/libm-test-ulps: Update.
23986
7ac30cc5
AJ
23987 * FAQ: Removed.
23988 * FAQ.in: Likewise.
23989 * scripts/gen-FAQ.pl: Likewise.
23990 * manual/install.texi (Installation): Point to online location of
23991 FAQ.
23992 * Makefile (files-for-dist): Remove FAQ.
23993 (FAQ): Remove.
23994
d4c2917f
AM
239952012-05-02 Allan McRae <allan@archlinux.org>
23996
23997 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23998 (LDFLAGS-reldepmod5.so): Likewise.
23999 (LDFLAGS-reldep6mod1.so): Likewise.
24000 (LDFLAGS-reldep6mod4.so): Likewise.
24001 (LDFLAGS-reldep8mod3.so): Likewise.
24002 (LDFLAGS-unload4mod1.so): Likewise.
24003 (LDFLAGS-unload4mod2.so): Likewise.
24004 (LDFLAGS-tst-initorder): Likewise.
24005 (LDFLAGS-tst-initordera2.so): Likewise.
24006 (LDFLAGS-tst-initordera3.so): Likewise.
24007 (LDFLAGS-tst-initordera4.so): Likewise.
24008 (LDFLAGS-tst-initorderb2.so): Likewise.
24009 (LDFLAGS-noload): Likewise.
24010 (LDFLAGS-next): Likewise.
24011 (LDFLAGS-order2mod1.so): Likewise.
24012 (LDFLAGS-order2mod2.so): Likewise.
24013 (LDFLAGS-tst-initorder2): Likewise.
24014 (LDFLAGS-tst-initorder2a.so): Likewise.
24015 (LDFLAGS-tst-initorder2b.so): Likewise.
24016 (LDFLAGS-tst-initorder2c.so): Likewise.
24017 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24018
d77f993f
DM
240192012-05-02 David S. Miller <davem@davemloft.net>
24020
24021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24022
171a70b4
PP
240232012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24024
24025 [BZ #14055]
24026 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24027
0be196ad
AJ
240282012-05-02 Andreas Jaeger <aj@suse.de>
24029
24030 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24031 since we manipulate rounding mode.
24032 (CPPFLAGS-test-idouble.c): Likewise.
24033 (CPPFLAGS-test-ifloat.c): Likewise.
24034 (CFLAGS-test-ldouble.c): Likewise.
24035 (CFLAGS-test-double.c): Likewise.
24036 (CFLAGS-test-float.c): Likewise.
24037 (CFLAGS-test-misc.c): Likewise.
24038 (CFLAGS-test-test-fenv.c): Likewise.
24039
4f9d04aa
AZ
240402012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24041
2b942cb7
RM
24042 [BZ #2550]
24043 [BZ #2570]
24044 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24045 comparisons to determine direction to adjust input.
4f9d04aa 24046
82a79e7d
RM
240472012-05-01 Roland McGrath <roland@hack.frob.com>
24048
f5a01ca9
RM
24049 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24050 output to the target.
24051
90fe4186
RM
24052 * scripts/localplt.awk: New file.
24053 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24054 (check-localplt-CFLAGS): Variable removed.
24055 ($(all-built-dso:=.jmprel)): New static pattern rule.
24056 (generated): Add those targets.
24057 (localplt-built-dso): New variable.
24058 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24059
24060 * elf/check-localplt.c: File removed.
24061
82397ed6
RM
24062 * scripts/check-execstack.awk: New file.
24063 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24064 (check-execstack-CFLAGS): Variable removed.
24065 ($(objpfx)check-execstack.h): Target removed.
24066 ($(objpfx)execstack-default): New target.
24067 (generated): Add that instead of check-execstack.h.
24068 ($(all-built-dso:=.phdr)): New static pattern rule.
24069 (generated): Add those targets.
24070 * elf/check-execstack.c: File removed.
24071
82a79e7d
RM
24072 * scripts/check-textrel.awk: New file.
24073 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24074 (check-textrel-CFLAGS): Variable removed.
24075 (all-built-dso): Use := to define.o
24076 ($(all-built-dso:=.dyn)): New static pattern rule.
24077 (generated): Add those targets.
24078 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24079 * config.make.in (READELF): New substituted variable.
24080 * elf/check-textrel.c: File removed.
24081
62fde54f 240822012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 24083
615605c9
JM
24084 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24085 allow.
24086 * conform/data/ctype.h-data [C99-based standards] (isblank):
24087 Expect function.
24088 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24089 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24091 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24092 Specify type. Require positive value.
24093 (EILSEQ): Likewise.
24094 (ERANGE): Likewise.
24095 [ISO || POSIX] (EILSEQ): Do not expect.
24096 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24097 Specify type. Require positive value.
24098 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24099 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24100 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24101 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24102 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24103 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24104 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24105 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24106 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24107 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24108 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24109 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24110 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24111 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24112 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24113 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24114 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24115 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24116 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24117 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24118 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24119 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24120 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24121 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24122 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24123 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24124 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24125 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24126 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24127 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24128 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24129 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24130 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24131 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24132 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24133 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24134 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24135 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24136 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24137 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24138 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24139 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24140 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24141 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24142 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24143 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24144 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24145 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24146 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24147 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24148 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24149 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24150 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24151 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24152 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24153 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24154 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24155 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24156 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24157 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24158 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24159 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24162 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24163 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24164 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24165 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24166 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24168 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24169 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24171 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24172 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24173 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24174 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24175 Require >= 2.
24176 (FLT_ROUNDS): Expect as macro, not constant.
24177 (FLT_MANT_DIG): Use macro-int-constant.
24178 (DBL_MANT_DIG): Likewise.
24179 (LDBL_MANT_DIG): Likewise.
24180 (FLT_DIG): Likewise.
24181 (DBL_DIG): Likewise.
24182 (LDBL_DIG): Likewise.
24183 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24184 (DBL_MIN_EXP): Likewise.
24185 (LDBL_MIN_EXP): Likewise.
24186 (FLT_MAX_EXP): Use macro-int-constant.
24187 (DBL_MAX_EXP): Likewise.
24188 (LDBL_MAX_EXP): Likewise.
24189 (FLT_MAX_10_EXP): Likewise.
24190 (DBL_MAX_10_EXP): Likewise.
24191 (LDBL_MAX_10_EXP): Likewise.
24192 (FLT_MAX): Use macro-constant.
24193 (DBL_MAX): Likewise.
24194 (LDBL_MAX): Likewise.
24195 (FLT_EPSILON): Use macro-constant. Give upper bound.
24196 (DBL_EPSILON): Likewise.
24197 (LDBL_EPSILON): Likewise.
24198 (FLT_MIN): Likewise.
24199 (DBL_MIN): Likewise.
24200 (LDBL_MIN): Likewise.
24201 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24202 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24203 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24204 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24205 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24206 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24207 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24208 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24209 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24210 [ISO11] (FLT_TRUE_MIN): Likewise.
24211 [ISO11] (LDBL_TRUE_MIN): Likewise.
24212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24213 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24214 (SCHAR_MIN): Use macro-int-constant. Specify type.
24215 (SCHAR_MAX): Likewise.
24216 (UCHAR_MAX): Likewise.
24217 (CHAR_MIN): Likewise.
24218 (CHAR_MAX): Likewise.
24219 (MB_LEN_MAX): Use macro-int-constant.
24220 (SHRT_MIN): Use macro-int-constant. Specify type.
24221 (SHRT_MAX): Likewise.
24222 (USHRT_MAX): Likewise.
24223 (INT_MAX): Likewise.
24224 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24225 bound negative.
24226 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24227 bound with "U".
24228 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24229 bound with "L".
24230 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24231 bound negative. Suffix upper bound with "L".
24232 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24233 bound with "UL".
24234 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24235 Specify type.
24236 [C99-based standards] (LLONG_MAX): Likewise.
24237 [C99-based standards] (ULLONG_MAX): Likewise.
24238 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24239 == 0.
24240 [ISO11] (max_align_t): Require type.
24241 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24242
c9140a62
JM
24243 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24244 from $CFLAGS, without defining away __attribute__ calls.
24245 (checknamespace): Use $CFLAGS_namespace.
24246
9af0bf29
JM
24247 * conform/conformtest.pl (@keywords): Only include C99 keywords
24248 for standards based on C99 or C11.
24249
343222a2
JM
24250 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24251 Disable tests.
24252 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24253 UNIX98]: Likewise.
24254
661f8cf0
JM
24255 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24256 usability of symbols in #if.
24257
ee74b9cb
JM
24258 * conform/conformtest.pl: If macro or constant types start
24259 "promoted:", expect the symbol to be of the following type
24260 promoted by the integer promotions.
62fde54f 24261
aafc49b3
JM
24262 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24263 in one place. Also handle "macro-constant".
24264
fefdf574
JM
24265 * conform/conformtest.pl: Only accept expected macro values with
24266 "==". Parse all "macro" lines in one place.
24267 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24268
f2d922fe
JM
24269 * conform/conformtest.pl: Handle braced types on "constant" lines
24270 instead of handling "typed-constant".
24271 * conform/data/signal.h-data: Use "constant" instead of
24272 "typed-constant".
24273
d22956c9
JM
24274 * conform/conformtest.pl: Handle "optional-" at start of lines in
24275 one place rather than duplicating several cases. Handle each
24276 format of "macro" line with initial "optional-".
24277
028e2e38
JM
24278 * conform/conformtest.pl: Only accept expected constant or
24279 optional-constant values with "==". Parse all "constant" lines in
24280 one place. Parse all "optional-constant" lines in one place.
24281 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24282 * conform/data/fmtmsg.h-data: Likewise.
24283 * conform/data/netinet/in.h-data: Likewise.
24284 * conform/data/tar.h-data: Likewise.
24285 * conform/data/limits.h-data: Use "==" form on "constant" and
24286 "optional-constant" lines.
24287
1b8f2850
JM
24288 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24289 Use -std=c99 for XOPEN2K.
24290 (@knownproblems): Remove.
24291 (newtoken): Don't check %isknown.
24292
a05a144b
JM
24293 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24294 Do not expect macro.
24295 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24296 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24297 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24298 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24299 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24300 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24301 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24302 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24303 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24304 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24305 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24306 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24307 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24308 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24309 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24310 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24311 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24312 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24313 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24314 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24315 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24316 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24317 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24318 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24319 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24320 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24321 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24322 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24323 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24324 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24325 [XPG3] (acosh): Likewise.
24326 [XPG3] (asinh): Likewise.
24327 [XPG3] (atanh): Likewise.
24328 [XPG3] (cbrt): Likewise.
24329 [XPG3] (expm1): Likewise.
24330 [XPG3] (ilogb): Likewise.
24331 [XPG3] (log1p): Likewise.
24332 [XPG3] (logb): Likewise.
24333 [XPG3] (nextafter): Likewise.
24334 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24335 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24336 [XPG3] (remainder): Likewise.
24337 [XPG3] (rint): Likewise.
24338 [XPG3 || XPG4 || UNIX98] (round): Likewise.
24339 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24340 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24341 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24342 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24343 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24344 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24345 [UNIX98 || XOPEN2K] (scalb): Expect.
24346 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24347 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24348 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24349 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24350 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24351 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24352 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24353 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24354 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24355 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24356 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24357 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24358 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24359 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24360 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24361 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24362 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24363 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24364 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24365 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24366 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24367 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24368 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24369 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24370 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24371 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24372 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24373 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24374 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24375 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24376 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24377 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24378 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24379 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24380 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24381 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24382 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24383 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24384 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24385 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24386 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24387 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24388 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24389 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24390 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24391 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24392 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24393 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24394 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24395 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24396 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24397 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24398 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24399 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24400 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24401 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24402 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24403 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24404 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24405 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24406 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24407 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24408 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24409 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24410 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24411 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24412 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24413 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24414 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24415 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24416 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24417 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24418 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24419 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24420 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24421 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24422 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24423 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24424 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24425 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24426 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24427 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24428 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24429 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24430 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24431 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24432 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24433 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24434 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24435 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24436 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24437 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24438 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24439 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24440 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24441 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24442 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24443 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24444 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24445 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24446 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24447 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24448 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24449 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24450 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24451 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24452 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24453 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24454 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24455 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24456 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24457 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24458 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24459 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24460 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24461 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24462 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24463 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24464 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24465 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24466 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24467 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24468 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24469 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24470 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24471 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24472 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24473 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24474 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24475 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24476 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24477 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24478 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24479 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24480 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24481 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24482 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24483
73c5ebe3
JM
24484 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24485 _XOPEN_SOURCE_EXTENDED for XPG4.
24486
39c33b6c
JM
24487 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24488
62fde54f
JM
24489 * Makeconfig (localtime): Remove variable.
24490 (inst_localtime-file): Likewise.
24491
0741d64c
AS
244922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24493
24494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24495 Update.
24496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24497 Update.
24498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24499 Update.
24500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24501 Update.
24502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24503 Update.
24504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24505 Update.
24506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24507 Update.
24508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24509 Update.
24510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24511 Update.
24512
7cb029ee
JM
245132012-05-01 Joseph Myers <joseph@codesourcery.com>
24514
24515 [BZ #2550]
24516 [BZ #2570]
24517 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24518 comparisons to determine direction to adjust input.
24519 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24520 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24521 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24522 Likewise.
24523 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24524 Likewise.
24525 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24526 Likewise.
24527 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24528 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24529 Likewise.
24530 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24531 Likewise.
24532 * math/libm-test.inc (nexttoward_test): Add more tests.
24533
412bd966
AS
245342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
24535
24536 [BZ #14040]
24537 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24538 in version GLIBC_2.1, not GLIBC_2.0.
24539 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24540 Likewise.
24541
9568c0c2
JM
245422012-04-30 Joseph Myers <joseph@codesourcery.com>
24543
adfbc8ac
JM
24544 [BZ #13942]
24545 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24546 (1 - x) * (1 + x).
24547 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24548 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24549 * math/libm-test.inc (acos_test): Add more tests.
24550 (asin_test): Likewise.
24551 * sysdeps/i386/fpu/libm-test-ulps: Update.
24552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24553
5ba3cc69
JM
24554 [BZ #14034]
24555 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24556 of square root.
24557 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24558 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24559 * math/libm-test.inc (acos_test_tonearest): New function.
24560 (acos_test_towardzero): Likewise.
24561 (acos_test_downward): Likewise.
24562 (acos_test_upward): Likewise.
24563 (asin_test_tonearest): Likewise.
24564 (asin_test_towardzero): Likewise.
24565 (asin_test_downward): Likewise.
24566 (asin_test_upward): Likewise.
24567 (main): Call the new functions.
24568 * sysdeps/i386/fpu/libm-test-ulps: Update.
24569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24570
9568c0c2
JM
24571 [BZ #13884]
24572 [BZ #13924]
24573 * math/e_exp10.c: Include <float.h>.
24574 (__ieee754_exp10): Handle underflow here rather than multiplying
24575 large negative argument by M_LN10.
24576 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24577 of __ieee754_expf.
24578 * math/e_exp10l.c: Include <float.h>.
24579 (__ieee754_exp10l): Handle underflow here rather than multiplying
24580 large negative argument by M_LN10l.
24581 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24582 spurious overflow exception on underflow.
24583
5ac3ea17
MP
245842012-04-29 Marek Polacek <polacek@redhat.com>
24585
24586 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24587 (__fortify_function): New macro.
24588 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24589 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24590 __extern_always_inline.
24591 * libio/bits/stdio2.h: Likewise.
24592 * libio/bits/stdio.h: Likewise.
24593 * string/string.h: Likewise.
24594 * string/bits/string3.h: Likewise.
24595 * include/stdio.h: Likewise.
24596 * stdlib/bits/stdlib.h: Likewise.
24597 * stdlib/stdlib.h: Likewise.
24598 * rt/bits/mqueue2.h: Likewise.
24599 * rt/mqueue.h: Likewise.
24600 * posix/bits/unistd.h: Likewise.
24601 * posix/unistd.h: Likewise.
24602 * io/bits/poll2.h: Likewise.
24603 * io/bits/fcntl2.h: Likewise.
24604 * io/fcntl.h: Likewise.
24605 * io/sys/poll.h: Likewise.
24606 * misc/bits/syslog.h: Likewise.
24607 * misc/bits/syslog-ldbl.h: Likewise.
24608 * misc/sys/syslog.h: Likewise.
24609 * socket/bits/socket2.h: Likewise.
24610 * socket/sys/socket.h: Likewise.
24611 * debug/tst-chk1.c: Likewise.
24612 * wcsmbs/bits/wchar2.h: Likewise.
24613 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24614 * wcsmbs/wchar.h: Likewise.
24615
ecf0ebfb
AJ
246162012-04-29 Andreas Jaeger <aj@suse.de>
24617
24618 * Makerules (tests): Remove enable-check-abi protection.
24619 (check-abi-warn): Remove.
24620 (check-abi-%): Remove check-abi-warn usage.
24621
24622 * configure.in: Remove check-abi configure option.
24623 * configure: Regenerated.
24624 * config.make.in (enable-check-abi): Remove.
24625
6d5c57fa
AS
246262012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24627
24c5d07e 24628 [BZ #14033]
ded5180a
AS
24629 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24630 double functions to double *_finite functions.
24631
7e0d315d
AS
24632 [BZ #13941]
24633 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24634 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24635 LDBL_MIN_EXP.
24636 * stdio-common/Makefile (tests): Add tst-sprintf3.
24637 * stdio-common/tst-sprintf3.c: New file.
24638
6d5c57fa
AS
24639 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24640 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24641
0749ff8b
JM
246422012-04-28 Joseph Myers <joseph@codesourcery.com>
24643
24644 * conform/conformtest.pl: Remove duplicate typed-constant
24645 handling.
24646
8dbd5d7b
DM
246472012-04-28 David S. Miller <davem@davemloft.net>
24648
24649 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24650 (check-abi-%): Remove AWK script prerequisite and explicit
24651 abilist directory.
24652 (check-abi): Rewrite to just diff the symlist with the abilist.
24653 (config-tls, config-abi-config): Delete, no longer used.
24654 (update-abi-%): Remove AWK script and explicit abilist directory.
24655 (update-abi): Rewrite to simply compare and conditionally copy the
24656 symlist and the sysdep abilist file. Remove update-abi-config
24657 checks.
24658 * abilist/ld.abilist: Remove.
24659 * abilist/libBrokenLocale.abilist: Remove.
24660 * abilist/libanl.abilist: Remove.
24661 * abilist/libcrypt.abilist: Remove.
24662 * abilist/libdl.abilist: Remove.
24663 * abilist/librt.abilist: Remove.
24664 * abilist/libthread_db.abilist: Remove.
24665 * abilist/libutil.abilist: Remove.
24666 * scripts/extract-abilist.awk: Remove.
24667 * scripts/merge-abilist.awk: Remove.
24668 * sysdeps/generic/libcidn.abilist: New file.
24669 * sysdeps/generic/libnss_compat.abilist: New file.
24670 * sysdeps/generic/libnss_db.abilist: New file.
24671 * sysdeps/generic/libnss_dns.abilist: New file.
24672 * sysdeps/generic/libnss_files.abilist: New file.
24673 * sysdeps/generic/libnss_hesiod.abilist: New file.
24674 * sysdeps/generic/libnss_nis.abilist: New file.
24675 * sysdeps/generic/libnss_nisplus.abilist: New file.
24676 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24677 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24678 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24679 file.
24680 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24681 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24682 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24683 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24684 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24685 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24686 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24687 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24688 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24689 file.
24690 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24691 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24692 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24693 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24694 file.
24695 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24696 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24697 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24698 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24699 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24700 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24701 file.
24702 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24703 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24704 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24705 file.
24706 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24708 New file.
24709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24710 New file.
24711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24712 New file.
24713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24714 New file.
24715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24716 New file.
24717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24718 New file.
24719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24720 New file.
24721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24722 New file.
24723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24724 New file.
24725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24726 New file.
24727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24728 New file.
24729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24730 New file.
24731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24732 New file.
24733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24734 file.
24735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24736 New file.
24737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24738 New file.
24739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24740 file.
24741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24742 New file.
24743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24744 New file.
24745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24746 file.
24747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24748 New file.
24749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24750 New file.
24751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24752 New file.
24753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24754 New file.
24755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24756 New file.
24757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24758 New file.
24759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24761 file.
24762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24763 New file.
24764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24765 file.
24766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24767 file.
24768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24769 file.
24770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24771 file.
24772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24773 file.
24774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24775 New file.
24776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24777 file.
24778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24779 file.
24780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24781 New file.
24782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24783 file.
24784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24786 file.
24787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24788 New file.
24789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24790 file.
24791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24792 file.
24793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24794 file.
24795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24796 file.
24797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24798 file.
24799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24800 New file.
24801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24802 file.
24803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24804 file.
24805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24806 New file.
24807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24808 file.
24809 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24810 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24811 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24812 file.
24813 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24814 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24815 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24816 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24817 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24818 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24819 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24820 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24821 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24822 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24825 file.
24826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24827 New file.
24828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24829 file.
24830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24831 file.
24832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24833 file.
24834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24835 file.
24836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24837 file.
24838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24839 New file.
24840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24841 New file.
24842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24843 file.
24844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24845 New file.
24846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24847 file.
24848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24850 file.
24851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24852 New file.
24853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24854 file.
24855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24856 file.
24857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24858 file.
24859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24860 file.
24861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24862 file.
24863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24864 New file.
24865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24866 New file.
24867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24868 file.
24869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24870 New file.
24871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24872 file.
24873
41d73a1b
JM
248742012-04-28 Joseph Myers <joseph@codesourcery.com>
24875
24876 * conform/conformtest.pl: Fix typo in handling typed-constant from
24877 allow-header.
24878
28aeeda4
JM
248792012-04-27 Joseph Myers <joseph@codesourcery.com>
24880
adae8f5e
JM
24881 * README: Cut down references to pre-2.6 Linux kernels and
24882 Linuxthreads. Update lists of configurations in libc and ports
24883 and sort alphabetically. Say "or newer" with Linux kernel version
24884 requirements.
24885
28aeeda4
JM
24886 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24887
a462cb63
RA
248882012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24889
24890 [BZ #887]
24891 * math/libm-test.inc (logb_test_downward): New test to expose
24892 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24893 rounding mode.
24894
6ad3493e
JM
248952012-04-27 Joseph Myers <joseph@codesourcery.com>
24896
24897 [BZ #14027]
24898 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24899 to be done.
24900 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24901 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24902
2ce4f015
JM
249032012-04-26 Joseph Myers <joseph@codesourcery.com>
24904
5aeb141a
JM
24905 * sysdeps/unix/i386/brk.S: Remove file.
24906 * sysdeps/unix/i386/dl-brk.S: Likewise.
24907 * sysdeps/unix/i386/pipe.S: Likewise.
24908 * sysdeps/unix/i386/sigreturn.S: Likewise.
24909 * sysdeps/unix/i386/syscall.S: Likewise.
24910 * sysdeps/unix/i386/vfork.S: Likewise.
24911 * sysdeps/unix/i386/wait.S: Likewise.
24912
7143acae
JM
24913 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24914 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24915
2ce4f015
JM
24916 * configure.in (arm*-none*): Do not allow without
24917 --enable-hacker-mode.
24918 (netbsd*): Remove case setting base_os.
24919 (386bsd*): Likewise.
24920 (freebsd*): Likewise.
24921 (bsdi*): Likewise.
24922 (osf*): Likewise.
24923 (sunos*): Likewise.
24924 (ultrix*): Likewise.
24925 (newsos*): Likewise.
24926 (dynix*): Likewise.
24927 (*bsd*): Likewise.
24928 (sysv*): Likewise.
24929 (isc*): Likewise.
24930 (esix*): Likewise.
24931 (sco*): Likewise.
24932 (minix*): Likewise.
24933 (irix4*): Likewise.
24934 (irix6*): Likewise.
24935 (solaris[2-9]*): Likewise.
24936 (none): Likewise.
24937 * configure: Regenerated.
24938
0ac229c8
AZ
249392012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24940
24941 [BZ #11521]
24942 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24943 overflow or cancellation in calculating denominator.
24944 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24945 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24946 down expression to avoid unexpected rounding in newer GCCs.
24947 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24948
33f244f4
DM
249492012-04-26 David S. Miller <davem@davemloft.net>
24950
24951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24952 long-double compat symbols.
24953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24966
cfa1f3e8
DM
249672012-04-25 David S. Miller <davem@davemloft.net>
24968
24969 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24970 HWCAP_* values only after the memory barriers have been defined.
24971 (atomic_full_barrier): Define.
24972 (atomic_read_barrier): Define.
24973 (atomic_write_barrier): Define.
24974
6e236b92
SP
249752012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24976
24977 * shlib-versions: Add libgcc_s version information.
24978 * sysdeps/generic/libgcc_s.h: Remove.
24979 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24980 libgcc_s.h.
24981 * sysdeps/gnu/unwind-resume.c: Likewise.
24982 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24983
aab39a09
DM
249842012-04-25 David S. Miller <davem@davemloft.net>
24985
24986 * sysdeps/unix/sparc/brk.S: Delete.
24987 * sysdeps/unix/sparc/dl-brk.S: Delete.
24988 * sysdeps/unix/sparc/pipe.S: Delete.
24989 * sysdeps/unix/sparc/sysdep.S: Delete.
24990 * sysdeps/unix/sparc/sysdep.h: Delete.
24991 * sysdeps/unix/sparc/vfork.S: Delete.
24992 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24993 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24994 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24995 ret_ERRVAL, r0, r1, MOVE): Define.
24996 (JUMPTARGET): Remove.
24997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24998 sysdeps/unix/sparc/sysdep.h
24999 (ENTRY, END): Remove.
25000 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25001
a3cc4f48
JM
250022012-04-25 Joseph Myers <joseph@codesourcery.com>
25003
2ed8cda2
JM
25004 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25005 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25006 -DIS_IN_build.
25007
35d76d59
JM
25008 * timezone/README: Update upstream location and email address for
25009 tzcode and tzdata.
25010 * timezone/zdump.c: Update from tzcode 2012b.
25011 * timezone/zic.c: Likewise.
25012
a3cc4f48
JM
25013 * configure.in (libc_cv_as_needed): Remove test.
25014 * configure: Regenerated.
25015 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25016 conditional definition.
25017 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25018 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25019 * config.make.in (have-as-needed): Remove variable.
25020
ceab42c3
SP
250212012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25022 Paul Pluzhnikov <ppluzhnikov@google.com>
25023
25024 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25025 strings correctly.
25026
3ce2865f
CLT
250272012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25028
25029 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25030 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25031 * sysdeps/sh/strlen.S: Likewise.
25032
f37e0d68
JM
250332012-04-24 Joseph Myers <joseph@codesourcery.com>
25034
ae186e9a
JM
25035 * sysdeps/unix/fork.S: Remove file.
25036 * sysdeps/unix/i386/fork.S: Likewise.
25037 * sysdeps/unix/sparc/fork.S: Likewise.
25038
b96914af
JM
25039 * sysdeps/unix/system.c: Remove file.
25040 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25041
f37e0d68
JM
25042 * sysdeps/unix/getegid.S: Remove file.
25043 * sysdeps/unix/geteuid.S: Likewise.
25044
87ef29ca
RM
250452012-04-24 Roland McGrath <roland@hack.frob.com>
25046
83bcd236
RM
25047 * scripts/check-localplt.awk: New file.
25048 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25049 of diff.
25050 * scripts/data/localplt-generic.data: Add a comment.
25051
87ef29ca
RM
25052 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25053 NODE when __dir_mkfile failed.
25054 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25055 Reported by Ludovic Courtès <ludo@gnu.org>.
25056
e5a6e567
AJ
250572012-04-24 Andreas Jaeger <aj@suse.de>
25058
25059 * Makerules (common-clean): Also remove gen-as-const-headers
25060 files.
25061
c1820385
JM
250622012-04-24 Joseph Myers <joseph@codesourcery.com>
25063
25064 * Makerules (native-compile): Do not change working directory for
25065 build. Use $(OUTPUT_OPTION) in command.
25066 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25067
94e02fc4
AZ
250682012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25069
25070 [BZ #13886]
25071 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25072 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25073 * math/libm-test.inc (floor_test): Add more tests.
25074 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25075
3a533ca3
JM
250762012-04-24 Joseph Myers <joseph@codesourcery.com>
25077
940ab4b3
JM
25078 * sysdeps/unix/getdents.c: Remove file.
25079 * sysdeps/unix/sysv/getdents.c: Likewise.
25080 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25081
90e037bd
JM
25082 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25083 sysdeps/unix/mman/syscalls.list.
25084 (mmap): Likewise.
25085 (mprotect): Likewise.
25086 (msync): Likewise.
25087 (munmap): Likewise.
25088 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25089 * sysdeps/unix/mman/syscalls.list: Remove.
25090 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25091
3a533ca3
JM
25092 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25093 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25094 * configure: Regenerated.
25095 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25096 $(libgcc_s_suffix).
25097 * config.make.in (libgcc_s_suffix): Remove variable.
25098
1ad743de
JM
250992012-04-23 Joseph Myers <joseph@codesourcery.com>
25100
4ad451e2
JM
25101 * sysdeps/unix/sysv/gethostname.c: Move to ...
25102 * sysdeps/posix/gethostname.c: ... here.
25103
5e37ce39
JM
25104 * sysdeps/unix/execve.S: Remove file.
25105
1ad743de
JM
25106 * sysdeps/unix/_exit.S: Remove file.
25107
4e681b5b
AJ
251082012-04-23 Andreas Jaeger <aj@suse.de>
25109
25110 [BZ #13739]
25111 * manual/Makefile: Remove make dist support, there's no
25112 need for a stand-alone documentation tar ball.
25113 (TEXI2DVI): Define always, it's not in Makeconfig.
25114 (dist): Removed.
25115 (tar-it): Removed.
25116 (edition): Removed.
25117 (glibc-doc-$(edition).tar): Removed
25118 (%.Z): Removed.
25119 (%.gz): Removed.
25120 (%.uu): Removed.
25121 (ETAGS): Remove, it's in Makeconfig.
25122 (move-if-change): Remove, it's in Makeconfig.
25123
38686a03 251242012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
25125
25126 [BZ #13970]
25127 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25128 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25129 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25130 (strtod_l, strtof_l, strtold_l): Remove __wur.
25131 It is not necessarily an error to ignore strtol's return value.
25132 One can reliably look at the stored endptr to decide whether
25133 the number had valid syntax.
25134
7c0616fa
AJ
251352012-04-21 Andreas Jaeger <aj@suse.de>
25136
803cb6b7 25137 [BZ #13739]
7c0616fa
AJ
25138 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25139
b0fe253f
JM
251402012-04-21 Joseph Myers <joseph@codesourcery.com>
25141
25142 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25143 * sysdeps/unix/sysv/Versions: Remove file.
25144
8280f22d
MT
251452012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25146
25147 [BZ #13927]
25148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25149
75ce411f 251502012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
25151
25152 [BZ #7064]
25153 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25154 version from __vm86.
25155
097d59fa
JM
251562012-04-20 Joseph Myers <joseph@codesourcery.com>
25157
a90f3bcb
JM
25158 * sysdeps/unix/common/lxstat.c: Remove file.
25159 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25160
edc7ea78
JM
25161 * sysdeps/unix/sysv/Makefile: Remove file.
25162
cb78c221
JM
25163 * sysdeps/unix/sysv/direct.h: Remove file.
25164
efa6a45f
JM
25165 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25166 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25167 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25168 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25169 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25170 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25171 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25172
9c9f2d0c
JM
25173 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25174
4541c83b
JM
25175 * sysdeps/unix/xmknod.c: Remove file.
25176 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25177
f5d153a0
JM
25178 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25179
aa746595
JM
25180 * sysdeps/unix/sysv/i386/time.S: Remove file.
25181
cce5905e
JM
25182 * sysdeps/unix/fxstat.c: Remove file.
25183 * sysdeps/unix/xstat.c: Likewise.
25184 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25185
37fa3841
JM
25186 * sysdeps/unix/sysv/sigaction.c: Remove file.
25187
ff1962a3
JM
25188 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25189 (sysdep_headers): Remove variable.
25190 [termio.h not in sysdep_headers] (generated): Likewise.
25191 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25192 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25193 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25194 * sysdeps/unix/sysv/tcflow.c: Likewise.
25195 * sysdeps/unix/sysv/tcflush.c: Likewise.
25196 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25197 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25198 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25199 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25200 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25201
e7740d31
JM
25202 * sysdeps/unix/siglist.c: Remove file.
25203
ee06f18b
JM
25204 * sysdeps/unix/getppid.S: Remove file.
25205
097d59fa
JM
25206 * sysdeps/unix/mkdir.c: Remove file.
25207 * sysdeps/unix/rmdir.c: Likewise.
25208
ff3d51ec
AS
252092012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25210
25211 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25212 ERR_MAX value.
25213 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25214 errlist-compat value.
25215
50f81fd7
DM
252162012-04-18 David S. Miller <davem@davemloft.net>
25217
25218 * sysdeps/generic/memcopy.h (reg_char): Delete.
25219 * debug/strcat_chk.c: Use char, not reg_char.
25220 * debug/strcpy_chk.c: Likewise.
25221 * debug/strncat_chk.c: Likewise.
25222 * debug/strncpy_chk.c: Likewise.
25223 * string/memchr.c: Likewise.
25224 * string/memrchr.c: Likewise.
25225 * string/rawmemchr.c: Likewise.
25226 * string/strcat.c: Likewise.
25227 * string/strchr.c: Likewise.
25228 * string/strchrnul.c: Likewise.
25229 * string/strcmp.c: Likewise.
25230 * string/strcpy.c: Likewise.
25231 * string/strncat.c: Likewise.
25232 * string/strncmp.c: Likewise.
25233 * string/strncpy.c: Likewise.
25234
8ff41c46
WS
252352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25236
25237 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25238 __builtin_memcopy is called when src and dest ranges are known to not
25239 overlap.
25240
6b652f46
WS
252412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25242
25243 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25244 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25245 fwd_align_merge macro call.
25246 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25247 bwd_align_merge macro call.
25248 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25249
b282631e
WS
252502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25251
25252 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25253 bwd_align_merge macros.
25254 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25255 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25256 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25257
95aa737c
DM
252582012-04-18 David S. Miller <davem@davemloft.net>
25259
25260 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25261
7a99a614
AJ
252622012-04-18 Andreas Jaeger <aj@suse.de>
25263
25264 [BZ# 6794]
25265 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25266 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25267 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25268
25269 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25270 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25271 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25272
25273 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25274 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25275 Adjust for changed ldbl-128 files.
25276
25277 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25278 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25279 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25280
e5270c23
DM
252812012-04-17 David S. Miller <davem@davemloft.net>
25282
25283 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25284
fb5e92c9
AS
252852012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25286
25287 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25288 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25289 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25290 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25291 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25292 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25293
76da7265
AZ
252942012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25295
25296 [BZ #6794]
25297 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25298 * math/libm-test.inc: Add ilogb errno and exception tests.
25299 * math/w_ilogb.c: New file: ilogb wrapper.
25300 * math/w_ilogbf.c: New file: ilogbf wrapper.
25301 * math/w_ilogbl.c: New file: ilogbl wrapper.
25302 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25303 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25304 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25305 exception being thrown with 0.0 as argument.
25306 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25307 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25308 exception being thrown with 0.0 as argument.
25309 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25310 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25311 exception being thrown with 0.0 as argument.
25312 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25313 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25314 exception being thrown with 0.0 as argument.
25315 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25316 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 25317 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
25318 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25319 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25320 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25321 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25322 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25323 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25324
0396e69d
PB
253252012-04-17 Petr Baudis <pasky@ucw.cz>
25326
25327 * include/sys/uio.h: Change __vector to __iovec to avoid clash
25328 with altivec.
25329
750b5926
MP
253302012-04-16 Marek Polacek <polacek@redhat.com>
25331
25332 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25333
751728a1
MP
253342012-04-16 Marek Polacek <polacek@redhat.com>
25335
25336 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25337 operands of fdivp instruction.
25338
34a27407
L
253392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25340
25341 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25342 * elf/tst-auditmod3b.c: Likewise.
25343 * elf/tst-auditmod4b.c: Likewise.
25344 * elf/tst-auditmod5b.c: Likewise.
25345 * elf/tst-auditmod6b.c: Likewise.
25346 * elf/tst-auditmod6c.c: Likewise.
25347 * elf/tst-auditmod7b.c: Likewise.
25348 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25349 * sysdeps/x86_64/preconfigure.in: Likewise.
25350 * sysdeps/x86_64/preconfigure: Regenerated.
25351
7e73e17d
L
253522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
25353
25354 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25355 __ILP32__.
25356
c7a6ab72
AB
253572012-04-13 Antoine Balestrat <merkil33@gmail.com>
25358
25359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25360 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25361
a9e8e0e0
CL
253622012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25363
25364 [BZ #13973]
25365 * locale/iso-639.def: Fix gl language name. Spotted by
25366 Yaron Shahrabani.
25367
ec98af7d
RM
253682012-04-12 Roland McGrath <roland@hack.frob.com>
25369
25370 [BZ #2074]
25371 * libio/libio.h (__io_write_fn): Update comment.
25372
247c3ede
PB
253732012-04-12 Petr Baudis <pasky@ucw.cz>
25374
25375 [BZ #2074]
25376 * stdio.texi (Hook Functions): The user provided writer function
25377 is not allowed to return -1.
25378
55939d6d
DM
253792012-04-11 David S. Miller <davem@davemloft.net>
25380
25381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25382
90020f5a
MF
253832012-04-11 Mike Frysinger <vapier@gentoo.org>
25384
25385 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25386 Add a leading slash to rtkaio.
25387
288f9098
JM
253882012-04-11 Jim Meyering <meyering@redhat.com>
25389
90020f5a
MF
25390 [BZ #11959]
25391 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25392 It is not necessarily an error to ignore fwrite's return
25393 value. One can reliably use ferror to test for errors after
25394 the fact.
288f9098 25395
4be2b570
L
253962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25397
25398 * bits/types.h (__snseconds_t): New type.
25399 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25400
25401 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25403 (__SNSECONDS_T_TYPE): Likewise.
25404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25405 (__SNSECONDS_T_TYPE): Likewise.
25406 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25407 (__SNSECONDS_T_TYPE): Likewise.
25408
288f9098 254092012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
25410
25411 [BZ #2636]
25412 * manual/time.texi (Processor Time): Return type of times is
25413 elapsed real time since an arbitrary point in the past.
25414 (CPU Time): Move CLK_TCK from here...
25415 (Processor Time): ...to here. Correct description.
25416 * manual/conf.texi (Constants for Sysconf): Correct description of
25417 _SC_CLK_TCK.
25418
d7dd4413
DM
254192012-04-10 David S. Miller <davem@davemloft.net>
25420
25421 [BZ #13967]
25422 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25423 where the is a gap between DT_REL(A) and DT_JMPREL.
25424
b46068fc
L
254252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
25426
25427 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25428 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25429 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25430
73d65cc3
SP
254312012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25432
25433 * elf/dl-support.c (_dl_inhibit_cache): New variable.
25434 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25435 (dl_main): Handle --inhibit-cache.
25436 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25437 _dl_inhibit_cache.
25438 * elf/dl-load.c (_dl_map_object): Use it.
25439 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25440
bcc8d661
JM
254412012-04-09 Joseph Myers <joseph@codesourcery.com>
25442
8f9a2fae
JM
25443 [BZ #13872]
25444 * sysdeps/i386/fpu/e_powl.S (p78): New object.
25445 (__ieee754_powl): Saturate large exponents rather than testing for
25446 overflow of y*log2(x).
25447 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25448 * math/libm-test.inc (pow_test): Do not permit spurious overflow
25449 exceptions.
25450
bcc8d661
JM
25451 [BZ #11521]
25452 * math/s_ctan.c: Include <float.h>.
25453 (__ctan): Avoid internal overflow or cancellation in calculating
25454 denominator.
25455 * math/s_ctanf.c: Likewise.
25456 * math/s_ctanl.c: Likewise.
25457 * math/s_ctanh.c: Likewise.
25458 * math/s_ctanhf.c: Likewise.
25459 * math/s_ctanhl.c: Likewise.
25460 * math/libm-test.inc (ctan_test): Add more tests.
25461 (ctanh_test): Likewise.
25462 * sysdeps/i386/fpu/libm-test-ulps: Update.
25463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25464
823fbbb4
AJ
254652012-04-09 Andreas Jaeger <aj@suse.de>
25466
03879793
AJ
25467 [BZ #6894]
25468 * manual/filesys.texi (Directory Entries): Mention that d_namlen
25469 is an optional BSD extension.
25470
823fbbb4
AJ
25471 [BZ #10254]
25472 * manual/stdio.texi (Opening Streams): Document additional fopen
25473 parameters.
25474
8de131cb
RM
254752012-04-09 Roland McGrath <roland@hack.frob.com>
25476
25477 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25478 %eax without telling the compiler.
25479
c0ed9d7d
CD
254802012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
25481
25482 [BZ # 13963]
25483 * manual/install.texi: Use sourceware.org.
25484
c483f6b4
JM
254852012-04-09 Joseph Myers <joseph@codesourcery.com>
25486
d7dd9453
JM
25487 [BZ #13873]
25488 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25489 (__ieee754_pow): Generate overflow and underflow using huge*huge
25490 and tiny*tiny rather than just returning constant infinity or zero
25491 for large exponents.
25492 * math/libm-test.inc (pow_test): Require overflow exceptions for
25493 applicable cases of large exponents.
25494
c483f6b4
JM
25495 [BZ #706]
25496 * sysdeps/i386/fpu/e_pow.S (p10): New object.
25497 (__ieee754_pow): Use iterative multiplication algorithm only for
25498 integer exponents with absolute value below 1024. Check for odd
25499 integer exponents when using algorithm for real exponents.
25500 * math/libm-test.inc (pow_test): Add more tests.
25501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25502
d2de7579
JM
255032012-04-08 Joseph Myers <joseph@codesourcery.com>
25504
25505 [BZ #13705]
25506 * math/libm-test.inc (exp_test): Do not allow overflow exception
25507 on underflow test.
25508
f77f1232
AJ
255092012-04-08 Aurelien Jarno <aurelien@aurel32.net>
25510
25511 [BZ #13705]
25512 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25513 instead of __kernel_standard_f.
25514
3884932b
MF
255152012-04-08 Mike Frysinger <vapier@gentoo.org>
25516
25517 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25518 * sysdeps/x86_64/memset_chk.S: Likewise.
25519
54472e9c
AJ
255202012-04-08 Andreas Jaeger <aj@suse.de>
25521
6ab0fbfc
AJ
25522 [BZ #10153]
25523 * manual/startup.texi (Environment Access): Describe return value
25524 for putenv and setenv.
25525
61efba8c
AJ
25526 [BZ #6895]
25527 * manual/filesys.texi (Directory Entries): Add description for
25528 DT_LNK.
25529
95c3f29a
AJ
25530 [BZ #6890]
25531 * manual/filesys.texi (Directory Entries): Clarify that it's file
25532 system not operating system in the description of DT_UNKNOWN.
25533
54472e9c
AJ
25534 [BZ #6578]
25535 * manual/syslog.texi (closelog): Fix reference, it's openlog.
25536
624254b1
SC
255372012-04-08 Stephen Compall <s11@member.fsf.org>
25538
25539 [BZ #6649]
25540 * manual/llio.texi (Opening and Closing Files): Add cross
25541 reference to explain mode argument.
25542
1e4920e0
MF
255432012-04-07 Mike Frysinger <vapier@gentoo.org>
25544
25545 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25546 * sysdeps/x86_64/memset_chk.S: Likewise.
25547
5ed848f3
DM
255482012-04-07 David S. Miller <davem@davemloft.net>
25549
25550 * elf/elf.h (R_SPARC_WDISP10): Define.
25551 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25552 R_SPARC_SIZE32.
25553 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25554 R_SPARC_SIZE64 and R_SPARC_H34.
25555
96154cd8
CD
255562012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
25557
25558 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25559 conditions and remove no longer applicable assertion.
25560
9904dc47
L
255612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25562
25563 * bits/byteswap.h: Include <features.h>.
25564 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25565 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25566
f8887d0a
L
255672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
25568
25569 * bits/byteswap.h (__bswap_16): Removed.
25570 Include <bits/byteswap-16.h> to get __bswap_16.
25571 * sysdeps/i386/bits/byteswap.h: Likewise.
25572 * sysdeps/s390/bits/byteswap.h: Likewise.
25573 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25574 * bits/byteswap-16.h: New file.
25575 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25576 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25577 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25578 * string/Makefile (headers): Add bits/byteswap-16.h.
25579
62470f60
PP
255802012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25581
25582 [BZ #13895]
25583 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25584 extra indirection.
25585 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25586 * nss/tst-nss-static.c: New.
25587
4dad7bab
RM
255882012-04-06 Robert Millan <rmh@gnu.org>
25589
25590 [BZ #6486]
25591 * manual/llio.texi (File Position Primitive): lseek
25592 refers to WHENCE when it really means OFFSET.
25593
e9142a17
AJ
255942012-04-06 Andreas Jaeger <aj@suse.de>
25595
2c040eff
AJ
25596 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25597 strncmp declarations.
25598
e9142a17
AJ
25599 * abilist/libc.abilist: Add __poll and __ppoll.
25600
ff9f1c5f
DM
256012012-04-05 David S. Miller <davem@davemloft.net>
25602
dcd2ae90
DM
25603 * scripts/check-local-headers.sh: Accept a host triplet in the
25604 path matched by the exclude regexp.
25605
993eb054
DM
25606 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25607 definition.
25608 * sysdeps/powerpc/powerpc32/dl-machine.h
25609 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25610 * sysdeps/s390/s390-32/dl-machine.h
25611 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25612 * sysdeps/sparc/sparc32/dl-machine.h
25613 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25614 * sysdeps/sparc/sparc64/dl-machine.h
25615 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25616
ff9f1c5f
DM
25617 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25618 lazy binding.
48e2e132 25619 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25620 undefined symbol errors.
25621
48e2e132 25622 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25623 DT_NEEDED entries.
25624
e80d6f94
MM
256252012-04-05 Michael Matz <matz@suse.de>
25626
25627 [BZ #13592]
25628 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25629
349fa79f
AJ
256302012-04-05 Andreas Jaeger <aj@suse.de>
25631
25632 [BZ #13908]
25633 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25634 comment.
25635
f402708f
KK
256362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25637
25638 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25639 which ROUND is no valid rounding mode.
25640
2ecccfc9
KK
256412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25642
25643 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25644 read again.
25645 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25646
8a53f50f
KK
256472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25648
25649 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25650 an exception using FPU order intentionally.
25651
256522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25653
25654 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25655 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25656 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25657 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25658
d653abb7
SJ
256592012-04-05 Simon Josefsson <simon@josefsson.org>
25660
25661 [BZ #12340]
25662 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25663 EINVAL when BUFLEN is too smal.
25664
c3b1bf7d
TS
256652012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25666
25667 [BZ #13553]
25668 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25669 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25670
b1aa60f3
AJ
256712012-04-03 Andreas Jaeger <aj@suse.de>
25672
c3b1bf7d 25673 [BZ #13938]
67f60a26
AJ
25674 * manual/setjmp.texi (System V contexts): Fix sentence.
25675
b1aa60f3
AJ
25676 [BZ #13926]
25677 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25678 New macro for this case.
25679 [!__GNUC__] (__bswap_64): New inline function for this case.
25680 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25681 * bits/byteswap.h: Likewise.
25682 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25683 ull, guard with __GLIBC_HAVE_LONG_LONG.
25684
25685 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25686 __GLIBC_HAVE_LONG_LONG.
25687
25688 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25689 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25690
39c59c35
TMQMF
256912012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25692
25693 [BZ #13691]
25694 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25695 inptr and inend, rather than using last_ch.
25696
135ffda8
DM
256972012-04-02 David S. Miller <davem@davemloft.net>
25698
25699 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25700 * stdio-common/printf-parse.h (read_int): Change return type to
25701 'int', return -1 on INT_MAX overflow.
25702 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25703 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25704 overflows INT_MAX. Check for overflow of in-format-string precision
25705 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25706 SIZE_MAX not INT_MAX for integer overflow test.
25707 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25708 skip the construct in the format string but do not record anything.
25709 * stdio-common/bug22.c: Adjust to test both width/prevision
25710 INT_MAX overflow as well as total length INT_MAX overflow. Check
25711 explicitly for proper errno values.
25712
228c019e
TS
257132012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25714
302cadd3
TS
25715 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25716 CHAR_MAX.
25717 * string/test-strcmp.c [! WIDE]: Likewise.
25718 * time/tst-mktime2.c: Likewise for INT_MAX.
25719 * string/test-string.h: #include <sys/param.h> for MIN.
25720
228c019e
TS
25721 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25722 * sysdeps/i386/init-first.c (init): Likewise.
25723 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25724 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25725 * sysdeps/sh/init-first.c (init): Likewise.
25726
cfa633f5
UD
257272012-04-01 Ulrich Drepper <drepper@gmail.com>
25728
25729 * po/ru.po: Update from translation team.
d1635ef8 25730 * po/vi.po: Likewise.
cfa633f5 25731
6cd0a5ea
SP
257322012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25733
25734 * resolv/nss_dns/dns-host.c: Merge copyright years.
25735
4b43400f
LD
257362012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25737
25738 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25739 Optimize memcpy with prefetch if
25740 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25741 src, dst pointers have unequal 16 byte alignments.
25742
48c41d04
SP
257432012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25744
25745 [BZ #13928]
25746 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25747 from a CNAME entry and return the minimum ttl for the query.
25748 (gaih_getanswer_slice): Likewise.
25749
b8dc394d
JL
257502012-03-30 Jeff Law <law@redhat.com>
25751
25752 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25753 due to long keys.
25754 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25755 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25756
2f5a5ed0
JL
25757 * resolv/nss_dns/dns-host.c: Update copyright year.
25758
1d39e359
UD
257592012-03-30 Ulrich Drepper <drepper@gmail.com>
25760
c030f70c 25761 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25762 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25763
1d39e359
UD
25764 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25765 comments for sendmmsg.
25766
257672012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25768
25769 [BZ #13691]
25770 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25771 with only 1 character between 0x0041 and 0x01b0.
25772 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25773 * wcsmbs/tst-mbsnrtowcs.c: New file.
25774
20fde227
DM
257752012-03-29 David S. Miller <davem@davemloft.net>
25776
25777 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25778 small copies by hand.
25779
984a4237
JL
257802012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25781
25782 [BZ #13761]
25783 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25784 _nss_compat_initgroups_dyn): Fall back to malloc/free
25785 for large group memberships.
25786
18c9d62b
DM
257872012-03-28 David S. Miller <davem@davemloft.net>
25788
88d85d4f
DM
25789 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25790 that branches into memcpy.
25791 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25792 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25793 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25794 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25795 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25796 bits.
25797 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25798 implementation too.
25799 * sysdeps/sparc/mempcpy.S: New file.
25800
e5aa83e1
DM
25801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25802 the IFUNC routine in the libc case.
25803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25804
88570753
DM
25805 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25806 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25807 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25808 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25809 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25810 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25811 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25812 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25813
249d7567
DM
25814 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25815 loop to 256 bytes instead of 64 bytes and fix test signedness.
25816
18c9d62b
DM
25817 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25818 * sysdeps/sparc/sparc32/Makefile: rather than here...
25819 * sysdeps/sparc/sparc64/Makefile: and here.
25820
05f3d1f6
UD
258212012-03-28 Ulrich Drepper <drepper@gmail.com>
25822
25823 * malloc/mallocbug.c: Avoid warnings about unused variables.
25824
86ae07a8
JL
258252012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25826
25827 [BZ #13760]
25828 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25829 in the right place. Discard and retry query if response is
25830 larger than input buffer size.
25831
41bf21a1
JM
258322012-03-28 Joseph Myers <joseph@codesourcery.com>
25833
d6270972
JM
25834 [BZ #369]
25835 [BZ #2678]
25836 [BZ #3866]
25837 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25838 x for large integer exponent.
25839 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25840 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25841 sign of result as needed afterwards.
25842 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25843 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25844 result for underflowing pow the same as for overflow.
25845 (__kernel_standard_l): Handle powl overflow and underflow here
25846 rather than calling __kernel_standard.
25847 * math/libm-test.inc (pow_test): Add more tests.
25848
414fca03 25849 [BZ #3868]
41bf21a1
JM
25850 [BZ #13879]
25851 [BZ #13910]
25852 [BZ #13911]
25853 [BZ #13912]
25854 [BZ #13913]
25855 [BZ #13915]
25856 [BZ #13916]
25857 [BZ #13917]
25858 [BZ #13918]
25859 [BZ #13919]
25860 [BZ #13920]
25861 [BZ #13921]
25862 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25863 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25864 (__kernel_standard_l): New function.
25865 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25866 __kernel_standard.
25867 * math/w_acosl.c (__acosl): Likewise.
25868 * math/w_asinl.c (__asinl): Likewise.
25869 * math/w_atan2l.c (__atan2l): Likewise.
25870 * math/w_atanhl.c (__atanhl): Likewise.
25871 * math/w_coshl.c (__coshl): Likewise.
25872 * math/w_exp10l.c (__exp10l): Likewise.
25873 * math/w_exp2l.c (__exp2l): Likewise.
25874 * math/w_fmodl.c (__fmodl): Likewise.
25875 * math/w_hypotl.c (__hypotl): Likewise.
25876 * math/w_j0l.c (__j0l, __y0l): Likewise.
25877 * math/w_j1l.c (__j1l, __y1l): Likewise.
25878 * math/w_jnl.c (__jnl, __ynl): Likewise.
25879 * math/w_lgammal.c (__lgammal): Likewise.
25880 * math/w_log10l.c (__log10l): Likewise.
25881 * math/w_log2l.c (__log2l): Likewise.
25882 * math/w_logl.c (__logl): Likewise.
25883 * math/w_powl.c (__powl): Likewise.
25884 * math/w_remainderl.c (__remainderl): Likewise.
25885 * math/w_scalbl.c (sysv_scalbl): Likewise.
25886 * math/w_sinhl.c (__sinhl): Likewise.
25887 * math/w_sqrtl.c (__sqrtl): Likewise.
25888 * math/w_tgammal.c (__tgammal): Likewise.
25889 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25890 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25891 * math/libm-test.inc (acos_test): Add more tests.
25892 (acosh_test): Likewise.
25893 (asin_test): Likewise.
25894 (atanh_test): Likewise.
25895 (exp_test): Likewise.
25896 (exp10_test): Likewise.
25897 (exp2_test): Likewise.
25898 (expm1_test): Likewise.
25899 (lgamma_test): Likewise.
25900 (log_test): Likewise.
25901 (log10_test): Likewise.
25902 (log1p_test): Likewise.
25903 (log2_test): Likewise.
25904 (pow_test): Do not allow some spurious overflow exceptions.
25905 (sqrt_test): Add more tests.
25906 (tgamma_test): Likewise.
25907 (y0_test): Likewise.
25908 (y1_test): Likewise.
25909 (yn_test): Likewise.
25910
dd62fda6
AB
259112012-03-27 Anton Blanchard <anton@samba.org>
25912
25913 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25914 MAP_HUGETLB.
25915 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25916 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25917 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25918
1e3cdfda
AJ
259192012-03-27 David S. Miller <davem@davemloft.net>
25920
b855ab85
DM
25921 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25922
1e3cdfda
AJ
25923 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25924 have-as-vis3 check.
25925
259262012-03-27 Andreas Jaeger <aj@suse.de>
25927
25928 * sysdeps/x86_64/elf/configure.in: Moved to ...
25929 * sysdeps/x86_64/configure.in: ... here.
25930 * sysdeps/x86_64/elf/start.S: Moved to ...
25931 * sysdeps/x86_64/start.S: ... here.
25932 * sysdeps/x86_64/elf/configure: Delete.
25933
25934 * sysdeps/x86_64/configure.in: Merge contents from
25935 sysdeps/i386/configure.in (without i686 check).
25936
25937 * sysdeps/i386/elf/Versions: Merge into ...
25938 * sysdeps/i386/Versions: ... this.
25939 * sysdeps/i386/elf/Versions: Delete file.
25940 * sysdeps/i386/elf/start.S: Moved to ...
25941 * sysdeps/i386/start.S: ...here.
25942 * sysdeps/i386/elf/configure.in: Merge into...
25943 * sysdeps/i386/configure.in: ...here.
25944 * sysdeps/i386/elf/configure.in: Delete file.
25945 * sysdeps/i386/elf/configure: Delete file.
25946
25947 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25948 * debug/backtracesyms.c: ... here.
25949 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25950 * debug/backtracesymsfd.c: ... here.
25951 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25952 * sysdeps/generic/ifunc-sel.h: ... here.
25953
25954 * sysdeps/unix/i386/start.c: Delete file.
25955 * sysdeps/unix/sparc/start.c: Delete file.
25956 * sysdeps/unix/start.c: Delete file.
25957
25958 * sysdeps/sh/elf/configure.in: Moved to ...
25959 * sysdeps/sh/configure.in: ... here.
25960 * sysdeps/sh/elf/start.S: Moved to ...
25961 * sysdeps/sh/start.S: ... here.
25962 * sysdeps/sh/elf/configure: Delete file.
25963
25964 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25965 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25966 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25967 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25968 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25969 * sysdeps/powerpc/powerpc64/start.S: here.
25970 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25971 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25972 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25973 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25974 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25975
25976 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25977 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25978 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25979 * sysdeps/powerpc/powerpc32/start.S: ... here.
25980 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25981 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25982 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25983
25984 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25985 * sysdeps/powerpc/ifunc-sel.h: ... here.
25986 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25987 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25988
25989 * sysdeps/sparc/elf/configure.in: Moved to ...
25990 * sysdeps/sparc/configure.in: ... here.
25991 * sysdeps/sparc/elf/configure: Delete file.
25992 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25993 * sysdeps/sparc/sparc32/start.S: ... here.
25994 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25995 * sysdeps/sparc/sparc64/start.S: ... here.
25996 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25997 * sysdeps/sparc/sparc32/Makefile: ... this.
25998 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25999 * sysdeps/sparc/sparc64/Makefile: ... this.
26000
26001 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26002 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26003 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26004 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26005 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26006 * sysdeps/s390/s390-32/setjmp.S: ... here.
26007 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26008 * sysdeps/s390/s390-32/configure.in: ... here.
26009 * sysdeps/s390/s390-32/elf/configure: Delete file.
26010 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26011 * sysdeps/s390/s390-32/start.S: ... here.
26012
26013 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26014 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26015 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26016 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26017 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26018 * sysdeps/s390/s390-64/setjmp.S: ... here.
26019 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26020 * sysdeps/s390/s390-64/configure.in: ... here
26021 * sysdeps/s390/s390-64/elf/configure: Delete file.
26022 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26023 * sysdeps/s390/s390-64/start.S: ... here.
26024 * sysdeps/s390/s390-64/elf/configure: Delete.
26025
26026 * configure.in: Remove support for elf directories in sysdeps.
26027
26028 * configure: Regenerated.
26029 * sysdeps/i386/configure: Regenerated.
26030 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26031 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26032 * sysdeps/s390/s390-32/configure: Regenerated.
26033 * sysdeps/s390/s390-64/configure: Regenerated.
26034 * sysdeps/sh/configure: Regenerated.
26035 * sysdeps/sparc/configure: Regenerated.
26036 * sysdeps/x86_64/configure: Regenerated.
26037
a3f61311
AS
260382012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26039
c876e002
AS
26040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26041
a3f61311
AS
26042 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26043 denormal result into account.
26044
ac4c54f0
RM
260452012-03-25 Roland McGrath <roland@hack.frob.com>
26046
26047 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26048 Reported by Allan McRae <allan@archlinux.org>.
26049
6a9b9c02
JL
260502012-03-23 Jeff Law <law@redhat.com>
26051
26052 * nss/getnssent.c (__nss_getent): Fix typo.
26053
4c42a0c1
DM
260542012-03-23 David S. Miller <davem@davemloft.net>
26055
26056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26057
1532c7ac
L
260582012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26059
26060 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26061 to pad to uint64_t for each field.
26062 (dl_tls_index): Replace unsigned long with uint64_t.
26063
3ff42526
PP
260642012-03-23 Daniel Jacobowitz <dmj@google.com>
26065 Paul Pluzhnikov <ppluzhnikov@google.com>
26066
26067 [BZ #6528]
26068 * grp/Makefile (otherlibs): Don't set it.
26069 * inet/Makefile (otherlibs): Likewise.
26070 * login/Makefile (otherlibs): Likewise.
26071 * nscd/Makefile (otherlibs): Likewise.
26072 * posix/Makefile (otherlibs): Likewise.
26073 * pwd/Makefile (otherlibs): Likewise.
26074 * rt/Makefile (otherlibs): Likewise.
26075 * sunrpc/Makefile (otherlibs): Likewise.
26076 * nss/Makefile (otherlibs): Likewise.
26077 Add libnss_files to routines and static-only-routines.
26078 ($(objpfx)getent): Remove rule.
26079 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26080 static-only-routines.
26081
7c69cd14
JM
260822012-03-22 Joseph Myers <joseph@codesourcery.com>
26083
26084 [BZ #13892]
26085 * math/s_cexp.c: Include <float.h>.
26086 (__cexp): Handle exp result overflowing not necessarily
26087 overflowing both real and imaginary parts of result.
26088 * math/s_cexpf.c: Likewise.
26089 * math/s_cexpl.c: Likewise.
26090 * math/libm-test.inc (cexp_test): Add more tests.
26091 * sysdeps/i386/fpu/libm-test-ulps: Update.
26092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26093
81b035fe
L
260942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26095
26096 * include/link.h (ELFW): New macro.
26097 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26098 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26099
1da7940c
L
261002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26101
26102 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26103 with uint64_t.
26104
b749dbb9
L
261052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26106
26107 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26108 declaration.
26109 (struct La_x32_retval): Likewise.
26110
2ff87f3f
L
261112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26112
26113 * sysdeps/x86_64/preconfigure.in: New file.
26114 * sysdeps/x86_64/preconfigure: New generated file.
26115
c0df8e69
JM
261162012-03-22 Joseph Myers <joseph@codesourcery.com>
26117
48e44791
JM
26118 [BZ #13824]
26119 * math/e_exp2l.c: Include <float.h>.
26120 (__ieee754_exp2l): Handle overflow and underflow cases
26121 separately. Only pass fractional part of argument to
26122 __ieee754_expl.
26123 * math/libm-test.inc (exp2_test): Add more tests.
26124
c0df8e69
JM
26125 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26126 negating x to take absolute value.
26127 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26128 Likewise.
26129 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26130 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26131 Likewise.
26132 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26133 computing low part if x was negated.
26134 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26135
c8e43ba7
L
261362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26137
26138 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26139 la_x32_gnu_pltexit.
26140 (pltexit): Cast int_retval to ptrdiff_t.
26141 * elf/tst-auditmod3b.c: Likewise.
26142 * elf/tst-auditmod4b.c: Likewise.
26143 * elf/tst-auditmod5b.c: Likewise.
26144 * elf/tst-auditmod6b.c: Likewise.
26145 * elf/tst-auditmod6c.c: Likewise.
26146 * elf/tst-auditmod7b.c: Likewise.
26147
26148 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26149 and x32_gnu_pltexit.
26150
26151 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26152 __ELF_NATIVE_CLASS.
26153 (La_x32_regs): New macro.
26154 (La_x32_retval): Likewise.
26155 (la_x32_gnu_pltenter): New function prototype.
26156 (la_x32_gnu_pltexit): Likewise.
26157
7998fa78
AS
261582012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26159
dcb33988
AS
26160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26161 exponent.
26162
233fc563
AS
26163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26164
7998fa78
AS
26165 * configure.in (libc_cv_cc_nofma): Check for option to disable
26166 generation of FMA instructions.
26167 * configure: Regenerate.
26168 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26169 * sysdeps/ieee754/dbl-64/Makefile: New file.
26170 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26171 Remove brandred-fma4.
26172 (CFLAGS-brandred-fma4.c): Remove.
26173 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26174 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26175 define.
26176 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26177 define.
26178
8e95c99a
L
261792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26180
26181 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26182 LLONG_MAX != LONG_MAX.
26183 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26184 (_fitoa_word): Likewise.
26185 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26186 LLONG_MAX != LONG_MAX.
26187 * stdio-common/_itowa.h: Include <_itoa.h>.
26188 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26189 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26190 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26191 only if not defined.
26192 (_ITOA_WORD_TYPE): Likewise.
26193 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26194 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26195
6f4db457
DM
261962012-03-21 David S. Miller <davem@davemloft.net>
26197
26198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26199
7785fe5a
L
262002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26201
26202 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26203 of x86_64 when setting libc_cv_slibdir, libdir and
26204 libc_cv_localedir.
26205 * sysdeps/unix/sysv/linux/configure: Regenerated.
26206
4535cd55
JM
262072012-03-21 Joseph Myers <joseph@codesourcery.com>
26208
26209 * manual/lang.texi (Old Varargs): Remove section.
26210 (How Variadic): Update menu.
26211 (va_start): Do not mention varargs.h.
26212
17228132
TS
262132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26214 Joseph Myers <joseph@codesourcery.com>
26215
26216 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26217 link test.
26218 * configure: Regenerated.
26219
8149f976
TS
262202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26221
05f3d1f6
UD
26222 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26223 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26224 conformtest.pl
8149f976 26225
1a4ac776
JM
262262012-03-21 Joseph Myers <joseph@codesourcery.com>
26227
be22ce65
JM
26228 * NOTES: Remove.
26229 * Makefile (files-for-dist): Remove NOTES.
26230 (NOTES): Remove rule.
26231 * README: Don't refer to NOTES.
26232 * manual/creature.texi: Don't include macros.texi.
26233 * manual/intro.texi (creature.texi): Remove comment referring to
26234 NOTES.
26235
40b601fb
JM
26236 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26237 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26238 * configure: Regenerated.
26239 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26240 LIBC_TRY_CC_OPTION.
26241 (libc_cv_as_i686): Likewise.
26242 (libc_cv_cc_avx): Likewise.
26243 (libc_cv_cc_sse2avx): Likewise.
26244 (libc_cv_cc_fma4): Likewise.
26245 (libc_cv_cc_novzeroupper): Likewise.
26246 * sysdeps/i386/configure: Regenerated.
26247
1a4ac776
JM
26248 [BZ #13883]
26249 * sysdeps/i386/fpu/s_cexp.S: Remove.
26250 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26251 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26252 * math/libm-test.inc (cexp_test): Add more tests.
26253 * sysdeps/i386/fpu/libm-test-ulps: Update.
26254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26255
a458e7fe
AM
262562012-03-21 Allan McRae <allan@archlinux.org>
26257
26258 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26259
0cb7efc5
JM
262602012-03-21 Joseph Myers <joseph@codesourcery.com>
26261
26262 [BZ #13871]
26263 * math/w_exp2.c: Do not include <float.h>.
26264 (o_threshold, u_threshold): Remove.
26265 (__exp2): Calculate result before checking finiteness and calling
26266 __kernel_standard.
26267 * math/w_exp2f.c: Likewise.
26268 * math/w_exp2l.c: Likewise.
26269 * math/libm-test.inc (exp2_test): Require overflow exception for
26270 1e6 input.
2460d3aa
JM
26271
26272 [BZ #3866]
26273 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26274 range of signed 64-bit integers before using fistpll. Remove
26275 checks for whether integers fit in mantissa bits.
26276 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26277 the range of signed 32-bit integers before using fistpl. Remove
26278 checks for whether integers fit in mantissa bits.
26279 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26280 (__ieee754_powl): Test for y outside the range of signed 64-bit
26281 integers before using fistpll. Reduce 64-bit values to 63-bit
26282 ones as needed.
26283 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26284 divide-by-zero is raised for zero to large negative powers.
26285 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26286 (__ieee754_powl): Test for y outside the range of signed 64-bit
26287 integers before using fistpll. Reduce 64-bit values to 63-bit
26288 ones as needed.
26289 * math/libm-test.inc (pow_test): Add more tests.
26290
eb96ffb0
L
262912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26292
26293 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26294 <stdio-common/_itoa.h>.
26295 * debug/segfault.c: Likewise.
26296 * elf/dl-cache.c: Likewise.
26297 * elf/dl-minimal.c: Likewise.
26298 * elf/dl-misc.c: Likewise.
26299 * elf/dl-sysdep.c: Likewise.
26300 * elf/dl-version.c: Likewise.
26301 * elf/rtld.c: Likewise.
26302 * hurd/hurdsock.c: Likewise.
26303 * hurd/lookup-retry.c: Likewise.
26304 * malloc/malloc.c: Likewise.
26305 * malloc/mtrace.c: Likewise.
26306 * nscd/nscd_getgr_r.c: Likewise.
26307 * nscd/nscd_getpw_r.c: Likewise.
26308 * nscd/nscd_getserv_r.c: Likewise.
26309 * posix/getopt_init.c: Likewise.
26310 * posix/wordexp.c: Likewise.
26311 * stdio-common/_itoa.c: Likewise.
26312 * stdio-common/printf_fphex.c: Likewise.
26313 * stdio-common/vfprintf.c: Likewise.
26314 * string/_strerror.c: Likewise.
26315 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26316 * sysdeps/i386/i686/hp-timing.h: Likewise.
26317 * sysdeps/mach/_strerror.c: Likewise.
26318 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26319 * sysdeps/mach/hurd/sethostid.c: Likewise.
26320 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26321 * sysdeps/mach/xpg-strerror.c: Likewise.
26322 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26323 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26324 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26325 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26326 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26327 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26328 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26329 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26330 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26331 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26332 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26333 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26334 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26335 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26336 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26337 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26338 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26339 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26340 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26341 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26342 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26343
26344 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26345
26346 * stdio-common/_itoa.h: Moved to ...
26347 * sysdeps/generic/_itoa.h: Here.
26348
26349 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26350
26351 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26352 instead of "_itoa.h" and "_itowa.h".
26353 * stdio-common/vfprintf.: Likewise.
26354
d1af992d
L
263552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26356
26357 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26358 <bits/wordsize.h>.
26359 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26360 (__signbit): Likwise.
26361 (llrintf): Likwise.
26362 (llrint): Likwise.
26363
114883e0
L
263642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26365
26366 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26367 __WORDSIZE != 64.
26368
c135cc1b
JM
263692012-03-20 Joseph Myers <joseph@codesourcery.com>
26370
26371 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26372 OVERFLOW_EXCEPTION_OK.
26373 * math/libm-test.inc ("Philosophy"): Update comment about
26374 exception testing.
26375 (OVERFLOW_EXCEPTION): Define.
26376 (OVERFLOW_EXCEPTION_OK): Likewise.
26377 (INVALID_EXCEPTION_OK): Renumber.
26378 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26379 (IGNORE_ZERO_INF_SIGN): Likewise.
26380 (test_exceptions): Handle FE_OVERFLOW.
26381 (exp10_test): Expect overflow exceptions.
26382 (exp2_test): Likewise.
26383 (expm1_test): Likewise.
26384 (nextafter_test): Likewise.
26385 (pow_test): Likewise.
26386 (scalbn_test): Likewise.
26387 (scalbln_test): Likewise.
26388
95443d88
L
263892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26390
26391 * sysdeps/x86_64/bits/atomic.h
26392 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26393 64bit integer.
26394 (atomic_exchange_acq): Likewise.
26395 (__arch_exchange_and_add_body): Likewise.
26396 (__arch_add_body): Likewise.
26397 (atomic_add_negative): Likewise.
26398 (atomic_add_zero): Likewise.
26399
490df6c4
L
264002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26401
c2722551 26402 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
26403 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26404
5e52b189
L
264052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26406
26407 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26408 Check __x86_64__ instead of __WORDSIZE.
26409
a9879d4c
L
264102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26411
26412 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26413
5df98260
DM
264142012-03-19 David S. Miller <davem@davemloft.net>
26415
e1497744
DM
26416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26417
5df98260
DM
26418 * sysdeps/sparc/fpu/fenv_private.h: New file.
26419 * sysdeps/sparc/fpu/math_private.h: Use it.
26420 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26421 Remove.
26422 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26423 (libc_feholdexcept_setroundl): Remove.
26424 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26425 Remove.
26426 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26427 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26428
b4c35121
L
264292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26430
26431 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26432 int64_t instead of long int.
26433 (INSERT_WORDS64): Likwise.
26434
56965fd7
L
264352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
26436
26437 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26438 _Unwind_GetCFA return to _Unwind_Ptr first.
26439
83d1aec8
JM
264402012-03-19 Joseph Myers <joseph@codesourcery.com>
26441
1897ad44
JM
26442 [BZ #13629]
26443 * math/s_clog.c: Include <float.h>.
26444 (__clog): Scale large or subnormal inputs.
26445 * math/s_clogf.c: Likewise.
26446 * math/s_clogl.c: Likewise.
26447 * math/s_clog10.c: Include <float.h>.
26448 (M_LOG10_2): Define.
26449 (__clog10): Scale large or subnormal inputs.
26450 * math/s_clog10f.c: Likewise.
26451 * math/s_clog10l.c: Likewise.
26452 * math/libm-test.inc (clog_test): Add more tests.
26453 (clog10_test): Likewise.
26454 * sysdeps/i386/fpu/libm-test-ulps: Update.
26455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26456
7726d6a9
JM
26457 [BZ #11451]
26458 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26459 x and y.
26460 * math/libm-test.inc (atan2_test): Add another test.
26461
83d1aec8
JM
26462 * Makerules (common-objdir-compile): Remove.
26463 * sysdeps/unix/Makefile (config-generated): Do not add
26464 $(unix-generated) to variable.
26465 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26466 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26467 Remove rule.
26468 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26469 Likewise.
26470 [generic bits/local_lim.h] (before-compile): Do not append to
26471 variable.
26472 [generic bits/local_lim.h] (common-generated): Likewise.
26473 [generic sys/param.h] (before-compile): Do not append to variable.
26474 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26475 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26476 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26477 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26478 include.
26479 [generic sys/param.h] (sys/param.h-includes): Remove variable.
26480 [generic sys/param.h] (sys/param.h-includes): Remove rule.
26481 [generic sys/param.h] ($(addprefix
26482 $(common-objpfx),$(sys/param.h-includes))): Likewise.
26483 [generic sys/param.h] (common-generated): Do not append to
26484 variable.
26485 [generic sys/param.h] (sysdep_headers): Likewise.
26486 [generic bits/errno.h] (before-compile): Do not append to
26487 variable.
26488 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26489 rule.
26490 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26491 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26492 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26493 [generic bits/errno.h] (common-generated): Do not append to
26494 variable.
26495 [generic bits/ioctls.h] (before-compile): Do not append to
26496 variable.
26497 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26498 rule.
26499 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26500 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26501 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26502 rule.
26503 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26504 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26505 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26506 [generic bits/ioctls.h] (common-generated): Do not append to
26507 variable.
26508 [generic sys/syscall.h] (syscall.h): Remove variable.
26509 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26510 rule.
26511 [generic sys/syscall.h] (before-compile): Do not append to
26512 variable.
26513 [generic sys/syscall.h] (common-generated): Likewise.
26514 * sysdeps/unix/errnos-tmpl.c: Remove file.
26515 * sysdeps/unix/errnos.awk: Likewise.
26516 * sysdeps/unix/ioctls-tmpl.c: Likewise.
26517 * sysdeps/unix/ioctls.awk: Likewise.
26518 * sysdeps/unix/mk-local_lim.c: Likewise.
26519 * sysdeps/unix/snarf-ioctls: Likewise.
26520
4851a949
RH
265212012-03-19 Richard Henderson <rth@twiddle.net>
26522
bd37f2ee
RH
26523 * sysdeps/i386/fpu/fenv_private.h: New file.
26524 * sysdeps/i386/fpu/math_private.h: Use it.
26525 (math_opt_barrier, math_force_eval): Remove.
26526 (libc_feholdexcept_setround_53bit): Remove.
26527 (libc_feupdateenv_53bit): Remove.
26528 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26529 (math_opt_barrier, math_force_eval): Remove.
26530 (libc_feholdexcept): Remove.
26531 (libc_feholdexcept_setround): Remove.
26532 (libc_fetestexcept, libc_fesetenv): Remove.
26533 (libc_feupdateenv_test): Remove.
26534 (libc_feupdateenv, libc_feholdsetround): Remove.
26535 (libc_feresetround): Remove.
26536
d0adc922
RH
26537 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26538 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26539
0fe0f1f8
RH
26540 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26541 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26542 (libc_feupdateenv_testl): New.
26543 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26544 (libc_feupdateenv_testf): New.
26545 (libc_feupdateenv): Use libc_feupdateenv_test.
26546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26548
eb92c487
RH
26549 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26550 (libc_feholdsetroundf, libc_feholdsetroundl): New.
26551 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26552 (libc_feresetround_noex): New.
26553 (libc_feresetround_noexf): New.
26554 (libc_feresetround_noexl): New.
26555 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26556 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26557 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26558 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26559 SET_RESTORE_ROUND.
26560 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26561 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26562 (__cos): Likewise.
26563 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26564 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26565 SET_RESTORE_ROUND_NOEX.
26566 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26567 SET_RESTORE_ROUND_NOEXF.
26568 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26569 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26570 (libc_feholdsetroundf): New.
26571 (libc_feresetround, libc_feresetroundf): New.
26572
7d2e8012
RH
26573 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26574 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26575 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26576
b4dabbb4
RH
26577 * sysdeps/generic/math_private.h: Include <fenv.h>.
26578 (default_libc_feholdexcept): New.
26579 (default_libc_feholdexcept_setround): New.
26580 (default_libc_fesetenv, default_libc_feupdateenv): New.
26581 (libc_feholdexcept): Only define if undefined.
26582 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26583 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26584 (libc_feholdexcept_setroundl): Likewise.
26585 (libc_feholdexcept_setround_53bit): Likewise.
26586 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26587 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26588 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26589 (libc_feupdateenv_53bit): Likewise.
26590 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26591 (libc_feholdexcept): Convert from macro to inline function.
26592 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26593 (libc_fesetenv, libc_feupdateenv): Likewise.
26594
4851a949
RH
26595 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26596 not previously defined.
26597 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26598 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26599 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26600 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26601 * sysdeps/ieee754/flt-32/math_private.h: New file.
26602 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26603 math_private.h below SET_FLOAT_WORD.
26604 (__isnan, __isinf_ns, __finite): Remove.
26605 (__isnanf, __isinf_nsf, __finitef): Remove.
26606
e79d442e
AS
266072012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26608
26609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26610
90b80344
DM
266112012-03-17 David S. Miller <davem@davemloft.net>
26612
26613 [BZ #6471]
26614 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26615 for 2.16.
26616
edc21804
DM
266172012-03-16 David S. Miller <davem@davemloft.net>
26618
77e927af
DM
26619 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26620 warnings.
26621
374976dd
DM
26622 [BZ #6471]
26623 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26624 properly.
26625 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26626 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26627 sysdep_routines when subdir is sysvipc.
26628 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26629 __getshmlba helper.
26630
edc21804
DM
26631 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26632
473c3ef3
L
266332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26634
26635 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26636 [__LP64__].
26637
eb0f39b6
L
266382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26639
26640 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26641 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26642 (__lround): Renamed to ...
26643 (__llround): This. Replace long int with long long int.
26644 Define lround functions as aliases of llround functions.
26645 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26646
6b6cd74b
L
266472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26648
26649 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26650 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26651 adresses to uintptr_t. Replace "long int" and "unsigned long
26652 int" with "greg_t" on va_arg.
26653
f1a77b01
L
266542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26655
26656 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26657 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26658
26659 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26660 Move e_machine check before EI_CLASS check. Handle x32
26661 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26662 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26663 SKIP_EM_IA_64 and include
26664 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26665
26666 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26667 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26668 (add_system_dir): New macro.
26669
26670 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26671 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26672
11b90b9f
JM
266732012-03-16 Joseph Myers <joseph@codesourcery.com>
26674
c36e1d23
JM
26675 [BZ #2551]
26676 [BZ #2552]
26677 [BZ #2553]
26678 [BZ #2554]
26679 [BZ #2562]
26680 [BZ #2563]
26681 [BZ #2565]
26682 [BZ #2566]
26683 [BZ #2576]
26684 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26685 (y0): Likewise.
26686 * math/w_j0f.c (j0f): Likewise.
26687 (y0f): Likewise.
26688 * math/w_j0l.c (__j0l): Likewise.
26689 (__y0l): Likewise.
26690 * math/w_j1.c (j1): Likewise.
26691 (y1): Likewise.
26692 * math/w_j1f.c (j1f): Likewise.
26693 (y1f): Likewise.
26694 * math/w_j1l.c (__j1l): Likewise.
26695 (__y1l): Likewise.
26696 * math/w_jn.c (jn): Likewise.
26697 (yn): Likewise.
26698 * math/w_jnf.c (jnf): Likewise.
26699 (ynf): Likewise.
26700 * math/w_jnl.c (__jnl): Likewise.
26701 (__ynl): Likewise.
26702 * math/libm-test.inc (j0_test): Add more tests.
26703 (j1_test): Likewise.
26704 (jn_test): Likewise. Add trailing semicolon to existing test.
26705 (y0_test): Likewise.
26706 (y1_test): Likewise.
26707 * sysdeps/i386/fpu/libm-test-ulps: Update.
26708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26709
11b90b9f
JM
26710 [BZ #13851]
26711 [BZ #13854]
26712 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26713 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26714 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26715 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26716 (__tanl): Set errno for infinite argument.
26717 * sysdeps/i386/fpu/mptan.c: Remove.
26718 * sysdeps/i386/fpu/s_tan.S: Likewise.
26719 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26720 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26721 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26722 * math/libm-test.inc (tan_test): Add more tests and enable more
26723 tests for double and long double.
26724 * sysdeps/i386/fpu/libm-test-ulps: Update.
26725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26726
6a1bd2a1
JK
267272012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26728
26729 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26730 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26731
10a803e0
RM
267322012-03-16 Roland McGrath <roland@hack.frob.com>
26733
26734 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26735 * configure.in: Use it for both main tree and add-ons.
26736 * configure: Regenerated.
26737
f196c7f7
L
267382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26739
26740 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26741
8848d99d
JM
267422012-03-16 Joseph Myers <joseph@codesourcery.com>
26743
96cbe7f4
JM
26744 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26745 in comment.
26746
8848d99d
JM
26747 [BZ #13851]
26748 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26749 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26750 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26752 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26753 infinite argument.
26754 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26755 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26756 != 0 for prec == 2.
26757 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26758 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26759 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26760 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26761 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26762 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26763 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26764 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26765 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26766 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26767 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26768 * math/libm-test.inc (cos_test): Add more tests and enable more
26769 tests for long double.
26770 (sin_test): Likewise.
26771 (sincos_test): Likewise.
26772 * sysdeps/i386/fpu/libm-test-ulps: Update.
26773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26774
dd7f4703
DM
267752012-03-16 David S. Miller <davem@davemloft.net>
26776
26777 * sysdeps/sparc/fpu/math_private.h: New file.
26778
006f1daa
DM
267792012-03-15 David S. Miller <davem@davemloft.net>
26780
c0c83bc8
DM
26781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26782 file.
e6a62e18 26783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26785 file.
e6a62e18
DM
26786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26791 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26792 sysdep routines.
26793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26794
88cb87d9
DM
26795 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26796 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26797
006f1daa 26798 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26800 sparc-ifunc.h
006f1daa 26801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26803 Likewise.
26804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26805 Likewise.
006f1daa
DM
26806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26810 Likewise.
006f1daa
DM
26811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26816 Likewise.
26817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26818 Likewise.
006f1daa
DM
26819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26825 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26837 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26841 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26843
11e0098e
AS
268442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26845
26846 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26847 scaling.
26848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26849
e85b09d0
AJ
268502012-03-15 Andreas Jaeger <aj@suse.de>
26851
26852 [BZ #13852]
26853 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26854 ieee754/flt-32 implementation for sin, cos and sincos.
26855 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26856 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26857 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26858 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26859 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26860 ieee754/flt-32 implementation for tan.
26861
26862 * math/libm-test.inc (cos_test): Enable some large input tests for
26863 float as well
26864 (sin_test): Likewise.
26865 (sincos_test): Likewise.
26866 (tan_test): Add tests for large input.
26867
26868 * sysdeps/i386/fpu/libm-test-ulps: Update.
26869
81c64153
AJ
268702012-03-15 Andreas Jaeger <aj@suse.de>
26871
26872 [BZ #13658]
26873 * math/libm-test.inc (cos_test): Add more test cases.
26874 (sin_test): Likewise.
26875 (sincos_test): Likewise.
26876
7bbfa5c6
AJ
268772012-03-15 Andreas Jaeger <aj@suse.de>
26878
26879 [BZ #13837]
26880 * math/libm-test.inc (cos_test): Add a test case for large input
26881 value.
26882 (sin_test): Likewise.
26883 (sincos_test): Likewise.
26884
268852012-03-15 Andreas Jaeger <aj@suse.de>,
26886 Joseph Myers <joseph@codesourcery.com>
26887
26888 [BZ #13658]
0671f479 26889 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26890 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26891 * sysdeps/i386/fpu/branred.c: Likewise.
26892 * sysdeps/i386/fpu/dosincos.c: Likewise.
26893 * sysdeps/i386/fpu/mpa.c: Likewise.
26894 * sysdeps/i386/fpu/s_cos.S: Likewise.
26895 * sysdeps/i386/fpu/s_sin.S: Likewise.
26896 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26897 * sysdeps/i386/fpu/sincos32.c: Likewise.
26898
26899 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26900 Define.
26901 (libc_feupdateenv_53bit): Define.
26902 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26903 Define.
26904 (libc_feupdateenv_53bit): Define.
26905
26906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26907 53 bit (without extend i386 double precision).
26908
26909 * math/libm-test.inc (sincos_test): Add tests for large input.
26910 (sin): Likewise.
26911 (cos): Likewise.
26912
26913 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26914
9cad04ea
AS
269152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26916
26917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26918
f7062b9a
DM
269192012-03-15 David S. Miller <davem@davemloft.net>
26920
26921 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26922 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26923 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26924 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26937 file.
f7062b9a 26938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26940 file.
f7062b9a 26941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26943 file.
f7062b9a 26944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26946 file.
f7062b9a
DM
26947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26949 fmin/fmax sysdep routines.
26950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26951
7bd951ff
DM
269522012-03-14 David S. Miller <davem@davemloft.net>
26953
559398ab
DM
26954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26958 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26974 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26978 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26982 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26983 routines.
26984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26985 file.
559398ab 26986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26988 file.
559398ab 26989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26991 file.
559398ab 26992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26994 file.
559398ab 26995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26997 file.
559398ab 26998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27000 file.
27001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27002 file.
27003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27004 file.
27005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27006 file.
27007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27008 New file.
27009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27010 file.
27011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27012 file.
559398ab 27013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
27014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27015 file.
559398ab 27016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
27017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27018 file.
559398ab 27019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
27020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27021 file.
559398ab 27022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
27023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27024 VIS3 routines.
559398ab
DM
27025
27026 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27027 New file.
27028
5a1c1e32
DM
27029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27030
eae47a36
DM
27031 * sysdeps/sparc/configure.in: New file.
27032 * sysdeps/sparc/configure: Generate.
27033 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27034 * configure: Regenerate.
27035 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27036 * config.make.in (have-as-vis3): New.
27037 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27038 available use -Av9d instead of -Av9a.
27039 * sysdeps/sparc/sparc64/Makefile: Likewise.
27040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
27041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27042 New file.
27043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27044 file.
27045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27046 New file.
27047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27048 file.
eae47a36
DM
27049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27050 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27053 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27054
c0c83bc8
DM
27055 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27056 fzeros/fnegs to load 0x80000000 into a float register instead of
27057 using the stack.
7bd951ff
DM
27058 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27059
bd951ccb
JM
270602012-03-14 Joseph Myers <joseph@codesourcery.com>
27061
27062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27063 bits/syscall.h.
27064 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27065 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27066 ($(inst_includedir)/bits/syscall.h): Remove rule.
27067 ($(objpfx)bits/syscall.d): Include instead of
27068 $(objpfx)syscall-list.d.
27069 (generated): Change syscall-list.h and syscall-list.d to
27070 bits/syscall.h and bits/syscall.d.
27071
bb4e6db2
RM
270722012-03-14 Roland McGrath <roland@hack.frob.com>
27073
27074 [BZ #13846]
27075 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27076
aa4a2ae1
JM
270772012-03-14 Joseph Myers <joseph@codesourcery.com>
27078
e456826d
JM
27079 [BZ #13841]
27080 * math/s_csqrt.c: Include <float.h>.
27081 (__csqrt): Scale large or subnormal inputs.
27082 * math/s_csqrtf.c: Likewise.
27083 * math/s_csqrtl.c: Likewise.
27084 * math/libm-test.inc (csqrt_test): Add more tests.
27085 * sysdeps/i386/fpu/libm-test-ulps: Update.
27086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27087
aa4a2ae1
JM
27088 [BZ #13840]
27089 * math/libm-test.inc (hypot_test): Add more tests.
27090
7c10fd35
DM
270912012-03-13 David S. Miller <davem@davemloft.net>
27092
27093 [BZ #13840]
27094 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27095 double-precision for the calculation instead of scaling.
27096
f453b98b
JM
270972012-03-13 Joseph Myers <joseph@codesourcery.com>
27098
27099 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27100 manipulate bits before adding and subtracting TWO52[sx].
27101 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27102 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27103 Likewise.
27104 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27105
09a3453f
DM
271062012-03-13 David S. Miller <davem@davemloft.net>
27107
8e59da90
DM
27108 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27109 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27111 rtld-global-offsets.h
27112 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27113
2a8ab7f2
DM
27114 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27115 large parameters.
27116
10f62770
DM
27117 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27118
5f0bdb18
DM
27119 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27120 'err' in the ifdef scope in which it is actually used.
27121
09a3453f
DM
27122 * nss/nss_db/db-init.c: Include string.h
27123
b4b2eb5e
DM
271242012-03-12 David S. Miller <davem@davemloft.net>
27125
98bb2f1c
DM
27126 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27127 masking out of the most significant byte of random value used.
27128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27129 Fix coding style in previous change.
27130
b4b2eb5e
DM
27131 * sysdeps/unix/sysv/linux/kernel-features.h
27132 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27133 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27134 expression.
27135 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27136 later.
27137
6e226b09
DM
271382012-03-11 David S. Miller <davem@davemloft.net>
27139
a1bcbd40
DM
27140 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27141 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27142 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27143 for 'resultvar' otherwise things get truncated on 64-bit.
27144
cb9d6174
DM
27145 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27146 Fix masking out of the most significant byte of random value used.
27147
6e226b09
DM
27148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27149
058c132d
AS
271502012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27151
27152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27153
2d2cd515
DM
271542012-03-09 David S. Miller <davem@davemloft.net>
27155
27156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27157 variables with appropriate CPP guards.
27158 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27159 frame pointer, not the stack pointer. Correct layout comments. Fix test
27160 on resulting framesize and the management of the outregs buffer for pltexit.
27161 Preserve floating point return values across _dl_call_pltexit call.
27162 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27163 framesize and the management of the outregs buffer for pltexit.
27164 Preserve floating point return values across _dl_call_pltexit
27165 call.
27166 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27167 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27168 (print_exit): Fix format string for return register value.
27169
9a07f9d0
JM
271702012-03-10 Joseph Myers <joseph@codesourcery.com>
27171
27172 * sunrpc/Makefile (others): Add rpcgen.
27173 ($(objpfx)rpcgen): Remove special build rule and dependency on
27174 libc.
27175 * sunrpc/rpcgen.c: New file.
27176
547b5e30
PE
271772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27178
c524201a
PE
27179 [BZ #13673]
27180 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27181 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27182 * sysdeps/i386/crti.S: Likewise.
27183 * sysdeps/i386/crtn.S: Likewise.
27184 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27185 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27186 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27187 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27188 * sysdeps/sh/crti.S: Likewise.
27189 * sysdeps/sh/crtn.S: Likewise.
27190 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27191
7b6235f2
PE
27192 [BZ #13673]
27193 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27194 with URL.
27195 * locale/programs/locfile-kw.gperf: Likewise.
27196 * locale/programs/charmap-kw.h: Regenerated.
27197 * locale/programs/locfile-kw.h: Likewise.
27198
547b5e30
PE
27199 [BZ #13673]
27200 * intl/plural.y: Replace FSF snail mail address with URL.
27201 * intl/plural.c: Regenerated.
27202
5f0a5dae
RH
272032012-03-09 Richard Henderson <rth@twiddle.net>
27204
27205 * include/math_private.h: Remove file.
27206 * math/math_private.h: Move file ...
27207 * sysdeps/generic/math_private.h: ... here.
27208
b8c03620
RH
27209 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27210 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27211 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27212
4e234f5d 27213 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
27214 and <math_private.h>.
27215 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27216 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27217 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27218 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27219 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27220 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27221 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27222 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27223 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27224 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27225 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27226 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27227 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27228 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27229 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27230 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27231 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27232 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27233 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27234 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27235 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27236 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27237 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27239 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27240 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27241 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27244 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27245 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27246 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27247 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27248 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27249 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27250 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27251 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27252 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27253 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27254 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27255 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27256 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27257 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27258 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27259 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27260 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27261 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27262 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27263 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27264 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27265 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27266 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27267 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27268 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27269 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27270 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27271 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27272 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27273 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27274 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27275 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27276 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27278 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27279 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27280 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27281 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27282 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27283 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27284 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27285 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27286 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27287 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27288 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27289 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27293 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27294 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27295 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27296 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27298 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27299 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27302 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27303 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27304 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27305 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27306 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27307 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27308 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27309 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27310 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27311 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27312 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27313 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27314 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27315 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27316 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27317 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27318 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27319 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27320 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27321 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27322 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27323 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27324 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27325 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27326 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27327 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27328 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27329 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27330 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27331 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27332 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27333 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27334 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27335 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27336 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27337 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27338 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27339 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27340 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27341 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27342 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27343 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27344 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27345 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27346 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27347 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27348 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27349 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27350 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27351 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27352 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27353 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27354 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27355 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27356 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27357 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27358 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27359 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27360 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27361 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27362 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27363 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27364 * sysdeps/ieee754/k_standard.c: Likewise.
27365 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27366 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27367 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27368 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27369 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27370 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27371 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27372 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27373 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27374 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27375 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27376 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27377 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27378 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27379 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27380 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27381 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27382 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27383 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27384 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27385 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27386 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27387 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27388 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27389 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27390 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27391 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27392 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27393 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27394 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27395 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27396 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27397 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27398 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27399 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27400 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27401 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27402 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27403 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27404 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27405 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27406 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27407 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27408 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27409 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27410 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27411 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27412 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27413 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27414 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27415 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27416 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27417 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27418 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27419 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27420 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27421 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27422 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27423 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27424 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27425 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27426 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27427 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27428 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27429 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27431 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27432 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27433 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27434 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27435 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27436 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27437 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27438 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27439 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27441 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27442 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27443 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27444 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27445 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27446 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27447 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27448 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27449 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27450 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27451 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27452 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27453 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27454 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27455 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27456 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27457 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27458 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27459 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27460 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27461 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27462 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27463 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27464 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27465 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27466 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27467 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27468 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27469 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27470 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27471 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27472 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27473 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27474 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27475 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27476 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27477 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27478 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27479 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27480 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27481 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27483 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27484 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27485 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27486 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27487 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27489 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27492 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27493 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27494 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27495 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27496 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27497 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27498 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27499 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27500 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27501 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27502 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27503 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27504 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27505 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27506 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27507 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27508 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27509 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27510 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27511 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27512 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27513 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27514 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27515 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27516 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27517 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27518 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27519 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27520 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27521 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27522 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27523 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27524 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27525 * sysdeps/ieee754/s_lib_version.c: Likewise.
27526 * sysdeps/ieee754/s_matherr.c: Likewise.
27527 * sysdeps/ieee754/s_signgam.c: Likewise.
27528 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27529 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27530 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27531 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27532 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27533 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27534 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27535 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27536 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27537 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27538 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27539 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27540 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27541 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27542 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27543 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27544 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27545 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27546 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27547 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 27549
1991fa03
JM
275502012-03-09 Joseph Myers <joseph@codesourcery.com>
27551
27552 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27553 * sunrpc/rpc_main.c: Likewise.
27554 * sunrpc/rpc_svcout.c: Likewise.
27555
60d6f5a6
DM
275562012-03-09 David S. Miller <davem@davemloft.net>
27557
27558 * include/math_private.h: New file.
27559
4962050e
JM
275602012-03-09 Joseph Myers <joseph@codesourcery.com>
27561
02a6f887
JM
27562 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27563 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27564 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27565 from <bits/socket_type.h>.
27566 (enum __socket_type): Don't define here.
27567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27569 bits/socket_type.h.
27570
c6e013c1
JM
27571 [BZ #13566]
27572 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27573 checking __USE_GNU.
27574
4962050e
JM
27575 * Makerules ($(inst_includedir)/%.h): New rule.
27576 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27577 (install-others): Remove variable setting.
27578 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27579
38842f45
RH
275802012-03-08 Richard Henderson <rth@twiddle.net>
27581
67bb6da6
RH
27582 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27583 from macro to inline function; merge with the
27584 !__LIBC_INTERNAL_MATH_INLINES version.
27585 (__ieee754_sqrtf): Likewise.
27586
15194b4b
RH
27587 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27588 to inline function.
27589 (__rintf, __floor, __floorf): Likewise.
27590
64e21ede
RH
27591 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27592 macro to inline function.
27593 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27594
38842f45
RH
27595 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27596 not <math/math_private.h>.
27597
c64bf5fe
DM
275982012-03-08 David S. Miller <davem@davemloft.net>
27599
27600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27601 copyright year.
27602 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27603
82d86f28
TS
276042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27605
27606 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27607 normalization.
27608 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27609 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27610
aea5d727
UD
276112012-03-08 Ulrich Drepper <drepper@gmail.com>
27612
27613 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27614 be defined individually, they must be defined as a block. Define
27615 S for printing a string instead of hidint the different by using a
27616 macro for adding the 'l'.
27617 * stdio-common/tst-fphex-wide.c: Adjust.
27618
70bca0a3
MP
276192012-03-07 Marek Polacek <polacek@redhat.com>
27620
27621 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27622
65b81130
MP
276232012-03-08 Marek Polacek <polacek@redhat.com>
27624
27625 [BZ #13806]
27626 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27627 * stdio-common/tst-fphex.c: Define a few macros to make the
27628 test reusable. Use them.
27629 * stdio-common/tst-fphex-wide.c: New file.
27630
07037eeb
JM
276312012-03-08 Joseph Myers <joseph@codesourcery.com>
27632
a7a93d50
JM
27633 [BZ #6911]
27634 * manual/macros.texi (gnusystems): New macro.
27635 (nongnusystems): Likewise.
27636 (gnulinuxhurdsystems): Likewise.
27637 (gnuhurdsystems): Likewise..
27638 (gnulinuxsystems): Likewise.
27639 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27640 variants of the GNU system, not "GNU system".
27641 * manual/conf.texi: Likewise.
27642 * manual/errno.texi: Likewise. Update example of errno macro
27643 expansion.
27644 * manual/filesys.texi: Likewise.
27645 (getumask): Document as specific to GNU/Hurd.
27646 * manual/install.texi: Likewise. Reword some references to
27647 GNU/Linux.
27648 * manual/intro.texi: Likewise.
27649 * manual/io.texi: Likewise.
27650 (File Name Portability): Detail which constraints are inapplicable
27651 to all GNU systems and which are only inapplicable to GNU/Hurd.
27652 * manual/job.texi: Likewise.
27653 * manual/llio.texi: Likewise.
27654 (O_NOCTTY): Document as present on GNU/Linux.
27655 * manual/maint.texi: Likewise.
27656 * manual/memory.texi: Likewise.
27657 * manual/pattern.texi: Likewise.
27658 * manual/pipe.texi: Likewise.
27659 * manual/process.texi: Likewise.
27660 * manual/resource.texi: Likewise.
27661 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27662 child on GNU/Hurd.
27663 * manual/setjmp.texi: Likewise.
27664 * manual/signal.texi: Likewise.
27665 * manual/startup.texi: Likewise.
27666 * manual/stdio.texi: Likewise.
27667 * manual/terminal.texi: Likewise.
27668 (ONLCR): Document as POSIX.
27669 (OXTABS): Document availability on GNU/Linux as XTABS.
27670 (ONOEOT): Document availability separately from other bits.
27671 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27672 * manual/time.texi: Likewise.
27673 * manual/users.texi: Likewise.
27674 * INSTALL: Regenerated.
27675 * sysdeps/gnu/errlist.c: Regenerated.
27676
07037eeb
JM
27677 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27678 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27679 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27680 puts.
27681 * configure: Regenerated.
27682
d1d3431a
JM
276832012-03-07 Joseph Myers <joseph@codesourcery.com>
27684
af6a1e37
JM
27685 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27686 default includes instead of AC_HEADER_CHECK.
27687 * sysdeps/i386/configure: Regenerated.
27688
d1d3431a
JM
27689 [BZ #10716]
27690 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27691 * math/s_cacoshf.c (__cacoshf): Likewise.
27692 * math/s_cacoshl.c (__cacoshl): Likewise.
27693 * math/s_casinh.c (__casinh): Set signs of result from argument.
27694 * math/s_casinhf.c (__casinhf): Likewise.
27695 * math/s_casinhl.c (__casinhl): Likewise.
27696 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27697 (casinh_test): Add more tests.
27698 * sysdeps/i386/fpu/libm-test-ulps: Update.
27699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27700
482ff4da
UD
277012012-03-07 Ulrich Drepper <drepper@gmail.com>
27702
872fda05
UD
27703 * po/zh_TW.po: Update from translation team.
27704
a4300c7a
UD
27705 * login/Makefile (distribute): Remove variable.
27706 * catgets/Makefile: Likewise.
27707 * mach/Makefile: Likewise.
27708 * malloc/Makefile: Likewise.
27709 * misc/Makefile: Likewise.
27710 * iconv/Makefile: Likewise.
27711 * nscd/Makefile: Likewise.
27712 * hurd/Makefile: Likewise.
27713 * manual/Makefile: Likewise.
27714 * locale/Makefile: Likewise.
27715 * intl/Makefile: Likewise.
27716 * conform/Makefile: Likewise.
27717 * nss/Makefile: Likewise.
27718 * time/Makefile: Likewise.
27719 * soft-fp/Makefile: Likewise.
27720 * dirent/Makefile: Likewise.
27721 * gmon/Makefile: Likewise.
27722 * po/Makefile: Likewise.
27723 * rt/Makefile: Likewise.
27724 * socket/Makefile: Likewise.
27725 * math/Makefile: Likewise.
27726 * signal/Makefile: Likewise.
27727 * debug/Makefile: Likewise.
27728 * elf/Makefile: Likewise.
27729 * timezone/Makefile: Likewise.
27730 * stdlib/Makefile: Likewise.
27731 * iconvdata/Makefile: Likewise.
27732 * sunrpc/Makefile: Likewise.
27733 * io/Makefile: Likewise.
27734 * argp/Makefile: Likewise.
27735 * inet/Makefile: Likewise.
27736 * hesiod/Makefile: Likewise.
27737 * grp/Makefile: Likewise.
27738 * csu/Makefile: Likewise.
27739 * wctype/Makefile: Likewise.
27740 * crypt/Makefile: Likewise.
27741 * libio/Makefile: Likewise.
27742 * string/Makefile: Likewise.
27743 * nis/Makefile: Likewise.
27744 * resolv/Makefile: Likewise.
27745 * stdio-common/Makefile: Likewise.
27746 * wcsmbs/Makefile: Likewise.
27747 * dlfcn/Makefile: Likewise.
27748 * posix/Makefile: Likewise.
27749
3b7c4e74 27750 [BZ #6959]
482ff4da
UD
27751 * timezone/Makefile: Don't install timezone files, just the programs
27752 and scripts.
27753
f72ed77d
UD
277542012-03-06 Ulrich Drepper <drepper@gmail.com>
27755
a000466f
UD
27756 * nss/databases.def: Add missing gshadow entry.
27757
f72ed77d
UD
27758 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27759
a53b7a4e
MP
277602012-03-06 Marek Polacek <polacek@redhat.com>
27761
27762 [BZ #13726]
27763 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27764 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27765 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27766 * stdio-common/tst-long-dbl-fphex.c: New file.
27767
e9258400
DM
277682012-03-06 David S. Miller <davem@davemloft.net>
27769
27770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27771 (set_obp_int): New function.
27772 (get_obp_int): New function.
27773 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27774 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27775 Avoid unused variable warnings on 'val' and use builtin_expect.
27776 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27777 __builtin_expect.
e9258400
DM
27778 (INLINE_CLONE_SYSCALL): Likewise.
27779
3bd2c723
DM
277802012-03-05 David S. Miller <davem@davemloft.net>
27781
27782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27783
bbb78d03
AS
277842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27785
884c5db4
AS
27786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27787
bbb78d03
AS
27788 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27789 only for |x| >= 40.
27790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27791
1c9f702a 277922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27793
27794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27795 Replace gettimeofday with __vdso_gettimeofday.
27796
7be16f82
RM
27797 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27798 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27799 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27800
27801 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27802 time with __vdso_time.
27803
ed58a00f
JM
278042012-03-05 Joseph Myers <joseph@codesourcery.com>
27805
27806 * manual/lang.texi (size_t): Note types to which size_t may be
27807 equivalent with the GNU C Library, but do not describe when
27808 differences between them are significant.
27809
30ee4ced
AJ
278102012-03-05 Andreas Jaeger <aj@suse.de>
27811
27812 * sysdeps/i386/fpu/libm-test-ulps: Update.
27813
b7cd39e8
JM
278142012-03-05 Joseph Myers <joseph@codesourcery.com>
27815
27816 [BZ #3976]
27817 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27818 (__ieee754_pow): Save and restore rounding mode and use
27819 round-to-nearest for main computations.
27820 * math/libm-test.inc (pow_test_tonearest): New function.
27821 (pow_test_towardzero): Likewise.
27822 (pow_test_downward): Likewise.
27823 (pow_test_upward): Likewise.
27824 (main): Call the new functions.
27825 * sysdeps/i386/fpu/libm-test-ulps: Update.
27826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27827
27828 [BZ #3976]
27829 * math/libm-test.inc (cosh_test_tonearest): New function.
27830 (cosh_test_towardzero): Likewise.
27831 (cosh_test_downward): Likewise.
27832 (cosh_test_upward): Likewise.
27833 (sinh_test_tonearest): Likewise.
27834 (sinh_test_towardzero): Likewise.
27835 (sinh_test_downward): Likewise.
27836 (sinh_test_upward): Likewise.
27837 (main): Call the new functions.
27838 * sysdeps/i386/fpu/libm-test-ulps: Update.
27839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27840
6c6a98c9
TV
278412012-03-05 Tom de Vries <tom@codesourcery.com>
27842
27843 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27844 default stack guard is set in last bytes.
27845 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27846
21bb2d2e 278472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27848
21bb2d2e 27849 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27850
21bb2d2e
AJ
27851 [BZ #13656]
27852 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27853 possibly allocate from heap instead of stack.
27854 * stdio-common/bug-vfprintf-nargs.c: New file.
27855 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27856
c6922934
AS
278572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27858
27859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27860
bc957d53
MP
278612012-03-03 Marek Polacek <polacek@redhat.com>
27862
27863 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27864 * math/math_private.h: Likewise.
27865 * stdlib/tst-strtod.c: Likewise.
27866 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27867 * sysdeps/x86_64/bits/atomic.h: Likewise.
27868
6358490d
DM
278692012-03-02 David S. Miller <davem@davemloft.net>
27870
27871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27875 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27876 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27877 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27878 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27879
01ae168d
RM
278802012-03-02 Roland McGrath <roland@hack.frob.com>
27881
d9a17c07
RM
27882 [BZ #13792]
27883 * manual/examples/README: New file, says the example source files
27884 can be used under GPL>=2.
27885 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27886 line containing just "*/".
27887 * manual/examples/add.c: Add copyright header (GPL>=2).
27888 * manual/examples/argp-ex1.c: Likewise.
27889 * manual/examples/argp-ex2.c: Likewise.
27890 * manual/examples/argp-ex3.c: Likewise.
27891 * manual/examples/argp-ex4.c: Likewise.
27892 * manual/examples/atexit.c: Likewise.
27893 * manual/examples/db.c: Likewise.
27894 * manual/examples/dir.c: Likewise.
27895 * manual/examples/dir2.c: Likewise.
27896 * manual/examples/execinfo.c: Likewise.
27897 * manual/examples/filecli.c: Likewise.
27898 * manual/examples/filesrv.c: Likewise.
27899 * manual/examples/fmtmsgexpl.c: Likewise.
27900 * manual/examples/genpass.c: Likewise.
27901 * manual/examples/inetcli.c: Likewise.
27902 * manual/examples/inetsrv.c: Likewise.
27903 * manual/examples/isockad.c: Likewise.
27904 * manual/examples/longopt.c: Likewise.
27905 * manual/examples/memopen.c: Likewise.
27906 * manual/examples/memstrm.c: Likewise.
27907 * manual/examples/mkfsock.c: Likewise.
27908 * manual/examples/mkisock.c: Likewise.
27909 * manual/examples/mygetpass.c: Likewise.
27910 * manual/examples/pipe.c: Likewise.
27911 * manual/examples/popen.c: Likewise.
27912 * manual/examples/rprintf.c: Likewise.
27913 * manual/examples/search.c: Likewise.
27914 * manual/examples/select.c: Likewise.
27915 * manual/examples/setjmp.c: Likewise.
27916 * manual/examples/sigh1.c: Likewise.
27917 * manual/examples/sigusr.c: Likewise.
27918 * manual/examples/stpcpy.c: Likewise.
27919 * manual/examples/strdupa.c: Likewise.
27920 * manual/examples/strftim.c: Likewise.
27921 * manual/examples/strncat.c: Likewise.
27922 * manual/examples/subopt.c: Likewise.
27923 * manual/examples/swapcontext.c: Likewise.
27924 * manual/examples/termios.c: Likewise.
27925 * manual/examples/testopt.c: Likewise.
27926 * manual/examples/testpass.c: Likewise.
27927 * manual/examples/timeval_subtract.c: Likewise.
27928
01ae168d
RM
27929 [BZ #13792]
27930 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27931 function to ...
27932 * manual/timeval_subtract.c.texi: ... here, new file.
27933
49efa33d
DM
279342012-03-02 David S. Miller <davem@davemloft.net>
27935
27936 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27937
28afd92d
JM
279382012-03-02 Joseph Myers <joseph@codesourcery.com>
27939
804360ed
JM
27940 [BZ #3976]
27941 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27942 (__sin): Save and restore rounding mode and use round-to-nearest
27943 for all computations.
27944 (__cos): Save and restore rounding mode and use round-to-nearest
27945 for all computations.
27946 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27947 <fenv.h>.
27948 (tan): Save and restore rounding mode and use round-to-nearest for
27949 all computations.
27950 * math/libm-test.inc (cos_test_tonearest): New function.
27951 (cos_test_towardzero): Likewise.
27952 (cos_test_downward): Likewise.
27953 (cos_test_upward): Likewise.
27954 (sin_test_tonearest): Likewise.
27955 (sin_test_towardzero): Likewise.
27956 (sin_test_downward): Likewise.
27957 (sin_test_upward): Likewise.
27958 (tan_test_tonearest): Likewise.
27959 (tan_test_towardzero): Likewise.
27960 (tan_test_downward): Likewise.
27961 (tan_test_upward): Likewise.
27962 (main): Call the new functions.
27963 * sysdeps/i386/fpu/libm-test-ulps: Update.
27964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27965
a6d06d7b
JM
27966 [BZ #10135]
27967 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27968 small n, then large n, before computing and testing k+n.
27969 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27971 Likewise.
27972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27973 Likewise.
27974 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27975 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27976 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27977 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27978 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27979 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27980 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27981 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27982 * math/libm-test.inc (scalbn_test): Add more tests.
27983 (scalbln_test): Likewise.
27984
07e12bb3
JM
27985 * manual/filesys.texi (mode_t): Describe constraints on size and
27986 signedness, not exact equivalence to a particular type.
27987 (ino_t): Likewise.
27988 (ino64_t): Likewise.
27989 (dev_t): Likewise.
27990 (nlink_t): Likewise.
27991 (blkcnt_t): Likewise.
27992 (blkcnt64_t): Likewise.
27993 * manual/llio.texi (off_t): Likewise.
27994
28afd92d
JM
27995 [BZ #3976]
27996 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27997 (__ieee754_exp): Save and restore rounding mode and use
27998 round-to-nearest for all computations.
27999 * math/libm-test.inc (exp_test_tonearest): New function.
28000 (exp_test_towardzero): Likewise.
28001 (exp_test_downward): Likewise.
28002 (exp_test_upward): Likewise.
28003 (main): Call the new functions.
28004 * sysdeps/i386/fpu/libm-test-ulps: Update.
28005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28006
b1eeb65d
CD
280072012-03-01 Chris Demetriou <cgd@google.com>
28008
28009 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28010 have predictable order.
28011
53362a4b
DM
280122012-03-01 David S. Miller <davem@davemloft.net>
28013
3c969083
DM
28014 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28015
759707de
DM
28016 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28017 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28018 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28019 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28020
dfdb8ff2
DM
28021 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28022 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28023 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28025 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28026 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28027 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28028 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28029 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28030
ead89f96
DM
28031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28032
7f66bd07
DM
28033 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28034 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28035 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28036
53362a4b
DM
28037 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28038 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28039 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28040 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28041 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28042 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28043 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28044 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28045 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28046 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28047 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28048 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28050 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28051 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28052 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28053 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28054 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28055 * sysdeps/sparc/elf/configure: Regenerated.
28056
7b1902cb
JM
280572012-03-01 Joseph Myers <joseph@codesourcery.com>
28058
bec039bc
JM
28059 * configure.in (AS, LD): Require binutils 2.20 or later.
28060 * configure: Regenerated.
28061 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28062 as required minimum version.
28063 * INSTALL: Regenerated.
28064
7b1902cb
JM
28065 [BZ #2541]
28066 [BZ #4108]
28067 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28068 before squaring exponent.
28069 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28070 bottom long double and 27 bits of top long double before squaring
28071 exponent.
28072 * math/libm-test.inc (erfc_test): Add more tests.
28073 * sysdeps/i386/fpu/libm-test-ulps: Update.
28074 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28076
f775c276
KT
280772012-03-01 Kai Tietz <ktietz@redhat.com>
28078
28079 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28080 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28081 containing bit-fields.
28082 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28083 * soft-fp/single.h (_FP_UNION_S): Likewise.
28084 * soft-fp/double.h (_FP_UNION_D): Likewise.
28085
5b8a4d4a
JM
280862012-02-29 Joseph Myers <joseph@codesourcery.com>
28087
0bab47b6
JM
28088 [BZ #13786]
28089 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28090 not include ../strcmp.S.
28091 [USE_AS_STRNCASECMP_L]: Likewise.
28092 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28093 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28094 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28095 (__strncasecmp_l_ia32): Define as alias to
28096 __strncasecmp_l_nonascii.
28097
0fcad3e2
JM
28098 [BZ #5794]
28099 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28100 * sysdeps/i386/fpu/libm-test-ulps: Update.
28101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28102
5b8a4d4a
JM
28103 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28105
8fdceb2e
JL
281062012-02-29 Jeff Law <law@redhat.com>
28107
28108 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28109 out of bounds read.
28110
1f393a11
MP
281112012-02-29 Marek Polacek <polacek@redhat.com>
28112
28113 [BZ #13706]
28114 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28115 * elf/Makefile: Add rules to run tst-unused-dep.out.
28116
8847f037
DM
281172012-02-28 David S. Miller <davem@davemloft.net>
28118
28119 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28120 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28121 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28122 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28123 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28124 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28125
169d7f11
JM
281262012-02-29 Joseph Myers <joseph@codesourcery.com>
28127
28128 * math/libm-test.inc (llround_test): Move one test from
28129 lround_test. Use TEST_f_L in moved test.
28130 (lround_test): Move misplaced test to llround_test. Add testcase
28131 from bug 2561.
28132
39adf059
UD
281332012-02-28 Ulrich Drepper <drepper@gmail.com>
28134
28135 * sysdeps/x86_64/fpu/e_expf.S: New file.
28136 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28137
71b5d1c5
SB
281382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28139
28140 [BZ #13637]
28141 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28142 of remain_len that may cause incomplete multi-byte character and
28143 false match.
28144 * posix/bug-regex33.c: New file.
28145 * posix/Makefile (tests): Add bug-regex33.
28146
1f77f049
JM
281472012-02-28 Joseph Myers <joseph@codesourcery.com>
28148
28149 * manual/macros.texi: New file.
28150 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28151 * manual/libc.texinfo: Include macros.texi.
28152 * manual/creatute.texi: Likewise.
28153 * manual/install.texi: Likewise.
28154 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28155 @glibcadj{} in references to the GNU C Library.
28156 * manual/charset.texi: Likewise.
28157 * manual/conf.texi: Likewise.
28158 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28159 when not using those macros.
28160 * manual/creature.texi: Likewise.
28161 * manual/crypt.texi: Likewise.
28162 * manual/errno.texi: Likewise.
28163 * manual/filesys.texi: Likewise.
28164 * manual/header.texi: Likewise.
28165 * manual/install.texi: Likewise.
28166 * manual/intro.texi: Likewise.
28167 * manual/io.texi: Likewise.
28168 * manual/job.texi: Likewise.
28169 * manual/lang.texi: Likewise.
28170 * manual/libc.texiinfo: Likewise.
28171 * manual/llio.texi: Likewise.
28172 * manual/locale.texi: Likewise.
28173 * manual/maint.texi: Likewise.
28174 * manual/math.texi: Likewise.
28175 * manual/memory.texi: Likewise.
28176 * manual/message.texi: Likewise.
28177 * manual/nss.texi: Likewise.
28178 * manual/pattern.texi: Likewise.
28179 * manual/process.texi: Likewise.
28180 * manual/resource.texi: Likewise.
28181 * manual/search.texi: Likewise.
28182 * manual/setjmp.texi: Likewise.
28183 * manual/signal.texi: Likewise.
28184 * manual/socket.texi: Likewise.
28185 * manual/startup.texi: Likewise.
28186 * manual/stdio.texi: Likewise.
28187 * manual/string.texi: Likewise.
28188 * manual/sysinfo.texi: Likewise.
28189 * manual/syslog.texi: Likewise.
28190 * manual/terminal.texi: Likewise.
28191 * manual/time.texi: Likewise.
28192 * manual/users.texi: Likewise.
28193 * INSTALL: Regenerated.
28194 * NOTES: Regenerated.
d40c5d54 28195 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 28196
450bf206
AS
281972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28198
28199 * include/dirent.h: Include <dirstream.h> before
28200 <dirent/dirent.h>.
28201
741a235b
DM
282022012-02-28 David S. Miller <davem@davemloft.net>
28203
28204 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28205 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28206 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28207 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28208
d6b5aa58
DM
282092012-02-27 David S. Miller <davem@davemloft.net>
28210
1aff59a3
DM
28211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28213 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28214 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28215
d6b5aa58
DM
28216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28217 frame pointer instead of stack pointer relative arg slot.
28218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28219 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28220 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28221
433f48bf
CD
282222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28223
28224 [BZ #3992]
28225 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28226
d674b76d
DM
282272012-02-27 David S. Miller <davem@davemloft.net>
28228
28229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28233 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28234 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28235 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28236 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28237
0e7727f7
JM
282382012-02-27 Joseph Myers <joseph@codesourcery.com>
28239
28240 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28241 later. Allow versions 5-9.
43be4ca2 28242 * configure: Regenerated.
0e7727f7
JM
28243 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28244 required minimum version and 4.6 as recommended version. Do not
28245 mention bugs in GCC 2.7 and 2.8.
43be4ca2 28246 * INSTALL: Regenerated.
0e7727f7 28247
a78bc654
DM
282482012-02-27 David S. Miller <davem@davemloft.net>
28249
428d5830
DM
28250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28254 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28255 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28256 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28257 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28258
a78bc654
DM
28259 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28260 manipulate bits before adding and subtracting TWO112[sx].
28261 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28262
4579f81c
RM
282632012-02-27 Roland McGrath <roland@hack.frob.com>
28264
36c8acb4
RM
28265 [BZ #13775]
28266 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28267 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28268 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28269 being in POSIX, because they are in 1003.1-2008.
28270
84ad622b
RM
28271 * rt/tst-aio.c: Include <fcntl.h>.
28272 * rt/tst-aio7.c: Likewise.
28273 * rt/tst-aio64.c: Likewise.
28274
4579f81c
RM
28275 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28276
abd923db
JM
282772012-02-27 Joseph Myers <joseph@codesourcery.com>
28278
28279 * manual/install.texi (--with-headers): Describe headers as
28280 interface headers, not private headers.
28281 (Specific advice for GNU/Linux systems): Describe use of headers
28282 from "make headers_install", not private headers from older
28283 kernels.
43be4ca2 28284 * INSTALL: Regenerated.
abd923db
JM
28285 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28286 Change to 2.6.19.
28287 * sysdeps/unix/sysv/linux/configure: Regenerated.
28288
6664049b
JM
28289 * manual/llio.texi (fclean): Remove documentation.
28290
bb8b6697
JM
28291 * manual/Makefile (libc-texi-generated): New variable. Include
28292 version.texi.
28293 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28294 $(libc-texi-generated), not duplicated list of files.
28295 (version.texi, stamp-version): New rules.
28296 (realclean): Remove $(libc-texi-generated), not individual files
28297 from that list. Do not remove dir-add.texinfo.
28298 * manual/libc.texinfo: Comment out uses of edition numbers and
28299 references to printed manual. Remove last-updated dates.
28300 (EDITION): Comment out.
28301 (ISBN): Likewise.
28302 (VERSION, UPDATED): Remove.
28303 (version.texi): Include.
28304
12e5c3b9
AS
283052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28306
28307 * sysdeps/posix/spawni.c: Include <signal.h>.
28308 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28309 * sysdeps/pthread/aio_fsync.c: Likewise.
28310
4efeffc1 283112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 28312
ba63ba08
UD
28313 * conform/Makefile (tests): Run only when not cross-compiling and
28314 when fast-check is not defined.
28315
d94a4670
UD
28316 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28317 * conform/data/limits.h-data: Fixes for POSIX2008.
28318 * conform/run-conformtest.sh: Run all tests.
28319 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28320 headers.
28321 * include/bits/dlfcn.h: Likewise.
28322 * include/langinfo.h: Likewise.
28323 * include/monetary.h: Likewise.
28324 * include/sys/poll.h: Likewise.
28325
28326 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28327 for __USE_GNU.
28328 * posix/spawn.h: Define __need_sigset_t.
28329 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28330 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28331 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
28332 to get sigevent_t only.
28333 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28334 only for __USE_GNU.
28335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28336 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28337 process_vm_writev only for __USE_GNU.
28338 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
28339
28340 * conform/Makefile: For now ignore errors from run-conformtest.
28341 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
28342 POSIX to avoid namespace pollution. Don't prepend headers.
28343 * conform/data/aio.h-data: Fixes for POSIX testing.
28344 * conform/data/fcntl.h-data: Likewise.
28345 * conform/data/glob.h-data: Likewise.
28346 * conform/data/grp.h-data: Likewise.
28347 * conform/data/pthread.h-data: Likewise.
28348 * conform/data/pwd.h-data: Likewise.
28349 * conform/data/signal.h-data: Likewise.
28350 * conform/data/spawn.h-data: Likewise.
28351 * conform/data/stdio.h-data: Likewise.
28352 * conform/data/stdlib.h-data: Likewise.
28353 * conform/data/stropts.h-data: Likewise.
28354 * conform/data/sys/mman.h-data: Likewise.
28355 * conform/data/sys/stat.h-data: Likewise.
28356 * conform/data/sys/types.h-data: Likewise.
28357 * conform/data/sys/wait.h-data: Likewise.
28358 * conform/data/time.h-data: Likewise.
28359 * conform/data/unistd.h-data: Likewise.
28360 * conform/data/utime.h-data: Likewise.
28361
28362 * io/sys/stat.h: fchmod was always in POSIX.
28363 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28364 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28365 * rt/aio.h: Define __need_timespec before including <time.h>.
28366 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28367 struct. Add forward declaration of pthread_attr_t and use it in
28368 sigevent.
28369 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28370 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28371 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28372 always remove CLK_TCK definition.
28373
c20105c3
AS
283742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
28375
28376 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28377
7a270350
UD
283782012-02-25 Ulrich Drepper <drepper@gmail.com>
28379
31341567
UD
28380 * conform/run-conformtest.sh: New file.
28381 * conform/Makefile: Run run-conformtest for tests.
28382 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
28383 support.
28384
28385 * conform/data/uchar.h-data: New file.
28386 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28387 * conform/data/arpa/inet.h-data: Likewise.
28388 * conform/data/assert.h-data: Likewise.
28389 * conform/data/complex.h-data: Likewise.
28390 * conform/data/cpio.h-data: Likewise.
28391 * conform/data/ctype.h-data: Likewise.
28392 * conform/data/dirent.h-data: Likewise.
28393 * conform/data/dlfcn.h-data: Likewise.
28394 * conform/data/errno.h-data: Likewise.
28395 * conform/data/fcntl.h-data: Likewise.
28396 * conform/data/float.h-data: Likewise.
28397 * conform/data/fmtmsg.h-data: Likewise.
28398 * conform/data/fnmatch.h-data: Likewise.
28399 * conform/data/ftw.h-data: Likewise.
28400 * conform/data/glob.h-data: Likewise.
28401 * conform/data/grp.h-data: Likewise.
28402 * conform/data/iconv.h-data: Likewise.
28403 * conform/data/inttypes.h-data: Likewise.
28404 * conform/data/langinfo.h-data: Likewise.
28405 * conform/data/libgen.h-data: Likewise.
28406 * conform/data/limits.h-data: Likewise.
28407 * conform/data/locale.h-data: Likewise.
28408 * conform/data/math.h-data: Likewise.
28409 * conform/data/monetary.h-data: Likewise.
28410 * conform/data/mqueue.h-data: Likewise.
28411 * conform/data/ndbm.h-data: Likewise.
28412 * conform/data/net/if.h-data: Likewise.
28413 * conform/data/netdb.h-data: Likewise.
28414 * conform/data/netinet/in.h-data: Likewise.
28415 * conform/data/nl_types.h-data: Likewise.
28416 * conform/data/poll.h-data: Likewise.
28417 * conform/data/pthread.h-data: Likewise.
28418 * conform/data/pwd.h-data: Likewise.
28419 * conform/data/regex.h-data: Likewise.
28420 * conform/data/sched.h-data: Likewise.
28421 * conform/data/search.h-data: Likewise.
28422 * conform/data/semaphore.h-data: Likewise.
28423 * conform/data/setjmp.h-data: Likewise.
28424 * conform/data/signal.h-data: Likewise.
28425 * conform/data/spawn.h-data: Likewise.
28426 * conform/data/stdarg.h-data: Likewise.
28427 * conform/data/stdio.h-data: Likewise.
28428 * conform/data/stdlib.h-data: Likewise.
28429 * conform/data/string.h-data: Likewise.
28430 * conform/data/strings.h-data: Likewise.
28431 * conform/data/stropts.h-data: Likewise.
28432 * conform/data/sys/ipc.h-data: Likewise.
28433 * conform/data/sys/mman.h-data: Likewise.
28434 * conform/data/sys/msg.h-data: Likewise.
28435 * conform/data/sys/resource.h-data: Likewise.
28436 * conform/data/sys/select.h-data: Likewise.
28437 * conform/data/sys/sem.h-data: Likewise.
28438 * conform/data/sys/shm.h-data: Likewise.
28439 * conform/data/sys/socket.h-data: Likewise.
28440 * conform/data/sys/stat.h-data: Likewise.
28441 * conform/data/sys/statvfs.h-data: Likewise.
28442 * conform/data/sys/time.h-data: Likewise.
28443 * conform/data/sys/timeb.h-data: Likewise.
28444 * conform/data/sys/times.h-data: Likewise.
28445 * conform/data/sys/types.h-data: Likewise.
28446 * conform/data/sys/uio.h-data: Likewise.
28447 * conform/data/sys/un.h-data: Likewise.
28448 * conform/data/sys/utsname.h-data: Likewise.
28449 * conform/data/sys/wait.h-data: Likewise.
28450 * conform/data/syslog.h-data: Likewise.
28451 * conform/data/tar.h-data: Likewise.
28452 * conform/data/termios.h-data: Likewise.
28453 * conform/data/utime.h-data: Likewise.
28454 * conform/data/utmpx.h-data: Likewise.
28455 * conform/data/varargs.h-data: Likewise.
28456 * conform/data/wchar.h-data: Likewise.
28457 * conform/data/wctype.h-data: Likewise.
28458 * conform/data/wordexp.h-data: Likewise.
28459
28460 * include/stropts.h: New file.
28461 * include/uchar.h: New file.
28462 * include/aio.h: Changes to allow conformtest.pl to use the headers.
28463 * include/assert.h: Likewise.
28464 * include/ctype.h: Likewise.
28465 * include/dirent.h: Likewise.
28466 * include/dlfcn.h: Likewise.
28467 * include/fcntl.h: Likewise.
28468 * include/fnmatch.h: Likewise.
28469 * include/glob.h: Likewise.
28470 * include/grp.h: Likewise.
28471 * include/libio.h: Likewise.
28472 * include/locale.h: Likewise.
28473 * include/math.h: Likewise.
28474 * include/net/if.h: Likewise.
28475 * include/netdb.h: Likewise.
28476 * include/netinet/in.h: Likewise.
28477 * include/pthread.h: Likewise.
28478 * include/pwd.h: Likewise.
28479 * include/regex.h: Likewise.
28480 * include/sched.h: Likewise.
28481 * include/search.h: Likewise.
28482 * include/setjmp.h: Likewise.
28483 * include/signal.h: Likewise.
28484 * include/stdio.h: Likewise.
28485 * include/stdlib.h: Likewise.
28486 * include/string.h: Likewise.
28487 * include/sys/cdefs.h: Likewise.
28488 * include/sys/mman.h: Likewise.
28489 * include/sys/msg.h: Likewise.
28490 * include/sys/resource.h: Likewise.
28491 * include/sys/select.h: Likewise.
28492 * include/sys/socket.h: Likewise.
28493 * include/sys/stat.h: Likewise.
28494 * include/sys/statvfs.h: Likewise.
28495 * include/sys/time.h: Likewise.
28496 * include/sys/times.h: Likewise.
28497 * include/sys/uio.h: Likewise.
28498 * include/sys/utsname.h: Likewise.
28499 * include/sys/wait.h: Likewise.
28500 * include/termios.h: Likewise.
28501 * include/time.h: Likewise.
28502 * include/ulimit.h: Likewise.
28503 * include/unistd.h: Likewise.
28504 * include/utime.h: Likewise.
28505 * include/wchar.h: Likewise.
28506 * include/wctype.h: Likewise.
28507 * include/wordexp.h: Likewise.
28508
28509 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28510
7a270350
UD
28511 * time/time.h: TIME_UTC must be a macro.
28512 Make timespec_get available for ISO C11 only as well.
28513
7724defc
UD
285142012-02-24 Ulrich Drepper <drepper@gmail.com>
28515
28516 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28517 Reported by Peng Haitao <penght@cn.fujitsu.com>.
28518
6b1d1d46
JM
285192012-02-24 Joseph Myers <joseph@codesourcery.com>
28520
28521 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 28522
0f8bbd69
JM
285232012-02-24 Joseph Myers <joseph@codesourcery.com>
28524
28525 * manual/texinfo.tex: Update to version 2012-01-19.16.
28526
66ab80bc
JM
285272012-02-24 Joseph Myers <joseph@codesourcery.com>
28528
28529 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28530
74981cc5
RM
285312012-02-24 Roland McGrath <roland@hack.frob.com>
28532
ee968201
RM
28533 [BZ #13738]
28534 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28535 * manual/fdl-1.3.texi: New file.
28536 * manual/fdl-1.1.texi: File removed.
28537
74981cc5
RM
28538 [BZ #13738]
28539 * manual/libc.texinfo (FDL_VERSION): New @set.
28540 Use it for mention of FDL in cover text.
28541 (Documentation License): Use it in @include file name.
28542
7bb764bc
JM
285432012-02-22 Joseph Myers <joseph@codesourcery.com>
28544 Roland McGrath <roland@hack.frob.com>
28545
28546 [BZ #5461]
28547 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28548 not LONG_LONG_MAX and LONG_LONG_MIN.
28549 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28550 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
28551 name.
28552 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28553
6cbeae47
JM
285542012-02-22 Joseph Myers <joseph@codesourcery.com>
28555
28556 [BZ #2547]
28557 [BZ #11365]
28558 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28559 manipulate bits before adding and subtracting TWO23[sx].
28560 * math/libm-test.inc (nearbyint_test): Add more tests.
28561
fe45ce09
JM
285622012-02-22 Joseph Myers <joseph@codesourcery.com>
28563
28564 [BZ #2548]
28565 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28566 bits before adding and subtracting TWO23[sx].
28567 * math/libm-test.inc (rint_test): Add more tests.
28568 (rint_test_tonearest): Likewise.
28569 (rint_test_towardzero): Likewise.
28570 (rint_test_downward): Likewise.
28571 (rint_test_upward: Likewise.
28572
ff3b3d82
JM
285732012-02-22 Joseph Myers <joseph@codesourcery.com>
28574
28575 [BZ #10110]
28576 * include/stdc-predef.h: New file. Extracted from features.h.
28577 * include/features.h: Include stdc-predef.h.
28578 * Makefile (headers): Add stdc-predef.h.
28579 * CONFORMANCE (Compiler limitations): Update.
28580
ef0aab35
JM
285812012-02-22 Joseph Myers <joseph@codesourcery.com>
28582
28583 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28584
58639409
DM
285852012-02-21 David S. Miller <davem@davemloft.net>
28586
28587 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28588 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28589
c0e70b25
DM
285902012-02-20 David S. Miller <davem@davemloft.net>
28591
28592 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28593 using a normal save/restore sequence, rather than allocating a
28594 dummy stack frame just to store a frame pointer and restore.
28595 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28596
fb06851d
JM
285972012-02-21 Joseph Myers <joseph@codesourcery.com>
28598
28599 * manual/install.texi: Fix stray word in line-wrapped comment.
28600
7a8b71c3
DM
286012012-02-20 David S. Miller <davem@davemloft.net>
28602
d510c123
DM
28603 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28604 both binutils and gcc support GOTDATA.
28605
0722d7c2
DM
28606 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28607 "rd %pc" in the PIC register setup sequences.
28608
3d2b3019
DM
28609 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28610 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28611 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28612 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28613 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28614 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28615 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28616 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28618 (SYSCALL_ERROR_HANDLER): Likewise.
28619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28622 (SYSCALL_ERROR_HANDLER): Likewise.
28623
c80098a9
DM
28624 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28625 (HAVE_GCC_GOTDATA): New.
28626 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28627 relocation support in both binutils and gcc.
28628 * sysdeps/sparc/elf/configure: Regenerate.
28629
3a2545a0
DM
28630 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28631 * sysdeps/sparc/sparc32/elf/configure: Delete.
28632 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28633 * sysdeps/sparc/sparc64/elf/configure: Delete.
28634 * sysdeps/sparc/elf/configure.in: New file.
28635 * sysdeps/sparc/elf/configure: Generate.
28636
7a8b71c3
DM
28637 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28638 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28639 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28640 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28641 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28642
f1e86fca
JM
286432012-02-21 Joseph Myers <joseph@codesourcery.com>
28644
28645 * manual/install.texi: Do not mention specific glibc version
28646 numbers.
28647 * manual/libc.texinfo (VERSION, UPDATED): Update.
28648 (@copying): Use @copyright{} and range of years.
28649
0e7dfaef
JM
286502012-02-21 Joseph Myers <joseph@codesourcery.com>
28651
28652 [BZ #13695]
28653 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28654 [crti.S not in sysdirs] (generated): Do not append.
28655 [crti.S not in sysdirs] (omit-deps): Likewise.
28656 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28657 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28658 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28659 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28660 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28661 Likewise.
28662 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28663 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28664 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28665 * csu/defs.awk: Remove file.
28666 * sysdeps/generic/initfini.c: Likewise.
28667 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28668 variable.
28669 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28670 Likewise.
28671
599af3ca
JM
286722012-02-20 Joseph Myers <joseph@codesourcery.com>
28673
28674 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28675 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28676 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28677 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28678 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28679 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28680 <bits/epoll.h>.
28681 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28682 (__EPOLL_PACKED): Define to empty if not defined by
28683 <bits/epoll.h>.
28684 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28686 bits/epoll.h.
28687
0e499750
JM
286882012-02-20 Joseph Myers <joseph@codesourcery.com>
28689
28690 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28691 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28692 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28693 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28694 <bits/timerfd.h>.
28695 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28697 bits/timerfd.h.
28698
5ad91f6e
JM
286992012-02-20 Joseph Myers <joseph@codesourcery.com>
28700
28701 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28702 in C locale.
28703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28704 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28705 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28707
06b99b02
AJ
287082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28709
28710 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28711 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28712
7638c0fd
AS
287132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28714
28715 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28716 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28717 defined.
28718 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28719 Likewise.
28720 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28721 entry for 2.16.
28722
92221550
AJ
287232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28724
28725 * math/w_acos.c: Use non-signaling floating-point comparisons.
28726 * math/w_acosf.c: Likewise.
28727 * math/w_acosh.c: Likewise.
28728 * math/w_acoshf.c: Likewise.
28729 * math/w_acoshl.c: Likewise.
28730 * math/w_acosl.c: Likewise.
28731 * math/w_asin.c: Likewise.
28732 * math/w_asinf.c: Likewise.
28733 * math/w_asinl.c: Likewise.
28734 * math/w_atanh.c: Likewise.
28735 * math/w_atanhf.c: Likewise.
28736 * math/w_atanhl.c: Likewise.
28737 * math/w_exp2.c: Likewise.
28738 * math/w_exp2f.c: Likewise.
28739 * math/w_exp2l.c: Likewise.
28740 * math/w_j0.c: Likewise.
28741 * math/w_j0f.c: Likewise.
28742 * math/w_j0l.c: Likewise.
28743 * math/w_j1.c: Likewise.
28744 * math/w_j1f.c: Likewise.
28745 * math/w_j1l.c: Likewise.
28746 * math/w_jn.c: Likewise.
28747 * math/w_jnf.c: Likewise.
28748 * math/w_log.c: Likewise.
28749 * math/w_log10.c: Likewise.
28750 * math/w_log10f.c: Likewise.
28751 * math/w_log10l.c: Likewise.
28752 * math/w_log2.c: Likewise.
28753 * math/w_log2f.c: Likewise.
28754 * math/w_log2l.c: Likewise.
28755 * math/w_logf.c: Likewise.
28756 * math/w_logl.c: Likewise.
28757 * math/w_sqrt.c: Likewise.
28758 * math/w_sqrtf.c: Likewise.
28759 * math/w_sqrtl.c: Likewise.
28760 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28761 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28762 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28763 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28764 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28765
ebaf36eb
JM
287662012-02-19 Joseph Myers <joseph@codesourcery.com>
28767
28768 [BZ #9739]
28769 * manual/string.texi (strnlen): Use correct parameter name in
28770 equivalent expression.
28771
71c254a6
JM
287722012-02-19 Joseph Myers <joseph@codesourcery.com>
28773
28774 [BZ #11174]
28775 * manual/users.texi (seteuid): Consistently use neweuid for
28776 argument name.
28777
16d2c631
JM
287782012-02-19 Joseph Myers <joseph@codesourcery.com>
28779
28780 [BZ #13704]
28781 * manual/nss.texi (Services in the NSS configuration): Correct
28782 list of services in example configuration file.
28783
cd837b09
NB
287842012-02-19 Nick Bowler <nbowler@draconx.ca>
28785
28786 [BZ #11322]
28787 * manual/arith.texi: Remove statements about negative zero
28788 behaving identically to zero.
28789
02c4bbad
JM
287902012-02-18 Joseph Myers <joseph@codesourcery.com>
28791
28792 [BZ #5993]
28793 * manual/install.texi: Do not document upgrading from libc5.
28794
366842e7
JM
287952012-02-18 Joseph Myers <joseph@codesourcery.com>
28796
28797 [BZ #4596]
28798 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28799
dd54084d
DM
288002012-02-18 David S. Miller <davem@davemloft.net>
28801
28802 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28803 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28804 %o7 across the call.
28805 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28806 instead.
28807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28808 SETUP_PIC_REG_LEAF.
28809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28810 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28811 * sysdeps/sparc/crtn.S: Likewise.
28812
2bcc53a3
UD
288132012-02-17 Ulrich Drepper <drepper@gmail.com>
28814
28815 * aout/Makefile: Remove.
28816
09c093b5
RK
288172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28818
28819 [BZ #13058]
28820 * manual/examples/argp-ex1.c (main): Format definition in GNU
28821 style.
28822 * manual/examples/argp-ex2.c (main): Likewise.
28823 * manual/examples/argp-ex3.c (main): Likewise.
28824 * manual/examples/argp-ex4.c (main): Likewise.
28825 * manual/examples/longopt.c (main): Use new-style prototype
28826 definition.
28827 * manual/examples/strncat.c (main): Specify return type and use
28828 (void) for arguments.
28829 * manual/examples/subopt.c (main): Use char **argv argument.
28830
2ee633a2
JM
288312012-02-17 Joseph Myers <joseph@codesourcery.com>
28832
28833 [BZ #5077]
28834 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28835 rounding modes.
28836
0520adde
FB
288372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28838
28839 [BZ #6907]
28840 * manual/string.texi (strchr): Change when strchrnul is
28841 recommended.
28842
3f4081cd
DGM
288432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28844
28845 [BZ #174]
28846 * manual/locale.texi (setlocale): Document LOCPATH.
28847
d1b10e78
JM
288482012-02-17 Joseph Myers <joseph@codesourcery.com>
28849
28850 [BZ #10210]
28851 * manual/process.texi (execle): Move @dots{} before last argument.
28852
79c6869c
PB
288532012-02-17 Paul Bolle <pebolle@tiscali.nl>
28854
28855 [BZ #12047]
28856 * manual/charset.texi (Generic Charset Conversion): Fix typo
28857 (LC_TYPE -> LC_CTYPE).
28858
cc6e48bc
NB
288592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28860
28861 [BZ #5805]
28862 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28863 (scalbnf): Likewise.
28864 (scalbnl): Likewise.
28865 (scalbln): Likewise.
28866 (scalblnf): Likewise.
28867 (scalblnl): Likewise.
28868 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28869 (vwarnx): Likewise.
28870 (verr): Likewise.
28871 (verrx): Likewise.
28872 * manual/filesys.texi (telldir): Use braces around return type.
28873 * manual/llio.texi (mmap): Add space after comma.
28874 (mmap64): Likewise.
28875 * manual/math.texi (jn): Use @var{} on parameter names.
28876 (jnf): Likewise.
28877 (jnl): Likewise.
28878 (yn): Likewise.
28879 (ynf): Likewise.
28880 (ynl): Likewise.
28881 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28882 line.
28883 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28884 "...".
28885 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28886 (sched_get_priority_max): Likewise.
28887 * manual/signal.texi (sigvec): Add space after comma.
28888 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28889 names.
28890 (if_indextoname): Likewise.
28891 (if_freenameindex): Likewise.
28892 (sendto): Use ',' instead of '.' in prototype.
28893 * manual/startup.texi (syscall): Use @dots{} instead of literal
28894 "...".
28895 * manual/stdio.texi (__fpending): Separate initial words of
28896 paragraph from @deftypefun line.
28897 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28898 "...".
28899 (vsyslog): Use @var{} on parameter names.
28900 * manual/terminal.texi (stty): Use @var{} on parameter names.
28901 * manual/users.texi (getutmp): Use @var{} on parameter names.
28902 (getutmpx): Likewise.
28903
5b23062f
JM
289042012-02-17 Joseph Myers <joseph@codesourcery.com>
28905
28906 [BZ #6884]
28907 * manual/stdio.texi (fopen): Fix typos in description of
28908 ",ccs=STRING".
28909
8dee4833
AJ
289102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28911
28912 [BZ #4026]
28913 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28914 get clock_id definition.
28915
9078ce93
TS
289162012-02-17 Thomas Schwinge <thomas@schwinge.name>
28917
28918 [BZ #4822]
28919 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28920 (madvise): Cast every argument to void on its own.
28921
3835c55f
JM
289222012-02-17 Joseph Myers <joseph@codesourcery.com>
28923
28924 [BZ #9902]
28925 * manual/startup.texi (Exit Status): Fix typo.
28926
35c47e37
JM
289272012-02-17 Joseph Myers <joseph@codesourcery.com>
28928
28929 [BZ #10140]
28930 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28931 * manual/examples/argp-ex2.c: Likewise.
28932 * manual/examples/argp-ex3.c: Likewise.
28933
e3b69ca7
RH
289342012-02-16 Richard Henderson <rth@redhat.com>
28935
28936 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28937 * sysdeps/s390/s390-32/initfini.c: Remove.
28938 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28939 * sysdeps/s390/s390-64/initfini.c: Remove.
28940
df83af67
KK
289412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28942
28943 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28944 compiler output for sysdeps/generic/initfini.c.
28945 * sysdeps/sh/elf/initfini.c: Remove file.
28946
f63f3380
DM
289472012-02-16 David S. Miller <davem@davemloft.net>
28948
fb59b3a4
DM
28949 [BZ #11494]
28950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28951
f63f3380
DM
28952 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28953 * sysdeps/sparc/crti.S: New file.
28954 * sysdeps/sparc/crtn.S: New file.
28955 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28956 * sysdeps/sparc/sparc64/Makefile: Likewise.
28957
df6a4a4a
MF
289582012-02-15 Mike Frysinger <vapier@gentoo.org>
28959
6dd8f3dc 28960 [BZ #3335]
df6a4a4a
MF
28961 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28962
1cac7236
RM
289632012-02-15 Roland McGrath <roland@hack.frob.com>
28964
d2c736f8
RM
28965 [BZ #4822]
28966 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28967
1cac7236
RM
28968 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28969 (write, read, close): Likewise.
28970 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28971
8e475601
JM
289722012-02-15 Joseph Myers <joseph@codesourcery.com>
28973
28974 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28975 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28976 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28977 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28978 <bits/signalfd.h>.
28979 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28981 bits/signalfd.h.
28982
ed656b40
MP
289832012-02-14 Marek Polacek <polacek@redhat.com>
28984
28985 * sysdeps/x86_64/crti.S: New file.
28986 * sysdeps/x86_64/crtn.S: New file.
28987 * sysdeps/x86_64/elf/initfini.c: Remove file.
28988
2a979d3a
JM
289892012-02-13 Joseph Myers <joseph@codesourcery.com>
28990
28991 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28992 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28993 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28994 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28995 <bits/inotify.h>.
28996 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28998 bits/inotify.h.
28999
2a418ac3
JM
290002012-02-13 Joseph Myers <joseph@codesourcery.com>
29001
29002 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29003 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29004 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29005 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29006 <bits/eventfd.h>.
29007 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29009 bits/eventfd.h.
29010
fb779be7
TS
290112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29012
e19e83c5
RM
29013 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29014 __feraiseexcept instead of feraiseexcept.
7c35ffed 29015
fb779be7
TS
29016 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29017 nanosleep invocations.
29018 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29019 strings, and add error checking for a nanosleep invocations.
29020
59ba27a6
PE
290212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29022
29023 Replace FSF snail mail address with URLs, as per GNU coding standards.
29024 Most of the snail mail addresses were wrong anyway, and omitting
29025 them makes the source code easier to maintain. Almost all of the
29026 changes are to license notices and to locale LC_IDENTIFICATION
29027 addresses, except for this one:
29028 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29029 not its snail mail address.
29030
57b957eb
RH
290312012-02-09 Richard Henderson <rth@twiddle.net>
29032
af850b1c
RH
29033 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29034 of kernel-features.h.
29035
57b957eb
RH
29036 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29037
6b73181a
MP
290382012-02-08 Marek Polacek <polacek@redhat.com>
29039
29040 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29041 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29042 * sysdeps/gnu/_G_config.h: Likewise.
29043 * sysdeps/generic/_G_config.h: Likewise.
29044
26ecc33a
AS
290452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29046
6c6dbc63
AS
29047 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29048 tests.
29049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29050
e216c012
AS
29051 * sysdeps/powerpc/powerpc32/crti.S: New file.
29052 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29053 * sysdeps/powerpc/powerpc64/crti.S: New file.
29054 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29055
26ecc33a
AS
29056 * Makeconfig (have-initfini): Don't set.
29057 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29058 * configure.in (nopic_initfini): Don't substitute.
29059 * config.h.in (HAVE_INITFINI): Don't #undef.
29060 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29061 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29062
3add8e13
JM
290632012-02-08 Joseph Myers <joseph@codesourcery.com>
29064
29065 Support crti.S and crtn.S provided directly by architectures.
29066 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29067 [crti.S in sysdirs] (omit-deps): Likewise.
29068 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29069 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29070 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29071 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29072 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29073 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29074 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29075 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29076 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29077 compiler output for sysdeps/generic/initfini.c.
29078 * sysdeps/i386/elf/Makefile: Remove file.
29079 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29080
a22f12b4
MP
290812012-02-07 Marek Polacek <polacek@redhat.com>
29082
29083 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29084 * sysdeps/gnu/_G_config.h: Likewise.
29085 * sysdeps/mach/hurd/_G_config.h: Likewise.
29086
148cf100
MP
290872012-02-07 Marek Polacek <polacek@redhat.com>
29088
29089 * math/Makefile (tests): Add tst-CMPLX2.
29090 * math/tst-CMPLX2.c: New file.
29091
cfdc0dd7
AS
290922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29093
84ba42c4
AS
29094 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29095
cfdc0dd7
AS
29096 * math/libm-test.inc (jn_test): Add missing L suffix.
29097
622c86f4
MP
290982012-02-06 Marek Polacek <polacek@redhat.com>
29099
29100 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29101 * sysdeps/i386/fpu/e_powf.S: Likewise.
29102 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29103 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29104 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29105 * sysdeps/i386/fpu/e_pow.S: Likewise.
29106 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29107 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29108 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29109 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29110 * sysdeps/i386/fpu/e_log2.S: Likewise.
29111 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29112 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29113 * sysdeps/i386/fpu/e_powl.S: Likewise.
29114 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29115 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29116 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29117 * sysdeps/i386/fpu/e_logl.S: Likewise.
29118 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29119 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29120 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29121 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29122 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29123 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29124 * sysdeps/i386/fpu/e_log.S: Likewise.
29125 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29126 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29127 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29128 * sysdeps/i386/fpu/e_logf.S: Likewise.
29129 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29130 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29131 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29132 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29133 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29134 * sysdeps/i386/fpu/e_log10.S: Likewise.
29135 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29136 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29137 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29138 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29139 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29140 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29141 * sysdeps/i386/asm-syntax.h: Likewise.
29142 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29143 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29144 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29145 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29146 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29147 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29148 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29149 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29150 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29151 * sysdeps/powerpc/sysdep.h: Likewise.
29152 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29153 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29154
d4a54ac6
JM
291552012-02-06 Joseph Myers <joseph@codesourcery.com>
29156
29157 [BZ #411]
29158 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29159
314054ea
JM
291602012-02-06 Joseph Myers <joseph@codesourcery.com>
29161
29162 * sysdeps/i386/sysdep.h: Include <features.h>.
29163 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29164 version.
29165
d8e0ca50
JM
291662012-02-05 Joseph Myers <joseph@codesourcery.com>
29167
29168 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29169 Define.
29170 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29171 LOAD_PIC_REG_STR.
29172
b1da7dd9
JM
291732012-02-03 Joseph Myers <joseph@codesourcery.com>
29174
29175 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29176 (SETUP_PIC_REG): Use GET_PC_THUNK.
29177 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29178 macro.
29179
9a1d9254
JM
291802012-02-03 Joseph Myers <joseph@codesourcery.com>
29181
29182 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29183 for non-PIC compilation.
29184 (SETUP_PIC_REG): Add .p2align directive.
29185 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29186 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29187 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29188 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29189 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29190 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29191 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29192 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29193 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29194 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29195 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29196 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29197 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29198 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29199 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29200 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29201 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29202 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29203 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29204 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29205 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29206 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29207 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29208 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29209 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29211 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29212 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29213 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29214 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29215 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29216 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29217 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29218 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29219 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29220 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29221 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29222 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29223 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29224 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29225 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29226
65dc3b75
JM
292272012-02-03 Joseph Myers <joseph@codesourcery.com>
29228
29229 * math/tst-CMPLX.c: Include <stdio.h>.
29230
d55bf177
JM
292312012-01-31 Joseph Myers <joseph@codesourcery.com>
29232
29233 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29234 float.
29235 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29236 * sysdeps/sparc/bits/mathdef.h: Likewise.
29237
69db4f8f
MP
292382012-01-31 Marek Polacek <polacek@redhat.com>
29239
29240 * libio/libio.h: Don't define _PARAMS.
29241 * locale/programs/config.h: Don't define PARAMS.
29242 * stdlib/strtol_l.c: Likewise.
29243 (__strtol_l): Remove PARAMS from the prototype.
29244
41b81892
UD
292452012-01-31 Ulrich Drepper <drepper@gmail.com>
29246
3b49edc0
UD
29247 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29248 names. Just use the correct names. Remove unnecessary wrapper
29249 functions.
29250 * malloc/arena.c: Likewise.
29251 * malloc/hooks.c: Likewise.
29252
41b81892
UD
29253 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29254 ARENA_TEST says not to. Simplify test for creation of a new arena.
29255 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29256
27a25b6e
UD
292572012-01-30 Ulrich Drepper <drepper@gmail.com>
29258
29259 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29260 into tail calls.
29261 (update_get_addr): New function.
29262 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29263 GET_ADDR_MODULE parameter.
29264
c8a89e7d
JM
292652012-01-30 Joseph Myers <joseph@codesourcery.com>
29266
29267 * crypt/cert.c: Remove __STDC__ conditionals.
29268 * crypt/crypt-entry.c: Likewise.
29269 * crypt/crypt_util.c: Likewise.
29270 * libio/filedoalloc.c: Likewise.
29271 * libio/fileops.c: Likewise.
29272 * libio/genops.c: Likewise.
29273 * libio/iofclose.c: Likewise.
29274 * libio/iofdopen.c: Likewise.
29275 * libio/iofopen.c: Likewise.
29276 * libio/iofopen64.c: Likewise.
29277 * libio/iogetdelim.c: Likewise.
29278 * libio/iopopen.c: Likewise.
29279 * libio/obprintf.c: Likewise.
29280 * libio/oldfileops.c: Likewise.
29281 * libio/oldiofclose.c: Likewise.
29282 * libio/oldiofdopen.c: Likewise.
29283 * libio/oldiofopen.c: Likewise.
29284 * libio/oldiopopen.c: Likewise.
29285 * libio/wfiledoalloc.c: Likewise.
29286 * libio/wgenops.c: Likewise.
29287 * locale/programs/xmalloc.c: Likewise.
29288 * misc/syslog.c: Likewise.
29289 * stdio-common/xbug.c: Likewise.
29290 * string/memchr.c: Likewise.
29291 * string/memcmp.c: Likewise.
29292 * string/memrchr.c: Likewise.
29293 * string/rawmemchr.c: Likewise.
29294 * sysdeps/posix/getcwd.c: Likewise.
29295 * time/strftime_l.c: Likewise.
29296
3b100462
JM
292972012-01-30 Joseph Myers <joseph@codesourcery.com>
29298
29299 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
29300 * config.make.in (config-cflags-sse2avx): Define.
29301 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29302 Fix typo.
29303
607998af
CM
293042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29305
29306 * scripts/config.guess: Update from upstream config git repository.
29307 * scripts/config.sub: Likewise.
29308
3601428f
CM
293092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29310
3ac8b282
CM
29311 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29312 (EM_NUM): Update.
29313 (R_TILEPRO_*, R_TILEGX_*): New macros.
29314
e034841e
CM
29315 * scripts/firstversions.awk: Fix bug in version range handling.
29316
540d7568
CM
29317 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29318
3601428f
CM
29319 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29320
463de862
CM
29321 * include/sys/epoll.h: New file.
29322 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29323 libc_hidden_def.
29324
73139a76
UD
293252012-01-28 Ulrich Drepper <drepper@gmail.com>
29326
96bc5b45
UD
29327 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29328 Avoid unnecessary __WORDSIZE == 64 test.
29329 (fmaxf): Use VEX format if possible.
29330 (fmax): Likewise.
29331 (fminf): Likewise.
29332 (fmin): Likewise.
29333
56f6f6a2
UD
29334 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29335 * math/math_private.h: Remove libc_fegetround* and
29336 libc_fesetround*.
29337 * sysdeps/i386/configure.in: Check for -msse2avx.
29338 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29339 also if SSE2AVX is defined.
29340 Remove libc_fegetround* and libc_fesetround*.
29341 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29342 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
29343 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29344 of HAS_YMM_USABLE.
29345 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29346 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29347 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29348 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29349 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29350
73139a76
UD
29351 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29352
d73f93a4
AZ
293532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29354
29355 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29356 size is not set.
29357 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29358
6ee65ed6
UD
293592012-01-27 Ulrich Drepper <drepper@gmail.com>
29360
29361 [BZ #13618]
29362 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29363 relocation.
29364 * Makeconfig (libm): Define.
29365 * elf/Makefile: Add rules to build and run tst-relsort1.
29366 * elf/tst-relsort1.c: New file.
29367 * elf/tst-relsort1mod1.c: New file.
29368 * elf/tst-relsort1mod2.c: New file.
29369
8db21882
JM
293702012-01-27 Joseph Myers <joseph@codesourcery.com>
29371
29372 * math/s_ldexp.c: Remove __STDC__ conditionals.
29373 * math/s_ldexpf.c: Likewise.
29374 * math/s_ldexpl.c: Likewise.
29375 * math/s_nextafter.c: Likewise.
29376 * math/s_nexttowardf.c: Likewise.
29377 * math/s_significand.c: Likewise.
29378 * math/s_significandf.c: Likewise.
29379 * math/s_significandl.c: Likewise.
29380 * math/w_jnl.c: Likewise.
29381 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29382 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29383 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29384 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29385 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29386 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29387 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29388 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29389 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29390 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29391 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29392 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29393 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29394 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29395 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29396 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29397 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29398 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29400 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29401 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29402 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29403 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29404 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29405 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29406 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29407 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29408 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29409 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29410 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29411 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29412 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29413 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29414 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29415 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29416 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29417 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29418 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29419 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29420 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29421 * sysdeps/ieee754/k_standard.c: Likewise.
29422 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29423 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29424 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29425 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29426 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29427 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29428 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29429 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29430 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29431 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29432 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29433 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29434 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29435 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29436 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29437 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29438 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29439 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29440 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29441 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29442 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29443 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29444 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29445 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29446 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29447 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29448 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29449 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29450 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29451 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29452 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29453 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29454 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29455 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29456 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29457 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29458 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29459 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29460 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29461 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29462 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29464 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29465 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29466 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29467 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29468 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29469 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29470 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29471 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29472 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29473 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29474 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29475 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29476 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29477 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29478 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29480 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29482 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29483 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29484 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29485 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29486 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29488 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29489 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29490 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29491 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29492 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29493 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29494 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29495 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29496 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29497 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29498 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29499 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29500 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29501 * sysdeps/ieee754/s_matherr.c: Likewise.
29502 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29503 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29504 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29506
965a54a4
JM
295072012-01-26 Joseph Myers <joseph@codesourcery.com>
29508
29509 * crypt/md5.h: Remove __STDC__ conditionals.
29510 * libio/libioP.h: Likewise.
29511 * locale/programs/config.h: Likewise.
29512 * sysdeps/generic/sysdep.h: Likewise.
29513 * sysdeps/i386/asm-syntax.h: Likewise.
29514 * sysdeps/s390/asm-syntax.h: Likewise.
29515 * sysdeps/unix/sysdep.h: Likewise.
29516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29518
7071ad79
JM
295192012-01-26 Joseph Myers <joseph@codesourcery.com>
29520
29521 * libio/libio.h: Remove __STDC__ conditionals.
29522 * malloc/obstack.h: Likewise.
29523 * math/complex.h: Likewise.
29524 * math/math.h: Likewise.
29525 * sysdeps/generic/_G_config.h: Likewise.
29526 * sysdeps/gnu/_G_config.h: Likewise.
29527 * sysdeps/mach/hurd/_G_config.h: Likewise.
29528 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29529 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29530 * sysdeps/sparc/bits/mathdef.h: Likewise.
29531
afc5ed09
UD
295322012-01-26 Ulrich Drepper <drepper@gmail.com>
29533
29534 [BZ #13583]
29535 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 29536 Clean up HAS_* macros.
afc5ed09 29537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
29538 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29539 possible.
29540 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29541 HAS_AVX.
29542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 29547
bdb6de1d
JM
295482012-01-25 Joseph Myers <joseph@codesourcery.com>
29549
29550 * elf/tst-unique3.cc (gets): Remove declaration.
29551 * elf/tst-unique3lib.cc (gets): Likewise.
29552 * elf/tst-unique3lib2.cc (gets): Likewise.
29553 * elf/tst-unique4.cc (gets): Likewise.
29554
b15549e6
UD
295552012-01-24 Ulrich Drepper <drepper@gmail.com>
29556
29557 * include/stdio.h: Add C++ protection. Add gets declarations and
29558 definitions.
29559 * debug/tst-chk1.c: Don't declare gets here.
29560 * stdio-common/tst-gets.c: Likewise.
29561
a037381f
JM
295622012-01-24 Joseph Myers <joseph@codesourcery.com>
29563
29564 * posix/glob: Remove directory.
29565
f1d4aa75
JM
295662012-01-24 Joseph Myers <joseph@codesourcery.com>
29567
29568 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29569
81c0c964
PT
295702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29571
29572 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29573 of the non-standard EPFNOSUPPORT.
29574
0ea698ae
ST
295752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29576
29577 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29578 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29579 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29580
d220b117
UD
295812012-01-21 Ulrich Drepper <drepper@gmail.com>
29582
29583 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29584
3e1aa84e
UD
295852012-01-20 Ulrich Drepper <drepper@gmail.com>
29586
29587 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29588 transient errors.
29589 * nscd/grpcache.c (cache_addgr): Likewise.
29590 * nscd/hstcache.c (cache_addhst): Likewise.
29591 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29592 * nscd/pwdcache.c (cache_addpw): Likewise.
29593 * nscd/servicescache.c (cache_addserv): Likewise.
29594
400aa020
UD
295952012-01-16 Ulrich Drepper <drepper@gmail.com>
29596
d77e7869
UD
29597 * malloc/malloc.c: Various cleanups.
29598 * malloc/hooks.c: Likewise.
29599
400aa020
UD
29600 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29601 * stdlib/bug-fmtmsg1.c: New file.
29602
29603 * stdlib/fmtmsg.c (init): Add missing unlock.
29604 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29605
e0a309cf
MP
296062012-01-12 Marek Polacek <polacek@redhat.com>
29607
29608 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29609 and _GNU_SOURCE.
29610
929d11c7
WS
296112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29612
29613 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29614 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29615 macro to ensure uniqueness of label name.
29616 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29617 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29618
41d0e869
UD
296192012-01-11 Ulrich Drepper <drepper@gmail.com>
29620
0cc5ed3b
UD
29621 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29622
41d0e869
UD
29623 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29624 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29627
a47a831a
UD
296282012-01-10 Ulrich Drepper <drepper@gmail.com>
29629
daa891c0
UD
29630 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29631
29632 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29633 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29634 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29635
e58ef0f2
UD
29636 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29637
a47a831a 29638 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29639 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29640 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29642
29643 * math/bits/math-finite.h: Add ldexp support.
29644
a0bfc9c7
MP
296452012-01-10 Marek Polacek <polacek@redhat.com>
29646
29647 * locale/programs/localedef.h (show_archive_content): Add noreturn
29648 attribute.
29649
d6e97a1d
UD
296502012-01-09 Ulrich Drepper <drepper@gmail.com>
29651
29652 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29653
d5835c26
UD
296542012-01-08 Ulrich Drepper <drepper@gmail.com>
29655
e5f484c6
UD
29656 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29657
d5835c26
UD
29658 * io/Makefile (headers): Add bits/poll2.h.
29659
d1f741e9
WS
296602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29661
29662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29663 typo #include statement.
29664
ec09c1c4
UD
296652012-01-08 Ulrich Drepper <drepper@gmail.com>
29666
29667 * include/sys/cdefs.h: Define __attribute_alloc_size.
29668 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29669 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29670 * elf/pldd.c: Likewise.
29671 * iconv/iconv_charmap.c: Likewise.
29672 * iconv/iconvconfig.c: Likewise.
29673 * iconv/strtab.c: Likewise.
29674 * locale/programs/locale.c: Likewise.
29675 * locale/programs/localedef.h: Likewise.
29676 * locale/programs/simple-hash.c: Likewise.
29677 * nscd/nscd.h: Likewise.
29678 * nss/makedb.c: Likewise.
29679 * sysdeps/generic/ldconfig.h: Likewise.
29680 * locale/programs/localedef.c: Remove xmalloc prototype.
29681 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29682
20b38e03
PP
296832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29684
29685 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29686 appropriate.
29687
a0da5fe1
UD
296882012-01-08 Ulrich Drepper <drepper@gmail.com>
29689
1d5a644a 29690 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29691 * math/tst-CMPLX.c: New file.
1d5a644a 29692
8784a6db
UD
29693 * math/complex.h (CMPLXL): Fix typo.
29694
d9a216c0
UD
29695 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29696 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29697 GLIBC_2.16.
29698 * debug/tst-chk1.c: Add poll and ppoll tests.
29699 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29700 * include/sys/poll.h: Add hidden proto for ppoll.
29701 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29702 * sysdeps/mach/hurd/ppoll.c: Likewise.
29703 * io/ppoll.c: Likewise.
29704 * debug/poll_chk.c: New file.
29705 * debug/ppoll_chk.c: New file.
29706 * include/bits/poll2.h: New file.
29707 * io/bits/poll2.h: New file.
29708
ac097f5c
UD
29709 [BZ #1350]
29710 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29711
2119dcfa
UD
29712 * configure.in: static is always set to yes. Remove.
29713 * config.make.in: Don't set build-static.
29714 * Makeconfig: Remove use of build-static.
29715 * dlfcn/Makefile: Likewise.
29716 * elf/Makefile: Likewise.
29717 * math/Makefile: Likewise.
29718 * misc/Makefile: Likewise.
29719 * nptl/Makefile: Likewise.
29720 * sysdeps/mach/hurd/Makefile: Likewise.
29721
121766a9
UD
29722 * configure.in: PWD_P is not used anymore.
29723 * config.make.in: Remove PWD_P entry.
29724
51a1d39c 29725 * configure.in: Remove last remnants of RANLIB.
8720d066 29726 No need to check for signed size_t anymore.
215f4bdc
UD
29727 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29728 and IA-64.
3857022a 29729 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29730 * aclocal.m4: Likewise.
29731
d3ed7225
UD
29732 * wcsmbs/mbrtoc16.c: Implement using towc function.
29733 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29734 * wcsmbs/wcsmbsload.c: Likewise.
29735 * iconv/gconv_simple.c: Likewise.
29736 * iconv/gconv_int.h: Likewise.
29737 * iconv/gconv_builtin.h: Likewise.
29738 * iconv/iconv_prog.c: Remove CHAR16 handling.
29739
29740 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29741
29742 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29743
a0da5fe1
UD
29744 * configure.in: Remove --with-elf and --enable-bounded options.
29745 Dont set base_machine for ia64. More non-ELF conditions removed.
29746 Remove testing and setting of leading underscore information.
29747 * config.make.in (build-bounded): Set to no.
29748 * config.h.in: Remove NO_UNDERSCORES entry.
29749 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29750 them.
29751 * csu/start.c: Remove !NO_UNDERSCORE code.
29752 * locale/localeinfo.h: Likewise.
29753 * sysdeps/generic/machine-gmon.h: Likewise.
29754 * sysdeps/generic/sysdep.h: Likewise.
29755 * sysdeps/i386/sysdep.h: Likewise.
29756 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29757 * sysdeps/mach/sysdep.h: Likewise.
29758 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29759 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29760 * sysdeps/sh/sysdep.h: Likewise.
29761 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29762 * sysdeps/unix/i386/sysdep.S: Likewise.
29763 * sysdeps/unix/sparc/start.c: Likewise.
29764 * sysdeps/unix/sparc/sysdep.S: Likewise.
29765 * sysdeps/unix/sparc/sysdep.h: Likewise.
29766 * sysdeps/unix/start.c: Likewise.
29767 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29768 * sysdeps/x86_64/sysdep.h: Likewise.
29769
df78418a
UD
297702012-01-07 Ulrich Drepper <drepper@gmail.com>
29771
a784e502
UD
29772 [BZ #13553]
29773 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29774 for non-gcc.
29775 * argp/argp-fmtstream.h: Use const instead __const.
29776 * argp/argp.h: Likewise.
29777 * assert/assert.h: Likewise.
29778 * bits/fenv.h: Likewise.
29779 * bits/sched.h: Likewise.
29780 * bits/sigset.h: Likewise.
29781 * bits/sigthread.h: Likewise.
29782 * catgets/nl_types.h: Likewise.
29783 * conform/data/pthread.h-data: Likewise.
29784 * crypt/crypt-private.h: Likewise.
29785 * crypt/crypt.h: Likewise.
29786 * crypt/crypt_util.c: Likewise.
29787 * ctype/ctype.h: Likewise.
29788 * debug/execinfo.h: Likewise.
29789 * debug/mbsnrtowcs_chk.c: Likewise.
29790 * debug/mbsrtowcs_chk.c: Likewise.
29791 * debug/wcsnrtombs_chk.c: Likewise.
29792 * debug/wcsrtombs_chk.c: Likewise.
29793 * debug/wcstombs_chk.c: Likewise.
29794 * dirent/dirent.h: Likewise.
29795 * dlfcn/dlfcn.h: Likewise.
29796 * elf/neededtest4.c: Likewise.
29797 * grp/grp.h: Likewise.
29798 * gshadow/gshadow.h: Likewise.
29799 * iconv/gconv.h: Likewise.
29800 * iconv/gconv_int.h: Likewise.
29801 * iconv/gconv_simple.c: Likewise.
29802 * iconv/iconv.h: Likewise.
29803 * iconv/loop.c: Likewise.
29804 * iconv/skeleton.c: Likewise.
29805 * include/aio.h: Likewise.
29806 * include/aliases.h: Likewise.
29807 * include/argz.h: Likewise.
29808 * include/arpa/inet.h: Likewise.
29809 * include/assert.h: Likewise.
29810 * include/dirent.h: Likewise.
29811 * include/dlfcn.h: Likewise.
29812 * include/execinfo.h: Likewise.
29813 * include/fcntl.h: Likewise.
29814 * include/fenv.h: Likewise.
29815 * include/glob.h: Likewise.
29816 * include/grp.h: Likewise.
29817 * include/libintl.h: Likewise.
29818 * include/mntent.h: Likewise.
29819 * include/netdb.h: Likewise.
29820 * include/pwd.h: Likewise.
29821 * include/rpc/netdb.h: Likewise.
29822 * include/sched.h: Likewise.
29823 * include/search.h: Likewise.
29824 * include/shadow.h: Likewise.
29825 * include/signal.h: Likewise.
29826 * include/stdio.h: Likewise.
29827 * include/stdlib.h: Likewise.
29828 * include/string.h: Likewise.
29829 * include/sys/socket.h: Likewise.
29830 * include/sys/stat.h: Likewise.
29831 * include/sys/statfs.h: Likewise.
29832 * include/sys/statvfs.h: Likewise.
29833 * include/sys/syslog.h: Likewise.
29834 * include/sys/time.h: Likewise.
29835 * include/sys/uio.h: Likewise.
29836 * include/time.h: Likewise.
29837 * include/unistd.h: Likewise.
29838 * include/utmp.h: Likewise.
29839 * include/wchar.h: Likewise.
29840 * include/wctype.h: Likewise.
29841 * inet/aliases.h: Likewise.
29842 * inet/arpa/inet.h: Likewise.
29843 * inet/netinet/ether.h: Likewise.
29844 * inet/netinet/in.h: Likewise.
29845 * intl/libintl.h: Likewise.
29846 * io/bits/fcntl2.h: Likewise.
29847 * io/fcntl.h: Likewise.
29848 * io/ftw.h: Likewise.
29849 * io/sys/poll.h: Likewise.
29850 * io/sys/stat.h: Likewise.
29851 * io/sys/statfs.h: Likewise.
29852 * io/sys/statvfs.h: Likewise.
29853 * io/utime.h: Likewise.
29854 * libio/bits/stdio.h: Likewise.
29855 * libio/bits/stdio2.h: Likewise.
29856 * libio/libio.h: Likewise.
29857 * libio/libioP.h: Likewise.
29858 * libio/stdio.h: Likewise.
29859 * locale/lc-ctype.c: Likewise.
29860 * locale/locale.h: Likewise.
29861 * login/utmp.h: Likewise.
29862 * malloc/arena.c: Likewise.
29863 * malloc/malloc.c: Likewise.
29864 * malloc/malloc.h: Likewise.
29865 * malloc/mcheck.c: Likewise.
29866 * malloc/mtrace.c: Likewise.
29867 * math/bits/mathcalls.h: Likewise.
29868 * math/fenv.h: Likewise.
29869 * math/math_private.h: Likewise.
29870 * misc/bits/error.h: Likewise.
29871 * misc/bits/syslog.h: Likewise.
29872 * misc/err.h: Likewise.
29873 * misc/error.h: Likewise.
29874 * misc/fstab.h: Likewise.
29875 * misc/mntent.h: Likewise.
29876 * misc/regexp.h: Likewise.
29877 * misc/search.h: Likewise.
29878 * misc/sgtty.h: Likewise.
29879 * misc/sys/mman.h: Likewise.
29880 * misc/sys/syslog.h: Likewise.
29881 * misc/sys/uio.h: Likewise.
29882 * misc/sys/xattr.h: Likewise.
29883 * misc/ttyent.h: Likewise.
29884 * nis/rpcsvc/ypclnt.h: Likewise.
29885 * nss/nss.h: Likewise.
29886 * posix/bits/unistd.h: Likewise.
29887 * posix/fnmatch.h: Likewise.
29888 * posix/glob.h: Likewise.
29889 * posix/sched.h: Likewise.
29890 * posix/spawn.h: Likewise.
29891 * posix/sys/wait.h: Likewise.
29892 * posix/unistd.h: Likewise.
29893 * posix/wordexp.h: Likewise.
29894 * pwd/pwd.h: Likewise.
29895 * resolv/netdb.h: Likewise.
29896 * resource/sys/resource.h: Likewise.
29897 * rt/aio.h: Likewise.
29898 * rt/bits/mqueue2.h: Likewise.
29899 * rt/mqueue.h: Likewise.
29900 * shadow/shadow.h: Likewise.
29901 * signal/signal.h: Likewise.
29902 * socket/send.c: Likewise.
29903 * socket/sendto.c: Likewise.
29904 * socket/sys/socket.h: Likewise.
29905 * stdio-common/printf.h: Likewise.
29906 * stdlib/bits/stdlib.h: Likewise.
29907 * stdlib/fmtmsg.h: Likewise.
29908 * stdlib/monetary.h: Likewise.
29909 * stdlib/stdlib.h: Likewise.
29910 * stdlib/ucontext.h: Likewise.
29911 * streams/stropts.h: Likewise.
29912 * string/argz.h: Likewise.
29913 * string/bits/string2.h: Likewise.
29914 * string/string.h: Likewise.
29915 * string/strings.h: Likewise.
29916 * sunrpc/rpc/auth.h: Likewise.
29917 * sunrpc/rpc/auth_des.h: Likewise.
29918 * sunrpc/rpc/clnt.h: Likewise.
29919 * sunrpc/rpc/netdb.h: Likewise.
29920 * sunrpc/rpc/pmap_clnt.h: Likewise.
29921 * sunrpc/rpc/xdr.h: Likewise.
29922 * sysdeps/generic/inttypes.h: Likewise.
29923 * sysdeps/generic/net/if.h: Likewise.
29924 * sysdeps/generic/sys/swap.h: Likewise.
29925 * sysdeps/gnu/net/if.h: Likewise.
29926 * sysdeps/gnu/utmpx.h: Likewise.
29927 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29928 * sysdeps/i386/i486/bits/string.h: Likewise.
29929 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29930 * sysdeps/s390/bits/string.h: Likewise.
29931 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29932 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29933 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29934 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29935 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29936 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29937 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29938 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29939 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29940 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29941 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29942 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29943 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29944 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29945 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29946 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29947 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29949 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29950 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29951 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29952 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29953 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29954 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29955 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29956 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29957 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29958 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29959 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29960 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29961 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29962 * sysvipc/sys/ipc.h: Likewise.
29963 * sysvipc/sys/msg.h: Likewise.
29964 * sysvipc/sys/sem.h: Likewise.
29965 * sysvipc/sys/shm.h: Likewise.
29966 * termios/termios.h: Likewise.
29967 * time/sys/time.h: Likewise.
29968 * time/time.h: Likewise.
29969 * wcsmbs/bits/wchar2.h: Likewise.
29970 * wcsmbs/uchar.h: Likewise.
29971 * wcsmbs/wchar.h: Likewise.
29972 * wctype/wctype.h: Likewise.
29973
0269750c
UD
29974 [BZ #13551]
29975 * Makeconfig: Remove all but ELF support including AIX support.
29976 * Makerules: Likewise.
29977 * config.h.in: Likewise.
29978 * config.make.in: Likewise.
29979 * configure: Likewise.
29980 * configure.in: Likewise.
29981 * csu/Makefile: Likewise.
29982 * csu/version.c: Likewise.
29983 * debug/Makefile: Likewise.
29984 * dlfcn/Makefile: Likewise.
29985 * elf/Makefile: Likewise.
29986 * extra-lib.mk: Likewise.
29987 * iconv/Makefile: Likewise.
29988 * include/libc-symbols.h: Likewise.
29989 * include/shlib-compat.h: Likewise.
29990 * resolv/Makefile: Likewise.
29991 * resolv/res_libc.c: Likewise.
29992 * rt/Makefile: Likewise.
29993 * sysdeps/i386/asm-syntax.h: Likewise.
29994 * sysdeps/i386/sysdep.h: Likewise.
29995 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29996 * sysdeps/mach/sysdep.h: Likewise.
29997 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29998 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29999 * sysdeps/s390/asm-syntax.h: Likewise.
30000 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30002 * sysdeps/sh/sysdep.h: Likewise.
30003 * sysdeps/unix/sparc/sysdep.h: Likewise.
30004 * sysdeps/wordsize-32/divdi3.c: Likewise.
30005 * sysdeps/x86_64/sysdep.h: Likewise.
30006
00bbd29b
UD
30007 * argp/Versions: Remove _argp_unlock_xxx.
30008
30009 [BZ #13559]
30010 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30011 * abilist/libBrokenLocale.abilist: Likewise.
30012 * abilist/libanl.abilist: Likewise.
30013 * abilist/libc.abilist: Likewise.
30014 * abilist/libcrypt.abilist: Likewise.
30015 * abilist/libdl.abilist: Likewise.
30016 * abilist/libm.abilist: Likewise.
30017 * abilist/libnsl.abilist: Likewise.
30018 * abilist/libpthread.abilist: Likewise.
30019 * abilist/libresolv.abilist: Likewise.
30020 * abilist/librt.abilist: Likewise.
30021 * abilist/libthread_db.abilist: Likewise.
30022 * abilist/libutil.abilist: Likewise.
30023 * abilist/libnss_db.abilist: New file.
30024
30025 * scripts/abilist.awk: Add support for indirect functions.
30026
a2693a0e
UD
30027 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30028
3f05895f
UD
30029 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30030
ecb6fb48
UD
30031 * shlib-versions: Remove entries for ports architectures.
30032
664f8cb9
UD
30033 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30034 files in ports.
30035 * elf/stackguard-macros.h: Remove support for IA-64.
30036 * elf/tst-auditmod1.c: Likewise.
30037 * sysdeps/generic/ldsodefs.h: Likewise.
30038
7ae81d88
UD
30039 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30040 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30041 configure files.
30042
bdeba135
UD
30043 [BZ #13552]
30044 * configure.in: Remove --enable-omitfp support.
30045 * FAQ.in: Adjust.
30046 * config.make.in: Likewise.
30047 * Makeconfig: Likewise.
30048 * manual/install.texi: Likewise.
30049
d75a0a62
UD
30050 In case anyone cares, the IA-64 architecture could move to ports.
30051 * sysdeps/ia64/*: Removed.
30052 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 30053 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 30054
dcc9756b
UD
30055 [BZ #13555]
30056 * configure.in: Remove entries for unsupported architectures.
30057
d3761ebc 30058 [BZ #13533]
9954432e
UD
30059 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30060 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30061 routines.
30062 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30063 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30064 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30065 fall back to using wcrtomb.
30066 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30067 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30068 renaming.
30069 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30070 * wcsmbs/tst-c16c32-1.c: New file.
30071
30072 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30073 local variable.
30074
c3a87236
UD
30075 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30076
28926a1b
UD
30077 * elf/tst-unique3.cc: Add explicit declaration of gets.
30078 * elf/tst-unique3lib.cc: Likewise.
30079 * elf/tst-unique3lib2.cc: Likewise.
30080 * elf/tst-unique4.cc: Likewise.
30081
df78418a
UD
30082 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30083
8ecd6b2a
JM
300842012-01-06 Joseph Myers <joseph@codesourcery.com>
30085
30086 [BZ #13566]
30087 * assert/assert.h (static_assert): Don't define for C++.
30088 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30089 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30090
9f115170
UD
300912012-01-03 Ulrich Drepper <drepper@gmail.com>
30092
5e0d0300
UD
30093 * iconv/loop.c (single loop): Fix assertion in storing of
30094 remaining bytes.
30095
9f115170
UD
30096 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30097
81fb02b0
UD
300982012-01-01 Ulrich Drepper <drepper@gmail.com>
30099
30100 * posix/getconf.c: Update copyright year.
30101 * nss/getent.c: Likewise.
a316c1f6 30102 * nss/makedb.c: Likewise.
81fb02b0
UD
30103 * iconv/iconvconfig.c: Likewise.
30104 * iconv/iconv_prog.c: Likewise.
30105 * elf/ldconfig.c: Likewise.
a316c1f6
UD
30106 * elf/pldd.c: Likewise.
30107 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
30108 * catgets/gencat.c: Likewise.
30109 * csu/version.c: Likewise.
30110 * elf/ldd.bash.in: Likewise.
30111 * elf/sprof.c (print_version): Likewise.
30112 * locale/programs/locale.c: Likewise.
30113 * locale/programs/localedef.c: Likewise.
a316c1f6 30114 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
30115 * nscd/nscd.c (print_version): Likewise.
30116 * debug/xtrace.sh: Likewise.
30117 * malloc/memusage.sh: Likewise.
30118 * malloc/mtrace.pl: Likewise.
30119 * debug/catchsegv.sh: Likewise.
30120
2ba92745
JJ
301212011-12-30 Jakub Jelinek <jakub@redhat.com>
30122
30123 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30124 pure attribute.
30125
dadebdae
UD
301262011-12-24 Ulrich Drepper <drepper@gmail.com>
30127
d3761ebc 30128 [BZ #13533]
db6af3eb
UD
30129 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30130 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30131 transformations.
30132 * iconv/gconv_int.h: Likewise.
30133 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30134 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30135 from libc for GLIBC_2.16.
30136 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30137 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30138 * wcsmbs/uchar.h: Really define mbstate_t.
30139 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30140 * wcsmbs/c16rtomb.c: New file.
30141 * wcsmbs/mbrtoc16.c: New file.
30142 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30143 for C/POSIX locale.
30144 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30145 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30146
dadebdae
UD
30147 * wcsmbs/wchar.h: Add missing __restrict.
30148
67371b56
UD
301492011-12-23 Ulrich Drepper <drepper@gmail.com>
30150
74033a25
UD
30151 [BZ #13532]
30152 * time/Makefile (routines): Add timespec_get.
30153 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30154 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30155 timespec for ISO C11.
30156 * time/timespec_get.c: New file.
30157 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30158 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30159
380d7e87
UD
30160 [BZ #13531]
30161 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30162 * stdlib/stdlib.h: Declare aligned_alloc.
30163 * Versions.def: Add GLIBC_2.16 for libc.
30164 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30165
4e9e7a35
UD
30166 [BZ 13527]
30167 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30168 ISO C11.
30169
380d7e87 30170 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
30171 code.
30172
03a71829
UD
30173 [BZ #13528]
30174 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30175
839e283e
UD
30176 [BZ #13529]
30177 * assert/assert.h (static_assert): Define.
30178
ce5294e2 30179 * version.h: Update for 2.16 development version.
90fa7312 30180
8d44e150 30181 [BZ #13526]
d7809905
UD
30182 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30183 _ISOC11_SOURCE.
30184
c0da14cd
UD
30185 * version.h (RELEASE): Bump for 2.15 release.
30186 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30187
530a3249
MP
30188 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30189 Patch by Marek Polacek <mpolacek@redhat.com>.
30190
67371b56
UD
30191 * bits/byteswap.h: Protect long long constants with __extension__.
30192 * sysdeps/i386/bits/byteswap.h: Likewise.
30193 * sysdeps/ia64/bits/byteswap.h: Likewise.
30194 * sysdeps/s390/bits/byteswap.h: Likewise.
30195 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30196
15db4de1
LD
301972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30198
30199 [BZ #13540]
bbe315ea
LD
30200 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30201 destination buffer.
15db4de1
LD
30202 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30203
2b2596b1
MP
302042011-12-23 Marek Polacek <polacek@redhat.com>
30205
30206 * elf/dl-addr.c (determine_info): Add inline keyword.
30207 * elf/tst-auditmod4b.c (check_avx): Likewise.
30208 * elf/tst-auditmod6b.c (check_avx): Likewise.
30209 * elf/tst-auditmod6c.c (check_avx): Likewise.
30210 * elf/tst-auditmod7b.c (check_avx): Likewise.
30211
70c6c246
UD
302122011-12-23 Ulrich Drepper <drepper@gmail.com>
30213
30214 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30215 !__SSE_MATH__.
30216
c044cf14
LD
302172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30218
15db4de1 30219 [BZ #13540]
c044cf14
LD
30220 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30221 processing for last bytes.
30222
6b13d9d9
BH
302232011-08-06 Bruno Haible <bruno@clisp.org>
30224
d455f537
BH
30225 [BZ #13061]
30226 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30227 U+0385, not to U+1FEE.
30228
6b13d9d9
BH
30229 [BZ #13062]
30230 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30231 entry for U+00A5 U+0301.
30232
db910efd
UD
302332011-12-22 Ulrich Drepper <drepper@gmail.com>
30234
27deeafc
UD
30235 [BZ #13166]
30236 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30237 buffer for the output is too small.
30238
aed9d171
UD
30239 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30240 optimization.
30241
db910efd
UD
30242 [BZ #13185]
30243 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30244 SSE flags if possible.
30245
2bd779ae
LD
302462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30247
e7f9dac3 30248 [BZ #13540]
2bd779ae
LD
30249 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30250 processing for last bytes.
30251
154bfc16
JM
302522011-12-22 Joseph Myers <joseph@codesourcery.com>
30253
30254 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30255 (syscall-list-default-options, syscall-list-default-condition)
30256 (syscall-list-includes): Define.
30257 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30258 list of ABIs and options and #if conditions for each ABI. Do not
30259 handle common syscalls between ABIs specially.
30260 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30261 Remove.
30262 (syscall-list-variants, syscall-list-32bit-options)
30263 (syscall-list-32bit-condition, syscall-list-64bit-options)
30264 (syscall-list-64bit-condition): Define.
30265 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30266 (syscall-list-variants, syscall-list-32bit-options)
30267 (syscall-list-32bit-condition, syscall-list-64bit-options)
30268 (syscall-list-64bit-condition): Define.
30269 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30270 Remove.
30271 (syscall-list-variants, syscall-list-32bit-options)
30272 (syscall-list-32bit-condition, syscall-list-64bit-options)
30273 (syscall-list-64bit-condition): Define.
30274 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30275 Remove.
30276 (syscall-list-variants, syscall-list-32bit-options)
30277 (syscall-list-32bit-condition, syscall-list-64bit-options)
30278 (syscall-list-64bit-condition): Define.
30279
21eaf3a5
UD
302802011-12-22 Ulrich Drepper <drepper@gmail.com>
30281
16c6f992
UD
30282 * locale/iso-639.def: Add brx entry.
30283
41043168
UD
30284 [BZ #13328]
30285 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30286 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30287
21eaf3a5
UD
30288 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30289 __feraiseexcept_renamed.
30290
e3a851a2
UD
302912011-12-21 Ulrich Drepper <drepper@gmail.com>
30292
4920765e
UD
30293 [BZ #13538]
30294 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30295 EPOLLET with unsigned values.
30296 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30297 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30298
e3a851a2
UD
30299 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30300 to large cancellation.
30301 * math/s_cacoshf.c: Likewise.
30302 * math/s_cacoshl.c: Likewise.
30303
b27e24b8
RK
303042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30305
30306 [BZ #13305]
aebefeee 30307 [BZ #12786]
b27e24b8
RK
30308 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30309 * math/s_cacoshf.c: Likewise.
30310 * math/s_cacoshl.c: Likewise.
30311
ee190f67
UD
303122011-12-21 Ulrich Drepper <drepper@gmail.com>
30313
30314 [BZ #13439]
30315 * iconv/gconv.h: Define __GCONV_SWAP.
30316 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30317 * iconvdata/utf-16.c: Likewise.
30318 * iconvdata/utf-32.c: Likewise.
30319
707f25df
AS
303202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30321
30322 [BZ #13524]
30323 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30324 numerator after shifting it by one limb.
30325
d2daaa1e
RÁE
303262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
30327
30328 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30329 under [__USE_EXTERN_INLINES].
30330
a4647e72
UD
303312011-12-17 Ulrich Drepper <drepper@gmail.com>
30332
30333 [BZ #13446]
30334 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30335
f0b264f1
AZ
303362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30337
30338 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30339 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30340 optimized code.
30341 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30342 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30343 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30344 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30345 for strncasecmp/strncasecmp_l compilation.
30346 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30347 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30348
8ef4f244
MP
303492011-12-08 Marek Polacek <mpolacek@redhat.com>
30350
30351 [BZ #13484]
30352 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30353 of __asm__.
30354
97ac2654
UD
303552011-12-17 Ulrich Drepper <drepper@gmail.com>
30356
30357 [BZ #13506]
30358 * time/tzfile.c (__tzfile_read): Check values from file header.
30359
91d2a845
WS
303602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30361
30362 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30363 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30364 * powerpc/powerpc32/dl-start.S: Likewise.
30365 * powerpc/powerpc32/elf/start.S: Likewise.
30366 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30367 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30368 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30369 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30370 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30371 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30372 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30373 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30374 * powerpc/powerpc32/fpu/s_round.S: Likewise.
30375 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30376 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30377 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30378 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30379 * powerpc/powerpc32/memset.S: Likewise.
30380 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30381 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30382 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30383 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30384 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30385 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30386 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30387 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30388 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30389 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30390 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30391 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30392 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30393
a1267ba1
AZ
303942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30395
30396 * math/libm-test.inc: Added more nearbyint tests.
30397 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30399 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30400 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30401
ad8ac1bd
RL
304022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
30403
30404 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30405 FD_CLOEXEC.
30406
1d3e4b61
UD
304072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30408
30409 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30410 Add wcscpy-ssse3 wcscpy-c.
30411 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30412 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30413 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30414 * sysdeps/x86_64/wcschr.S: New file.
30415 * sysdeps/x86_64/wcsrchr.S: New file.
30416 * string/test-strcmp.c: Remove checking of wcscmp function for
30417 wrong alignments.
30418 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30419 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30420 wcsrchr-sse2 wcsrchr-c.
30421 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30422 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30423 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30424 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30425 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30426 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30427 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30428 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30429 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30430 * wcsmbc/wcschr.c (WCSCHR): New macro.
30431
5b330a2d
UD
304322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30433
30434 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30435 * wcsmbs/test-wcsrchr.c: New file.
30436 * string/test-strrchr.c: Add wcsrchr support.
30437 (WIDE): New macro.
30438 * wcsmbs/test-wcscpy.c: New file.
30439 * string/test-strcpy.c: Add wcscpy support.
30440 (WIDE): New macro.
26428b7c 30441
f039c043
UD
304422011-12-10 Ulrich Drepper <drepper@gmail.com>
30443
30444 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30445 the inner loop.
30446
850fb039
AS
304472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
30448
30449 [BZ #13472]
30450 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30451
4efbd5cb
UD
304522011-12-04 Ulrich Drepper <drepper@gmail.com>
30453
52ff5dd0 30454 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 30455 Minor optimizations.
52ff5dd0 30456
4efbd5cb
UD
30457 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30458 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30459 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30460
8a426e12
UD
304612011-12-03 Ulrich Drepper <drepper@gmail.com>
30462
aff2453d
UD
30463 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30464 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30465 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30466 for gcc to avoid warnings.
30467 * inet/Makefile (tests): Add tst-checks.
30468 * inet/tst-checks.c: New file.
30469
30470 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30471 warning.
30472
30473 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30474 __wmemcmp_sse2.
30475
30476 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30477 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30478
8a426e12
UD
30479 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30480
9bea3473
UD
304812011-12-02 Ulrich Drepper <drepper@gmail.com>
30482
3a965496
UD
30483 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30484 problem.
30485
9bea3473
UD
30486 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30487
f101631b
UD
304882011-11-29 Joseph Myers <joseph@codesourcery.com>
30489
30490 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30491 conditional on GCC version.
30492 (__arch_compare_and_exchange_val_8_acq)
30493 (__arch_compare_and_exchange_val_16_acq)
30494 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30495 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30496 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30497
a98275aa
UD
304982011-12-02 Joseph Myers <joseph@codesourcery.com>
30499
30500 * sysdeps/sh/backtrace.c: New file.
30501
d4cc29a2
AS
305022011-12-02 Andreas Schwab <schwab@redhat.com>
30503
30504 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
30505 parenthesis.
30506
6257af2d
AS
305072011-12-01 Andreas Schwab <schwab@redhat.com>
30508
30509 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30510 falling back to utime.
30511
b5f44c1a
AS
305122011-11-30 Andreas Schwab <schwab@redhat.com>
30513
30514 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30515 expectations for float.
30516
f3a6cc0a
AS
305172011-11-29 Andreas Schwab <schwab@redhat.com>
30518
30519 * locale/weight.h (findidx): Add parameter len.
30520 * locale/weightwc.h (findidx): Likewise.
30521 * posix/fnmatch_loop.c (FCT): Adjust caller.
30522 * posix/regcomp.c (build_equiv_class): Likewise.
30523 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30524 * posix/regexec.c (check_node_accept_bytes): Likewise.
30525 * string/strcoll_l.c (STRCOLL): Likewise.
30526 * string/strxfrm_l.c (STRXFRM): Likewise.
30527
9d65ea3a
UD
305282011-11-17 Ulrich Drepper <drepper@gmail.com>
30529
30530 * Makefile.in: Remove CVSOPT handling.
30531 * configure.in: Remove use of AC_REVISION.
30532 * iconvdata/Makefile (distribute): No need to filter out CVS.
30533 * scripts/list-sources.sh: Remove CVS, subversion and monotone
30534 handling.
30535
5583a086
AS
305362011-11-16 Andreas Schwab <schwab@redhat.com>
30537
30538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30539 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30540 [USE_AS_STRNCASECMP_L]: Likewise.
30541 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30542 NO_TLS_DIRECT_SEG_REFS.
30543 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30544 Fix argument offsets for non-PIC.
30545 [USE_AS_STRNCASECMP_L]: Likewise.
30546 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30547 NO_TLS_DIRECT_SEG_REFS.
30548
d62a8200
UD
305492011-11-15 Ulrich Drepper <drepper@gmail.com>
30550
9d65ea3a 30551 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
30552 O_CLOEXEC.
30553 * locale/loadlocale.c (_nl_load_locale): Likewise.
30554
09f93bd3
AS
305552011-11-15 Andreas Schwab <schwab@redhat.com>
30556
446514f9
AS
30557 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30558 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30559 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30560 (SYSCALL_GETTIME): Set errno on error.
30561
09f93bd3
AS
30562 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30563 count references to noai6ai_cached.
30564
312be3f9
UD
305652011-11-15 Ulrich Drepper <drepper@gmail.com>
30566
30567 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30568
30569 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30570 FD_CLOEXEC for /proc/self/maps.
30571
30572 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30573 FD_CLOEXEC for /proc/meminfo.
30574
30575 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30576 gai.conf.
30577
30578 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30579 FD_CLOEXEC for given file.
30580
30581 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30582
30583 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30584 FD_CLOEXEC for /etc/hosts.
30585 (_gethtent): Likewise.
30586
30587 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30588
30589 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30590 cancellation and set FD_CLOEXEC for /etc/netgroup.
30591
30592 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30593 reading /etc/publickey.
30594
30595 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30596 allow cancellation when reading /etc/group.
30597
30598 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30599 cancellation.
30600 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30601
30602 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30603 when using data file.
30604
30605 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30606
30607 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30608 (write_nis_obj): Use "c" and "e" in fopen.
30609
30610 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30611
30612 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30613
30614 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30615
30616 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30617
30618 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30619 locale.alias.
30620
30621 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30622
30623 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30624
30625 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30626
30627 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30628 file parsing and set FD_CLOEXEC.
30629
82af0fa8
UD
306302011-11-14 Ulrich Drepper <drepper@gmail.com>
30631
30632 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30633
a5fb313c
AS
306342011-11-14 Andreas Schwab <schwab@redhat.com>
30635
30636 * malloc/arena.c (arena_get2): Don't call reused_arena when
30637 _int_new_arena failed.
30638
6abf3465
UD
306392011-11-14 Ulrich Drepper <drepper@gmail.com>
30640
30641 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30642 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30643 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30644 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30645 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30646 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30647 to compile strcasecmp and strncasecmp.
30648 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30649 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30650
30651 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30652
76e3966e
UD
306532011-11-13 Ulrich Drepper <drepper@gmail.com>
30654
30655 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30656 locale-defines.sym to gen-as-const-headers.
30657 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30658 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30660 to compile strcasecmp and strncasecmp.
30661 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30662 strcasecmp_l and strncasecmp_l.
30663 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30664 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30665 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30666 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30667 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30668 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30669 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30670 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30671 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30672 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30673 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30674
ab26144e
UD
306752011-11-12 Ulrich Drepper <drepper@gmail.com>
30676
7edb22ef
UD
30677 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30678 result of SYSDEP_GETTIME_CPU to retval.
30679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30680 parameter list to macro. Remove trailing semicolon. Adjust users.
30681
9694fc44
UD
30682 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30683 variable.
30684
8ad89ef8
UD
30685 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30686 mantissa words.
30687 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30688
0c822ef9
UD
30689 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30690 from unused variable.
30691
874e0564
UD
30692 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30693 DWARF definitions.
30694 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30695 for assembling.
30696
3a2edc79
UD
30697 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30698 over namespaces.
30699
f3c2577f
UD
30700 * sunrpc/rpc_prot.c (rejected): Fix case value.
30701
294ce126
UD
30702 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30703 unsigned long long int to avoid warnings in shift.
30704
5e2b63c6
UD
30705 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30706 of use of trans.
30707 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30708 variable tmp.
30709
e7f4b08e
UD
30710 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30711 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30712 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30713
ab26144e
UD
30714 * nis/nis_table.c (nis_list): Use variable of correct type for
30715 result of __follow_path call.
30716
8a6d5255
AZ
307172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30718
30719 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30720 of math functions ceil, trunc, floor, round, and sqrt, when
30721 avaliable on the platform.
30722 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30723 name clash.
30724 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30725 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30726 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30727
aaddc98c
MP
307282011-10-30 Marek Polacek <mpolacek@redhat.com>
30729
30730 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30731 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30732
95b7042b
RM
307332011-11-11 Roland McGrath <roland@hack.frob.com>
30734
30735 * include/unistd.h: Fix __readlink return type.
30736 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30737
57769839
UD
307382011-11-11 Ulrich Drepper <drepper@gmail.com>
30739
30740 * stdlib/ucontext.h: Undo last change for makecontext.
30741
edc5984d
AS
307422011-11-11 Andreas Schwab <schwab@redhat.com>
30743
98591e58
AS
30744 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30745
edc5984d
AS
30746 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30747 * setjmp/setjmp.h: Mark functions as non-leaf.
30748 * setjmp/bits/setjmp2.h: Likewise.
30749 * stdlib/ucontext.h: Likewise.
30750
77cdc054
AS
307512011-11-10 Andreas Schwab <schwab@redhat.com>
30752
30753 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30754 (reused_arena): Don't check arena limit.
30755 (arena_get2): Atomically check arena limit.
30756
fe72eebd
UD
307572011-11-08 Ulrich Drepper <drepper@gmail.com>
30758
5f078c32
UD
30759 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30760 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30761
fe72eebd
UD
30762 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30763 instructions.
30764
ae1bc2fa
AS
307652011-11-07 Andreas Schwab <schwab@redhat.com>
30766
7583a88d
AS
30767 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30768 handler when locking.
30769
ae1bc2fa
AS
30770 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30771 Fix size of allocated buffer.
30772
10fb0bfa
AS
307732011-11-04 Andreas Schwab <schwab@redhat.com>
30774
998832a4
AS
30775 [BZ #10103]
30776 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30777 declarations for long double functions.
30778 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30779
10fb0bfa
AS
30780 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30781
3d7ba52b
AS
307822011-11-03 Andreas Schwab <schwab@redhat.com>
30783
a9ae54a1
AS
30784 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30785 installed.
30786
3d7ba52b
AS
30787 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30788 is disabled.
30789
bc8db248
ST
307902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30791
30792 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30793
45b96dd6
AS
307942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30795
647776f6
AS
30796 * include/alloca.h (stackinfo_alloca_round): Define.
30797 (extend_alloca): Use it.
30798 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30799 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30800 here.
30801
d91a8b93
AS
30802 * scripts/check-local-headers.sh: Ignore libaudit.h.
30803
45b96dd6
AS
30804 * nscd/Makefile (extra-objs): Make recursively expanded.
30805
432d41ce
UD
308062011-11-01 Ulrich Drepper <drepper@gmail.com>
30807
34372fc6
UD
30808 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30810
fadb59f8
UD
30811 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30812 * posix/tst-rfc3484-2.c: Likewise.
30813 * posix/tst-rfc3484-3.c: Likewise.
30814
78239589
UD
30815 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30816 process_vm_writev.
30817 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30818 process_vm_writev.
30819 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30820 process_vm_writev from libc using GLIBC_2.15 version.
30821
432d41ce
UD
30822 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30823
02f9c6cf
PP
308242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30825
30826 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30827 stack usage.
30828
3a2c0242
UD
308292011-10-31 Ulrich Drepper <drepper@gmail.com>
30830
f4ec4833
UD
30831 [BZ #13367]
30832 * nss/getent.c (initgroups_keys): Show error message in case no group
30833 names are given.
30834
3a2c0242
UD
30835 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30836 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30837 __bump_nl_timestamp.
30838 * nscd/connections (nscd_init): When host database is served open
30839 netlink socket and request notification about configuration changes.
30840 (main_loop_poll): Track netlink file descriptor and bump timestamp
30841 in case data becomes available.
30842 (main_loop_epoll): Likewise.
30843 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30844 (database_pers_head): Add extra_data fileds.
30845 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30846 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30847 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30848 Adjust caller.
30849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30850 in6ai data, call __free_in6ai.
30851 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30852 Add -DHAVE_NETLINK.
30853 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30854 interface information. Reuse previous data if netlink timestamp
30855 is not changed.
30856 (__bump_nl_timestamp): New function.
30857 (__free_in6ai): New function.
30858
636064eb
UD
308592011-10-30 Ulrich Drepper <drepper@gmail.com>
30860
30861 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30862 close_not_cancel_no_status here.
30863 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30864
9beb2334
UD
308652011-10-29 Ulrich Drepper <drepper@gmail.com>
30866
6ef76f3b
UD
30867 [BZ #13276]
30868 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30869 return value.
30870
0ffc4f3e 30871 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30872 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30873 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30874
cb95113e
UD
308752011-07-03 Andreas Jaeger <aj@suse.de>
30876
30877 [BZ #10709]
30878 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30879 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30880 * math/libm-test.inc (sin_test): Add test case.
30881
a1b560ff
UD
308822011-10-29 Ulrich Drepper <drepper@gmail.com>
30883
c9aaface
UD
30884 [BZ #13337]
30885 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30886 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30887
d272e7f1
UD
30888 * elf/chroot_canon.c (chroot_canon): Cleanups.
30889
1bc33071
UD
30890 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30891
1760874d
TJ
30892 [BZ #13335]
30893 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30894 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30895
51d91b18
UD
30896 * string/test-strchr.c: Make usable for strchrnul testing.
30897 * string/test-strchrnul.c: New file.
30898 * string/Makefile (strop-tests): Add strchrnul.
30899
a1b560ff 30900 * po/it.po: Update from translation team.
b611fb81 30901 * po/es.po: Likewise.
a1b560ff 30902
a5b81e1f
UD
309032011-10-28 Ulrich Drepper <drepper@gmail.com>
30904
fd52bc6d
UD
30905 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30906 the three constants needed as parameters. Drop the others.
30907 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30908 __m128i_strloadu_tolower.
52e4b9eb
UD
30909 Create and initialize variable zero and use it in all the places
30910 where _mm_setzero_si128 was used.
fd52bc6d 30911
a5b81e1f
UD
30912 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30913 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30914 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30915 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30916 anymore.
30917 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30918 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30919 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30920 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30921 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30922 __mpranred, __mptan.
30923 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30924 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30925 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30926 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30927 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30928 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30929 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30930 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30931 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30932
b4343346
AS
309332011-10-28 Andreas Schwab <schwab@redhat.com>
30934
0c92d8a8
AS
30935 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30936 redefine if SHARED.
30937 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30938
b4343346
AS
30939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30940 wide char related routines to wcsmbs subdir.
30941
3871f58f
AS
309422011-10-27 Andreas Schwab <schwab@redhat.com>
30943
30944 [BZ #13344]
30945 * misc/sys/cdefs.h (__THROWNL): Define.
30946 * posix/unistd.h: Use __THREADNL instead of __THREAD
30947 for memory synchronization functions.
30948
94d44d9f
RM
309492011-10-26 Roland McGrath <roland@hack.frob.com>
30950
21b64b15 30951 [BZ #13349]
94d44d9f
RM
30952 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30953 doesn't exist.
30954 * manual/stdio.texi (Obstack Streams): Node removed.
30955
f6ce9294
AS
309562011-10-26 Andreas Schwab <schwab@redhat.com>
30957
80479147
AS
30958 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30959 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30960 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30961
f6ce9294
AS
30962 * math/math_private.h (math_force_eval): Allow non-addressable
30963 arguments.
30964 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30965
618280a1
UD
309662011-10-25 Ulrich Drepper <drepper@gmail.com>
30967
e0016b11
UD
30968 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30969 file is not needed.
30970
30971 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30972 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30973 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30974 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30975 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30976 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30977 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30978 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30979 Add AVX variants.
30980 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30981 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30982 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30983 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30984 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30985 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30986 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30987 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30988 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30989 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30990 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30991 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30992 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30993 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30994 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30995 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30996 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30997 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30998 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30999
31000 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31001 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31002
618280a1
UD
31003 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31004 place. Use VEX encoding when compiling for AVX.
31005
37822576
AS
310062011-10-25 Andreas Schwab <schwab@redhat.com>
31007
1f1e1947
AS
31008 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31009 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31010
37822576
AS
31011 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31012
31ea014d
UD
310132011-10-25 Ulrich Drepper <drepper@gmail.com>
31014
d7826aa1 31015 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 31016 useless if() expression.
d7826aa1
UD
31017 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31018 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31019 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31020 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31021 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31023 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31024 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31025 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31026 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31027 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31028 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31029 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31030 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31031 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31032 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31033 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31034 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31035 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31036
31ea014d
UD
31037 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31038
16437fec
AS
310392011-10-25 Andreas Schwab <schwab@redhat.com>
31040
31041 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31042 condition.
31043 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31044
31d3cc00
UD
310452011-10-25 Ulrich Drepper <drepper@gmail.com>
31046
31047 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31048 .text section. Avoid duplicate constants.
31049 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31051 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31053 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31055 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31057 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31058 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31059 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31060 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31061 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31062 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31063 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31064 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31065 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31066 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31067 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31069 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31070 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31071 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31072 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31073 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31074 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31075 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31076 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31077 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31078 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31079 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31080 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31081 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31082 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31083 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31084 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31085 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31086 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31087 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31088 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31089 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31090 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31091 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31092 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31093 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31094
58985aa9
UD
310952011-10-24 Ulrich Drepper <drepper@gmail.com>
31096
202c9deb
UD
31097 * sysdeps/x86_64/dla.h: Move to ...
31098 * sysdeps/x86_64/fpu/dla.h: ...here.
31099 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31100 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 31101
af968f62
UD
31102 * config.make.in: Add have-mfma4 entry.
31103 * configure.in: Substitute libc_cv_cc_fma4.
31104 * math/Makefile (dbl-only-routines): Add sincostab.
31105 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31106 Use __sincostab not sincos.
31107 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31108 name is a macro.
31109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31112 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31113 using __copysign.
31114 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31115 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31116 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31117 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31118 and __inv.
31119 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31120 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31121 __copysign.
31122 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31123 define aliases when function name is a macro.
31124 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31125 sysdeps/ieee754/dbl-64/sincos.tbl.
31126 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31127 fma4-enabled routines.
31128 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31129 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31130 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31131 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31132 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31133 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31134 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31135 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31136 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31137 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31138 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31139 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31140 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31141 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31142 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31143 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31144 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31145 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31146 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31147 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31148 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31149 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31150 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31151 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31152 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31153 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31154 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31155 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31156 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31157 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31158
58985aa9
UD
31159 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31160 rename.
31161 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31169
a201fbcf
AS
311702011-10-24 Andreas Schwab <schwab@redhat.com>
31171
31172 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31173
fc2ee42a
LD
311742011-10-23 Ulrich Drepper <drepper@gmail.com>
31175
bb3129bd
UD
31176 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31177
0275fff8
UD
31178 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31179 prediction.
31180 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31181
2fa2ae85
UD
31182 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31183 Remove unused variable magic_bits.
31184 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31185
fc2ee42a
LD
31186 * string/strnlen.c: Define and use STRNLEN macro.
31187 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31188 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31189 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31190 * wcsmbs/wcslen.c: Define and use WCSLEN.
31191 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31192 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31193 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31194 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31195 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31196 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31197 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31198
ce7dd29f
LD
311992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31200
31201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31202 strnlen-sse2-no-bsf.
31203 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31204 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31205 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31206 Add strnlen support.
31207 (USE_AS_STRNLEN): New macro.
31208 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31209 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31210 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31211 * sysdeps/x86_64/wcslen.S: New file.
31212
979c70a3
MZ
312132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31214
31215 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31216 XMM-moves are used for copying on small sizes.
31217
2d09f82f
LD
312182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31219
31220 * wcsmbs/Makefile (strop-tests): Add wcschr.
31221 * wcsmbs/test-wcschr.c: New file.
31222 * string/test-strchr.c: Update.
31223 Add wcschr support.
31224 (WIDE): New macro.
31225
619fccca
LD
312262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31227
2d09f82f 31228 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
31229 * wcsmbs/test-wcslen.c: New file.
31230 * string/test-strlen.c: Update.
31231 Add wcslen support.
31232 (WIDE): New macro.
31233
09f699ea
UD
312342011-10-23 Ulrich Drepper <drepper@gmail.com>
31235
31236 * po/it.po: Update from translation team.
31237
95584d3b
LD
312382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31239
31240 * sysdeps/x86_64/wcscmp.S: Update.
31241 Fix wrong comparison semantics.
31242 wcscmp shall use signed comparison not unsigned.
31243 Don't use substraction to avoid overflow bug.
31244 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31245 * wcsmbc/wcscmp.c: Likewise.
31246 * string/test-strcmp.c: Likewise.
31247 Add new tests to check cases with negative values.
31248
c8b3296b
UD
312492011-10-23 Ulrich Drepper <drepper@gmail.com>
31250
31251 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31252 * sysdeps/x86_64/dla.h: ...here. New file.
31253 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31257 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31260 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31261 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31262
246ad57a
AS
312632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31264
31265 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31266 __ynl_finite aliases.
31267
a1a87169
UD
312682011-10-22 Ulrich Drepper <drepper@gmail.com>
31269
0d355eb7
UD
31270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31271
a1a87169
UD
31272 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31273 define DLA_FMA.
31274 [DLA_FMA] (EMULV): Use DLA_FMA.
31275 [DLA_FMA] (MUL12): Use EMULV.
31276 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31277 that are not needed.
31278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31285
ee2aafe0
AS
312862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31287
31288 * math/s_nan.c: Undef __nan.
31289 * math/s_nanf.c: Undef __nanf.
31290 * math/s_nanl.c: Undef __nanl.
31291 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31292 "math_private.h".
31293
bc62c2fb
UD
312942011-10-22 Ulrich Drepper <drepper@gmail.com>
31295
77425c63
UD
31296 * math/s_catan.c: Add branch predictions.
31297 * math/s_catanf.c: Likewise.
31298 * math/s_catanh.c: Likewise.
31299 * math/s_catanhf.c: Likewise.
31300 * math/s_catanhl.c: Likewise.
31301 * math/s_catanl.c: Likewise.
31302 * math/s_cexp.c: Likewise.
31303 * math/s_cexpf.c: Likewise.
31304 * math/s_cexpl.c: Likewise.
31305 * math/s_clog.c: Likewise.
31306 * math/s_clog10.c: Likewise.
31307 * math/s_clog10f.c: Likewise.
31308 * math/s_clog10l.c: Likewise.
31309 * math/s_clogf.c: Likewise.
31310 * math/s_clogl.c: Likewise.
31311 * math/s_csqrt.c: Likewise.
31312 * math/s_csqrtf.c: Likewise.
31313 * math/s_csqrtl.c: Likewise.
31314 * math/s_ctanf.c: Likewise.
31315 * math/s_ctanh.c: Likewise.
31316 * math/s_ctanhf.c: Likewise.
31317 * math/s_ctanhl.c: Likewise.
31318 * math/s_ctanl.c: Likewise.
31319
bc62c2fb
UD
31320 * math/math_private.h: Define __nan, __nanf, __nanl.
31321 * math/s_cacosh.c: Include <math_private.h>.
31322 * math/s_cacoshl.c: Likewise.
31323 * math/s_casinh.c: Likewise.
31324 * math/s_casinhf.c: Likewise.
31325 * math/s_casinhl.c: Likewise.
31326 * math/s_ccos.c: Rely entire on ccosh.
31327 * math/s_ccosf.c: Rely entire on ccoshf.
31328 * math/s_ccosl.c: Rely entirely on ccoshl.
31329 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
31330 Remove tests for FE_INVALID.
31331 * math/s_ccoshf.c: Likewise.
31332 * math/s_ccoshl.c: Likewise.
31333 * math/s_csin.c: Likewise.
31334 * math/s_csinf.c: Likewise.
31335 * math/s_csinh.c Likewise.
31336 * math/s_csinhf.c: Likewise.
31337 * math/s_csinhl.c: Likewise.
31338 * math/s_csinl.c: Likewise.
31339 * math/s_ctan.c: Likewise.
31340 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31341 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31342 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31343
8ec250a4
UD
313442011-10-21 Ulrich Drepper <drepper@gmail.com>
31345
c196fed8
UD
31346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31347 compilation problems.
31348
8ec250a4
UD
31349 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31350 __builtin_expect.
31351
8d4f46c6
UD
313522011-10-20 Ulrich Drepper <drepper@gmail.com>
31353
ed72b654
UD
31354 * sysdeps/i386/configure.in: Test for -mfma4 option.
31355 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31356 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31357 COMMON_CPUID_INDEX_80000001.
31358 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31359 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31360 use it if FMA3 is not supported.
31361 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31362
8d4f46c6
UD
31363 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31364 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31365
d45c60c2
AS
313662011-10-20 Andreas Schwab <schwab@redhat.com>
31367
31368 [BZ #12892]
31369 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31370 it would create a cycle with a link time dependency.
31371
d9a4d2ab
UD
313722011-10-19 Ulrich Drepper <drepper@gmail.com>
31373
855d1560
UD
31374 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31375 instruction.
31376 * string/Makefile (strop-tests): Add rawmemchr.
31377 * string/test-rawmemchr.c: New file.
31378
d9a4d2ab
UD
31379 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31380 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
31381 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
31382 when compiling str{,n}casecmp and when AVX is available. Hook up
31383 new optimized code in initializers.
31384
8f3b1ffe
AS
313852011-10-19 Andreas Schwab <schwab@redhat.com>
31386
31387 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31388 __feraiseexcept instead of feraiseexcept.
31389
d38f1dba
UD
313902011-10-18 Ulrich Drepper <drepper@gmail.com>
31391
d9a8d0ab
UD
31392 * math/math_private.h: Define defaults for libc_fetestexcept and
31393 libc_feupdateenv.
31394 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31395 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31396 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31397 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31398 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31399 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31400 libc_fetestexcept and libc_feupdateenv.
31401
4855e3dd
UD
31402 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31403 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31404 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31405 * sysdeps/x86_64/fpu/math_private.h: Define special version of
31406 libc_feholdexcept_setround.
31407
581d30e3
UD
31408 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31409 Add s_nearbyint-c and s_nearbyintf-c.
31410 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31411 nearbyintf inlines.
31412 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31413 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31414 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31415 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31416
d38f1dba
UD
31417 * math/math_private.h: Define defaults for libc_fegetround,
31418 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31419 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31420 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31421 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31422 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31423 standard functions.
31424 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31425 Remove comments and hacks for old compiler versions.
31426 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31427 libc_fegetround, libc_fesetround, libc_feholdexcept, and
31428 libc_feholdexceptl.
31429
caa6c9d8
AS
314302011-10-18 Andreas Schwab <schwab@redhat.com>
31431
31432 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
31433 (__feraiseexcept_renamed): Add __NTH.
31434 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
31435 namespace violations.
31436
97c066e6
UD
314372011-10-17 Ulrich Drepper <drepper@gmail.com>
31438
99ce7b04
UD
31439 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31440
1004d182
UD
31441 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31442
228a984d
UD
31443 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31444 recently added interfaces.
31445 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31446
c8553a6a
UD
31447 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31448 about macro parameter expansion.
31449
ed22dcf6
UD
31450 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31451 __NO_MATH_INLINES is defined. Cleanups.
31452
31453 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31454 and __floorf is target has SSE4.1.
31455 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31456 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31457 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31458 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31459
b171c137
UD
31460 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31461 name.
31462 (floorf): Likewise.
31463
97c066e6
UD
31464 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31465
629f62ef
AS
314662011-10-17 Andreas Schwab <schwab@redhat.com>
31467
49a43d80
AS
31468 * misc/sys/cdefs.h: Fix last change.
31469
629f62ef
AS
31470 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31471 database lookup.
31472
e453f6cd
UD
314732011-10-16 Ulrich Drepper <drepper@gmail.com>
31474
aa78043a
UD
31475 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31476
ad0f5cad
UD
31477 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31478 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31479 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31480 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31481 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31482 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31483 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31484 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31485 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31486 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31487 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31488 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31489 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31490 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31491 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31492 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31493 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31494 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31495 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31496 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31497 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31498 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31499
31500 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31501 ceil, ceilf, floor, floorf.
31502
31503 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31504 Perform IRELATIVE relocations last.
31505
e453f6cd
UD
31506 * elf/do-rel.h: Add another parameter nrelative, replacing the
31507 local variable with the same name. Change name of the function
31508 to end in Rel or Rela (uppercase).
31509 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31510 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
31511 elf_dynamic_do_##reloc function.
31512
fd5bdc09
UD
315132011-10-15 Ulrich Drepper <drepper@gmail.com>
31514
79b195b5
UD
31515 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31516 is sufficient, at least on modern CPUs.
31517
d4a28569
UD
31518 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31519
b61099b5
UD
31520 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31521 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31522
bcf01e6d
UD
31523 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31524 __expl_finite.
31525 * math/bits/math-finite.h: Add entries for exp.
31526 * math/e_expl.c: Add __*_finite alias.
31527 * sysdeps/i386/fpu/e_exp.S: Likewise.
31528 * sysdeps/i386/fpu/e_expf.S: Likewise.
31529 * sysdeps/i386/fpu/e_expl.c: Likewise.
31530 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31531 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31532 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31533 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31534 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31535 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31536 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31537
ba1a0d59
UD
31538 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31539 is sufficient, at least on modern CPUs.
31540
fd5bdc09
UD
31541 * ctype/ctype-info.c (__ctype_init): Define.
31542 * include/ctype.h (__ctype_init): Declare.
31543 (__ctype_b_loc): The variable is always initialized.
31544 (__ctype_toupper_loc): Likewise.
31545 (__ctype_tolower_loc): Likewise.
31546 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31547 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31548
7872cfb0
AS
315492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
31550
b468825a
AS
31551 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31552
7872cfb0
AS
31553 * configure.in: Also look in $cxxmachine/include for C++ system
31554 headers.
31555
be13f7bf
LD
315562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31557
31558 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31559 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31560 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31561 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
31562 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31563 (USE_AS_WMEMCMP): New macro.
31564 Fixing indents.
31565 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31566 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31567 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31568 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31570 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31571 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31572 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31573 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31574 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31575 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31576 (USE_AS_WMEMCMP): New macro.
31577 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31578 * sysdeps/string/test-memcmp.c: Update.
31579 Fix simple_wmemcmp.
31580 Add new tests.
31581 * wcsmbs/wmemcmp.c: Update.
31582 (WMEMCMP): New macro.
31583 Fix overflow bug.
31584
556a2007
AJ
315852011-10-12 Andreas Jaeger <aj@suse.de>
31586
31587 [BZ #13268]
31588 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31589
538faaa7
UD
315902011-10-15 Ulrich Drepper <drepper@gmail.com>
31591
ab6737ff
UD
31592 * libio/iofwide.c (do_length): Avoid warning.
31593
538faaa7
UD
31594 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31595
396a21b1
UD
315962011-10-14 Ulrich Drepper <drepper@gmail.com>
31597
cdf2901f
UD
31598 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31599
38ad40ce
UD
31600 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31601 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31602 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31603 * sysdeps/i386/i686/fpu/e_log.S: New file.
31604 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31605 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31606
396a21b1
UD
31607 * ctype/ctype.h: Add support for inlined isXXX functions when
31608 compiling C++ code.
31609
6b1f68c9
AS
316102011-10-14 Andreas Schwab <schwab@redhat.com>
31611
349290c0
AS
31612 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31613
6b1f68c9
AS
31614 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31615
f2282d42
RM
316162011-10-13 Roland McGrath <roland@hack.frob.com>
31617
31618 [BZ #13291]
31619 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31620
5298ffa8
AS
316212011-10-13 Andreas Schwab <schwab@redhat.com>
31622
714fad23
AS
31623 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31624 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31625 feraiseexcept.
31626
81dcc7fb
AS
31627 * sysdeps/x86_64/memrchr.S: Check for zero size.
31628
5298ffa8
AS
31629 * string/stratcliff.c: Add memrchr tests.
31630
951fbcec
LD
316312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31632
31633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31634 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31635 rawmemchr-sse2 rawmemchr-sse2-bsf.
31636 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31637 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31638 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31639 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31640 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31641 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31642 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31643 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31644 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31645 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31646 * string/memrchr.c (MEMRCHR): New macro.
31647
0ac5ae23
UD
316482011-10-12 Ulrich Drepper <drepper@gmail.com>
31649
31650 Add integration with gcc's -ffinite-math-only and optimize wrapper
31651 functions in libm.
31652 * Versions.def: Define GLIBC_2.15 version for libm.
31653 * math/Makefile (headers): Add bits/math-finite.h.
31654 * math/bits/math-finite.h: New file.
31655 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31656 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31657 * math/e_acoshl.c: Add __*_finite alias.
31658 * math/e_acosl.c: Likewise.
31659 * math/e_asinl.c: Likewise.
31660 * math/e_atan2l.c: Likewise.
31661 * math/e_atanhl.c: Likewise.
31662 * math/e_coshl.c: Likewise.
31663 * math/e_exp10.c: Likewise.
31664 * math/e_exp10f.c: Likewise.
31665 * math/e_exp10l.c: Likewise.
31666 * math/e_exp2l.c: Likewise.
31667 * math/e_fmodl.c: Likewise.
31668 * math/e_gammal_r.c: Likewise.
31669 * math/e_hypotl.c: Likewise.
31670 * math/e_j0l.c: Likewise.
31671 * math/e_j1l.c: Likewise.
31672 * math/e_jnl.c: Likewise.
31673 * math/e_lgammal_r.c: Likewise.
31674 * math/e_log10l.c: Likewise.
31675 * math/e_log2l.c: Likewise.
31676 * math/e_logl.c: Likewise.
31677 * math/e_powl.c: Likewise.
31678 * math/e_sinhl.c: Likewise.
31679 * math/e_sqrtl.c: Likewise.
31680 * math/e_scalb.c: Completely rewritten and optimized.
31681 * math/e_scalbf.c: Likewise.
31682 * math/e_scalbl.c: Likewise.
31683 * math/w_acos.c: Likewise.
31684 * math/w_acosf.c: Likewise.
31685 * math/w_acosl.c: Likewise.
31686 * math/w_acosh.c: Likewise.
31687 * math/w_acoshf.c: Likewise.
31688 * math/w_acoshl.c: Likewise.
31689 * math/w_asin.c: Likewise.
31690 * math/w_asinf.c: Likewise.
31691 * math/w_asinl.c: Likewise.
31692 * math/w_atan2.c: Likewise.
31693 * math/w_atan2f.c: Likewise.
31694 * math/w_atan2l.c: Likewise.
31695 * math/w_atanh.c: Likewise.
31696 * math/w_atanhf.c: Likewise.
31697 * math/w_atanhl.c: Likewise.
31698 * math/w_exp10.c: Likewise.
31699 * math/w_exp10f.c: Likewise.
31700 * math/w_exp10l.c: Likewise.
31701 * math/w_fmod.c: Likewise.
31702 * math/w_fmodf.c: Likewise.
31703 * math/w_fmodl.c: Likewise.
31704 * math/w_j0.c: Likewise.
31705 * math/w_j0f.c: Likewise.
31706 * math/w_j0l.c: Likewise.
31707 * math/w_j1.c: Likewise.
31708 * math/w_j1f.c: Likewise.
31709 * math/w_j1l.c: Likewise.
31710 * math/w_jn.c: Likewise.
31711 * math/w_jnf.c: Likewise.
31712 * math/w_log.c: Likewise.
31713 * math/w_logf.c: Likewise.
31714 * math/w_logl.c: Likewise.
31715 * math/w_log10.c: Likewise.
31716 * math/w_log10f.c: Likewise.
31717 * math/w_log10l.c: Likewise.
31718 * math/w_log2.c: Likewise.
31719 * math/w_log2f.c: Likewise.
31720 * math/w_log2l.c: Likewise.
31721 * math/w_pow.c: Likewise.
31722 * math/w_powf.c: Likewise.
31723 * math/w_powl.c: Likewise.
31724 * math/w_remainder.c: Likewise.
31725 * math/w_remainderf.c: Likewise.
31726 * math/w_remainderl.c: Likewise.
31727 * math/w_scalb.c: Likewise.
31728 * math/w_scalbf.c: Likewise.
31729 * math/w_scalbl.c: Likewise.
31730 * math/w_sqrt.c: Likewise.
31731 * math/w_sqrtf.c: Likewise.
31732 * math/w_sqrtl.c: Likewise.
31733 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31734 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31735 used.
31736 * math/math_private.h: Declare __kernel_standard_f.
31737 * math/w_cosh.c: Remove cruft and optimize a bit.
31738 * math/w_coshf.c: Likewise.
31739 * math/w_coshl.c: Likewise.
31740 * math/w_exp2.c: Likewise.
31741 * math/w_exp2f.c: Likewise.
31742 * math/w_exp2l.c: Likewise.
31743 * math/w_hypot.c: Likewise.
31744 * math/w_hypotf.c: Likewise.
31745 * math/w_hypotl.c: Likewise.
31746 * math/w_lgamma.c: Likewise.
31747 * math/w_lgamma_r.c: Likewise.
31748 * math/w_lgammaf.c: Likewise.
31749 * math/w_lgammaf_r.c: Likewise.
31750 * math/w_lgammal.c: Likewise.
31751 * math/w_lgammal_r.c: Likewise.
31752 * math/w_sinh.c: Likewise.
31753 * math/w_sinhf.c: Likewise.
31754 * math/w_sinhl.c: Likewise.
31755 * math/w_tgamma.c: Likewise.
31756 * math/w_tgammaf.c: Likewise.
31757 * math/w_tgammal.c: Likewise.
31758 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31759 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31760 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31761 Minor optimizations. Pretty printing. Remove cruft.
31762 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31763 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31764 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31765 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31766 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31767 * sysdeps/i386/fpu/e_asin.S: Likewise.
31768 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31769 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31770 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31771 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31772 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31773 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31774 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31775 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31776 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31777 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31778 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31779 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31780 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31781 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31782 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31783 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31784 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31785 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31786 * sysdeps/i386/fpu/e_log.S: Likewise.
31787 * sysdeps/i386/fpu/e_log10.S: Likewise.
31788 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31789 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31790 * sysdeps/i386/fpu/e_log2.S: Likewise.
31791 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31792 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31793 * sysdeps/i386/fpu/e_logf.S: Likewise.
31794 * sysdeps/i386/fpu/e_logl.S: Likewise.
31795 * sysdeps/i386/fpu/e_pow.S: Likewise.
31796 * sysdeps/i386/fpu/e_powf.S: Likewise.
31797 * sysdeps/i386/fpu/e_powl.S: Likewise.
31798 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31799 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31800 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31801 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31802 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31803 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31804 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31805 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31806 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31807 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31808 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31810 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31811 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31812 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31813 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31814 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31817 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31818 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31820 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31821 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31823 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31824 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31825 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31827 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31828 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31829 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31830 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31831 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31832 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31833 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31834 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31835 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31836 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31837 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31838 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31839 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31840 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31841 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31842 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31843 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31844 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31845 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31846 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31847 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31848 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31849 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31850 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31852 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31853 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31854 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31855 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31856 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31857 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31858 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31859 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31860 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31861 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31862 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31863 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31864 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31865 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31866 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31867 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31868 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31869 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31870 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31871 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31872 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31873 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31875 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31876 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31877 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31878 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31879 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31880 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31881 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31882 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31883 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31884 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31885 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31886 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31887 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31888 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31889 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31890 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31891 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31892 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31893 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31894 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31895 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31896 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31897 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31898 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31899 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31900 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31901 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31902 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31903 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31904 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31905 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31906 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31907 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31908 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31909 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31910 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31911 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31912 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31913 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31914 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31915 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31916 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31917 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31918 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31919 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31920 (__isnanf): Likewise.
31921 (__isinf_ns): Likewise.
31922 (__isinf_nsf): Likewise.
31923 (__finite): Likewise.
31924 (__finitef): Likewise.
31925 (__ieee754_sqrt): Define as macro.
31926 (__ieee754_sqrtf): Define as macro.
31927 (__ieee754_sqrtl): Define as macro.
31928 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31929 inlined copy.
31930 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31931 __FINITE_MATH_ONLY__ consistent.
31932 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31933
12cc2fcd
AS
319342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31935
a843a204
AS
31936 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31937 of rawmemchr.
31938
12cc2fcd
AS
31939 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31940
c853acd5
UD
319412011-10-09 Ulrich Drepper <drepper@gmail.com>
31942
31943 * po/ja.po: Update from translation team.
31944
c658d255
RM
319452011-10-08 Roland McGrath <roland@hack.frob.com>
31946
110946e4
RM
31947 * locale/programs/locarchive.c (prepare_address_space): New function.
31948 (create_archive, enlarge_archive, open_archive): Use it.
31949
50604220
RM
31950 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31951 inside [SHARED], where it is used.
31952
c658d255
RM
31953 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31954
31955 * nss/getent.c (netgroup_keys): Remove unused variable.
31956 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31957
6a621eb7
UD
319582011-10-08 Ulrich Drepper <drepper@gmail.com>
31959
7edb55ce
UD
31960 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31961 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31963 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31964 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31965 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31966 * math/Makefile (libm-calls): Add s_isinf_ns.
31967 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31968 * math/multc3.c: Likewise.
31969 * math/s_casin.c: Likewise.
31970 * math/s_casinf.c: Likewise.
31971 * math/s_casinl.c: Likewise.
31972 * math/s_ccos.c: Likewise.
31973 * math/s_ccosf.c: Likewise.
31974 * math/s_ccosl.c: Likewise.
31975 * math/s_ctan.c: Likewise.
31976 * math/s_ctanf.c: Likewise.
31977 * math/s_ctanh.c: Likewise.
31978 * math/s_ctanhf.c: Likewise.
31979 * math/s_ctanhl.c: Likewise.
31980 * math/s_ctanl.c: Likewise.
31981 * math/w_fmod.c: Likewise.
31982 * math/w_fmodf.c: Likewise.
31983 * math/w_fmodl.c: Likewise.
31984 * math/w_remainder.c: Likewise.
31985 * math/w_remainderf.c: Likewise.
31986 * math/w_remainderl.c: Likewise.
31987 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31988 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31989 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31991 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31992 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31993 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31994 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31995
187da0ae
UD
31996 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31997 of the number.
31998 * stdio-common/printf_fphex.c: Likewise.
31999 * stdio-common/printf_size.c: Likewise.
32000
9277c064
UD
32001 * math/e_exp10.c: Include math_private.h using <...> not "...".
32002 * math/e_exp10f.c: Likewise.
32003 * math/e_exp10l.c: Likewise.
32004 * math/e_exp2l.c: Likewise.
32005 * math/e_j0l.c: Likewise.
32006 * math/e_j1l.c: Likewise.
32007 * math/e_jnl.c: Likewise.
32008 * math/e_lgammal_r.c: Likewise.
32009 * math/e_rem_pio2l.c: Likewise.
32010 * math/e_scalb.c: Likewise.
32011 * math/e_scalbf.c: Likewise.
32012 * math/e_scalbl.c: Likewise.
32013 * math/k_cosl.c: Likewise.
32014 * math/k_sinl.c: Likewise.
32015 * math/k_tanl.c: Likewise.
32016 * math/s_cacoshf.c: Likewise.
32017 * math/s_catan.c: Likewise.
32018 * math/s_catanf.c: Likewise.
32019 * math/s_catanh.c: Likewise.
32020 * math/s_catanhf.c: Likewise.
32021 * math/s_catanhl.c: Likewise.
32022 * math/s_catanl.c: Likewise.
32023 * math/s_ccosh.c: Likewise.
32024 * math/s_ccoshf.c: Likewise.
32025 * math/s_ccoshl.c: Likewise.
32026 * math/s_cexp.c: Likewise.
32027 * math/s_cexpf.c: Likewise.
32028 * math/s_cexpl.c: Likewise.
32029 * math/s_clog.c: Likewise.
32030 * math/s_clog10.c: Likewise.
32031 * math/s_clog10f.c: Likewise.
32032 * math/s_clog10l.c: Likewise.
32033 * math/s_clogf.c: Likewise.
32034 * math/s_clogl.c: Likewise.
32035 * math/s_csin.c: Likewise.
32036 * math/s_csinf.c: Likewise.
32037 * math/s_csinh.c: Likewise.
32038 * math/s_csinhf.c: Likewise.
32039 * math/s_csinhl.c: Likewise.
32040 * math/s_csinl.c: Likewise.
32041 * math/s_csqrt.c: Likewise.
32042 * math/s_csqrtf.c: Likewise.
32043 * math/s_csqrtl.c: Likewise.
32044 * math/s_ctan.c: Likewise.
32045 * math/s_ctanf.c: Likewise.
32046 * math/s_ctanh.c: Likewise.
32047 * math/s_ctanhf.c: Likewise.
32048 * math/s_ctanhl.c: Likewise.
32049 * math/s_ctanl.c: Likewise.
32050 * math/s_ldexp.c: Likewise.
32051 * math/s_ldexpf.c: Likewise.
32052 * math/s_ldexpl.c: Likewise.
32053 * math/s_significand.c: Likewise.
32054 * math/s_significandf.c: Likewise.
32055 * math/s_significandl.c: Likewise.
32056 * math/w_acos.c: Likewise.
32057 * math/w_acosf.c: Likewise.
32058 * math/w_acosh.c: Likewise.
32059 * math/w_acoshf.c: Likewise.
32060 * math/w_acoshl.c: Likewise.
32061 * math/w_acosl.c: Likewise.
32062 * math/w_asin.c: Likewise.
32063 * math/w_asinf.c: Likewise.
32064 * math/w_asinl.c: Likewise.
32065 * math/w_atan2.c: Likewise.
32066 * math/w_atan2f.c: Likewise.
32067 * math/w_atan2l.c: Likewise.
32068 * math/w_atanh.c: Likewise.
32069 * math/w_atanhf.c: Likewise.
32070 * math/w_atanhl.c: Likewise.
32071 * math/w_cosh.c: Likewise.
32072 * math/w_coshf.c: Likewise.
32073 * math/w_coshl.c: Likewise.
32074 * math/w_dremf.c: Likewise.
32075 * math/w_exp10.c: Likewise.
32076 * math/w_exp10f.c: Likewise.
32077 * math/w_exp10l.c: Likewise.
32078 * math/w_exp2.c: Likewise.
32079 * math/w_exp2f.c: Likewise.
32080 * math/w_fmod.c: Likewise.
32081 * math/w_fmodf.c: Likewise.
32082 * math/w_fmodl.c: Likewise.
32083 * math/w_hypot.c: Likewise.
32084 * math/w_hypotf.c: Likewise.
32085 * math/w_hypotl.c: Likewise.
32086 * math/w_j0.c: Likewise.
32087 * math/w_j0f.c: Likewise.
32088 * math/w_j0l.c: Likewise.
32089 * math/w_j1.c: Likewise.
32090 * math/w_j1f.c: Likewise.
32091 * math/w_j1l.c: Likewise.
32092 * math/w_jn.c: Likewise.
32093 * math/w_jnf.c: Likewise.
32094 * math/w_jnl.c: Likewise.
32095 * math/w_lgamma.c: Likewise.
32096 * math/w_lgamma_r.c: Likewise.
32097 * math/w_lgammaf.c: Likewise.
32098 * math/w_lgammaf_r.c: Likewise.
32099 * math/w_lgammal.c: Likewise.
32100 * math/w_lgammal_r.c: Likewise.
32101 * math/w_log.c: Likewise.
32102 * math/w_log10.c: Likewise.
32103 * math/w_log10f.c: Likewise.
32104 * math/w_log10l.c: Likewise.
32105 * math/w_log2.c: Likewise.
32106 * math/w_log2f.c: Likewise.
32107 * math/w_log2l.c: Likewise.
32108 * math/w_logf.c: Likewise.
32109 * math/w_logl.c: Likewise.
32110 * math/w_pow.c: Likewise.
32111 * math/w_powf.c: Likewise.
32112 * math/w_powl.c: Likewise.
32113 * math/w_remainder.c: Likewise.
32114 * math/w_remainderf.c: Likewise.
32115 * math/w_remainderl.c: Likewise.
32116 * math/w_scalb.c: Likewise.
32117 * math/w_scalbf.c: Likewise.
32118 * math/w_scalbl.c: Likewise.
32119 * math/w_sinh.c: Likewise.
32120 * math/w_sinhf.c: Likewise.
32121 * math/w_sinhl.c: Likewise.
32122 * math/w_sqrt.c: Likewise.
32123 * math/w_sqrtf.c: Likewise.
32124 * math/w_sqrtl.c: Likewise.
32125 * math/w_tgamma.c: Likewise.
32126 * math/w_tgammaf.c: Likewise.
32127 * math/w_tgammal.c: Likewise.
32128
6a621eb7
UD
32129 * po/ja.po: Update from translation team.
32130
bf582445
AJ
321312011-09-29 Andreas Jaeger <aj@suse.de>
32132
f9efbf3a
AJ
32133 [BZ #13179]
32134 * sunrpc/netname.c (netname2host): Fix logic.
32135
bf582445
AJ
32136 [BZ #6779]
32137 [BZ #6783]
32138 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32139 correctly.
32140 * math/w_remainder.c (__remainder): Likewise.
32141 * math/w_remainderf.c (__remainderf): Likewise.
32142 * math/libm-test.inc (remainder_test): Add test cases.
32143
48693bea
AK
321442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32145
32146 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32147 sdiv_qrnnd.
32148
42622229
LD
321492011-10-07 Ulrich Drepper <drepper@gmail.com>
32150
32151 * string/test-memcmp.c: Avoid unncessary #defines.
32152 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32153
093ecf92
LD
321542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32155
32156 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32157 Use new sse2 version for core i3 - i7 as it's faster
32158 than sse42 version.
32159 (bit_Prefer_PMINUB_for_stringop): New.
32160 * sysdeps/x86_64/rawmemchr.S: Update.
32161 Replace with faster SSE2 version.
32162 * sysdeps/x86_64/memrchr.S: New file.
32163 * sysdeps/x86_64/memchr.S: Update.
32164 Replace with faster SSE2 version.
32165
fde56e5c
MP
321662011-09-12 Marek Polacek <mpolacek@redhat.com>
32167
32168 * elf/dl-load.c (lose): Add cast to avoid warning.
32169
21fd49a9
UD
321702011-10-07 Ulrich Drepper <drepper@gmail.com>
32171
5a06e643
UD
32172 * po/ca.po: Update from translation team.
32173
684ae515
UD
32174 * inet/getnetgrent_r.c: Hook up nscd.
32175 * nscd/Makefile (routines): Add nscd_netgroup.
32176 (nscd-modules): Add netgroupcache.
32177 (CFLAGS-netgroupcache.c): Define.
32178 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32179 (cache_search): Add const to second parameter.
32180 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32181 INNETGR.
32182 (dbs): Add netgrdb entry.
32183 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32184 (verify_persistent_db): Handle netgrdb.
32185 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32186 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32187 GETFDNETGR.
32188 (netgroup_response_header): Define.
32189 (innetgroup_response_header): Define.
32190 (datahead): Add netgroup_response_header and innetgroup_response_header
32191 elements.
32192 * nscd/nscd.conf: Add entries for netgroup cache.
32193 * nscd/nscd.h (dbtype): Add netgrdb.
32194 (_PATH_NSCD_NETGROUP_DB): Define.
32195 (netgroup_iov_disabled): Declare.
32196 (xmalloc, xcalloc, xrealloc): Move declarations here.
32197 (cache_search): Adjust prototype.
32198 Add netgroup-related prototypes.
32199 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32200 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32201 (__nscd_innetgr): Declare.
32202 * nscd/selinux.c (perms): Use access_vector_t as element type and
32203 add netgroup-related initializers.
32204 * nscd/netgroupcache.c: New file.
32205 * nscd/nscd_netgroup.c: New file.
32206 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32207 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32208 For four parameters use innetgr.
32209 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32210 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32211 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32212 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32213
21fd49a9
UD
32214 * nscd/connections.c (register_traced_file): Don't register file
32215 for disabled databases.
32216
054c0457
UD
322172011-10-06 Ulrich Drepper <drepper@gmail.com>
32218
32b63198
UD
32219 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32220
054c0457
UD
32221 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32222 from tree and freeing node.
32223
64031225
JO
322242011-09-25 Jiri Olsa <jolsa@redhat.com>
32225
32226 * nss/nsswitch.c (__nss_database_lookup): Handle
32227 nss_parse_service_list out of memory case.
32228
0490345c
JO
322292011-09-15 Jiri Olsa <jolsa@redhat.com>
32230
32231 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32232 out of memory case.
32233
3a62d00d
AS
322342011-10-04 Andreas Schwab <schwab@redhat.com>
32235
32236 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32237 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32238 pass it down.
32239 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32240 elf_machine_rela, elf_machine_lazy_rel.
32241 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32242 (ELF_DYNAMIC_DO_REL): Likewise.
32243 (ELF_DYNAMIC_DO_RELA): Likewise.
32244 (ELF_DYNAMIC_RELOCATE): Likewise.
32245 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32246 to ELF_DYNAMIC_DO_REL.
32247 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32248 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32249 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32250 elf_machine_rela.
32251 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32252 skip_ifunc, don't call ifunc function if non-zero.
32253 (elf_machine_rela): Likewise.
32254 (elf_machine_lazy_rel): Likewise.
32255 (elf_machine_lazy_rela): Likewise.
32256 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32257 (elf_machine_lazy_rel): Likewise.
32258 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32259 Likewise.
32260 (elf_machine_lazy_rel): Likewise.
32261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32262 Likewise.
32263 (elf_machine_lazy_rel): Likewise.
32264 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32265 (elf_machine_lazy_rel): Likewise.
32266 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32267 (elf_machine_lazy_rel): Likewise.
32268 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32269 (elf_machine_lazy_rel): Likewise.
32270 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32271 (elf_machine_lazy_rel): Likewise.
32272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32273 (elf_machine_lazy_rel): Likewise.
32274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32275 (elf_machine_lazy_rel): Likewise.
32276
68577918
UD
322772011-09-28 Ulrich Drepper <drepper@gmail.com>
32278
32279 * nss/nss_files/files-init.c (_nss_files_init): Use static
32280 initialization for all the *_traced_file variables.
32281
68822d74
AS
322822011-09-28 Andreas Schwab <schwab@redhat.com>
32283
32284 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32285
2056100b
RM
322862011-09-27 Roland McGrath <roland@hack.frob.com>
32287
32288 [BZ #13226]
32289 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32290
32c76b63
AS
322912011-09-27 Andreas Schwab <schwab@redhat.com>
32292
32293 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32294 Reread the line before reparsing it.
32295
bf972c9d
AS
322962011-09-26 Andreas Schwab <schwab@redhat.com>
32297
32298 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32299
e057a1b5
JM
323002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32301 Maxim Kuvyrkov <maxim@codesourcery.com>
32302 Joseph Myers <joseph@codesourcery.com>
32303
32304 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32305 if needed for __stack_chk_guard.
32306
bc7e1c36
RM
323072011-09-19 Roland McGrath <roland@hack.frob.com>
32308
ecb1482f
RM
32309 * sysdeps/posix/spawni.c (script_execute): Always define it.
32310 It will be optimized away if unused.
32311 (maybe_script_execute): New function.
32312 (__spawni): Call it.
32313
bc7e1c36
RM
32314 * Makerules: Don't include tls.make.
32315 (config-tls): Always set to thread.
32316 * tls.make.c: File removed.
32317
1c3b002b
MF
323182011-09-19 Mike Frysinger <vapier@gentoo.org>
32319
32320 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32321 * config.make.in (CPPFLAGS-config): New substituted variable.
32322
2840865d
UD
323232011-09-15 Ulrich Drepper <drepper@gmail.com>
32324
88738eb6
UD
32325 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32326
cbf645a6 32327 [BZ #13192]
2840865d
UD
32328 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32329 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32330
b402e91a
RM
323312011-09-15 Roland McGrath <roland@hack.frob.com>
32332
32333 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32334 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32335 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32336 (CALL_FAIL): Likewise.
32337 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32338 (CALL_FAIL): Macro removed.
32339 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32340
4c1a1f71
UD
323412011-09-15 Ulrich Drepper <drepper@gmail.com>
32342
32343 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32344 for __FINITE_MATH_ONLY__ == 1.
32345
edc121be
AS
323462011-09-15 Andreas Schwab <schwab@redhat.com>
32347
32348 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32349 __ieee754_sqrt instead of sqrt.
32350 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32351 __ieee754_sqrtf instead of sqrtf.
32352 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32353 __floorf instead of floorf.
32354 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32355 __floorf, __truncf instead of floorf, truncf.
32356
cd205654
UD
323572011-09-14 Ulrich Drepper <drepper@gmail.com>
32358
ee4d0315
UD
32359 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32360
cd205654
UD
32361 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32362 __extern_always_inline.
32363 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32364 32-bit.
32365
48b67d71
AS
323662011-09-14 Andreas Schwab <schwab@redhat.com>
32367
32368 * elf/rtld.c (dl_main): Also relocate in dependency order when
32369 doing symbol dependency testing.
32370
1ae12c75
AS
323712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
32372
32373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32374 Always define `refsym'.
32375
995a80df
AS
323762011-09-13 Andreas Schwab <schwab@redhat.com>
32377
e529793b
AS
32378 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32379 (__FD_ELT): Renamed from __FDELT.
32380 * misc/bits/select2.h (__FD_ELT): Likewise.
32381 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32382 __FD_MASK instead of __FDELT, __FDMASK.
32383 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32384 Likewise.
32385 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32386 Likewise.
32387
52d4fef8
AS
32388 * elf/Makefile (gen-ldd): Fix pattern.
32389
995a80df
AS
32390 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32391 (init_tls): Likewise.
32392
8682f8b0
UD
323932011-09-12 Ulrich Drepper <drepper@gmail.com>
32394
32395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32396
de82006d
AS
323972011-09-12 Andreas Schwab <schwab@redhat.com>
32398
a7c8e6a1
AS
32399 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32400 `struct cmsghdr *' instead of `void *'.
32401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32402 Likewise.
32403
0f31fe77
AS
324042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
32405
32406 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32407 if non-absolute.
32408 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32409 ldd_rewrite_script.
0f31fe77 32410
32b4c839
UD
324112011-09-11 Ulrich Drepper <drepper@gmail.com>
32412
83cd1420
UD
32413 * configure.in: Remove --with-tls option.
32414 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32415 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32416 out in case it is missing.
32417 * sysdeps/ia64/elf/configure.in: Likewise.
32418 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32419 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32420 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32421 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32422 * sysdeps/sh/elf/configure.in: Likewise.
32423 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32424 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32425 * sysdeps/x86_64/elf/configure.in: Likewise.
32426 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32427 * sysdeps/mach/hurd/tls.h: Likewise.
32428
633f745d
UD
32429 [BZ #13067]
32430 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32431
f318beb8
UD
32432 [BZ #13090]
32433 * configure.in: Fix use of AC_INIT.
32434
32b4c839
UD
32435 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32436
3ce1f295
UD
324372011-09-10 Ulrich Drepper <drepper@gmail.com>
32438
bb016596
UD
32439 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32440 __set_errno.
8e58439c
UD
32441 * malloc/hooks.c: Likewise.
32442
aebae053 32443 [BZ #11929]
02d46fc4
UD
32444 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
32445 variables statically.
32446 (narenas): Initialize.
32447 (list_lock): Initialize.
bb016596
UD
32448 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
32449 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
32450 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32451 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
32452 Add initializers to main_arena and mp_.
32453 (malloc_state): Remove pagesize member. Change all users to use
32454 GLRO(dl_pagesize).
32455
32456 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32457 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
32458 is always initialized.
32459
22a89187
UD
32460 * malloc/malloc.c: Removed unused configurations and dead code.
32461 * malloc/arena.c: Likewise.
32462 * malloc/hooks.c: Likewise.
02d46fc4 32463 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 32464
d063d164
UD
32465 * include/tls.h: Removed. USE___THREAD must always be defined.
32466 * bits/libc-tsd.h: Don't handle !USE___THREAD.
32467 * elf/dl-libc.c: Likewise.
32468 * elf/dl-tsd.c: Likewise.
32469 * include/errno.h: Likewise.
32470 * include/netdb.h: Likewise.
32471 * include/resolv.h: Likewise.
32472 * inet/herrno-loc.c: Likewise.
32473 * inet/herrno.c: Likewise.
32474 * malloc/arena.c: Likewise.
32475 * malloc/hooks.c: Likewise.
32476 * malloc/malloc.c: Likewise.
32477 * resolv/res-state.c: Likewise.
32478 * resolv/res_libc.c: Likewise.
32479 * sysdeps/i386/dl-machine.h: Likewise.
32480 * sysdeps/ia64/dl-machine.h: Likewise.
32481 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32482 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32483 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32484 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32485 * sysdeps/sh/dl-machine.h: Likewise.
32486 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32487 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32488 * sysdeps/unix/i386/sysdep.S: Likewise.
32489 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32490 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32491 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32493 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32495 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32497 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32499 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32500 * sysdeps/x86_64/dl-machine.h: Likewise.
32501 * tls.make.c: Likewise.
32502
3ce1f295
UD
32503 * configure.in: Remove --with-__thread option. Make tests for
32504 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32505 tls_model attribute fail if no support is available. Remove
32506 USE_IN_LIBIO.
32507 * Makeconfig: Adjust for dropped configure option. All features are
32508 now mandatory.
32509 * Makerules: Likewise.
32510 * Versions.def: Likewise.
32511 * argp/argp-fmtstream.c: Likewise.
32512 * argp/argp-fmtstream.h: Likewise.
32513 * argp/argp-help.c: Likewise.
32514 * assert/assert.c: Likewise.
32515 * config.h.in: Likewise.
32516 * config.make.in: Likewise.
32517 * configure: Likewise.
32518 * configure.in: Likewise.
32519 * csu/Versions: Likewise.
32520 * csu/init.c: Likewise.
32521 * elf/tst-audit2.c: Likewise.
32522 * elf/tst-tls10.c: Likewise.
32523 * elf/tst-tls10.h: Likewise.
32524 * elf/tst-tls11.c: Likewise.
32525 * elf/tst-tls12.c: Likewise.
32526 * elf/tst-tls14.c: Likewise.
32527 * elf/tst-tlsmod11.c: Likewise.
32528 * elf/tst-tlsmod12.c: Likewise.
32529 * elf/tst-tlsmod13.c: Likewise.
32530 * elf/tst-tlsmod13a.c: Likewise.
32531 * elf/tst-tlsmod14a.c: Likewise.
32532 * elf/tst-tlsmod15b.c: Likewise.
32533 * elf/tst-tlsmod16a.c: Likewise.
32534 * elf/tst-tlsmod16b.c: Likewise.
32535 * elf/tst-tlsmod7.c: Likewise.
32536 * elf/tst-tlsmod8.c: Likewise.
32537 * elf/tst-tlsmod9.c: Likewise.
32538 * gmon/gmon.c: Likewise.
32539 * grp/fgetgrent_r.c: Likewise.
32540 * grp/putgrent.c: Likewise.
32541 * hurd/fopenport.c: Likewise.
32542 * include/libc-symbols.h: Likewise.
32543 * include/tls.h: Likewise.
32544 * intl/gettextP.h: Likewise.
32545 * intl/loadinfo.h: Likewise.
32546 * locale/global-locale.c: Likewise.
32547 * locale/localeinfo.h: Likewise.
32548 * mach/devstream.c: Likewise.
32549 * malloc/arena.c: Likewise.
32550 * malloc/set-freeres.c: Likewise.
32551 * misc/err.c: Likewise.
32552 * misc/getttyent.c: Likewise.
32553 * misc/mntent_r.c: Likewise.
32554 * posix/getopt.c: Likewise.
32555 * posix/wordexp.c: Likewise.
32556 * pwd/fgetpwent_r.c: Likewise.
32557 * resolv/Versions: Likewise.
32558 * resolv/res_hconf.c: Likewise.
32559 * shadow/fgetspent_r.c: Likewise.
32560 * shadow/putspent.c: Likewise.
32561 * stdio-common/printf_fphex.c: Likewise.
32562 * stdio-common/tmpfile.c: Likewise.
32563 * stdlib/abort.c: Likewise.
32564 * stdlib/fmtmsg.c: Likewise.
32565 * sunrpc/auth_unix.c: Likewise.
32566 * sunrpc/clnt_perr.c: Likewise.
32567 * sunrpc/clnt_tcp.c: Likewise.
32568 * sunrpc/clnt_udp.c: Likewise.
32569 * sunrpc/clnt_unix.c: Likewise.
32570 * sunrpc/openchild.c: Likewise.
32571 * sunrpc/svc_simple.c: Likewise.
32572 * sunrpc/svc_tcp.c: Likewise.
32573 * sunrpc/svc_udp.c: Likewise.
32574 * sunrpc/svc_unix.c: Likewise.
32575 * sunrpc/xdr.c: Likewise.
32576 * sunrpc/xdr_array.c: Likewise.
32577 * sunrpc/xdr_rec.c: Likewise.
32578 * sunrpc/xdr_ref.c: Likewise.
32579 * sunrpc/xdr_stdio.c: Likewise.
32580
1248c1c4
PB
325812011-09-09 Ulrich Drepper <drepper@gmail.com>
32582
32583 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32584
325852011-07-03 Andreas Jaeger <aj@suse.de>
32586
32587 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32588 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32589 regenerate with gen-libm-tests.pl.
32590
325912010-05-12 Petr Baudis <pasky@suse.cz>
32592
32593 [BZ #11589]
32594 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32595 around j0() zero points by switching to j1().
32596 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32597 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32599 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32600
f22e1074
UD
326012011-09-09 Ulrich Drepper <drepper@gmail.com>
32602
f19009c1
UD
32603 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32604 instead of 0.
32605 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32606 instead of 0.
f19009c1
UD
32607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32608 Patch in part by Pavel Roskin <proski@gnu.org>.
32609
3f8cc204
UD
32610 [BZ #13138]
32611 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32612 realloc.
32613 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32614 Free memory block if necessary.
32615
f22e1074
UD
32616 [BZ #12847]
32617 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32618 be NULL. Don't lock in this case.
32619
0a2349f9
RM
326202011-09-09 Roland McGrath <roland@hack.frob.com>
32621
32622 * elf/elf.h (ELFOSABI_GNU): New macro.
32623 (ELFOSABI_LINUX): Define to that.
32624
f3cdd467
DZ
326252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32626
32627 * string/strncat.c (strncat): Undef the symbol in case it has been
32628 defined in bits/string.h.
32629
74718d13
UD
326302011-09-09 Ulrich Drepper <drepper@gmail.com>
32631
633e9e0f
UD
32632 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32633
0a2349f9 32634 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32635 link map.
32636
f9924780
AJ
326372011-08-17 Andreas Jaeger <aj@suse.de>
32638
32639 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32640
7f5517aa
PP
326412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32642 Ian Lance Taylor <iant@google.com>
32643
32644 * math/libm-test.inc (lround_test): New testcase.
32645 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32646
762011fe
UD
326472011-09-08 Ulrich Drepper <drepper@gmail.com>
32648
92963737
UD
32649 * Makefile: Remove support for automatic cvs check-ins.
32650 * Makerules: Likewise.
32651 * config.make.in: Likewise.
32652 * configure.in: Likewise.
32653 * intl/Makefile: Likewise.
32654 * locale/Makefile: Likewise.
32655 * po/Makefile: Likewise.
32656 * posix/Makefile: Likewise.
32657 * sysdeps/gnu/Makefile: Likewise.
32658 * sysdeps/mach/hurd/Makefile: Likewise.
32659 * sysdeps/sparc/sparc32/Makefile: Likewise.
32660
b0727fd8
JS
32661 [BZ #13118]
32662 * posix/Makefile (bug-regex32-ENV): Define.
32663 Patch by John Stanley <jpsinthemix@verizon.net>.
32664
a0f33f99
UD
32665 * misc/Makefile (headers): Add bits/select2.h.
32666 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32667 * misc/bits/select2.h: New file.
32668 * include/bits/select2.h: New file.
32669 * debug/Makefile (routines): Add fdelt_chk.
32670 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32671 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32672 FD_ISSET.
32673 * debug/fdelt_chk.c: New file.
32674
762011fe
UD
32675 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32676 * wcsmbs/test-wmemcmp.c: Likewise.
32677 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32678 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32679
326802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32681
32682 * string/Makefile (strop-tests): Add memcmp.
32683 * string/test-wmemcmp.c: New file.
32684 * string/test-memcmp.c: Add wmemcmp support.
32685
7f513ec8
RM
326862011-09-08 Roland McGrath <roland@hack.frob.com>
32687
0442afb4
RM
32688 [BZ #13153]
32689 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32690 2011-07-19 change.
32691
7f513ec8
RM
32692 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32693 garbage value in a __mach_port_mod_refs call in the cases of the
32694 task-self and thread-self ports.
32695
a12b2239
ST
326962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32697
32698 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32699
610f9ab4
AS
327002011-09-08 Andreas Schwab <schwab@redhat.com>
32701
7f513ec8 32702 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32703
48882a1a
LD
327042011-09-07 Ulrich Drepper <drepper@gmail.com>
32705
b49865be
UD
32706 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32707
fdc86bc9
UD
32708 * elf/dl-libc.c (dlerror_run): Pass back error code from
32709 dl_catch_error.
32710
c966526a
UD
32711 [BZ #13123]
32712 * elf/dl-load.c (lose): Free l_origin if it is valid.
32713
48882a1a
LD
32714 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32715 names.
32716 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32717 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32718 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32719 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32720 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32721 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32722
77a2a8b4
AZ
327232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32724
32725 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32726 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32727 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32728 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32729 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32730 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32731 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32732 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32733 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32734 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32735
24f579d8
AM
327362011-08-15 Alan Modra <amodra@gmail.com>
32737
32738 [BZ #13092]
32739 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32740 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32741 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32742 ppc_mcount to static-only-routines.
32743 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32744 __mcount_internal.
32745 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32746 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32747
3d4837df
UD
327482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32749
32750 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32751 for finite and infinity parameters.
32752
22700377
WS
327532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32754
32755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32756 and add nop instructions for throughput optimization.
32757 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32758
5025581e
WS
327592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32760
32761 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32762 aligned copy for power7 with vector-scalar instructions.
32763 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32764
08a300c9
L
327652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32766
32767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32768 AVX check.
32769
59178ef9
AS
327702011-09-07 Andreas Schwab <schwab@redhat.com>
32771
32772 [BZ #13144]
32773 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32774 last change.
32775
e38ba7ab
UD
327762011-09-07 Ulrich Drepper <drepper@gmail.com>
32777
32778 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32779 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32780 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32781 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32782 clock_gettime.
32783
d53a73ac
UD
327842011-09-06 Ulrich Drepper <drepper@gmail.com>
32785
fc8bffcc
UD
32786 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32787 Forgot to demangle the pointer.
32788
ceaa0c5d
UD
32789 * sysdeps/i386/sysdep.h: Define atom_text_section.
32790 * sysdeps/x86_64/sysdep.h: Likewise.
32791 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32792 section with atom_text_section.
32793 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32794 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32795 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32796 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32797 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32798
a77d3c17
UD
32799 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32800 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32801 already be defined. Change to take two parameters and don't assign
32802 result to variable. Adjust all users.
32803 Define INTERNAL_GETTIME if not already defined.
32804 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32805 call.
32806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32807 HAVE_CLOCK_GETTIME_VSYSCALL.
32808 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32809
d53a73ac
UD
32810 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32811 gettimeofday vsyscall, just use time.
32812
a8f84144
AS
328132011-09-06 Andreas Schwab <schwab@redhat.com>
32814
32815 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32816 <errno.h>.
32817
ef606249
UD
328182011-09-06 Ulrich Drepper <drepper@gmail.com>
32819
32820 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32821 syscall on x86-64.
32822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32823 syscall.
32824 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32825 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32826 syscall if possible.
32827
6585cb60
UD
328282011-09-05 Ulrich Drepper <drepper@gmail.com>
32829
32830 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32831 e_ident. Don't pass to find_mapsXX.
32832 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32833
a5f524e4
LD
328342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32835
32836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32837 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32838 * sysdeps/x86_64/multiarch/strchr.S: Update.
32839 Check bit_slow_BSF bit.
32840 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32841 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32842 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32843
554881ef
UD
328442011-09-05 Ulrich Drepper <drepper@gmail.com>
32845
d96de963
UD
32846 [BZ #13134]
32847 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32848 before glibc 2.15.
32849 (tryshell): Define.
32850 (__spawni): Change last parameter to be flag. Test
32851 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32852 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32853 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32854 * posix/spawni.c: Likewise.
32855 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32856 * posix/spawnp.c: Likewise. Change normal version to use
32857 SPAWN_XFLAGS_USE_PATH.
32858 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32859 SPAWN_XFLAGS_TRY_SHELL.
32860
d48e5868
UD
32861 [BZ #13150]
32862 * posix/glob.h: Remove gcc 1.x support.
32863
554881ef
UD
32864 [BZ #13068]
32865 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32866
693fb948
LD
328672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32868
32869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32870 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32871 strrchr-sse2-bsf
32872 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32873 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32874 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32875 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32876 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32877 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32878
1b48c537
UD
328792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32880
49d42c37
UD
32881 * sysdeps/x86_64/wcscmp.S: New file.
32882
1b48c537
UD
32883 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32884 wcscmp-c wcscmp-sse2
32885 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32886 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32887 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32888 * wcsmbs/wcscmp.c: Allow renaming.
32889
15c95c5d
DM
328902011-09-05 David S. Miller <davem@davemloft.net>
32891
32892 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32893 stack slot, rather than the struct return pointer slot.
32894 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32895 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32897 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32898
2f0ad8f3
UD
328992011-09-05 Ulrich Drepper <drepper@gmail.com>
32900
d88ae418
UD
32901 * po/ja.po: Update from translation team.
32902
2f0ad8f3
UD
32903 [BZ #13144]
32904 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32905 kernel in 64-bit binaries.
32906
5f4318d1
DM
329072011-09-01 David S. Miller <davem@davemloft.net>
32908
32909 * elf/elf.h (HWCAP_SPARC_*): Move to..
32910 * sysdeps/sparc/sysdep.h: this new file and add new values.
32911 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32912 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32913 _DL_HWCAP_COUNT to 24.
32914 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32915 entries.
32916 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32917 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32918 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32920 instead of magic constants.
32921 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32922
3ba57516
DM
329232011-08-31 David S. Miller <davem@davemloft.net>
32924
32925 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32927 Reimplement to do errno handling inline.
32928 (SYSCALL_ERROR_HANDLER): New macro.
32929 (__SYSCALL_STRING): Do not do errno handling in asm.
32930 (__CLONE_SYSCALL_STRING): Delete.
32931 (__INTERNAL_SYSCALL_STRING): Delete.
32932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32933 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32934 (PSEUDO): Reimplement to do errno handling inline.
32935 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32936 (SYSCALL_ERROR_HANDLER): New macro.
32937 (__SYSCALL_STRING): Do not do errno handling in asm.
32938 (__CLONE_SYSCALL_STRING): Delete.
32939 (__INTERNAL_SYSCALL_STRING): Delete.
32940 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32941 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32942 i386.
32943 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32944 (inline_syscall*): Add 'err' argument.
32945 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32946 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32947 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32948 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32949
32950 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32951 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32952
2bc17433
AS
329532011-08-30 Andreas Schwab <schwab@redhat.com>
32954
32955 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32956
fbeb5f4d
JO
329572011-08-29 Jiri Olsa <jolsa@redhat.com>
32958
32959 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32960 directive.
32961
ad69cc26
DM
329622011-08-24 David S. Miller <davem@davemloft.net>
32963
32964 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32965
39dd69df
AS
329662011-08-24 Andreas Schwab <schwab@redhat.com>
32967
32968 * elf/Makefile: Add rules to build and run unload8 test.
32969 * elf/unload8.c: New file.
32970 * elf/unload8mod1.c: New file.
32971 * elf/unload8mod1x.c: New file.
32972 * elf/unload8mod2.c: New file.
32973 * elf/unload8mod3.c: New file.
32974
32975 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32976 it wasn't used.
32977
2c0b250a
DM
329782011-08-23 David S. Miller <davem@davemloft.net>
32979
32980 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32981 subtract stack bias.
32982 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32983 %sp not %fp in calculations.
32984 (_JMPBUF_UNWINDS_ADJ): Likewise.
32985
22044b48
DM
32986 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32987 (aio_suspend): Call it to force an exception region around the
32988 AIO_MISC_WAIT() invocation.
32989
2cae4995
AS
329902011-08-23 Andreas Schwab <schwab@redhat.com>
32991
32992 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32993 backslash.
32994
873a772e
AJ
329952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32996
32997 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32998 protection macro.
32999 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33000 and <dl-machine.h>.
33001 (Elf64_FuncDesc): Remove.
33002
25ad0df1
DM
330032011-08-22 David S. Miller <davem@davemloft.net>
33004
33005 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33006 sigaltstack check, add missing cfi directives.
33007 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33008 missing cfi directives, and sigaltstack handling.
33009
e888bcbe
AS
330102011-08-16 Andreas Schwab <schwab@redhat.com>
33011
33012 [BZ #11724]
33013 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33014 object is seen twice.
33015 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33016
33017 * elf/Makefile (distribute): Add tst-initorder2.c.
33018 (tests): Add tst-initorder2.
33019 (modules-names): Add tst-initorder2a tst-initorder2b
33020 tst-initorder2c tst-initorder2d. Add rules to build them.
33021 ($(objpfx)tst-initorder2.out): New rule.
33022 * elf/tst-initorder2.c: New file.
33023 * elf/tst-initorder2.exp: New file.
33024
87162f46
AS
330252011-08-22 Andreas Schwab <schwab@redhat.com>
33026
70538b7f
AS
33027 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33028
f55ffe58
AS
33029 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33030 dependencies back to end of function.
33031
87162f46
AS
33032 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33033 $(elfobjdir)/ld.so.
33034
91b392a4
UD
330352011-08-21 Ulrich Drepper <drepper@gmail.com>
33036
33037 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33038 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33040 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33041 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33042 of __vdso_gettimeofday.
33043 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33044 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33045 attribute_hidden.
33046 (_libc_vdso_platform_setup): Remove initialization of
33047 __vdso_gettimeofday and __vdso_time.
33048
5c43483f
UD
330492011-08-20 Ulrich Drepper <drepper@gmail.com>
33050
775a77e7
UD
33051 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33052 and fgetc_unlocked.
33053 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33054 getc_unlocked.
89f447ed 33055
49c74ba9
UD
33056 * elf/dl-open.c (add_to_global): Report additions to the global scope
33057 for LD_DEBUG=scopes.
33058 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 33059 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 33060
5c43483f
UD
33061 [BZ #13114]
33062 * stdio-common/Makefile (tests): Add bug24.
33063 * stdio-common/bug24.c: New file.
33064
a101b025
AJ
330652011-08-19 Andreas Jaeger <aj@suse.de>
33066
33067 [BZ #13114]
33068 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33069 non-existant file when using close-on-exec mode.
33070
c88f1766
UD
330712011-08-20 Ulrich Drepper <drepper@gmail.com>
33072
0276a718
UD
33073 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33074 the very first instruction.
33075
c88f1766
UD
33076 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33077 the CFI state in the end.
33078 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33079 inclusion of dl-trampoline.h.
33080 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33081
51ccffa0
AS
330822011-08-19 Andreas Schwab <schwab@redhat.com>
33083
94d7165f
AS
33084 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33085 expectations for long double.
33086
51ccffa0
AS
33087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33088 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33089
fd708658 330902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
33091
33092 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33093 artificual limit depends upon the system page size.
33094
44f0a71e
UD
330952011-08-17 Ulrich Drepper <drepper@gmail.com>
33096
33097 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33098 * resolv/Makefile: Define CFLAGS-libresolv.
33099
8de79a24
AS
331002011-08-17 Andreas Schwab <schwab@redhat.com>
33101
33102 * nss/makedb.c (compute_tables): Make variables used in nested
33103 function static.
33104
27724598
UD
331052011-08-17 Ulrich Drepper <drepper@gmail.com>
33106
c5305d88
UD
33107 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33108 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33109 if buffer was too small.
33110
27724598
UD
33111 * elf/pldd.c (main): Attach to all threads in the process.
33112 Rewrite /proc handling to use *at functions.
33113
076fe015
UD
331142011-08-16 Ulrich Drepper <drepper@gmail.com>
33115
174baab3
UD
33116 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33117 specifies first scope to show.
33118 (dl_open_worker): Update callers. Move printing scope of new
33119 object to before the relocation.
44f0a71e 33120 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
33121 * sysdeps/generic/ldsodefs.h: Update declaration.
33122
076fe015
UD
33123 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33124 string for the scope number.
33125
a60df2c3
UD
331262011-08-14 Ulrich Drepper <drepper@gmail.com>
33127
33128 * nscd/servicescache.c (cache_addserv): Make sure written is always
33129 initialized.
33130
5e4287d1
RM
331312011-08-14 Roland McGrath <roland@hack.frob.com>
33132
85ae0589
RM
33133 * sysdeps/i386/i486/bits/atomic.h
33134 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33135 statement expression, so as to suppress "set but not used" warning.
33136 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33137
69f63097
RM
33138 * string/strncat.c (STRNCAT): Use prototype definition.
33139
675456ef
RM
33140 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33141 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33142 -Iprograms here.
33143 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33144 (localedef-modules): Add localedef.
33145 (locale-modules): Add locale.
33146
5e4287d1
RM
33147 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33148 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33149 to avoid a warning.
33150
9c96ff23
DM
331512011-08-14 David S. Miller <davem@davemloft.net>
33152
33153 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33154 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33155
f9ddf089
UD
331562011-08-13 Ulrich Drepper <drepper@gmail.com>
33157
44f0a71e 33158 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
33159 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33160 * elf/rtld.c (dl_main): Set l_name of vDSO.
33161 Call _dl_show_scope when DL_DEBUG_SCOPES.
33162 (process_dl_debug): Recognize scopes flag and also set it for all.
33163 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33164 Declare _dl_show_scope.
33165
1dc27704
UD
33166 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33167 (do_dlopen): Pass caller_dlopen to dl_open.
33168 (__libc_dlopen_mode): Initialize caller_dlopen.
33169
f9ddf089
UD
33170 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33171 of libc. Make tolower call locale-independent. Optimize a bit by
33172 using isdigit instead of isalnum.
33173 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33174
9ac533d3
UD
331752011-08-12 Ulrich Drepper <drepper@gmail.com>
33176
33177 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33178 was a dependency or dynamically loaded.
33179
89edf2e9
UD
331802011-08-11 Ulrich Drepper <drepper@gmail.com>
33181
8e999d29
UD
33182 * intl/l10nflist.c: Allow architecture-specific pop function.
33183 * sysdeps/x86_64/l10nflist.c: New file.
33184
89edf2e9
UD
33185 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33186 classification.
33187
14d96785
AS
331882011-08-10 Andreas Schwab <schwab@redhat.com>
33189
33190 * include/dirent.h: Add libc_hidden_proto for scandirat and
33191 scandirat64. Don't declare __scandirat64.
33192 * dirent/scandirat.c: Add libc_hidden_def.
33193 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33194 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33195
6761ac04
DM
331962011-08-10 David S. Miller <davem@davemloft.net>
33197
33198 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33199 enum.
33200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33202 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33203
c55fbd1e
UD
332042011-08-09 Ulrich Drepper <drepper@gmail.com>
33205
33206 * Versions.def [libc]: Add GLIBC_2.15.
33207 * dirent/Makefile (routines): Add scandirat and scandirat64.
33208 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33209 GLIBC_2.15.
33210 * dirent/dirent.h: Declare scandirat and scandirat64.
33211 * dirent/scandirat.c: New file.
33212 * dirent/scandirat64.c: New file.
33213 * sysdeps/wordsize-64/scandirat.c: New file.
33214 * sysdeps/wordsize-64/scandirat64.c: New file.
33215 * dirent/opendir.c: Define opendirat.
33216 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33217 using scandirat.
33218 * dirent/scandir64.c: Adjust for scandir.c change.
33219 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33220 __scandirat64, and __scandir_cancel_handler.
33221 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33222 additional parameter and use openat instead of open (outside of ld.so).
33223 Add new __opendir as wrapper around __opendirat.
33224 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33225 here without requiring old scandirat implementation.
33226
879165f2
UD
332272011-08-08 Ulrich Drepper <drepper@gmail.com>
33228
33229 * dirent/scandir.c (cancel_handler): Renamed to
33230 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33231 defined. Adjust users.
33232 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33233 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33234
cb7e923b
UD
332352011-08-04 Ulrich Drepper <drepper@gmail.com>
33236
16292edd
UD
33237 * string/test-string.h (IMPL): Use __STRING to expand name and then
33238 stringify it.
33239
cb7e923b
UD
33240 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33241 of cleanups.
33242
cff82933
LD
332432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33244
33245 * string/Makefile: Update.
33246 (strop-tests): Append strncat.
33247 * string/test-wcscmp.c: New file.
33248 New comprehensive test for wcscmp.
33249 * string/test-strcmp.c: Update.
33250 (WIDE): New define.
33251
9be9bfcc
AS
332522011-07-22 Andreas Schwab <schwab@redhat.com>
33253
33254 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33255 line.
33256
2e96f1c7
AS
332572011-07-26 Andreas Schwab <schwab@redhat.com>
33258
33259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33260 encoding to ACE if AI_IDN.
33261
85188888
JJ
332622011-08-01 Jakub Jelinek <jakub@redhat.com>
33263
33264 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33265 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33266
5fa16e9b
LD
332672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33268
33269 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33270 Fix overflow bug in strncat.
33271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33272
33273 * string/test-strncat.c: Update.
33274 Add new tests for checking overflow bugs.
33275
332762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33277
33278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33279 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33280 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33281 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33282 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33283 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33284 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33285 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33286 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33287
33288 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33289 (USE_AS_STRCAT): Define.
33290 Add strcat and strncat support.
33291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33292
8c1a459f
AS
332932011-07-25 Andreas Schwab <schwab@redhat.com>
33294
33295 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33296 __n bigger than INT_MAX+1.
33297 (__strncmp_g): Likewise.
33298
bba33c28
UD
332992011-07-23 Ulrich Drepper <drepper@gmail.com>
33300
798be72d
UD
33301 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33302 * libio/stido.h: Likewise.
33303
8accd4dc
UD
33304 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33305 (AF_NFC): Define.
33306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33307 (AF_NFC): Define.
33308
cbff0d96
UD
33309 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33311 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33312 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33313 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33314
9191c04a
UD
33315 [BZ #13021]
33316 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33317 installed.
33318
bba33c28
UD
33319 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33320 typo.
33321 (_dl_x86_64_save_sse): Likewise.
33322
90f139dd
UD
333232011-07-22 Ulrich Drepper <drepper@gmail.com>
33324
1aae088a
UD
33325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33326 OSXSAVE.
33327 (_dl_x86_64_save_sse): Likewise.
33328
8e2045f5
UD
33329 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33330
90f139dd
UD
33331 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33332
1d002f25
AS
333332011-07-21 Andreas Schwab <schwab@redhat.com>
33334
33335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33336 change.
33337 (_dl_x86_64_save_sse): Use correct AVX check.
33338
21137f89
UD
333392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33340
33341 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33342 bug in strncpy/strncat.
33343 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33344
a65c0b7a
UD
333452011-07-21 Ulrich Drepper <drepper@gmail.com>
33346
33347 * string/tester.c (test_strcat): Add tests for different alignments
33348 of source and destination.
33349 (test_strncat): Likewise.
33350
6986b98a
UD
333512011-07-20 Ulrich Drepper <drepper@gmail.com>
33352
90bb2039
UD
33353 [BZ #12852]
33354 * posix/glob.c (glob): Check passed in values before using them in
33355 expressions to avoid some overflows.
33356 (glob_in_dir): Likewise.
33357
5644ef54
UD
33358 [BZ #13007]
33359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33360 check for AVX enablement so that we don't crash with old kernels and
33361 new hardware.
33362 * elf/tst-audit4.c: Add same checks here.
33363 * elf/tst-audit6.c: Likewise.
33364
33365 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 33366
bfc9dc9b
AS
333672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
33368
33369 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33370
702e64bb
UD
333712011-07-20 Ulrich Drepper <drepper@gmail.com>
33372
33373 * po/cs.po: Update from translation team.
33374 * po/bg.po: Likewise.
33375
295e904f
MP
333762011-07-12 Marek Polacek <mpolacek@redhat.com>
33377
33378 * misc/sys/cdefs.h: Add support for const attribute.
33379 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33380 to gnu_dev_{major,minor,makedev} functions.
33381
3ff94596
MP
333822011-07-20 Marek Polacek <mpolacek@redhat.com>
33383
33384 * intl/dcigettext.c (get_output_charset): Add missing bracket.
33385
28b59fca
AS
333862011-07-20 Andreas Schwab <schwab@redhat.com>
33387
33388 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33389 strlen results.
33390
19df733e
AK
333912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33392
33393 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33394 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33395 register in order to avoid conflicts with the soft frame pointer
33396 being held in r11 when necessary.
33397 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33398 (INTERNAL_VSYSCALL_NCS): Likewise.
33399
c8835729
MP
334002011-07-14 Marek Polacek <mpolacek@redhat.com>
33401
33402 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33403 * elf/dl-fini.c (_dl_fini): Adjust caller.
33404 * elf/dl-close.c (_dl_close_worker): Likewise.
33405 * sysdeps/generic/ldsodefs.h: Adjust declaration.
33406
b902330c
MP
334072011-07-15 Marek Polacek <mpolacek@redhat.com>
33408
8991e135
MP
33409 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33410 "aux_cache->nlibs < 0".
33411
b902330c
MP
33412 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33413 in the reload-count case.
33414
99710781
LD
334152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33416
33417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33418 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33419 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33420 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33421 * sysdeps/x86_64/multiarch/strcat.S: New file.
33422 * sysdeps/x86_64/multiarch/strncat.S: New file.
33423 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33424 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33425 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33426 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33427 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33428 (USE_AS_STRCAT): Define.
33429 Add strcat and strncat support.
33430 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33431 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33432 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33433 * string/strncat.c: Update.
33434 (USE_AS_STRNCAT): Define.
33435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33436 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33437 and i7.
33438 * sysdeps/x86_64/multiarch/init-arch.h
33439 (bit_Prefer_PMINUB_for_stringop): New.
33440 (index_Prefer_PMINUB_for_stringop): Likewise.
33441 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33442 bit_Prefer_PMINUB_for_stringop.
33443
7dc6bd90
UD
334442011-07-19 Ulrich Drepper <drepper@gmail.com>
33445
33446 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33447 buffer64.
33448 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33449 of casting of buffer.
33450 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33451 buffer32 and buffer64.
33452 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33453 writes instead of casting of buffer.
33454 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33455 buffer32.
33456 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33457 casting of buffer.
33458
e0e72284
AS
334592011-07-19 Andreas Schwab <schwab@redhat.com>
33460
33461 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33462
feb1eb0b
UD
334632011-07-19 Ulrich Drepper <drepper@gmail.com>
33464
33465 * nscd/nscd.c (termination_handler): Don't do anything for a database
33466 if it has not yet been initialized.
33467
298711ff
UD
334682011-07-18 Ulrich Drepper <drepper@gmail.com>
33469
33470 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33471
334722011-07-15 Marek Polacek <mpolacek@redhat.com>
33473
33474 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33475
f9d68389
UD
334762011-07-18 Ulrich Drepper <drepper@gmail.com>
33477
33478 * po/nl.po: Update from translation team.
33479 * po/sv.po: Likewise.
33480
db290cf5
RM
334812011-07-16 Roland McGrath <roland@hack.frob.com>
33482
33483 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33484 now disallowed by GCC.
5c550700 33485
fd5e21c7
RM
33486 * configure.in (use-default-link): Default to yes if a test -shared
33487 link meets our qualifications.
33488 * configure: Regenerated.
33489
5c550700
RM
33490 * config.make.in (output-format): New variable.
33491 * configure.in: Check for ld --print-output-format support.
33492 * configure: Regenerated.
33493 * Makerules ($(common-objpfx)format.lds)
33494 [$(output-format) != unknown]: Just use $(output-format),
33495 instead of the linker-script munging.
33496
9fa2c032
RM
334972011-07-14 Roland McGrath <roland@hack.frob.com>
33498
a6928d51
RM
33499 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33500 of $(common-objpfx)shlib.lds.
33501 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33502
661607b3
RM
33503 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33504 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33505
9fa2c032
RM
33506 * configure.in (-z relro check): Adjust test code to add a large
33507 writable data section after it.
33508 * configure: Regenerated.
33509
defe9061
RM
335102011-07-11 Roland McGrath <roland@hack.frob.com>
33511
33512 * configure.in (-z relro check): Fix test code to make the variable
33513 truly const.
33514 * configure: Regenerated.
33515
319b9ad4
UD
335162011-07-11 Ulrich Drepper <drepper@gmail.com>
33517
33518 * nscd/nscd.h (struct traced_file): Define.
33519 (struct database_dyn): Remove inotify_descr, reset_res, and filename
33520 elements. Add traced_files.
33521 (inotify_fd): Declare.
33522 (register_traced_file): Declare.
33523 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33524 (inotify_fd): Export.
33525 (resolv_conf_descr): Remove.
33526 (nscd_init): Move inotify descriptor creation to main.
33527 Don't register files for notification here.
33528 (register_traced_file): New function.
33529 (invalidate_cache): Don't use reset_res to determine whether to call
33530 res_init, go through the list of registered files.
33531 (main_loop_poll): The inotify descriptors are now stored in the
33532 structures for the traced files.
33533 (main_loop_epoll): Likewise
33534 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
33535 to __nss_disable_nscd.
33536 * nscd/cache.c (prune_cache): There is no single inotify descriptor
33537 for a database anymore. Check the records for all the registered
33538 files instead.
33539 * nss/Makefile (libnss_files-routines): Add files-init.
33540 (libnss_db-routines): Add db-init.
33541 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33542 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33543 * nss/nss_db/db-init.c: New file.
33544 * nss/nss_files/files-init.c: New file.
33545 * nss/nsswitch.c (nss_load_library): New function. Broken out of
33546 __nss_lookup_function.
33547 (__nss_lookup_function): Call nss_load_library.
33548 (nss_load_all_libraries): New function.
33549 (__nss_disable_nscd): Take parameter with callback function for files
33550 to register. Set is_nscd. Load all the DSOs for the NSS modules
33551 used for the cached services.
33552 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33553 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33554 options for features to all the files in nscd.
33555
33556 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33557
23bee3e8
RM
335582011-07-10 Roland McGrath <roland@hack.frob.com>
33559
33560 * csu/elf-init.c (__libc_csu_init): Comment typo.
33561
46a5b7f0
UD
335622011-07-09 Ulrich Drepper <drepper@gmail.com>
33563
33564 * po/pl.po: Update from translation team.
33565 * po/ja.po: Likewise.
33566 * po/ru.po: Likewise.
33567 * po/ko.po: Likewise.
33568 * po/fr.po: Likewise.
33569
d30cf5bb
RM
335702011-07-09 Roland McGrath <roland@hack.frob.com>
33571
113ddea4
RM
33572 * configure.in (.ctors/.dtors header and trailer check):
33573 Use an empirical test on a built program.
33574 * configure: Regenerated.
33575
574920b4
RM
33576 * configure.in (-z relro check): Use an empirical test on a built DSO.
33577 Detect, but do not require, on ia64.
33578 * configure: Regenerated.
33579
d30cf5bb
RM
33580 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33581 Update tests that use readelf to use $READELF instead.
33582 * configure: Regenerated.
33583
8538fdb3
UD
335842011-07-08 Ulrich Drepper <drepper@gmail.com>
33585
33586 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33587 if the result is not used.
33588
04d08991
AJ
335892011-07-05 Andreas Jaeger <aj@suse.de>
33590
33591 [BZ#9696]
33592 * stdlib/tst-strtod.c: Add testcase.
33593
de283087
AD
335942011-07-07 Ulrich Drepper <drepper@gmail.com>
33595
4e5f31c8 33596 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33597 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33598 The latter has a higher limit. Take additional parameter to pass to
33599 the new function.
33600 (__pathconf): Pass file to __statfs_link_max.
33601 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33602 __statfs_link_max.
33603 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33604 __statfs_link_max.
33605
de283087
AD
33606 [BZ #12868]
33607 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33608 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33609 Handle Lustre.
33610 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33611 (__statfs_filesize_max): Likewise.
33612 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33613
c75fa153
AJ
336142011-07-05 Andreas Jaeger <aj@suse.de>
33615
33616 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33617
1a544854
UD
336182011-07-06 Marek Polacek <mpolacek@redhat.com>
33619
33620 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33621 `status' variable.
33622 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33623 Likewise.
33624
6f0eec67
UD
336252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33626
33627 * Makefile (strop-tests): Add strncat.
33628 * string/test-strncat.c: New file.
33629
aae30307
UD
336302011-06-30 Marek Polacek <mpolacek@redhat.com>
33631
33632 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33633
c0cfb5eb
UD
336342011-06-21 Andreas Jaeger <aj@suse.de>
33635
33636 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33637 Copy rule from iconvdata/Makefile.
33638
01636b21
UD
336392011-07-06 Ulrich Drepper <drepper@gmail.com>
33640
33641 [BZ #12922]
33642 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33643 but no long options are defined, just return 'W'.
33644
9895c8bc
UD
336452011-06-22 Marek Polacek <mpolacek@redhat.com>
33646
33647 [BZ #9696]
33648 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33649
5d4cf042
UD
336502011-07-06 Ulrich Drepper <drepper@gmail.com>
33651
33652 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33653 netgroups to read.
960e5535 33654 (innetgr): Likewise.
5d4cf042 33655
751eb97e
RM
336562011-07-05 Roland McGrath <roland@hack.frob.com>
33657
33658 * config.make.in (install_root): Default to $(DESTDIR).
33659
f15f1e45
UD
336602011-07-05 Ulrich Drepper <drepper@gmail.com>
33661
33662 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33663
4e34ac6a
RM
336642011-07-02 Roland McGrath <roland@hack.frob.com>
33665
5e9b6af4
RM
33666 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33667
84f9ea0f
RM
33668 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33669 containing directory rather than embedding absolute directory names.
33670
ea5ee9f7
RM
33671 * scripts/check-local-headers.sh: Rewritten using awk.
33672 Match by word, not by line. Print error messages for matches.
33673 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33674
1b74661a
RM
33675 * Makerules [shlib-lds-flags empty]:
33676 ($(common-objpfx)libc_pic.opts): New target.
33677 ($(common-objpfx)libc_pic.os.clean): New target.
33678 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33679
33680 * config.make.in (OBJCOPY): New variable.
33681 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33682 * configure: Regenerated.
33683
f781ef40
RM
33684 * config.make.in (use-default-link): New variable.
33685 * configure.in (use_default_link): Grok --with-default-link to set it.
33686 * configure: Regenerated.
33687 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33688 (shlib-lds, shlib-lds-flags): Define to empty.
33689
2d4fa81e
RM
33690 * Makerules (shlib-lds): New variable.
33691 (shlib-lds-flags): New variable.
33692 (build-shlib, build-moduile, build-module-asneeded): Use it.
33693 ($(common-objpfx)libc.so): Use $(shlib-lds).
33694 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33695 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33696
31fffa6b
RM
33697 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33698 DT_FLAGS/DT_FLAGS_1 with zero flags.
33699
4e34ac6a
RM
33700 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33701 linker script munging.
33702
fcfc776b
UD
337032011-07-02 Ulrich Drepper <drepper@gmail.com>
33704
33705 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33706 as 128-bit value.
33707 * crypt/sha512.c (sha512_process_block): Perform total addition using
33708 128-bit if possible.
33709 (__sha512_finish_ctx): Likewise.
33710 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33711 as 64-bit value.
33712 * crypt/sha256.c (SWAP64): Define.
33713 (sha256_process_block): Perform total addition using 64-bit if
33714 possible.
33715 (__sha256_finish_ctx): Likewise.
33716
99231d9a
UD
337172011-07-01 Ulrich Drepper <drepper@gmail.com>
33718
33719 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33720 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33721 * nscd/hstcache.c (cache_addhst): Likewise.
33722 * nscd/grpcache.c (cache_addgr): Likewise.
33723 * nscd/aicache.c (addhstaiX): Likewise
33724 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33725
445b4a53
TK
337262011-07-01 Thorsten Kukuk <kukuk@suse.de>
33727
33728 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33729 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33730 * nscd/hstcache.c (cache_addhst): Likewise.
33731 * nscd/grpcache.c (cache_addgr): Likewise.
33732 * nscd/aicache.c (addhstaiX): Likewise
33733
6d4d8e8e
AS
337342011-07-01 Andreas Schwab <schwab@redhat.com>
33735
33736 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33737 domain only when needed.
33738
89f654c5
AS
337392011-06-30 Andreas Schwab <schwab@redhat.com>
33740
33741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33742 is always restored.
33743
cf3b23ff
UD
337442011-06-29 Ulrich Drepper <drepper@gmail.com>
33745
33746 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33747 are re-adding the entry.
33748 * nscd/servicescache.c (cache_addserv): Likewise.
33749
751626f9
AJ
337502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33751
33752 * sysdeps/generic/dl-irel.h: fix protection against multiple
33753 inclusions.
33754 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33755
9113ea1f
UD
337562011-06-28 Ulrich Drepper <drepper@gmail.com>
33757
5c0b8d90
UD
33758 [BZ #12935]
33759 * malloc/memusage.sh: Fix quoting in message.
33760 * debug/xtrace.sh: Likewise.
33761
9113ea1f
UD
33762 * configure.in: Remove support for --experimental-malloc option, make
33763 it the default.
33764 * config.make.in: Likewise.
33765 * malloc/Makefile: Likewise.
33766
a4172181
AS
337672011-06-27 Andreas Schwab <schwab@redhat.com>
33768
33769 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33770 two-byte characters.
33771
78a7eee7
RM
337722011-06-27 Roland McGrath <roland@hack.frob.com>
33773
62bede13
RM
33774 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33775 AC_CACHE_CHECK invocation.
33776 * configure: Regenerated.
33777
78a7eee7
RM
33778 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33779
5ce33a62
UD
337802011-06-27 Ulrich Drepper <drepper@gmail.com>
33781
034807a9
UD
33782 [BZ #12350]
33783 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33784 bit from old_res_options.
33785
4902da17
UD
33786 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33787
5ce33a62
UD
33788 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33789 value type for setfct.
33790
c2344f56
L
337912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33792
33793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33794 __gettimeofday instead of gettimeofday.
33795
68468076
UD
337962011-06-26 Ulrich Drepper <drepper@gmail.com>
33797
33798 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33799
acb0d739
L
338002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33801
33802 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33803
33804 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33805 info.
33806
8912479f
L
338072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33808
33809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33810 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33811 strcpy-sse2-unaligned strncpy-sse2-unaligned
33812 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33813 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33814 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33815 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33816 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33817 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33818 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33819 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33820 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33821 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33822 (STRCPY): Support SSE2 and SSSE3 versions.
33823
d5495a11
UD
338242011-06-24 Ulrich Drepper <drepper@gmail.com>
33825
33826 [BZ #12874]
33827 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33828 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33829 kernels which artificially limit size of requests.
33830
0b1cbaae
L
338312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33832
33833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33834 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33835 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33836 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33837 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33838 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33839 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33840 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33841 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33842 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33843 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33844 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33845 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33846 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33847 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33849 Enable unaligned load optimization for Intel Core i3, i5 and i7
33850 processors.
33851 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33852 Define.
33853 (index_Fast_Unaligned_Load): Define.
33854 (HAS_FAST_UNALIGNED_LOAD): Define.
33855
07f494a0
MP
338562011-06-23 Marek Polacek <mpolacek@redhat.com>
33857
33858 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33859
fa3fc0fe
UD
338602011-06-22 Ulrich Drepper <drepper@gmail.com>
33861
33862 [BZ #12907]
33863 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33864 until it is clear that the information is realy needed.
33865 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33866
e12df166
AS
338672011-06-22 Andreas Schwab <schwab@redhat.com>
33868
33869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33870
852eb34d
UD
338712011-06-22 Ulrich Drepper <drepper@gmail.com>
33872
84e2a551
UD
33873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33874 /sys/devices/system/cpu/online if it is usable.
33875
852eb34d
UD
33876 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33877 reading the information from the /proc filesystem to once a second.
33878
6e502e19
UD
338792011-06-21 Andreas Jaeger <aj@suse.de>
33880
33881 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33882 NULL after inclusion of kernel headers.
33883
75d39ff2
UD
338842011-06-21 Ulrich Drepper <drepper@gmail.com>
33885
51f9aa6a
UD
33886 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33887 calls to internal_setent.
33888
c0244a9d
UD
33889 [BZ #12885]
33890 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33891 addresses using gethostbyname4_r ignore IPv4 addresses.
33892
c5e3c2ae
UD
33893 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33894 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33895
75d39ff2
UD
33896 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33897
42675c6f
DM
338982011-06-20 David S. Miller <davem@davemloft.net>
33899
33900 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33901 inclusions.
33902 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33903
33904 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33905 (elf_irel): Use it.
33906 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33907 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33908 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33909 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33910 * sysdeps/x86_64/dl-irel.h: Likewise.
33911
33912 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33913 * elf/dl-sym.c: Likewise.
33914
57912a71
UD
339152011-06-15 Ulrich Drepper <drepper@gmail.com>
33916
33917 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33918 need to dereference resplen2.
33919
ee22793d
AS
339202011-06-14 Andreas Schwab <schwab@redhat.com>
33921
33922 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33923
a9e836b0
UD
339242011-06-15 Ulrich Drepper <drepper@gmail.com>
33925
77fb9117
UD
33926 * Makeconfig: Define vardbdir and inst_vardbdir.
33927 * nss/Makefile: Add rules to install db-Makefile.
33928
40c1b22c
UD
33929 * nss/nss_db/db-XXX.c: Cleanup.
33930
9f2da732
UD
33931 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33932 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33933 GLIBC_PRIVATE.
33934 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33935 * nss/makedb.c: Implement -g option to specify that value strings
33936 are generated and should not be added to table iterated over for
33937 get*ent calls.
33938 * nss/nss_db/db-initgroups.c: New file.
33939
82e9a1f7
UD
33940 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33941 interface.
33942
c41af17e
UD
33943 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33944 (internal_getgrouplist): Adjust to name change.
33945 Update use_initgroups_entry if this is not the first call.
33946 * nss/databases.def: Add initgroups entry.
33947
a9e836b0
UD
33948 * nss/makedb.c (compute_tables): Check result of multiple hash table
33949 sizes to minimize maximum chain length.
33950
2666d441
UD
339512011-06-14 Ulrich Drepper <drepper@gmail.com>
33952
33953 * Versions.def: Add entry for libnss_db.
33954 * shlib-versions: Likewise.
33955 * nss/Makefile: Add rules to build libnss_db.
33956 * nss/Versions: Add libnss_db information. Organize libnss_files
33957 entries better.
33958 * nss/db-Makefile: Add gshadow support. Change rules for the new
33959 makedb progra. Some minor improvements to generate smaller files.
33960 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33961 here from...
33962 * nss/makedb.c: ...here.
33963 Improve database format to be smaller and require less memory at
33964 runtime.
33965 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33966 db anymore.
33967 * nss/nss_db/db-netgrp.c: Likewise.
33968 * nss/nss_db/db-open.c: Likewise.
33969 * nss/nss_files/flies-XXX.x: Adjust comments.
33970 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33971 * nss/nss_files/files-grp.c: Likewise.
33972 * nss/nss_files/files-hosts.c: Likewise.
33973 * nss/nss_files/files-network.c: Likewise.
33974 * nss/nss_files/files-proto.c: Likewise.
33975 * nss/nss_files/files-pwd.c: Likewise.
33976 * nss/nss_files/files-rpc.c: Likewise.
33977 * nss/nss_files/files-service.c: Likewise.
33978 * nss/nss_files/files-sgrp.c: Likewise.
33979 * nss/nss_files/files-spwd.c: Likewise.
33980 * nss/nss_db/db-alias.c: Removed.
33981 * nss/nss_db/dummy-db.h: Removed.
33982
9ee76b5a
UD
339832011-06-02 Ulrich Drepper <drepper@gmail.com>
33984
33985 * nss/makedb.c: Rewritten to not use database library.
33986 * nss/Makefile: Update to build new makedb program.
33987
c71ca1f8
AJ
339882011-06-14 Andreas Jaeger <aj@suse.de>
33989
33990 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33991 memset declaration.
33992
3154bfb8
UD
339932011-06-10 Andreas Schwab <schwab@redhat.com>
33994
33995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33996 tmpbuf.
33997
b350afab
RM
339982011-06-10 Roland McGrath <roland@hack.frob.com>
33999
decd4e50
RM
34000 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34001 * elf/Makefile ($(objpfx)ld.so): Likewise.
34002
5615eaf2
RM
34003 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34004 Don't list ld.so twice in dependencies.
34005
34006 * posix/bug-regex31.c: Include <stdlib.h>.
34007
34008 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34009
34010 * nis/nss_compat/compat-spwd.c
34011 (getspent_next_nss_netgr): Remove unused variable.
34012 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34013
34014 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34015 nonmembers" output to use the right array.
34016
34017 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34018
34019 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34020
34021 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34022 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34023 * catgets/gencat.c (read_input_file): Likewise.
34024 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34025
34026 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34027 variable definition inside #if's controlling its use.
34028
34029 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34030
34031 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34032
34033 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34034
34035 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34036 unreachable code.
34037
34038 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34039
b68e08db
RM
34040 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34041 * configure: Regenerated.
34042
b350afab
RM
34043 * Makerules: Revert last change.
34044 * elf/Makefile: Likewise.
34045
28368601
RM
340462011-06-09 Roland McGrath <roland@hack.frob.com>
34047
34048 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34049 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34050 (reloc-link): Likewise.
34051
11988f8f
UD
340522011-06-09 Ulrich Drepper <drepper@gmail.com>
34053
34054 * elf/Makefile: Add rules to build pldd.
34055 * elf/pldd.c: New file.
34056 * elf/pldd-xx.c: New file.
34057
e80fab37
UD
340582011-06-07 Ulrich Drepper <drepper@gmail.com>
34059
34060 * version.h: Update for 2.15 development version.
34061
9b849836
DM
340622011-06-07 David S. Miller <davem@davemloft.net>
34063
34064 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34065 ifuncs.
34066 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34067 elf_machine_lazy_rel): Likewise.
34068 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34069 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34070 elf_machine_lazy_rel): Likewise.
34071 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34072 dl_hwcap via passed in argument.
34073 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34074 Likewise.
34075
5a31b283
AK
340762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34077
34078 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34079
069e52f8
RM
340802011-06-06 Roland McGrath <roland@hack.frob.com>
34081
34082 [BZ #12849]
34083 * manual/fdl-1.1.texi: New file, verbatim from:
34084 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34085 * manual/lgpl-2.1.texi: New file, verbatim from:
34086 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34087 * manual/Makefile (licenses): New variable, list those new file names.
34088 (texis): Use it.
34089 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34090
34091 * manual/fdl.texi: File removed.
34092 * manual/lesser.texi: File removed.
34093 * manual/libc.texinfo (Copying, Documentation License):
34094 Use new @include file names, put @appendix directive before @include.
34095
f16846a5
JJ
340962011-06-04 Jakub Jelinek <jakub@redhat.com>
34097
34098 [BZ #12841]
34099 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34100 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34101 (mq_open): Add __NTH.
34102
3d29045b
L
341032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34104
34105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34106 Assume Intel Core i3/i5/i7 processor if AVX is available.
34107
8c297311
UD
341082011-05-31 Ulrich Drepper <drepper@gmail.com>
34109
34110 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34111 typo.
34112
c8fc0c91
UD
341132011-05-31 Andreas Schwab <schwab@redhat.com>
34114
34115 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34116 memory. Use alloca_account. Fix memory leak when retrying.
34117
5b27a807
UD
341182011-05-31 Ulrich Drepper <drepper@gmail.com>
34119
356f8bc6
UD
34120 * version.h (RELEASE): Bump for 2.14 release.
34121 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34122
5b27a807
UD
34123 * config.make.in (RANLIB): Remove entry.
34124
01f16ab0
UD
341252011-05-30 Ulrich Drepper <drepper@gmail.com>
34126
41fce8bd
UD
34127 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34128 (libc.pot): Work around missing support for .ksh extension in xgettext.
34129
4769ae77
UD
34130 [BZ #12684]
34131 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34132 if both request failed.
34133 (send_dg): In case of server errors clear resplen or *resplen2.
34134
6b1e7d19
UD
34135 [BZ #12454]
34136 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34137 when there are multiple maps.
34138 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34139 (_dl_fini): Remove test here.
34140
01f16ab0
UD
34141 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34142
b1ebd700
UD
341432011-05-29 Ulrich Drepper <drepper@gmail.com>
34144
7ae22829
UD
34145 [BZ #12350]
34146 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34147 bit from old_res_options.
34148 (gaih_inet): Likewise.
34149
553149f6 34150 [BZ #11099]
18a84741 34151 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
34152 as signed.
34153
652ffab1
UD
34154 * resolv/res_init.c (res_setoptions): Make the code more compact.
34155
16985fd0
UD
34156 [BZ #11558]
34157 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34158 set RES_USEVC.
34159
0464f746
UD
34160 [BZ #11634]
34161 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34162
7d17596c
UD
34163 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34164
cf6bbbd7
UD
34165 [BZ #11781]
34166 * malloc/malloc.h: Declare malloc hook variables as volatile.
34167
13f1ab36
UD
34168 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34169 in last patch.
34170
b1ebd700
UD
34171 [BZ #11799]
34172 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 34173 raise in the comment.
80e2212d
UD
34174 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34175 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34176 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 34177
ce67228d
UD
341782011-05-28 Ulrich Drepper <drepper@gmail.com>
34179
8887a920
UD
34180 [BZ #12811]
34181 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34182 grow the buffers more if it already has to be sufficient.
34183 (build_wcs_upper_buffer): Likewise.
34184 * posix/regexec.c (check_matching): Likewise.
34185 (clean_state_log_if_needed): Likewise.
34186 (extend_buffers): Don't enlarge buffers beyond size of the input
34187 buffer.
34188 Patches mostly by Emil Wojak <emil@wojak.eu>.
34189 * posix/bug-regex32.c: New file.
34190 * posix/Makefile (tests): Add bug-regex32.
34191
4f031072
UD
34192 * locale/findlocale.c (_nl_find_locale): Return right away if
34193 _nl_explode_name failed.
34194 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34195
d0478f0c
UD
34196 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34197
de81b246
UD
34198 * debug/xtrace.sh: Unify messages.
34199 * malloc/memusage.sh: Likewise.
34200
c738465a
UD
34201 [BZ #12813]
34202 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34203 time symbol from vDSO. Substitute with vsyscall if not available.
34204 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34205 __vdso_time.
34206
f1f929d7
UD
34207 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34208 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34209 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34210 Add sendmmsg and internal_sendmmsg.
34211 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34212 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34213 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34214
ce67228d
UD
34215 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34216 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34218
e57420c6
UD
342192011-05-27 Ulrich Drepper <drepper@gmail.com>
34220
a8509ca5
UD
34221 [BZ #12813]
34222 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34223 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34224 available.
34225 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34226 __vdso_getcpu.
34227
e57420c6
UD
34228 [BZ #12814]
34229 * iconvdata/Makefile (tests): Add bug-iconv9.
34230 * iconvdata/bug-iconv9.c: New file.
34231
4d07db15
AS
342322011-05-27 Andreas Schwab <schwab@redhat.com>
34233
34234 [BZ #12814]
34235 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34236
ea486f69
JJ
342372011-05-25 Jakub Jelinek <jakub@redhat.com>
34238
34239 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34240 (struct user_regs_struct): Change intcs field back to cs.
34241
6f038433
UD
342422011-05-25 Ulrich Drepper <drepper@gmail.com>
34243
34244 * po/ja.po: Update from translation team.
34245
67f86a25
UD
342462011-05-23 Ulrich Drepper <drepper@gmail.com>
34247
34248 [BZ #12795]
34249 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34250 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34251
def7fbd6
AS
342522011-05-20 Andreas Schwab <schwab@redhat.com>
34253
34254 * stdlib/longlong.h: Update from GCC.
34255
f50ef8f1
AS
342562011-05-23 Andreas Schwab <schwab@redhat.com>
34257
34258 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34259 parameter name.
34260 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34261 Add parameter name.
34262 (__sysconf): Pass it down.
34263
de7ce8f1
UD
342642011-05-22 Ulrich Drepper <drepper@gmail.com>
34265
f2962a71
UD
34266 [BZ #12671]
34267 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34268 some situations.
34269 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34270 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34271 add in in __libc_use_alloca calls. Adjust callers.
34272 (glob): Use malloc in some situations.
34273
de7ce8f1
UD
34274 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34275 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34276 pltexit.
34277
aec84f53
UD
342782011-05-21 Ulrich Drepper <drepper@gmail.com>
34279
05bb4a68
UD
34280 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34281 and CLOCK_BOOTTIME_ALARM.
34282
7ea72f99
UD
34283 [BZ #12782]
34284 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34285 is returned.
34286
7e4afad5
UD
34287 * string/_strerror.c (__strerror_r): Print negative errors as signed
34288 numbers.
34289
8e211fec
UD
34290 [BZ #12777]
34291 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34292 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34293 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34294
f7d82dc9
UD
34295 * configure.in: Fix typo in redirection and correct removal of test
34296 files in two cases.
34297
cc9e536d
UD
34298 [BZ #12788]
34299 * locale/setlocale.c (new_composite_name): Fix test to check for
34300 identical name of all categories.
34301
aec84f53
UD
34302 [BZ #12792]
34303 * libio/filedoalloc.c (local_isatty): New function.
34304 (_IO_file_doallocate): Use local_isatty.
34305 * stdio-common/perror.c (perror): In case a new stream is used
34306 forward the stream error.
34307 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34308 error flag.
34309
78e64fdc
RT
343102011-05-20 Ulrich Drepper <drepper@gmail.com>
34311
34a9094f
UD
34312 [BZ #11869]
34313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34314 alloca.
34315 * include/alloca.h (extend_alloca_account): Define.
34316
78e64fdc
RT
34317 [BZ #11857]
34318 * posix/regex.h: Fix comments with documentation of user-accessible
34319 fields after compilation and describe correct free'ing of pattern
34320 after re_compile_pattern.
34321 Patch by Reuben Thomas <rrt@sc3d.org>.
34322
457bddfc
RA
343232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34324
34325 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34326 and -mno-altivec to prevent the compiler from using Altivec and/or
34327 VSX instructions when the corresponding registers are not available.
34328
a4527b51
AS
343292011-05-19 Andreas Schwab <schwab@redhat.com>
34330
34331 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34332
ed690b2f
UD
343332011-05-19 Ulrich Drepper <drepper@gmail.com>
34334
34335 * libio/freopen.c (freopen): Use __dup2, not dup2.
34336 * libio/freopen64.c (freopen64): Likewise.
34337
8db73634
L
343382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
34339
34340 [BZ #12775]
34341 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34342 * math/Makefile (tests): Add test-powl.
34343 (CFLAGS-test-powl.c): Define.
34344 * math/test-powl.c: New file.
34345
0a197a9d
L
343462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
34347
34348 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34349
ee30c380
UD
343502011-05-17 Ulrich Drepper <drepper@gmail.com>
34351
34352 [BZ #11837]
34353 * iconvdata/gb18030.c: Update to GB18020-2005.
34354
6ce75379
UD
343552011-05-16 Ulrich Drepper <drepper@gmail.com>
34356
a4b89fd8
AR
34357 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34358 RE_SYNTAX_POSIX_AWK): Update to match recent development.
34359 Patch by Aharon Robbins <arnold@skeeve.com>.
34360
ea389b12
UD
34361 [BZ #11892]
34362 * stdlib/putenv.c (putenv): Don't always create copy of the variable
34363 on the stack.
34364
68a3f91f
UD
34365 [BZ #11895]
34366 * misc/pselect.c (__pselect): Handle timeout value errors hidden
34367 through underflows.
34368
15cc7dd1
UD
34369 [BZ #12766]
34370 * misc/error.c (error_at_line): Ensure file_name and old_file_name
34371 point to strings before performing equality test for error_one_per_line
34372 mode.
34373
f3799213
UD
34374 [BZ #11697]
34375 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34376
d79a9c94
UD
34377 [BZ #11820]
34378 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34379 (struct user_fpregs_struct): Avoid __uint*_t types.
34380
56e5eb46
UD
34381 [BZ #6420]
34382 * malloc/mtrace.c (tr_where): Add additional parameter to point to
34383 symbol info. Use it instead of calling _dl_addr locally.
34384 (lock_and_info): New function.
34385 (tr_freehook): Call lock_and_info and pass symbol info as additional
34386 parameter to tr_where.
34387 (tr_mallochook): Likewise.
34388 (tr_reallochook): Likewise.
34389 (tr_memalignhook): Likewise.
34390
6ce75379
UD
34391 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
34392 used and couldn't be at all thread-safe.
34393
f8a3b5bf
UD
343942011-05-15 Ulrich Drepper <drepper@gmail.com>
34395
94b7cc37
UD
34396 * libio/freopen.c (freopen): Don't close old file descriptor
34397 before the new one is opened. Instead dup the new file descriptor
34398 to the old one after the new stream is created.
34399 * libio/freopen64.c (freopen64): Likewise.
34400 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34401 * libio/fileops.c (_IO_new_file_close_it): Handle new
34402 _IO_FLAGS2_NOCLOSE flag.
34403 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34404 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34405 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34406 _IO_FLAGS2_NOCLOSE flag.
34407 * include/unistd.h: Add hidden_proto for dup3.
34408 Define __have_dup3.
34409 * io/dup3.c: Define hidden symbol.
34410 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34411
bd25564e
UD
34412 [BZ #7101]
34413 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34414 when an incomplete long option is used.
34415 * posix/tst-getopt_long1.c: New file.
34416 * posix/Makefile (tests): Add tst-getopt_long1.
34417
c84cfef4
UD
34418 [BZ #10138]
34419 * scripts/config.guess: Update from autoconf-2.68.
34420 * scripts/config.sub: Likewise.
34421
3b85df27
UD
34422 [BZ #10157]
34423 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34424 tests into ...
34425 (has_cpuclock): ...this. New function.
34426 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34427 macro here based on has_cpuclock code.
34428
15a856b1
UD
34429 [BZ #10149]
34430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34431 First byte (not low byte) is now always NUL.
34432 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34433
05f399e6
UD
34434 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34435 Use non-cancelable interfaces.
34436
10a52685 34437 [BZ #9809]
94ecc67d
UD
34438 * locale/iso-639.def: Add entry for Sorani.
34439
f8a3b5bf
UD
34440 [BZ #11901]
34441 * include/stdlib.h: Move include protection to the right place.
34442 Define abort_msg_s. Declare __abort_msg with it.
34443 * stdlib/abort.c (__abort_msg): Adjust type.
34444 * assert/assert.c (__assert_fail_base): New function. Majority
34445 of code from __assert_fail. Allocate memory for __abort_msg with
34446 mmap.
34447 (__assert_fail): Now call __assert_fail_base.
34448 * assert/assert-perr.c: Remove bulk of implementation. Use
34449 __assert_fail_base.
34450 * include/assert.hL Declare __assert_fail_base.
34451 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34452 mmap.
34453 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34454
1af4e298
UD
344552011-05-14 Ulrich Drepper <drepper@gmail.com>
34456
f8a3b5bf 34457 [BZ #11952]
d26dfc60
MG
34458 [BZ #12453]
34459 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34460 until all modules are registered in the DTV.
34461 * elf/Makefile: Add rules to build and run tst-tls19.
34462 * elf/tst-tls19.c: New file.
34463 * elf/tst-tls19mod1.c: New file.
34464 * elf/tst-tls19mod2.c: New file.
34465 * elf/tst-tls19mod3.c: New file.
34466 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34467
2fc54d6f
UD
34468 [BZ #12083]
34469 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34470 correctly.
34471
98d76b46
UD
34472 [BZ #12601]
34473 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34474 two-byte sequence errors.
34475 * iconvdata/Makefile (tests): Add bug-iconv8.
34476 * iconvdata/bug-iconv8.c: New file.
34477
da3c19ef
UD
34478 [BZ #12626]
34479 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34480 buf2 definition.
34481
ca408c15
UD
34482 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34483
d6f67f7d
UD
34484 [BZ #12432]
34485 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34486 (dummy_getcfa): New function.
34487 (init): Get _Unwind_GetCFA address, use dummy if not found.
34488 (backtrace_helper): In recursion check, also check whether CFA changes.
34489 (__backtrace): Completely initialize arg.
34490
1af4e298 34491 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
34492 storing incomplete byte sequence in state object. Avoid testing for
34493 guaranteed too small input if we know there is enough data available.
1af4e298 34494
da62f81b
AS
344952011-05-11 Andreas Schwab <schwab@redhat.com>
34496
34497 * Makeconfig (+link-pie): Indent.
34498 * Rules (binaries-pie): Define if $(have-fpie) and
34499 $(build-shared).
34500 (binaries-shared): Also filter out $(binaries-pie).
34501 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34502 * nscd/Makefile (others-pie): Add nscd.
34503 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34504 ($(objpfx)nscd): Remove command override.
34505 * login/Makefile (others-pie): Add pt_chown.
34506 ($(objpfx)pt_chown): Remove command override.
34507 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34508 remove command overrides.
34509
fcabc0f8
UD
345102011-05-13 Ulrich Drepper <drepper@gmail.com>
34511
20030ae6
UD
34512 * libio/tst_putwc.c: Fix error messages.
34513
fcabc0f8
UD
34514 [BZ #12724]
34515 * libio/fileops.c (_IO_new_file_close_it): Always flush when
34516 currently writing and seek to current position when not.
34517 * libio/Makefile (tests): Add bug-fclose1.
34518 * libio/bug-fclose1.c: New file.
34519
320a5dc0
PB
345202011-05-12 Ulrich Drepper <drepper@gmail.com>
34521
34522 [BZ #12511]
34523 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34524 don't set DF_1_NODELETE here.
34525 (do_lookup_x): When entering new entry test for copy relocation
34526 and if necessary set DF_1_NODELETE flag.
34527 * elf/tst-unique4.cc: New file.
34528 * elf/tst-unique4.h: New file.
34529 * elf/tst-unique4lib.cc: New file.
34530 * elf/Makefile: Add rules to build and run tst-unique4.
34531 Patch by Piotr Bury <pbury@goahead.com>.
34532
22836f52
UD
345332011-05-11 Ulrich Drepper <drepper@gmail.com>
34534
f574184a
UD
34535 [BZ #12052]
34536 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34537
e1fb097f
UD
34538 [BZ #12625]
34539 * misc/mntent_r.c (addmntent): Flush the stream after the output
34540
22836f52
UD
34541 [BZ #12393]
34542 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34543 (is_trusted_path_normalize): Skip initial colon. Append slash
34544 to empty buffer. Duplicate is_trusted_path code but allow
34545 constructed patch to be prefix.
34546 (is_dst): Allow $ORIGIN followed by /.
34547 (_dl_dst_substitute): Correct clearing of check_for_trusted.
34548 Correct testing of result of is_trusted_path_normalize
34549 (decompose_rpath): Fix warning.
34550
7b3b0b2a
UD
345512011-05-10 Ulrich Drepper <drepper@gmail.com>
34552
34553 [BZ #11257]
34554 * grp/initgroups.c (internal_getgrouplist): When we found the service
34555 list through the initgroups entry in nsswitch.conf do not always
34556 continue on a successful lookup. Don't always use the
eac80ce2 34557 __nss_group_database value if it is set.
7b3b0b2a
UD
34558 * nss/nsswitch.conf (initgroups): Change action for successful db
34559 lookup to continue for compatibility.
34560
2a81eaa5
UD
345612011-05-09 Ulrich Drepper <drepper@gmail.com>
34562
be97a69e
UD
34563 [BZ #11532]
34564 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34565 and CP774 modules.
34566 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34567 and CP774 modules.
34568 * iconvdata/tst-tables.sh: Likewise.
34569 * iconvdata/cp770.c: New file.
34570 * iconvdata/cp771.c: New file.
34571 * iconvdata/cp772.c: New file.
34572 * iconvdata/cp773.c: New file.
34573 * iconvdata/cp774.c: New file.
34574 * iconvdata/testdata/CP770: New file.
34575 * iconvdata/testdata/CP770..UTF8: New file.
34576 * iconvdata/testdata/CP771: New file.
34577 * iconvdata/testdata/CP771..UTF8: New file.
34578 * iconvdata/testdata/CP772: New file.
34579 * iconvdata/testdata/CP772..UTF8: New file.
34580 * iconvdata/testdata/CP773: New file.
34581 * iconvdata/testdata/CP773..UTF8: New file.
34582 * iconvdata/testdata/CP774: New file.
34583 * iconvdata/testdata/CP774..UTF8: New file.
34584
34585 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34586 END CHARMAP line.
34587 * iconvdata/gen-8bit-gap.sh: Likewise.
34588 * iconvdata/gen-8bit.sh: Likewise.
34589
c1e9e399
UD
34590 * locale/iso-639.def: Add ary entry.
34591
24c55fb3 34592 [BZ #11258]
96b4b1b0
UD
34593 * locale/C-translit.h.in: Add U20A1 transliteration.
34594
bdc2f971
KB
34595 [BZ #12178]
34596 * locale/iso-639.def: Add wae entry.
34597 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34598
2952b117
UD
34599 [BZ #12545]
34600 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34601 for n.
34602
2a81eaa5
UD
34603 [BZ #12711]
34604 * locale/C-translit.h.in: Add entry for U20B9.
34605 Patch by pravin.d.s@gmail.com.
34606
28377d1b
UD
346072011-05-08 Ulrich Drepper <drepper@gmail.com>
34608
7fb90fb8
UD
34609 [BZ #12713]
34610 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34611 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34612 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34613 in rtld. Use *stat64.
7fb90fb8 34614 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34615 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34616 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34617 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34618 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34619 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34620 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34621 __fstatat64 macros.
7fb90fb8
UD
34622 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34623 * dirent/rewinddir.c: Add libc_hidden_def.
34624 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34625 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34626
28377d1b
UD
34627 * include/dirent.h (__alloc_dir): Add flags parameter.
34628 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34629 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34630 __alloc_dir.
34631 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34632 from fdopendir if O_CLOEXEC is already set.
34633
66bdbaa4
AM
346342011-03-15 Alan Modra <amodra@gmail.com>
34635
34636 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34637 l_tls_firstbyte_offset non-zero. Save padding offset in
34638 l_tls_firstbyte_offset for later use.
34639 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34640 freeing static tls block.
34641
95721191
JN
346422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34643
34644 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34645 where #ifdef was intended. The intent is to prevent ARG_MAX from
34646 being defined by the kernel headers.
34647
f87dfb1f
UD
346482011-05-07 Ulrich Drepper <drepper@gmail.com>
34649
34650 [BZ #12734]
34651 * resolv/resolv.h: Define RES_NOTLDQUERY.
34652 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34653 no-tld-query and set RES_NOTLDQUERY.
34654 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34655 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34656 modern BIND to search name as TLD unless forbidden.
34657
47c3cd7a
UD
346582011-05-07 Petr Baudis <pasky@suse.cz>
34659 Ulrich Drepper <drepper@gmail.com>
34660
34661 [BZ #12393]
34662 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34663 (is_trusted_path): ...to here.
c1e9ea35 34664 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34665 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34666 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34667
8a35c912
PP
346682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34669
34670 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34671 __BEGIN/__END_DECLS.
34672
acd41f47
UD
346732011-05-06 Ulrich Drepper <drepper@gmail.com>
34674
34675 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34676 NSS_STATUS_NOTFOUND if no record was found.
34677
597df647
AS
346782011-05-05 Andreas Schwab <schwab@redhat.com>
34679
34680 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34681 (headers-not-in-tirpc): Remove rpc/netdb.h
34682 * resolv/netdb.h: Revert last change.
34683
b9af1301
PP
346842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34685
34686 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34687 circular dependency between libgcc.a and libc.a.
34688
4e34d5f5
AS
346892011-05-05 Andreas Schwab <schwab@redhat.com>
34690
34691 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34692 * nis/Makefile: Don't install rpcsvc/*.
34693 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34694 instead of <rpc/types.h>.
34695 (MAXHOSTNAMELEN): Define.
34696
00ee369c
AS
346972011-05-03 Andreas Schwab <schwab@redhat.com>
34698
34699 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34700
0b592a30
MB
347012011-04-28 Maciej Babinski <mbabinski@google.com>
34702
34703 [BZ #12714]
34704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34705 gethostbyname4_r when IPv6 results are possible.
34706
6e04cbbe
UD
347072011-05-02 Ulrich Drepper <drepper@gmail.com>
34708
34709 [BZ #12723]
34710 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34711 _PC_PIPE_BUF handling.
34712
e4ecafe0
BH
347132011-04-30 Bruno Haible <bruno@clisp.org>
34714
34715 [BZ #12717]
34716 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34717 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34718 to 'int'.
34719 * inet/getnameinfo.c (getnameinfo): Likewise.
34720
125ee683
UD
347212011-04-29 Ulrich Drepper <drepper@gmail.com>
34722
34723 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34724 to groups setting in database lookup.
34725 * nss/nsswitch.conf: Add initgroups entry.
34726
b722481a
EB
347272011-04-22 Ulrich Drepper <drepper@gmail.com>
34728
34729 [BZ #12685]
34730 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34731 mode string.
34732 Patch by Eric Blake <eblake@redhat.com>.
34733
4df46dbd
L
347342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34735
34736 * sunrpc/Makefile (need-export-routines): Add svc_run.
34737 (routines): Remove svc_run.
34738 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34739 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34740 * sunrpc/svc_run.c (svc_run): Likewise.
34741 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34742
e84142d2
UD
347432011-04-21 Ulrich Drepper <drepper@gmail.com>
34744
34745 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34746 problem in reallocation in last patch.
34747
877175d8
UD
347482011-04-20 Ulrich Drepper <drepper@gmail.com>
34749
34750 * sunrpc/Makefile: Move inclusion of Rules.
34751
ab8eed78
UD
347522011-04-19 Ulrich Drepper <drepper@gmail.com>
34753
34754 * nss/nss_files/files-initgroups.c: New file.
34755 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34756 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34757 _nss_files_initgroups_dyn.
34758
e3d8f584
RS
347592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34760
34761 * elf/elf.h (R_ARM_IRELATIVE): Define.
34762
af190f45
UD
347632011-04-19 Ulrich Drepper <drepper@gmail.com>
34764
34765 * po/ru.po: Update from translation team.
34766
53cf59ef
UD
347672011-04-17 Ulrich Drepper <drepper@gmail.com>
34768
34769 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34770 dependencies.
34771
4c559bcd
MF
347722011-02-06 Mike Frysinger <vapier@gentoo.org>
34773
34774 [BZ #12653]
34775 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34776 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34777 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34778 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34779 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34780
4420675c
AS
347812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34782
34783 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34784 differing bytes.
34785 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34786 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34787 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34788
75ea32ab
UD
347892011-04-17 Ulrich Drepper <drepper@gmail.com>
34790
34791 [BZ #12420]
34792 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34793 storing it.
34794 * stdlib/bug-getcontext.c: New file.
34795 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34796
27390476
AK
347972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34798
34799 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34800 instructions into .machine "z9-109".
34801 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34802 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34803
10442705
AK
348042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34805
34806 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34807 between environment variables and auxiliary vector.
34808
7b57bfe5
UD
348092011-04-16 Ulrich Drepper <drepper@gmail.com>
34810
34811 * Makefile: Add rules to build linkobj/libc.so.
34812 * include/libc-symbols.h: Define libc_hidden_nolink.
34813 * include/rpc/auth.h: Mark functions which are to be hidden.
34814 * include/rpc/auth_des.h: Likewise.
34815 * include/rpc/auth_unix.h: Likewise.
34816 * include/rpc/clnt.h: Likewise.
34817 * include/rpc/des_crypt.h: Likewise.
34818 * include/rpc/key_prot.h: Likewise.
34819 * include/rpc/pmap_clnt.h: Likewise.
34820 * include/rpc/pmap_prot.h: Likewise.
34821 * include/rpc/pmap_rmt.h: Likewise.
34822 * include/rpc/rpc_msg.h: Likewise.
34823 * include/rpc/svc.h: Likewise.
34824 * include/rpc/svc_auth.h: Likewise.
34825 * include/rpc/xdr.h: Likewise.
34826 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34827 * nss/Makefile: Likewise.
34828 * sunrpc/Makefile: Don't install headers. Build library with normal
34829 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34830 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34831 for the compat linking library. Remove use of INTDEF/INTUSE.
34832 * sunrpc/auth_none.c: Likewise.
34833 * sunrpc/auth_unix.c: Likewise.
34834 * sunrpc/authdes_prot.c: Likewise.
34835 * sunrpc/authuxprot.c: Likewise.
34836 * sunrpc/clnt_gen.c: Likewise.
34837 * sunrpc/clnt_perr.c: Likewise.
34838 * sunrpc/clnt_raw.c: Likewise.
34839 * sunrpc/clnt_simp.c: Likewise.
34840 * sunrpc/clnt_tcp.c: Likewise.
34841 * sunrpc/clnt_udp.c: Likewise.
34842 * sunrpc/clnt_unix.c: Likewise.
34843 * sunrpc/des_crypt.c: Likewise.
34844 * sunrpc/des_soft.c: Likewise.
34845 * sunrpc/get_myaddr.c: Likewise.
34846 * sunrpc/key_call.c: Likewise.
34847 * sunrpc/key_prot.c: Likewise.
34848 * sunrpc/netname.c: Likewise.
34849 * sunrpc/pm_getmaps.c: Likewise.
34850 * sunrpc/pm_getport.c: Likewise.
34851 * sunrpc/pmap_clnt.c: Likewise.
34852 * sunrpc/pmap_prot.c: Likewise.
34853 * sunrpc/pmap_prot2.c: Likewise.
34854 * sunrpc/pmap_rmt.c: Likewise.
34855 * sunrpc/publickey.c: Likewise.
34856 * sunrpc/rpc_cmsg.c: Likewise.
34857 * sunrpc/rpc_common.c: Likewise.
34858 * sunrpc/rpc_dtable.c: Likewise.
34859 * sunrpc/rpc_prot.c: Likewise.
34860 * sunrpc/rpc_thread.c: Likewise.
34861 * sunrpc/rtime.c: Likewise.
34862 * sunrpc/svc.c: Likewise.
34863 * sunrpc/svc_auth.c: Likewise.
34864 * sunrpc/svc_authux.c: Likewise.
34865 * sunrpc/svc_raw.c: Likewise.
34866 * sunrpc/svc_run.c: Likewise.
34867 * sunrpc/svc_simple.c: Likewise.
34868 * sunrpc/svc_tcp.c: Likewise.
34869 * sunrpc/svc_udp.c: Likewise.
34870 * sunrpc/svc_unix.c: Likewise.
34871 * sunrpc/svcauth_des.c: Likewise.
34872 * sunrpc/xcrypt.c: Likewise.
34873 * sunrpc/xdr.c: Likewise.
34874 * sunrpc/xdr_array.c: Likewise.
34875 * sunrpc/xdr_float.c: Likewise.
34876 * sunrpc/xdr_intXX_t.c: Likewise.
34877 * sunrpc/xdr_mem.c: Likewise.
34878 * sunrpc/xdr_rec.c: Likewise.
34879 * sunrpc/xdr_ref.c: Likewise.
34880 * sunrpc/xdr_sizeof.c: Likewise.
34881 * sunrpc/xdr_stdio.c: Likewise.
34882
e6c61494
UD
348832011-04-10 Ulrich Drepper <drepper@gmail.com>
34884
34885 [BZ #12650]
34886 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34887 * sysdeps/ia64/dl-tls.h: Likewise.
34888 * sysdeps/powerpc/dl-tls.h: Likewise.
34889 * sysdeps/s390/dl-tls.h: Likewise.
34890 * sysdeps/sh/dl-tls.h: Likewise.
34891 * sysdeps/sparc/dl-tls.h: Likewise.
34892 * sysdeps/x86_64/dl-tls.h: Likewise.
34893 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34894
34fe483e
AS
348952011-03-14 Andreas Schwab <schwab@redhat.com>
34896
34897 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34898 rpath element also skip the following colon.
34899 (expand_dynamic_string_token): Add is_path parameter and pass
34900 down to DL_DST_REQUIRED and _dl_dst_substitute.
34901 (decompose_rpath): Call expand_dynamic_string_token with
34902 non-zero is_path. Ignore empty rpaths.
34903 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34904 with zero is_path.
34905
f12a32e6
AS
349062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34907
34908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34909 Make cancelable.
34910
38a7d692
UD
349112011-04-09 Ulrich Drepper <drepper@gmail.com>
34912
34913 [BZ #12655]
34914 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34915 Patch by Filipe David Manana <fdmanana@apache.org>.
34916
e451d22b
AS
349172011-04-07 Andreas Schwab <schwab@redhat.com>
34918
34919 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34920 Maintain aligned stack.
34921 (CHECK_RSP): Remove unused macro.
34922
dedc7c7b
UD
349232011-04-03 Ulrich Drepper <drepper@gmail.com>
34924
34925 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34926 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34927
94521213
UD
349282011-04-02 Ulrich Drepper <drepper@gmail.com>
34929
34930 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34931
8cb700c0 34932 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34933
0354e355
L
349342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34935
34936 [BZ #12518]
34937 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34938 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34939 * sysdeps/x86_64/memmove.c: New file.
34940 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34941 (memcpy): Renamed to ...
34942 (__new_memcpy): This.
34943 (memcpy): Provide GLIBC_2_14 memcpy.
34944 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34945 (memcpy): Provide GLIBC_2_2_5 memcpy.
34946
8593482f
UD
349472011-04-01 Ulrich Drepper <drepper@gmail.com>
34948
34949 [BZ #12631]
34950 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34951
81a5726b
AS
349522011-03-30 Andreas Schwab <schwab@redhat.com>
34953
34954 * misc/syncfs.c: New file.
34955 * misc/Makefile (routines): Add syncfs.
34956 * posix/unistd.h: Declare syncfs.
34957 * sysdeps/unix/syscalls.list: Add syncfs.
34958
00e5419f
AS
349592011-04-01 Andreas Schwab <schwab@redhat.com>
34960
34961 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34962 open_by_handle_at.
34963 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34964 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34966 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34968 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34970
748876bf
UD
349712011-04-01 Ulrich Drepper <drepper@gmail.com>
34972
658e451d
UD
34973 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34974 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34975 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34980
748876bf
UD
34981 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34982 sync_file_range.c with -fexceptions.
34983 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34984 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34985 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34986 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34987 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34988 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34989 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34990 sync_file_range as cancellation point
34991 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34992 now a wrapper around __call_sync_file_range with cancellation handling.
34993 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34994 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34995 function name to __call_sync_file_range.
34996 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34997 Add call_sync_file_range.
748876bf 34998
6e63d5e1
AS
349992011-04-01 Andreas Schwab <schwab@redhat.com>
35000
35001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 35002 bits/timex.h.
6e63d5e1 35003
46998f74
UD
350042011-04-01 Ulrich Drepper <drepper@gmail.com>
35005
4c1423ed
UD
35006 * iconv/iconv.h: Fix typo in comment.
35007 * io/fcntl.h: Likewise.
35008 * libio/stdio.h: Likewise.
35009 * posix/spawn.h: Likewise.
35010 * posix/unistd.h: Likewise.
35011 * stdlib/stdlib.h: Likewise.
35012 * time/time.h: Likewise.
35013 * wcsmbs/wchar.h: Likewise.
35014
158648c0
UD
35015 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35016 open_by_handle): Add.
35017 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35018 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35019 Augment a few comments.
35020 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35021 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35022 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35024 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35025 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35026 open_by_handle.
35027
46998f74
UD
35028 * io/fcntl.h (AT_EMPTY_PATH): Define.
35029
83fe108b
UD
350302011-03-30 Ulrich Drepper <drepper@gmail.com>
35031
35032 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35033 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35034 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35035 to...
35036 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
35037 * Versions.def: Add GLIBC_2.14.
35038 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35039 Export.
83fe108b 35040
bb242059
UD
350412011-03-22 Ulrich Drepper <drepper@gmail.com>
35042
35043 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35044 round counter.
35045 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35046
c97a1282
L
350472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35048
35049 [BZ #12597]
35050 * string/test-strncmp.c (do_page_test): New function.
35051 (check2): Likewise.
35052 (test_main): Call check2.
35053 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35054
2a115601
UD
350552011-03-20 Ulrich Drepper <drepper@gmail.com>
35056
35057 [BZ #12587]
35058 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35059 Handle cache information in CPU leaf 4.
35060 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35061
8126d904
UD
350622011-03-18 Ulrich Drepper <drepper@gmail.com>
35063
042c49c6 35064 [BZ #12583]
8126d904
UD
35065 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35066 character representation.
35067 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35068
ccfe366e
RA
350692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35070
35071 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35072 END(__isnan) to END(__isnanf) to match function entry point/label
35073 EALIGN(__isnanf,...).
35074
c6e13027
JJ
350752011-03-10 Jakub Jelinek <jakub@redhat.com>
35076
35077 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35078
33f85a3f
UD
350792011-03-10 Ulrich Drepper <drepper@gmail.com>
35080
028478fa
UD
35081 [BZ #12510]
35082 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35083 copy from the symbol referenced in the relocation to initialize the
35084 used variable.
35085 Patch by Piotr Bury <pbury@goahead.com>.
35086 * elf/Makefile: Add rules to build and tst-unique3.
35087 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35088 * elf/tst-unique3.cc: New file.
35089 * elf/tst-unique3.h: New file.
35090 * elf/tst-unique3lib.cc: New file.
35091 * elf/tst-unique3lib2.cc: New file.
35092
33f85a3f
UD
35093 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35094
03592fc7
MF
350952011-03-10 Mike Frysinger <vapier@gentoo.org>
35096
35097 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35098 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35099 to _start.
03592fc7 35100
6a5ee102
UD
351012011-03-06 Ulrich Drepper <drepper@gmail.com>
35102
35103 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35104 to-be-loaded object along a path to loader is ld.so.
35105
7e4ba49c
HJ
351062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35107 Ulrich Drepper <drepper@gmail.com>
35108
35109 * sysdeps/x86_64/memset.S: After aligning destination, code
35110 branches to different locations depending on the value of
35111 misalignment, when multiarch is enabled. Fix this.
35112
351132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35114
35115 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35116 Set _x86_64_preferred_memory_instruction for AMD processsors.
35117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35118 Set bit_Prefer_SSE_for_memop for AMD processors.
35119
13a804de
UD
351202011-03-04 Ulrich Drepper <drepper@gmail.com>
35121
35122 * libio/fmemopen.c (fmemopen): Optimize a bit.
35123
9d25c392
AS
351242011-03-03 Andreas Schwab <schwab@redhat.com>
35125
35126 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35127
a5543c6a
RM
351282011-03-03 Roland McGrath <roland@redhat.com>
35129
35130 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35131
012d35f7
DM
351322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35133
7e4ba49c 35134 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
35135 __bzero_ultra1 instead of __memset_ultra1.
35136
4bff6e01
AS
351372011-02-23 Andreas Schwab <schwab@redhat.com>
35138 Ulrich Drepper <drepper@gmail.com>
35139
35140 [BZ #12509]
35141 * include/link.h (struct link_map): Add l_orig_initfini.
35142 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35143 returning unsuccessfully.
35144 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35145 close of a file loaded at startup, restore the original l_initfini
35146 list.
35147 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35148 list, store the pointer.
35149 * elf/Makefile ($(objpfx)noload-mem): New rule.
35150 (noload-ENV): Define.
35151 (tests): Add $(objpfx)noload-mem.
35152 * elf/noload.c: Include <memcheck.h>.
35153 (main): Call mtrace. Close all opened handles.
35154
f2092faf
AS
351552011-02-17 Andreas Schwab <schwab@redhat.com>
35156
35157 [BZ #12454]
35158 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35159 dependencies are missing.
35160
6c8a2e88
ST
351612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35162
f2092faf 35163 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
35164 Hurd needs munmap.
35165 * sysdeps/mach/hurd/ifreq.h: New file.
35166
84a42118
PB
351672011-01-27 Petr Baudis <pasky@suse.cz>
35168 Ulrich Drepper <drepper@gmail.com>
35169
071f805e 35170 [BZ 12445]#
84a42118
PB
35171 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35172 to extend_alloca().
35173 * stdio-common/bug23.c: New file.
35174 * stdio-common/Makefile (tests): Add bug23.
35175
e23fe25b
AS
351762010-09-28 Andreas Schwab <schwab@redhat.com>
35177 Ulrich Drepper <drepper@gmail.com>
35178
35179 [BZ #12489]
35180 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35181 before performing relro protection. At old place add assertion
35182 to make sure nothing changed.
35183
d3f02e10
NS
351842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35185 Glauber de Oliveira Costa <glommer@gmail.com>
35186
35187 * elf/elf.h: Add new ARM TLS relocs.
35188
d55fd7a5
RA
351892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35190
35191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35192 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35193 cast from r3.
35194 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35195 'tests' variable.
35196 * sysdeps/wordsize-64/tst-writev.c: New file.
35197
2206397e
RA
351982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35199
35200 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35201 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35202 insns in _dl_start to prevent a TOC reference before relocs are
35203 resolved.
35204
e9433893
UD
352052011-02-15 Ulrich Drepper <drepper@gmail.com>
35206
35207 [BZ #12469]
35208 * Makeconfig: Remove RANLIB definition.
35209 * Makerules: Don't use RANLIB.
35210 * aclocal.m4: Remove ranlib test.
35211 * configure.in: No need to check for ranlib.
35212 * elf/rtld-Rules: Don't use RANLIB.
35213
f75286c6
ST
352142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35215
8e31c82d
ST
35216 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35217 protection macro.
35218 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35219 inclusion protection macro.
35220
f75286c6
ST
35221 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35222 SIGRTMIN and SIGRTMAX and print information in that case only when
35223 SIGRTMIN is defined.
35224
c1d0e639
JJ
352252011-02-11 Jakub Jelinek <jakub@redhat.com>
35226
35227 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35228 arginfo fn returning -1.
35229
35230 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35231 and thousands string is zero terminated.
35232
edf9294e
AS
352332011-02-03 Andreas Schwab <schwab@redhat.com>
35234
35235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35236 sysdeps/unix/sysv/linux/bits/socket.h.
35237
2b7e92df
ST
352382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35239
edf9294e
AS
35240 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35241 (__CPU_COUNT): Remove old macros.
35242 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35243 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35244 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
35245 (__sched_cpualloc, __sched_cpufree): Add declarations.
35246
a4c7ea7b
UD
352472011-02-05 Ulrich Drepper <drepper@gmail.com>
35248
35249 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35250 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35251 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35252 (readdhstai): Return value of addhstaiX call.
35253 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35254 (addgrbyX): Return value returned by cache_addgr.
35255 (readdgrbyname): Return value returned by addgrbyX.
35256 (readdgrbygid): Likewise.
35257 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35258 (addpwbyX): Return value returned by cache_addpw.
35259 (readdpwbyname): Return value returned by addhstbyX.
35260 (readdpwbyuid): Likewise.
35261 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35262 (addservbyX): Return value returned by cache_addserv.
35263 (readdservbyname): Return value returned by addservbyX:
35264 (readdservbyport): Likewise.
35265 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35266 (addhstbyX): Return value returned by cache_addhst.
35267 (readdhstbyname): Return value returned by addhstbyX.
35268 (readdhstbyaddr): Likewise.
35269 (readdhstbynamev6): Likewise.
35270 (readdhstbyaddrv6): Likewise.
35271 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35272 (readdinitgroups): Return value returned by addinitgroupsX.
35273 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35274 (prune_cache): Keep track of timeout value of re-added entries.
35275 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35276 * nscd/nscd.h: Adjust prototypes of readd* functions.
35277
a0bf67cc
RM
352782011-02-04 Roland McGrath <roland@redhat.com>
35279
35280 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35281 (nis_stats): Likewise.
35282 * nis/nis_modify.c (nis_modify): Likewise.
35283 * nis/nis_remove.c (nis_remove): Likewise.
35284 * nis/nis_add.c (nis_add): Likewise.
35285
35286 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35287
35288 * posix/fnmatch_loop.c: Add some consts.
35289
35290 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35291
435b95eb
L
352922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35293
35294 [BZ #12460]
35295 * config.make.in (config-cflags-novzeroupper): Define.
35296 * configure.in: Substitute libc_cv_cc_novzeroupper.
35297 * elf/Makefile (AVX-CFLAGS): Define.
35298 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35299 (CFLAGS-tst-auditmod4a.c): Likewise.
35300 (CFLAGS-tst-auditmod4b.c): Likewise.
35301 (CFLAGS-tst-auditmod6b.c): Likewise.
35302 (CFLAGS-tst-auditmod6c.c): Likewise.
35303 (CFLAGS-tst-auditmod7b.c): Likewise.
35304 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35305
8517b15e
UD
353062011-02-02 Ulrich Drepper <drepper@gmail.com>
35307
35308 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35309 function to the callback.
35310 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35311
10a656fe
AS
353122011-02-02 Andreas Schwab <schwab@redhat.com>
35313
35314 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35315 of errno.
35316
968dad0a
UD
353172011-01-19 Ulrich Drepper <drepper@gmail.com>
35318
9f94d2ea 35319 [BZ #11724]
968dad0a
UD
35320 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35321 of constructors.
35322 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35323 of destructors.
35324 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35325
35326 [BZ #11724]
35327 * elf/Makefile: Add rules to build and run new test.
35328 * elf/tst-initorder.c: New file.
35329 * elf/tst-initorder.exp: New file.
35330 * elf/tst-initordera1.c: New file.
35331 * elf/tst-initordera2.c: New file.
35332 * elf/tst-initordera3.c: New file.
35333 * elf/tst-initordera4.c: New file.
35334 * elf/tst-initorderb1.c: New file.
35335 * elf/tst-initorderb2.c: New file.
35336 * elf/tst-order-a1.c: New file.
35337 * elf/tst-order-a2.c: New file.
35338 * elf/tst-order-a3.c: New file.
35339 * elf/tst-order-a4.c: New file.
35340 * elf/tst-order-b1.c: New file.
35341 * elf/tst-order-b2.c: New file.
35342 * elf/tst-order-main.c: New file.
35343 New test case by George Gensure <werkt0@gmail.com>.
35344
86e92359
UD
353452010-10-01 Andreas Schwab <schwab@redhat.com>
35346
35347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35348 decoding ACE if AI_CANONIDN.
35349
5d5732b0
UD
353502011-01-18 Ulrich Drepper <drepper@gmail.com>
35351
35352 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35353
a77e8cbc
UD
353542011-01-17 Ulrich Drepper <drepper@gmail.com>
35355
6392473f
UD
35356 * version.h (RELEASE): Bump for 2.13 release.
35357 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35358
620a0529
UD
35359 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35360
18ba70a5
UD
35361 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35362 MADV_NOHUGEPAGE.
32465c3e
UD
35363 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35364 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35365 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35366 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35367 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35368 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35369
c0dafcf1
UD
35370 * posix/getconf.c: Update copyright year.
35371 * catgets/gencat.c: Likewise.
35372 * csu/version.c: Likewise.
35373 * debug/catchsegv.sh: Likewise.
35374 * debug/xtrace.sh: Likewise.
35375 * elf/ldconfig.c: Likewise.
35376 * elf/ldd.bash.in: Likewise.
35377 * elf/sprof.c (print_version): Likewise.
35378 * iconv/iconv_prog.c: Likewise.
35379 * iconv/iconvconfig.c: Likewise.
35380 * locale/programs/locale.c: Likewise.
35381 * locale/programs/localedef.c: Likewise.
35382 * malloc/memusage.sh: Likewise.
35383 * malloc/mtrace.pl: Likewise.
35384 * nscd/nscd.c (print_version): Likewise.
35385 * nss/getent.c: Likewise.
35386
a77e8cbc
UD
35387 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35388 PF_CAIF, and PF_ALG.
35389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35390
77e8bddf
AS
353912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
35392
1f20b93a
AS
35393 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35394 (modules-names): Use them.
35395 (ifunc-test-modules, ifunc-pie-tests): Define.
35396 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35397 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35398 (test-extras): Likewise.
35399 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35400 $(compile-command.c).
35401 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35402 (all-built-dso): Define.
35403 (check-textrel.out, check-execstack.out): Depend on it.
35404
77e8bddf
AS
35405 * configure.in: Don't override --enable-multi-arch.
35406
bc425b33
UD
354072011-01-15 Ulrich Drepper <drepper@gmail.com>
35408
35409 [BZ #6812]
35410 * nscd/hstcache.c (tryagain): Define.
35411 (cache_addhst): Return tryagain not notfound for temporary errors.
35412 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35413 failed.
35414
794c3ad3
UD
354152011-01-14 Ulrich Drepper <drepper@gmail.com>
35416
70181fdd
UD
35417 [BZ #10563]
35418 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35419 to make the syscall.
35420 * sysdeps/unix/sysv/linux/setgroups.c: New file.
35421
794c3ad3
UD
35422 [BZ #12378]
35423 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35424 and fall back to matching as normal character if the string ends before
35425 the matching ']' is found. This is what POSIX requires.
35426 * posix/testfnm.c: Adjust test result.
35427 * posix/globtest.sh: Adjust test result. Add new test.
35428 * posix/tst-fnmatch.input: Likewise.
35429 * posix/tst-fnmatch2.c: Add new test.
35430
68dc9497
AS
354312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
35432
35433 * elf/Makefile (check-execstack): Revert last change. Depend on
35434 check-execstack.h.
35435 (check-execstack.h): New target.
35436 (generated): Add check-execstack.h.
35437 * elf/check-execstack.c: Include "check-execstack.h".
35438 (main): Revert last change.
35439 (handle_file): Return zero if GNU_STACK is absent and
35440 DEFAULT_STACK_PERMS doesn't include PF_X.
35441
451f001b
UD
354422011-01-13 Ulrich Drepper <drepper@gmail.com>
35443
cfa28e56
UD
35444 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35445 in child fails because the descriptor is already closed.
8cf8ce17
UD
35446 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35447 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35448 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 35449
1086d70d
UD
35450 [BZ #12397]
35451 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35452 syscall.
35453
451f001b
UD
35454 [BZ #10484]
35455 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35456 temporary buffer used to handle multi lookups locally.
a85b5cb4 35457 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 35458
08769175
UD
354592011-01-12 Ulrich Drepper <drepper@gmail.com>
35460
35461 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35462 loader is ld.so.
35463
5e49c52e
UD
354642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
35465
35466 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35467 alignment for SSE2.
35468
60522a5f
UD
354692011-01-12 Ulrich Drepper <drepper@gmail.com>
35470
35471 [BZ #12394]
35472 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35473 characters. When rounding increased number of integer digits recompute
35474 number of groups.
35475 * stdio-common/tst-grouping.c: New file.
35476 * stdio-common/Makefile: Add rules to build and run tst-grouping.
35477
f257bbd7
UD
354782011-01-09 Ulrich Drepper <drepper@gmail.com>
35479
35480 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35481 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
35482
35483 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35484 void.
35485 * bits/select.h: Likewise.
35486
fa9c15cb
UD
354872011-01-08 Ulrich Drepper <drepper@gmail.com>
35488
35489 * po/ja.po: Update from translation team.
35490
16c2895f
DM
354912011-01-04 David S. Miller <davem@sunset.davemloft.net>
35492
35493 [BZ #11155]
35494 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35495 implementation just like for lxstat, fxstatat, et al.
35496
2543fef2
JM
354972010-12-27 Jim Meyering <meyering@redhat.com>
35498
35499 [BZ #12348]
35500 * posix/regexec.c (build_trtable): Return failure indication upon
35501 calloc failure. Otherwise, re_search_internal could infloop on OOM.
35502
98727dbe
UD
355032010-12-25 Ulrich Drepper <drepper@gmail.com>
35504
5bd6dc5c
UD
35505 [BZ #12201]
35506 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35507 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35508 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35509 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35510
97983464
UD
35511 [BZ #12207]
35512 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35513
98727dbe
UD
35514 [BZ #12204]
35515 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35516 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35517
4a531bb0
L
355182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
35519
35520 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35521 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35522 script has SORT_BY_INIT_PRIORITY.
35523 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35524 NO_CTORS_DTORS_SECTIONS is defined.
35525 * elf/soinit.c: Likewise.
35526 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35527 NO_CTORS_DTORS_SECTIONS is defined.
35528 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35529 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35530 * sysdeps/sh/init-first.c: Likewise.
35531 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35532
07eb4b71
UD
355332010-12-24 Ulrich Drepper <drepper@gmail.com>
35534
35535 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35536 always use the slow path.
35537
30950a5f
RA
355382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
35539
35540 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35541 similar rule which adds the sysdep directories to the header search in
35542 order to pick up the correct platform stackinfo.h.
35543 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35544 perform test if it is, otherwise return successfully without testing.
35545 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35546 DEFAULT_STACK_PERMS define in stackinfo.h.
35547 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35548 defined in stackinfo.h.
35549 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35550 DEFAULT_STACK_PERMS defined in stackinfo.h.
35551 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35552 * sysdeps/ia64/stackinfo.h: Likewise.
35553 * sysdeps/s390/stackinfo.h: Likewise.
35554 * sysdeps/sh/stackinfo.h: Likewise.
35555 * sysdeps/sparc/stackinfo.h: Likewise.
35556 * sysdeps/x86_64/stackinfo.h: Likewise.
35557 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35558 PF_X for powerpc64. Retain PF_X for powerpc32.
35559
db753e2c
UD
355602010-12-19 Ulrich Drepper <drepper@gmail.com>
35561
14b697f7
UD
35562 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35563 accurately.
db753e2c
UD
35564 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35565 GETDENTS_64BIT_ALIGNED.
35566
28300719
UD
355672010-12-14 Ulrich Drepper <dreper@gmail.com>
35568
14b697f7 35569 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35570
4f197237
AS
355712010-12-10 Andreas Schwab <schwab@redhat.com>
35572
dbb0472f
AS
35573 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35574 _GNU_SOURCE.
35575
4f197237
AS
35576 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35577 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35578 Remove __restrict.
35579 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35580 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35581
fb88ac72
UD
355822010-12-09 Ulrich Drepper <drepper@gmail.com>
35583
35584 [BZ #11655]
35585 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35586 are initialized.
35587
42acbb92
JJ
355882010-12-09 Jakub Jelinek <jakub@redhat.com>
35589
35590 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35591
c038d98d
UD
355922010-12-03 Ulrich Drepper <drepper@gmail.com>
35593
35594 * po/it.po: Update from translation team.
35595
3a4a2499
L
355962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35597
35598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35599 unused codes.
35600
1e24cf6e
UD
356012010-11-30 Ulrich Drepper <drepper@gmail.com>
35602
35603 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35604
a7690819
AS
356052010-11-24 Andreas Schwab <schwab@redhat.com>
35606
35607 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35608 specially.
35609 (gaih_getanswer_slice): Likewise.
35610
3bf8d1b1
JJ
356112010-10-20 Jakub Jelinek <jakub@redhat.com>
35612
35613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35614
6db52fbb
PB
356152010-05-31 Petr Baudis <pasky@suse.cz>
35616
35617 [BZ #11149]
35618 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35619 silently even in the chroot mode.
35620
eaca7569
UD
356212010-11-22 Ulrich Drepper <drepper@gmail.com>
35622
35623 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35624 last patch a bit. Pretty printing
35625
3056dcdb
UD
356262010-05-31 Petr Baudis <pasky@suse.cz>
35627
35628 [BZ #10085]
35629 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35630 initialization of skip_initgroups_dyn.
35631
cf7c9078
UD
356322010-11-19 Ulrich Drepper <drepper@gmail.com>
35633
35634 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35635 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35636
a1fb5e3e
UD
356372010-11-16 Ulrich Drepper <drepper@gmail.com>
35638
35639 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35640
3540d66b
AS
356412010-11-11 Andreas Schwab <schwab@redhat.com>
35642
35643 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35644 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35645 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35646 ($(objpfx)tst-fnmatch-mem): New rule.
35647 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35648 * posix/tst-fnmatch.c (main): Call mtrace.
35649
13b69574
L
356502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35651
35652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35653 Support Intel processor model 6 and model 0x2c.
35654
da93d214
LM
356552010-11-10 Luis Machado <luisgpm@br.ibm.com>
35656
35657 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35658 signed comparison.
35659
8ca52c6e
L
356602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35661
35662 [BZ #12205]
35663 * string/test-strncasecmp.c (check_result): New function.
35664 (do_one_test): Use it.
35665 (check1): New function.
35666 (test_main): Use it.
35667 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35668 Support strcasecmp and strncasecmp.
35669
69da074d
UD
356702010-11-08 Ulrich Drepper <drepper@gmail.com>
35671
35672 [BZ #12194]
35673 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35674 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35675
ff02d528
L
356762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35677
35678 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35679 IFUNC support.
35680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35681 memset-x86-64.
35682 * sysdeps/x86_64/multiarch/bzero.S: New file.
35683 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35684 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35685 * sysdeps/x86_64/multiarch/memset.S: New file.
35686 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35688 Set bit_Prefer_SSE_for_memop for Intel processors.
35689 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35690 Define.
35691 (index_Prefer_SSE_for_memop): Define.
35692 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35693
344d0b54
LM
356942010-11-04 Luis Machado <luisgpm@br.ibm.com>
35695
35696 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35697 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35698
c0dde15b
UD
356992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35700
35701 [BZ #12191]
35702 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35703 (__x86_64_raw_data_cache_size_half): Likewise.
35704 (__x86_64_raw_shared_cache_size): Likewise.
35705 (__x86_64_raw_shared_cache_size_half): Likewise.
35706
35707 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35708 (__x86_64_raw_data_cache_size_half): Likewise.
35709 (__x86_64_raw_shared_cache_size): Likewise.
35710 (__x86_64_raw_shared_cache_size_half): Likewise.
35711 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35712 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35713 and __x86_64_raw_shared_cache_size_half. Round
35714 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35715 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35716 to multiple of 256 bytes.
35717
0e516e0e
MS
357182010-11-03 Ulrich Drepper <drepper@gmail.com>
35719
35720 [BZ #12167]
35721 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35722 of inacessible symlinks. Verify result of symlink before returning it.
35723 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35724 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35725
0e012e87
ER
357262010-10-28 Erich Ritz <erichritz@gmail.com>
35727
35728 * math/math.h (isinf): Fix typo in comment.
35729
de0ff7bc
UD
357302010-11-01 Ulrich Drepper <drepper@gmail.com>
35731
35732 * po/da.po: Update from translation team.
35733
fa41c84d
UD
357342010-10-26 Ulrich Drepper <drepper@gmail.com>
35735
35736 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35737 is added to the list.
35738
f0967738
AK
357392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35740 Ulrich Drepper <drepper@gmail.com>
35741
35742 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35743 the global list here. Move code to...
35744 (_dl_add_to_namespace_list): ...here. New function.
35745 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35746 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35747 * elf/dl-load.c (lose): Don't remove the element from the list.
35748 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35749 (_dl_map_object): Likewise.
35750
357512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35752
35753 [BZ #12159]
35754 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35755 into all bytes of SSE register.
35756 Patch by Richard Li <richardpku@gmail.com>.
35757
f0967738 357582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35759
35760 [BZ #12140]
35761 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35762 perturbing.
35763
d0b9e94f
MB
357642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35765
35766 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35767 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35768 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35769 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35771 submachine.
35772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35773
8e9f92e9
AS
357742010-10-22 Andreas Schwab <schwab@redhat.com>
35775
35776 * include/dlfcn.h (__RTLD_SECURE): Define.
35777 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35778 mode & __RTLD_SECURE instead.
35779 (open_path): Rename preloaded parameter to secure.
35780 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35781 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35782 * elf/dl-deps.c (openaux): Likewise.
35783 * elf/rtld.c (struct map_args): Remove is_preloaded.
35784 (map_doit): Don't use it.
35785 (dl_main): Likewise.
35786 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35787 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35788
bc96fbda
AS
357892010-09-09 Andreas Schwab <schwab@redhat.com>
35790
35791 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35792 (sysd-rules-targets): Remove duplicates.
35793 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35794 rtld-%.$o dependency.
35795
22cd1c9b
AS
357962010-10-18 Andreas Schwab <schwab@redhat.com>
35797
35798 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35799 _dl_map_object do it.
35800
18edac48
UD
358012010-10-19 Ulrich Drepper <drepper@gmail.com>
35802
35803 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35804 fast fma builtins, define the macros in the C99 standard.
35805 (FP_FAST_FMAF): Likewise.
35806 (FP_FAST_FMAL): Likewise.
35807 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35808
35809 * bits/mathdef.h: Update copyright year.
35810 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35811
d2050124
MM
358122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35813
35814 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35815 builtins, define the macros in the C99 standard.
35816 (FP_FAST_FMAF): Likewise.
35817 (FP_FAST_FMAL): Likewise.
35818 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35819 multiply/add.
35820 (FP_FAST_FMAF): Likewise.
35821
475facd1
JJ
358222010-10-15 Jakub Jelinek <jakub@redhat.com>
35823
35824 [BZ #3268]
35825 * math/libm-test.inc (fma_test): Some new testcases.
35826 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35827 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35828 y and infinite z. Do multiplication by C already in long double.
35829 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35831 y and infinite z. Do bitwise or of inexact bit into u.d.
35832 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35833 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35834 * sysdeps/i386/fpu/s_fma.S: Removed.
35835 * sysdeps/i386/fpu/s_fmal.S: Removed.
35836
7c08a05c
JJ
358372010-10-16 Jakub Jelinek <jakub@redhat.com>
35838
35839 [BZ #3268]
35840 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35841 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35842 computation is not scheduled after fetestexcept. Fix value
35843 of minimum denormal long double.
35844
f3f7372d
JJ
358452010-10-14 Jakub Jelinek <jakub@redhat.com>
35846
35847 [BZ #3268]
35848 * math/libm-test.inc (fma_test): Add some more tests.
35849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35850 correctly.
35851
14d43591
AS
358522010-10-15 Andreas Schwab <schwab@redhat.com>
35853
35854 * scripts/data/localplt-s390-linux-gnu.data: New file.
35855 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35856
5e908464
JJ
358572010-10-13 Jakub Jelinek <jakub@redhat.com>
35858
35859 [BZ #3268]
35860 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35861 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35862 instead of dbl-64.
35863 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35864 inlines.
35865 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35866 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35867 if one of x and y is very large and the other is subnormal.
35868 * sysdeps/s390/fpu/s_fmaf.c: New file.
35869 * sysdeps/s390/fpu/s_fma.c: New file.
35870 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35871 * sysdeps/powerpc/fpu/s_fma.S: New file.
35872 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35873 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35874 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35875
358762010-10-12 Jakub Jelinek <jakub@redhat.com>
35877
35878 [BZ #3268]
35879 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35880 fma tests.
35881 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35882 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35883 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35884 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35885 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35886 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35887 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35888
b833d51f
UD
358892010-10-12 Ulrich Drepper <drepper@redhat.com>
35890
35891 [BZ #12078]
35892 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35893 * posix/bug-regex31.input: Add test case.
35894
1751705d
UD
358952010-10-11 Ulrich Drepper <drepper@gmail.com>
35896
e9b9cbf5
UD
35897 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35898 * posix/bug-regex31.input: New file.
35899
35900 [BZ #12078]
35901 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35902 (parse_sub_exp): Fix last change, use postorder.
35903
ef06edbe
UD
35904 * posix/bug-regex31.c: New file.
35905 * posix/Makefile: Add rules to build and run bug-regex31.
35906
a129c80d
UD
35907 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35908
35909 [BZ #12078]
35910 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35911
b76b818e
UD
35912 [BZ #12108]
35913 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35914 to have entries in sys_siglist.
35915
1751705d
UD
35916 [BZ #12093]
35917 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35918 be NULL.
35919
9ff8d36f
JJ
359202010-10-07 Jakub Jelinek <jakub@redhat.com>
35921
35922 [BZ #3268]
35923 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35924 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35925 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35926 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35927 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35928 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35929 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35930 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35931 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35932 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35933 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35934 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35935 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35936 * math/ftestexcept.c (fetestexcept): Likewise.
35937 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35938 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35939 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35940 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35941 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35942 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35943 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35944
af325969
UD
359452010-10-11 Ulrich Drepper <drepper@gmail.com>
35946
c579b202 35947 [BZ #12107]
af325969
UD
35948 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35949 newline.
35950
67a67b95
UD
359512010-10-06 Ulrich Drepper <drepper@gmail.com>
35952
35953 * string/bug-strstr1.c: New file.
35954 * string/Makefile: Add rules to build and run bug-strstr1.
35955
5fb308bc
EB
359562010-10-05 Eric Blake <eblake@redhat.com>
35957
35958 [BZ #12092]
35959 * string/str-two-way.h (two_way_long_needle): Always clear memory
35960 when skipping input due to the shift table.
35961
45db99c7
UD
359622010-10-03 Ulrich Drepper <drepper@gmail.com>
35963
3b111893
UD
35964 [BZ #12005]
35965 * malloc/mcheck.c: Handle large requests.
35966
45db99c7
UD
35967 [BZ #12077]
35968 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35969 for strncmp and strncasecmp.
35970 * string/stratcliff.c: Add tests for strcmp and strncmp.
35971 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35972
cf7a1eb8
NI
359732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35974
35975 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35976 __set_fpscr.
35977
6484ba5e
AJ
359782010-09-30 Andreas Jaeger <aj@suse.de>
35979
35980 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35981 (CGROUP_SUPER_MAGIC): Define.
35982 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35983 Handle btrfs and cgroup file systems.
35984 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35985 Likewise.
35986
91c42559
LM
359872010-09-27 Luis Machado <luisgpm@br.ibm.com>
35988
35989 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35990 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35991
87a97932
AK
359922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35993
35994 [BZ #12067]
35995 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35996 trying to locate the ELF header.
35997
c21cc9bc
AS
359982010-09-27 Andreas Schwab <schwab@redhat.com>
35999
36000 [BZ #11611]
36001 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36002 Mask out sign-bit copies when constructing f_fsid.
36003
315970f6
PB
360042010-09-24 Petr Baudis <pasky@suse.cz>
36005
36006 * debug/stack_chk_fail_local.c: Add missing licence exception.
36007 * debug/warning-nop.c: Likewise.
36008
1ac7a2c7
JM
360092010-09-15 Joseph Myers <joseph@codesourcery.com>
36010
36011 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36012 implementing getdents64 using getdents syscall, set d_type if
36013 __ASSUME_GETDENTS32_D_TYPE.
36014
56801c50
AS
360152010-09-16 Andreas Schwab <schwab@redhat.com>
36016
36017 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36018 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36019
dda51327
UD
360202010-09-21 Ulrich Drepper <drepper@redhat.com>
36021
36022 [BZ #12037]
36023 * posix/unistd.h: Undo change of feature selection for ftruncate from
36024 2010-01-11.
36025
8ffcee4a
UD
360262010-09-20 Ulrich Drepper <drepper@redhat.com>
36027
a545ecd9 36028 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
36029 detection.
36030
e24f0a8b
AS
360312010-09-20 Andreas Schwab <schwab@redhat.com>
36032
36033 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36034 fanotify_mark.
36035 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36036
7291c56f
AS
360372010-09-14 Andreas Schwab <schwab@redhat.com>
36038
36039 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36040 variables after CHECK_SP call.
36041 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36042
bc5fb037
AS
360432010-09-13 Andreas Schwab <schwab@redhat.com>
36044 Ulrich Drepper <drepper@redhat.com>
36045
36046 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36047 re-relocationg ld.so.
36048 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36049 _dl_init_paths call.
36050 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36051 here anymore.
36052
e66e7419
UD
360532010-09-14 Ulrich Drepper <drepper@redhat.com>
36054
36055 * resolv/res_init.c (__res_vinit): Count the default server we added.
36056
c044aa75
CLT
360572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36058 Ulrich Drepper <drepper@redhat.com>
36059
36060 [BZ #11968]
36061 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36062 (____longjmp_chk): Use %ebx for saving value across system call.
36063 Add unwind info.
36064
32cf4069
AS
360652010-09-06 Andreas Schwab <schwab@redhat.com>
36066
36067 * manual/Makefile: Don't mix pattern rules with normal rules.
36068
817328ee
AS
360692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36070
36071 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36072 operation.
36073 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36074 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36075 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36076 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36077 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36078 Likewise.
36079
29fddf61
UD
360802010-09-04 Ulrich Drepper <drepper@redhat.com>
36081
36082 [BZ #11979]
36083 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36084 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36085
0959ffc9
UD
360862010-09-02 Ulrich Drepper <drepper@redhat.com>
36087
36088 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36089 * sysdeps/x86_64/addmul_1.S: Likewise.
36090 * sysdeps/x86_64/lshift.S: Likewise.
36091 * sysdeps/x86_64/mul_1.S: Likewise.
36092 * sysdeps/x86_64/rshift.S: Likewise.
36093 * sysdeps/x86_64/sub_n.S: Likewise.
36094 * sysdeps/x86_64/submul_1.S: Likewise.
36095
ece29840
ST
360962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36097
0959ffc9
UD
36098 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36099 Define __sched_param instead of SCHED_* and sched_param when
ece29840 36100 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 36101 * bits/sched.h [__need_schedparam]
ece29840 36102 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
36103 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36104 (__defined_schedparam): Define to 1.
ece29840
ST
36105 (__sched_param): New structure, identical to sched_param.
36106 (__need_schedparam): Undefine.
36107
e53a31fe
MF
361082010-08-31 Mike Frysinger <vapier@gentoo.org>
36109
fdc0c10d
MF
36110 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36111 (epoll_create1): Declare.
36112
e53a31fe
MF
36113 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36114
a726d796
AS
361152010-08-31 Andreas Schwab <schwab@redhat.com>
36116
36117 [BZ #7066]
36118 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36119 shifting retval into place.
36120
2f3e3dc7
UD
361212010-09-01 Ulrich Drepper <drepper@redhat.com>
36122
f2933da9
UD
36123 * nis/rpcsvc/nis.h: Update copyright notice.
36124 * nis/rpcsvc/nis.x: Likewise.
36125 * nis/rpcsvc/nis_callback.h: Likewise.
36126 * nis/rpcsvc/nis_callback.x: Likewise.
36127 * nis/rpcsvc/nis_object.x: Likewise.
36128 * nis/rpcsvc/nis_tags.h: Likewise.
36129 * nis/rpcsvc/yp.h: Likewise.
36130 * nis/rpcsvc/yp.x: Likewise.
36131 * nis/rpcsvc/ypupd.h: Likewise.
36132 * nis/yp_xdr.c: Likewise.
36133 * nis/ypupdate_xdr.c: Likewise.
36134
2f3e3dc7
UD
36135 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36136 mainly the body of pmap_getport. Add parameters to specify timeouts.
36137 (pmap_getport): Use __libc_rpc_getport.
36138 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36139 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36140 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36141
f3dcc2f9
AS
361422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36143
36144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36145 fanotify_mark.
36146
6d34eb5b
RM
361472010-08-27 Roland McGrath <roland@redhat.com>
36148
36149 * sysdeps/i386/i686/multiarch/Makefile
36150 (CFLAGS-varshift.c): New variable.
36151
9ea3de11
UD
361522010-08-27 Ulrich Drepper <drepper@redhat.com>
36153
c96d23fc
UD
36154 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36155 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36156
9ea3de11
UD
36157 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36158
36159 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36160
623aac7f
L
361612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36162
36163 * sysdeps/x86_64/strlen.S: Unroll the loop.
36164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36165 strlen-sse2 strlen-sse2-bsf.
36166 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36167 __strlen_no_bsf if bit_Slow_BSF is set.
36168 (__strlen_sse42): Removed.
36169 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36170 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36171
8b2b7715
RM
361722010-08-25 Roland McGrath <roland@redhat.com>
36173
36174 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36175 * sysdeps/x86_64/multiarch/varshift.c: New file.
36176 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36177 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36178 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36179 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36180
e73015f2
L
361812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36182
36183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36184 strlen-sse2 strlen-sse2-bsf.
36185 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36186 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36187 (__strlen_sse2): Removed.
36188 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36189 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36191 bit_Slow_BSF for Atom.
36192 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36193 (index_Slow_BSF): Define.
36194 (HAS_SLOW_BSF): Define.
36195
df24a73e
UD
361962010-08-25 Ulrich Drepper <drepper@redhat.com>
36197
36198 [BZ #10851]
36199 * resolv/res_init.c (__res_vinit): When no server address at all
36200 is given default to loopback.
36201
f2ac4868
RM
362022010-08-24 Roland McGrath <roland@redhat.com>
36203
09055553
RM
36204 * configure.in: Remove config-name.h generation.
36205 * configure: Regenerated.
36206 * config-name.in: File removed.
36207 * scripts/config-uname.sh: New file.
36208 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36209 ($(objdir)config-name.h): New target.
36210
f2ac4868
RM
36211 * sunrpc/rpc_parse.h: Avoid nested comment.
36212
73f27d5e
RH
362132010-08-24 Richard Henderson <rth@redhat.com>
36214 Ulrich Drepper <drepper@redhat.com>
36215 H.J. Lu <hongjiu.lu@intel.com>
36216
36217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36219 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36220 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36221 _mm_alignr_epi8 with _mm_loadu_si128.
36222 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36223 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36224 (__m128i_shift_right): Removed.
36225 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36226 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36227 * sysdeps/x86_64/multiarch/varshift.h: New file.
36228 * sysdeps/x86_64/multiarch/varshift.S: New file.
36229
84b9230c
MF
362302010-08-21 Mike Frysinger <vapier@gentoo.org>
36231
36232 * configure.in: Move assembler checks to before sysdep dir checking.
36233
9bbd0ddc
PB
362342010-08-20 Petr Baudis <pasky@suse.cz>
36235
36236 * LICENSES: Sync the sunrpc license.
36237
9da4bb31
UD
362382010-08-19 Ulrich Drepper <drepper@redhat.com>
36239
a7ab6ec8
UD
36240 * sunrpc/auth_des.c: Update copyright notice once again.
36241 * sunrpc/auth_none.c: Likewise.
36242 * sunrpc/auth_unix.c: Likewise.
36243 * sunrpc/authdes_prot.c: Likewise.
36244 * sunrpc/authuxprot.c: Likewise.
36245 * sunrpc/bindrsvprt.c: Likewise.
36246 * sunrpc/clnt_gen.c: Likewise.
36247 * sunrpc/clnt_perr.c: Likewise.
36248 * sunrpc/clnt_raw.c: Likewise.
36249 * sunrpc/clnt_simp.c: Likewise.
36250 * sunrpc/clnt_tcp.c: Likewise.
36251 * sunrpc/clnt_udp.c: Likewise.
36252 * sunrpc/clnt_unix.c: Likewise.
36253 * sunrpc/des_crypt.c: Likewise.
36254 * sunrpc/des_soft.c: Likewise.
36255 * sunrpc/get_myaddr.c: Likewise.
36256 * sunrpc/getrpcport.c: Likewise.
36257 * sunrpc/key_call.c: Likewise.
36258 * sunrpc/key_prot.c: Likewise.
36259 * sunrpc/openchild.c: Likewise.
36260 * sunrpc/pm_getmaps.c: Likewise.
36261 * sunrpc/pm_getport.c: Likewise.
36262 * sunrpc/pmap_clnt.c: Likewise.
36263 * sunrpc/pmap_prot.c: Likewise.
36264 * sunrpc/pmap_prot2.c: Likewise.
36265 * sunrpc/pmap_rmt.c: Likewise.
36266 * sunrpc/rpc/auth.h: Likewise.
36267 * sunrpc/rpc/auth_unix.h: Likewise.
36268 * sunrpc/rpc/clnt.h: Likewise.
36269 * sunrpc/rpc/des_crypt.h: Likewise.
36270 * sunrpc/rpc/key_prot.h: Likewise.
36271 * sunrpc/rpc/netdb.h: Likewise.
36272 * sunrpc/rpc/pmap_clnt.h: Likewise.
36273 * sunrpc/rpc/pmap_prot.h: Likewise.
36274 * sunrpc/rpc/pmap_rmt.h: Likewise.
36275 * sunrpc/rpc/rpc.h: Likewise.
36276 * sunrpc/rpc/rpc_des.h: Likewise.
36277 * sunrpc/rpc/rpc_msg.h: Likewise.
36278 * sunrpc/rpc/svc.h: Likewise.
36279 * sunrpc/rpc/svc_auth.h: Likewise.
36280 * sunrpc/rpc/types.h: Likewise.
36281 * sunrpc/rpc/xdr.h: Likewise.
36282 * sunrpc/rpc_clntout.c: Likewise.
36283 * sunrpc/rpc_cmsg.c: Likewise.
36284 * sunrpc/rpc_common.c: Likewise.
36285 * sunrpc/rpc_cout.c: Likewise.
36286 * sunrpc/rpc_dtable.c: Likewise.
36287 * sunrpc/rpc_hout.c: Likewise.
36288 * sunrpc/rpc_main.c: Likewise.
36289 * sunrpc/rpc_parse.c: Likewise.
36290 * sunrpc/rpc_parse.h: Likewise.
36291 * sunrpc/rpc_prot.c: Likewise.
36292 * sunrpc/rpc_sample.c: Likewise.
36293 * sunrpc/rpc_scan.c: Likewise.
36294 * sunrpc/rpc_scan.h: Likewise.
36295 * sunrpc/rpc_svcout.c: Likewise.
36296 * sunrpc/rpc_tblout.c: Likewise.
36297 * sunrpc/rpc_util.c: Likewise.
36298 * sunrpc/rpc_util.h: Likewise.
36299 * sunrpc/rpcinfo.c: Likewise.
36300 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36301 * sunrpc/rpcsvc/key_prot.x: Likewise.
36302 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36303 * sunrpc/rpcsvc/mount.x: Likewise.
36304 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36305 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36306 * sunrpc/rpcsvc/rex.x: Likewise.
36307 * sunrpc/rpcsvc/rstat.x: Likewise.
36308 * sunrpc/rpcsvc/rusers.x: Likewise.
36309 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36310 * sunrpc/rpcsvc/spray.x: Likewise.
36311 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36312 * sunrpc/rtime.c: Likewise.
36313 * sunrpc/svc.c: Likewise.
36314 * sunrpc/svc_auth.c: Likewise.
36315 * sunrpc/svc_authux.c: Likewise.
36316 * sunrpc/svc_raw.c: Likewise.
36317 * sunrpc/svc_run.c: Likewise.
36318 * sunrpc/svc_simple.c: Likewise.
36319 * sunrpc/svc_tcp.c: Likewise.
36320 * sunrpc/svc_udp.c: Likewise.
36321 * sunrpc/svc_unix.c: Likewise.
36322 * sunrpc/svcauth_des.c: Likewise.
36323 * sunrpc/xcrypt.c: Likewise.
36324 * sunrpc/xdr.c: Likewise.
36325 * sunrpc/xdr_array.c: Likewise.
36326 * sunrpc/xdr_float.c: Likewise.
36327 * sunrpc/xdr_mem.c: Likewise.
36328 * sunrpc/xdr_rec.c: Likewise.
36329 * sunrpc/xdr_ref.c: Likewise.
36330 * sunrpc/xdr_sizeof.c: Likewise.
36331 * sunrpc/xdr_stdio.c: Likewise.
36332
9da4bb31
UD
36333 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36334 handling.
36335
bdaa77bc
AS
363362010-08-19 Andreas Schwab <schwab@redhat.com>
36337
36338 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36339
fe2f79db
LM
363402010-08-19 Luis Machado <luisgpm@br.ibm.com>
36341
36342 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36343 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36344 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36345 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36346 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36347 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36348 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36349 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36350 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36351 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36352 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36353 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36354 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36355 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36356
b9b42ee0
AB
363572010-07-26 Anton Blanchard <anton@samba.org>
36358
36359 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36360 * malloc/arena.c (heap_trim): Likewise.
36361
1c06ba31
UD
363622010-08-16 Ulrich Drepper <drepper@redhat.com>
36363
36364 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36365 here. Not...
36366 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36367 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36368
f8392f40
L
363692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
36370
36371 * sysdeps/i386/elf/Makefile: New file.
36372
3162f12e
AS
363732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36374
36375 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36376 from fanotify_init.
36377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36378 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36379
28c90b2c
UD
363802010-08-15 Ulrich Drepper <drepper@redhat.com>
36381
36382 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36383 of strncasecmp_l.
1feccb6c 36384 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 36385
ca6bb004
UD
363862010-08-14 Ulrich Drepper <drepper@redhat.com>
36387
e9f82e0d
UD
36388 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36389 strncase_l-nonascii.
36390 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36391 Add strncase_l-ssse3.
36392 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36393 * sysdeps/x86_64/strcmp.S: Likewise.
36394 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36395 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36396 * sysdeps/x86_64/strncase.S: New file.
36397 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36398 * sysdeps/x86_64/strncase_l.S: New file.
36399 * string/Makefile (strop-tests): Add strncasecmp.
36400 * string/test-strncasecmp.c: New file.
36401
36402 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36403 warning.
36404
ca6bb004
UD
36405 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36406 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36407
052fa7b3
AS
364082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
36409
36410 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36411
962dba78
UD
364122010-08-12 Ulrich Drepper <drepper@redhat.com>
36413
36414 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36415 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36416 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36417
bebff237
AM
364182010-05-01 Alan Modra <amodra@gmail.com>
36419
36420 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36421 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36422 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36423 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36424 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36425 tidying. Don't tail-call __sigjmp_save for static lib.
36426 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36427 save location.
36428 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36429 (CALL_MCOUNT): Add eh info, and nop after bl.
36430 (TAIL_CALL_SYSCALL_ERROR): New macro.
36431 (PSEUDO_RET): Use it.
36432 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36433 Correct save location of integer regs and cr.
36434 (_dl_profile_resolve): Correct cr save location. Delete nops
36435 after bl when SHARED. Reduce cfi size a little by better
36436 placement of cfi directives.
36437 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36438 make a stack frame. Instead use parm save area as a temp.
36439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36440 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
36441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36442 Don't make a stack frame for parent, use parm save area.
36443 Increase child stack frame to 112 bytes. Don't save unused reg,
36444 and adjust reg usage. Set up cfi on error recovery and
36445 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36447 (__makecontext): Add dummy nop after jump to exit.
36448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36449 Use correct parm save area and cr save, reduce stack frame.
36450 Correct cfi for possible PSEUDO_RET frame setup.
36451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36452 Branch to local label emitted by PSEUDO_RET rather than
36453 __syscall_error.
36454
02637374
AS
364552010-08-12 Andreas Schwab <schwab@redhat.com>
36456
36457 [BZ #11904]
36458 * locale/programs/locale.c (print_assignment): New function.
36459 (show_locale_vars): Use it.
36460
c3e2f19b
UD
364612010-08-11 Ulrich Drepper <drepper@redhat.com>
36462
3cdaa6ad
UD
36463 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36464 field.
36465 (struct statfs64): Likewise.
36466 (_STATFS_F_FLAGS): Define.
36467 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36468 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36469 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36470 (ST_VALID): Define locally.
36471 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36472 __statvfs_getflags, use the provided value.
36473 * sysdeps/unix/sysv/linux/kernel-features.h: Define
36474 __ASSUME_STATFS_F_FLAGS.
36475
754f7da3
UD
36476 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36477
10b3bedc
UD
36478 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36479 Add sys/fanotify.h.
36480 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36481 fanotify_mask for GLIBC_2.13.
36482 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36483 fanotify_init and fanotify_mark.
36484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36485 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36486
c08fb0d7
UD
36487 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36488 Add prlimit.
36489 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36490 prlimit64 for GLIBC_2.13.
36491 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36492 prlimit64.
36493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36494 syscall.
36495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36496 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36497 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36498 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
36500 add prlimit alias.
36501 * sysdeps/unix/sysv/linux/prlimit.c: New file.
36502
15bac72b
UD
36503 [BZ #11903]
36504 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36505 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36506
c3e2f19b
UD
36507 * nss/Makefile: Add rules to build and run tst-nss-test1.
36508 * shlib-versions: Add entry for libnss_test1.
36509 * nss/nss_test1.c: New file.
36510 * nss/tst-nss-test1.c: New file.
36511
36512 * nss/nsswitch.c (__nss_database_custom): Define new variable.
36513 (__nss_configure_lookup): Set appropriate entry in
36514 __nss_configure_lookup to true.
36515 * nss/nsswitch.h: Define enum with indeces of databases in
36516 databases and __nss_database_custom arrays. Declare
36517 __nss_database_custom.
36518 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36519 to avoid using nscd when custom rules are installed.
36520 * nss/getXXbyYY_r.c: Likewise.
36521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36522
36523 * nss/nss_files/files-parse.c: Whitespace fixes.
36524
f15ce4d8
UD
365252010-08-09 Ulrich Drepper <drepper@redhat.com>
36526
36527 [BZ #11883]
36528 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36529 * posix/fnmatch_loop.c: Likewise.
36530
d22e4cc9
AK
365312010-07-17 Andi Kleen <ak@linux.intel.com>
36532
36533 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36534 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36535 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36536 * Versions.def [GLIBC_2.13]: Add.
36537
805bc17d
UD
365382010-08-06 Ulrich Drepper <drepper@redhat.com>
36539
36540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36541 Also fail if tpwd after pwuid call is NULL.
36542
5a42321d
ST
365432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
36544
36545 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36546 when converting to ms.
36547
fd3ebeda
ST
365482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36549
36550 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36551 EOPNOTSUPP errors with ENOTTY.
36552 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36553 EOPNOTSUPP errors with ENOTTY.
36554
73507d3a
UD
365552010-07-31 Ulrich Drepper <drepper@redhat.com>
36556
36557 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36558 Add strcasecmp_l-ssse3.
36559 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36560 strcasecmp.
36561 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36562 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36563 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36564
fe36dd02
UD
365652010-07-30 Ulrich Drepper <drepper@redhat.com>
36566
66f6765a
UD
36567 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36568
42e08a54
UD
36569 * string/Makefile (strop-tests): Add strcasecmp.
36570 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36571 strcasecmp_l-nonascii.
36572 (gen-as-const-headers): Add locale-defines.sym.
36573 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36574 * sysdeps/x86_64/strcasecmp.S: New file.
36575 * sysdeps/x86_64/strcasecmp_l.S: New file.
36576 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36577 * sysdeps/x86_64/locale-defines.sym: New file.
36578 * string/test-strcasecmp.c: New file.
36579
fe36dd02
UD
36580 * string/test-strcasestr.c: Test both ends of the range of characters.
36581 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36582
48cbc0d6
RM
365832010-07-29 Roland McGrath <roland@redhat.com>
36584
76e6d6bc 36585 [BZ #11856]
48cbc0d6
RM
36586 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36587
880113d9
UD
365882010-07-27 Ulrich Drepper <drepper@redhat.com>
36589
36590 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36591 for ld.so.
36592
deb9cabb
AS
365932010-07-27 Andreas Schwab <schwab@redhat.com>
36594
36595 * manual/memory.texi (Malloc Tunable Parameters): Document
36596 M_PERTURB.
36597
1c7570ff
RM
365982010-07-26 Roland McGrath <roland@redhat.com>
36599
36600 [BZ #11840]
36601 * configure.in (-fgnu89-inline check): Set and substitute
36602 gnu89_inline, not libc_cv_gnu89_inline.
36603 * configure: Regenerated.
36604 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36605
24fb0f88
UD
366062010-07-26 Ulrich Drepper <drepper@redhat.com>
36607
36608 * string/test-strnlen.c: New file.
36609 * string/Makefile (strop-tests): Add strnlen.
36610 * string/tester.c (test_strnlen): Add a few more test cases.
36611 * string/tst-strlen.c: Better error reporting.
36612
36613 * sysdeps/x86_64/strnlen.S: New file.
36614
8e96b93a
UD
366152010-07-24 Ulrich Drepper <drepper@redhat.com>
36616
36617 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36618 lower-latency instructions.
36619
dbc676d4
UD
366202010-07-23 Ulrich Drepper <drepper@redhat.com>
36621
36622 * string/test-strcasestr.c: New file.
36623 * string/test-strstr.c: New file.
36624 * string/Makefile (strop-tests): Add strstr and strcasestr.
36625 * string/str-two-way.h: Don't undefine MAX.
36626 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36627
f6a31e0e
AS
366282010-07-21 Andreas Schwab <schwab@redhat.com>
36629
36630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36631 strcasestr-nonascii.
36632 (CFLAGS-strcasestr-nonascii.c): Define.
36633 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36634 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36635 Remove unused attribute.
36636
5dbc3b6c
RM
366372010-07-20 Roland McGrath <roland@redhat.com>
36638
36639 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36640 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36641 ld.so.cache was broken. With it, there is no way to disable dsocaps
36642 like LD_HWCAP_MASK can disable hwcaps.
36643
23d101d8
EPM
366442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36645
36646 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36647
cc9f2e47
UD
366482010-07-16 Ulrich Drepper <drepper@redhat.com>
36649
36650 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36651 call in strcasestr.
36652 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36653 __strcasestr_sse42_nonascii.
36654 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36655 strcasestr-nonascii.c.
36656 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36657
77c1b069
LM
366582010-06-15 Luis Machado <luisgpm@br.ibm.com>
36659
36660 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36661 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36662 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36663 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36664
440566c3
UD
366652010-07-09 Ulrich Drepper <drepper@redhat.com>
36666
36667 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36668 fcntl.
36669
5be9d05d
AS
366702010-07-06 Andreas Schwab <schwab@redhat.com>
36671
c30b7ee2 36672 [BZ #11577]
5be9d05d
AS
36673 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36674 dl_signal_cerror.
36675
8a492a67
UD
366762010-07-06 Ulrich Drepper <drepper@redhat.com>
36677
36678 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36679 _PC_PIPE_BUF using F_GETPIPE_SZ.
36680
713df3d5
RM
366812010-07-05 Roland McGrath <roland@redhat.com>
36682
36683 * manual/arith.texi (Rounding Functions): Fix rint description
36684 implicit in round description.
36685
702e8f14
UD
366862010-07-02 Ulrich Drepper <drepper@redhat.com>
36687
36688 * elf/Makefile: Fix linking for a few tests to make recent linker
36689 happy.
36690
52ed8be9
AS
366912010-06-30 Andreas Schwab <schwab@redhat.com>
36692
36693 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36694 $(common-objpfx)libc_nonshared.a.
36695
f47c9a11
LM
366962010-06-21 Luis Machado <luisgpm@br.ibm.com>
36697
36698 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36699 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36700 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36701 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36702 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36703 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36704 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36705 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36720 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36721 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36722 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36723 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36724 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36725 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36726 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36727 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36728 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36729 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36730 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36731 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36746
6fb8cbcb
L
367472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36748
36749 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36750 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36751 * string/memmove.c (memmove): Renamed to ...
36752 (MEMMOVE): ...this. Default to memmove.
36753 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36754 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36755 (END_CHK): Define.
36756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36757 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36758 mempcpy-ssse3-back memmove-ssse3-back.
36759 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36760 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36762 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36763 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36764 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36765 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36766 * sysdeps/x86_64/multiarch/memmove.c: New file.
36767 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36768 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36769 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36770 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36771 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36772 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36773 Define.
36774 (index_Fast_Copy_Backward): Define.
36775 (HAS_ARCH_FEATURE): Define.
36776 (HAS_FAST_REP_STRING): Define.
36777 (HAS_FAST_COPY_BACKWARD): Define.
36778
4e733bac 367792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36780
36781 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36782 Restore proper fallback handling.
36783
63c4ed22
UD
367842010-06-19 Ulrich Drepper <drepper@redhat.com>
36785
ac2b484c
UD
36786 [BZ #11701]
36787 * posix/group_member.c (__group_member): Correct checking loop.
36788
63c4ed22
UD
36789 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36790 OOM in getpwuid_r correctly. Return error number when the caller
36791 should return, otherwise -1.
36792 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36793 call returning > 0 value.
36794 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36795
765ade4b
AS
367962010-06-07 Andreas Schwab <schwab@redhat.com>
36797
36798 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36799 libc_nonshared.a from targets in modules-names.
36800
80da2e09
KS
368012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36802
36803 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36804 requires it.
36805
158db122
LM
368062010-06-10 Luis Machado <luisgpm@br.ibm.com>
36807
36808 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36809 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36810 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36812
caa78cf8
AS
368132010-06-02 Andreas Schwab <schwab@redhat.com>
36814
36815 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36816
b2ef2c01
UD
368172010-06-14 Ulrich Drepper <drepper@redhat.com>
36818
36819 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36820 and F_GETPIPE_SZ.
36821 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36822 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36825 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36826 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36827
fbd643b6
RM
368282010-06-14 Roland McGrath <roland@redhat.com>
36829
36830 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36831
f32f2869
JJ
368322010-06-07 Jakub Jelinek <jakub@redhat.com>
36833
36834 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36835 __REDIRECT followed by __THROW.
36836 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36837 * posix/getopt.h (getopt): Likewise.
36838
2a50c078
EPM
368392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36840
36841 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36842 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36843 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36844 in AT_FLAGS.
36845 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36846 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36847
eb5ad2eb
LM
368482010-05-28 Luis Machado <luisgpm@br.ibm.com>
36849
36850 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36851
3c88fe1e
L
368522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36853
36854 [BZ #11640]
36855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36856 Properly check family and model.
36857
d2f73151
TY
368582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36859
36860 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36861
ebd2e13d
LM
368622010-05-24 Luis Machado <luisgpm@br.ibm.com>
36863
36864 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36865
b32b8b45
UD
368662010-05-21 Ulrich Drepper <drepper@redhat.com>
36867
36868 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36869 symbol reference.
36870
9acbe24d
AS
368712010-05-19 Andreas Schwab <schwab@redhat.com>
36872
36873 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36874 symbol reference.
36875
f0ccf6ea
AS
368762010-05-21 Andreas Schwab <schwab@redhat.com>
36877
3d04ff3a
AS
36878 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36879 and internal_recvmmsg.
36880 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36881 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36882 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36883 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36884
f0ccf6ea
AS
36885 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36886 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36887 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36888
5b08ac57
AS
368892010-05-20 Andreas Schwab <schwab@redhat.com>
36890
36891 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36892
4828935d
LM
368932010-05-17 Luis Machado <luisgpm@br.ibm.com>
36894
36895 POWER7 optimizations.
36896 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36897 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36898
373d545e
UD
368992010-05-19 Ulrich Drepper <drepper@redhat.com>
36900
36901 * version.h: Update for 2.13 development version.
36902
21a2b1ae
AS
369032010-05-12 Andrew Stubbs <ams@codesourcery.com>
36904
36905 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36906 exceptions. Return 0.
36907
3f7dcb2b
RM
369082010-05-07 Roland McGrath <roland@redhat.com>
36909
36910 * elf/ldconfig.c (main): Add a const.
36911
5f24d53a 369122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36913
a160f8d8
UD
36914 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36915 (args_options): Add no-idn option.
36916 (ahosts_keys_int): Add idn_flags to ai_flags.
36917 (parse_option): Handle 'i' option to clear idn_flags.
36918
5f24d53a
UD
36919 * malloc/malloc.c (_int_free): Possible race in the most recently
36920 added check. Only act on the data if no current modification
36921 happened.
265bb1ce
UD
36922
36923See ChangeLog.17 for earlier changes.