]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Reduce discussion of types to which size_t may be equivalent.
[thirdparty/glibc.git] / ChangeLog
1 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2
3 * manual/lang.texi (size_t): Note types to which size_t may be
4 equivalent with the GNU C Library, but do not describe when
5 differences between them are significant.
6
7 2012-03-05 Andreas Jaeger <aj@suse.de>
8
9 * sysdeps/i386/fpu/libm-test-ulps: Update.
10
11 2012-03-05 Joseph Myers <joseph@codesourcery.com>
12
13 [BZ #3976]
14 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15 (__ieee754_pow): Save and restore rounding mode and use
16 round-to-nearest for main computations.
17 * math/libm-test.inc (pow_test_tonearest): New function.
18 (pow_test_towardzero): Likewise.
19 (pow_test_downward): Likewise.
20 (pow_test_upward): Likewise.
21 (main): Call the new functions.
22 * sysdeps/i386/fpu/libm-test-ulps: Update.
23 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24
25 [BZ #3976]
26 * math/libm-test.inc (cosh_test_tonearest): New function.
27 (cosh_test_towardzero): Likewise.
28 (cosh_test_downward): Likewise.
29 (cosh_test_upward): Likewise.
30 (sinh_test_tonearest): Likewise.
31 (sinh_test_towardzero): Likewise.
32 (sinh_test_downward): Likewise.
33 (sinh_test_upward): Likewise.
34 (main): Call the new functions.
35 * sysdeps/i386/fpu/libm-test-ulps: Update.
36 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37
38 2012-03-05 Tom de Vries <tom@codesourcery.com>
39
40 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41 default stack guard is set in last bytes.
42 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43
44 2012-03-05 Kees Cook <keescook@chromium.org>
45
46 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47
48 [BZ #13656]
49 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50 possibly allocate from heap instead of stack.
51 * stdio-common/bug-vfprintf-nargs.c: New file.
52 * stdio-common/Makefile (tests): Add nargs overflow test.
53
54 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
55
56 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57
58 2012-03-03 Marek Polacek <polacek@redhat.com>
59
60 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
61 * math/math_private.h: Likewise.
62 * stdlib/tst-strtod.c: Likewise.
63 * sysdeps/i386/i486/bits/atomic.h: Likewise.
64 * sysdeps/x86_64/bits/atomic.h: Likewise.
65
66 2012-03-02 David S. Miller <davem@davemloft.net>
67
68 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
73 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
75 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76
77 2012-03-02 Roland McGrath <roland@hack.frob.com>
78
79 [BZ #13792]
80 * manual/examples/README: New file, says the example source files
81 can be used under GPL>=2.
82 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
83 line containing just "*/".
84 * manual/examples/add.c: Add copyright header (GPL>=2).
85 * manual/examples/argp-ex1.c: Likewise.
86 * manual/examples/argp-ex2.c: Likewise.
87 * manual/examples/argp-ex3.c: Likewise.
88 * manual/examples/argp-ex4.c: Likewise.
89 * manual/examples/atexit.c: Likewise.
90 * manual/examples/db.c: Likewise.
91 * manual/examples/dir.c: Likewise.
92 * manual/examples/dir2.c: Likewise.
93 * manual/examples/execinfo.c: Likewise.
94 * manual/examples/filecli.c: Likewise.
95 * manual/examples/filesrv.c: Likewise.
96 * manual/examples/fmtmsgexpl.c: Likewise.
97 * manual/examples/genpass.c: Likewise.
98 * manual/examples/inetcli.c: Likewise.
99 * manual/examples/inetsrv.c: Likewise.
100 * manual/examples/isockad.c: Likewise.
101 * manual/examples/longopt.c: Likewise.
102 * manual/examples/memopen.c: Likewise.
103 * manual/examples/memstrm.c: Likewise.
104 * manual/examples/mkfsock.c: Likewise.
105 * manual/examples/mkisock.c: Likewise.
106 * manual/examples/mygetpass.c: Likewise.
107 * manual/examples/pipe.c: Likewise.
108 * manual/examples/popen.c: Likewise.
109 * manual/examples/rprintf.c: Likewise.
110 * manual/examples/search.c: Likewise.
111 * manual/examples/select.c: Likewise.
112 * manual/examples/setjmp.c: Likewise.
113 * manual/examples/sigh1.c: Likewise.
114 * manual/examples/sigusr.c: Likewise.
115 * manual/examples/stpcpy.c: Likewise.
116 * manual/examples/strdupa.c: Likewise.
117 * manual/examples/strftim.c: Likewise.
118 * manual/examples/strncat.c: Likewise.
119 * manual/examples/subopt.c: Likewise.
120 * manual/examples/swapcontext.c: Likewise.
121 * manual/examples/termios.c: Likewise.
122 * manual/examples/testopt.c: Likewise.
123 * manual/examples/testpass.c: Likewise.
124 * manual/examples/timeval_subtract.c: Likewise.
125
126 [BZ #13792]
127 * manual/time.texi (Elapsed Time): Move timeval_subtract example
128 function to ...
129 * manual/timeval_subtract.c.texi: ... here, new file.
130
131 2012-03-02 David S. Miller <davem@davemloft.net>
132
133 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
134
135 2012-03-02 Joseph Myers <joseph@codesourcery.com>
136
137 [BZ #3976]
138 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
139 (__sin): Save and restore rounding mode and use round-to-nearest
140 for all computations.
141 (__cos): Save and restore rounding mode and use round-to-nearest
142 for all computations.
143 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
144 <fenv.h>.
145 (tan): Save and restore rounding mode and use round-to-nearest for
146 all computations.
147 * math/libm-test.inc (cos_test_tonearest): New function.
148 (cos_test_towardzero): Likewise.
149 (cos_test_downward): Likewise.
150 (cos_test_upward): Likewise.
151 (sin_test_tonearest): Likewise.
152 (sin_test_towardzero): Likewise.
153 (sin_test_downward): Likewise.
154 (sin_test_upward): Likewise.
155 (tan_test_tonearest): Likewise.
156 (tan_test_towardzero): Likewise.
157 (tan_test_downward): Likewise.
158 (tan_test_upward): Likewise.
159 (main): Call the new functions.
160 * sysdeps/i386/fpu/libm-test-ulps: Update.
161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
162
163 [BZ #10135]
164 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
165 small n, then large n, before computing and testing k+n.
166 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
168 Likewise.
169 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
170 Likewise.
171 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
172 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
173 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
174 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
175 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
176 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
177 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
178 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
179 * math/libm-test.inc (scalbn_test): Add more tests.
180 (scalbln_test): Likewise.
181
182 * manual/filesys.texi (mode_t): Describe constraints on size and
183 signedness, not exact equivalence to a particular type.
184 (ino_t): Likewise.
185 (ino64_t): Likewise.
186 (dev_t): Likewise.
187 (nlink_t): Likewise.
188 (blkcnt_t): Likewise.
189 (blkcnt64_t): Likewise.
190 * manual/llio.texi (off_t): Likewise.
191
192 [BZ #3976]
193 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
194 (__ieee754_exp): Save and restore rounding mode and use
195 round-to-nearest for all computations.
196 * math/libm-test.inc (exp_test_tonearest): New function.
197 (exp_test_towardzero): Likewise.
198 (exp_test_downward): Likewise.
199 (exp_test_upward): Likewise.
200 (main): Call the new functions.
201 * sysdeps/i386/fpu/libm-test-ulps: Update.
202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
203
204 2012-03-01 Chris Demetriou <cgd@google.com>
205
206 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
207 have predictable order.
208
209 2012-03-01 David S. Miller <davem@davemloft.net>
210
211 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
212
213 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
214 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
215 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
216 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
217
218 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
219 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
220 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
222 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
223 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
224 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
225 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
226 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
227
228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
229
230 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
231 * sysdeps/sparc/fpu/libm-test-ulps: to here.
232 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
233
234 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
235 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
236 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
237 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
238 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
239 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
240 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
241 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
242 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
243 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
244 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
245 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
247 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
248 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
250 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
251 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
252 * sysdeps/sparc/elf/configure: Regenerated.
253
254 2012-03-01 Joseph Myers <joseph@codesourcery.com>
255
256 * configure.in (AS, LD): Require binutils 2.20 or later.
257 * configure: Regenerated.
258 * manual/install.texi (Tools for Compilation): Give binutils 2.20
259 as required minimum version.
260 * INSTALL: Regenerated.
261
262 [BZ #2541]
263 [BZ #4108]
264 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
265 before squaring exponent.
266 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
267 bottom long double and 27 bits of top long double before squaring
268 exponent.
269 * math/libm-test.inc (erfc_test): Add more tests.
270 * sysdeps/i386/fpu/libm-test-ulps: Update.
271 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
273
274 2012-03-01 Kai Tietz <ktietz@redhat.com>
275
276 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
277 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
278 containing bit-fields.
279 * soft-fp/extended.h (_FP_UNION_E): Likewise.
280 * soft-fp/single.h (_FP_UNION_S): Likewise.
281 * soft-fp/double.h (_FP_UNION_D): Likewise.
282
283 2012-02-29 Joseph Myers <joseph@codesourcery.com>
284
285 [BZ #13786]
286 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
287 not include ../strcmp.S.
288 [USE_AS_STRNCASECMP_L]: Likewise.
289 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
290 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
291 * sysdeps/i386/i686/multiarch/strncase_l-c.c
292 (__strncasecmp_l_ia32): Define as alias to
293 __strncasecmp_l_nonascii.
294
295 [BZ #5794]
296 * math/libm-test.inc (expm1_test): Add test for bug 5794.
297 * sysdeps/i386/fpu/libm-test-ulps: Update.
298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
299
300 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
302
303 2012-02-29 Jeff Law <law@redhat.com>
304
305 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
306 out of bounds read.
307
308 2012-02-29 Marek Polacek <polacek@redhat.com>
309
310 [BZ #13706]
311 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
312 * elf/Makefile: Add rules to run tst-unused-dep.out.
313
314 2012-02-28 David S. Miller <davem@davemloft.net>
315
316 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
317 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
318 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
319 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
320 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
321 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
322
323 2012-02-29 Joseph Myers <joseph@codesourcery.com>
324
325 * math/libm-test.inc (llround_test): Move one test from
326 lround_test. Use TEST_f_L in moved test.
327 (lround_test): Move misplaced test to llround_test. Add testcase
328 from bug 2561.
329
330 2012-02-28 Ulrich Drepper <drepper@gmail.com>
331
332 * sysdeps/x86_64/fpu/e_expf.S: New file.
333 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
334
335 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
336
337 [BZ #13637]
338 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
339 of remain_len that may cause incomplete multi-byte character and
340 false match.
341 * posix/bug-regex33.c: New file.
342 * posix/Makefile (tests): Add bug-regex33.
343
344 2012-02-28 Joseph Myers <joseph@codesourcery.com>
345
346 * manual/macros.texi: New file.
347 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
348 * manual/libc.texinfo: Include macros.texi.
349 * manual/creatute.texi: Likewise.
350 * manual/install.texi: Likewise.
351 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
352 @glibcadj{} in references to the GNU C Library.
353 * manual/charset.texi: Likewise.
354 * manual/conf.texi: Likewise.
355 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
356 when not using those macros.
357 * manual/creature.texi: Likewise.
358 * manual/crypt.texi: Likewise.
359 * manual/errno.texi: Likewise.
360 * manual/filesys.texi: Likewise.
361 * manual/header.texi: Likewise.
362 * manual/install.texi: Likewise.
363 * manual/intro.texi: Likewise.
364 * manual/io.texi: Likewise.
365 * manual/job.texi: Likewise.
366 * manual/lang.texi: Likewise.
367 * manual/libc.texiinfo: Likewise.
368 * manual/llio.texi: Likewise.
369 * manual/locale.texi: Likewise.
370 * manual/maint.texi: Likewise.
371 * manual/math.texi: Likewise.
372 * manual/memory.texi: Likewise.
373 * manual/message.texi: Likewise.
374 * manual/nss.texi: Likewise.
375 * manual/pattern.texi: Likewise.
376 * manual/process.texi: Likewise.
377 * manual/resource.texi: Likewise.
378 * manual/search.texi: Likewise.
379 * manual/setjmp.texi: Likewise.
380 * manual/signal.texi: Likewise.
381 * manual/socket.texi: Likewise.
382 * manual/startup.texi: Likewise.
383 * manual/stdio.texi: Likewise.
384 * manual/string.texi: Likewise.
385 * manual/sysinfo.texi: Likewise.
386 * manual/syslog.texi: Likewise.
387 * manual/terminal.texi: Likewise.
388 * manual/time.texi: Likewise.
389 * manual/users.texi: Likewise.
390 * INSTALL: Regenerated.
391 * NOTES: Regenerated.
392 * sysdeps/gnu/errlist.c: Regenerated.
393
394 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
395
396 * include/dirent.h: Include <dirstream.h> before
397 <dirent/dirent.h>.
398
399 2012-02-28 David S. Miller <davem@davemloft.net>
400
401 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
402 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
403 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
404 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
405
406 2012-02-27 David S. Miller <davem@davemloft.net>
407
408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
410 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
411 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
412
413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
414 frame pointer instead of stack pointer relative arg slot.
415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
416 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
417 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
418
419 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
420
421 [BZ #3992]
422 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
423
424 2012-02-27 David S. Miller <davem@davemloft.net>
425
426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
430 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
431 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
432 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
433 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
434
435 2012-02-27 Joseph Myers <joseph@codesourcery.com>
436
437 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
438 later. Allow versions 5-9.
439 * configure: Regenerated.
440 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
441 required minimum version and 4.6 as recommended version. Do not
442 mention bugs in GCC 2.7 and 2.8.
443 * INSTALL: Regenerated.
444
445 2012-02-27 David S. Miller <davem@davemloft.net>
446
447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
451 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
452 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
453 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
454 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
455
456 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
457 manipulate bits before adding and subtracting TWO112[sx].
458 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
459
460 2012-02-27 Roland McGrath <roland@hack.frob.com>
461
462 [BZ #13775]
463 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
464 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
465 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
466 being in POSIX, because they are in 1003.1-2008.
467
468 * rt/tst-aio.c: Include <fcntl.h>.
469 * rt/tst-aio7.c: Likewise.
470 * rt/tst-aio64.c: Likewise.
471
472 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
473
474 2012-02-27 Joseph Myers <joseph@codesourcery.com>
475
476 * manual/install.texi (--with-headers): Describe headers as
477 interface headers, not private headers.
478 (Specific advice for GNU/Linux systems): Describe use of headers
479 from "make headers_install", not private headers from older
480 kernels.
481 * INSTALL: Regenerated.
482 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
483 Change to 2.6.19.
484 * sysdeps/unix/sysv/linux/configure: Regenerated.
485
486 * manual/llio.texi (fclean): Remove documentation.
487
488 * manual/Makefile (libc-texi-generated): New variable. Include
489 version.texi.
490 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
491 $(libc-texi-generated), not duplicated list of files.
492 (version.texi, stamp-version): New rules.
493 (realclean): Remove $(libc-texi-generated), not individual files
494 from that list. Do not remove dir-add.texinfo.
495 * manual/libc.texinfo: Comment out uses of edition numbers and
496 references to printed manual. Remove last-updated dates.
497 (EDITION): Comment out.
498 (ISBN): Likewise.
499 (VERSION, UPDATED): Remove.
500 (version.texi): Include.
501
502 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
503
504 * sysdeps/posix/spawni.c: Include <signal.h>.
505 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
506 * sysdeps/pthread/aio_fsync.c: Likewise.
507
508 2012-02-26 Ulrich Drepper <drepper@gmail.com>
509
510 * conform/Makefile (tests): Run only when not cross-compiling and
511 when fast-check is not defined.
512
513 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
514 * conform/data/limits.h-data: Fixes for POSIX2008.
515 * conform/run-conformtest.sh: Run all tests.
516 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
517 headers.
518 * include/bits/dlfcn.h: Likewise.
519 * include/langinfo.h: Likewise.
520 * include/monetary.h: Likewise.
521 * include/sys/poll.h: Likewise.
522
523 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
524 for __USE_GNU.
525 * posix/spawn.h: Define __need_sigset_t.
526 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
527 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
528 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
529 to get sigevent_t only.
530 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
531 only for __USE_GNU.
532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
533 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
534 process_vm_writev only for __USE_GNU.
535 * termios/termios.h: Declare tcgetsid also for POSIX2008.
536
537 * conform/Makefile: For now ignore errors from run-conformtest.
538 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
539 POSIX to avoid namespace pollution. Don't prepend headers.
540 * conform/data/aio.h-data: Fixes for POSIX testing.
541 * conform/data/fcntl.h-data: Likewise.
542 * conform/data/glob.h-data: Likewise.
543 * conform/data/grp.h-data: Likewise.
544 * conform/data/pthread.h-data: Likewise.
545 * conform/data/pwd.h-data: Likewise.
546 * conform/data/signal.h-data: Likewise.
547 * conform/data/spawn.h-data: Likewise.
548 * conform/data/stdio.h-data: Likewise.
549 * conform/data/stdlib.h-data: Likewise.
550 * conform/data/stropts.h-data: Likewise.
551 * conform/data/sys/mman.h-data: Likewise.
552 * conform/data/sys/stat.h-data: Likewise.
553 * conform/data/sys/types.h-data: Likewise.
554 * conform/data/sys/wait.h-data: Likewise.
555 * conform/data/time.h-data: Likewise.
556 * conform/data/unistd.h-data: Likewise.
557 * conform/data/utime.h-data: Likewise.
558
559 * io/sys/stat.h: fchmod was always in POSIX.
560 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
561 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
562 * rt/aio.h: Define __need_timespec before including <time.h>.
563 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
564 struct. Add forward declaration of pthread_attr_t and use it in
565 sigevent.
566 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
567 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
568 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
569 always remove CLK_TCK definition.
570
571 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
572
573 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
574
575 2012-02-25 Ulrich Drepper <drepper@gmail.com>
576
577 * conform/run-conformtest.sh: New file.
578 * conform/Makefile: Run run-conformtest for tests.
579 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
580 support.
581
582 * conform/data/uchar.h-data: New file.
583 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
584 * conform/data/arpa/inet.h-data: Likewise.
585 * conform/data/assert.h-data: Likewise.
586 * conform/data/complex.h-data: Likewise.
587 * conform/data/cpio.h-data: Likewise.
588 * conform/data/ctype.h-data: Likewise.
589 * conform/data/dirent.h-data: Likewise.
590 * conform/data/dlfcn.h-data: Likewise.
591 * conform/data/errno.h-data: Likewise.
592 * conform/data/fcntl.h-data: Likewise.
593 * conform/data/float.h-data: Likewise.
594 * conform/data/fmtmsg.h-data: Likewise.
595 * conform/data/fnmatch.h-data: Likewise.
596 * conform/data/ftw.h-data: Likewise.
597 * conform/data/glob.h-data: Likewise.
598 * conform/data/grp.h-data: Likewise.
599 * conform/data/iconv.h-data: Likewise.
600 * conform/data/inttypes.h-data: Likewise.
601 * conform/data/langinfo.h-data: Likewise.
602 * conform/data/libgen.h-data: Likewise.
603 * conform/data/limits.h-data: Likewise.
604 * conform/data/locale.h-data: Likewise.
605 * conform/data/math.h-data: Likewise.
606 * conform/data/monetary.h-data: Likewise.
607 * conform/data/mqueue.h-data: Likewise.
608 * conform/data/ndbm.h-data: Likewise.
609 * conform/data/net/if.h-data: Likewise.
610 * conform/data/netdb.h-data: Likewise.
611 * conform/data/netinet/in.h-data: Likewise.
612 * conform/data/nl_types.h-data: Likewise.
613 * conform/data/poll.h-data: Likewise.
614 * conform/data/pthread.h-data: Likewise.
615 * conform/data/pwd.h-data: Likewise.
616 * conform/data/regex.h-data: Likewise.
617 * conform/data/sched.h-data: Likewise.
618 * conform/data/search.h-data: Likewise.
619 * conform/data/semaphore.h-data: Likewise.
620 * conform/data/setjmp.h-data: Likewise.
621 * conform/data/signal.h-data: Likewise.
622 * conform/data/spawn.h-data: Likewise.
623 * conform/data/stdarg.h-data: Likewise.
624 * conform/data/stdio.h-data: Likewise.
625 * conform/data/stdlib.h-data: Likewise.
626 * conform/data/string.h-data: Likewise.
627 * conform/data/strings.h-data: Likewise.
628 * conform/data/stropts.h-data: Likewise.
629 * conform/data/sys/ipc.h-data: Likewise.
630 * conform/data/sys/mman.h-data: Likewise.
631 * conform/data/sys/msg.h-data: Likewise.
632 * conform/data/sys/resource.h-data: Likewise.
633 * conform/data/sys/select.h-data: Likewise.
634 * conform/data/sys/sem.h-data: Likewise.
635 * conform/data/sys/shm.h-data: Likewise.
636 * conform/data/sys/socket.h-data: Likewise.
637 * conform/data/sys/stat.h-data: Likewise.
638 * conform/data/sys/statvfs.h-data: Likewise.
639 * conform/data/sys/time.h-data: Likewise.
640 * conform/data/sys/timeb.h-data: Likewise.
641 * conform/data/sys/times.h-data: Likewise.
642 * conform/data/sys/types.h-data: Likewise.
643 * conform/data/sys/uio.h-data: Likewise.
644 * conform/data/sys/un.h-data: Likewise.
645 * conform/data/sys/utsname.h-data: Likewise.
646 * conform/data/sys/wait.h-data: Likewise.
647 * conform/data/syslog.h-data: Likewise.
648 * conform/data/tar.h-data: Likewise.
649 * conform/data/termios.h-data: Likewise.
650 * conform/data/utime.h-data: Likewise.
651 * conform/data/utmpx.h-data: Likewise.
652 * conform/data/varargs.h-data: Likewise.
653 * conform/data/wchar.h-data: Likewise.
654 * conform/data/wctype.h-data: Likewise.
655 * conform/data/wordexp.h-data: Likewise.
656
657 * include/stropts.h: New file.
658 * include/uchar.h: New file.
659 * include/aio.h: Changes to allow conformtest.pl to use the headers.
660 * include/assert.h: Likewise.
661 * include/ctype.h: Likewise.
662 * include/dirent.h: Likewise.
663 * include/dlfcn.h: Likewise.
664 * include/fcntl.h: Likewise.
665 * include/fnmatch.h: Likewise.
666 * include/glob.h: Likewise.
667 * include/grp.h: Likewise.
668 * include/libio.h: Likewise.
669 * include/locale.h: Likewise.
670 * include/math.h: Likewise.
671 * include/net/if.h: Likewise.
672 * include/netdb.h: Likewise.
673 * include/netinet/in.h: Likewise.
674 * include/pthread.h: Likewise.
675 * include/pwd.h: Likewise.
676 * include/regex.h: Likewise.
677 * include/sched.h: Likewise.
678 * include/search.h: Likewise.
679 * include/setjmp.h: Likewise.
680 * include/signal.h: Likewise.
681 * include/stdio.h: Likewise.
682 * include/stdlib.h: Likewise.
683 * include/string.h: Likewise.
684 * include/sys/cdefs.h: Likewise.
685 * include/sys/mman.h: Likewise.
686 * include/sys/msg.h: Likewise.
687 * include/sys/resource.h: Likewise.
688 * include/sys/select.h: Likewise.
689 * include/sys/socket.h: Likewise.
690 * include/sys/stat.h: Likewise.
691 * include/sys/statvfs.h: Likewise.
692 * include/sys/time.h: Likewise.
693 * include/sys/times.h: Likewise.
694 * include/sys/uio.h: Likewise.
695 * include/sys/utsname.h: Likewise.
696 * include/sys/wait.h: Likewise.
697 * include/termios.h: Likewise.
698 * include/time.h: Likewise.
699 * include/ulimit.h: Likewise.
700 * include/unistd.h: Likewise.
701 * include/utime.h: Likewise.
702 * include/wchar.h: Likewise.
703 * include/wctype.h: Likewise.
704 * include/wordexp.h: Likewise.
705
706 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
707
708 * time/time.h: TIME_UTC must be a macro.
709 Make timespec_get available for ISO C11 only as well.
710
711 2012-02-24 Ulrich Drepper <drepper@gmail.com>
712
713 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
714 Reported by Peng Haitao <penght@cn.fujitsu.com>.
715
716 2012-02-24 Joseph Myers <joseph@codesourcery.com>
717
718 * configure.in: Use -o not -a in test for unsupported multi-arch.
719
720 2012-02-24 Joseph Myers <joseph@codesourcery.com>
721
722 * manual/texinfo.tex: Update to version 2012-01-19.16.
723
724 2012-02-24 Joseph Myers <joseph@codesourcery.com>
725
726 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
727
728 2012-02-24 Roland McGrath <roland@hack.frob.com>
729
730 [BZ #13738]
731 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
732 * manual/fdl-1.3.texi: New file.
733 * manual/fdl-1.1.texi: File removed.
734
735 [BZ #13738]
736 * manual/libc.texinfo (FDL_VERSION): New @set.
737 Use it for mention of FDL in cover text.
738 (Documentation License): Use it in @include file name.
739
740 2012-02-22 Joseph Myers <joseph@codesourcery.com>
741 Roland McGrath <roland@hack.frob.com>
742
743 [BZ #5461]
744 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
745 not LONG_LONG_MAX and LONG_LONG_MIN.
746 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
747 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
748 name.
749 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
750
751 2012-02-22 Joseph Myers <joseph@codesourcery.com>
752
753 [BZ #2547]
754 [BZ #11365]
755 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
756 manipulate bits before adding and subtracting TWO23[sx].
757 * math/libm-test.inc (nearbyint_test): Add more tests.
758
759 2012-02-22 Joseph Myers <joseph@codesourcery.com>
760
761 [BZ #2548]
762 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
763 bits before adding and subtracting TWO23[sx].
764 * math/libm-test.inc (rint_test): Add more tests.
765 (rint_test_tonearest): Likewise.
766 (rint_test_towardzero): Likewise.
767 (rint_test_downward): Likewise.
768 (rint_test_upward: Likewise.
769
770 2012-02-22 Joseph Myers <joseph@codesourcery.com>
771
772 [BZ #10110]
773 * include/stdc-predef.h: New file. Extracted from features.h.
774 * include/features.h: Include stdc-predef.h.
775 * Makefile (headers): Add stdc-predef.h.
776 * CONFORMANCE (Compiler limitations): Update.
777
778 2012-02-22 Joseph Myers <joseph@codesourcery.com>
779
780 * manual/libc.texinfo (VERSION, UPDATED): Revert.
781
782 2012-02-21 David S. Miller <davem@davemloft.net>
783
784 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
785 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
786
787 2012-02-20 David S. Miller <davem@davemloft.net>
788
789 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
790 using a normal save/restore sequence, rather than allocating a
791 dummy stack frame just to store a frame pointer and restore.
792 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
793
794 2012-02-21 Joseph Myers <joseph@codesourcery.com>
795
796 * manual/install.texi: Fix stray word in line-wrapped comment.
797
798 2012-02-20 David S. Miller <davem@davemloft.net>
799
800 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
801 both binutils and gcc support GOTDATA.
802
803 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
804 "rd %pc" in the PIC register setup sequences.
805
806 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
807 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
808 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
809 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
810 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
812 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
813 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
815 (SYSCALL_ERROR_HANDLER): Likewise.
816 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
817 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
819 (SYSCALL_ERROR_HANDLER): Likewise.
820
821 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
822 (HAVE_GCC_GOTDATA): New.
823 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
824 relocation support in both binutils and gcc.
825 * sysdeps/sparc/elf/configure: Regenerate.
826
827 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
828 * sysdeps/sparc/sparc32/elf/configure: Delete.
829 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
830 * sysdeps/sparc/sparc64/elf/configure: Delete.
831 * sysdeps/sparc/elf/configure.in: New file.
832 * sysdeps/sparc/elf/configure: Generate.
833
834 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
835 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
836 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
837 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
838 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
839
840 2012-02-21 Joseph Myers <joseph@codesourcery.com>
841
842 * manual/install.texi: Do not mention specific glibc version
843 numbers.
844 * manual/libc.texinfo (VERSION, UPDATED): Update.
845 (@copying): Use @copyright{} and range of years.
846
847 2012-02-21 Joseph Myers <joseph@codesourcery.com>
848
849 [BZ #13695]
850 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
851 [crti.S not in sysdirs] (generated): Do not append.
852 [crti.S not in sysdirs] (omit-deps): Likewise.
853 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
854 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
855 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
856 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
857 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
858 Likewise.
859 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
860 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
861 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
862 * csu/defs.awk: Remove file.
863 * sysdeps/generic/initfini.c: Likewise.
864 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
865 variable.
866 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
867 Likewise.
868
869 2012-02-20 Joseph Myers <joseph@codesourcery.com>
870
871 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
872 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
873 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
874 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
875 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
876 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
877 <bits/epoll.h>.
878 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
879 (__EPOLL_PACKED): Define to empty if not defined by
880 <bits/epoll.h>.
881 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
883 bits/epoll.h.
884
885 2012-02-20 Joseph Myers <joseph@codesourcery.com>
886
887 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
888 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
889 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
890 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
891 <bits/timerfd.h>.
892 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
894 bits/timerfd.h.
895
896 2012-02-20 Joseph Myers <joseph@codesourcery.com>
897
898 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
899 in C locale.
900 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
901 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
902 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
904
905 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
906
907 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
908 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
909
910 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
911
912 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
913 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
914 defined.
915 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
916 Likewise.
917 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
918 entry for 2.16.
919
920 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
921
922 * math/w_acos.c: Use non-signaling floating-point comparisons.
923 * math/w_acosf.c: Likewise.
924 * math/w_acosh.c: Likewise.
925 * math/w_acoshf.c: Likewise.
926 * math/w_acoshl.c: Likewise.
927 * math/w_acosl.c: Likewise.
928 * math/w_asin.c: Likewise.
929 * math/w_asinf.c: Likewise.
930 * math/w_asinl.c: Likewise.
931 * math/w_atanh.c: Likewise.
932 * math/w_atanhf.c: Likewise.
933 * math/w_atanhl.c: Likewise.
934 * math/w_exp2.c: Likewise.
935 * math/w_exp2f.c: Likewise.
936 * math/w_exp2l.c: Likewise.
937 * math/w_j0.c: Likewise.
938 * math/w_j0f.c: Likewise.
939 * math/w_j0l.c: Likewise.
940 * math/w_j1.c: Likewise.
941 * math/w_j1f.c: Likewise.
942 * math/w_j1l.c: Likewise.
943 * math/w_jn.c: Likewise.
944 * math/w_jnf.c: Likewise.
945 * math/w_log.c: Likewise.
946 * math/w_log10.c: Likewise.
947 * math/w_log10f.c: Likewise.
948 * math/w_log10l.c: Likewise.
949 * math/w_log2.c: Likewise.
950 * math/w_log2f.c: Likewise.
951 * math/w_log2l.c: Likewise.
952 * math/w_logf.c: Likewise.
953 * math/w_logl.c: Likewise.
954 * math/w_sqrt.c: Likewise.
955 * math/w_sqrtf.c: Likewise.
956 * math/w_sqrtl.c: Likewise.
957 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
958 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
959 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
960 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
961 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
962
963 2012-02-19 Joseph Myers <joseph@codesourcery.com>
964
965 [BZ #9739]
966 * manual/string.texi (strnlen): Use correct parameter name in
967 equivalent expression.
968
969 2012-02-19 Joseph Myers <joseph@codesourcery.com>
970
971 [BZ #11174]
972 * manual/users.texi (seteuid): Consistently use neweuid for
973 argument name.
974
975 2012-02-19 Joseph Myers <joseph@codesourcery.com>
976
977 [BZ #13704]
978 * manual/nss.texi (Services in the NSS configuration): Correct
979 list of services in example configuration file.
980
981 2012-02-19 Nick Bowler <nbowler@draconx.ca>
982
983 [BZ #11322]
984 * manual/arith.texi: Remove statements about negative zero
985 behaving identically to zero.
986
987 2012-02-18 Joseph Myers <joseph@codesourcery.com>
988
989 [BZ #5993]
990 * manual/install.texi: Do not document upgrading from libc5.
991
992 2012-02-18 Joseph Myers <joseph@codesourcery.com>
993
994 [BZ #4596]
995 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
996
997 2012-02-18 David S. Miller <davem@davemloft.net>
998
999 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1000 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1001 %o7 across the call.
1002 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1003 instead.
1004 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1005 SETUP_PIC_REG_LEAF.
1006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1007 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1008 * sysdeps/sparc/crtn.S: Likewise.
1009
1010 2012-02-17 Ulrich Drepper <drepper@gmail.com>
1011
1012 * aout/Makefile: Remove.
1013
1014 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1015
1016 [BZ #13058]
1017 * manual/examples/argp-ex1.c (main): Format definition in GNU
1018 style.
1019 * manual/examples/argp-ex2.c (main): Likewise.
1020 * manual/examples/argp-ex3.c (main): Likewise.
1021 * manual/examples/argp-ex4.c (main): Likewise.
1022 * manual/examples/longopt.c (main): Use new-style prototype
1023 definition.
1024 * manual/examples/strncat.c (main): Specify return type and use
1025 (void) for arguments.
1026 * manual/examples/subopt.c (main): Use char **argv argument.
1027
1028 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1029
1030 [BZ #5077]
1031 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1032 rounding modes.
1033
1034 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1035
1036 [BZ #6907]
1037 * manual/string.texi (strchr): Change when strchrnul is
1038 recommended.
1039
1040 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1041
1042 [BZ #174]
1043 * manual/locale.texi (setlocale): Document LOCPATH.
1044
1045 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1046
1047 [BZ #10210]
1048 * manual/process.texi (execle): Move @dots{} before last argument.
1049
1050 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
1051
1052 [BZ #12047]
1053 * manual/charset.texi (Generic Charset Conversion): Fix typo
1054 (LC_TYPE -> LC_CTYPE).
1055
1056 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1057
1058 [BZ #5805]
1059 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1060 (scalbnf): Likewise.
1061 (scalbnl): Likewise.
1062 (scalbln): Likewise.
1063 (scalblnf): Likewise.
1064 (scalblnl): Likewise.
1065 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1066 (vwarnx): Likewise.
1067 (verr): Likewise.
1068 (verrx): Likewise.
1069 * manual/filesys.texi (telldir): Use braces around return type.
1070 * manual/llio.texi (mmap): Add space after comma.
1071 (mmap64): Likewise.
1072 * manual/math.texi (jn): Use @var{} on parameter names.
1073 (jnf): Likewise.
1074 (jnl): Likewise.
1075 (yn): Likewise.
1076 (ynf): Likewise.
1077 (ynl): Likewise.
1078 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1079 line.
1080 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1081 "...".
1082 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1083 (sched_get_priority_max): Likewise.
1084 * manual/signal.texi (sigvec): Add space after comma.
1085 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1086 names.
1087 (if_indextoname): Likewise.
1088 (if_freenameindex): Likewise.
1089 (sendto): Use ',' instead of '.' in prototype.
1090 * manual/startup.texi (syscall): Use @dots{} instead of literal
1091 "...".
1092 * manual/stdio.texi (__fpending): Separate initial words of
1093 paragraph from @deftypefun line.
1094 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1095 "...".
1096 (vsyslog): Use @var{} on parameter names.
1097 * manual/terminal.texi (stty): Use @var{} on parameter names.
1098 * manual/users.texi (getutmp): Use @var{} on parameter names.
1099 (getutmpx): Likewise.
1100
1101 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1102
1103 [BZ #6884]
1104 * manual/stdio.texi (fopen): Fix typos in description of
1105 ",ccs=STRING".
1106
1107 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1108
1109 [BZ #4026]
1110 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1111 get clock_id definition.
1112
1113 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
1114
1115 [BZ #4822]
1116 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1117 (madvise): Cast every argument to void on its own.
1118
1119 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1120
1121 [BZ #9902]
1122 * manual/startup.texi (Exit Status): Fix typo.
1123
1124 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1125
1126 [BZ #10140]
1127 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1128 * manual/examples/argp-ex2.c: Likewise.
1129 * manual/examples/argp-ex3.c: Likewise.
1130
1131 2012-02-16 Richard Henderson <rth@redhat.com>
1132
1133 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1134 * sysdeps/s390/s390-32/initfini.c: Remove.
1135 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1136 * sysdeps/s390/s390-64/initfini.c: Remove.
1137
1138 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1139
1140 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1141 compiler output for sysdeps/generic/initfini.c.
1142 * sysdeps/sh/elf/initfini.c: Remove file.
1143
1144 2012-02-16 David S. Miller <davem@davemloft.net>
1145
1146 [BZ #11494]
1147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1148
1149 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1150 * sysdeps/sparc/crti.S: New file.
1151 * sysdeps/sparc/crtn.S: New file.
1152 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1153 * sysdeps/sparc/sparc64/Makefile: Likewise.
1154
1155 2012-02-15 Mike Frysinger <vapier@gentoo.org>
1156
1157 [BZ #3335]
1158 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1159
1160 2012-02-15 Roland McGrath <roland@hack.frob.com>
1161
1162 [BZ #4822]
1163 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1164
1165 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1166 (write, read, close): Likewise.
1167 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1168
1169 2012-02-15 Joseph Myers <joseph@codesourcery.com>
1170
1171 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1172 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1173 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1174 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1175 <bits/signalfd.h>.
1176 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1178 bits/signalfd.h.
1179
1180 2012-02-14 Marek Polacek <polacek@redhat.com>
1181
1182 * sysdeps/x86_64/crti.S: New file.
1183 * sysdeps/x86_64/crtn.S: New file.
1184 * sysdeps/x86_64/elf/initfini.c: Remove file.
1185
1186 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1187
1188 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1189 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1190 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1191 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1192 <bits/inotify.h>.
1193 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1195 bits/inotify.h.
1196
1197 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1198
1199 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1200 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1201 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1202 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1203 <bits/eventfd.h>.
1204 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1206 bits/eventfd.h.
1207
1208 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1209
1210 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1211 __feraiseexcept instead of feraiseexcept.
1212
1213 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1214 nanosleep invocations.
1215 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1216 strings, and add error checking for a nanosleep invocations.
1217
1218 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1219
1220 Replace FSF snail mail address with URLs, as per GNU coding standards.
1221 Most of the snail mail addresses were wrong anyway, and omitting
1222 them makes the source code easier to maintain. Almost all of the
1223 changes are to license notices and to locale LC_IDENTIFICATION
1224 addresses, except for this one:
1225 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1226 not its snail mail address.
1227
1228 2012-02-09 Richard Henderson <rth@twiddle.net>
1229
1230 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1231 of kernel-features.h.
1232
1233 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1234
1235 2012-02-08 Marek Polacek <polacek@redhat.com>
1236
1237 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1238 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1239 * sysdeps/gnu/_G_config.h: Likewise.
1240 * sysdeps/generic/_G_config.h: Likewise.
1241
1242 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1243
1244 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1245 tests.
1246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1247
1248 * sysdeps/powerpc/powerpc32/crti.S: New file.
1249 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1250 * sysdeps/powerpc/powerpc64/crti.S: New file.
1251 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1252
1253 * Makeconfig (have-initfini): Don't set.
1254 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1255 * configure.in (nopic_initfini): Don't substitute.
1256 * config.h.in (HAVE_INITFINI): Don't #undef.
1257 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1258 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1259
1260 2012-02-08 Joseph Myers <joseph@codesourcery.com>
1261
1262 Support crti.S and crtn.S provided directly by architectures.
1263 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1264 [crti.S in sysdirs] (omit-deps): Likewise.
1265 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1266 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1267 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1268 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1269 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1270 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1271 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1272 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1273 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1274 compiler output for sysdeps/generic/initfini.c.
1275 * sysdeps/i386/elf/Makefile: Remove file.
1276 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1277
1278 2012-02-07 Marek Polacek <polacek@redhat.com>
1279
1280 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1281 * sysdeps/gnu/_G_config.h: Likewise.
1282 * sysdeps/mach/hurd/_G_config.h: Likewise.
1283
1284 2012-02-07 Marek Polacek <polacek@redhat.com>
1285
1286 * math/Makefile (tests): Add tst-CMPLX2.
1287 * math/tst-CMPLX2.c: New file.
1288
1289 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1290
1291 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1292
1293 * math/libm-test.inc (jn_test): Add missing L suffix.
1294
1295 2012-02-06 Marek Polacek <polacek@redhat.com>
1296
1297 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1298 * sysdeps/i386/fpu/e_powf.S: Likewise.
1299 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1300 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1301 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1302 * sysdeps/i386/fpu/e_pow.S: Likewise.
1303 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1304 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1305 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1306 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1307 * sysdeps/i386/fpu/e_log2.S: Likewise.
1308 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1309 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1310 * sysdeps/i386/fpu/e_powl.S: Likewise.
1311 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1312 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1313 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1314 * sysdeps/i386/fpu/e_logl.S: Likewise.
1315 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1316 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1317 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1318 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1319 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1320 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1321 * sysdeps/i386/fpu/e_log.S: Likewise.
1322 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1323 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1324 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1325 * sysdeps/i386/fpu/e_logf.S: Likewise.
1326 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1327 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1328 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1329 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1330 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1331 * sysdeps/i386/fpu/e_log10.S: Likewise.
1332 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1333 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1334 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1335 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1336 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1337 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1338 * sysdeps/i386/asm-syntax.h: Likewise.
1339 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1340 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1341 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1342 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1343 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1344 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1345 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1346 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1347 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1348 * sysdeps/powerpc/sysdep.h: Likewise.
1349 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1350 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1351
1352 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1353
1354 [BZ #411]
1355 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1356
1357 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1358
1359 * sysdeps/i386/sysdep.h: Include <features.h>.
1360 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1361 version.
1362
1363 2012-02-05 Joseph Myers <joseph@codesourcery.com>
1364
1365 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1366 Define.
1367 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1368 LOAD_PIC_REG_STR.
1369
1370 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1371
1372 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1373 (SETUP_PIC_REG): Use GET_PC_THUNK.
1374 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1375 macro.
1376
1377 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1378
1379 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1380 for non-PIC compilation.
1381 (SETUP_PIC_REG): Add .p2align directive.
1382 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1383 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1384 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1385 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1386 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1387 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1388 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1390 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1391 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1392 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1393 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1394 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1395 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1396 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1397 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1398 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1399 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1400 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1401 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1402 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1403 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1404 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1405 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1406 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1407 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1408 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1409 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1410 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1411 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1412 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1413 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1414 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1415 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1416 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1417 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1418 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1419 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1420 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1421 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1422 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1423
1424 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1425
1426 * math/tst-CMPLX.c: Include <stdio.h>.
1427
1428 2012-01-31 Joseph Myers <joseph@codesourcery.com>
1429
1430 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1431 float.
1432 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1433 * sysdeps/sparc/bits/mathdef.h: Likewise.
1434
1435 2012-01-31 Marek Polacek <polacek@redhat.com>
1436
1437 * libio/libio.h: Don't define _PARAMS.
1438 * locale/programs/config.h: Don't define PARAMS.
1439 * stdlib/strtol_l.c: Likewise.
1440 (__strtol_l): Remove PARAMS from the prototype.
1441
1442 2012-01-31 Ulrich Drepper <drepper@gmail.com>
1443
1444 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1445 names. Just use the correct names. Remove unnecessary wrapper
1446 functions.
1447 * malloc/arena.c: Likewise.
1448 * malloc/hooks.c: Likewise.
1449
1450 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1451 ARENA_TEST says not to. Simplify test for creation of a new arena.
1452 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1453
1454 2012-01-30 Ulrich Drepper <drepper@gmail.com>
1455
1456 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1457 into tail calls.
1458 (update_get_addr): New function.
1459 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1460 GET_ADDR_MODULE parameter.
1461
1462 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1463
1464 * crypt/cert.c: Remove __STDC__ conditionals.
1465 * crypt/crypt-entry.c: Likewise.
1466 * crypt/crypt_util.c: Likewise.
1467 * libio/filedoalloc.c: Likewise.
1468 * libio/fileops.c: Likewise.
1469 * libio/genops.c: Likewise.
1470 * libio/iofclose.c: Likewise.
1471 * libio/iofdopen.c: Likewise.
1472 * libio/iofopen.c: Likewise.
1473 * libio/iofopen64.c: Likewise.
1474 * libio/iogetdelim.c: Likewise.
1475 * libio/iopopen.c: Likewise.
1476 * libio/obprintf.c: Likewise.
1477 * libio/oldfileops.c: Likewise.
1478 * libio/oldiofclose.c: Likewise.
1479 * libio/oldiofdopen.c: Likewise.
1480 * libio/oldiofopen.c: Likewise.
1481 * libio/oldiopopen.c: Likewise.
1482 * libio/wfiledoalloc.c: Likewise.
1483 * libio/wgenops.c: Likewise.
1484 * locale/programs/xmalloc.c: Likewise.
1485 * misc/syslog.c: Likewise.
1486 * stdio-common/xbug.c: Likewise.
1487 * string/memchr.c: Likewise.
1488 * string/memcmp.c: Likewise.
1489 * string/memrchr.c: Likewise.
1490 * string/rawmemchr.c: Likewise.
1491 * sysdeps/posix/getcwd.c: Likewise.
1492 * time/strftime_l.c: Likewise.
1493
1494 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1495
1496 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
1497 * config.make.in (config-cflags-sse2avx): Define.
1498 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1499 Fix typo.
1500
1501 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1502
1503 * scripts/config.guess: Update from upstream config git repository.
1504 * scripts/config.sub: Likewise.
1505
1506 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1507
1508 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1509 (EM_NUM): Update.
1510 (R_TILEPRO_*, R_TILEGX_*): New macros.
1511
1512 * scripts/firstversions.awk: Fix bug in version range handling.
1513
1514 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1515
1516 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1517
1518 * include/sys/epoll.h: New file.
1519 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1520 libc_hidden_def.
1521
1522 2012-01-28 Ulrich Drepper <drepper@gmail.com>
1523
1524 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1525 Avoid unnecessary __WORDSIZE == 64 test.
1526 (fmaxf): Use VEX format if possible.
1527 (fmax): Likewise.
1528 (fminf): Likewise.
1529 (fmin): Likewise.
1530
1531 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1532 * math/math_private.h: Remove libc_fegetround* and
1533 libc_fesetround*.
1534 * sysdeps/i386/configure.in: Check for -msse2avx.
1535 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1536 also if SSE2AVX is defined.
1537 Remove libc_fegetround* and libc_fesetround*.
1538 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1539 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1540 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1541 of HAS_YMM_USABLE.
1542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1547
1548 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1549
1550 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1551
1552 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1553 size is not set.
1554 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1555
1556 2012-01-27 Ulrich Drepper <drepper@gmail.com>
1557
1558 [BZ #13618]
1559 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1560 relocation.
1561 * Makeconfig (libm): Define.
1562 * elf/Makefile: Add rules to build and run tst-relsort1.
1563 * elf/tst-relsort1.c: New file.
1564 * elf/tst-relsort1mod1.c: New file.
1565 * elf/tst-relsort1mod2.c: New file.
1566
1567 2012-01-27 Joseph Myers <joseph@codesourcery.com>
1568
1569 * math/s_ldexp.c: Remove __STDC__ conditionals.
1570 * math/s_ldexpf.c: Likewise.
1571 * math/s_ldexpl.c: Likewise.
1572 * math/s_nextafter.c: Likewise.
1573 * math/s_nexttowardf.c: Likewise.
1574 * math/s_significand.c: Likewise.
1575 * math/s_significandf.c: Likewise.
1576 * math/s_significandl.c: Likewise.
1577 * math/w_jnl.c: Likewise.
1578 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1579 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1580 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1581 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1582 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1587 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1588 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1589 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1597 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1598 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1599 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1600 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1601 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1602 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1603 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1604 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1605 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1606 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1607 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1608 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1609 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1610 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1611 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1612 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1613 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1614 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1615 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1616 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1617 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1618 * sysdeps/ieee754/k_standard.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1680 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1682 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1683 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1685 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1688 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1689 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1690 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1693 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1694 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1695 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1698 * sysdeps/ieee754/s_matherr.c: Likewise.
1699 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1700 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1701 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1702 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1703
1704 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1705
1706 * crypt/md5.h: Remove __STDC__ conditionals.
1707 * libio/libioP.h: Likewise.
1708 * locale/programs/config.h: Likewise.
1709 * sysdeps/generic/sysdep.h: Likewise.
1710 * sysdeps/i386/asm-syntax.h: Likewise.
1711 * sysdeps/s390/asm-syntax.h: Likewise.
1712 * sysdeps/unix/sysdep.h: Likewise.
1713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1715
1716 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1717
1718 * libio/libio.h: Remove __STDC__ conditionals.
1719 * malloc/obstack.h: Likewise.
1720 * math/complex.h: Likewise.
1721 * math/math.h: Likewise.
1722 * sysdeps/generic/_G_config.h: Likewise.
1723 * sysdeps/gnu/_G_config.h: Likewise.
1724 * sysdeps/mach/hurd/_G_config.h: Likewise.
1725 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1726 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1727 * sysdeps/sparc/bits/mathdef.h: Likewise.
1728
1729 2012-01-26 Ulrich Drepper <drepper@gmail.com>
1730
1731 [BZ #13583]
1732 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
1733 Clean up HAS_* macros.
1734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
1735 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1736 possible.
1737 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1738 HAS_AVX.
1739 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1740 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1741 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1742 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1743 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1744
1745 2012-01-25 Joseph Myers <joseph@codesourcery.com>
1746
1747 * elf/tst-unique3.cc (gets): Remove declaration.
1748 * elf/tst-unique3lib.cc (gets): Likewise.
1749 * elf/tst-unique3lib2.cc (gets): Likewise.
1750 * elf/tst-unique4.cc (gets): Likewise.
1751
1752 2012-01-24 Ulrich Drepper <drepper@gmail.com>
1753
1754 * include/stdio.h: Add C++ protection. Add gets declarations and
1755 definitions.
1756 * debug/tst-chk1.c: Don't declare gets here.
1757 * stdio-common/tst-gets.c: Likewise.
1758
1759 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1760
1761 * posix/glob: Remove directory.
1762
1763 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1764
1765 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1766
1767 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1768
1769 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1770 of the non-standard EPFNOSUPPORT.
1771
1772 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1773
1774 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1775 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1776 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1777
1778 2012-01-21 Ulrich Drepper <drepper@gmail.com>
1779
1780 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1781
1782 2012-01-20 Ulrich Drepper <drepper@gmail.com>
1783
1784 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1785 transient errors.
1786 * nscd/grpcache.c (cache_addgr): Likewise.
1787 * nscd/hstcache.c (cache_addhst): Likewise.
1788 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1789 * nscd/pwdcache.c (cache_addpw): Likewise.
1790 * nscd/servicescache.c (cache_addserv): Likewise.
1791
1792 2012-01-16 Ulrich Drepper <drepper@gmail.com>
1793
1794 * malloc/malloc.c: Various cleanups.
1795 * malloc/hooks.c: Likewise.
1796
1797 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1798 * stdlib/bug-fmtmsg1.c: New file.
1799
1800 * stdlib/fmtmsg.c (init): Add missing unlock.
1801 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1802
1803 2012-01-12 Marek Polacek <polacek@redhat.com>
1804
1805 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1806 and _GNU_SOURCE.
1807
1808 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1809
1810 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1811 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1812 macro to ensure uniqueness of label name.
1813 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1814 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1815
1816 2012-01-11 Ulrich Drepper <drepper@gmail.com>
1817
1818 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1819
1820 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1821 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1822 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1823 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1824
1825 2012-01-10 Ulrich Drepper <drepper@gmail.com>
1826
1827 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1828
1829 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1830 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1831 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1832
1833 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1834
1835 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
1836 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1837 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1838 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
1839
1840 * math/bits/math-finite.h: Add ldexp support.
1841
1842 2012-01-10 Marek Polacek <polacek@redhat.com>
1843
1844 * locale/programs/localedef.h (show_archive_content): Add noreturn
1845 attribute.
1846
1847 2012-01-09 Ulrich Drepper <drepper@gmail.com>
1848
1849 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1850
1851 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1852
1853 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1854
1855 * io/Makefile (headers): Add bits/poll2.h.
1856
1857 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1858
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1860 typo #include statement.
1861
1862 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1863
1864 * include/sys/cdefs.h: Define __attribute_alloc_size.
1865 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1866 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1867 * elf/pldd.c: Likewise.
1868 * iconv/iconv_charmap.c: Likewise.
1869 * iconv/iconvconfig.c: Likewise.
1870 * iconv/strtab.c: Likewise.
1871 * locale/programs/locale.c: Likewise.
1872 * locale/programs/localedef.h: Likewise.
1873 * locale/programs/simple-hash.c: Likewise.
1874 * nscd/nscd.h: Likewise.
1875 * nss/makedb.c: Likewise.
1876 * sysdeps/generic/ldconfig.h: Likewise.
1877 * locale/programs/localedef.c: Remove xmalloc prototype.
1878 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1879
1880 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1881
1882 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1883 appropriate.
1884
1885 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1886
1887 * math/Makefile (tests): Add tst-CMPLX.
1888 * math/tst-CMPLX.c: New file.
1889
1890 * math/complex.h (CMPLXL): Fix typo.
1891
1892 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1893 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1894 GLIBC_2.16.
1895 * debug/tst-chk1.c: Add poll and ppoll tests.
1896 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1897 * include/sys/poll.h: Add hidden proto for ppoll.
1898 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1899 * sysdeps/mach/hurd/ppoll.c: Likewise.
1900 * io/ppoll.c: Likewise.
1901 * debug/poll_chk.c: New file.
1902 * debug/ppoll_chk.c: New file.
1903 * include/bits/poll2.h: New file.
1904 * io/bits/poll2.h: New file.
1905
1906 [BZ #1350]
1907 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1908
1909 * configure.in: static is always set to yes. Remove.
1910 * config.make.in: Don't set build-static.
1911 * Makeconfig: Remove use of build-static.
1912 * dlfcn/Makefile: Likewise.
1913 * elf/Makefile: Likewise.
1914 * math/Makefile: Likewise.
1915 * misc/Makefile: Likewise.
1916 * nptl/Makefile: Likewise.
1917 * sysdeps/mach/hurd/Makefile: Likewise.
1918
1919 * configure.in: PWD_P is not used anymore.
1920 * config.make.in: Remove PWD_P entry.
1921
1922 * configure.in: Remove last remnants of RANLIB.
1923 No need to check for signed size_t anymore.
1924 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1925 and IA-64.
1926 Remove __builtin_expect test because we require at least gcc 3.4.
1927 * aclocal.m4: Likewise.
1928
1929 * wcsmbs/mbrtoc16.c: Implement using towc function.
1930 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1931 * wcsmbs/wcsmbsload.c: Likewise.
1932 * iconv/gconv_simple.c: Likewise.
1933 * iconv/gconv_int.h: Likewise.
1934 * iconv/gconv_builtin.h: Likewise.
1935 * iconv/iconv_prog.c: Remove CHAR16 handling.
1936
1937 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1938
1939 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1940
1941 * configure.in: Remove --with-elf and --enable-bounded options.
1942 Dont set base_machine for ia64. More non-ELF conditions removed.
1943 Remove testing and setting of leading underscore information.
1944 * config.make.in (build-bounded): Set to no.
1945 * config.h.in: Remove NO_UNDERSCORES entry.
1946 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1947 them.
1948 * csu/start.c: Remove !NO_UNDERSCORE code.
1949 * locale/localeinfo.h: Likewise.
1950 * sysdeps/generic/machine-gmon.h: Likewise.
1951 * sysdeps/generic/sysdep.h: Likewise.
1952 * sysdeps/i386/sysdep.h: Likewise.
1953 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1954 * sysdeps/mach/sysdep.h: Likewise.
1955 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1956 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1957 * sysdeps/sh/sysdep.h: Likewise.
1958 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1959 * sysdeps/unix/i386/sysdep.S: Likewise.
1960 * sysdeps/unix/sparc/start.c: Likewise.
1961 * sysdeps/unix/sparc/sysdep.S: Likewise.
1962 * sysdeps/unix/sparc/sysdep.h: Likewise.
1963 * sysdeps/unix/start.c: Likewise.
1964 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1965 * sysdeps/x86_64/sysdep.h: Likewise.
1966
1967 2012-01-07 Ulrich Drepper <drepper@gmail.com>
1968
1969 [BZ #13553]
1970 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1971 for non-gcc.
1972 * argp/argp-fmtstream.h: Use const instead __const.
1973 * argp/argp.h: Likewise.
1974 * assert/assert.h: Likewise.
1975 * bits/fenv.h: Likewise.
1976 * bits/sched.h: Likewise.
1977 * bits/sigset.h: Likewise.
1978 * bits/sigthread.h: Likewise.
1979 * catgets/nl_types.h: Likewise.
1980 * conform/data/pthread.h-data: Likewise.
1981 * crypt/crypt-private.h: Likewise.
1982 * crypt/crypt.h: Likewise.
1983 * crypt/crypt_util.c: Likewise.
1984 * ctype/ctype.h: Likewise.
1985 * debug/execinfo.h: Likewise.
1986 * debug/mbsnrtowcs_chk.c: Likewise.
1987 * debug/mbsrtowcs_chk.c: Likewise.
1988 * debug/wcsnrtombs_chk.c: Likewise.
1989 * debug/wcsrtombs_chk.c: Likewise.
1990 * debug/wcstombs_chk.c: Likewise.
1991 * dirent/dirent.h: Likewise.
1992 * dlfcn/dlfcn.h: Likewise.
1993 * elf/neededtest4.c: Likewise.
1994 * grp/grp.h: Likewise.
1995 * gshadow/gshadow.h: Likewise.
1996 * iconv/gconv.h: Likewise.
1997 * iconv/gconv_int.h: Likewise.
1998 * iconv/gconv_simple.c: Likewise.
1999 * iconv/iconv.h: Likewise.
2000 * iconv/loop.c: Likewise.
2001 * iconv/skeleton.c: Likewise.
2002 * include/aio.h: Likewise.
2003 * include/aliases.h: Likewise.
2004 * include/argz.h: Likewise.
2005 * include/arpa/inet.h: Likewise.
2006 * include/assert.h: Likewise.
2007 * include/dirent.h: Likewise.
2008 * include/dlfcn.h: Likewise.
2009 * include/execinfo.h: Likewise.
2010 * include/fcntl.h: Likewise.
2011 * include/fenv.h: Likewise.
2012 * include/glob.h: Likewise.
2013 * include/grp.h: Likewise.
2014 * include/libintl.h: Likewise.
2015 * include/mntent.h: Likewise.
2016 * include/netdb.h: Likewise.
2017 * include/pwd.h: Likewise.
2018 * include/rpc/netdb.h: Likewise.
2019 * include/sched.h: Likewise.
2020 * include/search.h: Likewise.
2021 * include/shadow.h: Likewise.
2022 * include/signal.h: Likewise.
2023 * include/stdio.h: Likewise.
2024 * include/stdlib.h: Likewise.
2025 * include/string.h: Likewise.
2026 * include/sys/socket.h: Likewise.
2027 * include/sys/stat.h: Likewise.
2028 * include/sys/statfs.h: Likewise.
2029 * include/sys/statvfs.h: Likewise.
2030 * include/sys/syslog.h: Likewise.
2031 * include/sys/time.h: Likewise.
2032 * include/sys/uio.h: Likewise.
2033 * include/time.h: Likewise.
2034 * include/unistd.h: Likewise.
2035 * include/utmp.h: Likewise.
2036 * include/wchar.h: Likewise.
2037 * include/wctype.h: Likewise.
2038 * inet/aliases.h: Likewise.
2039 * inet/arpa/inet.h: Likewise.
2040 * inet/netinet/ether.h: Likewise.
2041 * inet/netinet/in.h: Likewise.
2042 * intl/libintl.h: Likewise.
2043 * io/bits/fcntl2.h: Likewise.
2044 * io/fcntl.h: Likewise.
2045 * io/ftw.h: Likewise.
2046 * io/sys/poll.h: Likewise.
2047 * io/sys/stat.h: Likewise.
2048 * io/sys/statfs.h: Likewise.
2049 * io/sys/statvfs.h: Likewise.
2050 * io/utime.h: Likewise.
2051 * libio/bits/stdio.h: Likewise.
2052 * libio/bits/stdio2.h: Likewise.
2053 * libio/libio.h: Likewise.
2054 * libio/libioP.h: Likewise.
2055 * libio/stdio.h: Likewise.
2056 * locale/lc-ctype.c: Likewise.
2057 * locale/locale.h: Likewise.
2058 * login/utmp.h: Likewise.
2059 * malloc/arena.c: Likewise.
2060 * malloc/malloc.c: Likewise.
2061 * malloc/malloc.h: Likewise.
2062 * malloc/mcheck.c: Likewise.
2063 * malloc/mtrace.c: Likewise.
2064 * math/bits/mathcalls.h: Likewise.
2065 * math/fenv.h: Likewise.
2066 * math/math_private.h: Likewise.
2067 * misc/bits/error.h: Likewise.
2068 * misc/bits/syslog.h: Likewise.
2069 * misc/err.h: Likewise.
2070 * misc/error.h: Likewise.
2071 * misc/fstab.h: Likewise.
2072 * misc/mntent.h: Likewise.
2073 * misc/regexp.h: Likewise.
2074 * misc/search.h: Likewise.
2075 * misc/sgtty.h: Likewise.
2076 * misc/sys/mman.h: Likewise.
2077 * misc/sys/syslog.h: Likewise.
2078 * misc/sys/uio.h: Likewise.
2079 * misc/sys/xattr.h: Likewise.
2080 * misc/ttyent.h: Likewise.
2081 * nis/rpcsvc/ypclnt.h: Likewise.
2082 * nss/nss.h: Likewise.
2083 * posix/bits/unistd.h: Likewise.
2084 * posix/fnmatch.h: Likewise.
2085 * posix/glob.h: Likewise.
2086 * posix/sched.h: Likewise.
2087 * posix/spawn.h: Likewise.
2088 * posix/sys/wait.h: Likewise.
2089 * posix/unistd.h: Likewise.
2090 * posix/wordexp.h: Likewise.
2091 * pwd/pwd.h: Likewise.
2092 * resolv/netdb.h: Likewise.
2093 * resource/sys/resource.h: Likewise.
2094 * rt/aio.h: Likewise.
2095 * rt/bits/mqueue2.h: Likewise.
2096 * rt/mqueue.h: Likewise.
2097 * shadow/shadow.h: Likewise.
2098 * signal/signal.h: Likewise.
2099 * socket/send.c: Likewise.
2100 * socket/sendto.c: Likewise.
2101 * socket/sys/socket.h: Likewise.
2102 * stdio-common/printf.h: Likewise.
2103 * stdlib/bits/stdlib.h: Likewise.
2104 * stdlib/fmtmsg.h: Likewise.
2105 * stdlib/monetary.h: Likewise.
2106 * stdlib/stdlib.h: Likewise.
2107 * stdlib/ucontext.h: Likewise.
2108 * streams/stropts.h: Likewise.
2109 * string/argz.h: Likewise.
2110 * string/bits/string2.h: Likewise.
2111 * string/string.h: Likewise.
2112 * string/strings.h: Likewise.
2113 * sunrpc/rpc/auth.h: Likewise.
2114 * sunrpc/rpc/auth_des.h: Likewise.
2115 * sunrpc/rpc/clnt.h: Likewise.
2116 * sunrpc/rpc/netdb.h: Likewise.
2117 * sunrpc/rpc/pmap_clnt.h: Likewise.
2118 * sunrpc/rpc/xdr.h: Likewise.
2119 * sysdeps/generic/inttypes.h: Likewise.
2120 * sysdeps/generic/net/if.h: Likewise.
2121 * sysdeps/generic/sys/swap.h: Likewise.
2122 * sysdeps/gnu/net/if.h: Likewise.
2123 * sysdeps/gnu/utmpx.h: Likewise.
2124 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2125 * sysdeps/i386/i486/bits/string.h: Likewise.
2126 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2127 * sysdeps/s390/bits/string.h: Likewise.
2128 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2129 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2130 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2131 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2132 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2133 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2134 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2135 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2136 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2137 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2138 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2139 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2140 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2141 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2142 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2143 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2144 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2146 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2147 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2148 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2149 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2150 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2151 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2152 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2153 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2154 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2155 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2156 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2157 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2158 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2159 * sysvipc/sys/ipc.h: Likewise.
2160 * sysvipc/sys/msg.h: Likewise.
2161 * sysvipc/sys/sem.h: Likewise.
2162 * sysvipc/sys/shm.h: Likewise.
2163 * termios/termios.h: Likewise.
2164 * time/sys/time.h: Likewise.
2165 * time/time.h: Likewise.
2166 * wcsmbs/bits/wchar2.h: Likewise.
2167 * wcsmbs/uchar.h: Likewise.
2168 * wcsmbs/wchar.h: Likewise.
2169 * wctype/wctype.h: Likewise.
2170
2171 [BZ #13551]
2172 * Makeconfig: Remove all but ELF support including AIX support.
2173 * Makerules: Likewise.
2174 * config.h.in: Likewise.
2175 * config.make.in: Likewise.
2176 * configure: Likewise.
2177 * configure.in: Likewise.
2178 * csu/Makefile: Likewise.
2179 * csu/version.c: Likewise.
2180 * debug/Makefile: Likewise.
2181 * dlfcn/Makefile: Likewise.
2182 * elf/Makefile: Likewise.
2183 * extra-lib.mk: Likewise.
2184 * iconv/Makefile: Likewise.
2185 * include/libc-symbols.h: Likewise.
2186 * include/shlib-compat.h: Likewise.
2187 * resolv/Makefile: Likewise.
2188 * resolv/res_libc.c: Likewise.
2189 * rt/Makefile: Likewise.
2190 * sysdeps/i386/asm-syntax.h: Likewise.
2191 * sysdeps/i386/sysdep.h: Likewise.
2192 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2193 * sysdeps/mach/sysdep.h: Likewise.
2194 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2195 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2196 * sysdeps/s390/asm-syntax.h: Likewise.
2197 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2198 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2199 * sysdeps/sh/sysdep.h: Likewise.
2200 * sysdeps/unix/sparc/sysdep.h: Likewise.
2201 * sysdeps/wordsize-32/divdi3.c: Likewise.
2202 * sysdeps/x86_64/sysdep.h: Likewise.
2203
2204 * argp/Versions: Remove _argp_unlock_xxx.
2205
2206 [BZ #13559]
2207 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2208 * abilist/libBrokenLocale.abilist: Likewise.
2209 * abilist/libanl.abilist: Likewise.
2210 * abilist/libc.abilist: Likewise.
2211 * abilist/libcrypt.abilist: Likewise.
2212 * abilist/libdl.abilist: Likewise.
2213 * abilist/libm.abilist: Likewise.
2214 * abilist/libnsl.abilist: Likewise.
2215 * abilist/libpthread.abilist: Likewise.
2216 * abilist/libresolv.abilist: Likewise.
2217 * abilist/librt.abilist: Likewise.
2218 * abilist/libthread_db.abilist: Likewise.
2219 * abilist/libutil.abilist: Likewise.
2220 * abilist/libnss_db.abilist: New file.
2221
2222 * scripts/abilist.awk: Add support for indirect functions.
2223
2224 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2225
2226 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2227
2228 * shlib-versions: Remove entries for ports architectures.
2229
2230 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2231 files in ports.
2232 * elf/stackguard-macros.h: Remove support for IA-64.
2233 * elf/tst-auditmod1.c: Likewise.
2234 * sysdeps/generic/ldsodefs.h: Likewise.
2235
2236 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2237 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2238 configure files.
2239
2240 [BZ #13552]
2241 * configure.in: Remove --enable-omitfp support.
2242 * FAQ.in: Adjust.
2243 * config.make.in: Likewise.
2244 * Makeconfig: Likewise.
2245 * manual/install.texi: Likewise.
2246
2247 In case anyone cares, the IA-64 architecture could move to ports.
2248 * sysdeps/ia64/*: Removed.
2249 * sysdeps/unix/sysv/linux/ia64/*: Removed.
2250 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
2251
2252 [BZ #13555]
2253 * configure.in: Remove entries for unsupported architectures.
2254
2255 [BZ #13533]
2256 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2257 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2258 routines.
2259 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2260 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2261 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2262 fall back to using wcrtomb.
2263 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2264 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2265 renaming.
2266 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2267 * wcsmbs/tst-c16c32-1.c: New file.
2268
2269 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2270 local variable.
2271
2272 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2273
2274 * elf/tst-unique3.cc: Add explicit declaration of gets.
2275 * elf/tst-unique3lib.cc: Likewise.
2276 * elf/tst-unique3lib2.cc: Likewise.
2277 * elf/tst-unique4.cc: Likewise.
2278
2279 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2280
2281 2012-01-06 Joseph Myers <joseph@codesourcery.com>
2282
2283 [BZ #13566]
2284 * assert/assert.h (static_assert): Don't define for C++.
2285 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2286 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2287
2288 2012-01-03 Ulrich Drepper <drepper@gmail.com>
2289
2290 * iconv/loop.c (single loop): Fix assertion in storing of
2291 remaining bytes.
2292
2293 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2294
2295 2012-01-01 Ulrich Drepper <drepper@gmail.com>
2296
2297 * posix/getconf.c: Update copyright year.
2298 * nss/getent.c: Likewise.
2299 * nss/makedb.c: Likewise.
2300 * iconv/iconvconfig.c: Likewise.
2301 * iconv/iconv_prog.c: Likewise.
2302 * elf/ldconfig.c: Likewise.
2303 * elf/pldd.c: Likewise.
2304 * elf/sotruss.ksh: Likewise.
2305 * catgets/gencat.c: Likewise.
2306 * csu/version.c: Likewise.
2307 * elf/ldd.bash.in: Likewise.
2308 * elf/sprof.c (print_version): Likewise.
2309 * locale/programs/locale.c: Likewise.
2310 * locale/programs/localedef.c: Likewise.
2311 * login/programs/pt_chown.c: Likewise.
2312 * nscd/nscd.c (print_version): Likewise.
2313 * debug/xtrace.sh: Likewise.
2314 * malloc/memusage.sh: Likewise.
2315 * malloc/mtrace.pl: Likewise.
2316 * debug/catchsegv.sh: Likewise.
2317
2318 2011-12-30 Jakub Jelinek <jakub@redhat.com>
2319
2320 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2321 pure attribute.
2322
2323 2011-12-24 Ulrich Drepper <drepper@gmail.com>
2324
2325 [BZ #13533]
2326 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2327 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2328 transformations.
2329 * iconv/gconv_int.h: Likewise.
2330 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2331 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2332 from libc for GLIBC_2.16.
2333 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2334 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2335 * wcsmbs/uchar.h: Really define mbstate_t.
2336 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2337 * wcsmbs/c16rtomb.c: New file.
2338 * wcsmbs/mbrtoc16.c: New file.
2339 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2340 for C/POSIX locale.
2341 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2342 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2343
2344 * wcsmbs/wchar.h: Add missing __restrict.
2345
2346 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2347
2348 [BZ #13532]
2349 * time/Makefile (routines): Add timespec_get.
2350 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2351 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2352 timespec for ISO C11.
2353 * time/timespec_get.c: New file.
2354 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2355 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2356
2357 [BZ #13531]
2358 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2359 * stdlib/stdlib.h: Declare aligned_alloc.
2360 * Versions.def: Add GLIBC_2.16 for libc.
2361 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2362
2363 [BZ 13527]
2364 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2365 ISO C11.
2366
2367 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
2368 code.
2369
2370 [BZ #13528]
2371 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2372
2373 [BZ #13529]
2374 * assert/assert.h (static_assert): Define.
2375
2376 * version.h: Update for 2.16 development version.
2377
2378 [BZ #13526]
2379 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2380 _ISOC11_SOURCE.
2381
2382 * version.h (RELEASE): Bump for 2.15 release.
2383 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2384
2385 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2386 Patch by Marek Polacek <mpolacek@redhat.com>.
2387
2388 * bits/byteswap.h: Protect long long constants with __extension__.
2389 * sysdeps/i386/bits/byteswap.h: Likewise.
2390 * sysdeps/ia64/bits/byteswap.h: Likewise.
2391 * sysdeps/s390/bits/byteswap.h: Likewise.
2392 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2393
2394 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2395
2396 [BZ #13540]
2397 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2398 destination buffer.
2399 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2400
2401 2011-12-23 Marek Polacek <polacek@redhat.com>
2402
2403 * elf/dl-addr.c (determine_info): Add inline keyword.
2404 * elf/tst-auditmod4b.c (check_avx): Likewise.
2405 * elf/tst-auditmod6b.c (check_avx): Likewise.
2406 * elf/tst-auditmod6c.c (check_avx): Likewise.
2407 * elf/tst-auditmod7b.c (check_avx): Likewise.
2408
2409 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2410
2411 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2412 !__SSE_MATH__.
2413
2414 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2415
2416 [BZ #13540]
2417 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2418 processing for last bytes.
2419
2420 2011-08-06 Bruno Haible <bruno@clisp.org>
2421
2422 [BZ #13061]
2423 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2424 U+0385, not to U+1FEE.
2425
2426 [BZ #13062]
2427 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2428 entry for U+00A5 U+0301.
2429
2430 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2431
2432 [BZ #13166]
2433 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2434 buffer for the output is too small.
2435
2436 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2437 optimization.
2438
2439 [BZ #13185]
2440 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2441 SSE flags if possible.
2442
2443 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2444
2445 [BZ #13540]
2446 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2447 processing for last bytes.
2448
2449 2011-12-22 Joseph Myers <joseph@codesourcery.com>
2450
2451 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2452 (syscall-list-default-options, syscall-list-default-condition)
2453 (syscall-list-includes): Define.
2454 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2455 list of ABIs and options and #if conditions for each ABI. Do not
2456 handle common syscalls between ABIs specially.
2457 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2458 Remove.
2459 (syscall-list-variants, syscall-list-32bit-options)
2460 (syscall-list-32bit-condition, syscall-list-64bit-options)
2461 (syscall-list-64bit-condition): Define.
2462 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2463 (syscall-list-variants, syscall-list-32bit-options)
2464 (syscall-list-32bit-condition, syscall-list-64bit-options)
2465 (syscall-list-64bit-condition): Define.
2466 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2467 Remove.
2468 (syscall-list-variants, syscall-list-32bit-options)
2469 (syscall-list-32bit-condition, syscall-list-64bit-options)
2470 (syscall-list-64bit-condition): Define.
2471 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2472 Remove.
2473 (syscall-list-variants, syscall-list-32bit-options)
2474 (syscall-list-32bit-condition, syscall-list-64bit-options)
2475 (syscall-list-64bit-condition): Define.
2476
2477 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2478
2479 * locale/iso-639.def: Add brx entry.
2480
2481 [BZ #13328]
2482 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2483 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2484
2485 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2486 __feraiseexcept_renamed.
2487
2488 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2489
2490 [BZ #13538]
2491 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2492 EPOLLET with unsigned values.
2493 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2494 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2495
2496 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2497 to large cancellation.
2498 * math/s_cacoshf.c: Likewise.
2499 * math/s_cacoshl.c: Likewise.
2500
2501 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2502
2503 [BZ #13305]
2504 [BZ #12786]
2505 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2506 * math/s_cacoshf.c: Likewise.
2507 * math/s_cacoshl.c: Likewise.
2508
2509 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2510
2511 [BZ #13439]
2512 * iconv/gconv.h: Define __GCONV_SWAP.
2513 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2514 * iconvdata/utf-16.c: Likewise.
2515 * iconvdata/utf-32.c: Likewise.
2516
2517 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2518
2519 [BZ #13524]
2520 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2521 numerator after shifting it by one limb.
2522
2523 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2524
2525 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2526 under [__USE_EXTERN_INLINES].
2527
2528 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2529
2530 [BZ #13446]
2531 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2532
2533 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2534
2535 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2536 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2537 optimized code.
2538 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2539 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2540 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2541 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2542 for strncasecmp/strncasecmp_l compilation.
2543 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2544 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2545
2546 2011-12-08 Marek Polacek <mpolacek@redhat.com>
2547
2548 [BZ #13484]
2549 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2550 of __asm__.
2551
2552 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2553
2554 [BZ #13506]
2555 * time/tzfile.c (__tzfile_read): Check values from file header.
2556
2557 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2558
2559 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2560 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2561 * powerpc/powerpc32/dl-start.S: Likewise.
2562 * powerpc/powerpc32/elf/start.S: Likewise.
2563 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2564 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2565 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2566 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2567 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2568 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2569 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2570 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2571 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2572 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2573 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2574 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2575 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2576 * powerpc/powerpc32/memset.S: Likewise.
2577 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2578 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2579 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2580 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2581 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2582 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2583 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2584 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2585 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2586 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2587 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2588 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2589 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2590
2591 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592
2593 * math/libm-test.inc: Added more nearbyint tests.
2594 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2595 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2596 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2597 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2598
2599 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2600
2601 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2602 FD_CLOEXEC.
2603
2604 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2605
2606 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2607 Add wcscpy-ssse3 wcscpy-c.
2608 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2609 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2610 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2611 * sysdeps/x86_64/wcschr.S: New file.
2612 * sysdeps/x86_64/wcsrchr.S: New file.
2613 * string/test-strcmp.c: Remove checking of wcscmp function for
2614 wrong alignments.
2615 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2616 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2617 wcsrchr-sse2 wcsrchr-c.
2618 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2619 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2620 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2621 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2622 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2623 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2624 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2625 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2626 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2627 * wcsmbc/wcschr.c (WCSCHR): New macro.
2628
2629 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2630
2631 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2632 * wcsmbs/test-wcsrchr.c: New file.
2633 * string/test-strrchr.c: Add wcsrchr support.
2634 (WIDE): New macro.
2635 * wcsmbs/test-wcscpy.c: New file.
2636 * string/test-strcpy.c: Add wcscpy support.
2637 (WIDE): New macro.
2638
2639 2011-12-10 Ulrich Drepper <drepper@gmail.com>
2640
2641 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2642 the inner loop.
2643
2644 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2645
2646 [BZ #13472]
2647 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2648
2649 2011-12-04 Ulrich Drepper <drepper@gmail.com>
2650
2651 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
2652 Minor optimizations.
2653
2654 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2655 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2656 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2657
2658 2011-12-03 Ulrich Drepper <drepper@gmail.com>
2659
2660 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2661 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2662 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2663 for gcc to avoid warnings.
2664 * inet/Makefile (tests): Add tst-checks.
2665 * inet/tst-checks.c: New file.
2666
2667 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2668 warning.
2669
2670 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2671 __wmemcmp_sse2.
2672
2673 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2674 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2675
2676 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2677
2678 2011-12-02 Ulrich Drepper <drepper@gmail.com>
2679
2680 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2681 problem.
2682
2683 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2684
2685 2011-11-29 Joseph Myers <joseph@codesourcery.com>
2686
2687 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2688 conditional on GCC version.
2689 (__arch_compare_and_exchange_val_8_acq)
2690 (__arch_compare_and_exchange_val_16_acq)
2691 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2692 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2693 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2694
2695 2011-12-02 Joseph Myers <joseph@codesourcery.com>
2696
2697 * sysdeps/sh/backtrace.c: New file.
2698
2699 2011-12-02 Andreas Schwab <schwab@redhat.com>
2700
2701 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2702 parenthesis.
2703
2704 2011-12-01 Andreas Schwab <schwab@redhat.com>
2705
2706 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2707 falling back to utime.
2708
2709 2011-11-30 Andreas Schwab <schwab@redhat.com>
2710
2711 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2712 expectations for float.
2713
2714 2011-11-29 Andreas Schwab <schwab@redhat.com>
2715
2716 * locale/weight.h (findidx): Add parameter len.
2717 * locale/weightwc.h (findidx): Likewise.
2718 * posix/fnmatch_loop.c (FCT): Adjust caller.
2719 * posix/regcomp.c (build_equiv_class): Likewise.
2720 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2721 * posix/regexec.c (check_node_accept_bytes): Likewise.
2722 * string/strcoll_l.c (STRCOLL): Likewise.
2723 * string/strxfrm_l.c (STRXFRM): Likewise.
2724
2725 2011-11-17 Ulrich Drepper <drepper@gmail.com>
2726
2727 * Makefile.in: Remove CVSOPT handling.
2728 * configure.in: Remove use of AC_REVISION.
2729 * iconvdata/Makefile (distribute): No need to filter out CVS.
2730 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2731 handling.
2732
2733 2011-11-16 Andreas Schwab <schwab@redhat.com>
2734
2735 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2736 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2737 [USE_AS_STRNCASECMP_L]: Likewise.
2738 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2739 NO_TLS_DIRECT_SEG_REFS.
2740 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2741 Fix argument offsets for non-PIC.
2742 [USE_AS_STRNCASECMP_L]: Likewise.
2743 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2744 NO_TLS_DIRECT_SEG_REFS.
2745
2746 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2747
2748 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
2749 O_CLOEXEC.
2750 * locale/loadlocale.c (_nl_load_locale): Likewise.
2751
2752 2011-11-15 Andreas Schwab <schwab@redhat.com>
2753
2754 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2755 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2756 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2757 (SYSCALL_GETTIME): Set errno on error.
2758
2759 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2760 count references to noai6ai_cached.
2761
2762 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2763
2764 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2765
2766 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2767 FD_CLOEXEC for /proc/self/maps.
2768
2769 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2770 FD_CLOEXEC for /proc/meminfo.
2771
2772 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2773 gai.conf.
2774
2775 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2776 FD_CLOEXEC for given file.
2777
2778 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2779
2780 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2781 FD_CLOEXEC for /etc/hosts.
2782 (_gethtent): Likewise.
2783
2784 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2785
2786 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2787 cancellation and set FD_CLOEXEC for /etc/netgroup.
2788
2789 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2790 reading /etc/publickey.
2791
2792 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2793 allow cancellation when reading /etc/group.
2794
2795 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2796 cancellation.
2797 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2798
2799 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2800 when using data file.
2801
2802 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2803
2804 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2805 (write_nis_obj): Use "c" and "e" in fopen.
2806
2807 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2808
2809 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2810
2811 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2812
2813 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2814
2815 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2816 locale.alias.
2817
2818 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2819
2820 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2821
2822 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2823
2824 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2825 file parsing and set FD_CLOEXEC.
2826
2827 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2828
2829 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2830
2831 2011-11-14 Andreas Schwab <schwab@redhat.com>
2832
2833 * malloc/arena.c (arena_get2): Don't call reused_arena when
2834 _int_new_arena failed.
2835
2836 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2837
2838 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2839 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2840 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2841 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2842 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2843 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2844 to compile strcasecmp and strncasecmp.
2845 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2846 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2847
2848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2849
2850 2011-11-13 Ulrich Drepper <drepper@gmail.com>
2851
2852 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2853 locale-defines.sym to gen-as-const-headers.
2854 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2855 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2857 to compile strcasecmp and strncasecmp.
2858 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2859 strcasecmp_l and strncasecmp_l.
2860 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2861 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2862 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2863 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2864 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2865 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2866 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2867 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2868 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2869 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2870 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2871
2872 2011-11-12 Ulrich Drepper <drepper@gmail.com>
2873
2874 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2875 result of SYSDEP_GETTIME_CPU to retval.
2876 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2877 parameter list to macro. Remove trailing semicolon. Adjust users.
2878
2879 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2880 variable.
2881
2882 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2883 mantissa words.
2884 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2885
2886 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2887 from unused variable.
2888
2889 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2890 DWARF definitions.
2891 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2892 for assembling.
2893
2894 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2895 over namespaces.
2896
2897 * sunrpc/rpc_prot.c (rejected): Fix case value.
2898
2899 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2900 unsigned long long int to avoid warnings in shift.
2901
2902 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2903 of use of trans.
2904 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2905 variable tmp.
2906
2907 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2908 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2909 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2910
2911 * nis/nis_table.c (nis_list): Use variable of correct type for
2912 result of __follow_path call.
2913
2914 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2915
2916 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2917 of math functions ceil, trunc, floor, round, and sqrt, when
2918 avaliable on the platform.
2919 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2920 name clash.
2921 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2922 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2923 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2924
2925 2011-10-30 Marek Polacek <mpolacek@redhat.com>
2926
2927 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2928 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2929
2930 2011-11-11 Roland McGrath <roland@hack.frob.com>
2931
2932 * include/unistd.h: Fix __readlink return type.
2933 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2934
2935 2011-11-11 Ulrich Drepper <drepper@gmail.com>
2936
2937 * stdlib/ucontext.h: Undo last change for makecontext.
2938
2939 2011-11-11 Andreas Schwab <schwab@redhat.com>
2940
2941 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2942
2943 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2944 * setjmp/setjmp.h: Mark functions as non-leaf.
2945 * setjmp/bits/setjmp2.h: Likewise.
2946 * stdlib/ucontext.h: Likewise.
2947
2948 2011-11-10 Andreas Schwab <schwab@redhat.com>
2949
2950 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2951 (reused_arena): Don't check arena limit.
2952 (arena_get2): Atomically check arena limit.
2953
2954 2011-11-08 Ulrich Drepper <drepper@gmail.com>
2955
2956 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2957 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2958
2959 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2960 instructions.
2961
2962 2011-11-07 Andreas Schwab <schwab@redhat.com>
2963
2964 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2965 handler when locking.
2966
2967 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2968 Fix size of allocated buffer.
2969
2970 2011-11-04 Andreas Schwab <schwab@redhat.com>
2971
2972 [BZ #10103]
2973 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2974 declarations for long double functions.
2975 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2976
2977 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2978
2979 2011-11-03 Andreas Schwab <schwab@redhat.com>
2980
2981 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2982 installed.
2983
2984 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2985 is disabled.
2986
2987 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2988
2989 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2990
2991 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2992
2993 * include/alloca.h (stackinfo_alloca_round): Define.
2994 (extend_alloca): Use it.
2995 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2996 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2997 here.
2998
2999 * scripts/check-local-headers.sh: Ignore libaudit.h.
3000
3001 * nscd/Makefile (extra-objs): Make recursively expanded.
3002
3003 2011-11-01 Ulrich Drepper <drepper@gmail.com>
3004
3005 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3006 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3007
3008 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3009 * posix/tst-rfc3484-2.c: Likewise.
3010 * posix/tst-rfc3484-3.c: Likewise.
3011
3012 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3013 process_vm_writev.
3014 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3015 process_vm_writev.
3016 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3017 process_vm_writev from libc using GLIBC_2.15 version.
3018
3019 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3020
3021 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3022
3023 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3024 stack usage.
3025
3026 2011-10-31 Ulrich Drepper <drepper@gmail.com>
3027
3028 [BZ #13367]
3029 * nss/getent.c (initgroups_keys): Show error message in case no group
3030 names are given.
3031
3032 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3033 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3034 __bump_nl_timestamp.
3035 * nscd/connections (nscd_init): When host database is served open
3036 netlink socket and request notification about configuration changes.
3037 (main_loop_poll): Track netlink file descriptor and bump timestamp
3038 in case data becomes available.
3039 (main_loop_epoll): Likewise.
3040 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3041 (database_pers_head): Add extra_data fileds.
3042 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3043 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3044 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3045 Adjust caller.
3046 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3047 in6ai data, call __free_in6ai.
3048 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3049 Add -DHAVE_NETLINK.
3050 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3051 interface information. Reuse previous data if netlink timestamp
3052 is not changed.
3053 (__bump_nl_timestamp): New function.
3054 (__free_in6ai): New function.
3055
3056 2011-10-30 Ulrich Drepper <drepper@gmail.com>
3057
3058 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3059 close_not_cancel_no_status here.
3060 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3061
3062 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3063
3064 [BZ #13276]
3065 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3066 return value.
3067
3068 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
3069 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3070 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3071
3072 2011-07-03 Andreas Jaeger <aj@suse.de>
3073
3074 [BZ #10709]
3075 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3076 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3077 * math/libm-test.inc (sin_test): Add test case.
3078
3079 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3080
3081 [BZ #13337]
3082 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3083 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3084
3085 * elf/chroot_canon.c (chroot_canon): Cleanups.
3086
3087 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3088
3089 [BZ #13335]
3090 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3091 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3092
3093 * string/test-strchr.c: Make usable for strchrnul testing.
3094 * string/test-strchrnul.c: New file.
3095 * string/Makefile (strop-tests): Add strchrnul.
3096
3097 * po/it.po: Update from translation team.
3098 * po/es.po: Likewise.
3099
3100 2011-10-28 Ulrich Drepper <drepper@gmail.com>
3101
3102 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3103 the three constants needed as parameters. Drop the others.
3104 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3105 __m128i_strloadu_tolower.
3106 Create and initialize variable zero and use it in all the places
3107 where _mm_setzero_si128 was used.
3108
3109 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3110 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3111 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3112 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3113 anymore.
3114 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3115 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3116 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3117 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3118 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3119 __mpranred, __mptan.
3120 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3121 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3122 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3123 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3124 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3125 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3126 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3127 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3128 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3129
3130 2011-10-28 Andreas Schwab <schwab@redhat.com>
3131
3132 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3133 redefine if SHARED.
3134 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3135
3136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3137 wide char related routines to wcsmbs subdir.
3138
3139 2011-10-27 Andreas Schwab <schwab@redhat.com>
3140
3141 [BZ #13344]
3142 * misc/sys/cdefs.h (__THROWNL): Define.
3143 * posix/unistd.h: Use __THREADNL instead of __THREAD
3144 for memory synchronization functions.
3145
3146 2011-10-26 Roland McGrath <roland@hack.frob.com>
3147
3148 [BZ #13349]
3149 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3150 doesn't exist.
3151 * manual/stdio.texi (Obstack Streams): Node removed.
3152
3153 2011-10-26 Andreas Schwab <schwab@redhat.com>
3154
3155 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3156 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3157 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3158
3159 * math/math_private.h (math_force_eval): Allow non-addressable
3160 arguments.
3161 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3162
3163 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3164
3165 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3166 file is not needed.
3167
3168 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3169 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3170 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3171 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3172 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3173 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3174 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3175 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3176 Add AVX variants.
3177 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3178 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3179 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3180 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3181 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3182 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3183 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3184 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3185 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3186 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3187 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3188 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3189 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3190 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3191 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3192 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3193 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3194 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3195 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3196
3197 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3198 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3199
3200 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3201 place. Use VEX encoding when compiling for AVX.
3202
3203 2011-10-25 Andreas Schwab <schwab@redhat.com>
3204
3205 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3206 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3207
3208 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3209
3210 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3211
3212 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
3213 useless if() expression.
3214 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3215 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3216 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3217 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3218 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3219 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3220 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3221 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3222 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3223 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3224 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3225 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3226 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3227 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3228 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3229 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3230 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3232 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3233
3234 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3235
3236 2011-10-25 Andreas Schwab <schwab@redhat.com>
3237
3238 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3239 condition.
3240 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3241
3242 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3243
3244 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3245 .text section. Avoid duplicate constants.
3246 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3247 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3248 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3249 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3250 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3253 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3254 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3255 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3256 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3257 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3258 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3259 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3260 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3261 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3262 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3263 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3264 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3265 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3266 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3267 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3268 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3269 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3270 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3271 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3272 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3273 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3274 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3275 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3276 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3277 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3278 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3279 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3280 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3281 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3282 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3283 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3284 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3285 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3286 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3287 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3288 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3289 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3290 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3291
3292 2011-10-24 Ulrich Drepper <drepper@gmail.com>
3293
3294 * sysdeps/x86_64/dla.h: Move to ...
3295 * sysdeps/x86_64/fpu/dla.h: ...here.
3296 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3297 situations. Use __builtin_fma only for gcc 4.6 and up.
3298
3299 * config.make.in: Add have-mfma4 entry.
3300 * configure.in: Substitute libc_cv_cc_fma4.
3301 * math/Makefile (dbl-only-routines): Add sincostab.
3302 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3303 Use __sincostab not sincos.
3304 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3305 name is a macro.
3306 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3310 using __copysign.
3311 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3312 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3313 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3314 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3315 and __inv.
3316 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3317 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3318 __copysign.
3319 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3320 define aliases when function name is a macro.
3321 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3322 sysdeps/ieee754/dbl-64/sincos.tbl.
3323 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3324 fma4-enabled routines.
3325 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3326 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3327 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3328 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3329 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3330 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3331 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3332 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3333 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3334 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3335 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3336 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3337 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3338 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3339 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3340 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3341 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3342 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3343 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3344 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3345 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3346 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3347 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3348 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3349 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3350 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3351 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3352 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3353 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3354 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3355
3356 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3357 rename.
3358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3366
3367 2011-10-24 Andreas Schwab <schwab@redhat.com>
3368
3369 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3370
3371 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3372
3373 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3374
3375 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3376 prediction.
3377 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3378
3379 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3380 Remove unused variable magic_bits.
3381 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3382
3383 * string/strnlen.c: Define and use STRNLEN macro.
3384 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3385 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3386 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3387 * wcsmbs/wcslen.c: Define and use WCSLEN.
3388 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3389 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3390 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3391 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3392 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3393 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3394 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3395
3396 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3397
3398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3399 strnlen-sse2-no-bsf.
3400 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3401 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3402 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3403 Add strnlen support.
3404 (USE_AS_STRNLEN): New macro.
3405 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3406 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3407 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3408 * sysdeps/x86_64/wcslen.S: New file.
3409
3410 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3411
3412 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3413 XMM-moves are used for copying on small sizes.
3414
3415 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3416
3417 * wcsmbs/Makefile (strop-tests): Add wcschr.
3418 * wcsmbs/test-wcschr.c: New file.
3419 * string/test-strchr.c: Update.
3420 Add wcschr support.
3421 (WIDE): New macro.
3422
3423 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3424
3425 * wcsmbs/Makefile (strop-tests): Add wcslen.
3426 * wcsmbs/test-wcslen.c: New file.
3427 * string/test-strlen.c: Update.
3428 Add wcslen support.
3429 (WIDE): New macro.
3430
3431 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3432
3433 * po/it.po: Update from translation team.
3434
3435 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3436
3437 * sysdeps/x86_64/wcscmp.S: Update.
3438 Fix wrong comparison semantics.
3439 wcscmp shall use signed comparison not unsigned.
3440 Don't use substraction to avoid overflow bug.
3441 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3442 * wcsmbc/wcscmp.c: Likewise.
3443 * string/test-strcmp.c: Likewise.
3444 Add new tests to check cases with negative values.
3445
3446 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3447
3448 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3449 * sysdeps/x86_64/dla.h: ...here. New file.
3450 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3451 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3452 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3453 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3455 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3457 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3458 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3459
3460 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3461
3462 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3463 __ynl_finite aliases.
3464
3465 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3466
3467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3468
3469 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3470 define DLA_FMA.
3471 [DLA_FMA] (EMULV): Use DLA_FMA.
3472 [DLA_FMA] (MUL12): Use EMULV.
3473 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3474 that are not needed.
3475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3480 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3481 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3482
3483 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3484
3485 * math/s_nan.c: Undef __nan.
3486 * math/s_nanf.c: Undef __nanf.
3487 * math/s_nanl.c: Undef __nanl.
3488 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3489 "math_private.h".
3490
3491 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3492
3493 * math/s_catan.c: Add branch predictions.
3494 * math/s_catanf.c: Likewise.
3495 * math/s_catanh.c: Likewise.
3496 * math/s_catanhf.c: Likewise.
3497 * math/s_catanhl.c: Likewise.
3498 * math/s_catanl.c: Likewise.
3499 * math/s_cexp.c: Likewise.
3500 * math/s_cexpf.c: Likewise.
3501 * math/s_cexpl.c: Likewise.
3502 * math/s_clog.c: Likewise.
3503 * math/s_clog10.c: Likewise.
3504 * math/s_clog10f.c: Likewise.
3505 * math/s_clog10l.c: Likewise.
3506 * math/s_clogf.c: Likewise.
3507 * math/s_clogl.c: Likewise.
3508 * math/s_csqrt.c: Likewise.
3509 * math/s_csqrtf.c: Likewise.
3510 * math/s_csqrtl.c: Likewise.
3511 * math/s_ctanf.c: Likewise.
3512 * math/s_ctanh.c: Likewise.
3513 * math/s_ctanhf.c: Likewise.
3514 * math/s_ctanhl.c: Likewise.
3515 * math/s_ctanl.c: Likewise.
3516
3517 * math/math_private.h: Define __nan, __nanf, __nanl.
3518 * math/s_cacosh.c: Include <math_private.h>.
3519 * math/s_cacoshl.c: Likewise.
3520 * math/s_casinh.c: Likewise.
3521 * math/s_casinhf.c: Likewise.
3522 * math/s_casinhl.c: Likewise.
3523 * math/s_ccos.c: Rely entire on ccosh.
3524 * math/s_ccosf.c: Rely entire on ccoshf.
3525 * math/s_ccosl.c: Rely entirely on ccoshl.
3526 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3527 Remove tests for FE_INVALID.
3528 * math/s_ccoshf.c: Likewise.
3529 * math/s_ccoshl.c: Likewise.
3530 * math/s_csin.c: Likewise.
3531 * math/s_csinf.c: Likewise.
3532 * math/s_csinh.c Likewise.
3533 * math/s_csinhf.c: Likewise.
3534 * math/s_csinhl.c: Likewise.
3535 * math/s_csinl.c: Likewise.
3536 * math/s_ctan.c: Likewise.
3537 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3538 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3539 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3540
3541 2011-10-21 Ulrich Drepper <drepper@gmail.com>
3542
3543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3544 compilation problems.
3545
3546 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3547 __builtin_expect.
3548
3549 2011-10-20 Ulrich Drepper <drepper@gmail.com>
3550
3551 * sysdeps/i386/configure.in: Test for -mfma4 option.
3552 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3553 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3554 COMMON_CPUID_INDEX_80000001.
3555 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3556 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3557 use it if FMA3 is not supported.
3558 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3559
3560 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3561 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3562
3563 2011-10-20 Andreas Schwab <schwab@redhat.com>
3564
3565 [BZ #12892]
3566 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3567 it would create a cycle with a link time dependency.
3568
3569 2011-10-19 Ulrich Drepper <drepper@gmail.com>
3570
3571 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3572 instruction.
3573 * string/Makefile (strop-tests): Add rawmemchr.
3574 * string/test-rawmemchr.c: New file.
3575
3576 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3577 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3578 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3579 when compiling str{,n}casecmp and when AVX is available. Hook up
3580 new optimized code in initializers.
3581
3582 2011-10-19 Andreas Schwab <schwab@redhat.com>
3583
3584 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3585 __feraiseexcept instead of feraiseexcept.
3586
3587 2011-10-18 Ulrich Drepper <drepper@gmail.com>
3588
3589 * math/math_private.h: Define defaults for libc_fetestexcept and
3590 libc_feupdateenv.
3591 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3592 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3593 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3594 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3595 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3596 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3597 libc_fetestexcept and libc_feupdateenv.
3598
3599 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3600 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3601 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3602 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3603 libc_feholdexcept_setround.
3604
3605 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3606 Add s_nearbyint-c and s_nearbyintf-c.
3607 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3608 nearbyintf inlines.
3609 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3610 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3611 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3612 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3613
3614 * math/math_private.h: Define defaults for libc_fegetround,
3615 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3616 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3617 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3618 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3619 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3620 standard functions.
3621 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3622 Remove comments and hacks for old compiler versions.
3623 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3624 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3625 libc_feholdexceptl.
3626
3627 2011-10-18 Andreas Schwab <schwab@redhat.com>
3628
3629 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
3630 (__feraiseexcept_renamed): Add __NTH.
3631 (feraiseexcept): Add __NTH. Rename local variables to fix
3632 namespace violations.
3633
3634 2011-10-17 Ulrich Drepper <drepper@gmail.com>
3635
3636 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3637
3638 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3639
3640 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3641 recently added interfaces.
3642 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3643
3644 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3645 about macro parameter expansion.
3646
3647 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3648 __NO_MATH_INLINES is defined. Cleanups.
3649
3650 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3651 and __floorf is target has SSE4.1.
3652 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3653 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3654 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3655 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3656
3657 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3658 name.
3659 (floorf): Likewise.
3660
3661 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3662
3663 2011-10-17 Andreas Schwab <schwab@redhat.com>
3664
3665 * misc/sys/cdefs.h: Fix last change.
3666
3667 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3668 database lookup.
3669
3670 2011-10-16 Ulrich Drepper <drepper@gmail.com>
3671
3672 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3673
3674 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3675 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3676 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3677 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3678 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3679 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3680 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3681 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3682 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3683 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3684 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3685 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3686 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3687 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3688 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3689 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3690 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3691 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3692 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3693 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3694 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3695 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3696
3697 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3698 ceil, ceilf, floor, floorf.
3699
3700 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3701 Perform IRELATIVE relocations last.
3702
3703 * elf/do-rel.h: Add another parameter nrelative, replacing the
3704 local variable with the same name. Change name of the function
3705 to end in Rel or Rela (uppercase).
3706 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3707 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3708 elf_dynamic_do_##reloc function.
3709
3710 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3711
3712 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3713 is sufficient, at least on modern CPUs.
3714
3715 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3716
3717 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3718 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3719
3720 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3721 __expl_finite.
3722 * math/bits/math-finite.h: Add entries for exp.
3723 * math/e_expl.c: Add __*_finite alias.
3724 * sysdeps/i386/fpu/e_exp.S: Likewise.
3725 * sysdeps/i386/fpu/e_expf.S: Likewise.
3726 * sysdeps/i386/fpu/e_expl.c: Likewise.
3727 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3728 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3732 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3733 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3734
3735 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3736 is sufficient, at least on modern CPUs.
3737
3738 * ctype/ctype-info.c (__ctype_init): Define.
3739 * include/ctype.h (__ctype_init): Declare.
3740 (__ctype_b_loc): The variable is always initialized.
3741 (__ctype_toupper_loc): Likewise.
3742 (__ctype_tolower_loc): Likewise.
3743 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3744 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3745
3746 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3747
3748 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3749
3750 * configure.in: Also look in $cxxmachine/include for C++ system
3751 headers.
3752
3753 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3754
3755 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3756 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3757 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3758 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3759 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3760 (USE_AS_WMEMCMP): New macro.
3761 Fixing indents.
3762 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3763 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3764 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3765 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3767 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3768 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3769 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3770 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3771 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3772 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3773 (USE_AS_WMEMCMP): New macro.
3774 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3775 * sysdeps/string/test-memcmp.c: Update.
3776 Fix simple_wmemcmp.
3777 Add new tests.
3778 * wcsmbs/wmemcmp.c: Update.
3779 (WMEMCMP): New macro.
3780 Fix overflow bug.
3781
3782 2011-10-12 Andreas Jaeger <aj@suse.de>
3783
3784 [BZ #13268]
3785 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3786
3787 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3788
3789 * libio/iofwide.c (do_length): Avoid warning.
3790
3791 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3792
3793 2011-10-14 Ulrich Drepper <drepper@gmail.com>
3794
3795 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3796
3797 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3798 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3799 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3800 * sysdeps/i386/i686/fpu/e_log.S: New file.
3801 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3802 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3803
3804 * ctype/ctype.h: Add support for inlined isXXX functions when
3805 compiling C++ code.
3806
3807 2011-10-14 Andreas Schwab <schwab@redhat.com>
3808
3809 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3810
3811 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3812
3813 2011-10-13 Roland McGrath <roland@hack.frob.com>
3814
3815 [BZ #13291]
3816 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3817
3818 2011-10-13 Andreas Schwab <schwab@redhat.com>
3819
3820 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3821 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3822 feraiseexcept.
3823
3824 * sysdeps/x86_64/memrchr.S: Check for zero size.
3825
3826 * string/stratcliff.c: Add memrchr tests.
3827
3828 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3829
3830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3831 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3832 rawmemchr-sse2 rawmemchr-sse2-bsf.
3833 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3834 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3835 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3836 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3837 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3838 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3839 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3840 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3841 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3842 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3843 * string/memrchr.c (MEMRCHR): New macro.
3844
3845 2011-10-12 Ulrich Drepper <drepper@gmail.com>
3846
3847 Add integration with gcc's -ffinite-math-only and optimize wrapper
3848 functions in libm.
3849 * Versions.def: Define GLIBC_2.15 version for libm.
3850 * math/Makefile (headers): Add bits/math-finite.h.
3851 * math/bits/math-finite.h: New file.
3852 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3853 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3854 * math/e_acoshl.c: Add __*_finite alias.
3855 * math/e_acosl.c: Likewise.
3856 * math/e_asinl.c: Likewise.
3857 * math/e_atan2l.c: Likewise.
3858 * math/e_atanhl.c: Likewise.
3859 * math/e_coshl.c: Likewise.
3860 * math/e_exp10.c: Likewise.
3861 * math/e_exp10f.c: Likewise.
3862 * math/e_exp10l.c: Likewise.
3863 * math/e_exp2l.c: Likewise.
3864 * math/e_fmodl.c: Likewise.
3865 * math/e_gammal_r.c: Likewise.
3866 * math/e_hypotl.c: Likewise.
3867 * math/e_j0l.c: Likewise.
3868 * math/e_j1l.c: Likewise.
3869 * math/e_jnl.c: Likewise.
3870 * math/e_lgammal_r.c: Likewise.
3871 * math/e_log10l.c: Likewise.
3872 * math/e_log2l.c: Likewise.
3873 * math/e_logl.c: Likewise.
3874 * math/e_powl.c: Likewise.
3875 * math/e_sinhl.c: Likewise.
3876 * math/e_sqrtl.c: Likewise.
3877 * math/e_scalb.c: Completely rewritten and optimized.
3878 * math/e_scalbf.c: Likewise.
3879 * math/e_scalbl.c: Likewise.
3880 * math/w_acos.c: Likewise.
3881 * math/w_acosf.c: Likewise.
3882 * math/w_acosl.c: Likewise.
3883 * math/w_acosh.c: Likewise.
3884 * math/w_acoshf.c: Likewise.
3885 * math/w_acoshl.c: Likewise.
3886 * math/w_asin.c: Likewise.
3887 * math/w_asinf.c: Likewise.
3888 * math/w_asinl.c: Likewise.
3889 * math/w_atan2.c: Likewise.
3890 * math/w_atan2f.c: Likewise.
3891 * math/w_atan2l.c: Likewise.
3892 * math/w_atanh.c: Likewise.
3893 * math/w_atanhf.c: Likewise.
3894 * math/w_atanhl.c: Likewise.
3895 * math/w_exp10.c: Likewise.
3896 * math/w_exp10f.c: Likewise.
3897 * math/w_exp10l.c: Likewise.
3898 * math/w_fmod.c: Likewise.
3899 * math/w_fmodf.c: Likewise.
3900 * math/w_fmodl.c: Likewise.
3901 * math/w_j0.c: Likewise.
3902 * math/w_j0f.c: Likewise.
3903 * math/w_j0l.c: Likewise.
3904 * math/w_j1.c: Likewise.
3905 * math/w_j1f.c: Likewise.
3906 * math/w_j1l.c: Likewise.
3907 * math/w_jn.c: Likewise.
3908 * math/w_jnf.c: Likewise.
3909 * math/w_log.c: Likewise.
3910 * math/w_logf.c: Likewise.
3911 * math/w_logl.c: Likewise.
3912 * math/w_log10.c: Likewise.
3913 * math/w_log10f.c: Likewise.
3914 * math/w_log10l.c: Likewise.
3915 * math/w_log2.c: Likewise.
3916 * math/w_log2f.c: Likewise.
3917 * math/w_log2l.c: Likewise.
3918 * math/w_pow.c: Likewise.
3919 * math/w_powf.c: Likewise.
3920 * math/w_powl.c: Likewise.
3921 * math/w_remainder.c: Likewise.
3922 * math/w_remainderf.c: Likewise.
3923 * math/w_remainderl.c: Likewise.
3924 * math/w_scalb.c: Likewise.
3925 * math/w_scalbf.c: Likewise.
3926 * math/w_scalbl.c: Likewise.
3927 * math/w_sqrt.c: Likewise.
3928 * math/w_sqrtf.c: Likewise.
3929 * math/w_sqrtl.c: Likewise.
3930 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3931 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3932 used.
3933 * math/math_private.h: Declare __kernel_standard_f.
3934 * math/w_cosh.c: Remove cruft and optimize a bit.
3935 * math/w_coshf.c: Likewise.
3936 * math/w_coshl.c: Likewise.
3937 * math/w_exp2.c: Likewise.
3938 * math/w_exp2f.c: Likewise.
3939 * math/w_exp2l.c: Likewise.
3940 * math/w_hypot.c: Likewise.
3941 * math/w_hypotf.c: Likewise.
3942 * math/w_hypotl.c: Likewise.
3943 * math/w_lgamma.c: Likewise.
3944 * math/w_lgamma_r.c: Likewise.
3945 * math/w_lgammaf.c: Likewise.
3946 * math/w_lgammaf_r.c: Likewise.
3947 * math/w_lgammal.c: Likewise.
3948 * math/w_lgammal_r.c: Likewise.
3949 * math/w_sinh.c: Likewise.
3950 * math/w_sinhf.c: Likewise.
3951 * math/w_sinhl.c: Likewise.
3952 * math/w_tgamma.c: Likewise.
3953 * math/w_tgammaf.c: Likewise.
3954 * math/w_tgammal.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3956 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3957 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3958 Minor optimizations. Pretty printing. Remove cruft.
3959 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3960 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3961 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3962 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3963 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3964 * sysdeps/i386/fpu/e_asin.S: Likewise.
3965 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3966 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3967 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3968 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3969 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3970 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3971 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3972 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3973 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3974 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3975 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3976 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3977 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3978 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3979 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3980 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3981 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3982 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3983 * sysdeps/i386/fpu/e_log.S: Likewise.
3984 * sysdeps/i386/fpu/e_log10.S: Likewise.
3985 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3986 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3987 * sysdeps/i386/fpu/e_log2.S: Likewise.
3988 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3989 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3990 * sysdeps/i386/fpu/e_logf.S: Likewise.
3991 * sysdeps/i386/fpu/e_logl.S: Likewise.
3992 * sysdeps/i386/fpu/e_pow.S: Likewise.
3993 * sysdeps/i386/fpu/e_powf.S: Likewise.
3994 * sysdeps/i386/fpu/e_powl.S: Likewise.
3995 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3996 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3997 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3998 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3999 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4000 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4001 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4002 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4003 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4007 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4008 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4009 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4010 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4012 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4013 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4014 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4015 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4017 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4018 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4019 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4021 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4022 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4023 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4025 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4026 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4027 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4028 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4029 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4030 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4031 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4032 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4033 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4034 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4035 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4036 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4037 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4038 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4039 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4040 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4041 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4042 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4043 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4044 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4045 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4050 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4052 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4056 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4084 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4087 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4089 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4090 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4092 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4095 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4096 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4097 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4098 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4099 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4100 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4101 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4102 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4103 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4104 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4105 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4106 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4107 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4108 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4109 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4110 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4111 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4112 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4113 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4114 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4115 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4116 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4117 (__isnanf): Likewise.
4118 (__isinf_ns): Likewise.
4119 (__isinf_nsf): Likewise.
4120 (__finite): Likewise.
4121 (__finitef): Likewise.
4122 (__ieee754_sqrt): Define as macro.
4123 (__ieee754_sqrtf): Define as macro.
4124 (__ieee754_sqrtl): Define as macro.
4125 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4126 inlined copy.
4127 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4128 __FINITE_MATH_ONLY__ consistent.
4129 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4130
4131 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4132
4133 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4134 of rawmemchr.
4135
4136 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4137
4138 2011-10-09 Ulrich Drepper <drepper@gmail.com>
4139
4140 * po/ja.po: Update from translation team.
4141
4142 2011-10-08 Roland McGrath <roland@hack.frob.com>
4143
4144 * locale/programs/locarchive.c (prepare_address_space): New function.
4145 (create_archive, enlarge_archive, open_archive): Use it.
4146
4147 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4148 inside [SHARED], where it is used.
4149
4150 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4151
4152 * nss/getent.c (netgroup_keys): Remove unused variable.
4153 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4154
4155 2011-10-08 Ulrich Drepper <drepper@gmail.com>
4156
4157 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4158 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4160 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4161 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4162 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4163 * math/Makefile (libm-calls): Add s_isinf_ns.
4164 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4165 * math/multc3.c: Likewise.
4166 * math/s_casin.c: Likewise.
4167 * math/s_casinf.c: Likewise.
4168 * math/s_casinl.c: Likewise.
4169 * math/s_ccos.c: Likewise.
4170 * math/s_ccosf.c: Likewise.
4171 * math/s_ccosl.c: Likewise.
4172 * math/s_ctan.c: Likewise.
4173 * math/s_ctanf.c: Likewise.
4174 * math/s_ctanh.c: Likewise.
4175 * math/s_ctanhf.c: Likewise.
4176 * math/s_ctanhl.c: Likewise.
4177 * math/s_ctanl.c: Likewise.
4178 * math/w_fmod.c: Likewise.
4179 * math/w_fmodf.c: Likewise.
4180 * math/w_fmodl.c: Likewise.
4181 * math/w_remainder.c: Likewise.
4182 * math/w_remainderf.c: Likewise.
4183 * math/w_remainderl.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4185 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4186 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4188 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4189 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4190 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4191 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4192
4193 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4194 of the number.
4195 * stdio-common/printf_fphex.c: Likewise.
4196 * stdio-common/printf_size.c: Likewise.
4197
4198 * math/e_exp10.c: Include math_private.h using <...> not "...".
4199 * math/e_exp10f.c: Likewise.
4200 * math/e_exp10l.c: Likewise.
4201 * math/e_exp2l.c: Likewise.
4202 * math/e_j0l.c: Likewise.
4203 * math/e_j1l.c: Likewise.
4204 * math/e_jnl.c: Likewise.
4205 * math/e_lgammal_r.c: Likewise.
4206 * math/e_rem_pio2l.c: Likewise.
4207 * math/e_scalb.c: Likewise.
4208 * math/e_scalbf.c: Likewise.
4209 * math/e_scalbl.c: Likewise.
4210 * math/k_cosl.c: Likewise.
4211 * math/k_sinl.c: Likewise.
4212 * math/k_tanl.c: Likewise.
4213 * math/s_cacoshf.c: Likewise.
4214 * math/s_catan.c: Likewise.
4215 * math/s_catanf.c: Likewise.
4216 * math/s_catanh.c: Likewise.
4217 * math/s_catanhf.c: Likewise.
4218 * math/s_catanhl.c: Likewise.
4219 * math/s_catanl.c: Likewise.
4220 * math/s_ccosh.c: Likewise.
4221 * math/s_ccoshf.c: Likewise.
4222 * math/s_ccoshl.c: Likewise.
4223 * math/s_cexp.c: Likewise.
4224 * math/s_cexpf.c: Likewise.
4225 * math/s_cexpl.c: Likewise.
4226 * math/s_clog.c: Likewise.
4227 * math/s_clog10.c: Likewise.
4228 * math/s_clog10f.c: Likewise.
4229 * math/s_clog10l.c: Likewise.
4230 * math/s_clogf.c: Likewise.
4231 * math/s_clogl.c: Likewise.
4232 * math/s_csin.c: Likewise.
4233 * math/s_csinf.c: Likewise.
4234 * math/s_csinh.c: Likewise.
4235 * math/s_csinhf.c: Likewise.
4236 * math/s_csinhl.c: Likewise.
4237 * math/s_csinl.c: Likewise.
4238 * math/s_csqrt.c: Likewise.
4239 * math/s_csqrtf.c: Likewise.
4240 * math/s_csqrtl.c: Likewise.
4241 * math/s_ctan.c: Likewise.
4242 * math/s_ctanf.c: Likewise.
4243 * math/s_ctanh.c: Likewise.
4244 * math/s_ctanhf.c: Likewise.
4245 * math/s_ctanhl.c: Likewise.
4246 * math/s_ctanl.c: Likewise.
4247 * math/s_ldexp.c: Likewise.
4248 * math/s_ldexpf.c: Likewise.
4249 * math/s_ldexpl.c: Likewise.
4250 * math/s_significand.c: Likewise.
4251 * math/s_significandf.c: Likewise.
4252 * math/s_significandl.c: Likewise.
4253 * math/w_acos.c: Likewise.
4254 * math/w_acosf.c: Likewise.
4255 * math/w_acosh.c: Likewise.
4256 * math/w_acoshf.c: Likewise.
4257 * math/w_acoshl.c: Likewise.
4258 * math/w_acosl.c: Likewise.
4259 * math/w_asin.c: Likewise.
4260 * math/w_asinf.c: Likewise.
4261 * math/w_asinl.c: Likewise.
4262 * math/w_atan2.c: Likewise.
4263 * math/w_atan2f.c: Likewise.
4264 * math/w_atan2l.c: Likewise.
4265 * math/w_atanh.c: Likewise.
4266 * math/w_atanhf.c: Likewise.
4267 * math/w_atanhl.c: Likewise.
4268 * math/w_cosh.c: Likewise.
4269 * math/w_coshf.c: Likewise.
4270 * math/w_coshl.c: Likewise.
4271 * math/w_dremf.c: Likewise.
4272 * math/w_exp10.c: Likewise.
4273 * math/w_exp10f.c: Likewise.
4274 * math/w_exp10l.c: Likewise.
4275 * math/w_exp2.c: Likewise.
4276 * math/w_exp2f.c: Likewise.
4277 * math/w_fmod.c: Likewise.
4278 * math/w_fmodf.c: Likewise.
4279 * math/w_fmodl.c: Likewise.
4280 * math/w_hypot.c: Likewise.
4281 * math/w_hypotf.c: Likewise.
4282 * math/w_hypotl.c: Likewise.
4283 * math/w_j0.c: Likewise.
4284 * math/w_j0f.c: Likewise.
4285 * math/w_j0l.c: Likewise.
4286 * math/w_j1.c: Likewise.
4287 * math/w_j1f.c: Likewise.
4288 * math/w_j1l.c: Likewise.
4289 * math/w_jn.c: Likewise.
4290 * math/w_jnf.c: Likewise.
4291 * math/w_jnl.c: Likewise.
4292 * math/w_lgamma.c: Likewise.
4293 * math/w_lgamma_r.c: Likewise.
4294 * math/w_lgammaf.c: Likewise.
4295 * math/w_lgammaf_r.c: Likewise.
4296 * math/w_lgammal.c: Likewise.
4297 * math/w_lgammal_r.c: Likewise.
4298 * math/w_log.c: Likewise.
4299 * math/w_log10.c: Likewise.
4300 * math/w_log10f.c: Likewise.
4301 * math/w_log10l.c: Likewise.
4302 * math/w_log2.c: Likewise.
4303 * math/w_log2f.c: Likewise.
4304 * math/w_log2l.c: Likewise.
4305 * math/w_logf.c: Likewise.
4306 * math/w_logl.c: Likewise.
4307 * math/w_pow.c: Likewise.
4308 * math/w_powf.c: Likewise.
4309 * math/w_powl.c: Likewise.
4310 * math/w_remainder.c: Likewise.
4311 * math/w_remainderf.c: Likewise.
4312 * math/w_remainderl.c: Likewise.
4313 * math/w_scalb.c: Likewise.
4314 * math/w_scalbf.c: Likewise.
4315 * math/w_scalbl.c: Likewise.
4316 * math/w_sinh.c: Likewise.
4317 * math/w_sinhf.c: Likewise.
4318 * math/w_sinhl.c: Likewise.
4319 * math/w_sqrt.c: Likewise.
4320 * math/w_sqrtf.c: Likewise.
4321 * math/w_sqrtl.c: Likewise.
4322 * math/w_tgamma.c: Likewise.
4323 * math/w_tgammaf.c: Likewise.
4324 * math/w_tgammal.c: Likewise.
4325
4326 * po/ja.po: Update from translation team.
4327
4328 2011-09-29 Andreas Jaeger <aj@suse.de>
4329
4330 [BZ #13179]
4331 * sunrpc/netname.c (netname2host): Fix logic.
4332
4333 [BZ #6779]
4334 [BZ #6783]
4335 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4336 correctly.
4337 * math/w_remainder.c (__remainder): Likewise.
4338 * math/w_remainderf.c (__remainderf): Likewise.
4339 * math/libm-test.inc (remainder_test): Add test cases.
4340
4341 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4342
4343 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4344 sdiv_qrnnd.
4345
4346 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4347
4348 * string/test-memcmp.c: Avoid unncessary #defines.
4349 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4350
4351 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4352
4353 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4354 Use new sse2 version for core i3 - i7 as it's faster
4355 than sse42 version.
4356 (bit_Prefer_PMINUB_for_stringop): New.
4357 * sysdeps/x86_64/rawmemchr.S: Update.
4358 Replace with faster SSE2 version.
4359 * sysdeps/x86_64/memrchr.S: New file.
4360 * sysdeps/x86_64/memchr.S: Update.
4361 Replace with faster SSE2 version.
4362
4363 2011-09-12 Marek Polacek <mpolacek@redhat.com>
4364
4365 * elf/dl-load.c (lose): Add cast to avoid warning.
4366
4367 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4368
4369 * po/ca.po: Update from translation team.
4370
4371 * inet/getnetgrent_r.c: Hook up nscd.
4372 * nscd/Makefile (routines): Add nscd_netgroup.
4373 (nscd-modules): Add netgroupcache.
4374 (CFLAGS-netgroupcache.c): Define.
4375 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4376 (cache_search): Add const to second parameter.
4377 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4378 INNETGR.
4379 (dbs): Add netgrdb entry.
4380 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4381 (verify_persistent_db): Handle netgrdb.
4382 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4383 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4384 GETFDNETGR.
4385 (netgroup_response_header): Define.
4386 (innetgroup_response_header): Define.
4387 (datahead): Add netgroup_response_header and innetgroup_response_header
4388 elements.
4389 * nscd/nscd.conf: Add entries for netgroup cache.
4390 * nscd/nscd.h (dbtype): Add netgrdb.
4391 (_PATH_NSCD_NETGROUP_DB): Define.
4392 (netgroup_iov_disabled): Declare.
4393 (xmalloc, xcalloc, xrealloc): Move declarations here.
4394 (cache_search): Adjust prototype.
4395 Add netgroup-related prototypes.
4396 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4397 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4398 (__nscd_innetgr): Declare.
4399 * nscd/selinux.c (perms): Use access_vector_t as element type and
4400 add netgroup-related initializers.
4401 * nscd/netgroupcache.c: New file.
4402 * nscd/nscd_netgroup.c: New file.
4403 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4404 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4405 For four parameters use innetgr.
4406 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4407 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4408 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4409 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4410
4411 * nscd/connections.c (register_traced_file): Don't register file
4412 for disabled databases.
4413
4414 2011-10-06 Ulrich Drepper <drepper@gmail.com>
4415
4416 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4417
4418 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4419 from tree and freeing node.
4420
4421 2011-09-25 Jiri Olsa <jolsa@redhat.com>
4422
4423 * nss/nsswitch.c (__nss_database_lookup): Handle
4424 nss_parse_service_list out of memory case.
4425
4426 2011-09-15 Jiri Olsa <jolsa@redhat.com>
4427
4428 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4429 out of memory case.
4430
4431 2011-10-04 Andreas Schwab <schwab@redhat.com>
4432
4433 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4434 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4435 pass it down.
4436 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4437 elf_machine_rela, elf_machine_lazy_rel.
4438 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4439 (ELF_DYNAMIC_DO_REL): Likewise.
4440 (ELF_DYNAMIC_DO_RELA): Likewise.
4441 (ELF_DYNAMIC_RELOCATE): Likewise.
4442 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4443 to ELF_DYNAMIC_DO_REL.
4444 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4445 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4446 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4447 elf_machine_rela.
4448 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4449 skip_ifunc, don't call ifunc function if non-zero.
4450 (elf_machine_rela): Likewise.
4451 (elf_machine_lazy_rel): Likewise.
4452 (elf_machine_lazy_rela): Likewise.
4453 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4454 (elf_machine_lazy_rel): Likewise.
4455 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4456 Likewise.
4457 (elf_machine_lazy_rel): Likewise.
4458 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4459 Likewise.
4460 (elf_machine_lazy_rel): Likewise.
4461 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4462 (elf_machine_lazy_rel): Likewise.
4463 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4464 (elf_machine_lazy_rel): Likewise.
4465 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4466 (elf_machine_lazy_rel): Likewise.
4467 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4468 (elf_machine_lazy_rel): Likewise.
4469 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4470 (elf_machine_lazy_rel): Likewise.
4471 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4472 (elf_machine_lazy_rel): Likewise.
4473
4474 2011-09-28 Ulrich Drepper <drepper@gmail.com>
4475
4476 * nss/nss_files/files-init.c (_nss_files_init): Use static
4477 initialization for all the *_traced_file variables.
4478
4479 2011-09-28 Andreas Schwab <schwab@redhat.com>
4480
4481 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4482
4483 2011-09-27 Roland McGrath <roland@hack.frob.com>
4484
4485 [BZ #13226]
4486 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4487
4488 2011-09-27 Andreas Schwab <schwab@redhat.com>
4489
4490 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4491 Reread the line before reparsing it.
4492
4493 2011-09-26 Andreas Schwab <schwab@redhat.com>
4494
4495 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4496
4497 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4498 Maxim Kuvyrkov <maxim@codesourcery.com>
4499 Joseph Myers <joseph@codesourcery.com>
4500
4501 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4502 if needed for __stack_chk_guard.
4503
4504 2011-09-19 Roland McGrath <roland@hack.frob.com>
4505
4506 * sysdeps/posix/spawni.c (script_execute): Always define it.
4507 It will be optimized away if unused.
4508 (maybe_script_execute): New function.
4509 (__spawni): Call it.
4510
4511 * Makerules: Don't include tls.make.
4512 (config-tls): Always set to thread.
4513 * tls.make.c: File removed.
4514
4515 2011-09-19 Mike Frysinger <vapier@gentoo.org>
4516
4517 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4518 * config.make.in (CPPFLAGS-config): New substituted variable.
4519
4520 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4521
4522 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4523
4524 [BZ #13192]
4525 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4526 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4527
4528 2011-09-15 Roland McGrath <roland@hack.frob.com>
4529
4530 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4531 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4532 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4533 (CALL_FAIL): Likewise.
4534 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4535 (CALL_FAIL): Macro removed.
4536 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4537
4538 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4539
4540 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4541 for __FINITE_MATH_ONLY__ == 1.
4542
4543 2011-09-15 Andreas Schwab <schwab@redhat.com>
4544
4545 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4546 __ieee754_sqrt instead of sqrt.
4547 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4548 __ieee754_sqrtf instead of sqrtf.
4549 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4550 __floorf instead of floorf.
4551 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4552 __floorf, __truncf instead of floorf, truncf.
4553
4554 2011-09-14 Ulrich Drepper <drepper@gmail.com>
4555
4556 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4557
4558 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4559 __extern_always_inline.
4560 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4561 32-bit.
4562
4563 2011-09-14 Andreas Schwab <schwab@redhat.com>
4564
4565 * elf/rtld.c (dl_main): Also relocate in dependency order when
4566 doing symbol dependency testing.
4567
4568 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4569
4570 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4571 Always define `refsym'.
4572
4573 2011-09-13 Andreas Schwab <schwab@redhat.com>
4574
4575 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4576 (__FD_ELT): Renamed from __FDELT.
4577 * misc/bits/select2.h (__FD_ELT): Likewise.
4578 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4579 __FD_MASK instead of __FDELT, __FDMASK.
4580 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4581 Likewise.
4582 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4583 Likewise.
4584
4585 * elf/Makefile (gen-ldd): Fix pattern.
4586
4587 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4588 (init_tls): Likewise.
4589
4590 2011-09-12 Ulrich Drepper <drepper@gmail.com>
4591
4592 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4593
4594 2011-09-12 Andreas Schwab <schwab@redhat.com>
4595
4596 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4597 `struct cmsghdr *' instead of `void *'.
4598 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4599 Likewise.
4600
4601 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4602
4603 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4604 if non-absolute.
4605 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4606 ldd_rewrite_script.
4607
4608 2011-09-11 Ulrich Drepper <drepper@gmail.com>
4609
4610 * configure.in: Remove --with-tls option.
4611 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4612 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4613 out in case it is missing.
4614 * sysdeps/ia64/elf/configure.in: Likewise.
4615 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4616 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4617 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4618 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4619 * sysdeps/sh/elf/configure.in: Likewise.
4620 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4621 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4622 * sysdeps/x86_64/elf/configure.in: Likewise.
4623 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4624 * sysdeps/mach/hurd/tls.h: Likewise.
4625
4626 [BZ #13067]
4627 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4628
4629 [BZ #13090]
4630 * configure.in: Fix use of AC_INIT.
4631
4632 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4633
4634 2011-09-10 Ulrich Drepper <drepper@gmail.com>
4635
4636 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4637 __set_errno.
4638 * malloc/hooks.c: Likewise.
4639
4640 [BZ #11929]
4641 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4642 variables statically.
4643 (narenas): Initialize.
4644 (list_lock): Initialize.
4645 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4646 initializtion of main_arena and list_lock. Small cleanups.
4647 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4648 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4649 Add initializers to main_arena and mp_.
4650 (malloc_state): Remove pagesize member. Change all users to use
4651 GLRO(dl_pagesize).
4652
4653 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4654 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4655 is always initialized.
4656
4657 * malloc/malloc.c: Removed unused configurations and dead code.
4658 * malloc/arena.c: Likewise.
4659 * malloc/hooks.c: Likewise.
4660 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
4661
4662 * include/tls.h: Removed. USE___THREAD must always be defined.
4663 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4664 * elf/dl-libc.c: Likewise.
4665 * elf/dl-tsd.c: Likewise.
4666 * include/errno.h: Likewise.
4667 * include/netdb.h: Likewise.
4668 * include/resolv.h: Likewise.
4669 * inet/herrno-loc.c: Likewise.
4670 * inet/herrno.c: Likewise.
4671 * malloc/arena.c: Likewise.
4672 * malloc/hooks.c: Likewise.
4673 * malloc/malloc.c: Likewise.
4674 * resolv/res-state.c: Likewise.
4675 * resolv/res_libc.c: Likewise.
4676 * sysdeps/i386/dl-machine.h: Likewise.
4677 * sysdeps/ia64/dl-machine.h: Likewise.
4678 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4679 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4680 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4681 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4682 * sysdeps/sh/dl-machine.h: Likewise.
4683 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4684 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4685 * sysdeps/unix/i386/sysdep.S: Likewise.
4686 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4687 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4688 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4689 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4690 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4691 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4692 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4694 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4696 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4697 * sysdeps/x86_64/dl-machine.h: Likewise.
4698 * tls.make.c: Likewise.
4699
4700 * configure.in: Remove --with-__thread option. Make tests for
4701 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4702 tls_model attribute fail if no support is available. Remove
4703 USE_IN_LIBIO.
4704 * Makeconfig: Adjust for dropped configure option. All features are
4705 now mandatory.
4706 * Makerules: Likewise.
4707 * Versions.def: Likewise.
4708 * argp/argp-fmtstream.c: Likewise.
4709 * argp/argp-fmtstream.h: Likewise.
4710 * argp/argp-help.c: Likewise.
4711 * assert/assert.c: Likewise.
4712 * config.h.in: Likewise.
4713 * config.make.in: Likewise.
4714 * configure: Likewise.
4715 * configure.in: Likewise.
4716 * csu/Versions: Likewise.
4717 * csu/init.c: Likewise.
4718 * elf/tst-audit2.c: Likewise.
4719 * elf/tst-tls10.c: Likewise.
4720 * elf/tst-tls10.h: Likewise.
4721 * elf/tst-tls11.c: Likewise.
4722 * elf/tst-tls12.c: Likewise.
4723 * elf/tst-tls14.c: Likewise.
4724 * elf/tst-tlsmod11.c: Likewise.
4725 * elf/tst-tlsmod12.c: Likewise.
4726 * elf/tst-tlsmod13.c: Likewise.
4727 * elf/tst-tlsmod13a.c: Likewise.
4728 * elf/tst-tlsmod14a.c: Likewise.
4729 * elf/tst-tlsmod15b.c: Likewise.
4730 * elf/tst-tlsmod16a.c: Likewise.
4731 * elf/tst-tlsmod16b.c: Likewise.
4732 * elf/tst-tlsmod7.c: Likewise.
4733 * elf/tst-tlsmod8.c: Likewise.
4734 * elf/tst-tlsmod9.c: Likewise.
4735 * gmon/gmon.c: Likewise.
4736 * grp/fgetgrent_r.c: Likewise.
4737 * grp/putgrent.c: Likewise.
4738 * hurd/fopenport.c: Likewise.
4739 * include/libc-symbols.h: Likewise.
4740 * include/tls.h: Likewise.
4741 * intl/gettextP.h: Likewise.
4742 * intl/loadinfo.h: Likewise.
4743 * locale/global-locale.c: Likewise.
4744 * locale/localeinfo.h: Likewise.
4745 * mach/devstream.c: Likewise.
4746 * malloc/arena.c: Likewise.
4747 * malloc/set-freeres.c: Likewise.
4748 * misc/err.c: Likewise.
4749 * misc/getttyent.c: Likewise.
4750 * misc/mntent_r.c: Likewise.
4751 * posix/getopt.c: Likewise.
4752 * posix/wordexp.c: Likewise.
4753 * pwd/fgetpwent_r.c: Likewise.
4754 * resolv/Versions: Likewise.
4755 * resolv/res_hconf.c: Likewise.
4756 * shadow/fgetspent_r.c: Likewise.
4757 * shadow/putspent.c: Likewise.
4758 * stdio-common/printf_fphex.c: Likewise.
4759 * stdio-common/tmpfile.c: Likewise.
4760 * stdlib/abort.c: Likewise.
4761 * stdlib/fmtmsg.c: Likewise.
4762 * sunrpc/auth_unix.c: Likewise.
4763 * sunrpc/clnt_perr.c: Likewise.
4764 * sunrpc/clnt_tcp.c: Likewise.
4765 * sunrpc/clnt_udp.c: Likewise.
4766 * sunrpc/clnt_unix.c: Likewise.
4767 * sunrpc/openchild.c: Likewise.
4768 * sunrpc/svc_simple.c: Likewise.
4769 * sunrpc/svc_tcp.c: Likewise.
4770 * sunrpc/svc_udp.c: Likewise.
4771 * sunrpc/svc_unix.c: Likewise.
4772 * sunrpc/xdr.c: Likewise.
4773 * sunrpc/xdr_array.c: Likewise.
4774 * sunrpc/xdr_rec.c: Likewise.
4775 * sunrpc/xdr_ref.c: Likewise.
4776 * sunrpc/xdr_stdio.c: Likewise.
4777
4778 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4779
4780 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4781
4782 2011-07-03 Andreas Jaeger <aj@suse.de>
4783
4784 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4785 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4786 regenerate with gen-libm-tests.pl.
4787
4788 2010-05-12 Petr Baudis <pasky@suse.cz>
4789
4790 [BZ #11589]
4791 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4792 around j0() zero points by switching to j1().
4793 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4794 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4796 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4797
4798 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4799
4800 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4801 instead of 0.
4802 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4803 instead of 0. .
4804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4805 Patch in part by Pavel Roskin <proski@gnu.org>.
4806
4807 [BZ #13138]
4808 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4809 realloc.
4810 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4811 Free memory block if necessary.
4812
4813 [BZ #12847]
4814 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4815 be NULL. Don't lock in this case.
4816
4817 2011-09-09 Roland McGrath <roland@hack.frob.com>
4818
4819 * elf/elf.h (ELFOSABI_GNU): New macro.
4820 (ELFOSABI_LINUX): Define to that.
4821
4822 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4823
4824 * string/strncat.c (strncat): Undef the symbol in case it has been
4825 defined in bits/string.h.
4826
4827 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4828
4829 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4830
4831 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
4832 link map.
4833
4834 2011-08-17 Andreas Jaeger <aj@suse.de>
4835
4836 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4837
4838 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4839 Ian Lance Taylor <iant@google.com>
4840
4841 * math/libm-test.inc (lround_test): New testcase.
4842 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4843
4844 2011-09-08 Ulrich Drepper <drepper@gmail.com>
4845
4846 * Makefile: Remove support for automatic cvs check-ins.
4847 * Makerules: Likewise.
4848 * config.make.in: Likewise.
4849 * configure.in: Likewise.
4850 * intl/Makefile: Likewise.
4851 * locale/Makefile: Likewise.
4852 * po/Makefile: Likewise.
4853 * posix/Makefile: Likewise.
4854 * sysdeps/gnu/Makefile: Likewise.
4855 * sysdeps/mach/hurd/Makefile: Likewise.
4856 * sysdeps/sparc/sparc32/Makefile: Likewise.
4857
4858 [BZ #13118]
4859 * posix/Makefile (bug-regex32-ENV): Define.
4860 Patch by John Stanley <jpsinthemix@verizon.net>.
4861
4862 * misc/Makefile (headers): Add bits/select2.h.
4863 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4864 * misc/bits/select2.h: New file.
4865 * include/bits/select2.h: New file.
4866 * debug/Makefile (routines): Add fdelt_chk.
4867 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4868 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4869 FD_ISSET.
4870 * debug/fdelt_chk.c: New file.
4871
4872 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4873 * wcsmbs/test-wmemcmp.c: Likewise.
4874 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
4875 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
4876
4877 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4878
4879 * string/Makefile (strop-tests): Add memcmp.
4880 * string/test-wmemcmp.c: New file.
4881 * string/test-memcmp.c: Add wmemcmp support.
4882
4883 2011-09-08 Roland McGrath <roland@hack.frob.com>
4884
4885 [BZ #13153]
4886 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4887 2011-07-19 change.
4888
4889 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4890 garbage value in a __mach_port_mod_refs call in the cases of the
4891 task-self and thread-self ports.
4892
4893 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4894
4895 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4896
4897 2011-09-08 Andreas Schwab <schwab@redhat.com>
4898
4899 * elf/dl-load.c (lose): Check for non-null L.
4900
4901 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4902
4903 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4904
4905 * elf/dl-libc.c (dlerror_run): Pass back error code from
4906 dl_catch_error.
4907
4908 [BZ #13123]
4909 * elf/dl-load.c (lose): Free l_origin if it is valid.
4910
4911 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4912 names.
4913 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4914 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4915 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4916 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4917 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4918 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4919
4920 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4921
4922 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4923 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4924 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4925 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4926 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4927 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4928 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4929 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4930 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4931 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4932
4933 2011-08-15 Alan Modra <amodra@gmail.com>
4934
4935 [BZ #13092]
4936 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4937 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4938 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4939 ppc_mcount to static-only-routines.
4940 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4941 __mcount_internal.
4942 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4943 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4944
4945 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4946
4947 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4948 for finite and infinity parameters.
4949
4950 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4951
4952 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4953 and add nop instructions for throughput optimization.
4954 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4955
4956 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4957
4958 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4959 aligned copy for power7 with vector-scalar instructions.
4960 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4961
4962 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4963
4964 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4965 AVX check.
4966
4967 2011-09-07 Andreas Schwab <schwab@redhat.com>
4968
4969 [BZ #13144]
4970 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4971 last change.
4972
4973 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4974
4975 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4976 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4977 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4978 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4979 clock_gettime.
4980
4981 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4982
4983 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4984 Forgot to demangle the pointer.
4985
4986 * sysdeps/i386/sysdep.h: Define atom_text_section.
4987 * sysdeps/x86_64/sysdep.h: Likewise.
4988 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4989 section with atom_text_section.
4990 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4991 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4992 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4993 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4994 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4995
4996 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4997 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4998 already be defined. Change to take two parameters and don't assign
4999 result to variable. Adjust all users.
5000 Define INTERNAL_GETTIME if not already defined.
5001 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5002 call.
5003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5004 HAVE_CLOCK_GETTIME_VSYSCALL.
5005 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5006
5007 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5008 gettimeofday vsyscall, just use time.
5009
5010 2011-09-06 Andreas Schwab <schwab@redhat.com>
5011
5012 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5013 <errno.h>.
5014
5015 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5016
5017 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5018 syscall on x86-64.
5019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5020 syscall.
5021 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5022 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5023 syscall if possible.
5024
5025 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5026
5027 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5028 e_ident. Don't pass to find_mapsXX.
5029 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5030
5031 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5032
5033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5034 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5035 * sysdeps/x86_64/multiarch/strchr.S: Update.
5036 Check bit_slow_BSF bit.
5037 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5038 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5039 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5040
5041 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5042
5043 [BZ #13134]
5044 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5045 before glibc 2.15.
5046 (tryshell): Define.
5047 (__spawni): Change last parameter to be flag. Test
5048 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5049 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5050 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5051 * posix/spawni.c: Likewise.
5052 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5053 * posix/spawnp.c: Likewise. Change normal version to use
5054 SPAWN_XFLAGS_USE_PATH.
5055 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5056 SPAWN_XFLAGS_TRY_SHELL.
5057
5058 [BZ #13150]
5059 * posix/glob.h: Remove gcc 1.x support.
5060
5061 [BZ #13068]
5062 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5063
5064 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5065
5066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5067 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5068 strrchr-sse2-bsf
5069 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5070 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5071 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5072 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5073 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5074 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5075
5076 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5077
5078 * sysdeps/x86_64/wcscmp.S: New file.
5079
5080 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5081 wcscmp-c wcscmp-sse2
5082 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5083 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5084 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5085 * wcsmbs/wcscmp.c: Allow renaming.
5086
5087 2011-09-05 David S. Miller <davem@davemloft.net>
5088
5089 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5090 stack slot, rather than the struct return pointer slot.
5091 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5092 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5094 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5095
5096 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5097
5098 * po/ja.po: Update from translation team.
5099
5100 [BZ #13144]
5101 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5102 kernel in 64-bit binaries.
5103
5104 2011-09-01 David S. Miller <davem@davemloft.net>
5105
5106 * elf/elf.h (HWCAP_SPARC_*): Move to..
5107 * sysdeps/sparc/sysdep.h: this new file and add new values.
5108 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5109 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5110 _DL_HWCAP_COUNT to 24.
5111 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5112 entries.
5113 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5114 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5115 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5116 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5117 instead of magic constants.
5118 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5119
5120 2011-08-31 David S. Miller <davem@davemloft.net>
5121
5122 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5123 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5124 Reimplement to do errno handling inline.
5125 (SYSCALL_ERROR_HANDLER): New macro.
5126 (__SYSCALL_STRING): Do not do errno handling in asm.
5127 (__CLONE_SYSCALL_STRING): Delete.
5128 (__INTERNAL_SYSCALL_STRING): Delete.
5129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5130 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5131 (PSEUDO): Reimplement to do errno handling inline.
5132 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5133 (SYSCALL_ERROR_HANDLER): New macro.
5134 (__SYSCALL_STRING): Do not do errno handling in asm.
5135 (__CLONE_SYSCALL_STRING): Delete.
5136 (__INTERNAL_SYSCALL_STRING): Delete.
5137 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5138 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5139 i386.
5140 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5141 (inline_syscall*): Add 'err' argument.
5142 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5143 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5144 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5145 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5146
5147 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5148 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5149
5150 2011-08-30 Andreas Schwab <schwab@redhat.com>
5151
5152 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5153
5154 2011-08-29 Jiri Olsa <jolsa@redhat.com>
5155
5156 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5157 directive.
5158
5159 2011-08-24 David S. Miller <davem@davemloft.net>
5160
5161 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5162
5163 2011-08-24 Andreas Schwab <schwab@redhat.com>
5164
5165 * elf/Makefile: Add rules to build and run unload8 test.
5166 * elf/unload8.c: New file.
5167 * elf/unload8mod1.c: New file.
5168 * elf/unload8mod1x.c: New file.
5169 * elf/unload8mod2.c: New file.
5170 * elf/unload8mod3.c: New file.
5171
5172 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5173 it wasn't used.
5174
5175 2011-08-23 David S. Miller <davem@davemloft.net>
5176
5177 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5178 subtract stack bias.
5179 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5180 %sp not %fp in calculations.
5181 (_JMPBUF_UNWINDS_ADJ): Likewise.
5182
5183 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5184 (aio_suspend): Call it to force an exception region around the
5185 AIO_MISC_WAIT() invocation.
5186
5187 2011-08-23 Andreas Schwab <schwab@redhat.com>
5188
5189 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5190 backslash.
5191
5192 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5193
5194 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5195 protection macro.
5196 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5197 and <dl-machine.h>.
5198 (Elf64_FuncDesc): Remove.
5199
5200 2011-08-22 David S. Miller <davem@davemloft.net>
5201
5202 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5203 sigaltstack check, add missing cfi directives.
5204 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5205 missing cfi directives, and sigaltstack handling.
5206
5207 2011-08-16 Andreas Schwab <schwab@redhat.com>
5208
5209 [BZ #11724]
5210 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5211 object is seen twice.
5212 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5213
5214 * elf/Makefile (distribute): Add tst-initorder2.c.
5215 (tests): Add tst-initorder2.
5216 (modules-names): Add tst-initorder2a tst-initorder2b
5217 tst-initorder2c tst-initorder2d. Add rules to build them.
5218 ($(objpfx)tst-initorder2.out): New rule.
5219 * elf/tst-initorder2.c: New file.
5220 * elf/tst-initorder2.exp: New file.
5221
5222 2011-08-22 Andreas Schwab <schwab@redhat.com>
5223
5224 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5225
5226 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5227 dependencies back to end of function.
5228
5229 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5230 $(elfobjdir)/ld.so.
5231
5232 2011-08-21 Ulrich Drepper <drepper@gmail.com>
5233
5234 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5235 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5236 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5237 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5238 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5239 of __vdso_gettimeofday.
5240 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5241 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5242 attribute_hidden.
5243 (_libc_vdso_platform_setup): Remove initialization of
5244 __vdso_gettimeofday and __vdso_time.
5245
5246 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5247
5248 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5249 and fgetc_unlocked.
5250 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5251 getc_unlocked.
5252
5253 * elf/dl-open.c (add_to_global): Report additions to the global scope
5254 for LD_DEBUG=scopes.
5255 (dl_open_worker): Also print scope of newly loaded dependencies.
5256 (_dl_show_scope): Indicate if there is no scope.
5257
5258 [BZ #13114]
5259 * stdio-common/Makefile (tests): Add bug24.
5260 * stdio-common/bug24.c: New file.
5261
5262 2011-08-19 Andreas Jaeger <aj@suse.de>
5263
5264 [BZ #13114]
5265 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5266 non-existant file when using close-on-exec mode.
5267
5268 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5269
5270 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5271 the very first instruction.
5272
5273 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5274 the CFI state in the end.
5275 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5276 inclusion of dl-trampoline.h.
5277 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5278
5279 2011-08-19 Andreas Schwab <schwab@redhat.com>
5280
5281 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5282 expectations for long double.
5283
5284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5285 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5286
5287 2011-08-14 David S. Miller <davem@davemloft.net>
5288
5289 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5290 artificual limit depends upon the system page size.
5291
5292 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5293
5294 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5295 * resolv/Makefile: Define CFLAGS-libresolv.
5296
5297 2011-08-17 Andreas Schwab <schwab@redhat.com>
5298
5299 * nss/makedb.c (compute_tables): Make variables used in nested
5300 function static.
5301
5302 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5303
5304 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5305 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5306 if buffer was too small.
5307
5308 * elf/pldd.c (main): Attach to all threads in the process.
5309 Rewrite /proc handling to use *at functions.
5310
5311 2011-08-16 Ulrich Drepper <drepper@gmail.com>
5312
5313 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5314 specifies first scope to show.
5315 (dl_open_worker): Update callers. Move printing scope of new
5316 object to before the relocation.
5317 * elf/rtld.c (dl_main): Update _dl_show_scope call.
5318 * sysdeps/generic/ldsodefs.h: Update declaration.
5319
5320 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5321 string for the scope number.
5322
5323 2011-08-14 Ulrich Drepper <drepper@gmail.com>
5324
5325 * nscd/servicescache.c (cache_addserv): Make sure written is always
5326 initialized.
5327
5328 2011-08-14 Roland McGrath <roland@hack.frob.com>
5329
5330 * sysdeps/i386/i486/bits/atomic.h
5331 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5332 statement expression, so as to suppress "set but not used" warning.
5333 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5334
5335 * string/strncat.c (STRNCAT): Use prototype definition.
5336
5337 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5338 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5339 -Iprograms here.
5340 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5341 (localedef-modules): Add localedef.
5342 (locale-modules): Add locale.
5343
5344 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5345 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5346 to avoid a warning.
5347
5348 2011-08-14 David S. Miller <davem@davemloft.net>
5349
5350 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5351 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5352
5353 2011-08-13 Ulrich Drepper <drepper@gmail.com>
5354
5355 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
5356 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5357 * elf/rtld.c (dl_main): Set l_name of vDSO.
5358 Call _dl_show_scope when DL_DEBUG_SCOPES.
5359 (process_dl_debug): Recognize scopes flag and also set it for all.
5360 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5361 Declare _dl_show_scope.
5362
5363 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5364 (do_dlopen): Pass caller_dlopen to dl_open.
5365 (__libc_dlopen_mode): Initialize caller_dlopen.
5366
5367 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5368 of libc. Make tolower call locale-independent. Optimize a bit by
5369 using isdigit instead of isalnum.
5370 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5371
5372 2011-08-12 Ulrich Drepper <drepper@gmail.com>
5373
5374 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5375 was a dependency or dynamically loaded.
5376
5377 2011-08-11 Ulrich Drepper <drepper@gmail.com>
5378
5379 * intl/l10nflist.c: Allow architecture-specific pop function.
5380 * sysdeps/x86_64/l10nflist.c: New file.
5381
5382 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5383 classification.
5384
5385 2011-08-10 Andreas Schwab <schwab@redhat.com>
5386
5387 * include/dirent.h: Add libc_hidden_proto for scandirat and
5388 scandirat64. Don't declare __scandirat64.
5389 * dirent/scandirat.c: Add libc_hidden_def.
5390 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5391 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5392
5393 2011-08-10 David S. Miller <davem@davemloft.net>
5394
5395 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5396 enum.
5397 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5399 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5400
5401 2011-08-09 Ulrich Drepper <drepper@gmail.com>
5402
5403 * Versions.def [libc]: Add GLIBC_2.15.
5404 * dirent/Makefile (routines): Add scandirat and scandirat64.
5405 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5406 GLIBC_2.15.
5407 * dirent/dirent.h: Declare scandirat and scandirat64.
5408 * dirent/scandirat.c: New file.
5409 * dirent/scandirat64.c: New file.
5410 * sysdeps/wordsize-64/scandirat.c: New file.
5411 * sysdeps/wordsize-64/scandirat64.c: New file.
5412 * dirent/opendir.c: Define opendirat.
5413 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5414 using scandirat.
5415 * dirent/scandir64.c: Adjust for scandir.c change.
5416 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5417 __scandirat64, and __scandir_cancel_handler.
5418 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5419 additional parameter and use openat instead of open (outside of ld.so).
5420 Add new __opendir as wrapper around __opendirat.
5421 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5422 here without requiring old scandirat implementation.
5423
5424 2011-08-08 Ulrich Drepper <drepper@gmail.com>
5425
5426 * dirent/scandir.c (cancel_handler): Renamed to
5427 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5428 defined. Adjust users.
5429 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5430 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5431
5432 2011-08-04 Ulrich Drepper <drepper@gmail.com>
5433
5434 * string/test-string.h (IMPL): Use __STRING to expand name and then
5435 stringify it.
5436
5437 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5438 of cleanups.
5439
5440 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5441
5442 * string/Makefile: Update.
5443 (strop-tests): Append strncat.
5444 * string/test-wcscmp.c: New file.
5445 New comprehensive test for wcscmp.
5446 * string/test-strcmp.c: Update.
5447 (WIDE): New define.
5448
5449 2011-07-22 Andreas Schwab <schwab@redhat.com>
5450
5451 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5452 line.
5453
5454 2011-07-26 Andreas Schwab <schwab@redhat.com>
5455
5456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5457 encoding to ACE if AI_IDN.
5458
5459 2011-08-01 Jakub Jelinek <jakub@redhat.com>
5460
5461 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5462 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5463
5464 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5465
5466 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5467 Fix overflow bug in strncat.
5468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5469
5470 * string/test-strncat.c: Update.
5471 Add new tests for checking overflow bugs.
5472
5473 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5474
5475 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5476 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5477 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5478 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5479 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5480 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5481 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5482 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5483 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5484
5485 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5486 (USE_AS_STRCAT): Define.
5487 Add strcat and strncat support.
5488 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5489
5490 2011-07-25 Andreas Schwab <schwab@redhat.com>
5491
5492 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5493 __n bigger than INT_MAX+1.
5494 (__strncmp_g): Likewise.
5495
5496 2011-07-23 Ulrich Drepper <drepper@gmail.com>
5497
5498 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5499 * libio/stido.h: Likewise.
5500
5501 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5502 (AF_NFC): Define.
5503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5504 (AF_NFC): Define.
5505
5506 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5507 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5508 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5509 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5510 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5511
5512 [BZ #13021]
5513 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5514 installed.
5515
5516 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5517 typo.
5518 (_dl_x86_64_save_sse): Likewise.
5519
5520 2011-07-22 Ulrich Drepper <drepper@gmail.com>
5521
5522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5523 OSXSAVE.
5524 (_dl_x86_64_save_sse): Likewise.
5525
5526 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5527
5528 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5529
5530 2011-07-21 Andreas Schwab <schwab@redhat.com>
5531
5532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5533 change.
5534 (_dl_x86_64_save_sse): Use correct AVX check.
5535
5536 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5537
5538 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5539 bug in strncpy/strncat.
5540 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5541
5542 2011-07-21 Ulrich Drepper <drepper@gmail.com>
5543
5544 * string/tester.c (test_strcat): Add tests for different alignments
5545 of source and destination.
5546 (test_strncat): Likewise.
5547
5548 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5549
5550 [BZ #12852]
5551 * posix/glob.c (glob): Check passed in values before using them in
5552 expressions to avoid some overflows.
5553 (glob_in_dir): Likewise.
5554
5555 [BZ #13007]
5556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5557 check for AVX enablement so that we don't crash with old kernels and
5558 new hardware.
5559 * elf/tst-audit4.c: Add same checks here.
5560 * elf/tst-audit6.c: Likewise.
5561
5562 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
5563
5564 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5565
5566 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5567
5568 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5569
5570 * po/cs.po: Update from translation team.
5571 * po/bg.po: Likewise.
5572
5573 2011-07-12 Marek Polacek <mpolacek@redhat.com>
5574
5575 * misc/sys/cdefs.h: Add support for const attribute.
5576 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5577 to gnu_dev_{major,minor,makedev} functions.
5578
5579 2011-07-20 Marek Polacek <mpolacek@redhat.com>
5580
5581 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5582
5583 2011-07-20 Andreas Schwab <schwab@redhat.com>
5584
5585 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5586 strlen results.
5587
5588 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5589
5590 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5591 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5592 register in order to avoid conflicts with the soft frame pointer
5593 being held in r11 when necessary.
5594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5595 (INTERNAL_VSYSCALL_NCS): Likewise.
5596
5597 2011-07-14 Marek Polacek <mpolacek@redhat.com>
5598
5599 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5600 * elf/dl-fini.c (_dl_fini): Adjust caller.
5601 * elf/dl-close.c (_dl_close_worker): Likewise.
5602 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5603
5604 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5605
5606 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5607 "aux_cache->nlibs < 0".
5608
5609 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5610 in the reload-count case.
5611
5612 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5613
5614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5615 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5616 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5617 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5618 * sysdeps/x86_64/multiarch/strcat.S: New file.
5619 * sysdeps/x86_64/multiarch/strncat.S: New file.
5620 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5621 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5622 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5623 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5624 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5625 (USE_AS_STRCAT): Define.
5626 Add strcat and strncat support.
5627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5628 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5629 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5630 * string/strncat.c: Update.
5631 (USE_AS_STRNCAT): Define.
5632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5633 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5634 and i7.
5635 * sysdeps/x86_64/multiarch/init-arch.h
5636 (bit_Prefer_PMINUB_for_stringop): New.
5637 (index_Prefer_PMINUB_for_stringop): Likewise.
5638 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5639 bit_Prefer_PMINUB_for_stringop.
5640
5641 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5642
5643 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5644 buffer64.
5645 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5646 of casting of buffer.
5647 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5648 buffer32 and buffer64.
5649 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5650 writes instead of casting of buffer.
5651 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5652 buffer32.
5653 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5654 casting of buffer.
5655
5656 2011-07-19 Andreas Schwab <schwab@redhat.com>
5657
5658 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5659
5660 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5661
5662 * nscd/nscd.c (termination_handler): Don't do anything for a database
5663 if it has not yet been initialized.
5664
5665 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5666
5667 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5668
5669 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5670
5671 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5672
5673 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5674
5675 * po/nl.po: Update from translation team.
5676 * po/sv.po: Likewise.
5677
5678 2011-07-16 Roland McGrath <roland@hack.frob.com>
5679
5680 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5681 now disallowed by GCC.
5682
5683 * configure.in (use-default-link): Default to yes if a test -shared
5684 link meets our qualifications.
5685 * configure: Regenerated.
5686
5687 * config.make.in (output-format): New variable.
5688 * configure.in: Check for ld --print-output-format support.
5689 * configure: Regenerated.
5690 * Makerules ($(common-objpfx)format.lds)
5691 [$(output-format) != unknown]: Just use $(output-format),
5692 instead of the linker-script munging.
5693
5694 2011-07-14 Roland McGrath <roland@hack.frob.com>
5695
5696 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5697 of $(common-objpfx)shlib.lds.
5698 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5699
5700 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5701 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5702
5703 * configure.in (-z relro check): Adjust test code to add a large
5704 writable data section after it.
5705 * configure: Regenerated.
5706
5707 2011-07-11 Roland McGrath <roland@hack.frob.com>
5708
5709 * configure.in (-z relro check): Fix test code to make the variable
5710 truly const.
5711 * configure: Regenerated.
5712
5713 2011-07-11 Ulrich Drepper <drepper@gmail.com>
5714
5715 * nscd/nscd.h (struct traced_file): Define.
5716 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5717 elements. Add traced_files.
5718 (inotify_fd): Declare.
5719 (register_traced_file): Declare.
5720 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5721 (inotify_fd): Export.
5722 (resolv_conf_descr): Remove.
5723 (nscd_init): Move inotify descriptor creation to main.
5724 Don't register files for notification here.
5725 (register_traced_file): New function.
5726 (invalidate_cache): Don't use reset_res to determine whether to call
5727 res_init, go through the list of registered files.
5728 (main_loop_poll): The inotify descriptors are now stored in the
5729 structures for the traced files.
5730 (main_loop_epoll): Likewise
5731 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5732 to __nss_disable_nscd.
5733 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5734 for a database anymore. Check the records for all the registered
5735 files instead.
5736 * nss/Makefile (libnss_files-routines): Add files-init.
5737 (libnss_db-routines): Add db-init.
5738 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5739 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5740 * nss/nss_db/db-init.c: New file.
5741 * nss/nss_files/files-init.c: New file.
5742 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5743 __nss_lookup_function.
5744 (__nss_lookup_function): Call nss_load_library.
5745 (nss_load_all_libraries): New function.
5746 (__nss_disable_nscd): Take parameter with callback function for files
5747 to register. Set is_nscd. Load all the DSOs for the NSS modules
5748 used for the cached services.
5749 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5750 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5751 options for features to all the files in nscd.
5752
5753 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5754
5755 2011-07-10 Roland McGrath <roland@hack.frob.com>
5756
5757 * csu/elf-init.c (__libc_csu_init): Comment typo.
5758
5759 2011-07-09 Ulrich Drepper <drepper@gmail.com>
5760
5761 * po/pl.po: Update from translation team.
5762 * po/ja.po: Likewise.
5763 * po/ru.po: Likewise.
5764 * po/ko.po: Likewise.
5765 * po/fr.po: Likewise.
5766
5767 2011-07-09 Roland McGrath <roland@hack.frob.com>
5768
5769 * configure.in (.ctors/.dtors header and trailer check):
5770 Use an empirical test on a built program.
5771 * configure: Regenerated.
5772
5773 * configure.in (-z relro check): Use an empirical test on a built DSO.
5774 Detect, but do not require, on ia64.
5775 * configure: Regenerated.
5776
5777 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5778 Update tests that use readelf to use $READELF instead.
5779 * configure: Regenerated.
5780
5781 2011-07-08 Ulrich Drepper <drepper@gmail.com>
5782
5783 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5784 if the result is not used.
5785
5786 2011-07-05 Andreas Jaeger <aj@suse.de>
5787
5788 [BZ#9696]
5789 * stdlib/tst-strtod.c: Add testcase.
5790
5791 2011-07-07 Ulrich Drepper <drepper@gmail.com>
5792
5793 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
5794 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
5795 The latter has a higher limit. Take additional parameter to pass to
5796 the new function.
5797 (__pathconf): Pass file to __statfs_link_max.
5798 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5799 __statfs_link_max.
5800 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5801 __statfs_link_max.
5802
5803 [BZ #12868]
5804 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5805 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5806 Handle Lustre.
5807 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5808 (__statfs_filesize_max): Likewise.
5809 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5810
5811 2011-07-05 Andreas Jaeger <aj@suse.de>
5812
5813 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5814
5815 2011-07-06 Marek Polacek <mpolacek@redhat.com>
5816
5817 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5818 `status' variable.
5819 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5820 Likewise.
5821
5822 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5823
5824 * Makefile (strop-tests): Add strncat.
5825 * string/test-strncat.c: New file.
5826
5827 2011-06-30 Marek Polacek <mpolacek@redhat.com>
5828
5829 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5830
5831 2011-06-21 Andreas Jaeger <aj@suse.de>
5832
5833 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5834 Copy rule from iconvdata/Makefile.
5835
5836 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5837
5838 [BZ #12922]
5839 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5840 but no long options are defined, just return 'W'.
5841
5842 2011-06-22 Marek Polacek <mpolacek@redhat.com>
5843
5844 [BZ #9696]
5845 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5846
5847 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5848
5849 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5850 netgroups to read.
5851 (innetgr): Likewise.
5852
5853 2011-07-05 Roland McGrath <roland@hack.frob.com>
5854
5855 * config.make.in (install_root): Default to $(DESTDIR).
5856
5857 2011-07-05 Ulrich Drepper <drepper@gmail.com>
5858
5859 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5860
5861 2011-07-02 Roland McGrath <roland@hack.frob.com>
5862
5863 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5864
5865 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5866 containing directory rather than embedding absolute directory names.
5867
5868 * scripts/check-local-headers.sh: Rewritten using awk.
5869 Match by word, not by line. Print error messages for matches.
5870 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5871
5872 * Makerules [shlib-lds-flags empty]:
5873 ($(common-objpfx)libc_pic.opts): New target.
5874 ($(common-objpfx)libc_pic.os.clean): New target.
5875 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5876
5877 * config.make.in (OBJCOPY): New variable.
5878 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5879 * configure: Regenerated.
5880
5881 * config.make.in (use-default-link): New variable.
5882 * configure.in (use_default_link): Grok --with-default-link to set it.
5883 * configure: Regenerated.
5884 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5885 (shlib-lds, shlib-lds-flags): Define to empty.
5886
5887 * Makerules (shlib-lds): New variable.
5888 (shlib-lds-flags): New variable.
5889 (build-shlib, build-moduile, build-module-asneeded): Use it.
5890 ($(common-objpfx)libc.so): Use $(shlib-lds).
5891 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5892 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5893
5894 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5895 DT_FLAGS/DT_FLAGS_1 with zero flags.
5896
5897 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5898 linker script munging.
5899
5900 2011-07-02 Ulrich Drepper <drepper@gmail.com>
5901
5902 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5903 as 128-bit value.
5904 * crypt/sha512.c (sha512_process_block): Perform total addition using
5905 128-bit if possible.
5906 (__sha512_finish_ctx): Likewise.
5907 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5908 as 64-bit value.
5909 * crypt/sha256.c (SWAP64): Define.
5910 (sha256_process_block): Perform total addition using 64-bit if
5911 possible.
5912 (__sha256_finish_ctx): Likewise.
5913
5914 2011-07-01 Ulrich Drepper <drepper@gmail.com>
5915
5916 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5917 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5918 * nscd/hstcache.c (cache_addhst): Likewise.
5919 * nscd/grpcache.c (cache_addgr): Likewise.
5920 * nscd/aicache.c (addhstaiX): Likewise
5921 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5922
5923 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
5924
5925 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5926 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5927 * nscd/hstcache.c (cache_addhst): Likewise.
5928 * nscd/grpcache.c (cache_addgr): Likewise.
5929 * nscd/aicache.c (addhstaiX): Likewise
5930
5931 2011-07-01 Andreas Schwab <schwab@redhat.com>
5932
5933 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5934 domain only when needed.
5935
5936 2011-06-30 Andreas Schwab <schwab@redhat.com>
5937
5938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5939 is always restored.
5940
5941 2011-06-29 Ulrich Drepper <drepper@gmail.com>
5942
5943 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5944 are re-adding the entry.
5945 * nscd/servicescache.c (cache_addserv): Likewise.
5946
5947 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5948
5949 * sysdeps/generic/dl-irel.h: fix protection against multiple
5950 inclusions.
5951 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5952
5953 2011-06-28 Ulrich Drepper <drepper@gmail.com>
5954
5955 [BZ #12935]
5956 * malloc/memusage.sh: Fix quoting in message.
5957 * debug/xtrace.sh: Likewise.
5958
5959 * configure.in: Remove support for --experimental-malloc option, make
5960 it the default.
5961 * config.make.in: Likewise.
5962 * malloc/Makefile: Likewise.
5963
5964 2011-06-27 Andreas Schwab <schwab@redhat.com>
5965
5966 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5967 two-byte characters.
5968
5969 2011-06-27 Roland McGrath <roland@hack.frob.com>
5970
5971 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5972 AC_CACHE_CHECK invocation.
5973 * configure: Regenerated.
5974
5975 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5976
5977 2011-06-27 Ulrich Drepper <drepper@gmail.com>
5978
5979 [BZ #12350]
5980 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5981 bit from old_res_options.
5982
5983 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5984
5985 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5986 value type for setfct.
5987
5988 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5989
5990 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5991 __gettimeofday instead of gettimeofday.
5992
5993 2011-06-26 Ulrich Drepper <drepper@gmail.com>
5994
5995 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5996
5997 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5998
5999 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6000
6001 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6002 info.
6003
6004 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6005
6006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6007 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6008 strcpy-sse2-unaligned strncpy-sse2-unaligned
6009 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6010 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6011 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6012 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6013 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6014 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6015 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6016 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6017 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6018 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6019 (STRCPY): Support SSE2 and SSSE3 versions.
6020
6021 2011-06-24 Ulrich Drepper <drepper@gmail.com>
6022
6023 [BZ #12874]
6024 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6025 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6026 kernels which artificially limit size of requests.
6027
6028 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6029
6030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6031 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6032 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6033 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6034 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6035 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6036 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6037 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6038 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6040 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6041 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6042 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6043 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6044 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6046 Enable unaligned load optimization for Intel Core i3, i5 and i7
6047 processors.
6048 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6049 Define.
6050 (index_Fast_Unaligned_Load): Define.
6051 (HAS_FAST_UNALIGNED_LOAD): Define.
6052
6053 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6054
6055 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6056
6057 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6058
6059 [BZ #12907]
6060 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6061 until it is clear that the information is realy needed.
6062 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6063
6064 2011-06-22 Andreas Schwab <schwab@redhat.com>
6065
6066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6067
6068 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6069
6070 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6071 /sys/devices/system/cpu/online if it is usable.
6072
6073 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6074 reading the information from the /proc filesystem to once a second.
6075
6076 2011-06-21 Andreas Jaeger <aj@suse.de>
6077
6078 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6079 NULL after inclusion of kernel headers.
6080
6081 2011-06-21 Ulrich Drepper <drepper@gmail.com>
6082
6083 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6084 calls to internal_setent.
6085
6086 [BZ #12885]
6087 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6088 addresses using gethostbyname4_r ignore IPv4 addresses.
6089
6090 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6091 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6092
6093 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6094
6095 2011-06-20 David S. Miller <davem@davemloft.net>
6096
6097 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6098 inclusions.
6099 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6100
6101 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6102 (elf_irel): Use it.
6103 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6104 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6105 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6106 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6107 * sysdeps/x86_64/dl-irel.h: Likewise.
6108
6109 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6110 * elf/dl-sym.c: Likewise.
6111
6112 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6113
6114 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6115 need to dereference resplen2.
6116
6117 2011-06-14 Andreas Schwab <schwab@redhat.com>
6118
6119 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6120
6121 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6122
6123 * Makeconfig: Define vardbdir and inst_vardbdir.
6124 * nss/Makefile: Add rules to install db-Makefile.
6125
6126 * nss/nss_db/db-XXX.c: Cleanup.
6127
6128 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6129 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6130 GLIBC_PRIVATE.
6131 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6132 * nss/makedb.c: Implement -g option to specify that value strings
6133 are generated and should not be added to table iterated over for
6134 get*ent calls.
6135 * nss/nss_db/db-initgroups.c: New file.
6136
6137 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6138 interface.
6139
6140 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6141 (internal_getgrouplist): Adjust to name change.
6142 Update use_initgroups_entry if this is not the first call.
6143 * nss/databases.def: Add initgroups entry.
6144
6145 * nss/makedb.c (compute_tables): Check result of multiple hash table
6146 sizes to minimize maximum chain length.
6147
6148 2011-06-14 Ulrich Drepper <drepper@gmail.com>
6149
6150 * Versions.def: Add entry for libnss_db.
6151 * shlib-versions: Likewise.
6152 * nss/Makefile: Add rules to build libnss_db.
6153 * nss/Versions: Add libnss_db information. Organize libnss_files
6154 entries better.
6155 * nss/db-Makefile: Add gshadow support. Change rules for the new
6156 makedb progra. Some minor improvements to generate smaller files.
6157 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6158 here from...
6159 * nss/makedb.c: ...here.
6160 Improve database format to be smaller and require less memory at
6161 runtime.
6162 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6163 db anymore.
6164 * nss/nss_db/db-netgrp.c: Likewise.
6165 * nss/nss_db/db-open.c: Likewise.
6166 * nss/nss_files/flies-XXX.x: Adjust comments.
6167 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6168 * nss/nss_files/files-grp.c: Likewise.
6169 * nss/nss_files/files-hosts.c: Likewise.
6170 * nss/nss_files/files-network.c: Likewise.
6171 * nss/nss_files/files-proto.c: Likewise.
6172 * nss/nss_files/files-pwd.c: Likewise.
6173 * nss/nss_files/files-rpc.c: Likewise.
6174 * nss/nss_files/files-service.c: Likewise.
6175 * nss/nss_files/files-sgrp.c: Likewise.
6176 * nss/nss_files/files-spwd.c: Likewise.
6177 * nss/nss_db/db-alias.c: Removed.
6178 * nss/nss_db/dummy-db.h: Removed.
6179
6180 2011-06-02 Ulrich Drepper <drepper@gmail.com>
6181
6182 * nss/makedb.c: Rewritten to not use database library.
6183 * nss/Makefile: Update to build new makedb program.
6184
6185 2011-06-14 Andreas Jaeger <aj@suse.de>
6186
6187 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6188 memset declaration.
6189
6190 2011-06-10 Andreas Schwab <schwab@redhat.com>
6191
6192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6193 tmpbuf.
6194
6195 2011-06-10 Roland McGrath <roland@hack.frob.com>
6196
6197 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6198 * elf/Makefile ($(objpfx)ld.so): Likewise.
6199
6200 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6201 Don't list ld.so twice in dependencies.
6202
6203 * posix/bug-regex31.c: Include <stdlib.h>.
6204
6205 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6206
6207 * nis/nss_compat/compat-spwd.c
6208 (getspent_next_nss_netgr): Remove unused variable.
6209 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6210
6211 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6212 nonmembers" output to use the right array.
6213
6214 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6215
6216 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6217
6218 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6219 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6220 * catgets/gencat.c (read_input_file): Likewise.
6221 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6222
6223 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6224 variable definition inside #if's controlling its use.
6225
6226 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6227
6228 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6229
6230 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6231
6232 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6233 unreachable code.
6234
6235 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6236
6237 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6238 * configure: Regenerated.
6239
6240 * Makerules: Revert last change.
6241 * elf/Makefile: Likewise.
6242
6243 2011-06-09 Roland McGrath <roland@hack.frob.com>
6244
6245 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6246 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6247 (reloc-link): Likewise.
6248
6249 2011-06-09 Ulrich Drepper <drepper@gmail.com>
6250
6251 * elf/Makefile: Add rules to build pldd.
6252 * elf/pldd.c: New file.
6253 * elf/pldd-xx.c: New file.
6254
6255 2011-06-07 Ulrich Drepper <drepper@gmail.com>
6256
6257 * version.h: Update for 2.15 development version.
6258
6259 2011-06-07 David S. Miller <davem@davemloft.net>
6260
6261 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6262 ifuncs.
6263 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6264 elf_machine_lazy_rel): Likewise.
6265 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6266 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6267 elf_machine_lazy_rel): Likewise.
6268 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6269 dl_hwcap via passed in argument.
6270 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6271 Likewise.
6272
6273 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6274
6275 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6276
6277 2011-06-06 Roland McGrath <roland@hack.frob.com>
6278
6279 [BZ #12849]
6280 * manual/fdl-1.1.texi: New file, verbatim from:
6281 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6282 * manual/lgpl-2.1.texi: New file, verbatim from:
6283 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6284 * manual/Makefile (licenses): New variable, list those new file names.
6285 (texis): Use it.
6286 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6287
6288 * manual/fdl.texi: File removed.
6289 * manual/lesser.texi: File removed.
6290 * manual/libc.texinfo (Copying, Documentation License):
6291 Use new @include file names, put @appendix directive before @include.
6292
6293 2011-06-04 Jakub Jelinek <jakub@redhat.com>
6294
6295 [BZ #12841]
6296 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6297 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6298 (mq_open): Add __NTH.
6299
6300 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6301
6302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6303 Assume Intel Core i3/i5/i7 processor if AVX is available.
6304
6305 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6306
6307 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6308 typo.
6309
6310 2011-05-31 Andreas Schwab <schwab@redhat.com>
6311
6312 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6313 memory. Use alloca_account. Fix memory leak when retrying.
6314
6315 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6316
6317 * version.h (RELEASE): Bump for 2.14 release.
6318 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6319
6320 * config.make.in (RANLIB): Remove entry.
6321
6322 2011-05-30 Ulrich Drepper <drepper@gmail.com>
6323
6324 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6325 (libc.pot): Work around missing support for .ksh extension in xgettext.
6326
6327 [BZ #12684]
6328 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6329 if both request failed.
6330 (send_dg): In case of server errors clear resplen or *resplen2.
6331
6332 [BZ #12454]
6333 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6334 when there are multiple maps.
6335 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6336 (_dl_fini): Remove test here.
6337
6338 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6339
6340 2011-05-29 Ulrich Drepper <drepper@gmail.com>
6341
6342 [BZ #12350]
6343 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6344 bit from old_res_options.
6345 (gaih_inet): Likewise.
6346
6347 [BZ #11099]
6348 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
6349 as signed.
6350
6351 * resolv/res_init.c (res_setoptions): Make the code more compact.
6352
6353 [BZ #11558]
6354 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6355 set RES_USEVC.
6356
6357 [BZ #11634]
6358 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6359
6360 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6361
6362 [BZ #11781]
6363 * malloc/malloc.h: Declare malloc hook variables as volatile.
6364
6365 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6366 in last patch.
6367
6368 [BZ #11799]
6369 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
6370 raise in the comment.
6371 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6372 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6373 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6374
6375 2011-05-28 Ulrich Drepper <drepper@gmail.com>
6376
6377 [BZ #12811]
6378 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6379 grow the buffers more if it already has to be sufficient.
6380 (build_wcs_upper_buffer): Likewise.
6381 * posix/regexec.c (check_matching): Likewise.
6382 (clean_state_log_if_needed): Likewise.
6383 (extend_buffers): Don't enlarge buffers beyond size of the input
6384 buffer.
6385 Patches mostly by Emil Wojak <emil@wojak.eu>.
6386 * posix/bug-regex32.c: New file.
6387 * posix/Makefile (tests): Add bug-regex32.
6388
6389 * locale/findlocale.c (_nl_find_locale): Return right away if
6390 _nl_explode_name failed.
6391 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6392
6393 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6394
6395 * debug/xtrace.sh: Unify messages.
6396 * malloc/memusage.sh: Likewise.
6397
6398 [BZ #12813]
6399 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6400 time symbol from vDSO. Substitute with vsyscall if not available.
6401 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6402 __vdso_time.
6403
6404 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6405 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6406 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6407 Add sendmmsg and internal_sendmmsg.
6408 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6409 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6410 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6411
6412 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6413 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6414 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6415
6416 2011-05-27 Ulrich Drepper <drepper@gmail.com>
6417
6418 [BZ #12813]
6419 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6420 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6421 available.
6422 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6423 __vdso_getcpu.
6424
6425 [BZ #12814]
6426 * iconvdata/Makefile (tests): Add bug-iconv9.
6427 * iconvdata/bug-iconv9.c: New file.
6428
6429 2011-05-27 Andreas Schwab <schwab@redhat.com>
6430
6431 [BZ #12814]
6432 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6433
6434 2011-05-25 Jakub Jelinek <jakub@redhat.com>
6435
6436 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6437 (struct user_regs_struct): Change intcs field back to cs.
6438
6439 2011-05-25 Ulrich Drepper <drepper@gmail.com>
6440
6441 * po/ja.po: Update from translation team.
6442
6443 2011-05-23 Ulrich Drepper <drepper@gmail.com>
6444
6445 [BZ #12795]
6446 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6447 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6448
6449 2011-05-20 Andreas Schwab <schwab@redhat.com>
6450
6451 * stdlib/longlong.h: Update from GCC.
6452
6453 2011-05-23 Andreas Schwab <schwab@redhat.com>
6454
6455 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6456 parameter name.
6457 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6458 Add parameter name.
6459 (__sysconf): Pass it down.
6460
6461 2011-05-22 Ulrich Drepper <drepper@gmail.com>
6462
6463 [BZ #12671]
6464 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6465 some situations.
6466 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6467 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6468 add in in __libc_use_alloca calls. Adjust callers.
6469 (glob): Use malloc in some situations.
6470
6471 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6472 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6473 pltexit.
6474
6475 2011-05-21 Ulrich Drepper <drepper@gmail.com>
6476
6477 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6478 and CLOCK_BOOTTIME_ALARM.
6479
6480 [BZ #12782]
6481 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6482 is returned.
6483
6484 * string/_strerror.c (__strerror_r): Print negative errors as signed
6485 numbers.
6486
6487 [BZ #12777]
6488 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6489 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6490 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6491
6492 * configure.in: Fix typo in redirection and correct removal of test
6493 files in two cases.
6494
6495 [BZ #12788]
6496 * locale/setlocale.c (new_composite_name): Fix test to check for
6497 identical name of all categories.
6498
6499 [BZ #12792]
6500 * libio/filedoalloc.c (local_isatty): New function.
6501 (_IO_file_doallocate): Use local_isatty.
6502 * stdio-common/perror.c (perror): In case a new stream is used
6503 forward the stream error.
6504 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6505 error flag.
6506
6507 2011-05-20 Ulrich Drepper <drepper@gmail.com>
6508
6509 [BZ #11869]
6510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6511 alloca.
6512 * include/alloca.h (extend_alloca_account): Define.
6513
6514 [BZ #11857]
6515 * posix/regex.h: Fix comments with documentation of user-accessible
6516 fields after compilation and describe correct free'ing of pattern
6517 after re_compile_pattern.
6518 Patch by Reuben Thomas <rrt@sc3d.org>.
6519
6520 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6521
6522 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6523 and -mno-altivec to prevent the compiler from using Altivec and/or
6524 VSX instructions when the corresponding registers are not available.
6525
6526 2011-05-19 Andreas Schwab <schwab@redhat.com>
6527
6528 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6529
6530 2011-05-19 Ulrich Drepper <drepper@gmail.com>
6531
6532 * libio/freopen.c (freopen): Use __dup2, not dup2.
6533 * libio/freopen64.c (freopen64): Likewise.
6534
6535 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6536
6537 [BZ #12775]
6538 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6539 * math/Makefile (tests): Add test-powl.
6540 (CFLAGS-test-powl.c): Define.
6541 * math/test-powl.c: New file.
6542
6543 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6544
6545 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6546
6547 2011-05-17 Ulrich Drepper <drepper@gmail.com>
6548
6549 [BZ #11837]
6550 * iconvdata/gb18030.c: Update to GB18020-2005.
6551
6552 2011-05-16 Ulrich Drepper <drepper@gmail.com>
6553
6554 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6555 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6556 Patch by Aharon Robbins <arnold@skeeve.com>.
6557
6558 [BZ #11892]
6559 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6560 on the stack.
6561
6562 [BZ #11895]
6563 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6564 through underflows.
6565
6566 [BZ #12766]
6567 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6568 point to strings before performing equality test for error_one_per_line
6569 mode.
6570
6571 [BZ #11697]
6572 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6573
6574 [BZ #11820]
6575 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6576 (struct user_fpregs_struct): Avoid __uint*_t types.
6577
6578 [BZ #6420]
6579 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6580 symbol info. Use it instead of calling _dl_addr locally.
6581 (lock_and_info): New function.
6582 (tr_freehook): Call lock_and_info and pass symbol info as additional
6583 parameter to tr_where.
6584 (tr_mallochook): Likewise.
6585 (tr_reallochook): Likewise.
6586 (tr_memalignhook): Likewise.
6587
6588 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6589 used and couldn't be at all thread-safe.
6590
6591 2011-05-15 Ulrich Drepper <drepper@gmail.com>
6592
6593 * libio/freopen.c (freopen): Don't close old file descriptor
6594 before the new one is opened. Instead dup the new file descriptor
6595 to the old one after the new stream is created.
6596 * libio/freopen64.c (freopen64): Likewise.
6597 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6598 * libio/fileops.c (_IO_new_file_close_it): Handle new
6599 _IO_FLAGS2_NOCLOSE flag.
6600 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6601 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6602 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6603 _IO_FLAGS2_NOCLOSE flag.
6604 * include/unistd.h: Add hidden_proto for dup3.
6605 Define __have_dup3.
6606 * io/dup3.c: Define hidden symbol.
6607 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6608
6609 [BZ #7101]
6610 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6611 when an incomplete long option is used.
6612 * posix/tst-getopt_long1.c: New file.
6613 * posix/Makefile (tests): Add tst-getopt_long1.
6614
6615 [BZ #10138]
6616 * scripts/config.guess: Update from autoconf-2.68.
6617 * scripts/config.sub: Likewise.
6618
6619 [BZ #10157]
6620 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6621 tests into ...
6622 (has_cpuclock): ...this. New function.
6623 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6624 macro here based on has_cpuclock code.
6625
6626 [BZ #10149]
6627 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6628 First byte (not low byte) is now always NUL.
6629 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6630
6631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6632 Use non-cancelable interfaces.
6633
6634 [BZ #9809]
6635 * locale/iso-639.def: Add entry for Sorani.
6636
6637 [BZ #11901]
6638 * include/stdlib.h: Move include protection to the right place.
6639 Define abort_msg_s. Declare __abort_msg with it.
6640 * stdlib/abort.c (__abort_msg): Adjust type.
6641 * assert/assert.c (__assert_fail_base): New function. Majority
6642 of code from __assert_fail. Allocate memory for __abort_msg with
6643 mmap.
6644 (__assert_fail): Now call __assert_fail_base.
6645 * assert/assert-perr.c: Remove bulk of implementation. Use
6646 __assert_fail_base.
6647 * include/assert.hL Declare __assert_fail_base.
6648 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6649 mmap.
6650 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6651
6652 2011-05-14 Ulrich Drepper <drepper@gmail.com>
6653
6654 [BZ #11952]
6655 [BZ #12453]
6656 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6657 until all modules are registered in the DTV.
6658 * elf/Makefile: Add rules to build and run tst-tls19.
6659 * elf/tst-tls19.c: New file.
6660 * elf/tst-tls19mod1.c: New file.
6661 * elf/tst-tls19mod2.c: New file.
6662 * elf/tst-tls19mod3.c: New file.
6663 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6664
6665 [BZ #12083]
6666 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6667 correctly.
6668
6669 [BZ #12601]
6670 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6671 two-byte sequence errors.
6672 * iconvdata/Makefile (tests): Add bug-iconv8.
6673 * iconvdata/bug-iconv8.c: New file.
6674
6675 [BZ #12626]
6676 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6677 buf2 definition.
6678
6679 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6680
6681 [BZ #12432]
6682 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6683 (dummy_getcfa): New function.
6684 (init): Get _Unwind_GetCFA address, use dummy if not found.
6685 (backtrace_helper): In recursion check, also check whether CFA changes.
6686 (__backtrace): Completely initialize arg.
6687
6688 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
6689 storing incomplete byte sequence in state object. Avoid testing for
6690 guaranteed too small input if we know there is enough data available.
6691
6692 2011-05-11 Andreas Schwab <schwab@redhat.com>
6693
6694 * Makeconfig (+link-pie): Indent.
6695 * Rules (binaries-pie): Define if $(have-fpie) and
6696 $(build-shared).
6697 (binaries-shared): Also filter out $(binaries-pie).
6698 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6699 * nscd/Makefile (others-pie): Add nscd.
6700 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6701 ($(objpfx)nscd): Remove command override.
6702 * login/Makefile (others-pie): Add pt_chown.
6703 ($(objpfx)pt_chown): Remove command override.
6704 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6705 remove command overrides.
6706
6707 2011-05-13 Ulrich Drepper <drepper@gmail.com>
6708
6709 * libio/tst_putwc.c: Fix error messages.
6710
6711 [BZ #12724]
6712 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6713 currently writing and seek to current position when not.
6714 * libio/Makefile (tests): Add bug-fclose1.
6715 * libio/bug-fclose1.c: New file.
6716
6717 2011-05-12 Ulrich Drepper <drepper@gmail.com>
6718
6719 [BZ #12511]
6720 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6721 don't set DF_1_NODELETE here.
6722 (do_lookup_x): When entering new entry test for copy relocation
6723 and if necessary set DF_1_NODELETE flag.
6724 * elf/tst-unique4.cc: New file.
6725 * elf/tst-unique4.h: New file.
6726 * elf/tst-unique4lib.cc: New file.
6727 * elf/Makefile: Add rules to build and run tst-unique4.
6728 Patch by Piotr Bury <pbury@goahead.com>.
6729
6730 2011-05-11 Ulrich Drepper <drepper@gmail.com>
6731
6732 [BZ #12052]
6733 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6734
6735 [BZ #12625]
6736 * misc/mntent_r.c (addmntent): Flush the stream after the output
6737
6738 [BZ #12393]
6739 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6740 (is_trusted_path_normalize): Skip initial colon. Append slash
6741 to empty buffer. Duplicate is_trusted_path code but allow
6742 constructed patch to be prefix.
6743 (is_dst): Allow $ORIGIN followed by /.
6744 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6745 Correct testing of result of is_trusted_path_normalize
6746 (decompose_rpath): Fix warning.
6747
6748 2011-05-10 Ulrich Drepper <drepper@gmail.com>
6749
6750 [BZ #11257]
6751 * grp/initgroups.c (internal_getgrouplist): When we found the service
6752 list through the initgroups entry in nsswitch.conf do not always
6753 continue on a successful lookup. Don't always use the
6754 __nss_group_database value if it is set.
6755 * nss/nsswitch.conf (initgroups): Change action for successful db
6756 lookup to continue for compatibility.
6757
6758 2011-05-09 Ulrich Drepper <drepper@gmail.com>
6759
6760 [BZ #11532]
6761 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6762 and CP774 modules.
6763 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6764 and CP774 modules.
6765 * iconvdata/tst-tables.sh: Likewise.
6766 * iconvdata/cp770.c: New file.
6767 * iconvdata/cp771.c: New file.
6768 * iconvdata/cp772.c: New file.
6769 * iconvdata/cp773.c: New file.
6770 * iconvdata/cp774.c: New file.
6771 * iconvdata/testdata/CP770: New file.
6772 * iconvdata/testdata/CP770..UTF8: New file.
6773 * iconvdata/testdata/CP771: New file.
6774 * iconvdata/testdata/CP771..UTF8: New file.
6775 * iconvdata/testdata/CP772: New file.
6776 * iconvdata/testdata/CP772..UTF8: New file.
6777 * iconvdata/testdata/CP773: New file.
6778 * iconvdata/testdata/CP773..UTF8: New file.
6779 * iconvdata/testdata/CP774: New file.
6780 * iconvdata/testdata/CP774..UTF8: New file.
6781
6782 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6783 END CHARMAP line.
6784 * iconvdata/gen-8bit-gap.sh: Likewise.
6785 * iconvdata/gen-8bit.sh: Likewise.
6786
6787 * locale/iso-639.def: Add ary entry.
6788
6789 [BZ #11258]
6790 * locale/C-translit.h.in: Add U20A1 transliteration.
6791
6792 [BZ #12178]
6793 * locale/iso-639.def: Add wae entry.
6794 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6795
6796 [BZ #12545]
6797 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6798 for n.
6799
6800 [BZ #12711]
6801 * locale/C-translit.h.in: Add entry for U20B9.
6802 Patch by pravin.d.s@gmail.com.
6803
6804 2011-05-08 Ulrich Drepper <drepper@gmail.com>
6805
6806 [BZ #12713]
6807 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6808 ENAMETOOLONG use generic getcwd.
6809 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6810 in rtld. Use *stat64.
6811 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6812 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
6813 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6814 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6815 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6816 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6817 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6818 __fstatat64 macros.
6819 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6820 * dirent/rewinddir.c: Add libc_hidden_def.
6821 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6822 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
6823
6824 * include/dirent.h (__alloc_dir): Add flags parameter.
6825 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6826 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6827 __alloc_dir.
6828 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6829 from fdopendir if O_CLOEXEC is already set.
6830
6831 2011-03-15 Alan Modra <amodra@gmail.com>
6832
6833 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6834 l_tls_firstbyte_offset non-zero. Save padding offset in
6835 l_tls_firstbyte_offset for later use.
6836 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6837 freeing static tls block.
6838
6839 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6840
6841 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6842 where #ifdef was intended. The intent is to prevent ARG_MAX from
6843 being defined by the kernel headers.
6844
6845 2011-05-07 Ulrich Drepper <drepper@gmail.com>
6846
6847 [BZ #12734]
6848 * resolv/resolv.h: Define RES_NOTLDQUERY.
6849 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6850 no-tld-query and set RES_NOTLDQUERY.
6851 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6852 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6853 modern BIND to search name as TLD unless forbidden.
6854
6855 2011-05-07 Petr Baudis <pasky@suse.cz>
6856 Ulrich Drepper <drepper@gmail.com>
6857
6858 [BZ #12393]
6859 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6860 (is_trusted_path): ...to here.
6861 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
6862 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
6863 using is_trusted_path_normalize() in setuid scripts.
6864
6865 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6866
6867 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6868 __BEGIN/__END_DECLS.
6869
6870 2011-05-06 Ulrich Drepper <drepper@gmail.com>
6871
6872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6873 NSS_STATUS_NOTFOUND if no record was found.
6874
6875 2011-05-05 Andreas Schwab <schwab@redhat.com>
6876
6877 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6878 (headers-not-in-tirpc): Remove rpc/netdb.h
6879 * resolv/netdb.h: Revert last change.
6880
6881 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6882
6883 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6884 circular dependency between libgcc.a and libc.a.
6885
6886 2011-05-05 Andreas Schwab <schwab@redhat.com>
6887
6888 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6889 * nis/Makefile: Don't install rpcsvc/*.
6890 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6891 instead of <rpc/types.h>.
6892 (MAXHOSTNAMELEN): Define.
6893
6894 2011-05-03 Andreas Schwab <schwab@redhat.com>
6895
6896 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6897
6898 2011-04-28 Maciej Babinski <mbabinski@google.com>
6899
6900 [BZ #12714]
6901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6902 gethostbyname4_r when IPv6 results are possible.
6903
6904 2011-05-02 Ulrich Drepper <drepper@gmail.com>
6905
6906 [BZ #12723]
6907 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6908 _PC_PIPE_BUF handling.
6909
6910 2011-04-30 Bruno Haible <bruno@clisp.org>
6911
6912 [BZ #12717]
6913 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6914 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6915 to 'int'.
6916 * inet/getnameinfo.c (getnameinfo): Likewise.
6917
6918 2011-04-29 Ulrich Drepper <drepper@gmail.com>
6919
6920 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6921 to groups setting in database lookup.
6922 * nss/nsswitch.conf: Add initgroups entry.
6923
6924 2011-04-22 Ulrich Drepper <drepper@gmail.com>
6925
6926 [BZ #12685]
6927 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6928 mode string.
6929 Patch by Eric Blake <eblake@redhat.com>.
6930
6931 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6932
6933 * sunrpc/Makefile (need-export-routines): Add svc_run.
6934 (routines): Remove svc_run.
6935 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6936 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6937 * sunrpc/svc_run.c (svc_run): Likewise.
6938 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6939
6940 2011-04-21 Ulrich Drepper <drepper@gmail.com>
6941
6942 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6943 problem in reallocation in last patch.
6944
6945 2011-04-20 Ulrich Drepper <drepper@gmail.com>
6946
6947 * sunrpc/Makefile: Move inclusion of Rules.
6948
6949 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6950
6951 * nss/nss_files/files-initgroups.c: New file.
6952 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6953 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6954 _nss_files_initgroups_dyn.
6955
6956 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6957
6958 * elf/elf.h (R_ARM_IRELATIVE): Define.
6959
6960 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6961
6962 * po/ru.po: Update from translation team.
6963
6964 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6965
6966 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6967 dependencies.
6968
6969 2011-02-06 Mike Frysinger <vapier@gentoo.org>
6970
6971 [BZ #12653]
6972 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6973 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6974 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6975 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6976 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6977
6978 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6979
6980 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6981 differing bytes.
6982 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6983 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6984 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6985
6986 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6987
6988 [BZ #12420]
6989 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6990 storing it.
6991 * stdlib/bug-getcontext.c: New file.
6992 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6993
6994 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6995
6996 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6997 instructions into .machine "z9-109".
6998 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6999 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7000
7001 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7002
7003 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7004 between environment variables and auxiliary vector.
7005
7006 2011-04-16 Ulrich Drepper <drepper@gmail.com>
7007
7008 * Makefile: Add rules to build linkobj/libc.so.
7009 * include/libc-symbols.h: Define libc_hidden_nolink.
7010 * include/rpc/auth.h: Mark functions which are to be hidden.
7011 * include/rpc/auth_des.h: Likewise.
7012 * include/rpc/auth_unix.h: Likewise.
7013 * include/rpc/clnt.h: Likewise.
7014 * include/rpc/des_crypt.h: Likewise.
7015 * include/rpc/key_prot.h: Likewise.
7016 * include/rpc/pmap_clnt.h: Likewise.
7017 * include/rpc/pmap_prot.h: Likewise.
7018 * include/rpc/pmap_rmt.h: Likewise.
7019 * include/rpc/rpc_msg.h: Likewise.
7020 * include/rpc/svc.h: Likewise.
7021 * include/rpc/svc_auth.h: Likewise.
7022 * include/rpc/xdr.h: Likewise.
7023 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7024 * nss/Makefile: Likewise.
7025 * sunrpc/Makefile: Don't install headers. Build library with normal
7026 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7027 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7028 for the compat linking library. Remove use of INTDEF/INTUSE.
7029 * sunrpc/auth_none.c: Likewise.
7030 * sunrpc/auth_unix.c: Likewise.
7031 * sunrpc/authdes_prot.c: Likewise.
7032 * sunrpc/authuxprot.c: Likewise.
7033 * sunrpc/clnt_gen.c: Likewise.
7034 * sunrpc/clnt_perr.c: Likewise.
7035 * sunrpc/clnt_raw.c: Likewise.
7036 * sunrpc/clnt_simp.c: Likewise.
7037 * sunrpc/clnt_tcp.c: Likewise.
7038 * sunrpc/clnt_udp.c: Likewise.
7039 * sunrpc/clnt_unix.c: Likewise.
7040 * sunrpc/des_crypt.c: Likewise.
7041 * sunrpc/des_soft.c: Likewise.
7042 * sunrpc/get_myaddr.c: Likewise.
7043 * sunrpc/key_call.c: Likewise.
7044 * sunrpc/key_prot.c: Likewise.
7045 * sunrpc/netname.c: Likewise.
7046 * sunrpc/pm_getmaps.c: Likewise.
7047 * sunrpc/pm_getport.c: Likewise.
7048 * sunrpc/pmap_clnt.c: Likewise.
7049 * sunrpc/pmap_prot.c: Likewise.
7050 * sunrpc/pmap_prot2.c: Likewise.
7051 * sunrpc/pmap_rmt.c: Likewise.
7052 * sunrpc/publickey.c: Likewise.
7053 * sunrpc/rpc_cmsg.c: Likewise.
7054 * sunrpc/rpc_common.c: Likewise.
7055 * sunrpc/rpc_dtable.c: Likewise.
7056 * sunrpc/rpc_prot.c: Likewise.
7057 * sunrpc/rpc_thread.c: Likewise.
7058 * sunrpc/rtime.c: Likewise.
7059 * sunrpc/svc.c: Likewise.
7060 * sunrpc/svc_auth.c: Likewise.
7061 * sunrpc/svc_authux.c: Likewise.
7062 * sunrpc/svc_raw.c: Likewise.
7063 * sunrpc/svc_run.c: Likewise.
7064 * sunrpc/svc_simple.c: Likewise.
7065 * sunrpc/svc_tcp.c: Likewise.
7066 * sunrpc/svc_udp.c: Likewise.
7067 * sunrpc/svc_unix.c: Likewise.
7068 * sunrpc/svcauth_des.c: Likewise.
7069 * sunrpc/xcrypt.c: Likewise.
7070 * sunrpc/xdr.c: Likewise.
7071 * sunrpc/xdr_array.c: Likewise.
7072 * sunrpc/xdr_float.c: Likewise.
7073 * sunrpc/xdr_intXX_t.c: Likewise.
7074 * sunrpc/xdr_mem.c: Likewise.
7075 * sunrpc/xdr_rec.c: Likewise.
7076 * sunrpc/xdr_ref.c: Likewise.
7077 * sunrpc/xdr_sizeof.c: Likewise.
7078 * sunrpc/xdr_stdio.c: Likewise.
7079
7080 2011-04-10 Ulrich Drepper <drepper@gmail.com>
7081
7082 [BZ #12650]
7083 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7084 * sysdeps/ia64/dl-tls.h: Likewise.
7085 * sysdeps/powerpc/dl-tls.h: Likewise.
7086 * sysdeps/s390/dl-tls.h: Likewise.
7087 * sysdeps/sh/dl-tls.h: Likewise.
7088 * sysdeps/sparc/dl-tls.h: Likewise.
7089 * sysdeps/x86_64/dl-tls.h: Likewise.
7090 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7091
7092 2011-03-14 Andreas Schwab <schwab@redhat.com>
7093
7094 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7095 rpath element also skip the following colon.
7096 (expand_dynamic_string_token): Add is_path parameter and pass
7097 down to DL_DST_REQUIRED and _dl_dst_substitute.
7098 (decompose_rpath): Call expand_dynamic_string_token with
7099 non-zero is_path. Ignore empty rpaths.
7100 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7101 with zero is_path.
7102
7103 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7104
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7106 Make cancelable.
7107
7108 2011-04-09 Ulrich Drepper <drepper@gmail.com>
7109
7110 [BZ #12655]
7111 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7112 Patch by Filipe David Manana <fdmanana@apache.org>.
7113
7114 2011-04-07 Andreas Schwab <schwab@redhat.com>
7115
7116 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7117 Maintain aligned stack.
7118 (CHECK_RSP): Remove unused macro.
7119
7120 2011-04-03 Ulrich Drepper <drepper@gmail.com>
7121
7122 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7123 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7124
7125 2011-04-02 Ulrich Drepper <drepper@gmail.com>
7126
7127 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7128
7129 * include/features.h: Mention __USE_XOPEN2K8 in comment.
7130
7131 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7132
7133 [BZ #12518]
7134 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7135 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7136 * sysdeps/x86_64/memmove.c: New file.
7137 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7138 (memcpy): Renamed to ...
7139 (__new_memcpy): This.
7140 (memcpy): Provide GLIBC_2_14 memcpy.
7141 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7142 (memcpy): Provide GLIBC_2_2_5 memcpy.
7143
7144 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7145
7146 [BZ #12631]
7147 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7148
7149 2011-03-30 Andreas Schwab <schwab@redhat.com>
7150
7151 * misc/syncfs.c: New file.
7152 * misc/Makefile (routines): Add syncfs.
7153 * posix/unistd.h: Declare syncfs.
7154 * sysdeps/unix/syscalls.list: Add syncfs.
7155
7156 2011-04-01 Andreas Schwab <schwab@redhat.com>
7157
7158 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7159 open_by_handle_at.
7160 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7161 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7163 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7164 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7165 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7166 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7167
7168 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7169
7170 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7171 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7172 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7174 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7176 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7177
7178 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7179 sync_file_range.c with -fexceptions.
7180 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7181 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7182 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7183 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7184 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7185 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7186 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
7187 sync_file_range as cancellation point
7188 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7189 now a wrapper around __call_sync_file_range with cancellation handling.
7190 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7191 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7192 function name to __call_sync_file_range.
7193 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7194 Add call_sync_file_range.
7195
7196 2011-04-01 Andreas Schwab <schwab@redhat.com>
7197
7198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7199 bits/timex.h.
7200
7201 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7202
7203 * iconv/iconv.h: Fix typo in comment.
7204 * io/fcntl.h: Likewise.
7205 * libio/stdio.h: Likewise.
7206 * posix/spawn.h: Likewise.
7207 * posix/unistd.h: Likewise.
7208 * stdlib/stdlib.h: Likewise.
7209 * time/time.h: Likewise.
7210 * wcsmbs/wchar.h: Likewise.
7211
7212 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7213 open_by_handle): Add.
7214 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7215 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7216 Augment a few comments.
7217 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7219 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7221 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7222 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7223 open_by_handle.
7224
7225 * io/fcntl.h (AT_EMPTY_PATH): Define.
7226
7227 2011-03-30 Ulrich Drepper <drepper@gmail.com>
7228
7229 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7230 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7231 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7232 to...
7233 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
7234 * Versions.def: Add GLIBC_2.14.
7235 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7236 Export.
7237
7238 2011-03-22 Ulrich Drepper <drepper@gmail.com>
7239
7240 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7241 round counter.
7242 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7243
7244 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7245
7246 [BZ #12597]
7247 * string/test-strncmp.c (do_page_test): New function.
7248 (check2): Likewise.
7249 (test_main): Call check2.
7250 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7251
7252 2011-03-20 Ulrich Drepper <drepper@gmail.com>
7253
7254 [BZ #12587]
7255 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7256 Handle cache information in CPU leaf 4.
7257 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7258
7259 2011-03-18 Ulrich Drepper <drepper@gmail.com>
7260
7261 [BZ #12583]
7262 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7263 character representation.
7264 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7265
7266 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7267
7268 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7269 END(__isnan) to END(__isnanf) to match function entry point/label
7270 EALIGN(__isnanf,...).
7271
7272 2011-03-10 Jakub Jelinek <jakub@redhat.com>
7273
7274 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7275
7276 2011-03-10 Ulrich Drepper <drepper@gmail.com>
7277
7278 [BZ #12510]
7279 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7280 copy from the symbol referenced in the relocation to initialize the
7281 used variable.
7282 Patch by Piotr Bury <pbury@goahead.com>.
7283 * elf/Makefile: Add rules to build and tst-unique3.
7284 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7285 * elf/tst-unique3.cc: New file.
7286 * elf/tst-unique3.h: New file.
7287 * elf/tst-unique3lib.cc: New file.
7288 * elf/tst-unique3lib2.cc: New file.
7289
7290 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7291
7292 2011-03-10 Mike Frysinger <vapier@gentoo.org>
7293
7294 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7295 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7296 to _start.
7297
7298 2011-03-06 Ulrich Drepper <drepper@gmail.com>
7299
7300 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7301 to-be-loaded object along a path to loader is ld.so.
7302
7303 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7304 Ulrich Drepper <drepper@gmail.com>
7305
7306 * sysdeps/x86_64/memset.S: After aligning destination, code
7307 branches to different locations depending on the value of
7308 misalignment, when multiarch is enabled. Fix this.
7309
7310 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7311
7312 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7313 Set _x86_64_preferred_memory_instruction for AMD processsors.
7314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7315 Set bit_Prefer_SSE_for_memop for AMD processors.
7316
7317 2011-03-04 Ulrich Drepper <drepper@gmail.com>
7318
7319 * libio/fmemopen.c (fmemopen): Optimize a bit.
7320
7321 2011-03-03 Andreas Schwab <schwab@redhat.com>
7322
7323 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7324
7325 2011-03-03 Roland McGrath <roland@redhat.com>
7326
7327 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7328
7329 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7330
7331 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
7332 __bzero_ultra1 instead of __memset_ultra1.
7333
7334 2011-02-23 Andreas Schwab <schwab@redhat.com>
7335 Ulrich Drepper <drepper@gmail.com>
7336
7337 [BZ #12509]
7338 * include/link.h (struct link_map): Add l_orig_initfini.
7339 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7340 returning unsuccessfully.
7341 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7342 close of a file loaded at startup, restore the original l_initfini
7343 list.
7344 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7345 list, store the pointer.
7346 * elf/Makefile ($(objpfx)noload-mem): New rule.
7347 (noload-ENV): Define.
7348 (tests): Add $(objpfx)noload-mem.
7349 * elf/noload.c: Include <memcheck.h>.
7350 (main): Call mtrace. Close all opened handles.
7351
7352 2011-02-17 Andreas Schwab <schwab@redhat.com>
7353
7354 [BZ #12454]
7355 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7356 dependencies are missing.
7357
7358 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7359
7360 Fix __if_freereq crash: Unlike the generic version which uses free,
7361 Hurd needs munmap.
7362 * sysdeps/mach/hurd/ifreq.h: New file.
7363
7364 2011-01-27 Petr Baudis <pasky@suse.cz>
7365 Ulrich Drepper <drepper@gmail.com>
7366
7367 [BZ 12445]#
7368 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7369 to extend_alloca().
7370 * stdio-common/bug23.c: New file.
7371 * stdio-common/Makefile (tests): Add bug23.
7372
7373 2010-09-28 Andreas Schwab <schwab@redhat.com>
7374 Ulrich Drepper <drepper@gmail.com>
7375
7376 [BZ #12489]
7377 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7378 before performing relro protection. At old place add assertion
7379 to make sure nothing changed.
7380
7381 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7382 Glauber de Oliveira Costa <glommer@gmail.com>
7383
7384 * elf/elf.h: Add new ARM TLS relocs.
7385
7386 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7387
7388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7389 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7390 cast from r3.
7391 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7392 'tests' variable.
7393 * sysdeps/wordsize-64/tst-writev.c: New file.
7394
7395 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7396
7397 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7398 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7399 insns in _dl_start to prevent a TOC reference before relocs are
7400 resolved.
7401
7402 2011-02-15 Ulrich Drepper <drepper@gmail.com>
7403
7404 [BZ #12469]
7405 * Makeconfig: Remove RANLIB definition.
7406 * Makerules: Don't use RANLIB.
7407 * aclocal.m4: Remove ranlib test.
7408 * configure.in: No need to check for ranlib.
7409 * elf/rtld-Rules: Don't use RANLIB.
7410
7411 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7412
7413 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7414 protection macro.
7415 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7416 inclusion protection macro.
7417
7418 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7419 SIGRTMIN and SIGRTMAX and print information in that case only when
7420 SIGRTMIN is defined.
7421
7422 2011-02-11 Jakub Jelinek <jakub@redhat.com>
7423
7424 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7425 arginfo fn returning -1.
7426
7427 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7428 and thousands string is zero terminated.
7429
7430 2011-02-03 Andreas Schwab <schwab@redhat.com>
7431
7432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7433 sysdeps/unix/sysv/linux/bits/socket.h.
7434
7435 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7436
7437 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7438 (__CPU_COUNT): Remove old macros.
7439 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7440 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7441 (__CPU_ALLOC, __CPU_FREE): Add macros.
7442 (__sched_cpualloc, __sched_cpufree): Add declarations.
7443
7444 2011-02-05 Ulrich Drepper <drepper@gmail.com>
7445
7446 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7447 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7448 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7449 (readdhstai): Return value of addhstaiX call.
7450 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7451 (addgrbyX): Return value returned by cache_addgr.
7452 (readdgrbyname): Return value returned by addgrbyX.
7453 (readdgrbygid): Likewise.
7454 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7455 (addpwbyX): Return value returned by cache_addpw.
7456 (readdpwbyname): Return value returned by addhstbyX.
7457 (readdpwbyuid): Likewise.
7458 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7459 (addservbyX): Return value returned by cache_addserv.
7460 (readdservbyname): Return value returned by addservbyX:
7461 (readdservbyport): Likewise.
7462 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7463 (addhstbyX): Return value returned by cache_addhst.
7464 (readdhstbyname): Return value returned by addhstbyX.
7465 (readdhstbyaddr): Likewise.
7466 (readdhstbynamev6): Likewise.
7467 (readdhstbyaddrv6): Likewise.
7468 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7469 (readdinitgroups): Return value returned by addinitgroupsX.
7470 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7471 (prune_cache): Keep track of timeout value of re-added entries.
7472 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7473 * nscd/nscd.h: Adjust prototypes of readd* functions.
7474
7475 2011-02-04 Roland McGrath <roland@redhat.com>
7476
7477 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7478 (nis_stats): Likewise.
7479 * nis/nis_modify.c (nis_modify): Likewise.
7480 * nis/nis_remove.c (nis_remove): Likewise.
7481 * nis/nis_add.c (nis_add): Likewise.
7482
7483 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7484
7485 * posix/fnmatch_loop.c: Add some consts.
7486
7487 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7488
7489 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7490
7491 [BZ #12460]
7492 * config.make.in (config-cflags-novzeroupper): Define.
7493 * configure.in: Substitute libc_cv_cc_novzeroupper.
7494 * elf/Makefile (AVX-CFLAGS): Define.
7495 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7496 (CFLAGS-tst-auditmod4a.c): Likewise.
7497 (CFLAGS-tst-auditmod4b.c): Likewise.
7498 (CFLAGS-tst-auditmod6b.c): Likewise.
7499 (CFLAGS-tst-auditmod6c.c): Likewise.
7500 (CFLAGS-tst-auditmod7b.c): Likewise.
7501 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7502
7503 2011-02-02 Ulrich Drepper <drepper@gmail.com>
7504
7505 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7506 function to the callback.
7507 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7508
7509 2011-02-02 Andreas Schwab <schwab@redhat.com>
7510
7511 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7512 of errno.
7513
7514 2011-01-19 Ulrich Drepper <drepper@gmail.com>
7515
7516 [BZ #11724]
7517 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7518 of constructors.
7519 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7520 of destructors.
7521 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7522
7523 [BZ #11724]
7524 * elf/Makefile: Add rules to build and run new test.
7525 * elf/tst-initorder.c: New file.
7526 * elf/tst-initorder.exp: New file.
7527 * elf/tst-initordera1.c: New file.
7528 * elf/tst-initordera2.c: New file.
7529 * elf/tst-initordera3.c: New file.
7530 * elf/tst-initordera4.c: New file.
7531 * elf/tst-initorderb1.c: New file.
7532 * elf/tst-initorderb2.c: New file.
7533 * elf/tst-order-a1.c: New file.
7534 * elf/tst-order-a2.c: New file.
7535 * elf/tst-order-a3.c: New file.
7536 * elf/tst-order-a4.c: New file.
7537 * elf/tst-order-b1.c: New file.
7538 * elf/tst-order-b2.c: New file.
7539 * elf/tst-order-main.c: New file.
7540 New test case by George Gensure <werkt0@gmail.com>.
7541
7542 2010-10-01 Andreas Schwab <schwab@redhat.com>
7543
7544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7545 decoding ACE if AI_CANONIDN.
7546
7547 2011-01-18 Ulrich Drepper <drepper@gmail.com>
7548
7549 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7550
7551 2011-01-17 Ulrich Drepper <drepper@gmail.com>
7552
7553 * version.h (RELEASE): Bump for 2.13 release.
7554 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7555
7556 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7557
7558 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7559 MADV_NOHUGEPAGE.
7560 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7561 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7562 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7563 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7564 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7565 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7566
7567 * posix/getconf.c: Update copyright year.
7568 * catgets/gencat.c: Likewise.
7569 * csu/version.c: Likewise.
7570 * debug/catchsegv.sh: Likewise.
7571 * debug/xtrace.sh: Likewise.
7572 * elf/ldconfig.c: Likewise.
7573 * elf/ldd.bash.in: Likewise.
7574 * elf/sprof.c (print_version): Likewise.
7575 * iconv/iconv_prog.c: Likewise.
7576 * iconv/iconvconfig.c: Likewise.
7577 * locale/programs/locale.c: Likewise.
7578 * locale/programs/localedef.c: Likewise.
7579 * malloc/memusage.sh: Likewise.
7580 * malloc/mtrace.pl: Likewise.
7581 * nscd/nscd.c (print_version): Likewise.
7582 * nss/getent.c: Likewise.
7583
7584 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7585 PF_CAIF, and PF_ALG.
7586 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7587
7588 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7589
7590 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7591 (modules-names): Use them.
7592 (ifunc-test-modules, ifunc-pie-tests): Define.
7593 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7594 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7595 (test-extras): Likewise.
7596 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7597 $(compile-command.c).
7598 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7599 (all-built-dso): Define.
7600 (check-textrel.out, check-execstack.out): Depend on it.
7601
7602 * configure.in: Don't override --enable-multi-arch.
7603
7604 2011-01-15 Ulrich Drepper <drepper@gmail.com>
7605
7606 [BZ #6812]
7607 * nscd/hstcache.c (tryagain): Define.
7608 (cache_addhst): Return tryagain not notfound for temporary errors.
7609 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7610 failed.
7611
7612 2011-01-14 Ulrich Drepper <drepper@gmail.com>
7613
7614 [BZ #10563]
7615 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7616 to make the syscall.
7617 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7618
7619 [BZ #12378]
7620 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7621 and fall back to matching as normal character if the string ends before
7622 the matching ']' is found. This is what POSIX requires.
7623 * posix/testfnm.c: Adjust test result.
7624 * posix/globtest.sh: Adjust test result. Add new test.
7625 * posix/tst-fnmatch.input: Likewise.
7626 * posix/tst-fnmatch2.c: Add new test.
7627
7628 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7629
7630 * elf/Makefile (check-execstack): Revert last change. Depend on
7631 check-execstack.h.
7632 (check-execstack.h): New target.
7633 (generated): Add check-execstack.h.
7634 * elf/check-execstack.c: Include "check-execstack.h".
7635 (main): Revert last change.
7636 (handle_file): Return zero if GNU_STACK is absent and
7637 DEFAULT_STACK_PERMS doesn't include PF_X.
7638
7639 2011-01-13 Ulrich Drepper <drepper@gmail.com>
7640
7641 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7642 in child fails because the descriptor is already closed.
7643 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7644 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7645 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7646
7647 [BZ #12397]
7648 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7649 syscall.
7650
7651 [BZ #10484]
7652 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7653 temporary buffer used to handle multi lookups locally.
7654 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
7655
7656 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7657
7658 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7659 loader is ld.so.
7660
7661 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7662
7663 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7664 alignment for SSE2.
7665
7666 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7667
7668 [BZ #12394]
7669 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7670 characters. When rounding increased number of integer digits recompute
7671 number of groups.
7672 * stdio-common/tst-grouping.c: New file.
7673 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7674
7675 2011-01-09 Ulrich Drepper <drepper@gmail.com>
7676
7677 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7678 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7679
7680 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7681 void.
7682 * bits/select.h: Likewise.
7683
7684 2011-01-08 Ulrich Drepper <drepper@gmail.com>
7685
7686 * po/ja.po: Update from translation team.
7687
7688 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
7689
7690 [BZ #11155]
7691 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7692 implementation just like for lxstat, fxstatat, et al.
7693
7694 2010-12-27 Jim Meyering <meyering@redhat.com>
7695
7696 [BZ #12348]
7697 * posix/regexec.c (build_trtable): Return failure indication upon
7698 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7699
7700 2010-12-25 Ulrich Drepper <drepper@gmail.com>
7701
7702 [BZ #12201]
7703 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7704 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7705 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7706 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7707
7708 [BZ #12207]
7709 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7710
7711 [BZ #12204]
7712 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7713 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7714
7715 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7716
7717 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7718 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7719 script has SORT_BY_INIT_PRIORITY.
7720 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7721 NO_CTORS_DTORS_SECTIONS is defined.
7722 * elf/soinit.c: Likewise.
7723 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7724 NO_CTORS_DTORS_SECTIONS is defined.
7725 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7726 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7727 * sysdeps/sh/init-first.c: Likewise.
7728 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7729
7730 2010-12-24 Ulrich Drepper <drepper@gmail.com>
7731
7732 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7733 always use the slow path.
7734
7735 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7736
7737 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7738 similar rule which adds the sysdep directories to the header search in
7739 order to pick up the correct platform stackinfo.h.
7740 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7741 perform test if it is, otherwise return successfully without testing.
7742 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7743 DEFAULT_STACK_PERMS define in stackinfo.h.
7744 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7745 defined in stackinfo.h.
7746 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7747 DEFAULT_STACK_PERMS defined in stackinfo.h.
7748 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7749 * sysdeps/ia64/stackinfo.h: Likewise.
7750 * sysdeps/s390/stackinfo.h: Likewise.
7751 * sysdeps/sh/stackinfo.h: Likewise.
7752 * sysdeps/sparc/stackinfo.h: Likewise.
7753 * sysdeps/x86_64/stackinfo.h: Likewise.
7754 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7755 PF_X for powerpc64. Retain PF_X for powerpc32.
7756
7757 2010-12-19 Ulrich Drepper <drepper@gmail.com>
7758
7759 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7760 accurately.
7761 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7762 GETDENTS_64BIT_ALIGNED.
7763
7764 2010-12-14 Ulrich Drepper <dreper@gmail.com>
7765
7766 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
7767
7768 2010-12-10 Andreas Schwab <schwab@redhat.com>
7769
7770 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7771 _GNU_SOURCE.
7772
7773 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7774 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7775 Remove __restrict.
7776 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7777 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7778
7779 2010-12-09 Ulrich Drepper <drepper@gmail.com>
7780
7781 [BZ #11655]
7782 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7783 are initialized.
7784
7785 2010-12-09 Jakub Jelinek <jakub@redhat.com>
7786
7787 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7788
7789 2010-12-03 Ulrich Drepper <drepper@gmail.com>
7790
7791 * po/it.po: Update from translation team.
7792
7793 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7794
7795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7796 unused codes.
7797
7798 2010-11-30 Ulrich Drepper <drepper@gmail.com>
7799
7800 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7801
7802 2010-11-24 Andreas Schwab <schwab@redhat.com>
7803
7804 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7805 specially.
7806 (gaih_getanswer_slice): Likewise.
7807
7808 2010-10-20 Jakub Jelinek <jakub@redhat.com>
7809
7810 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7811
7812 2010-05-31 Petr Baudis <pasky@suse.cz>
7813
7814 [BZ #11149]
7815 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7816 silently even in the chroot mode.
7817
7818 2010-11-22 Ulrich Drepper <drepper@gmail.com>
7819
7820 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7821 last patch a bit. Pretty printing
7822
7823 2010-05-31 Petr Baudis <pasky@suse.cz>
7824
7825 [BZ #10085]
7826 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7827 initialization of skip_initgroups_dyn.
7828
7829 2010-11-19 Ulrich Drepper <drepper@gmail.com>
7830
7831 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7832 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7833
7834 2010-11-16 Ulrich Drepper <drepper@gmail.com>
7835
7836 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7837
7838 2010-11-11 Andreas Schwab <schwab@redhat.com>
7839
7840 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7841 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7842 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7843 ($(objpfx)tst-fnmatch-mem): New rule.
7844 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7845 * posix/tst-fnmatch.c (main): Call mtrace.
7846
7847 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7848
7849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7850 Support Intel processor model 6 and model 0x2c.
7851
7852 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
7853
7854 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7855 signed comparison.
7856
7857 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7858
7859 [BZ #12205]
7860 * string/test-strncasecmp.c (check_result): New function.
7861 (do_one_test): Use it.
7862 (check1): New function.
7863 (test_main): Use it.
7864 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7865 Support strcasecmp and strncasecmp.
7866
7867 2010-11-08 Ulrich Drepper <drepper@gmail.com>
7868
7869 [BZ #12194]
7870 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7871 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7872
7873 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7874
7875 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7876 IFUNC support.
7877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7878 memset-x86-64.
7879 * sysdeps/x86_64/multiarch/bzero.S: New file.
7880 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7881 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7882 * sysdeps/x86_64/multiarch/memset.S: New file.
7883 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7884 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7885 Set bit_Prefer_SSE_for_memop for Intel processors.
7886 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7887 Define.
7888 (index_Prefer_SSE_for_memop): Define.
7889 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7890
7891 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
7892
7893 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7894 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7895
7896 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7897
7898 [BZ #12191]
7899 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7900 (__x86_64_raw_data_cache_size_half): Likewise.
7901 (__x86_64_raw_shared_cache_size): Likewise.
7902 (__x86_64_raw_shared_cache_size_half): Likewise.
7903
7904 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7905 (__x86_64_raw_data_cache_size_half): Likewise.
7906 (__x86_64_raw_shared_cache_size): Likewise.
7907 (__x86_64_raw_shared_cache_size_half): Likewise.
7908 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7909 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7910 and __x86_64_raw_shared_cache_size_half. Round
7911 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7912 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7913 to multiple of 256 bytes.
7914
7915 2010-11-03 Ulrich Drepper <drepper@gmail.com>
7916
7917 [BZ #12167]
7918 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7919 of inacessible symlinks. Verify result of symlink before returning it.
7920 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7921 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7922
7923 2010-10-28 Erich Ritz <erichritz@gmail.com>
7924
7925 * math/math.h (isinf): Fix typo in comment.
7926
7927 2010-11-01 Ulrich Drepper <drepper@gmail.com>
7928
7929 * po/da.po: Update from translation team.
7930
7931 2010-10-26 Ulrich Drepper <drepper@gmail.com>
7932
7933 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7934 is added to the list.
7935
7936 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7937 Ulrich Drepper <drepper@gmail.com>
7938
7939 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7940 the global list here. Move code to...
7941 (_dl_add_to_namespace_list): ...here. New function.
7942 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7943 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7944 * elf/dl-load.c (lose): Don't remove the element from the list.
7945 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7946 (_dl_map_object): Likewise.
7947
7948 2010-10-25 Ulrich Drepper <drepper@gmail.com>
7949
7950 [BZ #12159]
7951 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7952 into all bytes of SSE register.
7953 Patch by Richard Li <richardpku@gmail.com>.
7954
7955 2010-10-24 Ulrich Drepper <drepper@gmail.com>
7956
7957 [BZ #12140]
7958 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7959 perturbing.
7960
7961 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7962
7963 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7964 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7965 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7966 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7968 submachine.
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7970
7971 2010-10-22 Andreas Schwab <schwab@redhat.com>
7972
7973 * include/dlfcn.h (__RTLD_SECURE): Define.
7974 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7975 mode & __RTLD_SECURE instead.
7976 (open_path): Rename preloaded parameter to secure.
7977 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7978 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7979 * elf/dl-deps.c (openaux): Likewise.
7980 * elf/rtld.c (struct map_args): Remove is_preloaded.
7981 (map_doit): Don't use it.
7982 (dl_main): Likewise.
7983 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7984 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7985
7986 2010-09-09 Andreas Schwab <schwab@redhat.com>
7987
7988 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7989 (sysd-rules-targets): Remove duplicates.
7990 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7991 rtld-%.$o dependency.
7992
7993 2010-10-18 Andreas Schwab <schwab@redhat.com>
7994
7995 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7996 _dl_map_object do it.
7997
7998 2010-10-19 Ulrich Drepper <drepper@gmail.com>
7999
8000 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8001 fast fma builtins, define the macros in the C99 standard.
8002 (FP_FAST_FMAF): Likewise.
8003 (FP_FAST_FMAL): Likewise.
8004 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8005
8006 * bits/mathdef.h: Update copyright year.
8007 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8008
8009 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8010
8011 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8012 builtins, define the macros in the C99 standard.
8013 (FP_FAST_FMAF): Likewise.
8014 (FP_FAST_FMAL): Likewise.
8015 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8016 multiply/add.
8017 (FP_FAST_FMAF): Likewise.
8018
8019 2010-10-15 Jakub Jelinek <jakub@redhat.com>
8020
8021 [BZ #3268]
8022 * math/libm-test.inc (fma_test): Some new testcases.
8023 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8024 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8025 y and infinite z. Do multiplication by C already in long double.
8026 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8028 y and infinite z. Do bitwise or of inexact bit into u.d.
8029 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8030 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8031 * sysdeps/i386/fpu/s_fma.S: Removed.
8032 * sysdeps/i386/fpu/s_fmal.S: Removed.
8033
8034 2010-10-16 Jakub Jelinek <jakub@redhat.com>
8035
8036 [BZ #3268]
8037 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8039 computation is not scheduled after fetestexcept. Fix value
8040 of minimum denormal long double.
8041
8042 2010-10-14 Jakub Jelinek <jakub@redhat.com>
8043
8044 [BZ #3268]
8045 * math/libm-test.inc (fma_test): Add some more tests.
8046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8047 correctly.
8048
8049 2010-10-15 Andreas Schwab <schwab@redhat.com>
8050
8051 * scripts/data/localplt-s390-linux-gnu.data: New file.
8052 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8053
8054 2010-10-13 Jakub Jelinek <jakub@redhat.com>
8055
8056 [BZ #3268]
8057 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8058 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8059 instead of dbl-64.
8060 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8061 inlines.
8062 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8064 if one of x and y is very large and the other is subnormal.
8065 * sysdeps/s390/fpu/s_fmaf.c: New file.
8066 * sysdeps/s390/fpu/s_fma.c: New file.
8067 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8068 * sysdeps/powerpc/fpu/s_fma.S: New file.
8069 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8070 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8071 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8072
8073 2010-10-12 Jakub Jelinek <jakub@redhat.com>
8074
8075 [BZ #3268]
8076 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8077 fma tests.
8078 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8079 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8080 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8081 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8082 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8083 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8084 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8085
8086 2010-10-12 Ulrich Drepper <drepper@redhat.com>
8087
8088 [BZ #12078]
8089 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8090 * posix/bug-regex31.input: Add test case.
8091
8092 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8093
8094 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8095 * posix/bug-regex31.input: New file.
8096
8097 [BZ #12078]
8098 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8099 (parse_sub_exp): Fix last change, use postorder.
8100
8101 * posix/bug-regex31.c: New file.
8102 * posix/Makefile: Add rules to build and run bug-regex31.
8103
8104 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8105
8106 [BZ #12078]
8107 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8108
8109 [BZ #12108]
8110 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8111 to have entries in sys_siglist.
8112
8113 [BZ #12093]
8114 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8115 be NULL.
8116
8117 2010-10-07 Jakub Jelinek <jakub@redhat.com>
8118
8119 [BZ #3268]
8120 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8121 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8122 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8123 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8124 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8125 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8126 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8127 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8128 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8129 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8130 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8131 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8132 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8133 * math/ftestexcept.c (fetestexcept): Likewise.
8134 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8135 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8136 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8137 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8138 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8139 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8140 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8141
8142 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8143
8144 [BZ #12107]
8145 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8146 newline.
8147
8148 2010-10-06 Ulrich Drepper <drepper@gmail.com>
8149
8150 * string/bug-strstr1.c: New file.
8151 * string/Makefile: Add rules to build and run bug-strstr1.
8152
8153 2010-10-05 Eric Blake <eblake@redhat.com>
8154
8155 [BZ #12092]
8156 * string/str-two-way.h (two_way_long_needle): Always clear memory
8157 when skipping input due to the shift table.
8158
8159 2010-10-03 Ulrich Drepper <drepper@gmail.com>
8160
8161 [BZ #12005]
8162 * malloc/mcheck.c: Handle large requests.
8163
8164 [BZ #12077]
8165 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8166 for strncmp and strncasecmp.
8167 * string/stratcliff.c: Add tests for strcmp and strncmp.
8168 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8169
8170 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8171
8172 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8173 __set_fpscr.
8174
8175 2010-09-30 Andreas Jaeger <aj@suse.de>
8176
8177 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8178 (CGROUP_SUPER_MAGIC): Define.
8179 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8180 Handle btrfs and cgroup file systems.
8181 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8182 Likewise.
8183
8184 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
8185
8186 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8187 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8188
8189 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8190
8191 [BZ #12067]
8192 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8193 trying to locate the ELF header.
8194
8195 2010-09-27 Andreas Schwab <schwab@redhat.com>
8196
8197 [BZ #11611]
8198 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8199 Mask out sign-bit copies when constructing f_fsid.
8200
8201 2010-09-24 Petr Baudis <pasky@suse.cz>
8202
8203 * debug/stack_chk_fail_local.c: Add missing licence exception.
8204 * debug/warning-nop.c: Likewise.
8205
8206 2010-09-15 Joseph Myers <joseph@codesourcery.com>
8207
8208 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8209 implementing getdents64 using getdents syscall, set d_type if
8210 __ASSUME_GETDENTS32_D_TYPE.
8211
8212 2010-09-16 Andreas Schwab <schwab@redhat.com>
8213
8214 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8215 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8216
8217 2010-09-21 Ulrich Drepper <drepper@redhat.com>
8218
8219 [BZ #12037]
8220 * posix/unistd.h: Undo change of feature selection for ftruncate from
8221 2010-01-11.
8222
8223 2010-09-20 Ulrich Drepper <drepper@redhat.com>
8224
8225 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8226 detection.
8227
8228 2010-09-20 Andreas Schwab <schwab@redhat.com>
8229
8230 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8231 fanotify_mark.
8232 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8233
8234 2010-09-14 Andreas Schwab <schwab@redhat.com>
8235
8236 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8237 variables after CHECK_SP call.
8238 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8239
8240 2010-09-13 Andreas Schwab <schwab@redhat.com>
8241 Ulrich Drepper <drepper@redhat.com>
8242
8243 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8244 re-relocationg ld.so.
8245 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8246 _dl_init_paths call.
8247 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8248 here anymore.
8249
8250 2010-09-14 Ulrich Drepper <drepper@redhat.com>
8251
8252 * resolv/res_init.c (__res_vinit): Count the default server we added.
8253
8254 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8255 Ulrich Drepper <drepper@redhat.com>
8256
8257 [BZ #11968]
8258 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8259 (____longjmp_chk): Use %ebx for saving value across system call.
8260 Add unwind info.
8261
8262 2010-09-06 Andreas Schwab <schwab@redhat.com>
8263
8264 * manual/Makefile: Don't mix pattern rules with normal rules.
8265
8266 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8267
8268 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8269 operation.
8270 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8271 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8272 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8273 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8274 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8275 Likewise.
8276
8277 2010-09-04 Ulrich Drepper <drepper@redhat.com>
8278
8279 [BZ #11979]
8280 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8281 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8282
8283 2010-09-02 Ulrich Drepper <drepper@redhat.com>
8284
8285 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8286 * sysdeps/x86_64/addmul_1.S: Likewise.
8287 * sysdeps/x86_64/lshift.S: Likewise.
8288 * sysdeps/x86_64/mul_1.S: Likewise.
8289 * sysdeps/x86_64/rshift.S: Likewise.
8290 * sysdeps/x86_64/sub_n.S: Likewise.
8291 * sysdeps/x86_64/submul_1.S: Likewise.
8292
8293 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8294
8295 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8296 Define __sched_param instead of SCHED_* and sched_param when
8297 <bits/sched.h> is included with __need_schedparam defined.
8298 * bits/sched.h [__need_schedparam]
8299 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
8300 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8301 (__defined_schedparam): Define to 1.
8302 (__sched_param): New structure, identical to sched_param.
8303 (__need_schedparam): Undefine.
8304
8305 2010-08-31 Mike Frysinger <vapier@gentoo.org>
8306
8307 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8308 (epoll_create1): Declare.
8309
8310 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8311
8312 2010-08-31 Andreas Schwab <schwab@redhat.com>
8313
8314 [BZ #7066]
8315 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8316 shifting retval into place.
8317
8318 2010-09-01 Ulrich Drepper <drepper@redhat.com>
8319
8320 * nis/rpcsvc/nis.h: Update copyright notice.
8321 * nis/rpcsvc/nis.x: Likewise.
8322 * nis/rpcsvc/nis_callback.h: Likewise.
8323 * nis/rpcsvc/nis_callback.x: Likewise.
8324 * nis/rpcsvc/nis_object.x: Likewise.
8325 * nis/rpcsvc/nis_tags.h: Likewise.
8326 * nis/rpcsvc/yp.h: Likewise.
8327 * nis/rpcsvc/yp.x: Likewise.
8328 * nis/rpcsvc/ypupd.h: Likewise.
8329 * nis/yp_xdr.c: Likewise.
8330 * nis/ypupdate_xdr.c: Likewise.
8331
8332 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8333 mainly the body of pmap_getport. Add parameters to specify timeouts.
8334 (pmap_getport): Use __libc_rpc_getport.
8335 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8336 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8337 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8338
8339 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8340
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8342 fanotify_mark.
8343
8344 2010-08-27 Roland McGrath <roland@redhat.com>
8345
8346 * sysdeps/i386/i686/multiarch/Makefile
8347 (CFLAGS-varshift.c): New variable.
8348
8349 2010-08-27 Ulrich Drepper <drepper@redhat.com>
8350
8351 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8352 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8353
8354 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8355
8356 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8357
8358 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8359
8360 * sysdeps/x86_64/strlen.S: Unroll the loop.
8361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8362 strlen-sse2 strlen-sse2-bsf.
8363 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8364 __strlen_no_bsf if bit_Slow_BSF is set.
8365 (__strlen_sse42): Removed.
8366 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8367 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8368
8369 2010-08-25 Roland McGrath <roland@redhat.com>
8370
8371 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8372 * sysdeps/x86_64/multiarch/varshift.c: New file.
8373 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8374 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8375 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8376 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8377
8378 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8379
8380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8381 strlen-sse2 strlen-sse2-bsf.
8382 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8383 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8384 (__strlen_sse2): Removed.
8385 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8386 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8388 bit_Slow_BSF for Atom.
8389 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8390 (index_Slow_BSF): Define.
8391 (HAS_SLOW_BSF): Define.
8392
8393 2010-08-25 Ulrich Drepper <drepper@redhat.com>
8394
8395 [BZ #10851]
8396 * resolv/res_init.c (__res_vinit): When no server address at all
8397 is given default to loopback.
8398
8399 2010-08-24 Roland McGrath <roland@redhat.com>
8400
8401 * configure.in: Remove config-name.h generation.
8402 * configure: Regenerated.
8403 * config-name.in: File removed.
8404 * scripts/config-uname.sh: New file.
8405 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8406 ($(objdir)config-name.h): New target.
8407
8408 * sunrpc/rpc_parse.h: Avoid nested comment.
8409
8410 2010-08-24 Richard Henderson <rth@redhat.com>
8411 Ulrich Drepper <drepper@redhat.com>
8412 H.J. Lu <hongjiu.lu@intel.com>
8413
8414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8416 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8417 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8418 _mm_alignr_epi8 with _mm_loadu_si128.
8419 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8420 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8421 (__m128i_shift_right): Removed.
8422 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8423 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8424 * sysdeps/x86_64/multiarch/varshift.h: New file.
8425 * sysdeps/x86_64/multiarch/varshift.S: New file.
8426
8427 2010-08-21 Mike Frysinger <vapier@gentoo.org>
8428
8429 * configure.in: Move assembler checks to before sysdep dir checking.
8430
8431 2010-08-20 Petr Baudis <pasky@suse.cz>
8432
8433 * LICENSES: Sync the sunrpc license.
8434
8435 2010-08-19 Ulrich Drepper <drepper@redhat.com>
8436
8437 * sunrpc/auth_des.c: Update copyright notice once again.
8438 * sunrpc/auth_none.c: Likewise.
8439 * sunrpc/auth_unix.c: Likewise.
8440 * sunrpc/authdes_prot.c: Likewise.
8441 * sunrpc/authuxprot.c: Likewise.
8442 * sunrpc/bindrsvprt.c: Likewise.
8443 * sunrpc/clnt_gen.c: Likewise.
8444 * sunrpc/clnt_perr.c: Likewise.
8445 * sunrpc/clnt_raw.c: Likewise.
8446 * sunrpc/clnt_simp.c: Likewise.
8447 * sunrpc/clnt_tcp.c: Likewise.
8448 * sunrpc/clnt_udp.c: Likewise.
8449 * sunrpc/clnt_unix.c: Likewise.
8450 * sunrpc/des_crypt.c: Likewise.
8451 * sunrpc/des_soft.c: Likewise.
8452 * sunrpc/get_myaddr.c: Likewise.
8453 * sunrpc/getrpcport.c: Likewise.
8454 * sunrpc/key_call.c: Likewise.
8455 * sunrpc/key_prot.c: Likewise.
8456 * sunrpc/openchild.c: Likewise.
8457 * sunrpc/pm_getmaps.c: Likewise.
8458 * sunrpc/pm_getport.c: Likewise.
8459 * sunrpc/pmap_clnt.c: Likewise.
8460 * sunrpc/pmap_prot.c: Likewise.
8461 * sunrpc/pmap_prot2.c: Likewise.
8462 * sunrpc/pmap_rmt.c: Likewise.
8463 * sunrpc/rpc/auth.h: Likewise.
8464 * sunrpc/rpc/auth_unix.h: Likewise.
8465 * sunrpc/rpc/clnt.h: Likewise.
8466 * sunrpc/rpc/des_crypt.h: Likewise.
8467 * sunrpc/rpc/key_prot.h: Likewise.
8468 * sunrpc/rpc/netdb.h: Likewise.
8469 * sunrpc/rpc/pmap_clnt.h: Likewise.
8470 * sunrpc/rpc/pmap_prot.h: Likewise.
8471 * sunrpc/rpc/pmap_rmt.h: Likewise.
8472 * sunrpc/rpc/rpc.h: Likewise.
8473 * sunrpc/rpc/rpc_des.h: Likewise.
8474 * sunrpc/rpc/rpc_msg.h: Likewise.
8475 * sunrpc/rpc/svc.h: Likewise.
8476 * sunrpc/rpc/svc_auth.h: Likewise.
8477 * sunrpc/rpc/types.h: Likewise.
8478 * sunrpc/rpc/xdr.h: Likewise.
8479 * sunrpc/rpc_clntout.c: Likewise.
8480 * sunrpc/rpc_cmsg.c: Likewise.
8481 * sunrpc/rpc_common.c: Likewise.
8482 * sunrpc/rpc_cout.c: Likewise.
8483 * sunrpc/rpc_dtable.c: Likewise.
8484 * sunrpc/rpc_hout.c: Likewise.
8485 * sunrpc/rpc_main.c: Likewise.
8486 * sunrpc/rpc_parse.c: Likewise.
8487 * sunrpc/rpc_parse.h: Likewise.
8488 * sunrpc/rpc_prot.c: Likewise.
8489 * sunrpc/rpc_sample.c: Likewise.
8490 * sunrpc/rpc_scan.c: Likewise.
8491 * sunrpc/rpc_scan.h: Likewise.
8492 * sunrpc/rpc_svcout.c: Likewise.
8493 * sunrpc/rpc_tblout.c: Likewise.
8494 * sunrpc/rpc_util.c: Likewise.
8495 * sunrpc/rpc_util.h: Likewise.
8496 * sunrpc/rpcinfo.c: Likewise.
8497 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8498 * sunrpc/rpcsvc/key_prot.x: Likewise.
8499 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8500 * sunrpc/rpcsvc/mount.x: Likewise.
8501 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8502 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8503 * sunrpc/rpcsvc/rex.x: Likewise.
8504 * sunrpc/rpcsvc/rstat.x: Likewise.
8505 * sunrpc/rpcsvc/rusers.x: Likewise.
8506 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8507 * sunrpc/rpcsvc/spray.x: Likewise.
8508 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8509 * sunrpc/rtime.c: Likewise.
8510 * sunrpc/svc.c: Likewise.
8511 * sunrpc/svc_auth.c: Likewise.
8512 * sunrpc/svc_authux.c: Likewise.
8513 * sunrpc/svc_raw.c: Likewise.
8514 * sunrpc/svc_run.c: Likewise.
8515 * sunrpc/svc_simple.c: Likewise.
8516 * sunrpc/svc_tcp.c: Likewise.
8517 * sunrpc/svc_udp.c: Likewise.
8518 * sunrpc/svc_unix.c: Likewise.
8519 * sunrpc/svcauth_des.c: Likewise.
8520 * sunrpc/xcrypt.c: Likewise.
8521 * sunrpc/xdr.c: Likewise.
8522 * sunrpc/xdr_array.c: Likewise.
8523 * sunrpc/xdr_float.c: Likewise.
8524 * sunrpc/xdr_mem.c: Likewise.
8525 * sunrpc/xdr_rec.c: Likewise.
8526 * sunrpc/xdr_ref.c: Likewise.
8527 * sunrpc/xdr_sizeof.c: Likewise.
8528 * sunrpc/xdr_stdio.c: Likewise.
8529
8530 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8531 handling.
8532
8533 2010-08-19 Andreas Schwab <schwab@redhat.com>
8534
8535 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8536
8537 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
8538
8539 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8540 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8541 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8542 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8543 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8544 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8545 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8546 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8547 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8548 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8549 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8550 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8551 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8552 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8553
8554 2010-07-26 Anton Blanchard <anton@samba.org>
8555
8556 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8557 * malloc/arena.c (heap_trim): Likewise.
8558
8559 2010-08-16 Ulrich Drepper <drepper@redhat.com>
8560
8561 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8562 here. Not...
8563 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8564 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8565
8566 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8567
8568 * sysdeps/i386/elf/Makefile: New file.
8569
8570 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8571
8572 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8573 from fanotify_init.
8574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8575 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8576
8577 2010-08-15 Ulrich Drepper <drepper@redhat.com>
8578
8579 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8580 of strncasecmp_l.
8581 * sysdeps/multiarch/strcmp.S: Likewise.
8582
8583 2010-08-14 Ulrich Drepper <drepper@redhat.com>
8584
8585 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8586 strncase_l-nonascii.
8587 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8588 Add strncase_l-ssse3.
8589 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8590 * sysdeps/x86_64/strcmp.S: Likewise.
8591 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8592 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8593 * sysdeps/x86_64/strncase.S: New file.
8594 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8595 * sysdeps/x86_64/strncase_l.S: New file.
8596 * string/Makefile (strop-tests): Add strncasecmp.
8597 * string/test-strncasecmp.c: New file.
8598
8599 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8600 warning.
8601
8602 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8603 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8604
8605 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8606
8607 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8608
8609 2010-08-12 Ulrich Drepper <drepper@redhat.com>
8610
8611 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8612 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8613 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8614
8615 2010-05-01 Alan Modra <amodra@gmail.com>
8616
8617 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8618 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8619 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8620 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8621 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8622 tidying. Don't tail-call __sigjmp_save for static lib.
8623 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8624 save location.
8625 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8626 (CALL_MCOUNT): Add eh info, and nop after bl.
8627 (TAIL_CALL_SYSCALL_ERROR): New macro.
8628 (PSEUDO_RET): Use it.
8629 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8630 Correct save location of integer regs and cr.
8631 (_dl_profile_resolve): Correct cr save location. Delete nops
8632 after bl when SHARED. Reduce cfi size a little by better
8633 placement of cfi directives.
8634 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8635 make a stack frame. Instead use parm save area as a temp.
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8637 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8639 Don't make a stack frame for parent, use parm save area.
8640 Increase child stack frame to 112 bytes. Don't save unused reg,
8641 and adjust reg usage. Set up cfi on error recovery and
8642 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8644 (__makecontext): Add dummy nop after jump to exit.
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8646 Use correct parm save area and cr save, reduce stack frame.
8647 Correct cfi for possible PSEUDO_RET frame setup.
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8649 Branch to local label emitted by PSEUDO_RET rather than
8650 __syscall_error.
8651
8652 2010-08-12 Andreas Schwab <schwab@redhat.com>
8653
8654 [BZ #11904]
8655 * locale/programs/locale.c (print_assignment): New function.
8656 (show_locale_vars): Use it.
8657
8658 2010-08-11 Ulrich Drepper <drepper@redhat.com>
8659
8660 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8661 field.
8662 (struct statfs64): Likewise.
8663 (_STATFS_F_FLAGS): Define.
8664 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8665 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8666 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8667 (ST_VALID): Define locally.
8668 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8669 __statvfs_getflags, use the provided value.
8670 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8671 __ASSUME_STATFS_F_FLAGS.
8672
8673 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8674
8675 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8676 Add sys/fanotify.h.
8677 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8678 fanotify_mask for GLIBC_2.13.
8679 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8680 fanotify_init and fanotify_mark.
8681 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8682 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8683
8684 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8685 Add prlimit.
8686 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8687 prlimit64 for GLIBC_2.13.
8688 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8689 prlimit64.
8690 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8691 syscall.
8692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8693 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8694 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8695 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8697 add prlimit alias.
8698 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8699
8700 [BZ #11903]
8701 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8702 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8703
8704 * nss/Makefile: Add rules to build and run tst-nss-test1.
8705 * shlib-versions: Add entry for libnss_test1.
8706 * nss/nss_test1.c: New file.
8707 * nss/tst-nss-test1.c: New file.
8708
8709 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8710 (__nss_configure_lookup): Set appropriate entry in
8711 __nss_configure_lookup to true.
8712 * nss/nsswitch.h: Define enum with indeces of databases in
8713 databases and __nss_database_custom arrays. Declare
8714 __nss_database_custom.
8715 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8716 to avoid using nscd when custom rules are installed.
8717 * nss/getXXbyYY_r.c: Likewise.
8718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8719
8720 * nss/nss_files/files-parse.c: Whitespace fixes.
8721
8722 2010-08-09 Ulrich Drepper <drepper@redhat.com>
8723
8724 [BZ #11883]
8725 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8726 * posix/fnmatch_loop.c: Likewise.
8727
8728 2010-07-17 Andi Kleen <ak@linux.intel.com>
8729
8730 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8731 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8732 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8733 * Versions.def [GLIBC_2.13]: Add.
8734
8735 2010-08-06 Ulrich Drepper <drepper@redhat.com>
8736
8737 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8738 Also fail if tpwd after pwuid call is NULL.
8739
8740 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8741
8742 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8743 when converting to ms.
8744
8745 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8746
8747 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8748 EOPNOTSUPP errors with ENOTTY.
8749 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8750 EOPNOTSUPP errors with ENOTTY.
8751
8752 2010-07-31 Ulrich Drepper <drepper@redhat.com>
8753
8754 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8755 Add strcasecmp_l-ssse3.
8756 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8757 strcasecmp.
8758 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8759 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8760 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8761
8762 2010-07-30 Ulrich Drepper <drepper@redhat.com>
8763
8764 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8765
8766 * string/Makefile (strop-tests): Add strcasecmp.
8767 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8768 strcasecmp_l-nonascii.
8769 (gen-as-const-headers): Add locale-defines.sym.
8770 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8771 * sysdeps/x86_64/strcasecmp.S: New file.
8772 * sysdeps/x86_64/strcasecmp_l.S: New file.
8773 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8774 * sysdeps/x86_64/locale-defines.sym: New file.
8775 * string/test-strcasecmp.c: New file.
8776
8777 * string/test-strcasestr.c: Test both ends of the range of characters.
8778 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8779
8780 2010-07-29 Roland McGrath <roland@redhat.com>
8781
8782 [BZ #11856]
8783 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8784
8785 2010-07-27 Ulrich Drepper <drepper@redhat.com>
8786
8787 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8788 for ld.so.
8789
8790 2010-07-27 Andreas Schwab <schwab@redhat.com>
8791
8792 * manual/memory.texi (Malloc Tunable Parameters): Document
8793 M_PERTURB.
8794
8795 2010-07-26 Roland McGrath <roland@redhat.com>
8796
8797 [BZ #11840]
8798 * configure.in (-fgnu89-inline check): Set and substitute
8799 gnu89_inline, not libc_cv_gnu89_inline.
8800 * configure: Regenerated.
8801 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8802
8803 2010-07-26 Ulrich Drepper <drepper@redhat.com>
8804
8805 * string/test-strnlen.c: New file.
8806 * string/Makefile (strop-tests): Add strnlen.
8807 * string/tester.c (test_strnlen): Add a few more test cases.
8808 * string/tst-strlen.c: Better error reporting.
8809
8810 * sysdeps/x86_64/strnlen.S: New file.
8811
8812 2010-07-24 Ulrich Drepper <drepper@redhat.com>
8813
8814 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8815 lower-latency instructions.
8816
8817 2010-07-23 Ulrich Drepper <drepper@redhat.com>
8818
8819 * string/test-strcasestr.c: New file.
8820 * string/test-strstr.c: New file.
8821 * string/Makefile (strop-tests): Add strstr and strcasestr.
8822 * string/str-two-way.h: Don't undefine MAX.
8823 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8824
8825 2010-07-21 Andreas Schwab <schwab@redhat.com>
8826
8827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8828 strcasestr-nonascii.
8829 (CFLAGS-strcasestr-nonascii.c): Define.
8830 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8831 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8832 Remove unused attribute.
8833
8834 2010-07-20 Roland McGrath <roland@redhat.com>
8835
8836 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8837 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8838 ld.so.cache was broken. With it, there is no way to disable dsocaps
8839 like LD_HWCAP_MASK can disable hwcaps.
8840
8841 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8842
8843 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8844
8845 2010-07-16 Ulrich Drepper <drepper@redhat.com>
8846
8847 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8848 call in strcasestr.
8849 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8850 __strcasestr_sse42_nonascii.
8851 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8852 strcasestr-nonascii.c.
8853 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8854
8855 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
8856
8857 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8858 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8859 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8860 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8861
8862 2010-07-09 Ulrich Drepper <drepper@redhat.com>
8863
8864 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8865 fcntl.
8866
8867 2010-07-06 Andreas Schwab <schwab@redhat.com>
8868
8869 [BZ #11577]
8870 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8871 dl_signal_cerror.
8872
8873 2010-07-06 Ulrich Drepper <drepper@redhat.com>
8874
8875 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8876 _PC_PIPE_BUF using F_GETPIPE_SZ.
8877
8878 2010-07-05 Roland McGrath <roland@redhat.com>
8879
8880 * manual/arith.texi (Rounding Functions): Fix rint description
8881 implicit in round description.
8882
8883 2010-07-02 Ulrich Drepper <drepper@redhat.com>
8884
8885 * elf/Makefile: Fix linking for a few tests to make recent linker
8886 happy.
8887
8888 2010-06-30 Andreas Schwab <schwab@redhat.com>
8889
8890 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8891 $(common-objpfx)libc_nonshared.a.
8892
8893 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
8894
8895 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8896 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8897 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8898 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8899 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8900 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8901 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8902 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8917 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8918 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8919 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8920 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8921 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8922 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8923 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8924 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8925 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8926 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8927 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8928 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8943
8944 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8945
8946 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8947 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8948 * string/memmove.c (memmove): Renamed to ...
8949 (MEMMOVE): ...this. Default to memmove.
8950 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8951 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8952 (END_CHK): Define.
8953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8954 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8955 mempcpy-ssse3-back memmove-ssse3-back.
8956 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8957 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8958 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8959 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8960 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8961 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8962 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8963 * sysdeps/x86_64/multiarch/memmove.c: New file.
8964 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8965 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8966 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8967 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8968 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8969 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8970 Define.
8971 (index_Fast_Copy_Backward): Define.
8972 (HAS_ARCH_FEATURE): Define.
8973 (HAS_FAST_REP_STRING): Define.
8974 (HAS_FAST_COPY_BACKWARD): Define.
8975
8976 2010-06-21 Andreas Schwab <schwab@redhat.com>
8977
8978 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8979 Restore proper fallback handling.
8980
8981 2010-06-19 Ulrich Drepper <drepper@redhat.com>
8982
8983 [BZ #11701]
8984 * posix/group_member.c (__group_member): Correct checking loop.
8985
8986 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8987 OOM in getpwuid_r correctly. Return error number when the caller
8988 should return, otherwise -1.
8989 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8990 call returning > 0 value.
8991 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8992
8993 2010-06-07 Andreas Schwab <schwab@redhat.com>
8994
8995 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8996 libc_nonshared.a from targets in modules-names.
8997
8998 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8999
9000 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9001 requires it.
9002
9003 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
9004
9005 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9006 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9007 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9008 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9009
9010 2010-06-02 Andreas Schwab <schwab@redhat.com>
9011
9012 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9013
9014 2010-06-14 Ulrich Drepper <drepper@redhat.com>
9015
9016 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9017 and F_GETPIPE_SZ.
9018 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9019 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9020 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9021 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9022 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9023 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9024
9025 2010-06-14 Roland McGrath <roland@redhat.com>
9026
9027 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9028
9029 2010-06-07 Jakub Jelinek <jakub@redhat.com>
9030
9031 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9032 __REDIRECT followed by __THROW.
9033 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9034 * posix/getopt.h (getopt): Likewise.
9035
9036 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9037
9038 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9039 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9040 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9041 in AT_FLAGS.
9042 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9043 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9044
9045 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
9046
9047 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9048
9049 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9050
9051 [BZ #11640]
9052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9053 Properly check family and model.
9054
9055 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9056
9057 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9058
9059 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
9060
9061 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9062
9063 2010-05-21 Ulrich Drepper <drepper@redhat.com>
9064
9065 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9066 symbol reference.
9067
9068 2010-05-19 Andreas Schwab <schwab@redhat.com>
9069
9070 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9071 symbol reference.
9072
9073 2010-05-21 Andreas Schwab <schwab@redhat.com>
9074
9075 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9076 and internal_recvmmsg.
9077 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9078 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9079 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9080 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9081
9082 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9083 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9084 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9085
9086 2010-05-20 Andreas Schwab <schwab@redhat.com>
9087
9088 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9089
9090 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
9091
9092 POWER7 optimizations.
9093 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9094 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9095
9096 2010-05-19 Ulrich Drepper <drepper@redhat.com>
9097
9098 * version.h: Update for 2.13 development version.
9099
9100 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
9101
9102 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9103 exceptions. Return 0.
9104
9105 2010-05-07 Roland McGrath <roland@redhat.com>
9106
9107 * elf/ldconfig.c (main): Add a const.
9108
9109 2010-05-06 Ulrich Drepper <drepper@redhat.com>
9110
9111 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9112 (args_options): Add no-idn option.
9113 (ahosts_keys_int): Add idn_flags to ai_flags.
9114 (parse_option): Handle 'i' option to clear idn_flags.
9115
9116 * malloc/malloc.c (_int_free): Possible race in the most recently
9117 added check. Only act on the data if no current modification
9118 happened.
9119
9120 See ChangeLog.17 for earlier changes.