]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Remove __FAVOR_BSD.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12013-12-17 Joseph Myers <joseph@codesourcery.com>
2
3 * include/features.h (__FAVOR_BSD): Do not define.
4 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5 features conflicting with POSIX.
6 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7 (_BSD_SOURCE): Remove description of not being a subset of other
8 feature test macros.
9 * manual/job.texi (getpgrp): Do not document BSD version.
10 (getpgid): Do not document by reference to BSD getpgrp.
11 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13 * signal/signal.h [__FAVOR_BSD]: Likewise.
14 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15 instead of making contents conditional on [__FAVOR_BSD].
16 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17
182013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19
20 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21
222013-12-17 Joseph Myers <joseph@codesourcery.com>
23
24 [BZ #16314]
25 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26 values below 2**-450, not 2**-500.
27 * math/auto-libm-test-in: Don't allow spurious underflow from
28 hypot.
29 * math/auto-libm-test-out: Regenerated.
30
31 [BZ #16316]
32 [BZ #16330]
33 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34 values of ha and hb and sort them after adjusting subnormal
35 arguments.
36 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37 Likewise.
38 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39 values of ea and eb and sort them after adjusting subnormal
40 arguments.
41 * math/auto-libm-test-in: Do not expect some hypot tests of
42 subnormals to fail. Add more hypot tests.
43 * math/auto-libm-test-out: Regenerated.
44
452013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46
47 [BZ #13304]
48 * sysdeps/sh/s_fma.c: New file.
49 * sysdeps/sh/s_fmaf.c: New file.
50 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
51 version.
52 * sysdeps/sh/Implies: Add sh/soft-fp.
53
542013-12-16 Roland McGrath <roland@hack.frob.com>
55
56 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
57 level of indirection to members `objname', `errstring', `malloced'.
58 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
60 it as the __longjmp argument (just pass 1 instead).
61 (_dl_catch_error): Initialize C with argument pointers and address of
62 volatile local ERRCODE rather than copying values out of C at return.
63
642013-12-16 Joseph Myers <joseph@codesourcery.com>
65
66 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
67 * math/auto-libm-test-out: Regenerated.
68 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
69 (hypot_test_data): Likewise.
70 (pow_test_data): Likewise.
71 (pow_tonearest_test_data): Likewise.
72 * math/gen-auto-libm-tests.c (func_calc_method): Add value
73 mpfr_ff_f.
74 (func_calc_desc): Add mpfr_ff_f union field.
75 (FUNC_mpfr_ff_f): New macro.
76 (test_functions): Add atan2, hypot and pow.
77 (special_fill_min): New function.
78 (special_fill_minus_min): Likewise.
79 (special_fill_min_subnorm): Likewise.
80 (special_fill_minus_min_subnorm): Likewise.
81 (special_real_inputs): Add min, -min, min_subnorm and
82 -min_subnorm.
83 (calc_generic_results): Handle mpfr_ff_f.
84 * sysdeps/i386/fpu/libm-test-ulps: Update.
85 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86
872013-12-16 Will Newton <will.newton@linaro.org>
88
89 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
90 (Aligned Memory Blocks): Add documentation for aligned_alloc
91 and suggest it as an alternative to posix_memalign.
92 (Hooks for Malloc): Document __memalign_hook is also called
93 for aligned_alloc. (Summary of Malloc): Add summary for
94 aligned alloc. Document __memalign_hook is also called
95 for aligned_alloc.
96
972013-12-16 Will Newton <will.newton@linaro.org>
98
99 * manual/memory.texi (Malloc Examples): Clarify default
100 alignment documentation. Suggest posix_memalign rather
101 than memalign or valloc.
102 (Aligned Memory Blocks): Remove suggestion to use memalign
103 or valloc. Remove obsolete comment about BSD.
104 Document memalign errno values and mark the function obsolete.
105 Document posix_memalign returned error codes. Mark valloc
106 as obsolete. (Hooks for Malloc): __memalign_hook is also
107 called for posix_memalign and valloc.
108 (Summary of Malloc): Add posix_memalign to function summary.
109 __memalign_hook is also called for posix_memalign and valloc.
110
1112013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
112
113 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
114 TAYLOR_SIN.
115 (__sin): Adjust.
116 (__cos): Likewise.
117 (sloww): Use mynumber union. Expand ternary operator into
118 if-else statements.
119 (cslow): use mynumber union.
120
1212013-12-16 Allan McRae <allan@archlinux.org>
122
123 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
124 * configure: Regenerated.
125
126 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
127
128 [BZ #14120]
129 * configure.ac: Added --enable-maintainer-mode. Check for
130 autoconf when enabled.
131 * configure: Regenerated.
132
133 * nscd/nscd.service: New file.
134 * nscd/nscd.tmpfiles: New file.
135
1362013-12-14 Ondřej Bílka <neleai@seznam.cz>
137
138 [BZ #12100]
139 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
140 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
141 * sysdeps/x86_64/multiarch/strstr.c: ... here.
142 (strstr): Add __strstr_sse2_unaligned ifunc.
143 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
144 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
145 (strcasestr): Remove __strcasestr_sse42 ifunc.
146 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
147 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
149
1502013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
151
152 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
153 * sysdeps/sh/bits/fenv.h: ... here.
154 * sysdeps/sh/sh4/fpu/bits: Remove directory.
155
1562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
157
158 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
159
1602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
161
162 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
163 hypotf multiarch implementations.
164 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
165 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
166 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
167 multiarch hypot for PPC64.
168 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
169 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
170 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
171 multiarch hypotf for PPC64.
172
1732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
174
175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
176 modff multiarch implementations.
177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
180 multiarch modf for PPC64.
181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
184 multiarch modff for PPC64.
185
1862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
187
188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
189 and logl multiarch implementations.
190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
193 multiarch logb for PPC64.
194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
197 multiarch logb for PPC64.
198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
201 multiarch logb for PPC64.
202
2032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
204
205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
206 isinff multiarch implementation.
207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
208 file.
209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
211 multiarch isinf for PPC64.
212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
213 file.
214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
215 multiarch isinff for PPC64.
216
2172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
218
219 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
220 finitef multiarch implementation.
221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
222 file.
223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
225 multiarch finite for PPC64.
226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
227 file.
228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
229 multiarch finitef for PPC64.
230
2312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
232
233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
234 lrint multiarch implementation.
235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
236 file.
237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
239 multiarch llrint for PPC64.
240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
241 multiarch lrint for PPC64.
242
2432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
244
245 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
246 copysignf multiarch implementation.
247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
248 file.
249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
250 file.
251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
252 multiarch copysign for PPC64.
253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
254 multiarch copysignf for PPC64.
255
2562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
257
258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
259 multiarch implementation.
260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
261 file.
262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
263 file.
264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
265 file.
266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
267 file.
268 multiarch llround for PPC64.
269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
270 multiarch trunc for PPC64.
271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
272 multiarch truncf for PPC64.
273
2742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
275
276 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
277 multiarch implementation.
278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
279 file.
280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
281 file.
282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
283 file.
284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
285 file.
286 multiarch llround for PPC64.
287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
288 multiarch round for PPC64.
289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
290 multiarch roundf for PPC64.
291
2922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
293
294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
295 multiarch implementation.
296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
297 file.
298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
299 file.
300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
301 file.
302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
303 file.
304 multiarch llround for PPC64.
305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
306 multiarch floor for PPC64.
307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
308 multiarch floorf for PPC64.
309
3102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
311
312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
313 multiarch implementation.
314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
315 file.
316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
317 file.
318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
319 file.
320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
321 file.
322 multiarch llround for PPC64.
323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
324 multiarch ceil for PPC64.
325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
326 multiarch ceilf for PPC64.
327
3282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
329
330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
331 multiarch implementation.
332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
333 file.
334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
335 file.
336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
337 file.
338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
339 multiarch llround for PPC64.
340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
341 multiarch lround for PPC64.
342
3432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
344
345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
346 multiarch implementation.
347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
350 file.
351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
354 multiarch isnan for PPC64.
355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
356 multiarch isnanf for PPC64.
357
3582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
359
360 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
361 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
362 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
363 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
364 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
366
3672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
368
369 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
370 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
373
3742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
375
376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
377 multiarch implementations.
378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
379 (__libc_ifunc_impl_list): Likewise.
380 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
381 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
382 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
383 multiarch stpcpy for PPC64.
384
3852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
386
387 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
388 multiarch implementations.
389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
390 (__libc_ifunc_impl_list): Likewise.
391 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
392 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
393 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
394 multiarch strcpy for PPC64.
395
3962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
397
398 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
399 redefine function name.
400 (_wordcopy_fwd_dest_aligned): Likewise.
401 (_wordcopy_bwd_aligned): Likewise.
402 (_wordcopy_bwd_dest_aligned): Likewise.
403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
404 multiarch implementations.
405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
406 (__libc_ifunc_impl_list): Likewise.
407 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
408 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
409 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
410 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
411 multiarch wcscpy for PPC64.
412
4132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
414
415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
416 multiarch implementations.
417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
418 (__libc_ifunc_impl_list): Likewise.
419 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
420 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
421 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
422 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
423 multiarch wcscpy for PPC64.
424
4252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
426
427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
428 multiarch implementations.
429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
430 (__libc_ifunc_impl_list): Likewise.
431 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
432 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
433 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
434 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
435 multiarch wcsrchr for PPC64.
436
4372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
438
439 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
440 multiarch implementations.
441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
442 (__libc_ifunc_impl_list): Likewise.
443 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
444 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
445 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
446 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
447 multiarch wcschr for PPC64.
448
4492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
450
451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
452 multiarch implementations.
453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
454 (__libc_ifunc_impl_list): Likewise.
455 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
456 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
457 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
458 multiarch strchrnul for PPC64.
459
4602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
461
462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
463 implementations.
464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
465 (__libc_ifunc_impl_list): Likewise.
466 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
467 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
468 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
469 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
470 strchr for PPC64.
471
4722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
473
474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
475 implementations.
476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
477 (__libc_ifunc_impl_list): Likewise.
478 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
479 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
480 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
481 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
482 strncmp for PPC64.
483
4842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
485
486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
487 multiarch implementations.
488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
489 (__libc_ifunc_impl_list): Likewise.
490 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
491 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
492 strncasecmp for PPC64.
493 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
494 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
495 multiarch strncasecmp_l for PPC64.
496
4972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
498
499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
500 multiarch implementations.
501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
502 (__libc_ifunc_impl_list): Likewise.
503 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
504 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
505 multiarch strcasecmp for PPC64.
506 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
507 file.
508 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
509 multiarch strcasecmp_l for PPC64.
510
5112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
512
513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
514 implementations.
515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
516 (__libc_ifunc_impl_list): Likewise.
517 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
518 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
519 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
520 strnlen for PPC64.
521
5222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
523
524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
525 implementations.
526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
527 (__libc_ifunc_impl_list): Likewise.
528 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
529 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
530 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
531 strlen for PPC64.
532
5332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
534
535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
536 implementations.
537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
538 (__libc_ifunc_impl_list): Likewise.
539 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
540 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
541 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
542 rawmemrchr for PPC64.
543
5442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
545
546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
547 implementation.
548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
549 (__libc_ifunc_impl_list): Likewise.
550 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
551 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
552 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
553 memrchr for PPC64.
554
5552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
556
557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
558 implementation.
559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
560 (__libc_ifunc_impl_list): Likewise.
561 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
562 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
563 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
564 memchr for PPC64.
565
5662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
567
568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
569 implementation.
570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
571 (__libc_ifunc_impl_list): Likewise.
572 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
573 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
574 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
575 mempcpy for PPC64.
576
5772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
578
579 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
580 avoid cretion of __bzero symbol.
581 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
582 Likewise.
583 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
584 Likewise.
585 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
586 Likewise.
587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
588 multiarch implementations.
589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
590 (__libc_ifunc_impl_list): Likewise.
591 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
592 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
593 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
594 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
595 bzero for PPC32.
596 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
597 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
598 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
599 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
600 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
601 memset for PPC64.
602 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
603
6042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
605
606 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
608 implementations.
609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
610 (__libc_ifunc_impl_list): Likewise.
611 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
612 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
613 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
614 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
615 memcmp for PPC64.
616
6172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
618
619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
620 multiarch for POWER/PPC64.
621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
622 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
623 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
624 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
625 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
626 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
627 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
628 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
629 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
630 memcpy for PPC64.
631
6322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
633
634 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
635 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
636 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
637 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
638 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
639 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
640 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
641 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
642 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
643 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
644 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
645 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
646 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
647 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
648 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
656
6572013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
658
659 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
660
6612013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
662
663 * benchtests/Makefile (bench): Add exp2 and log2.
664 (LDLIBS-bench-exp2): Add -lm.
665 (LDLIBS-bench-log2): Likewise.
666 * benchtests/exp2-inputs: New inputs file.
667 * benchtests/log2-inputs: New inputs file.
668 * benchtests/log-inputs: Add new inputs.
669 * benchtests/tan-inputs: Likewise.
670
6712013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
672
673 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
674 definition...
675 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
676 csloww1, csloww2): ... from here.
677
678 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
679 instead of structures.
680 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
681 (POLYNOMIAL): Likewise.
682 (TAYLOR_SLOW): Likewise.
683 (__sin): Likewise.
684 (__cos): Likewise.
685 (slow1): Likewise.
686 (slow2): Likewise.
687 (sloww): Likewise.
688 (sloww1); Likewise.
689 (sloww2): Likewise.
690 (bsloww1): Likewise.
691 (bsloww2): Likewise.
692 (cslow2): Likewise.
693 (csloww): Likewise.
694 (csloww1): Likewise.
695 (csloww2): Likewise.
696
6972013-12-10 Ondřej Bílka <neleai@seznam.cz>
698
699 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
700 (__malloc_assert, __libc_realloc, __libc_calloc,
701 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
702 memcpy and memset.
703 * malloc/hooks.c (realloc_check): Likewise.
704
7052013-12-10 Ondřej Bílka <neleai@seznam.cz>
706
707 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
708 * malloc/arena.c: Remove PER_THREAD conditional.
709 [!PER_THREAD]: Remove code.
710 (ptmalloc_unlock_all2): Likewise.
711 (ptmalloc_init): Likewise.
712 (_int_new_arena): Likewise.
713 (arena_get2): Likewise.
714 * malloc/hooks.c (__malloc_get_state): Likewise.
715 (__malloc_set_state): Likewise.
716 * malloc/malloc.c: Likewise.
717 (struct malloc_state): Likewise.
718 (struct malloc_par): Likewise.
719 (__libc_realloc): Likewise.
720 (__libc_mallopt): Likewise.
721
7222013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
723
724 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
725
7262013-12-09 Ondřej Bílka <neleai@seznam.cz>
727
728 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
729 macro to a function. Check for zero perturb_byte.
730 (_int_malloc, _int_free): Remove zero perturb_byte checks.
731
7322013-12-09 Ondřej Bílka <neleai@seznam.cz>
733
734 * malloc/malloc.c: (force_reg): Remove.
735 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
736 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
737 force_reg by atomic_forced_read.
738 * malloc/arena.c (ptmalloc_init): Likewise.
739 * malloc/hooks.c (top_check): Likewise.
740
7412013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
742
743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
744
7452013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
746
747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
748
7492013-12-08 Joseph Myers <joseph@codesourcery.com>
750
751 * math/auto-libm-test-in: Add tests of lgamma.
752 * math/auto-libm-test-out: Regenerated.
753 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
754 (M_LOG_2_SQRT_PIl): Likewise.
755 (lgamma_test_data): Use AUTO_TESTS_f_f1.
756 * math/gen-auto-libm-tests.c (func_calc_method): Add value
757 mpfr_f_f1.
758 (func_calc_desc): Add mpfr_f_f1 union field.
759 (ARGS1): New macro.
760 (ARGS2): Likewise.
761 (ARGS3): Likewise.
762 (ARGS4): Likewise.
763 (RET1): Likewise.
764 (RET2): Likewise.
765 (CALC): Likewise.
766 (FUNC): Likewise.
767 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
768 (test_functions): Add lgamma.
769 (calc_generic_results): Handle mpfr_f_f1.
770 * sysdeps/i386/fpu/libm-test-ulps: Update.
771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
772
7732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
774
775 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
776 __mpn_add_n for PowerPC64/POWER7.
777 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
778 __mpn_sub_n for PowerPC64/POWER7.
779
7802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
781
782 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
783 __mpn_addmul_1 for PowerPC64.
784 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
785 __mpn_submul_1 for PowerPC64.
786 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
787 for PowerPC64.
788 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
789 for PowerPC64.
790
7912013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
792
793 [BZ #15089]
794 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
795
7962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
797
798 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
799
8002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
801
802 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
803 add multiarch folders.
804 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
805 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
806 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
807 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
808 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
809 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
810 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
811 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
812 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
813 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
814 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
821
8222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
823
824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
825 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
827 New file.
828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
829 New file.
830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
831 multiarch __ieee754_hypot for PowerPC32.
832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
833 New file.
834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
835 New file.
836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
837 multiarch __ieee754_hypotf for PowerPC32.
838
8392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
840
841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
842 long_double_symbol only if __logbl is defined.
843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
844 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
846 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
848 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
850 path for implementation.
851 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
852 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
854 logb, and logbl multiarch implementations for PowerPC32.
855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
856 file.
857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
858 file.
859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
860 multiarch logb for PowerPC32.
861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
862 file.
863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
864 file.
865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
866 multiarch logbf for PowerPC32.
867 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
869 file.
870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
871 multiarch logbl implementation for PowerPC32.
872
8732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
874
875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
876 and modff multiarch implementations.
877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
878 New file.
879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
880 New file.
881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
882 multiarch modf for PowerPC32.
883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
884 New file.
885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
886 New file.
887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
888 multiarch modff for PowerPC32.
889
8902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
891
892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
893 and lrintf multiarch implementations.
894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
895 New file.
896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
897 New file.
898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
899 multiarch lrint for PowerPC32.
900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
901 file: multiarch lrintf for PowerPC32.
902
9032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
904
905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
906 and lroundf multiarch implementations.
907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
908 New file.
909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
910 New file.
911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
912 New file.
913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
914 multiarch lround for PowerPC32.
915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
916 file: multiarch lroundf for PowerPC32.
917
9182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
919
920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
921 copysign and copysignf multiarch implementations.
922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
923 New file.
924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
925 New file.
926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
927 file: multiarch copysign for PowerPC32.
928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
929 file: multiarch copysignf for PowerPC32.
930
9312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
932
933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
934 and truncf multiarch implementations.
935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
936 New file.
937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
938 file.
939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
940 multiarch trunc for PowerPC32.
941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
942 New file.
943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
944 New file.
945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
946 multiarch truncf for PowerPC32.
947
9482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
949
950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
951 and roundf multiarch implementations.
952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
953 New file.
954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
955 file.
956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
957 multiarch round for PowerPC32.
958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
959 New file.
960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
961 New file.
962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
963 multiarch roundf for PowerPC32.
964
9652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
966
967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
968 and floorf multiarch implementations.
969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
970 New file.
971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
972 file.
973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
974 multiarch floor for PowerPC32.
975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
976 New file.
977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
978 New file.
979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
980 multiarch floorf for PowerPC32.
981
9822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
983
984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
985 and ceilf multiarch implementations.
986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
987 New file.
988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
989 file.
990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
991 multiarch ceil for PowerPC32.
992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
993 New file.
994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
995 file.
996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
997 multiarch ceilf for PowerPC32.
998
9992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1000
1001 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1002 is defined.
1003 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1004 FINITEF is defined.
1005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1006 and finitef multiarch implementations.
1007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1008 New file.
1009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1010 file.
1011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1012 multiarch finite for PowerPC32.
1013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1014 New file.
1015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1016 file: multiarch finitef for PowerPC32.
1017
10182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1019
1020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1021 and isinff multiarch implementations.
1022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1023 file.
1024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1025 file.
1026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1027 multiarch isinf for PowerPC32.
1028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1029 New file.
1030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1031 multiarch isinff for PowerPC32.
1032
10332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1034
1035 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1036 alias when __isnan is defined.
1037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1038 and isnanf multiarch implementations.
1039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1040 file.
1041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1042 file.
1043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1044 file.
1045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1046 file.
1047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1048 multiarch isnan for PowerPC32.
1049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1050 New file.
1051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1052 New file.
1053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1054 multiarch isnanf for PowerPC32.
1055
10562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1057
1058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1059 and sqrtf multiarch implementations.
1060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1061 file.
1062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1063 file.
1064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1065 multiarch sqrt for PowerPC32.
1066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1067 file.
1068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1069 file.
1070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1071 multiarch sqrtf for PowerPC32.
1072
10732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1074
1075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1076 and llroundf multiarch implementations.
1077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1078 New file.
1079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1080 New file.
1081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1082 New file.
1083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1084 file: multiarch llround for PowerPC32.
1085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1086 file: multiarch llroundf for PowerPC32.
1087
10882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1089
1090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1091 multiarch PowerPC32 fpu implementations.
1092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1093 New file.
1094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1095 New file.
1096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1097 multiarch llrint for PowerPC32.
1098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1099 New file.
1100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1101 New file.
1102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1103 file.
1104
11052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1106
1107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1108
11092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110
1111 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1112 file.
1113 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1114 file.
1115 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1116 file.
1117 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1118 multiarch wordcopy for PPC32.
1119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1120 wordcopy objects.
1121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1122 (__libc_ifunc_impl_list): Likewise.
1123 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1124 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1125 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1126 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1127 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1128 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1129
11302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1131
1132 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1133 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1134 file.
1135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1136 file.
1137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1138 file.
1139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1140 multiarch wcscpy for PPC32.
1141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1142 multiarch objects.
1143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1144 (__libc_ifunc_impl_list): Likewise.
1145 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1146 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1147 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1148 sysdeps/powerpc/power6/wcscpy.c.
1149
11502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1151
1152 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1154 file.
1155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1156 file.
1157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1158 file.
1159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1160 multiarch wcsrchr for PPC32.
1161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1162 multiarch objects.
1163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1164 (__libc_ifunc_impl_list): Likewise.
1165 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1166 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1167 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1168 sysdeps/powerpc/power6/wcsrchr.c.
1169
11702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1171
1172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1173 file.
1174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1175 file.
1176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1177 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1178 multiarch wcschr for PPc32.
1179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1180 multiarch objects.
1181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1182 (__libc_ifunc_impl_list): Likewise.
1183 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1184 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1185 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1186 sysdeps/powerpc/power6/wcschr.c.
1187
11882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1189
1190 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1191 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1192 file.
1193 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1194 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1195 file: multiarch strchr for PPC32.
1196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1197 multiarch objects.
1198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1199 (__libc_ifunc_impl_list): Likewise.
1200
12012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1202
1203 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1204 name.
1205 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1206 file.
1207 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1208 file.
1209 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1210 multiarch strchrnul for PPC32.
1211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1212 multiarch objects.
1213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1214 (__libc_ifunc_impl_list): Likewise.
1215
12162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1217
1218 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1219 file.
1220 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1221 multiarch strncasecmp for PPC32.
1222 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1223 file.
1224 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1225 multiarch strncasecmp_l for PPC32.
1226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1227 strncasecmp multiarch objects.
1228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1229 (__libc_ifunc_impl_list): Likewise.
1230
12312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1232
1233 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1234 file.
1235 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1236 multiarch strncasecmp for PPC32.
1237 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1238 New file.
1239 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1240 multiarch strcasecmp_l for PPC32.
1241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1242 multiarch objects.
1243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1244 (__libc_ifunc_impl_list): Likewise.
1245
12462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1247
1248 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1249 file.
1250 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1251 file.
1252 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1253 multiarch strncmp for PPC32.
1254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1255 multiarch objects.
1256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1257 (__libc_ifunc_impl_list): Likewise.
1258
12592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1260
1261 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1262 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1263 file.
1264 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1265 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1267 multiarch objects.
1268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1269 (__libc_ifunc_impl_list): Likewise.
1270
12712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1272
1273 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1274 file.
1275 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1276 file.
1277 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1279 multiarch objects.
1280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1281 (__libc_ifunc_impl_list): Likewise.
1282
12832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1284
1285 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1286 file.
1287 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1288 file.
1289 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1290 multiarch rawmemchr for PPC32.
1291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1292 multiarch objects.
1293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1294 (__libc_ifunc_impl_list): Likewise.
1295
12962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1297
1298 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1299 file.
1300 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1301 file.
1302 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1303 file: memrchr multiarch for PPC32.
1304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1305 multiarch objects.
1306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1307 (__libc_ifunc_impl_list): Likewise.
1308
13092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1310
1311 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1312 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1313 file.
1314 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1315 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1316 multiarch memchr for PPC32.
1317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1318 multiarch objects.
1319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1320 (__libc_ifunc_impl_list): Likewise.
1321
13222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323
1324 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1325 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1326 file.
1327 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1328 file.
1329 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1330 file: multiarch mempcpy for PPC32.
1331 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1332 multiarch objects.
1333 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1334 (__libc_ifunc_impl_list): Likewise.
1335
13362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1337
1338 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1339 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1340 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1341 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1342 multiarch bzero for PPC32.
1343 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1344 file.
1345 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1346 file.
1347 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1348 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1349 file: multiarch memset for PPC32.
1350 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1352 memset multiarch objects.
1353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1354 (__libc_ifunc_impl_list): Likewise.
1355
13562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1357
1358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1359 file.
1360 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1361 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1362 memcmp for PPC32.
1363 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1365 multiarch objects.
1366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1367 (__libc_ifunc_impl_list): Likewise.
1368
13692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1370
1371 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1372 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1373 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1374 file.
1375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1376 file.
1377 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1378 file.
1379 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1380 multiarch memcpy for PPC32.
1381 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1382 multiarch objects.
1383 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1384 (__libc_ifunc_impl_list): Likewise.
1385
13862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1387
1388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1389 support multiarch for POWER/PPC32.
1390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1391 Likewise.
1392 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1394 Implies file to make multiarch folder appers before the fpu and
1395 default folder for power4 configuration.
1396
13972013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1398
1399 * scripts/bench.pl: Append volatile keyword to type.
1400
14012013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1402
1403 * sysdeps/sh/sotruss-lib.c: New file.
1404 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1405
14062013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1407
1408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1409
14102013-12-05 Joseph Myers <joseph@codesourcery.com>
1411
1412 [BZ #6810]
1413 * math/w_tgamma.c: Include <errno.h>.
1414 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1415 * math/w_tgammaf.c: Include <errno.h>.
1416 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1417 * math/w_tgammal.c: Include <errno.h>.
1418 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1419 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1420 underflow. Add more tgamma tests.
1421 * math/auto-libm-test-out: Regenerated.
1422 * sysdeps/i386/fpu/libm-test-ulps: Update.
1423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1424
1425 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1426 sin, sinh, tan, tanh, tgamma, y0 and y1.
1427 * math/auto-libm-test-out: Regenerated.
1428 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1429 (TEST_COND_x86): Likewise.
1430 (M_E2l): Remove macro.
1431 (M_E3l): Likewise.
1432 (M_2_SQRT_PIl): Likewise.
1433 (M_SQRT_PIl): Likewise.
1434 (M_1_DIV_El): Likewise.
1435 (log_test_data): Use AUTO_TESTS_f_f.
1436 (log10_test_data): Likewise.
1437 (log1p_test_data): Likewise.
1438 (log2_test_data): Likewise.
1439 (sin_test_data): Likewise.
1440 (sin_tonearest_test_data): Likewise.
1441 (sin_towardzero_test_data): Likewise.
1442 (sin_downward_test_data): Likewise.
1443 (sin_upward_test_data): Likewise.
1444 (sinh_test_data): Likewise.
1445 (sinh_tonearest_test_data): Likewise.
1446 (sinh_towardzero_test_data): Likewise.
1447 (sinh_downward_test_data): Likewise.
1448 (sinh_upward_test_data): Likewise.
1449 (tan_test_data): Likewise.
1450 (tan_tonearest_test_data): Likewise.
1451 (tan_towardzero_test_data): Likewise.
1452 (tan_downward_test_data): Likewise.
1453 (tan_upward_test_data): Likewise.
1454 (tanh_test_data): Likewise.
1455 (tgamma_test_data): Likewise.
1456 (y0_test_data): Likewise.
1457 (y1_test_data): Likewise.
1458 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1459 (special_real_inputs): Add pi/4.
1460 * sysdeps/i386/fpu/libm-test-ulps: Update.
1461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1462
14632013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1464
1465 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1466 "longjmp_target" static probes.
1467 (__longjmp): Rename to __longjmp_symbol.
1468 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1469 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1470 on which longjmp to generate.
1471 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1472 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1473 probe.
1474 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1475 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1476 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1477 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1478 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1479 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1481 __longjmp_symbol based on which __longjmp to generate.
1482 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1483 probe.
1484 (setjmp): Rename to setjmp_symbol.
1485 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1486 (_setjmp): Rename to _setjmp_symbol.
1487 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1488 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1489 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1490 which setjmp to generate.
1491 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1492 "longjmp_target" static probes.
1493
14942013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1495
1496 * benchtests/README: Add note about output arguments.
1497 * benchtests/bench-sincos.c: Remove file.
1498 * benchtests/sincos-inputs: New file.
1499 * scripts/bench.pl: Identify output arguments and define
1500 static variables for them.
1501
1502 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1503
1504 [BZ #15941]
1505 * Makefile (INSTALL): Add install-plain.texi as the primary
1506 dependency.
1507 * manual/install-plain.texi: New file.
1508 * manual/install.texi: Include node directive only for
1509 non-plaintext output.
1510
15112013-12-04 Joseph Myers <joseph@codesourcery.com>
1512
1513 * stdlib/longlong.h: Update from GCC.
1514
1515 [BZ #6807]
1516 [BZ #15901]
1517 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1518 * math/w_j0f.c (y0f): Likewise.
1519 * math/w_j0l.c (__y0l): Likewise.
1520 * math/w_j1.c (y1): Likewise.
1521 * math/w_j1f.c (y1f): Likewise.
1522 * math/w_j1l.c (__y1l): Likewise
1523 * math/w_jn.c (yn): Likewise.
1524 * math/w_jnf.c (ynf): Likewise.
1525 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1526 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1527 value for Bessel function domain errors outside _SVID_ mode.
1528 Adjust sign of return value for yn (negative integer, 0).
1529 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1530 by zero in return for negative x and set sign appropriately for
1531 negative n.
1532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1533 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1534 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1535 expectations in error cases.
1536 (y1_test_data): Likewise.
1537 (yn_test_data): Likewise.
1538 * sysdeps/i386/fpu/libm-test-ulps: Update.
1539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1540
15412013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1542
1543 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1544 "64" to "64-v1". Add "64-v2".
1545 (abi-64-options): Rename to ...
1546 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1547 (abi-64-condition): Rename to ...
1548 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1549 (abi-64-ld-soname): Rename to ...
1550 (abi-64-v1-ld-soname): ... this.
1551 (abi-64-v2-options): Define.
1552 (abi-64-v2-condition): Likewise.
1553 (abi-64-v2-ld-soname): Likewise.
1554 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1555 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1559
15602013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1561 Alan Modra <amodra@gmail.com>
1562
1563 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1564 New versions for use with the ELFv2 ABI.
1565 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1566 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1567 declaration.
1568 (struct La_ppc64v2_retval): Likewise.
1569 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1570 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1571 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1572 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1573 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1574 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1575 Do not save or restore CR.
1576 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1577 (_dl_profile_resolve): Do no save or restore CR. Support extended
1578 return values for ELFv2 ABI. Fix location of FPR return registers.
1579 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1580 updated values for _CALL_ELF == 2.
1581 (La_regs, La_retval, int_retval): Likewise.
1582
15832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1584
1585 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1586 (FRAME_MIN_SIZE_PARM): Likewise.
1587 (FRAME_BACKCHAIN): Likewise.
1588 (FRAME_CR_SAVE): Likewise.
1589 (FRAME_LR_SAVE): Likewise.
1590 (FRAME_TOC_SAVE): Likewise.
1591 (FRAME_PARM_SAVE): Likewise.
1592 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1593 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1594 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1595 (call_mcount_parm_offset): New macro.
1596 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1597 (PROF): Use symbolic stack frame offsets.
1598 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1599 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1600 Redefine in terms of FRAME_MIN_SIZE.
1601 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1602 (_dl_profile_resolve): Likewise. Update comment.
1603 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1604 symbols stack frame offsets.
1605 (__sigsetjmp): Likewise.
1606 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1607 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1608 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1609 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1610
1611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1612 (FRAME_BACKCHAIN): Remove.
1613 (FRAME_CR_SAVE): Likewise.
1614 (FRAME_LR_SAVE): Likewise.
1615 (FRAME_COMPILER_DW): Likewise.
1616 (FRAME_LINKER_DW): Likewise.
1617 (FRAME_TOC_SAVE): Likewise.
1618 (FRAME_PARM_SAVE): Likewise.
1619 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1620 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1621 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1623 (CHECK_SP): Use symbolic stack frame offsets.
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1625 zone" instead of caller's parameter save area for temp storage.
1626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1627 Likewise. Also, use symbolic stack frame offsets.
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1629 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1630 our own stack frame instead of the caller's.
1631 (__socket): Use symbolic stack frame offsets.
1632
16332013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1634 Alan Modra <amodra@gmail.com>
1635
1636 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1637 Define.
1638 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1639 PPC64_LOCAL_ENTRY_OFFSET): Define.
1640 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1641 New function.
1642 (elf_machine_fixup_plt): Call it.
1643 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1644 reloc arguments.
1645 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1646 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1647 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1648 r2 before calling target.
1649
16502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1651 Alan Modra <amodra@gmail.com>
1652
1653 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1654 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1655 versions of macros to support ELFv2 ABI.
1656 (LOCALENTRY): New macro.
1657 (ENTRY, EALIGN): Use it.
1658 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1659 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1660 fall through into ENTRY entry point.
1661 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1662 Only define if _CALL_ELF != 2.
1663
1664 (elf_machine_matches_host): Verify ABI version matches.
1665 (RTLD_START): Use LOCALENTRY.
1666 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1667 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1668 (PLT_ENTRY_WORDS): New macro.
1669 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1670 (elf_machine_runtime_setup): Support ELFv2 ABI.
1671 (elf_machine_fixup_plt): Likewise.
1672 (elf_machine_plt_conflict): Likewise.
1673 (resolve_ifunc): Likewise.
1674 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1675 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1676 Likewise.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1678 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1680 (makecontext): Support ELFv2 ABI.
1681 * elf/elf.h (EF_PPC64_ABI): Define.
1682
16832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1684
1685 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1686 New assembler macro.
1687 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1688 [ASSEMBLER] (ENTRY): ... but instead here ...
1689 [ASSEMBLER] (EALIGN): ... and here.
1690 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1691 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1692 [!ASSEMBLER] (ENTRY_2): Use it.
1693 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1694 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1695 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1696 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1697 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1699 Use PPC64_LOAD_FUNCPTR.
1700
17012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1702
1703 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1704
17052013-12-04 Alan Modra <amodra@gmail.com>
1706
1707 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1708 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1709 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1710 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1711
1712 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1713 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1714 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1715 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1716 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1717 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1718
17192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1720
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1722 (__makecontext): Fix incorrect CFI when backtracing out of
1723 context created via makecontext.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1725 (__setcontext): Fix incorrect CFI during switch to new context.
1726 (__novec_setcontext): Likewise.
1727
17282013-12-04 Ondřej Bílka <neleai@seznam.cz>
1729
1730 [BZ #4772]
1731 * time/strptime_l.c (__strptime_internal): Allow modifiers
1732 in strptime.
1733 * time/tst-strptime.c (day_tests): Add testcase.
1734
1735
17362013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1737
1738 * scripts/bench.pl: Skip over blank lines.
1739
17402013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1741
1742 [BZ #926]
1743 * manual/time.texi (Calendar Time): Clarify what timezone functions
1744 use.
1745
17462013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1747
1748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1749
17502013-12-04 Ondřej Bílka <neleai@seznam.cz>
1751
1752 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1753 implementation.
1754 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1755 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1756 * debug/memset_chk.c (__memset_chk): Likewise.
1757 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1758 * debug/strncpy_chk.c: Likewise.
1759
17602013-12-03 Joseph Myers <joseph@codesourcery.com>
1761
1762 [BZ #15268]
1763 [BZ #15425]
1764 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1765 (__ieee754_exp): For possibly underflowing results, check size of
1766 result and force underflow exception if required.
1767 * math/auto-libm-test-in: Add more tests of exp.
1768 * math/auto-libm-test-out: Regenerated.
1769 * sysdeps/i386/fpu/libm-test-ulps: Update.
1770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1771
1772 [BZ #16283]
1773 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1774 * math/w_exp2f.c (__exp2f): Likewise.
1775 * math/w_exp2l.c (__exp2l): Likewise.
1776 * math/auto-libm-test-in: Do not allow missing errno on exp2
1777 underflow.
1778 * math/auto-libm-test-out: Regenerated.
1779
17802013-12-03 Ondřej Bílka <neleai@seznam.cz>
1781
1782 [BZ #16274]
1783 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1784 handle filename validation.
1785 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1786 (do_open): Delete.
1787
17882013-12-03 Joseph Myers <joseph@codesourcery.com>
1789
1790 [BZ #6786]
1791 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1792 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1793 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1794 <float.h>.
1795 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1796 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1797 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1798 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1799 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1800 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1801 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1802 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1803 Add more erfc tests.
1804 * math/auto-libm-test-out: Regenerated.
1805 * sysdeps/i386/fpu/libm-test-ulps: Update.
1806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1807
1808 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1809 exp2, expm1, j0 and j1.
1810 * math/auto-libm-test-out: Regenerated.
1811 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1812 (erfc_test_data): Likewise.
1813 (exp_test_data): Likewise.
1814 (exp_tonearest_test_data): Likewise.
1815 (exp_towardzero_test_data): Likewise.
1816 (exp_downward_test_data): Likewise.
1817 (exp_upward_test_data): Likewise.
1818 (exp10_test_data): Likewise.
1819 (exp2_test_data): Likewise.
1820 (expm1_test_data): Likewise.
1821 (j0_test_data): Likewise.
1822 (j1_test_data): Likewise.
1823 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1824 (input_flag_type): Add flag_xfail_rounding.
1825 (input_flags): Add xfail-rounding.
1826 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1827 (output_for_one_input_case): Handle flag_xfail_rounding.
1828 * sysdeps/i386/fpu/libm-test-ulps: Update.
1829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1830
18312013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1832
1833 [BZ #16289]
1834 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1835 division by 0.
1836
18372013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1838
1839 [BZ #16195]
1840 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1841 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1842 (STAP_PROBE0): New macro.
1843 (STAP_PROBE1): Likewise.
1844 (STAP_PROBE2): Likewise.
1845 (STAP_PROBE3): Likewise.
1846 (STAP_PROBE4): Likewise.
1847
18482013-12-02 Ondřej Bílka <neleai@seznam.cz>
1849
1850 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1851
18522013-12-02 Steve Ellcey <sellcey@mips.com>
1853
1854 * benchtests/Makefile (bench): Add sqrt.
1855 (LDLIBS-bench-sqrt): New.
1856 * benchtests/sqrt-input: New.
1857
18582013-12-02 Pavel Simerda <psimerda@redhat.com>
1859
1860 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1861 (GAIH_EAI): Likewise.
1862 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1863 (gaih_inet): Likewise.
1864 (getaddrinfo): Don't use GAIH_EAI.
1865
1866 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1867 (struct gaih): Remove definition.
1868
18692013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1870
1871 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1872 Use HERRNOP directly.
1873
18742013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1875
1876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1877
18782013-11-30 Joseph Myers <joseph@codesourcery.com>
1879
1880 * math/gen-auto-libm-tests.c (test_functions): Add more
1881 single-argument functions.
1882 (special_fill_pi_2): New function.
1883 (special_fill_minus_pi_2): Likewise.
1884 (special_fill_pi_6): Likewise.
1885 (special_fill_minus_pi_6): Likewise.
1886 (special_fill_pi_3): Likewise.
1887 (special_fill_2pi_3): Likewise.
1888 (special_fill_e): Likewise.
1889 (special_fill_1_e): Likewise.
1890 (special_fill_e_minus_1): Likewise.
1891 (special_real_inputs): Add more special inputs.
1892 (output_for_one_input_case): Do not require ERANGE on underflow to
1893 zero if round-to-nearest result does not underflow to zero, unless
1894 exact results required.
1895 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1896 atan, atanh, cbrt, cos and cosh.
1897 * math/auto-libm-test-out: Regenerated.
1898 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1899 (acos_tonearest_test_data): Likewise.
1900 (acos_towardzero_test_data): Likewise.
1901 (acos_downward_test_data): Likewise.
1902 (acos_upward_test_data): Likewise.
1903 (acosh_test_data): Likewise.
1904 (asin_test_data): Likewise.
1905 (asin_tonearest_test_data): Likewise.
1906 (asin_towardzero_test_data): Likewise.
1907 (asin_upward_test_data): Likewise.
1908 (asinh_test_data): Likewise.
1909 (atan_test_data): Likewise.
1910 (atanh_test_data): Likewise.
1911 (cbrt_test_data): Likewise.
1912 (cos_test_data): Likewise.
1913 (cos_tonearest_test_data): Likewise.
1914 (cos_towardzero_test_data): Likewise.
1915 (cos_downward_test_data): Likewise.
1916 (cos_upward_test_data): Likewise.
1917 (cosh_test_data): Likewise.
1918 (cosh_tonearest_test_data): Likewise.
1919 (cosh_towardzero_test_data): Likewise.
1920 (cosh_downward_test_data): Likewise.
1921 (cosh_upward_test_data): Likewise.
1922 * sysdeps/i386/fpu/libm-test-ulps: Update.
1923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1924
19252013-11-29 Joseph Myers <joseph@codesourcery.com>
1926
1927 [BZ #6787]
1928 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1929 * math/w_exp10f.c (__exp10f): Likewise.
1930 * math/w_exp10l.c (__exp10l): Likewise.
1931 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1932 errno settings in existing tests.
1933
1934 [BZ #14032]
1935 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1936 precision control set to double precision.
1937 * sysdeps/i386/fpu/w_sqrt.c: New file.
1938 * math/auto-libm-test-in: Add more tests.
1939 * math/auto-libm-test-out: Update.
1940
1941 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1942 (sqrt_test_tonearest): New function.
1943 (sqrt_towardzero_test_data): New variable.
1944 (sqrt_test_towardzero): New function.
1945 (sqrt_downward_test_data): New variable.
1946 (sqrt_test_downward): New function.
1947 (sqrt_upward_test_data): New variable.
1948 (sqrt_test_upward): New function.
1949 (main): Call the new functions.
1950
1951 * math/gen-auto-libm-tests.c: New file.
1952 * math/auto-libm-test-in: Likewise.
1953 * math/auto-libm-test-out: New generated file.
1954 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1955 variables.
1956 (%beautify): Add generated representations of zero.
1957 (top level): Set $auto_input and call parse_auto_input.
1958 (beautify): Remove trailing "f" from hex float constants.
1959 (parse_args): Handle XFAIL_TEST.
1960 (convert_condition): New function.
1961 (or_value): Likewise.
1962 (or_cond_value): Likewise.
1963 (generate_testfile): Handle AUTO_TESTS_* lines.
1964 (parse_auto_input): New function.
1965 * math/libm-test.inc (XFAIL_TEST): New macro.
1966 (ERRNO_UNCHANGED): Update value.
1967 (ERRNO_EDOM): Likewise.
1968 (ERRNO_ERANGE): Likewise.
1969 (IGNORE_RESULT): Likewise.
1970 (TEST_COND_flt_32): New macro.
1971 (TEST_COND_dbl_64): Likewise.
1972 (TEST_COND_ldbl_96_intel): Likewise.
1973 (TEST_COND_ldbl_96_m68k): Likewise.
1974 (TEST_COND_ldbl_128): Likewise.
1975 (TEST_COND_ldbl_128ibm): Likewise.
1976 (TEST_COND_long32): Likewise.
1977 (TEST_COND_long64): Likewise.
1978 (TEST_COND_before_rounding): Likewise.
1979 (TEST_COND_after_rounding): Likewise.
1980 (enable_test): Handle XFAIL_TEST flag.
1981 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1982 with finite results.
1983 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1984 auto-libm-test-out.
1985
19862013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1987 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1988
1989 [BZ #16214]
1990 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1991 __tls_get_addr_internal instead of __tls_get_offset in order to
1992 avoid GOT pointer dependency. Make rtld export
1993 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1994 __tls_get_addr since we are a __tls_get_offset platform.
1995 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1996 GOT pointer being set up before.
1997 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1998
19992013-11-28 Joseph Myers <joseph@codesourcery.com>
2000
2001 * manual/math.texi (Errors in Math Functions): Document accuracy
2002 goals.
2003
2004 [BZ #15004]
2005 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2006 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2007 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2008 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2009 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2010 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2011 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2012 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2013 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2014 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2015 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2016 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2017 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2018 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2019 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2020 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2021
2022 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2023 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2024 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2025 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2026 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2027 Likewise.
2028 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2029 Likewise.
2030 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2031 Likewise.
2032 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2033 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2034 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2035 atomic-feupdateenv and flt-rounds.
2036 * sysdeps/powerpc/nofpu/Versions (libc): Add
2037 __atomic_feholdexcept, __atomic_feclearexcept,
2038 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2039 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2040 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2041 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2042 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2043 here.
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2045 Update.
2046
2047 * manual/arith.texi (FP Exceptions): Document that exceptions may
2048 not be raised when matherr is used.
2049 (Math Error Reporting): Document overflow in directed rounding
2050 modes. Document that errno may not be set when finite values are
2051 returned on overflow. Document intent to set errno on underflow
2052 only for underflow to zero.
2053
2054 [BZ #16271]
2055 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2056 round-to-nearest then adjust result for other rounding modes.
2057 * include/fenv.h (fegetround): Use libm_hidden_proto.
2058 * math/fegetround.c (fegetround): Use libm_hidden_def.
2059 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2060 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2061 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2062 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2063 Likewise.
2064 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2065 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2066 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2067 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2068
20692013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2070
2071 [BZ #16077]
2072 * nss/Versions (libnss_files): Add
2073 _nss_files_gethostbyname3_r.
2074 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2075 New function.
2076 (HOST_DB_LOOKUP): Remove macro.
2077 (_nss_files_gethostbyname_r): Implement function without the
2078 HOST_DB_LOOKUP macro.
2079 (_nss_files_gethostbyname2_r): Likewise.
2080
20812013-11-28 Ondřej Bílka <neleai@seznam.cz>
2082
2083 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2084
20852013-11-26 Uros Bizjak <ubizjak@gmail.com>
2086
2087 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2088 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2089 warning.
2090
20912013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2092
2093 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2094 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2095 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2096 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2097 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2098 __fe_nomask_env_priv and attribute_hidden.
2099 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2100 (libc_feupdateenv_test_ppc): Likewise.
2101 (libc_feresetround_ppc): Likewise.
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2103 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2104 compat_symbol macro.
2105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2106 (__fe_nomask_env): Likewise.
2107 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2108
21092013-11-26 Ondřej Bílka <neleai@seznam.cz>
2110
2111 * string/Makefile: Remove ifunc tests.
2112 * string/test-string.h: Define TEST_IFUNC.
2113 * string/test-bcopy-ifunc.c: Remove.
2114 * string/test-bzero-ifunc.c: Likewise.
2115 * string/test-memccpy-ifunc.c: Likewise.
2116 * string/test-memchr-ifunc.c: Likewise.
2117 * string/test-memcmp-ifunc.c: Likewise.
2118 * string/test-memcpy-ifunc.c: Likewise.
2119 * string/test-memmem-ifunc.c: Likewise.
2120 * string/test-memmove-ifunc.c: Likewise.
2121 * string/test-mempcpy-ifunc.c: Likewise.
2122 * string/test-memrchr-ifunc.c: Likewise.
2123 * string/test-memset-ifunc.c: Likewise.
2124 * string/test-rawmemchr-ifunc.c: Likewise.
2125 * string/test-stpcpy-ifunc.c: Likewise.
2126 * string/test-stpncpy-ifunc.c: Likewise.
2127 * string/test-strcasecmp-ifunc.c: Likewise.
2128 * string/test-strcasestr-ifunc.c: Likewise.
2129 * string/test-strcat-ifunc.c: Likewise.
2130 * string/test-strchr-ifunc.c: Likewise.
2131 * string/test-strchrnul-ifunc.c: Likewise.
2132 * string/test-strcmp-ifunc.c: Likewise.
2133 * string/test-strcpy-ifunc.c: Likewise.
2134 * string/test-strcspn-ifunc.c: Likewise.
2135 * string/test-strlen-ifunc.c: Likewise.
2136 * string/test-strncasecmp-ifunc.c: Likewise.
2137 * string/test-strncat-ifunc.c: Likewise.
2138 * string/test-strncmp-ifunc.c: Likewise.
2139 * string/test-strncpy-ifunc.c: Likewise.
2140 * string/test-strnlen-ifunc.c: Likewise.
2141 * string/test-strpbrk-ifunc.c: Likewise.
2142 * string/test-strrchr-ifunc.c: Likewise.
2143 * string/test-strspn-ifunc.c: Likewise.
2144 * string/test-strstr-ifunc.c: Likewise.
2145
21462013-11-26 Ondřej Bílka <neleai@seznam.cz>
2147
2148 * benchtests/Makefile: Remove ifunc tests.
2149 * benchtests/bench-string.h: Define TEST_IFUNC.
2150 * benchtests/bench-bcopy-ifunc.c: Remove.
2151 * benchtests/bench-bzero-ifunc.c: Likewise.
2152 * benchtests/bench-memccpy-ifunc.c: Likewise.
2153 * benchtests/bench-memchr-ifunc.c: Likewise.
2154 * benchtests/bench-memcmp-ifunc.c: Likewise.
2155 * benchtests/bench-memcpy-ifunc.c: Likewise.
2156 * benchtests/bench-memmem-ifunc.c: Likewise.
2157 * benchtests/bench-memmove-ifunc.c: Likewise.
2158 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2159 * benchtests/bench-memrchr-ifunc.c: Likewise.
2160 * benchtests/bench-memset-ifunc.c: Likewise.
2161 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2162 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2163 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2164 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2165 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2166 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2167 * benchtests/bench-strcat-ifunc.c: Likewise.
2168 * benchtests/bench-strchr-ifunc.c: Likewise.
2169 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2170 * benchtests/bench-strcmp-ifunc.c: Likewise.
2171 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2172 * benchtests/bench-strcpy-ifunc.c: Likewise.
2173 * benchtests/bench-strcspn-ifunc.c: Likewise.
2174 * benchtests/bench-strlen-ifunc.c: Likewise.
2175 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2176 * benchtests/bench-strncat-ifunc.c: Likewise.
2177 * benchtests/bench-strncmp-ifunc.c: Likewise.
2178 * benchtests/bench-strncpy-ifunc.c: Likewise.
2179 * benchtests/bench-strnlen-ifunc.c: Likewise.
2180 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2181 * benchtests/bench-strrchr-ifunc.c: Likewise.
2182 * benchtests/bench-strsep-ifunc.c: Likewise.
2183 * benchtests/bench-strspn-ifunc.c: Likewise.
2184 * benchtests/bench-strstr-ifunc.c: Likewise.
2185
21862013-11-26 Ondřej Bílka <neleai@seznam.cz>
2187
2188 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2189
21902013-11-26 Ondřej Bílka <neleai@seznam.cz>
2191
2192 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2193 * rt/aio.h: Likewise.
2194 * sysdeps/gnu/bits/utmp.h: Likewise.
2195 * sysdeps/gnu/bits/utmpx.h: Likewise.
2196 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2197 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2198 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2199 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2200 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2201 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2202 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2203 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2204 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2205 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2206 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2207 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2208 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2210 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2211 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2212 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2213 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2214 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2215 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2216 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2217 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2218 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2219 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2220 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2222 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2223 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2224 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2225 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2226 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2227 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2228 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2229 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2230 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2231 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2232 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2233 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2234 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2235 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2236 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2237 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2238
22392013-11-25 Carlos O'Donell <carlos@redhat.com>
2240
2241 [BZ #16245]
2242 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2243 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2244
22452013-11-25 Joseph Myers <joseph@codesourcery.com>
2246
2247 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2248 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2249 Likewise.
2250
22512013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2252
2253 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2254 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2255 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2256 (__fesetround): Remove define.
2257 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2258 rounding and exceptions handling.
2259 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2260 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2261 (__fe_nomask_env): Likewise.
2262 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2263 __fegetround instead of fegetround.
2264 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2265 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2266
22672013-11-21 Roland McGrath <roland@hack.frob.com>
2268
2269 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2270 it's there.
2271
2272 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2273
22742013-11-21 Meador Inge <meadori@codesourcery.com>
2275
2276 [BZ #11157]
2277 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2278 (encrypt_r): Likewise.
2279 * malloc/obstack.h (obstack_free): Likewise.
2280 * posix/unistd.h (encrypt): Likewise.
2281
22822013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2283
2284 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2285 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2286 DL_CALL_DT_FINI() that call the functions directly.
2287 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2288 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2289 * elf/dl-fini.c: Likewise.
2290
22912013-11-20 Ondřej Bílka <neleai@seznam.cz>
2292
2293 * malloc/hooks.c (memalign_check): Add alignment rounding.
2294 * malloc/malloc.c (_mid_memalign): New function.
2295 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2296 Implement by calling _mid_memalign.
2297 * manual/probes.texi (Memory Allocation Probes): Remove
2298 memory_valloc_retry and memory_pvalloc_retry.
2299
23002013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2301
2302 * locale/programs/locarchive.c (open_archive): Add const
2303 qualifier to ARCHIVEFNAME and copy default fname to
2304 DEFAULT_FNAME.
2305
2306 [BZ #15601]
2307 * libio/tst-widetext.input: Rename Oriya to Odia.
2308 * locale/iso-639.def: Likewise.
2309
2310 * manual/probes.texi (Mathematical Function Probes): Add
2311 documentation for sin, cos, asin and acos probes.
2312 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2313 (__sin32): Add slowasin probe.
2314 (__cos32): Add slowacos probe.
2315 (__mpsin): Add slowsin probe.
2316 (__mpcos): Add slowcos probe.
2317
23182013-11-19 Joseph Myers <joseph@codesourcery.com>
2319
2320 [BZ #15483]
2321 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2322 thread-local __sim_exceptions_thread and global
2323 __sim_exceptions_global.
2324 (__sim_disabled_exceptions): Change to thread-local
2325 __sim_disabled_exceptions_thread and global
2326 __sim_disabled_exceptions_global.
2327 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2328 and global __sim_round_mode_global.
2329 (__simulate_exceptions): Use thread-local floating-point state and
2330 set global state from it as needed.
2331 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2332 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2333 __sim_round_mode_thread.
2334 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2335 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2336 and global __sim_exceptions_global.
2337 (__sim_disabled_exceptions): Change to thread-local
2338 __sim_disabled_exceptions_thread and global
2339 __sim_disabled_exceptions_global.
2340 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2341 and global __sim_round_mode_global.
2342 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2343 (SIM_SET_GLOBAL): Likewise.
2344 * sysdeps/powerpc/soft-fp/sfp-machine.h
2345 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2346 __sim_round_mode_thread.
2347 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2348 __sim_disabled_exceptions_thread.
2349 (__sim_exceptions): Change to __sim_exceptions_thread.
2350 (__sim_disabled_exceptions): Change to
2351 __sim_disabled_exceptions_thread.
2352 (__sim_round_mode): Change to __sim_round_mode_thread.
2353 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2354 thread-local floating-point state and set global state from it as
2355 needed.
2356 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2357 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2358 (__sim_disabled_exceptions): Remove extern declaration.
2359 (feenableexcept): Use thread-local floating-point state and set
2360 global state from it as needed.
2361 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2362 extern declaration.
2363 (__sim_disabled_exceptions): Likewise.
2364 (__sim_round_mode): Likewise.
2365 (__fegetenv): Use thread-local floating-point state.
2366 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2367 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2368 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2369 floating-point state and set global state from it as needed.
2370 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2371 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2372 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2373 Likewise.
2374 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2375 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2376 Likewise.
2377 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2378 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2379 Use __sim_round_mode_thread.
2380 * math/test-fenv-tls.c: New file.
2381 * math/Makefile (tests): Add test-fenv-tls.
2382 ($(objpfx)test-fenv-tls): Depend on
2383 $(common-objpfx)nptl/libpthread.so.
2384
23852013-11-19 Andreas Schwab <schwab@suse.de>
2386
2387 * locale/programs/locale.c (show_info): Decode wordarray elements.
2388 * locale/categories.def (LC_MONETARY): Add element for
2389 _NL_MONETARY_CRNCYSTR.
2390 * locale/C-monetary.c (conversion_rate): New variable.
2391 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2392 element.
2393
23942013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2395
2396 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2397 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2398
23992013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2400
2401 * elf/Makefile (tst-auxv): New test.
2402 * elf/tst-auxv.c: New
2403 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2404
24052013-11-18 Joseph Myers <joseph@codesourcery.com>
2406
2407 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2408 (hidden_proto): Caller changed.
2409 (hidden_tls_proto): New macro.
2410 (libc_hidden_tls_proto): Likewise.
2411 (rtld_hidden_tls_proto): Likewise.
2412 (libm_hidden_tls_proto): Likewise.
2413 (libresolv_hidden_tls_proto): Likewise.
2414 (librt_hidden_tls_proto): Likewise.
2415 (libdl_hidden_tls_proto): Likewise.
2416 (libnss_files_hidden_tls_proto): Likewise.
2417 (libnsl_hidden_tls_proto): Likewise.
2418 (libnss_nisplus_hidden_tls_proto): Likewise.
2419 (libutil_hidden_tls_proto): Likewise.
2420
24212013-11-18 Ondřej Bílka <neleai@seznam.cz>
2422
2423 [BZ #10253]
2424 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2425 (decompose_rpath): Defer expansion to fillin_rpath.
2426 (_dl_init_paths): Pass linkmap to fillin_rpath.
2427
24282013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2429
2430 * benchtests/Makefile: Add strsep.
2431 * benchtests/bench-strsep.c: New file: strsep benchtest.
2432 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2433
24342013-11-18 Andreas Schwab <schwab@suse.de>
2435
2436 * locale/programs/locale.c (show_info) [case byte]: Check for
2437 '\377' instead of '\177'.
2438 * locale/C-monetary.c (not_available): Always use "\377".
2439 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2440 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2441 detect unavailable sign_posn locale elements.
2442 * locale/localeconv.c (__localeconv): For grouping and
2443 mon_grouping handle "\177" and "\377" like no grouping.
2444 (INT_ELEM): New macro. Use it to set all numeric members.
2445 * locale/programs/ld-monetary.c (monetary_read)
2446 <tok_mon_grouping>: Normalize single -1 to the empty string.
2447 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2448 Likewise.
2449
24502013-11-07 Ondřej Bílka <neleai@seznam.cz>
2451
2452 [BZ #16055]
2453 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2454 when we match (nil).
2455 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2456
24572013-11-16 Joseph Myers <joseph@codesourcery.com>
2458
2459 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2460 (NO_TEST_INLINE): Update value.
2461 (ERRNO_UNCHANGED): Likewise.
2462 (ERRNO_EDOM): Likewise.
2463 (ERRNO_ERANGE): Likewise.
2464 (IGNORE_RESULT): Likewise.
2465 (check_float_internal): Check signs of NaN results if
2466 TEST_NAN_SIGN used.
2467 (check_complex): Pass TEST_NAN_SIGN flag through to second
2468 check_float_internal call.
2469 (copysign_test_data): Add tests with quiet NaNs as second
2470 argument. Use TEST_NAN_SIGN.
2471 (fabs_test_data): Add test of negative quiet NaN argument. Use
2472 TEST_NAN_SIGN.
2473 (signbit_test_data): Add tests of quiet NaN argument.
2474 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2475
2476 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2477 $ignore_result.
2478 (parse_args): Handle function results specified as IGNORE.
2479 * math/libm-test.inc (IGNORE_RESULT): New macro.
2480 (check_float_internal): Do not check numerical result if flag
2481 IGNORE_RESULT set.
2482 (check_complex): Pass through IGNORE_RESULT to second
2483 check_float_internal call.
2484 (check_int): Do not check numerical result if flag IGNORE_RESULT
2485 set.
2486 (check_long): Likewise.
2487 (check_bool): Likewise.
2488 (check_longlong): Likewise.
2489 (lrint_test_data): Add tests of infinite and NaN arguments.
2490 (lrint_tonearest_test_data): Likewise.
2491 (lrint_towardzero_test_data): Likewise.
2492 (lrint_downward_test_data): Likewise.
2493 (lrint_upward_test_data): Likewise.
2494 (llrint_test_data): Likewise.
2495 (llrint_tonearest_test_data): Likewise.
2496 (llrint_towardzero_test_data): Likewise.
2497 (llrint_downward_test_data): Likewise.
2498 (llrint_upward_test_data): Likewise.
2499 (lround_test_data): Likewise.
2500 (llround_test_data): Likewise.
2501
2502 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2503 (ERRNO_UNCHANGED): Update value.
2504 (ERRNO_EDOM): Likewise.
2505 (ERRNO_ERANGE): Likewise.
2506 (NO_TEST_INLINE_FLOAT): New macro.
2507 (NO_TEST_INLINE_DOUBLE): Likewise.
2508 (enable_test): New function.
2509 (RUN_TEST_f_f): Check enable_test before running test.
2510 (RUN_TEST_2_f): Likewise.
2511 (RUN_TEST_fff_f): Likewise.
2512 (RUN_TEST_c_f): Likewise.
2513 (RUN_TEST_f_f1): Likewise.
2514 (RUN_TEST_fF_f1): Likewise.
2515 (RUN_TEST_fI_f1): Likewise.
2516 (RUN_TEST_ffI_f1): Likewise.
2517 (RUN_TEST_c_c): Likewise.
2518 (RUN_TEST_cc_c): Likewise.
2519 (RUN_TEST_f_i): Likewise.
2520 (RUN_TEST_f_i_tg): Likewise.
2521 (RUN_TEST_ff_i_tg): Likewise.
2522 (RUN_TEST_f_b): Likewise.
2523 (RUN_TEST_f_b_tg): Likewise.
2524 (RUN_TEST_f_l): Likewise.
2525 (RUN_TEST_f_L): Likewise.
2526 (RUN_TEST_fFF_11): Likewise.
2527 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2528 conditionals.
2529 (cosh_test_data): Likewise.
2530 (exp_test_data): Likewise.
2531 (expm1_test_data): Likewise.
2532 (hypot_test_data): Likewise.
2533 (pow_test_data): Likewise.
2534 (sinh_test_data): Likewise.
2535 (tanh_test_data): Likewise.
2536 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2537 flags argument.
2538
2539 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2540 tests with quiet NaN input and output.
2541 (acosh_test_data): Likewise.
2542 (asin_test_data): Likewise.
2543 (asinh_test_data): Likewise.
2544 (atan_test_data): Likewise.
2545 (atanh_test_data): Likewise.
2546 (atan2_test_data): Likewise.
2547 (cbrt_test_data): Likewise.
2548 (cos_test_data): Likewise.
2549 (cosh_test_data): Likewise.
2550 (erf_test_data): Likewise.
2551 (erfc_test_data): Likewise.
2552 (exp_test_data): Likewise.
2553 (exp10_test_data): Likewise.
2554 (exp2_test_data): Likewise.
2555 (expm1_test_data): Likewise.
2556 (hypot_test_data): Likewise.
2557 (j0_test_data): Likewise.
2558 (j1_test_data): Likewise.
2559 (jn_test_data): Likewise.
2560 (lgamma_test_data): Likewise.
2561 (log_test_data): Likewise.
2562 (log10_test_data): Likewise.
2563 (log1p_test_data): Likewise.
2564 (log2_test_data): Likewise.
2565 (pow_test_data): Likewise.
2566 (scalb_test_data): Likewise.
2567 (sin_test_data): Likewise.
2568 (sincos_test_data): Likewise.
2569 (sinh_test_data): Likewise.
2570 (tan_test_data): Likewise.
2571 (tanh_test_data): Likewise.
2572 (tgamma_test_data): Likewise.
2573 (y0_test_data): Likewise.
2574 (y1_test_data): Likewise.
2575 (yn_test_data): Likewise.
2576
2577 [BZ #16167]
2578 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2579 argument being NaN and avoid computations with second argument in
2580 that case.
2581 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2582 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2583 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2584
25852013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2586
2587 * locale/iso-639.def: Add Chitwani Tharu (the).
2588
25892013-11-14 Andreas Schwab <schwab@suse.de>
2590
2591 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2592 word instead of empty string.
2593
25942013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2595
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2597 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2599 (__fe_nomask_env): Likewise.
2600
26012013-11-13 Steve Ellcey <sellcey@mips.com>
2602
2603 * benchtests/bench-timing.h: Include time.h.
2604
26052013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2606
2607 [BZ #15997]
2608 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2609 to 3.4.0 for x32.
2610 * sysdeps/unix/sysv/linux/configure: Regenerated.
2611
26122013-11-13 Joseph Myers <joseph@codesourcery.com>
2613
2614 [BZ #16151]
2615 * stdlib/strtod_l.c (round_and_return): Do not consider
2616 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2617 exponent one less than half the least subnormal exponent.
2618 * stdlib/test-strtod-round-data: Add more tests.
2619 * stdlib/tst-strtod-round.c (tests): Regenerated.
2620
26212013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2622
2623 [BZ #14143]
2624 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2625 (__fe_mask_env): Likewise.
2626 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2627 libm_hidden_proto and add function prototype.
2628 (__fe_mask_env): Add function prototype.
2629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2630 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2632 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2634 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2635
26362013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2637
2638 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2639 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2640
26412013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2642
2643 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2644 of htab_find_slot().
2645
26462013-11-11 David S. Miller <davem@davemloft.net>
2647
2648 [BZ #16150]
2649 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2650 symbol in the non-vis3 case in static builds.
2651 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2652 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2653 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2654 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2655
26562013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2657
2658 [BZ #387]
2659 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2660 it is empty.
2661
26622013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2663
2664 * benchtests/Makefile: Add bench-strtod.
2665 * benchtests/bench-strtod.c: New file: strtod benchtest
2666
26672013-11-11 Andreas Schwab <schwab@suse.de>
2668
2669 [BZ #16153]
2670 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2671 terminating NUL in key length.
2672
26732013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2674
2675 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2676 Add artificial ODP entry for vDSO symbol for PPC64.
2677 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2678 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2679
26802013-11-07 Ondřej Bílka <neleai@seznam.cz>
2681
2682 [BZ #15374]
2683 * nss/getent.c (services_keys): Recognize services starting with digit.
2684
26852013-11-06 David S. Miller <davem@davemloft.net>
2686
2687 [BZ #15985]
2688 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2689 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2690
26912013-11-06 Will Newton <will.newton@linaro.org>
2692
2693 * manual/memory.texi (Malloc Examples): Remove register
2694 keyword from examples.
2695
26962013-11-04 Chris Leonard <cjl@sugarlabs.org>
2697
2698 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2699
27002013-11-04 Joseph Myers <joseph@codesourcery.com>
2701
2702 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2703 depending on [__GCC_IEC_559 > 0].
2704 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2705 depending on [__GCC_IEC_559_COMPLEX > 0].
2706
27072013-11-03 Chris Leonard <cjl@sugarlabs.org>
2708
2709 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2710 to iso-639.def.
2711
27122013-11-03 Ondřej Bílka <neleai@seznam.cz>
2713
2714 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2715
27162013-11-01 Ondřej Bílka <neleai@seznam.cz>
2717
2718 [BZ #16112]
2719 * malloc/malloc (malloc_info): Do not handle first bin as
2720 special case.
2721
27222013-11-01 Chris Leonard <cjl@sugarlabs.org>
2723
2724 * locale/iso-639.def: Add Central Nahuatl (nhn).
2725
27262013-11-01 Bruno Haible <bruno@clisp.org>
2727
2728 [BZ #7003]
2729 * manual/math.texi (BSD Random): Specify range upper bound as
2730 in POSIX.
2731
27322013-10-31 Chris Leonard <cjl@sugarlabs.org>
2733
2734 * locale/iso-639.def: Add Meadow Mari (mhr).
2735
27362013-10-31 Ondřej Bílka <neleai@seznam.cz>
2737
2738 [BZ #14752], [BZ #15763]
2739 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2740 Validate name.
2741 * rt/tst_shm.c: Add test for escaping directory.
2742
27432013-10-31 Andreas Schwab <schwab@suse.de>
2744
2745 [BZ #15917]
2746 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2747 followed by 'x' as part of digit sequence.
2748 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2749
27502013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2751
2752 [BZ #16037]
2753 * configure.ac: allow GNU Make 4.0 and greater.
2754 * configure: Regenerated.
2755
27562013-10-30 Will Newton <will.newton@linaro.org>
2757
2758 [BZ #16038]
2759 * malloc/hooks.c (memalign_check): Limit alignment to the
2760 maximum representable power of two.
2761 * malloc/malloc.c (__libc_memalign): Likewise.
2762 * malloc/tst-memalign.c (do_test): Add test for very
2763 large alignment values.
2764 * malloc/tst-posix_memalign.c (do_test): Likewise.
2765
27662013-10-30 Ondřej Bílka <neleai@seznam.cz>
2767
2768 [BZ #11087]
2769 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2770 (munmap_chunk): Likewise.
2771 (mremap_chunk): Likewise.
2772
27732013-10-30 Ondřej Bílka <neleai@seznam.cz>
2774
2775 [BZ #15799]
2776 * stdlib/div.c (div): Remove obsolete code.
2777 * stdlib/ldiv.c (ldiv): Likewise.
2778 * stdlib/lldiv.c (lldiv): Likewise.
2779
27802013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2781
2782 [BZ #16071]
2783 * nss/nss_files/files-XXX.c (get_contents_ret): New
2784 enumerator.
2785 (get_contents): New function.
2786 (internal_getent): Use it. Expand size of LINEBUFLEN.
2787
27882013-10-30 Mike Frysinger <vapier@gentoo.org>
2789
2790 * configure.in: Moved to ...
2791 * configure.ac: ... here. Change reference to configure.in
2792 to configure.ac.
2793 * sysdeps/arm/preconfigure.ac: ... here.
2794 configure.in to configure.ac.
2795 * sysdeps/gnu/configure.in: Moved to ...
2796 * sysdeps/gnu/configure.ac: ... here.
2797 * sysdeps/i386/configure.in: Moved to ...
2798 * sysdeps/i386/configure.ac: ... here.
2799 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2800 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2801 * sysdeps/mach/configure.in: Moved to ...
2802 * sysdeps/mach/configure.ac: ... here.
2803 * sysdeps/mach/hurd/configure.in: Moved to ...
2804 * sysdeps/mach/hurd/configure.ac: ... here.
2805 * sysdeps/powerpc/configure.in: Moved to ...
2806 * sysdeps/powerpc/configure.ac: ... here.
2807 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2808 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2809 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2810 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2811 * sysdeps/s390/s390-32/configure.in: Moved to ...
2812 * sysdeps/s390/s390-32/configure.ac: ... here.
2813 * sysdeps/s390/s390-64/configure.in: Moved to ...
2814 * sysdeps/s390/s390-64/configure.ac: ... here.
2815 * sysdeps/sh/configure.in: Moved to ...
2816 * sysdeps/sh/configure.ac: ... here.
2817 * sysdeps/sparc/configure.in: Moved to ...
2818 * sysdeps/sparc/configure.ac: ... here.
2819 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2820 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2821 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2822 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2823 * sysdeps/x86_64/configure.in: Moved to ...
2824 * sysdeps/x86_64/configure.ac: ... here.
2825 * sysdeps/x86_64/preconfigure.in: Moved to ...
2826 * sysdeps/x86_64/preconfigure.ac: ... here.
2827 * aclocal.m4: Change reference to configure.in to configure.ac.
2828 * config.h.in: Likewise.
2829 * manual/install.texi: Likewise.
2830 * manual/maint.texi: Likewise.
2831 * Makefile: Likewise.
2832 * malloc/Makefile: Likewise.
2833 * nscd/Makefile: Likewise.
2834 * Makeconfig: Change reference to configure.in and
2835 preconfigure.in to configure.ac and preconfigure.ac
2836 respectively.
2837 * INSTALL: Regenerated.
2838 * configure: Likewise.
2839 * sysdeps/gnu/configure: Likewise.
2840 * sysdeps/i386/configure: Likewise.
2841 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2842 * sysdeps/mach/configure: Likewise.
2843 * sysdeps/mach/hurd/configure: Likewise.
2844 * sysdeps/powerpc/configure: Likewise.
2845 * sysdeps/powerpc/powerpc32/configure: Likewise.
2846 * sysdeps/powerpc/powerpc64/configure: Likewise.
2847 * sysdeps/s390/s390-32/configure: Likewise.
2848 * sysdeps/s390/s390-64/configure: Likewise.
2849 * sysdeps/sh/configure: Likewise.
2850 * sysdeps/sparc/configure: Likewise.
2851 * sysdeps/unix/sysv/linux/configure: Likewise.
2852 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2853 * sysdeps/x86_64/configure: Likewise.
2854 * sysdeps/x86_64/preconfigure: Likewise.
2855
28562013-10-29 Andreas Schwab <schwab@suse.de>
2857
2858 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2859
28602013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2861
2862 * benchtests/pow-inputs: Add new inputs.
2863
2864 * benchtests/exp-inputs: Add new inputs.
2865
2866 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2867 conditional check for return value.
2868 (__cos32): Likewise.
2869
28702013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2871
2872 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2873 to provide a boost for large inputs with word alignment.
2874 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2875 implementation based on optimized PPC64 strcpy.
2876 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2877 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2878 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2879 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2880
28812013-10-25 Ondřej Bílka <neleai@seznam.cz>
2882
2883 [BZ #2801]
2884 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2885
28862013-10-25 Ondřej Bílka <neleai@seznam.cz>
2887
2888 [BZ #14876]
2889 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2890 * time/tst-strptime.c (day_tests): Add testcase.
2891
28922013-10-25 Ondřej Bílka <neleai@seznam.cz>
2893
2894 [BZ #14029]
2895 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2896
28972013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2898
2899 [BZ #16074]
2900 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2901 MAP_FAILED on error.
2902
29032013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2904
2905 [BZ #16072]
2906 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2907 heap for large requests.
2908
29092013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2910
2911 [BZ #9954]
2912 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2913 result if the result has no associated interface.
2914 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2915 interface for all 127.X.Y.Z addresses.
2916
29172013-10-24 Chris Leonard <cjl@sugarlabs.org>
2918
2919 * locale/iso-639.def: Add Ligurian (lij)
2920
29212013-10-21 Ondřej Bílka <neleai@seznam.cz>
2922
2923 [BZ #15825]
2924 * sunrpc/rpc_main.c: Document rpcgen -5.
2925
29262013-10-19 Michael Stahl <mstahl@redhat.com>
2927
2928 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2929
29302013-10-19 Ondřej Bílka <neleai@seznam.cz>
2931
2932 [BZ #10278]
2933 * posix/glob.c: Match only directories when trailing slash is present.
2934 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2935 (main): Add testcase.
2936
29372013-10-19 Ondřej Bílka <neleai@seznam.cz>
2938
2939 [BZ #15670]
2940 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2941
29422013-10-18 Carlos O'Donell <carlos@redhat.com>
2943
2944 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2945 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2946 AUTH_DES and cindex for FIPS 140-2.
2947 (DES Encryption): Add cindex FIPS 46-3.
2948
2949 * locale/locarchive.h (struct locarhandle): Add fname.
2950 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2951 if an optional argument was specified to --list-archive,
2952 otherwise NULL.
2953 * locale/programs/locarchive.c (show_archive_content): Take new
2954 argument fname and pass it via ah.fname to open_archive.
2955 * locale/programs/localedef.h: Update decl.
2956 (open_archive): If AH->fname is non-null, open that file
2957 rather than the default file name, and don't ignore ENOENT.
2958 (create_archive): Set AH.fname to NULL.
2959 (delete_locales_from_archive): Likewise.
2960 (add_locales_to_archive): Likewise.
2961 * locale/programs/locfile.c (write_all_categories): Likewise.
2962
29632013-10-18 Joseph Myers <joseph@codesourcery.com>
2964 Aldy Hernandez <aldyh@redhat.com>
2965
2966 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2967 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2968 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2969 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2970 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2971 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2972 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2973 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2974 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2975 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2976 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2977 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2978 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2979 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2980 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2981 Likewise.
2982 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2983 Likewise.
2984 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2985 Likewise.
2986 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2987 Likewise.
2988 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2989 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2990 Likewise.
2991 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2992 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2993 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2994 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2995 Likewise.
2996 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2997 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2998 * sysdeps/powerpc/preconfigure: Likewise.
2999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3000 Likewise.
3001 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3002 Replace contents of file by #include of <fenv_libc.h>.
3003 * sysdeps/powerpc/soft-fp/sfp-machine.h
3004 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3005 and <sys/prctl.h>.
3006 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3007 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3008 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3009 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3010 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3011 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3012 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3013 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3014 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3015 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3016 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3017 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3019 Allow copysignl PLT reference to be missing.
3020
30212013-10-18 Richard Sandiford <richard@codesourcery.com>
3022 Joseph Myers <joseph@codesourcery.com
3023
3024 [BZ #15948]
3025 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3026 single character.
3027 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3028
30292013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3030
3031 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3032 * elf/tst-tls1.c: Likewise.
3033 * elf/tst-tls10.h: Likewise.
3034 * elf/tst-tls14.c: Likewise.
3035 * elf/tst-tls2.c: Likewise.
3036 * elf/tst-tls3.c: Likewise.
3037 * elf/tst-tls4.c: Likewise.
3038 * elf/tst-tls5.c: Likewise.
3039 * elf/tst-tls6.c: Likewise.
3040 * elf/tst-tls7.c: Likewise.
3041 * elf/tst-tls8.c: Likewise.
3042 * elf/tst-tls9.c: Likewise.
3043 * elf/tst-tlsmod1.c: Likewise.
3044 * elf/tst-tlsmod13.c: Likewise.
3045 * elf/tst-tlsmod13a.c: Likewise.
3046 * elf/tst-tlsmod14a.c: Likewise.
3047 * elf/tst-tlsmod16a.c: Likewise.
3048 * elf/tst-tlsmod16b.c: Likewise.
3049 * elf/tst-tlsmod2.c: Likewise.
3050 * elf/tst-tlsmod3.c: Likewise.
3051 * elf/tst-tlsmod4.c: Likewise.
3052 * elf/tst-tlsmod5.c: Likewise.
3053 * elf/tst-tlsmod6.c: Likewise.
3054
30552013-10-18 Ondřej Bílka <neleai@seznam.cz>
3056
3057 [BZ #12486]
3058 * malloc/malloc.c: remove checks for statistics.
3059
30602013-10-17 Ondřej Bílka <neleai@seznam.cz>
3061
3062 [BZ #15277]
3063 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3064 * inet/tst-network.c: Add testcase.
3065
30662013-10-17 Andreas Schwab <schwab@suse.de>
3067
3068 [BZ #15218]
3069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3070 to determine canonical name.
3071
30722013-10-17 Ondřej Bílka <neleai@seznam.cz>
3073
3074 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3075 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3076 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3077 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3078 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3079 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3080 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3081 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3082 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3083 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3084 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3085 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3086 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3087 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3088 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3089 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3091 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3092 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3093 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3094 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3095 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3096 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3097 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3098 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3099 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3100 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3101 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3102 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3103 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3104 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3105 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3106 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3107 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3108 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3109 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3110 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3111 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3112 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3113 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3114 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3115 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3116 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3117 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3118 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3119 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3120 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3121 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3122 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3123 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3124 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3125 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3126 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3127 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3128 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3129 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3130 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3131 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3132
31332013-10-17 Joseph Myers <joseph@codesourcery.com>
3134
3135 [BZ #16041]
3136 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3137 make result into a quiet NaN.
3138
31392013-10-16 Joseph Myers <joseph@codesourcery.com>
3140
3141 * soft-fp/adddf3.c: Fix horizontal whitespace.
3142 * soft-fp/addsf3.c: Likewise.
3143 * soft-fp/addtf3.c: Likewise.
3144 * soft-fp/divdf3.c: Likewise.
3145 * soft-fp/divsf3.c: Likewise.
3146 * soft-fp/divtf3.c: Likewise.
3147 * soft-fp/double.h: Likewise.
3148 * soft-fp/eqdf2.c: Likewise.
3149 * soft-fp/eqsf2.c: Likewise.
3150 * soft-fp/eqtf2.c: Likewise.
3151 * soft-fp/extenddftf2.c: Likewise.
3152 * soft-fp/extended.h: Likewise.
3153 * soft-fp/extendsfdf2.c: Likewise.
3154 * soft-fp/extendsftf2.c: Likewise.
3155 * soft-fp/extendxftf2.c: Likewise.
3156 * soft-fp/fixdfdi.c: Likewise.
3157 * soft-fp/fixdfsi.c: Likewise.
3158 * soft-fp/fixdfti.c: Likewise.
3159 * soft-fp/fixsfdi.c: Likewise.
3160 * soft-fp/fixsfsi.c: Likewise.
3161 * soft-fp/fixsfti.c: Likewise.
3162 * soft-fp/fixtfdi.c: Likewise.
3163 * soft-fp/fixtfsi.c: Likewise.
3164 * soft-fp/fixtfti.c: Likewise.
3165 * soft-fp/fixunsdfdi.c: Likewise.
3166 * soft-fp/fixunsdfsi.c: Likewise.
3167 * soft-fp/fixunsdfti.c: Likewise.
3168 * soft-fp/fixunssfdi.c: Likewise.
3169 * soft-fp/fixunssfsi.c: Likewise.
3170 * soft-fp/fixunssfti.c: Likewise.
3171 * soft-fp/fixunstfdi.c: Likewise.
3172 * soft-fp/fixunstfsi.c: Likewise.
3173 * soft-fp/fixunstfti.c: Likewise.
3174 * soft-fp/floatdidf.c: Likewise.
3175 * soft-fp/floatdisf.c: Likewise.
3176 * soft-fp/floatditf.c: Likewise.
3177 * soft-fp/floatsidf.c: Likewise.
3178 * soft-fp/floatsisf.c: Likewise.
3179 * soft-fp/floatsitf.c: Likewise.
3180 * soft-fp/floattidf.c: Likewise.
3181 * soft-fp/floattisf.c: Likewise.
3182 * soft-fp/floattitf.c: Likewise.
3183 * soft-fp/floatundidf.c: Likewise.
3184 * soft-fp/floatundisf.c: Likewise.
3185 * soft-fp/floatunditf.c: Likewise.
3186 * soft-fp/floatunsidf.c: Likewise.
3187 * soft-fp/floatunsisf.c: Likewise.
3188 * soft-fp/floatunsitf.c: Likewise.
3189 * soft-fp/floatuntidf.c: Likewise.
3190 * soft-fp/floatuntisf.c: Likewise.
3191 * soft-fp/floatuntitf.c: Likewise.
3192 * soft-fp/fmadf4.c: Likewise.
3193 * soft-fp/fmasf4.c: Likewise.
3194 * soft-fp/fmatf4.c: Likewise.
3195 * soft-fp/gedf2.c: Likewise.
3196 * soft-fp/gesf2.c: Likewise.
3197 * soft-fp/getf2.c: Likewise.
3198 * soft-fp/ledf2.c: Likewise.
3199 * soft-fp/lesf2.c: Likewise.
3200 * soft-fp/letf2.c: Likewise.
3201 * soft-fp/muldf3.c: Likewise.
3202 * soft-fp/mulsf3.c: Likewise.
3203 * soft-fp/multf3.c: Likewise.
3204 * soft-fp/negdf2.c: Likewise.
3205 * soft-fp/negsf2.c: Likewise.
3206 * soft-fp/negtf2.c: Likewise.
3207 * soft-fp/op-1.h: Likewise.
3208 * soft-fp/op-2.h: Likewise.
3209 * soft-fp/op-4.h: Likewise.
3210 * soft-fp/op-8.h: Likewise.
3211 * soft-fp/op-common.h: Likewise.
3212 * soft-fp/quad.h: Likewise.
3213 * soft-fp/single.h: Likewise.
3214 * soft-fp/soft-fp.h: Likewise.
3215 * soft-fp/sqrtdf2.c: Likewise.
3216 * soft-fp/sqrtsf2.c: Likewise.
3217 * soft-fp/sqrttf2.c: Likewise.
3218 * soft-fp/subdf3.c: Likewise.
3219 * soft-fp/subsf3.c: Likewise.
3220 * soft-fp/subtf3.c: Likewise.
3221 * soft-fp/truncdfsf2.c: Likewise.
3222 * soft-fp/trunctfdf2.c: Likewise.
3223 * soft-fp/trunctfsf2.c: Likewise.
3224 * soft-fp/trunctfxf2.c: Likewise.
3225 * soft-fp/unorddf2.c: Likewise.
3226 * soft-fp/unordsf2.c: Likewise.
3227 * soft-fp/unordtf2.c: Likewise.
3228
32292013-10-15 Joseph Myers <joseph@codesourcery.com>
3230
3231 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3232 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3233
32342013-10-15 Ondřej Bílka <neleai@seznam.cz>
3235
3236 * elf/dl-libc.c: Clear initfini list after freeing.
3237
32382013-10-14 Joseph Myers <joseph@codesourcery.com>
3239
3240 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3241 * soft-fp/addsf3.c: Likewise.
3242 * soft-fp/addtf3.c: Likewise.
3243 * soft-fp/divdf3.c: Likewise.
3244 * soft-fp/divsf3.c: Likewise.
3245 * soft-fp/divtf3.c: Likewise.
3246 * soft-fp/double.h: Likewise.
3247 * soft-fp/eqdf2.c: Likewise.
3248 * soft-fp/eqsf2.c: Likewise.
3249 * soft-fp/eqtf2.c: Likewise.
3250 * soft-fp/extenddftf2.c: Likewise.
3251 * soft-fp/extended.h: Likewise.
3252 * soft-fp/extendsfdf2.c: Likewise.
3253 * soft-fp/extendsftf2.c: Likewise.
3254 * soft-fp/extendxftf2.c: Likewise.
3255 * soft-fp/fixdfdi.c: Likewise.
3256 * soft-fp/fixdfsi.c: Likewise.
3257 * soft-fp/fixdfti.c: Likewise.
3258 * soft-fp/fixsfdi.c: Likewise.
3259 * soft-fp/fixsfsi.c: Likewise.
3260 * soft-fp/fixsfti.c: Likewise.
3261 * soft-fp/fixtfdi.c: Likewise.
3262 * soft-fp/fixtfsi.c: Likewise.
3263 * soft-fp/fixtfti.c: Likewise.
3264 * soft-fp/fixunsdfdi.c: Likewise.
3265 * soft-fp/fixunsdfsi.c: Likewise.
3266 * soft-fp/fixunsdfti.c: Likewise.
3267 * soft-fp/fixunssfdi.c: Likewise.
3268 * soft-fp/fixunssfsi.c: Likewise.
3269 * soft-fp/fixunssfti.c: Likewise.
3270 * soft-fp/fixunstfdi.c: Likewise.
3271 * soft-fp/fixunstfsi.c: Likewise.
3272 * soft-fp/fixunstfti.c: Likewise.
3273 * soft-fp/floatdidf.c: Likewise.
3274 * soft-fp/floatdisf.c: Likewise.
3275 * soft-fp/floatditf.c: Likewise.
3276 * soft-fp/floatsidf.c: Likewise.
3277 * soft-fp/floatsisf.c: Likewise.
3278 * soft-fp/floatsitf.c: Likewise.
3279 * soft-fp/floattidf.c: Likewise.
3280 * soft-fp/floattisf.c: Likewise.
3281 * soft-fp/floattitf.c: Likewise.
3282 * soft-fp/floatundidf.c: Likewise.
3283 * soft-fp/floatundisf.c: Likewise.
3284 * soft-fp/floatunsidf.c: Likewise.
3285 * soft-fp/floatunsisf.c: Likewise.
3286 * soft-fp/floatuntidf.c: Likewise.
3287 * soft-fp/floatuntisf.c: Likewise.
3288 * soft-fp/floatuntitf.c: Likewise.
3289 * soft-fp/fmadf4.c: Likewise.
3290 * soft-fp/fmasf4.c: Likewise.
3291 * soft-fp/fmatf4.c: Likewise.
3292 * soft-fp/gedf2.c: Likewise.
3293 * soft-fp/gesf2.c: Likewise.
3294 * soft-fp/getf2.c: Likewise.
3295 * soft-fp/ledf2.c: Likewise.
3296 * soft-fp/lesf2.c: Likewise.
3297 * soft-fp/letf2.c: Likewise.
3298 * soft-fp/muldf3.c: Likewise.
3299 * soft-fp/mulsf3.c: Likewise.
3300 * soft-fp/multf3.c: Likewise.
3301 * soft-fp/negdf2.c: Likewise.
3302 * soft-fp/negsf2.c: Likewise.
3303 * soft-fp/negtf2.c: Likewise.
3304 * soft-fp/op-1.h: Likewise.
3305 * soft-fp/op-2.h: Likewise.
3306 * soft-fp/op-4.h: Likewise.
3307 * soft-fp/op-8.h: Likewise.
3308 * soft-fp/op-common.h: Likewise.
3309 * soft-fp/quad.h: Likewise.
3310 * soft-fp/single.h: Likewise.
3311 * soft-fp/soft-fp.h: Likewise.
3312 * soft-fp/sqrtdf2.c: Likewise.
3313 * soft-fp/sqrtsf2.c: Likewise.
3314 * soft-fp/sqrttf2.c: Likewise.
3315 * soft-fp/subdf3.c: Likewise.
3316 * soft-fp/subsf3.c: Likewise.
3317 * soft-fp/subtf3.c: Likewise.
3318 * soft-fp/truncdfsf2.c: Likewise.
3319 * soft-fp/trunctfdf2.c: Likewise.
3320 * soft-fp/trunctfsf2.c: Likewise.
3321 * soft-fp/trunctfxf2.c: Likewise.
3322 * soft-fp/unorddf2.c: Likewise.
3323 * soft-fp/unordsf2.c: Likewise.
3324 * soft-fp/unordtf2.c: Likewise.
3325
33262013-10-14 Ondřej Bílka <neleai@seznam.cz>
3327
3328 [BZ #15672]
3329 * misc/error.c (error_tail): Fix possible buffer overflow.
3330
33312013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3332
3333 [BZ #13028]
3334 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3335 address.
3336
33372013-10-14 P. J. McDermott <pj@pehjota.net>
3338
3339 [BZ #832]
3340 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3341 testing pipefail option.
3342
33432013-10-12 Joseph Myers <joseph@codesourcery.com>
3344
3345 * soft-fp/double.h: Indent preprocessor directives inside #if.
3346 * soft-fp/extended.h: Likewise.
3347 * soft-fp/op-2.h: Likewise.
3348 * soft-fp/op-4.h: Likewise.
3349 * soft-fp/op-common.h: Likewise.
3350 * soft-fp/quad.h: Likewise.
3351 * soft-fp/single.h: Likewise.
3352 * soft-fp/soft-fp.h: Likewise.
3353
33542013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3355
3356 * iconv/iconv_prog.c: Fix typos.
3357 * stdio-common/psiginfo-data.h: Likewise.
3358
33592013-10-12 Reuben Thomas <rrt@sc3d.org>
3360
3361 [BZ #15764]
3362 * locale/setlocale.c: Fix typo.
3363
33642013-10-12 Joseph Myers <joseph@codesourcery.com>
3365
3366 [BZ #16036]
3367 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3368 signaling NaN arguments.
3369 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3370 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3371
3372 [BZ #14910]
3373 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3374 unordered operands.
3375 * soft-fp/gesf2.c (__gesf2): Likewise.
3376 * soft-fp/getf2.c (__getf2): Likewise.
3377 * soft-fp/ledf2.c (__ledf2): Likewise.
3378 * soft-fp/lesf2.c (__lesf2): Likewise.
3379 * soft-fp/letf2.c (__letf2): Likewise.
3380
3381 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3382 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3383 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3384 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3385 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3386 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3387 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3388 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3389 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3390 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3391 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3392 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3393 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3394 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3395 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3396 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3397 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3398 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3399 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3400 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3401 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3402 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3403 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3404 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3405 * soft-fp/floattidf.c (__floattidf): Likewise.
3406 * soft-fp/floattisf.c (__floattisf): Likewise.
3407 * soft-fp/floattitf.c (__floattitf): Likewise.
3408 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3409 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3410 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3411 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3412 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3413 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3414 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3415 * soft-fp/gesf2.c (__gesf2): Likewise.
3416 * soft-fp/getf2.c (__getf2): Likewise.
3417 * soft-fp/ledf2.c (__ledf2): Likewise.
3418 * soft-fp/lesf2.c (__lesf2): Likewise.
3419 * soft-fp/letf2.c (__letf2): Likewise.
3420
3421 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3422 Undefine and redefine.
3423 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3424 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3425 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3426 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3427 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3428 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3429 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3430 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3431 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3432 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3433 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3434 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3435 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3436 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3437 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3438
3439 [BZ #16032]
3440 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3441 without decrementing exponent if mantissa >= that for the
3442 denominator, not >.
3443 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3444 denominator, not >. Decrement exponent in < case instead of
3445 incrementing in >= case.
3446 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3447 without decrementing exponent if mantissa >= that for the
3448 denominator, not >.
3449
3450 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3451 computing saturated result for unsigned overflow.
3452
34532013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3454 Jeff Law <law@redhat.com>
3455
3456 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3457 (atan2Mp): Add systemtap probe marker.
3458 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3459 (__ieee754_log): Add systemtap probe marker.
3460 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3461 (atanMp): Add systemtap probe marker.
3462 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3463 (tanMp): Add systemtap probe marker.
3464 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3465 (__slowexp): Add systemtap probe marker.
3466 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3467 (__slowpow): Add systemtap probe marker.
3468 * manual/probes.texi: Document probes.
3469
34702013-10-11 Eric Biggers <ebiggers3@gmail.com>
3471
3472 [BZ #15362]
3473 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3474 written.
3475 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3476 written.
3477 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3478 written to buffer but not flushed.
3479 * libio/iofwrite_u.c: Likewise.
3480 * libio/iopadn.c: Return bytes returned even if EOF was
3481 encountered.
3482 * libio/iowpadn.c: Likewise.
3483 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3484 if _IO_padn does not write the whole buffer.
3485 [!COMPILE_WPRINTF] (PAD): Likewise.
3486
34872013-10-10 David S. Miller <davem@davemloft.net>
3488
3489 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3490 directory block.
3491
34922013-10-10 Joseph Myers <joseph@codesourcery.com>
3493
3494 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3495 instead of FSF address.
3496 * soft-fp/fixdfti.c: Likewise.
3497 * soft-fp/fixsfti.c: Likewise.
3498 * soft-fp/fixtfti.c: Likewise.
3499 * soft-fp/fixunsdfti.c: Likewise.
3500 * soft-fp/fixunssfti.c: Likewise.
3501 * soft-fp/fixunstfti.c: Likewise.
3502 * soft-fp/floattidf.c: Likewise.
3503 * soft-fp/floattisf.c: Likewise.
3504 * soft-fp/floattitf.c: Likewise.
3505 * soft-fp/floatuntidf.c: Likewise.
3506 * soft-fp/floatuntisf.c: Likewise.
3507 * soft-fp/floatuntitf.c: Likewise.
3508 * soft-fp/trunctfxf2.c: Likewise.
3509
3510 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3511 * soft-fp/fixdfti.c: Likewise.
3512 * soft-fp/fixsfti.c: Likewise.
3513 * soft-fp/fixtfti.c: Likewise.
3514 * soft-fp/fixunsdfti.c: Likewise.
3515 * soft-fp/fixunssfti.c: Likewise.
3516 * soft-fp/fixunstfti.c: Likewise.
3517 * soft-fp/floattidf.c: Likewise.
3518 * soft-fp/floattisf.c: Likewise.
3519 * soft-fp/floattitf.c: Likewise.
3520 * soft-fp/floatuntidf.c: Likewise.
3521 * soft-fp/floatuntisf.c: Likewise.
3522 * soft-fp/floatuntitf.c: Likewise.
3523 * soft-fp/trunctfxf2.c: Likewise.
3524
35252013-10-10 David S. Miller <davem@davemloft.net>
3526
3527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3528
35292013-10-10 Joseph Myers <joseph@codsourcery.com>
3530
3531 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3532 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3533 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3534 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3535 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3536 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3537 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3538
3539 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3540 for NaNs before doing comparisons on argument.
3541 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3542 Likewise.
3543
35442013-10-10 Will Newton <will.newton@linaro.org>
3545
3546 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3547 passed to _int_memalign does not overflow.
3548
35492013-10-10 Torvald Riegel <triegel@redhat.com>
3550
3551 * scripts/bench.pl: Add include-sources directive.
3552 * benchtests/README: Update documentation.
3553
35542013-10-10 Joseph Myers <joseph@codesourcery.com>
3555
3556 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3557 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3558 instead of FP_INIT_ROUNDMODE.
3559 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3560 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3561
3562 [BZ #16034]
3563 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3564 copy class of input value.
3565 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3566 not handle exceptions.
3567 * soft-fp/negsf2.c (__negsf2): Likewise.
3568 * soft-fp/negtf2.c (__negtf2): Likewise.
3569 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3570
35712013-10-09 Joseph Myers <joseph@codesourcery.com>
3572
3573 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3574 semicolon. From Linux kernel.
3575
35762013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3577
3578 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3579
35802013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3581
3582 [BZ #156]
3583 * manual/socket.texi: Added statement about buffer
3584 for gethostbyname2_r.
3585
35862013-10-08 Ondřej Bílka <neleai@seznam.cz>
3587
3588 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3589 Use .p2align directive instead, throughout.
3590 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3591 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3592 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3593 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3594 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3595 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3596 * sysdeps/x86_64/strchr.S: Likewise.
3597 * sysdeps/x86_64/strrchr.S: Likewise.
3598
35992013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3600
3601 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3602
3603 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3604
3605 * sysdeps/generic/math_private.h (__mpsin1): Remove
3606 declaration.
3607 (__mpcos1): Likewise.
3608 (__mpsin): New argument __range_reduce.
3609 (__mpcos): Likewise.
3610 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3611 (slow): Use __mpsin and __mpcos.
3612 (slow1): Likewise.
3613 (slow2): Likewise.
3614 (sloww): Likewise.
3615 (sloww1): Likewise.
3616 (sloww2): Likewise.
3617 (bsloww): Likewise.
3618 (bsloww1): Likewise.
3619 (bsloww2): Likewise.
3620 (cslow2): Likewise.
3621 (csloww): Likewise.
3622 (csloww1): Likewise.
3623 (csloww2): Likewise.
3624 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3625 range_reduce. Merge in __mpsin1.
3626 (__mpcos): Likewise.
3627 (__mpsin1): Remove.
3628 (__mpcos1): Likewise.
3629
36302013-10-07 Joseph Myers <joseph@codesourcery.com>
3631
3632 * locale/loadlocale.c (_nl_intern_locale_data): Use
3633 LOCFILE_ALIGNED_P.
3634 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3635 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3636 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3637 obstack data is appropriately aligned.
3638 (obstack_int32_grow_fast): Likewise.
3639 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3640 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3641 (add_locale_uint32_array): Likewise.
3642
36432013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3644
3645 * benchtests/Makefile: Remove ARGLIST and RET variables.
3646 ($(objpfx)bench-%.c): Pass only function name to the script.
3647 * benchtests/README: Update documentation.
3648 * benchtests/acos-inputs: Add new directives.
3649 * benchtests/acosh-inputs: Likewise.
3650 * benchtests/asin-inputs: Likewise.
3651 * benchtests/asinh-inputs: Likewise.
3652 * benchtests/atan-inputs: Likewise.
3653 * benchtests/atanh-inputs: Likewise.
3654 * benchtests/cos-inputs: Likewise.
3655 * benchtests/cosh-inputs: Likewise.
3656 * benchtests/exp-inputs: Likewise.
3657 * benchtests/log-inputs: Likewise.
3658 * benchtests/pow-inputs: Likewise.
3659 * benchtests/rint-inputs: Likewise.
3660 * benchtests/sin-inputs: Likewise.
3661 * benchtests/sinh-inputs: Likewise.
3662 * benchtests/tan-inputs: Likewise.
3663 * benchtests/tanh-inputs: Likewise.
3664 * scripts/bench.pl: Add support for new directives.
3665
36662013-10-07 Alan Modra <amodra@gmail.com>
3667
3668 * README: Fix careless merge.
3669
36702013-10-05 Alan Modra <amodra@gmail.com>
3671
3672 * NEWS: Mention powerpc64le support and bugs fixed.
3673 * README: Both big-endian and little-endian powerpc64 supported.
3674
36752013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3676
3677 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3678 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3679 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3680 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3681
36822013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3683
3684 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3685 match prototype.
3686
36872013-10-04 Joseph Myers <joseph@codesourcery.com>
3688
3689 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3690 Move -mhard-float appending from
3691 ports/sysdeps/powerpc/powerpc32/Makefile.
3692 [$(with-fp) = yes] (ASFLAGS): Likewise.
3693 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3694 * sysdeps/powerpc/nofpu: Move directory from
3695 ports/sysdeps/powerpc/nofpu.
3696 * sysdeps/powerpc/soft-fp: Move directory from
3697 ports/sysdeps/powerpc/soft-fp.
3698 * sysdeps/powerpc/powerpc32/405: Move directory from
3699 ports/sysdeps/powerpc/powerpc32/405.
3700 * sysdeps/powerpc/powerpc32/440: Move directory from
3701 ports/sysdeps/powerpc/powerpc32/440.
3702 * sysdeps/powerpc/powerpc32/464: Move directory from
3703 ports/sysdeps/powerpc/powerpc32/464.
3704 * sysdeps/powerpc/powerpc32/476: Move directory from
3705 ports/sysdeps/powerpc/powerpc32/476.
3706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3707 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3709 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3711 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3713 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3715 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3716 * README: Update for powerpc-*-linux-gnu software floating point
3717 support in libc.
3718
3719 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3720 case to powerpc/powerpc32*.
3721 * sysdeps/unix/sysv/linux/configure: Regenerated.
3722
3723 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3724 (_FPU_MASK_OM): Define as 0x04.
3725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3727 0x00c10080.
3728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3729 0x0000003c.
3730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3731
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3733 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3734 getcontext_e500.
3735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3736 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3737 setcontext_e500.
3738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3739 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3740 and setcontext_e500.
3741
37422013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3743
3744 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3745
37462013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3747
3748 * manual/threads.texi (Default Thread Attributes): Fix typo.
3749
37502013-10-04 Will Newton <will.newton@linaro.org>
3751
3752 * malloc/Makefile: Add tst-memalign.
3753 * malloc/tst-memalign.c: New file.
3754
3755 * malloc/tst-posix_memalign.c: Add comments.
3756 (do_test): Add comments and call free on all potentially
3757 allocated pointers. Add space after cast.
3758
3759 * malloc/tst-pvalloc.c: Add comments.
3760 (do_test): Add comments and call free on all potentially
3761 allocated pointers. Remove duplicate check for NULL pointer.
3762 Add space after cast.
3763
3764 * malloc/tst-valloc.c: Add comments.
3765 (do_test): Add comments and call free on all potentially
3766 allocated pointers. Remove duplicate check for NULL pointer.
3767 Add space after cast.
3768
37692013-10-04 Alan Modra <amodra@gmail.com>
3770
3771 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3772 Use stdint types in rather than __attribute__((mode())).
3773 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3774
37752013-10-04 Alan Modra <amodra@gmail.com>
3776
3777 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3778 Correct handling of unaligned relocs for little-endian.
3779 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3780
37812013-10-04 Alan Modra <amodra@gmail.com>
3782
3783 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3784 * configure: Regenerate.
3785 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3786 * shlib-versions: Likewise.
3787
37882013-10-04 Alan Modra <amodra@gmail.com>
3789
3790 * string/tester.c (test_memrchr): Increment reported test cycle.
3791
37922013-10-04 Alan Modra <amodra@gmail.com>
3793
3794 * string/test-memcpy.c (do_one_test): When reporting errors, print
3795 string address and don't overrun end of string.
3796
37972013-10-04 Alan Modra <amodra@gmail.com>
3798
3799 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3800 insrdi. Make better use of reg selection to speed exit slightly.
3801 Schedule entry path a little better. Remove useless "are we done"
3802 checks on entry to main loop. Handle wrapping around zero address.
3803 Correct main loop count. Handle single left-over word from main
3804 loop inline rather than by using loop_small. Remove extra word
3805 case in loop_small caused by wrong loop count. Add little-endian
3806 support.
3807 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3808 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3809 cache hint.
3810 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3811 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3812 support. Avoid rlwimi.
3813 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3814
38152013-10-04 Alan Modra <amodra@gmail.com>
3816
3817 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3818 insrdi. Formatting.
3819 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3820 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3821 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3822 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3823 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3824 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3825
38262013-10-04 Alan Modra <amodra@gmail.com>
3827
3828 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3829 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3830 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3831 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3832 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3833 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3834 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3835 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3836 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3837 use of regs. Use power7 mtocrf. Tidy function tails.
3838
38392013-10-04 Alan Modra <amodra@gmail.com>
3840
3841 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3842 Formatting. Consistently use rXXX register defines or rN defines.
3843 Use early exit labels that avoid restoring unused non-volatile regs.
3844 Make cr field use more consistent with rWORDn compares. Rename
3845 regs used as shift registers for unaligned loop, using rN defines
3846 for short lifetime/multiple use regs.
3847 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3848 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3849 addi 1,1,64 to pop stack frame. Simplify return value code.
3850 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3851
38522013-10-04 Alan Modra <amodra@gmail.com>
3853
3854 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3855 support. Correct typos, formatting. Optimize tail. Use insrdi
3856 rather than rlwimi.
3857 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3858 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3859 little-endian support. Correct typos.
3860 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3861 rather than rlwimi.
3862 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3863 in loop and entry code to keep "and." results.
3864 (strchr): Add little-endian support. Comment. Move cntlzd
3865 earlier in tail.
3866 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3867
38682013-10-04 Alan Modra <amodra@gmail.com>
3869
3870 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3871 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3872 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3873 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3874
38752013-10-04 Alan Modra <amodra@gmail.com>
3876
3877 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3878 (rTMP): Define as r11.
3879 (strcmp): Add little-endian support. Optimise tail.
3880 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3881 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3882 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3883 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3884 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3885 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3886 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3887
38882013-10-04 Alan Modra <amodra@gmail.com>
3889
3890 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3891 little-endian support. Remove unnecessary "are we done" tests.
3892 Handle "s" wrapping around zero and extremely large "size".
3893 Correct main loop count. Handle single left-over word from main
3894 loop inline rather than by using small_loop. Correct comments.
3895 Delete "zero" tail, use "end_max" instead.
3896 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3897
38982013-10-04 Alan Modra <amodra@gmail.com>
3899
3900 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3901 support. Don't branch over align.
3902 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3903 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3904 support. Rearrange tmp reg use to suit. Comment.
3905 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3906
39072013-10-04 Alan Modra <amodra@gmail.com>
3908
3909 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3910
39112013-10-04 Alan Modra <amodra@gmail.com>
3912
3913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3914 conditional form of branch and link when obtaining pc.
3915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3916
39172013-10-04 Alan Modra <amodra@gmail.com>
3918
3919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3920 HIWORD/LOWORD.
3921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3923
39242013-10-04 Alan Modra <amodra@gmail.com>
3925
3926 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3927 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3928 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3929 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3930 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3931 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3932 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3933 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3934 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3935 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3936
39372013-10-04 Anton Blanchard <anton@au1.ibm.com>
3938 Alistair Popple <alistair@ozlabs.au.ibm.com>
3939 Alan Modra <amodra@gmail.com>
3940
3941 [BZ #15723]
3942 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3943 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3944 _dl_hwcap access for little-endian.
3945 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3946 destroy vmx regs when saving unaligned.
3947 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3948 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3949 destroy vmx regs when saving unaligned.
3950
39512013-10-04 Alan Modra <amodra@gmail.com>
3952
3953 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3954 Don't use a union to pack hi/low value.
3955
39562013-10-04 Anton Blanchard <anton@au1.ibm.com>
3957
3958 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3959 for little-endian.
3960 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3961 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3962 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3963 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3964 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3965
39662013-10-04 Alan Modra <amodra@gmail.com>
3967
3968 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3969 constants to usual value for .cst8 section, and remove redundant
3970 high address load.
3971 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3972 constant for 0x1p52. Load little-endian words of double from
3973 correct stack offsets.
3974
39752013-10-04 Alan Modra <amodra@gmail.com>
3976
3977 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3978 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3979 words of double from correct stack offsets.
3980 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3981 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3982 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3983 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3984 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3985 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3986 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3987 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3988 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3989 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3990 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3991 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3992 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3993 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3994 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3995 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3996 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3997
39982013-10-04 Alan Modra <amodra@gmail.com>
3999
4000 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4001 64-bit int/double union.
4002 (_FPU_SETCW): Likewise.
4003 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4004 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4005
40062013-10-04 Alan Modra <amodra@gmail.com>
4007
4008 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4009 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4010
40112013-10-04 Alan Modra <amodra@gmail.com>
4012
4013 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4014 use vector int constants.
4015 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4016
40172013-10-04 Anton Blanchard <anton@au1.ibm.com>
4018
4019 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4020 array with long long.
4021 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4022 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4023 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4024 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4025 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4026 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4027 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4028 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4029 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4030 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4031 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4032 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4033 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4034
40352013-10-04 Anton Blanchard <anton@au1.ibm.com>
4036
4037 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4038 (__signbit): Likewise. Correct for little-endian.
4039 (__signbitl): Call __signbit.
4040 (lrint): Correct for little-endian.
4041 (lrintf): Call lrint.
4042
40432013-10-04 Alan Modra <amodra@gmail.com>
4044
4045 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4046 union 32-bit int array member with 64-bit int array.
4047 (t515, tm256): Double rather than long double.
4048 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4049
40502013-10-04 Alan Modra <amodra@gmail.com>
4051
4052 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4053 Delete.
4054 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4055 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4056 version of math_ldbl.h.
4057
40582013-10-04 Alan Modra <amodra@gmail.com>
4059
4060 [BZ #15734], [BZ #15735]
4061 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4062 all uses of ieee875 long double macros and unions. Simplify test
4063 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4064 ldbl_extract_mantissa value for ix,iy exponents. Properly
4065 normalize after ldbl_extract_mantissa, and don't add hidden bit
4066 already handled. Don't treat low word of ieee854 mantissa like
4067 low word of IBM long double and mask off bit when testing for
4068 zero.
4069 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4070 all uses of ieee875 long double macros and unions. Simplify tests
4071 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4072 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4073 two1022, instead use their values. Recognise that tests for large
4074 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4075 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4076 Rewrite all uses of ieee875 long double macros and unions. Simplify
4077 test for 0.0L and nan. Correct negation.
4078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4079 ieee875 long double macros and unions. Correct output for large
4080 magnitude x. Correct absolute value calculation.
4081 (__erfcl): Likewise.
4082 * math/libm-test.inc: Add tests for errors discovered in IBM long
4083 double versions of fmodl, remainderl, erfl and erfcl.
4084
40852013-10-04 Alan Modra <amodra@gmail.com>
4086
4087 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4088 all uses of ieee854 long double macros and unions. Simplify tests
4089 for long doubles that are fully specified by the high double.
4090 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4091 Likewise.
4092 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4093 Remove dead code too.
4094 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4095 (__ieee754_ynl): Likewise.
4096 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4097 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4098 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4099 Remove dead code too.
4100 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4101 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4102 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4103 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4104 Simplify.
4105 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4106 Simplify.
4107 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4108 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4109 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4110 Comment on variable precision.
4111 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4112 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4113 Likewise.
4114 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4116 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4117 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4118 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4119
41202013-10-04 Alan Modra <amodra@gmail.com>
4121
4122 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4123 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4124 all uses of ieee854 long double macros and unions.
4125 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4128 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4130 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4131 Likewise.
4132 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4133 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4134 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4136 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4138 Simplify sign and nan test too.
4139 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4140 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4141 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4143 Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4145 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4146 Likewise.
4147 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4148 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4149 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4150 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4151 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4152 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4153
41542013-10-04 Alan Modra <amodra@gmail.com>
4155
4156 * stdio-common/printf_size.c (__printf_size): Don't use
4157 union ieee854_long_double in fpnum union.
4158 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4159 signbit macro to retrieve sign from long double.
4160 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4161 retrieve sign from long double.
4162 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4163 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4164 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4165 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4166 * math/test-misc.c (main): Don't use union ieee854_long_double.
4167
41682013-10-04 Alan Modra <amodra@gmail.com>
4169
4170 [BZ #15680]
4171 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4172 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4173 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4174 calculation. Remove unnecessary test for denormal exponent.
4175 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4176 Correct handling of denormals. Avoid undefined shift behaviour.
4177 Correct normalisation of low mantissa when low double is denormal.
4178 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4179 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4180 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4181 Correct normalisation of low mantissa. Test for overflow of high
4182 mantissa and normalise.
4183 (ldbl_nearbyint): Use more readable constant for two52.
4184 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4185 (__mpn_construct_long_double): Fix test for overflow of high
4186 mantissa and correct normalisation. Avoid undefined shift.
4187
41882013-10-04 Alan Modra <amodra@gmail.com>
4189
4190 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4191 (union ibm_extended_long_double): Define as an array of ieee754_double.
4192 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4193 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4194 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4195 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4198 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4199 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4202 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4203
42042013-10-03 Joseph Myers <joseph@codesourcery.com>
4205
4206 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4207 page size instead of calling getpagesize.
4208
4209 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4210 (LOCFILE_ALIGN_MASK): Likewise.
4211 (LOCFILE_ALIGN_UP): Likewise.
4212 (LOCFILE_ALIGNED_P): Likewise.
4213 * locale/programs/ld-collate.c (collate_output): Use the new
4214 macros instead of __alignof__ (int32_t).
4215 * locale/weight.h (findidx): Likewise.
4216
42172013-10-03 Ondřej Bílka <neleai@seznam.cz>
4218
4219 [BZ #431]
4220 * manual/string.texi: Fix strncat and wcsncat.
4221
42222013-10-03 Brooks Moses <bmoses@google.com>
4223
4224 [BZ #15915]
4225 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4226 * Makerules: ...here, and adjust associated comments.
4227
42282013-10-02 Will Newton <will.newton@linaro.org>
4229
4230 * malloc/Makefile: Add tst-pvalloc.
4231 * malloc/tst-pvalloc.c: New file.
4232
42332013-10-02 Will Newton <will.newton@linaro.org>
4234
4235 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4236 improve test coverage.
4237
42382013-10-02 Will Newton <will.newton@linaro.org>
4239
4240 * malloc/Makefile: Add tst-posix_memalign.
4241 * malloc/tst-posix_memalign.c: New file.
4242
42432013-10-01 Eric Blake <eblake@redhat.com>
4244
4245 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4246 Use __THROWNL rather than __THROW on static functions.
4247
42482013-09-30 Petr Machata <pmachata@redhat.com>
4249
4250 * elf/elf.h (R_AARCH64_ABS16): New macro.
4251 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4252 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4253 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4254 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4255 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4256 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4257 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4258 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4259 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4260 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4261 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4262 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4263 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4264 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4265 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4266 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4267 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4268 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4269 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4270 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4271 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4272 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4273 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4274 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4275 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4276 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4277 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4278 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4279 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4280 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4281 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4282 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4283 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4284 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4285 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4286 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4287 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4288 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4289 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4290 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4291 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4292 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4293 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4294 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4295 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4296 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4297 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4298 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4299 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4300 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4301 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4302 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4303 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4304 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4305 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4306 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4307 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4308 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4309 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4310 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4311 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4312 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4313 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4314 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4315 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4316 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4317 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4318 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4319 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4320 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4321 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4322 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4323 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4324 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4325 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4326 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4327 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4328 (R_AARCH64_TLSDESC_LDR): Likewise.
4329 (R_AARCH64_TLSDESC_ADD): Likewise.
4330 (R_AARCH64_TLSDESC_CALL): Likewise.
4331
43322013-09-30 Andreas Schwab <schwab@suse.de>
4333
4334 [BZ #15048]
4335 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4336 the nss database lookup.
4337 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4339
43402013-09-28 Mike Frysinger <vapier@gentoo.org>
4341
4342 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4343
43442013-09-28 P. J. McDermott <pj@pehjota.net>
4345
4346 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4347 ${Bash-specific parameter/pattern/string} parameter expansion.
4348 * sysdeps/unix/make-syscalls.sh: Likewise.
4349
43502013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4351
4352 * sysdeps/sh/stackguard-macros.h: New file.
4353
43542013-09-26 Ondřej Bílka <neleai@seznam.cz>
4355
4356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4357 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4358 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4359 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4360 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4361 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4362
43632013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4364
4365 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4366 Fix thread ID register.
4367
43682013-09-25 Joseph Myers <joseph@codesourcery.com>
4369
4370 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4371 [POSIX || UNIX98]: Require rather than permitting all symbols from
4372 <time.h>.
4373 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4374 element of struct sched_param.
4375 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4376 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4377 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4378 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4379 constant.
4380
43812013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4382
4383 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4384 argument calculation.
4385
43862013-09-24 Joseph Myers <joseph@codesourcery.com>
4387
4388 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4389 Expect macro.
4390 [POSIX] (pthread_attr_t): Do not require type.
4391 [POSIX] (pthread_cond_t): Likewise.
4392 [POSIX] (pthread_condattr_t): Likewise.
4393 [POSIX] (pthread_key_t): Likewise.
4394 [POSIX] (pthread_mutex_t): Likewise.
4395 [POSIX] (pthread_mutexattr_t): Likewise.
4396 [POSIX] (pthread_once_t): Likewise.
4397 [POSIX] (pthread_t): Likewise.
4398 [POSIX-based standards] (pthread_atfork): Expect function.
4399
44002013-09-24 Joseph Myers <joseph@codesourcery.com>
4401 Richard Sandiford <richard@codesourcery.com>
4402
4403 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4404 (swap_endianness_p): New extern variable.
4405 (set_big_endian): New inline function.
4406 (maybe_swap_uint32): Likewise.
4407 (maybe_swap_uint32_array): Likewise.
4408 (maybe_swap_uint32_obstack): Likewise.
4409 * locale/programs/locfile.c: Include <stdbool.h>.
4410 (swap_endianness_p): New variable.
4411 (add_locale_uint32): Call maybe_swap_uint32.
4412 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4413 (write_locale_data): Call maybe_swap_uint32_array.
4414 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4415 maybe_swap_uint32.
4416 (obstack_int32_grow_fast): Likewise.
4417 (output_weightwc): Call maybe_swap_uint32_obstack.
4418 (collate_output): Likewise.
4419 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4420 (OPT_LITTLE_ENDIAN): Likewise.
4421 (options): Add --little-endian and --big-endian options.
4422 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4423 * locale/programs/locarchive.c: Include "locfile.h".
4424 (GET): New macro.
4425 (SET): Likewise.
4426 (INC): Likewise.
4427 (create_archive): Use the new macros to access fields of
4428 structures directly mapped from or written to locale archives.
4429 (oldlocrecentcmp): Likewise.
4430 (enlarge_archive): Likewise.
4431 (insert_name): Likewise.
4432 (add_alias): Likewise.
4433 (add_locale): Likewise.
4434 (delete_locales_from_archive): Likewise.
4435 (show_archive_content): Likewise.
4436 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4437 locale data.
4438
44392013-09-24 Roland McGrath <roland@hack.frob.com>
4440
4441 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4442 http://www.gnu.org/doc/freemanuals.texi.
4443 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4444
44452013-09-24 Will Newton <will.newton@linaro.org>
4446
4447 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4448 macro.
4449
44502013-09-23 Joseph Myers <joseph@codesourcery.com>
4451
4452 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4453 unsigned char.
4454
44552013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4456
4457 * manual/threads.texi (POSIX Threads): Fix a typo.
4458
44592013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4460
4461 [BZ #14547]
4462 * string/tst-strcoll-overflow.c: New test case.
4463 * string/Makefile (xtests): Add tst-strcoll-overflow.
4464 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4465 cache if string sizes may cause integer overflow.
4466
4467 [BZ #14547]
4468 * string/strcoll_l.c (coll_seq): New members rule, idx,
4469 save_idx and back_us.
4470 (get_next_seq_nocache): New function.
4471 (do_compare_nocache): New function.
4472 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4473 when malloc fails.
4474
44752013-09-23 Carlos O'Donell <carlos@redhat.com>
4476
4477 [BZ #15754]
4478 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4479 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4480 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4481
4482 [BZ #15754]
4483 * elf/Makefile (tests): Add tst-ptrguard1.
4484 (tests-static): Add tst-ptrguard1-static.
4485 (tst-ptrguard1-ARGS): Define.
4486 (tst-ptrguard1-static-ARGS): Define.
4487 * elf/tst-ptrguard1.c: New file.
4488 * elf/tst-ptrguard1-static.c: New file.
4489 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4490 * sysdeps/i386/stackguard-macros.h: Likewise.
4491 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4492 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4493 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4494 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4495 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4496 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4497
44982013-09-23 Hector Marco <hecmargi@upv.es>
4499 Ismael Ripoll <iripoll@disca.upv.es>
4500 Carlos O'Donell <carlos@redhat.com>
4501
4502 [BZ #15754]
4503 * sysdeps/generic/stackguard-macros.h: Define
4504 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4505 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4506 Define __pointer_chk_guard_local.
4507 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4508 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4509
45102013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4511
4512 [BZ #15859]
4513 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4514
45152013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4516
4517 * include/string.h (__ffs): Declare as hidden.
4518 * string/ffs.c (__ffs): Define as hidden.
4519 * sysdeps/i386/ffs.c (__ffs): Likewise.
4520 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4521 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4522 * sysdeps/s390/ffs.c (__ffs): Likewise.
4523 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4524
45252013-09-20 Alexandre Oliva <aoliva@redhat.com>
4526
4527 * NEWS: Mention malloc probes.
4528
4529 * malloc/arena.c (new_heap): New memory_heap_new probe.
4530 (grow_heap): New memory_heap_more probe.
4531 (shrink_heap): New memory_heap_less probe.
4532 (heap_trim): New memory_heap_free probe.
4533 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4534 (systrim): New memory_sbrk_less probe.
4535 * manual/probes.texi: Document them.
4536
4537 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4538 * manual/probes.texi: Document it.
4539
4540 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4541 (__libc_realloc): Add memory_realloc_retry probe.
4542 (__libc_memalign): Add memory_memalign_retry probe.
4543 (__libc_valloc): Add memory_valloc_retry probe.
4544 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4545 (__libc_calloc): Add memory_calloc_retry probe.
4546 * manual/probes.texi: Document them.
4547
4548 * malloc/arena.c (get_free_list): Add probe
4549 memory_arena_reuse_free_list.
4550 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4551 and memory_arena_reuse.
4552 (arena_get2) [!PER_THREAD]: Likewise.
4553 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4554 memory_arena_reuse_realloc.
4555 * manual/probes.texi: Document them.
4556
4557 * malloc/malloc.c (__libc_free): Add
4558 memory_mallopt_free_dyn_thresholds probe.
4559 (__libc_mallopt): Add multiple memory_mallopt probes.
4560 * manual/probes.texi: Document them.
4561
4562 * malloc/malloc.c: Include stap-probe.h.
4563 (__libc_mallopt): Add memory_mallopt probe.
4564 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4565 * manual/probes.texi: New.
4566 * manual/Makefile (chapters): Add probes.
4567 * manual/threads.texi: Set next node.
4568
45692013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4570
4571 [BZ #15963, #13985]
4572 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4573 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4574 Add `Chinese' to `nan' entry name.
4575
45762013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4577
4578 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4579 (POLYNOMIAL): Likewise.
4580 (TAYLOR_SINCOS): Likewise.
4581 (TAYLOR_SLOW): Likewise.
4582 (__sin): Use TAYLOR_SINCOS.
4583 (__cos): Likewise.
4584 (slow): Use TAYLOR_SLOW.
4585 (sloww): Likewise.
4586 (bsloww): Likewise.
4587 (csloww): Likewise.
4588
45892013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4590
4591 * stdlib/strtod_l.c: Fix buffer overrun.
4592
45932013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4594
4595 * benchtests/Makefile (bench): Add sincos.
4596 * benchtests/bench-sincos.c: New file.
4597
4598 * math/libm-test.inc (cos_test_data): New test inputs.
4599 (sin_test_data): Likewise.
4600
4601 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4602 macro.
4603 (__sin): Use it.
4604 (__cos): Likewise.
4605 (slow1): Likewise.
4606 (slow2): Likewise.
4607 (sloww1): Likewise.
4608 (sloww2): Likewise.
4609 (bsloww1): Likewise.
4610 (bsloww2): Likewise.
4611 (cslow2): Likewise.
4612 (csloww1): Likewise.
4613 (csloww2): Likewise.
4614
4615 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4616 function.
4617 (__sin): Use it.
4618 (__cos): Likewise.
4619
4620 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4621 gotos.
4622 (__cos): Likewise.
4623
46242013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4625
4626 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4627 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4628 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4629 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4630 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4631 * elf/cache.c (print_entry): Handle the new cache flags.
4632
46332013-09-18 Joseph Myers <joseph@codesourcery.com>
4634 Aldy Hernandez <aldyh@redhat.com>
4635
4636 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4637 Change condition to [_SOFT_FLOAT].
4638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4649 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4650 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4651 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4652 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4653 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4654 declaration.
4655
46562013-09-18 Joseph Myers <joseph@codesourcery.com>
4657
4658 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4659 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4660 (__longjmp): Use LOAD_GP to load saved GPRs.
4661 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4662 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4663 (__sigsetjmp): Use SAVE_GP to save GPRs.
4664
4665 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4666 Do not append -msoft-float.
4667 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4668
46692013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4670
4671 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4672
46732013-09-17 Joseph Myers <joseph@codesourcery.com>
4674
4675 [BZ #15966]
4676 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4677 (_FPU_GETCW): Use initial "__" on variable and field names but not
4678 on macro parameter name.
4679 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4680 parentheses around reference to macro parameter.
4681
46822013-09-13 Richard Sandiford <richard@codesourcery.com>
4683
4684 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4685 prototype.
4686 (ctype_startup): Use uint32_t in cast and sizeof for
4687 ctype->charnames.
4688
46892013-09-11 Jia Liu <proljc@gmail.com>
4690
4691 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4692 __daddr_t_defined.
4693 [__FreeBSD__]: Likewise.
4694
46952013-09-11 Ondřej Bílka <neleai@seznam.cz>
4696
4697 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4698 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4699 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4700 (strchr): Remove __strchr_sse42 ifunc selection.
4701 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4702 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4703
47042013-09-11 Will Newton <will.newton@linaro.org>
4705
4706 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4707 parameter to RES. Remove hardcoded 1000 value.
4708 * benchtests/bench-skeleton.c (main): Pass RES parameter
4709 to TIMING_INIT and multiply result by 1000.
4710
47112013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4712
4713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4714
47152013-09-11 Andreas Schwab <schwab@suse.de>
4716
4717 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4718 if not defined.
4719 (O_TMPFILE) [__USE_GNU]: Define.
4720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4721 Define.
4722
47232013-09-11 Will Newton <will.newton@linaro.org>
4724
4725 [BZ #15857]
4726 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4727 does not overflow.
4728
47292013-09-11 Will Newton <will.newton@linaro.org>
4730
4731 [BZ #15856]
4732 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4733 does not overflow.
4734
47352013-09-11 Will Newton <will.newton@linaro.org>
4736
4737 [BZ #15855]
4738 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4739 does not overflow.
4740
47412013-09-10 Ondřej Bílka <neleai@seznam.cz>
4742
4743 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4744 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4745 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4746 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4747 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4748
47492013-09-10 Allan McRae <allan@archlinux.org>
4750
4751 [BZ #15748]
4752 * manual/arith.texi (Parsing of Floats): Clarify
4753 cross-reference.
4754
4755 [BZ #15849]
4756 * manual/install.texi (Running make install): Mention
4757 --enable-pt-chown.
4758 * INSTALL: Regenerated.
4759
47602013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4761
4762 * csu/init-first.c (_init): Remove the !SHARED condition around
4763 FPU control word initialization.
4764 * elf/dl-support.c (_dl_fpu_control): New variable.
4765 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4766 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4767 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4768 * math/test-fpucw-static.c: New file.
4769 * math/test-fpucw-ieee.c: New file.
4770 * math/test-fpucw-ieee-static.c: New file.
4771 * math/Makefile (tests): Add `test-fpucw-ieee' and
4772 `$(tests-static)'.
4773 (tests-static): New variable.
4774 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4775 dependency to...
4776 [($(build-shared),yes)]
4777 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4778 ... this.
4779 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4780 New dependency.
4781
47822013-09-09 Allan McRae <allan@archlinux.org>
4783
4784 [BZ #15939]
4785 * manual/string.texi (Collation Functions): Fix typo in
4786 strcoll example.
4787 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4788
4789 [BZ #15893]
4790 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4791
4792 [BZ #15892]
4793 * libio/memstream.c (open_memstream): Fix memory leak.
4794 * libio/wmemstream.c (open_wmemstream): Likewise.
4795
4796 [BZ #15895]
4797 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4798
47992013-09-09 Will Newton <will.newton@linaro.org>
4800
4801 * malloc/Makefile: Add tst-realloc to tests.
4802 * malloc/tst-realloc.c: New file.
4803
48042013-09-09 Allan McRae <allan@archlinux.org>
4805
4806 [BZ #15844]
4807 * COPYING: Update from GNU website to fix FSF address.
4808 * COPYING.LIB: Likewise.
4809
48102013-09-06 David S. Miller <davem@davemloft.net>
4811
4812 * po/zh_TW.po: Update Chinese (traditional) translation from
4813 translation project.
4814
48152013-09-06 Richard Sandiford <richard@codesourcery.com>
4816 Joseph Myers <joseph@codesourcery.com>
4817
4818 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4819 "localeinfo.h".
4820 (obstack_chunk_alloc): New macro.
4821 (obstack_chunk_free): Likewise.
4822 (record_offset): New function.
4823 (init_locale_data): Likewise.
4824 (align_locale_data): Likewise.
4825 (add_locale_empty): Likewise.
4826 (add_locale_raw_data): Likewise.
4827 (add_locale_raw_obstack): Likewise.
4828 (add_locale_string): Likewise.
4829 (add_locale_wstring): Likewise.
4830 (add_locale_uint32): Likewise.
4831 (add_locale_uint32_array): Likewise.
4832 (add_locale_char): Likewise.
4833 (start_locale_structure): Likewise.
4834 (end_locale_structure): Likewise.
4835 (start_locale_prelude): Likewise.
4836 (end_locale_prelude): Likewise.
4837 (write_locale_data): Take locale_file structure rather than an
4838 iovec.
4839 * locale/programs/locfile.h: Include "obstack.h".
4840 (struct locale_file): Change to store locale file contents instead
4841 of header.
4842 (init_locale_data): New prototype.
4843 (align_locale_data): Likewise.
4844 (add_locale_empty): Likewise.
4845 (add_locale_raw_data): Likewise.
4846 (add_locale_raw_obstack): Likewise.
4847 (add_locale_string): Likewise.
4848 (add_locale_wstring): Likewise.
4849 (add_locale_uint32): Likewise.
4850 (add_locale_uint32_array): Likewise.
4851 (add_locale_char): Likewise.
4852 (start_locale_structure): Likewise.
4853 (end_locale_structure): Likewise.
4854 (start_locale_prelude): Likewise.
4855 (end_locale_prelude): Likewise.
4856 (write_locale_data): Update prototype.
4857 * locale/programs/3level.h (struct TABLE): Remove result field.
4858 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4859 Use new locale_file interface.
4860 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4861 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4862 * locale/programs/ld-address.c (address_output): Use new
4863 locale_file interface.
4864 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4865 NO_ADD_LOCALE.
4866 (collate_finish): Don't call collseq_table_finalize.
4867 (collate_output): Use new locale_file interface.
4868 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4869 in file.
4870 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4871 (TABLE): Move defines earlier in file.
4872 (ELEMENT): Likewise.
4873 (DEFAULT): Likewise.
4874 (wctrans_table_add): Move macro and inline function earlier in
4875 file.
4876 (struct wctype_table): Move type earlier in file.
4877 (add_locale_wctype_table): New static prototype.
4878 (struct locale_ctype_t): Use logical types instead of struct iovec
4879 pointers for members.
4880 (ctype_output): Use new locale_file interface.
4881 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4882 new locale_file interface.
4883 (allocate_arrays): Update for use of new locale_file interface.
4884 * locale/programs/ld-identification.c (identification_output): Use
4885 new locale_file interface.
4886 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4887 * locale/programs/ld-messages.c (messages_output): Likewise.
4888 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4889 * locale/programs/ld-name.c (name_output): Likewise.
4890 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4891 * locale/programs/ld-paper.c (paper_output): Likewise.
4892 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4893 * locale/programs/ld-time.c (time_output): Likewise.
4894
48952013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4896
4897 * benchtests/Makefile: Add memrchr benchmark.
4898 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4899 benchmark as memrchr.
4900 * benchtests/bench-memrchr-ifunc.c: New file.
4901 * benchtests/bench-memrchr.c: New file.
4902
49032013-09-06 Will Newton <will.newton@linaro.org>
4904
4905 * benchtests/Makefile (string-bench): Add memcpy.
4906
49072013-09-05 Carlos O'Donell <carlos@redhat.com>
4908 Cong Wang <amwang@redhat.com>
4909
4910 * sysdeps/unix/sysv/linux/bits/in.h
4911 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4912 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4913 before __USE_KERNEL_IPV6_DEFS uses.
4914 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4915 IPPROTO_BEETPH.
4916 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4917 sockaddr_in6, or ipv6_mreq.
4918
49192013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4920
4921 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4922 memory access for final bytes in some large inputs.
4923 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4924
49252013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4926
4927 * string/test-memrchr.c: New file.
4928 * string/test-memrchr-ifunc.c: New file.
4929 * string/Makefile: Add new memrchr testcase.
4930
49312013-09-05 Mike Frysinger <vapier@gentoo.org>
4932
4933 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4934 fanotify_init returns EPERM.
4935
49362013-09-04 Joseph Myers <joseph@codesourcery.com>
4937
4938 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4939 errors.
4940 (top level): Treat second token from macro or constant entries for
4941 allowed headers as allowed.
4942 * include/complex.h: Condition internal declarations on
4943 [!_ISOMAC].
4944 * include/fenv.h: Condition include of <stdbool.h> and internal
4945 declarations on [!_ISOMAC].
4946
49472013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4948
4949 [BZ #15923]
4950 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4951
49522013-09-04 Joseph Myers <joseph@codesourcery.com>
4953
4954 * configure.in (--enable-versioning): Remove configure option.
4955 (libc_cv_asm_symver_directive): Remove configure test.
4956 (libc_cv_ld_version_script_option): Likewise.
4957 (VERSIONING): Remove variable and AC_SUBST.
4958 (DO_VERSIONING): Remove AC_DEFINE.
4959 * configure: Regenerated.
4960 * config.h.in (DO_VERSIONING): Remove macro.
4961 * Makerules [$(versioning) = yes]: Change conditionals to
4962 [$(build-shared) = yes].
4963 * config.make.in (versioning): Remove variable.
4964 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4965 [$(build-shared) = yes].
4966 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4967 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4968 * elf/Makefile [$(versioning) = yes]: Change conditionals to
4969 [$(build-shared) = yes].
4970 * extra-lib.mk [$(versioning) = yes]: Likewise.
4971 * hurd/Makefile [$(versioning) = yes]: Likewise.
4972 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4973 [SHARED].
4974 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4975 [SHARED].
4976 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4977 [SHARED && !NO_HIDDEN].
4978 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4979 [SHARED].
4980 [SHARED && DO_VERSIONING]: Likewise..
4981 * libio/Makefile [$(versioning) = yes]: Change conditionals to
4982 [$(build-shared) = yes].
4983 * manual/install.texi (--disable-versioning): Remove
4984 documentation.
4985 * INSTALL: Regenerated.
4986 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4987 to [SHARED].
4988 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4989 [$(build-shared) = yes].
4990 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4991 * sysdeps/i386/i686/multiarch/strstr-c.c
4992 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4993 [SHARED && !NO_HIDDEN].
4994 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4995 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4996 * sysdeps/powerpc/powerpc32/dl-machine.c
4997 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4998 * sysdeps/powerpc/powerpc32/sysdep.h
4999 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5000 to [SHARED && PIC && !NO_HIDDEN].
5001 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5002 conditional to [SHARED].
5003
50042013-09-04 Will Newton <will.newton@linaro.org>
5005
5006 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5007 * benchtests/bench-string.h: Include bench-timing.h instead
5008 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5009 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5010 call to HP_TIMING_DIFF_INIT.
5011 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5012 instead of hp-timing.h macros.
5013 * benchtests/bench-memchr.c: Likewise.
5014 * benchtests/bench-memcmp.c: Likewise.
5015 * benchtests/bench-memcpy.c: Likewise.
5016 * benchtests/bench-memmem.c: Likewise.
5017 * benchtests/bench-memmove.c: Likewise.
5018 * benchtests/bench-memset.c: Likewise.
5019 * benchtests/bench-rawmemchr.c: Likewise.
5020 * benchtests/bench-strcasecmp.c: Likewise.
5021 * benchtests/bench-strcasestr.c: Likewise.
5022 * benchtests/bench-strcat.c: Likewise.
5023 * benchtests/bench-strchr.c: Likewise.
5024 * benchtests/bench-strcmp.c: Likewise.
5025 * benchtests/bench-strcpy.c: Likewise.
5026 * benchtests/bench-strcpy_chk.c: Likewise.
5027 * benchtests/bench-strlen.c: Likewise.
5028 * benchtests/bench-strncasecmp.c: Likewise.
5029 * benchtests/bench-strncat.c: Likewise.
5030 * benchtests/bench-strncmp.c: Likewise.
5031 * benchtests/bench-strncpy.c: Likewise.
5032 * benchtests/bench-strnlen.c: Likewise.
5033 * benchtests/bench-strpbrk.c: Likewise.
5034 * benchtests/bench-strrchr.c: Likewise.
5035 * benchtests/bench-strspn.c: Likewise.
5036 * benchtests/bench-strstr.c: Likewise.
5037
50382013-09-04 Will Newton <will.newton@linaro.org>
5039
5040 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5041
50422013-09-03 Joseph Myers <joseph@codesourcery.com>
5043
5044 [BZ #15427]
5045 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5046 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5047 * math/libm-test.inc (lgamma_test_data): Add more tests.
5048 * sysdeps/i386/fpu/libm-test-ulps: Update.
5049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5050
50512013-09-03 Ondřej Bílka <neleai@seznam.cz>
5052
5053 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5054 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5055 Add ifunc.
5056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5057 Add strcmp-sse2-unaligned
5058 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5059
50602013-09-02 Mike Frysinger <vapier@gentoo.org>
5061
5062 * Versions.def (libc): Add GLIBC_2.19.
5063
50642013-09-02 Mike Frysinger <vapier@gentoo.org>
5065
5066 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5067 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5068
50692013-09-02 Joseph Myers <joseph@codesourcery.com>
5070
5071 [BZ #14155]
5072 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5073 intermediate calculations in recurrence.
5074 (__ieee754_ynf): Likewise.
5075 * math/libm-test.inc (jn_test_data): Do not allow spurious
5076 underflow exception. Add more tests.
5077 (yn_test_data): Add more tests.
5078 * sysdeps/i386/fpu/libm-test-ulps: Update.
5079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5080
50812013-09-02 Ondřej Bílka <neleai@seznam.cz>
5082
5083 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5084
50852013-08-30 Ondřej Bílka <neleai@seznam.cz>
5086
5087 * csu/init-first.c: Fix then/than typos.
5088 * locale/programs/ld-collate.c: Likewise.
5089 * locale/programs/linereader.h: Likewise.
5090 * manual/charset.texi: Likewise.
5091 * manual/filesys.texi: Likewise.
5092 * manual/stdio.texi: Likewise.
5093 * manual/string.texi: Likewise.
5094 * stdlib/fmtmsg.c: Likewise.
5095 * sysdeps/i386/stpncpy.S: Likewise.
5096 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5097 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5098 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5099 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5100
51012013-08-30 Ondřej Bílka <neleai@seznam.cz>
5102
5103 * elf/dl-open.c: Fix typos.
5104 * iconvdata/gbbig5.c: Likewise.
5105 * iconvdata/iso-2022-jp.c: Likewise.
5106 * iconv/gconv_int.h: Likewise.
5107 * iconv/loop.c: Likewise.
5108 * nis/rpcsvc/nis.h: Likewise.
5109 * resolv/ns_name.c: Likewise.
5110 * stdio-common/vfscanf.c: Likewise.
5111 * streams/stropts.h: Likewise.
5112 * sunrpc/rpc_thread.c: Likewise.
5113 * sysdeps/i386/strpbrk.S: Likewise.
5114 * sysdeps/ieee754/k_standard.c: Likewise.
5115 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5116 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5117 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5118 * sysdeps/mach/hurd/profil.c: Likewise.
5119 * sysdeps/s390/dl-procinfo.h: Likewise.
5120 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5121 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5122 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5123 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5125
51262013-08-30 Ondřej Bílka <neleai@seznam.cz>
5127
5128 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5129 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5130
51312013-08-29 Ondřej Bílka <neleai@seznam.cz>
5132
5133 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5134 aix specific files.
5135 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5136 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5137 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5138 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5139 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5140 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5141 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5142 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5143
51442013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5145 Roland McGrath <roland@hack.frob.com>
5146
5147 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5148 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5149
51502013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5151
5152 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5153 __executable_start symbol instead of _start.
5154
51552013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5156
5157 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5158 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5159 Move macros to...
5160 * sysdeps/gnu/ldsodefs.h: ... this new file.
5161
5162 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5163 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5164 instead of ELFOSABI_LINUX.
5165
5166 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5167 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5168 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5169 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5170 Likewise.
5171 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5172 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5173 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5174 Likewise.
5175 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5176 (ibm_extended_long_double): Add ieee_nan member.
5177 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5178 (do_test): New function.
5179
5180 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5181 TEST_TRUNC.
5182 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5183 functions, renamed from truncdfsf_test, trunctfsf_test,
5184 trunctfdf_test.
5185 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5186 functions.
5187 (do_test): Run all these.
5188
51892013-08-29 Ondřej Bílka <neleai@seznam.cz>
5190
5191 * argp/argp-help.c: Fix typos.
5192 * argp/argp-parse.c: Likewise.
5193 * debug/backtracesyms.c: Likewise.
5194 * elf/elf.h: Likewise.
5195 * malloc/malloc.c: Likewise.
5196 * nis/nis_print.c: Likewise.
5197 * resolv/res_comp.c: Likewise.
5198 * stdlib/stdlib.h: Likewise.
5199 * sunrpc/clnt_tcp.c: Likewise.
5200 * sunrpc/clnt_udp.c: Likewise.
5201 * sunrpc/clnt_unix.c: Likewise.
5202 * sysdeps/unix/bsd/ptsname.c: Likewise.
5203 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5204 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5206 Likewise.
5207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5208 Likewise.
5209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5210 Likewise.
5211 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5212
52132013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5214
5215 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5217
52182013-08-27 Mike Frysinger <vapier@gentoo.org>
5219
5220 [BZ #15897]
5221 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5222 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5223 ($(objpfx)bug-dl-leaf): New rule.
5224 ($(objpfx)bug-dl-leaf.so): Likewise.
5225 ($(objpfx)bug-dl-leaf.out): Likewise.
5226 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5227 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5228 * dlfcn/bug-dl-leaf.c: New test.
5229 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5230 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5231 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5232 (dlclose): Likewise.
5233 (dlmopen): Likewise.
5234
52352013-08-27 Roland McGrath <roland@hack.frob.com>
5236
5237 * include/netdb.h [!_ISOMAC]:
5238 Don't include <tls.h>.
5239 (h_errno, __libc_h_errno): Move declaration and macros out of
5240 [_LIBC_REENTRANT].
5241
5242 * include/resolv.h [_RESOLV_H_]:
5243 Don't include <tls.h>.
5244 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5245 * resolv/res_libc.c: Don't include <tls.h>.
5246 (_res): Use __attribute__ ((nocommon)) in place of
5247 __attribute__ ((section (".bss"))).
5248
5249 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5250 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5251
5252 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5253
5254 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5255 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5256
5257 * resolv/res_mkquery.c: Include <sys/time.h>.
5258
5259 * inet/ifreq.c: Moved to ...
5260 * sysdeps/unix/ifreq.c: ... here.
5261 * inet/ifreq.c: New file, true stub version.
5262
5263 * socket/sa_len.c: New file.
5264 * socket/Makefile (aux): Add it.
5265 * sysdeps/unix/sysv/linux/Makefile
5266 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5267 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5268 and #include <socket/sa_len.c>.
5269 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5270 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5271
5272 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5273 * bits/socket.h: ... here.
5274
5275 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5276 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5277 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5278
52792013-08-27 Andreas Schwab <schwab@suse.de>
5280
5281 [BZ #15736]
5282 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5283 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5284 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5285 * string/test-strcasecmp.c (test_main): Run tests in several
5286 locales.
5287 * string/test-strncasecmp.c (test_main): Likewise.
5288
5289 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5290 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5291 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5293 (__strncasecmp_ssse3) [PIC]: Likewise.
5294
52952013-08-26 Roland McGrath <roland@hack.frob.com>
5296
5297 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5298
5299 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5300 instead of explicitly declaring xdecrypt.
5301 * nis/nss_nis/nis-publickey.c: Likewise.
5302
53032013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5304
5305 [BZ #15890]
5306 * nscd/aicache.c: Include res_hconf.h.
5307 (addhstaiX): Initialize res_hconf.
5308
53092013-08-26 Andreas Schwab <schwab@suse.de>
5310
5311 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5312 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5313
53142013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5315
5316 * nscd/aicache.c (addhstaiX): Fix indentation.
5317
53182013-08-25 Mike Frysinger <vapier@gentoo.org>
5319
5320 * configure.ac: Quote $build_pt_chown test.
5321 * configure: Regenerated.
5322
53232013-08-23 Joseph Myers <joseph@codesourcery.com>
5324
5325 [BZ #15532]
5326 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5327 * math/s_cexpf.c (__cexpf): Likewise.
5328 * math/s_cexpl.c (__cexpl): Likewise.
5329 * math/libm-test.inc (cexp_test_data): Correct expected return
5330 value for NaN + i0. Add another test.
5331
53322013-08-22 David S. Miller <davem@davemloft.net>
5333
5334 * po/ca.po: Update Catalan translation from translation project.
5335 * po/uk.po: Add Ukrainian translations from translation project.
5336
53372013-08-21 Joseph Myers <joseph@codesourcery.com>
5338
5339 [BZ #15797]
5340 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5341 is infinite, not alongside NaN test.
5342 * math/s_fdimf.c (__fdimf): Likewise.
5343 * math/s_fdiml.c (__fdiml): Likewise.
5344 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5345 errno is unchanged.
5346
53472013-08-21 Ondřej Bílka <neleai@seznam.cz>
5348
5349 * argp/argp-help.c: Fix typos.
5350 * crypt/speeds.c: Likewise.
5351 * csu/check_fds.c: Likewise.
5352 * elf/dl-load.c: Likewise.
5353 * elf/dl-open.c: Likewise.
5354 * elf/reldep3.c: Likewise.
5355 * elf/reldep.c: Likewise.
5356 * elf/sprof.c: Likewise.
5357 * iconv/iconv_charmap.c: Likewise.
5358 * iconv/skeleton.c: Likewise.
5359 * iconv/strtab.c: Likewise.
5360 * io/lockf64.c: Likewise.
5361 * libio/libioP.h: Likewise.
5362 * resolv/gai_notify.c: Likewise.
5363 * resolv/ns_name.c: Likewise.
5364 * resolv/ns_samedomain.c: Likewise.
5365 * resolv/res_send.c: Likewise.
5366 * stdlib/random.c: Likewise.
5367 * sunrpc/rpc/xdr.h: Likewise.
5368 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5369 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5370 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5371 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5372 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5375 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5376 * sysdeps/mach/hurd/check_fds.c: Likewise.
5377 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5378 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5379 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5380 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5381 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5382 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5383 * sysdeps/pthread/aio_notify.c: Likewise.
5384 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5385 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5386 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5387 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5388 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5389
53902013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5391
5392 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5393 version if bit_Slow_SSE4_2 is set.
5394 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5395 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5396
53972013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5398
5399 [BZ #15867]
5400 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5401 trampoline stack frame information.
5402 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5403 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5404 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5405 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5406 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5407 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5408 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5409 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5410 sa_flags value.
5411 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5412 interrupting a syscall and set with option SA_SIGINFO.
5413
54142013-08-20 Joseph Myers <joseph@codesourcery.com>
5415
5416 [BZ #15531]
5417 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5418 argument is infinite.
5419 * math/s_cprojf.c (__cprojf): Likewise.
5420 * math/s_cprojl.c (__cprojl): Likewise.
5421 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5422 * math/libm-test.inc (cproj_test_data): Add more tests.
5423
5424 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5425
5426 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5427 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5428 size. Use __ffs to determine corresponding shift.
5429
54302013-08-20 Joseph Myers <joseph@codesourcery.com>
5431 Roland McGrath <roland@hack.frob.com>
5432
5433 * Makefile (INSTALL): Remove trailing blank lines from output of
5434 makeinfo.
5435
54362013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5437
5438 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5439 Align 32 bit compat elf_greg to 8 bytes.
5440
54412013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5442
5443 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5444
54452013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5446
5447 * string/strcoll_l.c (coll_seq): New structure.
5448 (get_next_seq_cached): New function.
5449 (get_next_seq): New function.
5450 (do_compare): New function.
5451 (STRCOLL): Use GNU style definition. Simplify implementation
5452 by using get_next_seq, get_next_seq_cached and do_compare.
5453
54542013-08-16 Florian Weimer <fweimer@redhat.com>
5455
5456 [BZ #14699]
5457 CVE-2013-4237
5458 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5459 member.
5460 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5461 member.
5462 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5463 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5464 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5465 conditional.
5466 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5467 GETDENTS_64BIT_ALIGNED.
5468 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5469 * manual/filesys.texi (Reading/Closing Directory): Document
5470 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5471 strongly.
5472 * manual/conf.texi (Limits for Files): Add portability note to
5473 NAME_MAX, PATH_MAX.
5474 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5475
54762013-08-13 Andreas Schwab <schwab@suse.de>
5477
5478 [BZ #15749]
5479 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5480 of fabs.
5481 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5482 LDBL_MAX_EXP >= 16384]: Add tests for it.
5483
54842013-08-12 David S. Miller <davem@davemloft.net>
5485
5486 * version.h (RELEASE): Set to "development".
5487 (VERSION): Set to "2.18.90".
5488 * NEWS: Add 2.19 section.
5489
54902013-08-03 David S. Miller <davem@davemloft.net>
5491
5492 * po/ko.po: Update Korean translation from translation project.
5493
54942013-08-01 David S. Miller <davem@davemloft.net>
5495
5496 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5497 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5498 Bilka.
5499
55002013-07-30 David S. Miller <davem@davemloft.net>
5501
5502 * po/fr.po: Update French translation from translation project.
5503
55042013-07-28 David S. Miller <davem@davemloft.net>
5505
5506 * po/cs.po: Update Czech translation from translation project.
5507
5508 * po/sv.po: Update Swedish translation from translation project.
5509
55102013-07-27 David S. Miller <davem@davemloft.net>
5511
5512 * po/eo.po: Update Esperanto translation from translation project.
5513
5514 * po/vi.po: Update Vietnamese translation from translation project.
5515
5516 * po/de.po: Update German translation from translation project.
5517
55182013-07-26 David S. Miller <davem@davemloft.net>
5519
5520 * po/bg.po: Update Bulgarian translation from translation project.
5521
5522 * po/nl.po: Update Dutch translation from translation project.
5523 * po/pl.po: Update Polish translation from translation project.
5524 * po/ru.po: Update Russian translation from translation project.
5525
55262013-07-24 David S. Miller <davem@davemloft.net>
5527
5528 * po/libc.pot: Update.
5529
55302013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5531
5532 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5533 variable page size.
5534 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5535 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5536 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5537
55382013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5539
5540 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5541
55422013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5543 Andreas Schwab <schwab@suse.de>
5544 Roland McGrath <roland@hack.frob.com>
5545 Joseph Myers <joseph@codesourcery.com>
5546 Carlos O'Donell <carlos@redhat.com>
5547
5548 [BZ #15755]
5549 * config.h.in: Define HAVE_PT_CHOWN.
5550 * config.make.in (build-pt-chown): New variable.
5551 * configure.in (--enable-pt_chown): New configure option.
5552 * configure: Regenerate.
5553 * login/Makefile: Include Makeconfig. Build pt_chown only if
5554 build-pt-chown is enabled.
5555 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5556 pt_chown to fix pty ownership.
5557 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5558 CLOSE_ALL_FDS.
5559 * manual/install.texi (Configuring and compiling): Mention
5560 --enable-pt_chown. Add @findex for grantpt.
5561 * INSTALL: Regenerate.
5562
55632013-07-20 David S. Miller <davem@davemloft.net>
5564
5565 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5566 difference between 32-bit and 64-bit.
5567
55682013-07-15 Carlos O'Donell <carlos@redhat.com>
5569
5570 [BZ #15711]
5571 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5572 Avoid system header dependency with -ffreestanding.
5573 ($(objpfx)bits/syscall%d): Likewise.
5574
55752013-07-13 David S. Miller <davem@davemloft.net>
5576
5577 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5578 underflows from atanl/atan2l due to bug 15319.
5579 (casinh_test_data): Likewise.
5580
55812013-07-07 David S. Miller <davem@davemloft.net>
5582
5583 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5584
55852013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5586
5587 * sysdeps/i386/fpu/libm-test-ulps: Update.
5588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5589
55902013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5591
5592 * configure.in (--enable-lock-elision): Fix message text.
5593 * INSTALL: Regenerate.
5594 * configure: Regenerate.
5595
55962013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5597
5598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5599
56002013-07-03 Andreas Jaeger <aj@suse.de>
5601
5602 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5603 define.
5604 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5605 (ptrace_peeksiginfo_args): Add.
5606 (__ptrace_peeksiginfo_flags): Add.
5607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5608 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5609 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5610
56112013-07-03 Allan McRae <allan@archlinux.org>
5612
5613 * sysdeps/i386/fpu/libm-test-ulps: Update.
5614
56152013-07-02 David S. Miller <davem@davemloft.net>
5616
5617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5618
56192013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5620
5621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5622
56232013-07-02 Joseph Myers <joseph@codesourcery.com>
5624
5625 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5627
56282013-07-02 Andi Kleen <ak@linux.intel.com>
5629
5630 * config.h.in (ENABLE_LOCK_ELISION): Add.
5631 * configure.in (--enable-lock-elision): Add option.
5632 * manual/install.texi: Document --enable lock elision.
5633 * configure: Regenerate
5634 * INSTALL: Regenerate.
5635
56362013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5637
5638 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5639 SSE4.2 strcasecmp for libc.a.
5640 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5641
56422013-07-02 Joseph Myers <joseph@codesourcery.com>
5643
5644 [BZ #13304]
5645 * soft-fp/op-common.h (_FP_FMA): New macro.
5646 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5647 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5648 (_FP_MUL_MEAT_1_imm): ... here.
5649 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5650 (_FP_MUL_MEAT_1_wide): ... here.
5651 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5652 (_FP_MUL_MEAT_1_hard): ... here.
5653 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5654 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5655 (_FP_MUL_MEAT_2_wide): ... here.
5656 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5657 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5658 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5659 (_FP_MUL_MEAT_2_gmp): ... here.
5660 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5661 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5662 (_FP_MUL_MEAT_4_wide): ... here.
5663 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5664 (_FP_MUL_MEAT_4_gmp): ... here.
5665 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5666 (_FP_WFRACBITS_DW_S): Likewise.
5667 (_FP_WFRACXBITS_DW_S): Likewise.
5668 (_FP_HIGHBIT_DW_S): Likewise.
5669 (FP_FMA_S): Likewise.
5670 (_FP_FRAC_HIGH_DW_S): Likewise.
5671 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5672 (_FP_WFRACBITS_DW_D): Likewise.
5673 (_FP_WFRACXBITS_DW_D): Likewise.
5674 (_FP_HIGHBIT_DW_D): Likewise.
5675 (FP_FMA_D): Likewise.
5676 (_FP_FRAC_HIGH_DW_D): Likewise.
5677 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5678 (_FP_WFRACBITS_DW_E): Likewise.
5679 (_FP_WFRACXBITS_DW_E): Likewise.
5680 (_FP_HIGHBIT_DW_E): Likewise.
5681 (FP_FMA_E): Likewise.
5682 (_FP_FRAC_HIGH_DW_E): Likewise.
5683 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5684 (_FP_WFRACBITS_DW_Q): Likewise.
5685 (_FP_WFRACXBITS_DW_Q): Likewise.
5686 (_FP_HIGHBIT_DW_Q): Likewise.
5687 (FP_FMA_Q): Likewise.
5688 (_FP_FRAC_HIGH_DW_Q): Likewise.
5689 * soft-fp/fmasf4.c: New file.
5690 * soft-fp/fmadf4.c: Likewise.
5691 * soft-fp/fmatf4.c: Likewise.
5692
56932013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5694
5695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5696 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5697 Silvermont.
5698 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5699 macro.
5700 (index_Slow_SSE4_2): Likewise.
5701 (index_Prefer_PMINUB_for_stringop): Likewise.
5702 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5703 bit_Slow_SSE4_2 is set.
5704 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5705 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5706
57072013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5708
5709 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5710 rtld_global._dl_hwcap2.
5711 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5712 POWER8.
5713 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5714 POWER8 feature descriptions defined in _dl_hwcap2.
5715 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5716 string handling for POWER8 feature bits.
5717 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5718 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5719 _dl_powerpc_cap_flags.
5720 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5721 * sysdeps/powerpc/rtld-global-offsets.sym
5722 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5723 _dl_hwcap2 in the rtld_global_ro structure.
5724
57252013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5726
5727 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5728 hardware capabilities in support of AT_HWCAP2.
5729 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5730 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5731 GLRO(dl_hwcap2).
5732 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5733 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5734 explicitly the unknown a_type display mechanism is used.
5735 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5736 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5737 struct member.
5738 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5739 to macro prototype for AT_HWCAP2 support.
5740 * sysdeps/i386/dl-procinfo.h: Likewise.
5741 * sysdeps/s390/dl-procinfo.h: Likewise.
5742 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5743 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5744 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5745 return -1 for unknown a_type display fallback.
5746 * sysdeps/sparc/dl-procinfo.h: Likewise.
5747 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5748 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5749
57502013-06-28 Joseph Myers <joseph@codesourcery.com>
5751
5752 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5753 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5754
57552013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5756
5757 [BZ #12492]
5758 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5759 mprotect making __stack_prot writable.
5760
57612013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5762 Joseph Myers <joseph@codesourcery.com>
5763
5764 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5765 as being properly aligned.
5766
57672013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5768
5769 * dlfcn/modstatic5.c: New file.
5770 * dlfcn/tststatic5.c: New file.
5771 * dlfcn/Makefile (tests): Add tststatic5.
5772 (tests-static): Likewise.
5773 (modules-names): Add modstatic5.
5774 (tststatic5-ENV): New variable.
5775 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5776
5777 [BZ #15022]
5778 * elf/dl-support.c (_dl_main_map): New variable.
5779 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5780 (_dl_nns, _dl_load_adds): Set to 1.
5781 (_dl_initial_searchlist): Refer to _dl_main_map.
5782 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5783 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5784 call to _dl_get_origin.
5785 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5786 around call_map.
5787 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5788 * dlfcn/modstatic3.c: New file.
5789 * dlfcn/tststatic3.c: New file.
5790 * dlfcn/tststatic4.c: New file.
5791 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5792 (tests-static): Likewise.
5793 (modules-names): Add modstatic3.
5794 (tststatic3-ENV, tststatic4-ENV): New variables.
5795 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5796 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5797
57982013-06-26 Joseph Myers <joseph@codesourcery.com>
5799
5800 * configure.in (CC): Require GCC version 4.4 or later.
5801 * configure: Regenerated.
5802 * manual/install.texi (Tools for Compilation): Update GCC version
5803 requirement.
5804 * INSTALL: Regenerated.
5805
58062013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5807
5808 [BZ #15674]
5809 * string/test-memcmp.c (check2): New.
5810 (main): Call check2.
5811
5812 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5813
58142013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5815
5816 [BZ #15022]
5817 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5818 over to...
5819 (dl_open_worker) [!SHARED]: ... here.
5820
58212013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5822
5823 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5824
58252013-06-25 Richard Henderson <rth@redhat.com>
5826
5827 * locale/programs/locarchive.c: Include <libc-internal.h>
5828
58292013-06-25 Joseph Myers <joseph@codesourcery.com>
5830
5831 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5832 trailing whitespace removed.
5833
58342013-06-24 Mike Frysinger <vapier@gentoo.org>
5835
5836 [BZ #10283]
5837 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5838 * locale/programs/locarchive.c: Include libc-mmap.h.
5839 (prepare_address_space): Take two new outputs (the mmap base and len).
5840 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5841 values.
5842 (create_archive): Declare new mmap base and len values for
5843 prepare_address_space, and store the result in ah.
5844 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5845 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5846 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5847 Declare new mmap base and len values for
5848 prepare_address_space, and store the result in new_ah.
5849 (open_archive): Declare new mmap base and len values for
5850 prepare_address_space, and store the result in ah.
5851 (close_archive): If ah->mmap_base is not NULL, use that and
5852 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5853 * sysdeps/generic/libc-mmap.h: New file.
5854
58552013-06-24 Mike Frysinger <vapier@gentoo.org>
5856
5857 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5858 (ALIGN_UP): Likewise.
5859 (PTR_ALIGN_DOWN): Likewise.
5860 (PTR_ALIGN_UP): Likewise.
5861
58622013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5863
5864 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5865 entry mapped to PPC_PLATFORM_POWER8.
5866 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5867 POWER8.
5868 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5869 (_dl_string_platform): Add case for exporting platform position for
5870 POWER8.
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5872 search path to sysdeps/powerpc/powerpc32/power8 directory.
5873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5874 search path to sysdeps/powerpc/powerpc64/power8 directory.
5875 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5876 power7 directories.
5877 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5878 power7 directories.
5879
58802013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5881
5882 * INSTALL: Regenerate.
5883
5884 * nscd/connections.c (nscd_init): Fix comment.
5885
58862013-06-22 Joseph Myers <joseph@codesourcery.com>
5887
5888 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5889
5890 [BZ #15667]
5891 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5892 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5893
58942013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5895
5896 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5897 DL_DST_REQ_STATIC.
5898 (DL_DST_REQ_STATIC): Remove macro.
5899
59002013-06-21 Joseph Myers <joseph@codesourcery.com>
5901
5902 [BZ #7006]
5903 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5904 with a shift of 0 bits.
5905
59062013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5907
5908 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5909 $(tststatic-ENV).
5910
59112013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5912
5913 [BZ #15655]
5914 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5915
59162013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5917
5918 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5919 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5920 accepts -fno-tree-loop-distribute-patterns.
5921 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5922 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5923 recursive call.
5924 * string/memset.c (memset): Likewise.
5925 * string/test-memmove.c (simple_memmove): Disable loop transformation
5926 to library calls.
5927 * string/test-memset.c (simple_memset): Likewise.
5928 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5929 * benchtests/bench-memset.c (simple_memset): Likewise.
5930 * configure: Regenerated.
5931
59322013-06-20 Joseph Myers <joseph@codesourcery.com>
5933
5934 * math/test-misc.c (main): Ignore fesetround failure when failures
5935 of subsequent rounding tests would be ignored.
5936
5937 [BZ #15654]
5938 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5939 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5940 * math/fegetenv.c (__fegetenv): Return 0.
5941 * math/fegetexcept.c (fegetexcept): Return 0.
5942 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5943 FE_TONEAREST.
5944 * math/feholdexcpt.c (feholdexcept): Return 0.
5945 * math/fesetenv.c (__fesetenv): Return 0.
5946 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5947 argument FE_TONEAREST.
5948 * math/feupdateenv.c (__feupdateenv): Return 0.
5949 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5950
59512013-06-18 Roland McGrath <roland@hack.frob.com>
5952
5953 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5954 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5955 ($(objpfx)rtld-%.os rules): Use them.
5956
59572013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5958
5959 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5960 fields.
5961
59622013-06-17 Roland McGrath <roland@hack.frob.com>
5963
5964 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5965 length of target pattern, then descending length of dependency pattern.
5966 * configure.in (AWK): Require gawk 3.1.2 or newer.
5967 * manual/install.texi (Tools for Compilation): Say that we do.
5968 * configure: Regenerated.
5969
5970 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5971 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5972 * scripts/sysd-rules.awk: ... this new script.
5973 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5974 than a glob-style pattern.
5975
59762013-06-17 Joseph Myers <joseph@codesourcery.com>
5977
5978 * math/test-misc.c (main): Do not treat incorrectly rounded
5979 conversions as failure unless ROUNDING_TESTS passes.
5980
59812013-06-15 Joseph Myers <joseph@codesourcery.com>
5982
5983 [BZ #15631]
5984 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5985 restore exception state around main square root computation, then
5986 check for inexactness explicitly.
5987
5988 * math/libm-test.inc (fma_test_data): Add another test.
5989
59902013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5991
5992 * manual/threads.texi (Non-POSIX Extensions): New document
5993 node. Document pthread_getattr_default_np and
5994 pthread_setattr_default_np.
5995
5996 * Versions.def (libpthread): Add GLIBC_2.18.
5997 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5999 Likewise.
6000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6001 Likewise.
6002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6003 Likewise.
6004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6005 Likewise.
6006 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6007 Likewise.
6008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6009 Likewise.
6010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6011 Likewise.
6012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6013 Likewise.
6014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6015 Likewise.
6016
60172013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6018
6019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6020 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6021
60222013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6023 H.J. Lu <hjl.tools@gmail.com>
6024
6025 [BZ #15627]
6026 * sysdeps/x86_64/rtld-memset.c: Remove file.
6027 * sysdeps/x86_64/rtld-memset.S: New file.
6028
60292013-06-14 Joseph Myers <joseph@codesourcery.com>
6030
6031 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6032 (test_in_one_mode): Take arguments for whether the rounding mode
6033 is supported for each floating-point type.
6034 (do_test): Pass new arguments to test_in_one_mode using
6035 ROUNDING_TESTS.
6036
60372013-06-13 Roland McGrath <roland@hack.frob.com>
6038
6039 * posix/tst-waitid.c (do_test): Distinguish different instances of
6040 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6041 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6042 before entering the kernel for waitpid.
6043
60442013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6045
6046 * NEWS: Fix note on clock function precision. Text by Roland
6047 McGrath.
6048
60492013-06-13 Roland McGrath <roland@hack.frob.com>
6050
6051 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6052 it into place only when and if the sanity check passes.
6053
60542013-06-13 Joseph Myers <joseph@codesourcery.com>
6055
6056 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6057 output for whether conversion result is exact. Take argument
6058 indicating whether type is IBM long double.
6059 (round_for_all): Change need_exact field to ibm_ld.
6060 * stdlib/tst-strtod-round.c (struct exactness): New type.
6061 (struct test): Change bool ld_ok field to struct exactness exact.
6062 (TEST): Update all definitions for change to field.
6063 (tests): Regenerate array contents.
6064 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6065 field value. Check for IBM long double here.
6066 (do_test): Update calls to test_in_one_mode.
6067
60682013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6069
6070 [BZ #12515]
6071 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6072 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6073
60742013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6075
6076 [BZ #15605]
6077 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6078 generated by the compiler on loop optimizations.
6079 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6080 general definitions.
6081
60822013-06-12 Joseph Myers <joseph@codesourcery.com>
6083
6084 * math/bug-nextafter.c: Include <math-tests.h>.
6085 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6086 the relevant type.
6087 * math/bug-nexttoward.c: Include <math-tests.h>.
6088 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6089 the relevant type.
6090 * math/test-misc.c: Include <math-tests.h>.
6091 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6092 the relevant type.
6093
60942013-06-12 Andreas Jaeger <aj@suse.de>
6095
6096 * po/ia.po: Update Interlingua translation from translation
6097 project.
6098
60992013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6100
6101 * include/fenv.h: Include stdbool.h.
6102 (struct rm_ctx): New structure.
6103 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6104 Define macro.
6105 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6106 (SET_RESTORE_ROUNDF): Likewise.
6107 (SET_RESTORE_ROUNDL): Likewise.
6108 (SET_RESTORE_ROUND_NOEX): Likewise.
6109 (SET_RESTORE_ROUND_NOEXF): Likewise.
6110 (SET_RESTORE_ROUND_NOEXL): Likewise.
6111 (SET_RESTORE_ROUND_53BIT): Likewise.
6112 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6113 (libc_feresetround_noexf_ctx): Likewise.
6114 (libc_feresetround_noexl_ctx): Likewise.
6115 (libc_feholdsetround_53bit_ctx): Likewise.
6116 (libc_feresetround_53bit_ctx): Likewise.
6117 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6118 (libc_feholdexcept_setround_sse_ctx): New function.
6119 (libc_fesetenv_sse_ctx): Likewise.
6120 (libc_feupdateenv_sse_ctx): Likewise.
6121 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6122 (libc_feholdexcept_setround_387_ctx): Likewise.
6123 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6124 (libc_feholdsetround_387_prec_ctx): Likewise.
6125 (libc_feholdsetround_387_ctx): Likewise.
6126 (libc_feholdsetround_387_53bit_ctx): Likewise.
6127 (libc_feholdsetround_sse_ctx): Likewise.
6128 (libc_feresetround_sse_ctx): Likewise.
6129 (libc_feresetround_387_ctx): Likewise.
6130 (libc_feupdateenv_387_ctx): Likewise.
6131 (libc_feholdexcept_setroundf_ctx): Define macro.
6132 (libc_fesetenvf_ctx): Likewise.
6133 (libc_feupdateenvf_ctx): Likewise.
6134 (libc_feholdsetroundf_ctx): Likewise.
6135 (libc_feresetroundf_ctx): Likewise.
6136 (libc_feholdexcept_setround_ctx): Likewise.
6137 (libc_fesetenv_ctx): Likewise.
6138 (libc_feupdateenv_ctx): Likewise.
6139 (libc_feholdsetround_ctx): Likewise.
6140 (libc_feresetround_ctx): Likewise.
6141 (libc_feholdexcept_setroundl_ctx): Likewise.
6142 (libc_feupdateenvl_ctx): Likewise.
6143 (libc_feholdsetroundl_ctx): Likewise.
6144 (libc_feresetroundl_ctx): Likewise.
6145 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6146 (libc_feresetround_53bit_ctx): Likewise.
6147
61482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6149
6150 * locale/iso-639.def: Convert to UTF-8.
6151
61522013-06-11 Joseph Myers <joseph@codesourcery.com>
6153
6154 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6155 (EXCEPTION_TESTS_double): Likewise.
6156 (EXCEPTION_TESTS_long_double): Likewise.
6157 (EXCEPTION_TESTS): Likewise.
6158 * math/libm-test.inc (test_exceptions): Only test exceptions if
6159 EXCEPTION_TESTS (FLOAT).
6160
61612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6162
6163 * benchtests/Makefile (string-bench): Add strcpy_chk and
6164 stpcpy_chk.
6165 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6166 * benchtests/bench-stpcpy_chk.c: New file.
6167 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6168 * benchtests/bench-strcpy_chk.c: New file.
6169 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6170 code.
6171 (do_test): Likewise.
6172
61732013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6174
6175 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6176 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6177 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6178 with tabs where appropriate.
6179 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6180 dl-procinfo.h.
6181 [PPC_PLATFORM_PPC440]: Likewise.
6182 [PPC_PLATFORM_PPC464]: Likewise.
6183 [PPC_PLATFORM_PPC476]: Likewise.
6184 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6185 ppc464, and ppc476 platform strings merging from ports/
6186 dl-procinfo.h.
6187
61882013-06-11 Andreas Schwab <schwab@suse.de>
6189
6190 [BZ #14991]
6191 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6192 (from_ucs4_idx): Regenerate.
6193 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6194 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6195 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6196 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6197 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6198 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6199 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6200 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6201 from FROM_LOOP and TO_LOOP specific macros.
6202 (BODY): Handle combining characters.
6203 * iconvdata/BIG5HKSCS.irreversible: Update.
6204 * iconvdata/BIG5HKSCS.precomposed: New file.
6205 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6206 characters.
6207 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6208
62092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6210
6211 * include/sys/time.h: Fix indentation and add copyright header.
6212
6213 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6214 (do_test): Likewise.
6215 * string/test-memchr.c (do_one_test): Likewise.
6216 (do_test): Likewise.
6217 * string/test-memcmp.c (do_one_test): Likewise.
6218 (do_test): Likewise.
6219 * string/test-memcpy.c (do_one_test): Likewise.
6220 (do_test): Likewise.
6221 * string/test-memmem.c (do_one_test): Likewise.
6222 (do_test): Likewise.
6223 (do_random_tests): Likewise.
6224 * string/test-memmove.c (do_one_test): Likewise.
6225 (do_test): Likewise.
6226 * string/test-memset.c (do_one_test): Likewise.
6227 (do_test): Likewise.
6228 * string/test-rawmemchr.c (do_one_test): Likewise.
6229 (do_test): Likewise.
6230 * string/test-strcasecmp.c (do_one_test): Likewise.
6231 (do_test): Likewise.
6232 * string/test-strcasestr.c (do_one_test): Likewise.
6233 (do_test): Likewise.
6234 * string/test-strcat.c (do_one_test): Likewise.
6235 (do_test): Likewise.
6236 * string/test-strchr.c (do_one_test): Likewise.
6237 (do_test): Likewise.
6238 * string/test-strcmp.c (do_one_test): Likewise.
6239 (do_test): Likewise.
6240 * string/test-strcpy.c (do_one_test): Likewise.
6241 (do_test): Likewise.
6242 * string/test-string.h: Likewise.
6243 (test_init): Likewise.
6244 * string/test-strlen.c (do_one_test): Likewise.
6245 (do_test): Likewise.
6246 * string/test-strncasecmp.c (do_one_test): Likewise.
6247 (do_test): Likewise.
6248 * string/test-strncat.c (do_one_test): Likewise.
6249 (do_test): Likewise.
6250 * string/test-strncmp.c (do_one_test): Likewise.
6251 (do_test_limit): Likewise.
6252 (do_test): Likewise.
6253 * string/test-strncpy.c (do_one_test): Likewise.
6254 (do_test): Likewise.
6255 * string/test-strnlen.c (do_one_test): Likewise.
6256 (do_test): Likewise.
6257 * string/test-strpbrk.c (do_one_test): Likewise.
6258 (do_test): Likewise.
6259 * string/test-strrchr.c (do_one_test): Likewise.
6260 (do_test): Likewise.
6261 * string/test-strspn.c (do_one_test): Likewise.
6262 (do_test): Likewise.
6263 * string/test-strstr.c (do_one_test): Likewise.
6264 (do_test): Likewise.
6265
6266 * benchtests/Makefile (string-bench): Add string benchmarks.
6267 * benchtests/bench-bcopy-ifunc.c: New file.
6268 * benchtests/bench-bcopy.c: New file.
6269 * benchtests/bench-bzero-ifunc.c: New file.
6270 * benchtests/bench-bzero.c: New file.
6271 * benchtests/bench-memccpy-ifunc.c: New file.
6272 * benchtests/bench-memccpy.c: New file.
6273 * benchtests/bench-memchr-ifunc.c: New file.
6274 * benchtests/bench-memchr.c: New file.
6275 * benchtests/bench-memcmp-ifunc.c: New file.
6276 * benchtests/bench-memcmp.c: New file.
6277 * benchtests/bench-memmem-ifunc.c: New file.
6278 * benchtests/bench-memmem.c: New file.
6279 * benchtests/bench-memmove-ifunc.c: New file.
6280 * benchtests/bench-memmove.c: New file.
6281 * benchtests/bench-mempcpy-ifunc.c: New file.
6282 * benchtests/bench-mempcpy.c: New file.
6283 * benchtests/bench-memset-ifunc.c: New file.
6284 * benchtests/bench-memset.c: New file.
6285 * benchtests/bench-rawmemchr-ifunc.c: New file.
6286 * benchtests/bench-rawmemchr.c: New file.
6287 * benchtests/bench-stpcpy-ifunc.c: New file.
6288 * benchtests/bench-stpcpy.c: New file.
6289 * benchtests/bench-stpncpy-ifunc.c: New file.
6290 * benchtests/bench-stpncpy.c: New file.
6291 * benchtests/bench-strcasecmp-ifunc.c: New file.
6292 * benchtests/bench-strcasecmp.c: New file.
6293 * benchtests/bench-strcasestr-ifunc.c: New file.
6294 * benchtests/bench-strcasestr.c: New file.
6295 * benchtests/bench-strcat-ifunc.c: New file.
6296 * benchtests/bench-strcat.c: New file.
6297 * benchtests/bench-strchr-ifunc.c: New file.
6298 * benchtests/bench-strchr.c: New file.
6299 * benchtests/bench-strchrnul-ifunc.c: New file.
6300 * benchtests/bench-strchrnul.c: New file.
6301 * benchtests/bench-strcmp-ifunc.c: New file.
6302 * benchtests/bench-strcmp.c: New file.
6303 * benchtests/bench-strcpy-ifunc.c: New file.
6304 * benchtests/bench-strcpy.c: New file.
6305 * benchtests/bench-strcspn-ifunc.c: New file.
6306 * benchtests/bench-strcspn.c: New file.
6307 * benchtests/bench-strlen-ifunc.c: New file.
6308 * benchtests/bench-strlen.c: New file.
6309 * benchtests/bench-strncasecmp-ifunc.c: New file.
6310 * benchtests/bench-strncasecmp.c: New file.
6311 * benchtests/bench-strncat-ifunc.c: New file.
6312 * benchtests/bench-strncat.c: New file.
6313 * benchtests/bench-strncmp-ifunc.c: New file.
6314 * benchtests/bench-strncmp.c: New file.
6315 * benchtests/bench-strncpy-ifunc.c: New file.
6316 * benchtests/bench-strncpy.c: New file.
6317 * benchtests/bench-strnlen-ifunc.c: New file.
6318 * benchtests/bench-strnlen.c: New file.
6319 * benchtests/bench-strpbrk-ifunc.c: New file.
6320 * benchtests/bench-strpbrk.c: New file.
6321 * benchtests/bench-strrchr-ifunc.c: New file.
6322 * benchtests/bench-strrchr.c: New file.
6323 * benchtests/bench-strspn-ifunc.c: New file.
6324 * benchtests/bench-strspn.c: New file.
6325 * benchtests/bench-strstr-ifunc.c: New file.
6326 * benchtests/bench-strstr.c: New file.
6327
6328 * benchtests/Makefile: Disable parallel execution of targets.
6329 (string-bench): Add memcpy.
6330 (benchset): New variable to store a list of benchmark sets.
6331 (bench-func): Renamed from bench.
6332 (bench-set): New target.
6333 (bench): Depend on bench-func and bench-set.
6334 * benchtests/README: Add section on benchmark sets.
6335 * benchtests/bench-memcpy-ifunc.c: New file.
6336 * benchtests/bench-memcpy.c: New file.
6337 * benchtests/bench-string.h: New file.
6338
63392013-06-11 Andreas Schwab <schwab@suse.de>
6340
6341 [BZ #15577]
6342 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6343 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6344 values in the triple.
6345 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6346 terminator in the group key.
6347
63482013-06-11 Andreas Jaeger <aj@suse.de>
6349
6350 * po/zh_TW.po: Update Chinese (traditional) translation from
6351 translation project.
6352
63532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6354
6355 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6356 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6357 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6358 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6359 (clock_getcpuclockid): Likewise.
6360 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6361 Add weak_alias and libc_hidden_def.
6362 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6363 * rt/clock_gettime.c (clock_gettime): Rename to
6364 __clock_gettime. Add weak_alias and libc_hidden_def.
6365 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6366 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6367 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6368 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6369 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6370 Likewise.
6371 * rt/clock_settime.c (clock_settime): Rename to
6372 __clock_settime. Add weak_alias and libc_hidden_def.
6373 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6374
63752013-06-10 Joseph Myers <joseph@codesourcery.com>
6376
6377 * mach/err_boot.sub: Remove trailing whitespace.
6378 * mach/err_ipc.sub: Likewise.
6379 * mach/err_mach.sub: Likewise.
6380
6381 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6382 (ROUNDING_TESTS_double): Likewise.
6383 (ROUNDING_TESTS_long_double): Likewise.
6384 (ROUNDING_TESTS): Likewise.
6385 * math/libm-test.inc: Include <math-tests.h>.
6386 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6387 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6388 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6389 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6390
63912013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6392
6393 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6394 of assigning.
6395
63962013-06-08 Joseph Myers <joseph@codesourcery.com>
6397
6398 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6399 otherwise empty TRANS lines.
6400 * sysdeps/gnu/errlist.c: Regenerated.
6401
6402 * catgets/gencat.c (error_print): Use (void) in function
6403 definition.
6404 * crypt/crypt_util.c (__init_des): Likewise.
6405 * crypt/speeds.c (Stop): Likewise.
6406 (main): Likewise.
6407 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6408 * inet/ruserpass.c (token): Likewise.
6409 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6410 * intl/localealias.c (extend_alias_table): Likewise.
6411 * intl/plural-exp.c (init_germanic_plural): Likewise.
6412 * libio/fcloseall.c (__fcloseall): Likewise.
6413 * libio/genops.c (_IO_flush_all): Likewise.
6414 (_IO_flush_all_linebuffered): Likewise.
6415 (_IO_cleanup): Likewise.
6416 (_IO_iter_begin): Likewise.
6417 (_IO_iter_end): Likewise.
6418 (_IO_list_lock): Likewise.
6419 (_IO_list_unlock): Likewise.
6420 (_IO_list_resetlock): Likewise.
6421 * libio/getchar.c (getchar): Likewise.
6422 * libio/getchar_u.c (getchar_unlocked): Likewise.
6423 * libio/getwchar.c (getwchar): Likewise.
6424 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6425 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6426 * login/getpt.c (__getpt): Likewise.
6427 * login/tst-utmp.c (main): Likewise.
6428 * malloc/hooks.c (__malloc_check_init): Likewise.
6429 * malloc/malloc.c (__malloc_stats): Likewise.
6430 * malloc/mtrace.c (tr_break): Likewise.
6431 (mtrace): Likewise.
6432 (muntrace): Likewise.
6433 * misc/fstab.c (endfsent): Likewise.
6434 * misc/getclktck.c (__getclktck): Likewise.
6435 * misc/getdtsz.c (__getdtablesize): Likewise.
6436 * misc/gethostid.c (gethostid): Likewise.
6437 * misc/getpagesize.c (__getpagesize): Likewise.
6438 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6439 (__get_nprocs): Likewise.
6440 (__get_phys_pages): Likewise.
6441 (__get_avphys_pages): Likewise.
6442 * misc/getttyent.c (getttyent): Likewise.
6443 (setttyent): Likewise.
6444 (endttyent): Likewise.
6445 * misc/getusershell.c (getusershell): Likewise.
6446 (endusershell): Likewise.
6447 (setusershell): Likewise.
6448 (initshells): Likewise.
6449 * misc/hsearch.c (__hdestroy): Likewise.
6450 * misc/sync.c (sync): Likewise.
6451 * misc/syslog.c (closelog_internal): Likewise.
6452 (closelog): Likewise.
6453 * misc/ttyslot.c (ttyslot): Likewise.
6454 * misc/vhangup.c (vhangup): Likewise.
6455 * posix/fork.c (__fork): Likewise.
6456 * posix/getegid.c (__getegid): Likewise.
6457 * posix/geteuid.c (__geteuid): Likewise.
6458 * posix/getgid.c (__getgid): Likewise.
6459 * posix/getpid.c (__getpid): Likewise.
6460 * posix/getppid.c (__getppid): Likewise.
6461 * posix/getuid.c (__getuid): Likewise.
6462 * posix/pause.c (pause): Likewise.
6463 * posix/setpgrp.c (setpgrp): Likewise.
6464 * posix/setsid.c (__setsid): Likewise.
6465 * posix/test-vfork.c (noop): Likewise.
6466 * resolv/gethnamaddr.c (_endhtent): Likewise.
6467 (_gethtent): Likewise.
6468 (ht_endhostent): Likewise.
6469 (gethostent): Likewise.
6470 (dns_service): Likewise.
6471 * stdlib/drand48.c (drand48): Likewise.
6472 * stdlib/lrand48.c (lrand48): Likewise.
6473 * stdlib/mrand48.c (mrand48): Likewise.
6474 * stdlib/rand.c (rand): Likewise.
6475 * stdlib/random.c (__random): Likewise.
6476 * stdlib/setenv.c (clearenv): Likewise.
6477 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6478 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6479 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6480 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6481 (__get_nprocs): Likewise.
6482 (__get_phys_pages): Likewise.
6483 (__get_avphys_pages): Likewise.
6484 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6485 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6486 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6487 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6488 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6489 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6490 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6491 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6492 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6493 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6494 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6495 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6496 * sysdeps/posix/clock.c (clock): Likewise.
6497 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6498 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6499 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6500 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6501 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6502 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6503 (__get_nprocs_conf): Likewise.
6504 (__get_phys_pages): Likewise.
6505 (__get_avphys_pages): Likewise.
6506 * time/clock.c (clock): Likewise.
6507 * time/tzset.c (__tzname_max): Likewise.
6508
65092013-06-07 Joseph Myers <joseph@codesourcery.com>
6510
6511 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6512 (__bswap_32): Do not use "register".
6513 * crypt/crypt.c (_ufc_doit_r): Likewise.
6514 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6515 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6516 * gmon/gmon.c (__monstartup): Likewise.
6517 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6518 * hurd/hurdmalloc.c (more_memory): Likewise.
6519 (malloc): Likewise.
6520 (free): Likewise.
6521 (realloc): Likewise.
6522 (malloc_fork_prepare): Likewise.
6523 (malloc_fork_parent): Likewise.
6524 (malloc_fork_child): Likewise.
6525 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6526 (_svcauth_des): Likewise.
6527 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6528 * inet/inet_net.c (inet_network): Likewise.
6529 * inet/inet_netof.c (inet_netof): Likewise.
6530 * inet/rcmd.c (__validuser2_sa): Likewise.
6531 * io/fts.c (fts_open): Likewise.
6532 (fts_load): Likewise.
6533 (fts_close): Likewise.
6534 (fts_read): Likewise.
6535 (fts_children): Likewise.
6536 (fts_build): Likewise.
6537 (fts_stat): Likewise.
6538 (fts_sort): Likewise.
6539 (fts_alloc): Likewise.
6540 (fts_lfree): Likewise.
6541 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6542 (_IO_file_xsgetn): Likewise.
6543 (_IO_file_xsgetn_mmap): Likewise.
6544 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6545 (_IO_cookie_write): Likewise.
6546 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6547 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6548 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6549 * malloc/obstack.c (_obstack_begin): Likewise.
6550 (_obstack_begin_1): Likewise.
6551 (_obstack_newchunk): Likewise.
6552 (_obstack_allocated_p): Likewise.
6553 (obstack_free): Likewise.
6554 (_obstack_memory_used): Likewise.
6555 * misc/getttyent.c (getttynam): Likewise.
6556 (getttyent): Likewise.
6557 (skip): Likewise.
6558 (value): Likewise.
6559 * misc/getusershell.c (initshells): Likewise.
6560 * misc/syslog.c (__vsyslog_chk): Likewise.
6561 * misc/ttyslot.c (ttyslot): Likewise.
6562 * nis/nis_hash.c (__nis_hash): Likewise.
6563 * posix/fnmatch_loop.c (FCT): Likewise.
6564 * posix/getconf.c (print_all): Likewise.
6565 (main): Likewise.
6566 * posix/getopt.c (exchange): Likewise.
6567 * posix/glob.c (globfree): Likewise.
6568 (prefix_array): Likewise.
6569 (__glob_pattern_type): Likewise.
6570 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6571 (NS_GET32): Likewise.
6572 (NS_PUT16): Likewise.
6573 (NS_PUT32): Likewise.
6574 * resolv/gethnamaddr.c (getanswer): Likewise.
6575 (gethostbyname2): Likewise.
6576 (gethostbyaddr): Likewise.
6577 (_gethtent): Likewise.
6578 (_gethtbyname2): Likewise.
6579 (_gethtbyaddr): Likewise.
6580 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6581 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6582 * resolv/res_init.c (__res_vinit): Likewise.
6583 (net_mask): Likewise.
6584 * resolv/res_mkquery.c (outchar): Likewise.
6585 (PRINT): Likewise.
6586 * stdio-common/printf_fp.c (outchar): Likewise.
6587 (PRINT): Likewise.
6588 * stdio-common/printf_fphex.c (outchar): Likewise.
6589 (PRINT): Likewise.
6590 * stdio-common/printf_size.c (outchar): Likewise.
6591 (PRINT): Likewise.
6592 * stdio-common/test_rdwr.c (main): Likewise.
6593 * stdio-common/tfformat.c (matches): Likewise.
6594 * stdio-common/vfprintf.c (outchar): Likewise.
6595 (printf_unknown): Likewise.
6596 (buffered_vfprintf): Likewise.
6597 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6598 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6599 (ReadFile): Likewise.
6600 * stdlib/qsort.c (SWAP): Likewise.
6601 (_quicksort): Likewise.
6602 * stdlib/setenv.c (__add_to_environ): Likewise.
6603 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6604 * stdlib/strtol_l.c (__strtol_l): Likewise.
6605 * stdlib/tst-strtod.c (main): Likewise.
6606 * stdlib/tst-strtol.c (main): Likewise.
6607 * stdlib/tst-strtoll.c (main): Likewise.
6608 * string/bits/string2.h (__strcmp_cc): Likewise.
6609 (__strcmp_cg): Likewise.
6610 (__strcspn_c1): Likewise.
6611 (__strcspn_c2): Likewise.
6612 (__strcspn_c3): Likewise.
6613 (__strspn_c1): Likewise.
6614 (__strspn_c2): Likewise.
6615 (__strspn_c3): Likewise.
6616 (__strsep_1c): Likewise.
6617 (__strsep_2c): Likewise.
6618 (__strsep_3c): Likewise.
6619 * string/memccpy.c (__memccpy): Likewise.
6620 * string/stpcpy.c (__stpcpy): Likewise.
6621 * string/strcmp.c (strcmp): Likewise.
6622 * string/strrchr.c (strrchr): Likewise.
6623 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6624 Likewise.
6625 * sysdeps/mach/hurd/getcwd.c
6626 (_hurd_canonicalize_directory_name_internal): Likewise.
6627 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6628 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6629 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6630 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6631 Likewise, in both definitions.
6632 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6633 definitions.
6634 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6635 64] (__bswap_64): Likewise.
6636 * time/test_time.c (main): Likewise.
6637 * time/tzfile.c (__tzfile_read): Likewise.
6638 (__tzfile_compute): Likewise.
6639 * time/tzset.c (__tzset_parse_tz): Likewise.
6640 (tzset_internal): Likewise.
6641 (compute_change): Likewise.
6642 * wcsmbs/wcscat.c (__wcscat): Likewise.
6643 * wcsmbs/wcschr.c (wcschr): Likewise.
6644 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6645 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6646 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6647 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6648 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6649 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6650 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6651 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6652 * wcsmbs/wmemset.c (wmemset): Likewise.
6653
66542013-06-06 Joseph Myers <joseph@codesourcery.com>
6655
6656 * scripts/config.guess: Update to version 2013-05-16.
6657 * scripts/config.sub: Update to version 2013-04-24.
6658 * scripts/install-sh: Update to version 2011-11-20.07.
6659 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6660 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6661
66622013-06-06 Ondřej Bílka <neleai@seznam.cz>
6663
6664 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6665 * elf/sln.c: Likewise.
6666 * hurd/hurd/ioctl.h: Likewise.
6667 * hurd/hurdmalloc.c: Likewise.
6668 * hurd/xattr.c: Likewise.
6669 * include/shlib-compat.h: Likewise.
6670 * inet/ruserpass.c: Likewise.
6671 * libio/iofgets_u.c: Likewise.
6672 * libio/iofgetws_u.c: Likewise.
6673 * locale/programs/ld-identification.c: Likewise.
6674 * locale/programs/ld-time.c: Likewise.
6675 * mach/msg-destroy.c: Likewise.
6676 * nss/nss_files/files-netgrp.c: Likewise.
6677 * resolv/res_data.c: Likewise.
6678 * soft-fp/op-1.h: Likewise.
6679 * soft-fp/op-2.h: Likewise.
6680 * soft-fp/op-4.h: Likewise.
6681 * soft-fp/op-common.h: Likewise.
6682 * stdio-common/printf_fphex.c: Likewise.
6683 * stdlib/strtod_l.c: Likewise.
6684 * sunrpc/rpc/clnt.h: Likewise.
6685 * sysdeps/generic/framestate.c: Likewise.
6686 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6687 * sysdeps/i386/bsd-setjmp.S: Likewise.
6688 * sysdeps/i386/__longjmp.S: Likewise.
6689 * sysdeps/i386/setjmp.S: Likewise.
6690 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6691 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6692 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6708 * sysdeps/ieee754/support.c: Likewise.
6709 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6710 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6711 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6712 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6713 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6714 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6715 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6716 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6717 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6718 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6719 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6720 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6721 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6722 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6723 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6724 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6725 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6727
67282013-06-05 Ondřej Bílka <neleai@seznam.cz>
6729
6730 * posix/transbug.c: Remove executable mode.
6731
67322013-06-05 Joseph Myers <joseph@codesourcery.com>
6733
6734 * crypt/speeds.c: Remove trailing whitespace.
6735 * dlfcn/default.c: Likewise.
6736 * elf/ifuncdep2.c: Likewise.
6737 * elf/ifuncmain1.c: Likewise.
6738 * elf/ifuncmain1vis.c: Likewise.
6739 * elf/testobj.h: Likewise.
6740 * elf/tst-stackguard1.c: Likewise.
6741 * gmon/sys/gmon.h: Likewise.
6742 * hurd/hurdmsg.c: Likewise.
6743 * hurd/new-fd.c: Likewise.
6744 * hurd/ports-get.c: Likewise.
6745 * iconvdata/ibm1008_420.c: Likewise.
6746 * inet/tst-getni1.c: Likewise.
6747 * inet/tst-getni2.c: Likewise.
6748 * libio/ioungetc.c: Likewise.
6749 * libio/wfiledoalloc.c: Likewise.
6750 * manual/libm-err-tab.pl: Likewise.
6751 * math/w_dremf.c: Likewise.
6752 * misc/ftruncate.c: Likewise.
6753 * posix/bug-glob2.c: Likewise.
6754 * posix/tst-pcre.c: Likewise.
6755 * posix/wait4.c: Likewise.
6756 * resolv/README: Likewise.
6757 * resolv/res_debug.h: Likewise.
6758 * resolv/tst-inet_ntop.c: Likewise.
6759 * setjmp/bug269-setjmp.c: Likewise.
6760 * soft-fp/extended.h: Likewise.
6761 * soft-fp/op-1.h: Likewise.
6762 * soft-fp/op-2.h: Likewise.
6763 * soft-fp/op-4.h: Likewise.
6764 * soft-fp/op-8.h: Likewise.
6765 * soft-fp/testit.c: Likewise.
6766 * stdio-common/bug16.c: Likewise.
6767 * stdlib/random.c: Likewise.
6768 * sunrpc/rpcsvc/rquota.x: Likewise.
6769 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6770 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6771 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6772 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6773 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6774 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6775 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6776 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6777 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6778 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6779 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6796 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6798 * sysdeps/ieee754/s_lib_version.c: Likewise.
6799 * sysdeps/mach/hurd/check_fds.c: Likewise.
6800 * sysdeps/mach/hurd/getsockname.c: Likewise.
6801 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6802 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6803 * sysdeps/powerpc/bits/link.h: Likewise.
6804 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6805 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6806 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6807 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6808 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6809 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6810 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6811 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6812 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6813 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6814 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6815 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6816 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6817 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6818 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6819 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6820 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6821 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6822 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6823 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6824 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6825 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6826 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6827 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6828 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6829 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6830 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6831 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6832 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6833 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6834 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6835 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6836 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6837 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6838 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6839 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6840 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6841 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6842 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6843 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6844 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6845 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6846 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6847 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6848 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6849 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6850 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6851 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6852 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6853 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6855 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6856 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6857 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6858 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6859 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6860 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6861 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6862 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6863 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6864 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6865 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6866 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6867 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6868 * sysdeps/powerpc/sysdep.h: Likewise.
6869 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6870 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6871 * sysdeps/sh/dl-trampoline.S: Likewise.
6872 * sysdeps/sh/memset.S: Likewise.
6873 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6874 * sysdeps/sh/strlen.S: Likewise.
6875 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6876 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6877 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6878 * sysdeps/sparc/sparc32/rem.S: Likewise.
6879 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6880 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6881 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6882 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6883 * sysdeps/sparc/sparc32/urem.S: Likewise.
6884 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6885 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6886 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6887 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6888 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6889 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6890 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6891 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6892 * sysdeps/unix/bsd/times.c: Likewise.
6893 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6894 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6898 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6899 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6900 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6901 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6902 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6903 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6904 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6905 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6906 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6907 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6908 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6909 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6910 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6911 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6912 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6913 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6914 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6915 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6916 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6917 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6918 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6919 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6920 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6921 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6922 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6923 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6924 * sysdeps/x86_64/strcspn.S: Likewise.
6925
69262013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6927
6928 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6929 generated file. Regenerate properly from gen-translit.pl.
6930 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6931 locale/C-translit.h.
6932
69332013-06-05 Andreas Schwab <schwab@suse.de>
6934
6935 [BZ #15100]
6936 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6937 week as 6 instead of -1.
6938 * time/tst-strptime.c (day_tests): Add test case.
6939
69402013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6941
6942 * sysdeps/generic/math_private.h
6943 (libc_feholdexcept_setround_53bit): Replace with
6944 libc_feholdsetround_53bit.
6945 (libc_feupdateenv_53bit): Replace with
6946 libc_feresetround_53bit.
6947 (SET_RESTORE_ROUND_53BIT): Adjust.
6948
69492013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6950
6951 * string/test-strchrnul.c: Add copyright header.
6952
6953 * posix/tst-getaddrinfo4.c: Increase test timeout.
6954
69552013-06-03 Carlos O'Donell <carlos@redhat.com>
6956
6957 [BZ #15536]
6958 * math/libm-test.inc (MAX_EXP): Remove
6959 (MIN_EXP): Define.
6960 (ulp): Use MIN_EXP - MANT_DIG.
6961 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6962
69632013-05-31 Carlos O'Donell <carlos@redhat.com>
6964
6965 * po/be.po: Revert last change.
6966 * po/zh_CN.po: Likewise.
6967 * po/header.pot: Likewise.
6968
69692013-05-31 Joseph Myers <joseph@codesourcery.com>
6970
6971 * Makefile ($(common-objpfx)linkobj/libc.so): Define
6972 link-libc-deps to empty as target-specific variable.
6973 * Makerules (link-libc-args): New variable.
6974 (libc-for-link): Likewise.
6975 (link-libc-deps): Likewise.
6976 (lib%.so): Depend on $(link-libc-deps). Link with
6977 $(link-libc-args).
6978 (build-module): Link with $(link-libc-args).
6979 (build-module-asneeded): Likewise.
6980 (build-module-helper-objlist): Filter out $(link-libc-deps) from
6981 list of objects.
6982 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6983 target-specific variable.
6984 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6985 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6986 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6987 libc.
6988 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6989 libc and ld.so.
6990 ($(objpfx)libpcprofile.so): Likewise.
6991 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6992 libc_nonshared.a.
6993 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6994 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6995 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6996 $(link-libc-deps).
6997 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6998 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6999 * login/Makefile ($(objpfx)libutil.so): Likewise.
7000 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7001 * math/Makefile ($(objpfx)libm.so): Likewise.
7002 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7003 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7004 variable instead of depending directly on libc.
7005 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7006 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7007 $(link-libc-deps).
7008 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7009 libc.
7010 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7011 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7012 ($(objpfx)libanl.so): Likewise.
7013 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7014 ld.so.
7015 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7016 $(link-libc-deps).
7017 * sysdeps/i386/fpu/Makefile: Remove file.
7018 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7019 ($(objpfx)libm.so): Remove dependency on ld.so.
7020
70212013-05-30 Patsy Franklin <pfrankli@redhat.com>
7022
7023 [BZ # 15553]
7024 * nis/yp_xdr.c (XDRMAXNAME): Define.
7025 (XDRMAXRECORD): Define.
7026 (xdr_domainname): Use XDRMAXNAME.
7027 (xdr_mapname): Likewise.
7028 (xdr_peername): Likewise.
7029 (xdr_keydat): Use XDRMAXRECORD.
7030 (xdr_valdat): Likewise.
7031
70322013-05-30 Jeff Law <law@redhat.com>
7033
7034 [BZ #14256]
7035 * manual/errno.texi (ESTALE): Update to account for more than
7036 just NFS file systems.
7037 * sysdeps/gnu/errlist.c: Regenerated.
7038
70392013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7040
7041 [BZ #15465]
7042 * elf/Makefile (tests): Add tst-null-argv.
7043 (modules-names): Add tst-null-argv-lib.
7044 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7045 (tst-null-argv-ENV): Set environment for tst-null-argv.
7046 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7047 (RTLD_PROGNAME): New macro.
7048 * elf/tst-null-argv.c: New test case.
7049 * elf/tst-null-argv-lib.c: Library for test case.
7050 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7051 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7052 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7053 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7054 * elf/dl-init.c (call_init): Likewise.
7055 (_dl_init): Likewise.
7056 * elf/dl-load.c (print_search_path): Likewise.
7057 (_dl_map_object): Likewise.
7058 * elf/dl-lookup.c (do_lookup_x): Likewise.
7059 (add_dependency): Likewise.
7060 (_dl_lookup_symbol_x): Likewise.
7061 (_dl_debug_bindings): Likewise.
7062 * elf/dl-open.c (_dl_show_scope): Likewise.
7063 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7064 * elf/dl-version.c (match_symbol): Likewise.
7065 (_dl_check_map_versions): Likewise.
7066 * elf/rtld.c (dl_main): Likewise.
7067 (print_unresolved): Use RTLD_PROGNAME.
7068 (print_missing_version): Likewise.
7069 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7070 (elf_machine_rela): Likewise.
7071 * sysdeps/powerpc/powerpc32/dl-machine.c
7072 (__process_machine_rela): Likewise.
7073 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7074 Likewise.
7075 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7076 Likewise.
7077 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7078 Likewise.
7079 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7080 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7081 Likewise.
7082 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7083 Likewise.
7084 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7085
70862013-05-28 Carlos O'Donell <carlos@redhat.com>
7087
7088 * po/be.po: Add descriptive title.
7089 * po/zh_CN.po: Likewise.
7090 * po/header.pot: Likewise.
7091
70922013-05-28 Mike Frysinger <vapier@gentoo.org>
7093
7094 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7095 error message.
7096 (enlarge_archive): Likewise.
7097
70982013-05-28 Ben North <ben@redfrontdoor.org>
7099
7100 * manual/arith.texi (frexp): It is the magnitude of the return
7101 value which lies in [0.5, 1), not the return value itself.
7102
71032013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7104
7105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7106
71072013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7108
7109 * stdio-common/bug26.c (main): Correct fscanf template.
7110
7111 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7112 declare _dl_skip_args.
7113
7114 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7115 Don't declare.
7116
7117 * manual/platform.texi: Add missing @end deftypefun.
7118
71192013-05-24 Joseph Myers <joseph@codesourcery.com>
7120
7121 [BZ #15529]
7122 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7123 bit of mantissa of 2^16382.
7124 * math/libm-test.inc (hypot_test_data): Add more tests.
7125
7126 * math/libm-test.inc: Add drem and pow10 to list of tested
7127 functions.
7128 (pow10_test): New function.
7129 (drem_test): Likewise.
7130 (drem_test_tonearest): Likewise.
7131 (drem_test_towardzero): Likewise.
7132 (drem_test_downward): Likewise.
7133 (drem_test_upward): Likewise.
7134 (main): Call the new functions.
7135
7136 * math/libm-test.inc (finite_test_data): Remove.
7137 (finite_test): Run tests from isfinite_test_data.
7138 (gamma_test_data): Remove.
7139 (gamma_test): Run tests from lgamma_test_data.
7140 * sysdeps/i386/fpu/libm-test-ulps: Update.
7141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7142
71432013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7144
7145 * manual/platform.texi: Add PowerPC PPR function set documentation.
7146 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7147 implementation.
7148
71492013-05-24 Carlos O'Donell <carlos@redhat.com>
7150
7151 * math/libm-test.inc (MAX_EXP): Define.
7152 (ULPDIFF): Define.
7153 (ulp): New function.
7154 (check_float_internal): Use ULPDIFF.
7155 (cpow_test): Disable failing test.
7156 (check_ulp): Test ulp() implemetnation.
7157 (main): Call check_ulp before starting tests.
7158
71592013-05-24 Joseph Myers <joseph@codesourcery.com>
7160
7161 * math/gen-libm-test.pl (generate_testfile): Do not handle
7162 START_DATA and END_DATA.
7163 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7164 END_DATA.
7165 (acos_tonearest_test_data): Likewise.
7166 (acos_towardzero_test_data): Likewise.
7167 (acos_downward_test_data): Likewise.
7168 (acos_upward_test_data): Likewise.
7169 (acosh_test_data): Likewise.
7170 (asin_test_data): Likewise.
7171 (asin_tonearest_test_data): Likewise.
7172 (asin_towardzero_test_data): Likewise.
7173 (asin_downward_test_data): Likewise.
7174 (asin_upward_test_data): Likewise.
7175 (asinh_test_data): Likewise.
7176 (atan_test_data): Likewise.
7177 (atanh_test_data): Likewise.
7178 (atan2_test_data): Likewise.
7179 (cabs_test_data): Likewise.
7180 (cacos_test_data): Likewise.
7181 (cacosh_test_data): Likewise.
7182 (carg_test_data): Likewise.
7183 (casin_test_data): Likewise.
7184 (casinh_test_data): Likewise.
7185 (catan_test_data): Likewise.
7186 (catanh_test_data): Likewise.
7187 (cbrt_test_data): Likewise.
7188 (ccos_test_data): Likewise.
7189 (ccosh_test_data): Likewise.
7190 (ceil_test_data): Likewise.
7191 (cexp_test_data): Likewise.
7192 (cimag_test_data): Likewise.
7193 (clog_test_data): Likewise.
7194 (clog10_test_data): Likewise.
7195 (conj_test_data): Likewise.
7196 (copysign_test_data): Likewise.
7197 (cos_test_data): Likewise.
7198 (cos_tonearest_test_data): Likewise.
7199 (cos_towardzero_test_data): Likewise.
7200 (cos_downward_test_data): Likewise.
7201 (cos_upward_test_data): Likewise.
7202 (cosh_test_data): Likewise.
7203 (cosh_tonearest_test_data): Likewise.
7204 (cosh_towardzero_test_data): Likewise.
7205 (cosh_downward_test_data): Likewise.
7206 (cosh_upward_test_data): Likewise.
7207 (cpow_test_data): Likewise.
7208 (cproj_test_data): Likewise.
7209 (creal_test_data): Likewise.
7210 (csin_test_data): Likewise.
7211 (csinh_test_data): Likewise.
7212 (csqrt_test_data): Likewise.
7213 (ctan_test_data): Likewise.
7214 (ctan_tonearest_test_data): Likewise.
7215 (ctan_towardzero_test_data): Likewise.
7216 (ctan_downward_test_data): Likewise.
7217 (ctan_upward_test_data): Likewise.
7218 (ctanh_test_data): Likewise.
7219 (ctanh_tonearest_test_data): Likewise.
7220 (ctanh_towardzero_test_data): Likewise.
7221 (ctanh_downward_test_data): Likewise.
7222 (ctanh_upward_test_data): Likewise.
7223 (erf_test_data): Likewise.
7224 (erfc_test_data): Likewise.
7225 (exp_test_data): Likewise.
7226 (exp_tonearest_test_data): Likewise.
7227 (exp_towardzero_test_data): Likewise.
7228 (exp_downward_test_data): Likewise.
7229 (exp_upward_test_data): Likewise.
7230 (exp10_test_data): Likewise.
7231 (exp2_test_data): Likewise.
7232 (expm1_test_data): Likewise.
7233 (fabs_test_data): Likewise.
7234 (fdim_test_data): Likewise.
7235 (finite_test_data): Likewise.
7236 (floor_test_data): Likewise.
7237 (fma_test_data): Likewise.
7238 (fma_towardzero_test_data): Likewise.
7239 (fma_downward_test_data): Likewise.
7240 (fma_upward_test_data): Likewise.
7241 (fmax_test_data): Likewise.
7242 (fmin_test_data): Likewise.
7243 (fmod_test_data): Likewise.
7244 (fpclassify_test_data): Likewise.
7245 (frexp_test_data): Likewise.
7246 (gamma_test_data): Likewise.
7247 (hypot_test_data): Likewise.
7248 (ilogb_test_data): Likewise.
7249 (isfinite_test_data): Likewise.
7250 (isgreater_test_data): Likewise.
7251 (isgreaterequal_test_data): Likewise.
7252 (isinf_test_data): Likewise.
7253 (isless_test_data): Likewise.
7254 (islessequal_test_data): Likewise.
7255 (islessgreater_test_data): Likewise.
7256 (isnan_test_data): Likewise.
7257 (isnormal_test_data): Likewise.
7258 (issignaling_test_data): Likewise.
7259 (isunordered_test_data): Likewise.
7260 (j0_test_data): Likewise.
7261 (j1_test_data): Likewise.
7262 (jn_test_data): Likewise.
7263 (ldexp_test_data): Likewise.
7264 (lgamma_test_data): Likewise.
7265 (lrint_test_data): Likewise.
7266 (lrint_tonearest_test_data): Likewise.
7267 (lrint_towardzero_test_data): Likewise.
7268 (lrint_downward_test_data): Likewise.
7269 (lrint_upward_test_data): Likewise.
7270 (llrint_test_data): Likewise.
7271 (llrint_tonearest_test_data): Likewise.
7272 (llrint_towardzero_test_data): Likewise.
7273 (llrint_downward_test_data): Likewise.
7274 (llrint_upward_test_data): Likewise.
7275 (log_test_data): Likewise.
7276 (log10_test_data): Likewise.
7277 (log1p_test_data): Likewise.
7278 (log2_test_data): Likewise.
7279 (logb_test_data): Likewise.
7280 (logb_downward_test_data): Likewise.
7281 (lround_test_data): Likewise.
7282 (llround_test_data): Likewise.
7283 (modf_test_data): Likewise.
7284 (nearbyint_test_data): Likewise.
7285 (nextafter_test_data): Likewise.
7286 (nexttoward_test_data): Likewise.
7287 (pow_test_data): Likewise.
7288 (pow_tonearest_test_data): Likewise.
7289 (pow_towardzero_test_data): Likewise.
7290 (pow_downward_test_data): Likewise.
7291 (pow_upward_test_data): Likewise.
7292 (remainder_test_data): Likewise.
7293 (remainder_tonearest_test_data): Likewise.
7294 (remainder_towardzero_test_data): Likewise.
7295 (remainder_downward_test_data): Likewise.
7296 (remainder_upward_test_data): Likewise.
7297 (remquo_test_data): Likewise.
7298 (rint_test_data): Likewise.
7299 (rint_tonearest_test_data): Likewise.
7300 (rint_towardzero_test_data): Likewise.
7301 (rint_downward_test_data): Likewise.
7302 (rint_upward_test_data): Likewise.
7303 (round_test_data): Likewise.
7304 (scalb_test_data): Likewise.
7305 (scalbn_test_data): Likewise.
7306 (scalbln_test_data): Likewise.
7307 (signbit_test_data): Likewise.
7308 (sin_test_data): Likewise.
7309 (sin_tonearest_test_data): Likewise.
7310 (sin_towardzero_test_data): Likewise.
7311 (sin_downward_test_data): Likewise.
7312 (sin_upward_test_data): Likewise.
7313 (sincos_test_data): Likewise.
7314 (sinh_test_data): Likewise.
7315 (sinh_tonearest_test_data): Likewise.
7316 (sinh_towardzero_test_data): Likewise.
7317 (sinh_downward_test_data): Likewise.
7318 (sinh_upward_test_data): Likewise.
7319 (sqrt_test_data): Likewise.
7320 (tan_test_data): Likewise.
7321 (tan_tonearest_test_data): Likewise.
7322 (tan_towardzero_test_data): Likewise.
7323 (tan_downward_test_data): Likewise.
7324 (tan_upward_test_data): Likewise.
7325 (tanh_test_data): Likewise.
7326 (tgamma_test_data): Likewise.
7327 (trunc_test_data): Likewise.
7328 (y0_test_data): Likewise.
7329 (y1_test_data): Likewise.
7330 (yn_test_data): Likewise.
7331 (significand_test_data): Likewise.
7332
7333 * math/gen-libm-test.pl (@functions): Remove variable.
7334 (generate_testfile): Don't handle START and END lines.
7335 * math/libm-test.inc (START): New macro.
7336 (END): Likewise.
7337 (END_COMPLEX): Likewise.
7338 (acos_test): Use END macro without arguments.
7339 (acos_test_tonearest): Likewise.
7340 (acos_test_towardzero): Likewise.
7341 (acos_test_downward): Likewise.
7342 (acos_test_upward): Likewise.
7343 (acosh_test): Likewise.
7344 (asin_test): Likewise.
7345 (asin_test_tonearest): Likewise.
7346 (asin_test_towardzero): Likewise.
7347 (asin_test_downward): Likewise.
7348 (asin_test_upward): Likewise.
7349 (asinh_test): Likewise.
7350 (atan_test): Likewise.
7351 (atanh_test): Likewise.
7352 (atan2_test): Likewise.
7353 (cabs_test): Likewise.
7354 (cacos_test): Use END_COMPLEX macro without arguments.
7355 (cacosh_test): Likewise.
7356 (carg_test): Use END macro without arguments.
7357 (casin_test): Use END_COMPLEX macro without arguments.
7358 (casinh_test): Likewise.
7359 (catan_test): Likewise.
7360 (catanh_test): Likewise.
7361 (cbrt_test): Use END macro without arguments.
7362 (ccos_test): Use END_COMPLEX macro without arguments.
7363 (ccosh_test): Likewise.
7364 (ceil_test): Use END macro without arguments.
7365 (cexp_test): Use END_COMPLEX macro without arguments.
7366 (cimag_test): Use END macro without arguments.
7367 (clog_test): Use END_COMPLEX macro without arguments.
7368 (clog10_test): Likewise.
7369 (conj_test): Likewise.
7370 (copysign_test): Use END macro without arguments.
7371 (cos_test): Likewise.
7372 (cos_test_tonearest): Likewise.
7373 (cos_test_towardzero): Likewise.
7374 (cos_test_downward): Likewise.
7375 (cos_test_upward): Likewise.
7376 (cosh_test): Likewise.
7377 (cosh_test_tonearest): Likewise.
7378 (cosh_test_towardzero): Likewise.
7379 (cosh_test_downward): Likewise.
7380 (cosh_test_upward): Likewise.
7381 (cpow_test): Use END_COMPLEX macro without arguments.
7382 (cproj_test): Likewise.
7383 (creal_test): Use END macro without arguments.
7384 (csin_test): Use END_COMPLEX macro without arguments.
7385 (csinh_test): Likewise.
7386 (csqrt_test): Likewise.
7387 (ctan_test): Likewise.
7388 (ctan_test_tonearest): Likewise.
7389 (ctan_test_towardzero): Likewise.
7390 (ctan_test_downward): Likewise.
7391 (ctan_test_upward): Likewise.
7392 (ctanh_test): Likewise.
7393 (ctanh_test_tonearest): Likewise.
7394 (ctanh_test_towardzero): Likewise.
7395 (ctanh_test_downward): Likewise.
7396 (ctanh_test_upward): Likewise.
7397 (erf_test): Use END macro without arguments.
7398 (erfc_test): Likewise.
7399 (exp_test): Likewise.
7400 (exp_test_tonearest): Likewise.
7401 (exp_test_towardzero): Likewise.
7402 (exp_test_downward): Likewise.
7403 (exp_test_upward): Likewise.
7404 (exp10_test): Likewise.
7405 (exp2_test): Likewise.
7406 (expm1_test): Likewise.
7407 (fabs_test): Likewise.
7408 (fdim_test): Likewise.
7409 (finite_test): Likewise.
7410 (floor_test): Likewise.
7411 (fma_test): Likewise.
7412 (fma_test_towardzero): Likewise.
7413 (fma_test_downward): Likewise.
7414 (fma_test_upward): Likewise.
7415 (fmax_test): Likewise.
7416 (fmin_test): Likewise.
7417 (fmod_test): Likewise.
7418 (fpclassify_test): Likewise.
7419 (frexp_test): Likewise.
7420 (gamma_test): Likewise.
7421 (hypot_test): Likewise.
7422 (ilogb_test): Likewise.
7423 (isfinite_test): Likewise.
7424 (isgreater_test): Likewise.
7425 (isgreaterequal_test): Likewise.
7426 (isinf_test): Likewise.
7427 (isless_test): Likewise.
7428 (islessequal_test): Likewise.
7429 (islessgreater_test): Likewise.
7430 (isnan_test): Likewise.
7431 (isnormal_test): Likewise.
7432 (issignaling_test): Likewise.
7433 (isunordered_test): Likewise.
7434 (j0_test): Likewise.
7435 (j1_test): Likewise.
7436 (jn_test): Likewise.
7437 (ldexp_test): Likewise.
7438 (lgamma_test): Likewise.
7439 (lrint_test): Likewise.
7440 (lrint_test_tonearest): Likewise.
7441 (lrint_test_towardzero): Likewise.
7442 (lrint_test_downward): Likewise.
7443 (lrint_test_upward): Likewise.
7444 (llrint_test): Likewise.
7445 (llrint_test_tonearest): Likewise.
7446 (llrint_test_towardzero): Likewise.
7447 (llrint_test_downward): Likewise.
7448 (llrint_test_upward): Likewise.
7449 (log_test): Likewise.
7450 (log10_test): Likewise.
7451 (log1p_test): Likewise.
7452 (log2_test): Likewise.
7453 (logb_test): Likewise.
7454 (logb_test_downward): Likewise.
7455 (lround_test): Likewise.
7456 (llround_test): Likewise.
7457 (modf_test): Likewise.
7458 (nearbyint_test): Likewise.
7459 (nextafter_test): Likewise.
7460 (nexttoward_test): Likewise.
7461 (pow_test): Likewise.
7462 (pow_test_tonearest): Likewise.
7463 (pow_test_towardzero): Likewise.
7464 (pow_test_downward): Likewise.
7465 (pow_test_upward): Likewise.
7466 (remainder_test): Likewise.
7467 (remainder_test_tonearest): Likewise.
7468 (remainder_test_towardzero): Likewise.
7469 (remainder_test_downward): Likewise.
7470 (remainder_test_upward): Likewise.
7471 (remquo_test): Likewise.
7472 (rint_test): Likewise.
7473 (rint_test_tonearest): Likewise.
7474 (rint_test_towardzero): Likewise.
7475 (rint_test_downward): Likewise.
7476 (rint_test_upward): Likewise.
7477 (round_test): Likewise.
7478 (scalb_test): Likewise.
7479 (scalbn_test): Likewise.
7480 (scalbln_test): Likewise.
7481 (signbit_test): Likewise.
7482 (sin_test): Likewise.
7483 (sin_test_tonearest): Likewise.
7484 (sin_test_towardzero): Likewise.
7485 (sin_test_downward): Likewise.
7486 (sin_test_upward): Likewise.
7487 (sincos_test): Likewise.
7488 (sinh_test): Likewise.
7489 (sinh_test_tonearest): Likewise.
7490 (sinh_test_towardzero): Likewise.
7491 (sinh_test_downward): Likewise.
7492 (sinh_test_upward): Likewise.
7493 (sqrt_test): Likewise.
7494 (tan_test): Likewise.
7495 (tan_test_tonearest): Likewise.
7496 (tan_test_towardzero): Likewise.
7497 (tan_test_downward): Likewise.
7498 (tan_test_upward): Likewise.
7499 (tanh_test): Likewise.
7500 (tgamma_test): Likewise.
7501 (trunc_test): Likewise.
7502 (y0_test): Likewise.
7503 (y1_test): Likewise.
7504 (yn_test): Likewise.
7505 (significand_test): Likewise.
7506
75072013-05-24 Ondřej Bílka <neleai@seznam.cz>
7508
7509 [BZ #15381]
7510 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7511
75122013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7513
7514 [BZ #14894]
7515 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7516 __ppc_mdoio and __ppc_mdoom.
7517 * manual/platform.texi: Document new functions __ppc_yield,
7518 __ppc_mdoio and __ppc_mdoom.
7519
75202013-05-22 Carlos O'Donell <carlos@redhat.com>
7521
7522 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7523 (main): Mention "tls" pseudo-hwcap is legacy.
7524 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7525
75262013-05-22 Joseph Myers <joseph@codesourcery.com>
7527
7528 * math/gen-libm-test.pl (parse_args): Output only string of
7529 arguments as text for test name, not full call or descriptions of
7530 tests for extra outputs.
7531 (generate_testfile): Do not pass function name to parse_args.
7532 Generate this_func variable from START.
7533 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7534 field to arg_str.
7535 (struct test_ff_f_data): Likewise.
7536 (test_ff_f_data_nexttoward): Likewise.
7537 (struct test_fi_f_data): Likewise.
7538 (struct test_fl_f_data): Likewise.
7539 (struct test_if_f_data): Likewise.
7540 (struct test_fff_f_data): Likewise.
7541 (struct test_c_f_data): Likewise.
7542 (struct test_f_f1_data): Likewise. Remove field extra_name.
7543 (struct test_fF_f1_data): Likewise.
7544 (struct test_ffI_f1_data): Likewise.
7545 (struct test_c_c_data): Rename test_name field to arg_str.
7546 (struct test_cc_c_data): Likewise.
7547 (struct test_f_i_data): Likewise.
7548 (struct test_ff_i_data): Likewise.
7549 (struct test_f_l_data): Likewise.
7550 (struct test_f_L_data): Likewise.
7551 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7552 and extra2_name.
7553 (COMMON_TEST_SETUP): New macro.
7554 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7555 (COMMON_TEST_CLEANUP): Likewise.
7556 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7557 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7558 macros.
7559 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7560 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7561 macros.
7562 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7563 (RUN_TEST_fff_f): Take argument string. Call new setup and
7564 cleanup macros.
7565 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7566 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7567 macros.
7568 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7569 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7570 macros.
7571 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7572 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7573 cleanup macros.
7574 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7575 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7576 cleanup macros.
7577 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7578 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7579 cleanup macros.
7580 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7581 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7582 macros.
7583 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7584 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7585 macros.
7586 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7587 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7588 macros.
7589 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7590 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7591 cleanup macros.
7592 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7593 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7594 cleanup macros.
7595 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7596 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7597 macros.
7598 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7599 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7600 cleanup macros.
7601 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7602 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7603 macros.
7604 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7605 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7606 macros.
7607 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7608 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7609 cleanup macros.
7610 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7611
76122013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7613
7614 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7615 to _sifields.sigfault.
7616 (si_addr_lsb): Define new macro.
7617 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7618 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7619 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7620
76212013-05-03 Carlos O'Donell <carlos at redhat.com>
7622
7623 [BZ #15441]
7624 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7625 returns -1.
7626 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7627 null return -1.
7628 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7629 loading the domain.
7630
76312013-05-22 Joseph Myers <joseph@codesourcery.com>
7632
7633 * math/gen-libm-test.pl (parse_args): Do not include expected
7634 result in test name.
7635 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7636 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7637 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7638 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7639 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7641
76422013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7643
7644 * benchtests/Makefile: Sort function entries.
7645
7646 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7647 tanh, asinh, acosh, atanh.
7648 * benchtests/acos-inputs: New file.
7649 * benchtests/acosh-inputs: New file.
7650 * benchtests/asin-inputs: New file.
7651 * benchtests/asinh-inputs: New file.
7652 * benchtests/atanh-inputs: New file.
7653 * benchtests/cosh-inputs: New file.
7654 * benchtests/log-inputs: New file.
7655 * benchtests/sinh-inputs: New file.
7656 * benchtests/tanh-inputs: New file.
7657
76582013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7659
7660 [BZ #15339]
7661 * posix/tst-getaddrinfo4.c: New test.
7662 * posix/Makefile (tests): Add it.
7663
76642013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7665
7666 [BZ #15339]
7667 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7668 when no services were used.
7669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7670 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7671
76722013-05-21 Andreas Schwab <schwab@suse.de>
7673
7674 [BZ #15014]
7675 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7676 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7677 successful.
7678 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7679 redundant variable declarations and reallocation of buffer when
7680 parsing as IPv6 address. Always set NSS status when called from
7681 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7682 buffer too small. Correct computation of needed size.
7683 * nss/Makefile (tests): Add test-digits-dots.
7684 * nss/test-digits-dots.c: New test.
7685
76862013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7687
7688 * benchtests/Makefile: Remove instructions for adding
7689 benchmark tests.
7690 * benchtests/README: New file to explain how to execute and
7691 enhance the benchmark tests.
7692
76932013-05-21 Andreas Schwab <schwab@suse.de>
7694
7695 [BZ #15493]
7696 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7697 * setjmp/tst-sigsetjmp.c: New test.
7698
76992013-05-20 Ondřej Bílka <neleai@seznam.cz>
7700
7701 * sysdeps/x86_64/memset.S (memset): New implementation.
7702 (__bzero): Likewise.
7703 (__memset_tail): New function.
7704
77052013-05-20 Ondřej Bílka <neleai@seznam.cz>
7706
7707 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7708 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7709 __memcpy_sse2_unaligned ifunc selection.
7710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7711 Add memcpy-sse2-unaligned.S.
7712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7713 Add: __memcpy_sse2_unaligned.
7714
77152013-05-19 Joseph Myers <joseph@codesourcery.com>
7716
7717 [BZ #15490]
7718 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7719 math_force_eval before restoring floating-point envrionment.
7720 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7721 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7722 Likewise.
7723 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7724 <math_private.h>.
7725 (__nearbyintl): Use math_force_eval before restoring
7726 floating-point environment.
7727 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7728
7729 * math/gen-libm-test.pl (special_functions): Remove.
7730 (parse_args): Don't handle TEST_extra. Handle functions with no
7731 return value.
7732 * math/libm-test.inc (struct test_sincos_data): Replace with
7733 struct test_fFF_11_data.
7734 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7735 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7736 (sincos_test_data): Change element type to struct
7737 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7738 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7739 RUN_TEST_LOOP_sincos.
7740 * math/README.libm-test: Don't mention special handling of
7741 individual functions.
7742 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7743 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7744 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7745 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7746 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7748
7749 * math/gen-libm-test.pl (get_variable): Remove function.
7750 (parse_args): Don't show pointer parameters to call in test
7751 names. Use "extra output N" in test names for extra outputs
7752 rather than naming variables.
7753
77542013-05-18 Joseph Myers <joseph@codesourcery.com>
7755
7756 [BZ #15488]
7757 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7758 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7759 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7760 double tests.
7761 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7762 disable.
7763 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7764 check_long_double.
7765
7766 * math/gen-libm-test.pl (@tests): Remove variable.
7767 ($count): Likewise.
7768 (new_test): Remove function.
7769 (show_exceptions): New function.
7770 (special_functions): Use show_exceptions instead of new_test.
7771 (parse_args): Likewise.
7772 (generate_testfile): Pass only function name in generated call to
7773 print_max_error or print_complex_max_error.
7774 (get_ulps): Do not handle complex tests specially.
7775 (output_test): Rename to ...
7776 (get_all_ulps_for_test): ... this. Return a string rather than
7777 printing to a file. Require ulps to be present.
7778 (output_ulps): Generate arrays rather than #defines.
7779 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7780 (struct ulp_data): New type.
7781 (BUILD_COMPLEX_ULP): Remove macro.
7782 (compare_ulp_data): New function.
7783 (find_ulps): Likewise.
7784 (find_test_ulps): Likewise.
7785 (find_function_ulps): Likewise.
7786 (find_complex_function_ulps): Likewise.
7787 (print_max_error): Determine allowed ulps using
7788 find_function_ulps.
7789 (print_complex_max_error): Determine allowed ulps using
7790 find_complex_function_ulps.
7791 (check_float_internal): Determine max ulps using find_test_ulps.
7792 (check_float): Do not take max_ulp parameter. Update call to
7793 check_float_internal.
7794 (check_complex): Likewise.
7795 (check_int): Do not take max_ulp parameter.
7796 (check_long): Likewise.
7797 (check_bool): Likewise.
7798 (check_longlong): Likewise.
7799 (struct test_f_f_data): Remove max_ulp field.
7800 (struct test_ff_f_data): Likewise.
7801 (struct test_ff_f_data_nexttoward): Likewise.
7802 (struct test_fi_f_data): Likewise.
7803 (struct test_fl_f_data): Likewise.
7804 (struct test_if_f_data): Likewise.
7805 (struct test_fff_f_data): Likewise.
7806 (struct test_c_f_data): Likewise.
7807 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7808 (struct test_fF_f1_data): Likewise.
7809 (struct test_ffI_f1_data): Likewise.
7810 (struct test_c_c_data): Remove max_ulp field.
7811 (struct test_cc_c_data): Likewise.
7812 (struct test_f_i_data): Likewise.
7813 (struct test_ff_i_data): Likewise.
7814 (struct test_f_l_data): Likewise.
7815 (struct test_f_L_data): Likewise.
7816 (struct test_sincos_data): Likewise.
7817 (RUN_TEST_f_f): Do not handle ulps.
7818 (RUN_TEST_LOOP_f_f): Likewise.
7819 (RUN_TEST_2_f): Likewise.
7820 (RUN_TEST_LOOP_2_f): Likewise.
7821 (RUN_TEST_fff_f): Likewise.
7822 (RUN_TEST_LOOP_fff_f): Likewise.
7823 (RUN_TEST_c_f): Likewise.
7824 (RUN_TEST_LOOP_c_f): Likewise.
7825 (RUN_TEST_f_f1): Likewise.
7826 (RUN_TEST_LOOP_f_f1): Likewise.
7827 (RUN_TEST_fF_f1): Likewise.
7828 (RUN_TEST_LOOP_fF_f1): Likewise.
7829 (RUN_TEST_fI_f1): Likewise.
7830 (RUN_TEST_LOOP_fI_f1): Likewise.
7831 (RUN_TEST_ffI_f1): Likewise.
7832 (RUN_TEST_LOOP_ffI_f1): Likewise.
7833 (RUN_TEST_c_c): Likewise.
7834 (RUN_TEST_LOOP_c_c): Likewise.
7835 (RUN_TEST_cc_c): Likewise.
7836 (RUN_TEST_LOOP_cc_c): Likewise.
7837 (RUN_TEST_f_i): Likewise.
7838 (RUN_TEST_LOOP_f_i): Likewise.
7839 (RUN_TEST_f_i_tg): Likewise.
7840 (RUN_TEST_LOOP_f_i_tg): Likewise.
7841 (RUN_TEST_ff_i_tg): Likewise.
7842 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7843 (RUN_TEST_f_b): Likewise.
7844 (RUN_TEST_LOOP_f_b): Likewise.
7845 (RUN_TEST_f_b_tg): Likewise.
7846 (RUN_TEST_LOOP_f_b_tg): Likewise.
7847 (RUN_TEST_f_l): Likewise.
7848 (RUN_TEST_LOOP_f_l): Likewise.
7849 (RUN_TEST_f_L): Likewise.
7850 (RUN_TEST_LOOP_f_L): Likewise.
7851 (RUN_TEST_sincos): Likewise.
7852 (RUN_TEST_LOOP_sincos): Likewise.
7853
78542013-05-17 Joseph Myers <joseph@codesourcery.com>
7855
7856 [BZ #15480]
7857 [BZ #15485]
7858 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7859 main case of finite arguments, set rounding mode to FE_TONEAREST
7860 and discard exceptions.
7861 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7862 exceptions.
7863 (remainder_tonearest_test_data): New variable.
7864 (remainder_test_tonearest): New function.
7865 (remainder_towardzero_test_data): New variable.
7866 (remainder_test_towardzero): New function.
7867 (remainder_downward_test_data): New variable.
7868 (remainder_test_downward): New function.
7869 (remainder_upward_test_data): New variable.
7870 (remainder_test_upward): New function.
7871 (main): Call the new test functions.
7872
7873 * math/libm-test.inc (struct test_f_f1_data): Remove field
7874 extra_init.
7875 (struct test_fF_f1_data): Likewise.
7876 (struct test_ffI_f1_data): Likewise.
7877 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7878 based on value of EXTRA_EXPECTED.
7879 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7880 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7881 EXTRA_VAR based on value of EXTRA_EXPECTED.
7882 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7883 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7884 EXTRA_VAR based on value of EXTRA_EXPECTED.
7885 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7886 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7887 EXTRA_VAR based on value of EXTRA_EXPECTED.
7888 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7889 * math/gen-libm-test.pl (parse_args): Don't output initializers
7890 for extra output values.
7891
7892 * math/libm-test.inc (check_int): Expect result to be exactly
7893 equal to expected value and do not handle ulps.
7894 (check_long): Likewise.
7895 (check_longlong): Likewise.
7896
7897 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7898 exceptions.
7899 (cimag_test_data): Likewise.
7900 (conj_test_data): Likewise.
7901 (copysign_test_data): Likewise.
7902 (cproj_test_data): Likewise.
7903 (creal_test_data): Likewise.
7904 (fabs_test_data): Likewise.
7905 (fdim_test_data): Likewise.
7906 (finite_test_data): Likewise.
7907 (floor_test_data): Likewise.
7908 (fmax_test_data): Likewise.
7909 (fmin_test_data): Likewise.
7910 (fmod_test_data): Likewise.
7911 (fpclassify_test_data): Likewise.
7912 (frexp_test_data): Likewise.
7913 (ilogb_test_data): Likewise.
7914 (isfinite_test_data): Likewise.
7915 (isgreater_test_data): Likewise.
7916 (isgreaterequal_test_data): Likewise.
7917 (isinf_test_data): Likewise.
7918 (isless_test_data): Likewise.
7919 (islessequal_test_data): Likewise.
7920 (islessgreater_test_data): Likewise.
7921 (isnan_test_data): Likewise.
7922 (isnormal_test_data): Likewise.
7923 (issignaling_test_data): Likewise.
7924 (isunordered_test_data): Likewise.
7925 (ldexp_test_data): Likewise.
7926 (lrint_test_data): Likewise.
7927 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7928 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7929 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7930 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7931 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7932 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7933 test input.
7934 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7935 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7936 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7937 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7938 that test input.
7939 (lrint_downward_test_data): Test for "inexact" exceptions.
7940 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7941 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7942 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7943 test input.
7944 (lrint_upward_test_data): Test for "inexact" exceptions.
7945 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7946 test input.
7947 (llrint_test_data): Test for "inexact" exceptions.
7948 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7949 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7950 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7951 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7952 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7953 (llrint_downward_test_data): Test for "inexact" exceptions.
7954 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7955 (llrint_upward_test_data): Test for "inexact" exceptions.
7956 (logb_test_data): Likewise.
7957 (logb_downward_test_data): Likewise.
7958 (nextafter_test_data): Likewise.
7959 (nexttoward_test_data): Likewise.
7960 (remainder_test_data): Likewise.
7961 (remquo_test_data): Likewise.
7962 (scalbn_test_data): Likewise.
7963 (scalbln_test_data): Likewise.
7964 (signbit_test_data): Likewise.
7965 (sqrt_test_data): Likewise.
7966 (significand_test_data): Likewise.
7967
79682013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7969
7970 [BZ #15424]
7971 * benchtests/bench-modf.c (struct args): Mark arg0 as
7972 volatile.
7973 * scripts/bench.pl: Mark members of struct args as volatile.
7974
79752013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7976
7977 [BZ # 15497]
7978 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7979 negative infinity on POWER6 or lower.
7980 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7981
79822013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7983
7984 [BZ #15442]
7985 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7986 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7987 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7988 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7989 (_FP_SETQNAN): New macro.
7990 (_FP_SETQNAN_SEMIRAW): Likewise.
7991 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7992 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7993 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7994 (FP_EXTEND): Use _FP_FRAC_SNANP.
7995 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7996 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7997 into account.
7998 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7999 New macro.
8000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8001 Likewise.
8002
80032013-05-16 Joseph Myers <joseph@codesourcery.com>
8004
8005 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8006 with DIVIDE_BY_ZERO_EXCEPTION.
8007 (gamma_test_data): Likewise.
8008 (lgamma_test_data): Likewise.
8009 (log_test_data): Likewise.
8010 (log10_test_data): Likewise.
8011 (log2_test_data): Likewise.
8012 (tgamma_test_data): Likewise.
8013
8014 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8015 (acos_test_tonearest): Likewise.
8016 (acos_test_towardzero): Likewise.
8017 (acos_test_downward): Likewise.
8018 (acos_test_upward): Likewise.
8019 (acosh_test): Likewise.
8020 (asin_test): Likewise.
8021 (asin_test_tonearest): Likewise.
8022 (asin_test_towardzero): Likewise.
8023 (asin_test_downward): Likewise.
8024 (asin_test_upward): Likewise.
8025 (asinh_test): Likewise.
8026 (atan_test): Likewise.
8027 (atanh_test): Likewise.
8028 (atan2_test): Likewise.
8029 (cabs_test): Likewise.
8030 (cacos_test): Likewise.
8031 (cacosh_test): Likewise.
8032 (casin_test): Likewise.
8033 (casinh_test): Likewise.
8034 (catan_test): Likewise.
8035 (catanh_test): Likewise.
8036 (cbrt_test): Likewise.
8037 (ccos_test): Likewise.
8038 (ccosh_test): Likewise.
8039 (cexp_test): Likewise.
8040 (clog_test): Likewise.
8041 (clog10_test): Likewise.
8042 (cos_test): Likewise.
8043 (cos_test_tonearest): Likewise.
8044 (cos_test_towardzero): Likewise.
8045 (cos_test_downward): Likewise.
8046 (cos_test_upward): Likewise.
8047 (cosh_test): Likewise.
8048 (cosh_test_tonearest): Likewise.
8049 (cosh_test_towardzero): Likewise.
8050 (cosh_test_downward): Likewise.
8051 (cosh_test_upward): Likewise.
8052 (cpow_test): Likewise.
8053 (csin_test): Likewise.
8054 (csinh_test): Likewise.
8055 (csqrt_test): Likewise.
8056 (ctan_test): Likewise.
8057 (ctan_test_tonearest): Likewise.
8058 (ctan_test_towardzero): Likewise.
8059 (ctan_test_downward): Likewise.
8060 (ctan_test_upward): Likewise.
8061 (ctanh_test): Likewise.
8062 (ctanh_test_tonearest): Likewise.
8063 (ctanh_test_towardzero): Likewise.
8064 (ctanh_test_downward): Likewise.
8065 (ctanh_test_upward): Likewise.
8066 (erf_test): Likewise.
8067 (erfc_test): Likewise.
8068 (exp_test): Likewise.
8069 (exp_test_tonearest): Likewise.
8070 (exp_test_towardzero): Likewise.
8071 (exp_test_downward): Likewise.
8072 (exp_test_upward): Likewise.
8073 (exp10_test): Likewise.
8074 (exp2_test): Likewise.
8075 (expm1_test): Likewise.
8076 (fmod_test): Likewise.
8077 (gamma_test): Likewise.
8078 (hypot_test): Likewise.
8079 (j0_test): Likewise.
8080 (j1_test): Likewise.
8081 (jn_test): Likewise.
8082 (lgamma_test): Likewise.
8083 (log_test): Likewise.
8084 (log10_test): Likewise.
8085 (log1p_test): Likewise.
8086 (log2_test): Likewise.
8087 (logb_test_downward): Likewise.
8088 (pow_test): Likewise.
8089 (pow_test_tonearest): Likewise.
8090 (pow_test_towardzero): Likewise.
8091 (pow_test_downward): Likewise.
8092 (pow_test_upward): Likewise.
8093 (remainder_test): Likewise.
8094 (remquo_test): Likewise.
8095 (sin_test): Likewise.
8096 (sin_test_tonearest): Likewise.
8097 (sin_test_towardzero): Likewise.
8098 (sin_test_downward): Likewise.
8099 (sin_test_upward): Likewise.
8100 (sincos_test): Likewise.
8101 (sinh_test): Likewise.
8102 (sinh_test_tonearest): Likewise.
8103 (sinh_test_towardzero): Likewise.
8104 (sinh_test_downward): Likewise.
8105 (sinh_test_upward): Likewise.
8106 (sqrt_test): Likewise.
8107 (tan_test): Likewise.
8108 (tan_test_tonearest): Likewise.
8109 (tan_test_towardzero): Likewise.
8110 (tan_test_downward): Likewise.
8111 (tan_test_upward): Likewise.
8112 (tanh_test): Likewise.
8113 (tgamma_test): Likewise.
8114 (y0_test): Likewise.
8115 (y1_test): Likewise.
8116 (yn_test): Likewise.
8117
8118 * math/gen-libm-test.pl (adjust_arg): Remove function.
8119 (special_function): Remove argument $in_func. Only handle
8120 generating output for tables of tests, not inside functions.
8121 (parse_args): Likewise.
8122 (generate_testfile): Remove variable $in_func. Update call to
8123 parse_args.
8124 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8125 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8126 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8127 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8128 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8129 (MAX_VALUE_INIT): Rename macro to max_value.
8130 (MIN_VALUE_INIT): Rename macro to min_value.
8131 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8132 (plus_zero): Remove variable.
8133 (minus_zero): Likewise.
8134 (plus_infty): Likewise.
8135 (minus_infty): Likewise.
8136 (qnan_value): Likewise.
8137 (max_value): Likewise.
8138 (min_value): Likewise.
8139 (min_subnorm_value): Likewise.
8140
81412013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8142
8143 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8144 uint64_t or uint32_t usage.
8145 * crypt/sha256-block.c: Likewise.
8146 * crypt/sha256-crypt.c: Likewise.
8147 * crypt/sha256.c: Likewise.
8148 * crypt/sha512-block.c: Likewise.
8149 * crypt/sha512-crypt.c: Likewise.
8150 * crypt/sha512.c: Likewise.
8151 * debug/backtrace-tst.c: Likewise.
8152 * debug/pcprofiledump.c: Likewise.
8153 * elf/cache.c: Likewise.
8154 * elf/dl-cache.c: Likewise.
8155 * elf/dl-misc.c: Likewise.
8156 * elf/dl-profile.c: Likewise.
8157 * elf/dl-support.c: Likewise.
8158 * elf/ldconfig.c: Likewise.
8159 * elf/sprof.c: Likewise.
8160 * iconv/dummy-repertoire.c: Likewise.
8161 * iconv/iconv_charmap.c: Likewise.
8162 * iconv/skeleton.c: Likewise.
8163 * iconvdata/8bit-generic.c: Likewise.
8164 * iconvdata/cp737.h: Likewise.
8165 * iconvdata/cp775.h: Likewise.
8166 * iconvdata/ibm1008.h: Likewise.
8167 * iconvdata/ibm1025.h: Likewise.
8168 * iconvdata/ibm1046.h: Likewise.
8169 * iconvdata/ibm1097.h: Likewise.
8170 * iconvdata/ibm1112.h: Likewise.
8171 * iconvdata/ibm1122.h: Likewise.
8172 * iconvdata/ibm1123.h: Likewise.
8173 * iconvdata/ibm1124.h: Likewise.
8174 * iconvdata/ibm1129.h: Likewise.
8175 * iconvdata/ibm1130.h: Likewise.
8176 * iconvdata/ibm1132.h: Likewise.
8177 * iconvdata/ibm1133.h: Likewise.
8178 * iconvdata/ibm1137.h: Likewise.
8179 * iconvdata/ibm1140.h: Likewise.
8180 * iconvdata/ibm1141.h: Likewise.
8181 * iconvdata/ibm1142.h: Likewise.
8182 * iconvdata/ibm1143.h: Likewise.
8183 * iconvdata/ibm1144.h: Likewise.
8184 * iconvdata/ibm1145.h: Likewise.
8185 * iconvdata/ibm1146.h: Likewise.
8186 * iconvdata/ibm1147.h: Likewise.
8187 * iconvdata/ibm1148.h: Likewise.
8188 * iconvdata/ibm1149.h: Likewise.
8189 * iconvdata/ibm1153.h: Likewise.
8190 * iconvdata/ibm1154.h: Likewise.
8191 * iconvdata/ibm1155.h: Likewise.
8192 * iconvdata/ibm1156.h: Likewise.
8193 * iconvdata/ibm1157.h: Likewise.
8194 * iconvdata/ibm1158.h: Likewise.
8195 * iconvdata/ibm1160.h: Likewise.
8196 * iconvdata/ibm1161.h: Likewise.
8197 * iconvdata/ibm1162.h: Likewise.
8198 * iconvdata/ibm1163.h: Likewise.
8199 * iconvdata/ibm1164.h: Likewise.
8200 * iconvdata/ibm1166.h: Likewise.
8201 * iconvdata/ibm1167.h: Likewise.
8202 * iconvdata/ibm12712.h: Likewise.
8203 * iconvdata/ibm1390.h: Likewise.
8204 * iconvdata/ibm1399.h: Likewise.
8205 * iconvdata/ibm16804.h: Likewise.
8206 * iconvdata/ibm4517.h: Likewise.
8207 * iconvdata/ibm4899.h: Likewise.
8208 * iconvdata/ibm4909.h: Likewise.
8209 * iconvdata/ibm4971.h: Likewise.
8210 * iconvdata/ibm5347.h: Likewise.
8211 * iconvdata/ibm803.h: Likewise.
8212 * iconvdata/ibm856.h: Likewise.
8213 * iconvdata/ibm901.h: Likewise.
8214 * iconvdata/ibm902.h: Likewise.
8215 * iconvdata/ibm9030.h: Likewise.
8216 * iconvdata/ibm9066.h: Likewise.
8217 * iconvdata/ibm921.h: Likewise.
8218 * iconvdata/ibm922.h: Likewise.
8219 * iconvdata/ibm9448.h: Likewise.
8220 * iconvdata/isiri-3342.h: Likewise.
8221 * iconvdata/jis0201.h: Likewise.
8222 * include/link.h: Likewise.
8223 * include/netdb.h: Likewise.
8224 * inet/check_native.c: Likewise.
8225 * inet/check_pf.c: Likewise.
8226 * inet/getipv4sourcefilter.c: Likewise.
8227 * inet/getnameinfo.c: Likewise.
8228 * inet/getsourcefilter.c: Likewise.
8229 * inet/htonl.c: Likewise.
8230 * inet/setipv4sourcefilter.c: Likewise.
8231 * inet/setsourcefilter.c: Likewise.
8232 * inet/test-inet6_opt.c: Likewise.
8233 * inet/tst-network.c: Likewise.
8234 * locale/C-collate.c: Likewise.
8235 * locale/C-ctype.c: Likewise.
8236 * locale/C-time.c: Likewise.
8237 * locale/C-translit.h: Likewise.
8238 * locale/loadarchive.c: Likewise.
8239 * locale/programs/3level.h: Likewise.
8240 * locale/programs/charmap.c: Likewise.
8241 * locale/programs/charmap.h: Likewise.
8242 * locale/programs/ld-address.c: Likewise.
8243 * locale/programs/ld-collate.c: Likewise.
8244 * locale/programs/ld-ctype.c: Likewise.
8245 * locale/programs/ld-identification.c: Likewise.
8246 * locale/programs/ld-measurement.c: Likewise.
8247 * locale/programs/ld-messages.c: Likewise.
8248 * locale/programs/ld-monetary.c: Likewise.
8249 * locale/programs/ld-name.c: Likewise.
8250 * locale/programs/ld-numeric.c: Likewise.
8251 * locale/programs/ld-paper.c: Likewise.
8252 * locale/programs/ld-telephone.c: Likewise.
8253 * locale/programs/ld-time.c: Likewise.
8254 * locale/programs/linereader.c: Likewise.
8255 * locale/programs/locale.c: Likewise.
8256 * locale/programs/locarchive.c: Likewise.
8257 * locale/programs/locfile.h: Likewise.
8258 * locale/programs/repertoire.c: Likewise.
8259 * locale/programs/simple-hash.c: Likewise.
8260 * locale/programs/simple-hash.h: Likewise.
8261 * malloc/memusage.c: Likewise.
8262 * malloc/memusagestat.c: Likewise.
8263 * nis/nis_defaults.c: Likewise.
8264 * nis/nis_hash.c: Likewise.
8265 * nis/nis_print.c: Likewise.
8266 * nis/nis_xdr.c: Likewise.
8267 * nscd/connections.c: Likewise.
8268 * nscd/hstcache.c: Likewise.
8269 * nscd/nscd_gethst_r.c: Likewise.
8270 * nscd/nscd_getserv_r.c: Likewise.
8271 * nscd/nscd_helper.c: Likewise.
8272 * nscd/servicescache.c: Likewise.
8273 * nss/makedb.c: Likewise.
8274 * nss/nss_db/db-XXX.c: Likewise.
8275 * nss/nss_db/db-initgroups.c: Likewise.
8276 * nss/nss_db/db-netgrp.c: Likewise.
8277 * nss/nss_files/files-network.c: Likewise.
8278 * nss/nss_files/files-parse.c: Likewise.
8279 * posix/bug-regex5.c: Likewise.
8280 * posix/fnmatch_loop.c: Likewise.
8281 * posix/regcomp.c: Likewise.
8282 * posix/regexec.c: Likewise.
8283 * posix/tst-rfc3484-2.c: Likewise.
8284 * posix/tst-rfc3484-3.c: Likewise.
8285 * posix/tst-rfc3484.c: Likewise.
8286 * resolv/nss_dns/dns-canon.c: Likewise.
8287 * resolv/nss_dns/dns-network.c: Likewise.
8288 * resolv/res_init.c: Likewise.
8289 * resolv/res_mkquery.c: Likewise.
8290 * resolv/tst-aton.c: Likewise.
8291 * stdlib/cxa_atexit.c: Likewise.
8292 * stdlib/cxa_finalize.c: Likewise.
8293 * stdlib/gen-fpioconst.c: Likewise.
8294 * stdlib/strtol_l.c: Likewise.
8295 * string/tst-endian.c: Likewise.
8296 * sunrpc/auth_des.c: Likewise.
8297 * sunrpc/clnt_udp.c: Likewise.
8298 * sunrpc/rtime.c: Likewise.
8299 * sunrpc/svcauth_des.c: Likewise.
8300 * sunrpc/xdr.c: Likewise.
8301 * sunrpc/xdr_intXX_t.c: Likewise.
8302 * sunrpc/xdr_rec.c: Likewise.
8303 * sysdeps/generic/ldconfig.h: Likewise.
8304 * sysdeps/generic/ldsodefs.h: Likewise.
8305 * sysdeps/generic/memusage.h: Likewise.
8306 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8309 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8313 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8316 * sysdeps/posix/getaddrinfo.c: Likewise.
8317 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8318 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8319 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8320 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8321 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8322 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8323 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8324 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8325 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8326 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8327 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8328 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8329 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8330 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8331 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8332 * sysdeps/x86_64/dl-tls.h: Likewise.
8333 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8334 * time/alt_digit.c: Likewise.
8335 * time/era.c: Likewise.
8336 * wcsmbs/tst-c16c32-1.c: Likewise.
8337
83382013-05-16 Joseph Myers <joseph@codesourcery.com>
8339
8340 * math/libm-test.inc (struct test_sincos_data): New type.
8341 (RUN_TEST_LOOP_sincos): New macro.
8342 (sincos_test_data): New variable.
8343 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8344
83452013-05-16 Richard Henderson <rth@redhat.com>
8346
8347 * math/atest-exp2.c (LIMB64): New macro.
8348 (CONSTSZ): New macro.
8349 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8350 (hexdig): Move ...
8351 (print_mpn_fp): ... to function scope.
8352 (read_mpn_hex): Remove.
8353 (get_log2): Remove.
8354 (exp2_mpn): Use mp_log2.
8355 (main): Use mp_exp1.
8356
83572013-05-16 Joseph Myers <joseph@codesourcery.com>
8358
8359 * math/libm-test.inc: Remove comment about not testing "inexact"
8360 exceptions.
8361 (INEXACT_EXCEPTION): New macro.
8362 (NO_INEXACT_EXCEPTION): Likewise.
8363 (INVALID_EXCEPTION_OK): Update value.
8364 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8365 (OVERFLOW_EXCEPTION_OK): Likewise.
8366 (UNDERFLOW_EXCEPTION_OK): Likewise.
8367 (IGNORE_ZERO_INF_SIGN): Likewise.
8368 (ERRNO_UNCHANGED): Likewise.
8369 (ERRNO_EDOM): Likewise.
8370 (ERRNO_ERANGE): Likewise.
8371 (test_exceptions): Handle testing "inexact" exceptions.
8372 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8373 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8374 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8375 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8376 INEXACT_EXCEPTION.
8377 (rint_towardzero_test_data): Likewise.
8378 (rint_downward_test_data): Likewise.
8379 (rint_upward_test_data): Likewise.
8380
8381 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8382 with OVERFLOW_EXCEPTION.
8383 (exp10_test_data): Likewise.
8384 (exp2_test_data): Likewise.
8385 (expm1_test_data): Likewise.
8386 (lgamma_test_data): Likewise.
8387 (pow_test_data): Likewise.
8388 (tgamma_test_data): Likewise.
8389 (yn_test_data): Remove duplicate test of overflow.
8390
8391 * math/libm-test.inc (struct test_cc_c_data): New type.
8392 (RUN_TEST_LOOP_cc_c): New macro.
8393 (cpow_test_data): New variable.
8394 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8395
8396 * math/libm-test.inc (struct test_f_L_data): New type.
8397 (RUN_TEST_LOOP_f_L): New macro.
8398 (llrint_test_data): New variable.
8399 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8400 (llrint_tonearest_test_data): New variable.
8401 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8402 (llrint_towardzero_test_data): New variable.
8403 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8404 (llrint_downward_test_data): New variable.
8405 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8406 (llrint_upward_test_data): New variable.
8407 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8408 (llround_test_data): New variable.
8409 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8410
84112013-05-13 Peter Collingbourne <pcc@google.com>
8412
8413 * math/atest-exp2.c (get_log2): Remove const attribute.
8414
84152013-05-15 Joseph Myers <joseph@codesourcery.com>
8416
8417 * math/libm-test.inc (struct test_f_l_data): New type.
8418 (RUN_TEST_LOOP_f_l): New macro.
8419 (lrint_test_data): New variable.
8420 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8421 (lrint_tonearest_test_data): New variable.
8422 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8423 (lrint_towardzero_test_data): New variable.
8424 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8425 (lrint_downward_test_data): New variable.
8426 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8427 (lrint_upward_test_data): New variable.
8428 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8429 (lround_test_data): New variable.
8430 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8431
84322013-05-15 Peter Collingbourne <pcc@google.com>
8433
8434 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8435 (EXTRACT_WORDS64) Use where appropriate.
8436 (INSERT_WORDS64) Likewise.
8437
8438 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8439 constraints with x constraints.
8440 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8441
8442 * malloc/obstack.c (_obstack_compat): Add initializer.
8443
84442013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8445
8446 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8447 si_trapno and add si_addr_lsb to _sifields.sigfault.
8448 (si_trapno): Remove macro.
8449 (si_addr_lsb): Define new macro.
8450 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8451
84522013-05-15 Joseph Myers <joseph@codesourcery.com>
8453
8454 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8455 instead of TEST_f_l.
8456 (llrint_test_tonearest): Likewise.
8457 (llrint_test_towardzero): Likewise.
8458 (llrint_test_downward): Likewise.
8459 (llrint_test_upward): Likewise.
8460 (llround_test): Likewise.
8461
8462 * math/libm-test.inc (struct test_f_i_data): Add comment.
8463 (RUN_TEST_LOOP_f_b): New macro.
8464 (RUN_TEST_LOOP_f_b_tg): Likewise.
8465 (finite_test_data): New variable.
8466 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8467 (isfinite_test_data): New variable.
8468 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8469 (isinf_test_data): New variable.
8470 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8471 (isnan_test_data): New variable.
8472 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8473 (isnormal_test_data): New variable.
8474 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8475 (issignaling_test_data): New variable.
8476 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8477 (signbit_test_data): New variable.
8478 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8479
8480 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8481 with INVALID_EXCEPTION.
8482 (acosh_test_data): Likewise.
8483 (asin_test_data): Likewise.
8484 (atanh_test_data): Likewise.
8485 (fmod_test_data): Likewise.
8486 (log_test_data): Likewise.
8487 (log10_test_data): Likewise.
8488 (log2_test_data): Likewise.
8489 (pow_test_data): Likewise.
8490 (sqrt_test_data): Likewise.
8491 (y0_test_data): Likewise.
8492 (y1_test_data): Likewise.
8493 (yn_test_data): Likewise.
8494
8495 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8496 function contents.
8497
8498 * math/libm-test.inc (struct test_ff_i_data): New type.
8499 (RUN_TEST_LOOP_ff_i_tg): New macro.
8500 (isgreater_test_data): New variable.
8501 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8502 (isgreaterequal_test_data): New variable.
8503 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8504 (isless_test_data): New variable.
8505 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8506 (islessequal_test_data): New variable.
8507 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8508 (islessgreater_test_data): New variable.
8509 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8510 (isunordered_test_data): New variable.
8511 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8512
85132013-05-14 David S. Miller <davem@davemloft.net>
8514
8515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8516
85172013-05-14 Joseph Myers <joseph@codesourcery.com>
8518
8519 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8520
8521 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8522 extra_test to int.
8523 (struct test_f_i_data): Change type of max_ulp to int.
8524
8525 * math/libm-test.inc (test_ffI_f1_data): New type.
8526 (RUN_TEST_LOOP_ffI_f1): New macro.
8527 (remquo_test_data): New variable.
8528 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8529
8530 * setjmp/tst-setjmp-fp.c: New file.
8531 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8532 (link-libm): New variable.
8533 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8534
8535 * math/libm-test.inc (struct test_f_i_data): New type.
8536 (RUN_TEST_LOOP_f_i): New macro.
8537 (RUN_TEST_LOOP_f_i_tg): Likewise.
8538 (fpclassify_test_data): New variable.
8539 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8540 (ilogb_test_data): New variable.
8541 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8542
8543 * math/libm-test.inc (scalbln_test): Correct function name in END
8544 call.
8545
8546 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8547 (RUN_TEST_LOOP_fI_f1): New macro.
8548 (frexp_test_data): New variable.
8549 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8550
8551 * math/libm-test.inc (struct test_fF_f1_data): New type.
8552 (RUN_TEST_LOOP_fF_f1): New macro.
8553 (modf_test_data): New variable.
8554 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8555
8556 * math/libm-test.inc (struct test_f_f1_data): New type.
8557 (RUN_TEST_LOOP_f_f1): New macro.
8558 (gamma_test_data): New variable.
8559 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8560 (lgamma_test_data): New variable.
8561 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8562
85632013-05-13 Carlos O'Donell <carlos@redhat.com>
8564
8565 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8566 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8567 (main): Comment "tls" pseudo-hwcap.
8568
85692013-05-13 Joseph Myers <joseph@codesourcery.com>
8570
8571 * math/libm-test.inc (struct test_fl_f_data): New type.
8572 (RUN_TEST_LOOP_fl_f): New variable.
8573 (scalbln_test_data): New variable.
8574 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8575
8576 * math/libm-test.inc (struct test_fi_f_data): New type.
8577 (RUN_TEST_LOOP_fi_f): New macro.
8578 (ldexp_test_data): New variable.
8579 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8580 (scalbn_test_data): New variable.
8581 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8582
8583 * math/libm-test.inc (struct test_c_f_data): New type.
8584 (RUN_TEST_LOOP_c_f): New macro.
8585 (cabs_test_data): New variable.
8586 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8587 (carg_test_data): New variable.
8588 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8589 (cimag_test_data): New variable.
8590 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8591 (creal_test_data): New variable.
8592 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8593
8594 * math/libm-test.inc (struct test_if_f_data): New type.
8595 (RUN_TEST_LOOP_if_f): New macro.
8596 (jn_test_data): New variable.
8597 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8598 (yn_test_data): New variable.
8599 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8600
8601 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8602
86032013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8604
8605 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8606 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8607
86082013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8609
8610 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8611 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8612 (bench-deps): Add bench-timing.h.
8613 * benchtests-bench-skeleton.c: Include bench-timing.h.
8614 (main): Use TIMING_* macros instead of clock_gettime.
8615 * benchtests/bench-timing.h: New file.
8616
8617 [BZ #14582]
8618 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8619 Renamed from _LIB_VERSION.
8620 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8621
86222013-05-12 Joseph Myers <joseph@codesourcery.com>
8623
8624 * math/libm-test.inc (struct test_fff_f_data): New type.
8625 (RUN_TEST_LOOP_fff_f): New macro.
8626 (fma_test_data): New variable.
8627 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8628 (fma_towardzero_test_data): New variable.
8629 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8630 (fma_downward_test_data): New variable.
8631 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8632 (fma_upward_test_data): New variable.
8633 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8634
8635 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8636 (struct test_c_c_data): New type.
8637 (RUN_TEST_LOOP_c_c): New macro.
8638 (cacos_test_data): New variable.
8639 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8640 (cacosh_test_data): New variable.
8641 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8642 (casin_test_data): New variable.
8643 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8644 (casinh_test_data): New variable.
8645 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8646 (catan_test_data): New variable.
8647 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8648 (catanh_test_data): New variable.
8649 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8650 (ccos_test_data): New variable.
8651 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8652 (ccosh_test_data): New variable.
8653 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8654 (cexp_test_data): New variable.
8655 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8656 (clog_test_data): New variable.
8657 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8658 (clog10_test_data): New variable.
8659 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8660 (conj_test_data): New variable.
8661 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8662 (cproj_test_data): New variable.
8663 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8664 (csin_test_data): New variable.
8665 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8666 (csinh_test_data): New variable.
8667 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8668 (csqrt_test_data): New variable.
8669 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8670 (ctan_test_data): New variable.
8671 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8672 (ctan_tonearest_test_data): New variable.
8673 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8674 (ctan_towardzero_test_data): New variable.
8675 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8676 (ctan_downward_test_data): New variable.
8677 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8678 (ctan_upward_test_data): New variable.
8679 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8680 (ctanh_test_data): New variable.
8681 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8682 (ctanh_tonearest_test_data): New variable.
8683 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8684 (ctanh_towardzero_test_data): New variable.
8685 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8686 (ctanh_downward_test_data): New variable.
8687 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8688 (ctanh_upward_test_data): New variable.
8689 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8690 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8691 of BUILD_COMPLEX.
8692
8693 * math/libm-test.inc (struct test_ff_f_data): New type.
8694 (struct test_ff_f_data_nexttoward): Likewise.
8695 (RUN_TEST_LOOP_2_f): New macro.
8696 (RUN_TEST_LOOP_ff_f): Likewise.
8697 (atan2_test_data): New variable.
8698 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8699 (copysign_test_data): New variable.
8700 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8701 (fdim_test_data): New variable.
8702 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8703 (fmax_test_data): New variable.
8704 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8705 (fmin_test_data): New variable.
8706 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8707 (fmod_test_data): New variable.
8708 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8709 (hypot_test_data): New variable.
8710 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8711 (nextafter_test_data): New variable.
8712 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8713 (nexttoward_test_data): New variable.
8714 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8715 (pow_test_data): New variable.
8716 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8717 (pow_tonearest_test_data): New variable.
8718 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8719 (pow_towardzero_test_data): New variable.
8720 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8721 (pow_downward_test_data): New variable.
8722 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8723 (pow_upward_test_data): New variable.
8724 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8725 (remainder_test_data): New variable.
8726 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8727 (scalb_test_data): New variable.
8728 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8729 * sysdeps/i386/fpu/libm-test-ulps: Update.
8730
87312013-05-11 Joseph Myers <joseph@codesourcery.com>
8732
8733 * math/libm-test.inc (fma_test): Use max_value instead of local
8734 variable fltmax.
8735 (nextafter_test): Likewise.
8736
8737 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8738 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8739 (acos_downward_test_data): New variable.
8740 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8741 (acos_upward_test_data): New variable.
8742 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8743 (acosh_test_data): New variable.
8744 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8745 (asin_test_data): New variable.
8746 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8747 (asin_tonearest_test_data): New variable.
8748 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8749 (asin_towardzero_test_data): New variable.
8750 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8751 (asin_downward_test_data): New variable.
8752 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8753 (asin_upward_test_data): New variable.
8754 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8755 (asinh_test_data): New variable.
8756 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8757 (atan_test_data): New variable.
8758 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8759 (atanh_test_data): New variable.
8760 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8761 (cbrt_test_data): New variable.
8762 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8763 (ceil_test_data): New variable.
8764 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8765 (cos_test_data): New variable.
8766 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8767 (cos_tonearest_test_data): New variable.
8768 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8769 (cos_towardzero_test_data): New variable.
8770 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8771 (cos_downward_test_data): New variable.
8772 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8773 (cos_upward_test_data): New variable.
8774 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8775 (cosh_test_data): New variable.
8776 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8777 (cosh_tonearest_test_data): New variable.
8778 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8779 (cosh_towardzero_test_data): New variable.
8780 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8781 (cosh_downward_test_data): New variable.
8782 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8783 (cosh_upward_test_data): New variable.
8784 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8785 (erf_test_data): New variable.
8786 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8787 (erfc_test_data): New variable.
8788 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8789 (exp_test_data): New variable.
8790 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8791 (exp_tonearest_test_data): New variable.
8792 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8793 (exp_towardzero_test_data): New variable.
8794 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8795 (exp_downward_test_data): New variable.
8796 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8797 (exp_upward_test_data): New variable.
8798 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8799 (exp10_test_data): New variable.
8800 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8801 (exp2_test_data): New variable.
8802 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8803 (expm1_test_data): New variable.
8804 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8805 (fabs_test_data): New variable.
8806 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8807 (floor_test_data): New variable.
8808 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8809 (j0_test_data): New variable.
8810 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8811 (j1_test_data): New variable.
8812 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8813 (log_test_data): New variable.
8814 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8815 (log10_test_data): New variable.
8816 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8817 (log1p_test_data): New variable.
8818 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8819 (log2_test_data): New variable.
8820 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8821 (logb_test_data): New variable.
8822 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8823 (logb_downward_test_data): New variable.
8824 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8825 (nearbyint_test_data): New variable.
8826 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8827 (rint_test_data): New variable.
8828 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8829 (rint_tonearest_test_data): New variable.
8830 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8831 (rint_towardzero_test_data): New variable.
8832 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8833 (rint_downward_test_data): New variable.
8834 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8835 (rint_upward_test_data): New variable.
8836 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8837 (round_test_data): New variable.
8838 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8839 (sin_test_data): New variable.
8840 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8841 (sin_tonearest_test_data): New variable.
8842 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8843 (sin_towardzero_test_data): New variable.
8844 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8845 (sin_downward_test_data): New variable.
8846 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8847 (sin_upward_test_data): New variable.
8848 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8849 (sinh_test_data): New variable.
8850 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8851 (sinh_tonearest_test_data): New variable.
8852 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8853 (sinh_towardzero_test_data): New variable.
8854 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8855 (sinh_downward_test_data): New variable.
8856 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8857 (sinh_upward_test_data): New variable.
8858 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8859 (sqrt_test_data): New variable.
8860 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8861 (tan_test_data): New variable.
8862 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8863 (tan_tonearest_test_data): New variable.
8864 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8865 (tan_towardzero_test_data): New variable.
8866 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8867 (tan_downward_test_data): New variable.
8868 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8869 (tan_upward_test_data): New variable.
8870 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8871 (tanh_test_data): New variable.
8872 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8873 (tgamma_test_data): New variable.
8874 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8875 (trunc_test_data): New variable.
8876 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8877 (y0_test_data): New variable.
8878 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8879 (y1_test_data): New variable.
8880 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8881 (significand_test_data): New variable.
8882 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8883
88842013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8885
8886 [BZ #12387]
8887 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8888
88892013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8890
8891 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8892
88932013-05-10 Andreas Jaeger <aj@suse.de>
8894
8895 [BZ #15448]
8896 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8897 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8898
88992013-05-10 Joseph Myers <joseph@codesourcery.com>
8900
8901 * math/gen-libm-test.pl (adjust_arg): New function.
8902 (special_functions): Handle generating output in both functions
8903 and arrays.
8904 (parse_args): Likewise.
8905 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8906 $in_func argument to parse_args.
8907 * math/libm-test.inc (struct test_f_f_data): New type.
8908 (IF_ROUND_INIT_): New macro.
8909 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8910 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8911 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8912 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8913 (ROUND_RESTORE_): Likewise.
8914 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8915 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8916 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8917 (ROUND_RESTORE_FE_UPWARD): Likewise.
8918 (RUN_TEST_LOOP_f_f): New macro.
8919 (acos_test_data): New variable.
8920 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8921 (acos_tonearest_test_data): New variable.
8922 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8923
89242013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8925
8926 * benchtests/bench-skeleton.c (startup): Fix coding style.
8927
89282013-05-10 Joseph Myers <joseph@codesourcery.com>
8929
8930 [BZ #6809]
8931 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8932 negative infinity argument.
8933 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8934 negative infinity argument.
8935 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8936 negative infinity argument.
8937 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8938 domain errors.
8939
89402013-05-10 Florian Weimer <fweimer@redhat.com>
8941
8942 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8943 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8944 * iconv/iconv_prog.c (main): Likewise.
8945 * locale/programs/charmap-dir.c (charmap_readdir)
8946 (fopen_uncompressed): Likewise.
8947 * locale/programs/locfile.c (siblings_uncached)
8948 (write_locale_data): Use lstat64 instead of lstat.
8949 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8950 stat.
8951
89522013-05-10 Andreas Jaeger <aj@suse.de>
8953
8954 [BZ #15395]
8955 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8956 localization.
8957 Include <locale.h>.
8958
89592013-05-09 Carlos O'Donell <carlos@redhat.com>
8960
8961 * elf/dl-close.c (_dl_close_worker): Add comments.
8962
89632013-05-09 Joseph Myers <joseph@codesourcery.com>
8964
8965 [BZ #15359]
8966 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8967 high part of pi/2.
8968 (__ieee754_rem_pio2l): Update comments.
8969
8970 [BZ #15429]
8971 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8972 high part of pi/2.
8973 (__ieee754_rem_pio2l): Update comments.
8974
8975 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8976 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8977
8978 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8979 M_PI_4l.
8980
8981 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8982 (M_PI_34_LOG10El): Likewise.
8983 (M_PI2_LOG10El): Likewise.
8984 (M_PI4_LOG10El): Likewise.
8985 (M_PI_LOG10El): Likewise.
8986
89872013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8988
8989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8990
89912013-05-08 Joseph Myers <joseph@codesourcery.com>
8992
8993 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8994 (MINUS_ZERO_INIT): Likewise.
8995 (PLUS_INFTY_INIT): Likewise.
8996 (MINUS_INFTY_INIT): Likewise.
8997 (QNAN_VALUE_INIT): Likewise.
8998 (MAX_VALUE_INIT): Likewise.
8999 (MIN_VALUE_INIT): Likewise.
9000 (MIN_SUBNORM_VALUE_INIT): Likewise.
9001 (plus_zero): Initialize with PLUS_ZERO_INIT.
9002 (minus_zero): Initialize with MINUS_ZERO_INIT.
9003 (plus_infty): Initialize with PLUS_INFTY_INIT.
9004 (minus_infty): Initialize with MINUS_INFTY_INIT.
9005 (qnan_value): Initialize with QNAN_VALUE_INIT.
9006 (max_value): Initialize with MAX_VALUE_INIT.
9007 (min_value): Initialize with MIN_VALUE_INIT.
9008 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9009
9010 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9011 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9012 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9013 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9014
9015 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9016 (RUN_TEST_2_f): Likewise.
9017 (RUN_TEST_ff_f): Likewise.
9018 (RUN_TEST_fi_f): Likewise.
9019 (RUN_TEST_fl_f): Likewise.
9020 (RUN_TEST_fff_f): Likewise.
9021 (RUN_TEST_c_f): Likewise.
9022 (RUN_TEST_f_f1): Likewise.
9023 (RUN_TEST_fF_f1): Likewise.
9024 (RUN_TEST_fI_f1): Likewise.
9025 (RUN_TEST_ffI_f1): Likewise.
9026 (RUN_TEST_c_c): Likewise.
9027 (RUN_TEST_cc_c): Likewise.
9028 (RUN_TEST_f_i): Likewise.
9029 (RUN_TEST_f_i_tg): Likewise.
9030 (RUN_TEST_ff_i_tg): Likewise.
9031 (RUN_TEST_f_b): Likewise.
9032 (RUN_TEST_f_b_tg): Likewise.
9033 (RUN_TEST_f_l): Likewise.
9034 (RUN_TEST_f_L): Likewise.
9035 (RUN_TEST_sincos): Likewise.
9036 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9037 whether to show exceptions. Do not include ");\n" in return
9038 value.
9039 (special_functions): Output call to RUN_TEST_sincos instead of
9040 check_float calls. Update calls to new_test.
9041 (parse_args): Output call to single RUN_TEST_* macro instead of
9042 check_* calls and other assignments. Update calls to new_test.
9043
9044 [BZ #2546]
9045 [BZ #2560]
9046 [BZ #5159]
9047 [BZ #15426]
9048 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9049 input to result for tgamma overflow.
9050 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9051 (gamma_coeff): New variable.
9052 (NCOEFF): New macro.
9053 (gamma_positive): New function.
9054 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9055 underflow here. Use gamma_positive instead of exp (lgamma) for
9056 other arguments.
9057 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9058 (gamma_coeff): New variable.
9059 (NCOEFF): New macro.
9060 (gammaf_positive): New function.
9061 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9062 underflow here. Use gamma_positive instead of exp (lgamma) for
9063 other arguments.
9064 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9065 (gamma_coeff): New variable.
9066 (NCOEFF): New macro.
9067 (gammal_positive): New function.
9068 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9069 underflow here. Use gamma_positive instead of exp (lgamma) for
9070 other arguments.
9071 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9072 (gamma_coeff): New variable.
9073 (NCOEFF): New macro.
9074 (gammal_positive): New function.
9075 (__ieee754_gammal_r): Handle positive infinity, overflow and
9076 underflow here. Handle NaN the same as positive infinity. Remove
9077 check x < 0xffffffff for negative integers. Use gamma_positive
9078 instead of exp (lgamma) for other arguments.
9079 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9080 (gamma_coeff): New variable.
9081 (NCOEFF): New macro.
9082 (gammal_positive): New function.
9083 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9084 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9088 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9089 * sysdeps/generic/math_private.h (__gamma_productf): New
9090 prototype.
9091 (__gamma_product): Likewise.
9092 (__gamma_productl): Likewise.
9093 * math/Makefile (libm-calls): Add gamma_product.
9094 * math/libm-test.inc (tgamma_test): Add more tests.
9095 * sysdeps/i386/fpu/libm-test-ulps: Update.
9096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9097
90982013-05-08 Ondřej Bílka <neleai@seznam.cz>
9099
9100 * benchtests/bench-skeleton.c (main): Preheat CPU.
9101
91022013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9103
9104 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9105
91062013-05-07 Roland McGrath <roland@hack.frob.com>
9107
9108 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9109 and _dl_skip_args_internal.
9110
91112013-05-07 Carlos O'Donell <carlos@redhat.com>
9112
9113 * manual/message.texi (Message Translation): Talk about users.
9114 Message to key mapping impacts design.
9115
91162013-05-06 Roland McGrath <roland@hack.frob.com>
9117
9118 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9119
9120 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9121
9122 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9123 * sysdeps/wordsize-64/glob64.c: ... here.
9124
9125 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9126 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9127 New macros.
9128
9129 * debug/getlogin_r_chk.c: Moved to ...
9130 * login/getlogin_r_chk.c: ... here.
9131 * debug/Makefile (routines): Move getlogin_r_chk to ...
9132 * login/Makefile (routines): ... here.
9133 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9134 * login/Versions (libc: GLIBC_2.4): ... here.
9135
9136 * io/poll.c (__poll): Renamed from poll.
9137 Add libc_hidden_def.
9138 (poll): Define as weak alias.
9139
9140 * debug/ptsname_r_chk.c: Moved to ...
9141 * login/ptsname_r_chk.c: ... here.
9142 * debug/Makefile (routines): Move ptsname_r_chk to ...
9143 * login/Makefile (routines): ... here.
9144 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9145 * login/Versions (libc: GLIBC_2.4): ... here.
9146
9147 * posix/getlogin.c: Moved to ...
9148 * login/getlogin.c: ... here.
9149 * posix/getlogin_r.c: Moved to ...
9150 * login/getlogin_r.c: ... here.
9151 * posix/getlogin_r.c: Moved to ...
9152 * login/getlogin_r.c: ... here.
9153 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9154 * login/Makefile (routines): ... here.
9155 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9156 * login/Versions (libc: GLIBC_2.0): ... here.
9157
9158 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9159 (setrlimit): Define as weak alias.
9160
9161 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9162 Call __ names for open, ftruncate, and close.
9163 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9164 (truncate): Define as weak alias.
9165
91662013-05-06 Joseph Myers <joseph@codesourcery.com>
9167
9168 * math/gen-libm-test.pl (parse_args): Initialize x before each
9169 test of frexp, modf and remquo.
9170
9171 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9172 test signgam value.
9173
91742013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9175
9176 [BZ #15418]
9177 [BZ #15419]
9178 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9179 internal tests.
9180 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9181
91822013-05-06 Roland McGrath <roland@hack.frob.com>
9183
9184 * elf/dl-writev.h: New file.
9185 * elf/dl-misc.c: Include it.
9186 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9187 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9188
91892013-05-04 Joseph Myers <joseph@codesourcery.com>
9190
9191 * math/libm-test.inc (noXFails): Remove variable.
9192 (noXPasses): Likewise.
9193 (BUILD_COMPLEX_INT): Remove macro.
9194 (print_screen): Remove xfail argument.
9195 (print_screen_max_error): Likewise.
9196 (update_stats): Likewise.
9197 (print_max_error): Likewise. Update calls to other affected
9198 functions.
9199 (print_complex_max_error): Likewise.
9200 (test_single_exception): Update calls to print_screen.
9201 (test_single_errno): Likewise.
9202 (check_float_internal): Remove xfail argument. Update calls to
9203 other affected functions.
9204 (check_float): Likewise.
9205 (check_complex): Likewise.
9206 (check_int): Likewise.
9207 (check_long): Likewise.
9208 (check_bool): Likewise.
9209 (check_longlong): Likewise.
9210 (main): Don't print noXFails and noXPasses.
9211 * math/gen-libm-test.pl (top level): Don't mention expected
9212 failure handling in comment.
9213 (new_test): Don't handle expected failures.
9214 (parse_args): Don't mention expected failure handling in comment.
9215 (generate_testfile): Don't handle expected failures.
9216 (parse_ulps): Likewise.
9217 (print_ulps_file): Likewise.
9218 (get_failure): Remove function.
9219 (output_test): Don't handle expected failures.
9220 * make/README.libm-test: Don't mention expected failure handling.
9221
9222 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9223 (minus_zero): Likewise.
9224 (plus_infty): Likewise.
9225 (minus_infty): Likewise.
9226 (qnan_value): Likewise.
9227 (max_value): Likewise.
9228 (min_value): Likewise.
9229 (min_subnorm_value): Likewise.
9230 (initialize): Do not initialize those variables dynamically.
9231
92322013-05-03 Roland McGrath <roland@hack.frob.com>
9233
9234 * io/open.c (__open_2): Moved to ...
9235 * io/open_2.c: ... this new file.
9236 * io/open64.c (__open64_2): Moved to ...
9237 * io/open64_2.c: ... this new file.
9238 * io/openat.c (__openat_2): Moved to ...
9239 * io/openat_2.c: ... this new file.
9240 * io/openat64.c (__openat64_2): Moved to ...
9241 * io/openat64_2.c: ... this new file.
9242 * io/Makefile (routines): Add them.
9243 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9244 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9245 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9246 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9247 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9248 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9249 (__openat64): Add hidden_ver.
9250 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9251 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9252
9253 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9254 Separately conditionalize setting of GLRO(dl_sysinfo) so
9255 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9256 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9257
92582013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9259
9260 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9261 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9262 definition.
9263 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9264 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9265 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9266 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9267 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9268
92692013-05-03 Joseph Myers <joseph@codesourcery.com>
9270
9271 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9272 test signgam value.
9273
9274 * math/libm-test.inc (hypot_test): Do not use
9275 IGNORE_ZERO_INF_SIGN.
9276
92772013-05-03 Andreas Jaeger <aj@suse.de>
9278
9279 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9280 Linux 3.9.
9281 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9282 (PF_MAX): Adjust for VSOCK change.
9283
92842013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9285
9286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9287
92882013-05-02 Carlos O'Donell <carlos@redhat.com>
9289
9290 [BZ #15264]
9291 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9292 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9293 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9294
92952013-05-02 David S. Miller <davem@davemloft.net>
9296
9297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9298
92992013-05-01 Ondřej Bílka <neleai@seznam.cz>
9300
9301 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9302
93032013-05-01 Roland McGrath <roland@hack.frob.com>
9304
9305 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9306
93072013-05-01 Richard Smith <richard@metafoo.co.uk>
9308
9309 [BZ #14952]
9310 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9311 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9312 Use __attribute__ ((__gnu_inline__)).
9313 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9314 Don't use __attribute__ ((__gnu_inline__)).
9315
93162013-05-01 Joseph Myers <joseph@codesourcery.com>
9317
9318 [BZ #15423]
9319 * math/s_catan.c (__catan): Handle small real or imaginary part of
9320 input specially to avoid spurious underflow.
9321 * math/s_catanf.c (__catanf): Likewise.
9322 * math/s_catanh.c (__catanh): Likewise.
9323 * math/s_catanhf.c (__catanhf): Likewise.
9324 * math/s_catanhl.c (__catanhl): Likewise.
9325 * math/s_catanl.c (__catanl): Likewise.
9326 * math/libm-test.inc (catan_test): Add more tests.
9327 (catanh_test): Likewise.
9328 * sysdeps/i386/fpu/libm-test-ulps: Update.
9329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9330
93312013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9332
9333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9334
93352013-04-30 Joseph Myers <joseph@codesourcery.com>
9336
9337 [BZ #15416]
9338 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9339 accurately for denominator in atan2.
9340 * math/s_catanf.c (__catanf): Likewise.
9341 * math/s_catanh.c (__catanh): Likewise.
9342 * math/s_catanhf.c (__catanhf): Likewise.
9343 * math/s_catanhl.c (__catanhl): Likewise.
9344 * math/s_catanl.c (__catanl): Likewise.
9345 * math/libm-test.inc (catan_test): Add more tests.
9346 (catanh_test): Likewise.
9347 * sysdeps/i386/fpu/libm-test-ulps: Update.
9348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9349
93502013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9351
9352 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9353
9354 * benchtests/Makefile (bench): Remove slow benchmarks.
9355 * benchtests/atan-inputs: Add slow benchmark inputs.
9356 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9357 (BENCH_FUNC): Accept variant offset.
9358 (VARIANT): Define.
9359 * benchtests/bench-skeleton.c (main): Run benchmark for each
9360 variant.
9361 * benchtests/cos-inputs: Add slow benchmark inputs.
9362 * benchtests/exp-inputs: Likewise.
9363 * benchtests/pow-inputs: Likewise.
9364 * benchtests/sin-inputs: Likewise.
9365 * benchtests/slowatan-inputs: Remove.
9366 * benchtests/slowatan.c: Remove.
9367 * benchtests/slowcos-inputs: Remove.
9368 * benchtests/slowcos.c: Remove.
9369 * benchtests/slowexp-inputs: Remove.
9370 * benchtests/slowexp.c: Remove.
9371 * benchtests/slowpow-inputs: Remove.
9372 * benchtests/slowpow.c: Remove.
9373 * benchtests/slowsin-inputs: Remove.
9374 * benchtests/slowsin.c: Remove.
9375 * benchtests/slowtan-inputs: Remove.
9376 * benchtests/slowtan.c: Remove.
9377 * benchtests/tan-inputs: Add slow benchmark inputs.
9378 * scripts/bench.pl: Parse comments and directives.
9379
9380 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9381 in CPPFLAGS.
9382 ($(objpfx)bench-%.c): Remove *-ITER.
9383 * benchtests/bench-modf.c: Remove definition of ITER.
9384 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9385 (main): Loop for DURATION seconds instead of fixed number of
9386 iterations.
9387 * scripts/bench.pl: Don't expect iterations in parameters.
9388
93892013-04-29 Roland McGrath <roland@hack.frob.com>
9390
9391 * io/fchdir.c (__fchdir): Renamed from fchdir.
9392 (fchdir): Define as weak alias.
9393
93942013-04-29 Joseph Myers <joseph@codesourcery.com>
9395
9396 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9397 (ERRNO_EDOM): Likewise.
9398 (ERRNO_ERANGE): Likewise.
9399 (noErrnoTests): New variable.
9400 (init_max_error): Set errno to 0.
9401 (test_single_errno): New function.
9402 (test_errno): Likewise.
9403 (check_float_internal): Call test_errno. Set errno to 0.
9404 (check_complex): Refer to errno tests in comment.
9405 (check_int): Call test_errno. Set errno to 0.
9406 (check_long): Likewise.
9407 (check_bool): Likewise.
9408 (check_longlong): Likewise.
9409 (cos_test): Use ERRNO_* flags for errno tests instead of
9410 check_int.
9411 (expm1_test): Likewise.
9412 (fmod_test): Likewise.
9413 (ilogb_test): Likewise.
9414 (lgamma_test): Likewise.
9415 (pow_test): Likewise.
9416 (remainder_test): Likewise.
9417 (sin_test): Likewise.
9418 (tan_test): Likewise.
9419 (yn_test): Likewise.
9420 (initialize): Set errno to 0.
9421 (main): Print number of errno tests.
9422 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9423
94242013-04-29 Andreas Jaeger <aj@suse.de>
9425
9426 [BZ #15084]
9427 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9428 and RES_USEVC.
9429
9430 [BZ #15085]
9431 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9432 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9433 unimplemented.
9434
9435 [BZ #15380]
9436 * stdlib/random.c (__initstate): Return NULL if
9437 __initstate fails.
9438
9439 [BZ #15086]
9440 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9441 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9442 RES_SNGLKUPREOP.
9443
94442013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9445
9446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9447
94482013-04-29 Joseph Myers <joseph@codesourcery.com>
9449
9450 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9451 of individual tests.
9452 (casin_test): Likewise.
9453 (casinh_test): Likewise.
9454
94552013-04-27 Joseph Myers <joseph@codesourcery.com>
9456
9457 [BZ #15409]
9458 * math/s_catan.c (__catan): Handle arguments with large real or
9459 imaginary part separately without squaring.
9460 * math/s_catanf.c (__catanf): Likewise.
9461 * math/s_catanh.c (__catanh): Likewise.
9462 * math/s_catanhf.c (__catanhf): Likewise.
9463 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9464 and redefine.
9465 (__catanhl): Handle arguments with large real or imaginary part
9466 separately without squaring.
9467 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9468 and redefine.
9469 (__catanl): Handle arguments with large real or imaginary part
9470 separately without squaring.
9471 * math/libm-test.inc (catan_test): Add more tests.
9472 (catanh_test): Likewise.
9473 * sysdeps/i386/fpu/libm-test-ulps: Update.
9474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9475
94762013-04-27 Andreas Jaeger <aj@suse.de>
9477
9478 [BZ #15007]
9479 * stdlib/stdlib.h: Update guards for qecvt.
9480 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9481 <stdlib.h>.
9482
94832013-04-27 Allan McRae <allan@archlinux.org>
9484
9485 * sysdeps/i386/fpu/libm-test-ulps: Update.
9486
94872013-04-26 Joseph Myers <joseph@codesourcery.com>
9488
9489 [BZ #15406]
9490 * math/s_catan.c: Include <float.h>.
9491 (__catan): Ensure underflow exception occurs for underflowed
9492 result.
9493 * math/s_catanf.c: Include <float.h>.
9494 (__catanf): Ensure underflow exception occurs for underflowed
9495 result.
9496 * math/s_catanh.c: Include <float.h>.
9497 (__catanh): Ensure underflow exception occurs for underflowed
9498 result.
9499 * math/s_catanhf.c: Include <float.h>.
9500 (__catanhf): Ensure underflow exception occurs for underflowed
9501 result.
9502 * math/s_catanhl.c: Include <float.h>.
9503 (__catanhl): Ensure underflow exception occurs for underflowed
9504 result.
9505 * math/s_catanl.c: Include <float.h>.
9506 (__catanl): Ensure underflow exception occurs for underflowed
9507 result.
9508 * math/libm-test.inc (catan_test): Add more tests.
9509 (catanh_test): Likewise.
9510
9511 [BZ #15405]
9512 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9513 underflowed result.
9514 * math/s_ccoshf.c (__ccoshf): Likewise.
9515 * math/s_ccoshl.c (__ccoshl): Likewise.
9516 * math/s_csin.c (__csin): Likewise.
9517 * math/s_csinf.c (__csinf): Likewise.
9518 * math/s_csinh.c (__csinh): Likewise.
9519 * math/s_csinhf.c (__csinhf): Likewise.
9520 * math/s_csinhl.c (__csinhl): Likewise.
9521 * math/s_csinl.c (__csinl): Likewise.
9522 * math/libm-test.inc (ccos_test): Add more tests.
9523 (ccosh_test): Likewise.
9524 (csin_test): Likewise.
9525 (csinh_test): Likewise.
9526
95272013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9528
9529 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9530 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9531 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9532 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9533 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9534 powerpc/power5+/fpu folders.
9535 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9536
9537
95382013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9539
9540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9541
95422013-04-25 Joseph Myers <joseph@codesourcery.com>
9543
9544 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9545 additions to variable.
9546 [$(config-machine) = x86_64] (modules-names): Likewise.
9547 ($(objpfx)tst-audit3): Remove dependency.
9548 ($(objpfx)tst-audit3.out): Likewise.
9549 ($(objpfx)tst-audit4): Likewise.
9550 ($(objpfx)tst-audit4.out): Likewise.
9551 ($(objpfx)tst-audit5): Likewise.
9552 ($(objpfx)tst-audit5.out): Likewise.
9553 ($(objpfx)tst-audit6): Likewise.
9554 ($(objpfx)tst-audit6.out): Likewise.
9555 ($(objpfx)tst-audit7): Likewise.
9556 ($(objpfx)tst-audit7.out): Likewise.
9557 (tst-audit3-ENV): Remove variable.
9558 (tst-audit4-ENV): Likewise.
9559 (tst-audit5-ENV): Likewise.
9560 (tst-audit6-ENV): Likewise.
9561 (tst-audit7-ENV): Likewise.
9562 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9563 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9564 addition to variable.
9565 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9566 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9567 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9568 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9569 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9570 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9571 tst-audit3, tst-audit4 and tst-audit5.
9572 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9573 tst-audit6 and tst-audit7.
9574 [$(subdir) = elf] (modules-names): Add audit modules for those
9575 tests.
9576 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9577 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9578 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9579 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9580 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9581 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9582 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9583 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9584 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9585 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9586 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9587 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9588 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9589 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9590 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9591 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9592 Likewise.
9593 [$(subdir) = elf && $(config-cflags-avx) = yes]
9594 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9595 [$(subdir) = elf && $(config-cflags-avx) = yes]
9596 (CFLAGS-tst-auditmod4a.c): Likewise.
9597 [$(subdir) = elf && $(config-cflags-avx) = yes]
9598 (CFLAGS-tst-auditmod4b.c): Likewise.
9599 [$(subdir) = elf && $(config-cflags-avx) = yes]
9600 (CFLAGS-tst-auditmod6b.c): Likewise.
9601 [$(subdir) = elf && $(config-cflags-avx) = yes]
9602 (CFLAGS-tst-auditmod6c.c): Likewise.
9603 [$(subdir) = elf && $(config-cflags-avx) = yes]
9604 (CFLAGS-tst-auditmod7b.c): Likewise.
9605 * elf/tst-audit3.c: Move to ...
9606 * sysdeps/x86_64/tst-audit3.c: ... here.
9607 * elf/tst-audit4.c: Move to ...
9608 * sysdeps/x86_64/tst-audit4.c: ... here.
9609 * elf/tst-audit5.c: Move to ...
9610 * sysdeps/x86_64/tst-audit5.c: ... here.
9611 * elf/tst-audit6.c: Move to ...
9612 * sysdeps/x86_64/tst-audit6.c: ... here.
9613 * elf/tst-audit7.c: Move to ...
9614 * sysdeps/x86_64/tst-audit7.c: ... here.
9615 * elf/tst-auditmod3a.c: Move to ...
9616 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9617 * elf/tst-auditmod3b.c: Move to ...
9618 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9619 * elf/tst-auditmod4a.c: Move to ...
9620 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9621 * elf/tst-auditmod4b.c: Move to ...
9622 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9623 * elf/tst-auditmod5a.c: Move to ...
9624 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9625 * elf/tst-auditmod5b.c: Move to ...
9626 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9627 * elf/tst-auditmod6a.c: Move to ...
9628 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9629 * elf/tst-auditmod6b.c: Move to ...
9630 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9631 * elf/tst-auditmod6c.c: Move to ...
9632 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9633 * elf/tst-auditmod7a.c: Move to ...
9634 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9635 * elf/tst-auditmod7b.c: Move to ...
9636 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9637
96382013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9639
9640 [BZ #15366]
9641 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9642 define unconditionally.
9643 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9644 define unconditionally.
9645 (INT8_C, INT16_C, etc.): Likewise.
9646
96472013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9648
9649 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9650 __ehdr_start with hidden visibility.
9651
9652 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9653
96542013-04-24 Carlos O'Donell <carlos@redhat.com>
9655
9656 * math/libm-test.inc (cos_test): Use accurate hex constants.
9657 (sincost_test): Likewise.
9658
96592013-04-24 Joseph Myers <joseph@codesourcery.com>
9660
9661 * math/libm-test.inc (catan_test): Add more tests.
9662 (catanh_test): Likewise.
9663
9664 * math/s_catanf.c (__catanf): Use suffixed floating-point
9665 constants.
9666 * math/s_catanhf.c (__catanhf): Likewise.
9667 * math/s_catanhl.c (__catanhl): Likewise.
9668 * math/s_catanl.c (__catanl): Likewise.
9669
9670 [BZ #15394]
9671 * math/s_catan.c (__catan): Calculate imaginary part of result
9672 with log1p not log unless computing log of number close to 0.
9673 * math/s_catanf.c (__catanf): Likewise.
9674 * math/s_catanl.c (__catanl): Likewise.
9675 * math/s_catanh.c (__catanh): Calculate real part of result with
9676 log1p not log unless computing log of number close to 0.
9677 * math/s_catanhf.c (__catanhf): Likewise.
9678 * math/s_catanhl.c (__catanhl): Likewise.
9679 * math/libm-test.inc (catan_test): Add more tests.
9680 (catanh_test): Likewise.
9681 * sysdeps/i386/fpu/libm-test-ulps: Update.
9682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9683
96842013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9685
9686 * benchtests/Makefile: Mention files in which fast and slow
9687 paths of math functions are implemented.
9688
96892013-04-23 Roland McGrath <roland@hack.frob.com>
9690
9691 * sysdeps/posix/timespec_get.c: New file.
9692
96932013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9694
9695 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9696 POWER.
9697 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9698 for POWER.
9699 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9700 powerpc/power5/fpu folders.
9701 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9702 * benchtests/Makefile: Add modf testcase.
9703 * benchtests/bench-modf.c: New file: Benchmark test for mo
9704
97052013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9706
9707 [BZ #14888]
9708 * time/Makefile (tests): Add tst-strptime-whitespace.
9709 * time/strptime_l.c (get_number): Use ISSPACE.
9710 (__strptime_internal): Likewise.
9711 * time/tst-strptime-whitespace.c: New test case.
9712
97132013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9714
9715 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9716 member.
9717 (_nss_files_init): Set it here.
9718
97192013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9720
9721 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9722 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9723 unsigned.
9724
97252013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9726
9727 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9728
97292013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9730
9731 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9732 size just once.
9733
97342013-04-21 David S. Miller <davem@davemloft.net>
9735
9736 * po/ru.po: Update Russion translation from translation project.
9737
97382013-04-17 Adam Conrad <adconrad@0c3.net>
9739
9740 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9741 and setfsgid.
9742
97432013-04-17 Carlos O'Donell <carlos@redhat.com>
9744
9745 * configure.in: Remove i386 configure warning. Remove i386 case.
9746 * configure: Regenerate.
9747 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9748 Add example to error message.
9749 * sysdeps/i386/configure: Regenerate.
9750
97512013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9752
9753 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9754 slowtan.
9755 * benchtests/cos-inputs: New file.
9756 * benchtests/slowcos-inputs: New file.
9757 * benchtests/slowcos.c: New file.
9758 * benchtests/slowtan-inputs: New file.
9759 * benchtests/slowtan.c: New file.
9760 * benchtests/tan-inputs: New file.
9761
97622013-04-16 Roland McGrath <roland@hack.frob.com>
9763
9764 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9765 considered kosher.
9766
97672013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9768
9769 * benchtests/Makefile: Include cppflags-iterator.mk to add
9770 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9771
9772 * Makefile.in (bench-clean): New target.
9773 * benchtests/Makefile (bench-clean): Likewise.
9774
97752013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9776
9777 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9778
97792013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9780
9781 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9782
97832013-04-15 Andreas Schwab <schwab@suse.de>
9784
9785 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9786 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9787 * nscd/pwdcache.c (cache_addpw): Likewise.
9788 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9789 more than recsize.
9790
97912013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9792
9793 * benchtests/Makefile (bench): Write all output to
9794 bench-out.tmp together.
9795
97962013-04-15 Andreas Schwab <schwab@suse.de>
9797
9798 * nscd/nscd.c (main): Don't fork again after closing files.
9799
98002013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9801
9802 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9803
9804 * benchtests/Rules (bench-deps): Collect dependencies into a
9805 single variable. Add Makefile to dependencies.
9806 ($(objpfx)bench-%.c): Depend on bench-deps.
9807
98082013-04-12 Roland McGrath <roland@hack.frob.com>
9809 Xavier Roche <roche+kml2@exalead.com>
9810
9811 [BZ #15361]
9812 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9813 just that it's a file descriptor.
9814 * manual/llio.texi (Synchronizing AIO Operations): Update description
9815 for EBADF error from aio_fsync.
9816
98172013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9818
9819 * Rules (bench): Move target definition...
9820 * benchtests/Makefile: ... here.
9821
98222013-04-11 Carlos O'Donell <carlos@redhat.com>
9823
9824 * math/libm-test.inc (cos_test): Fix PI/2 test.
9825 (sincos_test): Likewise.
9826 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9827 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9828
98292013-04-11 Andreas Schwab <schwab@suse.de>
9830
9831 [BZ #13988]
9832 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9833 accept exponent character only when digits were seen.
9834 * stdio-common/Makefile (tests): Add bug26.
9835 * stdio-common/bug26.c: New file.
9836
9837 [BZ #14293]
9838 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9839 non-freeable.
9840
98412013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9842
9843 * Makeconfig (rtld-prefix): Define built linker prefix.
9844 * Rules (run-bench): Use it.
9845 * math/Makefile (run-regen-ulps): Likewise.
9846
9847 * Rules (bench): Remove eval.
9848
98492013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9850 Roland McGrath <roland@hack.frob.com>
9851 Ondrej Bilka <neleai@seznam.cz>
9852
9853 [BZ #15346]
9854 * time/getdate.c: Include ctype.h and alloca.h.
9855 (__getdate_r): Trim leading and trailing spaces of input.
9856 * time/tst-getdate.c (tests): Add tests with leading and
9857 trailing spaces.
9858
98592013-04-08 Roland McGrath <roland@hack.frob.com>
9860
9861 [BZ #14280]
9862 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9863 when computing value.
9864
98652013-04-06 Carlos O'Donell <carlos@redhat.com>
9866
9867 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9868 Use testrun.sh to run libm tests.
9869
9870 [BZ #15309]
9871 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9872
98732013-04-06 Marko Myllynen <myllynen@redhat.com>
9874
9875 [BZ #15264]
9876 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9877
98782013-04-06 Carlos O'Donell <carlos@redhat.com>
9879
9880 * Makefile.in (regen-ulps): New target.
9881 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9882 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9883 [ifneq (no,$(PERL)] (regen-ulps): New target.
9884 [ifeq (no,$(PERL)] (regen-ulps): New target.
9885 * math/libm-test.inc (ulps_file_name): Define.
9886 (output_dir): New variable.
9887 (options): Add "output-dir" option.
9888 (parse_opt): Handle 'o' case.
9889 (main): If output_dir is non-NULL use it as a prefix
9890 otherwise use "".
9891 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9892
98932013-04-06 Carlos O'Donell <carlos@redhat.com>
9894
9895 [BZ #10060, #10062]
9896 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9897 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9898 fail configure if __sync_val_compare_and_swap is not inlined.
9899 * sysdeps/i386/configure: Regenerate.
9900 * configure.in: Build for i686 when configured for i386.
9901 * configure: Regenerate.
9902 * README: Remove i386 reference.
9903
99042013-04-06 Carlos O'Donell <carlos@redhat.com>
9905
9906 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9907 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9908
99092013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9910
9911 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9912 (lmsnanval): New variables.
9913 (F): Add conversion tests.
9914 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9915 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9916
9917 * stdio-common/tstdiomisc.c (F): Properly collect individual
9918 tests' results.
9919
9920 [BZ #14686, #15336]
9921 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9922 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9923 Instead, use input NaN values or generate a qNaN by arithmetic
9924 operation. Also fix bugs to comply with the standard.
9925 * math/libm-test.inc (remainder_test): Add more tests.
9926
9927 [BZ #15335, #15342]
9928 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9929 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9930 input NaN values or generate a qNaN by arithmetic operation.
9931
9932 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9933 unreachable code.
9934
9935 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9936 definitions.
9937
99382013-04-03 Joseph Myers <joseph@codesourcery.com>
9939
9940 [BZ #14478]
9941 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9942 underflowed result.
9943 * math/s_cexpf.c (__cexpf): Likewise.
9944 * math/s_cexpl.c (__cexpl): Likewise.
9945 * math/libm-test.inc (cexp_test): Add more tests.
9946
99472013-04-03 Andreas Schwab <schwab@suse.de>
9948
9949 [BZ #15330]
9950 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9951 order arrays from heap if bigger than alloca cutoff.
9952
99532013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9954
9955 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9956 (SNAN_TESTS_double): Refer to GCC PR56831.
9957 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9958 GCC PR56828.
9959
99602013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9961
9962 * Rules (bench): Move bench.out after the run is complete.
9963
9964 * Rules (bench): Echo currently running benchmark.
9965
9966 * benchtests/Makefile (bench): Add atan and slowatan.
9967 * benchtests/atan-inputs: New file.
9968 * benchtests/slowatan-inputs: New file.
9969 * benchtests/slowatan.c: New file.
9970
9971 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9972 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9973 its value.
9974
9975 [BZ #15305]
9976 * sysdeps/unix/sysv/linux/kernel-features.h
9977 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9978 __ASSUME_XFS_RESTRICTED_CHOWN.
9979 * sysdeps/unix/sysv/linux/pathconf.c
9980 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9981 Save and restore errno.
9982
99832013-04-02 Joseph Myers <joseph@codesourcery.com>
9984
9985 [BZ #15327]
9986 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9987 arguments using __kernel_casinh.
9988 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9989 arguments using __kernel_casinhf.
9990 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9991 arguments using __kernel_casinhl.
9992 * math/libm-test.inc (cacosh_test): Add more tests.
9993 * sysdeps/i386/fpu/libm-test-ulps: Update.
9994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9995
99962013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9997
9998 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10000
10001 * bench/Makefile (bench): Add sin and slowsin.
10002 * benchtests/sin-inputs: New file.
10003 * benchtests/slowsin-inputs: New file.
10004 * benchtests/slowsin.c: New file.
10005
10006 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10007 (bench): Add slowexp and slowpow.
10008 (exp-ITER): Increase iterations.
10009 (pow-ITER): Likewise.
10010 * benchtests/exp-inputs: Change input.
10011 * benchtests/pow-inputs: Likewise.
10012 * benchtests/slowexp-inputs: New file.
10013 * benchtests/slowexp.c: New file.
10014 * benchtests/slowpow-inputs: New file.
10015 * benchtests/slowpow.c: New file.
10016
100172013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10018
10019 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10020 instructions.
10021 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10022 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10023 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10024 * benchtests/Makefile: Add rint benchtest.
10025 * benchtests/rint-inputs: Input for rint benchtest.
10026
100272013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10028
10029 * Versions.def (libm): Add GLIBC_2.18.
10030 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10031 hidden libm prototypes.
10032 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10033 * math/Makefile (libm-calls): Add s_issignaling.
10034 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10035 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10036 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10037 declaration.
10038 * math/math.h [__USE_GNU] (issignaling): New macro.
10039 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10040 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10042 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10043 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10044 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10045 * manual/arith.texi (issignaling): New section.
10046 * manual/libm-err-tab.pl (@all_functions): Update comment.
10047 * math/gen-libm-test.pl (parse_args): Apply special handling for
10048 issignaling.
10049 * math/libm-test.inc (print_float, issignaling_test): New
10050 functions.
10051 (check_float_internal): Add issignaling checks.
10052 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10053 default definition.
10054 * sysdeps/powerpc/math-tests.h: New file.
10055 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10056 tests.
10057 * math/test-snan.c (TEST_FUNC): Likewise.
10058
100592013-03-30 David S. Miller <davem@davemloft.net>
10060
10061 * po/de.po: Update from translation team.
10062
100632013-03-30 Joseph Myers <joseph@codesourcery.com>
10064
10065 [BZ #10357]
10066 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10067 imaginary part less than 1.0 and real part less than 0.5
10068 specially.
10069 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10070 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10071 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10072 (cacos_test): Add more tests.
10073 (casin_test): Likewise.
10074 (casinh_test): Likewise.
10075 * sysdeps/i386/fpu/libm-test-ulps: Update.
10076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10077
100782013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10079
10080 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10081 ONE with its value.
10082
10083 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10084 (__pow_mp): Replace ONE and MONE with their values.
10085 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10086 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10087 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10088 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10089 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10090 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10091
10092 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10093
10094 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10095 (__pow_mp): Replace ZERO and MZERO with their values.
10096 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10097 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10098 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10099 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10100 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10101 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10102 (__sqr): Likewise.
10103
10104 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10105
10106 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10107
101082013-03-28 Roland McGrath <roland@hack.frob.com>
10109
10110 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10111 Declare with __attribute__ ((weak)).
10112 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10113 Call __call_tls_dtors only if it's not NULL.
10114
101152013-03-28 Roland McGrath <roland@hack.frob.com>
10116
10117 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10118 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10119 magic __ehdr_start linker symbol if it's defined.
10120 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10121 them up here if it was already done.
10122
10123 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10124 (_dl_aux_init): Use const in cast when setting it.
10125 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10126 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10127 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10128
10129 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10130 Declare them here.
10131 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10132 * csu/libc-tls.c: Nor here.
10133 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10134
10135 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10136 (__libc_message): Never call vsyslog.
10137
101382013-03-28 Alan Modra <amodra@gmail.com>
10139
10140 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10141 Define as empty.
10142 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10143 Likewise.
10144
101452013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10146
10147 [BZ #15214]
10148 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10149 underflow.
10150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10151
101522013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10153
10154 [BZ #15304]
10155 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10156 Don't add gid passed as argument.
10157
10158 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10159
101602013-03-27 Joseph Myers <joseph@codesourcery.com>
10161
10162 [BZ #15307]
10163 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10164 imaginary part between 1.0 and 1.5 and real part less than 0.5
10165 specially.
10166 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10167 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10168 * math/libm-test.inc (cacos_test): Add more tests.
10169 (casin_test): Likewise.
10170 (casinh_test): Likewise.
10171 * sysdeps/i386/fpu/libm-test-ulps: Update.
10172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10173
101742013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10175
10176 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10177 constants.
10178 (norm): Likewise.
10179 (denorm): Likewise.
10180 (__dbl_mp): Likewise.
10181 (add_magnitudes): Likewise.
10182 (sub_magnitudes): Likewise.
10183 (__add): Likewise.
10184 (__sub): Likewise.
10185 (__mul): Likewise.
10186 (__sqr): Likewise.
10187 (__inv): Likewise.
10188 (__dvd): Likewise.
10189
10190 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10191 commented code.
10192 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10193 (__dubcos): Likewise.
10194 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10195 (__ieee754_acos): Likewise.
10196 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10197 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10198 (__exp1): Likewise.
10199 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10200 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10201 (log1): Likewise.
10202 (my_log2): Likewise.
10203 (checkint): Likewise.
10204 * sysdeps/ieee754/dbl-64/e_remainder.c
10205 (__ieee754_remainder): Likewise.
10206 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10207 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10208 (bsloww): Likewise.
10209 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10210
10211 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10212 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10213 MANTISSA_STORE_T to store computations on mantissa. Use
10214 macros for rounding and division.
10215 (denorm): Likewise.
10216 (__dbl_mp): Likewise.
10217 (add_magnitudes): Likewise.
10218 (sub_magnitudes): Likewise.
10219 (__mul): Likewise.
10220 (__sqr): Likewise.
10221 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10222 powers of two in terms of TWOPOW macro.
10223 (mp_no): Make type of mantissa as MANTISSA_T.
10224 [!RADIXI]: Define RADIXI.
10225 [!TWO52]: Define TWO52.
10226 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10227
102282013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10229
10230 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10231 llroundl symbol when building for PPC32.
10232
102332013-03-24 Mark H Weaver <mhw@netris.org>
10234
10235 * manual/arith.texi (Normalization Functions): Fix prototypes for
10236 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10237
102382013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10239
10240 [BZ #13889]
10241 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10242 high value to check if expl overflow.
10243 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10244 to check for underflow and overflow.
10245 * math/libm-test.inc: Add exp test.
10246
102472013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10248
10249 [BZ #11120]
10250 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10251 with NOT_IN_libc.
10252
102532013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10254
10255 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10256 symbol.
10257
102582013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10259
10260 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10261 wrap blocks consisting of several statements.
10262
10263 * sysdeps/generic/math-tests.h: New file.
10264 * sysdeps/i386/fpu/math-tests.h: Likewise.
10265 * math/test-snan.c: Include it.
10266 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10267
102682013-03-21 Joseph Myers <joseph@codesourcery.com>
10269
10270 [BZ #15285]
10271 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10272 (__ieee754_j0l): Do not improve calculations using cos of twice
10273 input for inputs above LDBL_MAX / 2.0L.
10274 (__ieee754_y0l): Likewise.
10275 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10276 (__ieee754_j1l): Do not improve calculations using cos of twice
10277 input for inputs above LDBL_MAX / 2.0L.
10278 (__ieee754_y1l): Likewise.
10279 * math/libm-test.inc (j0_test): Add another test.
10280 (j1_test): Likewise.
10281 (y0_test): Likewise.
10282 (y1_test): Likewise.
10283 * sysdeps/i386/fpu/libm-test-ulps: Update.
10284
102852013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10286
10287 * Rules ($(objpfx)bench-%.c): Include code from a C source
10288 file.
10289
102902013-03-21 Joseph Myers <joseph@codesourcery.com>
10291
10292 [BZ #15287]
10293 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10294 imaginary part 1.0 and real part less than 0.5 specially.
10295 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10296 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10297 * math/libm-test.inc (cacos_test): Add more tests.
10298 (casin_test): Likewise.
10299 (casinh_test): Likewise.
10300 * sysdeps/i386/fpu/libm-test-ulps: Update.
10301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10302
103032013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10304
10305 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10306 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10307
103082013-03-20 Joseph Myers <joseph@codesourcery.com>
10309
10310 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10311 * config.make.in (config-cflags-sse4): Remove variable.
10312 (config-cflags-avx): Likewise.
10313 (config-cflags-sse2avx): Likewise.
10314 (config-cflags-novzeroupper): Likewise.
10315 (config-asflags-i686): Likewise.
10316 (have-mfma4): Likewise.
10317 (have-as-vis3): Likewise.
10318 (MIG): Likewise.
10319 * configure.in (MIG): Do not AC_SUBST.
10320 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10321 (libc_cv_cc_sse4): Do not AC_SUBST.
10322 (libc_cv_cc_avx): Likewise.
10323 (libc_cv_cc_sse2avx): Likewise.
10324 (libc_cv_cc_novzeroupper): Likewise.
10325 (libc_cv_cc_fma4): Likewise.
10326 (libc_cv_as_i686): Likewise.
10327 (libc_cv_sparc_as_vis3): Likewise.
10328 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10329 LIBC_CONFIG_VAR.
10330 (config-asflags-i686): Likewise.
10331 (config-cflags-avx): Likewise.
10332 (config-cflags-sse2avx): Likewise.
10333 (have-mfma4): Likewise.
10334 (config-cflags-novzeroupper): Likewise.
10335 * sysdeps/mach/configure.in (MIG): Likewise.
10336 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10337 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10338 LIBC_CONFIG_VAR.
10339 (config-cflags-avx): Likewise.
10340 (config-cflags-sse2avx): Likewise.
10341 (have-mfma4): Likewise.
10342 (config-cflags-novzeroupper): Likewise.
10343 * configure: Regenerated.
10344 * sysdeps/i386/configure: Likewise.
10345 * sysdeps/mach/configure: Likewise.
10346 * sysdeps/sparc/configure: Likewise.
10347 * sysdeps/x86_64/configure: Likewise.
10348
103492013-03-20 Roland McGrath <roland@hack.frob.com>
10350
10351 [BZ #14812]
10352 * locale/programs/localedef.c (options): Put N_ translation marker
10353 on argument names, not just descriptions.
10354
103552013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10356
10357 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10358
103592013-03-20 Ondřej Bílka <neleai@seznam.cz>
10360
10361 [BZ #14176]
10362 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10363
103642013-03-19 Roland McGrath <roland@hack.frob.com>
10365
10366 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10367 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10368 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10369 [!BEFORE_ABORT] (before_abort): New function.
10370 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10371 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10372 (writev_for_fatal): New function.
10373 (WRITEV_FOR_FATAL): New macro; call that.
10374 (backtrace_and_maps): New function.
10375 (BEFORE_ABORT): New macro; call that.
10376 (struct str_list): Type removed.
10377 (__libc_message, __libc_fatal): Functions removed.
10378 Include <sysdeps/posix/libc_fatal.c> instead.
10379
103802013-03-19 Joseph Myers <joseph@codesourcery.com>
10381
10382 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10383 constants.
10384 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10385 double constants.
10386
103872013-03-19 Andreas Schwab <schwab@suse.de>
10388
10389 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10390 * sysdeps/gnu/configure: Regenerate.
10391
10392 * configure.in: Substitute libc_cv_rtlddir.
10393 * configure: Regenerate.
10394 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10395 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10396 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10397 * elf/Makefile (install-others, CFLAGS-interp.c)
10398 (ldso_install, common-ldd-rewrite): Likewise.
10399 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10400 $(inst_slibdir)/$(rtld-installed-name).
10401 * scripts/rellns-sh: Add -p option.
10402 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10403 for source.
10404
104052013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10406
10407 * manual/nptl.texi: Renamed to ...
10408 * manual/threads.texi: ... this.
10409 * manual/Makefile (chapters): Update.
10410
104112013-03-18 Roland McGrath <roland@hack.frob.com>
10412
10413 [BZ #14812]
10414 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10415 on argument names, not just descriptions.
10416 * malloc/memusagestat.c (options): Likewise.
10417 * nss/getent.c (options): Likewise.
10418
104192013-03-18 Benno Schulenberg <bensberg@justemail.net>
10420
10421 [BZ #14812]
10422 * iconv/iconv_prog.c (options): Put N_ translation marker
10423 on argument names, not just descriptions.
10424 * iconv/iconvconfig.c (options): Likewise.
10425
104262013-03-18 Ondrej Bilka <neleai@seznam.cz>
10427
10428 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10429 implementation which is faster on all x86_64 architectures.
10430 Tested on AMD, Intel Nehalem, SNB, IVB.
10431 * sysdeps/x86_64/strnlen.S: Likewise.
10432
10433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10434 Remove all multiarch strlen and strnlen versions.
10435 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10436 Remove strlen and strnlen related parts.
10437
10438 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10439 Inline strlen part.
10440 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10441
10442 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10443 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10444 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10445 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10446 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10447 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10448
104492013-03-17 Carlos O'Donell <carlos@redhat.com>
10450
10451 * manual/memory.texi (Malloc Tunable Parameters):
10452 Sort parameters alphabetically. Add comments for missing entries.
10453
104542013-03-17 David S. Miller <davem@davemloft.net>
10455
10456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10457
104582013-03-16 Joseph Myers <joseph@codesourcery.com>
10459
10460 [BZ #15283]
10461 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10462 for arguments at most half maximum finite value.
10463 * math/libm-test.inc (j0_test): Add more tests.
10464 (j1_test): Likewise.
10465 (y0_test): Likewise.
10466 (y1_test): Likewise.
10467 * sysdeps/i386/fpu/libm-test-ulps: Update.
10468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10469
10470 [BZ #14155]
10471 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10472 1 / x and functions P and Q for arguments above 0x1p256L.
10473 (__ieee754_y0l): Likewise.
10474 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10475 (__ieee754_y1l): Likewise.
10476 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10477 (j1_test): Likewise.
10478 (y0_test): Likewise.
10479 (y1_test): Likewise.
10480
104812013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10482
10483 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10484 variable.
10485
104862013-03-15 Roland McGrath <roland@hack.frob.com>
10487
10488 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10489 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10490 zero since it's initialized to EXEC_PAGESIZE.
10491
10492 * sysdeps/unix/sysv/linux/ldsodefs.h
10493 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10494 * sysdeps/generic/ldsodefs.h: ... here.
10495
104962013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10497
10498 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10499
10500 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10501 math/test-snan.c.
10502 * math/test-snan.c: Renamed from
10503 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10504 * math/Makefile (tests): Add test-snan.
10505 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10506 test-powerpc-snan.
10507
10508 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10509 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10510 functions.
10511 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10512 __builtin_nan family of functions.
10513 * math/libm-test.inc (initialize): Initialize qnan_value with
10514 __builtin_nan family of functions.
10515 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10516 Remove variables.
10517 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10518 Remove functions.
10519 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10520 storage class. Initialize qNaN_var and sNaN_var with
10521 __builtin_nan and __builtin_nans families of functions,
10522 respectively.
10523
10524 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10525 (sqrt_test): Remove duplicate test with qNaN input.
10526 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10527 (round_test, signbit_test, significand_test): Note missing +/-Inf
10528 as well as qNaN tests.
10529
10530 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10531 qNaN_var. Fix a few strings, too.
10532 * math/libm-test.inc (nan_value): Rename to qnan_value.
10533 * math/gen-libm-test.pl (%beautify): Adjust to that.
10534 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10535 * math/test-misc.c (main): Likewise.
10536 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10537 to __qnan_bytes, and __qnan_union, respectively.
10538 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10539 Likewise.
10540 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10541 and lqnanval, respectively.
10542 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10543 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10544 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10545 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10546
10547 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10548 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10549 doubles.
10550
10551 * math/test-misc.c (main): Fix copy'n'pastos.
10552 * misc/tst-efgcvt.c (special): Likewise.
10553
10554 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10555 Remove declarations.
10556
105572013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10558
10559 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10560 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10561 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10562 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10563
105642013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10565
10566 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10567 macro to return vdso values correctly in IFUNC implementations.
10568 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10569 Optimization by using IFUNC.
10570
105712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10572 Richard Henderson <rth@redhat.com>
10573 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10574
10575 * Makefile.in (bench): New target.
10576 * NEWS: Mention the benchmark framework.
10577 * Rules (bench): Likewise.
10578 (binaries-bench): Generate binaries for functions to
10579 benchmark.
10580 * benchtests/Makefile: New makefile for benchmark tests.
10581 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10582 programs.
10583 * benchtests/exp-inputs: New input file for EXP function.
10584 * benchtests/pow-inputs: New input file for POW function.
10585 * scripts/bench.pl: New script to generate source files for
10586 benchmark programs.
10587
105882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10589
10590 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10591 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10592 computations on mantissa. Use macros for rounding and
10593 division.
10594 (denorm): Likewise.
10595 (__dbl_mp): Likewise.
10596 (add_magnitudes): Likewise.
10597 (sub_magnitudes): Likewise.
10598 (__mul): Likewise.
10599 (__sqr): Likewise.
10600 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10601 powers of two in terms of TWOPOW macro.
10602 (mp_no): Make type of mantissa as MANTISSA_T.
10603 [!RADIXI]: Define RADIXI.
10604 [!TWO52]: Define TWO52.
10605 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10606
10607 * manual/nptl.texi (cindex): Modify threads to pthreads.
10608
106092013-03-15 Joseph Myers <joseph@codesourcery.com>
10610
10611 * sysdeps/x86_64/preconfigure: Regenerated.
10612
106132013-03-14 Joseph Myers <joseph@codesourcery.com>
10614
10615 [BZ #14155]
10616 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10617 0x1p28 and above.
10618 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10619 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10620 0x1p28 and above.
10621 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10622 * math/libm-test.inc (j0_test): Do not allow one spurious
10623 underflow exception.
10624 (y1_test): Likewise.
10625
106262013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10627
10628 * manual/Makefile (chapters): Add nptl.
10629 * manual/debug.texi (Debugging Support): Add link to Threads
10630 chapter.
10631 * manual/nptl.texi: New file.
10632
10633 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10634
106352013-03-14 Petr Baudis <pasky@ucw.cz>
10636
10637 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10638 for non-NULL pointer before the memory validity test. Pointed
10639 out by Holger Brunck <holger.brunck@keymile.com>.
10640
106412013-03-13 Andreas Schwab <schwab@suse.de>
10642
10643 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10644 instead of .os.
10645
106462013-03-13 Joseph Myers <joseph@codesourcery.com>
10647
10648 * timezone/zic.c: Update from tzcode 2013b.
10649
106502013-03-12 Carlos O'Donell <carlos@redhat.com>
10651
10652 * manual/install.texi (Configuring and compiling):
10653 Mention i686 and i586.
10654 * INSTALL: Regenerate.
10655
106562013-03-12 Roland McGrath <roland@hack.frob.com>
10657
10658 * sysdeps/init_array/elf-init.c: New file.
10659 * csu/elf-init.c
10660 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10661 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10662
10663 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10664 __gmon_start__ as global, but as static with a .preinit_array pointer.
10665 * sysdeps/init_array/gmon-start.c: New file. Use that.
10666 * sysdeps/init_array/crti.S: New file, empty except for comments.
10667 * sysdeps/init_array/crtn.S: Likewise.
10668
106692013-03-11 Ondřej Bílka <neleai@seznam.cz>
10670
10671 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10672 definining bcopy.
10673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10674 Remove Prefer_SSE_for_memop.
10675 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10676 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10677 HAS_PREFER_SSE_FOR_MEMOP.
10678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10679 memset-x86-64.
10680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10681 Remove bzero, memset ifunc support.
10682 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10683 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10684 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10685 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10686
106872013-03-11 Andreas Schwab <schwab@suse.de>
10688
10689 [BZ #15234]
10690 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10691 by SHLIB_COMPAT.
10692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10693 (GLIBC_2.16): Remove pthread_atfork.
10694
106952013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10696
10697 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10698 (ptestcases.h): Likewise.
10699
107002013-03-08 Roland McGrath <roland@hack.frob.com>
10701
10702 * Makeconfig ($(common-objpfx)config.status): Depend on
10703 sysdeps/*/preconfigure{,.in} too.
10704
107052013-03-08 Joseph Myers <joseph@codesourcery.com>
10706
10707 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10708 (__free_hook): Use void * instead of __malloc_ptr_t.
10709 (__malloc_hook): Likewise.
10710 (__realloc_hook): Likewise.
10711 (__memalign_hook): Likewise.
10712 (__after_morecore_hook): Likewise.
10713 * malloc/arena.c (save_malloc_hook): Likewise.
10714 (save_free_hook): Likewise.
10715 * malloc/hooks.c (malloc_hook_ini): Likewise.
10716 (realloc_hook_ini): Likewise.
10717 (memalign_hook_ini): Likewise.
10718 * malloc/malloc.c (malloc_hook_ini): Likewise.
10719 (realloc_hook_ini): Likewise.
10720 (memalign_hook_ini): Likewise.
10721 (__free_hook): Likewise.
10722 (__malloc_hook): Likewise.
10723 (__realloc_hook): Likewise.
10724 (__memalign_hook): Likewise.
10725 (__libc_malloc): Likewise.
10726 (__libc_free): Likewise.
10727 (__libc_realloc): Likewise.
10728 (__libc_memalign): Likewise.
10729 (__libc_valloc): Likewise.
10730 (__libc_pvalloc): Likewise.
10731 (__libc_calloc): Likewise.
10732 (__posix_memalign): Likewise.
10733 * malloc/morecore.c (__sbrk): Likewise.
10734 (__default_morecore): Likewise.
10735
10736 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10737
10738 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10739 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10740 __malloc_ptrdiff_t.
10741
10742 * malloc/malloc.h (__malloc_size_t): Remove macro.
10743 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10744 __malloc_size_t.
10745 (old_memalign_hook): Likewise.
10746 (old_realloc_hook): Likewise.
10747 (struct hdr): Likewise.
10748 (flood): Likewise.
10749 (mallochook): Likewise.
10750 (memalignhook): Likewise.
10751 (reallochook): Likewise.
10752 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10753 (tr_old_realloc_hook): Likewise.
10754 (tr_old_memalign_hook): Likewise.
10755 (tr_mallochook): Likewise.
10756 (tr_reallochook): Likewise.
10757 (tr_memalignhook): Likewise.
10758
107592013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10760
10761 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10762 default_ldbl_pack and using as default implementation.
10763 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10764 implementation.
10765 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10766 redundant definition.
10767 (ldbl_insert_mantissa): Likewise.
10768 (ldbl_canonicalize): Likewise.
10769 (ldbl_nearbyint): Likewise.
10770 (ldbl_pack): Rename to ldbl_pack_ppc.
10771 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10772 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10773 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10774
107752013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10776
10777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10778 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10779 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10780 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10782 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10783 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10784 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10785
107862013-03-07 Andreas Jaeger <aj@suse.de>
10787
10788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10789 bits/mman-linux.h.
10790
107912013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10792
10793 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10794 Include mpa.h and declare __MPEXP.
10795 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10796 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10797 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10798 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10799 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10800 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10801 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10802
10803 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10804 (__slowpow): Use long double EXPL and LOGL functions to
10805 compute POW.
10806 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10807 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10808 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10809 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10810 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10811 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10812
10813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10814 intermediate variable to calculate exponent.
10815 (__sqr): Likewise.
10816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10817 Likewise.
10818 (__sqr): Likewise.
10819
10820 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10821 [!NO__SQR]: Define __sqr.
10822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10823 and NO__SQR. Remove all code except __mul and __sqr. Include
10824 sysdeps/ieee754/dbl-64/mpa.c.
10825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10826
10827 [BZ #12723]
10828 * posix/Makefile (tests): Add tst-pathconf.
10829 * posix/tst-pathconf.c: New test case.
10830 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10831 _PC_PIPE_BUF.
10832 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10833
108342013-03-06 Patsy Franklin <pfrankli@redhat.com>
10835
10836 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10837
108382013-03-06 Andreas Jaeger <aj@suse.de>
10839
10840 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10841 definition via __MAP_ANONYMOUS.
10842
10843 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10844 it's not part of Linux headers.
10845
10846 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10847 (MAP_HUGE_MASK): Define.
10848
10849 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10850 Define.
10851 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10852 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10853 Define.
10854 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10855 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10856 Define.
10857 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10858 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10859 Define.
10860 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10861
10862 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10863 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10864 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10865 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10866 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10867 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10868
10869 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10870 Handle f2fs.
10871
10872 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10873 Handle f2fs and efivarfs.
10874
10875 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10876 f2fs.
10877
10878 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10879 (EFIVARFS_MAGIC): Add.
10880 (F2FS_LINK_MAX): Add.
10881
108822013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10883
10884 * stdio-common/vfprintf.c: Replace __builtin_expect with
10885 __glibc_unlikely.
10886
108872013-03-06 Joseph Myers <joseph@codesourcery.com>
10888
10889 [BZ #13550]
10890 * sysdeps/generic/bp-sym.h: Remove file.
10891 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10892 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10893 <bp-sym.h> and <bp-asm.h>.
10894 (__longjmp): Don't use BP_SYM.
10895 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10896 and <bp-asm.h>.
10897 (memcpy): Don't use BP_SYM.
10898 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10899 <bp-sym.h> and <bp-asm.h>.
10900 (memcpy): Don't use BP_SYM.
10901 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10902 <bp-asm.h>.
10903 (memcpy): Don't use BP_SYM.
10904 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10905 <bp-asm.h>.
10906 (memset): Don't use BP_SYM.
10907 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10908 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10909 (__bzero): Don't use BP_SYM.
10910 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10911 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10912 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10913 <bp-sym.h> and <bp-asm.h>.
10914 (memcmp): Don't use BP_SYM. Remove comment about bounded
10915 pointers.
10916 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10917 <bp-sym.h> and <bp-asm.h>.
10918 (memcpy): Don't use BP_SYM.
10919 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10920 <bp-sym.h> and <bp-asm.h>.
10921 (memset): Don't use BP_SYM.
10922 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10923 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10924 (__bzero): Don't use BP_SYM.
10925 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10926 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10927 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10928 <bp-sym.h> and <bp-asm.h>.
10929 (strncmp): Don't use BP_SYM. Remove comment about bounded
10930 pointers.
10931 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10932 <bp-sym.h> and <bp-asm.h>.
10933 (memcpy): Don't use BP_SYM.
10934 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10935 <bp-sym.h> and <bp-asm.h>.
10936 (memset): Don't use BP_SYM.
10937 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10938 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10939 (__bzero): Don't use BP_SYM.
10940 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10941 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10942 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10943 <bp-sym.h> and <bp-asm.h>.
10944 (__memchr): Don't use BP_SYM.
10945 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10946 <bp-sym.h> and <bp-asm.h>.
10947 (memcmp): Don't use BP_SYM. Remove comment about bounded
10948 pointers.
10949 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10950 <bp-sym.h> and <bp-asm.h>.
10951 (memcpy): Don't use BP_SYM.
10952 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10953 <bp-sym.h> and <bp-asm.h>.
10954 (__mempcpy): Don't use BP_SYM.
10955 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10956 <bp-sym.h> and <bp-asm.h>.
10957 (__memrchr): Don't use BP_SYM.
10958 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10959 <bp-sym.h> and <bp-asm.h>.
10960 (memset): Don't use BP_SYM.
10961 (__bzero): Likewise.
10962 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10963 <bp-sym.h> and <bp-asm.h>.
10964 (__rawmemchr): Don't use BP_SYM.
10965 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10966 <bp-sym.h> and <bp-asm.h>.
10967 (__STRCMP): Don't use BP_SYM.
10968 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10969 <bp-sym.h> and <bp-asm.h>.
10970 (strchr): Don't use BP_SYM.
10971 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10972 <bp-sym.h> and <bp-asm.h>.
10973 (__strchrnul): Don't use BP_SYM.
10974 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10975 <bp-sym.h> and <bp-asm.h>.
10976 (strlen): Don't use BP_SYM.
10977 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10978 <bp-sym.h> and <bp-asm.h>.
10979 (strncmp): Don't use BP_SYM. Remove comment about bounded
10980 pointers.
10981 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10982 <bp-sym.h> and <bp-asm.h>.
10983 (__strnlen): Don't use BP_SYM.
10984 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10985 <bp-sym.h> and <bp-asm.h>.
10986 (__GI__setjmp): Don't use BP_SYM.
10987 (_setjmp): Likewise.
10988 (__sigsetjmp): Likewise.
10989 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10990 (L(start_addresses)): Don't use BP_SYM.
10991 (_start): Likewise.
10992 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10993 <bp-asm.h>.
10994 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10995 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10996 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10997 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10998 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10999 <bp-asm.h>.
11000 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11001 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11002 about bounded pointers.
11003 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11004 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11005 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11006 <bp-asm.h>.
11007 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11008 about bounded pointers. Remove GKM FIXME comments.
11009 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11010 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11011 <bp-asm.h>.
11012 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11013 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11014 Remove GKM FIXME comments.
11015 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11016 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11017 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11018 <bp-asm.h>.
11019 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11020 about bounded pointers. Remove GKM FIXME comment.
11021 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11022 and <bp-asm.h>.
11023 (strncmp): Don't use BP_SYM. Remove comment about bounded
11024 pointers.
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11026 <bp-sym.h> and <bp-asm.h>.
11027 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11029 <bp-sym.h> and <bp-asm.h>.
11030 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11031 comment.
11032
110332013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11034
11035 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11036 call free(NULL).
11037
110382013-03-05 David S. Miller <davem@davemloft.net>
11039
11040 * po/es.po: Update from translation team.
11041
110422013-03-05 Andreas Jaeger <aj@suse.de>
11043
11044 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11045 <bits/mman-linux.h>.
11046 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11047 is fine.
11048 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11049 <bits/mman-linux.h> to end of file.
11050 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11051 is fine.
11052 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11053 <bits/mman-linux.h> to end of file.
11054 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11055 is fine.
11056 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11057 <bits/mman-linux.h> to end of file.
11058
11059 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11060 (MCL_CURRENT, MCL_FUTURE): Define here.
11061
110622013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11063
11064 [BZ #15232]
11065 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11066 attribute_hidden.
11067 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11068
110692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11070
11071 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11072 fourth parameter needed for rt_sigprocmask syscall.
11073 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11074 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11075 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11076 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11077 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11078 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11079
110802013-03-04 Joseph Myers <joseph@codesourcery.com>
11081
11082 [BZ #13550]
11083 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11084 comment about bounded pointers.
11085 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11086 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11087
110882013-03-04 Andreas Jaeger <aj@suse.de>
11089
11090 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11091 common definitions.
11092
11093 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11094 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11095 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11096 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11097 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11098 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11099
111002013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11101
11102 [BZ #15055]
11103 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11104 __ieee754_sqrl instead of __sqrl.
11105
111062013-03-01 Joseph Myers <joseph@codesourcery.com>
11107
11108 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11109 * sysdeps/powerpc/fpu_control.h: ... here.
11110 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11111 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11112 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11113 * sysdeps/powerpc/bits/mathinline.h: ... here.
11114
111152013-03-01 Roland McGrath <roland@hack.frob.com>
11116
11117 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11118 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11119 to just [NEED_DL_SYSINFO_DSO].
11120 * elf/dl-support.c: Likewise.
11121 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11122 * elf/rtld.c (dl_main): Likewise.
11123 * elf/setup-vdso.h (setup_vdso): Likewise.
11124 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11125 * sysdeps/unix/sysv/linux/dl-sysdep.c
11126 (_dl_discover_osversion): Likewise.
11127
111282013-03-01 Carlos O'Donell <carlos@redhat.com>
11129
11130 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11131 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11132
111332013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11134
11135 * NEWS: Mention libm performance improvements and non-x86 PI
11136 futex support.
11137
11138 * csu/libc-start.c (__pthread_initialize_minimal): Change
11139 function arguments.
11140 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11141
111422013-02-28 Joseph Myers <joseph@codesourcery.com>
11143
11144 [BZ #13550]
11145 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11146 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11147 <bp-sym.h> and <bp-asm.h>.
11148 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11149 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11150 and <bp-asm.h>.
11151 (memcpy): Don't use BP_SYM.
11152 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11153 <bp-asm.h>.
11154 (__mpn_add_n): Don't use BP_SYM.
11155 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11156 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11157 and <bp-asm.h>.
11158 (__mpn_addmul_1): Don't use BP_SYM.
11159 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11160 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11161 <bp-sym.h>.
11162 (_setjmp): Don't use BP_SYM.
11163 (__novmx_setjmp): Likewise.
11164 (__GI__setjmp): Likewise.
11165 (__vmx_setjmp): Likewise.
11166 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11167 <bp-sym.h>.
11168 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11169 (__bzero): Don't use BP_SYM.
11170 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11171 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11172 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11173 <bp-sym.h> and <bp-asm.h>.
11174 (memcpy): Don't use BP_SYM.
11175 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11176 <bp-sym.h> and <bp-asm.h>.
11177 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11178 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11179 <bp-sym.h> and <bp-asm.h>.
11180 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11181 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11182 <bp-asm.h>.
11183 (__mpn_lshift): Don't use BP_SYM.
11184 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11185 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11186 <bp-asm.h>.
11187 (memset): Don't use BP_SYM.
11188 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11189 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11190 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11191 <bp-asm.h>.
11192 (__mpn_mul_1): Don't use BP_SYM.
11193 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11194 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11195 <bp-sym.h> and <bp-asm.h>.
11196 (memcmp): Don't use BP_SYM.
11197 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11198 <bp-sym.h> and <bp-asm.h>.
11199 (memcpy): Don't use BP_SYM.
11200 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11201 <bp-sym.h> and <bp-asm.h>.
11202 (memset): Don't use BP_SYM.
11203 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11204 <bp-sym.h> and <bp-asm.h>.
11205 (strncmp): Don't use BP_SYM.
11206 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11207 <bp-sym.h> and <bp-asm.h>.
11208 (memcpy): Don't use BP_SYM.
11209 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11210 <bp-sym.h> and <bp-asm.h>.
11211 (memset): Don't use BP_SYM.
11212 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11213 <bp-sym.h> and <bp-asm.h>.
11214 (__memchr): Don't use BP_SYM.
11215 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11216 <bp-sym.h> and <bp-asm.h>.
11217 (memcmp): Don't use BP_SYM.
11218 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11219 <bp-sym.h> and <bp-asm.h>.
11220 (memcpy): Don't use BP_SYM.
11221 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11222 <bp-sym.h> and <bp-asm.h>.
11223 (__mempcpy): Don't use BP_SYM.
11224 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11225 <bp-sym.h> and <bp-asm.h>.
11226 (__memrchr): Don't use BP_SYM.
11227 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11228 <bp-sym.h> and <bp-asm.h>.
11229 (memset): Don't use BP_SYM.
11230 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11231 <bp-sym.h> and <bp-asm.h>.
11232 (__rawmemchr): Don't use BP_SYM.
11233 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11234 <bp-sym.h> and <bp-asm.h>.
11235 (__STRCMP): Don't use BP_SYM.
11236 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11237 <bp-sym.h> and <bp-asm.h>.
11238 (strchr): Don't use BP_SYM.
11239 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11240 <bp-sym.h> and <bp-asm.h>.
11241 (__strchrnul): Don't use BP_SYM.
11242 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11243 <bp-sym.h> and <bp-asm.h>.
11244 (strlen): Don't use BP_SYM.
11245 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11246 <bp-sym.h> and <bp-asm.h>.
11247 (strncmp): Don't use BP_SYM.
11248 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11249 <bp-sym.h> and <bp-asm.h>.
11250 (__strnlen): Don't use BP_SYM.
11251 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11252 <bp-asm.h>.
11253 (__mpn_rshift): Don't use BP_SYM.
11254 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11255 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11256 <bp-sym.h> and <bp-asm.h>.
11257 (__sigsetjmp): Don't use BP_SYM.
11258 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11259 (L(start_addresses)): Don't use BP_SYM.
11260 (_start): Likewise.
11261 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11262 <bp-asm.h>.
11263 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11264 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11265 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11266 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11267 <bp-asm.h>.
11268 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11269 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11270 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11271 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11272 <bp-asm.h>.
11273 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11274 comments.
11275 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11276 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11277 <bp-asm.h>.
11278 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11279 FIXME comments.
11280 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11281 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11282 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11283 <bp-asm.h>.
11284 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11285 comment.
11286 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11287 and <bp-asm.h>.
11288 (strncmp): Don't use BP_SYM,
11289 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11290 <bp-asm.h>.
11291 (__mpn_sub_n): Don't use BP_SYM.
11292 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11293 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11294 and <bp-asm.h>.
11295 (__mpn_submul_1): Don't use BP_SYM.
11296 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11298 <bp-sym.h> and <bp-asm.h>.
11299 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11301 <bp-sym.h> and <bp-asm.h>.
11302 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11303 comment.
11304
113052013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11306
11307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11308 Use ZK to minimize writes to Z.
11309 (sub_magnitudes): Simplify code a bit.
11310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11311 Use ZK to minimize writes to Z.
11312 (sub_magnitudes): Simplify code a bit.
11313
113142013-02-27 Roland McGrath <roland@hack.frob.com>
11315
11316 * csu/gmon-start.c: Add special exception to license text.
11317
113182013-02-27 Richard Henderson <rth@redhat.com>
11319
11320 * scripts/config.guess: Update from config.git.
11321 * scripts/config.sub: Likewise.
11322
113232013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11324
11325 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11326
11327 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11328
11329 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11330
11331 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11332
11333 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11334
113352013-02-26 Roland McGrath <roland@hack.frob.com>
11336
11337 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11338 [$(build-shared = yes].
11339
113402013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11341
11342 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11343 (__mul): Reduce iterations for calculating mantissa.
11344
11345 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11346 MPTWO.
11347 (__mpranred): Likewise.
11348
11349 [BZ #15160]
11350 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11351 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11352
113532013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11354
11355 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11356 Define __attribute__.
11357
113582013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11359
11360 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11361 unused.
11362 * posix/regex_internal.h (__attribute): Remove.
11363 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11364 (re_string_context_at): Likewise.
11365 (bitset_not): Use __attribute__ and mark function as possibly
11366 unused.
11367 (bitset_merge): Likewise.
11368 (bitset_mask): Likewise.
11369 (re_string_char_size_at): Likewise.
11370 (re_string_wchar_at): Likewise.
11371 (re_string_elem_size_at): Likewise.
11372
113732013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11374
11375 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11376 code.
11377 (cc32): Likewise.
11378
11379 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11380 (__acr): Likewise.
11381 (__cpy): Likewise.
11382 (norm): Likewise.
11383 (denorm): Likewise.
11384 (__dbl_mp): Likewise.
11385 (add_magnitudes): Likewise.
11386 (sub_magnitudes): Likewise.
11387 (__mul): Likewise.
11388 (__inv): Likewise.
11389
11390 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11391 style.
11392
11393 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11394 style.
11395
11396 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11397 code.
11398
11399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11400 up changes with default code.
11401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11402 Likewise.
11403
114042013-02-24 Allan McRae <allan@archlinux.org>
11405
11406 * manual/socket.texi (The Internet Namespace): Order menu items
11407 to match that in the file.
11408
11409 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11410 node listing of the info page menu.
11411
114122013-02-21 Joseph Myers <joseph@codesourcery.com>
11413
11414 [BZ #13550]
11415 * sysdeps/i386/bp-asm.h: Remove file.
11416 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11417 (PARMS): Do not use macros from bp-asm.h.
11418 (S1): Likewise.
11419 (S2): Likewise.
11420 (SIZE): Likewise.
11421 (__mpn_add_n): Do not use BP_SYM
11422 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11423 "bp-asm.h".
11424 (PARMS): Do not use macros from bp-asm.h.
11425 (S1): Likewise.
11426 (SIZE): Likewise.
11427 (__mpn_addmul_1): Do not use BP_SYM
11428 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11429 "bp-asm.h".
11430 (PARMS): Do not use macros from bp-asm.h.
11431 (SIGMSK): Likewise.
11432 (_setjmp): Likewise. Do not use BP_SYM.
11433 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11434 "bp-asm.h".
11435 (PARMS): Do not use macros from bp-asm.h.
11436 (SIGMSK): Likewise.
11437 (setjmp): Likewise. Do not use BP_SYM.
11438 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11439 "bp-asm.h".
11440 (PARMS): Do not use macros from bp-asm.h.
11441 (__frexp): Do not use BP_SYM.
11442 (frexp): Likewise.
11443 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11444 "bp-asm.h".
11445 (PARMS): Do not use macros from bp-asm.h.
11446 (__frexpf): Do not use BP_SYM.
11447 (frexpf): Likewise.
11448 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11449 "bp-asm.h".
11450 (PARMS): Do not use macros from bp-asm.h.
11451 (__frexpl): Do not use BP_SYM.
11452 (frexpl): Likewise.
11453 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11454 "bp-asm.h".
11455 (PARMS): Do not use macros from bp-asm.h.
11456 (__remquo): Do not use BP_SYM.
11457 (remquo): Likewise.
11458 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11459 "bp-asm.h".
11460 (PARMS): Do not use macros from bp-asm.h.
11461 (__remquof): Do not use BP_SYM.
11462 (remquof): Likewise.
11463 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11464 "bp-asm.h".
11465 (PARMS): Do not use macros from bp-asm.h.
11466 (__remquol): Do not use BP_SYM.
11467 (remquol): Likewise.
11468 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11469 "bp-asm.h".
11470 (PARMS): Do not use macros from bp-asm.h.
11471 (DEST): Likewise.
11472 (SRC): Likewise.
11473 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11474 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11475 "bp-asm.h".
11476 (PARMS): Do not use macros from bp-asm.h.
11477 (strlen): Do not use BP_SYM.
11478 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11479 "bp-asm.h".
11480 (PARMS): Do not use macros from bp-asm.h.
11481 (S1): Likewise.
11482 (S2): Likewise.
11483 (SIZE): Likewise.
11484 (__mpn_add_n): Do not use BP_SYM.
11485 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11486 "bp-asm.h".
11487 (PARMS): Do not use macros from bp-asm.h.
11488 (S1): Likewise.
11489 (SIZE): Likewise.
11490 (__mpn_addmul_1): Do not use BP_SYM.
11491 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11492 weak_alias.
11493 (bzero): Likewise.
11494 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11495 "bp-asm.h".
11496 (PARMS): Do not use macros from bp-asm.h.
11497 (S): Likewise.
11498 (SIZE): Likewise.
11499 (__mpn_lshift): Do not use BP_SYM.
11500 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11501 "bp-asm.h".
11502 (PARMS): Do not use macros from bp-asm.h.
11503 (DEST): Likewise.
11504 (SRC): Likewise.
11505 (LEN): Likewise.
11506 (memcpy): Likewise. Do not use BP_SYM.
11507 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11508 libc_hidden_def and weak_alias.
11509 (mempcpy): Do not use BP_SYM in weak_alias.
11510 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11511 "bp-asm.h".
11512 (PARMS): Do not use macros from bp-asm.h.
11513 (DEST): Likewise.
11514 (LEN): Likewise.
11515 [!BZERO_P] (CHR): Likewise.
11516 (memset): Likewise. Do not use BP_SYM.
11517 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11518 "bp-asm.h".
11519 (PARMS): Do not use macros from bp-asm.h.
11520 (S1): Likewise.
11521 (SIZE): Likewise.
11522 (__mpn_mul_1): Do not use BP_SYM.
11523 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11524 "bp-asm.h".
11525 (PARMS): Do not use macros from bp-asm.h.
11526 (S): Likewise.
11527 (SIZE): Likewise.
11528 (__mpn_rshift): Do not use BP_SYM.
11529 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11530 "bp-asm.h".
11531 (PARMS): Do not use macros from bp-asm.h.
11532 (STR): Likewise.
11533 (CHR): Likewise.
11534 (strchr): Likewise. Do not use BP_SYM.
11535 (index): Do not use BP_SYM in weak_alias.
11536 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11537 "bp-asm.h".
11538 (PARMS): Do not use macros from bp-asm.h.
11539 (DEST): Likewise.
11540 (SRC): Likewise.
11541 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11542 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11543 "bp-asm.h".
11544 (PARMS): Do not use macros from bp-asm.h.
11545 (strlen): Do not use BP_SYM.
11546 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11547 "bp-asm.h".
11548 (PARMS): Do not use macros from bp-asm.h.
11549 (S1): Likewise.
11550 (S2): Likewise.
11551 (SIZE): Likewise.
11552 (__mpn_sub_n): Do not use BP_SYM.
11553 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11554 "bp-asm.h".
11555 (PARMS): Do not use macros from bp-asm.h.
11556 (S1): Likewise.
11557 (SIZE): Likewise.
11558 (__mpn_submul_1): Do not use BP_SYM.
11559 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11560 "bp-asm.h".
11561 (PARMS): Do not use macros from bp-asm.h.
11562 (S1): Likewise.
11563 (S2): Likewise.
11564 (SIZE): Likewise.
11565 (__mpn_add_n): Do not use BP_SYM.
11566 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11567 weak_alias.
11568 (bzero): Likewise.
11569 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11570 "bp-asm.h".
11571 (PARMS): Do not use macros from bp-asm.h.
11572 (BLK2): Likewise.
11573 (LEN): Likewise.
11574 (memcmp): Do not use BP_SYM.
11575 (bcmp): Do not use BP_SYM in weak_alias.
11576 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11577 "bp-asm.h".
11578 (PARMS): Do not use macros from bp-asm.h.
11579 (DEST): Likewise.
11580 (SRC): Likewise.
11581 (LEN): Likewise.
11582 (memcpy): Likewise. Do not use BP_SYM.
11583 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11584 "bp-asm.h".
11585 (PARMS): Do not use macros from bp-asm.h.
11586 (DEST): Likewise.
11587 (SRC): Likewise.
11588 (LEN): Likewise.
11589 (memmove): Likewise. Do not use BP_SYM.
11590 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11591 "bp-asm.h".
11592 (PARMS): Do not use macros from bp-asm.h.
11593 (DEST): Likewise.
11594 (SRC): Likewise.
11595 (LEN): Likewise.
11596 (__mempcpy): Likewise. Do not use BP_SYM.
11597 (mempcpy): Do not use BP_SYM in weak_alias.
11598 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11599 "bp-asm.h".
11600 (PARMS): Do not use macros from bp-asm.h.
11601 (DEST): Likewise.
11602 (LEN): Likewise.
11603 [!BZERO_P] (CHR): Likewise.
11604 (memset): Likewise. Do not use BP_SYM.
11605 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11606 "bp-asm.h".
11607 (PARMS): Do not use macros from bp-asm.h.
11608 (STR2): Likewise.
11609 (strcmp): Do not use BP_SYM.
11610 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11611 "bp-asm.h".
11612 (PARMS): Do not use macros from bp-asm.h.
11613 (STR): Likewise.
11614 (DELIM): Likewise.
11615 [USE_AS_STRTOK_R] (SAVE): Likewise.
11616 (FUNCTION): Likewise. Do not use BP_SYM.
11617 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11618 aliases.
11619 (strtok_r): Likewise.
11620 (__GI___strtok_r): Likewise.
11621 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11622 (PARMS): Do not use macros from bp-asm.h.
11623 (S): Likewise.
11624 (SIZE): Likewise.
11625 (__mpn_lshift): Do not use BP_SYM.
11626 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11627 (PARMS): Do not use macros from bp-asm.h.
11628 (STR): Likewise.
11629 (CHR): Likewise.
11630 (__memchr): Do not use BP_SYM.
11631 (memchr): Do not use BP_SYM in weak_alias.
11632 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11633 (PARMS): Do not use macros from bp-asm.h.
11634 (BLK2): Likewise.
11635 (LEN): Likewise.
11636 (memcmp): Do not use BP_SYM.
11637 (bcmp): Do not use BP_SYM in weak_alias.
11638 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11639 (PARMS): Do not use macros from bp-asm.h.
11640 (S1): Likewise.
11641 (SIZE): Likewise.
11642 (__mpn_mul_1): Do not use BP_SYM.
11643 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11644 "bp-asm.h".
11645 (PARMS): Do not use macros from bp-asm.h.
11646 (STR): Likewise.
11647 (CHR): Likewise.
11648 (__rawmemchr): Do not use BP_SYM.
11649 (rawmemchr): Do not use BP_SYM in weak_alias.
11650 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11651 (PARMS): Do not use macros from bp-asm.h.
11652 (S): Likewise.
11653 (SIZE): Likewise.
11654 (__mpn_rshift): Do not use BP_SYM.
11655 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11656 (PARMS): Do not use macros from bp-asm.h.
11657 (SIGMSK): Likewise.
11658 (__sigsetjmp): Likewise. Do not use BP_SYM.
11659 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11660 (_start): Do not use BP_SYM.
11661 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11662 (PARMS): Do not use macros from bp-asm.h.
11663 (DEST): Likewise.
11664 (SRC): Likewise.
11665 (__stpcpy): Likewise. Do not use BP_SYM.
11666 (stpcpy): Do not use BP_SYM in weak_alias.
11667 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11668 "bp-asm.h".
11669 (PARMS): Do not use macros from bp-asm.h.
11670 (DEST): Likewise.
11671 (SRC): Likewise.
11672 (LEN): Likewise.
11673 (__stpncpy): Likewise. Do not use BP_SYM.
11674 (stpncpy): Do not use BP_SYM in weak_alias.
11675 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11676 (PARMS): Do not use macros from bp-asm.h.
11677 (STR): Likewise.
11678 (CHR): Likewise.
11679 (strchr): Likewise. Do not use BP_SYM.
11680 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11681 "bp-asm.h".
11682 (PARMS): Do not use macros from bp-asm.h.
11683 (STR): Likewise.
11684 (CHR): Likewise.
11685 (__strchrnul): Likewise. Do not use BP_SYM.
11686 (strchrnul): Do not use BP_SYM in weak_alias.
11687 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11688 "bp-asm.h".
11689 (PARMS): Do not use macros from bp-asm.h.
11690 (STOP): Likewise.
11691 (strcspn): Do not use BP_SYM.
11692 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11693 "bp-asm.h".
11694 (PARMS): Do not use macros from bp-asm.h.
11695 (STR): Likewise.
11696 (STOP): Likewise.
11697 (strpbrk): Likewise. Do not use BP_SYM.
11698 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11699 "bp-asm.h".
11700 (PARMS): Do not use macros from bp-asm.h.
11701 (STR): Likewise.
11702 (CHR): Likewise.
11703 (strrchr): Likewise. Do not use BP_SYM.
11704 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11705 (PARMS): Do not use macros from bp-asm.h.
11706 (SKIP): Likewise.
11707 (strspn): Do not use BP_SYM.
11708 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11709 (PARMS): Do not use macros from bp-asm.h.
11710 (STR): Likewise.
11711 (DELIM): Likewise.
11712 (SAVE): Likewise.
11713 (FUNCTION): Likewise. Do not use BP_SYM.
11714 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11715 aliases.
11716 (strtok_r): Likewise.
11717 (__GI___strtok_r): Likewise.
11718 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11719 (PARMS): Do not use macros from bp-asm.h.
11720 (S1): Likewise.
11721 (S2): Likewise.
11722 (SIZE): Likewise.
11723 (__mpn_sub_n): Do not use BP_SYM.
11724 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11725 "bp-asm.h".
11726 (PARMS): Do not use macros from bp-asm.h.
11727 (S1): Likewise.
11728 (SIZE): Likewise.
11729 (__mpn_submul_1): Do not use BP_SYM.
11730 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11731 <bp-sym.h>.
11732 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11733 and <bp-asm.h>.
11734 (PARMS): Do not use macros from bp-asm.h.
11735 (FLAGS): Likewise.
11736 (PTID): Likewise.
11737 (TLS): Likewise.
11738 (CTID): Likewise.
11739 (__clone): Do not use BP_SYM.
11740 (clone): Do not use BP_SYM in weak_alias.
11741 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11742 and <bp-asm.h>.
11743 (PARMS): Do not use macros from bp-asm.h.
11744 (LEN): Likewise.
11745 (__mmap64): Do not use BP_SYM.
11746 (mmap64): Do not use BP_SYM in weak_alias.
11747 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11748 <bp-sym.h> and <bp-asm.h>.
11749 (PARMS): Do not use macros from bp-asm.h.
11750 (__posix_fadvise64_l64): Do not use BP_SYM.
11751 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11752 (PARMS): Do not use macros from bp-asm.h.
11753 (NSOPS): Likewise.
11754 (semtimedop): Do not use BP_SYM.
11755 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11756 and <bp-asm.h>.
11757
117582013-02-21 Allan McRae <allan@archlinux.org>
11759
11760 * manual/message.texi (Charset conversion in gettext):
11761 Move @end statement to beginning of line.
11762
117632013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11764
11765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11766 static.
11767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11768 Likewise.
11769
11770 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11771 (denorm): Likewise.
11772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11774
117752013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11776
11777 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11778 tail-call to the resolved function if pltexit isn't needed.
11779
117802013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11781
11782 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11783 or Y being zero as being unlikely.
11784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11785 Likewise.
11786
117872013-02-20 Carlos O'Donell <carlos@redhat.com>
11788
11789 * manual/nss.texi (System Databases and Name Service Switch):
11790 Remove frobnicate @pxref.
11791
117922013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11793
11794 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11795 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11796
117972013-02-20 Petr Machata <pmachata@redhat.com>
11798
11799 * elf/elf.h (R_ARM_TARGET1): New macro.
11800 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11801 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11802 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11803 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11804 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11805 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11806 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11807 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11808 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11809 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11810 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11811 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11812 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11813 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11814 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11815 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11816 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11817 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11818 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11819 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11820 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11821 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11822 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11823 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11824 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11825 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11826 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11827 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11828 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11829 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11830 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11831 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11832 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11833 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11834 (R_ARM_THM_GOT_BREL12): Likewise.
11835 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11836 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11837 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11838 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11839 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11840 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11841 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11842 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11843 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11844
118452013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11846
11847 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11848 __attribute_used__ to __attribute__ ((unused)).
11849
118502013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11851
11852 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11853 powerpc mpa.c.
11854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11855 comment formatting.
11856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11857
118582013-02-19 Joseph Myers <joseph@codesourcery.com>
11859
11860 [BZ #13550]
11861 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11862 Remove macro.
11863 (ENTER): Remove both macro definitions.
11864 (LEAVE): Likewise.
11865 (CHECK_BOUNDS_LOW): Likewise.
11866 (CHECK_BOUNDS_HIGH): Likewise.
11867 (CHECK_BOUNDS_BOTH): Likewise.
11868 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11869 (RETURN_BOUNDED_POINTER): Likewise.
11870 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11871 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11872 (POP_ERRNO_LOCATION_RETURN): Likewise.
11873 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11874 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11875 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11876 macros.
11877 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11878 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11879 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11880 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11881 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11882 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11883 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11884 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11885 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11886 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11887 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11888 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11889 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11890 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11891 removed macros.
11892 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11893 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11894 macros.
11895 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11896 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11897 * sysdeps/i386/i586/memset.S (memset): Likewise.
11898 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11899 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11900 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11901 macros.
11902 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11903 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11904 Change uses of L(2) to L(out).
11905 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11906 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11907 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11908 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11909 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11910 removed macros.
11911 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11912 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11913 macros.
11914 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11915 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11916 (RETURN): Do not use macro LEAVE.
11917 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11918 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11919 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11920 * sysdeps/i386/i686/memset.S (memset): Likewise.
11921 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11922 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11923 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11924 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11925 Likewise.
11926 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11927 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11928 L(1_2) and L(1_3) into L(1).
11929 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11930 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11931 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11932 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11933 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11934 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11935 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11936 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11937 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11938 macros.
11939 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11940 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11941 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11942 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11943 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11944 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11945 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11946 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11947 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11948 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11949 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11950 * sysdeps/i386/strspn.S (strspn): Likewise.
11951 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11952 conditional code.
11953 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11954 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11955 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11956 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
11957 L(1_3) into L(1_1).
11958 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11959 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11960 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11961 macros.
11962 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11963
119642013-02-19 Jakub Jelinek <jakub@redhat.com>
11965
11966 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11967 macro.
11968
119692013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11970
11971 * math/atest-exp.c (exp_mpn): Remove ROUND.
11972 * math/atest-exp2.c (exp_mpn): Likewise.
11973 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11974
11975 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11976 * stdlib/tst-tls-atexit-lib.c: Likewise.
11977 * stdlib/tst-tls-atexit.c: Likewise.
11978
119792013-02-18 Mike Frysinger <vapier@gentoo.org>
11980
11981 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11982 and __attribute_alloc_size__.
11983
119842013-02-18 Mike Frysinger <vapier@gentoo.org>
11985
11986 * include/programs/xmalloc.h: Change __attribute_alloc_size to
11987 __attribute_alloc_size__.
11988 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11989 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11990
119912013-02-18 Mike Frysinger <vapier@gentoo.org>
11992
11993 * include/programs/xmalloc.h: New file.
11994 * catgets/gencat.c: Include it.
11995 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11996 * elf/pldd.c: Likewise.
11997 * iconv/iconv_charmap.c: Likewise.
11998 * iconv/iconvconfig.c: Likewise.
11999 * iconv/strtab.c: Likewise.
12000 * locale/programs/locale.c: Likewise.
12001 * locale/programs/localedef.h: Likewise.
12002 * locale/programs/simple-hash.c: Likewise.
12003 * nscd/nscd.h: Likewise.
12004 * nss/makedb.c: Likewise.
12005 * sysdeps/generic/ldconfig.h: Likewise.
12006
120072013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12008
12009 * Versions.def: Add GLIBC_2.18.
12010 * include/link.h (struct link_map): New member l_tls_dtor_count.
12011 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12012 (__call_tls_dtors): Likewise.
12013 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12014 __cxa_thread_atexit_impl.
12015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12016 Likewise.
12017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12018 Likewise.
12019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12020 Likewise.
12021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12022 Likewise.
12023 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12025 Likewise.
12026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12027 Likewise.
12028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12030 Likewise.
12031 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12032 (tests): Add test case tst-tls-atexit.
12033 (modules-names): Add shared library for tst-tls-atexit.
12034 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12035 (GLIBC_PRIVATE): Add __call_tls_dtors.
12036 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12037 for libstdc++.
12038 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12039 * stdlib/tst-tls-atexit.c: New test case.
12040 * stdlib/tst-tls-atexit-lib.c: New test case.
12041
12042 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12043
12044 * elf/Versions (ld): Add _dl_find_dso_for_object.
12045 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12046 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12047 (dl_open_worker): Use _dl_find_dso_for_object.
12048 * elf/dl-sym.c (do_sym): Likewise.
12049 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12050
120512013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12052
12053 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12054 Syntactic changes only.
12055 (_dl_runtime_profile): Do a tail-call to the resolved function.
12056
120572013-02-17 Joseph Myers <joseph@codesourcery.com>
12058
12059 [BZ #13550]
12060 * sysdeps/x86_64/bp-asm.h: Remove file.
12061 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12062 <bp-sym.h> and <bp-asm.h>.
12063 (__clone): Do not use BP_SYM.
12064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12065 <bp-sym.h> and <bp-asm.h>.
12066 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12067 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12068 "bp-asm.h".
12069 (_setjmp): Do not use BP_SYM.
12070 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12071 "bp-asm.h".
12072 (setjmp): Do not use BP_SYM.
12073 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12074 libc_hidden_def.
12075 (mempcpy): Do not use BP_SYM in weak_alias.
12076 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12077 "bp-asm.h".
12078 (strchr): Do not use BP_SYM.
12079 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12080 "bp-asm.h".
12081 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12082 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12083 (_start): Do not use BP_SYM.
12084 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12085 "bp-asm.h".
12086 (strcat): Do not use BP_SYM.
12087 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12088 "bp-asm.h".
12089 (STRCMP): Do not use BP_SYM.
12090 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12091 "bp-asm.h".
12092 (STRCPY): Do not use BP_SYM.
12093 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12094 "bp-asm.h".
12095 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12096 "bp-asm.h".
12097 (FUNCTION): Do not use BP_SYM.
12098 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12099 weak_alias.
12100 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12101
121022013-02-17 Andreas Jaeger <aj@suse.de>
12103
12104 * time/Versions: Sort entries.
12105 * string/Versions: Likewise.
12106 * resolv/Versions: Likewise.
12107 * posix/Versions: Likewise.
12108 * iconv/Versions: Likewise.
12109 * elf/Versions: Likewise.
12110 * wcsmbs/Versions: Likewise.
12111
121122013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12113
12114 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12115 loop termination condition.
12116
12117 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12118 variable to calculate EZ.
12119 (__sqr): Likewise.
12120
12121 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12122 the lower precision input.
12123
121242013-02-15 Joseph Myers <joseph@codesourcery.com>
12125
12126 [BZ #13550]
12127 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12128 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12129 (run-via-rtld-prefix): Do not handle %-bp tests.
12130 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12131 (all-object-suffixes): Remove .ob.
12132 (bppfx): Remove variable.
12133 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12134 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12135 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12136 [$(build-bounded) = yes] (libtype.ob): Likewise.
12137 * Makerules (elide-routines.ob): Remove variable.
12138 (do-tests-clean): Do not handle *-bp.out.
12139 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12140 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12141 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12142 (tests): Do not include $(tests-bp.out).
12143 (xtests): Do not include $(xtests-bp.out).
12144 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12145 [$(build-bounded) = yes] ($(addprefix
12146 $(objpfx),$(binaries-bounded))): Remove rule.
12147 ($(objpfx)%-bp.out): Remove rule.
12148 * config.make.in (build-bounded): Remove variable.
12149 * crypt/Makefile [$(build-bounded) = yes]
12150 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12151 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12152 append to variable.
12153 [$(build-bounded) = yes] (install-lib): Likewise.
12154 [$(build-bounded) = yes] (generated): Likewise.
12155 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12156 Remove rule.
12157 * intl/Makefile [$(build-bounded) = yes]
12158 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12159 * math/Makefile [$(build-bounded) = yes]
12160 ($(tests:%=$(objpfx)%-bp): Likewise.
12161 * misc/Makefile [$(build-bounded) = yes]
12162 ($(objpfx)tst-tsearch-bp): Likewise.
12163 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12164 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12165 Remove dependency.
12166 * string/Makefile (o-objects.ob): Remove variable.
12167 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12168 (CFLAGS-.ob): Remove variable.
12169 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12170 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12171 both definitions of variable.
12172 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12173 (ASFLAGS-.ob): Remove variable.
12174
121752013-02-14 Joseph Myers <joseph@codesourcery.com>
12176
12177 [BZ #13550]
12178 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12179 Remove __BOUNDED_POINTERS__ from condition.
12180 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12181 * string/bits/string2.h [!__NO_STRING_INLINES &&
12182 !__BOUNDED_POINTERS__]: Likewise.
12183 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12184 Likewise.
12185 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12186 Remove conditional code.
12187 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12188 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12189 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12190 condition.
12191
12192 [BZ #13550]
12193 * csu/libc-start.c: Do not include <bp-sym.h>.
12194 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12195 * elf/dl-open.c: Do not include <bp-sym.h>.
12196 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12197 * math/fegetenv.c: Do not include <bp-sym.h>.
12198 (fegetenv): Do not use BP_SYM in versioned symbols.
12199 * nptl/sysdeps/pthread/bits/libc-lockP.h
12200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12201 <bp-sym.h>.
12202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12203 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12205 (__pthread_mutex_destroy): Likewise.
12206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12207 (__pthread_mutex_lock): Likewise.
12208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12209 (__pthread_mutex_trylock): Likewise.
12210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12211 (__pthread_mutex_unlock): Likewise.
12212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12213 (__pthread_mutexattr_init): Likewise.
12214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12215 (__pthread_mutexattr_destroy): Likewise.
12216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12217 (__pthread_mutexattr_settype): Likewise.
12218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12219 (__pthread_rwlock_init): Likewise.
12220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12221 (__pthread_rwlock_destroy): Likewise.
12222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12223 (__pthread_rwlock_rdlock): Likewise.
12224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12225 (__pthread_rwlock_tryrdlock): Likewise.
12226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12227 (__pthread_rwlock_wrlock): Likewise.
12228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12229 (__pthread_rwlock_trywrlock): Likewise.
12230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12231 (__pthread_rwlock_unlock): Likewise.
12232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12233 (__pthread_key_create): Likewise.
12234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12235 (__pthread_setspecific): Likewise.
12236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12237 (__pthread_getspecific): Likewise.
12238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12239 Likewise.
12240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12241 (_pthread_cleanup_push_defer): Likewise.
12242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12243 (_pthread_cleanup_pop_restore): Likewise.
12244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12245 (pthread_setcancelstate): Likewise.
12246 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12247 <bp-sym.h>.
12248 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12249 (memchr): Do not use BP_SYM in weak_alias.
12250 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12251 (fegetenv): Do not use BP_SYM in versioned symbols.
12252 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12253 (fesetenv): Do not use BP_SYM in versioned symbols.
12254 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12255 (feupdateenv): Do not use BP_SYM in versioned symbols.
12256 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12257 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12258 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12259 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12260 (open64): Do not use BP_SYM in weak_alias.
12261 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12262 (fegetenv): Do not use BP_SYM in versioned symbols.
12263 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12264 (fesetenv): Do not use BP_SYM in versioned symbols.
12265 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12266 (feupdateenv): Do not use BP_SYM in versioned symbols.
12267 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12268 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12269 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12270 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12271 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12272 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12273 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12274 <bp-sym.h>.
12275 (__libc_start_main): Do not use BP_SYM.
12276
122772013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12278
12279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12280 redundant return line.
12281 (norm): Likewise.
12282 (denorm): Likewise.
12283 (dbl_mp): Likewise.
12284 (sub_magnitudes): Likewise.
12285 (__add): Likewise.
12286 (__sub): Likewise.
12287 (__mul): Likewise.
12288 (__inv): Likewise.
12289 (__dvd): Likewise.
12290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12291 (norm): Likewise.
12292 (denorm): Likewise.
12293 (dbl_mp): Likewise.
12294 (sub_magnitudes): Likewise.
12295 (__add): Likewise.
12296 (__sub): Likewise.
12297 (__mul): Likewise.
12298 (__inv): Likewise.
12299 (__dvd): Likewise.
12300
12301 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12302 instead of __mul.
12303 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12304 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12305 (cc32): Likewise.
12306
12307 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12308 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12310 of __mul for squares.
12311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12312 function
12313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12314 Likewise.
12315 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12316 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12317
123182013-02-13 Joseph Myers <joseph@codesourcery.com>
12319
12320 [BZ #13550]
12321 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12322 code.
12323 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12324 prototype or function definition. Rename ubp_* variables and
12325 parameters. Remove argv definitions conditional on
12326 [__BOUNDED_POINTERS__].
12327 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12328 * elf/dl-runtime.c (_dl_fixup): Likewise.
12329 * include/set-hooks.h (RUN_HOOK): Likewise.
12330 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12331 definition.
12332 * string/strcpy.c (strcpy): Do not use __unbounded.
12333 * sysdeps/generic/frame.h (struct layout): Likewise.
12334 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12335 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12336 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12337 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12338 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12339 (__backtrace): Likewise.
12340 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12341 use __ptrvalue.
12342 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12343 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12344 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12345 Likewise.
12346 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12347 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12348 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12349 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12350 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12351 Do not use __unbounded.
12352 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12353 Rename __unboundedrlimits parameter to rlimits in prototype.
12354 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12355 Do not use __unbounded.
12356 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12357 not use __ptrvalue.
12358 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12359 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12360 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12361 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12362 __ptrvalue or __unbounded.
12363 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12364 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12365 use __unbounded.
12366 (__new_msgctl): Do not use __ptrvalue.
12367 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12368 __unbounded.
12369 (__libc_msgrcv): Do not use __ptrvalue.
12370 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12371 startup_info): Do not use __unbounded.
12372 (__libc_start_main): Likewise. Rename ubp_* variables and
12373 parameters. Remove argv definitions conditional on
12374 [__BOUNDED_POINTERS__].
12375 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12376 __ptrvalue.
12377 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12378 use __unbounded.
12379 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12380 or __ptrvalue.
12381 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12382 use __unbounded.
12383 (__new_shmctl): Do not use __ptrvalue.
12384 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12385 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12386 Likewise.
12387 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12388 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12389 (__libc_sigaction): Likewise.
12390 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12391 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12392 Likewise.
12393 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12394
123952013-02-13 Ondřej Bílka <neleai@seznam.cz>
12396
12397 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12398
12399 * string/mempcpy.c: Implement by calling memcpy.
12400
124012013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12402
12403 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12404
12405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12406 evaluation.
12407
12408 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12409 values in the mantissa.
12410
12411 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12412 minimize writes to Z.
12413 (sub_magnitudes): Simplify code a bit.
12414
124152013-02-12 Roland McGrath <roland@hack.frob.com>
12416
12417 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12418 from the message. The linker prefixes all warnings with that already.
12419
124202013-02-12 Andreas Schwab <schwab@suse.de>
12421
12422 [BZ #15078]
12423 * posix/regexec.c (extend_buffers): Add parameter min_len.
12424 (check_matching): Pass minimum needed length.
12425 (clean_state_log_if_needed): Likewise.
12426 (get_subexp): Likewise.
12427 * posix/Makefile (tests): Add bug-regex34.
12428 (bug-regex34-ENV): Define.
12429 * posix/bug-regex34.c: New file.
12430
12431 [BZ #11561]
12432 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12433 elements compare against the byte sequence of it, not its name.
12434 * posix/Makefile (tests): Add bug-regex35.
12435 (bug-regex35-ENV): Define.
12436 * posix/bug-regex35.c: New file.
12437
124382013-02-11 Tom de Vries <tom@codesourcery.com>
12439
12440 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12441 comment.
12442 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12443 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12444 (CHECK_EOL): Add undef.
12445
124462013-02-11 Ondřej Bílka <neleai@seznam.cz>
12447
12448 * bits/stdlib-bsearch.h: New file.
12449 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12450 * stdlib/stdlib.h: Likewise.
12451
124522013-02-11 Roland McGrath <roland@hack.frob.com>
12453
12454 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12455 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12456 declaration.
12457 * manual/search.texi (Array Search Function): Add missing const in
12458 lfind prototype.
12459 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12460 declaration to use rlim_t.
12461 (Basic Scheduling Functions): Remove erroneous const from
12462 sched_getparam prototype. Remove erroneous * from
12463 sched_get_priority_max and sched_get_priority_min prototypes.
12464 (Resource Usage): Fix summary @comment on vtimes to refer to
12465 sys/vtimes.h rather than vtimes.h.
12466 Add missing *s in vtimes prototype.
12467 (Limits on Resources): Fix ulimit prototype to return long int.
12468 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12469 prototypes to use long int rather than double.
12470 (BSD Random): Fix initstate and setstate to use char *, not void *.
12471 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12472 prototype to make second argument 'struct aiocb64 *const[]'.
12473 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12474 (Status of AIO Operations): Remove erroneous const in aio_return and
12475 aio_return64 prototypes.
12476 (Synchronizing I/O): Fix sync prototype to return void.
12477 * manual/startup.texi (Suboptions): Remove an erroneous const in
12478 getsubopt prototype.
12479 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12480 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12481 use size_t rather than int.
12482 (Scanning All Users): Likewise for getpwent_r.
12483 (Setting Groups): Add missing const to setgroups prototype.
12484 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12485 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12486 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12487 'const void *' rather than 'const char *'.
12488 (Host Address Functions): Likewise for inet_ntop.
12489 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12490 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12491 ssize_t for return value.
12492 (Sending Data): Likewise for send, sendto, sendmsg.
12493 (Socket Option Functions): Add a missing const in setsockopt prototype.
12494 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12495 use wchar_t for the argument.
12496 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12497 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12498 take no arguments.
12499 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12500 double/float/long double for second argument.
12501 Fix return types of significand, significandf, significandl.
12502 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12503 argument in fchmod prototype.
12504 (File Owner): Use uid_t and gid_t in fchown prototype.
12505 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12506 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12507 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12508 use 'const struct dirent **' as argument types to CMP function pointer
12509 argument.
12510 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12511 (File Times): Fix summary magic @comment for struct utimbuf and utime
12512 to refer to utime.h, not time.h.
12513 * manual/string.texi (Argz Functions): Add missing const in
12514 argz_extract and argz_next prototypes.
12515 (Finding Tokens in a String): Likewise for basename.
12516 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12517 (Copying and Concatenation): Fix typo in wmemmove prototype.
12518 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12519 (Signal Stack): Remove erroneous const in sigstack prototype.
12520 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12521 prototype.
12522 (Simple Calendar Time): Likewise for stime.
12523 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12524 prototype.
12525 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12526 say sys/sysctl.h instead.
12527 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12528 and vsyslog prototypes.
12529
125302013-02-11 Tom de Vries <tom@codesourcery.com>
12531
12532 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12533 Remove.
12534
125352013-02-11 Roland McGrath <roland@hack.frob.com>
12536
12537 * misc/sys/mman.h: Fix typo in mremap comment.
12538
125392013-02-08 Roland McGrath <roland@hack.frob.com>
12540
12541 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12542 the '\0' terminator.
12543
125442013-02-08 Joseph Myers <joseph@codesourcery.com>
12545
12546 [BZ #13550]
12547 * debug/segfault.c: Don't include <bp-checks.h>.
12548 * sysdeps/generic/bp-checks.h: Remove file.
12549 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12550 (__GETDENTS): Don't use CHECK_N.
12551 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12552 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12553 (__getgroups): Don't use CHECK_N.
12554 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12555 (setgroups): Don't use CHECK_N.
12556 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12557 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12558 (__libc_msgrcv): Don't use CHECK_N.
12559 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12560 (__libc_msgsnd): Don't use CHECK_N.
12561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12562 <bp-checks.h>.
12563 (__libc_pread): Don't use CHECK_N.
12564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12565 include <bp-checks.h>.
12566 (__libc_pread64): Don't use CHECK_N.
12567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12568 include <bp-checks.h>.
12569 (__libc_pwrite): Don't use CHECK_N.
12570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12571 include <bp-checks.h>.
12572 (__libc_pwrite64): Don't use CHECK_N.
12573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12574 <bp-checks.h>.
12575 (__libc_pread): Don't use CHECK_N.
12576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12577 include <bp-checks.h>.
12578 (__libc_pread64): Don't use CHECK_N.
12579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12580 include <bp-checks.h>.
12581 (__libc_pwrite): Don't use CHECK_N.
12582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12583 include <bp-checks.h>.
12584 (__libc_pwrite64): Don't use CHECK_N.
12585 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12586 (do_pread): Don't use CHECK_N.
12587 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12588 (do_pread64): Don't use CHECK_N.
12589 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12590 (do_pwrite): Don't use CHECK_N.
12591 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12592 (do_pwrite64): Don't use CHECK_N.
12593 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12594 (__libc_readv): Don't use CHECK_N.
12595 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12596 (semop): Don't use CHECK_N.
12597 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12598 <bp-checks.h>.
12599 (semtimedop): Don't use CHECK_N.
12600 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12601 (__libc_pread): Don't use CHECK_N.
12602 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12603 <bp-checks.h>.
12604 (__libc_pread64): Don't use CHECK_N.
12605 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12606 <bp-checks.h>.
12607 (__libc_pwrite): Don't use CHECK_N.
12608 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12609 <bp-checks.h>.
12610 (__libc_pwrite64): Don't use CHECK_N.
12611 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12612 <bp-checks.h>.
12613 (__libc_msgrcv): Don't use CHECK_N.
12614 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12615 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12616 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12617 (__libc_writev): Don't use CHECK_N.
12618
126192013-02-08 Roland McGrath <roland@hack.frob.com>
12620
12621 * string/strcpy.c: Removed unused variable.
12622
12623 * Makeconfig (+sysdep-includes): Define with := rather than =.
12624 Use an existing include/ subdir of each sysdeps dir before it.
12625
126262013-02-08 Carlos O'Donell <carlos@redhat.com>
12627
12628 * nscd/connection.c (register_traced_file): Comment function.
12629 [HAVE_INOTIFY] (union __inev): Define.
12630 [HAVE_INOTIFY] (inotify_check_files): New function.
12631 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12632 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12633 clear_db_cache.
12634 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12635
126362013-02-08 Carlos O'Donell <carlos@redhat.com>
12637
12638 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12639 loaded if not already and that a failure is permanent.
12640
126412013-02-08 Carlos O'Donell <carlos@redhat.com>
12642
12643 [BZ #15006]
12644 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12645 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12646
126472013-02-08 Joseph Myers <joseph@codesourcery.com>
12648
12649 [BZ #13550]
12650 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12651 (CHECK_1_NULL_OK): Likewise.
12652 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12653 (__fxstat): Do not use CHECK_1.
12654 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12655 <bp-checks.h>.
12656 (___fxstat64): Do not use CHECK_1.
12657 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12658 <bp-checks.h>.
12659 (__fxstatat): Do not use CHECK_1.
12660 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12661 <bp-checks.h>.
12662 (__fxstatat64): Do not use CHECK_1.
12663 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12664 <bp-checks.h>.
12665 (__fxstat): Do not use CHECK_1.
12666 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12667 <bp-checks.h>.
12668 (__fxstatat): Do not use CHECK_1.
12669 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12670 <bp-checks.h>.
12671 (__getresgid): Do not use CHECK_1.
12672 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12673 <bp-checks.h>.
12674 (__getresuid): Do not use CHECK_1.
12675 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12676 <bp-checks.h>.
12677 (__lxstat): Do not use CHECK_1.
12678 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12679 <bp-checks.h>.
12680 (__old_msgctl): Do not use CHECK_1.
12681 (__new_msgctl): Likewise.
12682 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12683 <bp-checks.h>.
12684 (__new_setrlimit): Do not use CHECK_1.
12685 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12686 <bp-checks.h>.
12687 (__old_shmctl): Do not use CHECK_1.
12688 (__new_shmctl): Likewise.
12689 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12690 <bp-checks.h>.
12691 (__xstat): Do not use CHECK_1.
12692 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12693 (__lxstat): Do not use CHECK_1.
12694 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12695 <bp-checks.h>.
12696 (___lxstat64): Do not use CHECK_1.
12697 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12698 (__old_msgctl): Do not use CHECK_1.
12699 (__new_msgctl): Likewise.
12700 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12701 <bp-checks.h>.
12702 (__gettimeofday): Do not use CHECK_1.
12703 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12704 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12705 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12706 <bp-checks.h>.
12707 (__gettimeofday): Do not use CHECK_1.
12708 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12709 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12710 (__new_shmctl): Do not use CHECK_1.
12711 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12712 <bp-checks.h>.
12713 (do_sigtimedwait): Do not use CHECK_1.
12714 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12715 <bp-checks.h>.
12716 (do_sigwaitinfo): Do not use CHECK_1.
12717 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12718 <bp-checks.h>.
12719 (msgctl): Do not use CHECK_1.
12720 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12721 <bp-checks.h>.
12722 (shmctl): Do not use CHECK_1.
12723 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12724 (ustat): Do not use CHECK_1.
12725 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12726 <bp-checks.h>.
12727 (__fxstat): Do not use CHECK_1.
12728 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12729 <bp-checks.h>.
12730 (__fxstatat): Do not use CHECK_1.
12731 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12732 <bp-checks.h>.
12733 (__lxstat): Do not use CHECK_1.
12734 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12735 <bp-checks.h>.
12736 (__xstat): Do not use CHECK_1.
12737 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12738 (__xstat): Do not use CHECK_1.
12739 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12740 (___xstat64): Do not use CHECK_1.
12741
12742 [BZ #13550]
12743 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12744 definitions.
12745 (CHECK_BOUNDS_HIGH): Likewise.
12746 * string/strcpy.c: Do not include <bp-checks.h>.
12747 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12748
127492013-02-07 Roland McGrath <roland@hack.frob.com>
12750
12751 * nscd/nscd-client.h (__nscd_drop_map_ref):
12752 Add __attribute__ ((unused)).
12753 * nis/nss-nisplus.h (niserr2nss): Likewise.
12754
12755 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12756 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12757
12758 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12759 Remove inline keyword.
12760 * include/rounding-mode.h (round_away): Likewise.
12761 * libio/wfileops.c (adjust_wide_data): Likewise.
12762 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12763 (__m128i_strloadu_tolower): Likewise.
12764 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12765 (__m128i_strloadu_tolower): Likewise.
12766 * time/mktime.c (ydhms_diff): Likewise.
12767 * locale/elem-hash.h (elem_hash): Likewise.
12768 * locale/setlocale.c (setdata): Likewise.
12769 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12770 (re_string_wchar_at): Likewise.
12771 (bitset_not, bitset_merge, bitset_mask): Likewise.
12772 [!(__GNUC__ > 3)] (inline): Remove macro.
12773 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12774 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12775 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12776 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12777 * string/memcmp.c (memcmp_bytes): Likewise.
12778 * locale/programs/locarchive.c (compute_hashval): Likewise.
12779 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12780 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12781 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12782 * nss/getent.c (print_rpc, print_protocols): Likewise.
12783 (print_passwd, print_group, print_aliases): Likewise.
12784 * nis/nss-nisplus.h (niserr2nss): Likewise.
12785 * nscd/connections.c (restart_p): Likewise.
12786 Change return type to bool.
12787
127882013-02-05 Roland McGrath <roland@hack.frob.com>
12789
12790 * Makeconfig (all-Depend-files): Add existing
12791 $(sorted-subdirs:=/Depend) files.
12792 (all-subdirs): Remove nss.
12793 * sysdeps/unix/inet/Subdirs: Add it here instead.
12794 * hesiod/Depend: New file.
12795
12796 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12797 instead of calling alloca.
12798
12799 * io/lseek.c (__lseek): Rename to __libc_lseek.
12800 Define __lseek as an alias.
12801
12802 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12803
128042013-02-04 Carlos O'Donell <carlos@redhat.com>
12805
12806 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12807 else clause and remove check for non-standard endianness.
12808
128092013-02-04 David S. Miller <davem@davemloft.net>
12810
12811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12812
128132013-02-04 Joseph Myers <joseph@codesourcery.com>
12814
12815 [BZ #13550]
12816 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12817 (__ubp_memchr): Remove prototype.
12818 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12819 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12820 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12821 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12822 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12823 Remove alias.
12824 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12825 (__ubp_memchr): Likewise.
12826 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12827 (__ubp_memchr): Likewise.
12828 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12829 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12830 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12831 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12832 CHECK_STRING.
12833 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12834 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12835 (__getcwd): Do not use CHECK_STRING.
12836 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12837 <bp-checks.h>.
12838 (__real_chown): Do not use CHECK_STRING.
12839 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12840 <bp-checks.h>.
12841 (fchownat): Do not use CHECK_STRING.
12842 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12843 CHECK_STRING.
12844 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12845 <bp-checks.h>.
12846 (__lchown): Do not use CHECK_STRING.
12847 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12848 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12849 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12850 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12852 include <bp-checks.h>.
12853 (truncate64): Do not use CHECK_STRING.
12854 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12855 <bp-checks.h>.
12856 (__real_chown): Do not use CHECK_STRING.
12857 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12858 <bp-checks.h>.
12859 (__lchown): Do not use CHECK_STRING.
12860 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12861 <bp-checks.h>.
12862 (__chown): Do not use CHECK_STRING.
12863 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12864 <bp-checks.h>.
12865 (truncate64): Do not use CHECK_STRING.
12866 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12867 Likewise.
12868 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12869 (__xmknod): Do not use CHECK_STRING.
12870 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12871 <bp-checks.h>.
12872 (__xmknodat): Do not use CHECK_STRING.
12873 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12874 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12875
128762013-02-04 Andreas Schwab <schwab@suse.de>
12877
12878 [BZ #14142]
12879 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12880 * include/netdb.h: Likewise for h_errno.
12881 * elf/tst-stackguard1.c: Include <tls.h>.
12882
128832013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12884
12885 * elf/link.h (struct link_map): Extend the l_addr comment.
12886 * include/link.h (struct link_map): Likewise.
12887
128882013-02-01 Joseph Myers <joseph@codesourcery.com>
12889
12890 [BZ #13550]
12891 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12892 (BOUNDED_1): Remove macro.
12893 * debug/backtrace.c: Don't include <bp-checks.h>.
12894 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12895 (__backtrace): Likewise.
12896 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12897 <bp-checks.h>.
12898 (__backtrace): Don't use BOUNDED_1.
12899 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12900 <bp-checks.h>.
12901 (__backtrace): Don't use BOUNDED_1.
12902 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12903 (__backtrace): Don't use BOUNDED_1.
12904 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12905 (shmat): Don't use BOUNDED_N.
12906
129072013-01-31 Joseph Myers <joseph@codesourcery.com>
12908
12909 [BZ #13550]
12910 * sysdeps/generic/bp-start.h: Remove file.
12911 * csu/libc-start.c: Don't include <bp-start.h>.
12912 (LIBC_START_MAIN): Set up __environ directly instead of using
12913 INIT_ARGV_and_ENVIRON.
12914 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12915 <bp-start.h>.
12916
12917 [BZ #13550]
12918 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12919 definitions.
12920 (CHECK_FCNTL): Likewise.
12921 (CHECK_N_PAGES): Likewise.
12922
12923 [BZ #13550]
12924 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12925 definitions.
12926 (CHECK_SIGSET_NULL_OK): Likewise.
12927 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12928 <bp-checks.h>.
12929 (sigpending): Don't use CHECK_SIGSET.
12930 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12931 <bp-checks.h>.
12932 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12933 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12934 <bp-checks.h>.
12935 (do_sigsuspend): Don't use CHECK_SIGSET.
12936 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12937 use CHECK_SIGSET.
12938 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12939 (do_sigwait): Don't use CHECK_SIGSET.
12940 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12941 use CHECK_SIGSET.
12942 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12943 include <bp-checks.h>.
12944 (sigpending): Don't use CHECK_SIGSET.
12945 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12946 include <bp-checks.h>.
12947 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12948 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12949 <bp-checks.h>.
12950 (sigpending): Don't use CHECK_SIGSET.
12951 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12952 <bp-checks.h>.
12953 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12954
12955 [BZ #13550]
12956 * sysdeps/generic/bp-semctl.h: Remove file.
12957 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12958 <bp-checks.h> and <bp-semctl.h>.
12959 (__old_semctl): Don't use CHECK_SEMCTL.
12960 (__new_semctl): Likewise.
12961 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12962 and <bp-semctl.h>.
12963 (__old_semctl): Don't use CHECK_SEMCTL.
12964 (__new_semctl): Likewise.
12965 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12966 <bp-checks.h> and <bp-semctl.h>.
12967 (__old_semctl): Don't use CHECK_SEMCTL.
12968 (__new_semctl): Likewise.
12969 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12970 <bp-checks.h> and <bp-semctl.h>.
12971 (semctl): Don't use CHECK_SEMCTL.
12972
12973 [BZ #13550]
12974 * Makerules (elide-bp-thunks): Remove variable.
12975 (elide-routines.oS): Don't use $(elide-bp-thunks).
12976 (elide-routines.os): Likewise.
12977 (elide-routines.o): Likewise.
12978 (elide-routines.op): Likewise.
12979 (elide-routines.og): Likewise.
12980 (objects): Don't use $(bp-thunks).
12981 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12982 include.
12983 (common-generated): Do not add s-proto-bp.d.
12984 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12985 (int): Likewise.
12986 (typ): Likewise.
12987 Do not generate makefile rules for bounded-pointer thunks.
12988 * sysdeps/generic/bp-thunks.h: Remove file.
12989 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12990 * sysdeps/unix/s-proto-bp.S: Likewise.
12991
12992 [BZ #15062]
12993 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12994 parts of result separately when argument is not close to line from
12995 -i to i and one part of argument is small.
12996 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12997 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12998 * math/libm-test.inc (cacos_test): Add more tests.
12999 (casin_test): Likewise.
13000 (casinh_test): Likewise.
13001 * sysdeps/i386/fpu/libm-test-ulps: Update.
13002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13003
130042013-01-31 David S. Miller <davem@davemloft.net>
13005
13006 * po/de.po: Update from translation team.
13007
130082013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13009
13010 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13011
130122013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13013
13014 * configure.in (_AC_PROG_CC_C89): New definition.
13015 * configure: Regenerate.
13016
13017 * configure.in (AC_PROG_CPP): New definition.
13018 * configure: Regenerate.
13019
130202013-01-23 Joseph Myers <joseph@codesourcery.com>
13021
13022 * debug/tst-backtrace.h: New file.
13023 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13024 (ret): Remove variable.
13025 (x): Likewise.
13026 (FAIL): Remove macro.
13027 (NO_INLINE): Likewise.
13028 (fn1): Use match function instead of strstr.
13029 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13030 (ret): Remove variable.
13031 (x): Likewise.
13032 (FAIL): Remove macro.
13033 (NO_INLINE): Likewise.
13034 (fn): Use match function instead of strstr.
13035 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13036 (ret): Remove variable.
13037 (x): Likewise.
13038 (FAIL): Remove macro.
13039 (NO_INLINE): Likewise.
13040 (handle_signal): Use match function instead of strstr.
13041 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13042 (ret): Remove variable.
13043 (x): Likewise.
13044 (FAIL): Remove macro.
13045 (NO_INLINE): Likewise.
13046 (handle_signal): Use match function instead of strstr.
13047
130482013-01-23 Roland McGrath <roland@hack.frob.com>
13049
13050 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13051
130522013-01-23 David S. Miller <davem@davemloft.net>
13053
13054 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13055 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13056 argument of CAS if possible.
13057 * sysdeps/sparc/sparc64/bits/atomic.h
13058 (__arch_compare_and_exchange_val_32_acq): Likewise.
13059 (__arch_compare_and_exchange_val_64_acq): Likewise.
13060
130612013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13062
13063 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13064 * sysdeps/posix/ulimit.c: ... this.
13065 Include <limits.h>.
13066 * sysdeps/unix/bsd/ulimit.c: Remove file.
13067
130682013-01-23 Adam Conrad <adconrad@0c3.net>
13069
13070 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13071 (LDFLAGS-tst-array5): Likewise.
13072
130732013-01-23 Joseph Myers <joseph@codesourcery.com>
13074
13075 [BZ #15036]
13076 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13077 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13078 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13079 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13080
130812013-01-21 David S. Miller <davem@davemloft.net>
13082
13083 * sysdeps/sparc/backtrace.c: New file.
13084 * sysdeps/sparc/sparc32/backtrace.h: New file.
13085 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13086 * sysdeps/sparc/sparc64/backtrace.h: New file.
13087 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13088 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13089 -funwind-tables.
13090
130912013-01-21 Andreas Schwab <schwab@suse.de>
13092
13093 [BZ #15020]
13094 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13095 closed its stdout.
13096
130972013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13098
13099 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13100 "mpa2.h".
13101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13102
131032013-01-18 Joseph Myers <joseph@codesourcery.com>
13104 Mark Mitchell <mark@codesourcery.com>
13105 Tom de Vries <tom@codesourcery.com>
13106 Paul Pluzhnikov <ppluzhnikov@google.com>
13107
13108 * debug/tst-backtrace2.c: New file.
13109 * debug/tst-backtrace3.c: Likewise.
13110 * debug/tst-backtrace4.c: Likewise.
13111 * debug/tst-backtrace5.c: Likewise.
13112 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13113 (CFLAGS-tst-backtrace3.c): Likewise.
13114 (CFLAGS-tst-backtrace4.c): Likewise.
13115 (CFLAGS-tst-backtrace5.c): Likewise.
13116 (LDFLAGS-tst-backtrace2): Likewise.
13117 (LDFLAGS-tst-backtrace3): Likewise.
13118 (LDFLAGS-tst-backtrace4): Likewise.
13119 (LDFLAGS-tst-backtrace5): Likewise.
13120 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13121 tst-backtrace4 and tst-backtrace5.
13122
131232013-01-18 Anton Blanchard <anton@samba.org>
13124 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13125
13126 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13127 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13128 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13129 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13131 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13132 "+r" and remove output regs list as redundant. Add explicit inline
13133 asm to specify register of return val to work around compiler codegen
13134 bug. Remove (int) cast on return value. Add return type parameter to
13135 use in macro so that this macro does not truncate return value for
13136 64-bit values.
13137 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13138 pass to INTERNAL_VSYSCALL_NCS.
13139 (INLINE_VSYSCALL): Add 'long int' as return type to
13140 INTERNAL_VSYSCALL_NCS macro invocation.
13141 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13142 INTERNAL_VSYSCALL_NCS macro invocation.
13143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13144
131452013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13146
13147 [BZ #14496]
13148 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13149 Fix application of SIMD FP exception mask.
13150
13151 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13152 mp_no from a power of two.
13153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13154 __mpexp_twomm1. Use __pow_mp.
13155
13156 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13157 multiplication.
13158
131592013-01-17 David S. Miller <davem@davemloft.net>
13160
13161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13162
131632013-01-17 Joseph Myers <joseph@codesourcery.com>
13164
13165 [BZ #15023]
13166 * include/complex.h: Condition contents on [!_COMPLEX_H].
13167 (__kernel_casinhf): New prototype.
13168 (__kernel_casinh): Likewise.
13169 (__kernel_casinhl): Likewise.
13170 * math/Makefile (libm_calls): Add k_casinh.
13171 * math/k_casinh.c: New file.
13172 * math/k_casinhf.c: Likewise.
13173 * math/k_casinhl.c: Likewise.
13174 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13175 finite nonzero arguments.
13176 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13177 finite nonzero arguments.
13178 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13179 finite nonzero arguments.
13180 * math/s_casinh.c: Do not include <float.h>.
13181 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13182 * math/s_casinhf.c: Do not include <float.h>.
13183 (__casinhf): Move code for finite nonzero arguments to
13184 k_casinhf.c.
13185 * math/s_casinhl.c: Do not include <float.h>.
13186 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13187 redefine.
13188 (__casinhl): Move code for finite nonzero arguments to
13189 k_casinhl.c.
13190 * math/libm-test.inc (cacos_test): Add more tests.
13191 * sysdeps/i386/fpu/libm-test-ulps: Update.
13192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13193
131942013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13195
13196 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13197 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13198 [!HAVE_MREMAP]: Remove [defined linux] case.
13199 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13200
132012013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13202
13203 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13204
132052013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13206
13207 * elf/elf.h (R_386_SIZE32): New relocation.
13208 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13209 R_386_SIZE32.
13210 (elf_machine_rela): Likewise.
13211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13212 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13213
132142013-01-17 Joseph Myers <joseph@codesourcery.com>
13215
13216 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13217 (FP_FAST_FMA): Do not define.
13218 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13219 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13220 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13221 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13222 !_SOFT_FLOAT]: Likewise.
13223 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13224 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13225 value.
13226 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13227 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13228 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13229 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13230 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13231 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13232 file.
13233
132342013-01-16 Andreas Schwab <schwab@suse.de>
13235
13236 [BZ #14327]
13237 * include/stdlib.h (__mktemp): Add declaration.
13238 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13239 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13240
132412013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13242
13243 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13244 definitions.
13245 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13246 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13247 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13248 definitions here.
13249 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13250 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13251 definitions.
13252 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13253 and ONE.
13254 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13255 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13256 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13257 definitions.
13258 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13259 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13260 definitions.
13261 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13262
13263 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13264
132652013-01-15 David S. Miller <davem@davemloft.net>
13266
13267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13268 trunc{,f} to libm-sysdep_routes.
13269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13271 file.
13272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13274 file.
13275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13276 file.
13277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13279 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13280 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13281 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13282 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13283 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13284 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13285
13286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13287 nearbyint{,f} to libm-sysdep_routes.
13288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13290 New file.
13291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13292 file.
13293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13294 New file.
13295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13296 file.
13297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13299 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13300 file.
13301 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13302 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13303 file.
13304 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13305 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13306 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13307
13308 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13309 libc_feholdexcept and libc_fesetenv.
13310
133112013-01-15 Mike Frysinger <vapier@gentoo.org>
13312
13313 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13314
133152013-01-14 David S. Miller <davem@davemloft.net>
13316
13317 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13318 (SPARC_ASM_VIS2_IFUNC): Likewise.
13319 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13321 use of 'siam' instruction.
13322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13323 Likewise.
13324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13325 Likewise.
13326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13327 Likewise.
13328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13333 file.
13334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13335 file.
13336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13337 file.
13338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13339 file.
13340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13345 new VIS2 routines.
13346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13349 Likewise.
13350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13355 routines to libm-sysdep_routines.
13356 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13357
13358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13359 fdim/fdimf to libm-sysdep_routines.
13360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13361 file.
13362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13364 file.
13365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13368 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13369 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13370 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13371 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13372
133732013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13374
13375 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13376 to optimize copies.
13377
13378 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13381
13382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13383 local variable MPTWO.
13384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13385 Likewise.
13386
133872013-01-13 Mike Frysinger <vapier@gentoo.org>
13388
13389 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13390 GLOB_NOESCAPE.
13391
133922013-01-13 Mike Frysinger <vapier@gentoo.org>
13393
13394 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13395
133962013-01-13 Mike Frysinger <vapier@gentoo.org>
13397
13398 * manual/pattern.texi (glob_t): Document gl_flags.
13399 (glob64_t): Likewise.
13400
134012013-01-11 David S. Miller <davem@davemloft.net>
13402
13403 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13404 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13405 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13406 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13407 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13408 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13409 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13410 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13411 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13412 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13413 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13414 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13415 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13416
13417 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13418 sparc V9 rather than using V8 code.
13419 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13420 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13421
13422 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13423 Move to...
13424 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13425 Here.
13426
134272013-01-11 Roland McGrath <roland@hack.frob.com>
13428
13429 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13430 not in the main loop.
13431 * configure: Regenerated.
13432
134332013-01-11 Joseph Myers <joseph@codesourcery.com>
13434
13435 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13436 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13437 to just #else.
13438 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13439 [!__GLIBC_HAVE_LONG_LONG] case.
13440 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13441 condition to just #else.
13442 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13443 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13444 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13445 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13446 unconditional.
13447 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13448 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13449 #elif condition to just #else.
13450 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13451 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13452 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13453 #elif condition to just #else.
13454
134552013-01-11 Steve Ellcey <sellcey@mips.com>
13456
13457 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13458 (EF_MIPS_ARCH_64): Fix value.
13459 (EF_MIPS_ARCH_32R2): New.
13460 (EF_MIPS_ARCH_64R2): New.
13461
134622013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13463
13464 * Makeconfig (+link-pie-before-libc): New.
13465 (+link-pie-after-libc): Likewise.
13466 (+link-pie-tests): Likewise.
13467 (+link-pie): Rewritten.
13468 (link-before-libc): Remove $(config-LDFLAGS).
13469 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13470 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13471 (config-LDFLAGS): Renamed to ...
13472 (rtld-LDFLAGS): This.
13473 (rtld-tests-LDFLAGS): New macro.
13474 (link-libc-rpath-link): Likewise.
13475 (link-libc-tests-rpath-link): Likewise.
13476 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13477 (link-libc): Prepand $(link-libc-rpath-link).
13478 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13479 (test-program-prefix): New macro.
13480 (test-via-rtld-prefix): Likewise.
13481 (test-program-cmd): Likewise.
13482 (host-test-program-cmd): Likewise.
13483 * Makefile ($(common-objpfx)testrun.sh): Replace
13484 $(run-program-prefix) with $(test-program-prefix).
13485 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13486 $(rtld-LDFLAGS).
13487 ($(common-objpfx)shlib.lds): Likewise.
13488 (build-module-helper): Likewise.
13489 ($(common-objpfx)format.lds): Likewise.
13490 * Rules (binaries-pie-tests): New.
13491 (binaries-pie-notests): Likewise.
13492 (binaries-pie): Rewritten.
13493 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13494 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13495 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13496 (make-test-out): Replace $(host-built-program-cmd) with
13497 $(host-test-program-cmd).
13498 * config.make.in (build-hardcoded-path-in-tests): New variable.
13499 * configure.in (--enable-hardcoded-path-in-tests): New configure
13500 option.
13501 (hardcoded_path_in_tests): New AC_SUBST.
13502 * configure: Regenerated.
13503 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13504 $(built-program-cmd) with $(test-program-cmd).
13505 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13506 (test_program_cmd): This.
13507 * elf/Makefile ($(objpfx)order.out): Run test with
13508 $(test-program-prefix).
13509 ($(objpfx)order2.out): Likewise.
13510 ($(objpfx)tst-initorder.out): Likewise.
13511 ($(objpfx)tst-initorder2.out): Likewise.
13512 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13513 $(test-program-cmd).
13514 ($(objpfx)tst-array1-static.out): Likewise.
13515 ($(objpfx)tst-array2.out): Likewise.
13516 ($(objpfx)tst-array3.out): Likewise.
13517 ($(objpfx)tst-array4.out): Likewise.
13518 ($(objpfx)tst-array5.out): Likewise.
13519 ($(objpfx)tst-array5-static.out): Likewise.
13520 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13521 $(test-program-cmd).
13522 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13523 $(run-program-prefix) with $(test-program-prefix).
13524 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13525 (test_program_prefix): This.
13526 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13527 $(run-program-prefix) with $(test-program-prefix).
13528 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13529 (test_program_prefix): This.
13530 * iconvdata/tst-tables.sh: Likewise.
13531 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13532 $(run-program-prefix) with $(test-program-prefix).
13533 ($(objpfx)tst-translit.out): Likewise.
13534 ($(objpfx)tst-gettext2.out): Likewise.
13535 ($(objpfx)tst-gettext4.out): Likewise.
13536 ($(objpfx)tst-gettext6.out): Likewise.
13537 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13538 (test_program_prefix): This.
13539 * intl/tst-gettext2.sh: Likewise.
13540 * intl/tst-gettext4.sh Likewise.
13541 * intl/tst-gettext6.sh: Likewise.
13542 * intl/tst-translit.sh: Likewise.
13543 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13544 with $(test-program-cmd).
13545 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13546 $(run-program-prefix) with $(test-program-prefix).
13547 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13548 (test_program_prefix): This.
13549 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13550 $(run-program-prefix) with $(test-program-prefix).
13551 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13552 (test_program_prefix): This.
13553 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13554 * posix/Makefile ($(objpfx)globtest.out): Replace
13555 $(run-via-rtld-prefix) and $(test-wrapper) with
13556 $(test-program-prefix) and $(test-via-rtld-prefix).
13557 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13558 $(test-program-prefix).
13559 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13560 $(host-test-program-cmd).
13561 (tst-spawn-ARGS): Likewise.
13562 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13563 $(test-program-prefix).
13564 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13565 (test_via_rtld_prefix): This.
13566 (test_wrapper): Renamed to ...
13567 (test_program_prefix): This.
13568 (run_program_prefix): Replaced by test_program_prefix.
13569 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13570 (test_program_prefix): This.
13571 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13572 with $(host-test-program-cmd).
13573 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13574 $(run-program-prefix) with $(test-program-prefix).
13575 ($(objpfx)tst-printf.out): Likewise.
13576 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13577 $(test-program-cmd).
13578 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13579 (test_program_prefix): This.
13580 * stdio-common/tst-unbputc.sh: Likewise.
13581 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13582 $(run-program-prefix) with $(test-program-prefix).
13583 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13584 (test_program_prefix): This.
13585 * string/Makefile ($(objpfx)tst-svc.out): Replace
13586 $(built-program-cmd) with $(test-program-cmd).
13587
135882013-01-11 Andreas Jaeger <aj@suse.de>
13589
13590 [BZ #15003]
13591 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13592 value. Sync with Linux 3.7.
13593
135942013-01-10 David S. Miller <davem@davemloft.net>
13595
13596 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13597 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13598 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13599
136002013-01-10 Roland McGrath <roland@hack.frob.com>
13601
13602 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13603 never set.
13604 * configure: Regenerated.
13605
136062013-01-10 David S. Miller <davem@davemloft.net>
13607
13608 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13609 sparc V9 rather than using V8 code.
13610 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13611 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13612
136132013-01-10 Roland McGrath <roland@hack.frob.com>
13614
13615 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13616 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13617 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13618 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13619 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13620 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13621 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13622 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13623 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13624 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13625 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13626 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13627 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13628 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13629 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13630 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13631 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13632 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13633 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13634 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13635 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13636 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13637 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13638 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13639 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13640 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13641 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13642
136432013-01-10 David S. Miller <davem@davemloft.net>
13644
13645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13646
136472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13648
13649 * posix/Makefile (tests-static): New variable.
13650 (tests): Add $(tests-static).
13651 (tst-exec-static-ARGS): New variable.
13652 (tst-spawn-static-ARGS): Likewise.
13653 * posix/tst-exec-static.c: New file.
13654 * posix/tst-spawn-static.c: Likewise.
13655 * posix/tst-exec.c: Support run directly.
13656 * posix/tst-spawn.c: Likewise.
13657
136582013-01-10 Joseph Myers <joseph@codesourcery.com>
13659
13660 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13661 long.
13662 * math/bits/mathcalls.h (llrint): Likewise.
13663 (llround): Likewise.
13664 * stdlib/stdlib.h (struct drand48_data): Likewise.
13665 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13666 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13667 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13668 Likewise.
13669 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13670 Likewise.
13671 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13672 (elf_greg_t): Likewise.
13673 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13674 (__jmp_buf): Likewise.
13675 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13676 definitions.
13677 (llrint): Likewise, for all definitions.
13678 (llrintl): Likewise.
13679
13680 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13681 Remove [__GNUC__] condition.
13682 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13683 condition to just [__USE_ISOC99].
13684 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13685
136862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13687
13688 [BZ #14200]
13689 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13690 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13691 defined.
13692 (_POSIX_V6_ILP32_OFF32): Likewise.
13693 (_XBS5_ILP32_OFF32): Likewise.
13694 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13695 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13696
136972013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13698
13699 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13700
13701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13702 doubles __mpexp_twomm1. Adjust usage.
13703 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13704 Remove.
13705
137062013-01-10 Andreas Schwab <schwab@suse.de>
13707
13708 [BZ #14964]
13709 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13710 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13711
137122013-01-09 David S. Miller <davem@davemloft.net>
13713
13714 [BZ #15003]
13715 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13716 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13717 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13718 TCP_FASTOPEN): Define.
13719 (tcp_repair_opt): New structure.
13720 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13721 enum values.
13722 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13723 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13724 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13725 (tcp_cookie_transactions): New structure.
13726
137272013-01-09 Anton Blanchard <anton@samba.org>
13728
13729 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13730 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13731 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13732 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13733
137342013-01-09 Joseph Myers <joseph@codesourcery.com>
13735
13736 * include/features.h (__USE_ANSI): Remove.
13737
137382013-01-09 Roland McGrath <roland@hack.frob.com>
13739
13740 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13741
13742 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13743
137442013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13745
13746 * sysdeps/s390/fpu/libm-test-ulps: Update.
13747
13748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13749
13750 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13751 (__acr): Likewise.
13752 (__cpy): Likewise.
13753 (norm): Likewise.
13754 (denorm): Likewise.
13755 (__mp_dbl): Likewise.
13756 (__dbl_mp): Likewise.
13757 (add_magnitudes): Likewise.
13758 (sub_magnitudes): Likewise.
13759 (__add): Likewise.
13760 (__sub): Likewise.
13761 (__mul): Likewise.
13762 (__inv): Likewise.
13763 (__dvd): Likewise.
13764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13765 (__acr): Likewise.
13766 (__cpy): Likewise.
13767 (norm): Likewise.
13768 (denorm): Likewise.
13769 (__mp_dbl): Likewise.
13770 (__dbl_mp): Likewise.
13771 (add_magnitudes): Likewise.
13772 (sub_magnitudes): Likewise.
13773 (__add): Likewise.
13774 (__sub): Likewise.
13775 (__mul): Likewise.
13776 (__inv): Likewise.
13777 (__dvd): Likewise.
13778 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13779 (__acr): Likewise.
13780 (__cpy): Likewise.
13781 (norm): Likewise.
13782 (denorm): Likewise.
13783 (__mp_dbl): Likewise.
13784 (__dbl_mp): Likewise.
13785 (add_magnitudes): Likewise.
13786 (sub_magnitudes): Likewise.
13787 (__add): Likewise.
13788 (__sub): Likewise.
13789 (__mul): Likewise.
13790 (__inv): Likewise.
13791 (__dvd): Likewise.
13792
137932013-01-08 Joseph Myers <joseph@codesourcery.com>
13794
13795 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13796 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13797 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13798 2 && __USE_EXTERN_INLINES]: Likewise.
13799
138002013-01-08 Andreas Jaeger <aj@suse.de>
13801
13802 [BZ# 14985]
13803 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13804 Remove.
13805 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13806 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13807
138082013-01-07 Anton Blanchard <anton@samba.org>
13809
13810 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13811 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13812 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13813 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13814 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13815 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13816 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13817 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13819 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13820 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13821 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13822 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13823 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13824 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13825 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13826 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13827 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13828 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13829 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13830 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13831 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13833 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13834 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13835 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13836 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13837 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13838 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13839 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13840 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13842 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13843 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13844 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13845 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13846 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13847 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13848 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13849 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13850 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13851 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13852 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13853
138542013-01-07 Joseph Myers <joseph@codesourcery.com>
13855
13856 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13857 (__MALLOC_PMT): Likewise.
13858 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13859 [__GNUC__], only on [_LIBC].
13860 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13861 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13862 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13863 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13864 forward declaration.
13865 (realloc_hook_ini): Likewise.
13866 (memalign_hook_ini): Likewise.
13867 (__libc_memalign): Do not use __MALLOC_PMT in variable
13868 declaration.
13869 (__libc_valloc): Likewise.
13870 (__libc_pvalloc): Likewise.
13871 (__libc_calloc): Likewise.
13872 (__posix_memalign): Likewise.
13873
13874 [BZ #14996]
13875 * math/s_casinh.c: Include <float.h>.
13876 (__casinh): Do not do computation with squaring and square root
13877 for large arguments.
13878 * math/s_casinhf.c: Include <float.h>.
13879 (__casinhf): Do not do computation with squaring and square root
13880 for large arguments.
13881 * math/s_casinhl.c: Include <float.h>.
13882 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13883 (__casinhl): Do not do computation with squaring and square root
13884 for large arguments.
13885 * math/libm-test.inc (casin_test): Add more tests.
13886 (casinh_test): Likewise.
13887 * sysdeps/i386/fpu/libm-test-ulps: Update.
13888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13889
138902013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13891
13892 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13893 (__x86_64_raw_data_cache_size): Likewise.
13894 (__x86_64_data_cache_size_half): Likewise.
13895 (__x86_64_raw_data_cache_size_half): Likewise.
13896 (__x86_64_shared_cache_size): Likewise.
13897 (__x86_64_raw_shared_cache_size): Likewise.
13898 (__x86_64_shared_cache_size_half): Likewise.
13899 (__x86_64_raw_shared_cache_size_half): Likewise.
13900 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13901 to ...
13902 (__x86_data_cache_size): This.
13903 (__x86_64_raw_data_cache_size): Renamed to ...
13904 (__x86_raw_data_cache_size): This.
13905 (__x86_64_data_cache_size_half): Renamed to ...
13906 (__x86_data_cache_size_half): This.
13907 (__x86_64_raw_data_cache_size_half): Renamed to ...
13908 (__x86_raw_data_cache_size_half): This.
13909 (__x86_64_shared_cache_size): Renamed to ...
13910 (__x86_shared_cache_size): This.
13911 (__x86_64_raw_shared_cache_size): Renamed to ...
13912 (__x86_raw_shared_cache_size): This.
13913 (__x86_64_shared_cache_size_half): Renamed to ...
13914 (__x86_shared_cache_size_half): This.
13915 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13916 (__x86_raw_shared_cache_size_half): This.
13917 * sysdeps/x86_64/memcpy.S: Updated.
13918 * sysdeps/x86_64/memset.S: Likewise.
13919 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13920 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13921 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13922
139232013-01-04 David S. Miller <davem@davemloft.net>
13924
13925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13926
139272013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13928
13929 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13930 1 to avoid redefinition warning.
13931 (__USE_GNU): Don't define.
13932 (init_signaling_nan): Protoize.
13933
13934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13935
139362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13937
13938 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13940 (__cpymn): Likewise.
13941 (norm): Remove commented code.
13942 (denorm): Likewise.
13943 (__mp_dbl): Likewise.
13944 (__inv): Likewise.
13945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13946 (__cpymn): Likewise.
13947 (norm): Remove commented code.
13948 (denorm): Likewise.
13949 (__mp_dbl): Likewise.
13950 (__inv): Likewise.
13951
13952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13953 mp_no value for 1.0 and 2.0.
13954 (norm): Use RADIXI instead of radixi.d.
13955 (denorm): Likewise.
13956 (__mul): Use 0.0 instead of zero.d.
13957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13958 mp_no value for 1.0 and 2.0.
13959 (norm): Use RADIXI instead of radixi.d.
13960 (denorm): Likewise.
13961 (__mul): Use 0.0 instead of zero.d.
13962
139632013-01-04 Joseph Myers <joseph@codesourcery.com>
13964
13965 [BZ #14994]
13966 * math/s_casinh.c (__casinh): Reduce finite argument to first
13967 quadrant then set signs of results at the end.
13968 * math/s_casinhf.c (__casinhf): Likewise.
13969 * math/s_casinhl.c (__casinhl): Likewise.
13970 * math/libm-test.inc (casin_test): Add more tests.
13971 (casinh_test): Likewise.
13972 * sysdeps/i386/fpu/libm-test-ulps: Update.
13973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13974
139752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13976
13977 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13978
13979 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13980
13981 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13982 declarations.
13983 (denorm): Likewise.
13984 (__mp_dbl): Likewise.
13985 (__inv): Likewise.
13986
13987 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13988 and adjust the header comment.
13989
13990 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13991 variable name from declaration.
13992
139932013-01-03 H.J. Lu <hongjiu.lu@intel.com>
13994
13995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13996 Initialize COMMON_CPUID_INDEX_7 element.
13997 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13998 (CPUID_RTM): Likewise.
13999 (HAS_RTM): Likewise.
14000 (COMMON_CPUID_INDEX_7): New enum.
14001
140022013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14003
14004 [BZ #14981]
14005 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14006 size is zero, record memory as freed.
14007
140082013-01-03 Andreas Jaeger <aj@suse.de>
14009
14010 * po/ia.po: Add new Interlingua translation.
14011
140122012-01-03 Allan McRae <allan@archlinux.org>
14013
14014 * locale/programs/localedef.c: Fix description of '--posix' flag.
14015
140162013-01-02 Joseph Myers <joseph@codesourcery.com>
14017
14018 * NEWS: Update dates in second copyright notice.
14019 * README: Update copyright dates in example.
14020 * manual/libc.texinfo: Update copyright dates.
14021 * scripts/test-installation.pl: Update copyright date in --version
14022 output.
14023
14024 * hurd/ctty-input.c: Fix copyright notice formatting.
14025 * hurd/ctty-output.c: Likewise.
14026 * hurd/dtable.c: Likewise.
14027 * hurd/hurd-raise.c: Likewise.
14028 * hurd/hurdprio.c: Likewise.
14029 * hurd/msgportdemux.c: Likewise.
14030 * misc/sys/file.h: Likewise.
14031 * misc/sys/ioctl.h: Likewise.
14032 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14033 * sysdeps/mach/hurd/chdir.c: Likewise.
14034 * sysdeps/mach/hurd/fchdir.c: Likewise.
14035 * sysdeps/mach/hurd/rename.c: Likewise.
14036 * sysdeps/mach/hurd/rmdir.c: Likewise.
14037 * sysdeps/mach/hurd/seekdir.c: Likewise.
14038 * sysdeps/mach/hurd/setsid.c: Likewise.
14039 * sysdeps/posix/wait3.c: Likewise.
14040
14041 * All files with FSF copyright notices: Update copyright dates
14042 using scripts/update-copyrights.
14043 * intl/plural.c: Regenerated.
14044 * locale/programs/charmap-kw.h: Likewise.
14045 * locale/programs/locfile-kw.h: Likewise.
14046
140472013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14048
14049 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14050 four values.
14051
14052 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14053 calculation loop and add branch prediction.
14054
14055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14056 check access beyond bounds of m1np.
14057
14058 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14059 MPTWO.
14060 (__inv): Remove local variable MPTWO to use the global
14061 constant.
14062 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14063 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14064 variable MPTWO.
14065 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14066 MP3HALFS static const.
14067
140682013-01-01 David S. Miller <davem@davemloft.net>
14069
14070 * po/ca.po: Update from translation team.
14071
140722013-01-01 Joseph Myers <joseph@codesourcery.com>
14073
14074 * scripts/update-copyrights: New file.
14075 * Makeconfig: Reformat copyright notice.
14076 * ctype/ctype.h: Likewise.
14077 * debug/swprintf_chk.c: Likewise.
14078 * elf/dl-cache.c: Likewise.
14079 * elf/dl-debug.c: Likewise.
14080 * elf/dl-object.c: Likewise.
14081 * grp/initgroups.c: Likewise.
14082 * hurd/Makefile: Likewise.
14083 * hurd/hurd/signal.h: Likewise.
14084 * hurd/hurdfault.c: Likewise.
14085 * hurd/hurdioctl.c: Likewise.
14086 * hurd/hurdlookup.c: Likewise.
14087 * hurd/intr-msg.c: Likewise.
14088 * iconv/gconv_open.c: Likewise.
14089 * libio/swprintf.c: Likewise.
14090 * locale/lc-ctype.c: Likewise.
14091 * locale/nl_langinfo.c: Likewise.
14092 * mach/Machrules: Likewise.
14093 * mach/Makefile: Likewise.
14094 * malloc/obstack.h: Likewise.
14095 * manual/Makefile: Likewise.
14096 * manual/tsort.awk: Likewise.
14097 * misc/bits/stab.def: Likewise.
14098 * nis/nis_print_group_entry.c: Likewise.
14099 * nis/nis_table.c: Likewise.
14100 * nis/nss_compat/compat-pwd.c: Likewise.
14101 * nis/nss_compat/compat-spwd.c: Likewise.
14102 * po/Makefile: Likewise.
14103 * posix/fnmatch.c: Likewise.
14104 * posix/regex.h: Likewise.
14105 * resolv/Makefile: Likewise.
14106 * resolv/nss_dns/dns-network.c: Likewise.
14107 * resolv/res_hconf.c: Likewise.
14108 * scripts/gen-sorted.awk: Likewise.
14109 * soft-fp/soft-fp.h: Likewise.
14110 * stdio-common/printf.h: Likewise.
14111 * stdlib/monetary.h: Likewise.
14112 * stdlib/random.c: Likewise.
14113 * stdlib/random_r.c: Likewise.
14114 * sysdeps/generic/Makefile: Likewise.
14115 * sysdeps/gnu/Makefile: Likewise.
14116 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14119 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14124 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14126 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14127 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14128 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14129 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14130 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14131 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14132 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14133 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14135 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14136 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14137 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14139 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14140 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14141 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14142 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14143 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14144 * sysdeps/mach/hurd/errnos.awk: Likewise.
14145 * sysdeps/mach/hurd/fork.c: Likewise.
14146 * sysdeps/mach/hurd/getcwd.c: Likewise.
14147 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14148 * sysdeps/mach/hurd/mmap.c: Likewise.
14149 * sysdeps/mach/hurd/utimes.c: Likewise.
14150 * sysdeps/mach/hurd/xmknod.c: Likewise.
14151 * sysdeps/posix/profil.c: Likewise.
14152 * sysdeps/posix/readdir_r.c: Likewise.
14153 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14154 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14155 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14156 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14158 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14159 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14160 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14162 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14163 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14164 * sysdeps/pthread/lio_listio.c: Likewise.
14165 * sysdeps/sparc/dl-procinfo.h: Likewise.
14166 * sysdeps/unix/i386/sysdep.S: Likewise.
14167 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14168 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14169 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14170 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14172 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14173 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14174 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14175 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14176 * sysdeps/wordsize-32/divdi3.c: Likewise.
14177 * time/sys/time.h: Likewise.
14178 * wcsmbs/Makefile: Likewise.
14179
141802013-01-01 David S. Miller <davem@davemloft.net>
14181
14182 * po/fr.po: Update from translation team.
14183
14184 * catgets/gencat.c: Update copyright year.
14185 * csu/version.c: Likewise.
14186 * debug/catchsegv.sh: Likewise.
14187 * debug/pcprofiledump.c: Likewise.
14188 * debug/xtrace.sh: Likewise.
14189 * elf/ldconfig.c: Likewise.
14190 * elf/ldd.bash.in: Likewise.
14191 * elf/pldd.c: Likewise.
14192 * elf/sotruss.ksh: Likewise.
14193 * elf/sprof.c: Likewise.
14194 * iconv/iconv_prog.c: Likewise.
14195 * iconv/iconvconfig.c: Likewise.
14196 * locale/programs/locale.c: Likewise.
14197 * locale/programs/localedef.c: Likewise.
14198 * login/programs/pt_chown.c: Likewise.
14199 * malloc/memusage.sh: Likewise.
14200 * malloc/memusagestat.c: Likewise.
14201 * malloc/mtrace.pl: Likewise.
14202 * nscd/nscd.c: Likewise.
14203 * nss/getent.c: Likewise.
14204 * nss/makedb.c: Likewise.
14205 * posix/getconf.c: Likewise.
14206
142072012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14208
14209 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14210 numbers.
14211
142122012-12-30 Mike Frysinger <vapier@gentoo.org>
14213
14214 * math/bits/mathcalls.h (modf): Use __nonnull.
14215
142162012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14217
14218 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14219 (split): Use macro CN instead of the bare value.
14220 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14221 could be used.
14222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14223 instead of the bare value.
14224 (power1): Likewise.
14225
142262012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14227
14228 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14229 __ATAN_TWOM.
14230 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14231
14232 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14233 their values.
14234 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14235 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14236 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14237 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14238
142392012-12-28 Andreas Jaeger <aj@suse.de>
14240
14241 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14242 values are from Linux 3.7.
14243
14244 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14245 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14246
142472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14248
14249 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14250 TRUE case.
14251
14252 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14253 (norm): Likewise.
14254 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14255 variables with preprocessor constants.
14256 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14257 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14258 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14259
142602012-12-27 Bruno Haible <bruno@clisp.org>
14261
14262 [BZ #14317]
14263 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14264 only if needed.
14265
142662012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14267
14268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14269 and use variable directly.
14270 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14271
14272 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14273 MPONE.
14274 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14275 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14276 variable MPONE.
14277 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14279 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14280 include directive. Remove local variable MPONE.
14281 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14282 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14283 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14284
142852012-12-25 David S. Miller <davem@davemloft.net>
14286
14287 * version.h (RELEASE): Set to "development".
14288 (VERSION): Set to "2.17.90".
14289 * NEWS: Add 2.18 section.
14290
142912012-12-21 David S. Miller <davem@davemloft.net>
14292
14293 * po/hr.po: Update from translation team.
14294
142952012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14296
14297 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14298
142992012-12-19 Steve Ellcey <sellcey@mips.com>
14300
14301 * NEWS: Mention new memcpy for MIPS.
14302
143032012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14304
14305 * manual/contrib.texi (Contributors): Spelling correction.
14306
143072012-12-15 David S. Miller <davem@davemloft.net>
14308
14309 * po/ru.po: Update from translation team.
14310
143112012-12-13 David S. Miller <davem@davemloft.net>
14312
14313 * NEWS: Mention IFUNC testsuite enhancements.
14314
14315 * po/pl.po: Update from translation team.
14316 * po/bg.po: Likewise.
14317
14318 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14319 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14320
143212012-12-11 David S. Miller <davem@davemloft.net>
14322
14323 * po/sv.po: Update from translation team.
14324
14325 * po/vi.po: Update from translation team.
14326
14327 * po/cs.po: Update from translation team.
14328
14329 * po/de.po: Update from translation team.
14330 * po/eo.po: Likewise.
14331 * po/nl.po: Likewise.
14332
143332012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14334
14335 [BZ #14246]
14336 * manual/argp.texi (Argp Helper Functions): Move node to follow
14337 Argp Parsing State.
14338
14339 [BZ #14872]
14340 * manual/conf.texi (Limits on File System Capacity): Mention if
14341 terminating null is included in the max size.
14342
143432012-12-10 Andreas Jaeger <aj@suse.de>
14344
14345 * po/cs.po: Update from translation team.
14346
143472012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14348
14349 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14350 void pointer and cast to uintptr_t.
14351 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14352 path.
14353 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14354 * sysdeps/s390/s390-64/memset.S: Likewise.
14355
143562012-12-08 Benno Schulenberg <bensberg@justemail.net>
14357
14358 [BZ #14833]
14359 * menual/message.texi (Message Translation): Fix typos.
14360 (Helper programs for gettext): Likewise.
14361
143622012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14363
14364 [BZ #14898]
14365 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14366 Change to -1.
14367
143682012-12-07 David S. Miller <davem@davemloft.net>
14369
14370 * po/libc.pot: Update.
14371
143722012-12-07 Richard Henderson <rth@redhat.com>
14373
14374 [BZ #10114]
14375 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14376 normal/normal case to before the switch.
14377 (_FP_DIV): Likewise.
14378
143792012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14380 Mike Frysinger <vapier@gentoo.org>
14381
14382 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14383 check for __NR_fadvise64_64.
14384
143852012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14386
14387 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14388 0, not just to plain "0" as a statement.
14389 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14390 with cw.
14391
143922012-12-06 Joseph Myers <joseph@codesourcery.com>
14393
14394 * NEWS: Use sourceware.org in Bugzilla URL.
14395
143962012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14397
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14399 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14400
14401 * stdio-common/tst-put-error.c (do_test): Add newline to the
14402 padded test to ensure flush.
14403
144042012-12-05 Jeff Law <law@redhat.com>
14405
14406 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14407
144082012-12-05 Joseph Myers <joseph@codesourcery.com>
14409
14410 * README: Don't refer to ports add-on as distributed separately.
14411 Mention AArch64 in list of systems supported in the ports add-on.
14412
14413 * LICENSES: Add more non-FSF copyright and license notices.
14414
14415 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14416 ((unused)).
14417
14418 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14419
14420 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14421 10000 as width of padded output.
14422
144232012-12-04 Joseph Myers <joseph@codesourcery.com>
14424
14425 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14426
14427 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14428 variable LX with __attribute__ ((unused)).
14429 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14430 Likewise.
14431 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14432 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14433 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14434 with __attribute__ ((unused)).
14435
144362012-12-04 David S. Miller <davem@abraco.davemloft.net>
14437
14438 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14439
144402012-12-04 Joseph Myers <joseph@codesourcery.com>
14441
14442 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14443 (CFLAGS-nldbl-acos.c): New variable.
14444 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14445 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14446 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14447 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14448 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14449 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14450 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14451 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14452 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14453 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14454 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14455 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14456 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14457 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14458 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14459 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14460 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14461 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14462 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14463 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14464 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14465 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14466 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14467 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14468 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14469 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14470 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14471 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14472 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14473 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14474 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14475 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14476 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14477 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14478 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14479 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14480 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14481 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14482 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14483 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14484 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14485 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14486 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14487 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14488 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14489 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14490 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14491 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14492 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14493 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14494 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14495 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14496 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14497 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14498 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14499 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14500 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14501 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14502 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14503 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14504 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14505 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14506 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14507 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14508 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14509 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14510 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14511 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14512 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14513 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14514 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14515 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14516 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14517 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14518 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14519 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14520 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14521 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14522 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14523 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14524 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14525 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14526 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14527 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14528 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14529 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14530 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14531 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14532 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14533 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14534 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14535 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14536 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14537 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14538 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14539 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14540 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14541
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14543 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14544
14545 [BZ #14914]
14546 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14547 whole low double instead of just low 47 bits when splitting values
14548 into two parts.
14549
145502012-12-03 Allan McRae <allan@archlinux.org>
14551
14552 * manual/stdio.texi (Predefined Printf Handlers): Remove
14553 @hsep and @vsep usage.
14554
145552012-12-03 Mike Frysinger <vapier@gentoo.org>
14556
14557 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14558 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14559
145602012-12-03 Jeff Law <law@redhat.com>
14561
14562 * time/sys/time.h (settimeofday): Do not mark TV argument
14563 as __nonnull.
14564
145652012-12-01 Mike Frysinger <vapier@gentoo.org>
14566
14567 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14568 when currently writing and seek to current position when not.
14569 * libio/Makefile (tests): Remove bug-fclose1.
14570 * libio/bug-fclose1.c: Delete.
14571
145722012-12-01 Joseph Myers <joseph@codesourcery.com>
14573
14574 * manual/arith.texi (feenableexcept): Fix typo.
14575 (fedisableexcept): Likewise.
14576
145772012-11-30 Roland McGrath <roland@hack.frob.com>
14578
14579 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14580 second, differently-typed declaration, rather than a cast.
14581
145822012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14583
14584 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14585 * include/rpc/svc.h: ... here.
14586
145872012-11-30 Aurelien Jarno <aurel32@debian.org>
14588
14589 [BZ #13013]
14590 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14591 depending n and resplen2 to catch cases where answer
14592 equals answerp2.
14593
145942012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14595
14596 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14597 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14598
145992012-11-29 Mike Frysinger <vapier@gentoo.org>
14600
14601 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14602
146032012-11-29 Roland McGrath <roland@hack.frob.com>
14604
14605 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14606
146072012-11-28 Jeff Law <law@redhat.com>
14608
14609 [BZ #13761]
14610 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14611 dataset_temporary. Track alloca usage into alloca_used.
14612 If dataset is large allocate and release it via malloc/free.
14613
146142012-06-04 Florian Weimer <fweimer@redhat.com>
14615
14616 [BZ #14197]
14617 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14618
146192012-11-28 David S. Miller <davem@davemloft.net>
14620
14621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14622
146232012-11-28 Joseph Myers <joseph@codesourcery.com>
14624
14625 [BZ #14803]
14626 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14627 of pi/2 rounded to nearest to 64 bits.
14628 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14629 nearest to 64 bits.
14630 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14631 bits.
14632
146332012-11-28 Jeff Law <law@redhat.com>
14634 Martin Osvald <mosvald@redhat.com>
14635
14636 [BZ #14889]
14637 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14638 * sunrpc/svc.c: Include time.h.
14639 (__svc_accept_failed): New function.
14640 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14641 any reason other than EINTR, call __svc_accept_failed.
14642 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14643 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14644
146452012-11-28 Andreas Schwab <schwab@suse.de>
14646
14647 * scripts/abilist.awk: Also handle indirect functions in .opd
14648 section.
14649
146502012-11-28 Joseph Myers <joseph@codesourcery.com>
14651
14652 [BZ #13881]
14653 * sysdeps/x86/fpu/powl_helper.c: New file.
14654 * sysdeps/x86/fpu/Makefile: Likewise.
14655 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14656 (p3): New object.
14657 (__ieee754_powl): Use __powl_helper for finite arguments except
14658 integer exponents below 8.
14659 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14660 (p3): New object.
14661 (__ieee754_powl): Use __powl_helper for finite arguments except
14662 integer exponents below 8.
14663 * math/libm-test.inc (pow_test): Add more tests and enable some
14664 previously disabled tests.
14665 * sysdeps/i386/fpu/libm-test-ulps: Update.
14666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14667
146682012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14669 Carlos O'Donell <carlos_odonell@mentor.com>
14670
14671 * nss/makedb.c (is_prime): Assert that input is odd and greater
14672 than 4. Note that fact in a comment too.
14673 (next_prime): Add 4 to input.
14674
146752012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14676
14677 [BZ #11741]
14678 * libio/Makefile (tests): Add test case tst-fwrite-error.
14679 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14680 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14681 * libio/tst-fwrite-error.c: New test case.
14682
146832012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14684
14685 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14686 before casting to void *.
14687 * include/libc-internal.h (__pointer_type): New macro.
14688 (__integer_if_pointer_type_sub): Likewise.
14689 (__integer_if_pointer_type): Likewise.
14690 (cast_to_integer): Likewise.
14691 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14692 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14693 before casting to atomic64_t.
14694 (atomic_exchange_acq): Likewise.
14695 (__arch_exchange_and_add_body): Likewise.
14696 (__arch_add_body): Likewise.
14697 (atomic_add_negative): Likewise.
14698 (atomic_add_zero): Likewise.
14699
147002012-11-26 Joseph Myers <joseph@codesourcery.com>
14701
14702 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14703 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14704 (add_fdes): Likewise.
14705 (linear_search_fdes): Likewise.
14706 (binary_search_unencoded_fdes): Likewise.
14707
147082012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14709
14710 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14711
147122012-11-24 Adam Conrad <adconrad@0c3.net>
14713
14714 * configure.in: Autodetect C++ header directories.
14715 * configure: Regenerated.
14716
147172012-11-23 Mike Frysinger <vapier@gentoo.org>
14718
14719 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14720
147212012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14722
14723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14724
147252012-11-22 Joseph Myers <joseph@codesourcery.com>
14726
14727 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14728 LDBL_MANT_DIG == 106]: Disable some tests.
14729 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14730 Likewise.
14731 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14732 Likewise.
14733
14734 [BZ #14871]
14735 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14736 input for small inputs. Return +/- pi/2 for large inputs.
14737 * math/libm-test.inc (atan_test): Add more tests.
14738
14739 * sysdeps/generic/unwind-dw2-fde-glibc.c
14740 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14741 __attribute__ ((unused)).
14742
14743 [BZ #14645]
14744 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14745 x * y if x and y are nonzero and z is zero.
14746
14747 [BZ #14811]
14748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14749 nonzero exponents with absolute value below 0x1p-117 to +/-
14750 0x1p-117.
14751
14752 [BZ #14869]
14753 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14754 up arguments below 2**-450, not just those below 2**-500.
14755 * math/libm-test.inc (hypot_test): Add another test.
14756
14757 [BZ #14868]
14758 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14759 Return a+b for ratio over 2**120, not 2**60.
14760 * math/libm-test.inc (hypot_test): Add another test.
14761
14762 * math/libm-test.inc (clog_test): Use
14763 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14764 (clog10_test): Likewise.
14765
14766 [BZ #6778]
14767 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14768
147692012-11-22 Andreas Schwab <schwab@suse.de>
14770
14771 * sysdeps/i386/fpu/libm-test-ulps: Update.
14772
147732012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14774
14775 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14776 printf output with newline.
14777
147782012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14779
14780 [BZ #14865]
14781 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14782 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14783 -z nodlopen, -z initfirst and -z execstack support.
14784 * configure: Regenerated.
14785
14786 * elf/elf.h (DF_1_NODIRECT): New macro.
14787 (DF_1_IGNMULDEF): Likewise.
14788 (DF_1_NOKSYMS): Likewise.
14789 (DF_1_NOHDR): Likewise.
14790 (DF_1_EDITED): Likewise.
14791 (DF_1_NORELOC): Likewise.
14792 (DF_1_SYMINTPOSE): Likewise.
14793 (DF_1_GLOBAUDIT): Likewise.
14794 (DF_1_SINGLETON): Likewise.
14795 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14796 DT_1_SUPPORTED_MASK bits.
14797 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14798
147992012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14800
14801 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14802
148032012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14804
14805 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14806 macro.
14807
14808 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14809 (sendmmsg): Move declarations...
14810 * socket/sys/socket.h: ... here.
14811 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14812 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14813 include it from...
14814 * socket/recvmmsg.c: ... this new file.
14815 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14816 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14817 definition of __sendmmsg hidden.
14818 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14819 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14820 Move ENOSYS stub into and include it from...
14821 * socket/sendmmsg.c: ... this new file.
14822 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14823 (sysdep_routines): Move recvmmsg and sendmmsg...
14824 * socket/Makefile (routines): ... here.
14825 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14826 (GLIBC_PRIVATE): Add __sendmmsg.
14827 * include/sys/socket.h (__sendmmsg): Add declarations.
14828 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14829 sendmmsg.
14830
148312012-11-20 Joseph Myers <joseph@codesourcery.com>
14832
14833 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14834 variable I1 with __attribute__ ((unused)).
14835 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14836
148372012-11-19 Joseph Myers <joseph@codesourcery.com>
14838
14839 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14840 DUMMY variables with __attribute__ ((unused)).
14841
14842 * bits/byteswap.h: Include <bits/types.h>.
14843 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14844
148452012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14846
14847 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14848 string_t. Do not manually set errno.
14849 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14850 length with __strnlen. Make sure to both set errno and return it on
14851 failure.
14852
148532012-11-19 David S. Miller <davem@davemloft.net>
14854
14855 With help from Joseph Myers.
14856 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14857 very large arguments properly.
14858 * math/libm-test.inc (atan_test): New tests.
14859 (atan2_test): New tests.
14860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14862
148632012-11-19 Joseph Myers <joseph@codesourcery.com>
14864
14865 [BZ #14856]
14866 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14867 Define to 3.
14868
14869 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14870 [POSIX] (EADDRNOTAVAIL): Likewise.
14871 [POSIX] (EAFNOSUPPORT): Likewise.
14872 [POSIX] (EALREADY): Likewise.
14873 [POSIX] (ECONNABORTED): Likewise.
14874 [POSIX] (ECONNREFUSED): Likewise.
14875 [POSIX] (ECONNRESET): Likewise.
14876 [POSIX] (EDESTADDRREQ): Likewise.
14877 [POSIX] (EDQUOT): Likewise.
14878 [POSIX] (EHOSTUNREACH): Likewise.
14879 [POSIX] (EIDRM): Likewise.
14880 [POSIX] (EISCONN): Likewise.
14881 [POSIX] (ELOOP): Likewise.
14882 [POSIX] (EMULTIHOP): Likewise.
14883 [POSIX] (ENETDOWN): Likewise.
14884 [POSIX] (ENETUNREACH): Likewise.
14885 [POSIX] (ENOBUFS): Likewise.
14886 [POSIX] (ENODATA): Likewise.
14887 [POSIX] (ENOLINK): Likewise.
14888 [POSIX] (ENOMSG): Likewise.
14889 [POSIX] (ENOPROTOOPT): Likewise.
14890 [POSIX] (ENOSR): Likewise.
14891 [POSIX] (ENOSTR): Likewise.
14892 [POSIX] (ENOTCONN): Likewise.
14893 [POSIX] (ENOTSOCK): Likewise.
14894 [POSIX] (EOPNOTSUPP): Likewise.
14895 [POSIX] (EOVERFLOW): Likewise.
14896 [POSIX] (EPROTO): Likewise.
14897 [POSIX] (EPROTONOSUPPORT): Likewise.
14898 [POSIX] (EPROTOTYPE): Likewise.
14899 [POSIX] (ESTALE): Likewise.
14900 [POSIX] (ETIME): Likewise.
14901 [POSIX] (ETXTBSY): Likewise.
14902 [POSIX] (EWOULDBLOCK): Likewise.
14903 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14904 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14905 [POSIX] (SEEK_CUR): Likewise.
14906 [POSIX] (SEEK_END): Likewise.
14907 [POSIX || UNIX98] (mode_t): Do not require.
14908 [POSIX] (off_t): Likewise.
14909 [POSIX] (pid_t): Likewise.
14910 [POSIX] (sys/stat.h): Do not allow header.
14911 [POSIX] (unistd.h): Likewise.
14912 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14913 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14914 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14915 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14916 require.
14917 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14918 sigevent): Specify elements.
14919 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14920 entry.
14921 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14922 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14923
14924 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14925 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14926 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14927 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14928 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14929 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14930 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14931 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14932 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14933 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14934 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14935 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14936 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14937 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14938 Likewise.
14939 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14940 Likewise.
14941 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14942 Likewise.
14943 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14944 Likewise.
14945 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14946 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14947 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14948 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14949 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14950 Specify lower bound on value.
14951 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14952 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14953 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14954 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14955 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14956 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14957 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14958 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14959 value.
14960 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14961 as optional.
14962 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14963 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14964 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14965 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14966 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14967 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14968 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14969 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14970 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14971 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14972 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14973 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14974 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14975 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14976 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14977 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14978 entry.
14979 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14980 optional.
14981 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14982 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14983 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14984 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14985 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14986 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14987 Likewise.
14988 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14989 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14990 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14991 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14992 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
14993 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14994 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14995 as optional.
14996 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14997 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14998 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14999 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15000 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15001 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15002 specify as optional.
15003 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15004 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15005 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15006 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15007 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15008 [XPG3] (NL_LANGMAX): Likewise.
15009 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15010 [POSIX || XPG3] (NL_NMAX): Likewise.
15011 [POSIX || XPG3] (NL_SETMAX): Likewise.
15012 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15013 [XPG3] (NZERO): Likewise.
15014 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15015 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15016 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15017 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15018 (REG_ERANGE): Expect.
15019 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15020 optional-constant.
15021 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15022 Use (void) in prototype.
15023 [POSIX] (*_t): Allow.
15024 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15025 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15026 (WRDE_BADVAL): Expect.
15027
15028 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15029 expect.
15030 [XPG3 || XPG4] (O_RSYNC): Likewise.
15031 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15032 Likewise.
15033 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15034 [XPG3 || XPG4] (sigqueue): Likewise.
15035 [XPG3 || XPG4] (sigtimedwait): Likewise.
15036 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15037 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15038 [XPG3 || XPG4] (vsnprintf): Likewise.
15039 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15040 Likewise.
15041 [XPG3 || XPG4] (blksize_t): Likewise.
15042 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15043 Likewise.
15044 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15045 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15046 [XPG3 || XPG4] (struct itimerspec): Likewise.
15047 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15048 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15049 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15050 [XPG3 || XPG4] (clockid_t): Likewise.
15051 [XPG3 || XPG4] (timer_t): Likewise.
15052 [XPG3 || XPG4] (clock_getres): Likewise.
15053 [XPG3 || XPG4] (clock_gettime): Likewise.
15054 [XPG3 || XPG4] (clock_settime): Likewise.
15055 [XPG3 || XPG4] (nanosleep): Likewise.
15056 [XPG3 || XPG4] (timer_create): Likewise.
15057 [XPG3 || XPG4] (timer_delete): Likewise.
15058 [XPG3 || XPG4] (timer_gettime): Likewise.
15059 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15060 [XPG3 || XPG4] (timer_settime): Likewise.
15061 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15062 [XPG3 || XPG4] (getlogin_r): Likewise.
15063 [XPG3 || XPG4] (pread): Likewise.
15064 [XPG3 || XPG4] (pthread_atfork): Likewise.
15065 [XPG3 || XPG4] (pwrite): Likewise.
15066
15067 [BZ #14835]
15068 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15069 <bits/siginfo.h>.
15070
150712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15072
15073 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15074 finalizing MALLSTREAM.
15075
15076 * sysdeps/mach/hurd/syncfs.c: New file.
15077
150782012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15079
15080 [BZ #14719]
15081 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15082 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15083 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15084 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15085 (_nss_dns_gethostbyname4_r): Likewise.
15086 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15087 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15088
150892012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15090
15091 [BZ #13763]
15092 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15093
150942012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15095
15096 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15097 * elf/cache.c (print_entry): Print ",AArch64" for
15098 FLAG_AARCH64_LIB64
15099
15100 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15101 * elf/cache.c (print_entry): Print ",hard-float" for
15102 FLAG_ARM_LIBHF.
15103
151042012-11-18 David S. Miller <davem@davemloft.net>
15105
15106 With help from Joseph Myers.
15107 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15108 cutoff to 2**-13.
15109 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15110 cutoff to 2**-25.
15111 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15112 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15113 small.
15114 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15115 * math/libm-test.inc (y0_test): New tests.
15116 (y1_test): New tests.
15117 * sysdeps/i386/fpu/libm-test-ulps: Update.
15118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15120
151212012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15122
15123 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15124 64-bit targets.
15125 * configure: Regenerated.
15126
151272012-11-17 David S. Miller <davem@davemloft.net>
15128
15129 [BZ #14811]
15130 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15131 nonzero exponents with absolute value below 0x1p-128 to +/-
15132 0x1p-128.
15133
151342012-11-17 Joseph Myers <joseph@codesourcery.com>
15135
15136 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15137
15138 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15139
15140 * posix/getconf-speclist.c: New file.
15141 * posix/posix-envs.def: Likewise.
15142 * posix/confstr.c (START_ENV_GROUP): New macro.
15143 (END_ENV_GROUP): Likewise.
15144 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15145 (KNOWN_PRESENT_ENV_STRING): Likewise.
15146 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15147 (UNKNOWN_ENVIRONMENT): Likewise.
15148 (confstr): Include posix-envs.def instead of handling
15149 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15150 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15151 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15152 (END_ENV_GROUP): Likewise.
15153 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15154 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15155 (UNKNOWN_ENVIRONMENT): Likewise.
15156 (__sysconf): Include posix-envs.def instead of handling associated
15157 cases directly here.
15158 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15159 preprocessing getconf-speclist.c rather than running getconf or
15160 generating empty file.
15161
151622012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15163
15164 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15165
151662012-11-16 Andrej Lajovic <natrij@gmail.com>
15167
15168 [BZ #14672]
15169 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15170
151712012-11-16 David S. Miller <davem@davemloft.net>
15172
15173 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15174 smaller than LDBL_EPSILON/2.0L, just return xm1.
15175
151762012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15177
15178 * elf/tst-array1.c (init): Set constructor priority to 1000.
15179 (fini): Set destructor priority to 1000.
15180 * elf/tst-array2dep.c: Likewise.
15181
151822012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15183
15184 [BZ #11741]
15185 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15186 (_IO_new_file_xsputn): Also return EOF if none of the input
15187 data was written when overflow failed.
15188 * libio/iopadn.c (_IO_padn): Likewise.
15189 * libio/iowpadn.c (_IO_wpadn): Likewise.
15190 * stdio-common/tst-put-error.c: Add copyright notice.
15191 (do_test): Add case for printing padded string.
15192 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15193 _IO_padn returned error.
15194 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15195 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15196 return EOF.
15197
151982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15199
15200 * libio/libioP.h: Add comment note that the references to C++
15201 bits are now obsolete.
15202
152032012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15204
15205 * math/libm-test.inc (check_complex): Use asprintf.
15206
152072012-11-14 Joseph Myers <joseph@codesourcery.com>
15208
15209 * debug/pcprofiledump.c (print_version): Update copyright year.
15210 * malloc/memusagestat.c (print_version): Likewise.
15211
152122012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15213
15214 [BZ #14831]
15215 * elf/Makefile (tests): Add tst-audit8.
15216 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15217 ($(objpfx)tst-audit8.out): New target.
15218 (tst-audit8-ENV): New variable.
15219 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15220 audit if l_reloc_result is NULL.
15221 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15222 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15223 * elf/tst-audit8.c: New file.
15224
152252012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15226
15227 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15228 * misc/Makefile (CFLAGS-select.c): Define.
15229 * posix/Makefile (CFLAGS-pause.c): Define.
15230
152312012-11-13 David S. Miller <davem@davemloft.net>
15232
15233 * crypt/Makefile: Move test targets after toplevel Rules
15234 inclusion. Grab any necessary sysdep routines when linking.
15235 * crypt/md5.c (md5_process_block): Remove define, we will always
15236 name it __md5_process_block.
15237 (md5_finish_ctx): Update md5_process_block call.
15238 (md5_stream): Likewise.
15239 (md5_process_bytes): Likewise.
15240 (md5_process_block): Rename to __md5_process_block and move to ...
15241 * crypt/md5-block.c: ... here.
15242 * crypt/sha256.c (sha256_process_block): Move to ...
15243 * crypt/sha256-block.c: ... here.
15244 * crypt/sha512.c (sha512_process_block): Move to ...
15245 * crypt/sha512-block.c: ... here.
15246 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15247 path.
15248 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15249 * sysdeps/sparc/sparc64/multiarch/Makefile
15250 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15251 crypt subdir.
15252 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15253 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15254 multiarch changes.
15255 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15256 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15257 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15258 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15259 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15260 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15261 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15262 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15263 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15264 file.
15265 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15266 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15267 file.
15268 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15269
152702012-11-13 Joseph Myers <joseph@codesourcery.com>
15271
15272 * timezone/tzselect.ksh: Update from tzcode git revision
15273 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15274 * timezone/zdump.c: Likewise.
15275 * timezone/zic.c: Likewise.
15276 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15277 in TZVERSION setting, not $(PKGVERSION).
15278 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15279 REPORT_BUGS_TO settings.
15280
15281 [BZ #14838]
15282 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15283 macro.
15284
152852012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15286
15287 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15288 detection to immediately after _FP_ROUND().
15289 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15290 bits are 0.
15291
152922012-11-11 David S. Miller <davem@davemloft.net>
15293
15294 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15295 inttypes.h
15296 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15297 __close rather than their public counterparts.
15298
152992012-11-10 Joseph Myers <joseph@codesourcery.com>
15300
15301 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15302 file.
15303 [UNIX98] (sem_timedwait): Do not expect.
15304 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15305 [XPG4 || UNIX98] (sockatmark): Do not expect.
15306 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15307 (clock_getcpuclockid): Do not expect.
15308 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15309 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15310 Do not expect.
15311 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15312 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15313 [UNIX98] (vwscanf): Likewise.
15314 [UNIX98] (vswscanf): Likewise.
15315
153162012-11-09 Joseph Myers <joseph@codesourcery.com>
15317
15318 * timezone/version.h: Remove file.
15319 * timezone/README: Do not refer to version.h.
15320 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15321 $(objpfx)version.h.
15322 ($(objpfx)zdump.o): Likewise.
15323 ($(objpfx)version.h): New target.
15324
15325 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15326 2012i.
15327 * timezone/README: Don't mention modification to tzselect.ksh.
15328 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15329 work on unmodified tzselect.ksh. Substitute version numbers in
15330 tzselect.ksh.
15331
15332 * Makefile (format-me): Remove.
15333 (INSTALL): Adjust indentation. Use commands directly instead of
15334 using $(format-me).
15335
15336 * aclocal.m4 (ACX_PKGVERSION): New macro.
15337 (ACX_BUGURL): Likewise.
15338 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15339 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15340 (REPORT_BUGS_TO): Likewise.
15341 * configure: Regenerated.
15342 * config.h.in (PKGVERSION): New macro.
15343 (REPORT_BUGS_TO): Likewise.
15344 * config.make.in (PKGVERSION): New variable.
15345 (PKGVERSION_TEXI): Likewise.
15346 (REPORT_BUGS_TO): Likewise.
15347 (REPORT_BUGS_TEXI): Likewise.
15348 * Makefile (format-me): Use -I$(common-objpfx)manual.
15349 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15350 ($(common-objpfx)manual/%): New target.
15351 (manual/%): Remove target.
15352 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15353 (print_version): Use PKGVERSION.
15354 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15355 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15356 and REPORT_BUGS_TO.
15357 ($(objpfx)xtrace): Likewise.
15358 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15359 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15360 (print_version): Use PKGVERSION.
15361 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15362 (do_version): Use PKGVERSION.
15363 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15364 REPORT_BUGS_TO.
15365 (common-ldd-rewrite): Likewise.
15366 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15367 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15368 (print_version): Use PKGVERSION.
15369 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15370 * elf/pldd.c (argp_program_bug_address): Remove variable.
15371 (more_help): New function.
15372 (argp): Use more_help.
15373 (print_version): Use PKGVERSION.
15374 * elf/sln.c (main): Use PKGVERSION.
15375 (usage): Use REPORT_BUGS_TO.
15376 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15377 (top level): Use PKGVERSION.
15378 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15379 (print_version): Use PKGVERSION.
15380 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15381 (print_version): Use PKGVERSION.
15382 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15383 (print_version): Use PKGVERSION.
15384 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15385 (print_version): Use PKGVERSION.
15386 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15387 (print_version): Use PKGVERSION.
15388 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15389 (print_version): Use PKGVERSION.
15390 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15391 and BUGURL.
15392 ($(objpfx)memusage): Likewise.
15393 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15394 (do_version): Use PKGVERSION.
15395 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15396 (print_version): Use PKGVERSION.
15397 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15398 ($PKGVERSION): New variable.
15399 ($REPORT_BUGS_TO): Likewise.
15400 (usage): Use $REPORT_BUGS_TO.
15401 (top level): Use $PKGVERSION.
15402 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15403 ($(objpfx)pkgvers.texi): New rule.
15404 ($(objpfx)stamp-pkgvers): Likewise.
15405 * manual/install.texi: Include pkgvers.texi.
15406 (--with-pkgversion): Document new configure option.
15407 (--with-bugurl): Likewise.
15408 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15409 than necessarily for this particular distribution. Use
15410 REPORT_BUGS_TO for where to report bugs.
15411 * INSTALL: Regenerated.
15412 * manual/libc.texinfo: Include pkgvers.texi.
15413 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15414 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15415 (print_version): Use PKGVERSION.
15416 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15417 (print_version): Use PKGVERSION.
15418 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15419 (print_version): Use PKGVERSION.
15420 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15421 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15422 macro.
15423 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15424 (print_version): Use PKGVERSION.
15425 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15426 (print_version): Use PKGVERSION.
15427 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15428 and PKGVERSION.
15429
15430 * timezone/checktab.awk: Update from tzcode 2012i.
15431 * timezone/ialloc.c: Likewise.
15432 * timezone/private.h: Likewise.
15433 * timezone/scheck.c: Likewise.
15434 * timezone/tzfile.h: Likewise.
15435 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15436 (TZVERSION): Hardcode tzcode version number.
15437 * timezone/zdump.c: Update from tzcode 2012i.
15438 * timezone/zic.c: Likewise.
15439 * timezone/version.h: New file.
15440 * timezone/README: Describe version.h. Update upstream location.
15441
15442 [BZ #14824]
15443 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15444 (mktemp): Enable declaration.
15445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15446 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15448 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15449 Likewise.
15450 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15451 Likewise.
15452 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15453 Likewise.
15454 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15455 Likewise.
15456 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15457 Likewise.
15458 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15459 Likewise.
15460
15461 [BZ #14821]
15462 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15463 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15464 for copies of such integer values.
15465 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15466 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15467
154682012-11-09 Andreas Jaeger <aj@suse.de>
15469
15470 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15471 definitions and declarations that are provided by
15472 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15473
154742012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15475
15476 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15477 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15478 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15479 definition.
15480
154812012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15482
15483 * elf/elf.h: Update comment before AArch64 relocations.
15484
154852012-11-07 David S. Miller <davem@davemloft.net>
15486
15487 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15488 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15489 (__start_context): Declare.
15490 (__makecontext_ret): Delete.
15491 (__makecontext): Hook up __start_context instead of
15492 __makecontext_ret.
15493 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15494 (sysdep_routines): Add __start_context when in stdlib.
15495
154962012-11-07 Joseph Myers <joseph@codesourcery.com>
15497
15498 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15499 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15500 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15501 hardcoded "nm".
15502 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15503 (READELF): New variable. Use it instead of hardcoded "readelf".
15504
155052012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15506
15507 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15508 * sysdeps/x86/Makefile: Here.
15509 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15510 * sysdeps/x86/tst-xmmymm.sh: This.
15511
155122012-11-07 Joseph Myers <joseph@codesourcery.com>
15513
15514 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15515 expectations.
15516 [UNIX98] (pthread_barrier_t): Do not expect.
15517 [UNIX98] (pthread_barrierattr_t): Likewise.
15518 [UNIX98] (pthread_spinlock_t): Likewise.
15519 [UNIX98] (pthread_barrier_destroy): Likewise.
15520 [UNIX98] (pthread_barrier_init): Likewise.
15521 [UNIX98] (pthread_barrier_wait): Likewise.
15522 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15523 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15524 [UNIX98] (pthread_barrierattr_init): Likewise.
15525 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15526 [UNIX98] (pthread_getcpuclockid): Likewise.
15527 [UNIX98] (pthread_mutex_timedlock): Likewise.
15528 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15529 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15530 [UNIX98] (pthread_sigmask): Likewise.
15531 [UNIX98] (pthread_spin_destroy): Likewise.
15532 [UNIX98] (pthread_spin_init): Likewise.
15533 [UNIX98] (pthread_spin_lock): Likewise.
15534 [UNIX98] (pthread_spin_trylock): Likewise.
15535 [UNIX98] (pthread_spin_unlock): Likewise.
15536 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15537 Do not expect.
15538 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15539 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15540 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15541 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15542 [XPG3 || XPG4] (pthread_key_t): Likewise.
15543 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15544 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15545 [XPG3 || XPG4] (pthread_once_t): Likewise.
15546 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15547 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15548 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15549 [XPG3 || XPG4] (pthread_t): Likewise.
15550
15551 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15552 not expect.
15553 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15554
15555 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15556 Change function return type to int.
15557
15558 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15559 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15560 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15561 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15562 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15563 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15564 [!POSIX] (posix_madvise): Likewise.
15565 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15566 && !UNIX98].
15567 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15568 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15569 (mode_t): Likewise.
15570 (posix_mem_offset): Likewise.
15571 (posix_typed_mem_get_info): Likewise.
15572 (posix_typed_mem_open): Likewise.
15573
15574 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15575 Change condition to [XOPEN2K8].
15576
15577 * conform/conformtest.pl: Preprocess allow-header data with -x c
15578 instead of from stdin.
15579 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15580 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15581 [C99-based standards] (cerfc): Likewise.
15582 [C99-based standards] (cexp2): Likewise.
15583 [C99-based standards] (cexpm1): Likewise.
15584 [C99-based standards] (clog10): Likewise.
15585 [C99-based standards] (clog1p): Likewise.
15586 [C99-based standards] (clog2): Likewise.
15587 [C99-based standards] (clgamma): Likewise.
15588 [C99-based standards] (ctgamma): Likewise.
15589 [C99-based standards] (cerff): Likewise.
15590 [C99-based standards] (cerfcf): Likewise.
15591 [C99-based standards] (cexp2f): Likewise.
15592 [C99-based standards] (cexpm1f): Likewise.
15593 [C99-based standards] (clog10f): Likewise.
15594 [C99-based standards] (clog1pf): Likewise.
15595 [C99-based standards] (clog2f): Likewise.
15596 [C99-based standards] (clgammaf): Likewise.
15597 [C99-based standards] (ctgammaf): Likewise.
15598 [C99-based standards] (cerfl): Likewise.
15599 [C99-based standards] (cerfcl): Likewise.
15600 [C99-based standards] (cexp2l): Likewise.
15601 [C99-based standards] (cexpm1l): Likewise.
15602 [C99-based standards] (clog10l): Likewise.
15603 [C99-based standards] (clog1pl): Likewise.
15604 [C99-based standards] (clog2l): Likewise.
15605 [C99-based standards] (clgammal): Likewise.
15606 [C99-based standards] (ctgammal): Likewise.
15607 * conform/data/inttypes.h-data [C99-based standards]: Include
15608 stdint.h-data. Remove all expectations for stdint.h contents.
15609 [C99-based standards] (PRI*): Do not allow.
15610 [C99-based standards] (SCN*): Likewise.
15611 [C99-based standards] (*_t): Likewise.
15612 [C99-based-standards] (PRId8): Expect macro.
15613 [C99-based-standards] (PRIi8): Likewise.
15614 [C99-based-standards] (PRIo8): Likewise.
15615 [C99-based-standards] (PRIu8): Likewise.
15616 [C99-based-standards] (PRIx8): Likewise.
15617 [C99-based-standards] (PRIX8): Likewise.
15618 [C99-based-standards] (SCNd8): Likewise.
15619 [C99-based-standards] (SCNi8): Likewise.
15620 [C99-based-standards] (SCNo8): Likewise.
15621 [C99-based-standards] (SCNu8): Likewise.
15622 [C99-based-standards] (SCNx8): Likewise.
15623 [C99-based-standards] (PRIdLEAST8): Likewise.
15624 [C99-based-standards] (PRIiLEAST8): Likewise.
15625 [C99-based-standards] (PRIoLEAST8): Likewise.
15626 [C99-based-standards] (PRIuLEAST8): Likewise.
15627 [C99-based-standards] (PRIxLEAST8): Likewise.
15628 [C99-based-standards] (PRIXLEAST8): Likewise.
15629 [C99-based-standards] (SCNdLEAST8): Likewise.
15630 [C99-based-standards] (SCNiLEAST8): Likewise.
15631 [C99-based-standards] (SCNoLEAST8): Likewise.
15632 [C99-based-standards] (SCNuLEAST8): Likewise.
15633 [C99-based-standards] (SCNxLEAST8): Likewise.
15634 [C99-based-standards] (PRIdFAST8): Likewise.
15635 [C99-based-standards] (PRIiFAST8): Likewise.
15636 [C99-based-standards] (PRIoFAST8): Likewise.
15637 [C99-based-standards] (PRIuFAST8): Likewise.
15638 [C99-based-standards] (PRIxFAST8): Likewise.
15639 [C99-based-standards] (PRIXFAST8): Likewise.
15640 [C99-based-standards] (SCNdFAST8): Likewise.
15641 [C99-based-standards] (SCNiFAST8): Likewise.
15642 [C99-based-standards] (SCNoFAST8): Likewise.
15643 [C99-based-standards] (SCNuFAST8): Likewise.
15644 [C99-based-standards] (SCNxFAST8): Likewise.
15645 [C99-based-standards] (PRId16): Likewise.
15646 [C99-based-standards] (PRIi16): Likewise.
15647 [C99-based-standards] (PRIo16): Likewise.
15648 [C99-based-standards] (PRIu16): Likewise.
15649 [C99-based-standards] (PRIx16): Likewise.
15650 [C99-based-standards] (PRIX16): Likewise.
15651 [C99-based-standards] (SCNd16): Likewise.
15652 [C99-based-standards] (SCNi16): Likewise.
15653 [C99-based-standards] (SCNo16): Likewise.
15654 [C99-based-standards] (SCNu16): Likewise.
15655 [C99-based-standards] (SCNx16): Likewise.
15656 [C99-based-standards] (PRIdLEAST16): Likewise.
15657 [C99-based-standards] (PRIiLEAST16): Likewise.
15658 [C99-based-standards] (PRIoLEAST16): Likewise.
15659 [C99-based-standards] (PRIuLEAST16): Likewise.
15660 [C99-based-standards] (PRIxLEAST16): Likewise.
15661 [C99-based-standards] (PRIXLEAST16): Likewise.
15662 [C99-based-standards] (SCNdLEAST16): Likewise.
15663 [C99-based-standards] (SCNiLEAST16): Likewise.
15664 [C99-based-standards] (SCNoLEAST16): Likewise.
15665 [C99-based-standards] (SCNuLEAST16): Likewise.
15666 [C99-based-standards] (SCNxLEAST16): Likewise.
15667 [C99-based-standards] (PRIdFAST16): Likewise.
15668 [C99-based-standards] (PRIiFAST16): Likewise.
15669 [C99-based-standards] (PRIoFAST16): Likewise.
15670 [C99-based-standards] (PRIuFAST16): Likewise.
15671 [C99-based-standards] (PRIxFAST16): Likewise.
15672 [C99-based-standards] (PRIXFAST16): Likewise.
15673 [C99-based-standards] (SCNdFAST16): Likewise.
15674 [C99-based-standards] (SCNiFAST16): Likewise.
15675 [C99-based-standards] (SCNoFAST16): Likewise.
15676 [C99-based-standards] (SCNuFAST16): Likewise.
15677 [C99-based-standards] (SCNxFAST16): Likewise.
15678 [C99-based-standards] (PRId32): Likewise.
15679 [C99-based-standards] (PRIi32): Likewise.
15680 [C99-based-standards] (PRIo32): Likewise.
15681 [C99-based-standards] (PRIu32): Likewise.
15682 [C99-based-standards] (PRIx32): Likewise.
15683 [C99-based-standards] (PRIX32): Likewise.
15684 [C99-based-standards] (SCNd32): Likewise.
15685 [C99-based-standards] (SCNi32): Likewise.
15686 [C99-based-standards] (SCNo32): Likewise.
15687 [C99-based-standards] (SCNu32): Likewise.
15688 [C99-based-standards] (SCNx32): Likewise.
15689 [C99-based-standards] (PRIdLEAST32): Likewise.
15690 [C99-based-standards] (PRIiLEAST32): Likewise.
15691 [C99-based-standards] (PRIoLEAST32): Likewise.
15692 [C99-based-standards] (PRIuLEAST32): Likewise.
15693 [C99-based-standards] (PRIxLEAST32): Likewise.
15694 [C99-based-standards] (PRIXLEAST32): Likewise.
15695 [C99-based-standards] (SCNdLEAST32): Likewise.
15696 [C99-based-standards] (SCNiLEAST32): Likewise.
15697 [C99-based-standards] (SCNoLEAST32): Likewise.
15698 [C99-based-standards] (SCNuLEAST32): Likewise.
15699 [C99-based-standards] (SCNxLEAST32): Likewise.
15700 [C99-based-standards] (PRIdFAST32): Likewise.
15701 [C99-based-standards] (PRIiFAST32): Likewise.
15702 [C99-based-standards] (PRIoFAST32): Likewise.
15703 [C99-based-standards] (PRIuFAST32): Likewise.
15704 [C99-based-standards] (PRIxFAST32): Likewise.
15705 [C99-based-standards] (PRIXFAST32): Likewise.
15706 [C99-based-standards] (SCNdFAST32): Likewise.
15707 [C99-based-standards] (SCNiFAST32): Likewise.
15708 [C99-based-standards] (SCNoFAST32): Likewise.
15709 [C99-based-standards] (SCNuFAST32): Likewise.
15710 [C99-based-standards] (SCNxFAST32): Likewise.
15711 [C99-based-standards] (PRId64): Likewise.
15712 [C99-based-standards] (PRIi64): Likewise.
15713 [C99-based-standards] (PRIo64): Likewise.
15714 [C99-based-standards] (PRIu64): Likewise.
15715 [C99-based-standards] (PRIx64): Likewise.
15716 [C99-based-standards] (PRIX64): Likewise.
15717 [C99-based-standards] (SCNd64): Likewise.
15718 [C99-based-standards] (SCNi64): Likewise.
15719 [C99-based-standards] (SCNo64): Likewise.
15720 [C99-based-standards] (SCNu64): Likewise.
15721 [C99-based-standards] (SCNx64): Likewise.
15722 [C99-based-standards] (PRIdLEAST64): Likewise.
15723 [C99-based-standards] (PRIiLEAST64): Likewise.
15724 [C99-based-standards] (PRIoLEAST64): Likewise.
15725 [C99-based-standards] (PRIuLEAST64): Likewise.
15726 [C99-based-standards] (PRIxLEAST64): Likewise.
15727 [C99-based-standards] (PRIXLEAST64): Likewise.
15728 [C99-based-standards] (SCNdLEAST64): Likewise.
15729 [C99-based-standards] (SCNiLEAST64): Likewise.
15730 [C99-based-standards] (SCNoLEAST64): Likewise.
15731 [C99-based-standards] (SCNuLEAST64): Likewise.
15732 [C99-based-standards] (SCNxLEAST64): Likewise.
15733 [C99-based-standards] (PRIdFAST64): Likewise.
15734 [C99-based-standards] (PRIiFAST64): Likewise.
15735 [C99-based-standards] (PRIoFAST64): Likewise.
15736 [C99-based-standards] (PRIuFAST64): Likewise.
15737 [C99-based-standards] (PRIxFAST64): Likewise.
15738 [C99-based-standards] (PRIXFAST64): Likewise.
15739 [C99-based-standards] (SCNdFAST64): Likewise.
15740 [C99-based-standards] (SCNiFAST64): Likewise.
15741 [C99-based-standards] (SCNoFAST64): Likewise.
15742 [C99-based-standards] (SCNuFAST64): Likewise.
15743 [C99-based-standards] (SCNxFAST64): Likewise.
15744 [C99-based-standards] (PRIdMAX): Likewise.
15745 [C99-based-standards] (PRIiMAX): Likewise.
15746 [C99-based-standards] (PRIoMAX): Likewise.
15747 [C99-based-standards] (PRIuMAX): Likewise.
15748 [C99-based-standards] (PRIxMAX): Likewise.
15749 [C99-based-standards] (PRIXMAX): Likewise.
15750 [C99-based-standards] (SCNdMAX): Likewise.
15751 [C99-based-standards] (SCNiMAX): Likewise.
15752 [C99-based-standards] (SCNoMAX): Likewise.
15753 [C99-based-standards] (SCNuMAX): Likewise.
15754 [C99-based-standards] (SCNxMAX): Likewise.
15755 [C99-based-standards] (PRIdPTR): Likewise.
15756 [C99-based-standards] (PRIiPTR): Likewise.
15757 [C99-based-standards] (PRIoPTR): Likewise.
15758 [C99-based-standards] (PRIuPTR): Likewise.
15759 [C99-based-standards] (PRIxPTR): Likewise.
15760 [C99-based-standards] (PRIXPTR): Likewise.
15761 [C99-based-standards] (SCNdPTR): Likewise.
15762 [C99-based-standards] (SCNiPTR): Likewise.
15763 [C99-based-standards] (SCNoPTR): Likewise.
15764 [C99-based-standards] (SCNuPTR): Likewise.
15765 [C99-based-standards] (SCNxPTR): Likewise.
15766 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15767 allow.
15768 * conform/data/stdint.h-data: Update comments to clarify
15769 requirements.
15770 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15771 type.
15772 [C99-based standards] (INT8_MAX): Likewise.
15773 [C99-based standards] (INT16_MIN): Likewise.
15774 [C99-based standards] (INT16_MAX): Likewise.
15775 [C99-based standards] (INT32_MIN): Likewise.
15776 [C99-based standards] (INT32_MAX): Likewise.
15777 [C99-based standards] (INT64_MIN): Likewise.
15778 [C99-based standards] (INT64_MAX): Likewise.
15779 [C99-based standards] (UINT8_MAX): Likewise.
15780 [C99-based standards] (UINT16_MAX): Likewise.
15781 [C99-based standards] (UINT32_MAX): Likewise.
15782 [C99-based standards] (UINT64_MAX): Likewise.
15783 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15784 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15785 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15786 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15787 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15788 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15789 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15790 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15791 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15792 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15793 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15794 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15795 [C99-based standards] (INT_FAST8_MIN): Likewise.
15796 [C99-based standards] (INT_FAST8_MAX): Likewise.
15797 [C99-based standards] (INT_FAST16_MIN): Likewise.
15798 [C99-based standards] (INT_FAST16_MAX): Likewise.
15799 [C99-based standards] (INT_FAST32_MIN): Likewise.
15800 [C99-based standards] (INT_FAST32_MAX): Likewise.
15801 [C99-based standards] (INT_FAST64_MIN): Likewise.
15802 [C99-based standards] (INT_FAST64_MAX): Likewise.
15803 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15804 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15805 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15806 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15807 [C99-based standards] (INTPTR_MIN): Likewise.
15808 [C99-based standards] (INTPTR_MAX): Likewise.
15809 [C99-based standards] (UINTPTR_MAX): Likewise.
15810 [C99-based standards] (INTMAX_MIN): Likewise.
15811 [C99-based standards] (INTMAX_MAX): Likewise.
15812 [C99-based standards] (UINTMAX_MAX): Likewise.
15813 [C99-based standards] (PTRDIFF_MIN): Likewise.
15814 [C99-based standards] (PTRDIFF_MAX): Likewise.
15815 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15816 [C99-based standards] (SIZE_MAX): Likewise.
15817 [C99-based standards] (WCHAR_MAX): Likewise.
15818 [C99-based standards] (WINT_MAX): Likewise.
15819 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15820 constraint on value.
15821 [C99-based standards] (WCHAR_MIN): Likewise.
15822 [C99-based standards] (WINT_MIN): Likewise.
15823 [C99-based standards] (*_t): Allow.
15824 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15825 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15826 Include math.h-data and complex.h-data. Remove all expectations
15827 of math.h and complex.h contents.
15828 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15829 at end of line.
15830 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15831 (struct tm): Expect tag.
15832 [C99-based-standards] (wcstof): Expect function.
15833 [C99-based-standards] (wcstold): Likewise.
15834 [C99-based-standards] (wcstoll): Likewise.
15835 [C99-based-standards] (wcstoull): Likewise.
15836 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15837 macro-int-constant. Specify type.
15838 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15839 constraint on value.
15840 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15841 Specify type.
15842 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15843 Specify value.
15844 [ISO C standards]: Do not allow headers.
15845 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15846 wcs[abcdefghijklmnopqrstuvwxyz]*.
15847 [ISO C standards] (*_t): Do not allow.
15848 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15849 Expect function.
15850 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15851 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15852 Specify type.
15853 [ISO C standards]: Do not allow headers.
15854 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15855 is[abcdefghijklmnopqrstuvwxyz]*.
15856 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15857 to[abcdefghijklmnopqrstuvwxyz]*.
15858 [ISO C standards] (*_t): Do not allow.
15859 * conform/data/stdalign.h-data: New file.
15860 * conform/data/stdbool.h-data: Likewise.
15861 * conform/data/stdnoreturn.h-data: Likewise.
15862
158632012-11-07 Roland McGrath <roland@hack.frob.com>
15864
15865 [BZ #14815]
15866 * manual/filesys.texi (Directory Entries): Typo fix.
15867 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15868
158692012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15870
15871 * elf/elf.h (EM_AARCH64): New macro.
15872 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15873 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15874 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15875 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15876 (R_AARCH64_TLSDESC): Likewise.
15877 (NT_ARM_TLS): Likewise.
15878 (NT_ARM_HW_BREAK): Likewise.
15879 (NT_ARM_HW_WATCH): Likewise.
15880
158812012-11-07 Joseph Myers <joseph@codesourcery.com>
15882
15883 [BZ #14811]
15884 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15885 (__ieee754_powl): Saturate nonzero exponents with absolute value
15886 below 0x1p-79 to +/- 0x1p-79.
15887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15888 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15889 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15890 nonzero exponents with absolute value below 0x1p-32 to +/-
15891 0x1p-32.
15892 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15893 (__ieee754_powl): Saturate nonzero exponents with absolute value
15894 below 0x1p-79 to +/- 0x1p-79.
15895 * math/libm-test.inc (pow_test): Add more tests.
15896
158972012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15898
15899 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15900 _dl_s390_cap_flags with kernel. Increase string length.
15901 (_dl_s390_platforms): Add z196 and zEC12.
15902
159032012-11-07 Joseph Myers <joseph@codesourcery.com>
15904
15905 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15906 Change XOPEN21K to XOPEN2K.
15907
159082012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15909
15910 * string/memmove.c: Use memcpy when possible.
15911
159122012-11-06 Andreas Jaeger <aj@suse.de>
15913
15914 * po/eo.po: Update from translation team.
15915
159162012-11-06 Joseph Myers <joseph@codesourcery.com>
15917
15918 [BZ #14793]
15919 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15920 exponent and small x and y exponents, scale x or y up. Increase
15921 by 2 the exponent used in scaling up.
15922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15923 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15924 * math/libm-test.inc (fma_test): Add more tests.
15925 (fma_test_towardzero): Likewise.
15926 (fma_test_downward): Likewise.
15927 (fma_test_upward): Likewise.
15928
159292012-11-05 Joseph Myers <joseph@codesourcery.com>
15930
15931 [BZ #14805]
15932 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15933 fenv_t *.
15934
15935 [BZ #14801]
15936 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15937 namespace for names of struct fields.
15938 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15939 fenv_t fields.
15940 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15941 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15942
159432012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15944
15945 [BZ #3665]
15946 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15947
159482012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15949
15950 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15951 PTR_DEMANGLE.
15952
15953 [BZ #5246]
15954 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15955 PTR_DEMANGLE.
15956
159572012-11-04 Joseph Myers <joseph@codesourcery.com>
15958
15959 [BZ #14797]
15960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15961 definitely overflow as x * y not x * y + z.
15962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15963 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15964 * math/libm-test.inc (fma_test): Add more tests.
15965 (fma_test_towardzero): Likewise.
15966 (fma_test_downward): Likewise.
15967 (fma_test_upward): Likewise.
15968
159692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15970
15971 [BZ #157]
15972
15973 * include/stub-tag.h: Remove file.
15974 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15975 '#include' of it.
15976 * manual/maint.texi (Porting): Don't reference it.
15977 * Makerules ($(objpfx)stubs): Likewise.
15978 * dirent/closedir.c: Don't include <stub-tag.h>.
15979 * dirent/dirfd.c: Likewise.
15980 * dirent/fdopendir.c: Likewise.
15981 * dirent/getdents.c: Likewise.
15982 * dirent/getdents64.c: Likewise.
15983 * dirent/opendir.c: Likewise.
15984 * dirent/readdir.c: Likewise.
15985 * dirent/readdir64.c: Likewise.
15986 * dirent/readdir64_r.c: Likewise.
15987 * dirent/readdir_r.c: Likewise.
15988 * dirent/rewinddir.c: Likewise.
15989 * dirent/seekdir.c: Likewise.
15990 * dirent/telldir.c: Likewise.
15991 * gmon/profil.c: Likewise.
15992 * grp/setgroups.c: Likewise.
15993 * inet/if_index.c: Likewise.
15994 * io/access.c: Likewise.
15995 * io/chdir.c: Likewise.
15996 * io/chmod.c: Likewise.
15997 * io/chown.c: Likewise.
15998 * io/close.c: Likewise.
15999 * io/dup.c: Likewise.
16000 * io/dup2.c: Likewise.
16001 * io/dup3.c: Likewise.
16002 * io/euidaccess.c: Likewise.
16003 * io/faccessat.c: Likewise.
16004 * io/fchdir.c: Likewise.
16005 * io/fchmod.c: Likewise.
16006 * io/fchmodat.c: Likewise.
16007 * io/fchown.c: Likewise.
16008 * io/fchownat.c: Likewise.
16009 * io/fcntl.c: Likewise.
16010 * io/flock.c: Likewise.
16011 * io/fstatfs.c: Likewise.
16012 * io/fstatfs64.c: Likewise.
16013 * io/fstatvfs.c: Likewise.
16014 * io/fstatvfs64.c: Likewise.
16015 * io/futimens.c: Likewise.
16016 * io/fxstat.c: Likewise.
16017 * io/fxstat64.c: Likewise.
16018 * io/fxstatat.c: Likewise.
16019 * io/fxstatat64.c: Likewise.
16020 * io/getcwd.c: Likewise.
16021 * io/isatty.c: Likewise.
16022 * io/lchmod.c: Likewise.
16023 * io/lchown.c: Likewise.
16024 * io/link.c: Likewise.
16025 * io/linkat.c: Likewise.
16026 * io/lseek.c: Likewise.
16027 * io/lseek64.c: Likewise.
16028 * io/lxstat64.c: Likewise.
16029 * io/mkdir.c: Likewise.
16030 * io/mkdirat.c: Likewise.
16031 * io/mkfifo.c: Likewise.
16032 * io/mkfifoat.c: Likewise.
16033 * io/open.c: Likewise.
16034 * io/open64.c: Likewise.
16035 * io/openat.c: Likewise.
16036 * io/openat64.c: Likewise.
16037 * io/pipe.c: Likewise.
16038 * io/pipe2.c: Likewise.
16039 * io/poll.c: Likewise.
16040 * io/posix_fadvise.c: Likewise.
16041 * io/posix_fadvise64.c: Likewise.
16042 * io/posix_fallocate.c: Likewise.
16043 * io/posix_fallocate64.c: Likewise.
16044 * io/read.c: Likewise.
16045 * io/readlink.c: Likewise.
16046 * io/readlinkat.c: Likewise.
16047 * io/rmdir.c: Likewise.
16048 * io/sendfile.c: Likewise.
16049 * io/sendfile64.c: Likewise.
16050 * io/statfs.c: Likewise.
16051 * io/statfs64.c: Likewise.
16052 * io/statvfs.c: Likewise.
16053 * io/statvfs64.c: Likewise.
16054 * io/symlink.c: Likewise.
16055 * io/symlinkat.c: Likewise.
16056 * io/ttyname.c: Likewise.
16057 * io/ttyname_r.c: Likewise.
16058 * io/umask.c: Likewise.
16059 * io/unlink.c: Likewise.
16060 * io/unlinkat.c: Likewise.
16061 * io/utime.c: Likewise.
16062 * io/utimensat.c: Likewise.
16063 * io/write.c: Likewise.
16064 * io/xmknod.c: Likewise.
16065 * io/xmknodat.c: Likewise.
16066 * io/xstat.c: Likewise.
16067 * io/xstat64.c: Likewise.
16068 * login/getpt.c: Likewise.
16069 * login/grantpt.c: Likewise.
16070 * login/unlockpt.c: Likewise.
16071 * math/e_acoshl.c: Likewise.
16072 * math/e_acosl.c: Likewise.
16073 * math/e_asinl.c: Likewise.
16074 * math/e_atan2l.c: Likewise.
16075 * math/e_atanhl.c: Likewise.
16076 * math/e_coshl.c: Likewise.
16077 * math/e_expl.c: Likewise.
16078 * math/e_fmodl.c: Likewise.
16079 * math/e_gammal_r.c: Likewise.
16080 * math/e_hypotl.c: Likewise.
16081 * math/e_j0l.c: Likewise.
16082 * math/e_j1l.c: Likewise.
16083 * math/e_jnl.c: Likewise.
16084 * math/e_lgammal_r.c: Likewise.
16085 * math/e_log10l.c: Likewise.
16086 * math/e_log2l.c: Likewise.
16087 * math/e_logl.c: Likewise.
16088 * math/e_powl.c: Likewise.
16089 * math/e_rem_pio2l.c: Likewise.
16090 * math/e_sinhl.c: Likewise.
16091 * math/e_sqrtl.c: Likewise.
16092 * math/fclrexcpt.c: Likewise.
16093 * math/fedisblxcpt.c: Likewise.
16094 * math/feenablxcpt.c: Likewise.
16095 * math/fegetenv.c: Likewise.
16096 * math/fegetexcept.c: Likewise.
16097 * math/fegetround.c: Likewise.
16098 * math/feholdexcpt.c: Likewise.
16099 * math/fesetenv.c: Likewise.
16100 * math/fesetround.c: Likewise.
16101 * math/feupdateenv.c: Likewise.
16102 * math/fgetexcptflg.c: Likewise.
16103 * math/fraiseexcpt.c: Likewise.
16104 * math/fsetexcptflg.c: Likewise.
16105 * math/ftestexcept.c: Likewise.
16106 * math/k_cosl.c: Likewise.
16107 * math/k_rem_pio2l.c: Likewise.
16108 * math/k_sinl.c: Likewise.
16109 * math/k_tanl.c: Likewise.
16110 * math/s_asinhl.c: Likewise.
16111 * math/s_atanl.c: Likewise.
16112 * math/s_cbrtl.c: Likewise.
16113 * math/s_erfl.c: Likewise.
16114 * math/s_expm1l.c: Likewise.
16115 * math/s_log1pl.c: Likewise.
16116 * math/s_tanhl.c: Likewise.
16117 * misc/acct.c: Likewise.
16118 * misc/brk.c: Likewise.
16119 * misc/chflags.c: Likewise.
16120 * misc/chroot.c: Likewise.
16121 * misc/fchflags.c: Likewise.
16122 * misc/fgetxattr.c: Likewise.
16123 * misc/flistxattr.c: Likewise.
16124 * misc/fremovexattr.c: Likewise.
16125 * misc/fsetxattr.c: Likewise.
16126 * misc/fsync.c: Likewise.
16127 * misc/ftruncate.c: Likewise.
16128 * misc/futimes.c: Likewise.
16129 * misc/futimesat.c: Likewise.
16130 * misc/getdomain.c: Likewise.
16131 * misc/getdtsz.c: Likewise.
16132 * misc/gethostid.c: Likewise.
16133 * misc/gethostname.c: Likewise.
16134 * misc/getloadavg.c: Likewise.
16135 * misc/getpagesize.c: Likewise.
16136 * misc/getsysstats.c: Likewise.
16137 * misc/getxattr.c: Likewise.
16138 * misc/gtty.c: Likewise.
16139 * misc/ioctl.c: Likewise.
16140 * misc/lgetxattr.c: Likewise.
16141 * misc/listxattr.c: Likewise.
16142 * misc/llistxattr.c: Likewise.
16143 * misc/lremovexattr.c: Likewise.
16144 * misc/lsetxattr.c: Likewise.
16145 * misc/lutimes.c: Likewise.
16146 * misc/madvise.c: Likewise.
16147 * misc/mincore.c: Likewise.
16148 * misc/mlock.c: Likewise.
16149 * misc/mlockall.c: Likewise.
16150 * misc/mmap.c: Likewise.
16151 * misc/mprotect.c: Likewise.
16152 * misc/msync.c: Likewise.
16153 * misc/munlock.c: Likewise.
16154 * misc/munlockall.c: Likewise.
16155 * misc/munmap.c: Likewise.
16156 * misc/preadv.c: Likewise.
16157 * misc/preadv64.c: Likewise.
16158 * misc/ptrace.c: Likewise.
16159 * misc/pwritev.c: Likewise.
16160 * misc/pwritev64.c: Likewise.
16161 * misc/readv.c: Likewise.
16162 * misc/reboot.c: Likewise.
16163 * misc/remap_file_pages.c: Likewise.
16164 * misc/removexattr.c: Likewise.
16165 * misc/revoke.c: Likewise.
16166 * misc/select.c: Likewise.
16167 * misc/setdomain.c: Likewise.
16168 * misc/setegid.c: Likewise.
16169 * misc/seteuid.c: Likewise.
16170 * misc/sethostid.c: Likewise.
16171 * misc/sethostname.c: Likewise.
16172 * misc/setregid.c: Likewise.
16173 * misc/setreuid.c: Likewise.
16174 * misc/setxattr.c: Likewise.
16175 * misc/sstk.c: Likewise.
16176 * misc/stty.c: Likewise.
16177 * misc/swapoff.c: Likewise.
16178 * misc/swapon.c: Likewise.
16179 * misc/sync.c: Likewise.
16180 * misc/syncfs.c: Likewise.
16181 * misc/syscall.c: Likewise.
16182 * misc/truncate.c: Likewise.
16183 * misc/ualarm.c: Likewise.
16184 * misc/usleep.c: Likewise.
16185 * misc/ustat.c: Likewise.
16186 * misc/utimes.c: Likewise.
16187 * misc/vhangup.c: Likewise.
16188 * misc/writev.c: Likewise.
16189 * posix/_exit.c: Likewise.
16190 * posix/alarm.c: Likewise.
16191 * posix/execve.c: Likewise.
16192 * posix/fexecve.c: Likewise.
16193 * posix/fork.c: Likewise.
16194 * posix/fpathconf.c: Likewise.
16195 * posix/getaddrinfo.c: Likewise.
16196 * posix/getegid.c: Likewise.
16197 * posix/geteuid.c: Likewise.
16198 * posix/getgid.c: Likewise.
16199 * posix/getgroups.c: Likewise.
16200 * posix/getlogin.c: Likewise.
16201 * posix/getlogin_r.c: Likewise.
16202 * posix/getpgid.c: Likewise.
16203 * posix/getpid.c: Likewise.
16204 * posix/getppid.c: Likewise.
16205 * posix/getresgid.c: Likewise.
16206 * posix/getresuid.c: Likewise.
16207 * posix/getsid.c: Likewise.
16208 * posix/getuid.c: Likewise.
16209 * posix/glob64.c: Likewise.
16210 * posix/nanosleep.c: Likewise.
16211 * posix/pathconf.c: Likewise.
16212 * posix/pause.c: Likewise.
16213 * posix/posix_madvise.c: Likewise.
16214 * posix/pread.c: Likewise.
16215 * posix/pread64.c: Likewise.
16216 * posix/pwrite.c: Likewise.
16217 * posix/pwrite64.c: Likewise.
16218 * posix/sched_getaffinity.c: Likewise.
16219 * posix/sched_getp.c: Likewise.
16220 * posix/sched_gets.c: Likewise.
16221 * posix/sched_primax.c: Likewise.
16222 * posix/sched_primin.c: Likewise.
16223 * posix/sched_rr_gi.c: Likewise.
16224 * posix/sched_setaffinity.c: Likewise.
16225 * posix/sched_setp.c: Likewise.
16226 * posix/sched_sets.c: Likewise.
16227 * posix/sched_yield.c: Likewise.
16228 * posix/setgid.c: Likewise.
16229 * posix/setlogin.c: Likewise.
16230 * posix/setpgid.c: Likewise.
16231 * posix/setresgid.c: Likewise.
16232 * posix/setresuid.c: Likewise.
16233 * posix/setsid.c: Likewise.
16234 * posix/setuid.c: Likewise.
16235 * posix/sleep.c: Likewise.
16236 * posix/spawni.c: Likewise.
16237 * posix/sysconf.c: Likewise.
16238 * posix/times.c: Likewise.
16239 * posix/wait.c: Likewise.
16240 * posix/wait3.c: Likewise.
16241 * posix/wait4.c: Likewise.
16242 * posix/waitpid.c: Likewise.
16243 * resolv/gai_sigqueue.c: Likewise.
16244 * resource/getpriority.c: Likewise.
16245 * resource/getrlimit.c: Likewise.
16246 * resource/getrusage.c: Likewise.
16247 * resource/nice.c: Likewise.
16248 * resource/setpriority.c: Likewise.
16249 * resource/setrlimit.c: Likewise.
16250 * resource/ulimit.c: Likewise.
16251 * rt/aio_cancel.c: Likewise.
16252 * rt/aio_fsync.c: Likewise.
16253 * rt/aio_read.c: Likewise.
16254 * rt/aio_sigqueue.c: Likewise.
16255 * rt/aio_suspend.c: Likewise.
16256 * rt/aio_write.c: Likewise.
16257 * rt/clock_getres.c: Likewise.
16258 * rt/clock_gettime.c: Likewise.
16259 * rt/clock_nanosleep.c: Likewise.
16260 * rt/clock_settime.c: Likewise.
16261 * rt/lio_listio.c: Likewise.
16262 * rt/mq_close.c: Likewise.
16263 * rt/mq_getattr.c: Likewise.
16264 * rt/mq_notify.c: Likewise.
16265 * rt/mq_open.c: Likewise.
16266 * rt/mq_receive.c: Likewise.
16267 * rt/mq_send.c: Likewise.
16268 * rt/mq_setattr.c: Likewise.
16269 * rt/mq_timedreceive.c: Likewise.
16270 * rt/mq_timedsend.c: Likewise.
16271 * rt/mq_unlink.c: Likewise.
16272 * rt/shm_open.c: Likewise.
16273 * rt/shm_unlink.c: Likewise.
16274 * rt/timer_create.c: Likewise.
16275 * rt/timer_delete.c: Likewise.
16276 * rt/timer_getoverr.c: Likewise.
16277 * rt/timer_gettime.c: Likewise.
16278 * rt/timer_settime.c: Likewise.
16279 * setjmp/__longjmp.c: Likewise.
16280 * setjmp/setjmp.c: Likewise.
16281 * signal/kill.c: Likewise.
16282 * signal/killpg.c: Likewise.
16283 * signal/raise.c: Likewise.
16284 * signal/sigaction.c: Likewise.
16285 * signal/sigaltstack.c: Likewise.
16286 * signal/sigblock.c: Likewise.
16287 * signal/sigignore.c: Likewise.
16288 * signal/sigintr.c: Likewise.
16289 * signal/signal.c: Likewise.
16290 * signal/sigpause.c: Likewise.
16291 * signal/sigpending.c: Likewise.
16292 * signal/sigqueue.c: Likewise.
16293 * signal/sigreturn.c: Likewise.
16294 * signal/sigset.c: Likewise.
16295 * signal/sigsetmask.c: Likewise.
16296 * signal/sigstack.c: Likewise.
16297 * signal/sigsuspend.c: Likewise.
16298 * signal/sigtimedwait.c: Likewise.
16299 * signal/sigvec.c: Likewise.
16300 * signal/sigwait.c: Likewise.
16301 * signal/sigwaitinfo.c: Likewise.
16302 * signal/sysv_signal.c: Likewise.
16303 * socket/accept.c: Likewise.
16304 * socket/accept4.c: Likewise.
16305 * socket/bind.c: Likewise.
16306 * socket/connect.c: Likewise.
16307 * socket/getpeername.c: Likewise.
16308 * socket/getsockname.c: Likewise.
16309 * socket/getsockopt.c: Likewise.
16310 * socket/isfdtype.c: Likewise.
16311 * socket/listen.c: Likewise.
16312 * socket/recv.c: Likewise.
16313 * socket/recvfrom.c: Likewise.
16314 * socket/recvmsg.c: Likewise.
16315 * socket/send.c: Likewise.
16316 * socket/sendmsg.c: Likewise.
16317 * socket/sendto.c: Likewise.
16318 * socket/setsockopt.c: Likewise.
16319 * socket/shutdown.c: Likewise.
16320 * socket/sockatmark.c: Likewise.
16321 * socket/socket.c: Likewise.
16322 * socket/socketpair.c: Likewise.
16323 * stdio-common/ctermid.c: Likewise.
16324 * stdio-common/cuserid.c: Likewise.
16325 * stdio-common/remove.c: Likewise.
16326 * stdio-common/rename.c: Likewise.
16327 * stdio-common/renameat.c: Likewise.
16328 * stdio-common/tempname.c: Likewise.
16329 * stdlib/getcontext.c: Likewise.
16330 * stdlib/makecontext.c: Likewise.
16331 * stdlib/setcontext.c: Likewise.
16332 * stdlib/swapcontext.c: Likewise.
16333 * stdlib/system.c: Likewise.
16334 * streams/fattach.c: Likewise.
16335 * streams/fdetach.c: Likewise.
16336 * streams/getmsg.c: Likewise.
16337 * streams/getpmsg.c: Likewise.
16338 * streams/putmsg.c: Likewise.
16339 * streams/putpmsg.c: Likewise.
16340 * sysdeps/unix/bsd/getpt.c: Likewise.
16341 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16342 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16343 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16345 Likewise.
16346 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16347 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16348 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16349 * sysvipc/msgctl.c: Likewise.
16350 * sysvipc/msgget.c: Likewise.
16351 * sysvipc/msgrcv.c: Likewise.
16352 * sysvipc/msgsnd.c: Likewise.
16353 * sysvipc/semctl.c: Likewise.
16354 * sysvipc/semget.c: Likewise.
16355 * sysvipc/semop.c: Likewise.
16356 * sysvipc/semtimedop.c: Likewise.
16357 * sysvipc/shmat.c: Likewise.
16358 * sysvipc/shmctl.c: Likewise.
16359 * sysvipc/shmdt.c: Likewise.
16360 * sysvipc/shmget.c: Likewise.
16361 * termios/tcdrain.c: Likewise.
16362 * termios/tcflow.c: Likewise.
16363 * termios/tcflush.c: Likewise.
16364 * termios/tcgetattr.c: Likewise.
16365 * termios/tcgetpgrp.c: Likewise.
16366 * termios/tcsendbrk.c: Likewise.
16367 * termios/tcsetattr.c: Likewise.
16368 * termios/tcsetpgrp.c: Likewise.
16369 * time/adjtime.c: Likewise.
16370 * time/clock.c: Likewise.
16371 * time/getitimer.c: Likewise.
16372 * time/gettimeofday.c: Likewise.
16373 * time/setitimer.c: Likewise.
16374 * time/settimeofday.c: Likewise.
16375 * time/stime.c: Likewise.
16376 * time/time.c: Likewise.
16377
163782012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16379
16380 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16381 /usr/old/bin.
16382
16383 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16384 instead of spaces.
16385 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16386
163872012-11-03 Joseph Myers <joseph@codesourcery.com>
16388
16389 [BZ #14796]
16390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16391 FE_TONEAREST before applying Dekker multiplication and Knuth
16392 addition. Clear inexact exceptions and check for exact zero
16393 results afterwards.
16394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16395 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16396 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16397 * math/libm-test.inc (fma_test): Add more tests.
16398 (fma_test_towardzero): Likewise.
16399 (fma_test_downward): Likewise.
16400 (fma_test_upward): Likewise.
16401 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16402 function.
16403 (libc_fesetround): New macro.
16404 (libc_fesetroundf): Likewise.
16405 (libc_fesetroundl): Likewise.
16406 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16407 function.
16408 (libc_fesetround_387): Likewise.
16409 (libc_fesetroundf): New macro.
16410 (libc_fesetround): Likewise.
16411 (libc_fesetroundl): Likewise.
16412 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16413 function.
16414 (libc_fesetroundf): New macro.
16415 (libc_fesetround): Likewise.
16416 (libc_fesetroundl): Likewise.
16417 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16418 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16419 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16420 libm_hidden_ver.
16421 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16422 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16423 libm_hidden_def.
16424 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16425 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16426 libm_hidden_ver.
16427 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16428 libm_hidden_def.
16429
16430 [BZ #3439]
16431 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16432 integer constant usable in #if and use that to give value to enum
16433 constant.
16434 (FE_DIVBYZERO): Likewise.
16435 (FE_UNDERFLOW): Likewise.
16436 (FE_OVERFLOW): Likewise.
16437 (FE_INVALID): Likewise.
16438 (FE_INVALID_SNAN): Likewise.
16439 (FE_INVALID_ISI): Likewise.
16440 (FE_INVALID_IDI): Likewise.
16441 (FE_INVALID_ZDZ): Likewise.
16442 (FE_INVALID_IMZ): Likewise.
16443 (FE_INVALID_COMPARE): Likewise.
16444 (FE_INVALID_SOFTWARE): Likewise.
16445 (FE_INVALID_SQRT): Likewise.
16446 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16447 (FE_TONEAREST): Likewise.
16448 (FE_TOWARDZERO): Likewise.
16449 (FE_UPWARD): Likewise.
16450 (FE_DOWNWARD): Likewise.
16451 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16452 (FE_DIVBYZERO): Likewise.
16453 (FE_OVERFLOW): Likewise.
16454 (FE_UNDERFLOW): Likewise.
16455 (FE_INEXACT): Likewise.
16456 (FE_TONEAREST): Likewise.
16457 (FE_DOWNWARD): Likewise.
16458 (FE_UPWARD): Likewise.
16459 (FE_TOWARDZERO): Likewise.
16460 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16461 (FE_UNDERFLOW): Likewise.
16462 (FE_OVERFLOW): Likewise.
16463 (FE_DIVBYZERO): Likewise.
16464 (FE_INVALID): Likewise.
16465 (FE_TONEAREST): Likewise.
16466 (FE_TOWARDZERO): Likewise.
16467 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16468 (FE_OVERFLOW): Likewise.
16469 (FE_UNDERFLOW): Likewise.
16470 (FE_DIVBYZERO): Likewise.
16471 (FE_INEXACT): Likewise.
16472 (FE_TONEAREST): Likewise.
16473 (FE_TOWARDZERO): Likewise.
16474 (FE_UPWARD): Likewise.
16475 (FE_DOWNWARD): Likewise.
16476 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16477 (FE_DIVBYZERO): Likewise.
16478 (FE_OVERFLOW): Likewise.
16479 (FE_UNDERFLOW): Likewise.
16480 (FE_INEXACT): Likewise.
16481 (FE_TONEAREST): Likewise.
16482 (FE_DOWNWARD): Likewise.
16483 (FE_UPWARD): Likewise.
16484 (FE_TOWARDZERO): Likewise.
16485
164862012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16487
16488 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16489
164902012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16491
16492 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16493 commands. Quote $PWD.
16494 (blacklist_exports): Don't use remove_newlines. Replace "declare
16495 -x" by "export".
16496 (remove_newlines): Remove.
16497
164982012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16499
16500 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16501 * stdlib/stdlib.h (atof): Moved to ...
16502 * include/bits/stdlib-float.h: Here. New file.
16503 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16504 * stdlib/bits/stdlib-float.h: New file.
16505 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16506 -mno-sse -mno-mmx.
16507 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16508 <xmmintrin.h>.
16509
165102012-11-02 Joseph Myers <joseph@codesourcery.com>
16511
16512 * conform/conformtest.pl (@headers): Add fenv.h.
16513 * conform/data/fenv.h-data: New file.
16514 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16515 include of <math/fenv.h>.
16516
16517 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16518 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16519 && !UNIX98]. Enables tests for XOPEN2K8.
16520 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16521 POSIX2008]: Likewise.
16522
16523 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16524 (struct rusage): Do not expect type or its members.
16525
16526 [BZ #3439]
16527 * math/math.h (FP_NAN): Define macro to integer constant usable in
16528 #if and use that to give value to enum constant.
16529 (FP_INFINITE): Likewise.
16530 (FP_ZERO): Likewise.
16531 (FP_SUBNORMAL): Likewise.
16532 (FP_NORMAL): Likewise.
16533
165342012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16535
16536 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16537 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16538 arguments.
16539
165402012-11-02 Roland McGrath <roland@hack.frob.com>
16541
16542 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16543 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16544 autoconf-time if not.
16545 * configure.in: Remove AC_PREREQ.
16546
165472012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16548
16549 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16550 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16551 of the internal implementation.
16552
165532012-11-02 Joseph Myers <joseph@codesourcery.com>
16554
16555 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16556 except include of <misc/sys/syslog.h>.
16557
165582012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16559
16560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16561 function returns with a NULL context exit with zero.
16562
165632012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16564
16565 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16566
165672012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16568
16569 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16570 (run_program_cmd): This.
16571 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16572 (tst_langinfo): New variable. Use it.
16573
165742012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16575
16576 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16577 floating point opcodes.
16578
165792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16580
16581 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16582 variable.
16583
16584 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16585
16586 * sysdeps/mach/hurd/powerpc: Remove directory.
16587 * sysdeps/mach/powerpc: Likewise.
16588
165892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16590
16591 * scripts/check-local-headers.sh: Ignore c++ headers.
16592
165932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16594
16595 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16596 __libc_cleanup_region_start argument.
16597
165982012-11-01 Joseph Myers <joseph@codesourcery.com>
16599
16600 [BZ #14784]
16601 [BZ #14785]
16602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16603 x * y using scaling, not as x * y + z.
16604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16606 * math/libm-test.inc (fma_test): Add more tests.
16607 (fma_test_towardzero): Likewise.
16608 (fma_test_downward): Likewise.
16609 (fma_test_upward): Likewise.
16610
166112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16612
16613 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16614
166152012-10-31 Joseph Myers <joseph@codesourcery.com>
16616
16617 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16618 New variable.
16619
166202012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16621
16622 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16623
166242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16625
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16627 Fix sort order.
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16629 Likewise.
16630
166312012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16632
16633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16634 Fix the order of the list for glibc 2.17.
16635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16636 Likewise.
16637
166382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16639
16640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16641
166422012-10-31 Joseph Myers <joseph@codesourcery.com>
16643
16644 [BZ #14610]
16645 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16646 for low part of x being zero before using __atanl (y).
16647 * math/libm-test.inc (atan2_test): Add another test.
16648
16649 * manual/install.texi (Configuring and compiling): Document
16650 general use of test-wrapper and test-wrapper-env.
16651 * INSTALL: Regenerated.
16652
16653 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16654 (__fma): Do not extract and scale down low bits on after-rounding
16655 systems when result rounded to normal precision would have normal
16656 exponent.
16657 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16658 (__fmal): Do not extract and scale down low bits on after-rounding
16659 systems when result rounded to normal precision would have normal
16660 exponent.
16661 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16662 (__fmal): Do not extract and scale down low bits on after-rounding
16663 systems when result rounded to normal precision would have normal
16664 exponent.
16665 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16666 macro.
16667 (fma_test): Add more tests.
16668 (fma_test_towardzero): Likewise.
16669 (fma_test_downward): Likewise.
16670 (fma_test_upward): Likewise.
16671
166722012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16673
16674 * sysdeps/i386/tininess.h: Renamed to ...
16675 * sysdeps/x86/tininess.h: This.
16676 * sysdeps/x86_64/tininess.h: Removed.
16677
166782012-10-30 Joseph Myers <joseph@codesourcery.com>
16679
16680 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16681 input. Use $(build-program-cmd).
16682 ($(objpfx)tst-array1-static.out): Likewise.
16683 ($(objpfx)tst-array2.out): Likewise.
16684 ($(objpfx)tst-array3.out): Likewise.
16685 ($(objpfx)tst-array4.out): Likewise.
16686 ($(objpfx)tst-array5.out): Likewise.
16687 ($(objpfx)tst-array5-static.out): Likewise.
16688
166892012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16690
16691 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16692 if defined.
16693
16694 * nss/nsswitch.h (nss_interface_function): Provide new
16695 macro for use with NSS functions.
16696 * grp/initgroups.c: Use new macro.
16697 * nss/getXXbyYY.c: Likewise.
16698 * nss/getXXbyYY_r.c: Likewise.
16699 * nss/getXXent.c: Likewise.
16700 * nss/getXXent_r.c: Likewise.
16701 * sysdeps/posix/getaddrinfo.c: Likewise.
16702
167032012-10-30 Andreas Jaeger <aj@suse.de>
16704
16705 * po/ru.po: Update Russion translation from translation project.
16706
167072012-10-30 Joseph Myers <joseph@codesourcery.com>
16708
16709 [BZ #14152]
16710 [BZ #14783]
16711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16712 result and shift together with sticky bit instead of replicating
16713 round-to-nearest rounding.
16714 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16715 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16716 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16717 missing underflow exceptions.
16718 (fma_test_towardzero): Add more tests.
16719 (fma_test_downward): Likewise.
16720 (fma_test_upward): Likewise.
16721
16722 [BZ #14047]
16723 * sysdeps/generic/tininess.h: New file.
16724 * sysdeps/i386/tininess.h: Likewise.
16725 * sysdeps/sh/tininess.h: Likewise.
16726 * sysdeps/x86_64/tininess.h: Likewise.
16727 * stdlib/tst-strtod-underflow.c: Likewise.
16728 * stdlib/tst-tininess.c: Likewise.
16729 * stdlib/strtod_l.c: Include <tininess.h>.
16730 (round_and_return): Do not set errno for exact underflow cases.
16731 Force an underflow exception when setting errno for underflow.
16732 Determine underflow based on rounding to normal precision if
16733 TININESS_AFTER_ROUNDING.
16734 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16735 ERANGE for exact underflow cases.
16736 * stdlib/Makefile (tests): Add tst-tininess and
16737 tst-strtod-underflow.
16738 ($(objpfx)tst-tininess): Use $(link-libm).
16739 ($(objpfx)tst-strtod-underflow): Likewise.
16740
167412012-10-30 Andreas Jaeger <aj@suse.de>
16742
16743 [BZ#14767]
16744 * elf/Makefile (tests): Remove conditional for have-initfini-array
16745 since this is now always required and the variable does not exist
16746 anymore.
16747 (tests-static): Likewise.
16748 (modules-names): Likewise.
16749
16750 * po/eo.po: Add Esperanto translation from translation project.
16751
16752 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16753 merged with constructor/destructor.
16754 (init_array): Likewise.
16755 * elf/tst-array2dep.c (fini_array): Likewise.
16756 (init_array): Likewise.
16757
167582012-10-29 Mike Frysinger <vapier@gentoo.org>
16759
16760 * manual/message.texi: Delete @cartouche tags.
16761
167622012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16763
16764 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16765 EOPNOTSUPP.
16766 * sysdeps/mach/hurd/fsync.c: Likewise.
16767
16768 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16769 [_POSIX_REALTIME_SIGNALS]: Change condition to
16770 [_POSIX_REALTIME_SIGNALS > 0].
16771
167722012-10-27 Andreas Jaeger <aj@suse.de>
16773
16774 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16775 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16777 [__WORDSIZE != 64]: Likewise.
16778
167792012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16780
16781 * iconvdata/tst-table.sh: Remove ${SHELL}.
16782 * iconvdata/tst-tables.sh: Likewise.
16783
167842012-10-25 David S. Miller <davem@davemloft.net>
16785
16786 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16787 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16788 of strtoull.
16789
16790 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16791 ifunc-impl-list.c
16792 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16793 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16794 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16795 file.
16796
167972012-10-25 Roland McGrath <roland@hack.frob.com>
16798
16799 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16800 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16801 __getdirentries.
16802
168032012-10-25 Joseph Myers <joseph@codesourcery.com>
16804 Jim Blandy <jimb@codesourcery.com>
16805
16806 * scripts/cross-test-ssh.sh: New file.
16807 * manual/install.texi (Configuring and compiling): Document use of
16808 cross-test-ssh.sh.
16809 * INSTALL: Regenerated.
16810
168112012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16812
16813 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16814 EOPNOTSUPP.
16815
168162012-10-25 Joseph Myers <joseph@codesourcery.com>
16817
16818 * Makeconfig (run-program-prefix): Fix comment.
16819
168202012-10-24 Joseph Myers <joseph@codesourcery.com>
16821 Jim Blandy <jimb@codesourcery.com>
16822
16823 * Makeconfig (test-wrapper): New variable,
16824 (test-wrapper-env): Likewise.
16825 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16826 (run-built-tests): Define to yes.
16827 (run-program-prefix): Use $(test-wrapper).
16828 (built-program-cmd): Likewise.
16829 * Rules (make-test-out): Use $(test-wrapper-env) and
16830 $(host-built-program-cmd).
16831 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16832 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16833 tst-pathopt.sh.
16834 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16835 $(test-wrapper-env) to tst-rtld-load-self.sh.
16836 ($(objpfx)order2.out): Use $(test-wrapper).
16837 ($(objpfx)tst-initorder.out): Likewise.
16838 ($(objpfx)tst-initorder2.out): Likewise.
16839 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16840 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16841 (test_wrapper_env): New variable. Use it to run ld.so.
16842 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16843 Use it to run ld.so.
16844 (test_wrapper_env): Likewise.
16845 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16846 $(test-wrapper) to run-iconv-test.sh.
16847 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16848 (ICONV): Use $test_wrapper.
16849 * posix/Makefile ($(objpfx)globtest.out): Pass
16850 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16851 globtest.sh, not $(run-program-prefix).
16852 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16853 (test_wrapper): Likewise.
16854 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16855 set together with run_via_rtld_prefix.
16856 (run_program_prefix): Define in terms of test_wrapper and
16857 run_via_rtld_prefix.
16858
168592012-10-24 Roland McGrath <roland@hack.frob.com>
16860
16861 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16862 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16863 Targets removed.
16864
16865 [BZ #14743]
16866 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16867 Declare __clock_getres, __clock_gettime, __clock_settime,
16868 __clock_nanosleep, and __clock_getcpuclockid.
16869 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16870 Remove librt_hidden_def (clock_gettime).
16871 * sysdeps/unix/clock_gettime.c: Likewise.
16872 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16874 * rt/clock_getres.c: Define __clock_getres as an alias.
16875 * sysdeps/posix/clock_getres.c: Likewise.
16876 * rt/clock_settime.c: Define __clock_settime as an alias.
16877 * sysdeps/unix/clock_settime.c: Likewise.
16878 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16879 * sysdeps/unix/clock_nanosleep.c: Likewise.
16880 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16881 * rt/clock-compat.c: New file.
16882 * rt/Makefile (librt-routines): Add clock-compat and move
16883 $(clock-routines) to ...
16884 (routines): ... here, new variable.
16885 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16886 Don't add get_clockfreq here.
16887 * rt/Versions (libc: GLIBC_2.17): New version set.
16888 Add clock_* symbols here.
16889 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16890 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16891 (GLIBC_2.17): Add clock_* symbols.
16892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16894 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16896 Likewise.
16897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16898 Likewise.
16899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16903 * NEWS: Mention the move.
16904
16905 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16906 Use __open, __read, __close rather than their public counterparts.
16907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16908 (__get_clockfreq_via_cpuinfo): Likewise.
16909 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16910 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16911
16912 * config.h.in (HAVE_IFUNC): New #undef.
16913 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16914 was successful.
16915 * configure: Regenerated.
16916
169172012-10-24 Mike Frysinger <vapier@gentoo.org>
16918
16919 * configure.in: Move READELF check to start of file.
16920 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16921 libc_cv_asm_gnu_indirect_function in the process.
16922 * configure: Regenerated.
16923
169242012-10-24 Mike Frysinger <vapier@gentoo.org>
16925
16926 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16927 send the output to /dev/null.
16928 (libc_cv_cc_with_libunwind): Likewise.
16929 (libc_cv_as_noexecstack): Likewise.
16930 * configure: Regenerate.
16931
169322012-10-24 Joseph Myers <joseph@codesourcery.com>
16933
16934 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16935
16936 * posix/globtest.sh (TMPDIR): Do not set.
16937 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16938 (testout): Likewise.
16939
169402012-10-24 Andreas Jaeger <aj@suse.de>
16941
16942 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16943 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16944 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16945 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16946 posix_fadvise64, posix_fallocate64.
16947
16948 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16949 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16950 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16951 Likewise.
16952 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16953 Likewise.
16954 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16955
16956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16957 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16958 <bits/fcntl-linux.h>.
16959 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16960
16961 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16962 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16963 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16964 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16965 [__WORDSIZE != 64]: Likewise.
16966
169672012-10-23 Joseph Myers <joseph@codesourcery.com>
16968
16969 * Makeconfig (run-built-tests): New variable.
16970 * Rules [$(cross-compiling) = yes]: Change condition to
16971 [$(run-built-tests) = no].
16972 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16973 to [$(run-built-tests) = yes].
16974 * elf/Makefile [$(cross-compiling) = no]: Likewise
16975 * grp/Makefile [$(cross-compiling) = no]: Likewise.
16976 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16977 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16978 * intl/Makefile [$(cross-compiling) = no]: Likewise.
16979 * io/Makefile [$(cross-compiling) = no]: Likewise.
16980 * libio/Makefile [$(cross-compiling) = no]: Likewise.
16981 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16982 * misc/Makefile [$(cross-compiling) = no]: Likewise.
16983 * posix/Makefile [$(cross-compiling) = no]: Likewise.
16984 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16985 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16986 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16987 * string/Makefile [$(cross-compiling) = no]: Likewise.
16988
16989 * posix/Makefile ($(objpfx)globtest.out): Pass
16990 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16991 $(rtld-installed-name).
16992 * posix/globtest.sh (elf_objpfx): Remove variable.
16993 (rtld_installed_name): Likewise.
16994 (library_path): Likewise.
16995 (run_program_prefix): New variable. Use for running globtest
16996 binary.
16997
169982012-10-23 Jim Blandy <jimb@codesourcery.com>
16999 Joseph Myers <joseph@codesourcery.com>
17000
17001 * Makeconfig (host-built-program-cmd): New variable.
17002 * elf/Makefile (tst-stackguard1-ARGS): Use
17003 $(host-built-program-cmd).
17004 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17005 (tst-spawn-ARGS): Likewise.
17006 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17007
170082012-10-23 Joseph Myers <joseph@codesourcery.com>
17009 Jim Blandy <jimb@codesourcery.com>
17010
17011 * Makeconfig (run-via-rtld-prefix): New variable.
17012 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17013 (built-program-cmd): Likewise.
17014
170152012-10-22 Andreas Jaeger <aj@suse.de>
17016
17017 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17018 __O_RSYNC if it exists, otherwise to O_SYNC.
17019
170202012-10-22 Jim Blandy <jimb@codesourcery.com>
17021 Joseph Myers <joseph@codesourcery.com>
17022
17023 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17024 /dev/null.
17025 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17026 from /dev/null
17027 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17028 /dev/null.
17029
170302012-10-22 Andreas Jaeger <aj@suse.de>
17031
17032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17033 Define always.
17034 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17035
17036 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17037 bits/fcntl-linux.h.
17038
17039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17040 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17041
17042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17043 to __O_LARGEFILE.
17044 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17045 to __O_LARGEFILE.
17046
170472012-10-21 Jim Blandy <jimb@codesourcery.com>
17048 Joseph Myers <joseph@codesourcery.com>
17049
17050 * config.make.in (NM): New variable.
17051
170522012-10-21 Andreas Jaeger <aj@suse.de>
17053
17054 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17055 definitions and declarations that are provided by
17056 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17057
170582012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17059
17060 [BZ #14683]
17061 * elf/Makefile (tests-static): Add tst-leaks1-static.
17062 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17063 ($(objpfx)tst-leaks1-static): New rule.
17064 ($(objpfx)tst-leaks1-static-mem): Likewise.
17065 (tst-leaks1-static-ENV): New macro.
17066 * elf/dl-open.c (dl_open_worker): Check the main application
17067 only if SHARED is defined.
17068 * elf/tst-leaks1-static.c: New file.
17069
170702012-10-20 Andreas Jaeger <aj@suse.de>
17071
17072 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17073 generic values for Linux.
17074 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17075 and declarations that are provided by <bits/fcntl-linux.h> and
17076 include <bits/fcntl-linux.h>.
17077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17079
170802012-10-20 Roland McGrath <roland@hack.frob.com>
17081
17082 * io/fcntl.h: Move include of <bits/types.h> to the top and
17083 include it unconditionally.
17084
170852012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17086
17087 * wcsmbs/Makefile (tests-ifunc): New variable.
17088 (tests): Add $(tests-ifunc).
17089 * wcsmbs/test-wcschr-ifunc.c: New file.
17090 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17091 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17092 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17093 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17094 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17095
17096 * string/Makefile (tests-ifunc): New variable.
17097 (tests): Add $(tests-ifunc).
17098 * string/test-memccpy.c (TEST_NAME): New macro.
17099 * string/test-memchr.c (TEST_NAME): Likewise.
17100 * string/test-memcmp.c (TEST_NAME): Likewise.
17101 * string/test-memcpy.c (TEST_NAME): Likewise.
17102 * string/test-memmem.c (TEST_NAME): Likewise.
17103 * string/test-memmove.c (TEST_NAME): Likewise.
17104 * string/test-memset.c (TEST_NAME): Likewise.
17105 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17106 * string/test-stpcpy.c (TEST_NAME): Likewise.
17107 * string/test-stpncpy.c (TEST_NAME): Likewise.
17108 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17109 * string/test-strcasestr.c (TEST_NAME): Likewise.
17110 * string/test-strcat.c (TEST_NAME): Likewise.
17111 * string/test-strchr.c (TEST_NAME): Likewise.
17112 * string/test-strcmp.c(TEST_NAME): Likewise.
17113 * string/test-strcpy.c (TEST_NAME): Likewise.
17114 * string/test-strcspn.c (TEST_NAME): Likewise.
17115 * string/test-strlen.c (TEST_NAME): Likewise.
17116 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17117 * string/test-strncmp.c (TEST_NAME): Likewise.
17118 * string/test-strncpy.c (TEST_NAME): Likewise.
17119 * string/test-strnlen.c (TEST_NAME): Likewise.
17120 * string/test-strpbrk.c (TEST_NAME): Likewise.
17121 * string/test-strrchr.c (TEST_NAME): Likewise.
17122 * string/test-strspn.c (TEST_NAME): Likewise.
17123 * string/test-strstr.c (TEST_NAME): Likewise.
17124 * string/test-bcopy-ifunc.c: New file.
17125 * string/test-bzero-ifunc.c: Likewise.
17126 * string/test-memccpy-ifunc.c: Likewise.
17127 * string/test-memchr-ifunc.c: Likewise.
17128 * string/test-memcmp-ifunc.c: Likewise.
17129 * string/test-memcpy-ifunc.c: Likewise.
17130 * string/test-memmem-ifunc.c: Likewise.
17131 * string/test-memmove-ifunc.c: Likewise.
17132 * string/test-mempcpy-ifunc.c: Likewise.
17133 * string/test-memset-ifunc.c: Likewise.
17134 * string/test-rawmemchr-ifunc.c: Likewise.
17135 * string/test-stpcpy-ifunc.c: Likewise.
17136 * string/test-stpncpy-ifunc.c: Likewise.
17137 * string/test-strcasecmp-ifunc.c: Likewise.
17138 * string/test-strcasestr-ifunc.c: Likewise.
17139 * string/test-strcat-ifunc.c: Likewise.
17140 * string/test-strchr-ifunc.c: Likewise.
17141 * string/test-strchrnul-ifunc.c: Likewise.
17142 * string/test-strcmp-ifunc.c: Likewise.
17143 * string/test-strcpy-ifunc.c: Likewise.
17144 * string/test-strcspn-ifunc.c: Likewise.
17145 * string/test-strlen-ifunc.c: Likewise.
17146 * string/test-strncasecmp-ifunc.c: Likewise.
17147 * string/test-strncat-ifunc.c: Likewise.
17148 * string/test-strncmp-ifunc.c: Likewise.
17149 * string/test-strncpy-ifunc.c: Likewise.
17150 * string/test-strnlen-ifunc.c: Likewise.
17151 * string/test-strpbrk-ifunc.c: Likewise.
17152 * string/test-strrchr-ifunc.c: Likewise.
17153 * string/test-strspn-ifunc.c: Likewise.
17154 * string/test-strstr-ifunc.c: Likewise.
17155
17156 * debug/Makefile (tests-ifunc): New variable.
17157 (tests): Add $(tests-ifunc).
17158 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17159 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17160 * debug/test-stpcpy_chk-ifunc.c: New file.
17161 * debug/test-strcpy_chk-ifunc.c: Likewise.
17162
171632012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17164
17165 [BZ #13601]
17166 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17167 header is not read in.
17168
171692012-10-19 Joseph Myers <joseph@codesourcery.com>
17170
17171 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17172 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17173 directly. Pass built executable to script as
17174 $(built-program-cmd).
17175 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17176 $testprogram without using LD_LIBRARY_PATH and $ldso.
17177
17178 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17179 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17180 $(rtld-installed-name).
17181 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17182 (rtld_installed_name): Likewise.
17183 (library_path): Likewise.
17184 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17185 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17186 $(run-program-prefix) to tst-tables.sh.
17187 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17188 it to run tst-table-from and tst-table-to.
17189 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17190 Pass it to tst-table.sh.
17191 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17192 $(run-program-prefix) to tst-gettext.sh.
17193 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17194 tst-translit.sh.
17195 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17196 tst-gettext2.sh.
17197 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17198 to run tst-gettext.
17199 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17200 to run tst-gettext2.
17201 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17202 to run tst-translit.
17203 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17204 $(run-program-prefix) to tst-mtrace.sh.
17205 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17206 to run tst-mtrace.
17207 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17208 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17209 $(rtld-installed-name).
17210 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17211 (rtld_installed_name): Likewise.
17212 (run_program_prefix): New variable. Use it to run wordexp-test.
17213
17214 * Makeconfig (ARCH): Remove all definitions.
17215 (machine): Likewise.
17216 [ARCH]: Remove conditional code.
17217 [!objdir]: Give error.
17218 [!objdir] (objpfx): Remove.
17219 [!objdir] (common-objpfx): Likewise.
17220 [!objdir] (common-objdir): Likewise.
17221 * configure.in (config_makefile): Remove. Hardcode Makefile in
17222 AC_CONFIG_FILES call.
17223 * configure: Regenerated.
17224
17225 [BZ #13888]
17226 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17227 or TMPDIR.
17228 (testout): Likewise.
17229
17230 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17231 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17232 $(rtld-installed-name).
17233 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17234 (rtld_installed_name): Likwise.
17235 (runit): Remove function.
17236 (run_getconf): New variable, Use it for running getconf binary.
17237
172382012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17239
17240 [BZ #14716]
17241 * string/test-memmem.c (check_result): New function.
17242 (do_one_test): Use it.
17243 (check1): New function.
17244 (test_main): Use it.
17245
172462012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17247
17248 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17249
172502012-10-18 Joseph Myers <joseph@codesourcery.com>
17251
17252 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17253 (_G_LSEEK64): Likewise.
17254 (_G_MMAP64): Likewise.
17255 (_G_FSTAT64): Likewise.
17256 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17257 (_G_LSEEK64): Likewise.
17258 (_G_MMAP64): Likewise.
17259 (_G_FSTAT64): Likewise.
17260 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17261 unconditional. Call __mmap64 directly.
17262 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17263 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17264 __lseek64 directly.
17265 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17266 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17267 __mmap64 directly.
17268 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17269 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17270 __lseek64 directly.
17271 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17272 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17273 __lseek64 directly.
17274 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17275 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17276 __lseek64 directly.
17277 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17278 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17279 __fxstat64 directly.
17280 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17281 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17282 unconditional.
17283 (freopen64) [!_G_OPEN64]: Remove conditional code.
17284 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17285 unconditional.
17286 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17287 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17288 unconditional.
17289 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17290 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17291 unconditional.
17292 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17293 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17294 unconditional.
17295 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17296 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17297 unconditional.
17298 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17299 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17300 unconditional.
17301 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17302 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17303 unconditional.
17304 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17305
173062012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17307
17308 [BZ #12140]
17309 * manual/memory.texi (Malloc Tunable Parameters): Add note
17310 about free list pointers overwriting some perturb bytes.
17311 Wording suggested by Roland McGrath.
17312
173132012-10-17 Joseph Myers <joseph@codesourcery.com>
17314
17315 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17316 (lgamma_test): Likewise.
17317 (tgamma_test): Likewise.
17318
173192012-10-16 Florian Weimer <fweimer@redhat.com>
17320
17321 [BZ #14700]
17322 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17323 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17324
173252012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17326
17327 * NEWS: Mention BZ #14716.
17328 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17329 when removing AVAILABLE1_USES_J macro.
17330
173312012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17332
17333 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17334 (__bswap_64): __uint64_t for unsigned 64-bit int.
17335
173362012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17337
17338 * include/string.h (memmem): Declare libc hidden alias.
17339 * string/memmem.c (memmem): Define libc hidden alias.
17340 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17341 __read, __close instead of open, read, close.
17342
173432012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17344
17345 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17346 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17347 global and hidden.
17348 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17349 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17350 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17351 Likewise.
17352 (__rawmemchr_sse2): Likewise.
17353 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17354 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17355 (__strchr_sse2): Likewise.
17356 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17357 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17358 (__strcasecmp_sse2): Likewise.
17359 (__strncasecmp_sse2): Likewise.
17360 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17361 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17362 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17363 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17364 (__strrchr_sse2): Likewise.
17365 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17366 ifunc-impl-list.c.
17367 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17368 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17369 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17370 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17371 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17372 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17373 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17374 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17375 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17376 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17377 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17378 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17379 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17380 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17381 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17382 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17383 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17384 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17385 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17386 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17387 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17388 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17389 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17390 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17391 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17392 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17393 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17394 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17395 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17396 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17397
17398 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17399 global and hidden.
17400 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17401 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17402 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17403 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17404 Likewise.
17405 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17406 Likewise.
17407 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17408 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17409 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17410 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17411 ifunc-impl-list.c.
17412 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17413 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17414 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17415 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17416 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17417 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17418 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17419 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17420 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17421 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17422 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17423 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17424 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17425 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17426 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17427 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17428 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17429 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17430 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17431 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17432 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17433 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17434 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17435 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17436 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17437 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17438 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17439 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17440 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17441 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17442 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17443 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17444 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17445 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17446 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17447 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17448 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17449 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17450 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17451 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17452 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17453
17454 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17455 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17456 * include/ifunc-impl-list.h: New file.
17457 * misc/ifunc-impl-list.c: Likewise.
17458 * misc/Makefile (routines): Add ifunc-impl-list.
17459 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17460 * string/test-string.h: Include <ifunc-impl-list.h>.
17461 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17462 impl_array): New variables.
17463 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17464 are defined.
17465 (test_init): Call __libc_ifunc_impl_list to initialize
17466 func_list if TEST_IFUNC and TEST_NAME are defined.
17467
17468 * string/Makefile (strop-tests): Add bcopy and bzero.
17469 * string/test-bcopy.c: New file.
17470 * string/test-bzero.c: Likewise.
17471 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17472 defined.
17473 * string/test-memset.c: Support bzero test if TEST_BZERO is
17474 defined.
17475 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17476 __libc_memmove.
17477 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17478 __libc_memset.
17479 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17480 of memset.
17481
174822012-10-10 Joseph Myers <joseph@codesourcery.com>
17483
17484 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17485 * configure: Regenerated.
17486
17487 * Makeconfig (+link-static-before-libc): Don't include
17488 $(link-static-libc).
17489
17490 * libio/libio.h (_IO_pos_t): Remove.
17491
174922012-10-10 Alexandre Oliva <aoliva@redhat.com>
17493
17494 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17495 McGrath.
17496
174972012-10-10 Alexandre Oliva <aoliva@redhat.com>
17498
17499 * crypt/crypt-entry.c: Include fips-private.h.
17500 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17501 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17502 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17503 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17504
175052012-10-10 Alexandre Oliva <aoliva@redhat.com>
17506
17507 * crypt/crypt-private.h: Include stdbool.h.
17508 (_ufc_setup_salt_r): Return bool.
17509 * crypt/crypt-entry.c: Include errno.h.
17510 (__crypt_r): Return NULL with EINVAL for bad salt.
17511 * crypt/crypt_util.c (bad_for_salt): New.
17512 (_ufc_setup_salt_r): Check that salt is long enough and within
17513 the specified alphabet.
17514 * crypt/badsalttest.c: New file.
17515 * crypt/Makefile (tests): Add it.
17516 ($(objpfx)badsalttest): New.
17517
175182012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17519
17520 * NEWS: Add entry for BZ #14602.
17521
175222012-10-09 Joseph Myers <joseph@codesourcery.com>
17523
17524 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17525 type-generic.
17526 * math/libm-test.inc: Update comment listing what functions and
17527 macros are tested.
17528 (isgreater_test): New function.
17529 (isgreaterequal_test): Likewise.
17530 (isless_test): Likewise.
17531 (islessequal_test): Likewise.
17532 (islessgreater_test): Likewise.
17533 (isunordered_test): Likewise.
17534 (main): Call the new functions.
17535
175362012-10-09 Roland McGrath <roland@hack.frob.com>
17537
17538 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17539 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17540 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17541 * sysdeps/i386/configure: Regenerated.
17542 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17543 * sysdeps/mach/configure: Regenerated.
17544 * sysdeps/mach/hurd/configure: Regenerated.
17545 * sysdeps/powerpc/configure: Regenerated.
17546 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17547 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17548 * sysdeps/s390/s390-32/configure: Regenerated.
17549 * sysdeps/s390/s390-64/configure: Regenerated.
17550 * sysdeps/sh/configure: Regenerated.
17551 * sysdeps/sparc/configure: Regenerated.
17552 * sysdeps/unix/sysv/linux/configure: Regenerated.
17553 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17554 * sysdeps/x86_64/configure: Regenerated.
17555
17556 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17557 defined. Don't check if MAP is NULL.
17558
175592012-10-09 Joseph Myers <joseph@codesourcery.com>
17560
17561 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17562 (_G_stat64): Likewise.
17563 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17564 (_G_stat64): Likewise.
17565 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17566 instead of struct _G_stat64.
17567 * libio/fileops.c (mmap_remap_check): Likewise.
17568 (decide_maybe_mmap): Likewise.
17569 (_IO_new_file_seekoff): Likewise.
17570 (_IO_file_stat): Likewise.
17571 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17572 _G_off64_t.
17573 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17574 instead of struct _G_stat64.
17575 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17576
175772012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17578
17579 [BZ #14602]
17580 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17581 Replace with ...
17582 (CHECK_EOL): New macro.
17583 (two_way_short_needle): Check beginning of haystack for EOL. Use
17584 CHECK_EOL.
17585 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17586 Replace with CHECK_EOL.
17587 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17588 Replace with CHECK_EOL.
17589
175902012-10-08 Joseph Myers <joseph@codesourcery.com>
17591
17592 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17593 type-generic.
17594 * math/libm-test.inc: Update comment listing what functions and
17595 macros are tested.
17596 (finite_test): New function.
17597 (isinf_test): Likewise.
17598 (isnan_test): Likewise.
17599 (fpclassify_test): Test subnormal input.
17600 (isfinite_test): Likewise.
17601 (isnormal_test): Likewise.
17602 (main): Call the new functions.
17603
176042012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17605
17606 [BZ #14660]
17607 * Makerules (%.dynsym): Force C locale when running
17608 $(OBJDUMP) --dynamic-syms.
17609
176102012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17611
17612 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17613 <stdint.h>.
17614
176152012-10-06 David S. Miller <davem@davemloft.net>
17616
17617 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17618 upper 32-bits of the length value in %o2 since we use branch-on-register
17619 tests which consider the entire 64-bit register.
17620
176212012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17622
17623 * string/test-strstr.c (check2): Add a test for page boundary.
17624
176252012-10-05 David S. Miller <davem@davemloft.net>
17626
17627 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17628 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17629 file.
17630 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17631 sysdep_routines.
17632 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17633 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17634 and bzero when HWCAP_SPARC_CRYPTO is present.
17635
176362012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17637
17638 [BZ #14602]
17639 * string/test-strstr.c (check2): New function.
17640 (test_main): Call check2.
17641
17642 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17643 and bug-strchr1.
17644 * string/bug-strcasestr1.c (do_test): Moved to ...
17645 * string/test-strcasestr.c (check1): Here. New function.
17646 (do_one_test): Break out result checking code into ...
17647 (check_result): This. New function.
17648 (do_one_test): Call check_result.
17649 (test_main): Call check1.
17650 * string/bug-strchr1.c (do_test): Moved to ...
17651 * string/test-strchr.c (check1): Here. New function.
17652 (do_one_test): Break out result checking code into ...
17653 (check_result): This. New function.
17654 (do_one_test): Call check_result.
17655 (test_main): Call check1.
17656 * string/bug-strstr1.c (main): Moved to ...
17657 * string/test-strstr.c (check1): Here. New function.
17658 (do_one_test): Break out result checking code into ...
17659 (check_result): This. New function.
17660 (do_one_test): Call check_result.
17661 (test_main): Call check1.
17662 * string/bug-strcasestr1.c: Removed.
17663 * string/bug-strchr1.c: Likewise.
17664 * string/bug-strstr1.c: Likewise.
17665
17666 * elf/Makefile (dl-routines): Add hwcaps.
17667 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17668 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17669 (_dl_important_hwcaps): Moved to ...
17670 * elf/dl-hwcaps.c: Here. New file.
17671 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17672
17673 [BZ #14557]
17674 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17675 if IS_IN_rtld isn't defined.
17676
17677 * elf/dl-support.c (_dl_sysinfo_map): New.
17678 Include "get-dynamic-info.h" and "setup-vdso.h".
17679 (_dl_non_dynamic_init): Call setup_vdso.
17680 * elf/dynamic-link.h: Don't include <assert.h>.
17681 (elf_get_dynamic_info): Moved to ...
17682 * elf/get-dynamic-info.h: Here. New file.
17683 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17684 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17685 * elf/setup-vdso.h: Here. New file.
17686 * elf/rtld.c: Include "setup-vdso.h".
17687 (dl_main): Call setup_vdso.
17688
176892012-10-05 Joseph Myers <joseph@codesourcery.com>
17690
17691 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17692 creal in comment listing functions tested. List finite, isinf,
17693 isnan, isless, islessequal, isgreater, isgreaterequal,
17694 islessgreater, isunordered, lgamma_r and pow10 as functions and
17695 macros not tested. Mention which functions not tested are aliases
17696 for other functions. Fix typo. Note that signs of NaNs are not
17697 tested.
17698
17699 * scripts/config.guess: Update from config.git.
17700 * scripts/config.sub: Likewise.
17701
177022012-10-04 Roland McGrath <roland@hack.frob.com>
17703
17704 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17705 * misc/madvise.c (madvise): Renamed to __madvise.
17706 Make madvise a weak alias.
17707 * include/sys/mman.h: Declare __madvise.
17708 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17709 * sysdeps/unix/syscalls.list
17710 (madvise): Make __madvise the strong name, and madvise a weak alias.
17711 * sysdeps/unix/sysv/linux/syscalls.list
17712 (madvise, mmap): Remove redundant entries.
17713 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17714 * malloc/malloc.c (mtrim): Likewise.
17715 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17716
177172012-10-03 Roland McGrath <roland@hack.frob.com>
17718
17719 * sysdeps/mach/hurd/dl-cache.c: File removed.
17720 * config.h.in (USE_LDCONFIG): New #undef.
17721 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17722 * configure: Regenerated.
17723 * elf/Makefile (dl-routines): Add dl-cache only under
17724 [$(use-ldconfig) = yes].
17725 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17726 cache on [USE_LDCONFIG].
17727 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17728 [USE_LDCONFIG].
17729 * elf/rtld.c (dl_main): Likewise.
17730
177312012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17732
17733 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17734 _SC_LEVEL4_CACHE_LINESIZE.
17735
177362012-10-03 Roland McGrath <roland@hack.frob.com>
17737
17738 * sysdeps/unix/bsd/confstr.h: File removed.
17739
177402012-10-02 Alexandre Oliva <aoliva@redhat.com>
17741
17742 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17743 sys/sdt-config.h.
17744
177452012-10-02 Roland McGrath <roland@hack.frob.com>
17746
17747 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17748 Make 'mapoff' field ElfW(Off) rather than off_t.
17749
177502012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17751
17752 * nscd/Makefile: Remove nscd-cflags and all its users.
17753 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17754 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17755
17756 [BZ #10631]
17757 * malloc.c (malloc_printerr): Clarify error message.
17758
177592012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17760
17761 [BZ #14648]
17762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17763 Set bit_FMA_Usable if FMA is supported.
17764 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17765 macro.
17766 (bit_FMA4_Usable): Updated.
17767 (index_FMA_Usable): New macro.
17768 (CPUID_FMA): Likewise
17769 (HAS_FMA): Defined with bit_FMA_Usable.
17770
177712012-10-01 Roland McGrath <roland@hack.frob.com>
17772
17773 * bits/types.h (__swblk_t): Type removed.
17774 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17775 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17776 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17777 (__SWBLK_T_TYPE): Likewise.
17778 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17779 (__SWBLK_T_TYPE): Likewise.
17780 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17781 (__SWBLK_T_TYPE): Likewise.
17782 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17783 (__SWBLK_T_TYPE): Likewise.
17784
177852012-10-01 Patsy Franklin <pfrankli@redhat.com>
17786 Honza Horak <hhorak@redhat.com>
17787
17788 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17789 (xdr_mapname): Use YPMAXMAP as maxsize.
17790 (xdr_peername): Use YPMAXPEER as maxsize.
17791 (xdr_keydat): Use YPAXRECORD as maxsize.
17792 (xdr_valdat): Use YPMAXRECORD as maxsize.
17793
177942012-10-01 Roland McGrath <roland@hack.frob.com>
17795
17796 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17797
17798 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17799 * csu/init-first.c: ... here.
17800 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17801 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17802 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17803 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17804 * sysdeps/i386/init-first.c: File removed.
17805 * sysdeps/sh/init-first.c: File removed.
17806
178072012-10-01 Joseph Myers <joseph@codesourcery.com>
17808
17809 [BZ #14645]
17810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17811 if x * y might underflow to zero and z is zero.
17812 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17813 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17814 * math/libm-test.inc (min_subnorm_value): New variable.
17815 (fma_test): Add more tests.
17816 (fma_test_towardzero): Likewise.
17817 (fma_test_downward): Likewise
17818 (fma_test_upward): Likewise.
17819 (initialize): Set min_subnorm_value.
17820
178212012-09-29 Joseph Myers <joseph@codesourcery.com>
17822
17823 [BZ #14638]
17824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17825 0 + 0.
17826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17827 mode for addition resulting in exact zero.
17828 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17830 exact 0 + 0.
17831 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17832 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17833 * math/libm-test.inc (fma_test): Add more tests.
17834 (fma_test_towardzero): New function.
17835 (fma_test_downward): Likewise.
17836 (fma_test_upward): Likewise.
17837 (main): Call the new functions.
17838
178392012-09-28 David S. Miller <davem@davemloft.net>
17840
17841 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17842
178432012-09-28 Roland McGrath <roland@hack.frob.com>
17844
17845 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17846 instead of SIGALRM.
17847
17848 * sysdeps/gnu/_G_config.h: Moved to ...
17849 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17850 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17851 * sysdeps/generic/_G_config.h: ... here.
17852
17853 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17854
17855 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17856
17857 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17858 Conditionalize target on [libnss_test1.so-version].
17859
17860 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17861
17862 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17863 (elfobjdir): Move out of conditionals.
17864
17865 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17866 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17867 (__nss_lookup_function): Conditionalize label remove_from_tree on
17868 [!DO_STATIC_NSS || SHARED], matching its only use.
17869
178702012-09-28 David S. Miller <davem@davemloft.net>
17871
17872 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17873 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17874 file.
17875 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17876 sysdep_routines.
17877 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17879 when HWCAP_SPARC_CRYPTO is present.
17880
178812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17882
17883 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17884
178852012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17886
17887 [BZ #6530]
17888 * stdio-common/vfprintf.c (process_string_arg): Revert
17889 2000-07-22 change.
17890
178912011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17892
17893 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17894 for testcase.
17895 * stdio-common/tst-sprintf.c: Include <locale.h>
17896 (main): Test sprintf's handling of incomplete multibyte
17897 characters.
17898
178992012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17900
17901 * elf/dl-runtime.c (VERSYMIDX): Removed.
17902 * elf/dl-version.c (VERSYMIDX): Likewise.
17903 * elf/do-rel.h (VERSYMIDX): Likewise.
17904 (VALIDX): Likewise.
17905 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17906 * elf/rtld.c (VALIDX): Likewise.
17907 (ADDRIDX): Likewise.
17908 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17909 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17910 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17911 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17912 (VALIDX): Likewise.
17913 (ADDRIDX): Likewise.
17914
179152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17916
17917 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17918
179192012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17920
17921 [BZ #11438]
17922 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17923 to global scope.
17924 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17925 addresses are in the same scope as 192.0.2/24.
17926 * posix/gai.conf: Document new scope table defaults.
17927
179282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17929
17930 [BZ #5298]
17931 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17932 for ftell. Compute offsets from write pointers instead.
17933 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17934
179352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17936
17937 [BZ #14543]
17938 * libio/Makefile (tests): New test case tst-fseek.
17939 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17940 combination works in wide mode.
17941 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17942 state when the external buffer state changes.
17943
179442012-09-27 David S. Miller <davem@davemloft.net>
17945
17946 [BZ #14376]
17947 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17948 pass reloc->r_addend in as the 'high' argument to
17949 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17950
17951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17952
179532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17954
17955 * rt/tst-aio2.c: Include <pthread.h>.
17956 * rt/tst-aio3.c: Likewise.
17957
179582012-09-27 Steve Ellcey <sellcey@mips.com>
17959
17960 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17961
179622012-09-27 H.J. Lu <hongjiu.lu@intel.com>
17963
17964 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17965 contents on [SHARED].
17966
179672012-09-26 Marek Polacek <polacek@redhat.com>
17968
17969 [BZ #14530]
17970 [BZ #13741]
17971 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17972 for C++ and GCC <4.3 as well as for non GCC compilers.
17973
179742012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17975
17976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17977
179782012-09-25 Roland McGrath <roland@hack.frob.com>
17979
17980 * Makefile.in (all, install): Declare with .PHONY.
17981 Reported by Michael Hope <michael.hope@linaro.org>.
17982
179832012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17984
17985 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17986 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17987 system header.
17988 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17989 Likewise.
17990 (sydep_routines): Add the new and the internal functions.
17991 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17992 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17994 (GLIBC_2.17): Add the new function.
17995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17996 (GLIBC_2.17): Likewise.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17998 (GLIBC_2.17): Likewise.
17999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18000 (GLIBC_2.17): Likewise.
18001 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18002
180032012-09-25 Alan Modra <amodra@gmail.com>
18004
18005 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18006 Add release barrier before setting once_control to say
18007 initialisation is done. Add hints on lwarx. Use macro in
18008 place of isync.
18009 (clear_once_control): Add release barrier.
18010
180112012-09-25 Joseph Myers <joseph@codesourcery.com>
18012
18013 [BZ #13629]
18014 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18015 specially.
18016 * math/s_clog10.c (__clog10): Likewise.
18017 * math/s_clog10f.c (__clog10f): Likewise.
18018 * math/s_clog10l.c (__clog10l): Likewise.
18019 * math/s_clogf.c (__clogf): Likewise.
18020 * math/s_clogl.c (__clogl): Likewise.
18021 * math/Makefile (libm-calls): Add x2y2m1.
18022 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18023 (__x2y2m1): Likewise.
18024 (__x2y2m1l): Likewise.
18025 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18026 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18027 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18028 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18029 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18030 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18031 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18032 * sysdeps/i386/fpu/libm-test-ulps: Update.
18033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18034
18035 [BZ #14621]
18036 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18037 int as type of variable DEPTH.
18038 (glob): Use size_t instead of int as type of variables NEWCOUNT
18039 and OLD_PATHC.
18040
180412012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18042
18043 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18044 Add s_sincosf-sse2.
18045 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18046 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18047 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18048 macros for using routine as __sincosf_ia32.
18049 Use macro for function declaration and weak_alias.
18050 * sysdeps/i386/fpu/libm-test-ulps: Update.
18051
18052 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18054
18055 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18056 subnormal argument.
18057 * math/s_cexpf.c (__cexpf): Likewise.
18058 * math/s_csinf.c (__csinf): Likewise.
18059 * math/s_csinhf.c (__csinhf): Likewise.
18060 * math/s_ctanf.c (__ctanf): Likewise.
18061 * math/s_ctanhf.c (__ctanhf): Likewise.
18062 * math/s_ccosh.c (__ccoshf): Likewise.
18063 * math/s_cexp.c (__cexpl): Likewise.
18064 * math/s_csin.c (__csin): Likewise.
18065 * math/s_csinh.c (__csinh): Likewise.
18066 * math/s_ctan.c (__ctan): Likewise.
18067 * math/s_ctanh.c (ctanh): Likewise.
18068 * math/s_ccoshl.c (__ccoshl): Likewise.
18069 * math/s_cexpl.c (__cexpl): Likewise.
18070 * math/s_csinl.c (__csinl): Likewise.
18071 * math/s_csinhl.c (__csinhl): Likewise.
18072 * math/s_ctanl.c (__ctanl): Likewise.
18073 * math/s_ctanhl.c (__ctanhl): Likewise.
18074
180752012-09-25 Joseph Myers <joseph@codesourcery.com>
18076
18077 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18078 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18079 (_IO_off_t): Define to __off_t, not _G_off_t.
18080 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18081 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18082 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18083 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18084 type of __dummy and __dummy2 fields.
18085 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18086 (_G_ssize_t): Likewise.
18087 (_G_off_t): Likewise.
18088 (_G_pid_t): Likewise.
18089 (_G_uid_t): Likewise.
18090 (_G_wchar_t): Likewise.
18091 (_G_wint_t): Likewise.
18092 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18093 (_G_ssize_t): Likewise.
18094 (_G_off_t): Likewise.
18095 (_G_pid_t): Likewise.
18096 (_G_uid_t): Likewise.
18097 (_G_wchar_t): Likewise.
18098 (_G_wint_t): Likewise.
18099 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18100 (_G_ssize_t): Likewise.
18101 (_G_off_t): Likewise.
18102 (_G_pid_t): Likewise.
18103 (_G_uid_t): Likewise.
18104 (_G_wchar_t): Likewise.
18105 (_G_wint_t): Likewise.
18106
181072012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18108
18109 * malloc/arena.c: Include malloc-sysdep.h.
18110 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18111 is sufficient to shrink the heap or an unmap is needed.
18112 * sysdeps/generic/malloc-sysdep.h: New file. Define
18113 new function check_may_shrink_heap.
18114 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18115 new function check_may_shrink_heap.
18116
181172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18118
18119 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18120 comments.
18121
181222012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18123
18124 * catgets/test-gencat.sh: Add "set -e".
18125 * elf/tst-pathopt.sh: Likewise.
18126 * grp/tst_fgetgrent.sh: Likewise.
18127 * iconvdata/run-iconv-test.sh: Likewise.
18128 * intl/tst-gettext.sh: Likewise.
18129 * intl/tst-gettext2.sh: Likewise.
18130 * intl/tst-gettext4.sh: Likewise.
18131 * intl/tst-gettext6.sh: Likewise.
18132 * intl/tst-translit.sh: Likewise.
18133 * io/ftwtest-sh: Likewise.
18134 * libio/test-freopen.sh: Likewise.
18135 * malloc/tst-mtrace.sh: Likewise.
18136 * posix/globtest.sh: Likewise.
18137 * posix/tst-getconf.sh: Likewise.
18138 * posix/wordexp-tst.sh: Likewise.
18139 * stdio-common/tst-printf.sh: Likewise.
18140 * stdio-common/tst-unbputc.sh: Likewise.
18141 * stdlib/tst-fmtmsg.sh: Likewise.
18142 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18143 * catgets/Makefile: Do not specify -e option when running
18144 testsuite shell scripts.
18145 * elf/Makefile: Likewise.
18146 * grp/Makefile: Likewise.
18147 * iconvdata/Makefile: Likewise.
18148 * intl/Makefile: Likewise.
18149 * io/Makefile: Likewise.
18150 * libio/Makefile: Likewise.
18151 * malloc/Makefile: Likewise.
18152 * posix/Makefile: Likewise.
18153 * stdio-common/Makefile: Likewise.
18154 * stdlib/Makefile: Likewise.
18155 * sysdeps/x86_64/Makefile: Likewise.
18156
18157 * io/ftwtest-sh: Add copyright header.
18158 * posix/globtest.sh: Likewise.
18159 * posix/tst-getconf.sh: Likewise.
18160 * posix/wordexp-tst.sh: Likewise.
18161 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18162
181632012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18164
18165 [BZ #13679]
18166 * Makeconfig (+link): Defined as $(+link-static) if
18167 $(build-shared) isn't yes.
18168 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18169 isn't yes.
18170 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18171
18172 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18173
18174 [BZ #14562]
18175 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18176 new chunk size with MALLOC_ALIGN_MASK.
18177
181782012-09-24 Joseph Myers <joseph@codesourcery.com>
18179
18180 [BZ #5044]
18181 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18182 <rounding-mode.h>.
18183 (__printf_fphex): Determine rounding using get_rounding_mode and
18184 round_away.
18185 * stdio-common/tst-printf-round.c (struct hex_test): New
18186 structure.
18187 (hex_tests): New variable.
18188 (test_hex_in_one_mode): New function.
18189 (do_test): Also run tests for hex float output.
18190
181912012-09-21 Joseph Myers <joseph@codesourcery.com>
18192
18193 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18194 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18195 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18196 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18197 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18198 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18199 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18200 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18201
182022012-09-20 Joseph Myers <joseph@codesourcery.com>
18203
18204 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18205 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18206 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18207 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18208
182092012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18210
18211 [BZ #14579]
18212 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18213 mode only.
18214 * elf/tst-rtld-load-self.sh: New test.
18215 * elf/Makefile: Run it.
18216
182172012-09-18 Joseph Myers <joseph@codesourcery.com>
18218
18219 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18220 (tst-writev-ENV): Remove.
18221 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18222
182232012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18224
18225 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18226
182272012-09-17 Joseph Myers <joseph@codesourcery.com>
18228
18229 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18230 unconditional.
18231 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18232 Likewise.
18233 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18234 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18235 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18236 Likewise.
18237
182382012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18239
18240 [BZ #14587]
18241 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18242 * config.make.in (have-cpp-asm-debuginfo): Removed.
18243 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18244 * configure: Regenerated.
18245
182462012-09-14 Joseph Myers <joseph@codesourcery.com>
18247
18248 [BZ #5044]
18249 * stdio-common/printf_fp.c: Include <stdbool.h> and
18250 <rounding-mode.h>.
18251 (___printf_fp): Determine rounding using get_rounding_mode and
18252 round_away.
18253 * stdio-common/tst-printf-round.c: New file.
18254 * stdio-common/Makefile (tests): Add tst-printf-round.
18255 (link-libm): New variable.
18256 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18257
182582012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18259
18260 [BZ #14576]
18261 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18262 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18263 Likewise.
18264 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18265 Likewise.
18266
182672012-09-13 Joseph Myers <joseph@codesourcery.com>
18268
18269 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18270 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18271 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18272 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18273
182742012-09-12 Joseph Myers <joseph@codesourcery.com>
18275
18276 [BZ #14518]
18277 * include/rounding-mode.h: New file.
18278 * sysdeps/generic/get-rounding-mode.h: Likewise.
18279 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18280 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18281 (MAX_VALUE): New macro.
18282 (MIN_VALUE): Likewise.
18283 (overflow_value): New function.
18284 (underflow_value): Likewise.
18285 (round_and_return): Use overflow_value and underflow_value to
18286 determine return values in overflow and underflow cases. Use
18287 round_away to determine rounding depending on rounding mode.
18288 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18289 determine return values in overflow and underflow cases.
18290 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18291 (struct test_results): New structure.
18292 (struct test): Use struct test_results to store expected results
18293 for all rounding modes.
18294 (TEST): Include expected results for all rounding modes.
18295 (test_in_one_mode): New function.
18296 (do_test): Use test_in_one_mode to compute and check results.
18297 Check results for all rounding modes.
18298 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18299 $(link-libm).
18300
183012012-12-09 Allan McRae <allan@archlinux.org>
18302
18303 * sysdeps/i386/fpu/libm-test-ulps: Update
18304
183052012-09-11 Joseph Myers <joseph@codesourcery.com>
18306
18307 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18308 (_G_int32_t): Likewise.
18309 (_G_uint16_t): Likewise.
18310 (_G_uint32_t): Likewise.
18311 (_G_HAVE_BOOL): Likewise.
18312 (_G_HAVE_ATEXIT): Likewise.
18313 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18314 (_G_HAVE_IO_FILE_OPEN): Likewise.
18315 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18316 (_G_int32_t): Likewise.
18317 (_G_uint16_t): Likewise.
18318 (_G_uint32_t): Likewise.
18319 (_G_HAVE_BOOL): Likewise.
18320 (_G_HAVE_ATEXIT): Likewise.
18321 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18322 (_G_HAVE_IO_FILE_OPEN): Likewise.
18323 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18324 (_G_int32_t): Likewise.
18325 (_G_uint16_t): Likewise.
18326 (_G_uint32_t): Likewise.
18327 (_G_HAVE_BOOL): Likewise.
18328 (_G_HAVE_ATEXIT): Likewise.
18329 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18330 (_G_HAVE_IO_FILE_OPEN): Likewise.
18331
183322012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18333
18334 * csu/libc-tls.c: Update copyright years.
18335
183362012-09-10 Joseph Myers <joseph@codesourcery.com>
18337
18338 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18339 [!_G_USING_THUNKS]: Remove conditional code.
18340 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18341 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18342
18343 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18344 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18345 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18346 (_G_VTABLE_LABEL_PREFIX): Likewise.
18347 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18348 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18349 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18350 (_G_VTABLE_LABEL_PREFIX): Likewise.
18351 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18352 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18353 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18354 (_G_VTABLE_LABEL_PREFIX): Likewise.
18355 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18356
183572012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18358
18359 * libio/Makefile: Include ../Makeconfig before tests.
18360 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18361 only if $(build-shared) is yes.
18362
18363 * iconv/gconv_db.c: Update copyright years.
18364
183652012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18366
18367 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18368 unwind info if defined PIC. Fix special cases description.
18369 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18370
18371 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18372 DP_HI_MASK entry.
18373 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18374
183752012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18376
18377 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18378
18379 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18380 is NULL.
18381
18382 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18383 (LDLIBS-tst-chk4): This.
18384 (LDFLAGS-tst-chk5): Renamed to ...
18385 (LDLIBS-tst-chk5): This.
18386 (LDFLAGS-tst-chk6): Renamed to ...
18387 (LDLIBS-tst-chk6): This.
18388 (LDFLAGS-tst-lfschk4): Renamed to ...
18389 (LDLIBS-tst-lfschk4): This.
18390 (LDFLAGS-tst-lfschk5): Renamed to ...
18391 (LDLIBS-tst-lfschk5): This.
18392 (LDFLAGS-tst-lfschk6): Renamed to ...
18393 (LDLIBS-tst-lfschk6): This.
18394
18395 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18396 on $(common-objpfx)soversions.mk.
18397
183982012-09-07 Joseph Myers <joseph@codesourcery.com>
18399
18400 [BZ #10014]
18401 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18402 example host name.
18403
184042012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18405
18406 * malloc/arena.c (arena_get_retry): New function that gets
18407 another arena for the caller to try its request on.
18408 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18409 current arena cannot fulfill the request.
18410 (__libc_memalign): Likewise.
18411 (__libc_memalign): Likewise.
18412 (__libc_pvalloc): Likewise.
18413 (__libc_calloc): Likewise.
18414
184152012-09-05 John Tobey <john.tobey@gmail.com>
18416
18417 [BZ #13542]
18418 * manual/arith.texi (Operations on Complex): Fix description
18419 of carg branch cut.
18420
184212012-09-06 Joseph Myers <joseph@codesourcery.com>
18422
18423 [BZ #10014]
18424 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18425 host name.
18426
18427 [BZ #10038]
18428 * manual/memory.texi (Memory): Make order of menu items match
18429 order of sections.
18430
184312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18432
18433 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18434 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18435 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18436
184372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18438
18439 * csu/libc-tls.c (static_dtv): Renamed to ...
18440 (_dl_static_dtv): This. Make it global.
18441 (_dl_initial_dtv): Removed.
18442 (__libc_setup_tls): Updated.
18443 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18444 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18445 DL_INITIAL_DTV.
18446
184472012-09-06 Petr Machata <pmachata@redhat.com>
18448
18449 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18450 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18451 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18452 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18453
184542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18455
18456 [BZ #14545]
18457 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18458 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18459 freeing dtv[-1].
18460
184612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18462
18463 [BZ #14544]
18464 * Makeconfig (link-static-before-libc): Replace $(+prector)
18465 with $(+prectorT).
18466 (link-static-after-libc): Replace $(+postctor) with
18467 $(+postctorT).
18468 (link-bounded): Replace $(+prector)/$(+postctor) with
18469 $(+prectorT)/$(+postctorT).
18470 (+prectorT): New macro.
18471 (+postctorT): Likewise.
18472
184732012-09-06 Joseph Myers <joseph@codesourcery.com>
18474
18475 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18476 (round_str): Handle values above the maximum for IBM long double
18477 as inexact.
18478 * stdlib/tst-strtod-round.c (tests): Regenerated.
18479
184802012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18481
18482 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18483 assembler flag.
18484 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18485 zarch_nohighgprs around the zarch optimized routines.
18486 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18487 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18488 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18489 for zarch.
18490
184912012-09-05 David S. Miller <davem@davemloft.net>
18492
18493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18494
18495 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18496 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18497 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18498 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18499 entries.
18500
185012012-09-05 Alexandre Oliva <aoliva@redhat.com>
18502
18503 * malloc/arena.c: Fold copyright years.
18504 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18505
185062012-09-05 Alexandre Oliva <aoliva@redhat.com>
18507
18508 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18509
185102012-09-05 Alexandre Oliva <aoliva@redhat.com>
18511
18512 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18513
185142012-09-05 Alexandre Oliva <aoliva@redhat.com>
18515
18516 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18517 change internal state upon failure.
18518
185192012-09-05 Alexandre Oliva <aoliva@redhat.com>
18520
18521 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18522 * malloc/memusage.c (mmap): Likewise.
18523 (mmap64, mremap): Likewise. Adjust name in comment.
18524
185252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18526
18527 * libio/fileops.c: Fix typos in comments.
18528 * libio/oldfileops.c: Likewise.
18529 * libio/wfileops.c: Likewise.
18530
185312012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18532
18533 [BZ #1349]
18534 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18535 (tst-malloc-usable-ENV): Set environment for test case.
18536 * malloc/hooks.c (malloc_check_get_size): New function to get
18537 requested size.
18538 * malloc/malloc.c (musable): Use malloc_check_get_size.
18539 * malloc/tst-malloc-usable.c: New test case.
18540
185412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18542
18543 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18544
185452012-09-05 Allan McRae <allan@archlinux.org>
18546
18547 [BZ #13966]
18548 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18549 determine header location.
18550 * configure: Regenerated.
18551
185522012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18553
18554 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18555 float format.
18556 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18557 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18558 format.
18559 (test): Regenerate.
18560
185612012-09-04 David S. Miller <davem@davemloft.net>
18562
18563 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18564 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18565 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18566
185672012-09-04 Florian Weimer <fweimer@redhat.com>
18568
18569 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18570 failures.
18571
18572 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18573
185742012-09-04 Joseph Myers <joseph@codesourcery.com>
18575
18576 [BZ #9914]
18577 * libio/iogetdelim.c: Include <limits.h>.
18578 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18579 + len + 1 would overflow.
18580
185812012-09-03 Andreas Jaeger <aj@suse.de>
18582
18583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18584 * sysdeps/i386/fpu/libm-test-ulps: Update.
18585
185862012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18587
18588 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18589 Add s_sinf-sse2, s_conf-sse2.
18590
18591 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18592 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18593 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18594 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18595
18596 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18597 for using routine as __sinf_ia32.
18598 Use macro for function declaration and weak_alias.
18599 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18600 for using routine as __cosf_ia32.
18601 Use macro for function declaration and weak_alias.
18602
18603 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18604 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18605
18606 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18607 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18609
18610 * math/libm-test.inc (cos_test): Add more test cases.
18611 (sin_test): Likewise.
18612 (sincos_test): Likewise.
18613
186142012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18615
18616 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18617 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18618 hidden.
18619 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18620
186212012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18622
18623 [BZ #14538]
18624 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18625 first element of the GOT.
18626 (elf_machine_load_address): Return the difference between
18627 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18628
186292012-09-01 Allan McRae <allan@archlinux.org>
18630
18631 [BZ #13412]
18632 * configure.in (AWK): Require gawk version 3.0 or later.
18633 * configure: Regenerated.
18634
186352012-09-01 Joseph Myers <joseph@codesourcery.com>
18636
18637 * sysdeps/unix/sysv/linux/kernel-features.h
18638 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18639 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18640 [__NR_clock_getres]: Make code unconditional.
18641 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18642 (clock_getcpuclockid): Remove code left unreachable by removal of
18643 conditionals.
18644 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18645 code unconditional.
18646 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18647 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18648 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18649 Make code unconditional.
18650 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18651 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18652 * sysdeps/unix/sysv/linux/clock_settime.c
18653 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18654 conditional code.
18655 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18656 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18657
186582012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18659
18660 [BZ #14476]
18661 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18662 scripts/test-installation.pl.
18663
18664 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18665 and $ld_so_version if it is set.
18666
186672012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18668
18669 [BZ #14516]
18670 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18671 failure if reading from procfs failed.
18672 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18673
186742012-08-27 Joseph Myers <joseph@codesourcery.com>
18675
18676 * sysdeps/unix/sysv/linux/kernel-features.h
18677 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18678 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18679 Remove conditional code.
18680 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18681 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18682 Remove conditional code.
18683 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18684 * sysdeps/unix/sysv/linux/i386/fxstat.c
18685 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18687 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18688 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18690 * sysdeps/unix/sysv/linux/i386/lxstat.c
18691 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18692 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18693 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18694 Remove conditional code.
18695 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18696 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18697 Remove conditional code.
18698 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18699 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18700 <kernel-features.h>.
18701 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18702 Remove.
18703 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18704 Remove conditional code.
18705 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18706 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18707 Remove conditional.
18708
187092012-08-27 Mike Frysinger <vapier@gentoo.org>
18710
18711 [BZ #5400]
18712 * NEWS: Add fixed bug number.
18713
187142012-08-27 Joseph Myers <joseph@codesourcery.com>
18715
18716 [BZ #14519]
18717 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18718 underflowing exponent in case of negative sign.
18719 * stdlib/tst-strtod-round-data: Add more tests.
18720 * stdlib/tst-strtod-round.c (tests): Regenerated.
18721
18722 [BZ #3479]
18723 * stdlib/strtod_l.c (NDIG): Remove.
18724 (HEXNDIG): Likewise.
18725 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18726 smallest representable value.
18727 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18728 lie within an exact representation of 1/2 ulp of the result.
18729 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18730 unconditionally.
18731 (TENS_P9_IDX): Define unconditionally.
18732 (TENS_P9_SIZE): Likewise.
18733 (TENS_P10_IDX): Likewise.
18734 (TENS_P10_SIZE): Likewise.
18735 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18736 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18737 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18738 entries for 10^2^13 and 10^2^14.
18739 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18740 (TENS_P13_IDX): Define.
18741 (TENS_P13_SIZE): Likewise.
18742 (TENS_P14_IDX): Likewise.
18743 (TENS_P14_SIZE): Likewise.
18744 (_fpioconst_pow10): Change array size to
18745 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18746 unconditional.
18747 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18748 1024]: Add entries for 10^2^13 and 10^2^14.
18749 [LAST_POW10 > _LAST_POW10]: Remove #error.
18750 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18751 (_fpioconst_pow10): Change array size to
18752 FPIOCONST_POW10_ARRAY_SIZE.
18753 * stdlib/gen-fpioconst.c: New file.
18754 * stdlib/gen-tst-strtod-round.c: Likewise.
18755 * stdlib/tst-strtod-round-data: Likewise.
18756 * stdlib/tst-strtod-round.c: Likewise.
18757 * stdlib/Makefile (tests): Add tst-strtod-round.
18758
18759 [BZ #14459]
18760 * stdlib/strtod_l.c: Include <stdint.h>.
18761 (NDEBUG): Do not define.
18762 (round_and_return): Change EXPONENT parameter to type intmax_t.
18763 Rearrange calculations to avoid internal overflow possibilities.
18764 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18765 Rearrange calculations to avoid internal overflow possibilities.
18766 Assert that number fits inside MPNSIZE limbs.
18767 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18768 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18769 calculations and add assertions to avoid internal overflow
18770 possibilities. Add casts to avoid signed/unsigned operations.
18771 * stdlib/tst-strtod-overflow.c: New file.
18772 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18773
187742012-08-25 Marek Polacek <polacek@redhat.com>
18775
18776 * time/time.h: Fix some typos in comments.
18777
187782012-08-23 Roland McGrath <roland@hack.frob.com>
18779
18780 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18781 * posix/tst-rfc3484-2.c: Likewise.
18782 * posix/tst-rfc3484-3.c: Likewise.
18783
187842012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18785
18786 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18787 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18788
187892012-08-23 Joseph Myers <joseph@codesourcery.com>
18790
18791 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18792 #include of fxstatat64.c.
18793
187942012-08-22 Roland McGrath <roland@hack.frob.com>
18795
18796 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18797 * shadow/getspent_r.c: Likewise.
18798 * shadow/getspnam.c: Likewise.
18799 * shadow/getspnam_r.c: Likewise.
18800 * gshadow/getsgent.c: Likewise.
18801 * gshadow/getsgent_r.c: Likewise.
18802 * gshadow/getsgnam.c: Likewise.
18803 * gshadow/getsgnam_r.c: Likewise.
18804 * inet/getnetbyad.c: Likewise.
18805 * inet/getnetbyad_r.c: Likewise.
18806 * inet/getnetbynm.c: Likewise.
18807 * inet/getnetbynm_r.c: Likewise.
18808 * inet/getnetent.c: Likewise.
18809 * inet/getnetent_r.c: Likewise.
18810 * inet/getproto.c: Likewise.
18811 * inet/getproto_r.c: Likewise.
18812 * inet/getprtent.c: Likewise.
18813 * inet/getprtent_r.c: Likewise.
18814 * inet/getprtname.c: Likewise.
18815 * inet/getprtname_r.c: Likewise.
18816 * inet/getrpcbyname.c: Likewise.
18817 * inet/getrpcbyname_r.c: Likewise.
18818 * inet/getrpcbynumber.c: Likewise.
18819 * inet/getrpcbynumber_r.c: Likewise.
18820 * inet/getrpcent.c: Likewise.
18821 * inet/getrpcent_r.c: Likewise.
18822 * inet/getaliasent.c: Likewise.
18823 * inet/getaliasent_r.c: Likewise.
18824 * inet/getaliasname.c: Likewise.
18825 * inet/getaliasname_r.c: Likewise.
18826 * nscd/getgrgid_r.c: Likewise.
18827 * nscd/getgrnam_r.c: Likewise.
18828 * nscd/gethstbyad_r.c: Likewise.
18829 * nscd/gethstbynm3_r.c: Likewise.
18830 * nscd/getpwnam_r.c: Likewise.
18831 * nscd/getpwuid_r.c: Likewise.
18832 * nscd/getsrvbynm_r.c: Likewise.
18833 * nscd/getsrvbypt_r.c: Likewise.
18834 * nscd/gai.c: Likewise.
18835
18836 * configure.in (build_nscd): New substituted variable, set
18837 by --disable-build-nscd and defaults to $use_nscd.
18838 * configure: Regenerated.
18839 * config.make.in (build-nscd): New substituted variable.
18840 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18841 Change conditional to require [$(build-nscd) = yes] as well.
18842 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18843
18844 [BZ# 13696]
18845 * configure.in (use_nscd): New substituted variable, set by
18846 --disable-nscd. If enabled, define USE_NSCD.
18847 * configure: Regenerated.
18848 * config.h.in: Add USE_NSCD.
18849 * config.make.in (use-nscd): New substituted variable.
18850 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18851 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18852 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18853 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18854 (CFLAGS-getgrnam_r.c): Likewise.
18855 (CFLAGS-initgroups.c): Likewise.
18856 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18857 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18858 Variables removed.
18859 * inet/getnetgrent_r.c
18860 (nscd_setnetgrent): New function, broken out of ...
18861 (setnetgrent): ... here. Call it.
18862 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18863 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18864 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18865 * nscd/Makefile (routines, aux): Move definitions after include of
18866 Makeconfig. Conditionalize on [$(use-nscd) != no].
18867 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18868 Conditionalize on [USE_NSCD].
18869 (is_nscd, nscd_init_cb): Likewise.
18870 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18871 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18872 * nss/nss_db/db-init.c: Likewise.
18873 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18874 [USE_NSCD].
18875 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18876 (make_request): Use it.
18877 (cache_valid_p): New function.
18878 (__check_pf): Use it.
18879 * NEWS: Add item for --disable-nscd.
18880
188812012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18882
18883 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18884 to support sed >= 4.2.1-20-ga9bf076.
18885 * configure: Regenerated.
18886
188872012-08-22 Roland McGrath <roland@hack.frob.com>
18888
18889 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18890 Conditionalize whole body on [IREL].
18891
188922012-08-22 Jeff Law <law@redhat.com>
18893
18894 [BZ #14505]
18895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18896 if the family is PF_UNSPEC.
18897
188982012-08-22 Mike Frysinger <vapier@gentoo.org>
18899
18900 * Makerules (lib-version): Rename from V.
18901 (install-lib-nosubdir): Change V to lib-version.
18902
189032012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18904
18905 [BZ #14252]
18906 * powerpc32/power6/wcschr.c: New file.
18907 * powerpc32/power6/wcscpy.c: New file.
18908 * powerpc32/power6/wcsrchr.c: New file.
18909 * powerpc64/power6/wcschr.c: New file.
18910 * powerpc64/power6/wcscpy.c: New file.
18911 * powerpc64/power6/wcsrchr.c: New file.
18912
189132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18914
18915 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18916 (two_way_short_needle): Use it.
18917 * string/strstr.c (AVAILABLE1_USES_J): Define.
18918 * string/strcasestr.c: Likewise.
18919
18920 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18921 array references.
18922 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18923
18924 [BZ #11607]
18925 * NEWS: Add an entry.
18926 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18927 define their defaults.
18928 (two_way_short_needle): Detect end-of-string on-the-fly.
18929 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18930 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18931 * string/bug-strcasestr1.c: New test.
18932 * string/Makefile: Run it.
18933
189342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18935
18936 [BZ #11607]
18937 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18938 the first character.
18939
189402012-08-21 Roland McGrath <roland@hack.frob.com>
18941
18942 * csu/elf-init.c (__libc_csu_irel): Function removed.
18943 * csu/libc-start.c (apply_irel): New function.
18944 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18945
189462012-08-21 Joseph Myers <joseph@codesourcery.com>
18947
18948 * sysdeps/unix/sysv/linux/kernel-features.h
18949 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18950 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18951 <kernel-features.h>.
18952 [__NR_fadvise64_64]: Make code unconditional.
18953 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18954 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18955 !__NR_fadvise64_64)]: Likewise.
18956 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18957 !__NR_fadvise64_64))]: Likewise.
18958 [__NR_fadvise64]: Make code unconditional.
18959 [!__NR_fadvise64]: Remove conditional code.
18960 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18961 <kernel-features.h>.
18962 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18963 unconditional.
18964 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18965 conditional code.
18966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18967 not include <kernel-features.h>.
18968 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18969 unconditional.
18970 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18971 conditional code.
18972 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18973 include <kernel-features.h>.
18974 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18975 unconditional.
18976 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18977 conditional code.
18978
189792012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18980
18981 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18982 slight instruction rearrangements per scrollpipe analysis.
18983 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18984
189852012-08-20 Roland McGrath <roland@hack.frob.com>
18986
18987 * manual/syslog.texi (syslog; vsyslog, closelog):
18988 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18989 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18990
18991 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18992 DSOCAPS to match condition on defining it.
18993
189942012-08-20 Joseph Myers <joseph@codesourcery.com>
18995
18996 * sysdeps/unix/sysv/linux/kernel-features.h
18997 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18999 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19000 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19002 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19003 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19005 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19006 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19007
19008 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19009 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19010
19011 * sysdeps/unix/sysv/linux/kernel-features.h
19012 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19013 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19014 unconditional.
19015 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19016 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19017 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19018 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19019 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19020 Make code unconditional.
19021 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19022 (__mmap64) [!__NR_mmap2]: Likewise.
19023 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19024 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19025 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19026 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19027 [__NR_mmap2]: Make code unconditional.
19028 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19029 (__mmap64) [!__NR_mmap2]: Likewise.
19030
190312012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19032
19033 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19034
190352012-08-18 Andreas Jaeger <aj@suse.de>
19036
19037 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19038
190392012-08-18 Mike Frysinger <vapier@gentoo.org>
19040
19041 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19042 * include/unistd.h (__have_sock_cloexec): Likewise.
19043 (__have_pipe2): Likewise.
19044 (__have_dup3): Likewise.
19045
190462012-08-18 Mike Frysinger <vapier@gentoo.org>
19047
19048 [BZ #9685]
19049 * include/unistd.h (__have_pipe2): Change define into an extern int.
19050 (__have_dup3): Likewise.
19051 * socket/have_sock_cloexec.c: Include fcntl.h.
19052 (__have_pipe2): New variable.
19053 (__have_dup3): Likewise.
19054
190552012-08-17 Mike Frysinger <vapier@gentoo.org>
19056
19057 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19058
190592012-08-17 Marek Polacek <polacek@redhat.com>
19060
19061 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19062 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19063
190642012-08-17 Roland McGrath <roland@hack.frob.com>
19065
19066 * configure.in: Add AC_SUBST for sysheaders.
19067 * configure: Regenerated.
19068 * config.make.in (sysheaders): New substituted variable.
19069
19070 * sysdeps/unix/mkfifo.c: Moved ...
19071 * sysdeps/posix/mkfifo.c: ... here.
19072 * sysdeps/unix/mkfifoat.c: Moved ...
19073 * sysdeps/posix/mkfifoat.c: ... here.
19074
19075 * sysdeps/unix/utime.c: Moved ...
19076 * sysdeps/posix/utime.c: ... here.
19077
19078 * sysdeps/unix/time.c: Moved ...
19079 * sysdeps/posix/time.c: ... here.
19080 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19081 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19082
19083 * sysdeps/unix/nice.c: Moved ...
19084 * sysdeps/posix/nice.c: ... here.
19085
19086 * sysdeps/unix/alarm.c: Moved ...
19087 * sysdeps/posix/alarm.c: ... here.
19088
19089 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19090
190912012-08-17 Jeff Law <law@redhat.com>
19092
19093 * intl/Makefile (codeset_mo): New variable.
19094 ($(codeset_mo)): New target.
19095 (tst-codeset.out): Depend on that. Remove explicit rule.
19096 (tst-gettext3.out, tst-gettext5.out): Likewise.
19097 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19098 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19099 * intl/tst-codeset.sh: Remove.
19100 * intl/tst-gettext3.sh: Likewise.
19101 * intl/tst-gettext5.sh: Likewise.
19102
191032012-08-17 Roland McGrath <roland@hack.frob.com>
19104
19105 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19106 * sysdeps/unix/syscalls.list: ... here.
19107
19108 * sysdeps/posix/getaddrinfo.c
19109 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19110 (gaiconf_init, gaiconf_reload): Use them.
19111 [!_STATBUF_ST_NSEC]
19112 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19113 Define using time_t rather than struct timespec.
19114
19115 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19116 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19117 Macros removed.
19118 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19119 [!NO_THREADS].
19120 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19121 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19122 Likewise.
19123
19124 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19125 __libc_cleanup_push argument.
19126
19127 * bits/param.h: New file.
19128 * misc/sys/param.h: New file.
19129 * include/sys/param.h: New file.
19130 * misc/Makefile (headers): Add bits/param.h.
19131 * sysdeps/generic/sys/param.h: File removed.
19132 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19133 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19134 * sysdeps/mach/hurd/bits/param.h: New file.
19135 * sysdeps/mach/hurd/sys/param.h: File removed.
19136
19137 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19138 last change.
19139
19140 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19141 [_IO_MTSAFE_IO].
19142 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19143 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19144 New macros.
19145
19146 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19147 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19148 rather than -D_IO_MTSAFE_IO conditionally.
19149 * stdio-common/Makefile (CPPFLAGS): Likewise.
19150 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19151 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19152 Use $(libio-mtsafe).
19153 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19154 of -D_IO_MTSAFE_IO.
19155 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19156 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19157 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19158 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19159 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19160 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19161 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19162 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19163 (CFLAGS-fread_u_chk.c): Likewise.
19164 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19165 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19166 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19167 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19168 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19169 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19170 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19171 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19172 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19173
19174 * libio/Makefile: Test [$(libc-reentrant) = yes]
19175 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19176
19177 * Makeconfig
19178 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19179 * sysdeps/pthread/configure: File removed.
19180 * sysdeps/pthread/Makeconfig: New file.
19181 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19182 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19183
191842012-08-16 Gary Benson <gbenson@redhat.com>
19185
19186 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19187 unmapping the first object in a namespace.
19188
191892012-08-16 Roland McGrath <roland@hack.frob.com>
19190
19191 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19192 (__internal_setnetgrent): ... this. Add internal_function to
19193 definition. Add libc_hidden_def.
19194 (setnetgrent): Update caller.
19195 (internal_endnetgrent): Renamed to ...
19196 (__internal_endnetgrent): ... this. Add internal_function to
19197 definition. Add libc_hidden_def.
19198 (endnetgrent): Update caller.
19199 (internal_getnetgrent_r): Renamed to ...
19200 (__internal_getnetgrent_r): ... this. Add internal_function to
19201 definition. Add libc_hidden_def.
19202 (__getnetgrent_r): Update caller.
19203 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19204
192052012-08-16 Joseph Myers <joseph@codesourcery.com>
19206
19207 * stdlib/longlong.h: Update from GCC.
19208
192092012-08-16 Roland McGrath <roland@hack.frob.com>
19210
19211 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19212 on _QL, which is set by umul_ppmm but never used.
19213 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19214 variables, which are set by GMP macros but never used.
19215 * stdio-common/_itowa.c (_itowa): Likewise.
19216 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19217 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19218
192192012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19220
19221 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19222 struct La_sh_regs is not constant.
19223 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19224 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19225 and struct La_sparc64_regs are not constant.
19226
192272012-08-16 Joseph Myers <joseph@codesourcery.com>
19228
19229 * sysdeps/unix/sysv/linux/kernel-features.h
19230 (__ASSUME_POSIX_TIMERS): Remove.
19231 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19232 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19233 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19234 Make code unconditional.
19235 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19236 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19237 Make code unconditional.
19238 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19239 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19240 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19241 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19242 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19243 Make code unconditional.
19244 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19245 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19246 (__libc_missing_posix_timers): Remove.
19247
192482012-08-15 Roland McGrath <roland@hack.frob.com>
19249
19250 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19251 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19252
19253 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19254
19255 * elf/dl-sym.c: Include <stdlib.h>.
19256
19257 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19258 constants, which avoids warnings in 32-bit builds.
19259
19260 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19261 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19262
19263 * misc/lseek.c: File moved to ...
19264 * io/lseek.c: ... here.
19265
19266 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19267
19268 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19269 shifting LEN more than 31 bits at once.
19270
192712012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19272
19273 [BZ #14195]
19274 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19275 segmentation fault for a case of two empty input strings.
19276 * string/test-strncasecmp.c (check1): Renamed to...
19277 (bz12205): ...this.
19278 (bz14195): Add new testcase for two empty input strings and N > 0.
19279 (test_main): Call new testcase, adapt for renamed function.
19280
192812012-08-15 Andreas Jaeger <aj@suse.de>
19282
19283 [BZ #14090]
19284 * crypt/md5test2.c: New test, based on test supplied by Serge
19285 Belyshev <belyshev@depni.sinp.msu.ru>.
19286 * crypt/Makefile (xtests): Add md5test-giant..
19287 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19288
192892012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19290
19291 [BZ #14090]
19292 * crypt/md5.c (md5_process_block): Don't assume the buffer
19293 length is less than 2**32.
19294 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19295 length is less than 2**64.
19296
192972012-08-15 Roland McGrath <roland@hack.frob.com>
19298
19299 * string/str-two-way.h: Include <sys/param.h>.
19300 (MAX): Macro removed.
19301
19302 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19303 Move #define and #undef of memmove to just before and after
19304 including <string.h>.
19305
19306 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19307 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19308 and after including <string.h>. Move declarations of
19309 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19310 to before #include "string/memmove.c".
19311
19312 * include/dirent.h: Declare __getdirentries.
19313
19314 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19315 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19316
193172012-08-14 Mike Frysinger <vapier@gentoo.org>
19318
19319 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19320 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19321 * sysdeps/i386/configure: Regenerated.
19322 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19323 STABS_CURRENT_FILE, and STABS_FUN.
19324 (END): Remove call to STABS_FUN_END.
19325 (STABS_CURRENT_FILE1): Delete.
19326 (STABS_CURRENT_FILE): Likewise.
19327 (STABS_FUN): Likewise.
19328 (STABS_FUN_END): Likewise.
19329 (STABS_FUN2): Likewise.
19330 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19331 * sysdeps/x86_64/configure: Regenerated.
19332
193332012-08-14 Roland McGrath <roland@hack.frob.com>
19334
19335 * elf/dl-open.c: Include <atomic.h>.
19336 * elf/dl-lookup.c: Likewise.
19337
193382012-08-14 Joseph Myers <joseph@codesourcery.com>
19339
19340 * sysdeps/unix/sysv/linux/kernel-features.h
19341 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19342 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19343 unconditionally.
19344 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19345 unconditionally.
19346 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19347 condition on __ASSUME_CLONE_THREAD_FLAGS.
19348
193492012-08-14 Andreas Jaeger <aj@suse.de>
19350
19351 * sysdeps/i386/fpu/libm-test-ulps: Update.
19352
193532012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19354
19355 * include/atomic.h (atomic_exchange_and_add): Split into ...
19356 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19357 New atomic macros.
19358
193592012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19360
19361 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19362
193632012-08-13 Jeff Law <law@redhat.com>
19364
19365 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19366 null byte in the output string.
19367
193682012-08-10 Joseph Myers <joseph@codesourcery.com>
19369
19370 * sysdeps/unix/sysv/linux/kernel-features.h
19371 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19372 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19373 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19374 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19375 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19376 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19377 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19378
193792012-08-09 Jeff Law <law@redhat.com>
19380
19381 [BZ #13939]
19382 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19383 When avoid_arena is set, don't retry in the that arena. Pick the
19384 next one, whatever it might be.
19385 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19386 (arena_lock): Pass in new parameter to arena_get2.
19387 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19388 arena_get2.
19389 (__libc_malloc): Unify retrying after main arena failure with
19390 __libc_memalign version.
19391 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19392
193932012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19394
19395 [BZ #14166]
19396 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19397 to __redirect_strstr.
19398 (__strstr_sse42): Use typeof __redirect_strstr.
19399 (__strstr_ia32): Likewise.
19400 (__libc_strstr): New prototype.
19401 (strstr): Renamed to ...
19402 (__libc_strstr): This.
19403 (strstr): New strong alias of __libc_strstr.
19404 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19405 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19406 __redirect_time.
19407 Include <time.h>.
19408 (__libc_time): New prototype.
19409 (time_ifunc): Replace time with __libc_time.
19410 (time): New strong alias and hidden definition of __libc_time.
19411 (__GI_time): Remove strong alias.
19412 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19413 Include <stddef.h>.
19414 (memmove): Redefined to __redirect_memmove.
19415 (__memmove_sse2): Use typeof __redirect_memmove.
19416 (__memmove_ssse3): Likewise.
19417 (__memmove_ssse3_back): Likewise.
19418 (__libc_memmove): New prototype.
19419 (memmove): Renamed to ...
19420 (__libc_memmove): This.
19421 (memmove): New strong alias of __libc_memmove.
19422
194232012-08-08 Mark Salter <msalter@redhat.com>
19424
19425 * elf/elf.h
19426 (R_MN10300_TLS_GD): Define.
19427 (R_MN10300_TLS_LD): Likewise.
19428 (R_MN10300_TLS_LDO): Likewise.
19429 (R_MN10300_TLS_GOTIE): Likewise.
19430 (R_MN10300_TLS_IE): Likewise.
19431 (R_MN10300_TLS_LE): Likewise.
19432 (R_MN10300_TLS_DTPMOD): Likewise.
19433 (R_MN10300_TLS_DTPOFF): Likewise.
19434 (R_MN10300_TLS_TPOFF): Likewise.
19435 (R_MN10300_SYM_DIFF): Likewise.
19436 (R_MN10300_ALIGN): Likewise.
19437 (R_MN10300_NUM): Update.
19438
194392012-08-08 Joseph Myers <joseph@codesourcery.com>
19440
19441 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19442 Remove.
19443
194442012-08-08 Roland McGrath <roland@hack.frob.com>
19445
19446 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19447
19448 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19449 sysdeps/unix -> sysdeps/posix move.
19450 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19451
194522012-08-07 Allan McRae <allan@archlinux.org>
19453
19454 [BZ #14303]
19455 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19456 (SUNOS_CPP): Likewise.
19457 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19458 not found.
19459 (open_input): Call CPP using execvp.
19460
194612012-08-07 Joseph Myers <joseph@codesourcery.com>
19462
19463 * sysdeps/unix/sysv/linux/kernel-features.h
19464 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19465 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19466 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19467 (__ASSUME_WAITID_SYSCALL): Likewise.
19468 * sysdeps/unix/sysv/linux/dl-execstack.c
19469 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19470 code unconditional.
19471 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19472 conditional code.
19473 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19474 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19475 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19476 code.
19477 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19478 unconditional.
19479 [__ASSUME_WAITID_SYSCALL]: Likewise.
19480 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19481
194822012-08-07 Roland McGrath <roland@hack.frob.com>
19483
19484 * sysdeps/unix/closedir.c: Renamed to ...
19485 * sysdeps/posix/closedir.c: ... here.
19486 * sysdeps/unix/dirfd.c: Renamed to ...
19487 * sysdeps/posix/dirfd.c: ... here.
19488 * sysdeps/unix/dirstream.h: Renamed to ...
19489 * sysdeps/posix/dirstream.h: ... here.
19490 * sysdeps/unix/fdopendir.c: Renamed to ...
19491 * sysdeps/posix/fdopendir.c: ... here.
19492 * sysdeps/unix/opendir.c: Renamed to ...
19493 * sysdeps/posix/opendir.c: ... here.
19494 * sysdeps/unix/readdir.c: Renamed to ...
19495 * sysdeps/posix/readdir.c: ... here.
19496 * sysdeps/unix/readdir_r.c: Renamed to ...
19497 * sysdeps/posix/readdir_r.c: ... here.
19498 * sysdeps/unix/rewinddir.c: Renamed to ...
19499 * sysdeps/posix/rewinddir.c: ... here.
19500 * sysdeps/unix/seekdir.c: Renamed to ...
19501 * sysdeps/posix/seekdir.c: ... here.
19502 * sysdeps/unix/telldir.c: Renamed to ...
19503 * sysdeps/posix/telldir.c: ... here.
19504 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19505 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19506 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19507 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19508
19509 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19510 * bits/fcntl.h: ... here.
19511
19512 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19513 not 0.
19514 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19515 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19516 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19517 (struct flock): Move l_start, l_len to the beginning.
19518 Use __pid_t for l_pid.
19519 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19520 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19521 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19522 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19523 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19524 [__USE_LARGEFILE64] (struct flock64): New type.
19525 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19526
19527 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19528 * bits/dirent.h: ... here.
19529
19530 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19531 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19532
195332012-08-07 Joseph Myers <joseph@codesourcery.com>
19534
19535 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19536 Change from 2.6.0 to 2.6.16.
19537 * sysdeps/unix/sysv/linux/configure: Regenerated.
19538 * sysdeps/unix/sysv/linux/kernel-features.h
19539 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19540 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19541 version.
19542 (__ASSUME_UTIMES): Likewise.
19543 (__ASSUME_CLONE_STOPPED): Remove.
19544 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19545 architectures, not kernel version.
19546 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19547 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19548 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19549 (__ASSUME_WAITID_SYSCALL): Likewise.
19550 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19551 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19552 * README: State 2.6.16 as minimum Linux kernel version. Do not
19553 refer to older versions.
19554
195552012-08-06 Roland McGrath <roland@hack.frob.com>
19556
19557 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19558 Define alphasort64 as an alias.
19559 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19560 Define versionsort64 as an alias.
19561 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19562 Define scandir64 as an alias.
19563 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19564 Define scandirat64 as an alias.
19565 * dirent/alphasort64.c (alphasort64):
19566 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19567 * dirent/versionsort64.c: Likewise.
19568 * dirent/scandir64.c: Likewise.
19569 * dirent/scandirat64.c: Likewise.
19570 * sysdeps/wordsize-64/alphasort.c: File removed.
19571 * sysdeps/wordsize-64/alphasort64.c: File removed.
19572 * sysdeps/wordsize-64/scandir.c: File removed.
19573 * sysdeps/wordsize-64/scandir64.c: File removed.
19574 * sysdeps/wordsize-64/scandirat.c: File removed.
19575 * sysdeps/wordsize-64/scandirat64.c: File removed.
19576 * sysdeps/wordsize-64/versionsort.c: File removed.
19577 * sysdeps/wordsize-64/versionsort64.c: File removed.
19578 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19579 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19580 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19581 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19582 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19583 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19584 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19585 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19586
19587 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19588 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19589 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19591 [defined __arch64__ || defined __sparcv9]
19592 (__INO_T_MATCHES_INO64_T): New macro.
19593 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19594 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19595 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19596 * sysdeps/unix/sysv/linux/bits/dirent.h
19597 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19598 (_DIRENT_MATCHES_DIRENT64): New macro.
19599
19600 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19601 Define lockf64 as an alias.
19602 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19603 Define fseeko64 as an alias.
19604 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19605 Define ftello64 as an alias.
19606 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19607 Define _IO_fgetpos64 and fgetpos64 as aliases.
19608 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19609 Define _IO_fsetpos64 and fsetpos64 as aliases.
19610 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19611 Conditionalize body on this.
19612 * libio/fseeko64.c: Likewise.
19613 * libio/ftello64.c: Likewise.
19614 * libio/iofgetpos64.c: Likewise.
19615 * libio/iofsetpos64.c: Likewise.
19616 * sysdeps/wordsize-64/lockf.c: File removed.
19617 * sysdeps/wordsize-64/lockf64.c: File removed.
19618 * sysdeps/wordsize-64/fseeko.c: File removed.
19619 * sysdeps/wordsize-64/fseeko64.c: File removed.
19620 * sysdeps/wordsize-64/ftello.c: File removed.
19621 * sysdeps/wordsize-64/ftello64.c: File removed.
19622 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19623 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19624 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19625 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19626 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19627 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19628 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19629 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19630 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19631 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19632 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19633 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19634 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19635 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19636
19637 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19638 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19639 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19640 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19641 [defined __arch64__ || defined __sparcv9]
19642 (__OFF_T_MATCHES_OFF64_T): New macro.
19643 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19644 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19645 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19646 (__OFF_T_MATCHES_OFF64_T): New macro.
19647
196482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19649
19650 * stdlib/secure-getenv.c (__secure_getenv): Replace
19651 GLIBC_2_16 with GLIBC_2_17.
19652
196532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19654
19655 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19656 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19657
196582012-08-03 David S. Miller <davem@davemloft.net>
19659
19660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19661
196622012-08-03 Joseph Myers <joseph@codesourcery.com>
19663
19664 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19665 Remove.
19666 (__ASSUME_CORRECT_SI_PID): Likewise.
19667 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19668 (__ASSUME_TMPFS_NAME): Likewise.
19669 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19670 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19671 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19672 (HAVE_AUX_SECURE): Make definition unconditional.
19673 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19674 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19675
196762012-08-03 Roland McGrath <roland@hack.frob.com>
19677
19678 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19679 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19680 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19681 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19682 __eloop_threshold instead of SYMLOOP_MAX.
19683
19684 * sysdeps/generic/eloop-threshold.h: New file.
19685 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19686 of MAXSYMLINKS.
19687 * elf/chroot_canon.c (chroot_canon): Likewise.
19688
196892012-08-03 Joseph Myers <joseph@codesourcery.com>
19690
19691 [BZ #13717]
19692 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19693 Change to 2.6.0 everywhere.
19694 * sysdeps/unix/sysv/linux/configure: Regenerated.
19695 * sysdeps/unix/sysv/linux/kernel-features.h
19696 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19697 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19698 kernel versions.
19699 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19700 (__ASSUME_FUTEX_REQUEUE): Remove.
19701 (__ASSUME_STATFS64): Define unconditionally.
19702 (__ASSUME_AT_SECURE): Likewise.
19703 (__ASSUME_CORRECT_SI_PID): Likewise.
19704 (__ASSUME_TGKILL): Define without depending on kernel version for
19705 i386.
19706 (__ASSUME_UTIMES): Likewise.
19707 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19708 kernel version.
19709 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19710 (__ASSUME_TMPFS_NAME): Likewise.
19711 * README: Update reference to Linux kernel versions.
19712
197132012-08-02 Marek Polacek <polacek@redhat.com>
19714
19715 [BZ# 14150]
19716 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19717 libc_cv_asm_type_prefix with %.
19718 * configure: Regenerated.
19719 * include/libc-symbols.h: Remove comment about
19720 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19721 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19722 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19723 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19724 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19725 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19726 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19727 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19728 * elf/tst-unique2mod1.c: Likewise.
19729 * elf/tst-unique1mod2.c: Likewise.
19730 * elf/tst-unique1mod1.c: Likewise.
19731 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19732 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19733 Replace ASM_TYPE_DIRECTIVE with .type.
19734 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19735 * sysdeps/i386/sysdep.h: Likewise.
19736 * sysdeps/x86_64/sysdep.h: Likewise.
19737 * sysdeps/sh/sysdep.h: Likewise.
19738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19739 Do not define ASM_TYPE_DIRECTIVE.
19740 * sysdeps/powerpc/sysdep.h: Likewise.
19741 * sysdeps/powerpc/powerpc32/sysdep.h:
19742 Replace ASM_TYPE_DIRECTIVE with .type.
19743 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19744 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19745 * sysdeps/i386/fpu/e_powf.S: Likewise.
19746 * sysdeps/i386/fpu/e_expl.S: Likewise.
19747 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19748 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19749 * sysdeps/i386/fpu/e_pow.S: Likewise.
19750 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19751 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19752 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19753 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19754 * sysdeps/i386/fpu/e_log2.S: Likewise.
19755 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19756 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19757 * sysdeps/i386/fpu/e_powl.S: Likewise.
19758 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19759 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19760 * sysdeps/i386/fpu/e_logl.S: Likewise.
19761 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19762 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19763 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19764 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19765 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19766 * sysdeps/i386/fpu/e_log.S: Likewise.
19767 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19768 * sysdeps/i386/fpu/e_logf.S: Likewise.
19769 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19770 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19771 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19772 * sysdeps/i386/fpu/e_log10.S: Likewise.
19773 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19774 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19775 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19776 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19777 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19778 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19779 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19780 * sysdeps/i386/i686/strtok.S: Likewise.
19781 * sysdeps/i386/i386-mcount.S: Likewise.
19782 * sysdeps/i386/strtok.S: Likewise.
19783 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19784 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19785 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19786 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19787 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19788 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19789 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19790 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19791 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19792 * sysdeps/x86_64/_mcount.S: Likewise.
19793 * sysdeps/x86_64/strtok.S: Likewise.
19794 * sysdeps/sh/_mcount.S: Likewise.
19795
197962012-08-01 Roland McGrath <roland@hack.frob.com>
19797
19798 * libio/iofopen.c: Include <fcntl.h>.
19799 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19800 (_IO_fopen64, fopen64): Define as aliases.
19801 * libio/iofopen64.c: Include <fcntl.h>.
19802 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19803 Conditionalize body on this.
19804 * sysdeps/wordsize-64/iofopen.c: File removed.
19805 * sysdeps/wordsize-64/iofopen64.c: File removed.
19806
198072012-08-01 Marek Polacek <polacek@redhat.com>
19808
19809 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19810 Use dlfcn directly instead of a variable.
19811 (binfmt-subdir): Do not define.
19812 (dlfcn): Likewise.
19813
198142012-08-01 Joseph Myers <joseph@codesourcery.com>
19815
19816 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19817 Remove all definitions.
19818 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19819 <kernel-features.h>.
19820 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19821 (miss_F_GETOWN_EX): Remove all definitions.
19822 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19823 macro definition.
19824 [!__ASSUME_FCNTL64]: Remove conditional code.
19825 [__ASSUME_FCNTL64]: Make code unconditional.
19826 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19827 <kernel-features.h>.
19828 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19829 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19830 (lockf64) [__NR_fcntl64]: Make code unconditional.
19831 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19832
19833 * sysdeps/unix/sysv/linux/kernel-features.h
19834 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19835 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19836 Make code unconditional.
19837 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19838 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19840 [__NR_vfork]: Make code unconditional.
19841 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19842 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19844 [__NR_vfork]: Make code unconditional.
19845 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19846 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19847
198482012-08-01 Roland McGrath <roland@hack.frob.com>
19849
19850 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19851 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19852
19853 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19854 Define mkstemp64 as an alias.
19855 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19856 Define mkstemps64 as an alias.
19857 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19858 Define mkostemp64 as an alias.
19859 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19860 Define mkostemps64 as an alias.
19861 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19862 Conditionalize body on this.
19863 * misc/mkostemp64.c: Likewise.
19864 * misc/mkostemps64.c: Likewise.
19865 * misc/mkstemps64.c: Likewise.
19866 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19867 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19868 * sysdeps/wordsize-64/mkostemp.c: File removed.
19869 * sysdeps/wordsize-64/mkstemp.c: File removed.
19870 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19871 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19872 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19873 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19874
19875 [BZ #14138]
19876 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19877 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19878 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19879 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19880
19881 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19882 compat_symbol macros from <shlib-compat.h> rather than the underlying
19883 default_symbol_version and symbol_version macros, so that DEFAULT
19884 lines in shlib-versions are respected.
19885 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19886
198872012-08-01 Florian Weimer <fweimer@redhat.com>
19888
19889 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19890 Declare with warn_unused_result.
19891 (setgid, setregid, setegid, setresgid): Likewise.
19892 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19893 Likewise.
19894 * WUR-REPORT: Remove set*id functions.
19895
198962012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19897
19898 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19899
199002012-07-31 Roland McGrath <roland@hack.frob.com>
19901
19902 [BZ #10191]
19903 * include/sys/socket.h (__libc_accept, __libc_accept4):
19904 Add attribute_hidden.
19905 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19906
19907 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19908 use of PTR_MANGLE.
19909 * inet/getnetgrent_r.c (setup): Likewise.
19910
19911 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19912
199132012-07-31 David S. Miller <davem@davemloft.net>
19914
19915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19916
199172012-07-31 Joseph Myers <joseph@codesourcery.com>
19918
19919 [BZ #13629]
19920 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19921 value between 1.0 and 2.0 and smaller part has absolute value less
19922 than 1.0.
19923 * math/s_clog10.c (__clog10): Likewise.
19924 * math/s_clog10f.c (__clog10f): Likewise.
19925 * math/s_clog10l.c (__clog10l): Likewise.
19926 * math/s_clogf.c (__clogf): Likewise.
19927 * math/s_clogl.c (__clogl): Likewise.
19928 * math/libm-test.inc (clog_test): Add more tests.
19929 (clog10_test): Likewise.
19930 * sysdeps/i386/fpu/libm-test-ulps: Update.
19931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19932
199332012-07-31 Florian Weimer <fweimer@redhat.com>
19934
19935 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19936 Exit with zero in case no suitable GID is found, and write a
19937 message to standard error.
19938
199392012-07-30 Roland McGrath <roland@hack.frob.com>
19940
19941 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19942 rather than to 1.
19943 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19944 (MAXPATHLEN): Removed.
19945 (NOGROUP, NODEV): New macros.
19946 (setbit, clrbit, isset, isclr): New macros.
19947 (howmany, roundup, powerof2): New macros.
19948 (DEV_BSIZE): New macro.
19949
19950 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19951 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19952
19953 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19954 definition on [!__NO_LONG_DOUBLE_MATH].
19955
19956 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19957 PTR_MANGLE and PTR_DEMANGLE.
19958
19959 * socket/accept4.c (accept4): Rename to __libc_accept4.
19960 Define accept4 as a weak alias.
19961
19962 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19963 on [_DIRENT_HAVE_D_TYPE].
19964 * io/ftw.c (ftw_dir): Likewise.
19965
19966 * io/xmknod.c (__xmknod): Don't check PATH for being null.
19967
19968 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19969
19970 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19971 Use the BSD numbers rather than the arbitrary ones we had.
19972 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19973 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19974 (SIGXCPU, SIGXFSZ): New macros.
19975 (_NSIG): Now 32.
19976
19977 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19978 initializer on [_LIBC_REENTRANT].
19979
19980 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19981 definitions inside [_POSIX_MAPPED_FILES].
19982
19983 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19984
19985 * dirent/opendir.c: Include <fcntl.h>.
19986
19987 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19988 (__libc_getspecific): Likewise.
19989 (__libc_key_create): Likewise.
19990
19991 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19992 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19993 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19994 (tmpfile64): Define as alias.
19995 * sysdeps/wordsize-64/tmpfile.c: File removed.
19996 * sysdeps/wordsize-64/tmpfile64.c: File removed.
19997 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19998 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19999
20000 * stdio-common/vfscanf.c: Include <stdbool.h>.
20001 * nss/makedb.c: Likewise.
20002 * stdio-common/_i18n_number.h: Likewise.
20003 * argp/argp-help.c: Likewise.
20004 * posix/wordexp.c: Likewise.
20005 * sysdeps/posix/spawni.c: Likewise.
20006 * nss/nss_files/files-initgroups.c: Likewise.
20007 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20008 * nss/nss_files/files-initgroups.c: Likewise.
20009 * nss/nss_db/db-netgrp.c: Likewise.
20010 * nss/nss_db/db-initgroups.c: Likewise.
20011 * io/fchmodat.c: Include <sys/stat.h>.
20012
20013 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20014 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20015
20016 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20017 [HAVE_MMAP].
20018
20019 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20020 Add multiple inclusion protection.
20021
200222012-07-27 David S. Miller <davem@davemloft.net>
20023
20024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20025
200262012-07-27 Gary Benson <gbenson@redhat.com>
20027
20028 [BZ #14298]
20029 * elf/rtld.c: Include <stap-probe.h>.
20030 (dl_main): Added static probes "init_start" and "init_complete".
20031 * elf/dl-load.c: Include <stap-probe.h>.
20032 (lose): Take new parameter "nsid".
20033 Added static probe "map_failed".
20034 (_dl_map_object_from_fd): Pass namespace id to lose.
20035 Added static probe "map_start".
20036 (open_verify): Pass namespace id to lose.
20037 * elf/dl-open.c: Include <stap-probe.h>.
20038 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20039 and "reloc_complete".
20040 * elf/dl-close.c: Include <stap-probe.h>.
20041 (_dl_close_worker): Added static probes "unmap_start" and
20042 "unmap_complete".
20043 * elf/rtld-debugger-interface.txt: New file documenting the above.
20044
200452012-07-26 Roland McGrath <roland@hack.frob.com>
20046
20047 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20048 rather than a string variable.
20049 * sunrpc/rpc_main.c (h_output): Likewise.
20050 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20051
200522012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20053
20054 * inet/check_native.c: New file.
20055
200562012-07-26 Joseph Myers <joseph@codesourcery.com>
20057
20058 [BZ #13629]
20059 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20060 if larger part has absolute value 1.0.
20061 * math/s_clog10.c (__clog10): Likewise.
20062 * math/s_clog10f.c (__clog10f): Likewise.
20063 * math/s_clog10l.c (__clog10l): Likewise.
20064 * math/s_clogf.c (__clogf): Likewise.
20065 * math/s_clogl.c (__clogl): Likewise.
20066 * math/libm-test.inc (clog_test): Add more tests.
20067 (clog10_test): Likewise.
20068 * sysdeps/i386/fpu/libm-test-ulps: Update.
20069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20070
20071 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20072 (pltexit): Likewise.
20073 (La_regs): Likewise.
20074 (La_retval): Likewise.
20075 (int_retval): Likewise.
20076 Update #error for removed macros to refer only to definitions in
20077 tst-audit.h.
20078 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20079 macro.
20080 (pltexit): Likewise.
20081 (La_regs): Likewise.
20082 (La_retval): Likewise.
20083 (int_retval): Likewise.
20084 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20085 macro.
20086 (pltexit): Likewise.
20087 (La_regs): Likewise.
20088 (La_retval): Likewise.
20089 (int_retval): Likewise.
20090 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20091 macro.
20092 (pltexit): Likewise.
20093 (La_regs): Likewise.
20094 (La_retval): Likewise.
20095 (int_retval): Likewise.
20096 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20097 macro.
20098 (pltexit): Likewise.
20099 (La_regs): Likewise.
20100 (La_retval): Likewise.
20101 (int_retval): Likewise.
20102 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20103 macro.
20104 (pltexit): Likewise.
20105 (La_regs): Likewise.
20106 (La_retval): Likewise.
20107 (int_retval): Likewise.
20108 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20109 macro.
20110 (pltexit): Likewise.
20111 (La_regs): Likewise.
20112 (La_retval): Likewise.
20113 (int_retval): Likewise.
20114 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20115 macro definitions in tst-audit.h.
20116 * sysdeps/i386/tst-audit.h: New file.
20117 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20118 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20119 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20120 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20121 * sysdeps/sh/tst-audit.h: Likewise.
20122 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20123 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20124 * sysdeps/x86_64/tst-audit.h: Likewise.
20125
201262012-07-26 Andreas Jaeger <aj@suse.de>
20127
20128 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20129 ptrace.
20130
20131 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20132 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20133 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20134 PTRACE_O_MASK.
20135 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20136 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20137 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20138
20139 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20140 value.
20141
20142 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20143 _sigsys.
20144 (si_call_addr, si_syscall, si_arch): Define new macro.
20145 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20146 _sigsys.
20147 (si_call_addr, si_syscall, si_arch): Define new marcro.
20148 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20149 _sigsys.
20150 (si_call_addr, si_syscall, si_arch): Define new macro.
20151 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20152 _sigsys.
20153 (si_call_addr, si_syscall, si_arch): Define new macro.
20154
201552012-07-25 Joseph Myers <joseph@codesourcery.com>
20156
20157 [BZ #13717]
20158 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20159 Change to 2.4.21 where previously 2.4.1.
20160 * sysdeps/unix/sysv/linux/configure: Regenerated.
20161 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20162 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20163 Linux kernel version.
20164 (__ASSUME_STD_AUXV): Remove.
20165 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20166 kernel version.
20167 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20168 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20169 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20170 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20171 (__ASSUME_NETLINK_SUPPORT): Likewise.
20172 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20173 (__no_netlink_support): Remove conditional definition.
20174 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20175 Remove.
20176 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20177 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20178 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20179 (if_nameindex_ioctl): Remove.
20180 (if_nameindex_netlink): Do not handle __no_netlink_support.
20181 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20182 code.
20183 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20184 Remove conditional code.
20185 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20186 code.
20187 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20188 unconditional.
20189 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20190 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20191 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20192 Remove.
20193 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20194 [!__ASSUME_STD_AUXV]: Remove conditional code.
20195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20196 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20197 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20199 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20200 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20201 code.
20202 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20204 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20205 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20206 conditional code.
20207 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20209 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20210 code.
20211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20212 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20213 conditional code.
20214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20215 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20216 code unconditional.
20217 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20218 conditional code.
20219 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20220 unconditional.
20221 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20222 conditional code.
20223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20224 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20225 unconditional.
20226 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20227 conditional code.
20228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20229 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20230 code unconditional.
20231 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20232 conditional code.
20233 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20234 unconditional.
20235 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20236 conditional code.
20237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20238 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20239 code unconditional.
20240 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20241 conditional code.
20242 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20243 unconditional.
20244 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20245 conditional code.
20246
202472012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20248
20249 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20250 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20251 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20252 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20253 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20254 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20255 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20256 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20257 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20258 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20259 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20260 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20261 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20262 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20263 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20264 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20265 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20266 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20267 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20269 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20270 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20271 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20272
202732012-07-25 Florian Weimer <fweimer@redhat.com>
20274
20275 * Versions.def: Add GLIBC_2.17.
20276 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20277 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20278 Introduce __libc_secure_getenv.
20279 * stdlib/Versions (2.17): Add secure_getenv
20280 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20281 * stdlib/secure-getenv.c: Rename __secure_getenv to
20282 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20283 symbol __secure_getenv for GLIBC_2.0.
20284 * stdlib/tst-secure-getenv.c: New.
20285 * stdlib/Makefile (tests): Add testcase.
20286 * manual/startup.texi (Environment Access): Document
20287 secure_getenv.
20288 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20289 __libc_secure_getenv.
20290 * inet/ruserpass.c (ruserpass): Likewise.
20291 * malloc/mtrace.c (mtrace): Likewise.
20292 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20293 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20294 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20295 * sysdeps/posix/tempname.c: Likewise. Evaluate
20296 HAVE_SECURE_GETENV.
20297 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20298 __secure_getenv to __libc_secure_getenv.
20299 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20301 Likewise.
20302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20303 Likewise.
20304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20311
203122012-07-25 Joseph Myers <joseph@codesourcery.com>
20313
20314 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20315 (struct La_i86_retval): Likewise.
20316 (struct La_x86_64_regs): Likewise.
20317 (struct La_x86_64_retval): Likewise.
20318 (struct La_x32_regs): Likewise.
20319 (struct La_x32_retval): Likewise.
20320 (struct La_ppc32_regs): Likewise.
20321 (struct La_ppc32_retval): Likewise.
20322 (struct La_ppc64_regs): Likewise.
20323 (struct La_ppc64_retval): Likewise.
20324 (struct La_sh_regs): Likewise.
20325 (struct La_sh_retval): Likewise.
20326 (struct La_s390_32_regs): Likewise.
20327 (struct La_s390_32_retval): Likewise.
20328 (struct La_s390_64_regs): Likewise.
20329 (struct La_s390_64_retval): Likewise.
20330 (struct La_sparc32_regs): Likewise.
20331 (struct La_sparc32_retval): Likewise.
20332 (struct La_sparc64_regs): Likewise.
20333 (struct La_sparc64_retval): Likewise.
20334 (struct audit_ifaces): Remove architecture-specific pltenter and
20335 pltexit members.
20336 * sysdeps/i386/ldsodefs.h: New file.
20337 * sysdeps/powerpc/ldsodefs.h: Likewise.
20338 * sysdeps/s390/ldsodefs.h: Likewise.
20339 * sysdeps/sh/ldsodefs.h: Likewise.
20340 * sysdeps/sparc/ldsodefs.h: Likewise.
20341 * sysdeps/x86_64/ldsodefs.h: Likewise.
20342
203432012-07-25 Marek Polacek <polacek@redhat.com>
20344
20345 [BZ #6808]
20346 * math/libm-test.inc (yn_test): Add another test.
20347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20348 to ERANGE when the result is +-Inf.
20349 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20350 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20351 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20352 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20353
203542012-07-24 Joseph Myers <joseph@codesourcery.com>
20355
20356 * conform/data/time.h-data (NULL): Use macro-constant. Require
20357 equal to 0.
20358 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20359 clock_t.
20360 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20361
203622012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20363
20364 * configure.in <sysdeps resolving>: Correct printing
20365 Implies_before.
20366 * configure: Regenerate.
20367
203682012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20369
20370 * math/w_ilogb.c: Include <limits.h>.
20371 * math/w_ilogbl.c: Likewise.
20372
203732012-07-20 Joseph Myers <joseph@codesourcery.com>
20374
20375 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20376 va_copy. Document allowing for unavailable va_copy only as
20377 pre-C99 compatibility.
20378 * manual/string.texi (Copying and Concatenation): Use va_copy
20379 instead of __va_copy in concat example.
20380
203812012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20382
20383 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20384 (__sendto): Use create_address_port. Initialize APORT and deallocate
20385 it if not null.
20386
20387 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20388 with O_NOLINK passed to __file_name_lookup.
20389
20390 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20391 with O_NOLINK passed to __file_name_lookup.
20392
20393 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20394 negative N or less than NGIDS.
20395
20396 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20397 type to string_t. Set ERANGE as errno and return it if NAME is not big
20398 enough. Use memcpy instead of strncpy.
20399
204002012-07-20 Joseph Myers <joseph@codesourcery.com>
20401
20402 * elf/Makefile (check-data): Remove.
20403 (localplt.data): New vpath directive.
20404 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20405 instead of $(check-data).
20406 * scripts/data/localplt-generic.data: Move to ...
20407 * sysdeps/generic/localplt.data: ... here.
20408 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20409 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20410 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20412 ... here.
20413 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20415 ... here.
20416 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20418 ... here.
20419 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20421 ... here.
20422 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20424 ... here.
20425 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20427 ... here.
20428
204292012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20430
20431 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20432 PPC32 and PPC64 files.
20433 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20434 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20435
204362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20437
20438 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20439 __makecontext_ret to ...
20440 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20441 ... here and call exit if uc_link is NULL. New file.
20442 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20443 __makecontext_ret.S.
20444 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20445 __makecontext_ret to ...
20446 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20447 ... here and call exit if uc_link is NULL. New file.
20448 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20449 __makecontext_ret.S.
20450
204512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20452
20453 * elf/elf.h (R_390_IRELATIVE): New definition.
20454 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20455 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20456 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20457 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20458 (elf_machine_lazy_rel): Likewise.
20459 * sysdeps/s390/dl-irel.h: New file.
20460 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20461 * sysdeps/s390/s390-64/memset.S: New asm code.
20462 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20463 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20464 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20465 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20466 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20467 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20468 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20469 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20470 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20471 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20472 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20473 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20474 * sysdeps/s390/s390-32/memset.S: New asm code.
20475 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20476
204772012-07-17 Marek Polacek <polacek@redhat.com>
20478
20479 [BZ #14349]
20480 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20481 * sysdeps/s390/s390-64/configure.in: Likewise.
20482 * sysdeps/sparc/configure.in: Likewise.
20483 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20484 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20485 * sysdeps/i386/configure.in: Likewise.
20486 * sysdeps/x86_64/configure.in: Likewise.
20487 * sysdeps/sh/configure.in: Likewise.
20488 * sysdeps/s390/s390-32/configure: Regenerated.
20489 * sysdeps/s390/s390-64/configure: Likewise.
20490 * sysdeps/x86_64/configure: Likewise.
20491 * sysdeps/sh/configure: Likewise.
20492 * sysdeps/powerpc/powerpc64/configure: Likewise.
20493 * sysdeps/powerpc/powerpc32/configure: Likewise.
20494 * sysdeps/sparc/configure: Likwise.
20495 * sysdeps/i386/configure: Likewise.
20496
20497 * elf/dl-open.c: Comment fixes.
20498
204992012-07-17 Joseph Myers <joseph@codesourcery.com>
20500
20501 * Makefile [CXX] (check-data): Remove.
20502 [CXX] (c++-types.data): New vpath directive.
20503 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20504 vpath. Do not allow for C++ type data being missing.
20505 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20506 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20507 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20508 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20509 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20510 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20511 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20513 ... here.
20514 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20516 ... here.
20517 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20519 ... here.
20520 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20522 ... here.
20523 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20525 ... here.
20526 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20528 ... here.
20529 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20531 ... here.
20532 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20534
20535 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20536 definitions to architecture-specific files.
20537 (TLS_IE): Likewise.
20538 (TLS_LD): Likewise.
20539 (TLS_GD): Likewise.
20540 * sysdeps/i386/tls-macros.h: New file.
20541 * sysdeps/powerpc/tls-macros.h: Likewise.
20542 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20543 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20544 * sysdeps/sh/tls-macros.h: Likewise.
20545 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20546 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20547 * sysdeps/x86_64/tls-macros.h: Likewise.
20548
205492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20550
20551 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20552 zero value for regular exit case.
20553
20554 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20555 (__start_context): Preserve zero value for regular exit case.
20556
205572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20558 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20559
20560 * manual/setjmp.texi (setcontext): Clarify normal process
20561 termination when uc_link is the null pointer.
20562 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20563 exit call.
20564
205652012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20566
20567 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20568 preprocessor. Test for each exception mask separately.
20569
205702012-07-16 Andreas Jaeger <aj@suse.de>
20571
20572 * po/ru.po: Update from translation team.
20573
205742012-07-15 Joseph Myers <joseph@codesourcery.com>
20575
20576 * conform/data/string.h-data (NULL): Use macro-constant. Require
20577 equal to 0.
20578 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20579 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20580 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20581 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20583
205842012-07-13 Andreas Jaeger <aj@suse.de>
20585
20586 * po/fr.po: Update from translation team.
20587
205882012-07-12 Marek Polacek <polacek@redhat.com>
20589
20590 [BZ #14173]
20591 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20592 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20593 loop condition.
20594
205952012-07-12 Joseph Myers <joseph@codesourcery.com>
20596
20597 [BZ #13717]
20598 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20599 Change to 2.4.1 where previously 2.4.0.
20600 * sysdeps/unix/sysv/linux/configure: Regenerated.
20601 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20602 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20603 version.
20604 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20605 (__ASSUME_AT_CLKTCK): Remove.
20606 (__ASSUME_AT_PAGESIZE): Likewise.
20607 (__ASSUME_AT_XID): Likewise.
20608 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20609 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20610 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20611 unconditionally.
20612 (HAVE_AUX_PAGESIZE): Likewise.
20613 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20614 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20615 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20616
206172012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20618
20619 [BZ #14307]
20620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20621 the temporary buffer used to invoke __gethostbyname2_r,
20622 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20623 host_data / struct gaih_addrtuple.
20624 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20625 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20626 header file nss/nsswitch.h.
20627 * nss/nsswitch.h (global scope): Add definition of implementation
20628 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20629 resolv/nss_dns/dns-host.c).
20630
206312012-07-11 Andreas Jaeger <aj@suse.de>
20632
20633 * po/fr.po: Update from translation team.
20634
20635 * po/sv.po: Update from translation team
20636 * po/fr.po: Another update from translation team.
20637
206382012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20639
20640 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20641 for subnormals or multiply small sinh result by itself.
20642 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20644
206452012-07-11 David S. Miller <davem@davemloft.net>
20646
20647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20648
206492012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20650
20651 [BZ #14347]
20652 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20653 (INTERNAL_MARK): Shift it here.
20654
206552012-07-10 Marek Polacek <polacek@redhat.com>
20656
20657 [BZ #14151]
20658 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20659 libc_cv_asm_global_directive with .globl.
20660 * configure: Regenerated.
20661 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20662 with .globl.
20663 * sysdeps/i386/configure: Regenerated.
20664 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20665 with .globl.
20666 * sysdeps/x86_64/configure: Regenerated.
20667 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20668 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20669 * elf/tst-unique2mod2.c: Likewise.
20670 * elf/tst-unique2mod1.c: Likewise.
20671 * elf/tst-unique1mod2.c: Likewise.
20672 * elf/tst-unique1mod1.c: Likewise.
20673 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20674 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20675 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20676 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20677 * sysdeps/mach/sysdep.h: Likewise.
20678 * sysdeps/i386/sysdep.h: Likewise.
20679 * sysdeps/i386/i386-mcount.S: Likewise.
20680 * sysdeps/x86_64/_mcount.S: Likewise.
20681 * sysdeps/x86_64/sysdep.h: Likewise.
20682 * sysdeps/sh/_mcount.S: Likewise.
20683 * sysdeps/sh/sysdep.h: Likewise.
20684 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20685 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20686 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20687 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20688 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20689 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20690 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20691 * locale/localeinfo.h: Likewise.
20692 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20693 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20694
206952012-07-09 Roland McGrath <roland@hack.frob.com>
20696
20697 [BZ #14336]
20698 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20699 system".
20700 * manual/message.texi (The Uniforum approach): Likewise.
20701 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20702 (glibc iconv Implementation): Likewise.
20703
207042012-07-09 Joseph Myers <joseph@codesourcery.com>
20705
20706 [BZ #14337]
20707 * math/s_clog.c (__clog): Avoid scaling a value down where that
20708 could result in underflow.
20709 * math/s_clog10.c (__clog10): Likewise.
20710 * math/s_clog10f.c (__clog10f): Likewise.
20711 * math/s_clog10l.c (__clog10l): Likewise.
20712 * math/s_clogf.c (__clogf): Likewise.
20713 * math/s_clogl.c (__clogl): Likewise.
20714 * math/libm-test.inc (clog_test): Add more tests.
20715 (clog10_test): Likewise.
20716 * sysdeps/i386/fpu/libm-test-ulps: Update.
20717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20718
207192012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20720
20721 [BZ #14283]
20722 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20723 by 7 not 8 to examine high bit of fractional part.
20724
20725 [BZ #14042]
20726 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20727 for call to __mcount_internal.
20728 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20729 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20730 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20731
207322012-07-06 Joseph Myers <joseph@codesourcery.com>
20733
20734 [BZ #14154]
20735 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20736 approximation for values within 0x1p-13f of an odd multiple of
20737 pi/4.
20738 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20739 exception. Add more tests.
20740 * sysdeps/i386/fpu/libm-test-ulps: Update.
20741
20742 [BZ #6778]
20743 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20744 inputs and return -1 for them. Do not check for +Inf in case not
20745 reachable for +Inf.
20746 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20747 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20748 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20749 and return -1 for them. Do not check for +Inf in case not
20750 reachable for +Inf.
20751 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20752 define.
20753 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20754 and return -1 for them. Do not check for +Inf in case not
20755 reachable for +Inf.
20756 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20757 spurious underflow.
20758 * sysdeps/i386/fpu/libm-test-ulps: Update.
20759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20760
207612012-07-06 Mike Frysinger <vapier@gentoo.org>
20762
20763 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20764
207652012-07-05 Joseph Myers <joseph@codesourcery.com>
20766
20767 [BZ #14157]
20768 [BZ #14331]
20769 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20770 could result in spurious underflow. Scale down values above
20771 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20772 * math/s_csqrtf.c (__csqrtf): Likewise.
20773 * math/s_csqrtl.c (__csqrtl): Likewise.
20774 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20775 spurious underflow.
20776 * sysdeps/i386/fpu/libm-test-ulps: Update.
20777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20778
207792012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20780
20781 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20782 xopen-msg.sed.
20783 * catgets/xopen-msg.awk: New file.
20784 * catgets/xopen-msg.sed: Removed.
20785
20786 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20787 po2text.sed.
20788 * intl/po2test.awk: New file.
20789 * intl/po2test.sed: Removed.
20790
207912012-07-04 Joseph Myers <joseph@codesourcery.com>
20792
20793 [BZ #14328]
20794 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20795 or multiply small sinh result by itself.
20796 * math/s_ctanf.c (__ctanf): Likewise.
20797 * math/s_ctanh.c (__ctanh): Likewise.
20798 * math/s_ctanhf.c (__ctanhf): Likewise.
20799 * math/s_ctanhl.c (__ctanhl): Likewise.
20800 * math/s_ctanl.c (__ctanl): Likewise.
20801 * math/libm-test.inc (ctan_test_tonearest): New function.
20802 (ctan_test_towardzero): Likewise.
20803 (ctan_test_downward): Likewise.
20804 (ctan_test_upward): Likewise.
20805 (ctanh_test_tonearest): Likewise.
20806 (ctanh_test_towardzero): Likewise.
20807 (ctanh_test_downward): Likewise.
20808 (ctanh_test_upward): Likewise.
20809 (main): Call these new functions.
20810 * sysdeps/i386/fpu/libm-test-ulps: Update.
20811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20812
208132012-07-03 Mike Frysinger <vapier@gentoo.org>
20814
20815 * .gitignore: Delete /ports entry.
20816
208172012-07-03 Andreas Jaeger <aj@suse.de>
20818
20819 * po/bg.po: Update from translation team.
20820 * po/cs.po: Likewise.
20821 * po/de.po: Likewise.
20822 * po/hr.po: Likewise.
20823 * po/nl.pl: Likewise.
20824 * po/pl.po: Likewise.
20825 * po/vi.po: Likewise.
20826
208272012-07-03 Joseph Myers <joseph@codesourcery.com>
20828
20829 * Makeconfig [!+link] (+link-before-libc): New variable.
20830 [!+link] (+link-after-libc): Likewise.
20831 [!+link] (+link-tests): Likewise.
20832 [!+link] (+link): Define in terms of $(+link-before-libc) and
20833 $(+link-after-libc).
20834 [!+link-static] (+link-static-before-libc): New variable.
20835 [!+link-static] (+link-static-after-libc): Likewise.
20836 [!+link-static] (+link-static-tests): Likewise.
20837 [!+link-static] (+link-static): Define in terms of
20838 $(+link-static-before-libc) and $(+link-static-after-libc).
20839 [build-shared] (link-libc-before-gnulib): New variable.
20840 [build-shared] (link-libc-tests): Likewise.
20841 [build-shared] (link-libc): Define in terms of
20842 $(link-libc-before-gnulib).
20843 [!build-shared] (link-libc-tests): New variable.
20844 (link-libc-static-tests): New variable.
20845 [!gnulib] (gnulib-arch): New variable.
20846 [!gnulib] (gnulib-tests): Likewise.
20847 [!gnulib] (static-gnulib-arch): Likewise.
20848 [!gnulib] (static-gnulib-tests): Likewise.
20849 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20850 Define with "=" instead of ":=".
20851 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20852 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20853 * Rules (binaries-all-notests): New variable.
20854 (binaries-all-tests): Likewise.
20855 (binaries-static-notests): Likewise.
20856 (binaries-static-tests): Likewise.
20857 (binaries-all): Define using $(binaries-all-notests) and
20858 $(binaries-all-tests).
20859 (binaries-static): Define using $(binaries-static-notests) and
20860 $(binaries-static-tests).
20861 (binaries-shared-tests): New variable.
20862 (binaries-shared-notests): Likewise.
20863 (binaries-shared): Remove variable.
20864 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20865 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20866 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20867 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20868 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20869 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20870 * elf/Makefile (sln-modules): New variable.
20871 (extra-objs): Add $(sln-modules:=.o).
20872 (ldconfig-modules): Add static-stubs.
20873 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20874 * elf/static-stubs.c: New file.
20875
20876 [BZ #14283]
20877 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20878 by 7 not 8 to examine high bit of fractional part. Use volatile
20879 variables when splitting into final array of floats if
20880 __FLT_EVAL_METHOD__ != 0.
20881 * math/libm-test.inc (cos_test): Add another test.
20882 (sin_test): Likewise.
20883 * sysdeps/i386/fpu/libm-test-ulps: Update.
20884
20885 [BZ #14273]
20886 * math/libm-test.inc (cosh_test): Add more tests.
20887
20888 * version.h (RELEASE): Set to "development".
20889 (VERSION): Set to "2.16.90".
20890
208912012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20892
20893 * NEWS: Update copyright. Remove last-updated date.
20894 Mention math library bug fixes and timezone data changes.
20895 * README: Mention GNU/Hurd, x32, and HPPA support status.
20896
208972012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20898
20899 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20900
209012012-06-27 Andreas Jaeger <aj@suse.de>
20902
20903 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20904
209052012-06-25 Andreas Jaeger <aj@suse.de>
20906
20907 * sysdeps/s390/fpu/libm-test-ulps: Update.
20908
209092012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20910 Thomas Schwinge <thomas@codesourcery.com>
20911
20912 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20913 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20914 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20915 fanotify_mark.
20916
209172012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20918
20919 * sysdeps/mach/start.c: Remove file.
20920 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20921 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20922 * sysdeps/sh/init-first.c: Likewise.
20923
20924 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20925 registers for frame unwinding purposes, add CFI directives.
20926 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20927 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20928 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20929 Likewise.
20930
20931 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20932 __fortify_fail returning.
20933 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20934
20935 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20936 sysdeps/sh/____longjmp_chk.S.
20937 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20938 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20939 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20940 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20941
20942 * sysdeps/sh/abort-instr.h: New file.
20943 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20944 process in case exit returns.
20945
20946 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20947 initialize the GOT register before use.
20948
20949 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20950 calculation of ARGC > 4.
20951
20952 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20953 meaningful names to some local labels.
20954
209552012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20956 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20957
20958 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20959 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20960 (__arch_compare_and_exchange_val_16_acq): Likewise.
20961 (__arch_compare_and_exchange_val_32_acq): Likewise.
20962 (atomic_exchange_and_add): Fix gUSA sequence.
20963 (atomic_add): Likewise.
20964 (atomic_add_negative): Likewise.
20965 (atomic_add_zero): Likewise.
20966 (atomic_bit_test_set): Likewise.
20967
209682012-06-22 Andreas Schwab <schwab@redhat.com>
20969
20970 [BZ #13579]
20971 * include/link.h (struct link_map): Add l_free_initfini.
20972 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20973 l_initfini.
20974 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20975 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20976 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20977 set.
20978
209792012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
20980
20981 * configure.in: Use AC_LANG_SOURCE.
20982 * configure: Regenerate.
20983
209842012-06-22 Roland McGrath <roland@hack.frob.com>
20985
20986 * configure.in (libc_cv_localstatedir): New substituted variable.
20987 * configure: Regenerated.
20988 * config.make.in (localstatedir): New variable, substituted from
20989 libc_cv_localstatedir.
20990 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20991 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20992 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20993 * sysdeps/gnu/configure: Regenerated.
20994
209952012-06-21 Jeff Law <law@redhat.com>
20996
20997 [BZ #14277]
20998 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20999 free. Simplify list management for _LIBC case.
21000
210012012-06-21 Joseph Myers <joseph@codesourcery.com>
21002
21003 [BZ #14273]
21004 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21005 Clear sign bit of 64-bit integer value before comparing against
21006 overflow value.
21007
21008 * sysdeps/mach/configure: Regenerated.
21009
210102012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21011
21012 [BZ #14278]
21013 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21014
210152012-06-21 Jeff Law <law@redhat.com>
21016
21017 [BZ #13882]
21018 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21019 uint16_t for elements in the "seen" array to avoid char overflows.
21020 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21021 * elf/dl-open.c (dl_open_worker): Likewise.
21022
210232012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21024
21025 * scripts/list-sources.sh: Scan PORTS for translations.
21026 * po/libc.pot: Regenerated.
21027
210282012-06-21 Andreas Jaeger <aj@suse.de>
21029
21030 [BZ #12194]
21031 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21032 warning.
21033 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21034 * bits/byteswap-16.h (__bswap_16): Likewise.
21035 * bits/byteswap.h (__bswap_constant_16): Likewise.
21036
210372012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21038
21039 [BZ #14117]
21040 * sysdeps/i386/fpu_control.h: Removed.
21041 * sysdeps/x86_64/fpu_control.h: Moved to ...
21042 * sysdeps/x86/fpu_control.h: Here.
21043
21044 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21045 (_FPU_SETCW): Likewise.
21046
210472012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21048
21049 [BZ #14117]
21050 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21051 * sysdeps/x86/fpu/bits/mathinline.h: This.
21052 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21053
21054 [BZ #14050]
21055 [BZ #14117]
21056 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21057 functions if __x86_64__ is defined.
21058
210592012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21060
21061 * string/endian.h: Add !__ASSEMBLER__ condition for including
21062 conversion interfaces.
21063
210642012-06-15 Joseph Myers <joseph@codesourcery.com>
21065
21066 [BZ #14241]
21067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21068 of ABS(x) in calculating zero to negative powers other than odd
21069 integers.
21070 * math/libm-test.inc (pow_test): Add more tests.
21071
210722012-06-15 Andreas Jaeger <aj@suse.de>
21073
21074 * manual/contrib.texi (Contributors): Update entry of Liubov
21075 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21076 Machado Filho.
21077
210782012-06-15 Cyril Hrubis <metan@ucw.cz>
21079
21080 * string/string.h: Add __wur to GNU version of strerror_r.
21081
210822012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21083
21084 [BZ #14229]
21085 * string/Makefile (tests): Add tst-strtok_r.
21086 * string/tst-strtok_r.c: New file.
21087 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21088 RAX_LP/RDX_LP on SAVE_PTR.
21089
210902012-06-14 Roland McGrath <roland@hack.frob.com>
21091
21092 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21093
210942012-06-14 Joseph Myers <joseph@codesourcery.com>
21095
21096 * libm_test.inc (csqrt_test): Allow more spurious underflow
21097 exceptions.
21098 (j0_test): Likewise.
21099 (j1_test): Likewise.
21100 (y0_test): Likewise.
21101 (y1_test): Likewise.
21102
211032012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21104
21105 * po/Makefile (libc.pot): Use UTF-8 charset.
21106
211072012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21108
21109 [BZ #14210]
21110 Suppress sign-conversion warning from FD_SET.
21111 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21112 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21113 not unsigned long int.
21114 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21115
211162012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21117
21118 [BZ #14050]
21119 [BZ #14117]
21120 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21121 __extern_always_inline instead of __extern_inline.
21122 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21123 (__signbit): Likewise.
21124 (__signbitl): Support C++ namespace.
21125 (lrintf): New inline function.
21126 (lrint): Likewise.
21127 (llrintf): Likewise.
21128 (llrint): Likewise.
21129 (fmaxf): Likewise.
21130 (fmax): Likewise.
21131 (fminf): Likewise.
21132 (fmin): Likewise.
21133 (rint): Likewise.
21134 (rintf): Likewise.
21135 (ceil): Likewise.
21136 (ceilf): Likewise.
21137 (floor): Likewise.
21138 (floorf): Likewise.
21139 (nearbyint): Likewise.
21140 (nearbyintf): Likewise.
21141
211422012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21143
21144 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21145 non-default versions.
21146
211472012-06-11 Roland McGrath <roland@hack.frob.com>
21148
21149 [BZ #14218]
21150 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21151
211522012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21153
21154 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21155 (FE_UPWARD, FE_DOWNWARD): Don't define.
21156 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21157 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21158
21159 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21160 reading it.
21161 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21162 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21163
211642012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21165
21166 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21167 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21168 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21169 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21170
211712012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21172
21173 [BZ #14117]
21174 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21175 * sysdeps/i386/fpu/Implies: New file.
21176 * sysdeps/x86_64/fpu/Implies: Likewise.
21177 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21178 * sysdeps/x86/fpu/bits/fenv.h: This.
21179
21180 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21181 __SSE_MATH__.
21182
211832012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21184
21185 [BZ #14134]
21186 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21187 character 0xffff that matches the last element of the
21188 conversion table.
21189
211902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21191
21192 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21193 fmodl commit.
21194
211952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21196
21197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21198 values higher than 25.6283.
21199
212002012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21201
21202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21203 subnormal exponent extraction and add some __builtin_expect.
21204 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21205 Fix for subnormal mantissa calculation.
21206
212072012-06-04 Mike Frysinger <vapier@gentoo.org>
21208
21209 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21210 cpu2 is -1 and errno is not ENOSYS.
21211
212122012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21213
21214 [BZ #14117]
21215 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21216 * sysdeps/x86/bits/string.h: This.
21217 * sysdeps/x86_64/bits/string.h: Removed.
21218
21219 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21220 if not compiling for x86-64, but compiling for >= i486.
21221
21222 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21223 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21224
21225 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21226 New macro from Linux kernel 3.4.0.
21227 (FP_XSTATE_MAGIC2): Likewise.
21228 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21229 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21230 (struct _fpx_sw_bytes): New struct.
21231 (struct _xsave_hdr): Likewise.
21232 (struct _ymmh_state): Likewise.
21233 (struct _xstate): Likewise.
21234
21235 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21236 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21237 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21238 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21239 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21240 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21241
21242 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21243 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21244 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21245 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21246 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21247 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21248
212492012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21250
21251 [BZ #13743]
21252 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21253 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21254 (sysdep_headers): Include sys/platform/ppc.h.
21255 * sysdeps/powerpc/test-gettimebase.c: Test for
21256 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21257 * manual/Makefile (appendices): Include platform.texi.
21258 * manual/contrib.texi (Contributors): Update @node pointers.
21259 * manual/maint.texi (Maintenance): Likewise.
21260 (Platform): New node.
21261 * manual/platform.texi: New file. Document the new features.
21262
212632012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21264 Jakub Jelinek <jakub@redhat.com>
21265
21266 [BZ #14188]
21267 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21268 where __builtin_expect is unavailable.
21269
212702012-06-03 David S. Miller <davem@davemloft.net>
21271
21272 * stdlib/longlong.h: Updated from GCC.
21273
212742012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21275
21276 [BZ #14042]
21277 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21278 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21279 __mcount_internal.
21280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21281 (GLIBC_2.16): Likewise.
21282
212832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21284
21285 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21286
212872012-06-01 Joseph Myers <joseph@codesourcery.com>
21288
21289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21290 (default-abi): New variable.
21291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21292 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21293 variable.
21294 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21295 Likewise.
21296 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21297 Likewise.
21298 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21299 Likewise.
21300
21301 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21302 definition. Document in comment.
21303
213042012-06-01 David S. Miller <davem@davemloft.net>
21305
21306 * stdlib/longlong.h: Updated from GCC.
21307
213082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21309
21310 [BZ #14117]
21311 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21312 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21313 sys/debugreg.h sys/io.h here.
21314 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21315 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21316 sys/io.h.
21317 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21318 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21319 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21320 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21321 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21322 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21323
21324 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21325 Define only if __x86_64__ is defined.
21326
213272012-06-01 Joseph Myers <joseph@codesourcery.com>
21328
21329 [BZ #14048]
21330 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21331 Use int64_t for variable i.
21332 * math/libm-test.inc (fmod_test): Add more tests.
21333
21334 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21335 z computation is not scheduled after fetestexcept.
21336 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21337 Use math_force_eval instead of asm to ensure calculation scheduled
21338 before exception test.
21339 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21340 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21341
213422012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21343
21344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21345 computation is not scheduled after fetestexcept.
21346
213472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21348
21349 [BZ #14117]
21350 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21351 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21352
213532012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21354
21355 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21356 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21357
213582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21359
21360 [BZ #14117]
21361 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21362 <bits/wordsize.h>.
21363 (__WCHAR_MIN): Support __WORDSIZE == 64.
21364 (__WCHAR_MAX): Likewise.
21365
21366 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21367 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21368
21369 [BZ #14183]
21370 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21371 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21372
21373 [BZ #14117]
21374 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21375 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21376
21377 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21378 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21379
21380 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21381 Defined to 1 if __x86_64__ isn't defined.
21382 (_STAT_VER_LINUX_OLD): New.
21383 (st_atime): Remove duplicate.
21384 (st_mtime): Likewise.
21385 (st_ctime): Likewise.
21386
213872012-05-31 David S. Miller <davem@davemloft.net>
21388
21389 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21390 entries.
21391
213922012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21393
21394 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21395 gen-libm-test.pl.
21396
21397 [BZ #14132]
21398 * elf/dl-reloc.c: Include <_itoa.h>.
21399 (_dl_reloc_bad_type): Remove use of INTUSE.
21400 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21401 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21402 * stdio-common/psiginfo.c (psiginfo): Likewise.
21403 * stdio-common/psignal.c (psignal): Likewise.
21404 * string/strsignal.c (strsignal): Likewise.
21405 * include/signal.h (_sys_siglist): Declare hidden proto.
21406 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21407 INTVARDEF with libc_hidden_data_def.
21408 * stdio-common/itoa-udigits.c: Likewise.
21409 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21410 (_itoa_lower_digits_internal): Remove declaration.
21411 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21412 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21413 (_sys_sigabbrev_internal): Remove aliases.
21414 (_sys_siglist): Define hidden alias.
21415
214162012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21417
21418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21419 bits/sysctl.h.
21420
214212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21422
21423 [BZ #14117]
21424 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21425 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21426
21427 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21428 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21429 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21430 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21431 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21432 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21433
21434 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21435 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21436 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21437
21438 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21439 with __addr.
21440 (insw): Likewise.
21441 (insl): Likewise.
21442 (outsb): Likewise.
21443 (outsw): Likewise.
21444 (outsl): Likewise.
21445
21446 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21447 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21448 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21449
21450 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21451 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21452 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21453 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21454 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21455 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21456
21457 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21458 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21459
21460 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21461 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21462
21463 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21464 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21465 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21466
21467 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21468 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21469 to ...
21470 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21471
21472 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21473 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21474 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21475
21476 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21477 for x86-64.
21478 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21479
214802012-05-31 Joseph Myers <joseph@codesourcery.com>
21481
21482 * math/math.h (M_El): Use two more decimal places.
21483 (M_LOG2El): Likewise.
21484 (M_LOG10El): Likewise.
21485 (M_LN2l): Likewise.
21486 (M_LN10l): Likewise.
21487 (M_PIl): Likewise.
21488 (M_PI_2l): Likewise.
21489 (M_PI_4l): Likewise.
21490 (M_1_PIl): Likewise.
21491 (M_2_PIl): Likewise.
21492 (M_2_SQRTPIl): Likewise.
21493 (M_SQRT2l): Likewise.
21494 (M_SQRT1_2l): Likewise.
21495
214962012-05-31 David S. Miller <davem@davemloft.net>
21497
21498 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21499 values between float registers.
21500 * sysdeps/sparc/sparc64/memset.S: Likewise.
21501 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21502
215032012-05-31 Mike Frysinger <vapier@gentoo.org>
21504
21505 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21506 -D_FORTIFY_SOURCE=1.
21507 (CPPFLAGS-tst-longjmp_chk.c): Define.
21508 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21509 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21510 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21511 CFLAGS-tst-wchar-h.c.
21512
215132012-05-31 Marek Polacek <polacek@redhat.com>
21514
21515 [BZ #14132]
21516 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21517 __endmntent_internal): Remove declaration.
21518 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21519 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21520 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21521
215222012-05-30 David S. Miller <davem@davemloft.net>
21523
21524 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21525 (___Q_simulate_exceptions): Use real FP ops rather than writing
21526 into the %fsr.
21527 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21528 Likewise.
21529
215302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21531
21532 [BZ #14117]
21533 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21534 * sysdeps/x86/bits/xtitypes.h: This.
21535
21536 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21537 * sysdeps/x86/bits/wordsize.h: This.
21538
21539 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21540 * sysdeps/x86/bits/huge_vall.h: This.
21541
21542 * sysdeps/i386/bits/select.h: Removed.
21543 * sysdeps/x86_64/bits/select.h: Renamed to ...
21544 * sysdeps/x86/bits/select.h: This.
21545
21546 * sysdeps/i386/bits/setjmp.h: Removed.
21547 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21548 * sysdeps/x86/bits/setjmp.h: This.
21549
21550 * sysdeps/i386/bits/mathdef.h: Removed.
21551 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21552 * sysdeps/x86/bits/mathdef.h: This.
21553
215542012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21555
21556 [BZ #14132]
21557 * include/sys/socket.h (__connect_internal)
21558 (__libc_sa_len_internal): Remove declaration.
21559 (__connect, __libc_sa_len): Declare hidden_proto.
21560 (SA_LEN): Remove use of INTUSE.
21561 * socket/connect.c: Add libc_hidden_def.
21562 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21563 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21564 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21565 alias.
21566 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21567 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21568 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21569 of adding _internal alias.
21570
215712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21572
21573 [BZ #14117]
21574 * sysdeps/i386/bits/link.h: Removed.
21575 * sysdeps/i386/bits/linkmap.h: Likewise.
21576 * sysdeps/x86_64/bits/link.h: Renamed to ...
21577 * sysdeps/x86/bits/link.h: This.
21578 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21579 * sysdeps/x86/bits/linkmap.h: This.
21580
21581 * sysdeps/i386/bits/endian.h: Removed.
21582 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21583 * sysdeps/x86/bits/endian.h: This.
21584
21585 * sysdeps/i386/bits/byteswap.h: Removed.
21586 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21587 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21588 * sysdeps/x86/bits/byteswap.h: This.
21589 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21590 * sysdeps/x86/bits/byteswap-16.h: This.
21591 * sysdeps/i386/Implies: Add x86.
21592 * sysdeps/x86_64/Implies: Likewise.
21593
215942012-05-30 David S. Miller <davem@davemloft.net>
21595
21596 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21597 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21598 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21599 (FP_TRAPPING_EXCEPTIONS): Define.
21600 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21601 (FP_TRAPPING_EXCEPTIONS): Define.
21602 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21603 subnormals only when inexact has been signalled or underflow
21604 exceptions are enabled.
21605 (_FP_PACK_CANONICAL): Likewise.
21606
216072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21608
21609 [BZ #14183]
21610 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21611 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21612
216132012-05-30 Richard Henderson <rth@twiddle.net>
21614
21615 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21616 with #ifndef NOT_IN_libc.
21617
21618 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21619 marked to avoid plt entry.
21620
216212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21622
21623 [BZ #14112]
21624 * Makeconfig (default-abi): New macro.
21625 (abi-includes): Likewise.
21626 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21627 $(abi-$(default-abi)-lib-soname) for soname if defined.
21628 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21629 abi-variants.
21630 * Makefile (installed-stubs): Likewise.
21631 * include/stubs-biarch.h: Removed.
21632 * scripts/lib-names.awk: Only handle one library at a time.
21633 * scripts/soversions.awk: Remove WORDSIZE support.
21634 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21635 entries.
21636 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21637 Removed.
21638 (syscall-list-default-condition): Likewise.
21639 (syscall-list-default-condition): Likewise.
21640 (syscall-list-includes): Likewise.
21641 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21642 syscall-list-* with abi-*. Handle undefined abi-variants.
21643 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21644 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21645 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21646 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21647 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21648 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21649 Removed.
21650 (syscall-list-32-options): Likewise.
21651 (syscall-list-32-condition): Likewise.
21652 (syscall-list-64-options): Likewise.
21653 (syscall-list-64-condition): Likewise.
21654 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21655 macro.
21656 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21657 Renamed to ...
21658 (abi-*): This.
21659 (abi-64-ld-soname): New macro.
21660 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21661 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21662 Renamed to ...
21663 (abi-*): This.
21664 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21665 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21666
216672012-05-30 Joseph Myers <joseph@codesourcery.com>
21668
21669 * sysdeps/unix/sysv/linux/kernel-features.h
21670 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21671 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21672 include <kernel-features.h>.
21673 [!__NR_ftruncate64]: Remove conditional code.
21674 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21675 [__NR_ftruncate64]: Make code unconditional.
21676 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21677 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21678 include <kernel-features.h>.
21679 [!__NR_ftruncate64]: Remove conditional code.
21680 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21681 [__NR_ftruncate64]: Make code unconditional.
21682 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21684 include <kernel-features.h>.
21685 [!__NR_ftruncate64]: Remove conditional code.
21686 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21687 [__NR_ftruncate64]: Make code unconditional.
21688 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21690 include <kernel-features.h>.
21691 [!__NR_ftruncate64]: Remove conditional code.
21692 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21693 [__NR_ftruncate64]: Make code unconditional.
21694 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21695
21696 * configure.in (libc_cv_fpie): Weaken to a compile test using
21697 LIBC_TRY_CC_OPTION.
21698 * configure: Regenerated.
21699
217002012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21701
21702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21706 Refreshed.
21707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21713 Refreshed.
21714
217152012-05-27 David S. Miller <davem@davemloft.net>
21716
21717 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21718 (___Q_zero): New.
21719 (__Q_simulate_exceptions): Return void. Change to simulate
21720 exceptions by writing into the %fsr.
21721 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21722 (__Qp_handle_exceptions): Likewise.
21723 (numbers): Delete.
21724 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21725 __Qp_handle_exceptions.
21726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21727 __Qp_handle_exceptions.
21728 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21729 as unused and give dummy FP_RND_NEAREST initializer.
21730 (FP_INHIBIT_RESULTS): Define.
21731 (___Q_simulate_exceptions): Update declaration.
21732 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21733 formatting.
21734 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21735 as unused and give dummy FP_RND_NEAREST initializer.
21736 (__Qp_handle_exceptions): Update declaration.
21737 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21738 formatting.
21739
217402012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21741
21742 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21743 the temporary FPU control word.
21744 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21745 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21746 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21747 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21748 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21749 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21750 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21751 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21752 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21753 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21754 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21755
217562012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21757
21758 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21759 fields.
21760
217612012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21762
21763 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21764 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21765 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21766 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21767 Likewise.
21768 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21769 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21770 Likewise.
21771
217722012-05-27 Ulrich Drepper <drepper@gmail.com>
21773
21774 * po/h.po: Update from translation team.
21775
217762012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21777
21778 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21779
21780 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21781 handling of denormals.
21782 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21783 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21784 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21785 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21786 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21788 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21789 Likewise.
21790
217912012-05-26 Marek Polacek <polacek@redhat.com>
21792
21793 [BZ #14152]
21794 * math/libm-test.inc (fma_test): Don't always expect underflow
21795 exception.
21796
217972012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21798
21799 [BZ #12416]
21800 * elf/tst-execstack.c: Include stackinfo.h.
21801 (do_test): Adjust test case to ensure that pthread_getattr_np
21802 behaviour remains the same after marking stack executable.
21803
218042012-05-25 Joseph Myers <joseph@codesourcery.com>
21805
21806 * sysdeps/unix/sysv/linux/kernel-features.h
21807 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21808 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21809 kernel-features.h.
21810 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21811 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21812 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21813 kernel-features.h.
21814 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21815 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21816
218172012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21818
21819 * configure.in: Define the default includes to being none.
21820 * configure: Regenerated.
21821
218222012-05-25 Roland McGrath <roland@hack.frob.com>
21823
21824 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21825 * sysdeps/x86_64/setjmp.S: Likewise.
21826 * sysdeps/i386/bsd-setjmp.S: Likewise.
21827 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21828 * sysdeps/i386/setjmp.S: Likewise.
21829 * sysdeps/i386/__longjmp.S: Likewise.
21830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21831 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21832
21833 * include/stap-probe.h: New file.
21834 * configure.in: Handle --enable-systemtap.
21835 * configure: Regenerated.
21836 * config.h.in (USE_STAP_PROBE): New #undef.
21837 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21838 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21839 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21840
218412012-05-25 Joseph Myers <joseph@codesourcery.com>
21842
21843 [BZ #13717]
21844 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21845 to 2.4.0 where earlier.
21846 * sysdeps/unix/sysv/linux/configure: Regenerated.
21847 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21848 <kernel-features.h>.
21849 [__ASSUME_32BITUIDS]: Make code unconditional.
21850 [!__ASSUME_32BITUIDS]: Remove conditional code.
21851 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21852 <kernel-features.h>.
21853 [__ASSUME_32BITUIDS]: Make code unconditional.
21854 [!__ASSUME_32BITUIDS]: Remove conditional code.
21855 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21856 [__ASSUME_32BITUIDS]: Make code unconditional.
21857 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21858 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21859 <kernel-features.h>.
21860 [__ASSUME_32BITUIDS]: Make code unconditional.
21861 [!__ASSUME_32BITUIDS]: Remove conditional code.
21862 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21863 <kernel-features.h>.
21864 [__ASSUME_32BITUIDS]: Make code unconditional.
21865 [!__ASSUME_32BITUIDS]: Remove conditional code.
21866 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21867 <kernel-features.h>.
21868 [__ASSUME_32BITUIDS]: Make code unconditional.
21869 [!__ASSUME_32BITUIDS]: Remove conditional code.
21870 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21871 <kernel-features.h>.
21872 [__ASSUME_32BITUIDS]: Make code unconditional.
21873 [!__ASSUME_32BITUIDS]: Remove conditional code.
21874 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21875 <kernel-features.h>.
21876 [__ASSUME_32BITUIDS]: Make code unconditional.
21877 [!__ASSUME_32BITUIDS]: Remove conditional code.
21878 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21879 <kernel-features.h>.
21880 [__ASSUME_32BITUIDS]: Make code unconditional.
21881 [!__ASSUME_32BITUIDS]: Remove conditional code.
21882 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21883 <kernel-features.h>.
21884 [__ASSUME_32BITUIDS]: Make code unconditional.
21885 [!__ASSUME_32BITUIDS]: Remove conditional code.
21886 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21887 <kernel-features.h>.
21888 [__ASSUME_32BITUIDS]: Make code unconditional.
21889 [!__ASSUME_32BITUIDS]: Remove conditional code.
21890 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21891 <kernel-features.h>.
21892 [__ASSUME_32BITUIDS]: Make code unconditional.
21893 [!__ASSUME_32BITUIDS]: Remove conditional code.
21894 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21895 <kernel-features.h>.
21896 [__ASSUME_32BITUIDS]: Make code unconditional.
21897 [!__ASSUME_32BITUIDS]: Remove conditional code.
21898 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21899 <kernel-features.h>.
21900 [__NR_setresgid] (__setresgid): Do not declare.
21901 [__ASSUME_32BITUIDS]: Make code unconditional.
21902 [!__ASSUME_32BITUIDS]: Remove conditional code.
21903 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21904 <kernel-features.h>.
21905 [__NR_setresuid] (__setresuid): Do not declare.
21906 [__ASSUME_32BITUIDS]: Make code unconditional.
21907 [!__ASSUME_32BITUIDS]: Remove conditional code.
21908 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21909 <kernel-features.h>.
21910 [__ASSUME_32BITUIDS]: Make code unconditional.
21911 [!__ASSUME_32BITUIDS]: Remove conditional code.
21912 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21913 <kernel-features.h>.
21914 [__ASSUME_32BITUIDS]: Make code unconditional.
21915 [!__ASSUME_32BITUIDS]: Remove conditional code.
21916 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21917 <kernel-features.h>.
21918 [__ASSUME_32BITUIDS]: Make code unconditional.
21919 [!__ASSUME_32BITUIDS]: Remove conditional code.
21920 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21921 <kernel-features.h>.
21922 [__ASSUME_32BITUIDS]: Make code unconditional.
21923 [!__ASSUME_32BITUIDS]: Remove conditional code.
21924 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21925 <kernel-features.h>.
21926 [__ASSUME_32BITUIDS]: Make code unconditional.
21927 [!__ASSUME_32BITUIDS]: Remove conditional code.
21928 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21929 <kernel-features.h>.
21930 [__ASSUME_32BITUIDS]: Make code unconditional.
21931 [!__ASSUME_32BITUIDS]: Remove conditional code.
21932 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21933 <kernel-features.h>.
21934 [__ASSUME_32BITUIDS]: Make code unconditional.
21935 [!__ASSUME_32BITUIDS]: Remove conditional code.
21936 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21937 <kernel-features.h>.
21938 [__ASSUME_32BITUIDS]: Make code unconditional.
21939 [!__ASSUME_32BITUIDS]: Remove conditional code.
21940 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21941 <kernel-features.h>.
21942 [__ASSUME_32BITUIDS]: Make code unconditional.
21943 [!__ASSUME_32BITUIDS]: Remove conditional code.
21944 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21945 <kernel-features.h>.
21946 [__ASSUME_32BITUIDS]: Make code unconditional.
21947 [!__ASSUME_32BITUIDS]: Remove conditional code.
21948 * sysdeps/unix/sysv/linux/kernel-features.h
21949 (__ASSUME_SETRESUID_SYSCALL): Remove.
21950 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21951 (__ASSUME_32BITUIDS): Likewise.
21952 (__ASSUME_LDT_WORKS): Likewise.
21953 (__ASSUME_O_DIRECTORY): Likewise.
21954 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21955 architecture but not kernel version.
21956 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21957 (__ASSUME_MMAP2_SYSCALL): Likewise.
21958 (__ASSUME_STAT64_SYSCALL): Likewise.
21959 (__ASSUME_IPC64): Likewise.
21960 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21961 <kernel-features.h>.
21962 [__ASSUME_32BITUIDS]: Make code unconditional.
21963 [!__ASSUME_32BITUIDS]: Remove conditional code.
21964 * sysdeps/unix/sysv/linux/opendir.c: Do not include
21965 <kernel-features.h>.
21966 [__ASSUME_O_DIRECTORY]: Make code unconditional.
21967 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21968 132096]: Remove conditional code.
21969 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21970 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21971 <kernel-features.h>.
21972 [__ASSUME_32BITUIDS]: Make code unconditional.
21973 [!__ASSUME_32BITUIDS]: Remove conditional code.
21974 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21975 <kernel-features.h>.
21976 [__ASSUME_32BITUIDS]: Make code unconditional.
21977 [!__ASSUME_32BITUIDS]: Remove conditional code.
21978 * sysdeps/unix/sysv/linux/setegid.c: Do not include
21979 <kernel-features.h>.
21980 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21981 unconditional.
21982 (__setresgid): Do not declare.
21983 [__ASSUME_32BITUIDS]: Make code unconditional.
21984 [!__ASSUME_32BITUIDS]: Remove conditional code.
21985 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21986 <kernel-features.h>.
21987 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21988 unconditional.
21989 (__setresuid): Do not declare.
21990 [__ASSUME_32BITUIDS]: Make code unconditional.
21991 [!__ASSUME_32BITUIDS]: Remove conditional code.
21992 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21993 <kernel-features.h>.
21994 [__ASSUME_32BITUIDS]: Make code unconditional.
21995 [!__ASSUME_32BITUIDS]: Remove conditional code.
21996 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21997 <kernel-features.h>.
21998 [__ASSUME_32BITUIDS]: Make code unconditional.
21999 [!__ASSUME_32BITUIDS]: Remove conditional code.
22000
220012012-05-25 Richard Henderson <rth@twiddle.net>
22002
22003 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22004 dl_hwcap to ifunc resolver.
22005 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22006 elf_ifunc_invoke.
22007 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22008 dl_hwcap to ifunc resolver.
22009 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22010
220112012-05-24 Joseph Myers <joseph@codesourcery.com>
22012
22013 [BZ #14153]
22014 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22015 for |x| <= 2**-26, not 2**-57.
22016 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22017 exception.
22018
220192012-05-24 Jeff Law <law@redhat.com>
22020
22021 * stdio-common/Makefile (tests): Add bug25.
22022 * stdio-common/bug25.c: New test.
22023
220242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22025
22026 [BZ #13576]
22027 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22028 multiple of MALLOC_ALIGNMENT in size.
22029 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22030
220312012-05-24 Joseph Myers <joseph@codesourcery.com>
22032
22033 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22034 Require >= 256.
22035 (FILENAME_MAX): Use macro-int-constant.
22036 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22037 (_IOFBF): Use macro-int-constant.
22038 (_IOLBF): Likewise.
22039 (_IONBF): Likewise.
22040 (SEEK_CUR): Likewise.
22041 (SEEK_END): Likewise.
22042 (SEEK_SET): Likewise.
22043 (TMP_MAX): Likewise.
22044 (EOF): Use macro-int-constant. Require < 0.
22045 (NULL): Use macro-constant. Require == 0.
22046 (stdin): Require type to be FILE *.
22047 (stdout): Likewise.
22048 (stderr): Likewise.
22049 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22050 macro-int-constant.
22051 (EXIT_SUCCESS): Likewise.
22052 (NULL): Use macro-constant. Require == 0.
22053 (RAND_MAX): Use macro-int-constant.
22054 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22055 [C99-based standards] (strtof): Require function.
22056 [C99-based standards] (strtold): Likewise.
22057 [C99-based standards] (strtoll): Likewise.
22058 [C99-based standards] (strtoull): Likewise.
22059 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22060 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22061 [ISO || ISO99 || ISO11] (math.h): Likewise.
22062 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22063 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22064 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22065
220662012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22067
22068 [BZ #14132]
22069 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22070 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22071 * intl/dgettext.c (DCGETTEXT): Likewise.
22072 * intl/gettext.c (DCGETTEXT): Likewise.
22073 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22074 * posix/regex_internal.h (gettext): Likewise.
22075 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22076 Remove declaration.
22077 * include/argz.h (__argz_count_internal)
22078 (__argz_stringify_internal): Remove declaration.
22079 (__argz_count, __argz_stringify): Declare hidden proto.
22080 * intl/dcgettext.c: Remove use of INTDEF.
22081 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22082 * string/argz-stringify.c: Likewise.
22083 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22084 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22085 Declare hidden proto.
22086 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22087 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22088 Declare hidden proto.
22089 * include/stdio.h (__asprintf_internal): Don't declare.
22090 (__asprintf): Don't define as macro. Declare hidden proto.
22091 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22092 (__fsetlocking): Declare hidden proto.
22093 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22094 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22095 hidden proto.
22096 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22097 (_IO_setlinebuf): Remove use of INTUSE.
22098 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22099 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22100 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22101 Remove declaration.
22102 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22103 (_IO_do_flush): Remove use of INTUSE.
22104 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22105 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22106 (_IO_adjust_column, _IO_least_wmarker)
22107 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22108 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22109 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22110 (_IO_default_doallocate, _IO_wdefault_doallocate)
22111 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22112 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22113 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22114 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22115 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22116 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22117 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22118 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22119 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22120 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22121 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22122 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22123 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22124 proto.
22125 (_IO_flush_all_internal, _IO_adjust_column_internal)
22126 (_IO_default_uflow_internal, _IO_default_finish_internal)
22127 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22128 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22129 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22130 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22131 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22132 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22133 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22134 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22135 (_IO_file_close_internal, _IO_file_close_it_internal)
22136 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22137 (_IO_file_init_internal, _IO_file_attach_internal)
22138 (_IO_file_fopen_internal, _IO_file_read_internal)
22139 (_IO_file_sync_internal, _IO_file_seek_internal)
22140 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22141 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22142 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22143 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22144 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22145 (_IO_list_all_internal, _IO_link_in_internal)
22146 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22147 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22148 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22149 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22150 (_IO_do_write_internal, _IO_padn_internal)
22151 (_IO_getline_info_internal, _IO_getline_internal)
22152 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22153 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22154 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22155 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22156 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22157 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22158 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22159 with libc_hidden_ver, remove use of INTUSE.
22160 * libio/genops.c: Likewise.
22161 * libio/freopen.c: Likewise.
22162 * libio/freopen64.c: Likewise.
22163 * libio/iofclose.c: Likewise.
22164 * libio/iofdopen.c: Likewise.
22165 * libio/iofflush.c: Likewise.
22166 * libio/iofflush_u.c: Likewise.
22167 * libio/iofgets.c: Likewise.
22168 * libio/iofgets_u.c: Likewise.
22169 * libio/iofopen.c: Likewise.
22170 * libio/iofopncook.c: Likewise.
22171 * libio/iofread.c: Likewise.
22172 * libio/iofread_u.c: Likewise.
22173 * libio/ioftell.c: Likewise.
22174 * libio/iofwrite.c: Likewise.
22175 * libio/iogetline.c: Likewise.
22176 * libio/iogets.c: Likewise.
22177 * libio/iogetwline.c: Likewise.
22178 * libio/iopadn.c: Likewise.
22179 * libio/iopopen.c: Likewise.
22180 * libio/ioseekoff.c: Likewise.
22181 * libio/ioseekpos.c: Likewise.
22182 * libio/iosetbuffer.c: Likewise.
22183 * libio/iosetvbuf.c: Likewise.
22184 * libio/ioungetc.c: Likewise.
22185 * libio/ioungetwc.c: Likewise.
22186 * libio/iovdprintf.c: Likewise.
22187 * libio/iovsprintf.c: Likewise.
22188 * libio/iovsscanf.c: Likewise.
22189 * libio/memstream.c: Likewise.
22190 * libio/obprintf.c: Likewise.
22191 * libio/oldfileops.c: Likewise.
22192 * libio/oldiofclose.c: Likewise.
22193 * libio/oldiofdopen.c: Likewise.
22194 * libio/oldiofopen.c: Likewise.
22195 * libio/oldiopopen.c: Likewise.
22196 * libio/oldstdfiles.c: Likewise.
22197 * libio/putc.c: Likewise.
22198 * libio/setbuf.c: Likewise.
22199 * libio/setlinebuf.c: Likewise.
22200 * libio/stdfiles.c: Likewise.
22201 * libio/strops.c: Likewise.
22202 * libio/vasprintf.c: Likewise.
22203 * libio/vscanf.c: Likewise.
22204 * libio/vsnprintf.c: Likewise.
22205 * libio/vswprintf.c: Likewise.
22206 * libio/wfiledoalloc.c: Likewise.
22207 * libio/wfileops.c: Likewise.
22208 * libio/wgenops.c: Likewise.
22209 * libio/wmemstream.c: Likewise.
22210 * libio/wstrops.c: Likewise.
22211 * libio/__fpurge.c: Likewise.
22212 * libio/__fsetlocking.c: Likewise.
22213 * assert/assert.c: Likewise.
22214 * debug/fgets_chk.c: Likewise.
22215 * debug/fgets_u_chk.c: Likewise.
22216 * debug/fread_chk.c: Likewise.
22217 * debug/fread_u_chk.c: Likewise.
22218 * debug/gets_chk.c: Likewise.
22219 * debug/obprintf_chk.c: Likewise.
22220 * debug/vasprintf_chk.c: Likewise.
22221 * debug/vdprintf_chk.c: Likewise.
22222 * debug/vsnprintf_chk.c: Likewise.
22223 * debug/vsprintf_chk.c: Likewise.
22224 * malloc/mtrace.c: Likewise.
22225 * misc/error.c: Likewise.
22226 * misc/syslog.c: Likewise.
22227 * stdio-common/asprintf.c: Likewise.
22228 * stdio-common/fxprintf.c: Likewise.
22229 * stdio-common/getw.c: Likewise.
22230 * stdio-common/isoc99_fscanf.c: Likewise.
22231 * stdio-common/isoc99_scanf.c: Likewise.
22232 * stdio-common/isoc99_vfscanf.c: Likewise.
22233 * stdio-common/isoc99_vscanf.c: Likewise.
22234 * stdio-common/isoc99_vsscanf.c: Likewise.
22235 * stdio-common/printf-prs.c: Likewise.
22236 * stdio-common/printf_fp.c: Likewise.
22237 * stdio-common/printf_fphex.c: Likewise.
22238 * stdio-common/printf_size.c: Likewise.
22239 * stdio-common/putw.c: Likewise.
22240 * stdio-common/scanf.c: Likewise.
22241 * stdio-common/sprintf.c: Likewise.
22242 * stdio-common/tmpfile.c: Likewise.
22243 * stdio-common/vfprintf.c: Likewise.
22244 * stdio-common/vfscanf.c: Likewise.
22245 * stdlib/strfmon_l.c: Likewise.
22246 * sunrpc/openchild.c: Likewise.
22247 * sunrpc/xdr_stdio.c: Likewise.
22248 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22249 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22250
222512012-05-24 Roland McGrath <roland@hack.frob.com>
22252
22253 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22254
22255 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22256 in the third column, to generate for the shared library an IFUNC
22257 that uses _dl_vdso_vsym.
22258 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22259 * Makeconfig (object-suffixes-noshared): New variable.
22260
22261 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22262 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22263 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22264 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22265
22266 [BZ #14132]
22267 * include/sys/time.h (__gettimeofday): Remove macro.
22268 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22269 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22270 Remove INTDEF.
22271 (__gettimeofday): Add libc_hidden_def.
22272 (gettimeofday): Add libc_hidden_weak.
22273 * sysdeps/mach/gettimeofday.c: Likewise.
22274 * sysdeps/posix/gettimeofday.c: Likewise.
22275 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22276 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22277 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22278 (__gettimeofday_internal): Remove strong_alias.
22279 (__gettimeofday): Add libc_hidden_def.
22280 (gettimeofday): Add libc_hidden_weak.
22281 * sysdeps/unix/syscalls.list (gettimeofday):
22282 Remove __gettimeofday_internal alias.
22283
222842012-05-24 Daniel Jacobowitz <drow@false.org>
22285 H.J. Lu <hongjiu.lu@intel.com>
22286
22287 [BZ #12495]
22288 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22289 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22290 (largebin_index_32_big): New.
22291 (largebin_index): Use it for 16-byte alignment.
22292 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22293 correction with front_misalign.
22294
222952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22296
22297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22299 Likewise.
22300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22301 Likewise.
22302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22303 Likewise.
22304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22305 Likewise.
22306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22307 Likewise.
22308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22309 Likewise.
22310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22311 Likewise.
22312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22313 Likewise.
22314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22315 Likewise.
22316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22317 Likewise.
22318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22319 Likewise.
22320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22321 Likewise.
22322
22323 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22324 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22325
223262012-05-24 Joseph Myers <joseph@codesourcery.com>
22327
22328 [BZ #10846]
22329 [BZ #14036]
22330 * math/libm-test.inc (exp_test): Add test from bug 14036.
22331 (pow_test): Add test from bug 10846.
22332
22333 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22334 and other flags.
22335 (special_function): Do not include flags in test name.
22336 (parse_args): Likewise.
22337 * sysdeps/i386/fpu/libm-test-ulps: Update.
22338 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22339 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22340 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22342
22343 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22344 exceptions.
22345 * math/libm-test.inc ("Philosophy"): Update comment about
22346 exception testing.
22347 (UNDERFLOW_EXCEPTION): New macro.
22348 (UNDERFLOW_EXCEPTION_OK): Likewise.
22349 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22350 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22351 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22352 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22353 (INVALID_EXCEPTION_OK): Update value.
22354 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22355 (OVERFLOW_EXCEPTION_OK): Likewise.
22356 (IGNORE_ZERO_INF_SIGN): Likewise.
22357 (test_exceptions): Handle underflow exceptions.
22358 (acos_test): Update for underflow exception expectations.
22359 (cexp_test): Likewise.
22360 (clog_test): Likewise.
22361 (clog10_test): Likewise.
22362 (csqrt_test): Likewise.
22363 (ctan_test): Likewise.
22364 (ctanh_test): Likewise.
22365 (exp_test): Likewise.
22366 (exp10_test): Likewise.
22367 (exp2_test): Likewise.
22368 (expm1_test): Likewise.
22369 (fma_test): Likewise.
22370 (j0_test): Likewise.
22371 (jn_test): Likewise.
22372 (nexttoward_test): Likewise.
22373 (pow_test): Likewise.
22374 (scalbn_test): Likewise.
22375 (scalbln_test): Likewise.
22376 (tan_test): Likewise.
22377 (y1_test): Likewise.
22378 * sysdeps/i386/fpu/libm-test-ulps: Update.
22379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22380
223812012-05-23 David S. Miller <davem@davemloft.net>
22382
22383 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22384 (__libc_sigaction): Remove unused local variables.
22385
223862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22387
22388 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22389
223902012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22391
22392 mktime: avoid signed integer overflow
22393 * time/mktime.c (__mktime_internal): Do not mishandle the case
22394 where diff == INT_MIN.
22395
22396 mktime: simplify computation of average
22397 * time/mktime.c (ranged_convert): Use new time_t_avg function
22398 instead of rolling our own (probably-slower) code.
22399
22400 mktime: do not assume signed right shift propagates sign bit
22401 * time/mktime.c (isdst_differ): New static function.
22402 (__mktime_internal): No need to normalize tm_isdst now.
22403 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22404 tm_isdst values.
22405
22406 mktime: merge another wrapv change from gnulib
22407 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22408 from some compilers.
22409
22410 mktime: remove incorrect attempt at unusual arithmetics
22411 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22412 The code didn't really work on such machines anyway.
22413 (TYPE_MINIMUM): Assume two's complement.
22414 (twos_complement_arithmetic): Verify that long_int and time_t
22415 are two's complement (or unsigned, in the latter case).
22416
22417 mktime: check signed shifts on long_int and time_t, too
22418 * time/mktime.c (SHR): Check that shifts work as desired
22419 on the types long_int and time_t too, as SHR is used on
22420 such types.
22421
22422 mktime: do not assume 'long' is wide enough
22423 * time/mktime.c (verify): Move decl up.
22424 (long_int): New type.
22425 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22426 to remove assumption in the code that 'long' is wide enough to
22427 store year values. This assumption is not true on x32 and on
22428 some non-glibc platforms.
22429
22430 mktime: merge wrapv change from gnulib
22431 * time/mktime.c (WRAPV): New macro.
22432 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22433 (guess_time_tm, __mktime_internal): Do not assume that signed
22434 integer overflow wraps around; modern compilers generate code
22435 where this assumption is no longer valid.
22436
224372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22438
22439 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22440 Replace "jmp L(pseudo_end)" with "ret".
22441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22442 Likewise.
22443
224442012-05-23 Andreas Jaeger <aj@suse.de>
22445
22446 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22447 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22448
224492012-05-23 Andreas Jaeger <aj@suse.de>
22450 Maximilian Attems <max@stro.at>
22451
22452 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22453 New macros.
22454
224552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22456
22457 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22458 code so that pseudo_end is just ret and the stack pointer is
22459 correct also for static library in error case.
22460
224612012-05-23 Joseph Myers <joseph@codesourcery.com>
22462
22463 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22464 move to syscalls.list.
22465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22469
22470 * manual/install.texi (Running make install): Do not mention Linux
22471 kernel version for which pt_chown is not needed.
22472 (Linux): Do not mention problems with nscd with 2.0 kernels.
22473 * INSTALL: Regenerated.
22474
224752012-05-23 Andreas Jaeger <aj@suse.de>
22476
22477 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22478 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22479 macro.
22480 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22481 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22482 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22483 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22484 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22485 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22486 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22487 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22488 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22489 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22490 * sysdeps/unix/sysv/linux/bits/in.h
22491 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22492
224932012-05-22 Roland McGrath <roland@hack.frob.com>
22494
22495 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22496 (PREPARE_VERSION): Just use assert instead, it will be elided
22497 under [NDEBUG] anyway.
22498
224992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22500
22501 * sysdeps/unix/sysv/linux/Makefile: Include
22502 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22503 (sysdep_routines): Remove sysctl.
22504 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22505 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22506 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22507 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22508 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22509
225102012-05-22 Andreas Jaeger <aj@suse.de>
22511
22512 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22513 that pseudo_end is just ret and the stack pointer is correct also
22514 for static library in error case.
22515
225162012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22517
22518 [BZ #14122]
22519 * nss/nsswitch.c (defconfig_entries): New variable.
22520 (__nss_database_lookup): Don't leak defconfig entries.
22521 (nss_parse_service_list): Don't leak on error paths.
22522 (free_database_entries): New function.
22523 (free_defconfig): New function.
22524 (free_mem): Move common code to free_database_entries.
22525
225262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22527
22528 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22529 Add arch_prctl.
22530 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22531
22532 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22533 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22535 New macro.
22536 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22537 (INTERNAL_SYSCALL_TYPES): Likewise.
22538 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22539 (LOAD_REGS_TYPES_[1-6]): Likewise.
22540 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22541 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22542
225432012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22544
22545 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22546 copysignl for GLIBC_2_0.
22547 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22548 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22549 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22550 logbl for GLIBC_2_0.
22551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22552 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22553
225542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22555
22556 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22557 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22558
22559 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22560 Use "neg %eax".
22561
22562 * time/mktime.c: Update copyright years.
22563
225642012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22565
22566 mktime: merge comment-quoting-style change from gnulib
22567 * time/mktime.c: Quote 'like this' in comments.
22568 The GNU coding standards suggest that we no longer quote `like this',
22569 as "`" and "'" are typically rendered asymmetrically nowadays.
22570 The typical gnulib style is to quote 'like this' when quoting
22571 code, and "like this" when quoting English.
22572
22573 * time/mktime.c (compile-command): Add "-I.".
22574
22575 mktime: merge mktime-internal.h change from gnulib
22576 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22577
22578 mktime: merge time_r change from gnulib
22579 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22580
22581 mktime: merge DEBUG change from gnulib
22582 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22583 case system <time.h> has a #define.
22584
22585 mktime: merge <sys/types.h> change from gnulib
22586 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22587 since <time.t> is now guaranteed to define time_t.
22588
22589 mktime: merge HAVE_CONFIG_H change from gnulib
22590 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22591
225922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22593
22594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22595 Use "neg %eax".
22596
22597 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22598 __rlim_t cast.
22599 (struct rusage): Use anonymous union to pad each field to
22600 __syscall_slong_t.
22601
226022012-05-21 David S. Miller <davem@davemloft.net>
22603
22604 * Makefules (o-iterator): Remove .s cases.
22605 (compile-command.s): Delete.
22606 (COMPILE.s): Delete.
22607 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22608
226092012-05-21 Joseph Myers <joseph@codesourcery.com>
22610
22611 * configure.in (libc_cv_predef_stack_protector): Only consider
22612 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22613 * configure: Regenerated.
22614
226152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22616
22617 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22618 New macro. Use R*LP on int and pointer.
22619 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22620 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22621 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22622 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22623
22624 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22625 [__WORDSIZE_TIME64_COMPAT32] instead of
22626 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22627 (struct utmp): Likewise.
22628 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22629 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22630 Renamed to ...
22631 (__WORDSIZE_TIME64_COMPAT32): This.
22632 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22633 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22634 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22635 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22636 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22637 (__WORDSIZE_TIME64_COMPAT32): New macro.
22638
226392012-05-21 Andreas Jaeger <aj@suse.de>
22640
22641 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22642 only if [SHARED]. Add prototype for __wcschr_ia32.
22643
226442012-05-21 Roland McGrath <roland@hack.frob.com>
22645
22646 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22647 of %rbp unmolested in the jmp_buf while mangling the low bits.
22648 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22649 unmolested high bits of %rbp while demangling the low bits.
22650 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22651
226522012-05-21 Andreas Jaeger <aj@suse.de>
22653
22654 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22655 * sunrpc/svc_simple.c: Use it for registerrpc.
22656 * sunrpc/xcrypt.c: Use it for passwd2des.
22657
22658 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22659
226602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22661
22662 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22663 Don't define if [__SYSCALL_WORDSIZE != 32].
22664 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22665 New macro.
22666
226672012-05-21 Bruno Haible <bruno@clisp.org>
22668 Andreas Jaeger <aj@suse.de>
22669
22670 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22671 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22672 inptr and inend for must_buffer_ch.
22673 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22674 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22675 * stdio-common/Makefile (tests): Remove bug15.
22676 (bug15-ENV): Remove macro.
22677 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22678 anymore.
22679
226802012-05-19 Andreas Jaeger <aj@suse.de>
22681 Roland McGrath <roland@hack.frob.com>
22682
22683 * manual/contrib.texi: Completely rewritten. It contains now an
22684 alphabetical list of contributors and their contributions.
22685
226862012-05-21 Richard Henderson <rth@twiddle.net>
22687
22688 * misc/getauxval.c (__getauxval): Use unsigned long int.
22689 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22690 (getauxval): Use unsigned long int.
22691
226922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22693
22694 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22695
226962012-05-21 Roland McGrath <roland@hack.frob.com>
22697
22698 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22699 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22700 __alignof__ (long double).
22701
227022012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22703
22704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22705
227062012-05-20 Richard Henderson <rth@twiddle.net>
22707
22708 * misc/getauxval.c: New file.
22709 * misc/sys/auxv.h: New file.
22710 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22711 (routines): Add getauxval.
22712 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22713 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22714 * elf/dl-sysdep.c (_dl_auxv): Remove.
22715 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22716 * elf/dl-support.c (_dl_auxv): New variable.
22717 (_dl_aux_init): Initialize it.
22718 * manual/startup.texi (Auxiliary Vector): New node.
22719 * sysdeps/generic/bits/hwcap.h: New file.
22720 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22721 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22722 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22723 * sysdeps/sparc/sysdep.h: ... here. Include it.
22724 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22725 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22727 Update.
22728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22731 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22736
227372012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22738
22739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22740
227412012-05-19 David S. Miller <davem@davemloft.net>
22742
22743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22744
227452012-05-19 Joseph Myers <joseph@codesourcery.com>
22746
22747 [BZ #14123]
22748 * math/s_ccosh.c: Include <float.h>
22749 (__ccosh): Avoid internal overflow calculating sinh and cosh
22750 values before multiplying by sin and cos values.
22751 * math/s_ccoshf.c: Likewise.
22752 * math/s_ccoshl.c: Likewise.
22753 * math/s_csin.c: Likewise.
22754 * math/s_csinf.c: Likewise.
22755 * math/s_csinl.c: Likewise.
22756 * math/s_csinh.c: Likewise.
22757 * math/s_csinhf.c: Likewise.
22758 * math/s_csinhl.c: Likewise.
22759 * math/libm-test.inc (ccos_test): Add more tests.
22760 (ccosh_test): Likewise.
22761 (csin_test): Likewise.
22762 (csinh_test): Likewise.
22763 * sysdeps/i386/fpu/libm-test-ulps: Update.
22764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22765
227662012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22767
22768 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22769 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22770
22771 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22772
227732012-05-19 Joseph Myers <joseph@codesourcery.com>
22774
22775 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22776 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22777 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22778 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22779 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22780 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22781 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22782 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22783 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22784 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22785 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22786 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22787 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22788 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22789 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22790 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22791 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22792 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22793 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22794 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22795 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22796 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22797 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22798 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22799 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22800 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22801 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22802 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22803 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22804 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22805 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22806
228072012-05-18 Andreas Jaeger <aj@suse.de>
22808
22809 * csu/.gitignore: Delete.
22810
228112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22812
22813 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22814 (timex): Use __syscall_slong_t.
22815
228162012-05-18 Andreas Jaeger <aj@suse.de>
22817 Carlos O'Donell <carlos_odonell@mentor.com>
22818
22819 * manual/install.texi (Configuring and compiling): Update
22820 description about files modified in the source directory.
22821 * INSTALL: Regenerated.
22822
228232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22824
22825 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22826 value. Use "or" to set return value to -1.
22827 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22828 negate return value.
22829
228302012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22831
22832 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22833 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22834 failure if the compiler has Graphite support disabled.
22835 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22836 Likewise.
22837 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22838 CFLAGS-memmove.c): Likewise.
22839 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22840 Likewise.
22841
228422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22843
22844 * sysdeps/x86_64/x32/_itoa.h: New file.
22845
22846 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22847 getdents system call only if kernel and user dirents have the
22848 same d_ino and d_off.
22849
22850 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22851 LLONG_MAX != LONG_MAX.
22852 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22853 (_fitoa_word): Likewise.
22854
22855 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22856 years.
22857 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22858 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22859 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22860
22861 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22862 include <bits/wordsize.h>. Check __x86_64__ instead of
22863 __WORDSIZE.
22864 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22865 if __x86_64__ is defined. Use anonymous union on fpstate.
22866
22867 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22868 anonymous union.
22869
228702012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22871
22872 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22873 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22874 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22875 Refer to _rtld_local_ro instead of _rtld_global_ro.
22876 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22877 Likewise.
22878 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22879 Likewise.
22880 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22881 Likewise.
22882 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22883 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22884 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22885
22886 * sysdeps/powerpc/powerpc32/dl-machine.c
22887 (__elf_machine_runtime_setup) [PROF]: Don't reference
22888 _dl_prof_resolve.
22889
228902012-05-18 Andreas Jaeger <aj@suse.de>
22891
22892 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22893 function only available for GCCs before 3.4 since GCC 3.4
22894 introduced a builtin.
22895 (lrint): Likewise.
22896 (llrintf): Likewise.
22897 (llrint): Likewise.
22898 (fmaxf): Likewise.
22899 (fmax): Likewise.
22900 (fminf): Likewise.
22901 (fmin): Likewise.
22902 (rint): Likewise.
22903 (rintf): Likewise.
22904 (nearbyint): Likewise.
22905 (nearbyintf): Likewise.
22906 (ceil): Likewise.
22907 (ceilf): Likewise.
22908 (floor): Likewise.
22909 (floorf): Likewise.
22910
229112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22912
22913 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22914 on both fields and cast pointer to __syscall_ulong_t.
22915
22916 * bits/types.h (__fsword_t): New type.
22917 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22918 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22920 (__FSWORD_T_TYPE): Likewise.
22921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22922 (__FSWORD_T_TYPE): Likewise.
22923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22924 (__FSWORD_T_TYPE): Likewise.
22925 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22926 (__FSWORD_T_TYPE): Likewise.
22927 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22928 __SWORD_TYPE with __fsword_t.
22929 (statfs64): Likewise.
22930
229312012-05-17 David S. Miller <davem@davemloft.net>
22932
22933 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22934
229352012-05-17 Andreas Jaeger <aj@suse.de>
22936
22937 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22938 warning.
22939
229402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22941
22942 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22943
229442012-05-17 Andreas Jaeger <aj@suse.de>
22945
22946 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22947 when it is used.
22948
229492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22950
22951 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22952
229532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22954
22955 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22956 * sysdeps/x86_64/tst-mallocalign1.c: New file.
22957
229582012-05-17 Andreas Jaeger <aj@suse.de>
22959 Carlos O'Donell <carlos_odonell@mentor.com>
22960
22961 [BZ #14059]
22962 * sysdeps/x86_64/multiarch/init-arch.h
22963 (bit_YMM_Usable): Rename to...
22964 (bit_AVX_Usable): ... this.
22965 (bit_FMA4_Usable): New macro.
22966 (bit_XMM_state): New macro.
22967 (bit_YMM_state): New macro.
22968 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22969 [__ASSEMBLER__] (index_AVX_Usable): ... this.
22970 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22971 (CPUID_OSXSAVE): New macro.
22972 (CPUID_AVX): New macro.
22973 (CPUID_FMA4): New macro.
22974 (index_YMM_Usable): Rename to...
22975 (index_AVX_Usable): ... this.
22976 (HAS_AVX): Use HAS_ARCH_FEATURE.
22977 (HAS_FMA4): Likewise.
22978 (HAS_YMM_USABLE): Remove.
22979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22980 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22981 are present.
22982 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22983 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22984 * sysdeps/x86_64/multiarch/Makefile: Likewise.
22985 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22986 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22987
229882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22989
22990 * math/libm-test.c: Support platforms without multiple rounding modes.
22991 * math/bug-nextafter.c: Support platforms without FP exceptions.
22992 * math/bug-nexttoward.c: Likewise.
22993 * math/test-fenv.c: Likewise.
22994 * math/test-misc.c: Likewise.
22995 * stdlib/bug-getcontext.c: Likewise.
22996
229972012-05-17 Andreas Jaeger <aj@suse.de>
22998
22999 * manual/examples/search.c (critter_cmp): Change signature to
23000 avoid warnings.
23001 * manual/string.texi (Collation Functions): Likewise.
23002
230032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23004
23005 * bits/types.h: Fold copyright years.
23006 * bits/typesizes.h: Likewise.
23007 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23008 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23009 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23010 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23011 * time/time.h: Likewise.
23012
230132012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23014
23015 [BZ #208]
23016 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23017 in instead of returning them. Return void.
23018 (__libc_mallinfo): Accumulate over all arenas.
23019 (__malloc_stats): Adjust for change in int_mallinfo interface.
23020
230212012-05-16 Roland McGrath <roland@hack.frob.com>
23022
23023 [BZ #10375]
23024 * configure.in (NM): Add AC_CHECK_TOOL for it.
23025 (libc_extra_cflags): New substituted variable.
23026 Check for -fstack-protector being used implicitly.
23027 * configure: Regenerated.
23028 * config.make.in (config-extra-cflags): New variable,
23029 gets @libc_extra_cflags@.
23030 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23031
23032 [BZ #10375]
23033 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23034 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23035 * configure: Regenerated.
23036 * config.make.in (CPPUNDEFS): New substituted variable.
23037 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23038 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23039 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23040
230412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23042
23043 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23044 (mq_attr): Use __syscall_slong_t.
23045
230462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23047
23048 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23049 Check __x86_64__ instead of __WORDSIZE.
23050 (_STAT_VER_LINUX): Likewise.
23051 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23052 __syscall_ulong_t and __syscall_slong_t.
23053 (stat64): Likewise.
23054
230552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23056
23057 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23058
230592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23060
23061 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23062
230632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23064
23065 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23066 __syscall_ulong_t.
23067
23068 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23069 include <bits/wordsize.h>. Check __x86_64__ instead of
23070 __WORDSIZE.
23071 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23072 defined.
23073 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23074
23075 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23076 include <bits/wordsize.h>. Check __x86_64__ instead of
23077 __WORDSIZE.
23078 (user_regs_struct): Use "__extension__ unsigned long long"
23079 instead of "unsigned long" if __x86_64__ is defined.
23080 (user): Likewise. Pad after pointer field if __ILP32__ is
23081 defined.
23082
230832012-05-16 Joseph Myers <joseph@codesourcery.com>
23084
23085 * configure.in (makeinfo): Require version 4.5 or later. Allow
23086 versions 5 to 9.
23087 * configure: Regenerated.
23088 * manual/install.texi (texinfo): Increase version requirement to
23089 4.5 or later.
23090 * INSTALL: Regenerated.
23091
23092 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23093
230942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23095
23096 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23097
23098 * sysdeps/x86_64/x32/ffs.c: New file.
23099
23100 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23101 __syscall_ulong_t.
23102 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23103 defined. Use __syscall_ulong_t.
23104 (shminfo): Use __syscall_ulong_t.
23105 (shm_info): Likewise.
23106
23107 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23108 __syscall_ulong_t.
23109
23110 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23111 <bits/wordsize.h>.
23112 (msgqnum_t): Use __syscall_ulong_t.
23113 (msglen_t): Likewise.
23114 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23115 __syscall_ulong_t.
23116
23117 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23118 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23119
23120 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23121
23122 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23123 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23124
23125 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23126 __syscall_slong_t.
23127
23128 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23129 include <bits/wordsize.h>. Check __x86_64__ instead of
23130 __WORDSIZE.
23131
23132 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23133 "unsigned long long int" if __x86_64__ is defined.
23134 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23135
23136 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23137 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23138 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23139
23140 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23141 <stdint.h>.
23142 (GET_PC): Cast to uintptr_t first.
23143 (GET_FRAME): Likewise.
23144 (GET_STACK): Likewise.
23145
23146 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23147 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23148 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23149 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23150 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23151 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23152 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23153 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23154 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23155 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23156 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23157 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23158 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23159 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23160 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23162 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23163 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23164 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23165 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23166 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23167 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23168 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23169 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23170 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23171 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23172 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23173 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23174 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23175
231762012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23177
23178 * Makerules (+depfiles): Also collect depfiles from .oS in
23179 $(extra-objs).
23180 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23181 .oS, $(libnldbl-routines)).
23182
23183 * Makerules (native-compile-mkdep-flags): Define.
23184 * sunrpc/Makefile (extra-objs): Add $(addprefix
23185 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23186 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23187 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23188 calling $(make-target-directory).
23189
231902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23191
23192 * bits/types.h (__snseconds_t): Removed.
23193 * time/time.h (struct timespec): Replace __snseconds_t with
23194 __syscall_slong_t.
23195 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23196 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23197 Likewise.
23198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23199 (__SNSECONDS_T_TYPE): Likewise.
23200 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23201 (__SNSECONDS_T_TYPE): Likewise.
23202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23203 (__SNSECONDS_T_TYPE): Likewise.
23204
232052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23206
23207 * sysdeps/mach/hurd/bits/typesizes.h
23208 (__SYSCALL_SLONG_TYPE): New macro.
23209 (__SYSCALL_ULONG_TYPE): Likewise.
23210
232112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23212
23213 * bits/types.h (__syscall_slong_t): New type.
23214 (__syscall_ulong_t): Likewise.
23215
23216 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23217 (__SYSCALL_ULONG_TYPE): Likewise.
23218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23219 (__SYSCALL_SLONG_TYPE): Likewise.
23220 (__SYSCALL_ULONG_TYPE): Likewise.
23221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23222 (__SYSCALL_SLONG_TYPE): Likewise.
23223 (__SYSCALL_ULONG_TYPE): Likewise.
23224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23225 (__SYSCALL_SLONG_TYPE): Likewise.
23226 (__SYSCALL_ULONG_TYPE): Likewise.
23227
232282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23229
23230 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23231 Add sigaltstack-offsets.sym.
23232 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23233 <sigaltstack-offsets.h>.
23234 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23235 longjmp_msg pointer.
23236 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23237 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23238 signal stack.
23239 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23240
232412012-05-15 Joseph Myers <joseph@codesourcery.com>
23242
23243 * elf/stackguard-macros.h: Remove file.
23244 * sysdeps/generic/stackguard-macros.h: New file.
23245 * sysdeps/i386/stackguard-macros.h: Likewise.
23246 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23247 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23248 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23249 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23250 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23251 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23252 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23253 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23254 <elf/stackguard-macros.h>.
23255
23256 [BZ #14109]
23257 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23258 __aligned__ in attribute.
23259 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23260 (gregset_t): Likewise.
23261
232622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23263
23264 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23265 * sysdeps/x86_64/64/Implies-after: Here. New file.
23266 * sysdeps/x86_64/x32/Implies-after: New file.
23267
232682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23269
23270 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23271 and access return value for _dl_profile_fixup. Use R10_LP to
23272 load frame size.
23273
232742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23275
23276 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23277
232782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23279
23280 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23281 * sysdeps/x86_64/x32/sysdep.h: New file.
23282
232832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23284
23285 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23286 * sysdeps/x86_64/setjmp.S: Likewise.
23287
232882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23289
23290 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23291 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23292 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23293 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23294 remove unused global constant.
23295
232962012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23297
23298 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23299 include of <not-cancel.h>.
23300
233012012-05-15 Roland McGrath <roland@hack.frob.com>
23302
23303 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23304
233052012-05-15 Jeff Law <law@redhat.com>
23306 Andreas Jaeger <aj@suse.de>
23307
23308 [BZ #13594]
23309 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23310 out from...
23311 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23312 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23313 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23314 code changing __hst_map_handle.map.
23315
233162012-05-15 Roland McGrath <roland@hack.frob.com>
23317
23318 * configure.in (sysnames): Look for Implies-before and Implies-after
23319 files.
23320 * configure: Regenerated.
23321
233222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23323
23324 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23325 8-byte data alignment with LP_SIZE alignment.
23326
233272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23328
23329 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23330 into R10_LP.
23331
233322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23333
23334 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23335
233362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23337
23338 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23339 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23340 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23341 Likewise.
23342 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23343
233442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23345
23346 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23347 (stackinfo_sub_sp): Likewise.
23348
233492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23350
23351 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23352 RAX_LP.
23353
233542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23355
23356 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23357 into R*_LP.
23358
233592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23360
23361 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23362 sizes into R*_LP.
23363
233642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23365
23366 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23367
233682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23369
23370 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23371 into R11_LP and load __x86_64_shared_cache_size_half into
23372 R8_LP.
23373
233742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23375
23376 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23377 R8_LP.
23378
233792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23380
23381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23382 logb for POWER7.
23383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23384 logbf for POWER7.
23385 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23386 logbl for POWER7.
23387 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23388 powerpc32/power7/fpu/s_logb.c via #include.
23389 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23390 powerpc32/power7/fpu/s_logbf.c via #include.
23391 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23392 powerpc32/power7/fpu/s_logbl.c via #include.
23393
233942012-05-15 Joseph Myers <joseph@codesourcery.com>
23395
23396 * README.libm: Remove file.
23397
233982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23399
23400 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23401 count for x32. Use R*_LP and omit operand-size suffix.
23402
234032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23404
23405 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23406 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23407 * sysdeps/x86_64/x32/shlib-versions: New file.
23408
234092012-05-14 Roland McGrath <roland@hack.frob.com>
23410
23411 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23412 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23413 Use _dl_fatal_printf instead.
23414
234152012-05-14 Joseph Myers <joseph@codesourcery.com>
23416
23417 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23418 set if not set by the user. Do not allow for being unset.
23419 * sysdeps/unix/sysv/linux/configure: Regenerated.
23420
234212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23422
23423 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23424 the `q' suffix from lea and replace .quad with ASM_ADDR.
23425
234262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23427
23428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23429 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23430 instead of $17.
23431 (PTR_DEMANGLE): Likewise.
23432
234332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23434
23435 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23436 (LP_OP): Likewise.
23437 (ASM_ADDR): Likewise.
23438 (RAX_LP): Likewise.
23439 (RBP_LP): Likewise.
23440 (RBX_LP): Likewise.
23441 (RCX_LP): Likewise.
23442 (RDI_LP): Likewise.
23443 (RSI_LP): Likewise.
23444 (RSP_LP): Likewise.
23445 (R8_LP): Likewise.
23446 (R9_LP): Likewise.
23447 (R10_LP): Likewise.
23448 (R10_LP): Likewise.
23449 (R11_LP): Likewise.
23450 (R12_LP): Likewise.
23451 (R13_LP): Likewise.
23452 (R14_LP): Likewise.
23453 (R15_LP): Likewise.
23454
234552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23456
23457 * sysdeps/x86_64/x32/dl-machine.h: New file.
23458
234592012-05-14 Andreas Jaeger <aj@suse.de>
23460
23461 * manual/Makefile (subdir): Remove export of subdir.
23462 (all): Remove target.
23463 (.PHONY): Remove all from list.
23464 (mkinstalldirs): Remove.
23465 (.PHONY): Remove installdirs from list.
23466 ($(inst_infodir)/libc.info): Use make-target-directory.
23467 (installdirs): Remove.
23468 (subdir_%): Remove.
23469 (glibc-targets): Remove.
23470 (lib): Remove.
23471 (stubs): Remove.
23472 ($(objpfx)stubs ../po/manual.pot): Remove.
23473 ($(objpfx)stamp%): Remove.
23474 (make-target-directory): Remove.
23475 (subdir_install): Remove.
23476 (routines): Remove.
23477 (aux): Remove.
23478 (sources): Remove.
23479 (objects): Remove.
23480 (headers): Remove.
23481
23482 [BZ #13750]
23483 * manual/.gitignore: Remove, it's not needed anymore.
23484 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23485 all files in it.
23486 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23487 directory.
23488 (texis): Renamed to $(objpfx)texis.
23489 (texis-path): New, contains path to generated files.
23490 (chapters.%): Use texis-path for complete path, add extra argument
23491 libc-texinfo.sh.
23492 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23493 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23494 (summary,texi, stamp-summary): Use complete path of
23495 files. Generate files in build dir.
23496 (dir-add.texi): Build in build dir.
23497 (libm-err.texi,stamp-libm-err): Likewise.
23498 (version.texi, stamp-version): Likewise.
23499 (.%c.texi): Likewise.
23500 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23501 (mostlyclean): Remove target.
23502 (realclean): Remove target.
23503 (generated): Add new variable with contents from mostlyclean and
23504 realclean, remove entries duplicated in common-mostlyclean, add
23505 stamp-libm-err and stamp-version.
23506 (generated-dirs): Add libc directory.
23507 ($(inst_infodir)/libc.info): Install files from build dir.
23508
23509 * manual/install.texi (Configuring and compiling): Adjust since
23510 the info files are not part of the tar ball anymore.
23511
235122012-05-14 Andreas Jaeger <aj@suse.de>
23513
23514 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23515 variable.
23516
235172012-05-14 Joseph Myers <joseph@codesourcery.com>
23518
23519 [BZ #13717]
23520 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23521 to 2.2.0 where earlier.
23522 * sysdeps/unix/sysv/linux/configure: Regenerated.
23523 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23524 Remove conditional code.
23525 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23526 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23527 Remove conditional code.
23528 [!__NR_lchown]: Likewise.
23529 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23530 [__NR_lchown]: Likewise.
23531 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23532 comment referencing __ASSUME_LCHOWN_SYSCALL.
23533 * sysdeps/unix/sysv/linux/i386/sigaction.c
23534 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23535 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23536 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23537 Remove conditional code.
23538 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23539 (__protocol_available): Remove #if 0 code.
23540 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23541 conditional code.
23542 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23543 * sysdeps/unix/sysv/linux/kernel-features.h
23544 (__ASSUME_GETCWD_SYSCALL): Don't define.
23545 (__ASSUME_REALTIME_SIGNALS): Likewise.
23546 (__ASSUME_PREAD_SYSCALL): Likewise.
23547 (__ASSUME_PWRITE_SYSCALL): Likewise.
23548 (__ASSUME_POLL_SYSCALL): Likewise.
23549 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23550 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23551 non-SPARC.
23552 (__ASSUME_SIOCGIFNAME): Don't define.
23553 (__ASSUME_MSG_NOSIGNAL): Likewise.
23554 (__ASSUME_SENDFILE): Define unconditionally.
23555 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23556 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23557 conditional code.
23558 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23559 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23560 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23561 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23562 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23563 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23564 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23566 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23567 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23569 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23572 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23573 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23575 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23576 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23578 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23581 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23582 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23584 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23585 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23587 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23588 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23589 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23590 Remove conditional code.
23591 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23592 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23593 Remove conditional code.
23594 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23595 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23596 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23597 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23598 Remove conditional code.
23599 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23600 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23601 Remove conditional code.
23602 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23603 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23604 Remove conditional code.
23605 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23606 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23607 Remove conditional code.
23608 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23609 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23610 Remove conditional code.
23611 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23612 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23613 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23614 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23615 * sysdeps/unix/sysv/linux/sigaction.c
23616 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23617 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23618 * sysdeps/unix/sysv/linux/sigpending.c
23619 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23620 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23621 * sysdeps/unix/sysv/linux/sigprocmask.c
23622 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23623 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23624 * sysdeps/unix/sysv/linux/sigsuspend.c
23625 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23626 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23627 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23628 (__libc_missing_rt_sigs): Remove.
23629 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23630 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23631 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23632 Remove conditional code.
23633 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23634 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23635 return 1.
23636 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23637 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23638 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23639 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23640
236412012-05-14 Andreas Jaeger <aj@suse.de>
23642
23643 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23644 it's not used in glibc.
23645 (__coshm1): Likewise.
23646 (__acosh1p): Likewise.
23647 (__sgn): Likewise.
23648
23649 * manual/string.texi (Copying and Concatenation): Add missing
23650 variable in concat example.
23651 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23652
236532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23654
23655 [BZ #14103]
23656 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23657 __builtin_clzl with __builtin_clzll.
23658
236592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23660
23661 [BZ #14104]
23662 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23663 libc_freeres_ptr.
23664
236652012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23666
23667 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23668 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23669 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23670 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23671
236722012-05-14 Mike Frysinger <vapier@gentoo.org>
23673
23674 * NEWS: Update ia64 info.
23675
236762012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23677
23678 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23679 used as bcopy.
23680
236812012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23682
23683 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23684 * sysdeps/unix/syscalls.list (dup3): Likewise.
23685 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23686 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23687
236882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23689
23690 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23691 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23692
236932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23694
23695 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23696 thread pointer.
23697 (TLS_IE): Use mov/add instead of movq/addq to load thread
23698 pointer.
23699 (TLS_GD_PREFIX): New.
23700 (TLS_GD): Use it.
23701
237022012-05-11 David S. Miller <davem@davemloft.net>
23703
23704 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23705 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23706 (_FPU_SETCW): Likewise.
23707
237082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23709
23710 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23711 is 32-byte aligned.
23712
237132012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23714
23715 [BZ #11837]
23716 * iconvdata/gb18030.c: Update tables.
23717 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23718 characters specially.
23719 (BODY for TO_LOOP): Add encoding of missing ranges.
23720
237212012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23722
23723 [BZ #13673]
23724 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23725 * sysdeps/mach/hurd/dup3.c: Likewise.
23726 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23727 * sysdeps/powerpc/memmove.c:: Likewise.
23728
237292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23730
23731 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23732 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23733
237342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23735
23736 * elf/elf.h (R_X86_64_RELATIVE64): New.
23737 (R_X86_64_NUM): Updated.
23738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23739 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23740 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23741 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23742 tst-quad1pie tst-quad2pie
23743 (modules-names): Add tst-quadmod1 tst-quadmod2.
23744 ($(objpfx)tst-quad1): New dependency.
23745 ($(objpfx)tst-quad2): Likewise.
23746 ($(objpfx)tst-quad1pie): Likewise.
23747 ($(objpfx)tst-quad2pie): Likewise.
23748 * sysdeps/x86_64/tst-quad1.c: New file.
23749 * sysdeps/x86_64/tst-quad1pie.c: New file.
23750 * sysdeps/x86_64/tst-quad2.c: Likewise.
23751 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23752 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23753 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23754 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23755 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23756
237572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23758
23759 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23760 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23761 * streams/stropts.h (t_scalar_t): Define type.
23762
23763 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23764 (_PATH_PRESERVE): Set to "/var/lib".
23765 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23766
23767 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23768 instead of int.
23769
23770 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23771 if __dir_mkfile succeeded.
23772
23773 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23774 checking for _hurd_dtablesize. Unlock it right after having
23775 finished _hurd_dtable allocation.
23776
237772012-05-10 Thomas Schwinge <thomas@schwinge.name>
23778
23779 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23780 * sysdeps/mach/hurd/configure: Regenerated.
23781 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23782 special-casing to...
23783 * sysdeps/gnu/configure.in: ... this new file.
23784 * sysdeps/unix/sysv/linux/configure: Regenerated.
23785 * sysdeps/gnu/configure: New generated file.
23786
23787 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23788 for Linux: use nsec instead of usec, as well as:
23789 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23790 members of type struct timespec.
23791 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23792 New macros.
23793 (struct stat64): Likewise.
23794 (_STATBUF_ST_NSEC): New macro.
23795 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23796
23797 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23798 __strtoul_internal rather than strtoul.
23799
238002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23801
23802 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23803 and reject them.
23804
238052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23806
23807 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23808 which preserves existing values.
23809 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23810
238112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23812
23813 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23814 TIMEOUT values. Return EINVAL for NFDS values either negative or
23815 greater than FD_SETSIZE.
23816
238172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23818
23819 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23820 allocated, call __vm_protect to finish enabling the existing space, and
23821 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23822 allocate the remainder.
23823
238242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23825
23826 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23827 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23828
238292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23830
23831 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23832 sysdeps/mach/hurd/readlink.c.
23833
23834 * posix/tst-sysconf.c (posix_options): Only use
23835 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23836 _POSIX_SYNCHRONIZED_IO when they are defined
23837 * sysdeps/mach/hurd/bits/posix_opt.h:
23838 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23839 (_XOPEN_REALTIME): Undefine macro.
23840 (_XOPEN_REALTIME_THREADS): Undefine macro.
23841 (_XOPEN_SHM): Undefine macro.
23842 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23843 macro to -1.
23844 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23845 macro to -1.
23846 (_POSIX_ASYNC_IO): Undefine macro.
23847 (_POSIX_PRIORITIZED_IO): Undefine macro.
23848 (_POSIX_SPIN_LOCKS): Define macro to -1.
23849
23850 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23851 SA_NODEFER, SA_RESETHAND.
23852 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23853 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23854 F_DUPFD_CLOEXEC.
23855
238562012-05-10 Thomas Schwinge <thomas@schwinge.name>
23857
23858 * elf/Makefile (pldd-modules): Define unconditionally.
23859
238602012-05-10 Thomas Schwinge <thomas@schwinge.name>
23861
23862 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23863
238642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23865
23866 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23867 Return ENOENT when name is empty.
23868 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23869
238702012-05-10 Thomas Schwinge <thomas@schwinge.name>
23871
23872 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23873
23874 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23875
238762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23877
23878 Fix mlock in all cases except non-readable pages.
23879 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23880 instead of VM_PROT_ALL as parameter to __vm_wire function.
23881
23882 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23883 (__mkdir): When path is `/', just fail with EEXIST.
23884 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23885
238862012-05-10 Thomas Schwinge <thomas@schwinge.name>
23887
23888 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23889 <sys/uio.h> (for writev).
23890 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23891 and <sys/param.h> (for MIN).
23892
238932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23894
23895 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23896 REQUESTED_TIME. Properly set the remaining time and return EINTR
23897 if interrupted.
23898
238992012-05-10 Thomas Schwinge <thomas@schwinge.name>
23900
23901 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23902 Depend on against $(link-rpcuserlibs).
23903
239042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23905
23906 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23907 (__libc_stack_end): Do not use attribute_relro.
23908 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23909 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23910 to libthread-provided value.
23911 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23912 attribute_relro.
23913
239142012-05-10 Thomas Schwinge <thomas@schwinge.name>
23915
23916 [BZ #3748]
23917 * bits/libc-lock.h (__libc_once_get): New macro.
23918 * sysdeps/mach/bits/libc-lock.h: Likewise.
23919 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23920 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23921 instead of using implementation details.
23922
23923 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23924 * libio/freopen.c: Likewise.
23925 * libio/freopen64.c: Likewise.
23926 * misc/syslog.c: Likewise.
23927 * nscd/connections.c: Likewise.
23928 * nscd/netgroupcache.c: Likewise.
23929 * sysdeps/posix/getcwd.c: Likewise.
23930
239312012-05-10 Roland McGrath <roland@hack.frob.com>
23932
23933 * math/w_ilogbf.c: Add #include <limits.h>.
23934
239352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23936
23937 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23938 path instead of returning without unlocking.
23939
23940 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23941 immediate-write ioctls.
23942 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23943
239442012-05-10 Thomas Schwinge <thomas@schwinge.name>
23945
23946 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23947 __builtin_frame_address instead of making assumptions about the
23948 location of the return address relative to DATA. Force early load of
23949 the return address.
23950 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23951 __builtin_frame_address.
23952
23953 dup3 for GNU Hurd.
23954 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23955 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23956 implement dup3 and do some further code clean-ups.
23957 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23958 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23959
239602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23961
23962 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23963
23964 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23965 HURD_CRITICAL_END around holding _hurd_dtable_lock.
23966 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23967 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23968 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23969 d->port.lock.
23970
23971 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23972 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23973 when handler == SIG_ERR, not when handler != SIG_ERR.
23974
239752012-05-10 Thomas Schwinge <thomas@schwinge.name>
23976
23977 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23978 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23979 definitions.
23980
23981 accept4 for GNU Hurd.
23982 * include/sys/socket.h (__libc_accept4): New prototype.
23983 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
23984 to implement __libc_accept4.
23985 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23986 __libc_accept4.
23987 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23988
23989 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23990 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23991 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23992 signal-defines.sym.
23993
239942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23995
23996 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23997
239982012-05-10 Thomas Schwinge <thomas@schwinge.name>
23999
24000 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24001 assertion on O_CLOEXEC flag.
24002 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24003 * hurd/intern-fd.c: Likewise.
24004 * hurd/port2fd.c: Likewise.
24005
240062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24007
24008 [BZ #3906]
24009 * bits/in.h (IPV6_PKTINFO): Define new macro.
24010 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24011
240122012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24013
24014 [BZ #13954]
24015 [BZ #13955]
24016 [BZ #13956]
24017 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24019 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24020 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24021 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24022 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24023 * math/libm-test.inc (logb_test) : Additional logb tests.
24024
240252012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24026 Andreas Jaeger <aj@suse.de>
24027
24028 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24029 * configure: Regenerated.
24030 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24031 * config.make.in (link-obsolete-rpc): New substituted variable.
24032 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24033 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24034 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24035 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24036 so that libc.a contains the symbols.
24037 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24038 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24039 * sunrpc/auth_none.c: Likewise.
24040 * sunrpc/auth_unix.c: Likewise.
24041 * sunrpc/authdes_prot.c: Likewise.
24042 * sunrpc/authuxprot.c: Likewise.
24043 * sunrpc/clnt_gen.c: Likewise.
24044 * sunrpc/clnt_perr.c: Likewise.
24045 * sunrpc/clnt_raw.c: Likewise.
24046 * sunrpc/clnt_simp.c: Likewise.
24047 * sunrpc/clnt_tcp.c: Likewise.
24048 * sunrpc/clnt_udp.c: Likewise.
24049 * sunrpc/clnt_unix.c: Likewise.
24050 * sunrpc/des_crypt.c: Likewise.
24051 * sunrpc/des_soft.c: Likewise.
24052 * sunrpc/get_myaddr.c: Likewise.
24053 * sunrpc/key_call.c: Likewise.
24054 * sunrpc/key_prot.c: Likewise.
24055 * sunrpc/netname.c: Likewise.
24056 * sunrpc/pm_getmaps.c: Likewise.
24057 * sunrpc/pm_getport.c: Likewise.
24058 * sunrpc/pmap_clnt.c: Likewise.
24059 * sunrpc/pmap_prot.c: Likewise.
24060 * sunrpc/pmap_prot2.c: Likewise.
24061 * sunrpc/pmap_rmt.c: Likewise.
24062 * sunrpc/publickey.c: Likewise.
24063 * sunrpc/rpc_cmsg.c: Likewise.
24064 * sunrpc/rpc_common.c: Likewise.
24065 * sunrpc/rpc_dtable.c: Likewise.
24066 * sunrpc/rpc_prot.c: Likewise.
24067 * sunrpc/rpc_thread.c: Likewise.
24068 * sunrpc/rtime.c: Likewise.
24069 * sunrpc/svc.c: Likewise.
24070 * sunrpc/svc_auth.c: Likewise.
24071 * sunrpc/svc_raw.c: Likewise.
24072 * sunrpc/svc_run.c: Likewise.
24073 * sunrpc/svc_tcp.c: Likewise.
24074 * sunrpc/svc_udp.c: Likewise.
24075 * sunrpc/svc_unix.c: Likewise.
24076 * sunrpc/svcauth_des.c: Likewise.
24077 * sunrpc/xcrypt.c: Likewise.
24078 * sunrpc/xdr.c: Likewise.
24079 * sunrpc/xdr_array.c: Likewise.
24080 * sunrpc/xdr_float.c: Likewise.
24081 * sunrpc/xdr_intXX_t.c: Likewise.
24082 * sunrpc/xdr_mem.c: Likewise.
24083 * sunrpc/xdr_rec.c: Likewise.
24084 * sunrpc/xdr_ref.c: Likewise.
24085 * sunrpc/xdr_sizeof.c: Likewise.
24086 * sunrpc/xdr_stdio.c: Likewise.
24087
240882012-05-10 Roland McGrath <roland@hack.frob.com>
24089
24090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24091 change. Update copyright years.
24092
240932012-05-10 Joseph Myers <joseph@codesourcery.com>
24094
24095 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24096
240972012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24098 Joseph Myers <joseph@codesourcery.com>
24099 Paul Pluzhnikov <ppluzhnikov@google.com>
24100
24101 [BZ #14012]
24102 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24103 requiring rpcgen.
24104 [cross-compiling] (extra-libs): Likewise.
24105 [cross-compiling] (extra-libs-others): Likewise.
24106 [cross-compiling] (librpcsvc-routines): Likewise.
24107 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24108 [cross-compiling] (omit-deps): Likewise.
24109 (sunrpc-CPPFLAGS): New variable.
24110 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24111 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24112 (cross-rpcgen-objs): New variable.
24113 (extra-objs): Append $(cross-rpcgen-objs).
24114 ($(cross-rpcgen-objs)): New rule.
24115 ($(objpfx)cross-rpcgen): Likewise.
24116 (rpcgen-cmd): Define to use $(built-program-file). Expand
24117 comment.
24118 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24119 ($(objpfx)x%.stmp): Likewise.
24120 * sunrpc/proto.h [IS_IN_build] (_): Define.
24121 [IS_IN_build] (_libc_intl_domainname): Likewise.
24122
241232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24124
24125 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24126 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24127 and R_X86_64_TPOFF64.
24128
241292012-05-10 Joseph Myers <joseph@codesourcery.com>
24130
24131 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24132 sysdeps/unix/sysv/syscalls.list.
24133 (stime): Likewise.
24134 (utime): Likewise.
24135 * sysdeps/unix/sysv/syscalls.list: Remove file.
24136
241372012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24138
24139 [BZ #3440]
24140 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24141 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24142 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24143 (__LC_IDENTIFICATION): Make these macros useful in #if
24144 expressions, as required by C99.
24145
241462012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24147
24148 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24149 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24150 after this.
24151
241522012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24153
24154 * stdlib/longlong.h: Updated from GCC.
24155
241562012-05-09 Andreas Jaeger <aj@suse.de>
24157
24158 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24159 default is first entry.
24160 (run_mode): Set type.
24161 (main): Remove informal message about syslog.
24162 (options): Fix typo.
24163
24164 [BZ #14053]
24165 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24166 to asm.
24167 (lrint): Likewise.
24168 (llrintf): Likewise.
24169 (llrint): Likewise.
24170 (rint): Likewise.
24171 (rintf): Likewise.
24172 (nearbyint): Likewise.
24173 (nearbyintf): Likewise.
24174
241752012-05-09 Andreas Jaeger <aj@suse.de>
24176 Pedro Alves <palves@redhat.com>
24177
24178 * nscd/nscd.c (run_mode): Use enum.
24179 (main): Cleanup coding style issue.
24180
241812012-05-09 Alexandre Oliva <aoliva@redhat.com>
24182 Andreas Jaeger <aj@suse.de>
24183
24184 * nscd/nscd.c (go_background): Replaced with...
24185 (run_mode): ... this.
24186 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24187 (options): Add -F --foreground.
24188 (main): Implement it.
24189 (parse_opt): Parse it.
24190
241912012-05-09 Andreas Jaeger <aj@suse.de>
24192
24193 [BZ #14083]
24194 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24195 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24196 -Wconversion warning.
24197 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24198 Likewise.
24199
242002012-05-09 Joseph Myers <joseph@codesourcery.com>
24201
24202 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24203 == 0.
24204 (LC_ALL): Use macro-int-constant.
24205 (LC_COLLATE): Likewise.
24206 (LC_CTYPE): Likewise.
24207 (LC_MESSAGES): Likewise.
24208 (LC_MONETARY): Likewise.
24209 (LC_NUMERIC): Likewise.
24210 (LC_TIME): Likewise.
24211 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24212 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24214 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24215 Specify type.
24216 [C99-based standards] (float_t): Expect type.
24217 [C99-based standards] (double_t): Expect type.
24218 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24219 type.
24220 [C99-based standards] (HUGE_VALL): Likewise.
24221 [C99-based standards] (INFINITY): Likewise.
24222 [C99-based standards] (NAN): Likewise.
24223 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24224 [C99-based standards] (FP_NAN): Likewise.
24225 [C99-based standards] (FP_NORMAL): Likewise.
24226 [C99-based standards] (FP_SUBNORMAL): Likewise.
24227 [C99-based standards] (FP_ZERO): Likewise.
24228 [C99-based standards] (FP_FAST_FMA): Use
24229 optional-macro-int-constant. Specify type. Require == 1.
24230 [C99-based standards] (FP_FAST_FMAF): Likewise.
24231 [C99-based standards] (FP_FAST_FMAL): Likewise.
24232 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24233 [C99-based standards] (FP_ILOGBNAN): Likewise.
24234 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24235 Specify type.
24236 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24237 [C99-based standards] (math_errhandling): Specify type.
24238 [ISO99 || ISO11] (signgam): Do not allow.
24239 [non-C99-based standards] (copysignf): Do not allow.
24240 [non-C99-based standards] (exp2f): Likewise.
24241 [non-C99-based standards] (log2f): Likewise.
24242 [non-C99-based standards] (modff): Allow.
24243 [non-C99-based standards] (erff): Do not allow.
24244 [non-C99-based standards] (erfcf): Likewise.
24245 [non-C99-based standards] (gammaf): Likewise.
24246 [non-C99-based standards] (hypotf): Likewise.
24247 [non-C99-based standards] (j0f): Likewise.
24248 [non-C99-based standards] (j1f): Likewise.
24249 [non-C99-based standards] (jnf): Likewise.
24250 [non-C99-based standards] (lgammaf): Likewise.
24251 [non-C99-based standards] (tgammaf): Likewise.
24252 [non-C99-based standards] (y0f): Likewise.
24253 [non-C99-based standards] (y1f): Likewise.
24254 [non-C99-based standards] (ynf): Likewise.
24255 [non-C99-based standards] (isnanf): Likewise.
24256 [non-C99-based standards] (acoshf): Likewise.
24257 [non-C99-based standards] (asinhf): Likewise.
24258 [non-C99-based standards] (atanhf): Likewise.
24259 [non-C99-based standards] (cbrtf): Likewise.
24260 [non-C99-based standards] (expm1f): Likewise.
24261 [non-C99-based standards] (ilogbf): Likewise.
24262 [non-C99-based standards] (log1pf): Likewise.
24263 [non-C99-based standards] (logbf): Likewise.
24264 [non-C99-based standards] (nextafterf): Likewise.
24265 [non-C99-based standards] (remainderf): Likewise.
24266 [non-C99-based standards] (rintf): Likewise.
24267 [non-C99-based standards] (scalbf): Likewise.
24268 [non-C99-based standards] (copysignl): Likewise.
24269 [non-C99-based standards] (exp2l): Likewise.
24270 [non-C99-based standards] (log2l): Likewise.
24271 [non-C99-based standards] (modfl): Allow.
24272 [non-C99-based standards] (erfl): Do not allow.
24273 [non-C99-based standards] (erfcl): Likewise.
24274 [non-C99-based standards] (gammal): Likewise.
24275 [non-C99-based standards] (hypotl): Likewise.
24276 [non-C99-based standards] (j0l): Likewise.
24277 [non-C99-based standards] (j1l): Likewise.
24278 [non-C99-based standards] (jnl): Likewise.
24279 [non-C99-based standards] (lgammal): Likewise.
24280 [non-C99-based standards] (tgammal): Likewise.
24281 [non-C99-based standards] (y0l): Likewise.
24282 [non-C99-based standards] (y1l): Likewise.
24283 [non-C99-based standards] (ynl): Likewise.
24284 [non-C99-based standards] (isnanl): Likewise.
24285 [non-C99-based standards] (acoshl): Likewise.
24286 [non-C99-based standards] (asinhl): Likewise.
24287 [non-C99-based standards] (atanhl): Likewise.
24288 [non-C99-based standards] (cbrtl): Likewise.
24289 [non-C99-based standards] (expm1l): Likewise.
24290 [non-C99-based standards] (ilogbl): Likewise.
24291 [non-C99-based standards] (log1pl): Likewise.
24292 [non-C99-based standards] (logbl): Likewise.
24293 [non-C99-based standards] (nextafterl): Likewise.
24294 [non-C99-based standards] (remainderl): Likewise.
24295 [non-C99-based standards] (rintl): Likewise.
24296 [non-C99-based standards] (scalbl): Likewise.
24297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24298 [non-C99-based standards] (FP_*): Do not allow.
24299 [C99-based standards] (FP_*): Change to
24300 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24301 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24302 allow.
24303 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24304 (SIG_ERR): Likewise.
24305 [X/Open-based standards] (SIG_HOLD): Likewise.
24306 (SIG_IGN): Likewise.
24307 (SIGABRT): Use macro-int-constant. Specify type. Require
24308 positive value.
24309 (SIGFPE): Likewise.
24310 (SIGILL): Likewise.
24311 (SIGINT): Likewise.
24312 (SIGSEGV): Likewise.
24313 (SIGTER): Likewise.
24314 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24315 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24316 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24317 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24318 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24319 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24320 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24321 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24322 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24323 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24324 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24325 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24326 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24327 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24328 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24329 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24330 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24331 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24332 [X/Open-based standards] (SIGTRAP): Likewise.
24333 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24334 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24335 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24336 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24337 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24338 allow.
24339
243402012-05-08 Ian Wienand <ianw@vmware.com>
24341
24342 [BZ #14080]
24343 * time/tzset.c (__tzset_parse_tz): Update default rules for
24344 daylight time changes in the Energy Policy Act of 2005.
24345
243462012-05-09 Andreas Jaeger <aj@suse.de>
24347
24348 [BZ #13983]
24349 * elf/ldconfig.c (parse_conf): Change string to make clear that
24350 ldconfig only issued a warning if ld.so.conf does not exist.
24351
243522012-05-08 David S. Miller <davem@davemloft.net>
24353
24354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24355 movxtod instead of popping the value on the stack.
24356
24357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24358
243592012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24360
24361 * config.h.in: Add HAVE_ARM_PCS_VFP.
24362
243632012-05-08 Roland Mc Grath <roland@hack.frob.com>
24364
24365 [BZ #13979]
24366 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24367 checking but the checks are disabled for any reason.
24368
243692012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24370
24371 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24372 and ELF64_R_TYPE with ELFW(R_TYPE).
24373
243742012-05-08 Joseph Myers <joseph@codesourcery.com>
24375
24376 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24377 (ulimit): Likewise.
24378
24379 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24380 (settimeofday): Likewise.
24381
243822012-05-08 Mike Frysinger <vapier@gentoo.org>
24383
24384 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24385 a struct th_u2 inside the union, and move tu_block/tu_code into
24386 a new th_u3 union of tu_block/tu_code inside of that. Move
24387 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24388 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24389 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24390 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24391 (th_stuff): Change to th_u1.tu_stuff.
24392 (th_data): Define.
24393 (th_msg): Change to th_u1.th_u2.tu_data.
24394
243952012-05-07 David S. Miller <davem@davemloft.net>
24396
24397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24398
24399 [BZ #14074]
24400 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24401 (SETUP_PIC_REG): Use it.
24402 (SETUP_PIC_REG_LEAF): Use it.
24403
244042012-05-07 Joseph Myers <joseph@codesourcery.com>
24405
24406 [BZ #13885]
24407 [BZ #13923]
24408 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24409 USE_AS_EXPM1L.
24410 (EXPL_FINITE): Likewise.
24411 (FLDLOG): Likewise.
24412 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24413 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24414 e_expl.S.
24415 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24416 USE_AS_EXPM1L.
24417 (EXPL_FINITE): Likewise.
24418 (FLDLOG): Likewise.
24419 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24420 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24421 e_expl.S.
24422 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24423 test of -max_value argument for long double.
24424 * sysdeps/i386/fpu/libm-test-ulps: Update.
24425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24426
244272012-05-06 David S. Miller <davem@davemloft.net>
24428
24429 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24430 quad soft-float symbols whose references which are compiler
24431 generated.
24432 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24433
244342012-05-06 Joseph Myers <joseph@codesourcery.com>
24435
24436 [BZ #13884]
24437 [BZ #13914]
24438 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24439 USE_AS_EXP10L.
24440 (EXPL_FINITE): Likewise.
24441 (FLDLOG): Likewise.
24442 (c0): Likewise.
24443 (c1): Likewise.
24444 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24445 Adjust comments for base varying.
24446 (__expl_finite): Change alias to EXPL_FINITE.
24447 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24448 e_expl.S.
24449 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24450 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24451 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24452 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24453 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24454 USE_AS_EXP10L.
24455 (EXPL_FINITE): Likewise.
24456 (FLDLOG): Likewise.
24457 (c0): Likewise.
24458 (c1): Likewise.
24459 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24460 Adjust comments for base varying.
24461 (__expl_finite): Change alias to EXPL_FINITE.
24462 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24463 tests for bugs.
24464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24465
24466 [BZ #14064]
24467 * math/libm-test.inc (check_float_internal): Correct ulp
24468 calculation for subnormal expected results.
24469
244702012-05-06 Andreas Jaeger <aj@suse.de>
24471
24472 * Makeconfig (+math-flags): New, set to -frounding-math.
24473 (+cflags): Add +math-flags so that all of glibc gets compiled with
24474 it.
24475
24476 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24477
244782012-05-05 Joseph Myers <joseph@codesourcery.com>
24479
24480 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24481 Disable one test.
24482
24483 [BZ #13787]
24484 [BZ #13922]
24485 [BZ #14036]
24486 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24487 (__ieee754_expl): Allow for and saturate large arguments.
24488 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24489 (u_threshold): Likewise.
24490 (__exp): Call __ieee754_exp before checking for overflow and
24491 underflow.
24492 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24493 (u_threshold): Likewise.
24494 (__expf): Call __ieee754_expf before checking for overflow and
24495 underflow.
24496 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24497 (u_threshold): Likewise.
24498 (__expl): Call __ieee754_expl before checking for overflow and
24499 underflow.
24500 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24501 (__ieee754_expl): Allow for and saturate large arguments.
24502 * math/libm-test.inc (exp_test): Add another test. Do not allow
24503 missing overflow exception on overflow.
24504 (expm1_test): Do not allow missing overflow exception on overflow.
24505
24506 * sysdeps/i386/fpu/e_expl.c: Move to ...
24507 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24508 rather than using inline asm.
24509 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24510 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24511 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24512
24513 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24514 (nice): Likewise.
24515 (poll): Likewise.
24516 (signal): Likewise.
24517 (time): Likewise.
24518 (times): Likewise.
24519
245202012-05-04 Joseph Myers <joseph@codesourcery.com>
24521
24522 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24523 sysdeps/unix/common/syscalls.list.
24524 (fchmod): Likewise.
24525 (fchown): Likewise.
24526 (ftruncate): Likewise.
24527 (getrusage): Likewise.
24528 (gettimeofday): Likewise.
24529 (setpgid): Likewise.
24530 (setregid): Likewise.
24531 (setreuid): Likewise.
24532 (sigaction): Likewise.
24533 (truncate): Likewise.
24534 (vhangup): Likewise.
24535 * sysdeps/unix/common/syscalls.list: Remove file.
24536 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24537 * sysdeps/unix/sysv/linux/Implies: Likewise.
24538
245392012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24540
24541 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24543 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24544 Moved to ...
24545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24546 Here.
24547 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24548 to ...
24549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24550 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24551 to ...
24552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24553 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24554 to ...
24555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24556 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24557 to ...
24558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24559 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24560 to ...
24561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24562 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24563 to ...
24564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24565 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24566 to ...
24567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24568 Here.
24569 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24570 to ...
24571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24572 Here.
24573 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24574 to ...
24575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24576 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24577 Moved to ...
24578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24579 Here.
24580 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24581 to ...
24582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24583
245842012-05-04 Joseph Myers <joseph@codesourcery.com>
24585
24586 * sysdeps/unix/common/bits/dirent.h: Remove file.
24587 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24588
24589 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24590 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24591 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24592 * sysdeps/unix/bsd/isatty.c: Likewise.
24593 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24594 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24595 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24596
245972012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24598
24599 [BZ #13563]
24600 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24601 long double comparison inaccuracies.
24602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24604
246052012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24606
24607 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24608 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24609
246102012-05-04 Joseph Myers <joseph@codesourcery.com>
24611
24612 [BZ #14049]
24613 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24614 nonzero digits before rounding a hex value.
24615 * stdlib/tst-strtod.c (tests): Add another test.
24616
246172012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24618
24619 * sysdeps/s390/fpu/libm-test-ulps: Update.
24620
246212012-05-03 Andreas Jaeger <aj@suse.de>
24622
24623 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24624 does not get optimized out.
24625 (malloc_opt_barrier): New.
24626
246272012-05-03 Andreas Jaeger <aj@suse.de>
24628 Roland McGrath <roland@hack.frob.com>
24629
24630 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24631 intermediate file deletion.
24632 (generated): Add .symlist files.
24633
246342012-05-03 Joseph Myers <joseph@codesourcery.com>
24635
24636 [BZ #13775]
24637 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24638 Redirect under this condition.
24639 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24640 [__USE_GNU] (__dprintf_chk): Not under this condition.
24641 [__USE_GNU] (__vdprintf_chk): Likewise.
24642 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24643 under this condition.
24644 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24645 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24646 [__USE_XOPEN2K8] (vdprintf): Likewise.
24647 [__USE_GNU] (__dprintf_chk): Not under this condition.
24648 [__USE_GNU] (__vdprintf_chk): Likewise.
24649 [__USE_GNU] (dprintf): Likewise.
24650 [__USE_GNU] (vdprintf): Likewise.
24651
246522012-05-03 Roland McGrath <roland@hack.frob.com>
24653
24654 * elf/Makefile (common-generated): Set this instead of generated for
24655 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24656 $(all-built-dso)-derived lists.
24657
246582012-05-03 Andreas Jaeger <aj@suse.de>
24659
24660 * sysdeps/i386/fpu/libm-test-ulps: Update.
24661
24662 * FAQ: Removed.
24663 * FAQ.in: Likewise.
24664 * scripts/gen-FAQ.pl: Likewise.
24665 * manual/install.texi (Installation): Point to online location of
24666 FAQ.
24667 * Makefile (files-for-dist): Remove FAQ.
24668 (FAQ): Remove.
24669
246702012-05-02 Allan McRae <allan@archlinux.org>
24671
24672 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24673 (LDFLAGS-reldepmod5.so): Likewise.
24674 (LDFLAGS-reldep6mod1.so): Likewise.
24675 (LDFLAGS-reldep6mod4.so): Likewise.
24676 (LDFLAGS-reldep8mod3.so): Likewise.
24677 (LDFLAGS-unload4mod1.so): Likewise.
24678 (LDFLAGS-unload4mod2.so): Likewise.
24679 (LDFLAGS-tst-initorder): Likewise.
24680 (LDFLAGS-tst-initordera2.so): Likewise.
24681 (LDFLAGS-tst-initordera3.so): Likewise.
24682 (LDFLAGS-tst-initordera4.so): Likewise.
24683 (LDFLAGS-tst-initorderb2.so): Likewise.
24684 (LDFLAGS-noload): Likewise.
24685 (LDFLAGS-next): Likewise.
24686 (LDFLAGS-order2mod1.so): Likewise.
24687 (LDFLAGS-order2mod2.so): Likewise.
24688 (LDFLAGS-tst-initorder2): Likewise.
24689 (LDFLAGS-tst-initorder2a.so): Likewise.
24690 (LDFLAGS-tst-initorder2b.so): Likewise.
24691 (LDFLAGS-tst-initorder2c.so): Likewise.
24692 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24693
246942012-05-02 David S. Miller <davem@davemloft.net>
24695
24696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24697
246982012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24699
24700 [BZ #14055]
24701 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24702
247032012-05-02 Andreas Jaeger <aj@suse.de>
24704
24705 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24706 since we manipulate rounding mode.
24707 (CPPFLAGS-test-idouble.c): Likewise.
24708 (CPPFLAGS-test-ifloat.c): Likewise.
24709 (CFLAGS-test-ldouble.c): Likewise.
24710 (CFLAGS-test-double.c): Likewise.
24711 (CFLAGS-test-float.c): Likewise.
24712 (CFLAGS-test-misc.c): Likewise.
24713 (CFLAGS-test-test-fenv.c): Likewise.
24714
247152012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24716
24717 [BZ #2550]
24718 [BZ #2570]
24719 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24720 comparisons to determine direction to adjust input.
24721
247222012-05-01 Roland McGrath <roland@hack.frob.com>
24723
24724 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24725 output to the target.
24726
24727 * scripts/localplt.awk: New file.
24728 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24729 (check-localplt-CFLAGS): Variable removed.
24730 ($(all-built-dso:=.jmprel)): New static pattern rule.
24731 (generated): Add those targets.
24732 (localplt-built-dso): New variable.
24733 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24734
24735 * elf/check-localplt.c: File removed.
24736
24737 * scripts/check-execstack.awk: New file.
24738 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24739 (check-execstack-CFLAGS): Variable removed.
24740 ($(objpfx)check-execstack.h): Target removed.
24741 ($(objpfx)execstack-default): New target.
24742 (generated): Add that instead of check-execstack.h.
24743 ($(all-built-dso:=.phdr)): New static pattern rule.
24744 (generated): Add those targets.
24745 * elf/check-execstack.c: File removed.
24746
24747 * scripts/check-textrel.awk: New file.
24748 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24749 (check-textrel-CFLAGS): Variable removed.
24750 (all-built-dso): Use := to define.o
24751 ($(all-built-dso:=.dyn)): New static pattern rule.
24752 (generated): Add those targets.
24753 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24754 * config.make.in (READELF): New substituted variable.
24755 * elf/check-textrel.c: File removed.
24756
247572012-05-01 Joseph Myers <joseph@codesourcery.com>
24758
24759 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24760 allow.
24761 * conform/data/ctype.h-data [C99-based standards] (isblank):
24762 Expect function.
24763 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24764 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24765 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24766 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24767 Specify type. Require positive value.
24768 (EILSEQ): Likewise.
24769 (ERANGE): Likewise.
24770 [ISO || POSIX] (EILSEQ): Do not expect.
24771 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24772 Specify type. Require positive value.
24773 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24774 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24775 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24776 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24777 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24778 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24779 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24780 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24781 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24782 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24783 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24784 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24785 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24786 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24787 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24788 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24789 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24790 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24791 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24792 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24793 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24794 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24795 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24796 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24797 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24798 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24799 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24800 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24801 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24802 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24803 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24804 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24805 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24806 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24807 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24808 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24809 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24810 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24811 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24812 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24813 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24814 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24815 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24816 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24817 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24818 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24819 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24820 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24821 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24822 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24823 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24824 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24825 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24826 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24827 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24828 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24829 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24830 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24831 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24832 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24833 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24834 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24835 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24836 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24837 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24838 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24839 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24840 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24841 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24842 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24843 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24844 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24845 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24846 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24847 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24848 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24849 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24850 Require >= 2.
24851 (FLT_ROUNDS): Expect as macro, not constant.
24852 (FLT_MANT_DIG): Use macro-int-constant.
24853 (DBL_MANT_DIG): Likewise.
24854 (LDBL_MANT_DIG): Likewise.
24855 (FLT_DIG): Likewise.
24856 (DBL_DIG): Likewise.
24857 (LDBL_DIG): Likewise.
24858 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24859 (DBL_MIN_EXP): Likewise.
24860 (LDBL_MIN_EXP): Likewise.
24861 (FLT_MAX_EXP): Use macro-int-constant.
24862 (DBL_MAX_EXP): Likewise.
24863 (LDBL_MAX_EXP): Likewise.
24864 (FLT_MAX_10_EXP): Likewise.
24865 (DBL_MAX_10_EXP): Likewise.
24866 (LDBL_MAX_10_EXP): Likewise.
24867 (FLT_MAX): Use macro-constant.
24868 (DBL_MAX): Likewise.
24869 (LDBL_MAX): Likewise.
24870 (FLT_EPSILON): Use macro-constant. Give upper bound.
24871 (DBL_EPSILON): Likewise.
24872 (LDBL_EPSILON): Likewise.
24873 (FLT_MIN): Likewise.
24874 (DBL_MIN): Likewise.
24875 (LDBL_MIN): Likewise.
24876 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24877 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24878 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24879 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24880 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24881 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24882 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24883 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24884 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24885 [ISO11] (FLT_TRUE_MIN): Likewise.
24886 [ISO11] (LDBL_TRUE_MIN): Likewise.
24887 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24888 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24889 (SCHAR_MIN): Use macro-int-constant. Specify type.
24890 (SCHAR_MAX): Likewise.
24891 (UCHAR_MAX): Likewise.
24892 (CHAR_MIN): Likewise.
24893 (CHAR_MAX): Likewise.
24894 (MB_LEN_MAX): Use macro-int-constant.
24895 (SHRT_MIN): Use macro-int-constant. Specify type.
24896 (SHRT_MAX): Likewise.
24897 (USHRT_MAX): Likewise.
24898 (INT_MAX): Likewise.
24899 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24900 bound negative.
24901 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24902 bound with "U".
24903 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24904 bound with "L".
24905 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24906 bound negative. Suffix upper bound with "L".
24907 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24908 bound with "UL".
24909 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24910 Specify type.
24911 [C99-based standards] (LLONG_MAX): Likewise.
24912 [C99-based standards] (ULLONG_MAX): Likewise.
24913 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24914 == 0.
24915 [ISO11] (max_align_t): Require type.
24916 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24917
24918 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24919 from $CFLAGS, without defining away __attribute__ calls.
24920 (checknamespace): Use $CFLAGS_namespace.
24921
24922 * conform/conformtest.pl (@keywords): Only include C99 keywords
24923 for standards based on C99 or C11.
24924
24925 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24926 Disable tests.
24927 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24928 UNIX98]: Likewise.
24929
24930 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24931 usability of symbols in #if.
24932
24933 * conform/conformtest.pl: If macro or constant types start
24934 "promoted:", expect the symbol to be of the following type
24935 promoted by the integer promotions.
24936
24937 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24938 in one place. Also handle "macro-constant".
24939
24940 * conform/conformtest.pl: Only accept expected macro values with
24941 "==". Parse all "macro" lines in one place.
24942 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24943
24944 * conform/conformtest.pl: Handle braced types on "constant" lines
24945 instead of handling "typed-constant".
24946 * conform/data/signal.h-data: Use "constant" instead of
24947 "typed-constant".
24948
24949 * conform/conformtest.pl: Handle "optional-" at start of lines in
24950 one place rather than duplicating several cases. Handle each
24951 format of "macro" line with initial "optional-".
24952
24953 * conform/conformtest.pl: Only accept expected constant or
24954 optional-constant values with "==". Parse all "constant" lines in
24955 one place. Parse all "optional-constant" lines in one place.
24956 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24957 * conform/data/fmtmsg.h-data: Likewise.
24958 * conform/data/netinet/in.h-data: Likewise.
24959 * conform/data/tar.h-data: Likewise.
24960 * conform/data/limits.h-data: Use "==" form on "constant" and
24961 "optional-constant" lines.
24962
24963 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24964 Use -std=c99 for XOPEN2K.
24965 (@knownproblems): Remove.
24966 (newtoken): Don't check %isknown.
24967
24968 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24969 Do not expect macro.
24970 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24971 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24972 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24973 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24974 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24975 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24976 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24977 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24978 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24979 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24980 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24981 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24982 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24983 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24984 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24985 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24986 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24987 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24988 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24989 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24990 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24991 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24992 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24993 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24994 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24995 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24996 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24997 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24998 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24999 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25000 [XPG3] (acosh): Likewise.
25001 [XPG3] (asinh): Likewise.
25002 [XPG3] (atanh): Likewise.
25003 [XPG3] (cbrt): Likewise.
25004 [XPG3] (expm1): Likewise.
25005 [XPG3] (ilogb): Likewise.
25006 [XPG3] (log1p): Likewise.
25007 [XPG3] (logb): Likewise.
25008 [XPG3] (nextafter): Likewise.
25009 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25010 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25011 [XPG3] (remainder): Likewise.
25012 [XPG3] (rint): Likewise.
25013 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25014 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25015 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25016 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25017 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25018 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25019 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25020 [UNIX98 || XOPEN2K] (scalb): Expect.
25021 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25022 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25023 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25024 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25025 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25026 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25027 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25028 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25029 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25030 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25031 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25032 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25033 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25034 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25035 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25036 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25037 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25038 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25039 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25040 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25041 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25042 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25043 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25044 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25045 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25046 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25047 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25048 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25049 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25050 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25051 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25052 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25053 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25054 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25055 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25056 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25057 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25058 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25059 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25060 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25061 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25062 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25063 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25064 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25065 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25066 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25067 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25068 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25069 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25070 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25071 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25072 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25073 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25074 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25075 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25076 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25077 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25078 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25079 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25080 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25081 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25082 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25083 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25084 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25085 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25086 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25087 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25088 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25089 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25090 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25091 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25092 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25093 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25094 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25095 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25096 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25097 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25098 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25099 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25100 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25101 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25102 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25103 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25104 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25105 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25106 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25107 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25108 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25109 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25110 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25111 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25112 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25113 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25114 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25115 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25116 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25117 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25118 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25119 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25120 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25121 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25122 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25123 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25124 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25125 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25126 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25127 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25128 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25129 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25130 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25131 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25132 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25133 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25134 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25135 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25136 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25137 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25138 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25139 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25140 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25141 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25142 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25143 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25144 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25145 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25146 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25147 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25148 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25149 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25150 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25151 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25152 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25153 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25154 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25155 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25156 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25157 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25158
25159 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25160 _XOPEN_SOURCE_EXTENDED for XPG4.
25161
25162 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25163
25164 * Makeconfig (localtime): Remove variable.
25165 (inst_localtime-file): Likewise.
25166
251672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25168
25169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25170 Update.
25171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25172 Update.
25173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25174 Update.
25175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25176 Update.
25177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25178 Update.
25179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25180 Update.
25181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25182 Update.
25183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25184 Update.
25185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25186 Update.
25187
251882012-05-01 Joseph Myers <joseph@codesourcery.com>
25189
25190 [BZ #2550]
25191 [BZ #2570]
25192 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25193 comparisons to determine direction to adjust input.
25194 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25195 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25196 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25197 Likewise.
25198 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25199 Likewise.
25200 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25201 Likewise.
25202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25204 Likewise.
25205 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25206 Likewise.
25207 * math/libm-test.inc (nexttoward_test): Add more tests.
25208
252092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25210
25211 [BZ #14040]
25212 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25213 in version GLIBC_2.1, not GLIBC_2.0.
25214 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25215 Likewise.
25216
252172012-04-30 Joseph Myers <joseph@codesourcery.com>
25218
25219 [BZ #13942]
25220 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25221 (1 - x) * (1 + x).
25222 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25223 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25224 * math/libm-test.inc (acos_test): Add more tests.
25225 (asin_test): Likewise.
25226 * sysdeps/i386/fpu/libm-test-ulps: Update.
25227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25228
25229 [BZ #14034]
25230 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25231 of square root.
25232 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25233 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25234 * math/libm-test.inc (acos_test_tonearest): New function.
25235 (acos_test_towardzero): Likewise.
25236 (acos_test_downward): Likewise.
25237 (acos_test_upward): Likewise.
25238 (asin_test_tonearest): Likewise.
25239 (asin_test_towardzero): Likewise.
25240 (asin_test_downward): Likewise.
25241 (asin_test_upward): Likewise.
25242 (main): Call the new functions.
25243 * sysdeps/i386/fpu/libm-test-ulps: Update.
25244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25245
25246 [BZ #13884]
25247 [BZ #13924]
25248 * math/e_exp10.c: Include <float.h>.
25249 (__ieee754_exp10): Handle underflow here rather than multiplying
25250 large negative argument by M_LN10.
25251 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25252 of __ieee754_expf.
25253 * math/e_exp10l.c: Include <float.h>.
25254 (__ieee754_exp10l): Handle underflow here rather than multiplying
25255 large negative argument by M_LN10l.
25256 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25257 spurious overflow exception on underflow.
25258
252592012-04-29 Marek Polacek <polacek@redhat.com>
25260
25261 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25262 (__fortify_function): New macro.
25263 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25264 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25265 __extern_always_inline.
25266 * libio/bits/stdio2.h: Likewise.
25267 * libio/bits/stdio.h: Likewise.
25268 * string/string.h: Likewise.
25269 * string/bits/string3.h: Likewise.
25270 * include/stdio.h: Likewise.
25271 * stdlib/bits/stdlib.h: Likewise.
25272 * stdlib/stdlib.h: Likewise.
25273 * rt/bits/mqueue2.h: Likewise.
25274 * rt/mqueue.h: Likewise.
25275 * posix/bits/unistd.h: Likewise.
25276 * posix/unistd.h: Likewise.
25277 * io/bits/poll2.h: Likewise.
25278 * io/bits/fcntl2.h: Likewise.
25279 * io/fcntl.h: Likewise.
25280 * io/sys/poll.h: Likewise.
25281 * misc/bits/syslog.h: Likewise.
25282 * misc/bits/syslog-ldbl.h: Likewise.
25283 * misc/sys/syslog.h: Likewise.
25284 * socket/bits/socket2.h: Likewise.
25285 * socket/sys/socket.h: Likewise.
25286 * debug/tst-chk1.c: Likewise.
25287 * wcsmbs/bits/wchar2.h: Likewise.
25288 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25289 * wcsmbs/wchar.h: Likewise.
25290
252912012-04-29 Andreas Jaeger <aj@suse.de>
25292
25293 * Makerules (tests): Remove enable-check-abi protection.
25294 (check-abi-warn): Remove.
25295 (check-abi-%): Remove check-abi-warn usage.
25296
25297 * configure.in: Remove check-abi configure option.
25298 * configure: Regenerated.
25299 * config.make.in (enable-check-abi): Remove.
25300
253012012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25302
25303 [BZ #14033]
25304 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25305 double functions to double *_finite functions.
25306
25307 [BZ #13941]
25308 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25309 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25310 LDBL_MIN_EXP.
25311 * stdio-common/Makefile (tests): Add tst-sprintf3.
25312 * stdio-common/tst-sprintf3.c: New file.
25313
25314 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25315 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25316
253172012-04-28 Joseph Myers <joseph@codesourcery.com>
25318
25319 * conform/conformtest.pl: Remove duplicate typed-constant
25320 handling.
25321
253222012-04-28 David S. Miller <davem@davemloft.net>
25323
25324 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25325 (check-abi-%): Remove AWK script prerequisite and explicit
25326 abilist directory.
25327 (check-abi): Rewrite to just diff the symlist with the abilist.
25328 (config-tls, config-abi-config): Delete, no longer used.
25329 (update-abi-%): Remove AWK script and explicit abilist directory.
25330 (update-abi): Rewrite to simply compare and conditionally copy the
25331 symlist and the sysdep abilist file. Remove update-abi-config
25332 checks.
25333 * abilist/ld.abilist: Remove.
25334 * abilist/libBrokenLocale.abilist: Remove.
25335 * abilist/libanl.abilist: Remove.
25336 * abilist/libcrypt.abilist: Remove.
25337 * abilist/libdl.abilist: Remove.
25338 * abilist/librt.abilist: Remove.
25339 * abilist/libthread_db.abilist: Remove.
25340 * abilist/libutil.abilist: Remove.
25341 * scripts/extract-abilist.awk: Remove.
25342 * scripts/merge-abilist.awk: Remove.
25343 * sysdeps/generic/libcidn.abilist: New file.
25344 * sysdeps/generic/libnss_compat.abilist: New file.
25345 * sysdeps/generic/libnss_db.abilist: New file.
25346 * sysdeps/generic/libnss_dns.abilist: New file.
25347 * sysdeps/generic/libnss_files.abilist: New file.
25348 * sysdeps/generic/libnss_hesiod.abilist: New file.
25349 * sysdeps/generic/libnss_nis.abilist: New file.
25350 * sysdeps/generic/libnss_nisplus.abilist: New file.
25351 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25352 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25353 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25354 file.
25355 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25356 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25357 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25358 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25359 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25360 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25361 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25362 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25363 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25364 file.
25365 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25366 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25367 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25368 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25369 file.
25370 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25371 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25372 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25373 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25374 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25375 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25376 file.
25377 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25378 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25379 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25380 file.
25381 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25383 New file.
25384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25385 New file.
25386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25387 New file.
25388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25389 New file.
25390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25391 New file.
25392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25393 New file.
25394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25395 New file.
25396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25397 New file.
25398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25399 New file.
25400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25401 New file.
25402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25403 New file.
25404 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25405 New file.
25406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25407 New file.
25408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25409 file.
25410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25411 New file.
25412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25413 New file.
25414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25415 file.
25416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25417 New file.
25418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25419 New file.
25420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25421 file.
25422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25423 New file.
25424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25425 New file.
25426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25427 New file.
25428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25429 New file.
25430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25431 New file.
25432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25433 New file.
25434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25436 file.
25437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25438 New file.
25439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25440 file.
25441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25442 file.
25443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25444 file.
25445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25446 file.
25447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25448 file.
25449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25450 New file.
25451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25452 file.
25453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25454 file.
25455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25456 New file.
25457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25458 file.
25459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25461 file.
25462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25463 New file.
25464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25465 file.
25466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25467 file.
25468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25469 file.
25470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25471 file.
25472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25473 file.
25474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25475 New file.
25476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25477 file.
25478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25479 file.
25480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25481 New file.
25482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25483 file.
25484 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25485 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25486 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25487 file.
25488 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25489 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25490 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25491 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25492 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25493 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25494 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25495 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25496 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25497 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25500 file.
25501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25502 New file.
25503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25504 file.
25505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25506 file.
25507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25508 file.
25509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25510 file.
25511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25512 file.
25513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25514 New file.
25515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25516 New file.
25517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25518 file.
25519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25520 New file.
25521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25522 file.
25523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25525 file.
25526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25527 New file.
25528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25529 file.
25530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25531 file.
25532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25533 file.
25534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25535 file.
25536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25537 file.
25538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25539 New file.
25540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25541 New file.
25542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25543 file.
25544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25545 New file.
25546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25547 file.
25548
255492012-04-28 Joseph Myers <joseph@codesourcery.com>
25550
25551 * conform/conformtest.pl: Fix typo in handling typed-constant from
25552 allow-header.
25553
255542012-04-27 Joseph Myers <joseph@codesourcery.com>
25555
25556 * README: Cut down references to pre-2.6 Linux kernels and
25557 Linuxthreads. Update lists of configurations in libc and ports
25558 and sort alphabetically. Say "or newer" with Linux kernel version
25559 requirements.
25560
25561 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25562
255632012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25564
25565 [BZ #887]
25566 * math/libm-test.inc (logb_test_downward): New test to expose
25567 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25568 rounding mode.
25569
255702012-04-27 Joseph Myers <joseph@codesourcery.com>
25571
25572 [BZ #14027]
25573 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25574 to be done.
25575 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25576 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25577
255782012-04-26 Joseph Myers <joseph@codesourcery.com>
25579
25580 * sysdeps/unix/i386/brk.S: Remove file.
25581 * sysdeps/unix/i386/dl-brk.S: Likewise.
25582 * sysdeps/unix/i386/pipe.S: Likewise.
25583 * sysdeps/unix/i386/sigreturn.S: Likewise.
25584 * sysdeps/unix/i386/syscall.S: Likewise.
25585 * sysdeps/unix/i386/vfork.S: Likewise.
25586 * sysdeps/unix/i386/wait.S: Likewise.
25587
25588 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25589 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25590
25591 * configure.in (arm*-none*): Do not allow without
25592 --enable-hacker-mode.
25593 (netbsd*): Remove case setting base_os.
25594 (386bsd*): Likewise.
25595 (freebsd*): Likewise.
25596 (bsdi*): Likewise.
25597 (osf*): Likewise.
25598 (sunos*): Likewise.
25599 (ultrix*): Likewise.
25600 (newsos*): Likewise.
25601 (dynix*): Likewise.
25602 (*bsd*): Likewise.
25603 (sysv*): Likewise.
25604 (isc*): Likewise.
25605 (esix*): Likewise.
25606 (sco*): Likewise.
25607 (minix*): Likewise.
25608 (irix4*): Likewise.
25609 (irix6*): Likewise.
25610 (solaris[2-9]*): Likewise.
25611 (none): Likewise.
25612 * configure: Regenerated.
25613
256142012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25615
25616 [BZ #11521]
25617 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25618 overflow or cancellation in calculating denominator.
25619 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25620 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25621 down expression to avoid unexpected rounding in newer GCCs.
25622 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25623
256242012-04-26 David S. Miller <davem@davemloft.net>
25625
25626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25627 long-double compat symbols.
25628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25641
256422012-04-25 David S. Miller <davem@davemloft.net>
25643
25644 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25645 HWCAP_* values only after the memory barriers have been defined.
25646 (atomic_full_barrier): Define.
25647 (atomic_read_barrier): Define.
25648 (atomic_write_barrier): Define.
25649
256502012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25651
25652 * shlib-versions: Add libgcc_s version information.
25653 * sysdeps/generic/libgcc_s.h: Remove.
25654 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25655 libgcc_s.h.
25656 * sysdeps/gnu/unwind-resume.c: Likewise.
25657 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25658
256592012-04-25 David S. Miller <davem@davemloft.net>
25660
25661 * sysdeps/unix/sparc/brk.S: Delete.
25662 * sysdeps/unix/sparc/dl-brk.S: Delete.
25663 * sysdeps/unix/sparc/pipe.S: Delete.
25664 * sysdeps/unix/sparc/sysdep.S: Delete.
25665 * sysdeps/unix/sparc/sysdep.h: Delete.
25666 * sysdeps/unix/sparc/vfork.S: Delete.
25667 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25668 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25669 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25670 ret_ERRVAL, r0, r1, MOVE): Define.
25671 (JUMPTARGET): Remove.
25672 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25673 sysdeps/unix/sparc/sysdep.h
25674 (ENTRY, END): Remove.
25675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25676
256772012-04-25 Joseph Myers <joseph@codesourcery.com>
25678
25679 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25680 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25681 -DIS_IN_build.
25682
25683 * timezone/README: Update upstream location and email address for
25684 tzcode and tzdata.
25685 * timezone/zdump.c: Update from tzcode 2012b.
25686 * timezone/zic.c: Likewise.
25687
25688 * configure.in (libc_cv_as_needed): Remove test.
25689 * configure: Regenerated.
25690 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25691 conditional definition.
25692 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25693 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25694 * config.make.in (have-as-needed): Remove variable.
25695
256962012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25697 Paul Pluzhnikov <ppluzhnikov@google.com>
25698
25699 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25700 strings correctly.
25701
257022012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25703
25704 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25705 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25706 * sysdeps/sh/strlen.S: Likewise.
25707
257082012-04-24 Joseph Myers <joseph@codesourcery.com>
25709
25710 * sysdeps/unix/fork.S: Remove file.
25711 * sysdeps/unix/i386/fork.S: Likewise.
25712 * sysdeps/unix/sparc/fork.S: Likewise.
25713
25714 * sysdeps/unix/system.c: Remove file.
25715 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25716
25717 * sysdeps/unix/getegid.S: Remove file.
25718 * sysdeps/unix/geteuid.S: Likewise.
25719
257202012-04-24 Roland McGrath <roland@hack.frob.com>
25721
25722 * scripts/check-localplt.awk: New file.
25723 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25724 of diff.
25725 * scripts/data/localplt-generic.data: Add a comment.
25726
25727 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25728 NODE when __dir_mkfile failed.
25729 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25730 Reported by Ludovic Courtès <ludo@gnu.org>.
25731
257322012-04-24 Andreas Jaeger <aj@suse.de>
25733
25734 * Makerules (common-clean): Also remove gen-as-const-headers
25735 files.
25736
257372012-04-24 Joseph Myers <joseph@codesourcery.com>
25738
25739 * Makerules (native-compile): Do not change working directory for
25740 build. Use $(OUTPUT_OPTION) in command.
25741 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25742
257432012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25744
25745 [BZ #13886]
25746 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25747 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25748 * math/libm-test.inc (floor_test): Add more tests.
25749 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25750
257512012-04-24 Joseph Myers <joseph@codesourcery.com>
25752
25753 * sysdeps/unix/getdents.c: Remove file.
25754 * sysdeps/unix/sysv/getdents.c: Likewise.
25755 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25756
25757 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25758 sysdeps/unix/mman/syscalls.list.
25759 (mmap): Likewise.
25760 (mprotect): Likewise.
25761 (msync): Likewise.
25762 (munmap): Likewise.
25763 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25764 * sysdeps/unix/mman/syscalls.list: Remove.
25765 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25766
25767 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25768 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25769 * configure: Regenerated.
25770 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25771 $(libgcc_s_suffix).
25772 * config.make.in (libgcc_s_suffix): Remove variable.
25773
257742012-04-23 Joseph Myers <joseph@codesourcery.com>
25775
25776 * sysdeps/unix/sysv/gethostname.c: Move to ...
25777 * sysdeps/posix/gethostname.c: ... here.
25778
25779 * sysdeps/unix/execve.S: Remove file.
25780
25781 * sysdeps/unix/_exit.S: Remove file.
25782
257832012-04-23 Andreas Jaeger <aj@suse.de>
25784
25785 [BZ #13739]
25786 * manual/Makefile: Remove make dist support, there's no
25787 need for a stand-alone documentation tar ball.
25788 (TEXI2DVI): Define always, it's not in Makeconfig.
25789 (dist): Removed.
25790 (tar-it): Removed.
25791 (edition): Removed.
25792 (glibc-doc-$(edition).tar): Removed
25793 (%.Z): Removed.
25794 (%.gz): Removed.
25795 (%.uu): Removed.
25796 (ETAGS): Remove, it's in Makeconfig.
25797 (move-if-change): Remove, it's in Makeconfig.
25798
257992012-04-23 Paul Eggert <eggert@cs.ucla.edu>
25800
25801 [BZ #13970]
25802 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25803 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25804 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25805 (strtod_l, strtof_l, strtold_l): Remove __wur.
25806 It is not necessarily an error to ignore strtol's return value.
25807 One can reliably look at the stored endptr to decide whether
25808 the number had valid syntax.
25809
258102012-04-21 Andreas Jaeger <aj@suse.de>
25811
25812 [BZ #13739]
25813 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25814
258152012-04-21 Joseph Myers <joseph@codesourcery.com>
25816
25817 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25818 * sysdeps/unix/sysv/Versions: Remove file.
25819
258202012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25821
25822 [BZ #13927]
25823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25824
258252012-04-21 Nick Alcock <nick.alcock@oracle.com>
25826
25827 [BZ #7064]
25828 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25829 version from __vm86.
25830
258312012-04-20 Joseph Myers <joseph@codesourcery.com>
25832
25833 * sysdeps/unix/common/lxstat.c: Remove file.
25834 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25835
25836 * sysdeps/unix/sysv/Makefile: Remove file.
25837
25838 * sysdeps/unix/sysv/direct.h: Remove file.
25839
25840 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25841 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25842 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25843 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25844 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25845 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25846 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25847
25848 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25849
25850 * sysdeps/unix/xmknod.c: Remove file.
25851 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25852
25853 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25854
25855 * sysdeps/unix/sysv/i386/time.S: Remove file.
25856
25857 * sysdeps/unix/fxstat.c: Remove file.
25858 * sysdeps/unix/xstat.c: Likewise.
25859 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25860
25861 * sysdeps/unix/sysv/sigaction.c: Remove file.
25862
25863 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25864 (sysdep_headers): Remove variable.
25865 [termio.h not in sysdep_headers] (generated): Likewise.
25866 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25867 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25868 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25869 * sysdeps/unix/sysv/tcflow.c: Likewise.
25870 * sysdeps/unix/sysv/tcflush.c: Likewise.
25871 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25872 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25873 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25874 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25875 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25876
25877 * sysdeps/unix/siglist.c: Remove file.
25878
25879 * sysdeps/unix/getppid.S: Remove file.
25880
25881 * sysdeps/unix/mkdir.c: Remove file.
25882 * sysdeps/unix/rmdir.c: Likewise.
25883
258842012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25885
25886 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25887 ERR_MAX value.
25888 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25889 errlist-compat value.
25890
258912012-04-18 David S. Miller <davem@davemloft.net>
25892
25893 * sysdeps/generic/memcopy.h (reg_char): Delete.
25894 * debug/strcat_chk.c: Use char, not reg_char.
25895 * debug/strcpy_chk.c: Likewise.
25896 * debug/strncat_chk.c: Likewise.
25897 * debug/strncpy_chk.c: Likewise.
25898 * string/memchr.c: Likewise.
25899 * string/memrchr.c: Likewise.
25900 * string/rawmemchr.c: Likewise.
25901 * string/strcat.c: Likewise.
25902 * string/strchr.c: Likewise.
25903 * string/strchrnul.c: Likewise.
25904 * string/strcmp.c: Likewise.
25905 * string/strcpy.c: Likewise.
25906 * string/strncat.c: Likewise.
25907 * string/strncmp.c: Likewise.
25908 * string/strncpy.c: Likewise.
25909
259102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25911
25912 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25913 __builtin_memcopy is called when src and dest ranges are known to not
25914 overlap.
25915
259162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25917
25918 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25919 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25920 fwd_align_merge macro call.
25921 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25922 bwd_align_merge macro call.
25923 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25924
259252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25926
25927 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25928 bwd_align_merge macros.
25929 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25930 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25931 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25932
259332012-04-18 David S. Miller <davem@davemloft.net>
25934
25935 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25936
259372012-04-18 Andreas Jaeger <aj@suse.de>
25938
25939 [BZ# 6794]
25940 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25941 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25942 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25943
25944 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25945 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25946 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25947
25948 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25949 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25950 Adjust for changed ldbl-128 files.
25951
25952 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25953 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25954 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25955
259562012-04-17 David S. Miller <davem@davemloft.net>
25957
25958 * sysdeps/sparc/sparc32/memcopy.h: Delete.
25959
259602012-04-17 Andreas Schwab <schwab@linux-m68k.org>
25961
25962 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25963 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25964 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25965 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25966 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25967 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25968
259692012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25970
25971 [BZ #6794]
25972 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25973 * math/libm-test.inc: Add ilogb errno and exception tests.
25974 * math/w_ilogb.c: New file: ilogb wrapper.
25975 * math/w_ilogbf.c: New file: ilogbf wrapper.
25976 * math/w_ilogbl.c: New file: ilogbl wrapper.
25977 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25978 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25979 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25980 exception being thrown with 0.0 as argument.
25981 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25982 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25983 exception being thrown with 0.0 as argument.
25984 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25985 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25986 exception being thrown with 0.0 as argument.
25987 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25988 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25989 exception being thrown with 0.0 as argument.
25990 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25991 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25992 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25993 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25994 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25995 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25996 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25997 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25998 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25999
260002012-04-17 Petr Baudis <pasky@ucw.cz>
26001
26002 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26003 with altivec.
26004
260052012-04-16 Marek Polacek <polacek@redhat.com>
26006
26007 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26008
260092012-04-16 Marek Polacek <polacek@redhat.com>
26010
26011 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26012 operands of fdivp instruction.
26013
260142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26015
26016 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26017 * elf/tst-auditmod3b.c: Likewise.
26018 * elf/tst-auditmod4b.c: Likewise.
26019 * elf/tst-auditmod5b.c: Likewise.
26020 * elf/tst-auditmod6b.c: Likewise.
26021 * elf/tst-auditmod6c.c: Likewise.
26022 * elf/tst-auditmod7b.c: Likewise.
26023 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26024 * sysdeps/x86_64/preconfigure.in: Likewise.
26025 * sysdeps/x86_64/preconfigure: Regenerated.
26026
260272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26028
26029 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26030 __ILP32__.
26031
260322012-04-13 Antoine Balestrat <merkil33@gmail.com>
26033
26034 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26035 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26036
260372012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26038
26039 [BZ #13973]
26040 * locale/iso-639.def: Fix gl language name. Spotted by
26041 Yaron Shahrabani.
26042
260432012-04-12 Roland McGrath <roland@hack.frob.com>
26044
26045 [BZ #2074]
26046 * libio/libio.h (__io_write_fn): Update comment.
26047
260482012-04-12 Petr Baudis <pasky@ucw.cz>
26049
26050 [BZ #2074]
26051 * stdio.texi (Hook Functions): The user provided writer function
26052 is not allowed to return -1.
26053
260542012-04-11 David S. Miller <davem@davemloft.net>
26055
26056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26057
260582012-04-11 Mike Frysinger <vapier@gentoo.org>
26059
26060 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26061 Add a leading slash to rtkaio.
26062
260632012-04-11 Jim Meyering <meyering@redhat.com>
26064
26065 [BZ #11959]
26066 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26067 It is not necessarily an error to ignore fwrite's return
26068 value. One can reliably use ferror to test for errors after
26069 the fact.
26070
260712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26072
26073 * bits/types.h (__snseconds_t): New type.
26074 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26075
26076 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26077 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26078 (__SNSECONDS_T_TYPE): Likewise.
26079 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26080 (__SNSECONDS_T_TYPE): Likewise.
26081 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26082 (__SNSECONDS_T_TYPE): Likewise.
26083
260842012-04-10 Andreas Jaeger <aj@suse.de>
26085
26086 [BZ #2636]
26087 * manual/time.texi (Processor Time): Return type of times is
26088 elapsed real time since an arbitrary point in the past.
26089 (CPU Time): Move CLK_TCK from here...
26090 (Processor Time): ...to here. Correct description.
26091 * manual/conf.texi (Constants for Sysconf): Correct description of
26092 _SC_CLK_TCK.
26093
260942012-04-10 David S. Miller <davem@davemloft.net>
26095
26096 [BZ #13967]
26097 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26098 where the is a gap between DT_REL(A) and DT_JMPREL.
26099
261002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26101
26102 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26103 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26104 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26105
261062012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26107
26108 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26109 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26110 (dl_main): Handle --inhibit-cache.
26111 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26112 _dl_inhibit_cache.
26113 * elf/dl-load.c (_dl_map_object): Use it.
26114 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26115
261162012-04-09 Joseph Myers <joseph@codesourcery.com>
26117
26118 [BZ #13872]
26119 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26120 (__ieee754_powl): Saturate large exponents rather than testing for
26121 overflow of y*log2(x).
26122 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26123 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26124 exceptions.
26125
26126 [BZ #11521]
26127 * math/s_ctan.c: Include <float.h>.
26128 (__ctan): Avoid internal overflow or cancellation in calculating
26129 denominator.
26130 * math/s_ctanf.c: Likewise.
26131 * math/s_ctanl.c: Likewise.
26132 * math/s_ctanh.c: Likewise.
26133 * math/s_ctanhf.c: Likewise.
26134 * math/s_ctanhl.c: Likewise.
26135 * math/libm-test.inc (ctan_test): Add more tests.
26136 (ctanh_test): Likewise.
26137 * sysdeps/i386/fpu/libm-test-ulps: Update.
26138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26139
261402012-04-09 Andreas Jaeger <aj@suse.de>
26141
26142 [BZ #6894]
26143 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26144 is an optional BSD extension.
26145
26146 [BZ #10254]
26147 * manual/stdio.texi (Opening Streams): Document additional fopen
26148 parameters.
26149
261502012-04-09 Roland McGrath <roland@hack.frob.com>
26151
26152 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26153 %eax without telling the compiler.
26154
261552012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26156
26157 [BZ # 13963]
26158 * manual/install.texi: Use sourceware.org.
26159
261602012-04-09 Joseph Myers <joseph@codesourcery.com>
26161
26162 [BZ #13873]
26163 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26164 (__ieee754_pow): Generate overflow and underflow using huge*huge
26165 and tiny*tiny rather than just returning constant infinity or zero
26166 for large exponents.
26167 * math/libm-test.inc (pow_test): Require overflow exceptions for
26168 applicable cases of large exponents.
26169
26170 [BZ #706]
26171 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26172 (__ieee754_pow): Use iterative multiplication algorithm only for
26173 integer exponents with absolute value below 1024. Check for odd
26174 integer exponents when using algorithm for real exponents.
26175 * math/libm-test.inc (pow_test): Add more tests.
26176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26177
261782012-04-08 Joseph Myers <joseph@codesourcery.com>
26179
26180 [BZ #13705]
26181 * math/libm-test.inc (exp_test): Do not allow overflow exception
26182 on underflow test.
26183
261842012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26185
26186 [BZ #13705]
26187 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26188 instead of __kernel_standard_f.
26189
261902012-04-08 Mike Frysinger <vapier@gentoo.org>
26191
26192 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26193 * sysdeps/x86_64/memset_chk.S: Likewise.
26194
261952012-04-08 Andreas Jaeger <aj@suse.de>
26196
26197 [BZ #10153]
26198 * manual/startup.texi (Environment Access): Describe return value
26199 for putenv and setenv.
26200
26201 [BZ #6895]
26202 * manual/filesys.texi (Directory Entries): Add description for
26203 DT_LNK.
26204
26205 [BZ #6890]
26206 * manual/filesys.texi (Directory Entries): Clarify that it's file
26207 system not operating system in the description of DT_UNKNOWN.
26208
26209 [BZ #6578]
26210 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26211
262122012-04-08 Stephen Compall <s11@member.fsf.org>
26213
26214 [BZ #6649]
26215 * manual/llio.texi (Opening and Closing Files): Add cross
26216 reference to explain mode argument.
26217
262182012-04-07 Mike Frysinger <vapier@gentoo.org>
26219
26220 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26221 * sysdeps/x86_64/memset_chk.S: Likewise.
26222
262232012-04-07 David S. Miller <davem@davemloft.net>
26224
26225 * elf/elf.h (R_SPARC_WDISP10): Define.
26226 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26227 R_SPARC_SIZE32.
26228 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26229 R_SPARC_SIZE64 and R_SPARC_H34.
26230
262312012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26232
26233 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26234 conditions and remove no longer applicable assertion.
26235
262362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26237
26238 * bits/byteswap.h: Include <features.h>.
26239 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26240 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26241
262422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26243
26244 * bits/byteswap.h (__bswap_16): Removed.
26245 Include <bits/byteswap-16.h> to get __bswap_16.
26246 * sysdeps/i386/bits/byteswap.h: Likewise.
26247 * sysdeps/s390/bits/byteswap.h: Likewise.
26248 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26249 * bits/byteswap-16.h: New file.
26250 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26251 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26252 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26253 * string/Makefile (headers): Add bits/byteswap-16.h.
26254
262552012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26256
26257 [BZ #13895]
26258 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26259 extra indirection.
26260 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26261 * nss/tst-nss-static.c: New.
26262
262632012-04-06 Robert Millan <rmh@gnu.org>
26264
26265 [BZ #6486]
26266 * manual/llio.texi (File Position Primitive): lseek
26267 refers to WHENCE when it really means OFFSET.
26268
262692012-04-06 Andreas Jaeger <aj@suse.de>
26270
26271 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26272 strncmp declarations.
26273
26274 * abilist/libc.abilist: Add __poll and __ppoll.
26275
262762012-04-05 David S. Miller <davem@davemloft.net>
26277
26278 * scripts/check-local-headers.sh: Accept a host triplet in the
26279 path matched by the exclude regexp.
26280
26281 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26282 definition.
26283 * sysdeps/powerpc/powerpc32/dl-machine.h
26284 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26285 * sysdeps/s390/s390-32/dl-machine.h
26286 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26287 * sysdeps/sparc/sparc32/dl-machine.h
26288 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26289 * sysdeps/sparc/sparc64/dl-machine.h
26290 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26291
26292 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26293 lazy binding.
26294 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26295 undefined symbol errors.
26296
26297 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26298 DT_NEEDED entries.
26299
263002012-04-05 Michael Matz <matz@suse.de>
26301
26302 [BZ #13592]
26303 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26304
263052012-04-05 Andreas Jaeger <aj@suse.de>
26306
26307 [BZ #13908]
26308 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26309 comment.
26310
263112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26312
26313 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26314 which ROUND is no valid rounding mode.
26315
263162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26317
26318 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26319 read again.
26320 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26321
263222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26323
26324 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26325 an exception using FPU order intentionally.
26326
263272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26328
26329 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26330 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26331 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26332 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26333
263342012-04-05 Simon Josefsson <simon@josefsson.org>
26335
26336 [BZ #12340]
26337 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26338 EINVAL when BUFLEN is too smal.
26339
263402012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26341
26342 [BZ #13553]
26343 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26344 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26345
263462012-04-03 Andreas Jaeger <aj@suse.de>
26347
26348 [BZ #13938]
26349 * manual/setjmp.texi (System V contexts): Fix sentence.
26350
26351 [BZ #13926]
26352 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26353 New macro for this case.
26354 [!__GNUC__] (__bswap_64): New inline function for this case.
26355 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26356 * bits/byteswap.h: Likewise.
26357 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26358 ull, guard with __GLIBC_HAVE_LONG_LONG.
26359
26360 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26361 __GLIBC_HAVE_LONG_LONG.
26362
26363 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26364 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26365
263662012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26367
26368 [BZ #13691]
26369 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26370 inptr and inend, rather than using last_ch.
26371
263722012-04-02 David S. Miller <davem@davemloft.net>
26373
26374 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26375 * stdio-common/printf-parse.h (read_int): Change return type to
26376 'int', return -1 on INT_MAX overflow.
26377 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26378 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26379 overflows INT_MAX. Check for overflow of in-format-string precision
26380 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26381 SIZE_MAX not INT_MAX for integer overflow test.
26382 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26383 skip the construct in the format string but do not record anything.
26384 * stdio-common/bug22.c: Adjust to test both width/prevision
26385 INT_MAX overflow as well as total length INT_MAX overflow. Check
26386 explicitly for proper errno values.
26387
263882012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26389
26390 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26391 CHAR_MAX.
26392 * string/test-strcmp.c [! WIDE]: Likewise.
26393 * time/tst-mktime2.c: Likewise for INT_MAX.
26394 * string/test-string.h: #include <sys/param.h> for MIN.
26395
26396 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26397 * sysdeps/i386/init-first.c (init): Likewise.
26398 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26399 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26400 * sysdeps/sh/init-first.c (init): Likewise.
26401
264022012-04-01 Ulrich Drepper <drepper@gmail.com>
26403
26404 * po/ru.po: Update from translation team.
26405 * po/vi.po: Likewise.
26406
264072012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26408
26409 * resolv/nss_dns/dns-host.c: Merge copyright years.
26410
264112012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26412
26413 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26414 Optimize memcpy with prefetch if
26415 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26416 src, dst pointers have unequal 16 byte alignments.
26417
264182012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26419
26420 [BZ #13928]
26421 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26422 from a CNAME entry and return the minimum ttl for the query.
26423 (gaih_getanswer_slice): Likewise.
26424
264252012-03-30 Jeff Law <law@redhat.com>
26426
26427 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26428 due to long keys.
26429 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26430 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26431
26432 * resolv/nss_dns/dns-host.c: Update copyright year.
26433
264342012-03-30 Ulrich Drepper <drepper@gmail.com>
26435
26436 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26437 requests to save a system call. Fix check that all bytes are sent.
26438
26439 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26440 comments for sendmmsg.
26441
264422012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26443
26444 [BZ #13691]
26445 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26446 with only 1 character between 0x0041 and 0x01b0.
26447 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26448 * wcsmbs/tst-mbsnrtowcs.c: New file.
26449
264502012-03-29 David S. Miller <davem@davemloft.net>
26451
26452 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26453 small copies by hand.
26454
264552012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26456
26457 [BZ #13761]
26458 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26459 _nss_compat_initgroups_dyn): Fall back to malloc/free
26460 for large group memberships.
26461
264622012-03-28 David S. Miller <davem@davemloft.net>
26463
26464 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26465 that branches into memcpy.
26466 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26467 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26468 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26469 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26471 bits.
26472 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26473 implementation too.
26474 * sysdeps/sparc/mempcpy.S: New file.
26475
26476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26477 the IFUNC routine in the libc case.
26478 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26479
26480 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26481 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26482 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26483 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26484 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26485 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26486 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26487 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26488
26489 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26490 loop to 256 bytes instead of 64 bytes and fix test signedness.
26491
26492 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26493 * sysdeps/sparc/sparc32/Makefile: rather than here...
26494 * sysdeps/sparc/sparc64/Makefile: and here.
26495
264962012-03-28 Ulrich Drepper <drepper@gmail.com>
26497
26498 * malloc/mallocbug.c: Avoid warnings about unused variables.
26499
265002012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26501
26502 [BZ #13760]
26503 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26504 in the right place. Discard and retry query if response is
26505 larger than input buffer size.
26506
265072012-03-28 Joseph Myers <joseph@codesourcery.com>
26508
26509 [BZ #369]
26510 [BZ #2678]
26511 [BZ #3866]
26512 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26513 x for large integer exponent.
26514 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26515 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26516 sign of result as needed afterwards.
26517 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26518 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26519 result for underflowing pow the same as for overflow.
26520 (__kernel_standard_l): Handle powl overflow and underflow here
26521 rather than calling __kernel_standard.
26522 * math/libm-test.inc (pow_test): Add more tests.
26523
26524 [BZ #3868]
26525 [BZ #13879]
26526 [BZ #13910]
26527 [BZ #13911]
26528 [BZ #13912]
26529 [BZ #13913]
26530 [BZ #13915]
26531 [BZ #13916]
26532 [BZ #13917]
26533 [BZ #13918]
26534 [BZ #13919]
26535 [BZ #13920]
26536 [BZ #13921]
26537 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26538 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26539 (__kernel_standard_l): New function.
26540 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26541 __kernel_standard.
26542 * math/w_acosl.c (__acosl): Likewise.
26543 * math/w_asinl.c (__asinl): Likewise.
26544 * math/w_atan2l.c (__atan2l): Likewise.
26545 * math/w_atanhl.c (__atanhl): Likewise.
26546 * math/w_coshl.c (__coshl): Likewise.
26547 * math/w_exp10l.c (__exp10l): Likewise.
26548 * math/w_exp2l.c (__exp2l): Likewise.
26549 * math/w_fmodl.c (__fmodl): Likewise.
26550 * math/w_hypotl.c (__hypotl): Likewise.
26551 * math/w_j0l.c (__j0l, __y0l): Likewise.
26552 * math/w_j1l.c (__j1l, __y1l): Likewise.
26553 * math/w_jnl.c (__jnl, __ynl): Likewise.
26554 * math/w_lgammal.c (__lgammal): Likewise.
26555 * math/w_log10l.c (__log10l): Likewise.
26556 * math/w_log2l.c (__log2l): Likewise.
26557 * math/w_logl.c (__logl): Likewise.
26558 * math/w_powl.c (__powl): Likewise.
26559 * math/w_remainderl.c (__remainderl): Likewise.
26560 * math/w_scalbl.c (sysv_scalbl): Likewise.
26561 * math/w_sinhl.c (__sinhl): Likewise.
26562 * math/w_sqrtl.c (__sqrtl): Likewise.
26563 * math/w_tgammal.c (__tgammal): Likewise.
26564 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26565 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26566 * math/libm-test.inc (acos_test): Add more tests.
26567 (acosh_test): Likewise.
26568 (asin_test): Likewise.
26569 (atanh_test): Likewise.
26570 (exp_test): Likewise.
26571 (exp10_test): Likewise.
26572 (exp2_test): Likewise.
26573 (expm1_test): Likewise.
26574 (lgamma_test): Likewise.
26575 (log_test): Likewise.
26576 (log10_test): Likewise.
26577 (log1p_test): Likewise.
26578 (log2_test): Likewise.
26579 (pow_test): Do not allow some spurious overflow exceptions.
26580 (sqrt_test): Add more tests.
26581 (tgamma_test): Likewise.
26582 (y0_test): Likewise.
26583 (y1_test): Likewise.
26584 (yn_test): Likewise.
26585
265862012-03-27 Anton Blanchard <anton@samba.org>
26587
26588 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26589 MAP_HUGETLB.
26590 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26591 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26592 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26593
265942012-03-27 David S. Miller <davem@davemloft.net>
26595
26596 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26597
26598 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26599 have-as-vis3 check.
26600
266012012-03-27 Andreas Jaeger <aj@suse.de>
26602
26603 * sysdeps/x86_64/elf/configure.in: Moved to ...
26604 * sysdeps/x86_64/configure.in: ... here.
26605 * sysdeps/x86_64/elf/start.S: Moved to ...
26606 * sysdeps/x86_64/start.S: ... here.
26607 * sysdeps/x86_64/elf/configure: Delete.
26608
26609 * sysdeps/x86_64/configure.in: Merge contents from
26610 sysdeps/i386/configure.in (without i686 check).
26611
26612 * sysdeps/i386/elf/Versions: Merge into ...
26613 * sysdeps/i386/Versions: ... this.
26614 * sysdeps/i386/elf/Versions: Delete file.
26615 * sysdeps/i386/elf/start.S: Moved to ...
26616 * sysdeps/i386/start.S: ...here.
26617 * sysdeps/i386/elf/configure.in: Merge into...
26618 * sysdeps/i386/configure.in: ...here.
26619 * sysdeps/i386/elf/configure.in: Delete file.
26620 * sysdeps/i386/elf/configure: Delete file.
26621
26622 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26623 * debug/backtracesyms.c: ... here.
26624 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26625 * debug/backtracesymsfd.c: ... here.
26626 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26627 * sysdeps/generic/ifunc-sel.h: ... here.
26628
26629 * sysdeps/unix/i386/start.c: Delete file.
26630 * sysdeps/unix/sparc/start.c: Delete file.
26631 * sysdeps/unix/start.c: Delete file.
26632
26633 * sysdeps/sh/elf/configure.in: Moved to ...
26634 * sysdeps/sh/configure.in: ... here.
26635 * sysdeps/sh/elf/start.S: Moved to ...
26636 * sysdeps/sh/start.S: ... here.
26637 * sysdeps/sh/elf/configure: Delete file.
26638
26639 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26640 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26641 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26642 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26643 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26644 * sysdeps/powerpc/powerpc64/start.S: here.
26645 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26646 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26647 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26648 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26649 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26650
26651 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26652 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26653 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26654 * sysdeps/powerpc/powerpc32/start.S: ... here.
26655 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26656 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26657 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26658
26659 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26660 * sysdeps/powerpc/ifunc-sel.h: ... here.
26661 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26662 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26663
26664 * sysdeps/sparc/elf/configure.in: Moved to ...
26665 * sysdeps/sparc/configure.in: ... here.
26666 * sysdeps/sparc/elf/configure: Delete file.
26667 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26668 * sysdeps/sparc/sparc32/start.S: ... here.
26669 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26670 * sysdeps/sparc/sparc64/start.S: ... here.
26671 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26672 * sysdeps/sparc/sparc32/Makefile: ... this.
26673 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26674 * sysdeps/sparc/sparc64/Makefile: ... this.
26675
26676 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26677 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26678 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26679 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26680 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26681 * sysdeps/s390/s390-32/setjmp.S: ... here.
26682 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26683 * sysdeps/s390/s390-32/configure.in: ... here.
26684 * sysdeps/s390/s390-32/elf/configure: Delete file.
26685 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26686 * sysdeps/s390/s390-32/start.S: ... here.
26687
26688 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26689 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26690 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26691 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26692 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26693 * sysdeps/s390/s390-64/setjmp.S: ... here.
26694 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26695 * sysdeps/s390/s390-64/configure.in: ... here
26696 * sysdeps/s390/s390-64/elf/configure: Delete file.
26697 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26698 * sysdeps/s390/s390-64/start.S: ... here.
26699 * sysdeps/s390/s390-64/elf/configure: Delete.
26700
26701 * configure.in: Remove support for elf directories in sysdeps.
26702
26703 * configure: Regenerated.
26704 * sysdeps/i386/configure: Regenerated.
26705 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26706 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26707 * sysdeps/s390/s390-32/configure: Regenerated.
26708 * sysdeps/s390/s390-64/configure: Regenerated.
26709 * sysdeps/sh/configure: Regenerated.
26710 * sysdeps/sparc/configure: Regenerated.
26711 * sysdeps/x86_64/configure: Regenerated.
26712
267132012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26714
26715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26716
26717 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26718 denormal result into account.
26719
267202012-03-25 Roland McGrath <roland@hack.frob.com>
26721
26722 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26723 Reported by Allan McRae <allan@archlinux.org>.
26724
267252012-03-23 Jeff Law <law@redhat.com>
26726
26727 * nss/getnssent.c (__nss_getent): Fix typo.
26728
267292012-03-23 David S. Miller <davem@davemloft.net>
26730
26731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26732
267332012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26734
26735 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26736 to pad to uint64_t for each field.
26737 (dl_tls_index): Replace unsigned long with uint64_t.
26738
267392012-03-23 Daniel Jacobowitz <dmj@google.com>
26740 Paul Pluzhnikov <ppluzhnikov@google.com>
26741
26742 [BZ #6528]
26743 * grp/Makefile (otherlibs): Don't set it.
26744 * inet/Makefile (otherlibs): Likewise.
26745 * login/Makefile (otherlibs): Likewise.
26746 * nscd/Makefile (otherlibs): Likewise.
26747 * posix/Makefile (otherlibs): Likewise.
26748 * pwd/Makefile (otherlibs): Likewise.
26749 * rt/Makefile (otherlibs): Likewise.
26750 * sunrpc/Makefile (otherlibs): Likewise.
26751 * nss/Makefile (otherlibs): Likewise.
26752 Add libnss_files to routines and static-only-routines.
26753 ($(objpfx)getent): Remove rule.
26754 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26755 static-only-routines.
26756
267572012-03-22 Joseph Myers <joseph@codesourcery.com>
26758
26759 [BZ #13892]
26760 * math/s_cexp.c: Include <float.h>.
26761 (__cexp): Handle exp result overflowing not necessarily
26762 overflowing both real and imaginary parts of result.
26763 * math/s_cexpf.c: Likewise.
26764 * math/s_cexpl.c: Likewise.
26765 * math/libm-test.inc (cexp_test): Add more tests.
26766 * sysdeps/i386/fpu/libm-test-ulps: Update.
26767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26768
267692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26770
26771 * include/link.h (ELFW): New macro.
26772 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26773 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26774
267752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26776
26777 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26778 with uint64_t.
26779
267802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26781
26782 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26783 declaration.
26784 (struct La_x32_retval): Likewise.
26785
267862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26787
26788 * sysdeps/x86_64/preconfigure.in: New file.
26789 * sysdeps/x86_64/preconfigure: New generated file.
26790
267912012-03-22 Joseph Myers <joseph@codesourcery.com>
26792
26793 [BZ #13824]
26794 * math/e_exp2l.c: Include <float.h>.
26795 (__ieee754_exp2l): Handle overflow and underflow cases
26796 separately. Only pass fractional part of argument to
26797 __ieee754_expl.
26798 * math/libm-test.inc (exp2_test): Add more tests.
26799
26800 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26801 negating x to take absolute value.
26802 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26803 Likewise.
26804 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26805 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26806 Likewise.
26807 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26808 computing low part if x was negated.
26809 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26810
268112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26812
26813 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26814 la_x32_gnu_pltexit.
26815 (pltexit): Cast int_retval to ptrdiff_t.
26816 * elf/tst-auditmod3b.c: Likewise.
26817 * elf/tst-auditmod4b.c: Likewise.
26818 * elf/tst-auditmod5b.c: Likewise.
26819 * elf/tst-auditmod6b.c: Likewise.
26820 * elf/tst-auditmod6c.c: Likewise.
26821 * elf/tst-auditmod7b.c: Likewise.
26822
26823 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26824 and x32_gnu_pltexit.
26825
26826 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26827 __ELF_NATIVE_CLASS.
26828 (La_x32_regs): New macro.
26829 (La_x32_retval): Likewise.
26830 (la_x32_gnu_pltenter): New function prototype.
26831 (la_x32_gnu_pltexit): Likewise.
26832
268332012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26834
26835 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26836 exponent.
26837
26838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26839
26840 * configure.in (libc_cv_cc_nofma): Check for option to disable
26841 generation of FMA instructions.
26842 * configure: Regenerate.
26843 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26844 * sysdeps/ieee754/dbl-64/Makefile: New file.
26845 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26846 Remove brandred-fma4.
26847 (CFLAGS-brandred-fma4.c): Remove.
26848 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26849 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26850 define.
26851 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26852 define.
26853
268542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26855
26856 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26857 LLONG_MAX != LONG_MAX.
26858 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26859 (_fitoa_word): Likewise.
26860 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26861 LLONG_MAX != LONG_MAX.
26862 * stdio-common/_itowa.h: Include <_itoa.h>.
26863 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26864 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26865 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26866 only if not defined.
26867 (_ITOA_WORD_TYPE): Likewise.
26868 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26869 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26870
268712012-03-21 David S. Miller <davem@davemloft.net>
26872
26873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26874
268752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26876
26877 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26878 of x86_64 when setting libc_cv_slibdir, libdir and
26879 libc_cv_localedir.
26880 * sysdeps/unix/sysv/linux/configure: Regenerated.
26881
268822012-03-21 Joseph Myers <joseph@codesourcery.com>
26883
26884 * manual/lang.texi (Old Varargs): Remove section.
26885 (How Variadic): Update menu.
26886 (va_start): Do not mention varargs.h.
26887
268882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26889 Joseph Myers <joseph@codesourcery.com>
26890
26891 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26892 link test.
26893 * configure: Regenerated.
26894
268952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26896
26897 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26898 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26899 conformtest.pl
26900
269012012-03-21 Joseph Myers <joseph@codesourcery.com>
26902
26903 * NOTES: Remove.
26904 * Makefile (files-for-dist): Remove NOTES.
26905 (NOTES): Remove rule.
26906 * README: Don't refer to NOTES.
26907 * manual/creature.texi: Don't include macros.texi.
26908 * manual/intro.texi (creature.texi): Remove comment referring to
26909 NOTES.
26910
26911 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26912 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26913 * configure: Regenerated.
26914 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26915 LIBC_TRY_CC_OPTION.
26916 (libc_cv_as_i686): Likewise.
26917 (libc_cv_cc_avx): Likewise.
26918 (libc_cv_cc_sse2avx): Likewise.
26919 (libc_cv_cc_fma4): Likewise.
26920 (libc_cv_cc_novzeroupper): Likewise.
26921 * sysdeps/i386/configure: Regenerated.
26922
26923 [BZ #13883]
26924 * sysdeps/i386/fpu/s_cexp.S: Remove.
26925 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26926 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26927 * math/libm-test.inc (cexp_test): Add more tests.
26928 * sysdeps/i386/fpu/libm-test-ulps: Update.
26929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26930
269312012-03-21 Allan McRae <allan@archlinux.org>
26932
26933 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26934
269352012-03-21 Joseph Myers <joseph@codesourcery.com>
26936
26937 [BZ #13871]
26938 * math/w_exp2.c: Do not include <float.h>.
26939 (o_threshold, u_threshold): Remove.
26940 (__exp2): Calculate result before checking finiteness and calling
26941 __kernel_standard.
26942 * math/w_exp2f.c: Likewise.
26943 * math/w_exp2l.c: Likewise.
26944 * math/libm-test.inc (exp2_test): Require overflow exception for
26945 1e6 input.
26946
26947 [BZ #3866]
26948 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26949 range of signed 64-bit integers before using fistpll. Remove
26950 checks for whether integers fit in mantissa bits.
26951 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26952 the range of signed 32-bit integers before using fistpl. Remove
26953 checks for whether integers fit in mantissa bits.
26954 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26955 (__ieee754_powl): Test for y outside the range of signed 64-bit
26956 integers before using fistpll. Reduce 64-bit values to 63-bit
26957 ones as needed.
26958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26959 divide-by-zero is raised for zero to large negative powers.
26960 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26961 (__ieee754_powl): Test for y outside the range of signed 64-bit
26962 integers before using fistpll. Reduce 64-bit values to 63-bit
26963 ones as needed.
26964 * math/libm-test.inc (pow_test): Add more tests.
26965
269662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
26967
26968 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26969 <stdio-common/_itoa.h>.
26970 * debug/segfault.c: Likewise.
26971 * elf/dl-cache.c: Likewise.
26972 * elf/dl-minimal.c: Likewise.
26973 * elf/dl-misc.c: Likewise.
26974 * elf/dl-sysdep.c: Likewise.
26975 * elf/dl-version.c: Likewise.
26976 * elf/rtld.c: Likewise.
26977 * hurd/hurdsock.c: Likewise.
26978 * hurd/lookup-retry.c: Likewise.
26979 * malloc/malloc.c: Likewise.
26980 * malloc/mtrace.c: Likewise.
26981 * nscd/nscd_getgr_r.c: Likewise.
26982 * nscd/nscd_getpw_r.c: Likewise.
26983 * nscd/nscd_getserv_r.c: Likewise.
26984 * posix/getopt_init.c: Likewise.
26985 * posix/wordexp.c: Likewise.
26986 * stdio-common/_itoa.c: Likewise.
26987 * stdio-common/printf_fphex.c: Likewise.
26988 * stdio-common/vfprintf.c: Likewise.
26989 * string/_strerror.c: Likewise.
26990 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26991 * sysdeps/i386/i686/hp-timing.h: Likewise.
26992 * sysdeps/mach/_strerror.c: Likewise.
26993 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26994 * sysdeps/mach/hurd/sethostid.c: Likewise.
26995 * sysdeps/mach/hurd/xmknodat.c: Likewise.
26996 * sysdeps/mach/xpg-strerror.c: Likewise.
26997 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26998 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26999 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27000 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27001 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27002 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27003 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27004 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27005 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27006 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27007 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27008 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27009 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27010 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27011 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27012 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27013 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27014 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27015 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27016 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27017 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27018
27019 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27020
27021 * stdio-common/_itoa.h: Moved to ...
27022 * sysdeps/generic/_itoa.h: Here.
27023
27024 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27025
27026 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27027 instead of "_itoa.h" and "_itowa.h".
27028 * stdio-common/vfprintf.: Likewise.
27029
270302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27031
27032 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27033 <bits/wordsize.h>.
27034 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27035 (__signbit): Likwise.
27036 (llrintf): Likwise.
27037 (llrint): Likwise.
27038
270392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27040
27041 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27042 __WORDSIZE != 64.
27043
270442012-03-20 Joseph Myers <joseph@codesourcery.com>
27045
27046 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27047 OVERFLOW_EXCEPTION_OK.
27048 * math/libm-test.inc ("Philosophy"): Update comment about
27049 exception testing.
27050 (OVERFLOW_EXCEPTION): Define.
27051 (OVERFLOW_EXCEPTION_OK): Likewise.
27052 (INVALID_EXCEPTION_OK): Renumber.
27053 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27054 (IGNORE_ZERO_INF_SIGN): Likewise.
27055 (test_exceptions): Handle FE_OVERFLOW.
27056 (exp10_test): Expect overflow exceptions.
27057 (exp2_test): Likewise.
27058 (expm1_test): Likewise.
27059 (nextafter_test): Likewise.
27060 (pow_test): Likewise.
27061 (scalbn_test): Likewise.
27062 (scalbln_test): Likewise.
27063
270642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27065
27066 * sysdeps/x86_64/bits/atomic.h
27067 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27068 64bit integer.
27069 (atomic_exchange_acq): Likewise.
27070 (__arch_exchange_and_add_body): Likewise.
27071 (__arch_add_body): Likewise.
27072 (atomic_add_negative): Likewise.
27073 (atomic_add_zero): Likewise.
27074
270752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27076
27077 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27078 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27079
270802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27081
27082 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27083 Check __x86_64__ instead of __WORDSIZE.
27084
270852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27086
27087 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27088
270892012-03-19 David S. Miller <davem@davemloft.net>
27090
27091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27092
27093 * sysdeps/sparc/fpu/fenv_private.h: New file.
27094 * sysdeps/sparc/fpu/math_private.h: Use it.
27095 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27096 Remove.
27097 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27098 (libc_feholdexcept_setroundl): Remove.
27099 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27100 Remove.
27101 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27102 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27103
271042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27105
27106 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27107 int64_t instead of long int.
27108 (INSERT_WORDS64): Likwise.
27109
271102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27111
27112 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27113 _Unwind_GetCFA return to _Unwind_Ptr first.
27114
271152012-03-19 Joseph Myers <joseph@codesourcery.com>
27116
27117 [BZ #13629]
27118 * math/s_clog.c: Include <float.h>.
27119 (__clog): Scale large or subnormal inputs.
27120 * math/s_clogf.c: Likewise.
27121 * math/s_clogl.c: Likewise.
27122 * math/s_clog10.c: Include <float.h>.
27123 (M_LOG10_2): Define.
27124 (__clog10): Scale large or subnormal inputs.
27125 * math/s_clog10f.c: Likewise.
27126 * math/s_clog10l.c: Likewise.
27127 * math/libm-test.inc (clog_test): Add more tests.
27128 (clog10_test): Likewise.
27129 * sysdeps/i386/fpu/libm-test-ulps: Update.
27130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27131
27132 [BZ #11451]
27133 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27134 x and y.
27135 * math/libm-test.inc (atan2_test): Add another test.
27136
27137 * Makerules (common-objdir-compile): Remove.
27138 * sysdeps/unix/Makefile (config-generated): Do not add
27139 $(unix-generated) to variable.
27140 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27141 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27142 Remove rule.
27143 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27144 Likewise.
27145 [generic bits/local_lim.h] (before-compile): Do not append to
27146 variable.
27147 [generic bits/local_lim.h] (common-generated): Likewise.
27148 [generic sys/param.h] (before-compile): Do not append to variable.
27149 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27150 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27151 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27152 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27153 include.
27154 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27155 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27156 [generic sys/param.h] ($(addprefix
27157 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27158 [generic sys/param.h] (common-generated): Do not append to
27159 variable.
27160 [generic sys/param.h] (sysdep_headers): Likewise.
27161 [generic bits/errno.h] (before-compile): Do not append to
27162 variable.
27163 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27164 rule.
27165 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27166 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27167 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27168 [generic bits/errno.h] (common-generated): Do not append to
27169 variable.
27170 [generic bits/ioctls.h] (before-compile): Do not append to
27171 variable.
27172 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27173 rule.
27174 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27175 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27176 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27177 rule.
27178 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27179 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27180 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27181 [generic bits/ioctls.h] (common-generated): Do not append to
27182 variable.
27183 [generic sys/syscall.h] (syscall.h): Remove variable.
27184 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27185 rule.
27186 [generic sys/syscall.h] (before-compile): Do not append to
27187 variable.
27188 [generic sys/syscall.h] (common-generated): Likewise.
27189 * sysdeps/unix/errnos-tmpl.c: Remove file.
27190 * sysdeps/unix/errnos.awk: Likewise.
27191 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27192 * sysdeps/unix/ioctls.awk: Likewise.
27193 * sysdeps/unix/mk-local_lim.c: Likewise.
27194 * sysdeps/unix/snarf-ioctls: Likewise.
27195
271962012-03-19 Richard Henderson <rth@twiddle.net>
27197
27198 * sysdeps/i386/fpu/fenv_private.h: New file.
27199 * sysdeps/i386/fpu/math_private.h: Use it.
27200 (math_opt_barrier, math_force_eval): Remove.
27201 (libc_feholdexcept_setround_53bit): Remove.
27202 (libc_feupdateenv_53bit): Remove.
27203 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27204 (math_opt_barrier, math_force_eval): Remove.
27205 (libc_feholdexcept): Remove.
27206 (libc_feholdexcept_setround): Remove.
27207 (libc_fetestexcept, libc_fesetenv): Remove.
27208 (libc_feupdateenv_test): Remove.
27209 (libc_feupdateenv, libc_feholdsetround): Remove.
27210 (libc_feresetround): Remove.
27211
27212 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27213 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27214
27215 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27216 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27217 (libc_feupdateenv_testl): New.
27218 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27219 (libc_feupdateenv_testf): New.
27220 (libc_feupdateenv): Use libc_feupdateenv_test.
27221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27222 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27223
27224 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27225 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27226 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27227 (libc_feresetround_noex): New.
27228 (libc_feresetround_noexf): New.
27229 (libc_feresetround_noexl): New.
27230 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27231 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27232 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27233 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27234 SET_RESTORE_ROUND.
27235 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27236 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27237 (__cos): Likewise.
27238 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27239 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27240 SET_RESTORE_ROUND_NOEX.
27241 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27242 SET_RESTORE_ROUND_NOEXF.
27243 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27244 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27245 (libc_feholdsetroundf): New.
27246 (libc_feresetround, libc_feresetroundf): New.
27247
27248 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27249 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27250 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27251
27252 * sysdeps/generic/math_private.h: Include <fenv.h>.
27253 (default_libc_feholdexcept): New.
27254 (default_libc_feholdexcept_setround): New.
27255 (default_libc_fesetenv, default_libc_feupdateenv): New.
27256 (libc_feholdexcept): Only define if undefined.
27257 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27258 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27259 (libc_feholdexcept_setroundl): Likewise.
27260 (libc_feholdexcept_setround_53bit): Likewise.
27261 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27262 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27263 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27264 (libc_feupdateenv_53bit): Likewise.
27265 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27266 (libc_feholdexcept): Convert from macro to inline function.
27267 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27268 (libc_fesetenv, libc_feupdateenv): Likewise.
27269
27270 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27271 not previously defined.
27272 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27273 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27274 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27275 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27276 * sysdeps/ieee754/flt-32/math_private.h: New file.
27277 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27278 math_private.h below SET_FLOAT_WORD.
27279 (__isnan, __isinf_ns, __finite): Remove.
27280 (__isnanf, __isinf_nsf, __finitef): Remove.
27281
272822012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27283
27284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27285
272862012-03-17 David S. Miller <davem@davemloft.net>
27287
27288 [BZ #6471]
27289 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27290 for 2.16.
27291
272922012-03-16 David S. Miller <davem@davemloft.net>
27293
27294 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27295 warnings.
27296
27297 [BZ #6471]
27298 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27299 properly.
27300 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27301 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27302 sysdep_routines when subdir is sysvipc.
27303 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27304 __getshmlba helper.
27305
27306 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27307
273082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27309
27310 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27311 [__LP64__].
27312
273132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27314
27315 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27316 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27317 (__lround): Renamed to ...
27318 (__llround): This. Replace long int with long long int.
27319 Define lround functions as aliases of llround functions.
27320 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27321
273222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27323
27324 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27325 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27326 adresses to uintptr_t. Replace "long int" and "unsigned long
27327 int" with "greg_t" on va_arg.
27328
273292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27330
27331 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27332 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27333
27334 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27335 Move e_machine check before EI_CLASS check. Handle x32
27336 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27337 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27338 SKIP_EM_IA_64 and include
27339 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27340
27341 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27342 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27343 (add_system_dir): New macro.
27344
27345 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27346 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27347
273482012-03-16 Joseph Myers <joseph@codesourcery.com>
27349
27350 [BZ #2551]
27351 [BZ #2552]
27352 [BZ #2553]
27353 [BZ #2554]
27354 [BZ #2562]
27355 [BZ #2563]
27356 [BZ #2565]
27357 [BZ #2566]
27358 [BZ #2576]
27359 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27360 (y0): Likewise.
27361 * math/w_j0f.c (j0f): Likewise.
27362 (y0f): Likewise.
27363 * math/w_j0l.c (__j0l): Likewise.
27364 (__y0l): Likewise.
27365 * math/w_j1.c (j1): Likewise.
27366 (y1): Likewise.
27367 * math/w_j1f.c (j1f): Likewise.
27368 (y1f): Likewise.
27369 * math/w_j1l.c (__j1l): Likewise.
27370 (__y1l): Likewise.
27371 * math/w_jn.c (jn): Likewise.
27372 (yn): Likewise.
27373 * math/w_jnf.c (jnf): Likewise.
27374 (ynf): Likewise.
27375 * math/w_jnl.c (__jnl): Likewise.
27376 (__ynl): Likewise.
27377 * math/libm-test.inc (j0_test): Add more tests.
27378 (j1_test): Likewise.
27379 (jn_test): Likewise. Add trailing semicolon to existing test.
27380 (y0_test): Likewise.
27381 (y1_test): Likewise.
27382 * sysdeps/i386/fpu/libm-test-ulps: Update.
27383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27384
27385 [BZ #13851]
27386 [BZ #13854]
27387 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27388 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27389 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27390 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27391 (__tanl): Set errno for infinite argument.
27392 * sysdeps/i386/fpu/mptan.c: Remove.
27393 * sysdeps/i386/fpu/s_tan.S: Likewise.
27394 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27395 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27396 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27397 * math/libm-test.inc (tan_test): Add more tests and enable more
27398 tests for double and long double.
27399 * sysdeps/i386/fpu/libm-test-ulps: Update.
27400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27401
274022012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27403
27404 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27405 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27406
274072012-03-16 Roland McGrath <roland@hack.frob.com>
27408
27409 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27410 * configure.in: Use it for both main tree and add-ons.
27411 * configure: Regenerated.
27412
274132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27414
27415 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27416
274172012-03-16 Joseph Myers <joseph@codesourcery.com>
27418
27419 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27420 in comment.
27421
27422 [BZ #13851]
27423 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27424 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27425 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27426 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27427 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27428 infinite argument.
27429 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27430 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27431 != 0 for prec == 2.
27432 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27433 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27434 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27435 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27436 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27437 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27438 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27439 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27440 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27441 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27442 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27443 * math/libm-test.inc (cos_test): Add more tests and enable more
27444 tests for long double.
27445 (sin_test): Likewise.
27446 (sincos_test): Likewise.
27447 * sysdeps/i386/fpu/libm-test-ulps: Update.
27448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27449
274502012-03-16 David S. Miller <davem@davemloft.net>
27451
27452 * sysdeps/sparc/fpu/math_private.h: New file.
27453
274542012-03-15 David S. Miller <davem@davemloft.net>
27455
27456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27457 file.
27458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27460 file.
27461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27466 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27467 sysdep routines.
27468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27469
27470 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27471 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27472
27473 * sysdeps/sparc/sparc-ifunc.h: New file.
27474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27475 sparc-ifunc.h
27476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27478 Likewise.
27479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27480 Likewise.
27481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27485 Likewise.
27486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27491 Likewise.
27492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27493 Likewise.
27494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27512 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27513 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27514 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27515 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27517 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27518
275192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27520
27521 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27522 scaling.
27523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27524
275252012-03-15 Andreas Jaeger <aj@suse.de>
27526
27527 [BZ #13852]
27528 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27529 ieee754/flt-32 implementation for sin, cos and sincos.
27530 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27531 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27532 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27533 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27534 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27535 ieee754/flt-32 implementation for tan.
27536
27537 * math/libm-test.inc (cos_test): Enable some large input tests for
27538 float as well
27539 (sin_test): Likewise.
27540 (sincos_test): Likewise.
27541 (tan_test): Add tests for large input.
27542
27543 * sysdeps/i386/fpu/libm-test-ulps: Update.
27544
275452012-03-15 Andreas Jaeger <aj@suse.de>
27546
27547 [BZ #13658]
27548 * math/libm-test.inc (cos_test): Add more test cases.
27549 (sin_test): Likewise.
27550 (sincos_test): Likewise.
27551
275522012-03-15 Andreas Jaeger <aj@suse.de>
27553
27554 [BZ #13837]
27555 * math/libm-test.inc (cos_test): Add a test case for large input
27556 value.
27557 (sin_test): Likewise.
27558 (sincos_test): Likewise.
27559
275602012-03-15 Andreas Jaeger <aj@suse.de>,
27561 Joseph Myers <joseph@codesourcery.com>
27562
27563 [BZ #13658]
27564 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27565 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27566 * sysdeps/i386/fpu/branred.c: Likewise.
27567 * sysdeps/i386/fpu/dosincos.c: Likewise.
27568 * sysdeps/i386/fpu/mpa.c: Likewise.
27569 * sysdeps/i386/fpu/s_cos.S: Likewise.
27570 * sysdeps/i386/fpu/s_sin.S: Likewise.
27571 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27572 * sysdeps/i386/fpu/sincos32.c: Likewise.
27573
27574 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27575 Define.
27576 (libc_feupdateenv_53bit): Define.
27577 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27578 Define.
27579 (libc_feupdateenv_53bit): Define.
27580
27581 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27582 53 bit (without extend i386 double precision).
27583
27584 * math/libm-test.inc (sincos_test): Add tests for large input.
27585 (sin): Likewise.
27586 (cos): Likewise.
27587
27588 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27589
275902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27591
27592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27593
275942012-03-15 David S. Miller <davem@davemloft.net>
27595
27596 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27597 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27598 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27599 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27612 file.
27613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27615 file.
27616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27618 file.
27619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27621 file.
27622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27624 fmin/fmax sysdep routines.
27625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27626
276272012-03-14 David S. Miller <davem@davemloft.net>
27628
27629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27631 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27633 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27634 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27635 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27636 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27647 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27648 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27649 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27650 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27651 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27652 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27653 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27654 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27657 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27658 routines.
27659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27660 file.
27661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27663 file.
27664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27666 file.
27667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27669 file.
27670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27672 file.
27673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27675 file.
27676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27677 file.
27678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27679 file.
27680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27681 file.
27682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27683 New file.
27684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27685 file.
27686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27687 file.
27688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27690 file.
27691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27693 file.
27694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27696 file.
27697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27699 VIS3 routines.
27700
27701 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27702 New file.
27703
27704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27705
27706 * sysdeps/sparc/configure.in: New file.
27707 * sysdeps/sparc/configure: Generate.
27708 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27709 * configure: Regenerate.
27710 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27711 * config.make.in (have-as-vis3): New.
27712 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27713 available use -Av9d instead of -Av9a.
27714 * sysdeps/sparc/sparc64/Makefile: Likewise.
27715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27717 New file.
27718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27719 file.
27720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27721 New file.
27722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27723 file.
27724 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27728 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27729
27730 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27731 fzeros/fnegs to load 0x80000000 into a float register instead of
27732 using the stack.
27733 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27734
277352012-03-14 Joseph Myers <joseph@codesourcery.com>
27736
27737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27738 bits/syscall.h.
27739 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27740 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27741 ($(inst_includedir)/bits/syscall.h): Remove rule.
27742 ($(objpfx)bits/syscall.d): Include instead of
27743 $(objpfx)syscall-list.d.
27744 (generated): Change syscall-list.h and syscall-list.d to
27745 bits/syscall.h and bits/syscall.d.
27746
277472012-03-14 Roland McGrath <roland@hack.frob.com>
27748
27749 [BZ #13846]
27750 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27751
277522012-03-14 Joseph Myers <joseph@codesourcery.com>
27753
27754 [BZ #13841]
27755 * math/s_csqrt.c: Include <float.h>.
27756 (__csqrt): Scale large or subnormal inputs.
27757 * math/s_csqrtf.c: Likewise.
27758 * math/s_csqrtl.c: Likewise.
27759 * math/libm-test.inc (csqrt_test): Add more tests.
27760 * sysdeps/i386/fpu/libm-test-ulps: Update.
27761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27762
27763 [BZ #13840]
27764 * math/libm-test.inc (hypot_test): Add more tests.
27765
277662012-03-13 David S. Miller <davem@davemloft.net>
27767
27768 [BZ #13840]
27769 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27770 double-precision for the calculation instead of scaling.
27771
277722012-03-13 Joseph Myers <joseph@codesourcery.com>
27773
27774 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27775 manipulate bits before adding and subtracting TWO52[sx].
27776 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27777 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27778 Likewise.
27779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27780
277812012-03-13 David S. Miller <davem@davemloft.net>
27782
27783 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27784 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27786 rtld-global-offsets.h
27787 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27788
27789 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27790 large parameters.
27791
27792 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27793
27794 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27795 'err' in the ifdef scope in which it is actually used.
27796
27797 * nss/nss_db/db-init.c: Include string.h
27798
277992012-03-12 David S. Miller <davem@davemloft.net>
27800
27801 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27802 masking out of the most significant byte of random value used.
27803 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27804 Fix coding style in previous change.
27805
27806 * sysdeps/unix/sysv/linux/kernel-features.h
27807 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27808 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27809 expression.
27810 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27811 later.
27812
278132012-03-11 David S. Miller <davem@davemloft.net>
27814
27815 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27816 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27817 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27818 for 'resultvar' otherwise things get truncated on 64-bit.
27819
27820 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27821 Fix masking out of the most significant byte of random value used.
27822
27823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27824
278252012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27826
27827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27828
278292012-03-09 David S. Miller <davem@davemloft.net>
27830
27831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27832 variables with appropriate CPP guards.
27833 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27834 frame pointer, not the stack pointer. Correct layout comments. Fix test
27835 on resulting framesize and the management of the outregs buffer for pltexit.
27836 Preserve floating point return values across _dl_call_pltexit call.
27837 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27838 framesize and the management of the outregs buffer for pltexit.
27839 Preserve floating point return values across _dl_call_pltexit
27840 call.
27841 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27842 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27843 (print_exit): Fix format string for return register value.
27844
278452012-03-10 Joseph Myers <joseph@codesourcery.com>
27846
27847 * sunrpc/Makefile (others): Add rpcgen.
27848 ($(objpfx)rpcgen): Remove special build rule and dependency on
27849 libc.
27850 * sunrpc/rpcgen.c: New file.
27851
278522012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27853
27854 [BZ #13673]
27855 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27856 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27857 * sysdeps/i386/crti.S: Likewise.
27858 * sysdeps/i386/crtn.S: Likewise.
27859 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27860 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27861 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27862 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27863 * sysdeps/sh/crti.S: Likewise.
27864 * sysdeps/sh/crtn.S: Likewise.
27865 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27866
27867 [BZ #13673]
27868 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27869 with URL.
27870 * locale/programs/locfile-kw.gperf: Likewise.
27871 * locale/programs/charmap-kw.h: Regenerated.
27872 * locale/programs/locfile-kw.h: Likewise.
27873
27874 [BZ #13673]
27875 * intl/plural.y: Replace FSF snail mail address with URL.
27876 * intl/plural.c: Regenerated.
27877
278782012-03-09 Richard Henderson <rth@twiddle.net>
27879
27880 * include/math_private.h: Remove file.
27881 * math/math_private.h: Move file ...
27882 * sysdeps/generic/math_private.h: ... here.
27883
27884 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27885 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27886 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27887
27888 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27889 and <math_private.h>.
27890 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27891 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27892 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27893 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27894 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27895 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27896 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27897 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27898 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27899 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27901 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27902 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27903 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27904 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27905 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27906 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27907 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27908 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27909 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27911 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27912 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27914 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27915 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27916 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27917 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27919 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27920 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27922 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27923 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27924 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27925 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27926 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27927 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27928 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27929 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27930 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27931 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27932 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27933 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27934 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27935 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27936 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27937 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27938 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27939 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27940 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27941 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27942 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27943 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27944 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27945 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27946 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27947 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27948 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27949 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27950 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27951 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27953 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27954 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27955 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27956 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27957 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27958 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27959 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27960 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27961 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27963 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27964 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27965 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27966 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27969 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27970 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27971 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27972 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27973 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27974 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27977 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27978 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27979 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27980 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27981 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27982 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27983 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27984 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27985 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27986 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27987 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27988 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27989 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27990 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27991 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27992 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27993 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27994 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27995 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27996 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27997 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27998 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27999 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28000 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28001 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28002 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28003 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28004 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28005 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28006 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28007 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28008 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28009 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28010 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28011 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28012 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28013 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28014 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28015 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28016 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28017 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28018 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28019 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28020 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28021 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28022 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28023 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28024 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28025 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28026 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28027 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28028 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28029 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28030 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28031 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28032 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28033 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28034 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28035 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28036 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28037 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28038 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28039 * sysdeps/ieee754/k_standard.c: Likewise.
28040 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28041 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28042 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28043 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28044 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28045 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28046 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28047 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28048 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28049 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28050 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28051 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28052 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28053 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28054 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28055 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28056 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28057 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28058 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28059 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28060 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28061 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28062 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28063 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28064 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28065 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28066 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28067 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28068 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28069 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28070 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28071 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28072 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28073 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28074 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28075 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28076 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28077 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28078 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28079 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28080 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28081 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28082 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28083 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28084 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28085 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28086 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28087 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28088 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28089 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28090 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28091 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28092 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28093 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28094 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28095 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28096 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28097 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28099 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28100 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28101 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28102 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28103 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28104 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28106 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28107 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28108 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28109 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28110 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28112 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28113 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28114 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28115 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28116 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28117 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28119 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28120 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28121 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28122 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28123 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28124 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28125 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28126 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28127 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28128 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28130 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28131 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28132 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28133 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28134 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28135 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28136 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28137 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28138 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28139 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28141 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28142 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28143 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28144 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28145 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28146 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28147 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28148 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28149 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28150 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28151 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28152 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28153 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28154 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28155 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28156 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28157 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28158 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28159 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28160 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28161 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28162 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28163 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28164 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28165 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28166 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28167 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28168 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28169 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28170 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28171 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28172 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28173 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28174 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28175 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28176 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28177 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28178 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28179 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28180 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28181 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28182 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28183 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28184 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28185 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28186 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28187 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28188 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28189 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28190 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28191 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28192 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28193 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28194 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28195 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28196 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28197 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28198 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28199 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28200 * sysdeps/ieee754/s_lib_version.c: Likewise.
28201 * sysdeps/ieee754/s_matherr.c: Likewise.
28202 * sysdeps/ieee754/s_signgam.c: Likewise.
28203 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28204 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28205 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28206 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28207 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28208 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28209 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28210 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28211 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28212 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28213 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28214 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28215 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28216 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28217 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28218 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28219 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28220 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28221 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28222 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28223 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28224
282252012-03-09 Joseph Myers <joseph@codesourcery.com>
28226
28227 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28228 * sunrpc/rpc_main.c: Likewise.
28229 * sunrpc/rpc_svcout.c: Likewise.
28230
282312012-03-09 David S. Miller <davem@davemloft.net>
28232
28233 * include/math_private.h: New file.
28234
282352012-03-09 Joseph Myers <joseph@codesourcery.com>
28236
28237 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28238 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28239 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28240 from <bits/socket_type.h>.
28241 (enum __socket_type): Don't define here.
28242 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28244 bits/socket_type.h.
28245
28246 [BZ #13566]
28247 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28248 checking __USE_GNU.
28249
28250 * Makerules ($(inst_includedir)/%.h): New rule.
28251 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28252 (install-others): Remove variable setting.
28253 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28254
282552012-03-08 Richard Henderson <rth@twiddle.net>
28256
28257 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28258 from macro to inline function; merge with the
28259 !__LIBC_INTERNAL_MATH_INLINES version.
28260 (__ieee754_sqrtf): Likewise.
28261
28262 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28263 to inline function.
28264 (__rintf, __floor, __floorf): Likewise.
28265
28266 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28267 macro to inline function.
28268 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28269
28270 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28271 not <math/math_private.h>.
28272
282732012-03-08 David S. Miller <davem@davemloft.net>
28274
28275 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28276 copyright year.
28277 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28278
282792012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28280
28281 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28282 normalization.
28283 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28284 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28285
282862012-03-08 Ulrich Drepper <drepper@gmail.com>
28287
28288 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28289 be defined individually, they must be defined as a block. Define
28290 S for printing a string instead of hidint the different by using a
28291 macro for adding the 'l'.
28292 * stdio-common/tst-fphex-wide.c: Adjust.
28293
282942012-03-07 Marek Polacek <polacek@redhat.com>
28295
28296 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28297
282982012-03-08 Marek Polacek <polacek@redhat.com>
28299
28300 [BZ #13806]
28301 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28302 * stdio-common/tst-fphex.c: Define a few macros to make the
28303 test reusable. Use them.
28304 * stdio-common/tst-fphex-wide.c: New file.
28305
283062012-03-08 Joseph Myers <joseph@codesourcery.com>
28307
28308 [BZ #6911]
28309 * manual/macros.texi (gnusystems): New macro.
28310 (nongnusystems): Likewise.
28311 (gnulinuxhurdsystems): Likewise.
28312 (gnuhurdsystems): Likewise..
28313 (gnulinuxsystems): Likewise.
28314 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28315 variants of the GNU system, not "GNU system".
28316 * manual/conf.texi: Likewise.
28317 * manual/errno.texi: Likewise. Update example of errno macro
28318 expansion.
28319 * manual/filesys.texi: Likewise.
28320 (getumask): Document as specific to GNU/Hurd.
28321 * manual/install.texi: Likewise. Reword some references to
28322 GNU/Linux.
28323 * manual/intro.texi: Likewise.
28324 * manual/io.texi: Likewise.
28325 (File Name Portability): Detail which constraints are inapplicable
28326 to all GNU systems and which are only inapplicable to GNU/Hurd.
28327 * manual/job.texi: Likewise.
28328 * manual/llio.texi: Likewise.
28329 (O_NOCTTY): Document as present on GNU/Linux.
28330 * manual/maint.texi: Likewise.
28331 * manual/memory.texi: Likewise.
28332 * manual/pattern.texi: Likewise.
28333 * manual/pipe.texi: Likewise.
28334 * manual/process.texi: Likewise.
28335 * manual/resource.texi: Likewise.
28336 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28337 child on GNU/Hurd.
28338 * manual/setjmp.texi: Likewise.
28339 * manual/signal.texi: Likewise.
28340 * manual/startup.texi: Likewise.
28341 * manual/stdio.texi: Likewise.
28342 * manual/terminal.texi: Likewise.
28343 (ONLCR): Document as POSIX.
28344 (OXTABS): Document availability on GNU/Linux as XTABS.
28345 (ONOEOT): Document availability separately from other bits.
28346 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28347 * manual/time.texi: Likewise.
28348 * manual/users.texi: Likewise.
28349 * INSTALL: Regenerated.
28350 * sysdeps/gnu/errlist.c: Regenerated.
28351
28352 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28353 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28354 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28355 puts.
28356 * configure: Regenerated.
28357
283582012-03-07 Joseph Myers <joseph@codesourcery.com>
28359
28360 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28361 default includes instead of AC_HEADER_CHECK.
28362 * sysdeps/i386/configure: Regenerated.
28363
28364 [BZ #10716]
28365 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28366 * math/s_cacoshf.c (__cacoshf): Likewise.
28367 * math/s_cacoshl.c (__cacoshl): Likewise.
28368 * math/s_casinh.c (__casinh): Set signs of result from argument.
28369 * math/s_casinhf.c (__casinhf): Likewise.
28370 * math/s_casinhl.c (__casinhl): Likewise.
28371 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28372 (casinh_test): Add more tests.
28373 * sysdeps/i386/fpu/libm-test-ulps: Update.
28374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28375
283762012-03-07 Ulrich Drepper <drepper@gmail.com>
28377
28378 * po/zh_TW.po: Update from translation team.
28379
28380 * login/Makefile (distribute): Remove variable.
28381 * catgets/Makefile: Likewise.
28382 * mach/Makefile: Likewise.
28383 * malloc/Makefile: Likewise.
28384 * misc/Makefile: Likewise.
28385 * iconv/Makefile: Likewise.
28386 * nscd/Makefile: Likewise.
28387 * hurd/Makefile: Likewise.
28388 * manual/Makefile: Likewise.
28389 * locale/Makefile: Likewise.
28390 * intl/Makefile: Likewise.
28391 * conform/Makefile: Likewise.
28392 * nss/Makefile: Likewise.
28393 * time/Makefile: Likewise.
28394 * soft-fp/Makefile: Likewise.
28395 * dirent/Makefile: Likewise.
28396 * gmon/Makefile: Likewise.
28397 * po/Makefile: Likewise.
28398 * rt/Makefile: Likewise.
28399 * socket/Makefile: Likewise.
28400 * math/Makefile: Likewise.
28401 * signal/Makefile: Likewise.
28402 * debug/Makefile: Likewise.
28403 * elf/Makefile: Likewise.
28404 * timezone/Makefile: Likewise.
28405 * stdlib/Makefile: Likewise.
28406 * iconvdata/Makefile: Likewise.
28407 * sunrpc/Makefile: Likewise.
28408 * io/Makefile: Likewise.
28409 * argp/Makefile: Likewise.
28410 * inet/Makefile: Likewise.
28411 * hesiod/Makefile: Likewise.
28412 * grp/Makefile: Likewise.
28413 * csu/Makefile: Likewise.
28414 * wctype/Makefile: Likewise.
28415 * crypt/Makefile: Likewise.
28416 * libio/Makefile: Likewise.
28417 * string/Makefile: Likewise.
28418 * nis/Makefile: Likewise.
28419 * resolv/Makefile: Likewise.
28420 * stdio-common/Makefile: Likewise.
28421 * wcsmbs/Makefile: Likewise.
28422 * dlfcn/Makefile: Likewise.
28423 * posix/Makefile: Likewise.
28424
28425 [BZ #6959]
28426 * timezone/Makefile: Don't install timezone files, just the programs
28427 and scripts.
28428
284292012-03-06 Ulrich Drepper <drepper@gmail.com>
28430
28431 * nss/databases.def: Add missing gshadow entry.
28432
28433 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28434
284352012-03-06 Marek Polacek <polacek@redhat.com>
28436
28437 [BZ #13726]
28438 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28439 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28440 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28441 * stdio-common/tst-long-dbl-fphex.c: New file.
28442
284432012-03-06 David S. Miller <davem@davemloft.net>
28444
28445 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28446 (set_obp_int): New function.
28447 (get_obp_int): New function.
28448 (__get_clockfreq_via_dev_openprom): Likewise.
28449 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28450 Avoid unused variable warnings on 'val' and use builtin_expect.
28451 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28452 __builtin_expect.
28453 (INLINE_CLONE_SYSCALL): Likewise.
28454
284552012-03-05 David S. Miller <davem@davemloft.net>
28456
28457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28458
284592012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28460
28461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28462
28463 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28464 only for |x| >= 40.
28465 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28466
284672012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28468
28469 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28470 Replace gettimeofday with __vdso_gettimeofday.
28471
28472 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28473 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28474 __vdso_clock_gettime and __vdso_getcpu.
28475
28476 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28477 time with __vdso_time.
28478
284792012-03-05 Joseph Myers <joseph@codesourcery.com>
28480
28481 * manual/lang.texi (size_t): Note types to which size_t may be
28482 equivalent with the GNU C Library, but do not describe when
28483 differences between them are significant.
28484
284852012-03-05 Andreas Jaeger <aj@suse.de>
28486
28487 * sysdeps/i386/fpu/libm-test-ulps: Update.
28488
284892012-03-05 Joseph Myers <joseph@codesourcery.com>
28490
28491 [BZ #3976]
28492 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28493 (__ieee754_pow): Save and restore rounding mode and use
28494 round-to-nearest for main computations.
28495 * math/libm-test.inc (pow_test_tonearest): New function.
28496 (pow_test_towardzero): Likewise.
28497 (pow_test_downward): Likewise.
28498 (pow_test_upward): Likewise.
28499 (main): Call the new functions.
28500 * sysdeps/i386/fpu/libm-test-ulps: Update.
28501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28502
28503 [BZ #3976]
28504 * math/libm-test.inc (cosh_test_tonearest): New function.
28505 (cosh_test_towardzero): Likewise.
28506 (cosh_test_downward): Likewise.
28507 (cosh_test_upward): Likewise.
28508 (sinh_test_tonearest): Likewise.
28509 (sinh_test_towardzero): Likewise.
28510 (sinh_test_downward): Likewise.
28511 (sinh_test_upward): Likewise.
28512 (main): Call the new functions.
28513 * sysdeps/i386/fpu/libm-test-ulps: Update.
28514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28515
285162012-03-05 Tom de Vries <tom@codesourcery.com>
28517
28518 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28519 default stack guard is set in last bytes.
28520 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28521
285222012-03-05 Kees Cook <keescook@chromium.org>
28523
28524 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28525
28526 [BZ #13656]
28527 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28528 possibly allocate from heap instead of stack.
28529 * stdio-common/bug-vfprintf-nargs.c: New file.
28530 * stdio-common/Makefile (tests): Add nargs overflow test.
28531
285322012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28533
28534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28535
285362012-03-03 Marek Polacek <polacek@redhat.com>
28537
28538 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28539 * math/math_private.h: Likewise.
28540 * stdlib/tst-strtod.c: Likewise.
28541 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28542 * sysdeps/x86_64/bits/atomic.h: Likewise.
28543
285442012-03-02 David S. Miller <davem@davemloft.net>
28545
28546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28550 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28551 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28552 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28553 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28554
285552012-03-02 Roland McGrath <roland@hack.frob.com>
28556
28557 [BZ #13792]
28558 * manual/examples/README: New file, says the example source files
28559 can be used under GPL>=2.
28560 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28561 line containing just "*/".
28562 * manual/examples/add.c: Add copyright header (GPL>=2).
28563 * manual/examples/argp-ex1.c: Likewise.
28564 * manual/examples/argp-ex2.c: Likewise.
28565 * manual/examples/argp-ex3.c: Likewise.
28566 * manual/examples/argp-ex4.c: Likewise.
28567 * manual/examples/atexit.c: Likewise.
28568 * manual/examples/db.c: Likewise.
28569 * manual/examples/dir.c: Likewise.
28570 * manual/examples/dir2.c: Likewise.
28571 * manual/examples/execinfo.c: Likewise.
28572 * manual/examples/filecli.c: Likewise.
28573 * manual/examples/filesrv.c: Likewise.
28574 * manual/examples/fmtmsgexpl.c: Likewise.
28575 * manual/examples/genpass.c: Likewise.
28576 * manual/examples/inetcli.c: Likewise.
28577 * manual/examples/inetsrv.c: Likewise.
28578 * manual/examples/isockad.c: Likewise.
28579 * manual/examples/longopt.c: Likewise.
28580 * manual/examples/memopen.c: Likewise.
28581 * manual/examples/memstrm.c: Likewise.
28582 * manual/examples/mkfsock.c: Likewise.
28583 * manual/examples/mkisock.c: Likewise.
28584 * manual/examples/mygetpass.c: Likewise.
28585 * manual/examples/pipe.c: Likewise.
28586 * manual/examples/popen.c: Likewise.
28587 * manual/examples/rprintf.c: Likewise.
28588 * manual/examples/search.c: Likewise.
28589 * manual/examples/select.c: Likewise.
28590 * manual/examples/setjmp.c: Likewise.
28591 * manual/examples/sigh1.c: Likewise.
28592 * manual/examples/sigusr.c: Likewise.
28593 * manual/examples/stpcpy.c: Likewise.
28594 * manual/examples/strdupa.c: Likewise.
28595 * manual/examples/strftim.c: Likewise.
28596 * manual/examples/strncat.c: Likewise.
28597 * manual/examples/subopt.c: Likewise.
28598 * manual/examples/swapcontext.c: Likewise.
28599 * manual/examples/termios.c: Likewise.
28600 * manual/examples/testopt.c: Likewise.
28601 * manual/examples/testpass.c: Likewise.
28602 * manual/examples/timeval_subtract.c: Likewise.
28603
28604 [BZ #13792]
28605 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28606 function to ...
28607 * manual/timeval_subtract.c.texi: ... here, new file.
28608
286092012-03-02 David S. Miller <davem@davemloft.net>
28610
28611 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28612
286132012-03-02 Joseph Myers <joseph@codesourcery.com>
28614
28615 [BZ #3976]
28616 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28617 (__sin): Save and restore rounding mode and use round-to-nearest
28618 for all computations.
28619 (__cos): Save and restore rounding mode and use round-to-nearest
28620 for all computations.
28621 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28622 <fenv.h>.
28623 (tan): Save and restore rounding mode and use round-to-nearest for
28624 all computations.
28625 * math/libm-test.inc (cos_test_tonearest): New function.
28626 (cos_test_towardzero): Likewise.
28627 (cos_test_downward): Likewise.
28628 (cos_test_upward): Likewise.
28629 (sin_test_tonearest): Likewise.
28630 (sin_test_towardzero): Likewise.
28631 (sin_test_downward): Likewise.
28632 (sin_test_upward): Likewise.
28633 (tan_test_tonearest): Likewise.
28634 (tan_test_towardzero): Likewise.
28635 (tan_test_downward): Likewise.
28636 (tan_test_upward): Likewise.
28637 (main): Call the new functions.
28638 * sysdeps/i386/fpu/libm-test-ulps: Update.
28639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28640
28641 [BZ #10135]
28642 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28643 small n, then large n, before computing and testing k+n.
28644 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28645 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28646 Likewise.
28647 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28648 Likewise.
28649 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28650 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28651 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28652 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28653 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28654 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28655 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28656 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28657 * math/libm-test.inc (scalbn_test): Add more tests.
28658 (scalbln_test): Likewise.
28659
28660 * manual/filesys.texi (mode_t): Describe constraints on size and
28661 signedness, not exact equivalence to a particular type.
28662 (ino_t): Likewise.
28663 (ino64_t): Likewise.
28664 (dev_t): Likewise.
28665 (nlink_t): Likewise.
28666 (blkcnt_t): Likewise.
28667 (blkcnt64_t): Likewise.
28668 * manual/llio.texi (off_t): Likewise.
28669
28670 [BZ #3976]
28671 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28672 (__ieee754_exp): Save and restore rounding mode and use
28673 round-to-nearest for all computations.
28674 * math/libm-test.inc (exp_test_tonearest): New function.
28675 (exp_test_towardzero): Likewise.
28676 (exp_test_downward): Likewise.
28677 (exp_test_upward): Likewise.
28678 (main): Call the new functions.
28679 * sysdeps/i386/fpu/libm-test-ulps: Update.
28680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28681
286822012-03-01 Chris Demetriou <cgd@google.com>
28683
28684 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28685 have predictable order.
28686
286872012-03-01 David S. Miller <davem@davemloft.net>
28688
28689 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28690
28691 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28692 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28693 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28694 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28695
28696 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28697 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28698 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28700 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28701 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28702 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28703 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28704 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28705
28706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28707
28708 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28709 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28710 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28711
28712 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28713 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28714 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28715 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28716 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28717 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28718 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28719 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28720 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28721 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28722 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28723 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28725 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28726 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28727 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28728 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28729 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28730 * sysdeps/sparc/elf/configure: Regenerated.
28731
287322012-03-01 Joseph Myers <joseph@codesourcery.com>
28733
28734 * configure.in (AS, LD): Require binutils 2.20 or later.
28735 * configure: Regenerated.
28736 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28737 as required minimum version.
28738 * INSTALL: Regenerated.
28739
28740 [BZ #2541]
28741 [BZ #4108]
28742 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28743 before squaring exponent.
28744 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28745 bottom long double and 27 bits of top long double before squaring
28746 exponent.
28747 * math/libm-test.inc (erfc_test): Add more tests.
28748 * sysdeps/i386/fpu/libm-test-ulps: Update.
28749 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28751
287522012-03-01 Kai Tietz <ktietz@redhat.com>
28753
28754 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28755 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28756 containing bit-fields.
28757 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28758 * soft-fp/single.h (_FP_UNION_S): Likewise.
28759 * soft-fp/double.h (_FP_UNION_D): Likewise.
28760
287612012-02-29 Joseph Myers <joseph@codesourcery.com>
28762
28763 [BZ #13786]
28764 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28765 not include ../strcmp.S.
28766 [USE_AS_STRNCASECMP_L]: Likewise.
28767 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28768 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28769 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28770 (__strncasecmp_l_ia32): Define as alias to
28771 __strncasecmp_l_nonascii.
28772
28773 [BZ #5794]
28774 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28775 * sysdeps/i386/fpu/libm-test-ulps: Update.
28776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28777
28778 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28780
287812012-02-29 Jeff Law <law@redhat.com>
28782
28783 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28784 out of bounds read.
28785
287862012-02-29 Marek Polacek <polacek@redhat.com>
28787
28788 [BZ #13706]
28789 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28790 * elf/Makefile: Add rules to run tst-unused-dep.out.
28791
287922012-02-28 David S. Miller <davem@davemloft.net>
28793
28794 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28795 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28796 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28797 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28798 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28799 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28800
288012012-02-29 Joseph Myers <joseph@codesourcery.com>
28802
28803 * math/libm-test.inc (llround_test): Move one test from
28804 lround_test. Use TEST_f_L in moved test.
28805 (lround_test): Move misplaced test to llround_test. Add testcase
28806 from bug 2561.
28807
288082012-02-28 Ulrich Drepper <drepper@gmail.com>
28809
28810 * sysdeps/x86_64/fpu/e_expf.S: New file.
28811 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28812
288132012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28814
28815 [BZ #13637]
28816 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28817 of remain_len that may cause incomplete multi-byte character and
28818 false match.
28819 * posix/bug-regex33.c: New file.
28820 * posix/Makefile (tests): Add bug-regex33.
28821
288222012-02-28 Joseph Myers <joseph@codesourcery.com>
28823
28824 * manual/macros.texi: New file.
28825 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28826 * manual/libc.texinfo: Include macros.texi.
28827 * manual/creatute.texi: Likewise.
28828 * manual/install.texi: Likewise.
28829 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28830 @glibcadj{} in references to the GNU C Library.
28831 * manual/charset.texi: Likewise.
28832 * manual/conf.texi: Likewise.
28833 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28834 when not using those macros.
28835 * manual/creature.texi: Likewise.
28836 * manual/crypt.texi: Likewise.
28837 * manual/errno.texi: Likewise.
28838 * manual/filesys.texi: Likewise.
28839 * manual/header.texi: Likewise.
28840 * manual/install.texi: Likewise.
28841 * manual/intro.texi: Likewise.
28842 * manual/io.texi: Likewise.
28843 * manual/job.texi: Likewise.
28844 * manual/lang.texi: Likewise.
28845 * manual/libc.texiinfo: Likewise.
28846 * manual/llio.texi: Likewise.
28847 * manual/locale.texi: Likewise.
28848 * manual/maint.texi: Likewise.
28849 * manual/math.texi: Likewise.
28850 * manual/memory.texi: Likewise.
28851 * manual/message.texi: Likewise.
28852 * manual/nss.texi: Likewise.
28853 * manual/pattern.texi: Likewise.
28854 * manual/process.texi: Likewise.
28855 * manual/resource.texi: Likewise.
28856 * manual/search.texi: Likewise.
28857 * manual/setjmp.texi: Likewise.
28858 * manual/signal.texi: Likewise.
28859 * manual/socket.texi: Likewise.
28860 * manual/startup.texi: Likewise.
28861 * manual/stdio.texi: Likewise.
28862 * manual/string.texi: Likewise.
28863 * manual/sysinfo.texi: Likewise.
28864 * manual/syslog.texi: Likewise.
28865 * manual/terminal.texi: Likewise.
28866 * manual/time.texi: Likewise.
28867 * manual/users.texi: Likewise.
28868 * INSTALL: Regenerated.
28869 * NOTES: Regenerated.
28870 * sysdeps/gnu/errlist.c: Regenerated.
28871
288722012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28873
28874 * include/dirent.h: Include <dirstream.h> before
28875 <dirent/dirent.h>.
28876
288772012-02-28 David S. Miller <davem@davemloft.net>
28878
28879 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28880 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28881 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28882 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28883
288842012-02-27 David S. Miller <davem@davemloft.net>
28885
28886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28888 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28889 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28890
28891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28892 frame pointer instead of stack pointer relative arg slot.
28893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28894 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28895 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28896
288972012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28898
28899 [BZ #3992]
28900 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28901
289022012-02-27 David S. Miller <davem@davemloft.net>
28903
28904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28908 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28909 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28910 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28911 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28912
289132012-02-27 Joseph Myers <joseph@codesourcery.com>
28914
28915 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28916 later. Allow versions 5-9.
28917 * configure: Regenerated.
28918 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28919 required minimum version and 4.6 as recommended version. Do not
28920 mention bugs in GCC 2.7 and 2.8.
28921 * INSTALL: Regenerated.
28922
289232012-02-27 David S. Miller <davem@davemloft.net>
28924
28925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28929 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28930 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28931 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28932 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28933
28934 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28935 manipulate bits before adding and subtracting TWO112[sx].
28936 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28937
289382012-02-27 Roland McGrath <roland@hack.frob.com>
28939
28940 [BZ #13775]
28941 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28942 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28943 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28944 being in POSIX, because they are in 1003.1-2008.
28945
28946 * rt/tst-aio.c: Include <fcntl.h>.
28947 * rt/tst-aio7.c: Likewise.
28948 * rt/tst-aio64.c: Likewise.
28949
28950 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28951
289522012-02-27 Joseph Myers <joseph@codesourcery.com>
28953
28954 * manual/install.texi (--with-headers): Describe headers as
28955 interface headers, not private headers.
28956 (Specific advice for GNU/Linux systems): Describe use of headers
28957 from "make headers_install", not private headers from older
28958 kernels.
28959 * INSTALL: Regenerated.
28960 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28961 Change to 2.6.19.
28962 * sysdeps/unix/sysv/linux/configure: Regenerated.
28963
28964 * manual/llio.texi (fclean): Remove documentation.
28965
28966 * manual/Makefile (libc-texi-generated): New variable. Include
28967 version.texi.
28968 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28969 $(libc-texi-generated), not duplicated list of files.
28970 (version.texi, stamp-version): New rules.
28971 (realclean): Remove $(libc-texi-generated), not individual files
28972 from that list. Do not remove dir-add.texinfo.
28973 * manual/libc.texinfo: Comment out uses of edition numbers and
28974 references to printed manual. Remove last-updated dates.
28975 (EDITION): Comment out.
28976 (ISBN): Likewise.
28977 (VERSION, UPDATED): Remove.
28978 (version.texi): Include.
28979
289802012-02-27 Andreas Schwab <schwab@linux-m68k.org>
28981
28982 * sysdeps/posix/spawni.c: Include <signal.h>.
28983 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28984 * sysdeps/pthread/aio_fsync.c: Likewise.
28985
289862012-02-26 Ulrich Drepper <drepper@gmail.com>
28987
28988 * conform/Makefile (tests): Run only when not cross-compiling and
28989 when fast-check is not defined.
28990
28991 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28992 * conform/data/limits.h-data: Fixes for POSIX2008.
28993 * conform/run-conformtest.sh: Run all tests.
28994 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28995 headers.
28996 * include/bits/dlfcn.h: Likewise.
28997 * include/langinfo.h: Likewise.
28998 * include/monetary.h: Likewise.
28999 * include/sys/poll.h: Likewise.
29000
29001 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29002 for __USE_GNU.
29003 * posix/spawn.h: Define __need_sigset_t.
29004 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29005 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29006 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29007 to get sigevent_t only.
29008 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29009 only for __USE_GNU.
29010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29011 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29012 process_vm_writev only for __USE_GNU.
29013 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29014
29015 * conform/Makefile: For now ignore errors from run-conformtest.
29016 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29017 POSIX to avoid namespace pollution. Don't prepend headers.
29018 * conform/data/aio.h-data: Fixes for POSIX testing.
29019 * conform/data/fcntl.h-data: Likewise.
29020 * conform/data/glob.h-data: Likewise.
29021 * conform/data/grp.h-data: Likewise.
29022 * conform/data/pthread.h-data: Likewise.
29023 * conform/data/pwd.h-data: Likewise.
29024 * conform/data/signal.h-data: Likewise.
29025 * conform/data/spawn.h-data: Likewise.
29026 * conform/data/stdio.h-data: Likewise.
29027 * conform/data/stdlib.h-data: Likewise.
29028 * conform/data/stropts.h-data: Likewise.
29029 * conform/data/sys/mman.h-data: Likewise.
29030 * conform/data/sys/stat.h-data: Likewise.
29031 * conform/data/sys/types.h-data: Likewise.
29032 * conform/data/sys/wait.h-data: Likewise.
29033 * conform/data/time.h-data: Likewise.
29034 * conform/data/unistd.h-data: Likewise.
29035 * conform/data/utime.h-data: Likewise.
29036
29037 * io/sys/stat.h: fchmod was always in POSIX.
29038 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29039 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29040 * rt/aio.h: Define __need_timespec before including <time.h>.
29041 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29042 struct. Add forward declaration of pthread_attr_t and use it in
29043 sigevent.
29044 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29045 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29046 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29047 always remove CLK_TCK definition.
29048
290492012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29050
29051 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29052
290532012-02-25 Ulrich Drepper <drepper@gmail.com>
29054
29055 * conform/run-conformtest.sh: New file.
29056 * conform/Makefile: Run run-conformtest for tests.
29057 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29058 support.
29059
29060 * conform/data/uchar.h-data: New file.
29061 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29062 * conform/data/arpa/inet.h-data: Likewise.
29063 * conform/data/assert.h-data: Likewise.
29064 * conform/data/complex.h-data: Likewise.
29065 * conform/data/cpio.h-data: Likewise.
29066 * conform/data/ctype.h-data: Likewise.
29067 * conform/data/dirent.h-data: Likewise.
29068 * conform/data/dlfcn.h-data: Likewise.
29069 * conform/data/errno.h-data: Likewise.
29070 * conform/data/fcntl.h-data: Likewise.
29071 * conform/data/float.h-data: Likewise.
29072 * conform/data/fmtmsg.h-data: Likewise.
29073 * conform/data/fnmatch.h-data: Likewise.
29074 * conform/data/ftw.h-data: Likewise.
29075 * conform/data/glob.h-data: Likewise.
29076 * conform/data/grp.h-data: Likewise.
29077 * conform/data/iconv.h-data: Likewise.
29078 * conform/data/inttypes.h-data: Likewise.
29079 * conform/data/langinfo.h-data: Likewise.
29080 * conform/data/libgen.h-data: Likewise.
29081 * conform/data/limits.h-data: Likewise.
29082 * conform/data/locale.h-data: Likewise.
29083 * conform/data/math.h-data: Likewise.
29084 * conform/data/monetary.h-data: Likewise.
29085 * conform/data/mqueue.h-data: Likewise.
29086 * conform/data/ndbm.h-data: Likewise.
29087 * conform/data/net/if.h-data: Likewise.
29088 * conform/data/netdb.h-data: Likewise.
29089 * conform/data/netinet/in.h-data: Likewise.
29090 * conform/data/nl_types.h-data: Likewise.
29091 * conform/data/poll.h-data: Likewise.
29092 * conform/data/pthread.h-data: Likewise.
29093 * conform/data/pwd.h-data: Likewise.
29094 * conform/data/regex.h-data: Likewise.
29095 * conform/data/sched.h-data: Likewise.
29096 * conform/data/search.h-data: Likewise.
29097 * conform/data/semaphore.h-data: Likewise.
29098 * conform/data/setjmp.h-data: Likewise.
29099 * conform/data/signal.h-data: Likewise.
29100 * conform/data/spawn.h-data: Likewise.
29101 * conform/data/stdarg.h-data: Likewise.
29102 * conform/data/stdio.h-data: Likewise.
29103 * conform/data/stdlib.h-data: Likewise.
29104 * conform/data/string.h-data: Likewise.
29105 * conform/data/strings.h-data: Likewise.
29106 * conform/data/stropts.h-data: Likewise.
29107 * conform/data/sys/ipc.h-data: Likewise.
29108 * conform/data/sys/mman.h-data: Likewise.
29109 * conform/data/sys/msg.h-data: Likewise.
29110 * conform/data/sys/resource.h-data: Likewise.
29111 * conform/data/sys/select.h-data: Likewise.
29112 * conform/data/sys/sem.h-data: Likewise.
29113 * conform/data/sys/shm.h-data: Likewise.
29114 * conform/data/sys/socket.h-data: Likewise.
29115 * conform/data/sys/stat.h-data: Likewise.
29116 * conform/data/sys/statvfs.h-data: Likewise.
29117 * conform/data/sys/time.h-data: Likewise.
29118 * conform/data/sys/timeb.h-data: Likewise.
29119 * conform/data/sys/times.h-data: Likewise.
29120 * conform/data/sys/types.h-data: Likewise.
29121 * conform/data/sys/uio.h-data: Likewise.
29122 * conform/data/sys/un.h-data: Likewise.
29123 * conform/data/sys/utsname.h-data: Likewise.
29124 * conform/data/sys/wait.h-data: Likewise.
29125 * conform/data/syslog.h-data: Likewise.
29126 * conform/data/tar.h-data: Likewise.
29127 * conform/data/termios.h-data: Likewise.
29128 * conform/data/utime.h-data: Likewise.
29129 * conform/data/utmpx.h-data: Likewise.
29130 * conform/data/varargs.h-data: Likewise.
29131 * conform/data/wchar.h-data: Likewise.
29132 * conform/data/wctype.h-data: Likewise.
29133 * conform/data/wordexp.h-data: Likewise.
29134
29135 * include/stropts.h: New file.
29136 * include/uchar.h: New file.
29137 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29138 * include/assert.h: Likewise.
29139 * include/ctype.h: Likewise.
29140 * include/dirent.h: Likewise.
29141 * include/dlfcn.h: Likewise.
29142 * include/fcntl.h: Likewise.
29143 * include/fnmatch.h: Likewise.
29144 * include/glob.h: Likewise.
29145 * include/grp.h: Likewise.
29146 * include/libio.h: Likewise.
29147 * include/locale.h: Likewise.
29148 * include/math.h: Likewise.
29149 * include/net/if.h: Likewise.
29150 * include/netdb.h: Likewise.
29151 * include/netinet/in.h: Likewise.
29152 * include/pthread.h: Likewise.
29153 * include/pwd.h: Likewise.
29154 * include/regex.h: Likewise.
29155 * include/sched.h: Likewise.
29156 * include/search.h: Likewise.
29157 * include/setjmp.h: Likewise.
29158 * include/signal.h: Likewise.
29159 * include/stdio.h: Likewise.
29160 * include/stdlib.h: Likewise.
29161 * include/string.h: Likewise.
29162 * include/sys/cdefs.h: Likewise.
29163 * include/sys/mman.h: Likewise.
29164 * include/sys/msg.h: Likewise.
29165 * include/sys/resource.h: Likewise.
29166 * include/sys/select.h: Likewise.
29167 * include/sys/socket.h: Likewise.
29168 * include/sys/stat.h: Likewise.
29169 * include/sys/statvfs.h: Likewise.
29170 * include/sys/time.h: Likewise.
29171 * include/sys/times.h: Likewise.
29172 * include/sys/uio.h: Likewise.
29173 * include/sys/utsname.h: Likewise.
29174 * include/sys/wait.h: Likewise.
29175 * include/termios.h: Likewise.
29176 * include/time.h: Likewise.
29177 * include/ulimit.h: Likewise.
29178 * include/unistd.h: Likewise.
29179 * include/utime.h: Likewise.
29180 * include/wchar.h: Likewise.
29181 * include/wctype.h: Likewise.
29182 * include/wordexp.h: Likewise.
29183
29184 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29185
29186 * time/time.h: TIME_UTC must be a macro.
29187 Make timespec_get available for ISO C11 only as well.
29188
291892012-02-24 Ulrich Drepper <drepper@gmail.com>
29190
29191 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29192 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29193
291942012-02-24 Joseph Myers <joseph@codesourcery.com>
29195
29196 * configure.in: Use -o not -a in test for unsupported multi-arch.
29197
291982012-02-24 Joseph Myers <joseph@codesourcery.com>
29199
29200 * manual/texinfo.tex: Update to version 2012-01-19.16.
29201
292022012-02-24 Joseph Myers <joseph@codesourcery.com>
29203
29204 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29205
292062012-02-24 Roland McGrath <roland@hack.frob.com>
29207
29208 [BZ #13738]
29209 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29210 * manual/fdl-1.3.texi: New file.
29211 * manual/fdl-1.1.texi: File removed.
29212
29213 [BZ #13738]
29214 * manual/libc.texinfo (FDL_VERSION): New @set.
29215 Use it for mention of FDL in cover text.
29216 (Documentation License): Use it in @include file name.
29217
292182012-02-22 Joseph Myers <joseph@codesourcery.com>
29219 Roland McGrath <roland@hack.frob.com>
29220
29221 [BZ #5461]
29222 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29223 not LONG_LONG_MAX and LONG_LONG_MIN.
29224 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29225 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29226 name.
29227 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29228
292292012-02-22 Joseph Myers <joseph@codesourcery.com>
29230
29231 [BZ #2547]
29232 [BZ #11365]
29233 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29234 manipulate bits before adding and subtracting TWO23[sx].
29235 * math/libm-test.inc (nearbyint_test): Add more tests.
29236
292372012-02-22 Joseph Myers <joseph@codesourcery.com>
29238
29239 [BZ #2548]
29240 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29241 bits before adding and subtracting TWO23[sx].
29242 * math/libm-test.inc (rint_test): Add more tests.
29243 (rint_test_tonearest): Likewise.
29244 (rint_test_towardzero): Likewise.
29245 (rint_test_downward): Likewise.
29246 (rint_test_upward: Likewise.
29247
292482012-02-22 Joseph Myers <joseph@codesourcery.com>
29249
29250 [BZ #10110]
29251 * include/stdc-predef.h: New file. Extracted from features.h.
29252 * include/features.h: Include stdc-predef.h.
29253 * Makefile (headers): Add stdc-predef.h.
29254 * CONFORMANCE (Compiler limitations): Update.
29255
292562012-02-22 Joseph Myers <joseph@codesourcery.com>
29257
29258 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29259
292602012-02-21 David S. Miller <davem@davemloft.net>
29261
29262 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29263 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29264
292652012-02-20 David S. Miller <davem@davemloft.net>
29266
29267 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29268 using a normal save/restore sequence, rather than allocating a
29269 dummy stack frame just to store a frame pointer and restore.
29270 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29271
292722012-02-21 Joseph Myers <joseph@codesourcery.com>
29273
29274 * manual/install.texi: Fix stray word in line-wrapped comment.
29275
292762012-02-20 David S. Miller <davem@davemloft.net>
29277
29278 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29279 both binutils and gcc support GOTDATA.
29280
29281 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29282 "rd %pc" in the PIC register setup sequences.
29283
29284 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29285 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29286 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29287 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29288 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29290 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29291 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29293 (SYSCALL_ERROR_HANDLER): Likewise.
29294 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29295 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29297 (SYSCALL_ERROR_HANDLER): Likewise.
29298
29299 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29300 (HAVE_GCC_GOTDATA): New.
29301 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29302 relocation support in both binutils and gcc.
29303 * sysdeps/sparc/elf/configure: Regenerate.
29304
29305 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29306 * sysdeps/sparc/sparc32/elf/configure: Delete.
29307 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29308 * sysdeps/sparc/sparc64/elf/configure: Delete.
29309 * sysdeps/sparc/elf/configure.in: New file.
29310 * sysdeps/sparc/elf/configure: Generate.
29311
29312 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29313 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29314 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29315 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29316 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29317
293182012-02-21 Joseph Myers <joseph@codesourcery.com>
29319
29320 * manual/install.texi: Do not mention specific glibc version
29321 numbers.
29322 * manual/libc.texinfo (VERSION, UPDATED): Update.
29323 (@copying): Use @copyright{} and range of years.
29324
293252012-02-21 Joseph Myers <joseph@codesourcery.com>
29326
29327 [BZ #13695]
29328 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29329 [crti.S not in sysdirs] (generated): Do not append.
29330 [crti.S not in sysdirs] (omit-deps): Likewise.
29331 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29332 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29333 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29334 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29335 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29336 Likewise.
29337 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29338 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29339 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29340 * csu/defs.awk: Remove file.
29341 * sysdeps/generic/initfini.c: Likewise.
29342 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29343 variable.
29344 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29345 Likewise.
29346
293472012-02-20 Joseph Myers <joseph@codesourcery.com>
29348
29349 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29350 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29351 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29352 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29353 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29354 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29355 <bits/epoll.h>.
29356 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29357 (__EPOLL_PACKED): Define to empty if not defined by
29358 <bits/epoll.h>.
29359 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29361 bits/epoll.h.
29362
293632012-02-20 Joseph Myers <joseph@codesourcery.com>
29364
29365 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29366 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29367 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29368 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29369 <bits/timerfd.h>.
29370 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29372 bits/timerfd.h.
29373
293742012-02-20 Joseph Myers <joseph@codesourcery.com>
29375
29376 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29377 in C locale.
29378 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29379 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29382
293832012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29384
29385 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29386 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29387
293882012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29389
29390 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29391 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29392 defined.
29393 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29394 Likewise.
29395 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29396 entry for 2.16.
29397
293982012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29399
29400 * math/w_acos.c: Use non-signaling floating-point comparisons.
29401 * math/w_acosf.c: Likewise.
29402 * math/w_acosh.c: Likewise.
29403 * math/w_acoshf.c: Likewise.
29404 * math/w_acoshl.c: Likewise.
29405 * math/w_acosl.c: Likewise.
29406 * math/w_asin.c: Likewise.
29407 * math/w_asinf.c: Likewise.
29408 * math/w_asinl.c: Likewise.
29409 * math/w_atanh.c: Likewise.
29410 * math/w_atanhf.c: Likewise.
29411 * math/w_atanhl.c: Likewise.
29412 * math/w_exp2.c: Likewise.
29413 * math/w_exp2f.c: Likewise.
29414 * math/w_exp2l.c: Likewise.
29415 * math/w_j0.c: Likewise.
29416 * math/w_j0f.c: Likewise.
29417 * math/w_j0l.c: Likewise.
29418 * math/w_j1.c: Likewise.
29419 * math/w_j1f.c: Likewise.
29420 * math/w_j1l.c: Likewise.
29421 * math/w_jn.c: Likewise.
29422 * math/w_jnf.c: Likewise.
29423 * math/w_log.c: Likewise.
29424 * math/w_log10.c: Likewise.
29425 * math/w_log10f.c: Likewise.
29426 * math/w_log10l.c: Likewise.
29427 * math/w_log2.c: Likewise.
29428 * math/w_log2f.c: Likewise.
29429 * math/w_log2l.c: Likewise.
29430 * math/w_logf.c: Likewise.
29431 * math/w_logl.c: Likewise.
29432 * math/w_sqrt.c: Likewise.
29433 * math/w_sqrtf.c: Likewise.
29434 * math/w_sqrtl.c: Likewise.
29435 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29436 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29437 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29438 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29439 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29440
294412012-02-19 Joseph Myers <joseph@codesourcery.com>
29442
29443 [BZ #9739]
29444 * manual/string.texi (strnlen): Use correct parameter name in
29445 equivalent expression.
29446
294472012-02-19 Joseph Myers <joseph@codesourcery.com>
29448
29449 [BZ #11174]
29450 * manual/users.texi (seteuid): Consistently use neweuid for
29451 argument name.
29452
294532012-02-19 Joseph Myers <joseph@codesourcery.com>
29454
29455 [BZ #13704]
29456 * manual/nss.texi (Services in the NSS configuration): Correct
29457 list of services in example configuration file.
29458
294592012-02-19 Nick Bowler <nbowler@draconx.ca>
29460
29461 [BZ #11322]
29462 * manual/arith.texi: Remove statements about negative zero
29463 behaving identically to zero.
29464
294652012-02-18 Joseph Myers <joseph@codesourcery.com>
29466
29467 [BZ #5993]
29468 * manual/install.texi: Do not document upgrading from libc5.
29469
294702012-02-18 Joseph Myers <joseph@codesourcery.com>
29471
29472 [BZ #4596]
29473 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29474
294752012-02-18 David S. Miller <davem@davemloft.net>
29476
29477 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29478 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29479 %o7 across the call.
29480 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29481 instead.
29482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29483 SETUP_PIC_REG_LEAF.
29484 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29485 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29486 * sysdeps/sparc/crtn.S: Likewise.
29487
294882012-02-17 Ulrich Drepper <drepper@gmail.com>
29489
29490 * aout/Makefile: Remove.
29491
294922012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29493
29494 [BZ #13058]
29495 * manual/examples/argp-ex1.c (main): Format definition in GNU
29496 style.
29497 * manual/examples/argp-ex2.c (main): Likewise.
29498 * manual/examples/argp-ex3.c (main): Likewise.
29499 * manual/examples/argp-ex4.c (main): Likewise.
29500 * manual/examples/longopt.c (main): Use new-style prototype
29501 definition.
29502 * manual/examples/strncat.c (main): Specify return type and use
29503 (void) for arguments.
29504 * manual/examples/subopt.c (main): Use char **argv argument.
29505
295062012-02-17 Joseph Myers <joseph@codesourcery.com>
29507
29508 [BZ #5077]
29509 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29510 rounding modes.
29511
295122012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29513
29514 [BZ #6907]
29515 * manual/string.texi (strchr): Change when strchrnul is
29516 recommended.
29517
295182012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29519
29520 [BZ #174]
29521 * manual/locale.texi (setlocale): Document LOCPATH.
29522
295232012-02-17 Joseph Myers <joseph@codesourcery.com>
29524
29525 [BZ #10210]
29526 * manual/process.texi (execle): Move @dots{} before last argument.
29527
295282012-02-17 Paul Bolle <pebolle@tiscali.nl>
29529
29530 [BZ #12047]
29531 * manual/charset.texi (Generic Charset Conversion): Fix typo
29532 (LC_TYPE -> LC_CTYPE).
29533
295342012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29535
29536 [BZ #5805]
29537 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29538 (scalbnf): Likewise.
29539 (scalbnl): Likewise.
29540 (scalbln): Likewise.
29541 (scalblnf): Likewise.
29542 (scalblnl): Likewise.
29543 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29544 (vwarnx): Likewise.
29545 (verr): Likewise.
29546 (verrx): Likewise.
29547 * manual/filesys.texi (telldir): Use braces around return type.
29548 * manual/llio.texi (mmap): Add space after comma.
29549 (mmap64): Likewise.
29550 * manual/math.texi (jn): Use @var{} on parameter names.
29551 (jnf): Likewise.
29552 (jnl): Likewise.
29553 (yn): Likewise.
29554 (ynf): Likewise.
29555 (ynl): Likewise.
29556 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29557 line.
29558 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29559 "...".
29560 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29561 (sched_get_priority_max): Likewise.
29562 * manual/signal.texi (sigvec): Add space after comma.
29563 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29564 names.
29565 (if_indextoname): Likewise.
29566 (if_freenameindex): Likewise.
29567 (sendto): Use ',' instead of '.' in prototype.
29568 * manual/startup.texi (syscall): Use @dots{} instead of literal
29569 "...".
29570 * manual/stdio.texi (__fpending): Separate initial words of
29571 paragraph from @deftypefun line.
29572 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29573 "...".
29574 (vsyslog): Use @var{} on parameter names.
29575 * manual/terminal.texi (stty): Use @var{} on parameter names.
29576 * manual/users.texi (getutmp): Use @var{} on parameter names.
29577 (getutmpx): Likewise.
29578
295792012-02-17 Joseph Myers <joseph@codesourcery.com>
29580
29581 [BZ #6884]
29582 * manual/stdio.texi (fopen): Fix typos in description of
29583 ",ccs=STRING".
29584
295852012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29586
29587 [BZ #4026]
29588 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29589 get clock_id definition.
29590
295912012-02-17 Thomas Schwinge <thomas@schwinge.name>
29592
29593 [BZ #4822]
29594 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29595 (madvise): Cast every argument to void on its own.
29596
295972012-02-17 Joseph Myers <joseph@codesourcery.com>
29598
29599 [BZ #9902]
29600 * manual/startup.texi (Exit Status): Fix typo.
29601
296022012-02-17 Joseph Myers <joseph@codesourcery.com>
29603
29604 [BZ #10140]
29605 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29606 * manual/examples/argp-ex2.c: Likewise.
29607 * manual/examples/argp-ex3.c: Likewise.
29608
296092012-02-16 Richard Henderson <rth@redhat.com>
29610
29611 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29612 * sysdeps/s390/s390-32/initfini.c: Remove.
29613 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29614 * sysdeps/s390/s390-64/initfini.c: Remove.
29615
296162012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29617
29618 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29619 compiler output for sysdeps/generic/initfini.c.
29620 * sysdeps/sh/elf/initfini.c: Remove file.
29621
296222012-02-16 David S. Miller <davem@davemloft.net>
29623
29624 [BZ #11494]
29625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29626
29627 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29628 * sysdeps/sparc/crti.S: New file.
29629 * sysdeps/sparc/crtn.S: New file.
29630 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29631 * sysdeps/sparc/sparc64/Makefile: Likewise.
29632
296332012-02-15 Mike Frysinger <vapier@gentoo.org>
29634
29635 [BZ #3335]
29636 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29637
296382012-02-15 Roland McGrath <roland@hack.frob.com>
29639
29640 [BZ #4822]
29641 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29642
29643 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29644 (write, read, close): Likewise.
29645 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29646
296472012-02-15 Joseph Myers <joseph@codesourcery.com>
29648
29649 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29650 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29651 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29652 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29653 <bits/signalfd.h>.
29654 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29656 bits/signalfd.h.
29657
296582012-02-14 Marek Polacek <polacek@redhat.com>
29659
29660 * sysdeps/x86_64/crti.S: New file.
29661 * sysdeps/x86_64/crtn.S: New file.
29662 * sysdeps/x86_64/elf/initfini.c: Remove file.
29663
296642012-02-13 Joseph Myers <joseph@codesourcery.com>
29665
29666 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29667 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29668 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29669 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29670 <bits/inotify.h>.
29671 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29673 bits/inotify.h.
29674
296752012-02-13 Joseph Myers <joseph@codesourcery.com>
29676
29677 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29678 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29679 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29680 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29681 <bits/eventfd.h>.
29682 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29684 bits/eventfd.h.
29685
296862012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29687
29688 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29689 __feraiseexcept instead of feraiseexcept.
29690
29691 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29692 nanosleep invocations.
29693 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29694 strings, and add error checking for a nanosleep invocations.
29695
296962012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29697
29698 Replace FSF snail mail address with URLs, as per GNU coding standards.
29699 Most of the snail mail addresses were wrong anyway, and omitting
29700 them makes the source code easier to maintain. Almost all of the
29701 changes are to license notices and to locale LC_IDENTIFICATION
29702 addresses, except for this one:
29703 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29704 not its snail mail address.
29705
297062012-02-09 Richard Henderson <rth@twiddle.net>
29707
29708 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29709 of kernel-features.h.
29710
29711 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29712
297132012-02-08 Marek Polacek <polacek@redhat.com>
29714
29715 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29716 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29717 * sysdeps/gnu/_G_config.h: Likewise.
29718 * sysdeps/generic/_G_config.h: Likewise.
29719
297202012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29721
29722 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29723 tests.
29724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29725
29726 * sysdeps/powerpc/powerpc32/crti.S: New file.
29727 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29728 * sysdeps/powerpc/powerpc64/crti.S: New file.
29729 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29730
29731 * Makeconfig (have-initfini): Don't set.
29732 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29733 * configure.in (nopic_initfini): Don't substitute.
29734 * config.h.in (HAVE_INITFINI): Don't #undef.
29735 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29736 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29737
297382012-02-08 Joseph Myers <joseph@codesourcery.com>
29739
29740 Support crti.S and crtn.S provided directly by architectures.
29741 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29742 [crti.S in sysdirs] (omit-deps): Likewise.
29743 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29744 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29745 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29746 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29747 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29748 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29749 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29750 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29751 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29752 compiler output for sysdeps/generic/initfini.c.
29753 * sysdeps/i386/elf/Makefile: Remove file.
29754 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29755
297562012-02-07 Marek Polacek <polacek@redhat.com>
29757
29758 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29759 * sysdeps/gnu/_G_config.h: Likewise.
29760 * sysdeps/mach/hurd/_G_config.h: Likewise.
29761
297622012-02-07 Marek Polacek <polacek@redhat.com>
29763
29764 * math/Makefile (tests): Add tst-CMPLX2.
29765 * math/tst-CMPLX2.c: New file.
29766
297672012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29768
29769 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29770
29771 * math/libm-test.inc (jn_test): Add missing L suffix.
29772
297732012-02-06 Marek Polacek <polacek@redhat.com>
29774
29775 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29776 * sysdeps/i386/fpu/e_powf.S: Likewise.
29777 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29778 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29779 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29780 * sysdeps/i386/fpu/e_pow.S: Likewise.
29781 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29782 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29783 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29784 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29785 * sysdeps/i386/fpu/e_log2.S: Likewise.
29786 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29787 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29788 * sysdeps/i386/fpu/e_powl.S: Likewise.
29789 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29790 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29791 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29792 * sysdeps/i386/fpu/e_logl.S: Likewise.
29793 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29794 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29795 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29796 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29797 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29798 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29799 * sysdeps/i386/fpu/e_log.S: Likewise.
29800 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29801 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29802 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29803 * sysdeps/i386/fpu/e_logf.S: Likewise.
29804 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29805 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29806 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29807 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29808 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29809 * sysdeps/i386/fpu/e_log10.S: Likewise.
29810 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29811 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29812 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29813 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29814 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29815 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29816 * sysdeps/i386/asm-syntax.h: Likewise.
29817 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29818 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29819 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29820 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29821 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29822 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29823 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29824 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29825 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29826 * sysdeps/powerpc/sysdep.h: Likewise.
29827 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29828 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29829
298302012-02-06 Joseph Myers <joseph@codesourcery.com>
29831
29832 [BZ #411]
29833 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29834
298352012-02-06 Joseph Myers <joseph@codesourcery.com>
29836
29837 * sysdeps/i386/sysdep.h: Include <features.h>.
29838 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29839 version.
29840
298412012-02-05 Joseph Myers <joseph@codesourcery.com>
29842
29843 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29844 Define.
29845 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29846 LOAD_PIC_REG_STR.
29847
298482012-02-03 Joseph Myers <joseph@codesourcery.com>
29849
29850 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29851 (SETUP_PIC_REG): Use GET_PC_THUNK.
29852 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29853 macro.
29854
298552012-02-03 Joseph Myers <joseph@codesourcery.com>
29856
29857 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29858 for non-PIC compilation.
29859 (SETUP_PIC_REG): Add .p2align directive.
29860 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29861 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29862 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29863 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29864 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29865 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29866 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29867 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29868 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29869 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29870 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29871 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29872 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29873 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29874 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29875 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29876 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29877 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29878 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29879 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29880 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29881 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29882 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29883 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29884 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29885 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29886 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29887 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29888 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29889 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29890 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29891 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29892 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29893 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29894 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29895 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29896 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29897 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29898 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29899 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29900 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29901
299022012-02-03 Joseph Myers <joseph@codesourcery.com>
29903
29904 * math/tst-CMPLX.c: Include <stdio.h>.
29905
299062012-01-31 Joseph Myers <joseph@codesourcery.com>
29907
29908 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29909 float.
29910 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29911 * sysdeps/sparc/bits/mathdef.h: Likewise.
29912
299132012-01-31 Marek Polacek <polacek@redhat.com>
29914
29915 * libio/libio.h: Don't define _PARAMS.
29916 * locale/programs/config.h: Don't define PARAMS.
29917 * stdlib/strtol_l.c: Likewise.
29918 (__strtol_l): Remove PARAMS from the prototype.
29919
299202012-01-31 Ulrich Drepper <drepper@gmail.com>
29921
29922 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29923 names. Just use the correct names. Remove unnecessary wrapper
29924 functions.
29925 * malloc/arena.c: Likewise.
29926 * malloc/hooks.c: Likewise.
29927
29928 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29929 ARENA_TEST says not to. Simplify test for creation of a new arena.
29930 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29931
299322012-01-30 Ulrich Drepper <drepper@gmail.com>
29933
29934 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29935 into tail calls.
29936 (update_get_addr): New function.
29937 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29938 GET_ADDR_MODULE parameter.
29939
299402012-01-30 Joseph Myers <joseph@codesourcery.com>
29941
29942 * crypt/cert.c: Remove __STDC__ conditionals.
29943 * crypt/crypt-entry.c: Likewise.
29944 * crypt/crypt_util.c: Likewise.
29945 * libio/filedoalloc.c: Likewise.
29946 * libio/fileops.c: Likewise.
29947 * libio/genops.c: Likewise.
29948 * libio/iofclose.c: Likewise.
29949 * libio/iofdopen.c: Likewise.
29950 * libio/iofopen.c: Likewise.
29951 * libio/iofopen64.c: Likewise.
29952 * libio/iogetdelim.c: Likewise.
29953 * libio/iopopen.c: Likewise.
29954 * libio/obprintf.c: Likewise.
29955 * libio/oldfileops.c: Likewise.
29956 * libio/oldiofclose.c: Likewise.
29957 * libio/oldiofdopen.c: Likewise.
29958 * libio/oldiofopen.c: Likewise.
29959 * libio/oldiopopen.c: Likewise.
29960 * libio/wfiledoalloc.c: Likewise.
29961 * libio/wgenops.c: Likewise.
29962 * locale/programs/xmalloc.c: Likewise.
29963 * misc/syslog.c: Likewise.
29964 * stdio-common/xbug.c: Likewise.
29965 * string/memchr.c: Likewise.
29966 * string/memcmp.c: Likewise.
29967 * string/memrchr.c: Likewise.
29968 * string/rawmemchr.c: Likewise.
29969 * sysdeps/posix/getcwd.c: Likewise.
29970 * time/strftime_l.c: Likewise.
29971
299722012-01-30 Joseph Myers <joseph@codesourcery.com>
29973
29974 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29975 * config.make.in (config-cflags-sse2avx): Define.
29976 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29977 Fix typo.
29978
299792012-01-29 Chris Metcalf <cmetcalf@tilera.com>
29980
29981 * scripts/config.guess: Update from upstream config git repository.
29982 * scripts/config.sub: Likewise.
29983
299842012-01-28 Chris Metcalf <cmetcalf@tilera.com>
29985
29986 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29987 (EM_NUM): Update.
29988 (R_TILEPRO_*, R_TILEGX_*): New macros.
29989
29990 * scripts/firstversions.awk: Fix bug in version range handling.
29991
29992 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29993
29994 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29995
29996 * include/sys/epoll.h: New file.
29997 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29998 libc_hidden_def.
29999
300002012-01-28 Ulrich Drepper <drepper@gmail.com>
30001
30002 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30003 Avoid unnecessary __WORDSIZE == 64 test.
30004 (fmaxf): Use VEX format if possible.
30005 (fmax): Likewise.
30006 (fminf): Likewise.
30007 (fmin): Likewise.
30008
30009 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30010 * math/math_private.h: Remove libc_fegetround* and
30011 libc_fesetround*.
30012 * sysdeps/i386/configure.in: Check for -msse2avx.
30013 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30014 also if SSE2AVX is defined.
30015 Remove libc_fegetround* and libc_fesetround*.
30016 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30017 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30018 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30019 of HAS_YMM_USABLE.
30020 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30021 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30022 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30023 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30024 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30025
30026 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30027
300282012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30029
30030 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30031 size is not set.
30032 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30033
300342012-01-27 Ulrich Drepper <drepper@gmail.com>
30035
30036 [BZ #13618]
30037 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30038 relocation.
30039 * Makeconfig (libm): Define.
30040 * elf/Makefile: Add rules to build and run tst-relsort1.
30041 * elf/tst-relsort1.c: New file.
30042 * elf/tst-relsort1mod1.c: New file.
30043 * elf/tst-relsort1mod2.c: New file.
30044
300452012-01-27 Joseph Myers <joseph@codesourcery.com>
30046
30047 * math/s_ldexp.c: Remove __STDC__ conditionals.
30048 * math/s_ldexpf.c: Likewise.
30049 * math/s_ldexpl.c: Likewise.
30050 * math/s_nextafter.c: Likewise.
30051 * math/s_nexttowardf.c: Likewise.
30052 * math/s_significand.c: Likewise.
30053 * math/s_significandf.c: Likewise.
30054 * math/s_significandl.c: Likewise.
30055 * math/w_jnl.c: Likewise.
30056 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30057 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30058 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30059 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30060 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30061 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30062 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30063 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30064 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30065 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30066 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30067 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30068 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30069 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30070 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30071 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30072 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30073 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30074 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30075 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30076 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30077 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30078 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30080 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30081 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30082 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30083 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30084 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30085 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30086 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30087 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30088 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30089 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30090 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30091 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30092 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30093 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30094 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30095 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30096 * sysdeps/ieee754/k_standard.c: Likewise.
30097 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30098 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30099 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30100 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30101 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30102 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30103 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30104 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30105 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30106 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30107 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30108 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30109 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30110 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30111 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30112 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30113 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30114 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30115 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30116 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30117 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30118 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30119 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30120 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30121 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30122 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30123 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30124 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30125 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30126 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30127 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30128 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30129 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30130 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30131 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30132 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30133 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30134 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30135 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30136 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30137 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30139 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30140 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30141 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30142 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30143 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30144 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30145 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30146 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30147 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30148 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30149 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30150 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30151 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30152 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30153 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30154 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30155 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30156 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30157 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30158 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30159 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30160 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30161 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30162 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30163 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30164 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30165 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30166 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30167 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30168 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30169 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30170 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30171 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30172 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30173 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30174 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30175 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30176 * sysdeps/ieee754/s_matherr.c: Likewise.
30177 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30178 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30179 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30181
301822012-01-26 Joseph Myers <joseph@codesourcery.com>
30183
30184 * crypt/md5.h: Remove __STDC__ conditionals.
30185 * libio/libioP.h: Likewise.
30186 * locale/programs/config.h: Likewise.
30187 * sysdeps/generic/sysdep.h: Likewise.
30188 * sysdeps/i386/asm-syntax.h: Likewise.
30189 * sysdeps/s390/asm-syntax.h: Likewise.
30190 * sysdeps/unix/sysdep.h: Likewise.
30191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30193
301942012-01-26 Joseph Myers <joseph@codesourcery.com>
30195
30196 * libio/libio.h: Remove __STDC__ conditionals.
30197 * malloc/obstack.h: Likewise.
30198 * math/complex.h: Likewise.
30199 * math/math.h: Likewise.
30200 * sysdeps/generic/_G_config.h: Likewise.
30201 * sysdeps/gnu/_G_config.h: Likewise.
30202 * sysdeps/mach/hurd/_G_config.h: Likewise.
30203 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30204 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30205 * sysdeps/sparc/bits/mathdef.h: Likewise.
30206
302072012-01-26 Ulrich Drepper <drepper@gmail.com>
30208
30209 [BZ #13583]
30210 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30211 Clean up HAS_* macros.
30212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30213 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30214 possible.
30215 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30216 HAS_AVX.
30217 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30218 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30219 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30220 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30221 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30222
302232012-01-25 Joseph Myers <joseph@codesourcery.com>
30224
30225 * elf/tst-unique3.cc (gets): Remove declaration.
30226 * elf/tst-unique3lib.cc (gets): Likewise.
30227 * elf/tst-unique3lib2.cc (gets): Likewise.
30228 * elf/tst-unique4.cc (gets): Likewise.
30229
302302012-01-24 Ulrich Drepper <drepper@gmail.com>
30231
30232 * include/stdio.h: Add C++ protection. Add gets declarations and
30233 definitions.
30234 * debug/tst-chk1.c: Don't declare gets here.
30235 * stdio-common/tst-gets.c: Likewise.
30236
302372012-01-24 Joseph Myers <joseph@codesourcery.com>
30238
30239 * posix/glob: Remove directory.
30240
302412012-01-24 Joseph Myers <joseph@codesourcery.com>
30242
30243 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30244
302452012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30246
30247 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30248 of the non-standard EPFNOSUPPORT.
30249
302502011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30251
30252 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30253 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30254 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30255
302562012-01-21 Ulrich Drepper <drepper@gmail.com>
30257
30258 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30259
302602012-01-20 Ulrich Drepper <drepper@gmail.com>
30261
30262 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30263 transient errors.
30264 * nscd/grpcache.c (cache_addgr): Likewise.
30265 * nscd/hstcache.c (cache_addhst): Likewise.
30266 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30267 * nscd/pwdcache.c (cache_addpw): Likewise.
30268 * nscd/servicescache.c (cache_addserv): Likewise.
30269
302702012-01-16 Ulrich Drepper <drepper@gmail.com>
30271
30272 * malloc/malloc.c: Various cleanups.
30273 * malloc/hooks.c: Likewise.
30274
30275 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30276 * stdlib/bug-fmtmsg1.c: New file.
30277
30278 * stdlib/fmtmsg.c (init): Add missing unlock.
30279 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30280
302812012-01-12 Marek Polacek <polacek@redhat.com>
30282
30283 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30284 and _GNU_SOURCE.
30285
302862012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30287
30288 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30289 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30290 macro to ensure uniqueness of label name.
30291 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30292 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30293
302942012-01-11 Ulrich Drepper <drepper@gmail.com>
30295
30296 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30297
30298 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30299 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30300 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30302
303032012-01-10 Ulrich Drepper <drepper@gmail.com>
30304
30305 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30306
30307 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30308 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30309 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30310
30311 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30312
30313 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30314 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30315 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30317
30318 * math/bits/math-finite.h: Add ldexp support.
30319
303202012-01-10 Marek Polacek <polacek@redhat.com>
30321
30322 * locale/programs/localedef.h (show_archive_content): Add noreturn
30323 attribute.
30324
303252012-01-09 Ulrich Drepper <drepper@gmail.com>
30326
30327 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30328
303292012-01-08 Ulrich Drepper <drepper@gmail.com>
30330
30331 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30332
30333 * io/Makefile (headers): Add bits/poll2.h.
30334
303352011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30336
30337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30338 typo #include statement.
30339
303402012-01-08 Ulrich Drepper <drepper@gmail.com>
30341
30342 * include/sys/cdefs.h: Define __attribute_alloc_size.
30343 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30344 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30345 * elf/pldd.c: Likewise.
30346 * iconv/iconv_charmap.c: Likewise.
30347 * iconv/iconvconfig.c: Likewise.
30348 * iconv/strtab.c: Likewise.
30349 * locale/programs/locale.c: Likewise.
30350 * locale/programs/localedef.h: Likewise.
30351 * locale/programs/simple-hash.c: Likewise.
30352 * nscd/nscd.h: Likewise.
30353 * nss/makedb.c: Likewise.
30354 * sysdeps/generic/ldconfig.h: Likewise.
30355 * locale/programs/localedef.c: Remove xmalloc prototype.
30356 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30357
303582012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30359
30360 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30361 appropriate.
30362
303632012-01-08 Ulrich Drepper <drepper@gmail.com>
30364
30365 * math/Makefile (tests): Add tst-CMPLX.
30366 * math/tst-CMPLX.c: New file.
30367
30368 * math/complex.h (CMPLXL): Fix typo.
30369
30370 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30371 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30372 GLIBC_2.16.
30373 * debug/tst-chk1.c: Add poll and ppoll tests.
30374 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30375 * include/sys/poll.h: Add hidden proto for ppoll.
30376 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30377 * sysdeps/mach/hurd/ppoll.c: Likewise.
30378 * io/ppoll.c: Likewise.
30379 * debug/poll_chk.c: New file.
30380 * debug/ppoll_chk.c: New file.
30381 * include/bits/poll2.h: New file.
30382 * io/bits/poll2.h: New file.
30383
30384 [BZ #1350]
30385 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30386
30387 * configure.in: static is always set to yes. Remove.
30388 * config.make.in: Don't set build-static.
30389 * Makeconfig: Remove use of build-static.
30390 * dlfcn/Makefile: Likewise.
30391 * elf/Makefile: Likewise.
30392 * math/Makefile: Likewise.
30393 * misc/Makefile: Likewise.
30394 * nptl/Makefile: Likewise.
30395 * sysdeps/mach/hurd/Makefile: Likewise.
30396
30397 * configure.in: PWD_P is not used anymore.
30398 * config.make.in: Remove PWD_P entry.
30399
30400 * configure.in: Remove last remnants of RANLIB.
30401 No need to check for signed size_t anymore.
30402 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30403 and IA-64.
30404 Remove __builtin_expect test because we require at least gcc 3.4.
30405 * aclocal.m4: Likewise.
30406
30407 * wcsmbs/mbrtoc16.c: Implement using towc function.
30408 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30409 * wcsmbs/wcsmbsload.c: Likewise.
30410 * iconv/gconv_simple.c: Likewise.
30411 * iconv/gconv_int.h: Likewise.
30412 * iconv/gconv_builtin.h: Likewise.
30413 * iconv/iconv_prog.c: Remove CHAR16 handling.
30414
30415 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30416
30417 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30418
30419 * configure.in: Remove --with-elf and --enable-bounded options.
30420 Dont set base_machine for ia64. More non-ELF conditions removed.
30421 Remove testing and setting of leading underscore information.
30422 * config.make.in (build-bounded): Set to no.
30423 * config.h.in: Remove NO_UNDERSCORES entry.
30424 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30425 them.
30426 * csu/start.c: Remove !NO_UNDERSCORE code.
30427 * locale/localeinfo.h: Likewise.
30428 * sysdeps/generic/machine-gmon.h: Likewise.
30429 * sysdeps/generic/sysdep.h: Likewise.
30430 * sysdeps/i386/sysdep.h: Likewise.
30431 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30432 * sysdeps/mach/sysdep.h: Likewise.
30433 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30434 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30435 * sysdeps/sh/sysdep.h: Likewise.
30436 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30437 * sysdeps/unix/i386/sysdep.S: Likewise.
30438 * sysdeps/unix/sparc/start.c: Likewise.
30439 * sysdeps/unix/sparc/sysdep.S: Likewise.
30440 * sysdeps/unix/sparc/sysdep.h: Likewise.
30441 * sysdeps/unix/start.c: Likewise.
30442 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30443 * sysdeps/x86_64/sysdep.h: Likewise.
30444
304452012-01-07 Ulrich Drepper <drepper@gmail.com>
30446
30447 [BZ #13553]
30448 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30449 for non-gcc.
30450 * argp/argp-fmtstream.h: Use const instead __const.
30451 * argp/argp.h: Likewise.
30452 * assert/assert.h: Likewise.
30453 * bits/fenv.h: Likewise.
30454 * bits/sched.h: Likewise.
30455 * bits/sigset.h: Likewise.
30456 * bits/sigthread.h: Likewise.
30457 * catgets/nl_types.h: Likewise.
30458 * conform/data/pthread.h-data: Likewise.
30459 * crypt/crypt-private.h: Likewise.
30460 * crypt/crypt.h: Likewise.
30461 * crypt/crypt_util.c: Likewise.
30462 * ctype/ctype.h: Likewise.
30463 * debug/execinfo.h: Likewise.
30464 * debug/mbsnrtowcs_chk.c: Likewise.
30465 * debug/mbsrtowcs_chk.c: Likewise.
30466 * debug/wcsnrtombs_chk.c: Likewise.
30467 * debug/wcsrtombs_chk.c: Likewise.
30468 * debug/wcstombs_chk.c: Likewise.
30469 * dirent/dirent.h: Likewise.
30470 * dlfcn/dlfcn.h: Likewise.
30471 * elf/neededtest4.c: Likewise.
30472 * grp/grp.h: Likewise.
30473 * gshadow/gshadow.h: Likewise.
30474 * iconv/gconv.h: Likewise.
30475 * iconv/gconv_int.h: Likewise.
30476 * iconv/gconv_simple.c: Likewise.
30477 * iconv/iconv.h: Likewise.
30478 * iconv/loop.c: Likewise.
30479 * iconv/skeleton.c: Likewise.
30480 * include/aio.h: Likewise.
30481 * include/aliases.h: Likewise.
30482 * include/argz.h: Likewise.
30483 * include/arpa/inet.h: Likewise.
30484 * include/assert.h: Likewise.
30485 * include/dirent.h: Likewise.
30486 * include/dlfcn.h: Likewise.
30487 * include/execinfo.h: Likewise.
30488 * include/fcntl.h: Likewise.
30489 * include/fenv.h: Likewise.
30490 * include/glob.h: Likewise.
30491 * include/grp.h: Likewise.
30492 * include/libintl.h: Likewise.
30493 * include/mntent.h: Likewise.
30494 * include/netdb.h: Likewise.
30495 * include/pwd.h: Likewise.
30496 * include/rpc/netdb.h: Likewise.
30497 * include/sched.h: Likewise.
30498 * include/search.h: Likewise.
30499 * include/shadow.h: Likewise.
30500 * include/signal.h: Likewise.
30501 * include/stdio.h: Likewise.
30502 * include/stdlib.h: Likewise.
30503 * include/string.h: Likewise.
30504 * include/sys/socket.h: Likewise.
30505 * include/sys/stat.h: Likewise.
30506 * include/sys/statfs.h: Likewise.
30507 * include/sys/statvfs.h: Likewise.
30508 * include/sys/syslog.h: Likewise.
30509 * include/sys/time.h: Likewise.
30510 * include/sys/uio.h: Likewise.
30511 * include/time.h: Likewise.
30512 * include/unistd.h: Likewise.
30513 * include/utmp.h: Likewise.
30514 * include/wchar.h: Likewise.
30515 * include/wctype.h: Likewise.
30516 * inet/aliases.h: Likewise.
30517 * inet/arpa/inet.h: Likewise.
30518 * inet/netinet/ether.h: Likewise.
30519 * inet/netinet/in.h: Likewise.
30520 * intl/libintl.h: Likewise.
30521 * io/bits/fcntl2.h: Likewise.
30522 * io/fcntl.h: Likewise.
30523 * io/ftw.h: Likewise.
30524 * io/sys/poll.h: Likewise.
30525 * io/sys/stat.h: Likewise.
30526 * io/sys/statfs.h: Likewise.
30527 * io/sys/statvfs.h: Likewise.
30528 * io/utime.h: Likewise.
30529 * libio/bits/stdio.h: Likewise.
30530 * libio/bits/stdio2.h: Likewise.
30531 * libio/libio.h: Likewise.
30532 * libio/libioP.h: Likewise.
30533 * libio/stdio.h: Likewise.
30534 * locale/lc-ctype.c: Likewise.
30535 * locale/locale.h: Likewise.
30536 * login/utmp.h: Likewise.
30537 * malloc/arena.c: Likewise.
30538 * malloc/malloc.c: Likewise.
30539 * malloc/malloc.h: Likewise.
30540 * malloc/mcheck.c: Likewise.
30541 * malloc/mtrace.c: Likewise.
30542 * math/bits/mathcalls.h: Likewise.
30543 * math/fenv.h: Likewise.
30544 * math/math_private.h: Likewise.
30545 * misc/bits/error.h: Likewise.
30546 * misc/bits/syslog.h: Likewise.
30547 * misc/err.h: Likewise.
30548 * misc/error.h: Likewise.
30549 * misc/fstab.h: Likewise.
30550 * misc/mntent.h: Likewise.
30551 * misc/regexp.h: Likewise.
30552 * misc/search.h: Likewise.
30553 * misc/sgtty.h: Likewise.
30554 * misc/sys/mman.h: Likewise.
30555 * misc/sys/syslog.h: Likewise.
30556 * misc/sys/uio.h: Likewise.
30557 * misc/sys/xattr.h: Likewise.
30558 * misc/ttyent.h: Likewise.
30559 * nis/rpcsvc/ypclnt.h: Likewise.
30560 * nss/nss.h: Likewise.
30561 * posix/bits/unistd.h: Likewise.
30562 * posix/fnmatch.h: Likewise.
30563 * posix/glob.h: Likewise.
30564 * posix/sched.h: Likewise.
30565 * posix/spawn.h: Likewise.
30566 * posix/sys/wait.h: Likewise.
30567 * posix/unistd.h: Likewise.
30568 * posix/wordexp.h: Likewise.
30569 * pwd/pwd.h: Likewise.
30570 * resolv/netdb.h: Likewise.
30571 * resource/sys/resource.h: Likewise.
30572 * rt/aio.h: Likewise.
30573 * rt/bits/mqueue2.h: Likewise.
30574 * rt/mqueue.h: Likewise.
30575 * shadow/shadow.h: Likewise.
30576 * signal/signal.h: Likewise.
30577 * socket/send.c: Likewise.
30578 * socket/sendto.c: Likewise.
30579 * socket/sys/socket.h: Likewise.
30580 * stdio-common/printf.h: Likewise.
30581 * stdlib/bits/stdlib.h: Likewise.
30582 * stdlib/fmtmsg.h: Likewise.
30583 * stdlib/monetary.h: Likewise.
30584 * stdlib/stdlib.h: Likewise.
30585 * stdlib/ucontext.h: Likewise.
30586 * streams/stropts.h: Likewise.
30587 * string/argz.h: Likewise.
30588 * string/bits/string2.h: Likewise.
30589 * string/string.h: Likewise.
30590 * string/strings.h: Likewise.
30591 * sunrpc/rpc/auth.h: Likewise.
30592 * sunrpc/rpc/auth_des.h: Likewise.
30593 * sunrpc/rpc/clnt.h: Likewise.
30594 * sunrpc/rpc/netdb.h: Likewise.
30595 * sunrpc/rpc/pmap_clnt.h: Likewise.
30596 * sunrpc/rpc/xdr.h: Likewise.
30597 * sysdeps/generic/inttypes.h: Likewise.
30598 * sysdeps/generic/net/if.h: Likewise.
30599 * sysdeps/generic/sys/swap.h: Likewise.
30600 * sysdeps/gnu/net/if.h: Likewise.
30601 * sysdeps/gnu/utmpx.h: Likewise.
30602 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30603 * sysdeps/i386/i486/bits/string.h: Likewise.
30604 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30605 * sysdeps/s390/bits/string.h: Likewise.
30606 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30607 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30608 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30609 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30610 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30611 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30612 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30613 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30614 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30615 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30616 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30617 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30618 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30619 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30620 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30621 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30622 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30624 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30625 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30626 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30627 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30628 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30629 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30630 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30631 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30632 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30633 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30634 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30635 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30636 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30637 * sysvipc/sys/ipc.h: Likewise.
30638 * sysvipc/sys/msg.h: Likewise.
30639 * sysvipc/sys/sem.h: Likewise.
30640 * sysvipc/sys/shm.h: Likewise.
30641 * termios/termios.h: Likewise.
30642 * time/sys/time.h: Likewise.
30643 * time/time.h: Likewise.
30644 * wcsmbs/bits/wchar2.h: Likewise.
30645 * wcsmbs/uchar.h: Likewise.
30646 * wcsmbs/wchar.h: Likewise.
30647 * wctype/wctype.h: Likewise.
30648
30649 [BZ #13551]
30650 * Makeconfig: Remove all but ELF support including AIX support.
30651 * Makerules: Likewise.
30652 * config.h.in: Likewise.
30653 * config.make.in: Likewise.
30654 * configure: Likewise.
30655 * configure.in: Likewise.
30656 * csu/Makefile: Likewise.
30657 * csu/version.c: Likewise.
30658 * debug/Makefile: Likewise.
30659 * dlfcn/Makefile: Likewise.
30660 * elf/Makefile: Likewise.
30661 * extra-lib.mk: Likewise.
30662 * iconv/Makefile: Likewise.
30663 * include/libc-symbols.h: Likewise.
30664 * include/shlib-compat.h: Likewise.
30665 * resolv/Makefile: Likewise.
30666 * resolv/res_libc.c: Likewise.
30667 * rt/Makefile: Likewise.
30668 * sysdeps/i386/asm-syntax.h: Likewise.
30669 * sysdeps/i386/sysdep.h: Likewise.
30670 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30671 * sysdeps/mach/sysdep.h: Likewise.
30672 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30673 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30674 * sysdeps/s390/asm-syntax.h: Likewise.
30675 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30676 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30677 * sysdeps/sh/sysdep.h: Likewise.
30678 * sysdeps/unix/sparc/sysdep.h: Likewise.
30679 * sysdeps/wordsize-32/divdi3.c: Likewise.
30680 * sysdeps/x86_64/sysdep.h: Likewise.
30681
30682 * argp/Versions: Remove _argp_unlock_xxx.
30683
30684 [BZ #13559]
30685 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30686 * abilist/libBrokenLocale.abilist: Likewise.
30687 * abilist/libanl.abilist: Likewise.
30688 * abilist/libc.abilist: Likewise.
30689 * abilist/libcrypt.abilist: Likewise.
30690 * abilist/libdl.abilist: Likewise.
30691 * abilist/libm.abilist: Likewise.
30692 * abilist/libnsl.abilist: Likewise.
30693 * abilist/libpthread.abilist: Likewise.
30694 * abilist/libresolv.abilist: Likewise.
30695 * abilist/librt.abilist: Likewise.
30696 * abilist/libthread_db.abilist: Likewise.
30697 * abilist/libutil.abilist: Likewise.
30698 * abilist/libnss_db.abilist: New file.
30699
30700 * scripts/abilist.awk: Add support for indirect functions.
30701
30702 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30703
30704 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30705
30706 * shlib-versions: Remove entries for ports architectures.
30707
30708 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30709 files in ports.
30710 * elf/stackguard-macros.h: Remove support for IA-64.
30711 * elf/tst-auditmod1.c: Likewise.
30712 * sysdeps/generic/ldsodefs.h: Likewise.
30713
30714 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30715 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30716 configure files.
30717
30718 [BZ #13552]
30719 * configure.in: Remove --enable-omitfp support.
30720 * FAQ.in: Adjust.
30721 * config.make.in: Likewise.
30722 * Makeconfig: Likewise.
30723 * manual/install.texi: Likewise.
30724
30725 In case anyone cares, the IA-64 architecture could move to ports.
30726 * sysdeps/ia64/*: Removed.
30727 * sysdeps/unix/sysv/linux/ia64/*: Removed.
30728 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30729
30730 [BZ #13555]
30731 * configure.in: Remove entries for unsupported architectures.
30732
30733 [BZ #13533]
30734 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30735 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30736 routines.
30737 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30738 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30739 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30740 fall back to using wcrtomb.
30741 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30742 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30743 renaming.
30744 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30745 * wcsmbs/tst-c16c32-1.c: New file.
30746
30747 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30748 local variable.
30749
30750 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30751
30752 * elf/tst-unique3.cc: Add explicit declaration of gets.
30753 * elf/tst-unique3lib.cc: Likewise.
30754 * elf/tst-unique3lib2.cc: Likewise.
30755 * elf/tst-unique4.cc: Likewise.
30756
30757 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30758
307592012-01-06 Joseph Myers <joseph@codesourcery.com>
30760
30761 [BZ #13566]
30762 * assert/assert.h (static_assert): Don't define for C++.
30763 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30764 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30765
307662012-01-03 Ulrich Drepper <drepper@gmail.com>
30767
30768 * iconv/loop.c (single loop): Fix assertion in storing of
30769 remaining bytes.
30770
30771 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30772
307732012-01-01 Ulrich Drepper <drepper@gmail.com>
30774
30775 * posix/getconf.c: Update copyright year.
30776 * nss/getent.c: Likewise.
30777 * nss/makedb.c: Likewise.
30778 * iconv/iconvconfig.c: Likewise.
30779 * iconv/iconv_prog.c: Likewise.
30780 * elf/ldconfig.c: Likewise.
30781 * elf/pldd.c: Likewise.
30782 * elf/sotruss.ksh: Likewise.
30783 * catgets/gencat.c: Likewise.
30784 * csu/version.c: Likewise.
30785 * elf/ldd.bash.in: Likewise.
30786 * elf/sprof.c (print_version): Likewise.
30787 * locale/programs/locale.c: Likewise.
30788 * locale/programs/localedef.c: Likewise.
30789 * login/programs/pt_chown.c: Likewise.
30790 * nscd/nscd.c (print_version): Likewise.
30791 * debug/xtrace.sh: Likewise.
30792 * malloc/memusage.sh: Likewise.
30793 * malloc/mtrace.pl: Likewise.
30794 * debug/catchsegv.sh: Likewise.
30795
307962011-12-30 Jakub Jelinek <jakub@redhat.com>
30797
30798 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30799 pure attribute.
30800
308012011-12-24 Ulrich Drepper <drepper@gmail.com>
30802
30803 [BZ #13533]
30804 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30805 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30806 transformations.
30807 * iconv/gconv_int.h: Likewise.
30808 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30809 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30810 from libc for GLIBC_2.16.
30811 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30812 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30813 * wcsmbs/uchar.h: Really define mbstate_t.
30814 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30815 * wcsmbs/c16rtomb.c: New file.
30816 * wcsmbs/mbrtoc16.c: New file.
30817 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30818 for C/POSIX locale.
30819 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30820 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30821
30822 * wcsmbs/wchar.h: Add missing __restrict.
30823
308242011-12-23 Ulrich Drepper <drepper@gmail.com>
30825
30826 [BZ #13532]
30827 * time/Makefile (routines): Add timespec_get.
30828 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30829 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30830 timespec for ISO C11.
30831 * time/timespec_get.c: New file.
30832 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30833 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30834
30835 [BZ #13531]
30836 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30837 * stdlib/stdlib.h: Declare aligned_alloc.
30838 * Versions.def: Add GLIBC_2.16 for libc.
30839 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30840
30841 [BZ 13527]
30842 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30843 ISO C11.
30844
30845 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30846 code.
30847
30848 [BZ #13528]
30849 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30850
30851 [BZ #13529]
30852 * assert/assert.h (static_assert): Define.
30853
30854 * version.h: Update for 2.16 development version.
30855
30856 [BZ #13526]
30857 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30858 _ISOC11_SOURCE.
30859
30860 * version.h (RELEASE): Bump for 2.15 release.
30861 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30862
30863 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30864 Patch by Marek Polacek <mpolacek@redhat.com>.
30865
30866 * bits/byteswap.h: Protect long long constants with __extension__.
30867 * sysdeps/i386/bits/byteswap.h: Likewise.
30868 * sysdeps/ia64/bits/byteswap.h: Likewise.
30869 * sysdeps/s390/bits/byteswap.h: Likewise.
30870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30871
308722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30873
30874 [BZ #13540]
30875 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30876 destination buffer.
30877 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30878
308792011-12-23 Marek Polacek <polacek@redhat.com>
30880
30881 * elf/dl-addr.c (determine_info): Add inline keyword.
30882 * elf/tst-auditmod4b.c (check_avx): Likewise.
30883 * elf/tst-auditmod6b.c (check_avx): Likewise.
30884 * elf/tst-auditmod6c.c (check_avx): Likewise.
30885 * elf/tst-auditmod7b.c (check_avx): Likewise.
30886
308872011-12-23 Ulrich Drepper <drepper@gmail.com>
30888
30889 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30890 !__SSE_MATH__.
30891
308922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30893
30894 [BZ #13540]
30895 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30896 processing for last bytes.
30897
308982011-08-06 Bruno Haible <bruno@clisp.org>
30899
30900 [BZ #13061]
30901 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30902 U+0385, not to U+1FEE.
30903
30904 [BZ #13062]
30905 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30906 entry for U+00A5 U+0301.
30907
309082011-12-22 Ulrich Drepper <drepper@gmail.com>
30909
30910 [BZ #13166]
30911 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30912 buffer for the output is too small.
30913
30914 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30915 optimization.
30916
30917 [BZ #13185]
30918 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30919 SSE flags if possible.
30920
309212011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30922
30923 [BZ #13540]
30924 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30925 processing for last bytes.
30926
309272011-12-22 Joseph Myers <joseph@codesourcery.com>
30928
30929 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30930 (syscall-list-default-options, syscall-list-default-condition)
30931 (syscall-list-includes): Define.
30932 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30933 list of ABIs and options and #if conditions for each ABI. Do not
30934 handle common syscalls between ABIs specially.
30935 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30936 Remove.
30937 (syscall-list-variants, syscall-list-32bit-options)
30938 (syscall-list-32bit-condition, syscall-list-64bit-options)
30939 (syscall-list-64bit-condition): Define.
30940 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30941 (syscall-list-variants, syscall-list-32bit-options)
30942 (syscall-list-32bit-condition, syscall-list-64bit-options)
30943 (syscall-list-64bit-condition): Define.
30944 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30945 Remove.
30946 (syscall-list-variants, syscall-list-32bit-options)
30947 (syscall-list-32bit-condition, syscall-list-64bit-options)
30948 (syscall-list-64bit-condition): Define.
30949 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30950 Remove.
30951 (syscall-list-variants, syscall-list-32bit-options)
30952 (syscall-list-32bit-condition, syscall-list-64bit-options)
30953 (syscall-list-64bit-condition): Define.
30954
309552011-12-22 Ulrich Drepper <drepper@gmail.com>
30956
30957 * locale/iso-639.def: Add brx entry.
30958
30959 [BZ #13328]
30960 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30961 Proposed by Mariusz_Cukr <marcukr@op.pl>.
30962
30963 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30964 __feraiseexcept_renamed.
30965
309662011-12-21 Ulrich Drepper <drepper@gmail.com>
30967
30968 [BZ #13538]
30969 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30970 EPOLLET with unsigned values.
30971 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30972 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30973
30974 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30975 to large cancellation.
30976 * math/s_cacoshf.c: Likewise.
30977 * math/s_cacoshl.c: Likewise.
30978
309792011-11-18 Richard B. Kreckel <kreckel@ginac.de>
30980
30981 [BZ #13305]
30982 [BZ #12786]
30983 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30984 * math/s_cacoshf.c: Likewise.
30985 * math/s_cacoshl.c: Likewise.
30986
309872011-12-21 Ulrich Drepper <drepper@gmail.com>
30988
30989 [BZ #13439]
30990 * iconv/gconv.h: Define __GCONV_SWAP.
30991 * iconvdata/unicode.c: The swap bit must be stored in __flags.
30992 * iconvdata/utf-16.c: Likewise.
30993 * iconvdata/utf-32.c: Likewise.
30994
309952011-12-21 Andreas Schwab <schwab@linux-m68k.org>
30996
30997 [BZ #13524]
30998 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30999 numerator after shifting it by one limb.
31000
310012011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31002
31003 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31004 under [__USE_EXTERN_INLINES].
31005
310062011-12-17 Ulrich Drepper <drepper@gmail.com>
31007
31008 [BZ #13446]
31009 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31010
310112011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31012
31013 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31014 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31015 optimized code.
31016 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31017 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31018 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31019 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31020 for strncasecmp/strncasecmp_l compilation.
31021 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31022 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31023
310242011-12-08 Marek Polacek <mpolacek@redhat.com>
31025
31026 [BZ #13484]
31027 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31028 of __asm__.
31029
310302011-12-17 Ulrich Drepper <drepper@gmail.com>
31031
31032 [BZ #13506]
31033 * time/tzfile.c (__tzfile_read): Check values from file header.
31034
310352011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31036
31037 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31038 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31039 * powerpc/powerpc32/dl-start.S: Likewise.
31040 * powerpc/powerpc32/elf/start.S: Likewise.
31041 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31042 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31043 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31044 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31045 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31046 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31047 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31048 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31049 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31050 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31051 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31052 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31053 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31054 * powerpc/powerpc32/memset.S: Likewise.
31055 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31056 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31057 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31058 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31059 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31060 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31061 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31062 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31063 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31064 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31065 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31066 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31067 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31068
310692011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31070
31071 * math/libm-test.inc: Added more nearbyint tests.
31072 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31073 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31074 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31075 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31076
310772011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31078
31079 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31080 FD_CLOEXEC.
31081
310822011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31083
31084 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31085 Add wcscpy-ssse3 wcscpy-c.
31086 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31087 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31088 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31089 * sysdeps/x86_64/wcschr.S: New file.
31090 * sysdeps/x86_64/wcsrchr.S: New file.
31091 * string/test-strcmp.c: Remove checking of wcscmp function for
31092 wrong alignments.
31093 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31094 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31095 wcsrchr-sse2 wcsrchr-c.
31096 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31097 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31098 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31099 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31100 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31101 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31102 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31103 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31104 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31105 * wcsmbc/wcschr.c (WCSCHR): New macro.
31106
311072011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31108
31109 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31110 * wcsmbs/test-wcsrchr.c: New file.
31111 * string/test-strrchr.c: Add wcsrchr support.
31112 (WIDE): New macro.
31113 * wcsmbs/test-wcscpy.c: New file.
31114 * string/test-strcpy.c: Add wcscpy support.
31115 (WIDE): New macro.
31116
311172011-12-10 Ulrich Drepper <drepper@gmail.com>
31118
31119 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31120 the inner loop.
31121
311222011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31123
31124 [BZ #13472]
31125 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31126
311272011-12-04 Ulrich Drepper <drepper@gmail.com>
31128
31129 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31130 Minor optimizations.
31131
31132 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31133 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31134 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31135
311362011-12-03 Ulrich Drepper <drepper@gmail.com>
31137
31138 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31139 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31140 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31141 for gcc to avoid warnings.
31142 * inet/Makefile (tests): Add tst-checks.
31143 * inet/tst-checks.c: New file.
31144
31145 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31146 warning.
31147
31148 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31149 __wmemcmp_sse2.
31150
31151 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31152 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31153
31154 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31155
311562011-12-02 Ulrich Drepper <drepper@gmail.com>
31157
31158 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31159 problem.
31160
31161 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31162
311632011-11-29 Joseph Myers <joseph@codesourcery.com>
31164
31165 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31166 conditional on GCC version.
31167 (__arch_compare_and_exchange_val_8_acq)
31168 (__arch_compare_and_exchange_val_16_acq)
31169 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31170 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31171 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31172
311732011-12-02 Joseph Myers <joseph@codesourcery.com>
31174
31175 * sysdeps/sh/backtrace.c: New file.
31176
311772011-12-02 Andreas Schwab <schwab@redhat.com>
31178
31179 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31180 parenthesis.
31181
311822011-12-01 Andreas Schwab <schwab@redhat.com>
31183
31184 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31185 falling back to utime.
31186
311872011-11-30 Andreas Schwab <schwab@redhat.com>
31188
31189 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31190 expectations for float.
31191
311922011-11-29 Andreas Schwab <schwab@redhat.com>
31193
31194 * locale/weight.h (findidx): Add parameter len.
31195 * locale/weightwc.h (findidx): Likewise.
31196 * posix/fnmatch_loop.c (FCT): Adjust caller.
31197 * posix/regcomp.c (build_equiv_class): Likewise.
31198 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31199 * posix/regexec.c (check_node_accept_bytes): Likewise.
31200 * string/strcoll_l.c (STRCOLL): Likewise.
31201 * string/strxfrm_l.c (STRXFRM): Likewise.
31202
312032011-11-17 Ulrich Drepper <drepper@gmail.com>
31204
31205 * Makefile.in: Remove CVSOPT handling.
31206 * configure.in: Remove use of AC_REVISION.
31207 * iconvdata/Makefile (distribute): No need to filter out CVS.
31208 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31209 handling.
31210
312112011-11-16 Andreas Schwab <schwab@redhat.com>
31212
31213 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31214 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31215 [USE_AS_STRNCASECMP_L]: Likewise.
31216 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31217 NO_TLS_DIRECT_SEG_REFS.
31218 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31219 Fix argument offsets for non-PIC.
31220 [USE_AS_STRNCASECMP_L]: Likewise.
31221 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31222 NO_TLS_DIRECT_SEG_REFS.
31223
312242011-11-15 Ulrich Drepper <drepper@gmail.com>
31225
31226 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31227 O_CLOEXEC.
31228 * locale/loadlocale.c (_nl_load_locale): Likewise.
31229
312302011-11-15 Andreas Schwab <schwab@redhat.com>
31231
31232 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31233 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31234 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31235 (SYSCALL_GETTIME): Set errno on error.
31236
31237 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31238 count references to noai6ai_cached.
31239
312402011-11-15 Ulrich Drepper <drepper@gmail.com>
31241
31242 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31243
31244 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31245 FD_CLOEXEC for /proc/self/maps.
31246
31247 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31248 FD_CLOEXEC for /proc/meminfo.
31249
31250 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31251 gai.conf.
31252
31253 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31254 FD_CLOEXEC for given file.
31255
31256 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31257
31258 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31259 FD_CLOEXEC for /etc/hosts.
31260 (_gethtent): Likewise.
31261
31262 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31263
31264 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31265 cancellation and set FD_CLOEXEC for /etc/netgroup.
31266
31267 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31268 reading /etc/publickey.
31269
31270 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31271 allow cancellation when reading /etc/group.
31272
31273 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31274 cancellation.
31275 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31276
31277 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31278 when using data file.
31279
31280 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31281
31282 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31283 (write_nis_obj): Use "c" and "e" in fopen.
31284
31285 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31286
31287 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31288
31289 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31290
31291 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31292
31293 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31294 locale.alias.
31295
31296 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31297
31298 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31299
31300 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31301
31302 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31303 file parsing and set FD_CLOEXEC.
31304
313052011-11-14 Ulrich Drepper <drepper@gmail.com>
31306
31307 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31308
313092011-11-14 Andreas Schwab <schwab@redhat.com>
31310
31311 * malloc/arena.c (arena_get2): Don't call reused_arena when
31312 _int_new_arena failed.
31313
313142011-11-14 Ulrich Drepper <drepper@gmail.com>
31315
31316 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31317 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31318 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31319 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31320 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31321 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31322 to compile strcasecmp and strncasecmp.
31323 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31324 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31325
31326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31327
313282011-11-13 Ulrich Drepper <drepper@gmail.com>
31329
31330 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31331 locale-defines.sym to gen-as-const-headers.
31332 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31333 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31334 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31335 to compile strcasecmp and strncasecmp.
31336 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31337 strcasecmp_l and strncasecmp_l.
31338 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31339 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31340 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31341 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31342 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31343 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31344 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31345 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31346 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31347 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31348 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31349
313502011-11-12 Ulrich Drepper <drepper@gmail.com>
31351
31352 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31353 result of SYSDEP_GETTIME_CPU to retval.
31354 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31355 parameter list to macro. Remove trailing semicolon. Adjust users.
31356
31357 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31358 variable.
31359
31360 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31361 mantissa words.
31362 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31363
31364 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31365 from unused variable.
31366
31367 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31368 DWARF definitions.
31369 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31370 for assembling.
31371
31372 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31373 over namespaces.
31374
31375 * sunrpc/rpc_prot.c (rejected): Fix case value.
31376
31377 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31378 unsigned long long int to avoid warnings in shift.
31379
31380 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31381 of use of trans.
31382 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31383 variable tmp.
31384
31385 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31386 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31387 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31388
31389 * nis/nis_table.c (nis_list): Use variable of correct type for
31390 result of __follow_path call.
31391
313922011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31393
31394 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31395 of math functions ceil, trunc, floor, round, and sqrt, when
31396 avaliable on the platform.
31397 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31398 name clash.
31399 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31400 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31401 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31402
314032011-10-30 Marek Polacek <mpolacek@redhat.com>
31404
31405 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31406 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31407
314082011-11-11 Roland McGrath <roland@hack.frob.com>
31409
31410 * include/unistd.h: Fix __readlink return type.
31411 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31412
314132011-11-11 Ulrich Drepper <drepper@gmail.com>
31414
31415 * stdlib/ucontext.h: Undo last change for makecontext.
31416
314172011-11-11 Andreas Schwab <schwab@redhat.com>
31418
31419 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31420
31421 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31422 * setjmp/setjmp.h: Mark functions as non-leaf.
31423 * setjmp/bits/setjmp2.h: Likewise.
31424 * stdlib/ucontext.h: Likewise.
31425
314262011-11-10 Andreas Schwab <schwab@redhat.com>
31427
31428 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31429 (reused_arena): Don't check arena limit.
31430 (arena_get2): Atomically check arena limit.
31431
314322011-11-08 Ulrich Drepper <drepper@gmail.com>
31433
31434 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31435 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31436
31437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31438 instructions.
31439
314402011-11-07 Andreas Schwab <schwab@redhat.com>
31441
31442 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31443 handler when locking.
31444
31445 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31446 Fix size of allocated buffer.
31447
314482011-11-04 Andreas Schwab <schwab@redhat.com>
31449
31450 [BZ #10103]
31451 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31452 declarations for long double functions.
31453 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31454
31455 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31456
314572011-11-03 Andreas Schwab <schwab@redhat.com>
31458
31459 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31460 installed.
31461
31462 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31463 is disabled.
31464
314652011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31466
31467 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31468
314692011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31470
31471 * include/alloca.h (stackinfo_alloca_round): Define.
31472 (extend_alloca): Use it.
31473 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31474 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31475 here.
31476
31477 * scripts/check-local-headers.sh: Ignore libaudit.h.
31478
31479 * nscd/Makefile (extra-objs): Make recursively expanded.
31480
314812011-11-01 Ulrich Drepper <drepper@gmail.com>
31482
31483 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31484 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31485
31486 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31487 * posix/tst-rfc3484-2.c: Likewise.
31488 * posix/tst-rfc3484-3.c: Likewise.
31489
31490 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31491 process_vm_writev.
31492 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31493 process_vm_writev.
31494 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31495 process_vm_writev from libc using GLIBC_2.15 version.
31496
31497 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31498
314992011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31500
31501 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31502 stack usage.
31503
315042011-10-31 Ulrich Drepper <drepper@gmail.com>
31505
31506 [BZ #13367]
31507 * nss/getent.c (initgroups_keys): Show error message in case no group
31508 names are given.
31509
31510 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31511 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31512 __bump_nl_timestamp.
31513 * nscd/connections (nscd_init): When host database is served open
31514 netlink socket and request notification about configuration changes.
31515 (main_loop_poll): Track netlink file descriptor and bump timestamp
31516 in case data becomes available.
31517 (main_loop_epoll): Likewise.
31518 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31519 (database_pers_head): Add extra_data fileds.
31520 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31521 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31522 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31523 Adjust caller.
31524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31525 in6ai data, call __free_in6ai.
31526 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31527 Add -DHAVE_NETLINK.
31528 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31529 interface information. Reuse previous data if netlink timestamp
31530 is not changed.
31531 (__bump_nl_timestamp): New function.
31532 (__free_in6ai): New function.
31533
315342011-10-30 Ulrich Drepper <drepper@gmail.com>
31535
31536 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31537 close_not_cancel_no_status here.
31538 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31539
315402011-10-29 Ulrich Drepper <drepper@gmail.com>
31541
31542 [BZ #13276]
31543 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31544 return value.
31545
31546 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31547 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31548 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31549
315502011-07-03 Andreas Jaeger <aj@suse.de>
31551
31552 [BZ #10709]
31553 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31554 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31555 * math/libm-test.inc (sin_test): Add test case.
31556
315572011-10-29 Ulrich Drepper <drepper@gmail.com>
31558
31559 [BZ #13337]
31560 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31561 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31562
31563 * elf/chroot_canon.c (chroot_canon): Cleanups.
31564
31565 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31566
31567 [BZ #13335]
31568 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31569 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31570
31571 * string/test-strchr.c: Make usable for strchrnul testing.
31572 * string/test-strchrnul.c: New file.
31573 * string/Makefile (strop-tests): Add strchrnul.
31574
31575 * po/it.po: Update from translation team.
31576 * po/es.po: Likewise.
31577
315782011-10-28 Ulrich Drepper <drepper@gmail.com>
31579
31580 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31581 the three constants needed as parameters. Drop the others.
31582 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31583 __m128i_strloadu_tolower.
31584 Create and initialize variable zero and use it in all the places
31585 where _mm_setzero_si128 was used.
31586
31587 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31588 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31589 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31590 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31591 anymore.
31592 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31593 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31594 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31595 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31596 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31597 __mpranred, __mptan.
31598 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31599 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31600 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31601 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31602 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31603 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31605 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31606 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31607
316082011-10-28 Andreas Schwab <schwab@redhat.com>
31609
31610 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31611 redefine if SHARED.
31612 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31613
31614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31615 wide char related routines to wcsmbs subdir.
31616
316172011-10-27 Andreas Schwab <schwab@redhat.com>
31618
31619 [BZ #13344]
31620 * misc/sys/cdefs.h (__THROWNL): Define.
31621 * posix/unistd.h: Use __THREADNL instead of __THREAD
31622 for memory synchronization functions.
31623
316242011-10-26 Roland McGrath <roland@hack.frob.com>
31625
31626 [BZ #13349]
31627 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31628 doesn't exist.
31629 * manual/stdio.texi (Obstack Streams): Node removed.
31630
316312011-10-26 Andreas Schwab <schwab@redhat.com>
31632
31633 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31635 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31636
31637 * math/math_private.h (math_force_eval): Allow non-addressable
31638 arguments.
31639 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31640
316412011-10-25 Ulrich Drepper <drepper@gmail.com>
31642
31643 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31644 file is not needed.
31645
31646 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31647 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31648 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31649 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31650 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31651 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31652 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31653 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31654 Add AVX variants.
31655 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31656 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31657 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31658 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31659 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31660 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31661 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31662 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31663 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31664 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31665 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31666 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31667 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31668 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31669 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31670 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31671 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31672 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31673 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31674
31675 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31676 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31677
31678 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31679 place. Use VEX encoding when compiling for AVX.
31680
316812011-10-25 Andreas Schwab <schwab@redhat.com>
31682
31683 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31684 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31685
31686 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31687
316882011-10-25 Ulrich Drepper <drepper@gmail.com>
31689
31690 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31691 useless if() expression.
31692 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31693 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31694 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31695 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31696 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31697 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31698 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31699 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31700 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31701 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31702 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31703 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31704 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31705 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31706 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31707 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31708 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31709 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31710 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31711
31712 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31713
317142011-10-25 Andreas Schwab <schwab@redhat.com>
31715
31716 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31717 condition.
31718 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31719
317202011-10-25 Ulrich Drepper <drepper@gmail.com>
31721
31722 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31723 .text section. Avoid duplicate constants.
31724 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31725 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31726 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31727 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31728 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31732 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31733 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31734 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31735 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31736 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31737 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31738 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31739 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31740 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31741 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31742 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31744 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31745 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31746 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31747 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31748 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31749 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31750 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31751 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31752 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31753 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31754 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31755 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31756 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31757 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31758 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31759 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31760 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31761 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31762 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31763 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31764 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31766 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31767 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31768 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31769
317702011-10-24 Ulrich Drepper <drepper@gmail.com>
31771
31772 * sysdeps/x86_64/dla.h: Move to ...
31773 * sysdeps/x86_64/fpu/dla.h: ...here.
31774 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31775 situations. Use __builtin_fma only for gcc 4.6 and up.
31776
31777 * config.make.in: Add have-mfma4 entry.
31778 * configure.in: Substitute libc_cv_cc_fma4.
31779 * math/Makefile (dbl-only-routines): Add sincostab.
31780 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31781 Use __sincostab not sincos.
31782 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31783 name is a macro.
31784 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31785 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31786 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31788 using __copysign.
31789 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31790 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31791 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31792 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31793 and __inv.
31794 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31795 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31796 __copysign.
31797 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31798 define aliases when function name is a macro.
31799 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31800 sysdeps/ieee754/dbl-64/sincos.tbl.
31801 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31802 fma4-enabled routines.
31803 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31804 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31805 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31806 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31807 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31808 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31809 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31810 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31811 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31812 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31813 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31814 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31815 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31816 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31817 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31818 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31819 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31820 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31821 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31822 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31823 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31824 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31825 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31826 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31828 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31829 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31830 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31831 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31832 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31833
31834 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31835 rename.
31836 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31837 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31838 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31841 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31842 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31843 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31844
318452011-10-24 Andreas Schwab <schwab@redhat.com>
31846
31847 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31848
318492011-10-23 Ulrich Drepper <drepper@gmail.com>
31850
31851 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31852
31853 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31854 prediction.
31855 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31856
31857 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31858 Remove unused variable magic_bits.
31859 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31860
31861 * string/strnlen.c: Define and use STRNLEN macro.
31862 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31863 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31864 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31865 * wcsmbs/wcslen.c: Define and use WCSLEN.
31866 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31867 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31868 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31869 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31870 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31871 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31872 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31873
318742011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31875
31876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31877 strnlen-sse2-no-bsf.
31878 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31879 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31880 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31881 Add strnlen support.
31882 (USE_AS_STRNLEN): New macro.
31883 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31884 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31885 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31886 * sysdeps/x86_64/wcslen.S: New file.
31887
318882011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31889
31890 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31891 XMM-moves are used for copying on small sizes.
31892
318932011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31894
31895 * wcsmbs/Makefile (strop-tests): Add wcschr.
31896 * wcsmbs/test-wcschr.c: New file.
31897 * string/test-strchr.c: Update.
31898 Add wcschr support.
31899 (WIDE): New macro.
31900
319012011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31902
31903 * wcsmbs/Makefile (strop-tests): Add wcslen.
31904 * wcsmbs/test-wcslen.c: New file.
31905 * string/test-strlen.c: Update.
31906 Add wcslen support.
31907 (WIDE): New macro.
31908
319092011-10-23 Ulrich Drepper <drepper@gmail.com>
31910
31911 * po/it.po: Update from translation team.
31912
319132011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31914
31915 * sysdeps/x86_64/wcscmp.S: Update.
31916 Fix wrong comparison semantics.
31917 wcscmp shall use signed comparison not unsigned.
31918 Don't use substraction to avoid overflow bug.
31919 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31920 * wcsmbc/wcscmp.c: Likewise.
31921 * string/test-strcmp.c: Likewise.
31922 Add new tests to check cases with negative values.
31923
319242011-10-23 Ulrich Drepper <drepper@gmail.com>
31925
31926 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31927 * sysdeps/x86_64/dla.h: ...here. New file.
31928 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31933 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31935 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31937
319382011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31939
31940 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31941 __ynl_finite aliases.
31942
319432011-10-22 Ulrich Drepper <drepper@gmail.com>
31944
31945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31946
31947 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31948 define DLA_FMA.
31949 [DLA_FMA] (EMULV): Use DLA_FMA.
31950 [DLA_FMA] (MUL12): Use EMULV.
31951 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31952 that are not needed.
31953 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31957 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31958 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31959 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31960
319612011-10-22 Andreas Schwab <schwab@linux-m68k.org>
31962
31963 * math/s_nan.c: Undef __nan.
31964 * math/s_nanf.c: Undef __nanf.
31965 * math/s_nanl.c: Undef __nanl.
31966 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31967 "math_private.h".
31968
319692011-10-22 Ulrich Drepper <drepper@gmail.com>
31970
31971 * math/s_catan.c: Add branch predictions.
31972 * math/s_catanf.c: Likewise.
31973 * math/s_catanh.c: Likewise.
31974 * math/s_catanhf.c: Likewise.
31975 * math/s_catanhl.c: Likewise.
31976 * math/s_catanl.c: Likewise.
31977 * math/s_cexp.c: Likewise.
31978 * math/s_cexpf.c: Likewise.
31979 * math/s_cexpl.c: Likewise.
31980 * math/s_clog.c: Likewise.
31981 * math/s_clog10.c: Likewise.
31982 * math/s_clog10f.c: Likewise.
31983 * math/s_clog10l.c: Likewise.
31984 * math/s_clogf.c: Likewise.
31985 * math/s_clogl.c: Likewise.
31986 * math/s_csqrt.c: Likewise.
31987 * math/s_csqrtf.c: Likewise.
31988 * math/s_csqrtl.c: Likewise.
31989 * math/s_ctanf.c: Likewise.
31990 * math/s_ctanh.c: Likewise.
31991 * math/s_ctanhf.c: Likewise.
31992 * math/s_ctanhl.c: Likewise.
31993 * math/s_ctanl.c: Likewise.
31994
31995 * math/math_private.h: Define __nan, __nanf, __nanl.
31996 * math/s_cacosh.c: Include <math_private.h>.
31997 * math/s_cacoshl.c: Likewise.
31998 * math/s_casinh.c: Likewise.
31999 * math/s_casinhf.c: Likewise.
32000 * math/s_casinhl.c: Likewise.
32001 * math/s_ccos.c: Rely entire on ccosh.
32002 * math/s_ccosf.c: Rely entire on ccoshf.
32003 * math/s_ccosl.c: Rely entirely on ccoshl.
32004 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32005 Remove tests for FE_INVALID.
32006 * math/s_ccoshf.c: Likewise.
32007 * math/s_ccoshl.c: Likewise.
32008 * math/s_csin.c: Likewise.
32009 * math/s_csinf.c: Likewise.
32010 * math/s_csinh.c Likewise.
32011 * math/s_csinhf.c: Likewise.
32012 * math/s_csinhl.c: Likewise.
32013 * math/s_csinl.c: Likewise.
32014 * math/s_ctan.c: Likewise.
32015 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32016 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32017 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32018
320192011-10-21 Ulrich Drepper <drepper@gmail.com>
32020
32021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32022 compilation problems.
32023
32024 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32025 __builtin_expect.
32026
320272011-10-20 Ulrich Drepper <drepper@gmail.com>
32028
32029 * sysdeps/i386/configure.in: Test for -mfma4 option.
32030 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32031 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32032 COMMON_CPUID_INDEX_80000001.
32033 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32034 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32035 use it if FMA3 is not supported.
32036 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32037
32038 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32039 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32040
320412011-10-20 Andreas Schwab <schwab@redhat.com>
32042
32043 [BZ #12892]
32044 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32045 it would create a cycle with a link time dependency.
32046
320472011-10-19 Ulrich Drepper <drepper@gmail.com>
32048
32049 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32050 instruction.
32051 * string/Makefile (strop-tests): Add rawmemchr.
32052 * string/test-rawmemchr.c: New file.
32053
32054 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32055 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32056 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32057 when compiling str{,n}casecmp and when AVX is available. Hook up
32058 new optimized code in initializers.
32059
320602011-10-19 Andreas Schwab <schwab@redhat.com>
32061
32062 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32063 __feraiseexcept instead of feraiseexcept.
32064
320652011-10-18 Ulrich Drepper <drepper@gmail.com>
32066
32067 * math/math_private.h: Define defaults for libc_fetestexcept and
32068 libc_feupdateenv.
32069 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32070 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32071 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32072 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32073 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32074 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32075 libc_fetestexcept and libc_feupdateenv.
32076
32077 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32078 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32079 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32080 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32081 libc_feholdexcept_setround.
32082
32083 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32084 Add s_nearbyint-c and s_nearbyintf-c.
32085 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32086 nearbyintf inlines.
32087 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32088 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32089 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32090 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32091
32092 * math/math_private.h: Define defaults for libc_fegetround,
32093 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32094 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32095 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32096 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32097 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32098 standard functions.
32099 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32100 Remove comments and hacks for old compiler versions.
32101 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32102 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32103 libc_feholdexceptl.
32104
321052011-10-18 Andreas Schwab <schwab@redhat.com>
32106
32107 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32108 (__feraiseexcept_renamed): Add __NTH.
32109 (feraiseexcept): Add __NTH. Rename local variables to fix
32110 namespace violations.
32111
321122011-10-17 Ulrich Drepper <drepper@gmail.com>
32113
32114 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32115
32116 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32117
32118 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32119 recently added interfaces.
32120 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32121
32122 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32123 about macro parameter expansion.
32124
32125 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32126 __NO_MATH_INLINES is defined. Cleanups.
32127
32128 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32129 and __floorf is target has SSE4.1.
32130 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32131 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32132 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32133 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32134
32135 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32136 name.
32137 (floorf): Likewise.
32138
32139 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32140
321412011-10-17 Andreas Schwab <schwab@redhat.com>
32142
32143 * misc/sys/cdefs.h: Fix last change.
32144
32145 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32146 database lookup.
32147
321482011-10-16 Ulrich Drepper <drepper@gmail.com>
32149
32150 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32151
32152 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32153 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32154 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32155 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32156 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32157 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32158 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32159 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32160 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32161 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32162 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32163 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32164 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32165 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32166 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32167 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32168 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32169 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32170 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32171 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32172 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32173 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32174
32175 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32176 ceil, ceilf, floor, floorf.
32177
32178 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32179 Perform IRELATIVE relocations last.
32180
32181 * elf/do-rel.h: Add another parameter nrelative, replacing the
32182 local variable with the same name. Change name of the function
32183 to end in Rel or Rela (uppercase).
32184 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32185 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32186 elf_dynamic_do_##reloc function.
32187
321882011-10-15 Ulrich Drepper <drepper@gmail.com>
32189
32190 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32191 is sufficient, at least on modern CPUs.
32192
32193 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32194
32195 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32196 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32197
32198 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32199 __expl_finite.
32200 * math/bits/math-finite.h: Add entries for exp.
32201 * math/e_expl.c: Add __*_finite alias.
32202 * sysdeps/i386/fpu/e_exp.S: Likewise.
32203 * sysdeps/i386/fpu/e_expf.S: Likewise.
32204 * sysdeps/i386/fpu/e_expl.c: Likewise.
32205 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32206 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32207 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32208 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32209 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32210 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32211 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32212
32213 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32214 is sufficient, at least on modern CPUs.
32215
32216 * ctype/ctype-info.c (__ctype_init): Define.
32217 * include/ctype.h (__ctype_init): Declare.
32218 (__ctype_b_loc): The variable is always initialized.
32219 (__ctype_toupper_loc): Likewise.
32220 (__ctype_tolower_loc): Likewise.
32221 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32222 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32223
322242011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32225
32226 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32227
32228 * configure.in: Also look in $cxxmachine/include for C++ system
32229 headers.
32230
322312011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32232
32233 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32234 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32235 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32236 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32237 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32238 (USE_AS_WMEMCMP): New macro.
32239 Fixing indents.
32240 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32241 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32242 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32243 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32245 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32246 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32247 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32248 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32249 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32250 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32251 (USE_AS_WMEMCMP): New macro.
32252 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32253 * sysdeps/string/test-memcmp.c: Update.
32254 Fix simple_wmemcmp.
32255 Add new tests.
32256 * wcsmbs/wmemcmp.c: Update.
32257 (WMEMCMP): New macro.
32258 Fix overflow bug.
32259
322602011-10-12 Andreas Jaeger <aj@suse.de>
32261
32262 [BZ #13268]
32263 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32264
322652011-10-15 Ulrich Drepper <drepper@gmail.com>
32266
32267 * libio/iofwide.c (do_length): Avoid warning.
32268
32269 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32270
322712011-10-14 Ulrich Drepper <drepper@gmail.com>
32272
32273 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32274
32275 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32276 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32277 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32278 * sysdeps/i386/i686/fpu/e_log.S: New file.
32279 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32280 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32281
32282 * ctype/ctype.h: Add support for inlined isXXX functions when
32283 compiling C++ code.
32284
322852011-10-14 Andreas Schwab <schwab@redhat.com>
32286
32287 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32288
32289 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32290
322912011-10-13 Roland McGrath <roland@hack.frob.com>
32292
32293 [BZ #13291]
32294 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32295
322962011-10-13 Andreas Schwab <schwab@redhat.com>
32297
32298 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32299 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32300 feraiseexcept.
32301
32302 * sysdeps/x86_64/memrchr.S: Check for zero size.
32303
32304 * string/stratcliff.c: Add memrchr tests.
32305
323062011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32307
32308 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32309 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32310 rawmemchr-sse2 rawmemchr-sse2-bsf.
32311 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32312 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32313 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32314 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32315 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32316 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32317 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32318 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32319 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32320 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32321 * string/memrchr.c (MEMRCHR): New macro.
32322
323232011-10-12 Ulrich Drepper <drepper@gmail.com>
32324
32325 Add integration with gcc's -ffinite-math-only and optimize wrapper
32326 functions in libm.
32327 * Versions.def: Define GLIBC_2.15 version for libm.
32328 * math/Makefile (headers): Add bits/math-finite.h.
32329 * math/bits/math-finite.h: New file.
32330 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32331 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32332 * math/e_acoshl.c: Add __*_finite alias.
32333 * math/e_acosl.c: Likewise.
32334 * math/e_asinl.c: Likewise.
32335 * math/e_atan2l.c: Likewise.
32336 * math/e_atanhl.c: Likewise.
32337 * math/e_coshl.c: Likewise.
32338 * math/e_exp10.c: Likewise.
32339 * math/e_exp10f.c: Likewise.
32340 * math/e_exp10l.c: Likewise.
32341 * math/e_exp2l.c: Likewise.
32342 * math/e_fmodl.c: Likewise.
32343 * math/e_gammal_r.c: Likewise.
32344 * math/e_hypotl.c: Likewise.
32345 * math/e_j0l.c: Likewise.
32346 * math/e_j1l.c: Likewise.
32347 * math/e_jnl.c: Likewise.
32348 * math/e_lgammal_r.c: Likewise.
32349 * math/e_log10l.c: Likewise.
32350 * math/e_log2l.c: Likewise.
32351 * math/e_logl.c: Likewise.
32352 * math/e_powl.c: Likewise.
32353 * math/e_sinhl.c: Likewise.
32354 * math/e_sqrtl.c: Likewise.
32355 * math/e_scalb.c: Completely rewritten and optimized.
32356 * math/e_scalbf.c: Likewise.
32357 * math/e_scalbl.c: Likewise.
32358 * math/w_acos.c: Likewise.
32359 * math/w_acosf.c: Likewise.
32360 * math/w_acosl.c: Likewise.
32361 * math/w_acosh.c: Likewise.
32362 * math/w_acoshf.c: Likewise.
32363 * math/w_acoshl.c: Likewise.
32364 * math/w_asin.c: Likewise.
32365 * math/w_asinf.c: Likewise.
32366 * math/w_asinl.c: Likewise.
32367 * math/w_atan2.c: Likewise.
32368 * math/w_atan2f.c: Likewise.
32369 * math/w_atan2l.c: Likewise.
32370 * math/w_atanh.c: Likewise.
32371 * math/w_atanhf.c: Likewise.
32372 * math/w_atanhl.c: Likewise.
32373 * math/w_exp10.c: Likewise.
32374 * math/w_exp10f.c: Likewise.
32375 * math/w_exp10l.c: Likewise.
32376 * math/w_fmod.c: Likewise.
32377 * math/w_fmodf.c: Likewise.
32378 * math/w_fmodl.c: Likewise.
32379 * math/w_j0.c: Likewise.
32380 * math/w_j0f.c: Likewise.
32381 * math/w_j0l.c: Likewise.
32382 * math/w_j1.c: Likewise.
32383 * math/w_j1f.c: Likewise.
32384 * math/w_j1l.c: Likewise.
32385 * math/w_jn.c: Likewise.
32386 * math/w_jnf.c: Likewise.
32387 * math/w_log.c: Likewise.
32388 * math/w_logf.c: Likewise.
32389 * math/w_logl.c: Likewise.
32390 * math/w_log10.c: Likewise.
32391 * math/w_log10f.c: Likewise.
32392 * math/w_log10l.c: Likewise.
32393 * math/w_log2.c: Likewise.
32394 * math/w_log2f.c: Likewise.
32395 * math/w_log2l.c: Likewise.
32396 * math/w_pow.c: Likewise.
32397 * math/w_powf.c: Likewise.
32398 * math/w_powl.c: Likewise.
32399 * math/w_remainder.c: Likewise.
32400 * math/w_remainderf.c: Likewise.
32401 * math/w_remainderl.c: Likewise.
32402 * math/w_scalb.c: Likewise.
32403 * math/w_scalbf.c: Likewise.
32404 * math/w_scalbl.c: Likewise.
32405 * math/w_sqrt.c: Likewise.
32406 * math/w_sqrtf.c: Likewise.
32407 * math/w_sqrtl.c: Likewise.
32408 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32409 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32410 used.
32411 * math/math_private.h: Declare __kernel_standard_f.
32412 * math/w_cosh.c: Remove cruft and optimize a bit.
32413 * math/w_coshf.c: Likewise.
32414 * math/w_coshl.c: Likewise.
32415 * math/w_exp2.c: Likewise.
32416 * math/w_exp2f.c: Likewise.
32417 * math/w_exp2l.c: Likewise.
32418 * math/w_hypot.c: Likewise.
32419 * math/w_hypotf.c: Likewise.
32420 * math/w_hypotl.c: Likewise.
32421 * math/w_lgamma.c: Likewise.
32422 * math/w_lgamma_r.c: Likewise.
32423 * math/w_lgammaf.c: Likewise.
32424 * math/w_lgammaf_r.c: Likewise.
32425 * math/w_lgammal.c: Likewise.
32426 * math/w_lgammal_r.c: Likewise.
32427 * math/w_sinh.c: Likewise.
32428 * math/w_sinhf.c: Likewise.
32429 * math/w_sinhl.c: Likewise.
32430 * math/w_tgamma.c: Likewise.
32431 * math/w_tgammaf.c: Likewise.
32432 * math/w_tgammal.c: Likewise.
32433 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32434 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32435 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32436 Minor optimizations. Pretty printing. Remove cruft.
32437 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32438 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32439 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32440 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32441 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32442 * sysdeps/i386/fpu/e_asin.S: Likewise.
32443 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32444 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32445 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32446 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32447 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32448 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32449 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32450 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32451 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32452 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32453 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32454 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32455 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32456 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32457 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32458 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32459 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32460 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32461 * sysdeps/i386/fpu/e_log.S: Likewise.
32462 * sysdeps/i386/fpu/e_log10.S: Likewise.
32463 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32464 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32465 * sysdeps/i386/fpu/e_log2.S: Likewise.
32466 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32467 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32468 * sysdeps/i386/fpu/e_logf.S: Likewise.
32469 * sysdeps/i386/fpu/e_logl.S: Likewise.
32470 * sysdeps/i386/fpu/e_pow.S: Likewise.
32471 * sysdeps/i386/fpu/e_powf.S: Likewise.
32472 * sysdeps/i386/fpu/e_powl.S: Likewise.
32473 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32474 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32475 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32476 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32477 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32478 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32479 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32480 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32481 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32482 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32483 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32485 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32486 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32487 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32488 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32489 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32490 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32491 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32492 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32493 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32494 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32495 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32496 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32498 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32499 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32500 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32501 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32503 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32504 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32505 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32506 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32507 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32508 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32509 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32510 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32511 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32512 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32513 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32514 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32515 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32516 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32517 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32518 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32519 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32520 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32521 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32522 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32523 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32524 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32525 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32526 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32527 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32528 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32529 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32530 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32531 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32532 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32533 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32534 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32535 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32536 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32537 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32538 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32539 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32540 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32541 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32542 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32543 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32544 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32545 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32546 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32547 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32549 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32550 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32551 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32552 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32553 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32554 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32555 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32556 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32557 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32558 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32559 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32560 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32561 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32562 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32563 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32564 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32565 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32566 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32567 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32568 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32569 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32570 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32571 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32572 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32573 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32574 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32575 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32576 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32577 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32578 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32579 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32580 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32581 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32582 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32583 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32584 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32585 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32586 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32587 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32588 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32589 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32590 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32591 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32592 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32593 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32594 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32595 (__isnanf): Likewise.
32596 (__isinf_ns): Likewise.
32597 (__isinf_nsf): Likewise.
32598 (__finite): Likewise.
32599 (__finitef): Likewise.
32600 (__ieee754_sqrt): Define as macro.
32601 (__ieee754_sqrtf): Define as macro.
32602 (__ieee754_sqrtl): Define as macro.
32603 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32604 inlined copy.
32605 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32606 __FINITE_MATH_ONLY__ consistent.
32607 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32608
326092011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32610
32611 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32612 of rawmemchr.
32613
32614 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32615
326162011-10-09 Ulrich Drepper <drepper@gmail.com>
32617
32618 * po/ja.po: Update from translation team.
32619
326202011-10-08 Roland McGrath <roland@hack.frob.com>
32621
32622 * locale/programs/locarchive.c (prepare_address_space): New function.
32623 (create_archive, enlarge_archive, open_archive): Use it.
32624
32625 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32626 inside [SHARED], where it is used.
32627
32628 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32629
32630 * nss/getent.c (netgroup_keys): Remove unused variable.
32631 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32632
326332011-10-08 Ulrich Drepper <drepper@gmail.com>
32634
32635 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32636 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32639 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32640 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32641 * math/Makefile (libm-calls): Add s_isinf_ns.
32642 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32643 * math/multc3.c: Likewise.
32644 * math/s_casin.c: Likewise.
32645 * math/s_casinf.c: Likewise.
32646 * math/s_casinl.c: Likewise.
32647 * math/s_ccos.c: Likewise.
32648 * math/s_ccosf.c: Likewise.
32649 * math/s_ccosl.c: Likewise.
32650 * math/s_ctan.c: Likewise.
32651 * math/s_ctanf.c: Likewise.
32652 * math/s_ctanh.c: Likewise.
32653 * math/s_ctanhf.c: Likewise.
32654 * math/s_ctanhl.c: Likewise.
32655 * math/s_ctanl.c: Likewise.
32656 * math/w_fmod.c: Likewise.
32657 * math/w_fmodf.c: Likewise.
32658 * math/w_fmodl.c: Likewise.
32659 * math/w_remainder.c: Likewise.
32660 * math/w_remainderf.c: Likewise.
32661 * math/w_remainderl.c: Likewise.
32662 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32663 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32664 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32665 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32666 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32667 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32668 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32669 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32670
32671 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32672 of the number.
32673 * stdio-common/printf_fphex.c: Likewise.
32674 * stdio-common/printf_size.c: Likewise.
32675
32676 * math/e_exp10.c: Include math_private.h using <...> not "...".
32677 * math/e_exp10f.c: Likewise.
32678 * math/e_exp10l.c: Likewise.
32679 * math/e_exp2l.c: Likewise.
32680 * math/e_j0l.c: Likewise.
32681 * math/e_j1l.c: Likewise.
32682 * math/e_jnl.c: Likewise.
32683 * math/e_lgammal_r.c: Likewise.
32684 * math/e_rem_pio2l.c: Likewise.
32685 * math/e_scalb.c: Likewise.
32686 * math/e_scalbf.c: Likewise.
32687 * math/e_scalbl.c: Likewise.
32688 * math/k_cosl.c: Likewise.
32689 * math/k_sinl.c: Likewise.
32690 * math/k_tanl.c: Likewise.
32691 * math/s_cacoshf.c: Likewise.
32692 * math/s_catan.c: Likewise.
32693 * math/s_catanf.c: Likewise.
32694 * math/s_catanh.c: Likewise.
32695 * math/s_catanhf.c: Likewise.
32696 * math/s_catanhl.c: Likewise.
32697 * math/s_catanl.c: Likewise.
32698 * math/s_ccosh.c: Likewise.
32699 * math/s_ccoshf.c: Likewise.
32700 * math/s_ccoshl.c: Likewise.
32701 * math/s_cexp.c: Likewise.
32702 * math/s_cexpf.c: Likewise.
32703 * math/s_cexpl.c: Likewise.
32704 * math/s_clog.c: Likewise.
32705 * math/s_clog10.c: Likewise.
32706 * math/s_clog10f.c: Likewise.
32707 * math/s_clog10l.c: Likewise.
32708 * math/s_clogf.c: Likewise.
32709 * math/s_clogl.c: Likewise.
32710 * math/s_csin.c: Likewise.
32711 * math/s_csinf.c: Likewise.
32712 * math/s_csinh.c: Likewise.
32713 * math/s_csinhf.c: Likewise.
32714 * math/s_csinhl.c: Likewise.
32715 * math/s_csinl.c: Likewise.
32716 * math/s_csqrt.c: Likewise.
32717 * math/s_csqrtf.c: Likewise.
32718 * math/s_csqrtl.c: Likewise.
32719 * math/s_ctan.c: Likewise.
32720 * math/s_ctanf.c: Likewise.
32721 * math/s_ctanh.c: Likewise.
32722 * math/s_ctanhf.c: Likewise.
32723 * math/s_ctanhl.c: Likewise.
32724 * math/s_ctanl.c: Likewise.
32725 * math/s_ldexp.c: Likewise.
32726 * math/s_ldexpf.c: Likewise.
32727 * math/s_ldexpl.c: Likewise.
32728 * math/s_significand.c: Likewise.
32729 * math/s_significandf.c: Likewise.
32730 * math/s_significandl.c: Likewise.
32731 * math/w_acos.c: Likewise.
32732 * math/w_acosf.c: Likewise.
32733 * math/w_acosh.c: Likewise.
32734 * math/w_acoshf.c: Likewise.
32735 * math/w_acoshl.c: Likewise.
32736 * math/w_acosl.c: Likewise.
32737 * math/w_asin.c: Likewise.
32738 * math/w_asinf.c: Likewise.
32739 * math/w_asinl.c: Likewise.
32740 * math/w_atan2.c: Likewise.
32741 * math/w_atan2f.c: Likewise.
32742 * math/w_atan2l.c: Likewise.
32743 * math/w_atanh.c: Likewise.
32744 * math/w_atanhf.c: Likewise.
32745 * math/w_atanhl.c: Likewise.
32746 * math/w_cosh.c: Likewise.
32747 * math/w_coshf.c: Likewise.
32748 * math/w_coshl.c: Likewise.
32749 * math/w_dremf.c: Likewise.
32750 * math/w_exp10.c: Likewise.
32751 * math/w_exp10f.c: Likewise.
32752 * math/w_exp10l.c: Likewise.
32753 * math/w_exp2.c: Likewise.
32754 * math/w_exp2f.c: Likewise.
32755 * math/w_fmod.c: Likewise.
32756 * math/w_fmodf.c: Likewise.
32757 * math/w_fmodl.c: Likewise.
32758 * math/w_hypot.c: Likewise.
32759 * math/w_hypotf.c: Likewise.
32760 * math/w_hypotl.c: Likewise.
32761 * math/w_j0.c: Likewise.
32762 * math/w_j0f.c: Likewise.
32763 * math/w_j0l.c: Likewise.
32764 * math/w_j1.c: Likewise.
32765 * math/w_j1f.c: Likewise.
32766 * math/w_j1l.c: Likewise.
32767 * math/w_jn.c: Likewise.
32768 * math/w_jnf.c: Likewise.
32769 * math/w_jnl.c: Likewise.
32770 * math/w_lgamma.c: Likewise.
32771 * math/w_lgamma_r.c: Likewise.
32772 * math/w_lgammaf.c: Likewise.
32773 * math/w_lgammaf_r.c: Likewise.
32774 * math/w_lgammal.c: Likewise.
32775 * math/w_lgammal_r.c: Likewise.
32776 * math/w_log.c: Likewise.
32777 * math/w_log10.c: Likewise.
32778 * math/w_log10f.c: Likewise.
32779 * math/w_log10l.c: Likewise.
32780 * math/w_log2.c: Likewise.
32781 * math/w_log2f.c: Likewise.
32782 * math/w_log2l.c: Likewise.
32783 * math/w_logf.c: Likewise.
32784 * math/w_logl.c: Likewise.
32785 * math/w_pow.c: Likewise.
32786 * math/w_powf.c: Likewise.
32787 * math/w_powl.c: Likewise.
32788 * math/w_remainder.c: Likewise.
32789 * math/w_remainderf.c: Likewise.
32790 * math/w_remainderl.c: Likewise.
32791 * math/w_scalb.c: Likewise.
32792 * math/w_scalbf.c: Likewise.
32793 * math/w_scalbl.c: Likewise.
32794 * math/w_sinh.c: Likewise.
32795 * math/w_sinhf.c: Likewise.
32796 * math/w_sinhl.c: Likewise.
32797 * math/w_sqrt.c: Likewise.
32798 * math/w_sqrtf.c: Likewise.
32799 * math/w_sqrtl.c: Likewise.
32800 * math/w_tgamma.c: Likewise.
32801 * math/w_tgammaf.c: Likewise.
32802 * math/w_tgammal.c: Likewise.
32803
32804 * po/ja.po: Update from translation team.
32805
328062011-09-29 Andreas Jaeger <aj@suse.de>
32807
32808 [BZ #13179]
32809 * sunrpc/netname.c (netname2host): Fix logic.
32810
32811 [BZ #6779]
32812 [BZ #6783]
32813 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32814 correctly.
32815 * math/w_remainder.c (__remainder): Likewise.
32816 * math/w_remainderf.c (__remainderf): Likewise.
32817 * math/libm-test.inc (remainder_test): Add test cases.
32818
328192011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32820
32821 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32822 sdiv_qrnnd.
32823
328242011-10-07 Ulrich Drepper <drepper@gmail.com>
32825
32826 * string/test-memcmp.c: Avoid unncessary #defines.
32827 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32828
328292011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32830
32831 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32832 Use new sse2 version for core i3 - i7 as it's faster
32833 than sse42 version.
32834 (bit_Prefer_PMINUB_for_stringop): New.
32835 * sysdeps/x86_64/rawmemchr.S: Update.
32836 Replace with faster SSE2 version.
32837 * sysdeps/x86_64/memrchr.S: New file.
32838 * sysdeps/x86_64/memchr.S: Update.
32839 Replace with faster SSE2 version.
32840
328412011-09-12 Marek Polacek <mpolacek@redhat.com>
32842
32843 * elf/dl-load.c (lose): Add cast to avoid warning.
32844
328452011-10-07 Ulrich Drepper <drepper@gmail.com>
32846
32847 * po/ca.po: Update from translation team.
32848
32849 * inet/getnetgrent_r.c: Hook up nscd.
32850 * nscd/Makefile (routines): Add nscd_netgroup.
32851 (nscd-modules): Add netgroupcache.
32852 (CFLAGS-netgroupcache.c): Define.
32853 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32854 (cache_search): Add const to second parameter.
32855 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32856 INNETGR.
32857 (dbs): Add netgrdb entry.
32858 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32859 (verify_persistent_db): Handle netgrdb.
32860 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32861 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32862 GETFDNETGR.
32863 (netgroup_response_header): Define.
32864 (innetgroup_response_header): Define.
32865 (datahead): Add netgroup_response_header and innetgroup_response_header
32866 elements.
32867 * nscd/nscd.conf: Add entries for netgroup cache.
32868 * nscd/nscd.h (dbtype): Add netgrdb.
32869 (_PATH_NSCD_NETGROUP_DB): Define.
32870 (netgroup_iov_disabled): Declare.
32871 (xmalloc, xcalloc, xrealloc): Move declarations here.
32872 (cache_search): Adjust prototype.
32873 Add netgroup-related prototypes.
32874 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32875 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32876 (__nscd_innetgr): Declare.
32877 * nscd/selinux.c (perms): Use access_vector_t as element type and
32878 add netgroup-related initializers.
32879 * nscd/netgroupcache.c: New file.
32880 * nscd/nscd_netgroup.c: New file.
32881 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32882 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32883 For four parameters use innetgr.
32884 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32885 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32886 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32887 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32888
32889 * nscd/connections.c (register_traced_file): Don't register file
32890 for disabled databases.
32891
328922011-10-06 Ulrich Drepper <drepper@gmail.com>
32893
32894 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32895
32896 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32897 from tree and freeing node.
32898
328992011-09-25 Jiri Olsa <jolsa@redhat.com>
32900
32901 * nss/nsswitch.c (__nss_database_lookup): Handle
32902 nss_parse_service_list out of memory case.
32903
329042011-09-15 Jiri Olsa <jolsa@redhat.com>
32905
32906 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32907 out of memory case.
32908
329092011-10-04 Andreas Schwab <schwab@redhat.com>
32910
32911 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32912 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32913 pass it down.
32914 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32915 elf_machine_rela, elf_machine_lazy_rel.
32916 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32917 (ELF_DYNAMIC_DO_REL): Likewise.
32918 (ELF_DYNAMIC_DO_RELA): Likewise.
32919 (ELF_DYNAMIC_RELOCATE): Likewise.
32920 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32921 to ELF_DYNAMIC_DO_REL.
32922 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32923 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32924 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32925 elf_machine_rela.
32926 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32927 skip_ifunc, don't call ifunc function if non-zero.
32928 (elf_machine_rela): Likewise.
32929 (elf_machine_lazy_rel): Likewise.
32930 (elf_machine_lazy_rela): Likewise.
32931 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32932 (elf_machine_lazy_rel): Likewise.
32933 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32934 Likewise.
32935 (elf_machine_lazy_rel): Likewise.
32936 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32937 Likewise.
32938 (elf_machine_lazy_rel): Likewise.
32939 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32940 (elf_machine_lazy_rel): Likewise.
32941 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32942 (elf_machine_lazy_rel): Likewise.
32943 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32944 (elf_machine_lazy_rel): Likewise.
32945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32946 (elf_machine_lazy_rel): Likewise.
32947 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32948 (elf_machine_lazy_rel): Likewise.
32949 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32950 (elf_machine_lazy_rel): Likewise.
32951
329522011-09-28 Ulrich Drepper <drepper@gmail.com>
32953
32954 * nss/nss_files/files-init.c (_nss_files_init): Use static
32955 initialization for all the *_traced_file variables.
32956
329572011-09-28 Andreas Schwab <schwab@redhat.com>
32958
32959 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32960
329612011-09-27 Roland McGrath <roland@hack.frob.com>
32962
32963 [BZ #13226]
32964 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32965
329662011-09-27 Andreas Schwab <schwab@redhat.com>
32967
32968 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32969 Reread the line before reparsing it.
32970
329712011-09-26 Andreas Schwab <schwab@redhat.com>
32972
32973 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32974
329752011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
32976 Maxim Kuvyrkov <maxim@codesourcery.com>
32977 Joseph Myers <joseph@codesourcery.com>
32978
32979 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32980 if needed for __stack_chk_guard.
32981
329822011-09-19 Roland McGrath <roland@hack.frob.com>
32983
32984 * sysdeps/posix/spawni.c (script_execute): Always define it.
32985 It will be optimized away if unused.
32986 (maybe_script_execute): New function.
32987 (__spawni): Call it.
32988
32989 * Makerules: Don't include tls.make.
32990 (config-tls): Always set to thread.
32991 * tls.make.c: File removed.
32992
329932011-09-19 Mike Frysinger <vapier@gentoo.org>
32994
32995 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32996 * config.make.in (CPPFLAGS-config): New substituted variable.
32997
329982011-09-15 Ulrich Drepper <drepper@gmail.com>
32999
33000 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33001
33002 [BZ #13192]
33003 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33004 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33005
330062011-09-15 Roland McGrath <roland@hack.frob.com>
33007
33008 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33009 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33010 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33011 (CALL_FAIL): Likewise.
33012 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33013 (CALL_FAIL): Macro removed.
33014 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33015
330162011-09-15 Ulrich Drepper <drepper@gmail.com>
33017
33018 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33019 for __FINITE_MATH_ONLY__ == 1.
33020
330212011-09-15 Andreas Schwab <schwab@redhat.com>
33022
33023 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33024 __ieee754_sqrt instead of sqrt.
33025 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33026 __ieee754_sqrtf instead of sqrtf.
33027 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33028 __floorf instead of floorf.
33029 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33030 __floorf, __truncf instead of floorf, truncf.
33031
330322011-09-14 Ulrich Drepper <drepper@gmail.com>
33033
33034 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33035
33036 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33037 __extern_always_inline.
33038 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33039 32-bit.
33040
330412011-09-14 Andreas Schwab <schwab@redhat.com>
33042
33043 * elf/rtld.c (dl_main): Also relocate in dependency order when
33044 doing symbol dependency testing.
33045
330462011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33047
33048 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33049 Always define `refsym'.
33050
330512011-09-13 Andreas Schwab <schwab@redhat.com>
33052
33053 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33054 (__FD_ELT): Renamed from __FDELT.
33055 * misc/bits/select2.h (__FD_ELT): Likewise.
33056 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33057 __FD_MASK instead of __FDELT, __FDMASK.
33058 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33059 Likewise.
33060 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33061 Likewise.
33062
33063 * elf/Makefile (gen-ldd): Fix pattern.
33064
33065 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33066 (init_tls): Likewise.
33067
330682011-09-12 Ulrich Drepper <drepper@gmail.com>
33069
33070 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33071
330722011-09-12 Andreas Schwab <schwab@redhat.com>
33073
33074 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33075 `struct cmsghdr *' instead of `void *'.
33076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33077 Likewise.
33078
330792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33080
33081 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33082 if non-absolute.
33083 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33084 ldd_rewrite_script.
33085
330862011-09-11 Ulrich Drepper <drepper@gmail.com>
33087
33088 * configure.in: Remove --with-tls option.
33089 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33090 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33091 out in case it is missing.
33092 * sysdeps/ia64/elf/configure.in: Likewise.
33093 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33094 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33095 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33096 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33097 * sysdeps/sh/elf/configure.in: Likewise.
33098 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33099 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33100 * sysdeps/x86_64/elf/configure.in: Likewise.
33101 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33102 * sysdeps/mach/hurd/tls.h: Likewise.
33103
33104 [BZ #13067]
33105 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33106
33107 [BZ #13090]
33108 * configure.in: Fix use of AC_INIT.
33109
33110 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33111
331122011-09-10 Ulrich Drepper <drepper@gmail.com>
33113
33114 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33115 __set_errno.
33116 * malloc/hooks.c: Likewise.
33117
33118 [BZ #11929]
33119 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33120 variables statically.
33121 (narenas): Initialize.
33122 (list_lock): Initialize.
33123 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33124 initializtion of main_arena and list_lock. Small cleanups.
33125 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33126 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33127 Add initializers to main_arena and mp_.
33128 (malloc_state): Remove pagesize member. Change all users to use
33129 GLRO(dl_pagesize).
33130
33131 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33132 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33133 is always initialized.
33134
33135 * malloc/malloc.c: Removed unused configurations and dead code.
33136 * malloc/arena.c: Likewise.
33137 * malloc/hooks.c: Likewise.
33138 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33139
33140 * include/tls.h: Removed. USE___THREAD must always be defined.
33141 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33142 * elf/dl-libc.c: Likewise.
33143 * elf/dl-tsd.c: Likewise.
33144 * include/errno.h: Likewise.
33145 * include/netdb.h: Likewise.
33146 * include/resolv.h: Likewise.
33147 * inet/herrno-loc.c: Likewise.
33148 * inet/herrno.c: Likewise.
33149 * malloc/arena.c: Likewise.
33150 * malloc/hooks.c: Likewise.
33151 * malloc/malloc.c: Likewise.
33152 * resolv/res-state.c: Likewise.
33153 * resolv/res_libc.c: Likewise.
33154 * sysdeps/i386/dl-machine.h: Likewise.
33155 * sysdeps/ia64/dl-machine.h: Likewise.
33156 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33157 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33158 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33159 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33160 * sysdeps/sh/dl-machine.h: Likewise.
33161 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33162 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33163 * sysdeps/unix/i386/sysdep.S: Likewise.
33164 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33165 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33166 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33167 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33168 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33169 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33170 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33172 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33174 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33175 * sysdeps/x86_64/dl-machine.h: Likewise.
33176 * tls.make.c: Likewise.
33177
33178 * configure.in: Remove --with-__thread option. Make tests for
33179 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33180 tls_model attribute fail if no support is available. Remove
33181 USE_IN_LIBIO.
33182 * Makeconfig: Adjust for dropped configure option. All features are
33183 now mandatory.
33184 * Makerules: Likewise.
33185 * Versions.def: Likewise.
33186 * argp/argp-fmtstream.c: Likewise.
33187 * argp/argp-fmtstream.h: Likewise.
33188 * argp/argp-help.c: Likewise.
33189 * assert/assert.c: Likewise.
33190 * config.h.in: Likewise.
33191 * config.make.in: Likewise.
33192 * configure: Likewise.
33193 * configure.in: Likewise.
33194 * csu/Versions: Likewise.
33195 * csu/init.c: Likewise.
33196 * elf/tst-audit2.c: Likewise.
33197 * elf/tst-tls10.c: Likewise.
33198 * elf/tst-tls10.h: Likewise.
33199 * elf/tst-tls11.c: Likewise.
33200 * elf/tst-tls12.c: Likewise.
33201 * elf/tst-tls14.c: Likewise.
33202 * elf/tst-tlsmod11.c: Likewise.
33203 * elf/tst-tlsmod12.c: Likewise.
33204 * elf/tst-tlsmod13.c: Likewise.
33205 * elf/tst-tlsmod13a.c: Likewise.
33206 * elf/tst-tlsmod14a.c: Likewise.
33207 * elf/tst-tlsmod15b.c: Likewise.
33208 * elf/tst-tlsmod16a.c: Likewise.
33209 * elf/tst-tlsmod16b.c: Likewise.
33210 * elf/tst-tlsmod7.c: Likewise.
33211 * elf/tst-tlsmod8.c: Likewise.
33212 * elf/tst-tlsmod9.c: Likewise.
33213 * gmon/gmon.c: Likewise.
33214 * grp/fgetgrent_r.c: Likewise.
33215 * grp/putgrent.c: Likewise.
33216 * hurd/fopenport.c: Likewise.
33217 * include/libc-symbols.h: Likewise.
33218 * include/tls.h: Likewise.
33219 * intl/gettextP.h: Likewise.
33220 * intl/loadinfo.h: Likewise.
33221 * locale/global-locale.c: Likewise.
33222 * locale/localeinfo.h: Likewise.
33223 * mach/devstream.c: Likewise.
33224 * malloc/arena.c: Likewise.
33225 * malloc/set-freeres.c: Likewise.
33226 * misc/err.c: Likewise.
33227 * misc/getttyent.c: Likewise.
33228 * misc/mntent_r.c: Likewise.
33229 * posix/getopt.c: Likewise.
33230 * posix/wordexp.c: Likewise.
33231 * pwd/fgetpwent_r.c: Likewise.
33232 * resolv/Versions: Likewise.
33233 * resolv/res_hconf.c: Likewise.
33234 * shadow/fgetspent_r.c: Likewise.
33235 * shadow/putspent.c: Likewise.
33236 * stdio-common/printf_fphex.c: Likewise.
33237 * stdio-common/tmpfile.c: Likewise.
33238 * stdlib/abort.c: Likewise.
33239 * stdlib/fmtmsg.c: Likewise.
33240 * sunrpc/auth_unix.c: Likewise.
33241 * sunrpc/clnt_perr.c: Likewise.
33242 * sunrpc/clnt_tcp.c: Likewise.
33243 * sunrpc/clnt_udp.c: Likewise.
33244 * sunrpc/clnt_unix.c: Likewise.
33245 * sunrpc/openchild.c: Likewise.
33246 * sunrpc/svc_simple.c: Likewise.
33247 * sunrpc/svc_tcp.c: Likewise.
33248 * sunrpc/svc_udp.c: Likewise.
33249 * sunrpc/svc_unix.c: Likewise.
33250 * sunrpc/xdr.c: Likewise.
33251 * sunrpc/xdr_array.c: Likewise.
33252 * sunrpc/xdr_rec.c: Likewise.
33253 * sunrpc/xdr_ref.c: Likewise.
33254 * sunrpc/xdr_stdio.c: Likewise.
33255
332562011-09-09 Ulrich Drepper <drepper@gmail.com>
33257
33258 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33259
332602011-07-03 Andreas Jaeger <aj@suse.de>
33261
33262 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33263 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33264 regenerate with gen-libm-tests.pl.
33265
332662010-05-12 Petr Baudis <pasky@suse.cz>
33267
33268 [BZ #11589]
33269 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33270 around j0() zero points by switching to j1().
33271 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33272 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33274 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33275
332762011-09-09 Ulrich Drepper <drepper@gmail.com>
33277
33278 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33279 instead of 0.
33280 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33281 instead of 0.
33282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33283 Patch in part by Pavel Roskin <proski@gnu.org>.
33284
33285 [BZ #13138]
33286 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33287 realloc.
33288 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33289 Free memory block if necessary.
33290
33291 [BZ #12847]
33292 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33293 be NULL. Don't lock in this case.
33294
332952011-09-09 Roland McGrath <roland@hack.frob.com>
33296
33297 * elf/elf.h (ELFOSABI_GNU): New macro.
33298 (ELFOSABI_LINUX): Define to that.
33299
333002011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33301
33302 * string/strncat.c (strncat): Undef the symbol in case it has been
33303 defined in bits/string.h.
33304
333052011-09-09 Ulrich Drepper <drepper@gmail.com>
33306
33307 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33308
33309 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33310 link map.
33311
333122011-08-17 Andreas Jaeger <aj@suse.de>
33313
33314 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33315
333162011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33317 Ian Lance Taylor <iant@google.com>
33318
33319 * math/libm-test.inc (lround_test): New testcase.
33320 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33321
333222011-09-08 Ulrich Drepper <drepper@gmail.com>
33323
33324 * Makefile: Remove support for automatic cvs check-ins.
33325 * Makerules: Likewise.
33326 * config.make.in: Likewise.
33327 * configure.in: Likewise.
33328 * intl/Makefile: Likewise.
33329 * locale/Makefile: Likewise.
33330 * po/Makefile: Likewise.
33331 * posix/Makefile: Likewise.
33332 * sysdeps/gnu/Makefile: Likewise.
33333 * sysdeps/mach/hurd/Makefile: Likewise.
33334 * sysdeps/sparc/sparc32/Makefile: Likewise.
33335
33336 [BZ #13118]
33337 * posix/Makefile (bug-regex32-ENV): Define.
33338 Patch by John Stanley <jpsinthemix@verizon.net>.
33339
33340 * misc/Makefile (headers): Add bits/select2.h.
33341 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33342 * misc/bits/select2.h: New file.
33343 * include/bits/select2.h: New file.
33344 * debug/Makefile (routines): Add fdelt_chk.
33345 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33346 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33347 FD_ISSET.
33348 * debug/fdelt_chk.c: New file.
33349
33350 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33351 * wcsmbs/test-wmemcmp.c: Likewise.
33352 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33353 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33354
333552011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33356
33357 * string/Makefile (strop-tests): Add memcmp.
33358 * string/test-wmemcmp.c: New file.
33359 * string/test-memcmp.c: Add wmemcmp support.
33360
333612011-09-08 Roland McGrath <roland@hack.frob.com>
33362
33363 [BZ #13153]
33364 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33365 2011-07-19 change.
33366
33367 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33368 garbage value in a __mach_port_mod_refs call in the cases of the
33369 task-self and thread-self ports.
33370
333712011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33372
33373 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33374
333752011-09-08 Andreas Schwab <schwab@redhat.com>
33376
33377 * elf/dl-load.c (lose): Check for non-null L.
33378
333792011-09-07 Ulrich Drepper <drepper@gmail.com>
33380
33381 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33382
33383 * elf/dl-libc.c (dlerror_run): Pass back error code from
33384 dl_catch_error.
33385
33386 [BZ #13123]
33387 * elf/dl-load.c (lose): Free l_origin if it is valid.
33388
33389 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33390 names.
33391 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33392 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33393 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33394 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33395 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33396 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33397
333982011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33399
33400 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33401 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33402 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33403 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33404 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33405 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33406 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33407 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33408 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33409 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33410
334112011-08-15 Alan Modra <amodra@gmail.com>
33412
33413 [BZ #13092]
33414 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33415 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33416 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33417 ppc_mcount to static-only-routines.
33418 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33419 __mcount_internal.
33420 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33421 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33422
334232011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33424
33425 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33426 for finite and infinity parameters.
33427
334282011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33429
33430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33431 and add nop instructions for throughput optimization.
33432 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33433
334342011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33435
33436 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33437 aligned copy for power7 with vector-scalar instructions.
33438 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33439
334402011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33441
33442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33443 AVX check.
33444
334452011-09-07 Andreas Schwab <schwab@redhat.com>
33446
33447 [BZ #13144]
33448 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33449 last change.
33450
334512011-09-07 Ulrich Drepper <drepper@gmail.com>
33452
33453 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33454 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33455 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33456 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33457 clock_gettime.
33458
334592011-09-06 Ulrich Drepper <drepper@gmail.com>
33460
33461 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33462 Forgot to demangle the pointer.
33463
33464 * sysdeps/i386/sysdep.h: Define atom_text_section.
33465 * sysdeps/x86_64/sysdep.h: Likewise.
33466 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33467 section with atom_text_section.
33468 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33469 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33470 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33471 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33472 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33473
33474 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33475 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33476 already be defined. Change to take two parameters and don't assign
33477 result to variable. Adjust all users.
33478 Define INTERNAL_GETTIME if not already defined.
33479 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33480 call.
33481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33482 HAVE_CLOCK_GETTIME_VSYSCALL.
33483 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33484
33485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33486 gettimeofday vsyscall, just use time.
33487
334882011-09-06 Andreas Schwab <schwab@redhat.com>
33489
33490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33491 <errno.h>.
33492
334932011-09-06 Ulrich Drepper <drepper@gmail.com>
33494
33495 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33496 syscall on x86-64.
33497 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33498 syscall.
33499 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33500 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33501 syscall if possible.
33502
335032011-09-05 Ulrich Drepper <drepper@gmail.com>
33504
33505 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33506 e_ident. Don't pass to find_mapsXX.
33507 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33508
335092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33510
33511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33512 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33513 * sysdeps/x86_64/multiarch/strchr.S: Update.
33514 Check bit_slow_BSF bit.
33515 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33516 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33517 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33518
335192011-09-05 Ulrich Drepper <drepper@gmail.com>
33520
33521 [BZ #13134]
33522 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33523 before glibc 2.15.
33524 (tryshell): Define.
33525 (__spawni): Change last parameter to be flag. Test
33526 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33527 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33528 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33529 * posix/spawni.c: Likewise.
33530 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33531 * posix/spawnp.c: Likewise. Change normal version to use
33532 SPAWN_XFLAGS_USE_PATH.
33533 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33534 SPAWN_XFLAGS_TRY_SHELL.
33535
33536 [BZ #13150]
33537 * posix/glob.h: Remove gcc 1.x support.
33538
33539 [BZ #13068]
33540 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33541
335422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33543
33544 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33545 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33546 strrchr-sse2-bsf
33547 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33548 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33549 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33550 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33551 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33552 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33553
335542011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33555
33556 * sysdeps/x86_64/wcscmp.S: New file.
33557
33558 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33559 wcscmp-c wcscmp-sse2
33560 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33561 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33562 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33563 * wcsmbs/wcscmp.c: Allow renaming.
33564
335652011-09-05 David S. Miller <davem@davemloft.net>
33566
33567 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33568 stack slot, rather than the struct return pointer slot.
33569 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33570 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33572 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33573
335742011-09-05 Ulrich Drepper <drepper@gmail.com>
33575
33576 * po/ja.po: Update from translation team.
33577
33578 [BZ #13144]
33579 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33580 kernel in 64-bit binaries.
33581
335822011-09-01 David S. Miller <davem@davemloft.net>
33583
33584 * elf/elf.h (HWCAP_SPARC_*): Move to..
33585 * sysdeps/sparc/sysdep.h: this new file and add new values.
33586 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33587 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33588 _DL_HWCAP_COUNT to 24.
33589 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33590 entries.
33591 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33592 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33593 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33595 instead of magic constants.
33596 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33597
335982011-08-31 David S. Miller <davem@davemloft.net>
33599
33600 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33602 Reimplement to do errno handling inline.
33603 (SYSCALL_ERROR_HANDLER): New macro.
33604 (__SYSCALL_STRING): Do not do errno handling in asm.
33605 (__CLONE_SYSCALL_STRING): Delete.
33606 (__INTERNAL_SYSCALL_STRING): Delete.
33607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33608 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33609 (PSEUDO): Reimplement to do errno handling inline.
33610 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33611 (SYSCALL_ERROR_HANDLER): New macro.
33612 (__SYSCALL_STRING): Do not do errno handling in asm.
33613 (__CLONE_SYSCALL_STRING): Delete.
33614 (__INTERNAL_SYSCALL_STRING): Delete.
33615 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33616 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33617 i386.
33618 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33619 (inline_syscall*): Add 'err' argument.
33620 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33621 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33622 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33623 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33624
33625 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33626 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33627
336282011-08-30 Andreas Schwab <schwab@redhat.com>
33629
33630 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33631
336322011-08-29 Jiri Olsa <jolsa@redhat.com>
33633
33634 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33635 directive.
33636
336372011-08-24 David S. Miller <davem@davemloft.net>
33638
33639 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33640
336412011-08-24 Andreas Schwab <schwab@redhat.com>
33642
33643 * elf/Makefile: Add rules to build and run unload8 test.
33644 * elf/unload8.c: New file.
33645 * elf/unload8mod1.c: New file.
33646 * elf/unload8mod1x.c: New file.
33647 * elf/unload8mod2.c: New file.
33648 * elf/unload8mod3.c: New file.
33649
33650 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33651 it wasn't used.
33652
336532011-08-23 David S. Miller <davem@davemloft.net>
33654
33655 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33656 subtract stack bias.
33657 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33658 %sp not %fp in calculations.
33659 (_JMPBUF_UNWINDS_ADJ): Likewise.
33660
33661 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33662 (aio_suspend): Call it to force an exception region around the
33663 AIO_MISC_WAIT() invocation.
33664
336652011-08-23 Andreas Schwab <schwab@redhat.com>
33666
33667 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33668 backslash.
33669
336702011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33671
33672 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33673 protection macro.
33674 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33675 and <dl-machine.h>.
33676 (Elf64_FuncDesc): Remove.
33677
336782011-08-22 David S. Miller <davem@davemloft.net>
33679
33680 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33681 sigaltstack check, add missing cfi directives.
33682 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33683 missing cfi directives, and sigaltstack handling.
33684
336852011-08-16 Andreas Schwab <schwab@redhat.com>
33686
33687 [BZ #11724]
33688 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33689 object is seen twice.
33690 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33691
33692 * elf/Makefile (distribute): Add tst-initorder2.c.
33693 (tests): Add tst-initorder2.
33694 (modules-names): Add tst-initorder2a tst-initorder2b
33695 tst-initorder2c tst-initorder2d. Add rules to build them.
33696 ($(objpfx)tst-initorder2.out): New rule.
33697 * elf/tst-initorder2.c: New file.
33698 * elf/tst-initorder2.exp: New file.
33699
337002011-08-22 Andreas Schwab <schwab@redhat.com>
33701
33702 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33703
33704 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33705 dependencies back to end of function.
33706
33707 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33708 $(elfobjdir)/ld.so.
33709
337102011-08-21 Ulrich Drepper <drepper@gmail.com>
33711
33712 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33713 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33714 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33715 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33716 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33717 of __vdso_gettimeofday.
33718 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33719 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33720 attribute_hidden.
33721 (_libc_vdso_platform_setup): Remove initialization of
33722 __vdso_gettimeofday and __vdso_time.
33723
337242011-08-20 Ulrich Drepper <drepper@gmail.com>
33725
33726 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33727 and fgetc_unlocked.
33728 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33729 getc_unlocked.
33730
33731 * elf/dl-open.c (add_to_global): Report additions to the global scope
33732 for LD_DEBUG=scopes.
33733 (dl_open_worker): Also print scope of newly loaded dependencies.
33734 (_dl_show_scope): Indicate if there is no scope.
33735
33736 [BZ #13114]
33737 * stdio-common/Makefile (tests): Add bug24.
33738 * stdio-common/bug24.c: New file.
33739
337402011-08-19 Andreas Jaeger <aj@suse.de>
33741
33742 [BZ #13114]
33743 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33744 non-existant file when using close-on-exec mode.
33745
337462011-08-20 Ulrich Drepper <drepper@gmail.com>
33747
33748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33749 the very first instruction.
33750
33751 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33752 the CFI state in the end.
33753 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33754 inclusion of dl-trampoline.h.
33755 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33756
337572011-08-19 Andreas Schwab <schwab@redhat.com>
33758
33759 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33760 expectations for long double.
33761
33762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33763 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33764
337652011-08-14 David S. Miller <davem@davemloft.net>
33766
33767 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33768 artificual limit depends upon the system page size.
33769
337702011-08-17 Ulrich Drepper <drepper@gmail.com>
33771
33772 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33773 * resolv/Makefile: Define CFLAGS-libresolv.
33774
337752011-08-17 Andreas Schwab <schwab@redhat.com>
33776
33777 * nss/makedb.c (compute_tables): Make variables used in nested
33778 function static.
33779
337802011-08-17 Ulrich Drepper <drepper@gmail.com>
33781
33782 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33783 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33784 if buffer was too small.
33785
33786 * elf/pldd.c (main): Attach to all threads in the process.
33787 Rewrite /proc handling to use *at functions.
33788
337892011-08-16 Ulrich Drepper <drepper@gmail.com>
33790
33791 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33792 specifies first scope to show.
33793 (dl_open_worker): Update callers. Move printing scope of new
33794 object to before the relocation.
33795 * elf/rtld.c (dl_main): Update _dl_show_scope call.
33796 * sysdeps/generic/ldsodefs.h: Update declaration.
33797
33798 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33799 string for the scope number.
33800
338012011-08-14 Ulrich Drepper <drepper@gmail.com>
33802
33803 * nscd/servicescache.c (cache_addserv): Make sure written is always
33804 initialized.
33805
338062011-08-14 Roland McGrath <roland@hack.frob.com>
33807
33808 * sysdeps/i386/i486/bits/atomic.h
33809 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33810 statement expression, so as to suppress "set but not used" warning.
33811 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33812
33813 * string/strncat.c (STRNCAT): Use prototype definition.
33814
33815 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33816 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33817 -Iprograms here.
33818 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33819 (localedef-modules): Add localedef.
33820 (locale-modules): Add locale.
33821
33822 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33823 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33824 to avoid a warning.
33825
338262011-08-14 David S. Miller <davem@davemloft.net>
33827
33828 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33829 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33830
338312011-08-13 Ulrich Drepper <drepper@gmail.com>
33832
33833 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33834 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33835 * elf/rtld.c (dl_main): Set l_name of vDSO.
33836 Call _dl_show_scope when DL_DEBUG_SCOPES.
33837 (process_dl_debug): Recognize scopes flag and also set it for all.
33838 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33839 Declare _dl_show_scope.
33840
33841 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33842 (do_dlopen): Pass caller_dlopen to dl_open.
33843 (__libc_dlopen_mode): Initialize caller_dlopen.
33844
33845 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33846 of libc. Make tolower call locale-independent. Optimize a bit by
33847 using isdigit instead of isalnum.
33848 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33849
338502011-08-12 Ulrich Drepper <drepper@gmail.com>
33851
33852 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33853 was a dependency or dynamically loaded.
33854
338552011-08-11 Ulrich Drepper <drepper@gmail.com>
33856
33857 * intl/l10nflist.c: Allow architecture-specific pop function.
33858 * sysdeps/x86_64/l10nflist.c: New file.
33859
33860 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33861 classification.
33862
338632011-08-10 Andreas Schwab <schwab@redhat.com>
33864
33865 * include/dirent.h: Add libc_hidden_proto for scandirat and
33866 scandirat64. Don't declare __scandirat64.
33867 * dirent/scandirat.c: Add libc_hidden_def.
33868 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33869 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33870
338712011-08-10 David S. Miller <davem@davemloft.net>
33872
33873 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33874 enum.
33875 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33876 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33877 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33878
338792011-08-09 Ulrich Drepper <drepper@gmail.com>
33880
33881 * Versions.def [libc]: Add GLIBC_2.15.
33882 * dirent/Makefile (routines): Add scandirat and scandirat64.
33883 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33884 GLIBC_2.15.
33885 * dirent/dirent.h: Declare scandirat and scandirat64.
33886 * dirent/scandirat.c: New file.
33887 * dirent/scandirat64.c: New file.
33888 * sysdeps/wordsize-64/scandirat.c: New file.
33889 * sysdeps/wordsize-64/scandirat64.c: New file.
33890 * dirent/opendir.c: Define opendirat.
33891 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33892 using scandirat.
33893 * dirent/scandir64.c: Adjust for scandir.c change.
33894 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33895 __scandirat64, and __scandir_cancel_handler.
33896 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33897 additional parameter and use openat instead of open (outside of ld.so).
33898 Add new __opendir as wrapper around __opendirat.
33899 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33900 here without requiring old scandirat implementation.
33901
339022011-08-08 Ulrich Drepper <drepper@gmail.com>
33903
33904 * dirent/scandir.c (cancel_handler): Renamed to
33905 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33906 defined. Adjust users.
33907 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33908 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33909
339102011-08-04 Ulrich Drepper <drepper@gmail.com>
33911
33912 * string/test-string.h (IMPL): Use __STRING to expand name and then
33913 stringify it.
33914
33915 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33916 of cleanups.
33917
339182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33919
33920 * string/Makefile: Update.
33921 (strop-tests): Append strncat.
33922 * string/test-wcscmp.c: New file.
33923 New comprehensive test for wcscmp.
33924 * string/test-strcmp.c: Update.
33925 (WIDE): New define.
33926
339272011-07-22 Andreas Schwab <schwab@redhat.com>
33928
33929 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33930 line.
33931
339322011-07-26 Andreas Schwab <schwab@redhat.com>
33933
33934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33935 encoding to ACE if AI_IDN.
33936
339372011-08-01 Jakub Jelinek <jakub@redhat.com>
33938
33939 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33940 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33941
339422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33943
33944 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33945 Fix overflow bug in strncat.
33946 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33947
33948 * string/test-strncat.c: Update.
33949 Add new tests for checking overflow bugs.
33950
339512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33952
33953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33954 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33955 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33956 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33958 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33959 * sysdeps/i386/i686/multiarch/strncat.S: New file.
33960 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33961 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33962
33963 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33964 (USE_AS_STRCAT): Define.
33965 Add strcat and strncat support.
33966 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33967
339682011-07-25 Andreas Schwab <schwab@redhat.com>
33969
33970 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33971 __n bigger than INT_MAX+1.
33972 (__strncmp_g): Likewise.
33973
339742011-07-23 Ulrich Drepper <drepper@gmail.com>
33975
33976 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33977 * libio/stido.h: Likewise.
33978
33979 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33980 (AF_NFC): Define.
33981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33982 (AF_NFC): Define.
33983
33984 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33985 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33986 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33987 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33989
33990 [BZ #13021]
33991 * scripts/test-installation.pl: Don't expect libnss_test1 to be
33992 installed.
33993
33994 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33995 typo.
33996 (_dl_x86_64_save_sse): Likewise.
33997
339982011-07-22 Ulrich Drepper <drepper@gmail.com>
33999
34000 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34001 OSXSAVE.
34002 (_dl_x86_64_save_sse): Likewise.
34003
34004 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34005
34006 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34007
340082011-07-21 Andreas Schwab <schwab@redhat.com>
34009
34010 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34011 change.
34012 (_dl_x86_64_save_sse): Use correct AVX check.
34013
340142011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34015
34016 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34017 bug in strncpy/strncat.
34018 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34019
340202011-07-21 Ulrich Drepper <drepper@gmail.com>
34021
34022 * string/tester.c (test_strcat): Add tests for different alignments
34023 of source and destination.
34024 (test_strncat): Likewise.
34025
340262011-07-20 Ulrich Drepper <drepper@gmail.com>
34027
34028 [BZ #12852]
34029 * posix/glob.c (glob): Check passed in values before using them in
34030 expressions to avoid some overflows.
34031 (glob_in_dir): Likewise.
34032
34033 [BZ #13007]
34034 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34035 check for AVX enablement so that we don't crash with old kernels and
34036 new hardware.
34037 * elf/tst-audit4.c: Add same checks here.
34038 * elf/tst-audit6.c: Likewise.
34039
34040 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34041
340422011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34043
34044 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34045
340462011-07-20 Ulrich Drepper <drepper@gmail.com>
34047
34048 * po/cs.po: Update from translation team.
34049 * po/bg.po: Likewise.
34050
340512011-07-12 Marek Polacek <mpolacek@redhat.com>
34052
34053 * misc/sys/cdefs.h: Add support for const attribute.
34054 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34055 to gnu_dev_{major,minor,makedev} functions.
34056
340572011-07-20 Marek Polacek <mpolacek@redhat.com>
34058
34059 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34060
340612011-07-20 Andreas Schwab <schwab@redhat.com>
34062
34063 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34064 strlen results.
34065
340662011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34067
34068 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34069 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34070 register in order to avoid conflicts with the soft frame pointer
34071 being held in r11 when necessary.
34072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34073 (INTERNAL_VSYSCALL_NCS): Likewise.
34074
340752011-07-14 Marek Polacek <mpolacek@redhat.com>
34076
34077 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34078 * elf/dl-fini.c (_dl_fini): Adjust caller.
34079 * elf/dl-close.c (_dl_close_worker): Likewise.
34080 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34081
340822011-07-15 Marek Polacek <mpolacek@redhat.com>
34083
34084 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34085 "aux_cache->nlibs < 0".
34086
34087 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34088 in the reload-count case.
34089
340902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34091
34092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34093 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34094 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34095 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34096 * sysdeps/x86_64/multiarch/strcat.S: New file.
34097 * sysdeps/x86_64/multiarch/strncat.S: New file.
34098 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34099 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34100 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34101 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34102 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34103 (USE_AS_STRCAT): Define.
34104 Add strcat and strncat support.
34105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34106 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34107 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34108 * string/strncat.c: Update.
34109 (USE_AS_STRNCAT): Define.
34110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34111 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34112 and i7.
34113 * sysdeps/x86_64/multiarch/init-arch.h
34114 (bit_Prefer_PMINUB_for_stringop): New.
34115 (index_Prefer_PMINUB_for_stringop): Likewise.
34116 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34117 bit_Prefer_PMINUB_for_stringop.
34118
341192011-07-19 Ulrich Drepper <drepper@gmail.com>
34120
34121 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34122 buffer64.
34123 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34124 of casting of buffer.
34125 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34126 buffer32 and buffer64.
34127 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34128 writes instead of casting of buffer.
34129 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34130 buffer32.
34131 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34132 casting of buffer.
34133
341342011-07-19 Andreas Schwab <schwab@redhat.com>
34135
34136 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34137
341382011-07-19 Ulrich Drepper <drepper@gmail.com>
34139
34140 * nscd/nscd.c (termination_handler): Don't do anything for a database
34141 if it has not yet been initialized.
34142
341432011-07-18 Ulrich Drepper <drepper@gmail.com>
34144
34145 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34146
341472011-07-15 Marek Polacek <mpolacek@redhat.com>
34148
34149 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34150
341512011-07-18 Ulrich Drepper <drepper@gmail.com>
34152
34153 * po/nl.po: Update from translation team.
34154 * po/sv.po: Likewise.
34155
341562011-07-16 Roland McGrath <roland@hack.frob.com>
34157
34158 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34159 now disallowed by GCC.
34160
34161 * configure.in (use-default-link): Default to yes if a test -shared
34162 link meets our qualifications.
34163 * configure: Regenerated.
34164
34165 * config.make.in (output-format): New variable.
34166 * configure.in: Check for ld --print-output-format support.
34167 * configure: Regenerated.
34168 * Makerules ($(common-objpfx)format.lds)
34169 [$(output-format) != unknown]: Just use $(output-format),
34170 instead of the linker-script munging.
34171
341722011-07-14 Roland McGrath <roland@hack.frob.com>
34173
34174 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34175 of $(common-objpfx)shlib.lds.
34176 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34177
34178 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34179 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34180
34181 * configure.in (-z relro check): Adjust test code to add a large
34182 writable data section after it.
34183 * configure: Regenerated.
34184
341852011-07-11 Roland McGrath <roland@hack.frob.com>
34186
34187 * configure.in (-z relro check): Fix test code to make the variable
34188 truly const.
34189 * configure: Regenerated.
34190
341912011-07-11 Ulrich Drepper <drepper@gmail.com>
34192
34193 * nscd/nscd.h (struct traced_file): Define.
34194 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34195 elements. Add traced_files.
34196 (inotify_fd): Declare.
34197 (register_traced_file): Declare.
34198 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34199 (inotify_fd): Export.
34200 (resolv_conf_descr): Remove.
34201 (nscd_init): Move inotify descriptor creation to main.
34202 Don't register files for notification here.
34203 (register_traced_file): New function.
34204 (invalidate_cache): Don't use reset_res to determine whether to call
34205 res_init, go through the list of registered files.
34206 (main_loop_poll): The inotify descriptors are now stored in the
34207 structures for the traced files.
34208 (main_loop_epoll): Likewise
34209 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34210 to __nss_disable_nscd.
34211 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34212 for a database anymore. Check the records for all the registered
34213 files instead.
34214 * nss/Makefile (libnss_files-routines): Add files-init.
34215 (libnss_db-routines): Add db-init.
34216 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34217 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34218 * nss/nss_db/db-init.c: New file.
34219 * nss/nss_files/files-init.c: New file.
34220 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34221 __nss_lookup_function.
34222 (__nss_lookup_function): Call nss_load_library.
34223 (nss_load_all_libraries): New function.
34224 (__nss_disable_nscd): Take parameter with callback function for files
34225 to register. Set is_nscd. Load all the DSOs for the NSS modules
34226 used for the cached services.
34227 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34228 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34229 options for features to all the files in nscd.
34230
34231 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34232
342332011-07-10 Roland McGrath <roland@hack.frob.com>
34234
34235 * csu/elf-init.c (__libc_csu_init): Comment typo.
34236
342372011-07-09 Ulrich Drepper <drepper@gmail.com>
34238
34239 * po/pl.po: Update from translation team.
34240 * po/ja.po: Likewise.
34241 * po/ru.po: Likewise.
34242 * po/ko.po: Likewise.
34243 * po/fr.po: Likewise.
34244
342452011-07-09 Roland McGrath <roland@hack.frob.com>
34246
34247 * configure.in (.ctors/.dtors header and trailer check):
34248 Use an empirical test on a built program.
34249 * configure: Regenerated.
34250
34251 * configure.in (-z relro check): Use an empirical test on a built DSO.
34252 Detect, but do not require, on ia64.
34253 * configure: Regenerated.
34254
34255 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34256 Update tests that use readelf to use $READELF instead.
34257 * configure: Regenerated.
34258
342592011-07-08 Ulrich Drepper <drepper@gmail.com>
34260
34261 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34262 if the result is not used.
34263
342642011-07-05 Andreas Jaeger <aj@suse.de>
34265
34266 [BZ#9696]
34267 * stdlib/tst-strtod.c: Add testcase.
34268
342692011-07-07 Ulrich Drepper <drepper@gmail.com>
34270
34271 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34272 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34273 The latter has a higher limit. Take additional parameter to pass to
34274 the new function.
34275 (__pathconf): Pass file to __statfs_link_max.
34276 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34277 __statfs_link_max.
34278 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34279 __statfs_link_max.
34280
34281 [BZ #12868]
34282 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34283 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34284 Handle Lustre.
34285 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34286 (__statfs_filesize_max): Likewise.
34287 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34288
342892011-07-05 Andreas Jaeger <aj@suse.de>
34290
34291 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34292
342932011-07-06 Marek Polacek <mpolacek@redhat.com>
34294
34295 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34296 `status' variable.
34297 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34298 Likewise.
34299
343002011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34301
34302 * Makefile (strop-tests): Add strncat.
34303 * string/test-strncat.c: New file.
34304
343052011-06-30 Marek Polacek <mpolacek@redhat.com>
34306
34307 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34308
343092011-06-21 Andreas Jaeger <aj@suse.de>
34310
34311 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34312 Copy rule from iconvdata/Makefile.
34313
343142011-07-06 Ulrich Drepper <drepper@gmail.com>
34315
34316 [BZ #12922]
34317 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34318 but no long options are defined, just return 'W'.
34319
343202011-06-22 Marek Polacek <mpolacek@redhat.com>
34321
34322 [BZ #9696]
34323 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34324
343252011-07-06 Ulrich Drepper <drepper@gmail.com>
34326
34327 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34328 netgroups to read.
34329 (innetgr): Likewise.
34330
343312011-07-05 Roland McGrath <roland@hack.frob.com>
34332
34333 * config.make.in (install_root): Default to $(DESTDIR).
34334
343352011-07-05 Ulrich Drepper <drepper@gmail.com>
34336
34337 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34338
343392011-07-02 Roland McGrath <roland@hack.frob.com>
34340
34341 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34342
34343 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34344 containing directory rather than embedding absolute directory names.
34345
34346 * scripts/check-local-headers.sh: Rewritten using awk.
34347 Match by word, not by line. Print error messages for matches.
34348 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34349
34350 * Makerules [shlib-lds-flags empty]:
34351 ($(common-objpfx)libc_pic.opts): New target.
34352 ($(common-objpfx)libc_pic.os.clean): New target.
34353 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34354
34355 * config.make.in (OBJCOPY): New variable.
34356 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34357 * configure: Regenerated.
34358
34359 * config.make.in (use-default-link): New variable.
34360 * configure.in (use_default_link): Grok --with-default-link to set it.
34361 * configure: Regenerated.
34362 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34363 (shlib-lds, shlib-lds-flags): Define to empty.
34364
34365 * Makerules (shlib-lds): New variable.
34366 (shlib-lds-flags): New variable.
34367 (build-shlib, build-moduile, build-module-asneeded): Use it.
34368 ($(common-objpfx)libc.so): Use $(shlib-lds).
34369 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34370 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34371
34372 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34373 DT_FLAGS/DT_FLAGS_1 with zero flags.
34374
34375 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34376 linker script munging.
34377
343782011-07-02 Ulrich Drepper <drepper@gmail.com>
34379
34380 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34381 as 128-bit value.
34382 * crypt/sha512.c (sha512_process_block): Perform total addition using
34383 128-bit if possible.
34384 (__sha512_finish_ctx): Likewise.
34385 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34386 as 64-bit value.
34387 * crypt/sha256.c (SWAP64): Define.
34388 (sha256_process_block): Perform total addition using 64-bit if
34389 possible.
34390 (__sha256_finish_ctx): Likewise.
34391
343922011-07-01 Ulrich Drepper <drepper@gmail.com>
34393
34394 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34395 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34396 * nscd/hstcache.c (cache_addhst): Likewise.
34397 * nscd/grpcache.c (cache_addgr): Likewise.
34398 * nscd/aicache.c (addhstaiX): Likewise
34399 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34400
344012011-07-01 Thorsten Kukuk <kukuk@suse.de>
34402
34403 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34404 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34405 * nscd/hstcache.c (cache_addhst): Likewise.
34406 * nscd/grpcache.c (cache_addgr): Likewise.
34407 * nscd/aicache.c (addhstaiX): Likewise
34408
344092011-07-01 Andreas Schwab <schwab@redhat.com>
34410
34411 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34412 domain only when needed.
34413
344142011-06-30 Andreas Schwab <schwab@redhat.com>
34415
34416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34417 is always restored.
34418
344192011-06-29 Ulrich Drepper <drepper@gmail.com>
34420
34421 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34422 are re-adding the entry.
34423 * nscd/servicescache.c (cache_addserv): Likewise.
34424
344252011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34426
34427 * sysdeps/generic/dl-irel.h: fix protection against multiple
34428 inclusions.
34429 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34430
344312011-06-28 Ulrich Drepper <drepper@gmail.com>
34432
34433 [BZ #12935]
34434 * malloc/memusage.sh: Fix quoting in message.
34435 * debug/xtrace.sh: Likewise.
34436
34437 * configure.in: Remove support for --experimental-malloc option, make
34438 it the default.
34439 * config.make.in: Likewise.
34440 * malloc/Makefile: Likewise.
34441
344422011-06-27 Andreas Schwab <schwab@redhat.com>
34443
34444 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34445 two-byte characters.
34446
344472011-06-27 Roland McGrath <roland@hack.frob.com>
34448
34449 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34450 AC_CACHE_CHECK invocation.
34451 * configure: Regenerated.
34452
34453 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34454
344552011-06-27 Ulrich Drepper <drepper@gmail.com>
34456
34457 [BZ #12350]
34458 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34459 bit from old_res_options.
34460
34461 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34462
34463 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34464 value type for setfct.
34465
344662011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34467
34468 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34469 __gettimeofday instead of gettimeofday.
34470
344712011-06-26 Ulrich Drepper <drepper@gmail.com>
34472
34473 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34474
344752011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34476
34477 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34478
34479 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34480 info.
34481
344822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34483
34484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34485 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34486 strcpy-sse2-unaligned strncpy-sse2-unaligned
34487 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34488 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34489 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34490 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34491 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34492 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34493 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34494 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34495 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34496 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34497 (STRCPY): Support SSE2 and SSSE3 versions.
34498
344992011-06-24 Ulrich Drepper <drepper@gmail.com>
34500
34501 [BZ #12874]
34502 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34503 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34504 kernels which artificially limit size of requests.
34505
345062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34507
34508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34509 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34510 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34511 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34512 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34513 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34514 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34515 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34516 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34517 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34518 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34519 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34520 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34521 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34522 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34524 Enable unaligned load optimization for Intel Core i3, i5 and i7
34525 processors.
34526 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34527 Define.
34528 (index_Fast_Unaligned_Load): Define.
34529 (HAS_FAST_UNALIGNED_LOAD): Define.
34530
345312011-06-23 Marek Polacek <mpolacek@redhat.com>
34532
34533 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34534
345352011-06-22 Ulrich Drepper <drepper@gmail.com>
34536
34537 [BZ #12907]
34538 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34539 until it is clear that the information is realy needed.
34540 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34541
345422011-06-22 Andreas Schwab <schwab@redhat.com>
34543
34544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34545
345462011-06-22 Ulrich Drepper <drepper@gmail.com>
34547
34548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34549 /sys/devices/system/cpu/online if it is usable.
34550
34551 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34552 reading the information from the /proc filesystem to once a second.
34553
345542011-06-21 Andreas Jaeger <aj@suse.de>
34555
34556 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34557 NULL after inclusion of kernel headers.
34558
345592011-06-21 Ulrich Drepper <drepper@gmail.com>
34560
34561 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34562 calls to internal_setent.
34563
34564 [BZ #12885]
34565 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34566 addresses using gethostbyname4_r ignore IPv4 addresses.
34567
34568 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34569 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34570
34571 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34572
345732011-06-20 David S. Miller <davem@davemloft.net>
34574
34575 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34576 inclusions.
34577 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34578
34579 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34580 (elf_irel): Use it.
34581 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34582 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34583 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34584 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34585 * sysdeps/x86_64/dl-irel.h: Likewise.
34586
34587 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34588 * elf/dl-sym.c: Likewise.
34589
345902011-06-15 Ulrich Drepper <drepper@gmail.com>
34591
34592 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34593 need to dereference resplen2.
34594
345952011-06-14 Andreas Schwab <schwab@redhat.com>
34596
34597 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34598
345992011-06-15 Ulrich Drepper <drepper@gmail.com>
34600
34601 * Makeconfig: Define vardbdir and inst_vardbdir.
34602 * nss/Makefile: Add rules to install db-Makefile.
34603
34604 * nss/nss_db/db-XXX.c: Cleanup.
34605
34606 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34607 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34608 GLIBC_PRIVATE.
34609 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34610 * nss/makedb.c: Implement -g option to specify that value strings
34611 are generated and should not be added to table iterated over for
34612 get*ent calls.
34613 * nss/nss_db/db-initgroups.c: New file.
34614
34615 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34616 interface.
34617
34618 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34619 (internal_getgrouplist): Adjust to name change.
34620 Update use_initgroups_entry if this is not the first call.
34621 * nss/databases.def: Add initgroups entry.
34622
34623 * nss/makedb.c (compute_tables): Check result of multiple hash table
34624 sizes to minimize maximum chain length.
34625
346262011-06-14 Ulrich Drepper <drepper@gmail.com>
34627
34628 * Versions.def: Add entry for libnss_db.
34629 * shlib-versions: Likewise.
34630 * nss/Makefile: Add rules to build libnss_db.
34631 * nss/Versions: Add libnss_db information. Organize libnss_files
34632 entries better.
34633 * nss/db-Makefile: Add gshadow support. Change rules for the new
34634 makedb progra. Some minor improvements to generate smaller files.
34635 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34636 here from...
34637 * nss/makedb.c: ...here.
34638 Improve database format to be smaller and require less memory at
34639 runtime.
34640 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34641 db anymore.
34642 * nss/nss_db/db-netgrp.c: Likewise.
34643 * nss/nss_db/db-open.c: Likewise.
34644 * nss/nss_files/flies-XXX.x: Adjust comments.
34645 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34646 * nss/nss_files/files-grp.c: Likewise.
34647 * nss/nss_files/files-hosts.c: Likewise.
34648 * nss/nss_files/files-network.c: Likewise.
34649 * nss/nss_files/files-proto.c: Likewise.
34650 * nss/nss_files/files-pwd.c: Likewise.
34651 * nss/nss_files/files-rpc.c: Likewise.
34652 * nss/nss_files/files-service.c: Likewise.
34653 * nss/nss_files/files-sgrp.c: Likewise.
34654 * nss/nss_files/files-spwd.c: Likewise.
34655 * nss/nss_db/db-alias.c: Removed.
34656 * nss/nss_db/dummy-db.h: Removed.
34657
346582011-06-02 Ulrich Drepper <drepper@gmail.com>
34659
34660 * nss/makedb.c: Rewritten to not use database library.
34661 * nss/Makefile: Update to build new makedb program.
34662
346632011-06-14 Andreas Jaeger <aj@suse.de>
34664
34665 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34666 memset declaration.
34667
346682011-06-10 Andreas Schwab <schwab@redhat.com>
34669
34670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34671 tmpbuf.
34672
346732011-06-10 Roland McGrath <roland@hack.frob.com>
34674
34675 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34676 * elf/Makefile ($(objpfx)ld.so): Likewise.
34677
34678 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34679 Don't list ld.so twice in dependencies.
34680
34681 * posix/bug-regex31.c: Include <stdlib.h>.
34682
34683 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34684
34685 * nis/nss_compat/compat-spwd.c
34686 (getspent_next_nss_netgr): Remove unused variable.
34687 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34688
34689 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34690 nonmembers" output to use the right array.
34691
34692 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34693
34694 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34695
34696 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34697 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34698 * catgets/gencat.c (read_input_file): Likewise.
34699 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34700
34701 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34702 variable definition inside #if's controlling its use.
34703
34704 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34705
34706 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34707
34708 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34709
34710 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34711 unreachable code.
34712
34713 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34714
34715 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34716 * configure: Regenerated.
34717
34718 * Makerules: Revert last change.
34719 * elf/Makefile: Likewise.
34720
347212011-06-09 Roland McGrath <roland@hack.frob.com>
34722
34723 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34724 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34725 (reloc-link): Likewise.
34726
347272011-06-09 Ulrich Drepper <drepper@gmail.com>
34728
34729 * elf/Makefile: Add rules to build pldd.
34730 * elf/pldd.c: New file.
34731 * elf/pldd-xx.c: New file.
34732
347332011-06-07 Ulrich Drepper <drepper@gmail.com>
34734
34735 * version.h: Update for 2.15 development version.
34736
347372011-06-07 David S. Miller <davem@davemloft.net>
34738
34739 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34740 ifuncs.
34741 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34742 elf_machine_lazy_rel): Likewise.
34743 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34744 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34745 elf_machine_lazy_rel): Likewise.
34746 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34747 dl_hwcap via passed in argument.
34748 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34749 Likewise.
34750
347512011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34752
34753 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34754
347552011-06-06 Roland McGrath <roland@hack.frob.com>
34756
34757 [BZ #12849]
34758 * manual/fdl-1.1.texi: New file, verbatim from:
34759 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34760 * manual/lgpl-2.1.texi: New file, verbatim from:
34761 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34762 * manual/Makefile (licenses): New variable, list those new file names.
34763 (texis): Use it.
34764 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34765
34766 * manual/fdl.texi: File removed.
34767 * manual/lesser.texi: File removed.
34768 * manual/libc.texinfo (Copying, Documentation License):
34769 Use new @include file names, put @appendix directive before @include.
34770
347712011-06-04 Jakub Jelinek <jakub@redhat.com>
34772
34773 [BZ #12841]
34774 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34775 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34776 (mq_open): Add __NTH.
34777
347782011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34779
34780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34781 Assume Intel Core i3/i5/i7 processor if AVX is available.
34782
347832011-05-31 Ulrich Drepper <drepper@gmail.com>
34784
34785 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34786 typo.
34787
347882011-05-31 Andreas Schwab <schwab@redhat.com>
34789
34790 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34791 memory. Use alloca_account. Fix memory leak when retrying.
34792
347932011-05-31 Ulrich Drepper <drepper@gmail.com>
34794
34795 * version.h (RELEASE): Bump for 2.14 release.
34796 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34797
34798 * config.make.in (RANLIB): Remove entry.
34799
348002011-05-30 Ulrich Drepper <drepper@gmail.com>
34801
34802 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34803 (libc.pot): Work around missing support for .ksh extension in xgettext.
34804
34805 [BZ #12684]
34806 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34807 if both request failed.
34808 (send_dg): In case of server errors clear resplen or *resplen2.
34809
34810 [BZ #12454]
34811 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34812 when there are multiple maps.
34813 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34814 (_dl_fini): Remove test here.
34815
34816 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34817
348182011-05-29 Ulrich Drepper <drepper@gmail.com>
34819
34820 [BZ #12350]
34821 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34822 bit from old_res_options.
34823 (gaih_inet): Likewise.
34824
34825 [BZ #11099]
34826 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34827 as signed.
34828
34829 * resolv/res_init.c (res_setoptions): Make the code more compact.
34830
34831 [BZ #11558]
34832 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34833 set RES_USEVC.
34834
34835 [BZ #11634]
34836 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34837
34838 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34839
34840 [BZ #11781]
34841 * malloc/malloc.h: Declare malloc hook variables as volatile.
34842
34843 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34844 in last patch.
34845
34846 [BZ #11799]
34847 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34848 raise in the comment.
34849 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34850 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34851 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34852
348532011-05-28 Ulrich Drepper <drepper@gmail.com>
34854
34855 [BZ #12811]
34856 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34857 grow the buffers more if it already has to be sufficient.
34858 (build_wcs_upper_buffer): Likewise.
34859 * posix/regexec.c (check_matching): Likewise.
34860 (clean_state_log_if_needed): Likewise.
34861 (extend_buffers): Don't enlarge buffers beyond size of the input
34862 buffer.
34863 Patches mostly by Emil Wojak <emil@wojak.eu>.
34864 * posix/bug-regex32.c: New file.
34865 * posix/Makefile (tests): Add bug-regex32.
34866
34867 * locale/findlocale.c (_nl_find_locale): Return right away if
34868 _nl_explode_name failed.
34869 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34870
34871 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34872
34873 * debug/xtrace.sh: Unify messages.
34874 * malloc/memusage.sh: Likewise.
34875
34876 [BZ #12813]
34877 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34878 time symbol from vDSO. Substitute with vsyscall if not available.
34879 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34880 __vdso_time.
34881
34882 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34883 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34884 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34885 Add sendmmsg and internal_sendmmsg.
34886 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34887 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34888 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34889
34890 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34891 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34892 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34893
348942011-05-27 Ulrich Drepper <drepper@gmail.com>
34895
34896 [BZ #12813]
34897 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34898 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34899 available.
34900 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34901 __vdso_getcpu.
34902
34903 [BZ #12814]
34904 * iconvdata/Makefile (tests): Add bug-iconv9.
34905 * iconvdata/bug-iconv9.c: New file.
34906
349072011-05-27 Andreas Schwab <schwab@redhat.com>
34908
34909 [BZ #12814]
34910 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34911
349122011-05-25 Jakub Jelinek <jakub@redhat.com>
34913
34914 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34915 (struct user_regs_struct): Change intcs field back to cs.
34916
349172011-05-25 Ulrich Drepper <drepper@gmail.com>
34918
34919 * po/ja.po: Update from translation team.
34920
349212011-05-23 Ulrich Drepper <drepper@gmail.com>
34922
34923 [BZ #12795]
34924 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34925 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34926
349272011-05-20 Andreas Schwab <schwab@redhat.com>
34928
34929 * stdlib/longlong.h: Update from GCC.
34930
349312011-05-23 Andreas Schwab <schwab@redhat.com>
34932
34933 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34934 parameter name.
34935 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34936 Add parameter name.
34937 (__sysconf): Pass it down.
34938
349392011-05-22 Ulrich Drepper <drepper@gmail.com>
34940
34941 [BZ #12671]
34942 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34943 some situations.
34944 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34945 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34946 add in in __libc_use_alloca calls. Adjust callers.
34947 (glob): Use malloc in some situations.
34948
34949 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34950 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34951 pltexit.
34952
349532011-05-21 Ulrich Drepper <drepper@gmail.com>
34954
34955 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34956 and CLOCK_BOOTTIME_ALARM.
34957
34958 [BZ #12782]
34959 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34960 is returned.
34961
34962 * string/_strerror.c (__strerror_r): Print negative errors as signed
34963 numbers.
34964
34965 [BZ #12777]
34966 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34967 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34968 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34969
34970 * configure.in: Fix typo in redirection and correct removal of test
34971 files in two cases.
34972
34973 [BZ #12788]
34974 * locale/setlocale.c (new_composite_name): Fix test to check for
34975 identical name of all categories.
34976
34977 [BZ #12792]
34978 * libio/filedoalloc.c (local_isatty): New function.
34979 (_IO_file_doallocate): Use local_isatty.
34980 * stdio-common/perror.c (perror): In case a new stream is used
34981 forward the stream error.
34982 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34983 error flag.
34984
349852011-05-20 Ulrich Drepper <drepper@gmail.com>
34986
34987 [BZ #11869]
34988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34989 alloca.
34990 * include/alloca.h (extend_alloca_account): Define.
34991
34992 [BZ #11857]
34993 * posix/regex.h: Fix comments with documentation of user-accessible
34994 fields after compilation and describe correct free'ing of pattern
34995 after re_compile_pattern.
34996 Patch by Reuben Thomas <rrt@sc3d.org>.
34997
349982011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
34999
35000 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35001 and -mno-altivec to prevent the compiler from using Altivec and/or
35002 VSX instructions when the corresponding registers are not available.
35003
350042011-05-19 Andreas Schwab <schwab@redhat.com>
35005
35006 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35007
350082011-05-19 Ulrich Drepper <drepper@gmail.com>
35009
35010 * libio/freopen.c (freopen): Use __dup2, not dup2.
35011 * libio/freopen64.c (freopen64): Likewise.
35012
350132011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35014
35015 [BZ #12775]
35016 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35017 * math/Makefile (tests): Add test-powl.
35018 (CFLAGS-test-powl.c): Define.
35019 * math/test-powl.c: New file.
35020
350212011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35022
35023 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35024
350252011-05-17 Ulrich Drepper <drepper@gmail.com>
35026
35027 [BZ #11837]
35028 * iconvdata/gb18030.c: Update to GB18020-2005.
35029
350302011-05-16 Ulrich Drepper <drepper@gmail.com>
35031
35032 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35033 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35034 Patch by Aharon Robbins <arnold@skeeve.com>.
35035
35036 [BZ #11892]
35037 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35038 on the stack.
35039
35040 [BZ #11895]
35041 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35042 through underflows.
35043
35044 [BZ #12766]
35045 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35046 point to strings before performing equality test for error_one_per_line
35047 mode.
35048
35049 [BZ #11697]
35050 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35051
35052 [BZ #11820]
35053 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35054 (struct user_fpregs_struct): Avoid __uint*_t types.
35055
35056 [BZ #6420]
35057 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35058 symbol info. Use it instead of calling _dl_addr locally.
35059 (lock_and_info): New function.
35060 (tr_freehook): Call lock_and_info and pass symbol info as additional
35061 parameter to tr_where.
35062 (tr_mallochook): Likewise.
35063 (tr_reallochook): Likewise.
35064 (tr_memalignhook): Likewise.
35065
35066 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35067 used and couldn't be at all thread-safe.
35068
350692011-05-15 Ulrich Drepper <drepper@gmail.com>
35070
35071 * libio/freopen.c (freopen): Don't close old file descriptor
35072 before the new one is opened. Instead dup the new file descriptor
35073 to the old one after the new stream is created.
35074 * libio/freopen64.c (freopen64): Likewise.
35075 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35076 * libio/fileops.c (_IO_new_file_close_it): Handle new
35077 _IO_FLAGS2_NOCLOSE flag.
35078 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35079 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35080 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35081 _IO_FLAGS2_NOCLOSE flag.
35082 * include/unistd.h: Add hidden_proto for dup3.
35083 Define __have_dup3.
35084 * io/dup3.c: Define hidden symbol.
35085 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35086
35087 [BZ #7101]
35088 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35089 when an incomplete long option is used.
35090 * posix/tst-getopt_long1.c: New file.
35091 * posix/Makefile (tests): Add tst-getopt_long1.
35092
35093 [BZ #10138]
35094 * scripts/config.guess: Update from autoconf-2.68.
35095 * scripts/config.sub: Likewise.
35096
35097 [BZ #10157]
35098 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35099 tests into ...
35100 (has_cpuclock): ...this. New function.
35101 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35102 macro here based on has_cpuclock code.
35103
35104 [BZ #10149]
35105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35106 First byte (not low byte) is now always NUL.
35107 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35108
35109 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35110 Use non-cancelable interfaces.
35111
35112 [BZ #9809]
35113 * locale/iso-639.def: Add entry for Sorani.
35114
35115 [BZ #11901]
35116 * include/stdlib.h: Move include protection to the right place.
35117 Define abort_msg_s. Declare __abort_msg with it.
35118 * stdlib/abort.c (__abort_msg): Adjust type.
35119 * assert/assert.c (__assert_fail_base): New function. Majority
35120 of code from __assert_fail. Allocate memory for __abort_msg with
35121 mmap.
35122 (__assert_fail): Now call __assert_fail_base.
35123 * assert/assert-perr.c: Remove bulk of implementation. Use
35124 __assert_fail_base.
35125 * include/assert.hL Declare __assert_fail_base.
35126 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35127 mmap.
35128 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35129
351302011-05-14 Ulrich Drepper <drepper@gmail.com>
35131
35132 [BZ #11952]
35133 [BZ #12453]
35134 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35135 until all modules are registered in the DTV.
35136 * elf/Makefile: Add rules to build and run tst-tls19.
35137 * elf/tst-tls19.c: New file.
35138 * elf/tst-tls19mod1.c: New file.
35139 * elf/tst-tls19mod2.c: New file.
35140 * elf/tst-tls19mod3.c: New file.
35141 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35142
35143 [BZ #12083]
35144 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35145 correctly.
35146
35147 [BZ #12601]
35148 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35149 two-byte sequence errors.
35150 * iconvdata/Makefile (tests): Add bug-iconv8.
35151 * iconvdata/bug-iconv8.c: New file.
35152
35153 [BZ #12626]
35154 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35155 buf2 definition.
35156
35157 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35158
35159 [BZ #12432]
35160 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35161 (dummy_getcfa): New function.
35162 (init): Get _Unwind_GetCFA address, use dummy if not found.
35163 (backtrace_helper): In recursion check, also check whether CFA changes.
35164 (__backtrace): Completely initialize arg.
35165
35166 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35167 storing incomplete byte sequence in state object. Avoid testing for
35168 guaranteed too small input if we know there is enough data available.
35169
351702011-05-11 Andreas Schwab <schwab@redhat.com>
35171
35172 * Makeconfig (+link-pie): Indent.
35173 * Rules (binaries-pie): Define if $(have-fpie) and
35174 $(build-shared).
35175 (binaries-shared): Also filter out $(binaries-pie).
35176 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35177 * nscd/Makefile (others-pie): Add nscd.
35178 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35179 ($(objpfx)nscd): Remove command override.
35180 * login/Makefile (others-pie): Add pt_chown.
35181 ($(objpfx)pt_chown): Remove command override.
35182 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35183 remove command overrides.
35184
351852011-05-13 Ulrich Drepper <drepper@gmail.com>
35186
35187 * libio/tst_putwc.c: Fix error messages.
35188
35189 [BZ #12724]
35190 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35191 currently writing and seek to current position when not.
35192 * libio/Makefile (tests): Add bug-fclose1.
35193 * libio/bug-fclose1.c: New file.
35194
351952011-05-12 Ulrich Drepper <drepper@gmail.com>
35196
35197 [BZ #12511]
35198 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35199 don't set DF_1_NODELETE here.
35200 (do_lookup_x): When entering new entry test for copy relocation
35201 and if necessary set DF_1_NODELETE flag.
35202 * elf/tst-unique4.cc: New file.
35203 * elf/tst-unique4.h: New file.
35204 * elf/tst-unique4lib.cc: New file.
35205 * elf/Makefile: Add rules to build and run tst-unique4.
35206 Patch by Piotr Bury <pbury@goahead.com>.
35207
352082011-05-11 Ulrich Drepper <drepper@gmail.com>
35209
35210 [BZ #12052]
35211 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35212
35213 [BZ #12625]
35214 * misc/mntent_r.c (addmntent): Flush the stream after the output
35215
35216 [BZ #12393]
35217 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35218 (is_trusted_path_normalize): Skip initial colon. Append slash
35219 to empty buffer. Duplicate is_trusted_path code but allow
35220 constructed patch to be prefix.
35221 (is_dst): Allow $ORIGIN followed by /.
35222 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35223 Correct testing of result of is_trusted_path_normalize
35224 (decompose_rpath): Fix warning.
35225
352262011-05-10 Ulrich Drepper <drepper@gmail.com>
35227
35228 [BZ #11257]
35229 * grp/initgroups.c (internal_getgrouplist): When we found the service
35230 list through the initgroups entry in nsswitch.conf do not always
35231 continue on a successful lookup. Don't always use the
35232 __nss_group_database value if it is set.
35233 * nss/nsswitch.conf (initgroups): Change action for successful db
35234 lookup to continue for compatibility.
35235
352362011-05-09 Ulrich Drepper <drepper@gmail.com>
35237
35238 [BZ #11532]
35239 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35240 and CP774 modules.
35241 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35242 and CP774 modules.
35243 * iconvdata/tst-tables.sh: Likewise.
35244 * iconvdata/cp770.c: New file.
35245 * iconvdata/cp771.c: New file.
35246 * iconvdata/cp772.c: New file.
35247 * iconvdata/cp773.c: New file.
35248 * iconvdata/cp774.c: New file.
35249 * iconvdata/testdata/CP770: New file.
35250 * iconvdata/testdata/CP770..UTF8: New file.
35251 * iconvdata/testdata/CP771: New file.
35252 * iconvdata/testdata/CP771..UTF8: New file.
35253 * iconvdata/testdata/CP772: New file.
35254 * iconvdata/testdata/CP772..UTF8: New file.
35255 * iconvdata/testdata/CP773: New file.
35256 * iconvdata/testdata/CP773..UTF8: New file.
35257 * iconvdata/testdata/CP774: New file.
35258 * iconvdata/testdata/CP774..UTF8: New file.
35259
35260 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35261 END CHARMAP line.
35262 * iconvdata/gen-8bit-gap.sh: Likewise.
35263 * iconvdata/gen-8bit.sh: Likewise.
35264
35265 * locale/iso-639.def: Add ary entry.
35266
35267 [BZ #11258]
35268 * locale/C-translit.h.in: Add U20A1 transliteration.
35269
35270 [BZ #12178]
35271 * locale/iso-639.def: Add wae entry.
35272 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35273
35274 [BZ #12545]
35275 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35276 for n.
35277
35278 [BZ #12711]
35279 * locale/C-translit.h.in: Add entry for U20B9.
35280 Patch by pravin.d.s@gmail.com.
35281
352822011-05-08 Ulrich Drepper <drepper@gmail.com>
35283
35284 [BZ #12713]
35285 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35286 ENAMETOOLONG use generic getcwd.
35287 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35288 in rtld. Use *stat64.
35289 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35290 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35291 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35292 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35293 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35294 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35295 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35296 __fstatat64 macros.
35297 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35298 * dirent/rewinddir.c: Add libc_hidden_def.
35299 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35300 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35301
35302 * include/dirent.h (__alloc_dir): Add flags parameter.
35303 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35304 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35305 __alloc_dir.
35306 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35307 from fdopendir if O_CLOEXEC is already set.
35308
353092011-03-15 Alan Modra <amodra@gmail.com>
35310
35311 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35312 l_tls_firstbyte_offset non-zero. Save padding offset in
35313 l_tls_firstbyte_offset for later use.
35314 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35315 freeing static tls block.
35316
353172011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35318
35319 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35320 where #ifdef was intended. The intent is to prevent ARG_MAX from
35321 being defined by the kernel headers.
35322
353232011-05-07 Ulrich Drepper <drepper@gmail.com>
35324
35325 [BZ #12734]
35326 * resolv/resolv.h: Define RES_NOTLDQUERY.
35327 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35328 no-tld-query and set RES_NOTLDQUERY.
35329 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35330 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35331 modern BIND to search name as TLD unless forbidden.
35332
353332011-05-07 Petr Baudis <pasky@suse.cz>
35334 Ulrich Drepper <drepper@gmail.com>
35335
35336 [BZ #12393]
35337 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35338 (is_trusted_path): ...to here.
35339 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35340 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35341 using is_trusted_path_normalize() in setuid scripts.
35342
353432011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35344
35345 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35346 __BEGIN/__END_DECLS.
35347
353482011-05-06 Ulrich Drepper <drepper@gmail.com>
35349
35350 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35351 NSS_STATUS_NOTFOUND if no record was found.
35352
353532011-05-05 Andreas Schwab <schwab@redhat.com>
35354
35355 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35356 (headers-not-in-tirpc): Remove rpc/netdb.h
35357 * resolv/netdb.h: Revert last change.
35358
353592011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35360
35361 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35362 circular dependency between libgcc.a and libc.a.
35363
353642011-05-05 Andreas Schwab <schwab@redhat.com>
35365
35366 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35367 * nis/Makefile: Don't install rpcsvc/*.
35368 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35369 instead of <rpc/types.h>.
35370 (MAXHOSTNAMELEN): Define.
35371
353722011-05-03 Andreas Schwab <schwab@redhat.com>
35373
35374 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35375
353762011-04-28 Maciej Babinski <mbabinski@google.com>
35377
35378 [BZ #12714]
35379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35380 gethostbyname4_r when IPv6 results are possible.
35381
353822011-05-02 Ulrich Drepper <drepper@gmail.com>
35383
35384 [BZ #12723]
35385 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35386 _PC_PIPE_BUF handling.
35387
353882011-04-30 Bruno Haible <bruno@clisp.org>
35389
35390 [BZ #12717]
35391 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35392 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35393 to 'int'.
35394 * inet/getnameinfo.c (getnameinfo): Likewise.
35395
353962011-04-29 Ulrich Drepper <drepper@gmail.com>
35397
35398 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35399 to groups setting in database lookup.
35400 * nss/nsswitch.conf: Add initgroups entry.
35401
354022011-04-22 Ulrich Drepper <drepper@gmail.com>
35403
35404 [BZ #12685]
35405 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35406 mode string.
35407 Patch by Eric Blake <eblake@redhat.com>.
35408
354092011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35410
35411 * sunrpc/Makefile (need-export-routines): Add svc_run.
35412 (routines): Remove svc_run.
35413 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35414 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35415 * sunrpc/svc_run.c (svc_run): Likewise.
35416 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35417
354182011-04-21 Ulrich Drepper <drepper@gmail.com>
35419
35420 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35421 problem in reallocation in last patch.
35422
354232011-04-20 Ulrich Drepper <drepper@gmail.com>
35424
35425 * sunrpc/Makefile: Move inclusion of Rules.
35426
354272011-04-19 Ulrich Drepper <drepper@gmail.com>
35428
35429 * nss/nss_files/files-initgroups.c: New file.
35430 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35431 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35432 _nss_files_initgroups_dyn.
35433
354342011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35435
35436 * elf/elf.h (R_ARM_IRELATIVE): Define.
35437
354382011-04-19 Ulrich Drepper <drepper@gmail.com>
35439
35440 * po/ru.po: Update from translation team.
35441
354422011-04-17 Ulrich Drepper <drepper@gmail.com>
35443
35444 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35445 dependencies.
35446
354472011-02-06 Mike Frysinger <vapier@gentoo.org>
35448
35449 [BZ #12653]
35450 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35451 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35453 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35454 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35455
354562011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35457
35458 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35459 differing bytes.
35460 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35462 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35463
354642011-04-17 Ulrich Drepper <drepper@gmail.com>
35465
35466 [BZ #12420]
35467 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35468 storing it.
35469 * stdlib/bug-getcontext.c: New file.
35470 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35471
354722011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35473
35474 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35475 instructions into .machine "z9-109".
35476 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35477 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35478
354792011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35480
35481 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35482 between environment variables and auxiliary vector.
35483
354842011-04-16 Ulrich Drepper <drepper@gmail.com>
35485
35486 * Makefile: Add rules to build linkobj/libc.so.
35487 * include/libc-symbols.h: Define libc_hidden_nolink.
35488 * include/rpc/auth.h: Mark functions which are to be hidden.
35489 * include/rpc/auth_des.h: Likewise.
35490 * include/rpc/auth_unix.h: Likewise.
35491 * include/rpc/clnt.h: Likewise.
35492 * include/rpc/des_crypt.h: Likewise.
35493 * include/rpc/key_prot.h: Likewise.
35494 * include/rpc/pmap_clnt.h: Likewise.
35495 * include/rpc/pmap_prot.h: Likewise.
35496 * include/rpc/pmap_rmt.h: Likewise.
35497 * include/rpc/rpc_msg.h: Likewise.
35498 * include/rpc/svc.h: Likewise.
35499 * include/rpc/svc_auth.h: Likewise.
35500 * include/rpc/xdr.h: Likewise.
35501 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35502 * nss/Makefile: Likewise.
35503 * sunrpc/Makefile: Don't install headers. Build library with normal
35504 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35505 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35506 for the compat linking library. Remove use of INTDEF/INTUSE.
35507 * sunrpc/auth_none.c: Likewise.
35508 * sunrpc/auth_unix.c: Likewise.
35509 * sunrpc/authdes_prot.c: Likewise.
35510 * sunrpc/authuxprot.c: Likewise.
35511 * sunrpc/clnt_gen.c: Likewise.
35512 * sunrpc/clnt_perr.c: Likewise.
35513 * sunrpc/clnt_raw.c: Likewise.
35514 * sunrpc/clnt_simp.c: Likewise.
35515 * sunrpc/clnt_tcp.c: Likewise.
35516 * sunrpc/clnt_udp.c: Likewise.
35517 * sunrpc/clnt_unix.c: Likewise.
35518 * sunrpc/des_crypt.c: Likewise.
35519 * sunrpc/des_soft.c: Likewise.
35520 * sunrpc/get_myaddr.c: Likewise.
35521 * sunrpc/key_call.c: Likewise.
35522 * sunrpc/key_prot.c: Likewise.
35523 * sunrpc/netname.c: Likewise.
35524 * sunrpc/pm_getmaps.c: Likewise.
35525 * sunrpc/pm_getport.c: Likewise.
35526 * sunrpc/pmap_clnt.c: Likewise.
35527 * sunrpc/pmap_prot.c: Likewise.
35528 * sunrpc/pmap_prot2.c: Likewise.
35529 * sunrpc/pmap_rmt.c: Likewise.
35530 * sunrpc/publickey.c: Likewise.
35531 * sunrpc/rpc_cmsg.c: Likewise.
35532 * sunrpc/rpc_common.c: Likewise.
35533 * sunrpc/rpc_dtable.c: Likewise.
35534 * sunrpc/rpc_prot.c: Likewise.
35535 * sunrpc/rpc_thread.c: Likewise.
35536 * sunrpc/rtime.c: Likewise.
35537 * sunrpc/svc.c: Likewise.
35538 * sunrpc/svc_auth.c: Likewise.
35539 * sunrpc/svc_authux.c: Likewise.
35540 * sunrpc/svc_raw.c: Likewise.
35541 * sunrpc/svc_run.c: Likewise.
35542 * sunrpc/svc_simple.c: Likewise.
35543 * sunrpc/svc_tcp.c: Likewise.
35544 * sunrpc/svc_udp.c: Likewise.
35545 * sunrpc/svc_unix.c: Likewise.
35546 * sunrpc/svcauth_des.c: Likewise.
35547 * sunrpc/xcrypt.c: Likewise.
35548 * sunrpc/xdr.c: Likewise.
35549 * sunrpc/xdr_array.c: Likewise.
35550 * sunrpc/xdr_float.c: Likewise.
35551 * sunrpc/xdr_intXX_t.c: Likewise.
35552 * sunrpc/xdr_mem.c: Likewise.
35553 * sunrpc/xdr_rec.c: Likewise.
35554 * sunrpc/xdr_ref.c: Likewise.
35555 * sunrpc/xdr_sizeof.c: Likewise.
35556 * sunrpc/xdr_stdio.c: Likewise.
35557
355582011-04-10 Ulrich Drepper <drepper@gmail.com>
35559
35560 [BZ #12650]
35561 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35562 * sysdeps/ia64/dl-tls.h: Likewise.
35563 * sysdeps/powerpc/dl-tls.h: Likewise.
35564 * sysdeps/s390/dl-tls.h: Likewise.
35565 * sysdeps/sh/dl-tls.h: Likewise.
35566 * sysdeps/sparc/dl-tls.h: Likewise.
35567 * sysdeps/x86_64/dl-tls.h: Likewise.
35568 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35569
355702011-03-14 Andreas Schwab <schwab@redhat.com>
35571
35572 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35573 rpath element also skip the following colon.
35574 (expand_dynamic_string_token): Add is_path parameter and pass
35575 down to DL_DST_REQUIRED and _dl_dst_substitute.
35576 (decompose_rpath): Call expand_dynamic_string_token with
35577 non-zero is_path. Ignore empty rpaths.
35578 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35579 with zero is_path.
35580
355812011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35582
35583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35584 Make cancelable.
35585
355862011-04-09 Ulrich Drepper <drepper@gmail.com>
35587
35588 [BZ #12655]
35589 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35590 Patch by Filipe David Manana <fdmanana@apache.org>.
35591
355922011-04-07 Andreas Schwab <schwab@redhat.com>
35593
35594 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35595 Maintain aligned stack.
35596 (CHECK_RSP): Remove unused macro.
35597
355982011-04-03 Ulrich Drepper <drepper@gmail.com>
35599
35600 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35601 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35602
356032011-04-02 Ulrich Drepper <drepper@gmail.com>
35604
35605 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35606
35607 * include/features.h: Mention __USE_XOPEN2K8 in comment.
35608
356092011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35610
35611 [BZ #12518]
35612 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35613 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35614 * sysdeps/x86_64/memmove.c: New file.
35615 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35616 (memcpy): Renamed to ...
35617 (__new_memcpy): This.
35618 (memcpy): Provide GLIBC_2_14 memcpy.
35619 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35620 (memcpy): Provide GLIBC_2_2_5 memcpy.
35621
356222011-04-01 Ulrich Drepper <drepper@gmail.com>
35623
35624 [BZ #12631]
35625 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35626
356272011-03-30 Andreas Schwab <schwab@redhat.com>
35628
35629 * misc/syncfs.c: New file.
35630 * misc/Makefile (routines): Add syncfs.
35631 * posix/unistd.h: Declare syncfs.
35632 * sysdeps/unix/syscalls.list: Add syncfs.
35633
356342011-04-01 Andreas Schwab <schwab@redhat.com>
35635
35636 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35637 open_by_handle_at.
35638 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35639 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35640 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35641 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35643 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35644 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35645
356462011-04-01 Ulrich Drepper <drepper@gmail.com>
35647
35648 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35649 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35650 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35651 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35652 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35653 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35654 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35655
35656 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35657 sync_file_range.c with -fexceptions.
35658 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35659 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35660 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35661 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35662 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35663 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35665 sync_file_range as cancellation point
35666 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35667 now a wrapper around __call_sync_file_range with cancellation handling.
35668 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35669 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35670 function name to __call_sync_file_range.
35671 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35672 Add call_sync_file_range.
35673
356742011-04-01 Andreas Schwab <schwab@redhat.com>
35675
35676 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35677 bits/timex.h.
35678
356792011-04-01 Ulrich Drepper <drepper@gmail.com>
35680
35681 * iconv/iconv.h: Fix typo in comment.
35682 * io/fcntl.h: Likewise.
35683 * libio/stdio.h: Likewise.
35684 * posix/spawn.h: Likewise.
35685 * posix/unistd.h: Likewise.
35686 * stdlib/stdlib.h: Likewise.
35687 * time/time.h: Likewise.
35688 * wcsmbs/wchar.h: Likewise.
35689
35690 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35691 open_by_handle): Add.
35692 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35693 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35694 Augment a few comments.
35695 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35696 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35697 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35699 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35700 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35701 open_by_handle.
35702
35703 * io/fcntl.h (AT_EMPTY_PATH): Define.
35704
357052011-03-30 Ulrich Drepper <drepper@gmail.com>
35706
35707 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35708 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35709 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35710 to...
35711 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
35712 * Versions.def: Add GLIBC_2.14.
35713 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35714 Export.
35715
357162011-03-22 Ulrich Drepper <drepper@gmail.com>
35717
35718 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35719 round counter.
35720 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35721
357222011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35723
35724 [BZ #12597]
35725 * string/test-strncmp.c (do_page_test): New function.
35726 (check2): Likewise.
35727 (test_main): Call check2.
35728 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35729
357302011-03-20 Ulrich Drepper <drepper@gmail.com>
35731
35732 [BZ #12587]
35733 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35734 Handle cache information in CPU leaf 4.
35735 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35736
357372011-03-18 Ulrich Drepper <drepper@gmail.com>
35738
35739 [BZ #12583]
35740 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35741 character representation.
35742 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35743
357442011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35745
35746 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35747 END(__isnan) to END(__isnanf) to match function entry point/label
35748 EALIGN(__isnanf,...).
35749
357502011-03-10 Jakub Jelinek <jakub@redhat.com>
35751
35752 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35753
357542011-03-10 Ulrich Drepper <drepper@gmail.com>
35755
35756 [BZ #12510]
35757 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35758 copy from the symbol referenced in the relocation to initialize the
35759 used variable.
35760 Patch by Piotr Bury <pbury@goahead.com>.
35761 * elf/Makefile: Add rules to build and tst-unique3.
35762 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35763 * elf/tst-unique3.cc: New file.
35764 * elf/tst-unique3.h: New file.
35765 * elf/tst-unique3lib.cc: New file.
35766 * elf/tst-unique3lib2.cc: New file.
35767
35768 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35769
357702011-03-10 Mike Frysinger <vapier@gentoo.org>
35771
35772 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35773 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35774 to _start.
35775
357762011-03-06 Ulrich Drepper <drepper@gmail.com>
35777
35778 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35779 to-be-loaded object along a path to loader is ld.so.
35780
357812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35782 Ulrich Drepper <drepper@gmail.com>
35783
35784 * sysdeps/x86_64/memset.S: After aligning destination, code
35785 branches to different locations depending on the value of
35786 misalignment, when multiarch is enabled. Fix this.
35787
357882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35789
35790 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35791 Set _x86_64_preferred_memory_instruction for AMD processsors.
35792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35793 Set bit_Prefer_SSE_for_memop for AMD processors.
35794
357952011-03-04 Ulrich Drepper <drepper@gmail.com>
35796
35797 * libio/fmemopen.c (fmemopen): Optimize a bit.
35798
357992011-03-03 Andreas Schwab <schwab@redhat.com>
35800
35801 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35802
358032011-03-03 Roland McGrath <roland@redhat.com>
35804
35805 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35806
358072011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35808
35809 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35810 __bzero_ultra1 instead of __memset_ultra1.
35811
358122011-02-23 Andreas Schwab <schwab@redhat.com>
35813 Ulrich Drepper <drepper@gmail.com>
35814
35815 [BZ #12509]
35816 * include/link.h (struct link_map): Add l_orig_initfini.
35817 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35818 returning unsuccessfully.
35819 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35820 close of a file loaded at startup, restore the original l_initfini
35821 list.
35822 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35823 list, store the pointer.
35824 * elf/Makefile ($(objpfx)noload-mem): New rule.
35825 (noload-ENV): Define.
35826 (tests): Add $(objpfx)noload-mem.
35827 * elf/noload.c: Include <memcheck.h>.
35828 (main): Call mtrace. Close all opened handles.
35829
358302011-02-17 Andreas Schwab <schwab@redhat.com>
35831
35832 [BZ #12454]
35833 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35834 dependencies are missing.
35835
358362011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35837
35838 Fix __if_freereq crash: Unlike the generic version which uses free,
35839 Hurd needs munmap.
35840 * sysdeps/mach/hurd/ifreq.h: New file.
35841
358422011-01-27 Petr Baudis <pasky@suse.cz>
35843 Ulrich Drepper <drepper@gmail.com>
35844
35845 [BZ 12445]#
35846 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35847 to extend_alloca().
35848 * stdio-common/bug23.c: New file.
35849 * stdio-common/Makefile (tests): Add bug23.
35850
358512010-09-28 Andreas Schwab <schwab@redhat.com>
35852 Ulrich Drepper <drepper@gmail.com>
35853
35854 [BZ #12489]
35855 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35856 before performing relro protection. At old place add assertion
35857 to make sure nothing changed.
35858
358592011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35860 Glauber de Oliveira Costa <glommer@gmail.com>
35861
35862 * elf/elf.h: Add new ARM TLS relocs.
35863
358642011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35865
35866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35867 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35868 cast from r3.
35869 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35870 'tests' variable.
35871 * sysdeps/wordsize-64/tst-writev.c: New file.
35872
358732011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35874
35875 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35876 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35877 insns in _dl_start to prevent a TOC reference before relocs are
35878 resolved.
35879
358802011-02-15 Ulrich Drepper <drepper@gmail.com>
35881
35882 [BZ #12469]
35883 * Makeconfig: Remove RANLIB definition.
35884 * Makerules: Don't use RANLIB.
35885 * aclocal.m4: Remove ranlib test.
35886 * configure.in: No need to check for ranlib.
35887 * elf/rtld-Rules: Don't use RANLIB.
35888
358892011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35890
35891 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35892 protection macro.
35893 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35894 inclusion protection macro.
35895
35896 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35897 SIGRTMIN and SIGRTMAX and print information in that case only when
35898 SIGRTMIN is defined.
35899
359002011-02-11 Jakub Jelinek <jakub@redhat.com>
35901
35902 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35903 arginfo fn returning -1.
35904
35905 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35906 and thousands string is zero terminated.
35907
359082011-02-03 Andreas Schwab <schwab@redhat.com>
35909
35910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35911 sysdeps/unix/sysv/linux/bits/socket.h.
35912
359132011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35914
35915 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35916 (__CPU_COUNT): Remove old macros.
35917 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35918 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35919 (__CPU_ALLOC, __CPU_FREE): Add macros.
35920 (__sched_cpualloc, __sched_cpufree): Add declarations.
35921
359222011-02-05 Ulrich Drepper <drepper@gmail.com>
35923
35924 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35925 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35926 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35927 (readdhstai): Return value of addhstaiX call.
35928 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35929 (addgrbyX): Return value returned by cache_addgr.
35930 (readdgrbyname): Return value returned by addgrbyX.
35931 (readdgrbygid): Likewise.
35932 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35933 (addpwbyX): Return value returned by cache_addpw.
35934 (readdpwbyname): Return value returned by addhstbyX.
35935 (readdpwbyuid): Likewise.
35936 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35937 (addservbyX): Return value returned by cache_addserv.
35938 (readdservbyname): Return value returned by addservbyX:
35939 (readdservbyport): Likewise.
35940 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35941 (addhstbyX): Return value returned by cache_addhst.
35942 (readdhstbyname): Return value returned by addhstbyX.
35943 (readdhstbyaddr): Likewise.
35944 (readdhstbynamev6): Likewise.
35945 (readdhstbyaddrv6): Likewise.
35946 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35947 (readdinitgroups): Return value returned by addinitgroupsX.
35948 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35949 (prune_cache): Keep track of timeout value of re-added entries.
35950 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35951 * nscd/nscd.h: Adjust prototypes of readd* functions.
35952
359532011-02-04 Roland McGrath <roland@redhat.com>
35954
35955 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35956 (nis_stats): Likewise.
35957 * nis/nis_modify.c (nis_modify): Likewise.
35958 * nis/nis_remove.c (nis_remove): Likewise.
35959 * nis/nis_add.c (nis_add): Likewise.
35960
35961 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35962
35963 * posix/fnmatch_loop.c: Add some consts.
35964
35965 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35966
359672011-02-02 H.J. Lu <hongjiu.lu@intel.com>
35968
35969 [BZ #12460]
35970 * config.make.in (config-cflags-novzeroupper): Define.
35971 * configure.in: Substitute libc_cv_cc_novzeroupper.
35972 * elf/Makefile (AVX-CFLAGS): Define.
35973 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35974 (CFLAGS-tst-auditmod4a.c): Likewise.
35975 (CFLAGS-tst-auditmod4b.c): Likewise.
35976 (CFLAGS-tst-auditmod6b.c): Likewise.
35977 (CFLAGS-tst-auditmod6c.c): Likewise.
35978 (CFLAGS-tst-auditmod7b.c): Likewise.
35979 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35980
359812011-02-02 Ulrich Drepper <drepper@gmail.com>
35982
35983 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35984 function to the callback.
35985 Patch partly by Jiri Olsa <jolsa@redhat.com>.
35986
359872011-02-02 Andreas Schwab <schwab@redhat.com>
35988
35989 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35990 of errno.
35991
359922011-01-19 Ulrich Drepper <drepper@gmail.com>
35993
35994 [BZ #11724]
35995 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35996 of constructors.
35997 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35998 of destructors.
35999 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36000
36001 [BZ #11724]
36002 * elf/Makefile: Add rules to build and run new test.
36003 * elf/tst-initorder.c: New file.
36004 * elf/tst-initorder.exp: New file.
36005 * elf/tst-initordera1.c: New file.
36006 * elf/tst-initordera2.c: New file.
36007 * elf/tst-initordera3.c: New file.
36008 * elf/tst-initordera4.c: New file.
36009 * elf/tst-initorderb1.c: New file.
36010 * elf/tst-initorderb2.c: New file.
36011 * elf/tst-order-a1.c: New file.
36012 * elf/tst-order-a2.c: New file.
36013 * elf/tst-order-a3.c: New file.
36014 * elf/tst-order-a4.c: New file.
36015 * elf/tst-order-b1.c: New file.
36016 * elf/tst-order-b2.c: New file.
36017 * elf/tst-order-main.c: New file.
36018 New test case by George Gensure <werkt0@gmail.com>.
36019
360202010-10-01 Andreas Schwab <schwab@redhat.com>
36021
36022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36023 decoding ACE if AI_CANONIDN.
36024
360252011-01-18 Ulrich Drepper <drepper@gmail.com>
36026
36027 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36028
360292011-01-17 Ulrich Drepper <drepper@gmail.com>
36030
36031 * version.h (RELEASE): Bump for 2.13 release.
36032 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36033
36034 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36035
36036 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36037 MADV_NOHUGEPAGE.
36038 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36039 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36040 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36041 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36042 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36043 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36044
36045 * posix/getconf.c: Update copyright year.
36046 * catgets/gencat.c: Likewise.
36047 * csu/version.c: Likewise.
36048 * debug/catchsegv.sh: Likewise.
36049 * debug/xtrace.sh: Likewise.
36050 * elf/ldconfig.c: Likewise.
36051 * elf/ldd.bash.in: Likewise.
36052 * elf/sprof.c (print_version): Likewise.
36053 * iconv/iconv_prog.c: Likewise.
36054 * iconv/iconvconfig.c: Likewise.
36055 * locale/programs/locale.c: Likewise.
36056 * locale/programs/localedef.c: Likewise.
36057 * malloc/memusage.sh: Likewise.
36058 * malloc/mtrace.pl: Likewise.
36059 * nscd/nscd.c (print_version): Likewise.
36060 * nss/getent.c: Likewise.
36061
36062 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36063 PF_CAIF, and PF_ALG.
36064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36065
360662011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36067
36068 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36069 (modules-names): Use them.
36070 (ifunc-test-modules, ifunc-pie-tests): Define.
36071 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36072 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36073 (test-extras): Likewise.
36074 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36075 $(compile-command.c).
36076 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36077 (all-built-dso): Define.
36078 (check-textrel.out, check-execstack.out): Depend on it.
36079
36080 * configure.in: Don't override --enable-multi-arch.
36081
360822011-01-15 Ulrich Drepper <drepper@gmail.com>
36083
36084 [BZ #6812]
36085 * nscd/hstcache.c (tryagain): Define.
36086 (cache_addhst): Return tryagain not notfound for temporary errors.
36087 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36088 failed.
36089
360902011-01-14 Ulrich Drepper <drepper@gmail.com>
36091
36092 [BZ #10563]
36093 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36094 to make the syscall.
36095 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36096
36097 [BZ #12378]
36098 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36099 and fall back to matching as normal character if the string ends before
36100 the matching ']' is found. This is what POSIX requires.
36101 * posix/testfnm.c: Adjust test result.
36102 * posix/globtest.sh: Adjust test result. Add new test.
36103 * posix/tst-fnmatch.input: Likewise.
36104 * posix/tst-fnmatch2.c: Add new test.
36105
361062010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36107
36108 * elf/Makefile (check-execstack): Revert last change. Depend on
36109 check-execstack.h.
36110 (check-execstack.h): New target.
36111 (generated): Add check-execstack.h.
36112 * elf/check-execstack.c: Include "check-execstack.h".
36113 (main): Revert last change.
36114 (handle_file): Return zero if GNU_STACK is absent and
36115 DEFAULT_STACK_PERMS doesn't include PF_X.
36116
361172011-01-13 Ulrich Drepper <drepper@gmail.com>
36118
36119 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36120 in child fails because the descriptor is already closed.
36121 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36122 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36123 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36124
36125 [BZ #12397]
36126 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36127 syscall.
36128
36129 [BZ #10484]
36130 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36131 temporary buffer used to handle multi lookups locally.
36132 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36133
361342011-01-12 Ulrich Drepper <drepper@gmail.com>
36135
36136 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36137 loader is ld.so.
36138
361392011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36140
36141 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36142 alignment for SSE2.
36143
361442011-01-12 Ulrich Drepper <drepper@gmail.com>
36145
36146 [BZ #12394]
36147 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36148 characters. When rounding increased number of integer digits recompute
36149 number of groups.
36150 * stdio-common/tst-grouping.c: New file.
36151 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36152
361532011-01-09 Ulrich Drepper <drepper@gmail.com>
36154
36155 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36156 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36157
36158 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36159 void.
36160 * bits/select.h: Likewise.
36161
361622011-01-08 Ulrich Drepper <drepper@gmail.com>
36163
36164 * po/ja.po: Update from translation team.
36165
361662011-01-04 David S. Miller <davem@sunset.davemloft.net>
36167
36168 [BZ #11155]
36169 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36170 implementation just like for lxstat, fxstatat, et al.
36171
361722010-12-27 Jim Meyering <meyering@redhat.com>
36173
36174 [BZ #12348]
36175 * posix/regexec.c (build_trtable): Return failure indication upon
36176 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36177
361782010-12-25 Ulrich Drepper <drepper@gmail.com>
36179
36180 [BZ #12201]
36181 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36182 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36183 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36184 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36185
36186 [BZ #12207]
36187 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36188
36189 [BZ #12204]
36190 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36191 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36192
361932010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36194
36195 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36196 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36197 script has SORT_BY_INIT_PRIORITY.
36198 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36199 NO_CTORS_DTORS_SECTIONS is defined.
36200 * elf/soinit.c: Likewise.
36201 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36202 NO_CTORS_DTORS_SECTIONS is defined.
36203 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36204 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36205 * sysdeps/sh/init-first.c: Likewise.
36206 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36207
362082010-12-24 Ulrich Drepper <drepper@gmail.com>
36209
36210 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36211 always use the slow path.
36212
362132010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36214
36215 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36216 similar rule which adds the sysdep directories to the header search in
36217 order to pick up the correct platform stackinfo.h.
36218 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36219 perform test if it is, otherwise return successfully without testing.
36220 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36221 DEFAULT_STACK_PERMS define in stackinfo.h.
36222 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36223 defined in stackinfo.h.
36224 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36225 DEFAULT_STACK_PERMS defined in stackinfo.h.
36226 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36227 * sysdeps/ia64/stackinfo.h: Likewise.
36228 * sysdeps/s390/stackinfo.h: Likewise.
36229 * sysdeps/sh/stackinfo.h: Likewise.
36230 * sysdeps/sparc/stackinfo.h: Likewise.
36231 * sysdeps/x86_64/stackinfo.h: Likewise.
36232 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36233 PF_X for powerpc64. Retain PF_X for powerpc32.
36234
362352010-12-19 Ulrich Drepper <drepper@gmail.com>
36236
36237 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36238 accurately.
36239 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36240 GETDENTS_64BIT_ALIGNED.
36241
362422010-12-14 Ulrich Drepper <dreper@gmail.com>
36243
36244 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36245
362462010-12-10 Andreas Schwab <schwab@redhat.com>
36247
36248 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36249 _GNU_SOURCE.
36250
36251 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36252 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36253 Remove __restrict.
36254 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36255 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36256
362572010-12-09 Ulrich Drepper <drepper@gmail.com>
36258
36259 [BZ #11655]
36260 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36261 are initialized.
36262
362632010-12-09 Jakub Jelinek <jakub@redhat.com>
36264
36265 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36266
362672010-12-03 Ulrich Drepper <drepper@gmail.com>
36268
36269 * po/it.po: Update from translation team.
36270
362712010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36272
36273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36274 unused codes.
36275
362762010-11-30 Ulrich Drepper <drepper@gmail.com>
36277
36278 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36279
362802010-11-24 Andreas Schwab <schwab@redhat.com>
36281
36282 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36283 specially.
36284 (gaih_getanswer_slice): Likewise.
36285
362862010-10-20 Jakub Jelinek <jakub@redhat.com>
36287
36288 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36289
362902010-05-31 Petr Baudis <pasky@suse.cz>
36291
36292 [BZ #11149]
36293 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36294 silently even in the chroot mode.
36295
362962010-11-22 Ulrich Drepper <drepper@gmail.com>
36297
36298 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36299 last patch a bit. Pretty printing
36300
363012010-05-31 Petr Baudis <pasky@suse.cz>
36302
36303 [BZ #10085]
36304 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36305 initialization of skip_initgroups_dyn.
36306
363072010-11-19 Ulrich Drepper <drepper@gmail.com>
36308
36309 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36310 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36311
363122010-11-16 Ulrich Drepper <drepper@gmail.com>
36313
36314 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36315
363162010-11-11 Andreas Schwab <schwab@redhat.com>
36317
36318 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36319 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36320 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36321 ($(objpfx)tst-fnmatch-mem): New rule.
36322 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36323 * posix/tst-fnmatch.c (main): Call mtrace.
36324
363252010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36326
36327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36328 Support Intel processor model 6 and model 0x2c.
36329
363302010-11-10 Luis Machado <luisgpm@br.ibm.com>
36331
36332 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36333 signed comparison.
36334
363352010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36336
36337 [BZ #12205]
36338 * string/test-strncasecmp.c (check_result): New function.
36339 (do_one_test): Use it.
36340 (check1): New function.
36341 (test_main): Use it.
36342 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36343 Support strcasecmp and strncasecmp.
36344
363452010-11-08 Ulrich Drepper <drepper@gmail.com>
36346
36347 [BZ #12194]
36348 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36349 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36350
363512010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36352
36353 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36354 IFUNC support.
36355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36356 memset-x86-64.
36357 * sysdeps/x86_64/multiarch/bzero.S: New file.
36358 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36359 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36360 * sysdeps/x86_64/multiarch/memset.S: New file.
36361 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36363 Set bit_Prefer_SSE_for_memop for Intel processors.
36364 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36365 Define.
36366 (index_Prefer_SSE_for_memop): Define.
36367 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36368
363692010-11-04 Luis Machado <luisgpm@br.ibm.com>
36370
36371 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36372 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36373
363742010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36375
36376 [BZ #12191]
36377 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36378 (__x86_64_raw_data_cache_size_half): Likewise.
36379 (__x86_64_raw_shared_cache_size): Likewise.
36380 (__x86_64_raw_shared_cache_size_half): Likewise.
36381
36382 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36383 (__x86_64_raw_data_cache_size_half): Likewise.
36384 (__x86_64_raw_shared_cache_size): Likewise.
36385 (__x86_64_raw_shared_cache_size_half): Likewise.
36386 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36387 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36388 and __x86_64_raw_shared_cache_size_half. Round
36389 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36390 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36391 to multiple of 256 bytes.
36392
363932010-11-03 Ulrich Drepper <drepper@gmail.com>
36394
36395 [BZ #12167]
36396 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36397 of inacessible symlinks. Verify result of symlink before returning it.
36398 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36399 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36400
364012010-10-28 Erich Ritz <erichritz@gmail.com>
36402
36403 * math/math.h (isinf): Fix typo in comment.
36404
364052010-11-01 Ulrich Drepper <drepper@gmail.com>
36406
36407 * po/da.po: Update from translation team.
36408
364092010-10-26 Ulrich Drepper <drepper@gmail.com>
36410
36411 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36412 is added to the list.
36413
364142010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36415 Ulrich Drepper <drepper@gmail.com>
36416
36417 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36418 the global list here. Move code to...
36419 (_dl_add_to_namespace_list): ...here. New function.
36420 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36421 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36422 * elf/dl-load.c (lose): Don't remove the element from the list.
36423 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36424 (_dl_map_object): Likewise.
36425
364262010-10-25 Ulrich Drepper <drepper@gmail.com>
36427
36428 [BZ #12159]
36429 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36430 into all bytes of SSE register.
36431 Patch by Richard Li <richardpku@gmail.com>.
36432
364332010-10-24 Ulrich Drepper <drepper@gmail.com>
36434
36435 [BZ #12140]
36436 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36437 perturbing.
36438
364392010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36440
36441 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36442 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36443 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36444 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36446 submachine.
36447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36448
364492010-10-22 Andreas Schwab <schwab@redhat.com>
36450
36451 * include/dlfcn.h (__RTLD_SECURE): Define.
36452 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36453 mode & __RTLD_SECURE instead.
36454 (open_path): Rename preloaded parameter to secure.
36455 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36456 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36457 * elf/dl-deps.c (openaux): Likewise.
36458 * elf/rtld.c (struct map_args): Remove is_preloaded.
36459 (map_doit): Don't use it.
36460 (dl_main): Likewise.
36461 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36462 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36463
364642010-09-09 Andreas Schwab <schwab@redhat.com>
36465
36466 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36467 (sysd-rules-targets): Remove duplicates.
36468 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36469 rtld-%.$o dependency.
36470
364712010-10-18 Andreas Schwab <schwab@redhat.com>
36472
36473 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36474 _dl_map_object do it.
36475
364762010-10-19 Ulrich Drepper <drepper@gmail.com>
36477
36478 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36479 fast fma builtins, define the macros in the C99 standard.
36480 (FP_FAST_FMAF): Likewise.
36481 (FP_FAST_FMAL): Likewise.
36482 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36483
36484 * bits/mathdef.h: Update copyright year.
36485 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36486
364872010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36488
36489 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36490 builtins, define the macros in the C99 standard.
36491 (FP_FAST_FMAF): Likewise.
36492 (FP_FAST_FMAL): Likewise.
36493 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36494 multiply/add.
36495 (FP_FAST_FMAF): Likewise.
36496
364972010-10-15 Jakub Jelinek <jakub@redhat.com>
36498
36499 [BZ #3268]
36500 * math/libm-test.inc (fma_test): Some new testcases.
36501 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36502 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36503 y and infinite z. Do multiplication by C already in long double.
36504 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36506 y and infinite z. Do bitwise or of inexact bit into u.d.
36507 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36508 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36509 * sysdeps/i386/fpu/s_fma.S: Removed.
36510 * sysdeps/i386/fpu/s_fmal.S: Removed.
36511
365122010-10-16 Jakub Jelinek <jakub@redhat.com>
36513
36514 [BZ #3268]
36515 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36516 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36517 computation is not scheduled after fetestexcept. Fix value
36518 of minimum denormal long double.
36519
365202010-10-14 Jakub Jelinek <jakub@redhat.com>
36521
36522 [BZ #3268]
36523 * math/libm-test.inc (fma_test): Add some more tests.
36524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36525 correctly.
36526
365272010-10-15 Andreas Schwab <schwab@redhat.com>
36528
36529 * scripts/data/localplt-s390-linux-gnu.data: New file.
36530 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36531
365322010-10-13 Jakub Jelinek <jakub@redhat.com>
36533
36534 [BZ #3268]
36535 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36536 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36537 instead of dbl-64.
36538 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36539 inlines.
36540 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36542 if one of x and y is very large and the other is subnormal.
36543 * sysdeps/s390/fpu/s_fmaf.c: New file.
36544 * sysdeps/s390/fpu/s_fma.c: New file.
36545 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36546 * sysdeps/powerpc/fpu/s_fma.S: New file.
36547 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36548 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36549 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36550
365512010-10-12 Jakub Jelinek <jakub@redhat.com>
36552
36553 [BZ #3268]
36554 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36555 fma tests.
36556 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36557 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36558 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36559 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36560 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36561 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36562 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36563
365642010-10-12 Ulrich Drepper <drepper@redhat.com>
36565
36566 [BZ #12078]
36567 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36568 * posix/bug-regex31.input: Add test case.
36569
365702010-10-11 Ulrich Drepper <drepper@gmail.com>
36571
36572 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36573 * posix/bug-regex31.input: New file.
36574
36575 [BZ #12078]
36576 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36577 (parse_sub_exp): Fix last change, use postorder.
36578
36579 * posix/bug-regex31.c: New file.
36580 * posix/Makefile: Add rules to build and run bug-regex31.
36581
36582 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36583
36584 [BZ #12078]
36585 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36586
36587 [BZ #12108]
36588 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36589 to have entries in sys_siglist.
36590
36591 [BZ #12093]
36592 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36593 be NULL.
36594
365952010-10-07 Jakub Jelinek <jakub@redhat.com>
36596
36597 [BZ #3268]
36598 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36599 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36600 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36601 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36602 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36603 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36604 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36605 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36606 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36607 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36608 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36609 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36610 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36611 * math/ftestexcept.c (fetestexcept): Likewise.
36612 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36613 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36614 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36615 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36616 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36617 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36618 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36619
366202010-10-11 Ulrich Drepper <drepper@gmail.com>
36621
36622 [BZ #12107]
36623 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36624 newline.
36625
366262010-10-06 Ulrich Drepper <drepper@gmail.com>
36627
36628 * string/bug-strstr1.c: New file.
36629 * string/Makefile: Add rules to build and run bug-strstr1.
36630
366312010-10-05 Eric Blake <eblake@redhat.com>
36632
36633 [BZ #12092]
36634 * string/str-two-way.h (two_way_long_needle): Always clear memory
36635 when skipping input due to the shift table.
36636
366372010-10-03 Ulrich Drepper <drepper@gmail.com>
36638
36639 [BZ #12005]
36640 * malloc/mcheck.c: Handle large requests.
36641
36642 [BZ #12077]
36643 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36644 for strncmp and strncasecmp.
36645 * string/stratcliff.c: Add tests for strcmp and strncmp.
36646 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36647
366482010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36649
36650 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36651 __set_fpscr.
36652
366532010-09-30 Andreas Jaeger <aj@suse.de>
36654
36655 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36656 (CGROUP_SUPER_MAGIC): Define.
36657 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36658 Handle btrfs and cgroup file systems.
36659 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36660 Likewise.
36661
366622010-09-27 Luis Machado <luisgpm@br.ibm.com>
36663
36664 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36665 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36666
366672010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36668
36669 [BZ #12067]
36670 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36671 trying to locate the ELF header.
36672
366732010-09-27 Andreas Schwab <schwab@redhat.com>
36674
36675 [BZ #11611]
36676 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36677 Mask out sign-bit copies when constructing f_fsid.
36678
366792010-09-24 Petr Baudis <pasky@suse.cz>
36680
36681 * debug/stack_chk_fail_local.c: Add missing licence exception.
36682 * debug/warning-nop.c: Likewise.
36683
366842010-09-15 Joseph Myers <joseph@codesourcery.com>
36685
36686 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36687 implementing getdents64 using getdents syscall, set d_type if
36688 __ASSUME_GETDENTS32_D_TYPE.
36689
366902010-09-16 Andreas Schwab <schwab@redhat.com>
36691
36692 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36693 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36694
366952010-09-21 Ulrich Drepper <drepper@redhat.com>
36696
36697 [BZ #12037]
36698 * posix/unistd.h: Undo change of feature selection for ftruncate from
36699 2010-01-11.
36700
367012010-09-20 Ulrich Drepper <drepper@redhat.com>
36702
36703 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36704 detection.
36705
367062010-09-20 Andreas Schwab <schwab@redhat.com>
36707
36708 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36709 fanotify_mark.
36710 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36711
367122010-09-14 Andreas Schwab <schwab@redhat.com>
36713
36714 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36715 variables after CHECK_SP call.
36716 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36717
367182010-09-13 Andreas Schwab <schwab@redhat.com>
36719 Ulrich Drepper <drepper@redhat.com>
36720
36721 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36722 re-relocationg ld.so.
36723 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36724 _dl_init_paths call.
36725 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36726 here anymore.
36727
367282010-09-14 Ulrich Drepper <drepper@redhat.com>
36729
36730 * resolv/res_init.c (__res_vinit): Count the default server we added.
36731
367322010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36733 Ulrich Drepper <drepper@redhat.com>
36734
36735 [BZ #11968]
36736 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36737 (____longjmp_chk): Use %ebx for saving value across system call.
36738 Add unwind info.
36739
367402010-09-06 Andreas Schwab <schwab@redhat.com>
36741
36742 * manual/Makefile: Don't mix pattern rules with normal rules.
36743
367442010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36745
36746 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36747 operation.
36748 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36749 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36750 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36751 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36753 Likewise.
36754
367552010-09-04 Ulrich Drepper <drepper@redhat.com>
36756
36757 [BZ #11979]
36758 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36759 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36760
367612010-09-02 Ulrich Drepper <drepper@redhat.com>
36762
36763 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36764 * sysdeps/x86_64/addmul_1.S: Likewise.
36765 * sysdeps/x86_64/lshift.S: Likewise.
36766 * sysdeps/x86_64/mul_1.S: Likewise.
36767 * sysdeps/x86_64/rshift.S: Likewise.
36768 * sysdeps/x86_64/sub_n.S: Likewise.
36769 * sysdeps/x86_64/submul_1.S: Likewise.
36770
367712010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36772
36773 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36774 Define __sched_param instead of SCHED_* and sched_param when
36775 <bits/sched.h> is included with __need_schedparam defined.
36776 * bits/sched.h [__need_schedparam]
36777 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36778 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36779 (__defined_schedparam): Define to 1.
36780 (__sched_param): New structure, identical to sched_param.
36781 (__need_schedparam): Undefine.
36782
367832010-08-31 Mike Frysinger <vapier@gentoo.org>
36784
36785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36786 (epoll_create1): Declare.
36787
36788 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36789
367902010-08-31 Andreas Schwab <schwab@redhat.com>
36791
36792 [BZ #7066]
36793 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36794 shifting retval into place.
36795
367962010-09-01 Ulrich Drepper <drepper@redhat.com>
36797
36798 * nis/rpcsvc/nis.h: Update copyright notice.
36799 * nis/rpcsvc/nis.x: Likewise.
36800 * nis/rpcsvc/nis_callback.h: Likewise.
36801 * nis/rpcsvc/nis_callback.x: Likewise.
36802 * nis/rpcsvc/nis_object.x: Likewise.
36803 * nis/rpcsvc/nis_tags.h: Likewise.
36804 * nis/rpcsvc/yp.h: Likewise.
36805 * nis/rpcsvc/yp.x: Likewise.
36806 * nis/rpcsvc/ypupd.h: Likewise.
36807 * nis/yp_xdr.c: Likewise.
36808 * nis/ypupdate_xdr.c: Likewise.
36809
36810 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36811 mainly the body of pmap_getport. Add parameters to specify timeouts.
36812 (pmap_getport): Use __libc_rpc_getport.
36813 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36814 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36815 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36816
368172010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36818
36819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36820 fanotify_mark.
36821
368222010-08-27 Roland McGrath <roland@redhat.com>
36823
36824 * sysdeps/i386/i686/multiarch/Makefile
36825 (CFLAGS-varshift.c): New variable.
36826
368272010-08-27 Ulrich Drepper <drepper@redhat.com>
36828
36829 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36830 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36831
36832 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36833
36834 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36835
368362010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36837
36838 * sysdeps/x86_64/strlen.S: Unroll the loop.
36839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36840 strlen-sse2 strlen-sse2-bsf.
36841 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36842 __strlen_no_bsf if bit_Slow_BSF is set.
36843 (__strlen_sse42): Removed.
36844 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36845 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36846
368472010-08-25 Roland McGrath <roland@redhat.com>
36848
36849 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36850 * sysdeps/x86_64/multiarch/varshift.c: New file.
36851 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36852 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36853 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36854 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36855
368562010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36857
36858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36859 strlen-sse2 strlen-sse2-bsf.
36860 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36861 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36862 (__strlen_sse2): Removed.
36863 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36864 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36866 bit_Slow_BSF for Atom.
36867 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36868 (index_Slow_BSF): Define.
36869 (HAS_SLOW_BSF): Define.
36870
368712010-08-25 Ulrich Drepper <drepper@redhat.com>
36872
36873 [BZ #10851]
36874 * resolv/res_init.c (__res_vinit): When no server address at all
36875 is given default to loopback.
36876
368772010-08-24 Roland McGrath <roland@redhat.com>
36878
36879 * configure.in: Remove config-name.h generation.
36880 * configure: Regenerated.
36881 * config-name.in: File removed.
36882 * scripts/config-uname.sh: New file.
36883 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36884 ($(objdir)config-name.h): New target.
36885
36886 * sunrpc/rpc_parse.h: Avoid nested comment.
36887
368882010-08-24 Richard Henderson <rth@redhat.com>
36889 Ulrich Drepper <drepper@redhat.com>
36890 H.J. Lu <hongjiu.lu@intel.com>
36891
36892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36894 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36895 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36896 _mm_alignr_epi8 with _mm_loadu_si128.
36897 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36898 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36899 (__m128i_shift_right): Removed.
36900 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36901 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36902 * sysdeps/x86_64/multiarch/varshift.h: New file.
36903 * sysdeps/x86_64/multiarch/varshift.S: New file.
36904
369052010-08-21 Mike Frysinger <vapier@gentoo.org>
36906
36907 * configure.in: Move assembler checks to before sysdep dir checking.
36908
369092010-08-20 Petr Baudis <pasky@suse.cz>
36910
36911 * LICENSES: Sync the sunrpc license.
36912
369132010-08-19 Ulrich Drepper <drepper@redhat.com>
36914
36915 * sunrpc/auth_des.c: Update copyright notice once again.
36916 * sunrpc/auth_none.c: Likewise.
36917 * sunrpc/auth_unix.c: Likewise.
36918 * sunrpc/authdes_prot.c: Likewise.
36919 * sunrpc/authuxprot.c: Likewise.
36920 * sunrpc/bindrsvprt.c: Likewise.
36921 * sunrpc/clnt_gen.c: Likewise.
36922 * sunrpc/clnt_perr.c: Likewise.
36923 * sunrpc/clnt_raw.c: Likewise.
36924 * sunrpc/clnt_simp.c: Likewise.
36925 * sunrpc/clnt_tcp.c: Likewise.
36926 * sunrpc/clnt_udp.c: Likewise.
36927 * sunrpc/clnt_unix.c: Likewise.
36928 * sunrpc/des_crypt.c: Likewise.
36929 * sunrpc/des_soft.c: Likewise.
36930 * sunrpc/get_myaddr.c: Likewise.
36931 * sunrpc/getrpcport.c: Likewise.
36932 * sunrpc/key_call.c: Likewise.
36933 * sunrpc/key_prot.c: Likewise.
36934 * sunrpc/openchild.c: Likewise.
36935 * sunrpc/pm_getmaps.c: Likewise.
36936 * sunrpc/pm_getport.c: Likewise.
36937 * sunrpc/pmap_clnt.c: Likewise.
36938 * sunrpc/pmap_prot.c: Likewise.
36939 * sunrpc/pmap_prot2.c: Likewise.
36940 * sunrpc/pmap_rmt.c: Likewise.
36941 * sunrpc/rpc/auth.h: Likewise.
36942 * sunrpc/rpc/auth_unix.h: Likewise.
36943 * sunrpc/rpc/clnt.h: Likewise.
36944 * sunrpc/rpc/des_crypt.h: Likewise.
36945 * sunrpc/rpc/key_prot.h: Likewise.
36946 * sunrpc/rpc/netdb.h: Likewise.
36947 * sunrpc/rpc/pmap_clnt.h: Likewise.
36948 * sunrpc/rpc/pmap_prot.h: Likewise.
36949 * sunrpc/rpc/pmap_rmt.h: Likewise.
36950 * sunrpc/rpc/rpc.h: Likewise.
36951 * sunrpc/rpc/rpc_des.h: Likewise.
36952 * sunrpc/rpc/rpc_msg.h: Likewise.
36953 * sunrpc/rpc/svc.h: Likewise.
36954 * sunrpc/rpc/svc_auth.h: Likewise.
36955 * sunrpc/rpc/types.h: Likewise.
36956 * sunrpc/rpc/xdr.h: Likewise.
36957 * sunrpc/rpc_clntout.c: Likewise.
36958 * sunrpc/rpc_cmsg.c: Likewise.
36959 * sunrpc/rpc_common.c: Likewise.
36960 * sunrpc/rpc_cout.c: Likewise.
36961 * sunrpc/rpc_dtable.c: Likewise.
36962 * sunrpc/rpc_hout.c: Likewise.
36963 * sunrpc/rpc_main.c: Likewise.
36964 * sunrpc/rpc_parse.c: Likewise.
36965 * sunrpc/rpc_parse.h: Likewise.
36966 * sunrpc/rpc_prot.c: Likewise.
36967 * sunrpc/rpc_sample.c: Likewise.
36968 * sunrpc/rpc_scan.c: Likewise.
36969 * sunrpc/rpc_scan.h: Likewise.
36970 * sunrpc/rpc_svcout.c: Likewise.
36971 * sunrpc/rpc_tblout.c: Likewise.
36972 * sunrpc/rpc_util.c: Likewise.
36973 * sunrpc/rpc_util.h: Likewise.
36974 * sunrpc/rpcinfo.c: Likewise.
36975 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36976 * sunrpc/rpcsvc/key_prot.x: Likewise.
36977 * sunrpc/rpcsvc/klm_prot.x: Likewise.
36978 * sunrpc/rpcsvc/mount.x: Likewise.
36979 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36980 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36981 * sunrpc/rpcsvc/rex.x: Likewise.
36982 * sunrpc/rpcsvc/rstat.x: Likewise.
36983 * sunrpc/rpcsvc/rusers.x: Likewise.
36984 * sunrpc/rpcsvc/sm_inter.x: Likewise.
36985 * sunrpc/rpcsvc/spray.x: Likewise.
36986 * sunrpc/rpcsvc/yppasswd.x: Likewise.
36987 * sunrpc/rtime.c: Likewise.
36988 * sunrpc/svc.c: Likewise.
36989 * sunrpc/svc_auth.c: Likewise.
36990 * sunrpc/svc_authux.c: Likewise.
36991 * sunrpc/svc_raw.c: Likewise.
36992 * sunrpc/svc_run.c: Likewise.
36993 * sunrpc/svc_simple.c: Likewise.
36994 * sunrpc/svc_tcp.c: Likewise.
36995 * sunrpc/svc_udp.c: Likewise.
36996 * sunrpc/svc_unix.c: Likewise.
36997 * sunrpc/svcauth_des.c: Likewise.
36998 * sunrpc/xcrypt.c: Likewise.
36999 * sunrpc/xdr.c: Likewise.
37000 * sunrpc/xdr_array.c: Likewise.
37001 * sunrpc/xdr_float.c: Likewise.
37002 * sunrpc/xdr_mem.c: Likewise.
37003 * sunrpc/xdr_rec.c: Likewise.
37004 * sunrpc/xdr_ref.c: Likewise.
37005 * sunrpc/xdr_sizeof.c: Likewise.
37006 * sunrpc/xdr_stdio.c: Likewise.
37007
37008 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37009 handling.
37010
370112010-08-19 Andreas Schwab <schwab@redhat.com>
37012
37013 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37014
370152010-08-19 Luis Machado <luisgpm@br.ibm.com>
37016
37017 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37018 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37019 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37020 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37021 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37022 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37023 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37024 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37025 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37026 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37027 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37028 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37029 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37030 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37031
370322010-07-26 Anton Blanchard <anton@samba.org>
37033
37034 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37035 * malloc/arena.c (heap_trim): Likewise.
37036
370372010-08-16 Ulrich Drepper <drepper@redhat.com>
37038
37039 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37040 here. Not...
37041 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37042 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37043
370442010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37045
37046 * sysdeps/i386/elf/Makefile: New file.
37047
370482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37049
37050 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37051 from fanotify_init.
37052 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37053 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37054
370552010-08-15 Ulrich Drepper <drepper@redhat.com>
37056
37057 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37058 of strncasecmp_l.
37059 * sysdeps/multiarch/strcmp.S: Likewise.
37060
370612010-08-14 Ulrich Drepper <drepper@redhat.com>
37062
37063 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37064 strncase_l-nonascii.
37065 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37066 Add strncase_l-ssse3.
37067 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37068 * sysdeps/x86_64/strcmp.S: Likewise.
37069 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37070 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37071 * sysdeps/x86_64/strncase.S: New file.
37072 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37073 * sysdeps/x86_64/strncase_l.S: New file.
37074 * string/Makefile (strop-tests): Add strncasecmp.
37075 * string/test-strncasecmp.c: New file.
37076
37077 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37078 warning.
37079
37080 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37081 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37082
370832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37084
37085 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37086
370872010-08-12 Ulrich Drepper <drepper@redhat.com>
37088
37089 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37090 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37091 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37092
370932010-05-01 Alan Modra <amodra@gmail.com>
37094
37095 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37096 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37097 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37098 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37099 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37100 tidying. Don't tail-call __sigjmp_save for static lib.
37101 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37102 save location.
37103 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37104 (CALL_MCOUNT): Add eh info, and nop after bl.
37105 (TAIL_CALL_SYSCALL_ERROR): New macro.
37106 (PSEUDO_RET): Use it.
37107 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37108 Correct save location of integer regs and cr.
37109 (_dl_profile_resolve): Correct cr save location. Delete nops
37110 after bl when SHARED. Reduce cfi size a little by better
37111 placement of cfi directives.
37112 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37113 make a stack frame. Instead use parm save area as a temp.
37114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37115 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37117 Don't make a stack frame for parent, use parm save area.
37118 Increase child stack frame to 112 bytes. Don't save unused reg,
37119 and adjust reg usage. Set up cfi on error recovery and
37120 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37122 (__makecontext): Add dummy nop after jump to exit.
37123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37124 Use correct parm save area and cr save, reduce stack frame.
37125 Correct cfi for possible PSEUDO_RET frame setup.
37126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37127 Branch to local label emitted by PSEUDO_RET rather than
37128 __syscall_error.
37129
371302010-08-12 Andreas Schwab <schwab@redhat.com>
37131
37132 [BZ #11904]
37133 * locale/programs/locale.c (print_assignment): New function.
37134 (show_locale_vars): Use it.
37135
371362010-08-11 Ulrich Drepper <drepper@redhat.com>
37137
37138 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37139 field.
37140 (struct statfs64): Likewise.
37141 (_STATFS_F_FLAGS): Define.
37142 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37143 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37144 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37145 (ST_VALID): Define locally.
37146 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37147 __statvfs_getflags, use the provided value.
37148 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37149 __ASSUME_STATFS_F_FLAGS.
37150
37151 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37152
37153 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37154 Add sys/fanotify.h.
37155 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37156 fanotify_mask for GLIBC_2.13.
37157 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37158 fanotify_init and fanotify_mark.
37159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37160 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37161
37162 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37163 Add prlimit.
37164 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37165 prlimit64 for GLIBC_2.13.
37166 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37167 prlimit64.
37168 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37169 syscall.
37170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37171 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37172 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37173 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37175 add prlimit alias.
37176 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37177
37178 [BZ #11903]
37179 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37180 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37181
37182 * nss/Makefile: Add rules to build and run tst-nss-test1.
37183 * shlib-versions: Add entry for libnss_test1.
37184 * nss/nss_test1.c: New file.
37185 * nss/tst-nss-test1.c: New file.
37186
37187 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37188 (__nss_configure_lookup): Set appropriate entry in
37189 __nss_configure_lookup to true.
37190 * nss/nsswitch.h: Define enum with indeces of databases in
37191 databases and __nss_database_custom arrays. Declare
37192 __nss_database_custom.
37193 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37194 to avoid using nscd when custom rules are installed.
37195 * nss/getXXbyYY_r.c: Likewise.
37196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37197
37198 * nss/nss_files/files-parse.c: Whitespace fixes.
37199
372002010-08-09 Ulrich Drepper <drepper@redhat.com>
37201
37202 [BZ #11883]
37203 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37204 * posix/fnmatch_loop.c: Likewise.
37205
372062010-07-17 Andi Kleen <ak@linux.intel.com>
37207
37208 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37209 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37210 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37211 * Versions.def [GLIBC_2.13]: Add.
37212
372132010-08-06 Ulrich Drepper <drepper@redhat.com>
37214
37215 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37216 Also fail if tpwd after pwuid call is NULL.
37217
372182010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37219
37220 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37221 when converting to ms.
37222
372232010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37224
37225 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37226 EOPNOTSUPP errors with ENOTTY.
37227 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37228 EOPNOTSUPP errors with ENOTTY.
37229
372302010-07-31 Ulrich Drepper <drepper@redhat.com>
37231
37232 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37233 Add strcasecmp_l-ssse3.
37234 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37235 strcasecmp.
37236 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37237 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37238 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37239
372402010-07-30 Ulrich Drepper <drepper@redhat.com>
37241
37242 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37243
37244 * string/Makefile (strop-tests): Add strcasecmp.
37245 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37246 strcasecmp_l-nonascii.
37247 (gen-as-const-headers): Add locale-defines.sym.
37248 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37249 * sysdeps/x86_64/strcasecmp.S: New file.
37250 * sysdeps/x86_64/strcasecmp_l.S: New file.
37251 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37252 * sysdeps/x86_64/locale-defines.sym: New file.
37253 * string/test-strcasecmp.c: New file.
37254
37255 * string/test-strcasestr.c: Test both ends of the range of characters.
37256 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37257
372582010-07-29 Roland McGrath <roland@redhat.com>
37259
37260 [BZ #11856]
37261 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37262
372632010-07-27 Ulrich Drepper <drepper@redhat.com>
37264
37265 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37266 for ld.so.
37267
372682010-07-27 Andreas Schwab <schwab@redhat.com>
37269
37270 * manual/memory.texi (Malloc Tunable Parameters): Document
37271 M_PERTURB.
37272
372732010-07-26 Roland McGrath <roland@redhat.com>
37274
37275 [BZ #11840]
37276 * configure.in (-fgnu89-inline check): Set and substitute
37277 gnu89_inline, not libc_cv_gnu89_inline.
37278 * configure: Regenerated.
37279 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37280
372812010-07-26 Ulrich Drepper <drepper@redhat.com>
37282
37283 * string/test-strnlen.c: New file.
37284 * string/Makefile (strop-tests): Add strnlen.
37285 * string/tester.c (test_strnlen): Add a few more test cases.
37286 * string/tst-strlen.c: Better error reporting.
37287
37288 * sysdeps/x86_64/strnlen.S: New file.
37289
372902010-07-24 Ulrich Drepper <drepper@redhat.com>
37291
37292 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37293 lower-latency instructions.
37294
372952010-07-23 Ulrich Drepper <drepper@redhat.com>
37296
37297 * string/test-strcasestr.c: New file.
37298 * string/test-strstr.c: New file.
37299 * string/Makefile (strop-tests): Add strstr and strcasestr.
37300 * string/str-two-way.h: Don't undefine MAX.
37301 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37302
373032010-07-21 Andreas Schwab <schwab@redhat.com>
37304
37305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37306 strcasestr-nonascii.
37307 (CFLAGS-strcasestr-nonascii.c): Define.
37308 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37309 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37310 Remove unused attribute.
37311
373122010-07-20 Roland McGrath <roland@redhat.com>
37313
37314 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37315 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37316 ld.so.cache was broken. With it, there is no way to disable dsocaps
37317 like LD_HWCAP_MASK can disable hwcaps.
37318
373192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37320
37321 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37322
373232010-07-16 Ulrich Drepper <drepper@redhat.com>
37324
37325 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37326 call in strcasestr.
37327 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37328 __strcasestr_sse42_nonascii.
37329 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37330 strcasestr-nonascii.c.
37331 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37332
373332010-06-15 Luis Machado <luisgpm@br.ibm.com>
37334
37335 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37336 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37337 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37338 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37339
373402010-07-09 Ulrich Drepper <drepper@redhat.com>
37341
37342 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37343 fcntl.
37344
373452010-07-06 Andreas Schwab <schwab@redhat.com>
37346
37347 [BZ #11577]
37348 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37349 dl_signal_cerror.
37350
373512010-07-06 Ulrich Drepper <drepper@redhat.com>
37352
37353 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37354 _PC_PIPE_BUF using F_GETPIPE_SZ.
37355
373562010-07-05 Roland McGrath <roland@redhat.com>
37357
37358 * manual/arith.texi (Rounding Functions): Fix rint description
37359 implicit in round description.
37360
373612010-07-02 Ulrich Drepper <drepper@redhat.com>
37362
37363 * elf/Makefile: Fix linking for a few tests to make recent linker
37364 happy.
37365
373662010-06-30 Andreas Schwab <schwab@redhat.com>
37367
37368 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37369 $(common-objpfx)libc_nonshared.a.
37370
373712010-06-21 Luis Machado <luisgpm@br.ibm.com>
37372
37373 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37374 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37375 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37376 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37377 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37378 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37379 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37380 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37395 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37396 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37397 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37398 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37399 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37400 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37401 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37402 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37403 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37404 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37405 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37406 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37421
374222010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37423
37424 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37425 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37426 * string/memmove.c (memmove): Renamed to ...
37427 (MEMMOVE): ...this. Default to memmove.
37428 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37429 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37430 (END_CHK): Define.
37431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37432 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37433 mempcpy-ssse3-back memmove-ssse3-back.
37434 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37435 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37436 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37437 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37438 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37439 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37440 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37441 * sysdeps/x86_64/multiarch/memmove.c: New file.
37442 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37443 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37444 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37445 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37446 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37447 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37448 Define.
37449 (index_Fast_Copy_Backward): Define.
37450 (HAS_ARCH_FEATURE): Define.
37451 (HAS_FAST_REP_STRING): Define.
37452 (HAS_FAST_COPY_BACKWARD): Define.
37453
374542010-06-21 Andreas Schwab <schwab@redhat.com>
37455
37456 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37457 Restore proper fallback handling.
37458
374592010-06-19 Ulrich Drepper <drepper@redhat.com>
37460
37461 [BZ #11701]
37462 * posix/group_member.c (__group_member): Correct checking loop.
37463
37464 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37465 OOM in getpwuid_r correctly. Return error number when the caller
37466 should return, otherwise -1.
37467 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37468 call returning > 0 value.
37469 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37470
374712010-06-07 Andreas Schwab <schwab@redhat.com>
37472
37473 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37474 libc_nonshared.a from targets in modules-names.
37475
374762010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37477
37478 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37479 requires it.
37480
374812010-06-10 Luis Machado <luisgpm@br.ibm.com>
37482
37483 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37484 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37485 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37486 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37487
374882010-06-02 Andreas Schwab <schwab@redhat.com>
37489
37490 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37491
374922010-06-14 Ulrich Drepper <drepper@redhat.com>
37493
37494 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37495 and F_GETPIPE_SZ.
37496 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37498 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37500 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37501 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37502
375032010-06-14 Roland McGrath <roland@redhat.com>
37504
37505 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37506
375072010-06-07 Jakub Jelinek <jakub@redhat.com>
37508
37509 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37510 __REDIRECT followed by __THROW.
37511 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37512 * posix/getopt.h (getopt): Likewise.
37513
375142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37515
37516 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37517 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37518 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37519 in AT_FLAGS.
37520 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37521 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37522
375232010-05-28 Luis Machado <luisgpm@br.ibm.com>
37524
37525 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37526
375272010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37528
37529 [BZ #11640]
37530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37531 Properly check family and model.
37532
375332010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37534
37535 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37536
375372010-05-24 Luis Machado <luisgpm@br.ibm.com>
37538
37539 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37540
375412010-05-21 Ulrich Drepper <drepper@redhat.com>
37542
37543 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37544 symbol reference.
37545
375462010-05-19 Andreas Schwab <schwab@redhat.com>
37547
37548 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37549 symbol reference.
37550
375512010-05-21 Andreas Schwab <schwab@redhat.com>
37552
37553 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37554 and internal_recvmmsg.
37555 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37556 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37557 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37558 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37559
37560 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37561 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37562 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37563
375642010-05-20 Andreas Schwab <schwab@redhat.com>
37565
37566 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37567
375682010-05-17 Luis Machado <luisgpm@br.ibm.com>
37569
37570 POWER7 optimizations.
37571 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37572 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37573
375742010-05-19 Ulrich Drepper <drepper@redhat.com>
37575
37576 * version.h: Update for 2.13 development version.
37577
375782010-05-12 Andrew Stubbs <ams@codesourcery.com>
37579
37580 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37581 exceptions. Return 0.
37582
375832010-05-07 Roland McGrath <roland@redhat.com>
37584
37585 * elf/ldconfig.c (main): Add a const.
37586
375872010-05-06 Ulrich Drepper <drepper@redhat.com>
37588
37589 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37590 (args_options): Add no-idn option.
37591 (ahosts_keys_int): Add idn_flags to ai_flags.
37592 (parse_option): Handle 'i' option to clear idn_flags.
37593
37594 * malloc/malloc.c (_int_free): Possible race in the most recently
37595 added check. Only act on the data if no current modification
37596 happened.
37597
37598See ChangeLog.17 for earlier changes.