]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove distribute variable from Makefiles
[thirdparty/glibc.git] / ChangeLog
CommitLineData
482ff4da
UD
12012-03-07 Ulrich Drepper <drepper@gmail.com>
2
a4300c7a
UD
3 * login/Makefile (distribute): Remove variable.
4 * catgets/Makefile: Likewise.
5 * mach/Makefile: Likewise.
6 * malloc/Makefile: Likewise.
7 * misc/Makefile: Likewise.
8 * iconv/Makefile: Likewise.
9 * nscd/Makefile: Likewise.
10 * hurd/Makefile: Likewise.
11 * manual/Makefile: Likewise.
12 * locale/Makefile: Likewise.
13 * intl/Makefile: Likewise.
14 * conform/Makefile: Likewise.
15 * nss/Makefile: Likewise.
16 * time/Makefile: Likewise.
17 * soft-fp/Makefile: Likewise.
18 * dirent/Makefile: Likewise.
19 * gmon/Makefile: Likewise.
20 * po/Makefile: Likewise.
21 * rt/Makefile: Likewise.
22 * socket/Makefile: Likewise.
23 * math/Makefile: Likewise.
24 * signal/Makefile: Likewise.
25 * debug/Makefile: Likewise.
26 * elf/Makefile: Likewise.
27 * timezone/Makefile: Likewise.
28 * stdlib/Makefile: Likewise.
29 * iconvdata/Makefile: Likewise.
30 * sunrpc/Makefile: Likewise.
31 * io/Makefile: Likewise.
32 * argp/Makefile: Likewise.
33 * inet/Makefile: Likewise.
34 * hesiod/Makefile: Likewise.
35 * grp/Makefile: Likewise.
36 * csu/Makefile: Likewise.
37 * wctype/Makefile: Likewise.
38 * crypt/Makefile: Likewise.
39 * libio/Makefile: Likewise.
40 * string/Makefile: Likewise.
41 * nis/Makefile: Likewise.
42 * resolv/Makefile: Likewise.
43 * stdio-common/Makefile: Likewise.
44 * wcsmbs/Makefile: Likewise.
45 * dlfcn/Makefile: Likewise.
46 * posix/Makefile: Likewise.
47
482ff4da
UD
48 * timezone/Makefile: Don't install timezone files, just the programs
49 and scripts.
50
f72ed77d
UD
512012-03-06 Ulrich Drepper <drepper@gmail.com>
52
a000466f
UD
53 * nss/databases.def: Add missing gshadow entry.
54
f72ed77d
UD
55 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56
a53b7a4e
MP
572012-03-06 Marek Polacek <polacek@redhat.com>
58
59 [BZ #13726]
60 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
61 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
63 * stdio-common/tst-long-dbl-fphex.c: New file.
64
e9258400
DM
652012-03-06 David S. Miller <davem@davemloft.net>
66
67 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68 (set_obp_int): New function.
69 (get_obp_int): New function.
70 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
71 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72 Avoid unused variable warnings on 'val' and use builtin_expect.
73 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74 __builtin_expect.
e9258400
DM
75 (INLINE_CLONE_SYSCALL): Likewise.
76
3bd2c723
DM
772012-03-05 David S. Miller <davem@davemloft.net>
78
79 * sysdeps/sparc/fpu/libm-test-ulps: Update.
80
bbb78d03
AS
812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
82
884c5db4
AS
83 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84
bbb78d03
AS
85 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
86 only for |x| >= 40.
87 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
88
1c9f702a 892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
90
91 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
92 Replace gettimeofday with __vdso_gettimeofday.
93
7be16f82
RM
94 * sysdeps/unix/sysv/linux/x86_64/init-first.c
95 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
96 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
97
98 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
99 time with __vdso_time.
100
ed58a00f
JM
1012012-03-05 Joseph Myers <joseph@codesourcery.com>
102
103 * manual/lang.texi (size_t): Note types to which size_t may be
104 equivalent with the GNU C Library, but do not describe when
105 differences between them are significant.
106
30ee4ced
AJ
1072012-03-05 Andreas Jaeger <aj@suse.de>
108
109 * sysdeps/i386/fpu/libm-test-ulps: Update.
110
b7cd39e8
JM
1112012-03-05 Joseph Myers <joseph@codesourcery.com>
112
113 [BZ #3976]
114 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
115 (__ieee754_pow): Save and restore rounding mode and use
116 round-to-nearest for main computations.
117 * math/libm-test.inc (pow_test_tonearest): New function.
118 (pow_test_towardzero): Likewise.
119 (pow_test_downward): Likewise.
120 (pow_test_upward): Likewise.
121 (main): Call the new functions.
122 * sysdeps/i386/fpu/libm-test-ulps: Update.
123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
124
125 [BZ #3976]
126 * math/libm-test.inc (cosh_test_tonearest): New function.
127 (cosh_test_towardzero): Likewise.
128 (cosh_test_downward): Likewise.
129 (cosh_test_upward): Likewise.
130 (sinh_test_tonearest): Likewise.
131 (sinh_test_towardzero): Likewise.
132 (sinh_test_downward): Likewise.
133 (sinh_test_upward): Likewise.
134 (main): Call the new functions.
135 * sysdeps/i386/fpu/libm-test-ulps: Update.
136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
137
6c6a98c9
TV
1382012-03-05 Tom de Vries <tom@codesourcery.com>
139
140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
141 default stack guard is set in last bytes.
142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
143
21bb2d2e 1442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 145
21bb2d2e 146 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 147
21bb2d2e
AJ
148 [BZ #13656]
149 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
150 possibly allocate from heap instead of stack.
151 * stdio-common/bug-vfprintf-nargs.c: New file.
152 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 153
c6922934
AS
1542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
155
156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
157
bc957d53
MP
1582012-03-03 Marek Polacek <polacek@redhat.com>
159
160 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
161 * math/math_private.h: Likewise.
162 * stdlib/tst-strtod.c: Likewise.
163 * sysdeps/i386/i486/bits/atomic.h: Likewise.
164 * sysdeps/x86_64/bits/atomic.h: Likewise.
165
6358490d
DM
1662012-03-02 David S. Miller <davem@davemloft.net>
167
168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
172 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
173 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
174 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
175 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
176
01ae168d
RM
1772012-03-02 Roland McGrath <roland@hack.frob.com>
178
d9a17c07
RM
179 [BZ #13792]
180 * manual/examples/README: New file, says the example source files
181 can be used under GPL>=2.
182 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
183 line containing just "*/".
184 * manual/examples/add.c: Add copyright header (GPL>=2).
185 * manual/examples/argp-ex1.c: Likewise.
186 * manual/examples/argp-ex2.c: Likewise.
187 * manual/examples/argp-ex3.c: Likewise.
188 * manual/examples/argp-ex4.c: Likewise.
189 * manual/examples/atexit.c: Likewise.
190 * manual/examples/db.c: Likewise.
191 * manual/examples/dir.c: Likewise.
192 * manual/examples/dir2.c: Likewise.
193 * manual/examples/execinfo.c: Likewise.
194 * manual/examples/filecli.c: Likewise.
195 * manual/examples/filesrv.c: Likewise.
196 * manual/examples/fmtmsgexpl.c: Likewise.
197 * manual/examples/genpass.c: Likewise.
198 * manual/examples/inetcli.c: Likewise.
199 * manual/examples/inetsrv.c: Likewise.
200 * manual/examples/isockad.c: Likewise.
201 * manual/examples/longopt.c: Likewise.
202 * manual/examples/memopen.c: Likewise.
203 * manual/examples/memstrm.c: Likewise.
204 * manual/examples/mkfsock.c: Likewise.
205 * manual/examples/mkisock.c: Likewise.
206 * manual/examples/mygetpass.c: Likewise.
207 * manual/examples/pipe.c: Likewise.
208 * manual/examples/popen.c: Likewise.
209 * manual/examples/rprintf.c: Likewise.
210 * manual/examples/search.c: Likewise.
211 * manual/examples/select.c: Likewise.
212 * manual/examples/setjmp.c: Likewise.
213 * manual/examples/sigh1.c: Likewise.
214 * manual/examples/sigusr.c: Likewise.
215 * manual/examples/stpcpy.c: Likewise.
216 * manual/examples/strdupa.c: Likewise.
217 * manual/examples/strftim.c: Likewise.
218 * manual/examples/strncat.c: Likewise.
219 * manual/examples/subopt.c: Likewise.
220 * manual/examples/swapcontext.c: Likewise.
221 * manual/examples/termios.c: Likewise.
222 * manual/examples/testopt.c: Likewise.
223 * manual/examples/testpass.c: Likewise.
224 * manual/examples/timeval_subtract.c: Likewise.
225
01ae168d
RM
226 [BZ #13792]
227 * manual/time.texi (Elapsed Time): Move timeval_subtract example
228 function to ...
229 * manual/timeval_subtract.c.texi: ... here, new file.
230
49efa33d
DM
2312012-03-02 David S. Miller <davem@davemloft.net>
232
233 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
234
28afd92d
JM
2352012-03-02 Joseph Myers <joseph@codesourcery.com>
236
804360ed
JM
237 [BZ #3976]
238 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
239 (__sin): Save and restore rounding mode and use round-to-nearest
240 for all computations.
241 (__cos): Save and restore rounding mode and use round-to-nearest
242 for all computations.
243 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
244 <fenv.h>.
245 (tan): Save and restore rounding mode and use round-to-nearest for
246 all computations.
247 * math/libm-test.inc (cos_test_tonearest): New function.
248 (cos_test_towardzero): Likewise.
249 (cos_test_downward): Likewise.
250 (cos_test_upward): Likewise.
251 (sin_test_tonearest): Likewise.
252 (sin_test_towardzero): Likewise.
253 (sin_test_downward): Likewise.
254 (sin_test_upward): Likewise.
255 (tan_test_tonearest): Likewise.
256 (tan_test_towardzero): Likewise.
257 (tan_test_downward): Likewise.
258 (tan_test_upward): Likewise.
259 (main): Call the new functions.
260 * sysdeps/i386/fpu/libm-test-ulps: Update.
261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
262
a6d06d7b
JM
263 [BZ #10135]
264 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
265 small n, then large n, before computing and testing k+n.
266 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
268 Likewise.
269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
270 Likewise.
271 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
272 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
279 * math/libm-test.inc (scalbn_test): Add more tests.
280 (scalbln_test): Likewise.
281
07e12bb3
JM
282 * manual/filesys.texi (mode_t): Describe constraints on size and
283 signedness, not exact equivalence to a particular type.
284 (ino_t): Likewise.
285 (ino64_t): Likewise.
286 (dev_t): Likewise.
287 (nlink_t): Likewise.
288 (blkcnt_t): Likewise.
289 (blkcnt64_t): Likewise.
290 * manual/llio.texi (off_t): Likewise.
291
28afd92d
JM
292 [BZ #3976]
293 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
294 (__ieee754_exp): Save and restore rounding mode and use
295 round-to-nearest for all computations.
296 * math/libm-test.inc (exp_test_tonearest): New function.
297 (exp_test_towardzero): Likewise.
298 (exp_test_downward): Likewise.
299 (exp_test_upward): Likewise.
300 (main): Call the new functions.
301 * sysdeps/i386/fpu/libm-test-ulps: Update.
302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
303
b1eeb65d
CD
3042012-03-01 Chris Demetriou <cgd@google.com>
305
306 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
307 have predictable order.
308
53362a4b
DM
3092012-03-01 David S. Miller <davem@davemloft.net>
310
3c969083
DM
311 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
312
759707de
DM
313 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
314 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
315 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
316 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
317
dfdb8ff2
DM
318 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
319 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
320 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
322 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
323 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
324 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
325 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
326 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
327
ead89f96
DM
328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
329
7f66bd07
DM
330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
331 * sysdeps/sparc/fpu/libm-test-ulps: to here.
332 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
333
53362a4b
DM
334 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
335 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
337 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
338 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
339 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
341 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
343 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
344 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
347 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
348 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
350 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
351 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
352 * sysdeps/sparc/elf/configure: Regenerated.
353
7b1902cb
JM
3542012-03-01 Joseph Myers <joseph@codesourcery.com>
355
bec039bc
JM
356 * configure.in (AS, LD): Require binutils 2.20 or later.
357 * configure: Regenerated.
358 * manual/install.texi (Tools for Compilation): Give binutils 2.20
359 as required minimum version.
360 * INSTALL: Regenerated.
361
7b1902cb
JM
362 [BZ #2541]
363 [BZ #4108]
364 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
365 before squaring exponent.
366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
367 bottom long double and 27 bits of top long double before squaring
368 exponent.
369 * math/libm-test.inc (erfc_test): Add more tests.
370 * sysdeps/i386/fpu/libm-test-ulps: Update.
371 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
373
f775c276
KT
3742012-03-01 Kai Tietz <ktietz@redhat.com>
375
376 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
377 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
378 containing bit-fields.
379 * soft-fp/extended.h (_FP_UNION_E): Likewise.
380 * soft-fp/single.h (_FP_UNION_S): Likewise.
381 * soft-fp/double.h (_FP_UNION_D): Likewise.
382
5b8a4d4a
JM
3832012-02-29 Joseph Myers <joseph@codesourcery.com>
384
0bab47b6
JM
385 [BZ #13786]
386 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
387 not include ../strcmp.S.
388 [USE_AS_STRNCASECMP_L]: Likewise.
389 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
390 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
391 * sysdeps/i386/i686/multiarch/strncase_l-c.c
392 (__strncasecmp_l_ia32): Define as alias to
393 __strncasecmp_l_nonascii.
394
0fcad3e2
JM
395 [BZ #5794]
396 * math/libm-test.inc (expm1_test): Add test for bug 5794.
397 * sysdeps/i386/fpu/libm-test-ulps: Update.
398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
399
5b8a4d4a
JM
400 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
402
8fdceb2e
JL
4032012-02-29 Jeff Law <law@redhat.com>
404
405 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
406 out of bounds read.
407
1f393a11
MP
4082012-02-29 Marek Polacek <polacek@redhat.com>
409
410 [BZ #13706]
411 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
412 * elf/Makefile: Add rules to run tst-unused-dep.out.
413
8847f037
DM
4142012-02-28 David S. Miller <davem@davemloft.net>
415
416 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
417 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
420 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
421 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
422
169d7f11
JM
4232012-02-29 Joseph Myers <joseph@codesourcery.com>
424
425 * math/libm-test.inc (llround_test): Move one test from
426 lround_test. Use TEST_f_L in moved test.
427 (lround_test): Move misplaced test to llround_test. Add testcase
428 from bug 2561.
429
39adf059
UD
4302012-02-28 Ulrich Drepper <drepper@gmail.com>
431
432 * sysdeps/x86_64/fpu/e_expf.S: New file.
433 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
434
71b5d1c5
SB
4352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
436
437 [BZ #13637]
438 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
439 of remain_len that may cause incomplete multi-byte character and
440 false match.
441 * posix/bug-regex33.c: New file.
442 * posix/Makefile (tests): Add bug-regex33.
443
1f77f049
JM
4442012-02-28 Joseph Myers <joseph@codesourcery.com>
445
446 * manual/macros.texi: New file.
447 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
448 * manual/libc.texinfo: Include macros.texi.
449 * manual/creatute.texi: Likewise.
450 * manual/install.texi: Likewise.
451 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
452 @glibcadj{} in references to the GNU C Library.
453 * manual/charset.texi: Likewise.
454 * manual/conf.texi: Likewise.
455 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
456 when not using those macros.
457 * manual/creature.texi: Likewise.
458 * manual/crypt.texi: Likewise.
459 * manual/errno.texi: Likewise.
460 * manual/filesys.texi: Likewise.
461 * manual/header.texi: Likewise.
462 * manual/install.texi: Likewise.
463 * manual/intro.texi: Likewise.
464 * manual/io.texi: Likewise.
465 * manual/job.texi: Likewise.
466 * manual/lang.texi: Likewise.
467 * manual/libc.texiinfo: Likewise.
468 * manual/llio.texi: Likewise.
469 * manual/locale.texi: Likewise.
470 * manual/maint.texi: Likewise.
471 * manual/math.texi: Likewise.
472 * manual/memory.texi: Likewise.
473 * manual/message.texi: Likewise.
474 * manual/nss.texi: Likewise.
475 * manual/pattern.texi: Likewise.
476 * manual/process.texi: Likewise.
477 * manual/resource.texi: Likewise.
478 * manual/search.texi: Likewise.
479 * manual/setjmp.texi: Likewise.
480 * manual/signal.texi: Likewise.
481 * manual/socket.texi: Likewise.
482 * manual/startup.texi: Likewise.
483 * manual/stdio.texi: Likewise.
484 * manual/string.texi: Likewise.
485 * manual/sysinfo.texi: Likewise.
486 * manual/syslog.texi: Likewise.
487 * manual/terminal.texi: Likewise.
488 * manual/time.texi: Likewise.
489 * manual/users.texi: Likewise.
490 * INSTALL: Regenerated.
491 * NOTES: Regenerated.
d40c5d54 492 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 493
450bf206
AS
4942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
495
496 * include/dirent.h: Include <dirstream.h> before
497 <dirent/dirent.h>.
498
741a235b
DM
4992012-02-28 David S. Miller <davem@davemloft.net>
500
501 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
502 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
503 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
504 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
505
d6b5aa58
DM
5062012-02-27 David S. Miller <davem@davemloft.net>
507
1aff59a3
DM
508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
510 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
511 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
512
d6b5aa58
DM
513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
514 frame pointer instead of stack pointer relative arg slot.
515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
516 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
517 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
518
433f48bf
CD
5192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
520
521 [BZ #3992]
522 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
523
d674b76d
DM
5242012-02-27 David S. Miller <davem@davemloft.net>
525
526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
530 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
531 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
532 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
533 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
534
0e7727f7
JM
5352012-02-27 Joseph Myers <joseph@codesourcery.com>
536
537 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
538 later. Allow versions 5-9.
43be4ca2 539 * configure: Regenerated.
0e7727f7
JM
540 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
541 required minimum version and 4.6 as recommended version. Do not
542 mention bugs in GCC 2.7 and 2.8.
43be4ca2 543 * INSTALL: Regenerated.
0e7727f7 544
a78bc654
DM
5452012-02-27 David S. Miller <davem@davemloft.net>
546
428d5830
DM
547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
553 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
554 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
555
a78bc654
DM
556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
557 manipulate bits before adding and subtracting TWO112[sx].
558 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
559
4579f81c
RM
5602012-02-27 Roland McGrath <roland@hack.frob.com>
561
36c8acb4
RM
562 [BZ #13775]
563 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
564 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
565 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
566 being in POSIX, because they are in 1003.1-2008.
567
84ad622b
RM
568 * rt/tst-aio.c: Include <fcntl.h>.
569 * rt/tst-aio7.c: Likewise.
570 * rt/tst-aio64.c: Likewise.
571
4579f81c
RM
572 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
573
abd923db
JM
5742012-02-27 Joseph Myers <joseph@codesourcery.com>
575
576 * manual/install.texi (--with-headers): Describe headers as
577 interface headers, not private headers.
578 (Specific advice for GNU/Linux systems): Describe use of headers
579 from "make headers_install", not private headers from older
580 kernels.
43be4ca2 581 * INSTALL: Regenerated.
abd923db
JM
582 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
583 Change to 2.6.19.
584 * sysdeps/unix/sysv/linux/configure: Regenerated.
585
6664049b
JM
586 * manual/llio.texi (fclean): Remove documentation.
587
bb8b6697
JM
588 * manual/Makefile (libc-texi-generated): New variable. Include
589 version.texi.
590 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
591 $(libc-texi-generated), not duplicated list of files.
592 (version.texi, stamp-version): New rules.
593 (realclean): Remove $(libc-texi-generated), not individual files
594 from that list. Do not remove dir-add.texinfo.
595 * manual/libc.texinfo: Comment out uses of edition numbers and
596 references to printed manual. Remove last-updated dates.
597 (EDITION): Comment out.
598 (ISBN): Likewise.
599 (VERSION, UPDATED): Remove.
600 (version.texi): Include.
601
12e5c3b9
AS
6022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
603
604 * sysdeps/posix/spawni.c: Include <signal.h>.
605 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
606 * sysdeps/pthread/aio_fsync.c: Likewise.
607
4efeffc1 6082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 609
ba63ba08
UD
610 * conform/Makefile (tests): Run only when not cross-compiling and
611 when fast-check is not defined.
612
d94a4670
UD
613 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
614 * conform/data/limits.h-data: Fixes for POSIX2008.
615 * conform/run-conformtest.sh: Run all tests.
616 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
617 headers.
618 * include/bits/dlfcn.h: Likewise.
619 * include/langinfo.h: Likewise.
620 * include/monetary.h: Likewise.
621 * include/sys/poll.h: Likewise.
622
623 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
624 for __USE_GNU.
625 * posix/spawn.h: Define __need_sigset_t.
626 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
627 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
628 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
629 to get sigevent_t only.
630 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
631 only for __USE_GNU.
632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
633 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
634 process_vm_writev only for __USE_GNU.
635 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
636
637 * conform/Makefile: For now ignore errors from run-conformtest.
638 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
639 POSIX to avoid namespace pollution. Don't prepend headers.
640 * conform/data/aio.h-data: Fixes for POSIX testing.
641 * conform/data/fcntl.h-data: Likewise.
642 * conform/data/glob.h-data: Likewise.
643 * conform/data/grp.h-data: Likewise.
644 * conform/data/pthread.h-data: Likewise.
645 * conform/data/pwd.h-data: Likewise.
646 * conform/data/signal.h-data: Likewise.
647 * conform/data/spawn.h-data: Likewise.
648 * conform/data/stdio.h-data: Likewise.
649 * conform/data/stdlib.h-data: Likewise.
650 * conform/data/stropts.h-data: Likewise.
651 * conform/data/sys/mman.h-data: Likewise.
652 * conform/data/sys/stat.h-data: Likewise.
653 * conform/data/sys/types.h-data: Likewise.
654 * conform/data/sys/wait.h-data: Likewise.
655 * conform/data/time.h-data: Likewise.
656 * conform/data/unistd.h-data: Likewise.
657 * conform/data/utime.h-data: Likewise.
658
659 * io/sys/stat.h: fchmod was always in POSIX.
660 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
661 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
662 * rt/aio.h: Define __need_timespec before including <time.h>.
663 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
664 struct. Add forward declaration of pthread_attr_t and use it in
665 sigevent.
666 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
667 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
668 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
669 always remove CLK_TCK definition.
670
c20105c3
AS
6712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
672
673 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
674
7a270350
UD
6752012-02-25 Ulrich Drepper <drepper@gmail.com>
676
31341567
UD
677 * conform/run-conformtest.sh: New file.
678 * conform/Makefile: Run run-conformtest for tests.
679 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
680 support.
681
682 * conform/data/uchar.h-data: New file.
683 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
684 * conform/data/arpa/inet.h-data: Likewise.
685 * conform/data/assert.h-data: Likewise.
686 * conform/data/complex.h-data: Likewise.
687 * conform/data/cpio.h-data: Likewise.
688 * conform/data/ctype.h-data: Likewise.
689 * conform/data/dirent.h-data: Likewise.
690 * conform/data/dlfcn.h-data: Likewise.
691 * conform/data/errno.h-data: Likewise.
692 * conform/data/fcntl.h-data: Likewise.
693 * conform/data/float.h-data: Likewise.
694 * conform/data/fmtmsg.h-data: Likewise.
695 * conform/data/fnmatch.h-data: Likewise.
696 * conform/data/ftw.h-data: Likewise.
697 * conform/data/glob.h-data: Likewise.
698 * conform/data/grp.h-data: Likewise.
699 * conform/data/iconv.h-data: Likewise.
700 * conform/data/inttypes.h-data: Likewise.
701 * conform/data/langinfo.h-data: Likewise.
702 * conform/data/libgen.h-data: Likewise.
703 * conform/data/limits.h-data: Likewise.
704 * conform/data/locale.h-data: Likewise.
705 * conform/data/math.h-data: Likewise.
706 * conform/data/monetary.h-data: Likewise.
707 * conform/data/mqueue.h-data: Likewise.
708 * conform/data/ndbm.h-data: Likewise.
709 * conform/data/net/if.h-data: Likewise.
710 * conform/data/netdb.h-data: Likewise.
711 * conform/data/netinet/in.h-data: Likewise.
712 * conform/data/nl_types.h-data: Likewise.
713 * conform/data/poll.h-data: Likewise.
714 * conform/data/pthread.h-data: Likewise.
715 * conform/data/pwd.h-data: Likewise.
716 * conform/data/regex.h-data: Likewise.
717 * conform/data/sched.h-data: Likewise.
718 * conform/data/search.h-data: Likewise.
719 * conform/data/semaphore.h-data: Likewise.
720 * conform/data/setjmp.h-data: Likewise.
721 * conform/data/signal.h-data: Likewise.
722 * conform/data/spawn.h-data: Likewise.
723 * conform/data/stdarg.h-data: Likewise.
724 * conform/data/stdio.h-data: Likewise.
725 * conform/data/stdlib.h-data: Likewise.
726 * conform/data/string.h-data: Likewise.
727 * conform/data/strings.h-data: Likewise.
728 * conform/data/stropts.h-data: Likewise.
729 * conform/data/sys/ipc.h-data: Likewise.
730 * conform/data/sys/mman.h-data: Likewise.
731 * conform/data/sys/msg.h-data: Likewise.
732 * conform/data/sys/resource.h-data: Likewise.
733 * conform/data/sys/select.h-data: Likewise.
734 * conform/data/sys/sem.h-data: Likewise.
735 * conform/data/sys/shm.h-data: Likewise.
736 * conform/data/sys/socket.h-data: Likewise.
737 * conform/data/sys/stat.h-data: Likewise.
738 * conform/data/sys/statvfs.h-data: Likewise.
739 * conform/data/sys/time.h-data: Likewise.
740 * conform/data/sys/timeb.h-data: Likewise.
741 * conform/data/sys/times.h-data: Likewise.
742 * conform/data/sys/types.h-data: Likewise.
743 * conform/data/sys/uio.h-data: Likewise.
744 * conform/data/sys/un.h-data: Likewise.
745 * conform/data/sys/utsname.h-data: Likewise.
746 * conform/data/sys/wait.h-data: Likewise.
747 * conform/data/syslog.h-data: Likewise.
748 * conform/data/tar.h-data: Likewise.
749 * conform/data/termios.h-data: Likewise.
750 * conform/data/utime.h-data: Likewise.
751 * conform/data/utmpx.h-data: Likewise.
752 * conform/data/varargs.h-data: Likewise.
753 * conform/data/wchar.h-data: Likewise.
754 * conform/data/wctype.h-data: Likewise.
755 * conform/data/wordexp.h-data: Likewise.
756
757 * include/stropts.h: New file.
758 * include/uchar.h: New file.
759 * include/aio.h: Changes to allow conformtest.pl to use the headers.
760 * include/assert.h: Likewise.
761 * include/ctype.h: Likewise.
762 * include/dirent.h: Likewise.
763 * include/dlfcn.h: Likewise.
764 * include/fcntl.h: Likewise.
765 * include/fnmatch.h: Likewise.
766 * include/glob.h: Likewise.
767 * include/grp.h: Likewise.
768 * include/libio.h: Likewise.
769 * include/locale.h: Likewise.
770 * include/math.h: Likewise.
771 * include/net/if.h: Likewise.
772 * include/netdb.h: Likewise.
773 * include/netinet/in.h: Likewise.
774 * include/pthread.h: Likewise.
775 * include/pwd.h: Likewise.
776 * include/regex.h: Likewise.
777 * include/sched.h: Likewise.
778 * include/search.h: Likewise.
779 * include/setjmp.h: Likewise.
780 * include/signal.h: Likewise.
781 * include/stdio.h: Likewise.
782 * include/stdlib.h: Likewise.
783 * include/string.h: Likewise.
784 * include/sys/cdefs.h: Likewise.
785 * include/sys/mman.h: Likewise.
786 * include/sys/msg.h: Likewise.
787 * include/sys/resource.h: Likewise.
788 * include/sys/select.h: Likewise.
789 * include/sys/socket.h: Likewise.
790 * include/sys/stat.h: Likewise.
791 * include/sys/statvfs.h: Likewise.
792 * include/sys/time.h: Likewise.
793 * include/sys/times.h: Likewise.
794 * include/sys/uio.h: Likewise.
795 * include/sys/utsname.h: Likewise.
796 * include/sys/wait.h: Likewise.
797 * include/termios.h: Likewise.
798 * include/time.h: Likewise.
799 * include/ulimit.h: Likewise.
800 * include/unistd.h: Likewise.
801 * include/utime.h: Likewise.
802 * include/wchar.h: Likewise.
803 * include/wctype.h: Likewise.
804 * include/wordexp.h: Likewise.
805
806 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
807
7a270350
UD
808 * time/time.h: TIME_UTC must be a macro.
809 Make timespec_get available for ISO C11 only as well.
810
7724defc
UD
8112012-02-24 Ulrich Drepper <drepper@gmail.com>
812
813 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
814 Reported by Peng Haitao <penght@cn.fujitsu.com>.
815
6b1d1d46
JM
8162012-02-24 Joseph Myers <joseph@codesourcery.com>
817
818 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 819
0f8bbd69
JM
8202012-02-24 Joseph Myers <joseph@codesourcery.com>
821
822 * manual/texinfo.tex: Update to version 2012-01-19.16.
823
66ab80bc
JM
8242012-02-24 Joseph Myers <joseph@codesourcery.com>
825
826 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
827
74981cc5
RM
8282012-02-24 Roland McGrath <roland@hack.frob.com>
829
ee968201
RM
830 [BZ #13738]
831 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
832 * manual/fdl-1.3.texi: New file.
833 * manual/fdl-1.1.texi: File removed.
834
74981cc5
RM
835 [BZ #13738]
836 * manual/libc.texinfo (FDL_VERSION): New @set.
837 Use it for mention of FDL in cover text.
838 (Documentation License): Use it in @include file name.
839
7bb764bc
JM
8402012-02-22 Joseph Myers <joseph@codesourcery.com>
841 Roland McGrath <roland@hack.frob.com>
842
843 [BZ #5461]
844 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
845 not LONG_LONG_MAX and LONG_LONG_MIN.
846 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
847 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
848 name.
849 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
850
6cbeae47
JM
8512012-02-22 Joseph Myers <joseph@codesourcery.com>
852
853 [BZ #2547]
854 [BZ #11365]
855 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
856 manipulate bits before adding and subtracting TWO23[sx].
857 * math/libm-test.inc (nearbyint_test): Add more tests.
858
fe45ce09
JM
8592012-02-22 Joseph Myers <joseph@codesourcery.com>
860
861 [BZ #2548]
862 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
863 bits before adding and subtracting TWO23[sx].
864 * math/libm-test.inc (rint_test): Add more tests.
865 (rint_test_tonearest): Likewise.
866 (rint_test_towardzero): Likewise.
867 (rint_test_downward): Likewise.
868 (rint_test_upward: Likewise.
869
ff3b3d82
JM
8702012-02-22 Joseph Myers <joseph@codesourcery.com>
871
872 [BZ #10110]
873 * include/stdc-predef.h: New file. Extracted from features.h.
874 * include/features.h: Include stdc-predef.h.
875 * Makefile (headers): Add stdc-predef.h.
876 * CONFORMANCE (Compiler limitations): Update.
877
ef0aab35
JM
8782012-02-22 Joseph Myers <joseph@codesourcery.com>
879
880 * manual/libc.texinfo (VERSION, UPDATED): Revert.
881
58639409
DM
8822012-02-21 David S. Miller <davem@davemloft.net>
883
884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
885 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
886
c0e70b25
DM
8872012-02-20 David S. Miller <davem@davemloft.net>
888
889 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
890 using a normal save/restore sequence, rather than allocating a
891 dummy stack frame just to store a frame pointer and restore.
892 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
893
fb06851d
JM
8942012-02-21 Joseph Myers <joseph@codesourcery.com>
895
896 * manual/install.texi: Fix stray word in line-wrapped comment.
897
7a8b71c3
DM
8982012-02-20 David S. Miller <davem@davemloft.net>
899
d510c123
DM
900 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
901 both binutils and gcc support GOTDATA.
902
0722d7c2
DM
903 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
904 "rd %pc" in the PIC register setup sequences.
905
3d2b3019
DM
906 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
907 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
908 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
909 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
910 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
915 (SYSCALL_ERROR_HANDLER): Likewise.
916 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
917 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
919 (SYSCALL_ERROR_HANDLER): Likewise.
920
c80098a9
DM
921 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
922 (HAVE_GCC_GOTDATA): New.
923 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
924 relocation support in both binutils and gcc.
925 * sysdeps/sparc/elf/configure: Regenerate.
926
3a2545a0
DM
927 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
928 * sysdeps/sparc/sparc32/elf/configure: Delete.
929 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
930 * sysdeps/sparc/sparc64/elf/configure: Delete.
931 * sysdeps/sparc/elf/configure.in: New file.
932 * sysdeps/sparc/elf/configure: Generate.
933
7a8b71c3
DM
934 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
935 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
936 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
937 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
938 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
939
f1e86fca
JM
9402012-02-21 Joseph Myers <joseph@codesourcery.com>
941
942 * manual/install.texi: Do not mention specific glibc version
943 numbers.
944 * manual/libc.texinfo (VERSION, UPDATED): Update.
945 (@copying): Use @copyright{} and range of years.
946
0e7dfaef
JM
9472012-02-21 Joseph Myers <joseph@codesourcery.com>
948
949 [BZ #13695]
950 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
951 [crti.S not in sysdirs] (generated): Do not append.
952 [crti.S not in sysdirs] (omit-deps): Likewise.
953 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
954 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
955 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
956 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
957 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
958 Likewise.
959 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
960 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
961 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
962 * csu/defs.awk: Remove file.
963 * sysdeps/generic/initfini.c: Likewise.
964 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
965 variable.
966 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
967 Likewise.
968
599af3ca
JM
9692012-02-20 Joseph Myers <joseph@codesourcery.com>
970
971 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
972 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
973 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
974 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
975 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
976 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
977 <bits/epoll.h>.
978 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
979 (__EPOLL_PACKED): Define to empty if not defined by
980 <bits/epoll.h>.
981 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
983 bits/epoll.h.
984
0e499750
JM
9852012-02-20 Joseph Myers <joseph@codesourcery.com>
986
987 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
988 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
989 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
990 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
991 <bits/timerfd.h>.
992 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
994 bits/timerfd.h.
995
5ad91f6e
JM
9962012-02-20 Joseph Myers <joseph@codesourcery.com>
997
998 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
999 in C locale.
1000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1001 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1002 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1004
06b99b02
AJ
10052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1006
1007 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1008 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1009
7638c0fd
AS
10102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1011
1012 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1013 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1014 defined.
1015 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1016 Likewise.
1017 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1018 entry for 2.16.
1019
92221550
AJ
10202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1021
1022 * math/w_acos.c: Use non-signaling floating-point comparisons.
1023 * math/w_acosf.c: Likewise.
1024 * math/w_acosh.c: Likewise.
1025 * math/w_acoshf.c: Likewise.
1026 * math/w_acoshl.c: Likewise.
1027 * math/w_acosl.c: Likewise.
1028 * math/w_asin.c: Likewise.
1029 * math/w_asinf.c: Likewise.
1030 * math/w_asinl.c: Likewise.
1031 * math/w_atanh.c: Likewise.
1032 * math/w_atanhf.c: Likewise.
1033 * math/w_atanhl.c: Likewise.
1034 * math/w_exp2.c: Likewise.
1035 * math/w_exp2f.c: Likewise.
1036 * math/w_exp2l.c: Likewise.
1037 * math/w_j0.c: Likewise.
1038 * math/w_j0f.c: Likewise.
1039 * math/w_j0l.c: Likewise.
1040 * math/w_j1.c: Likewise.
1041 * math/w_j1f.c: Likewise.
1042 * math/w_j1l.c: Likewise.
1043 * math/w_jn.c: Likewise.
1044 * math/w_jnf.c: Likewise.
1045 * math/w_log.c: Likewise.
1046 * math/w_log10.c: Likewise.
1047 * math/w_log10f.c: Likewise.
1048 * math/w_log10l.c: Likewise.
1049 * math/w_log2.c: Likewise.
1050 * math/w_log2f.c: Likewise.
1051 * math/w_log2l.c: Likewise.
1052 * math/w_logf.c: Likewise.
1053 * math/w_logl.c: Likewise.
1054 * math/w_sqrt.c: Likewise.
1055 * math/w_sqrtf.c: Likewise.
1056 * math/w_sqrtl.c: Likewise.
1057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1058 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1060 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1061 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1062
ebaf36eb
JM
10632012-02-19 Joseph Myers <joseph@codesourcery.com>
1064
1065 [BZ #9739]
1066 * manual/string.texi (strnlen): Use correct parameter name in
1067 equivalent expression.
1068
71c254a6
JM
10692012-02-19 Joseph Myers <joseph@codesourcery.com>
1070
1071 [BZ #11174]
1072 * manual/users.texi (seteuid): Consistently use neweuid for
1073 argument name.
1074
16d2c631
JM
10752012-02-19 Joseph Myers <joseph@codesourcery.com>
1076
1077 [BZ #13704]
1078 * manual/nss.texi (Services in the NSS configuration): Correct
1079 list of services in example configuration file.
1080
cd837b09
NB
10812012-02-19 Nick Bowler <nbowler@draconx.ca>
1082
1083 [BZ #11322]
1084 * manual/arith.texi: Remove statements about negative zero
1085 behaving identically to zero.
1086
02c4bbad
JM
10872012-02-18 Joseph Myers <joseph@codesourcery.com>
1088
1089 [BZ #5993]
1090 * manual/install.texi: Do not document upgrading from libc5.
1091
366842e7
JM
10922012-02-18 Joseph Myers <joseph@codesourcery.com>
1093
1094 [BZ #4596]
1095 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1096
dd54084d
DM
10972012-02-18 David S. Miller <davem@davemloft.net>
1098
1099 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1100 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1101 %o7 across the call.
1102 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1103 instead.
1104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1105 SETUP_PIC_REG_LEAF.
1106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1107 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1108 * sysdeps/sparc/crtn.S: Likewise.
1109
2bcc53a3
UD
11102012-02-17 Ulrich Drepper <drepper@gmail.com>
1111
1112 * aout/Makefile: Remove.
1113
09c093b5
RK
11142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1115
1116 [BZ #13058]
1117 * manual/examples/argp-ex1.c (main): Format definition in GNU
1118 style.
1119 * manual/examples/argp-ex2.c (main): Likewise.
1120 * manual/examples/argp-ex3.c (main): Likewise.
1121 * manual/examples/argp-ex4.c (main): Likewise.
1122 * manual/examples/longopt.c (main): Use new-style prototype
1123 definition.
1124 * manual/examples/strncat.c (main): Specify return type and use
1125 (void) for arguments.
1126 * manual/examples/subopt.c (main): Use char **argv argument.
1127
2ee633a2
JM
11282012-02-17 Joseph Myers <joseph@codesourcery.com>
1129
1130 [BZ #5077]
1131 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1132 rounding modes.
1133
0520adde
FB
11342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1135
1136 [BZ #6907]
1137 * manual/string.texi (strchr): Change when strchrnul is
1138 recommended.
1139
3f4081cd
DGM
11402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1141
1142 [BZ #174]
1143 * manual/locale.texi (setlocale): Document LOCPATH.
1144
d1b10e78
JM
11452012-02-17 Joseph Myers <joseph@codesourcery.com>
1146
1147 [BZ #10210]
1148 * manual/process.texi (execle): Move @dots{} before last argument.
1149
79c6869c
PB
11502012-02-17 Paul Bolle <pebolle@tiscali.nl>
1151
1152 [BZ #12047]
1153 * manual/charset.texi (Generic Charset Conversion): Fix typo
1154 (LC_TYPE -> LC_CTYPE).
1155
cc6e48bc
NB
11562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1157
1158 [BZ #5805]
1159 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1160 (scalbnf): Likewise.
1161 (scalbnl): Likewise.
1162 (scalbln): Likewise.
1163 (scalblnf): Likewise.
1164 (scalblnl): Likewise.
1165 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1166 (vwarnx): Likewise.
1167 (verr): Likewise.
1168 (verrx): Likewise.
1169 * manual/filesys.texi (telldir): Use braces around return type.
1170 * manual/llio.texi (mmap): Add space after comma.
1171 (mmap64): Likewise.
1172 * manual/math.texi (jn): Use @var{} on parameter names.
1173 (jnf): Likewise.
1174 (jnl): Likewise.
1175 (yn): Likewise.
1176 (ynf): Likewise.
1177 (ynl): Likewise.
1178 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1179 line.
1180 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1181 "...".
1182 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1183 (sched_get_priority_max): Likewise.
1184 * manual/signal.texi (sigvec): Add space after comma.
1185 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1186 names.
1187 (if_indextoname): Likewise.
1188 (if_freenameindex): Likewise.
1189 (sendto): Use ',' instead of '.' in prototype.
1190 * manual/startup.texi (syscall): Use @dots{} instead of literal
1191 "...".
1192 * manual/stdio.texi (__fpending): Separate initial words of
1193 paragraph from @deftypefun line.
1194 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1195 "...".
1196 (vsyslog): Use @var{} on parameter names.
1197 * manual/terminal.texi (stty): Use @var{} on parameter names.
1198 * manual/users.texi (getutmp): Use @var{} on parameter names.
1199 (getutmpx): Likewise.
1200
5b23062f
JM
12012012-02-17 Joseph Myers <joseph@codesourcery.com>
1202
1203 [BZ #6884]
1204 * manual/stdio.texi (fopen): Fix typos in description of
1205 ",ccs=STRING".
1206
8dee4833
AJ
12072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1208
1209 [BZ #4026]
1210 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1211 get clock_id definition.
1212
9078ce93
TS
12132012-02-17 Thomas Schwinge <thomas@schwinge.name>
1214
1215 [BZ #4822]
1216 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1217 (madvise): Cast every argument to void on its own.
1218
3835c55f
JM
12192012-02-17 Joseph Myers <joseph@codesourcery.com>
1220
1221 [BZ #9902]
1222 * manual/startup.texi (Exit Status): Fix typo.
1223
35c47e37
JM
12242012-02-17 Joseph Myers <joseph@codesourcery.com>
1225
1226 [BZ #10140]
1227 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1228 * manual/examples/argp-ex2.c: Likewise.
1229 * manual/examples/argp-ex3.c: Likewise.
1230
e3b69ca7
RH
12312012-02-16 Richard Henderson <rth@redhat.com>
1232
1233 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1234 * sysdeps/s390/s390-32/initfini.c: Remove.
1235 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1236 * sysdeps/s390/s390-64/initfini.c: Remove.
1237
df83af67
KK
12382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1239
1240 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1241 compiler output for sysdeps/generic/initfini.c.
1242 * sysdeps/sh/elf/initfini.c: Remove file.
1243
f63f3380
DM
12442012-02-16 David S. Miller <davem@davemloft.net>
1245
fb59b3a4
DM
1246 [BZ #11494]
1247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1248
f63f3380
DM
1249 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1250 * sysdeps/sparc/crti.S: New file.
1251 * sysdeps/sparc/crtn.S: New file.
1252 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1253 * sysdeps/sparc/sparc64/Makefile: Likewise.
1254
df6a4a4a
MF
12552012-02-15 Mike Frysinger <vapier@gentoo.org>
1256
6dd8f3dc 1257 [BZ #3335]
df6a4a4a
MF
1258 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1259
1cac7236
RM
12602012-02-15 Roland McGrath <roland@hack.frob.com>
1261
d2c736f8
RM
1262 [BZ #4822]
1263 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1264
1cac7236
RM
1265 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1266 (write, read, close): Likewise.
1267 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1268
8e475601
JM
12692012-02-15 Joseph Myers <joseph@codesourcery.com>
1270
1271 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1272 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1273 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1274 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1275 <bits/signalfd.h>.
1276 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1278 bits/signalfd.h.
1279
ed656b40
MP
12802012-02-14 Marek Polacek <polacek@redhat.com>
1281
1282 * sysdeps/x86_64/crti.S: New file.
1283 * sysdeps/x86_64/crtn.S: New file.
1284 * sysdeps/x86_64/elf/initfini.c: Remove file.
1285
2a979d3a
JM
12862012-02-13 Joseph Myers <joseph@codesourcery.com>
1287
1288 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1289 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1290 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1291 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1292 <bits/inotify.h>.
1293 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1295 bits/inotify.h.
1296
2a418ac3
JM
12972012-02-13 Joseph Myers <joseph@codesourcery.com>
1298
1299 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1300 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1301 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1302 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1303 <bits/eventfd.h>.
1304 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1306 bits/eventfd.h.
1307
fb779be7
TS
13082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1309
e19e83c5
RM
1310 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1311 __feraiseexcept instead of feraiseexcept.
7c35ffed 1312
fb779be7
TS
1313 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1314 nanosleep invocations.
1315 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1316 strings, and add error checking for a nanosleep invocations.
1317
59ba27a6
PE
13182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1319
1320 Replace FSF snail mail address with URLs, as per GNU coding standards.
1321 Most of the snail mail addresses were wrong anyway, and omitting
1322 them makes the source code easier to maintain. Almost all of the
1323 changes are to license notices and to locale LC_IDENTIFICATION
1324 addresses, except for this one:
1325 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1326 not its snail mail address.
1327
57b957eb
RH
13282012-02-09 Richard Henderson <rth@twiddle.net>
1329
af850b1c
RH
1330 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1331 of kernel-features.h.
1332
57b957eb
RH
1333 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1334
6b73181a
MP
13352012-02-08 Marek Polacek <polacek@redhat.com>
1336
1337 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1338 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1339 * sysdeps/gnu/_G_config.h: Likewise.
1340 * sysdeps/generic/_G_config.h: Likewise.
1341
26ecc33a
AS
13422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1343
6c6dbc63
AS
1344 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1345 tests.
1346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1347
e216c012
AS
1348 * sysdeps/powerpc/powerpc32/crti.S: New file.
1349 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1350 * sysdeps/powerpc/powerpc64/crti.S: New file.
1351 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1352
26ecc33a
AS
1353 * Makeconfig (have-initfini): Don't set.
1354 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1355 * configure.in (nopic_initfini): Don't substitute.
1356 * config.h.in (HAVE_INITFINI): Don't #undef.
1357 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1358 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1359
3add8e13
JM
13602012-02-08 Joseph Myers <joseph@codesourcery.com>
1361
1362 Support crti.S and crtn.S provided directly by architectures.
1363 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1364 [crti.S in sysdirs] (omit-deps): Likewise.
1365 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1366 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1367 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1368 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1369 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1370 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1371 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1372 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1373 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1374 compiler output for sysdeps/generic/initfini.c.
1375 * sysdeps/i386/elf/Makefile: Remove file.
1376 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1377
a22f12b4
MP
13782012-02-07 Marek Polacek <polacek@redhat.com>
1379
1380 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1381 * sysdeps/gnu/_G_config.h: Likewise.
1382 * sysdeps/mach/hurd/_G_config.h: Likewise.
1383
148cf100
MP
13842012-02-07 Marek Polacek <polacek@redhat.com>
1385
1386 * math/Makefile (tests): Add tst-CMPLX2.
1387 * math/tst-CMPLX2.c: New file.
1388
cfdc0dd7
AS
13892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1390
84ba42c4
AS
1391 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1392
cfdc0dd7
AS
1393 * math/libm-test.inc (jn_test): Add missing L suffix.
1394
622c86f4
MP
13952012-02-06 Marek Polacek <polacek@redhat.com>
1396
1397 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1398 * sysdeps/i386/fpu/e_powf.S: Likewise.
1399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1400 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1402 * sysdeps/i386/fpu/e_pow.S: Likewise.
1403 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1405 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1406 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1407 * sysdeps/i386/fpu/e_log2.S: Likewise.
1408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1410 * sysdeps/i386/fpu/e_powl.S: Likewise.
1411 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1414 * sysdeps/i386/fpu/e_logl.S: Likewise.
1415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1416 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1417 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1418 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1419 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1420 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1421 * sysdeps/i386/fpu/e_log.S: Likewise.
1422 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1424 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1425 * sysdeps/i386/fpu/e_logf.S: Likewise.
1426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1427 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1428 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1429 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1430 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1431 * sysdeps/i386/fpu/e_log10.S: Likewise.
1432 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1434 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1435 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1437 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1438 * sysdeps/i386/asm-syntax.h: Likewise.
1439 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1440 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1441 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1442 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1443 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1444 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1445 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1446 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1447 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1448 * sysdeps/powerpc/sysdep.h: Likewise.
1449 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1450 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1451
d4a54ac6
JM
14522012-02-06 Joseph Myers <joseph@codesourcery.com>
1453
1454 [BZ #411]
1455 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1456
314054ea
JM
14572012-02-06 Joseph Myers <joseph@codesourcery.com>
1458
1459 * sysdeps/i386/sysdep.h: Include <features.h>.
1460 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1461 version.
1462
d8e0ca50
JM
14632012-02-05 Joseph Myers <joseph@codesourcery.com>
1464
1465 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1466 Define.
1467 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1468 LOAD_PIC_REG_STR.
1469
b1da7dd9
JM
14702012-02-03 Joseph Myers <joseph@codesourcery.com>
1471
1472 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1473 (SETUP_PIC_REG): Use GET_PC_THUNK.
1474 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1475 macro.
1476
9a1d9254
JM
14772012-02-03 Joseph Myers <joseph@codesourcery.com>
1478
1479 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1480 for non-PIC compilation.
1481 (SETUP_PIC_REG): Add .p2align directive.
1482 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1483 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1484 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1485 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1487 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1488 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1490 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1491 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1492 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1493 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1494 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1495 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1496 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1503 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1505 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1514 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1515 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1516 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1517 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1518 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1519 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1520 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1521 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1522 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1523
65dc3b75
JM
15242012-02-03 Joseph Myers <joseph@codesourcery.com>
1525
1526 * math/tst-CMPLX.c: Include <stdio.h>.
1527
d55bf177
JM
15282012-01-31 Joseph Myers <joseph@codesourcery.com>
1529
1530 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1531 float.
1532 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1533 * sysdeps/sparc/bits/mathdef.h: Likewise.
1534
69db4f8f
MP
15352012-01-31 Marek Polacek <polacek@redhat.com>
1536
1537 * libio/libio.h: Don't define _PARAMS.
1538 * locale/programs/config.h: Don't define PARAMS.
1539 * stdlib/strtol_l.c: Likewise.
1540 (__strtol_l): Remove PARAMS from the prototype.
1541
41b81892
UD
15422012-01-31 Ulrich Drepper <drepper@gmail.com>
1543
3b49edc0
UD
1544 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1545 names. Just use the correct names. Remove unnecessary wrapper
1546 functions.
1547 * malloc/arena.c: Likewise.
1548 * malloc/hooks.c: Likewise.
1549
41b81892
UD
1550 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1551 ARENA_TEST says not to. Simplify test for creation of a new arena.
1552 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1553
27a25b6e
UD
15542012-01-30 Ulrich Drepper <drepper@gmail.com>
1555
1556 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1557 into tail calls.
1558 (update_get_addr): New function.
1559 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1560 GET_ADDR_MODULE parameter.
1561
c8a89e7d
JM
15622012-01-30 Joseph Myers <joseph@codesourcery.com>
1563
1564 * crypt/cert.c: Remove __STDC__ conditionals.
1565 * crypt/crypt-entry.c: Likewise.
1566 * crypt/crypt_util.c: Likewise.
1567 * libio/filedoalloc.c: Likewise.
1568 * libio/fileops.c: Likewise.
1569 * libio/genops.c: Likewise.
1570 * libio/iofclose.c: Likewise.
1571 * libio/iofdopen.c: Likewise.
1572 * libio/iofopen.c: Likewise.
1573 * libio/iofopen64.c: Likewise.
1574 * libio/iogetdelim.c: Likewise.
1575 * libio/iopopen.c: Likewise.
1576 * libio/obprintf.c: Likewise.
1577 * libio/oldfileops.c: Likewise.
1578 * libio/oldiofclose.c: Likewise.
1579 * libio/oldiofdopen.c: Likewise.
1580 * libio/oldiofopen.c: Likewise.
1581 * libio/oldiopopen.c: Likewise.
1582 * libio/wfiledoalloc.c: Likewise.
1583 * libio/wgenops.c: Likewise.
1584 * locale/programs/xmalloc.c: Likewise.
1585 * misc/syslog.c: Likewise.
1586 * stdio-common/xbug.c: Likewise.
1587 * string/memchr.c: Likewise.
1588 * string/memcmp.c: Likewise.
1589 * string/memrchr.c: Likewise.
1590 * string/rawmemchr.c: Likewise.
1591 * sysdeps/posix/getcwd.c: Likewise.
1592 * time/strftime_l.c: Likewise.
1593
3b100462
JM
15942012-01-30 Joseph Myers <joseph@codesourcery.com>
1595
1596 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
1597 * config.make.in (config-cflags-sse2avx): Define.
1598 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1599 Fix typo.
1600
607998af
CM
16012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1602
1603 * scripts/config.guess: Update from upstream config git repository.
1604 * scripts/config.sub: Likewise.
1605
3601428f
CM
16062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1607
3ac8b282
CM
1608 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1609 (EM_NUM): Update.
1610 (R_TILEPRO_*, R_TILEGX_*): New macros.
1611
e034841e
CM
1612 * scripts/firstversions.awk: Fix bug in version range handling.
1613
540d7568
CM
1614 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1615
3601428f
CM
1616 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1617
463de862
CM
1618 * include/sys/epoll.h: New file.
1619 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1620 libc_hidden_def.
1621
73139a76
UD
16222012-01-28 Ulrich Drepper <drepper@gmail.com>
1623
96bc5b45
UD
1624 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1625 Avoid unnecessary __WORDSIZE == 64 test.
1626 (fmaxf): Use VEX format if possible.
1627 (fmax): Likewise.
1628 (fminf): Likewise.
1629 (fmin): Likewise.
1630
56f6f6a2
UD
1631 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1632 * math/math_private.h: Remove libc_fegetround* and
1633 libc_fesetround*.
1634 * sysdeps/i386/configure.in: Check for -msse2avx.
1635 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1636 also if SSE2AVX is defined.
1637 Remove libc_fegetround* and libc_fesetround*.
1638 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1639 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1641 of HAS_YMM_USABLE.
1642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1647
73139a76
UD
1648 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1649
d73f93a4
AZ
16502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651
1652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1653 size is not set.
1654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1655
6ee65ed6
UD
16562012-01-27 Ulrich Drepper <drepper@gmail.com>
1657
1658 [BZ #13618]
1659 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1660 relocation.
1661 * Makeconfig (libm): Define.
1662 * elf/Makefile: Add rules to build and run tst-relsort1.
1663 * elf/tst-relsort1.c: New file.
1664 * elf/tst-relsort1mod1.c: New file.
1665 * elf/tst-relsort1mod2.c: New file.
1666
8db21882
JM
16672012-01-27 Joseph Myers <joseph@codesourcery.com>
1668
1669 * math/s_ldexp.c: Remove __STDC__ conditionals.
1670 * math/s_ldexpf.c: Likewise.
1671 * math/s_ldexpl.c: Likewise.
1672 * math/s_nextafter.c: Likewise.
1673 * math/s_nexttowardf.c: Likewise.
1674 * math/s_significand.c: Likewise.
1675 * math/s_significandf.c: Likewise.
1676 * math/s_significandl.c: Likewise.
1677 * math/w_jnl.c: Likewise.
1678 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1679 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1680 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1681 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1682 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1684 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1687 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1688 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1690 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1694 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1697 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1698 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1699 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1700 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1702 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1703 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1705 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1706 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1707 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1708 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1709 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1711 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1712 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1713 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1714 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1715 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1716 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1717 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1718 * sysdeps/ieee754/k_standard.c: Likewise.
1719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1721 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1728 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1729 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1743 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1750 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1751 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1765 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1768 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1769 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1780 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1781 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1783 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1784 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1785 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1786 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1787 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1788 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1789 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1790 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1791 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1796 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1798 * sysdeps/ieee754/s_matherr.c: Likewise.
1799 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1800 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1803
965a54a4
JM
18042012-01-26 Joseph Myers <joseph@codesourcery.com>
1805
1806 * crypt/md5.h: Remove __STDC__ conditionals.
1807 * libio/libioP.h: Likewise.
1808 * locale/programs/config.h: Likewise.
1809 * sysdeps/generic/sysdep.h: Likewise.
1810 * sysdeps/i386/asm-syntax.h: Likewise.
1811 * sysdeps/s390/asm-syntax.h: Likewise.
1812 * sysdeps/unix/sysdep.h: Likewise.
1813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1815
7071ad79
JM
18162012-01-26 Joseph Myers <joseph@codesourcery.com>
1817
1818 * libio/libio.h: Remove __STDC__ conditionals.
1819 * malloc/obstack.h: Likewise.
1820 * math/complex.h: Likewise.
1821 * math/math.h: Likewise.
1822 * sysdeps/generic/_G_config.h: Likewise.
1823 * sysdeps/gnu/_G_config.h: Likewise.
1824 * sysdeps/mach/hurd/_G_config.h: Likewise.
1825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1827 * sysdeps/sparc/bits/mathdef.h: Likewise.
1828
afc5ed09
UD
18292012-01-26 Ulrich Drepper <drepper@gmail.com>
1830
1831 [BZ #13583]
1832 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 1833 Clean up HAS_* macros.
afc5ed09 1834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
1835 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1836 possible.
1837 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1838 HAS_AVX.
1839 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1840 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1841 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1843 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 1844
bdb6de1d
JM
18452012-01-25 Joseph Myers <joseph@codesourcery.com>
1846
1847 * elf/tst-unique3.cc (gets): Remove declaration.
1848 * elf/tst-unique3lib.cc (gets): Likewise.
1849 * elf/tst-unique3lib2.cc (gets): Likewise.
1850 * elf/tst-unique4.cc (gets): Likewise.
1851
b15549e6
UD
18522012-01-24 Ulrich Drepper <drepper@gmail.com>
1853
1854 * include/stdio.h: Add C++ protection. Add gets declarations and
1855 definitions.
1856 * debug/tst-chk1.c: Don't declare gets here.
1857 * stdio-common/tst-gets.c: Likewise.
1858
a037381f
JM
18592012-01-24 Joseph Myers <joseph@codesourcery.com>
1860
1861 * posix/glob: Remove directory.
1862
f1d4aa75
JM
18632012-01-24 Joseph Myers <joseph@codesourcery.com>
1864
1865 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1866
81c0c964
PT
18672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1868
1869 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1870 of the non-standard EPFNOSUPPORT.
1871
0ea698ae
ST
18722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1873
1874 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1875 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1876 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1877
d220b117
UD
18782012-01-21 Ulrich Drepper <drepper@gmail.com>
1879
1880 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1881
3e1aa84e
UD
18822012-01-20 Ulrich Drepper <drepper@gmail.com>
1883
1884 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1885 transient errors.
1886 * nscd/grpcache.c (cache_addgr): Likewise.
1887 * nscd/hstcache.c (cache_addhst): Likewise.
1888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1889 * nscd/pwdcache.c (cache_addpw): Likewise.
1890 * nscd/servicescache.c (cache_addserv): Likewise.
1891
400aa020
UD
18922012-01-16 Ulrich Drepper <drepper@gmail.com>
1893
d77e7869
UD
1894 * malloc/malloc.c: Various cleanups.
1895 * malloc/hooks.c: Likewise.
1896
400aa020
UD
1897 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1898 * stdlib/bug-fmtmsg1.c: New file.
1899
1900 * stdlib/fmtmsg.c (init): Add missing unlock.
1901 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1902
e0a309cf
MP
19032012-01-12 Marek Polacek <polacek@redhat.com>
1904
1905 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1906 and _GNU_SOURCE.
1907
929d11c7
WS
19082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1909
1910 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1911 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1912 macro to ensure uniqueness of label name.
1913 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1914 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1915
41d0e869
UD
19162012-01-11 Ulrich Drepper <drepper@gmail.com>
1917
0cc5ed3b
UD
1918 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1919
41d0e869
UD
1920 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1921 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1922 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1924
a47a831a
UD
19252012-01-10 Ulrich Drepper <drepper@gmail.com>
1926
daa891c0
UD
1927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1928
1929 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1930 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1931 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1932
e58ef0f2
UD
1933 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1934
a47a831a 1935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
1936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1937 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 1938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
1939
1940 * math/bits/math-finite.h: Add ldexp support.
1941
a0bfc9c7
MP
19422012-01-10 Marek Polacek <polacek@redhat.com>
1943
1944 * locale/programs/localedef.h (show_archive_content): Add noreturn
1945 attribute.
1946
d6e97a1d
UD
19472012-01-09 Ulrich Drepper <drepper@gmail.com>
1948
1949 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1950
d5835c26
UD
19512012-01-08 Ulrich Drepper <drepper@gmail.com>
1952
e5f484c6
UD
1953 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1954
d5835c26
UD
1955 * io/Makefile (headers): Add bits/poll2.h.
1956
d1f741e9
WS
19572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1958
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1960 typo #include statement.
1961
ec09c1c4
UD
19622012-01-08 Ulrich Drepper <drepper@gmail.com>
1963
1964 * include/sys/cdefs.h: Define __attribute_alloc_size.
1965 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1966 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1967 * elf/pldd.c: Likewise.
1968 * iconv/iconv_charmap.c: Likewise.
1969 * iconv/iconvconfig.c: Likewise.
1970 * iconv/strtab.c: Likewise.
1971 * locale/programs/locale.c: Likewise.
1972 * locale/programs/localedef.h: Likewise.
1973 * locale/programs/simple-hash.c: Likewise.
1974 * nscd/nscd.h: Likewise.
1975 * nss/makedb.c: Likewise.
1976 * sysdeps/generic/ldconfig.h: Likewise.
1977 * locale/programs/localedef.c: Remove xmalloc prototype.
1978 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1979
20b38e03
PP
19802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1981
1982 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1983 appropriate.
1984
a0da5fe1
UD
19852012-01-08 Ulrich Drepper <drepper@gmail.com>
1986
1d5a644a 1987 * math/Makefile (tests): Add tst-CMPLX.
669704fd 1988 * math/tst-CMPLX.c: New file.
1d5a644a 1989
8784a6db
UD
1990 * math/complex.h (CMPLXL): Fix typo.
1991
d9a216c0
UD
1992 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1993 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1994 GLIBC_2.16.
1995 * debug/tst-chk1.c: Add poll and ppoll tests.
1996 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1997 * include/sys/poll.h: Add hidden proto for ppoll.
1998 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1999 * sysdeps/mach/hurd/ppoll.c: Likewise.
2000 * io/ppoll.c: Likewise.
2001 * debug/poll_chk.c: New file.
2002 * debug/ppoll_chk.c: New file.
2003 * include/bits/poll2.h: New file.
2004 * io/bits/poll2.h: New file.
2005
ac097f5c
UD
2006 [BZ #1350]
2007 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2008
2119dcfa
UD
2009 * configure.in: static is always set to yes. Remove.
2010 * config.make.in: Don't set build-static.
2011 * Makeconfig: Remove use of build-static.
2012 * dlfcn/Makefile: Likewise.
2013 * elf/Makefile: Likewise.
2014 * math/Makefile: Likewise.
2015 * misc/Makefile: Likewise.
2016 * nptl/Makefile: Likewise.
2017 * sysdeps/mach/hurd/Makefile: Likewise.
2018
121766a9
UD
2019 * configure.in: PWD_P is not used anymore.
2020 * config.make.in: Remove PWD_P entry.
2021
51a1d39c 2022 * configure.in: Remove last remnants of RANLIB.
8720d066 2023 No need to check for signed size_t anymore.
215f4bdc
UD
2024 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2025 and IA-64.
3857022a 2026 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
2027 * aclocal.m4: Likewise.
2028
d3ed7225
UD
2029 * wcsmbs/mbrtoc16.c: Implement using towc function.
2030 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2031 * wcsmbs/wcsmbsload.c: Likewise.
2032 * iconv/gconv_simple.c: Likewise.
2033 * iconv/gconv_int.h: Likewise.
2034 * iconv/gconv_builtin.h: Likewise.
2035 * iconv/iconv_prog.c: Remove CHAR16 handling.
2036
2037 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2038
2039 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2040
a0da5fe1
UD
2041 * configure.in: Remove --with-elf and --enable-bounded options.
2042 Dont set base_machine for ia64. More non-ELF conditions removed.
2043 Remove testing and setting of leading underscore information.
2044 * config.make.in (build-bounded): Set to no.
2045 * config.h.in: Remove NO_UNDERSCORES entry.
2046 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2047 them.
2048 * csu/start.c: Remove !NO_UNDERSCORE code.
2049 * locale/localeinfo.h: Likewise.
2050 * sysdeps/generic/machine-gmon.h: Likewise.
2051 * sysdeps/generic/sysdep.h: Likewise.
2052 * sysdeps/i386/sysdep.h: Likewise.
2053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2054 * sysdeps/mach/sysdep.h: Likewise.
2055 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2057 * sysdeps/sh/sysdep.h: Likewise.
2058 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2059 * sysdeps/unix/i386/sysdep.S: Likewise.
2060 * sysdeps/unix/sparc/start.c: Likewise.
2061 * sysdeps/unix/sparc/sysdep.S: Likewise.
2062 * sysdeps/unix/sparc/sysdep.h: Likewise.
2063 * sysdeps/unix/start.c: Likewise.
2064 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2065 * sysdeps/x86_64/sysdep.h: Likewise.
2066
df78418a
UD
20672012-01-07 Ulrich Drepper <drepper@gmail.com>
2068
a784e502
UD
2069 [BZ #13553]
2070 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2071 for non-gcc.
2072 * argp/argp-fmtstream.h: Use const instead __const.
2073 * argp/argp.h: Likewise.
2074 * assert/assert.h: Likewise.
2075 * bits/fenv.h: Likewise.
2076 * bits/sched.h: Likewise.
2077 * bits/sigset.h: Likewise.
2078 * bits/sigthread.h: Likewise.
2079 * catgets/nl_types.h: Likewise.
2080 * conform/data/pthread.h-data: Likewise.
2081 * crypt/crypt-private.h: Likewise.
2082 * crypt/crypt.h: Likewise.
2083 * crypt/crypt_util.c: Likewise.
2084 * ctype/ctype.h: Likewise.
2085 * debug/execinfo.h: Likewise.
2086 * debug/mbsnrtowcs_chk.c: Likewise.
2087 * debug/mbsrtowcs_chk.c: Likewise.
2088 * debug/wcsnrtombs_chk.c: Likewise.
2089 * debug/wcsrtombs_chk.c: Likewise.
2090 * debug/wcstombs_chk.c: Likewise.
2091 * dirent/dirent.h: Likewise.
2092 * dlfcn/dlfcn.h: Likewise.
2093 * elf/neededtest4.c: Likewise.
2094 * grp/grp.h: Likewise.
2095 * gshadow/gshadow.h: Likewise.
2096 * iconv/gconv.h: Likewise.
2097 * iconv/gconv_int.h: Likewise.
2098 * iconv/gconv_simple.c: Likewise.
2099 * iconv/iconv.h: Likewise.
2100 * iconv/loop.c: Likewise.
2101 * iconv/skeleton.c: Likewise.
2102 * include/aio.h: Likewise.
2103 * include/aliases.h: Likewise.
2104 * include/argz.h: Likewise.
2105 * include/arpa/inet.h: Likewise.
2106 * include/assert.h: Likewise.
2107 * include/dirent.h: Likewise.
2108 * include/dlfcn.h: Likewise.
2109 * include/execinfo.h: Likewise.
2110 * include/fcntl.h: Likewise.
2111 * include/fenv.h: Likewise.
2112 * include/glob.h: Likewise.
2113 * include/grp.h: Likewise.
2114 * include/libintl.h: Likewise.
2115 * include/mntent.h: Likewise.
2116 * include/netdb.h: Likewise.
2117 * include/pwd.h: Likewise.
2118 * include/rpc/netdb.h: Likewise.
2119 * include/sched.h: Likewise.
2120 * include/search.h: Likewise.
2121 * include/shadow.h: Likewise.
2122 * include/signal.h: Likewise.
2123 * include/stdio.h: Likewise.
2124 * include/stdlib.h: Likewise.
2125 * include/string.h: Likewise.
2126 * include/sys/socket.h: Likewise.
2127 * include/sys/stat.h: Likewise.
2128 * include/sys/statfs.h: Likewise.
2129 * include/sys/statvfs.h: Likewise.
2130 * include/sys/syslog.h: Likewise.
2131 * include/sys/time.h: Likewise.
2132 * include/sys/uio.h: Likewise.
2133 * include/time.h: Likewise.
2134 * include/unistd.h: Likewise.
2135 * include/utmp.h: Likewise.
2136 * include/wchar.h: Likewise.
2137 * include/wctype.h: Likewise.
2138 * inet/aliases.h: Likewise.
2139 * inet/arpa/inet.h: Likewise.
2140 * inet/netinet/ether.h: Likewise.
2141 * inet/netinet/in.h: Likewise.
2142 * intl/libintl.h: Likewise.
2143 * io/bits/fcntl2.h: Likewise.
2144 * io/fcntl.h: Likewise.
2145 * io/ftw.h: Likewise.
2146 * io/sys/poll.h: Likewise.
2147 * io/sys/stat.h: Likewise.
2148 * io/sys/statfs.h: Likewise.
2149 * io/sys/statvfs.h: Likewise.
2150 * io/utime.h: Likewise.
2151 * libio/bits/stdio.h: Likewise.
2152 * libio/bits/stdio2.h: Likewise.
2153 * libio/libio.h: Likewise.
2154 * libio/libioP.h: Likewise.
2155 * libio/stdio.h: Likewise.
2156 * locale/lc-ctype.c: Likewise.
2157 * locale/locale.h: Likewise.
2158 * login/utmp.h: Likewise.
2159 * malloc/arena.c: Likewise.
2160 * malloc/malloc.c: Likewise.
2161 * malloc/malloc.h: Likewise.
2162 * malloc/mcheck.c: Likewise.
2163 * malloc/mtrace.c: Likewise.
2164 * math/bits/mathcalls.h: Likewise.
2165 * math/fenv.h: Likewise.
2166 * math/math_private.h: Likewise.
2167 * misc/bits/error.h: Likewise.
2168 * misc/bits/syslog.h: Likewise.
2169 * misc/err.h: Likewise.
2170 * misc/error.h: Likewise.
2171 * misc/fstab.h: Likewise.
2172 * misc/mntent.h: Likewise.
2173 * misc/regexp.h: Likewise.
2174 * misc/search.h: Likewise.
2175 * misc/sgtty.h: Likewise.
2176 * misc/sys/mman.h: Likewise.
2177 * misc/sys/syslog.h: Likewise.
2178 * misc/sys/uio.h: Likewise.
2179 * misc/sys/xattr.h: Likewise.
2180 * misc/ttyent.h: Likewise.
2181 * nis/rpcsvc/ypclnt.h: Likewise.
2182 * nss/nss.h: Likewise.
2183 * posix/bits/unistd.h: Likewise.
2184 * posix/fnmatch.h: Likewise.
2185 * posix/glob.h: Likewise.
2186 * posix/sched.h: Likewise.
2187 * posix/spawn.h: Likewise.
2188 * posix/sys/wait.h: Likewise.
2189 * posix/unistd.h: Likewise.
2190 * posix/wordexp.h: Likewise.
2191 * pwd/pwd.h: Likewise.
2192 * resolv/netdb.h: Likewise.
2193 * resource/sys/resource.h: Likewise.
2194 * rt/aio.h: Likewise.
2195 * rt/bits/mqueue2.h: Likewise.
2196 * rt/mqueue.h: Likewise.
2197 * shadow/shadow.h: Likewise.
2198 * signal/signal.h: Likewise.
2199 * socket/send.c: Likewise.
2200 * socket/sendto.c: Likewise.
2201 * socket/sys/socket.h: Likewise.
2202 * stdio-common/printf.h: Likewise.
2203 * stdlib/bits/stdlib.h: Likewise.
2204 * stdlib/fmtmsg.h: Likewise.
2205 * stdlib/monetary.h: Likewise.
2206 * stdlib/stdlib.h: Likewise.
2207 * stdlib/ucontext.h: Likewise.
2208 * streams/stropts.h: Likewise.
2209 * string/argz.h: Likewise.
2210 * string/bits/string2.h: Likewise.
2211 * string/string.h: Likewise.
2212 * string/strings.h: Likewise.
2213 * sunrpc/rpc/auth.h: Likewise.
2214 * sunrpc/rpc/auth_des.h: Likewise.
2215 * sunrpc/rpc/clnt.h: Likewise.
2216 * sunrpc/rpc/netdb.h: Likewise.
2217 * sunrpc/rpc/pmap_clnt.h: Likewise.
2218 * sunrpc/rpc/xdr.h: Likewise.
2219 * sysdeps/generic/inttypes.h: Likewise.
2220 * sysdeps/generic/net/if.h: Likewise.
2221 * sysdeps/generic/sys/swap.h: Likewise.
2222 * sysdeps/gnu/net/if.h: Likewise.
2223 * sysdeps/gnu/utmpx.h: Likewise.
2224 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2225 * sysdeps/i386/i486/bits/string.h: Likewise.
2226 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2227 * sysdeps/s390/bits/string.h: Likewise.
2228 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2229 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2230 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2231 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2232 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2233 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2234 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2235 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2236 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2237 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2238 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2239 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2240 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2241 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2242 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2243 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2244 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2246 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2247 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2248 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2249 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2250 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2251 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2252 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2253 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2254 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2255 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2256 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2258 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2259 * sysvipc/sys/ipc.h: Likewise.
2260 * sysvipc/sys/msg.h: Likewise.
2261 * sysvipc/sys/sem.h: Likewise.
2262 * sysvipc/sys/shm.h: Likewise.
2263 * termios/termios.h: Likewise.
2264 * time/sys/time.h: Likewise.
2265 * time/time.h: Likewise.
2266 * wcsmbs/bits/wchar2.h: Likewise.
2267 * wcsmbs/uchar.h: Likewise.
2268 * wcsmbs/wchar.h: Likewise.
2269 * wctype/wctype.h: Likewise.
2270
0269750c
UD
2271 [BZ #13551]
2272 * Makeconfig: Remove all but ELF support including AIX support.
2273 * Makerules: Likewise.
2274 * config.h.in: Likewise.
2275 * config.make.in: Likewise.
2276 * configure: Likewise.
2277 * configure.in: Likewise.
2278 * csu/Makefile: Likewise.
2279 * csu/version.c: Likewise.
2280 * debug/Makefile: Likewise.
2281 * dlfcn/Makefile: Likewise.
2282 * elf/Makefile: Likewise.
2283 * extra-lib.mk: Likewise.
2284 * iconv/Makefile: Likewise.
2285 * include/libc-symbols.h: Likewise.
2286 * include/shlib-compat.h: Likewise.
2287 * resolv/Makefile: Likewise.
2288 * resolv/res_libc.c: Likewise.
2289 * rt/Makefile: Likewise.
2290 * sysdeps/i386/asm-syntax.h: Likewise.
2291 * sysdeps/i386/sysdep.h: Likewise.
2292 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2293 * sysdeps/mach/sysdep.h: Likewise.
2294 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2295 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2296 * sysdeps/s390/asm-syntax.h: Likewise.
2297 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2299 * sysdeps/sh/sysdep.h: Likewise.
2300 * sysdeps/unix/sparc/sysdep.h: Likewise.
2301 * sysdeps/wordsize-32/divdi3.c: Likewise.
2302 * sysdeps/x86_64/sysdep.h: Likewise.
2303
00bbd29b
UD
2304 * argp/Versions: Remove _argp_unlock_xxx.
2305
2306 [BZ #13559]
2307 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2308 * abilist/libBrokenLocale.abilist: Likewise.
2309 * abilist/libanl.abilist: Likewise.
2310 * abilist/libc.abilist: Likewise.
2311 * abilist/libcrypt.abilist: Likewise.
2312 * abilist/libdl.abilist: Likewise.
2313 * abilist/libm.abilist: Likewise.
2314 * abilist/libnsl.abilist: Likewise.
2315 * abilist/libpthread.abilist: Likewise.
2316 * abilist/libresolv.abilist: Likewise.
2317 * abilist/librt.abilist: Likewise.
2318 * abilist/libthread_db.abilist: Likewise.
2319 * abilist/libutil.abilist: Likewise.
2320 * abilist/libnss_db.abilist: New file.
2321
2322 * scripts/abilist.awk: Add support for indirect functions.
2323
a2693a0e
UD
2324 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2325
3f05895f
UD
2326 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2327
ecb6fb48
UD
2328 * shlib-versions: Remove entries for ports architectures.
2329
664f8cb9
UD
2330 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2331 files in ports.
2332 * elf/stackguard-macros.h: Remove support for IA-64.
2333 * elf/tst-auditmod1.c: Likewise.
2334 * sysdeps/generic/ldsodefs.h: Likewise.
2335
7ae81d88
UD
2336 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2337 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2338 configure files.
2339
bdeba135
UD
2340 [BZ #13552]
2341 * configure.in: Remove --enable-omitfp support.
2342 * FAQ.in: Adjust.
2343 * config.make.in: Likewise.
2344 * Makeconfig: Likewise.
2345 * manual/install.texi: Likewise.
2346
d75a0a62
UD
2347 In case anyone cares, the IA-64 architecture could move to ports.
2348 * sysdeps/ia64/*: Removed.
2349 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2350 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2351
dcc9756b
UD
2352 [BZ #13555]
2353 * configure.in: Remove entries for unsupported architectures.
2354
d3761ebc 2355 [BZ #13533]
9954432e
UD
2356 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2357 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2358 routines.
2359 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2360 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2361 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2362 fall back to using wcrtomb.
2363 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2364 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2365 renaming.
2366 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2367 * wcsmbs/tst-c16c32-1.c: New file.
2368
2369 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2370 local variable.
2371
c3a87236
UD
2372 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2373
28926a1b
UD
2374 * elf/tst-unique3.cc: Add explicit declaration of gets.
2375 * elf/tst-unique3lib.cc: Likewise.
2376 * elf/tst-unique3lib2.cc: Likewise.
2377 * elf/tst-unique4.cc: Likewise.
2378
df78418a
UD
2379 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2380
8ecd6b2a
JM
23812012-01-06 Joseph Myers <joseph@codesourcery.com>
2382
2383 [BZ #13566]
2384 * assert/assert.h (static_assert): Don't define for C++.
2385 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2386 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2387
9f115170
UD
23882012-01-03 Ulrich Drepper <drepper@gmail.com>
2389
5e0d0300
UD
2390 * iconv/loop.c (single loop): Fix assertion in storing of
2391 remaining bytes.
2392
9f115170
UD
2393 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2394
81fb02b0
UD
23952012-01-01 Ulrich Drepper <drepper@gmail.com>
2396
2397 * posix/getconf.c: Update copyright year.
2398 * nss/getent.c: Likewise.
a316c1f6 2399 * nss/makedb.c: Likewise.
81fb02b0
UD
2400 * iconv/iconvconfig.c: Likewise.
2401 * iconv/iconv_prog.c: Likewise.
2402 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2403 * elf/pldd.c: Likewise.
2404 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2405 * catgets/gencat.c: Likewise.
2406 * csu/version.c: Likewise.
2407 * elf/ldd.bash.in: Likewise.
2408 * elf/sprof.c (print_version): Likewise.
2409 * locale/programs/locale.c: Likewise.
2410 * locale/programs/localedef.c: Likewise.
a316c1f6 2411 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2412 * nscd/nscd.c (print_version): Likewise.
2413 * debug/xtrace.sh: Likewise.
2414 * malloc/memusage.sh: Likewise.
2415 * malloc/mtrace.pl: Likewise.
2416 * debug/catchsegv.sh: Likewise.
2417
2ba92745
JJ
24182011-12-30 Jakub Jelinek <jakub@redhat.com>
2419
2420 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2421 pure attribute.
2422
dadebdae
UD
24232011-12-24 Ulrich Drepper <drepper@gmail.com>
2424
d3761ebc 2425 [BZ #13533]
db6af3eb
UD
2426 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2427 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2428 transformations.
2429 * iconv/gconv_int.h: Likewise.
2430 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2431 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2432 from libc for GLIBC_2.16.
2433 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2434 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2435 * wcsmbs/uchar.h: Really define mbstate_t.
2436 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2437 * wcsmbs/c16rtomb.c: New file.
2438 * wcsmbs/mbrtoc16.c: New file.
2439 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2440 for C/POSIX locale.
2441 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2442 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2443
dadebdae
UD
2444 * wcsmbs/wchar.h: Add missing __restrict.
2445
67371b56
UD
24462011-12-23 Ulrich Drepper <drepper@gmail.com>
2447
74033a25
UD
2448 [BZ #13532]
2449 * time/Makefile (routines): Add timespec_get.
2450 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2451 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2452 timespec for ISO C11.
2453 * time/timespec_get.c: New file.
2454 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2455 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2456
380d7e87
UD
2457 [BZ #13531]
2458 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2459 * stdlib/stdlib.h: Declare aligned_alloc.
2460 * Versions.def: Add GLIBC_2.16 for libc.
2461 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2462
4e9e7a35
UD
2463 [BZ 13527]
2464 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2465 ISO C11.
2466
380d7e87 2467 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2468 code.
2469
03a71829
UD
2470 [BZ #13528]
2471 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2472
839e283e
UD
2473 [BZ #13529]
2474 * assert/assert.h (static_assert): Define.
2475
ce5294e2 2476 * version.h: Update for 2.16 development version.
90fa7312 2477
8d44e150 2478 [BZ #13526]
d7809905
UD
2479 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2480 _ISOC11_SOURCE.
2481
c0da14cd
UD
2482 * version.h (RELEASE): Bump for 2.15 release.
2483 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2484
530a3249
MP
2485 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2486 Patch by Marek Polacek <mpolacek@redhat.com>.
2487
67371b56
UD
2488 * bits/byteswap.h: Protect long long constants with __extension__.
2489 * sysdeps/i386/bits/byteswap.h: Likewise.
2490 * sysdeps/ia64/bits/byteswap.h: Likewise.
2491 * sysdeps/s390/bits/byteswap.h: Likewise.
2492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2493
15db4de1
LD
24942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2495
2496 [BZ #13540]
bbe315ea
LD
2497 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2498 destination buffer.
15db4de1
LD
2499 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2500
2b2596b1
MP
25012011-12-23 Marek Polacek <polacek@redhat.com>
2502
2503 * elf/dl-addr.c (determine_info): Add inline keyword.
2504 * elf/tst-auditmod4b.c (check_avx): Likewise.
2505 * elf/tst-auditmod6b.c (check_avx): Likewise.
2506 * elf/tst-auditmod6c.c (check_avx): Likewise.
2507 * elf/tst-auditmod7b.c (check_avx): Likewise.
2508
70c6c246
UD
25092011-12-23 Ulrich Drepper <drepper@gmail.com>
2510
2511 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2512 !__SSE_MATH__.
2513
c044cf14
LD
25142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2515
15db4de1 2516 [BZ #13540]
c044cf14
LD
2517 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2518 processing for last bytes.
2519
6b13d9d9
BH
25202011-08-06 Bruno Haible <bruno@clisp.org>
2521
d455f537
BH
2522 [BZ #13061]
2523 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2524 U+0385, not to U+1FEE.
2525
6b13d9d9
BH
2526 [BZ #13062]
2527 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2528 entry for U+00A5 U+0301.
2529
db910efd
UD
25302011-12-22 Ulrich Drepper <drepper@gmail.com>
2531
27deeafc
UD
2532 [BZ #13166]
2533 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2534 buffer for the output is too small.
2535
aed9d171
UD
2536 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2537 optimization.
2538
db910efd
UD
2539 [BZ #13185]
2540 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2541 SSE flags if possible.
2542
2bd779ae
LD
25432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2544
e7f9dac3 2545 [BZ #13540]
2bd779ae
LD
2546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2547 processing for last bytes.
2548
154bfc16
JM
25492011-12-22 Joseph Myers <joseph@codesourcery.com>
2550
2551 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2552 (syscall-list-default-options, syscall-list-default-condition)
2553 (syscall-list-includes): Define.
2554 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2555 list of ABIs and options and #if conditions for each ABI. Do not
2556 handle common syscalls between ABIs specially.
2557 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2558 Remove.
2559 (syscall-list-variants, syscall-list-32bit-options)
2560 (syscall-list-32bit-condition, syscall-list-64bit-options)
2561 (syscall-list-64bit-condition): Define.
2562 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2563 (syscall-list-variants, syscall-list-32bit-options)
2564 (syscall-list-32bit-condition, syscall-list-64bit-options)
2565 (syscall-list-64bit-condition): Define.
2566 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2567 Remove.
2568 (syscall-list-variants, syscall-list-32bit-options)
2569 (syscall-list-32bit-condition, syscall-list-64bit-options)
2570 (syscall-list-64bit-condition): Define.
2571 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2572 Remove.
2573 (syscall-list-variants, syscall-list-32bit-options)
2574 (syscall-list-32bit-condition, syscall-list-64bit-options)
2575 (syscall-list-64bit-condition): Define.
2576
21eaf3a5
UD
25772011-12-22 Ulrich Drepper <drepper@gmail.com>
2578
16c6f992
UD
2579 * locale/iso-639.def: Add brx entry.
2580
41043168
UD
2581 [BZ #13328]
2582 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2583 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2584
21eaf3a5
UD
2585 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2586 __feraiseexcept_renamed.
2587
e3a851a2
UD
25882011-12-21 Ulrich Drepper <drepper@gmail.com>
2589
4920765e
UD
2590 [BZ #13538]
2591 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2592 EPOLLET with unsigned values.
2593 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2595
e3a851a2
UD
2596 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2597 to large cancellation.
2598 * math/s_cacoshf.c: Likewise.
2599 * math/s_cacoshl.c: Likewise.
2600
b27e24b8
RK
26012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2602
2603 [BZ #13305]
aebefeee 2604 [BZ #12786]
b27e24b8
RK
2605 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2606 * math/s_cacoshf.c: Likewise.
2607 * math/s_cacoshl.c: Likewise.
2608
ee190f67
UD
26092011-12-21 Ulrich Drepper <drepper@gmail.com>
2610
2611 [BZ #13439]
2612 * iconv/gconv.h: Define __GCONV_SWAP.
2613 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2614 * iconvdata/utf-16.c: Likewise.
2615 * iconvdata/utf-32.c: Likewise.
2616
707f25df
AS
26172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2618
2619 [BZ #13524]
2620 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2621 numerator after shifting it by one limb.
2622
d2daaa1e
RÁE
26232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2624
2625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2626 under [__USE_EXTERN_INLINES].
2627
a4647e72
UD
26282011-12-17 Ulrich Drepper <drepper@gmail.com>
2629
2630 [BZ #13446]
2631 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2632
f0b264f1
AZ
26332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2634
2635 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2636 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2637 optimized code.
2638 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2639 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2640 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2641 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2642 for strncasecmp/strncasecmp_l compilation.
2643 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2644 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2645
8ef4f244
MP
26462011-12-08 Marek Polacek <mpolacek@redhat.com>
2647
2648 [BZ #13484]
2649 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2650 of __asm__.
2651
97ac2654
UD
26522011-12-17 Ulrich Drepper <drepper@gmail.com>
2653
2654 [BZ #13506]
2655 * time/tzfile.c (__tzfile_read): Check values from file header.
2656
91d2a845
WS
26572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2658
2659 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2660 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2661 * powerpc/powerpc32/dl-start.S: Likewise.
2662 * powerpc/powerpc32/elf/start.S: Likewise.
2663 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2664 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2665 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2666 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2667 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2668 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2669 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2670 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2671 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2672 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2673 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2674 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2675 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2676 * powerpc/powerpc32/memset.S: Likewise.
2677 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2678 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2679 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2680 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2681 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2682 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2683 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2684 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2685 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2686 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2687 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2688 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2689 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2690
a1267ba1
AZ
26912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2692
2693 * math/libm-test.inc: Added more nearbyint tests.
2694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2698
ad8ac1bd
RL
26992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2700
2701 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2702 FD_CLOEXEC.
2703
1d3e4b61
UD
27042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2705
2706 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2707 Add wcscpy-ssse3 wcscpy-c.
2708 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2709 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2710 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2711 * sysdeps/x86_64/wcschr.S: New file.
2712 * sysdeps/x86_64/wcsrchr.S: New file.
2713 * string/test-strcmp.c: Remove checking of wcscmp function for
2714 wrong alignments.
2715 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2716 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2717 wcsrchr-sse2 wcsrchr-c.
2718 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2719 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2720 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2721 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2722 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2723 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2724 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2725 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2726 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2727 * wcsmbc/wcschr.c (WCSCHR): New macro.
2728
5b330a2d
UD
27292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2730
2731 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2732 * wcsmbs/test-wcsrchr.c: New file.
2733 * string/test-strrchr.c: Add wcsrchr support.
2734 (WIDE): New macro.
2735 * wcsmbs/test-wcscpy.c: New file.
2736 * string/test-strcpy.c: Add wcscpy support.
2737 (WIDE): New macro.
26428b7c 2738
f039c043
UD
27392011-12-10 Ulrich Drepper <drepper@gmail.com>
2740
2741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2742 the inner loop.
2743
850fb039
AS
27442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2745
2746 [BZ #13472]
2747 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2748
4efbd5cb
UD
27492011-12-04 Ulrich Drepper <drepper@gmail.com>
2750
52ff5dd0 2751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 2752 Minor optimizations.
52ff5dd0 2753
4efbd5cb
UD
2754 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2755 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2756 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2757
8a426e12
UD
27582011-12-03 Ulrich Drepper <drepper@gmail.com>
2759
aff2453d
UD
2760 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2761 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2762 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2763 for gcc to avoid warnings.
2764 * inet/Makefile (tests): Add tst-checks.
2765 * inet/tst-checks.c: New file.
2766
2767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2768 warning.
2769
2770 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2771 __wmemcmp_sse2.
2772
2773 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2774 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2775
8a426e12
UD
2776 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2777
9bea3473
UD
27782011-12-02 Ulrich Drepper <drepper@gmail.com>
2779
3a965496
UD
2780 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2781 problem.
2782
9bea3473
UD
2783 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2784
f101631b
UD
27852011-11-29 Joseph Myers <joseph@codesourcery.com>
2786
2787 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2788 conditional on GCC version.
2789 (__arch_compare_and_exchange_val_8_acq)
2790 (__arch_compare_and_exchange_val_16_acq)
2791 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2792 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2793 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2794
a98275aa
UD
27952011-12-02 Joseph Myers <joseph@codesourcery.com>
2796
2797 * sysdeps/sh/backtrace.c: New file.
2798
d4cc29a2
AS
27992011-12-02 Andreas Schwab <schwab@redhat.com>
2800
2801 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2802 parenthesis.
2803
6257af2d
AS
28042011-12-01 Andreas Schwab <schwab@redhat.com>
2805
2806 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2807 falling back to utime.
2808
b5f44c1a
AS
28092011-11-30 Andreas Schwab <schwab@redhat.com>
2810
2811 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2812 expectations for float.
2813
f3a6cc0a
AS
28142011-11-29 Andreas Schwab <schwab@redhat.com>
2815
2816 * locale/weight.h (findidx): Add parameter len.
2817 * locale/weightwc.h (findidx): Likewise.
2818 * posix/fnmatch_loop.c (FCT): Adjust caller.
2819 * posix/regcomp.c (build_equiv_class): Likewise.
2820 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2821 * posix/regexec.c (check_node_accept_bytes): Likewise.
2822 * string/strcoll_l.c (STRCOLL): Likewise.
2823 * string/strxfrm_l.c (STRXFRM): Likewise.
2824
9d65ea3a
UD
28252011-11-17 Ulrich Drepper <drepper@gmail.com>
2826
2827 * Makefile.in: Remove CVSOPT handling.
2828 * configure.in: Remove use of AC_REVISION.
2829 * iconvdata/Makefile (distribute): No need to filter out CVS.
2830 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2831 handling.
2832
5583a086
AS
28332011-11-16 Andreas Schwab <schwab@redhat.com>
2834
2835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2836 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2837 [USE_AS_STRNCASECMP_L]: Likewise.
2838 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2839 NO_TLS_DIRECT_SEG_REFS.
2840 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2841 Fix argument offsets for non-PIC.
2842 [USE_AS_STRNCASECMP_L]: Likewise.
2843 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2844 NO_TLS_DIRECT_SEG_REFS.
2845
d62a8200
UD
28462011-11-15 Ulrich Drepper <drepper@gmail.com>
2847
9d65ea3a 2848 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
2849 O_CLOEXEC.
2850 * locale/loadlocale.c (_nl_load_locale): Likewise.
2851
09f93bd3
AS
28522011-11-15 Andreas Schwab <schwab@redhat.com>
2853
446514f9
AS
2854 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2855 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2856 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2857 (SYSCALL_GETTIME): Set errno on error.
2858
09f93bd3
AS
2859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2860 count references to noai6ai_cached.
2861
312be3f9
UD
28622011-11-15 Ulrich Drepper <drepper@gmail.com>
2863
2864 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2865
2866 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2867 FD_CLOEXEC for /proc/self/maps.
2868
2869 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2870 FD_CLOEXEC for /proc/meminfo.
2871
2872 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2873 gai.conf.
2874
2875 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2876 FD_CLOEXEC for given file.
2877
2878 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2879
2880 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2881 FD_CLOEXEC for /etc/hosts.
2882 (_gethtent): Likewise.
2883
2884 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2885
2886 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2887 cancellation and set FD_CLOEXEC for /etc/netgroup.
2888
2889 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2890 reading /etc/publickey.
2891
2892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2893 allow cancellation when reading /etc/group.
2894
2895 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2896 cancellation.
2897 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2898
2899 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2900 when using data file.
2901
2902 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2903
2904 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2905 (write_nis_obj): Use "c" and "e" in fopen.
2906
2907 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2908
2909 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2910
2911 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2912
2913 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2914
2915 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2916 locale.alias.
2917
2918 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2919
2920 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2921
2922 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2923
2924 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2925 file parsing and set FD_CLOEXEC.
2926
82af0fa8
UD
29272011-11-14 Ulrich Drepper <drepper@gmail.com>
2928
2929 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2930
a5fb313c
AS
29312011-11-14 Andreas Schwab <schwab@redhat.com>
2932
2933 * malloc/arena.c (arena_get2): Don't call reused_arena when
2934 _int_new_arena failed.
2935
6abf3465
UD
29362011-11-14 Ulrich Drepper <drepper@gmail.com>
2937
2938 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2939 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2941 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2942 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2944 to compile strcasecmp and strncasecmp.
2945 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2946 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2947
2948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2949
76e3966e
UD
29502011-11-13 Ulrich Drepper <drepper@gmail.com>
2951
2952 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2953 locale-defines.sym to gen-as-const-headers.
2954 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2955 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2957 to compile strcasecmp and strncasecmp.
2958 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2959 strcasecmp_l and strncasecmp_l.
2960 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2961 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2962 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2963 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2964 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2965 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2966 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2967 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2968 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2969 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2970 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2971
ab26144e
UD
29722011-11-12 Ulrich Drepper <drepper@gmail.com>
2973
7edb22ef
UD
2974 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2975 result of SYSDEP_GETTIME_CPU to retval.
2976 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2977 parameter list to macro. Remove trailing semicolon. Adjust users.
2978
9694fc44
UD
2979 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2980 variable.
2981
8ad89ef8
UD
2982 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2983 mantissa words.
2984 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2985
0c822ef9
UD
2986 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2987 from unused variable.
2988
874e0564
UD
2989 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2990 DWARF definitions.
2991 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2992 for assembling.
2993
3a2edc79
UD
2994 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2995 over namespaces.
2996
f3c2577f
UD
2997 * sunrpc/rpc_prot.c (rejected): Fix case value.
2998
294ce126
UD
2999 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3000 unsigned long long int to avoid warnings in shift.
3001
5e2b63c6
UD
3002 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3003 of use of trans.
3004 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3005 variable tmp.
3006
e7f4b08e
UD
3007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3008 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3009 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3010
ab26144e
UD
3011 * nis/nis_table.c (nis_list): Use variable of correct type for
3012 result of __follow_path call.
3013
8a6d5255
AZ
30142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3015
3016 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3017 of math functions ceil, trunc, floor, round, and sqrt, when
3018 avaliable on the platform.
3019 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3020 name clash.
3021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3022 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3023 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3024
aaddc98c
MP
30252011-10-30 Marek Polacek <mpolacek@redhat.com>
3026
3027 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3029
95b7042b
RM
30302011-11-11 Roland McGrath <roland@hack.frob.com>
3031
3032 * include/unistd.h: Fix __readlink return type.
3033 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3034
57769839
UD
30352011-11-11 Ulrich Drepper <drepper@gmail.com>
3036
3037 * stdlib/ucontext.h: Undo last change for makecontext.
3038
edc5984d
AS
30392011-11-11 Andreas Schwab <schwab@redhat.com>
3040
98591e58
AS
3041 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3042
edc5984d
AS
3043 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3044 * setjmp/setjmp.h: Mark functions as non-leaf.
3045 * setjmp/bits/setjmp2.h: Likewise.
3046 * stdlib/ucontext.h: Likewise.
3047
77cdc054
AS
30482011-11-10 Andreas Schwab <schwab@redhat.com>
3049
3050 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3051 (reused_arena): Don't check arena limit.
3052 (arena_get2): Atomically check arena limit.
3053
fe72eebd
UD
30542011-11-08 Ulrich Drepper <drepper@gmail.com>
3055
5f078c32
UD
3056 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3057 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3058
fe72eebd
UD
3059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3060 instructions.
3061
ae1bc2fa
AS
30622011-11-07 Andreas Schwab <schwab@redhat.com>
3063
7583a88d
AS
3064 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3065 handler when locking.
3066
ae1bc2fa
AS
3067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3068 Fix size of allocated buffer.
3069
10fb0bfa
AS
30702011-11-04 Andreas Schwab <schwab@redhat.com>
3071
998832a4
AS
3072 [BZ #10103]
3073 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3074 declarations for long double functions.
3075 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3076
10fb0bfa
AS
3077 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3078
3d7ba52b
AS
30792011-11-03 Andreas Schwab <schwab@redhat.com>
3080
a9ae54a1
AS
3081 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3082 installed.
3083
3d7ba52b
AS
3084 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3085 is disabled.
3086
bc8db248
ST
30872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3088
3089 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3090
45b96dd6
AS
30912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3092
647776f6
AS
3093 * include/alloca.h (stackinfo_alloca_round): Define.
3094 (extend_alloca): Use it.
3095 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3096 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3097 here.
3098
d91a8b93
AS
3099 * scripts/check-local-headers.sh: Ignore libaudit.h.
3100
45b96dd6
AS
3101 * nscd/Makefile (extra-objs): Make recursively expanded.
3102
432d41ce
UD
31032011-11-01 Ulrich Drepper <drepper@gmail.com>
3104
34372fc6
UD
3105 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3107
fadb59f8
UD
3108 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3109 * posix/tst-rfc3484-2.c: Likewise.
3110 * posix/tst-rfc3484-3.c: Likewise.
3111
78239589
UD
3112 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3113 process_vm_writev.
3114 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3115 process_vm_writev.
3116 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3117 process_vm_writev from libc using GLIBC_2.15 version.
3118
432d41ce
UD
3119 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3120
02f9c6cf
PP
31212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3122
3123 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3124 stack usage.
3125
3a2c0242
UD
31262011-10-31 Ulrich Drepper <drepper@gmail.com>
3127
f4ec4833
UD
3128 [BZ #13367]
3129 * nss/getent.c (initgroups_keys): Show error message in case no group
3130 names are given.
3131
3a2c0242
UD
3132 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3133 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3134 __bump_nl_timestamp.
3135 * nscd/connections (nscd_init): When host database is served open
3136 netlink socket and request notification about configuration changes.
3137 (main_loop_poll): Track netlink file descriptor and bump timestamp
3138 in case data becomes available.
3139 (main_loop_epoll): Likewise.
3140 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3141 (database_pers_head): Add extra_data fileds.
3142 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3143 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3144 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3145 Adjust caller.
3146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3147 in6ai data, call __free_in6ai.
3148 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3149 Add -DHAVE_NETLINK.
3150 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3151 interface information. Reuse previous data if netlink timestamp
3152 is not changed.
3153 (__bump_nl_timestamp): New function.
3154 (__free_in6ai): New function.
3155
636064eb
UD
31562011-10-30 Ulrich Drepper <drepper@gmail.com>
3157
3158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3159 close_not_cancel_no_status here.
3160 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3161
9beb2334
UD
31622011-10-29 Ulrich Drepper <drepper@gmail.com>
3163
6ef76f3b
UD
3164 [BZ #13276]
3165 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3166 return value.
3167
0ffc4f3e 3168 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3169 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3170 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3171
cb95113e
UD
31722011-07-03 Andreas Jaeger <aj@suse.de>
3173
3174 [BZ #10709]
3175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3176 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3177 * math/libm-test.inc (sin_test): Add test case.
3178
a1b560ff
UD
31792011-10-29 Ulrich Drepper <drepper@gmail.com>
3180
c9aaface
UD
3181 [BZ #13337]
3182 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3184
d272e7f1
UD
3185 * elf/chroot_canon.c (chroot_canon): Cleanups.
3186
1bc33071
UD
3187 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3188
1760874d
TJ
3189 [BZ #13335]
3190 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3191 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3192
51d91b18
UD
3193 * string/test-strchr.c: Make usable for strchrnul testing.
3194 * string/test-strchrnul.c: New file.
3195 * string/Makefile (strop-tests): Add strchrnul.
3196
a1b560ff 3197 * po/it.po: Update from translation team.
b611fb81 3198 * po/es.po: Likewise.
a1b560ff 3199
a5b81e1f
UD
32002011-10-28 Ulrich Drepper <drepper@gmail.com>
3201
fd52bc6d
UD
3202 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3203 the three constants needed as parameters. Drop the others.
3204 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3205 __m128i_strloadu_tolower.
52e4b9eb
UD
3206 Create and initialize variable zero and use it in all the places
3207 where _mm_setzero_si128 was used.
fd52bc6d 3208
a5b81e1f
UD
3209 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3210 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3211 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3213 anymore.
3214 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3216 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3217 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3218 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3219 __mpranred, __mptan.
3220 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3221 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3222 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3223 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3224 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3225 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3226 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3227 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3228 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3229
b4343346
AS
32302011-10-28 Andreas Schwab <schwab@redhat.com>
3231
0c92d8a8
AS
3232 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3233 redefine if SHARED.
3234 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3235
b4343346
AS
3236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3237 wide char related routines to wcsmbs subdir.
3238
3871f58f
AS
32392011-10-27 Andreas Schwab <schwab@redhat.com>
3240
3241 [BZ #13344]
3242 * misc/sys/cdefs.h (__THROWNL): Define.
3243 * posix/unistd.h: Use __THREADNL instead of __THREAD
3244 for memory synchronization functions.
3245
94d44d9f
RM
32462011-10-26 Roland McGrath <roland@hack.frob.com>
3247
21b64b15 3248 [BZ #13349]
94d44d9f
RM
3249 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3250 doesn't exist.
3251 * manual/stdio.texi (Obstack Streams): Node removed.
3252
f6ce9294
AS
32532011-10-26 Andreas Schwab <schwab@redhat.com>
3254
80479147
AS
3255 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3256 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3257 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3258
f6ce9294
AS
3259 * math/math_private.h (math_force_eval): Allow non-addressable
3260 arguments.
3261 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3262
618280a1
UD
32632011-10-25 Ulrich Drepper <drepper@gmail.com>
3264
e0016b11
UD
3265 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3266 file is not needed.
3267
3268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3270 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3271 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3274 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3275 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3276 Add AVX variants.
3277 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3278 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3279 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3280 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3281 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3282 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3283 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3285 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3286 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3287 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3288 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3290 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3291 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3292 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3293 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3294 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3295 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3296
3297 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3298 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3299
618280a1
UD
3300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3301 place. Use VEX encoding when compiling for AVX.
3302
37822576
AS
33032011-10-25 Andreas Schwab <schwab@redhat.com>
3304
1f1e1947
AS
3305 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3306 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3307
37822576
AS
3308 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3309
31ea014d
UD
33102011-10-25 Ulrich Drepper <drepper@gmail.com>
3311
d7826aa1 3312 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3313 useless if() expression.
d7826aa1
UD
3314 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3315 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3318 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3321 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3322 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3324 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3325 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3326 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3327 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3328 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3329 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3330 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3331 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3333
31ea014d
UD
3334 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3335
16437fec
AS
33362011-10-25 Andreas Schwab <schwab@redhat.com>
3337
3338 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3339 condition.
3340 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3341
31d3cc00
UD
33422011-10-25 Ulrich Drepper <drepper@gmail.com>
3343
3344 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3345 .text section. Avoid duplicate constants.
3346 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3354 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3355 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3356 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3357 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3358 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3359 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3360 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3361 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3362 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3363 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3364 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3366 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3367 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3368 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3369 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3370 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3371 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3372 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3373 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3375 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3376 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3379 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3380 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3381 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3382 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3384 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3385 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3386 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3387 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3388 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3389 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3390 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3391
58985aa9
UD
33922011-10-24 Ulrich Drepper <drepper@gmail.com>
3393
202c9deb
UD
3394 * sysdeps/x86_64/dla.h: Move to ...
3395 * sysdeps/x86_64/fpu/dla.h: ...here.
3396 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3397 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3398
af968f62
UD
3399 * config.make.in: Add have-mfma4 entry.
3400 * configure.in: Substitute libc_cv_cc_fma4.
3401 * math/Makefile (dbl-only-routines): Add sincostab.
3402 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3403 Use __sincostab not sincos.
3404 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3405 name is a macro.
3406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3410 using __copysign.
3411 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3412 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3413 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3414 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3415 and __inv.
3416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3417 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3418 __copysign.
3419 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3420 define aliases when function name is a macro.
3421 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3422 sysdeps/ieee754/dbl-64/sincos.tbl.
3423 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3424 fma4-enabled routines.
3425 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3426 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3427 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3428 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3429 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3430 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3432 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3434 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3435 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3436 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3437 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3438 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3443 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3445 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3448 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3452 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3454 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3455
58985aa9
UD
3456 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3457 rename.
3458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3466
a201fbcf
AS
34672011-10-24 Andreas Schwab <schwab@redhat.com>
3468
3469 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3470
fc2ee42a
LD
34712011-10-23 Ulrich Drepper <drepper@gmail.com>
3472
bb3129bd
UD
3473 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3474
0275fff8
UD
3475 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3476 prediction.
3477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3478
2fa2ae85
UD
3479 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3480 Remove unused variable magic_bits.
3481 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3482
fc2ee42a
LD
3483 * string/strnlen.c: Define and use STRNLEN macro.
3484 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3485 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3487 * wcsmbs/wcslen.c: Define and use WCSLEN.
3488 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3489 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3490 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3491 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3492 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3493 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3494 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3495
ce7dd29f
LD
34962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3497
3498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3499 strnlen-sse2-no-bsf.
3500 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3502 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3503 Add strnlen support.
3504 (USE_AS_STRNLEN): New macro.
3505 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3507 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3508 * sysdeps/x86_64/wcslen.S: New file.
3509
979c70a3
MZ
35102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3511
3512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3513 XMM-moves are used for copying on small sizes.
3514
2d09f82f
LD
35152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3516
3517 * wcsmbs/Makefile (strop-tests): Add wcschr.
3518 * wcsmbs/test-wcschr.c: New file.
3519 * string/test-strchr.c: Update.
3520 Add wcschr support.
3521 (WIDE): New macro.
3522
619fccca
LD
35232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3524
2d09f82f 3525 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
3526 * wcsmbs/test-wcslen.c: New file.
3527 * string/test-strlen.c: Update.
3528 Add wcslen support.
3529 (WIDE): New macro.
3530
09f699ea
UD
35312011-10-23 Ulrich Drepper <drepper@gmail.com>
3532
3533 * po/it.po: Update from translation team.
3534
95584d3b
LD
35352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3536
3537 * sysdeps/x86_64/wcscmp.S: Update.
3538 Fix wrong comparison semantics.
3539 wcscmp shall use signed comparison not unsigned.
3540 Don't use substraction to avoid overflow bug.
3541 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3542 * wcsmbc/wcscmp.c: Likewise.
3543 * string/test-strcmp.c: Likewise.
3544 Add new tests to check cases with negative values.
3545
c8b3296b
UD
35462011-10-23 Ulrich Drepper <drepper@gmail.com>
3547
3548 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3549 * sysdeps/x86_64/dla.h: ...here. New file.
3550 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3559
246ad57a
AS
35602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3561
3562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3563 __ynl_finite aliases.
3564
a1a87169
UD
35652011-10-22 Ulrich Drepper <drepper@gmail.com>
3566
0d355eb7
UD
3567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3568
a1a87169
UD
3569 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3570 define DLA_FMA.
3571 [DLA_FMA] (EMULV): Use DLA_FMA.
3572 [DLA_FMA] (MUL12): Use EMULV.
3573 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3574 that are not needed.
3575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3582
ee2aafe0
AS
35832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3584
3585 * math/s_nan.c: Undef __nan.
3586 * math/s_nanf.c: Undef __nanf.
3587 * math/s_nanl.c: Undef __nanl.
3588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3589 "math_private.h".
3590
bc62c2fb
UD
35912011-10-22 Ulrich Drepper <drepper@gmail.com>
3592
77425c63
UD
3593 * math/s_catan.c: Add branch predictions.
3594 * math/s_catanf.c: Likewise.
3595 * math/s_catanh.c: Likewise.
3596 * math/s_catanhf.c: Likewise.
3597 * math/s_catanhl.c: Likewise.
3598 * math/s_catanl.c: Likewise.
3599 * math/s_cexp.c: Likewise.
3600 * math/s_cexpf.c: Likewise.
3601 * math/s_cexpl.c: Likewise.
3602 * math/s_clog.c: Likewise.
3603 * math/s_clog10.c: Likewise.
3604 * math/s_clog10f.c: Likewise.
3605 * math/s_clog10l.c: Likewise.
3606 * math/s_clogf.c: Likewise.
3607 * math/s_clogl.c: Likewise.
3608 * math/s_csqrt.c: Likewise.
3609 * math/s_csqrtf.c: Likewise.
3610 * math/s_csqrtl.c: Likewise.
3611 * math/s_ctanf.c: Likewise.
3612 * math/s_ctanh.c: Likewise.
3613 * math/s_ctanhf.c: Likewise.
3614 * math/s_ctanhl.c: Likewise.
3615 * math/s_ctanl.c: Likewise.
3616
bc62c2fb
UD
3617 * math/math_private.h: Define __nan, __nanf, __nanl.
3618 * math/s_cacosh.c: Include <math_private.h>.
3619 * math/s_cacoshl.c: Likewise.
3620 * math/s_casinh.c: Likewise.
3621 * math/s_casinhf.c: Likewise.
3622 * math/s_casinhl.c: Likewise.
3623 * math/s_ccos.c: Rely entire on ccosh.
3624 * math/s_ccosf.c: Rely entire on ccoshf.
3625 * math/s_ccosl.c: Rely entirely on ccoshl.
3626 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3627 Remove tests for FE_INVALID.
3628 * math/s_ccoshf.c: Likewise.
3629 * math/s_ccoshl.c: Likewise.
3630 * math/s_csin.c: Likewise.
3631 * math/s_csinf.c: Likewise.
3632 * math/s_csinh.c Likewise.
3633 * math/s_csinhf.c: Likewise.
3634 * math/s_csinhl.c: Likewise.
3635 * math/s_csinl.c: Likewise.
3636 * math/s_ctan.c: Likewise.
3637 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3638 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3640
8ec250a4
UD
36412011-10-21 Ulrich Drepper <drepper@gmail.com>
3642
c196fed8
UD
3643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3644 compilation problems.
3645
8ec250a4
UD
3646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3647 __builtin_expect.
3648
8d4f46c6
UD
36492011-10-20 Ulrich Drepper <drepper@gmail.com>
3650
ed72b654
UD
3651 * sysdeps/i386/configure.in: Test for -mfma4 option.
3652 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3653 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3654 COMMON_CPUID_INDEX_80000001.
3655 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3656 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3657 use it if FMA3 is not supported.
3658 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3659
8d4f46c6
UD
3660 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3661 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3662
d45c60c2
AS
36632011-10-20 Andreas Schwab <schwab@redhat.com>
3664
3665 [BZ #12892]
3666 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3667 it would create a cycle with a link time dependency.
3668
d9a4d2ab
UD
36692011-10-19 Ulrich Drepper <drepper@gmail.com>
3670
855d1560
UD
3671 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3672 instruction.
3673 * string/Makefile (strop-tests): Add rawmemchr.
3674 * string/test-rawmemchr.c: New file.
3675
d9a4d2ab
UD
3676 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3678 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3679 when compiling str{,n}casecmp and when AVX is available. Hook up
3680 new optimized code in initializers.
3681
8f3b1ffe
AS
36822011-10-19 Andreas Schwab <schwab@redhat.com>
3683
3684 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3685 __feraiseexcept instead of feraiseexcept.
3686
d38f1dba
UD
36872011-10-18 Ulrich Drepper <drepper@gmail.com>
3688
d9a8d0ab
UD
3689 * math/math_private.h: Define defaults for libc_fetestexcept and
3690 libc_feupdateenv.
3691 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3692 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3693 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3694 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3695 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3696 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3697 libc_fetestexcept and libc_feupdateenv.
3698
4855e3dd
UD
3699 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3700 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3701 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3702 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3703 libc_feholdexcept_setround.
3704
581d30e3
UD
3705 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3706 Add s_nearbyint-c and s_nearbyintf-c.
3707 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3708 nearbyintf inlines.
3709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3710 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3711 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3713
d38f1dba
UD
3714 * math/math_private.h: Define defaults for libc_fegetround,
3715 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3716 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3717 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3719 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3720 standard functions.
3721 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3722 Remove comments and hacks for old compiler versions.
3723 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3724 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3725 libc_feholdexceptl.
3726
caa6c9d8
AS
37272011-10-18 Andreas Schwab <schwab@redhat.com>
3728
3729 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
3730 (__feraiseexcept_renamed): Add __NTH.
3731 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
3732 namespace violations.
3733
97c066e6
UD
37342011-10-17 Ulrich Drepper <drepper@gmail.com>
3735
99ce7b04
UD
3736 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3737
1004d182
UD
3738 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3739
228a984d
UD
3740 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3741 recently added interfaces.
3742 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3743
c8553a6a
UD
3744 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3745 about macro parameter expansion.
3746
ed22dcf6
UD
3747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3748 __NO_MATH_INLINES is defined. Cleanups.
3749
3750 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3751 and __floorf is target has SSE4.1.
3752 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3754 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3755 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3756
b171c137
UD
3757 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3758 name.
3759 (floorf): Likewise.
3760
97c066e6
UD
3761 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3762
629f62ef
AS
37632011-10-17 Andreas Schwab <schwab@redhat.com>
3764
49a43d80
AS
3765 * misc/sys/cdefs.h: Fix last change.
3766
629f62ef
AS
3767 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3768 database lookup.
3769
e453f6cd
UD
37702011-10-16 Ulrich Drepper <drepper@gmail.com>
3771
aa78043a
UD
3772 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3773
ad0f5cad
UD
3774 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3782 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3783 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3784 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3785 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3786 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3787 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3788 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3789 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3790 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3791 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3792 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3793 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3794 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3795 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3796
3797 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3798 ceil, ceilf, floor, floorf.
3799
3800 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3801 Perform IRELATIVE relocations last.
3802
e453f6cd
UD
3803 * elf/do-rel.h: Add another parameter nrelative, replacing the
3804 local variable with the same name. Change name of the function
3805 to end in Rel or Rela (uppercase).
3806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3807 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3808 elf_dynamic_do_##reloc function.
3809
fd5bdc09
UD
38102011-10-15 Ulrich Drepper <drepper@gmail.com>
3811
79b195b5
UD
3812 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3813 is sufficient, at least on modern CPUs.
3814
d4a28569
UD
3815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3816
b61099b5
UD
3817 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3818 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3819
bcf01e6d
UD
3820 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3821 __expl_finite.
3822 * math/bits/math-finite.h: Add entries for exp.
3823 * math/e_expl.c: Add __*_finite alias.
3824 * sysdeps/i386/fpu/e_exp.S: Likewise.
3825 * sysdeps/i386/fpu/e_expf.S: Likewise.
3826 * sysdeps/i386/fpu/e_expl.c: Likewise.
3827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3828 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3829 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3831 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3832 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3833 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3834
ba1a0d59
UD
3835 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3836 is sufficient, at least on modern CPUs.
3837
fd5bdc09
UD
3838 * ctype/ctype-info.c (__ctype_init): Define.
3839 * include/ctype.h (__ctype_init): Declare.
3840 (__ctype_b_loc): The variable is always initialized.
3841 (__ctype_toupper_loc): Likewise.
3842 (__ctype_tolower_loc): Likewise.
3843 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3844 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3845
7872cfb0
AS
38462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3847
b468825a
AS
3848 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3849
7872cfb0
AS
3850 * configure.in: Also look in $cxxmachine/include for C++ system
3851 headers.
3852
be13f7bf
LD
38532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3854
3855 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3856 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3857 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3858 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3859 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3860 (USE_AS_WMEMCMP): New macro.
3861 Fixing indents.
3862 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3863 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3864 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3865 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3867 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3868 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3869 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3870 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3871 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3872 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3873 (USE_AS_WMEMCMP): New macro.
3874 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3875 * sysdeps/string/test-memcmp.c: Update.
3876 Fix simple_wmemcmp.
3877 Add new tests.
3878 * wcsmbs/wmemcmp.c: Update.
3879 (WMEMCMP): New macro.
3880 Fix overflow bug.
3881
556a2007
AJ
38822011-10-12 Andreas Jaeger <aj@suse.de>
3883
3884 [BZ #13268]
3885 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3886
538faaa7
UD
38872011-10-15 Ulrich Drepper <drepper@gmail.com>
3888
ab6737ff
UD
3889 * libio/iofwide.c (do_length): Avoid warning.
3890
538faaa7
UD
3891 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3892
396a21b1
UD
38932011-10-14 Ulrich Drepper <drepper@gmail.com>
3894
cdf2901f
UD
3895 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3896
38ad40ce
UD
3897 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3898 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3899 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3900 * sysdeps/i386/i686/fpu/e_log.S: New file.
3901 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3902 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3903
396a21b1
UD
3904 * ctype/ctype.h: Add support for inlined isXXX functions when
3905 compiling C++ code.
3906
6b1f68c9
AS
39072011-10-14 Andreas Schwab <schwab@redhat.com>
3908
349290c0
AS
3909 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3910
6b1f68c9
AS
3911 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3912
f2282d42
RM
39132011-10-13 Roland McGrath <roland@hack.frob.com>
3914
3915 [BZ #13291]
3916 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3917
5298ffa8
AS
39182011-10-13 Andreas Schwab <schwab@redhat.com>
3919
714fad23
AS
3920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3921 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3922 feraiseexcept.
3923
81dcc7fb
AS
3924 * sysdeps/x86_64/memrchr.S: Check for zero size.
3925
5298ffa8
AS
3926 * string/stratcliff.c: Add memrchr tests.
3927
951fbcec
LD
39282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3929
3930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3931 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3932 rawmemchr-sse2 rawmemchr-sse2-bsf.
3933 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3934 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3935 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3936 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3937 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3938 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3939 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3940 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3941 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3942 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3943 * string/memrchr.c (MEMRCHR): New macro.
3944
0ac5ae23
UD
39452011-10-12 Ulrich Drepper <drepper@gmail.com>
3946
3947 Add integration with gcc's -ffinite-math-only and optimize wrapper
3948 functions in libm.
3949 * Versions.def: Define GLIBC_2.15 version for libm.
3950 * math/Makefile (headers): Add bits/math-finite.h.
3951 * math/bits/math-finite.h: New file.
3952 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3953 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3954 * math/e_acoshl.c: Add __*_finite alias.
3955 * math/e_acosl.c: Likewise.
3956 * math/e_asinl.c: Likewise.
3957 * math/e_atan2l.c: Likewise.
3958 * math/e_atanhl.c: Likewise.
3959 * math/e_coshl.c: Likewise.
3960 * math/e_exp10.c: Likewise.
3961 * math/e_exp10f.c: Likewise.
3962 * math/e_exp10l.c: Likewise.
3963 * math/e_exp2l.c: Likewise.
3964 * math/e_fmodl.c: Likewise.
3965 * math/e_gammal_r.c: Likewise.
3966 * math/e_hypotl.c: Likewise.
3967 * math/e_j0l.c: Likewise.
3968 * math/e_j1l.c: Likewise.
3969 * math/e_jnl.c: Likewise.
3970 * math/e_lgammal_r.c: Likewise.
3971 * math/e_log10l.c: Likewise.
3972 * math/e_log2l.c: Likewise.
3973 * math/e_logl.c: Likewise.
3974 * math/e_powl.c: Likewise.
3975 * math/e_sinhl.c: Likewise.
3976 * math/e_sqrtl.c: Likewise.
3977 * math/e_scalb.c: Completely rewritten and optimized.
3978 * math/e_scalbf.c: Likewise.
3979 * math/e_scalbl.c: Likewise.
3980 * math/w_acos.c: Likewise.
3981 * math/w_acosf.c: Likewise.
3982 * math/w_acosl.c: Likewise.
3983 * math/w_acosh.c: Likewise.
3984 * math/w_acoshf.c: Likewise.
3985 * math/w_acoshl.c: Likewise.
3986 * math/w_asin.c: Likewise.
3987 * math/w_asinf.c: Likewise.
3988 * math/w_asinl.c: Likewise.
3989 * math/w_atan2.c: Likewise.
3990 * math/w_atan2f.c: Likewise.
3991 * math/w_atan2l.c: Likewise.
3992 * math/w_atanh.c: Likewise.
3993 * math/w_atanhf.c: Likewise.
3994 * math/w_atanhl.c: Likewise.
3995 * math/w_exp10.c: Likewise.
3996 * math/w_exp10f.c: Likewise.
3997 * math/w_exp10l.c: Likewise.
3998 * math/w_fmod.c: Likewise.
3999 * math/w_fmodf.c: Likewise.
4000 * math/w_fmodl.c: Likewise.
4001 * math/w_j0.c: Likewise.
4002 * math/w_j0f.c: Likewise.
4003 * math/w_j0l.c: Likewise.
4004 * math/w_j1.c: Likewise.
4005 * math/w_j1f.c: Likewise.
4006 * math/w_j1l.c: Likewise.
4007 * math/w_jn.c: Likewise.
4008 * math/w_jnf.c: Likewise.
4009 * math/w_log.c: Likewise.
4010 * math/w_logf.c: Likewise.
4011 * math/w_logl.c: Likewise.
4012 * math/w_log10.c: Likewise.
4013 * math/w_log10f.c: Likewise.
4014 * math/w_log10l.c: Likewise.
4015 * math/w_log2.c: Likewise.
4016 * math/w_log2f.c: Likewise.
4017 * math/w_log2l.c: Likewise.
4018 * math/w_pow.c: Likewise.
4019 * math/w_powf.c: Likewise.
4020 * math/w_powl.c: Likewise.
4021 * math/w_remainder.c: Likewise.
4022 * math/w_remainderf.c: Likewise.
4023 * math/w_remainderl.c: Likewise.
4024 * math/w_scalb.c: Likewise.
4025 * math/w_scalbf.c: Likewise.
4026 * math/w_scalbl.c: Likewise.
4027 * math/w_sqrt.c: Likewise.
4028 * math/w_sqrtf.c: Likewise.
4029 * math/w_sqrtl.c: Likewise.
4030 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4031 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4032 used.
4033 * math/math_private.h: Declare __kernel_standard_f.
4034 * math/w_cosh.c: Remove cruft and optimize a bit.
4035 * math/w_coshf.c: Likewise.
4036 * math/w_coshl.c: Likewise.
4037 * math/w_exp2.c: Likewise.
4038 * math/w_exp2f.c: Likewise.
4039 * math/w_exp2l.c: Likewise.
4040 * math/w_hypot.c: Likewise.
4041 * math/w_hypotf.c: Likewise.
4042 * math/w_hypotl.c: Likewise.
4043 * math/w_lgamma.c: Likewise.
4044 * math/w_lgamma_r.c: Likewise.
4045 * math/w_lgammaf.c: Likewise.
4046 * math/w_lgammaf_r.c: Likewise.
4047 * math/w_lgammal.c: Likewise.
4048 * math/w_lgammal_r.c: Likewise.
4049 * math/w_sinh.c: Likewise.
4050 * math/w_sinhf.c: Likewise.
4051 * math/w_sinhl.c: Likewise.
4052 * math/w_tgamma.c: Likewise.
4053 * math/w_tgammaf.c: Likewise.
4054 * math/w_tgammal.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4056 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4057 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4058 Minor optimizations. Pretty printing. Remove cruft.
4059 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4060 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4061 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4062 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4063 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4064 * sysdeps/i386/fpu/e_asin.S: Likewise.
4065 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4066 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4067 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4068 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4069 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4070 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4071 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4072 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4073 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4074 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4075 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4076 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4077 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4078 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4079 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4080 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4081 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4082 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4083 * sysdeps/i386/fpu/e_log.S: Likewise.
4084 * sysdeps/i386/fpu/e_log10.S: Likewise.
4085 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4086 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4087 * sysdeps/i386/fpu/e_log2.S: Likewise.
4088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4089 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4090 * sysdeps/i386/fpu/e_logf.S: Likewise.
4091 * sysdeps/i386/fpu/e_logl.S: Likewise.
4092 * sysdeps/i386/fpu/e_pow.S: Likewise.
4093 * sysdeps/i386/fpu/e_powf.S: Likewise.
4094 * sysdeps/i386/fpu/e_powl.S: Likewise.
4095 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4096 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4097 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4098 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4099 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4100 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4101 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4102 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4103 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4109 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4121 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4125 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4126 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4127 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4128 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4129 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4130 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4131 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4132 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4133 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4138 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4139 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4140 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4141 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4142 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4143 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4144 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4145 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4146 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4149 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4150 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4154 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4157 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4159 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4160 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4161 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4181 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4184 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4189 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4192 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4194 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4195 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4196 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4197 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4198 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4199 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4200 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4201 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4202 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4203 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4204 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4205 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4206 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4207 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4210 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4211 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4212 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4214 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4215 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4216 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4217 (__isnanf): Likewise.
4218 (__isinf_ns): Likewise.
4219 (__isinf_nsf): Likewise.
4220 (__finite): Likewise.
4221 (__finitef): Likewise.
4222 (__ieee754_sqrt): Define as macro.
4223 (__ieee754_sqrtf): Define as macro.
4224 (__ieee754_sqrtl): Define as macro.
4225 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4226 inlined copy.
4227 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4228 __FINITE_MATH_ONLY__ consistent.
4229 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4230
12cc2fcd
AS
42312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4232
a843a204
AS
4233 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4234 of rawmemchr.
4235
12cc2fcd
AS
4236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4237
c853acd5
UD
42382011-10-09 Ulrich Drepper <drepper@gmail.com>
4239
4240 * po/ja.po: Update from translation team.
4241
c658d255
RM
42422011-10-08 Roland McGrath <roland@hack.frob.com>
4243
110946e4
RM
4244 * locale/programs/locarchive.c (prepare_address_space): New function.
4245 (create_archive, enlarge_archive, open_archive): Use it.
4246
50604220
RM
4247 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4248 inside [SHARED], where it is used.
4249
c658d255
RM
4250 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4251
4252 * nss/getent.c (netgroup_keys): Remove unused variable.
4253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4254
6a621eb7
UD
42552011-10-08 Ulrich Drepper <drepper@gmail.com>
4256
7edb55ce
UD
4257 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4258 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4261 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4263 * math/Makefile (libm-calls): Add s_isinf_ns.
4264 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4265 * math/multc3.c: Likewise.
4266 * math/s_casin.c: Likewise.
4267 * math/s_casinf.c: Likewise.
4268 * math/s_casinl.c: Likewise.
4269 * math/s_ccos.c: Likewise.
4270 * math/s_ccosf.c: Likewise.
4271 * math/s_ccosl.c: Likewise.
4272 * math/s_ctan.c: Likewise.
4273 * math/s_ctanf.c: Likewise.
4274 * math/s_ctanh.c: Likewise.
4275 * math/s_ctanhf.c: Likewise.
4276 * math/s_ctanhl.c: Likewise.
4277 * math/s_ctanl.c: Likewise.
4278 * math/w_fmod.c: Likewise.
4279 * math/w_fmodf.c: Likewise.
4280 * math/w_fmodl.c: Likewise.
4281 * math/w_remainder.c: Likewise.
4282 * math/w_remainderf.c: Likewise.
4283 * math/w_remainderl.c: Likewise.
4284 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4285 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4286 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4288 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4289 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4290 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4291 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4292
187da0ae
UD
4293 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4294 of the number.
4295 * stdio-common/printf_fphex.c: Likewise.
4296 * stdio-common/printf_size.c: Likewise.
4297
9277c064
UD
4298 * math/e_exp10.c: Include math_private.h using <...> not "...".
4299 * math/e_exp10f.c: Likewise.
4300 * math/e_exp10l.c: Likewise.
4301 * math/e_exp2l.c: Likewise.
4302 * math/e_j0l.c: Likewise.
4303 * math/e_j1l.c: Likewise.
4304 * math/e_jnl.c: Likewise.
4305 * math/e_lgammal_r.c: Likewise.
4306 * math/e_rem_pio2l.c: Likewise.
4307 * math/e_scalb.c: Likewise.
4308 * math/e_scalbf.c: Likewise.
4309 * math/e_scalbl.c: Likewise.
4310 * math/k_cosl.c: Likewise.
4311 * math/k_sinl.c: Likewise.
4312 * math/k_tanl.c: Likewise.
4313 * math/s_cacoshf.c: Likewise.
4314 * math/s_catan.c: Likewise.
4315 * math/s_catanf.c: Likewise.
4316 * math/s_catanh.c: Likewise.
4317 * math/s_catanhf.c: Likewise.
4318 * math/s_catanhl.c: Likewise.
4319 * math/s_catanl.c: Likewise.
4320 * math/s_ccosh.c: Likewise.
4321 * math/s_ccoshf.c: Likewise.
4322 * math/s_ccoshl.c: Likewise.
4323 * math/s_cexp.c: Likewise.
4324 * math/s_cexpf.c: Likewise.
4325 * math/s_cexpl.c: Likewise.
4326 * math/s_clog.c: Likewise.
4327 * math/s_clog10.c: Likewise.
4328 * math/s_clog10f.c: Likewise.
4329 * math/s_clog10l.c: Likewise.
4330 * math/s_clogf.c: Likewise.
4331 * math/s_clogl.c: Likewise.
4332 * math/s_csin.c: Likewise.
4333 * math/s_csinf.c: Likewise.
4334 * math/s_csinh.c: Likewise.
4335 * math/s_csinhf.c: Likewise.
4336 * math/s_csinhl.c: Likewise.
4337 * math/s_csinl.c: Likewise.
4338 * math/s_csqrt.c: Likewise.
4339 * math/s_csqrtf.c: Likewise.
4340 * math/s_csqrtl.c: Likewise.
4341 * math/s_ctan.c: Likewise.
4342 * math/s_ctanf.c: Likewise.
4343 * math/s_ctanh.c: Likewise.
4344 * math/s_ctanhf.c: Likewise.
4345 * math/s_ctanhl.c: Likewise.
4346 * math/s_ctanl.c: Likewise.
4347 * math/s_ldexp.c: Likewise.
4348 * math/s_ldexpf.c: Likewise.
4349 * math/s_ldexpl.c: Likewise.
4350 * math/s_significand.c: Likewise.
4351 * math/s_significandf.c: Likewise.
4352 * math/s_significandl.c: Likewise.
4353 * math/w_acos.c: Likewise.
4354 * math/w_acosf.c: Likewise.
4355 * math/w_acosh.c: Likewise.
4356 * math/w_acoshf.c: Likewise.
4357 * math/w_acoshl.c: Likewise.
4358 * math/w_acosl.c: Likewise.
4359 * math/w_asin.c: Likewise.
4360 * math/w_asinf.c: Likewise.
4361 * math/w_asinl.c: Likewise.
4362 * math/w_atan2.c: Likewise.
4363 * math/w_atan2f.c: Likewise.
4364 * math/w_atan2l.c: Likewise.
4365 * math/w_atanh.c: Likewise.
4366 * math/w_atanhf.c: Likewise.
4367 * math/w_atanhl.c: Likewise.
4368 * math/w_cosh.c: Likewise.
4369 * math/w_coshf.c: Likewise.
4370 * math/w_coshl.c: Likewise.
4371 * math/w_dremf.c: Likewise.
4372 * math/w_exp10.c: Likewise.
4373 * math/w_exp10f.c: Likewise.
4374 * math/w_exp10l.c: Likewise.
4375 * math/w_exp2.c: Likewise.
4376 * math/w_exp2f.c: Likewise.
4377 * math/w_fmod.c: Likewise.
4378 * math/w_fmodf.c: Likewise.
4379 * math/w_fmodl.c: Likewise.
4380 * math/w_hypot.c: Likewise.
4381 * math/w_hypotf.c: Likewise.
4382 * math/w_hypotl.c: Likewise.
4383 * math/w_j0.c: Likewise.
4384 * math/w_j0f.c: Likewise.
4385 * math/w_j0l.c: Likewise.
4386 * math/w_j1.c: Likewise.
4387 * math/w_j1f.c: Likewise.
4388 * math/w_j1l.c: Likewise.
4389 * math/w_jn.c: Likewise.
4390 * math/w_jnf.c: Likewise.
4391 * math/w_jnl.c: Likewise.
4392 * math/w_lgamma.c: Likewise.
4393 * math/w_lgamma_r.c: Likewise.
4394 * math/w_lgammaf.c: Likewise.
4395 * math/w_lgammaf_r.c: Likewise.
4396 * math/w_lgammal.c: Likewise.
4397 * math/w_lgammal_r.c: Likewise.
4398 * math/w_log.c: Likewise.
4399 * math/w_log10.c: Likewise.
4400 * math/w_log10f.c: Likewise.
4401 * math/w_log10l.c: Likewise.
4402 * math/w_log2.c: Likewise.
4403 * math/w_log2f.c: Likewise.
4404 * math/w_log2l.c: Likewise.
4405 * math/w_logf.c: Likewise.
4406 * math/w_logl.c: Likewise.
4407 * math/w_pow.c: Likewise.
4408 * math/w_powf.c: Likewise.
4409 * math/w_powl.c: Likewise.
4410 * math/w_remainder.c: Likewise.
4411 * math/w_remainderf.c: Likewise.
4412 * math/w_remainderl.c: Likewise.
4413 * math/w_scalb.c: Likewise.
4414 * math/w_scalbf.c: Likewise.
4415 * math/w_scalbl.c: Likewise.
4416 * math/w_sinh.c: Likewise.
4417 * math/w_sinhf.c: Likewise.
4418 * math/w_sinhl.c: Likewise.
4419 * math/w_sqrt.c: Likewise.
4420 * math/w_sqrtf.c: Likewise.
4421 * math/w_sqrtl.c: Likewise.
4422 * math/w_tgamma.c: Likewise.
4423 * math/w_tgammaf.c: Likewise.
4424 * math/w_tgammal.c: Likewise.
4425
6a621eb7
UD
4426 * po/ja.po: Update from translation team.
4427
bf582445
AJ
44282011-09-29 Andreas Jaeger <aj@suse.de>
4429
f9efbf3a
AJ
4430 [BZ #13179]
4431 * sunrpc/netname.c (netname2host): Fix logic.
4432
bf582445
AJ
4433 [BZ #6779]
4434 [BZ #6783]
4435 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4436 correctly.
4437 * math/w_remainder.c (__remainder): Likewise.
4438 * math/w_remainderf.c (__remainderf): Likewise.
4439 * math/libm-test.inc (remainder_test): Add test cases.
4440
48693bea
AK
44412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4442
4443 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4444 sdiv_qrnnd.
4445
42622229
LD
44462011-10-07 Ulrich Drepper <drepper@gmail.com>
4447
4448 * string/test-memcmp.c: Avoid unncessary #defines.
4449 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4450
093ecf92
LD
44512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4452
4453 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4454 Use new sse2 version for core i3 - i7 as it's faster
4455 than sse42 version.
4456 (bit_Prefer_PMINUB_for_stringop): New.
4457 * sysdeps/x86_64/rawmemchr.S: Update.
4458 Replace with faster SSE2 version.
4459 * sysdeps/x86_64/memrchr.S: New file.
4460 * sysdeps/x86_64/memchr.S: Update.
4461 Replace with faster SSE2 version.
4462
fde56e5c
MP
44632011-09-12 Marek Polacek <mpolacek@redhat.com>
4464
4465 * elf/dl-load.c (lose): Add cast to avoid warning.
4466
21fd49a9
UD
44672011-10-07 Ulrich Drepper <drepper@gmail.com>
4468
5a06e643
UD
4469 * po/ca.po: Update from translation team.
4470
684ae515
UD
4471 * inet/getnetgrent_r.c: Hook up nscd.
4472 * nscd/Makefile (routines): Add nscd_netgroup.
4473 (nscd-modules): Add netgroupcache.
4474 (CFLAGS-netgroupcache.c): Define.
4475 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4476 (cache_search): Add const to second parameter.
4477 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4478 INNETGR.
4479 (dbs): Add netgrdb entry.
4480 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4481 (verify_persistent_db): Handle netgrdb.
4482 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4483 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4484 GETFDNETGR.
4485 (netgroup_response_header): Define.
4486 (innetgroup_response_header): Define.
4487 (datahead): Add netgroup_response_header and innetgroup_response_header
4488 elements.
4489 * nscd/nscd.conf: Add entries for netgroup cache.
4490 * nscd/nscd.h (dbtype): Add netgrdb.
4491 (_PATH_NSCD_NETGROUP_DB): Define.
4492 (netgroup_iov_disabled): Declare.
4493 (xmalloc, xcalloc, xrealloc): Move declarations here.
4494 (cache_search): Adjust prototype.
4495 Add netgroup-related prototypes.
4496 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4497 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4498 (__nscd_innetgr): Declare.
4499 * nscd/selinux.c (perms): Use access_vector_t as element type and
4500 add netgroup-related initializers.
4501 * nscd/netgroupcache.c: New file.
4502 * nscd/nscd_netgroup.c: New file.
4503 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4504 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4505 For four parameters use innetgr.
4506 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4507 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4508 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4509 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4510
21fd49a9
UD
4511 * nscd/connections.c (register_traced_file): Don't register file
4512 for disabled databases.
4513
054c0457
UD
45142011-10-06 Ulrich Drepper <drepper@gmail.com>
4515
32b63198
UD
4516 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4517
054c0457
UD
4518 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4519 from tree and freeing node.
4520
64031225
JO
45212011-09-25 Jiri Olsa <jolsa@redhat.com>
4522
4523 * nss/nsswitch.c (__nss_database_lookup): Handle
4524 nss_parse_service_list out of memory case.
4525
0490345c
JO
45262011-09-15 Jiri Olsa <jolsa@redhat.com>
4527
4528 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4529 out of memory case.
4530
3a62d00d
AS
45312011-10-04 Andreas Schwab <schwab@redhat.com>
4532
4533 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4534 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4535 pass it down.
4536 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4537 elf_machine_rela, elf_machine_lazy_rel.
4538 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4539 (ELF_DYNAMIC_DO_REL): Likewise.
4540 (ELF_DYNAMIC_DO_RELA): Likewise.
4541 (ELF_DYNAMIC_RELOCATE): Likewise.
4542 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4543 to ELF_DYNAMIC_DO_REL.
4544 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4545 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4546 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4547 elf_machine_rela.
4548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4549 skip_ifunc, don't call ifunc function if non-zero.
4550 (elf_machine_rela): Likewise.
4551 (elf_machine_lazy_rel): Likewise.
4552 (elf_machine_lazy_rela): Likewise.
4553 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4554 (elf_machine_lazy_rel): Likewise.
4555 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4556 Likewise.
4557 (elf_machine_lazy_rel): Likewise.
4558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4559 Likewise.
4560 (elf_machine_lazy_rel): Likewise.
4561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4562 (elf_machine_lazy_rel): Likewise.
4563 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4564 (elf_machine_lazy_rel): Likewise.
4565 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4566 (elf_machine_lazy_rel): Likewise.
4567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4568 (elf_machine_lazy_rel): Likewise.
4569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4570 (elf_machine_lazy_rel): Likewise.
4571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4572 (elf_machine_lazy_rel): Likewise.
4573
68577918
UD
45742011-09-28 Ulrich Drepper <drepper@gmail.com>
4575
4576 * nss/nss_files/files-init.c (_nss_files_init): Use static
4577 initialization for all the *_traced_file variables.
4578
68822d74
AS
45792011-09-28 Andreas Schwab <schwab@redhat.com>
4580
4581 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4582
2056100b
RM
45832011-09-27 Roland McGrath <roland@hack.frob.com>
4584
4585 [BZ #13226]
4586 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4587
32c76b63
AS
45882011-09-27 Andreas Schwab <schwab@redhat.com>
4589
4590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4591 Reread the line before reparsing it.
4592
bf972c9d
AS
45932011-09-26 Andreas Schwab <schwab@redhat.com>
4594
4595 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4596
e057a1b5
JM
45972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4598 Maxim Kuvyrkov <maxim@codesourcery.com>
4599 Joseph Myers <joseph@codesourcery.com>
4600
4601 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4602 if needed for __stack_chk_guard.
4603
bc7e1c36
RM
46042011-09-19 Roland McGrath <roland@hack.frob.com>
4605
ecb1482f
RM
4606 * sysdeps/posix/spawni.c (script_execute): Always define it.
4607 It will be optimized away if unused.
4608 (maybe_script_execute): New function.
4609 (__spawni): Call it.
4610
bc7e1c36
RM
4611 * Makerules: Don't include tls.make.
4612 (config-tls): Always set to thread.
4613 * tls.make.c: File removed.
4614
1c3b002b
MF
46152011-09-19 Mike Frysinger <vapier@gentoo.org>
4616
4617 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4618 * config.make.in (CPPFLAGS-config): New substituted variable.
4619
2840865d
UD
46202011-09-15 Ulrich Drepper <drepper@gmail.com>
4621
88738eb6
UD
4622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4623
cbf645a6 4624 [BZ #13192]
2840865d
UD
4625 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4626 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4627
b402e91a
RM
46282011-09-15 Roland McGrath <roland@hack.frob.com>
4629
4630 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4631 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4633 (CALL_FAIL): Likewise.
4634 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4635 (CALL_FAIL): Macro removed.
4636 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4637
4c1a1f71
UD
46382011-09-15 Ulrich Drepper <drepper@gmail.com>
4639
4640 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4641 for __FINITE_MATH_ONLY__ == 1.
4642
edc121be
AS
46432011-09-15 Andreas Schwab <schwab@redhat.com>
4644
4645 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4646 __ieee754_sqrt instead of sqrt.
4647 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4648 __ieee754_sqrtf instead of sqrtf.
4649 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4650 __floorf instead of floorf.
4651 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4652 __floorf, __truncf instead of floorf, truncf.
4653
cd205654
UD
46542011-09-14 Ulrich Drepper <drepper@gmail.com>
4655
ee4d0315
UD
4656 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4657
cd205654
UD
4658 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4659 __extern_always_inline.
4660 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4661 32-bit.
4662
48b67d71
AS
46632011-09-14 Andreas Schwab <schwab@redhat.com>
4664
4665 * elf/rtld.c (dl_main): Also relocate in dependency order when
4666 doing symbol dependency testing.
4667
1ae12c75
AS
46682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4669
4670 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4671 Always define `refsym'.
4672
995a80df
AS
46732011-09-13 Andreas Schwab <schwab@redhat.com>
4674
e529793b
AS
4675 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4676 (__FD_ELT): Renamed from __FDELT.
4677 * misc/bits/select2.h (__FD_ELT): Likewise.
4678 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4679 __FD_MASK instead of __FDELT, __FDMASK.
4680 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4681 Likewise.
4682 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4683 Likewise.
4684
52d4fef8
AS
4685 * elf/Makefile (gen-ldd): Fix pattern.
4686
995a80df
AS
4687 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4688 (init_tls): Likewise.
4689
8682f8b0
UD
46902011-09-12 Ulrich Drepper <drepper@gmail.com>
4691
4692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4693
de82006d
AS
46942011-09-12 Andreas Schwab <schwab@redhat.com>
4695
a7c8e6a1
AS
4696 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4697 `struct cmsghdr *' instead of `void *'.
4698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4699 Likewise.
4700
0f31fe77
AS
47012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4702
4703 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4704 if non-absolute.
4705 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4706 ldd_rewrite_script.
0f31fe77 4707
32b4c839
UD
47082011-09-11 Ulrich Drepper <drepper@gmail.com>
4709
83cd1420
UD
4710 * configure.in: Remove --with-tls option.
4711 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4712 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4713 out in case it is missing.
4714 * sysdeps/ia64/elf/configure.in: Likewise.
4715 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4716 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4717 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4718 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4719 * sysdeps/sh/elf/configure.in: Likewise.
4720 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4721 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4722 * sysdeps/x86_64/elf/configure.in: Likewise.
4723 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4724 * sysdeps/mach/hurd/tls.h: Likewise.
4725
633f745d
UD
4726 [BZ #13067]
4727 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4728
f318beb8
UD
4729 [BZ #13090]
4730 * configure.in: Fix use of AC_INIT.
4731
32b4c839
UD
4732 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4733
3ce1f295
UD
47342011-09-10 Ulrich Drepper <drepper@gmail.com>
4735
bb016596
UD
4736 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4737 __set_errno.
8e58439c
UD
4738 * malloc/hooks.c: Likewise.
4739
aebae053 4740 [BZ #11929]
02d46fc4
UD
4741 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4742 variables statically.
4743 (narenas): Initialize.
4744 (list_lock): Initialize.
bb016596
UD
4745 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4746 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
4747 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4748 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4749 Add initializers to main_arena and mp_.
4750 (malloc_state): Remove pagesize member. Change all users to use
4751 GLRO(dl_pagesize).
4752
4753 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4754 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4755 is always initialized.
4756
22a89187
UD
4757 * malloc/malloc.c: Removed unused configurations and dead code.
4758 * malloc/arena.c: Likewise.
4759 * malloc/hooks.c: Likewise.
02d46fc4 4760 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 4761
d063d164
UD
4762 * include/tls.h: Removed. USE___THREAD must always be defined.
4763 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4764 * elf/dl-libc.c: Likewise.
4765 * elf/dl-tsd.c: Likewise.
4766 * include/errno.h: Likewise.
4767 * include/netdb.h: Likewise.
4768 * include/resolv.h: Likewise.
4769 * inet/herrno-loc.c: Likewise.
4770 * inet/herrno.c: Likewise.
4771 * malloc/arena.c: Likewise.
4772 * malloc/hooks.c: Likewise.
4773 * malloc/malloc.c: Likewise.
4774 * resolv/res-state.c: Likewise.
4775 * resolv/res_libc.c: Likewise.
4776 * sysdeps/i386/dl-machine.h: Likewise.
4777 * sysdeps/ia64/dl-machine.h: Likewise.
4778 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4779 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4780 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4781 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4782 * sysdeps/sh/dl-machine.h: Likewise.
4783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4784 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4785 * sysdeps/unix/i386/sysdep.S: Likewise.
4786 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4787 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4792 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4796 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4797 * sysdeps/x86_64/dl-machine.h: Likewise.
4798 * tls.make.c: Likewise.
4799
3ce1f295
UD
4800 * configure.in: Remove --with-__thread option. Make tests for
4801 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4802 tls_model attribute fail if no support is available. Remove
4803 USE_IN_LIBIO.
4804 * Makeconfig: Adjust for dropped configure option. All features are
4805 now mandatory.
4806 * Makerules: Likewise.
4807 * Versions.def: Likewise.
4808 * argp/argp-fmtstream.c: Likewise.
4809 * argp/argp-fmtstream.h: Likewise.
4810 * argp/argp-help.c: Likewise.
4811 * assert/assert.c: Likewise.
4812 * config.h.in: Likewise.
4813 * config.make.in: Likewise.
4814 * configure: Likewise.
4815 * configure.in: Likewise.
4816 * csu/Versions: Likewise.
4817 * csu/init.c: Likewise.
4818 * elf/tst-audit2.c: Likewise.
4819 * elf/tst-tls10.c: Likewise.
4820 * elf/tst-tls10.h: Likewise.
4821 * elf/tst-tls11.c: Likewise.
4822 * elf/tst-tls12.c: Likewise.
4823 * elf/tst-tls14.c: Likewise.
4824 * elf/tst-tlsmod11.c: Likewise.
4825 * elf/tst-tlsmod12.c: Likewise.
4826 * elf/tst-tlsmod13.c: Likewise.
4827 * elf/tst-tlsmod13a.c: Likewise.
4828 * elf/tst-tlsmod14a.c: Likewise.
4829 * elf/tst-tlsmod15b.c: Likewise.
4830 * elf/tst-tlsmod16a.c: Likewise.
4831 * elf/tst-tlsmod16b.c: Likewise.
4832 * elf/tst-tlsmod7.c: Likewise.
4833 * elf/tst-tlsmod8.c: Likewise.
4834 * elf/tst-tlsmod9.c: Likewise.
4835 * gmon/gmon.c: Likewise.
4836 * grp/fgetgrent_r.c: Likewise.
4837 * grp/putgrent.c: Likewise.
4838 * hurd/fopenport.c: Likewise.
4839 * include/libc-symbols.h: Likewise.
4840 * include/tls.h: Likewise.
4841 * intl/gettextP.h: Likewise.
4842 * intl/loadinfo.h: Likewise.
4843 * locale/global-locale.c: Likewise.
4844 * locale/localeinfo.h: Likewise.
4845 * mach/devstream.c: Likewise.
4846 * malloc/arena.c: Likewise.
4847 * malloc/set-freeres.c: Likewise.
4848 * misc/err.c: Likewise.
4849 * misc/getttyent.c: Likewise.
4850 * misc/mntent_r.c: Likewise.
4851 * posix/getopt.c: Likewise.
4852 * posix/wordexp.c: Likewise.
4853 * pwd/fgetpwent_r.c: Likewise.
4854 * resolv/Versions: Likewise.
4855 * resolv/res_hconf.c: Likewise.
4856 * shadow/fgetspent_r.c: Likewise.
4857 * shadow/putspent.c: Likewise.
4858 * stdio-common/printf_fphex.c: Likewise.
4859 * stdio-common/tmpfile.c: Likewise.
4860 * stdlib/abort.c: Likewise.
4861 * stdlib/fmtmsg.c: Likewise.
4862 * sunrpc/auth_unix.c: Likewise.
4863 * sunrpc/clnt_perr.c: Likewise.
4864 * sunrpc/clnt_tcp.c: Likewise.
4865 * sunrpc/clnt_udp.c: Likewise.
4866 * sunrpc/clnt_unix.c: Likewise.
4867 * sunrpc/openchild.c: Likewise.
4868 * sunrpc/svc_simple.c: Likewise.
4869 * sunrpc/svc_tcp.c: Likewise.
4870 * sunrpc/svc_udp.c: Likewise.
4871 * sunrpc/svc_unix.c: Likewise.
4872 * sunrpc/xdr.c: Likewise.
4873 * sunrpc/xdr_array.c: Likewise.
4874 * sunrpc/xdr_rec.c: Likewise.
4875 * sunrpc/xdr_ref.c: Likewise.
4876 * sunrpc/xdr_stdio.c: Likewise.
4877
1248c1c4
PB
48782011-09-09 Ulrich Drepper <drepper@gmail.com>
4879
4880 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4881
48822011-07-03 Andreas Jaeger <aj@suse.de>
4883
4884 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4885 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4886 regenerate with gen-libm-tests.pl.
4887
48882010-05-12 Petr Baudis <pasky@suse.cz>
4889
4890 [BZ #11589]
4891 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4892 around j0() zero points by switching to j1().
4893 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4896 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4897
f22e1074
UD
48982011-09-09 Ulrich Drepper <drepper@gmail.com>
4899
f19009c1
UD
4900 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4901 instead of 0.
4902 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4903 instead of 0. .
4904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4905 Patch in part by Pavel Roskin <proski@gnu.org>.
4906
3f8cc204
UD
4907 [BZ #13138]
4908 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4909 realloc.
4910 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4911 Free memory block if necessary.
4912
f22e1074
UD
4913 [BZ #12847]
4914 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4915 be NULL. Don't lock in this case.
4916
0a2349f9
RM
49172011-09-09 Roland McGrath <roland@hack.frob.com>
4918
4919 * elf/elf.h (ELFOSABI_GNU): New macro.
4920 (ELFOSABI_LINUX): Define to that.
4921
f3cdd467
DZ
49222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4923
4924 * string/strncat.c (strncat): Undef the symbol in case it has been
4925 defined in bits/string.h.
4926
74718d13
UD
49272011-09-09 Ulrich Drepper <drepper@gmail.com>
4928
633e9e0f
UD
4929 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4930
0a2349f9 4931 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
4932 link map.
4933
f9924780
AJ
49342011-08-17 Andreas Jaeger <aj@suse.de>
4935
4936 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4937
7f5517aa
PP
49382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4939 Ian Lance Taylor <iant@google.com>
4940
4941 * math/libm-test.inc (lround_test): New testcase.
4942 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4943
762011fe
UD
49442011-09-08 Ulrich Drepper <drepper@gmail.com>
4945
92963737
UD
4946 * Makefile: Remove support for automatic cvs check-ins.
4947 * Makerules: Likewise.
4948 * config.make.in: Likewise.
4949 * configure.in: Likewise.
4950 * intl/Makefile: Likewise.
4951 * locale/Makefile: Likewise.
4952 * po/Makefile: Likewise.
4953 * posix/Makefile: Likewise.
4954 * sysdeps/gnu/Makefile: Likewise.
4955 * sysdeps/mach/hurd/Makefile: Likewise.
4956 * sysdeps/sparc/sparc32/Makefile: Likewise.
4957
b0727fd8
JS
4958 [BZ #13118]
4959 * posix/Makefile (bug-regex32-ENV): Define.
4960 Patch by John Stanley <jpsinthemix@verizon.net>.
4961
a0f33f99
UD
4962 * misc/Makefile (headers): Add bits/select2.h.
4963 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4964 * misc/bits/select2.h: New file.
4965 * include/bits/select2.h: New file.
4966 * debug/Makefile (routines): Add fdelt_chk.
4967 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4968 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4969 FD_ISSET.
4970 * debug/fdelt_chk.c: New file.
4971
762011fe
UD
4972 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4973 * wcsmbs/test-wmemcmp.c: Likewise.
4974 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 4975 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
4976
49772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4978
4979 * string/Makefile (strop-tests): Add memcmp.
4980 * string/test-wmemcmp.c: New file.
4981 * string/test-memcmp.c: Add wmemcmp support.
4982
7f513ec8
RM
49832011-09-08 Roland McGrath <roland@hack.frob.com>
4984
0442afb4
RM
4985 [BZ #13153]
4986 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4987 2011-07-19 change.
4988
7f513ec8
RM
4989 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4990 garbage value in a __mach_port_mod_refs call in the cases of the
4991 task-self and thread-self ports.
4992
a12b2239
ST
49932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4994
4995 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4996
610f9ab4
AS
49972011-09-08 Andreas Schwab <schwab@redhat.com>
4998
7f513ec8 4999 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 5000
48882a1a
LD
50012011-09-07 Ulrich Drepper <drepper@gmail.com>
5002
b49865be
UD
5003 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5004
fdc86bc9
UD
5005 * elf/dl-libc.c (dlerror_run): Pass back error code from
5006 dl_catch_error.
5007
c966526a
UD
5008 [BZ #13123]
5009 * elf/dl-load.c (lose): Free l_origin if it is valid.
5010
48882a1a
LD
5011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5012 names.
5013 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5018 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5019
77a2a8b4
AZ
50202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5021
5022 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5023 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5024 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5025 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5026 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5027 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5028 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5029 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5030 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5031 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5032
24f579d8
AM
50332011-08-15 Alan Modra <amodra@gmail.com>
5034
5035 [BZ #13092]
5036 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5037 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5038 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5039 ppc_mcount to static-only-routines.
5040 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5041 __mcount_internal.
5042 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5043 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5044
3d4837df
UD
50452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5046
5047 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5048 for finite and infinity parameters.
5049
22700377
WS
50502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5051
5052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5053 and add nop instructions for throughput optimization.
5054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5055
5025581e
WS
50562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5057
5058 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5059 aligned copy for power7 with vector-scalar instructions.
5060 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5061
08a300c9
L
50622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5063
5064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5065 AVX check.
5066
59178ef9
AS
50672011-09-07 Andreas Schwab <schwab@redhat.com>
5068
5069 [BZ #13144]
5070 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5071 last change.
5072
e38ba7ab
UD
50732011-09-07 Ulrich Drepper <drepper@gmail.com>
5074
5075 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5076 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5077 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5078 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5079 clock_gettime.
5080
d53a73ac
UD
50812011-09-06 Ulrich Drepper <drepper@gmail.com>
5082
fc8bffcc
UD
5083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5084 Forgot to demangle the pointer.
5085
ceaa0c5d
UD
5086 * sysdeps/i386/sysdep.h: Define atom_text_section.
5087 * sysdeps/x86_64/sysdep.h: Likewise.
5088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5089 section with atom_text_section.
5090 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5091 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5092 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5094 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5095
a77d3c17
UD
5096 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5098 already be defined. Change to take two parameters and don't assign
5099 result to variable. Adjust all users.
5100 Define INTERNAL_GETTIME if not already defined.
5101 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5102 call.
5103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5104 HAVE_CLOCK_GETTIME_VSYSCALL.
5105 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5106
d53a73ac
UD
5107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5108 gettimeofday vsyscall, just use time.
5109
a8f84144
AS
51102011-09-06 Andreas Schwab <schwab@redhat.com>
5111
5112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5113 <errno.h>.
5114
ef606249
UD
51152011-09-06 Ulrich Drepper <drepper@gmail.com>
5116
5117 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5118 syscall on x86-64.
5119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5120 syscall.
5121 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5123 syscall if possible.
5124
6585cb60
UD
51252011-09-05 Ulrich Drepper <drepper@gmail.com>
5126
5127 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5128 e_ident. Don't pass to find_mapsXX.
5129 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5130
a5f524e4
LD
51312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5132
5133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5134 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5135 * sysdeps/x86_64/multiarch/strchr.S: Update.
5136 Check bit_slow_BSF bit.
5137 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5138 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5139 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5140
554881ef
UD
51412011-09-05 Ulrich Drepper <drepper@gmail.com>
5142
d96de963
UD
5143 [BZ #13134]
5144 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5145 before glibc 2.15.
5146 (tryshell): Define.
5147 (__spawni): Change last parameter to be flag. Test
5148 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5149 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5150 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5151 * posix/spawni.c: Likewise.
5152 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5153 * posix/spawnp.c: Likewise. Change normal version to use
5154 SPAWN_XFLAGS_USE_PATH.
5155 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5156 SPAWN_XFLAGS_TRY_SHELL.
5157
d48e5868
UD
5158 [BZ #13150]
5159 * posix/glob.h: Remove gcc 1.x support.
5160
554881ef
UD
5161 [BZ #13068]
5162 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5163
693fb948
LD
51642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5165
5166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5167 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5168 strrchr-sse2-bsf
5169 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5170 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5171 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5173 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5175
1b48c537
UD
51762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5177
49d42c37
UD
5178 * sysdeps/x86_64/wcscmp.S: New file.
5179
1b48c537
UD
5180 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5181 wcscmp-c wcscmp-sse2
5182 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5183 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5184 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5185 * wcsmbs/wcscmp.c: Allow renaming.
5186
15c95c5d
DM
51872011-09-05 David S. Miller <davem@davemloft.net>
5188
5189 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5190 stack slot, rather than the struct return pointer slot.
5191 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5192 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5194 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5195
2f0ad8f3
UD
51962011-09-05 Ulrich Drepper <drepper@gmail.com>
5197
d88ae418
UD
5198 * po/ja.po: Update from translation team.
5199
2f0ad8f3
UD
5200 [BZ #13144]
5201 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5202 kernel in 64-bit binaries.
5203
5f4318d1
DM
52042011-09-01 David S. Miller <davem@davemloft.net>
5205
5206 * elf/elf.h (HWCAP_SPARC_*): Move to..
5207 * sysdeps/sparc/sysdep.h: this new file and add new values.
5208 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5209 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5210 _DL_HWCAP_COUNT to 24.
5211 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5212 entries.
5213 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5214 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5215 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5217 instead of magic constants.
5218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5219
3ba57516
DM
52202011-08-31 David S. Miller <davem@davemloft.net>
5221
5222 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5224 Reimplement to do errno handling inline.
5225 (SYSCALL_ERROR_HANDLER): New macro.
5226 (__SYSCALL_STRING): Do not do errno handling in asm.
5227 (__CLONE_SYSCALL_STRING): Delete.
5228 (__INTERNAL_SYSCALL_STRING): Delete.
5229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5230 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5231 (PSEUDO): Reimplement to do errno handling inline.
5232 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5233 (SYSCALL_ERROR_HANDLER): New macro.
5234 (__SYSCALL_STRING): Do not do errno handling in asm.
5235 (__CLONE_SYSCALL_STRING): Delete.
5236 (__INTERNAL_SYSCALL_STRING): Delete.
5237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5238 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5239 i386.
5240 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5241 (inline_syscall*): Add 'err' argument.
5242 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5243 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5244 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5245 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5246
5247 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5248 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5249
2bc17433
AS
52502011-08-30 Andreas Schwab <schwab@redhat.com>
5251
5252 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5253
fbeb5f4d
JO
52542011-08-29 Jiri Olsa <jolsa@redhat.com>
5255
5256 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5257 directive.
5258
ad69cc26
DM
52592011-08-24 David S. Miller <davem@davemloft.net>
5260
5261 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5262
39dd69df
AS
52632011-08-24 Andreas Schwab <schwab@redhat.com>
5264
5265 * elf/Makefile: Add rules to build and run unload8 test.
5266 * elf/unload8.c: New file.
5267 * elf/unload8mod1.c: New file.
5268 * elf/unload8mod1x.c: New file.
5269 * elf/unload8mod2.c: New file.
5270 * elf/unload8mod3.c: New file.
5271
5272 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5273 it wasn't used.
5274
2c0b250a
DM
52752011-08-23 David S. Miller <davem@davemloft.net>
5276
5277 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5278 subtract stack bias.
5279 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5280 %sp not %fp in calculations.
5281 (_JMPBUF_UNWINDS_ADJ): Likewise.
5282
22044b48
DM
5283 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5284 (aio_suspend): Call it to force an exception region around the
5285 AIO_MISC_WAIT() invocation.
5286
2cae4995
AS
52872011-08-23 Andreas Schwab <schwab@redhat.com>
5288
5289 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5290 backslash.
5291
873a772e
AJ
52922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5293
5294 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5295 protection macro.
5296 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5297 and <dl-machine.h>.
5298 (Elf64_FuncDesc): Remove.
5299
25ad0df1
DM
53002011-08-22 David S. Miller <davem@davemloft.net>
5301
5302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5303 sigaltstack check, add missing cfi directives.
5304 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5305 missing cfi directives, and sigaltstack handling.
5306
e888bcbe
AS
53072011-08-16 Andreas Schwab <schwab@redhat.com>
5308
5309 [BZ #11724]
5310 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5311 object is seen twice.
5312 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5313
5314 * elf/Makefile (distribute): Add tst-initorder2.c.
5315 (tests): Add tst-initorder2.
5316 (modules-names): Add tst-initorder2a tst-initorder2b
5317 tst-initorder2c tst-initorder2d. Add rules to build them.
5318 ($(objpfx)tst-initorder2.out): New rule.
5319 * elf/tst-initorder2.c: New file.
5320 * elf/tst-initorder2.exp: New file.
5321
87162f46
AS
53222011-08-22 Andreas Schwab <schwab@redhat.com>
5323
70538b7f
AS
5324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5325
f55ffe58
AS
5326 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5327 dependencies back to end of function.
5328
87162f46
AS
5329 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5330 $(elfobjdir)/ld.so.
5331
91b392a4
UD
53322011-08-21 Ulrich Drepper <drepper@gmail.com>
5333
5334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5335 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5337 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5338 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5339 of __vdso_gettimeofday.
5340 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5341 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5342 attribute_hidden.
5343 (_libc_vdso_platform_setup): Remove initialization of
5344 __vdso_gettimeofday and __vdso_time.
5345
5c43483f
UD
53462011-08-20 Ulrich Drepper <drepper@gmail.com>
5347
775a77e7
UD
5348 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5349 and fgetc_unlocked.
5350 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5351 getc_unlocked.
89f447ed 5352
49c74ba9
UD
5353 * elf/dl-open.c (add_to_global): Report additions to the global scope
5354 for LD_DEBUG=scopes.
5355 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5356 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5357
5c43483f
UD
5358 [BZ #13114]
5359 * stdio-common/Makefile (tests): Add bug24.
5360 * stdio-common/bug24.c: New file.
5361
a101b025
AJ
53622011-08-19 Andreas Jaeger <aj@suse.de>
5363
5364 [BZ #13114]
5365 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5366 non-existant file when using close-on-exec mode.
5367
c88f1766
UD
53682011-08-20 Ulrich Drepper <drepper@gmail.com>
5369
0276a718
UD
5370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5371 the very first instruction.
5372
c88f1766
UD
5373 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5374 the CFI state in the end.
5375 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5376 inclusion of dl-trampoline.h.
5377 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5378
51ccffa0
AS
53792011-08-19 Andreas Schwab <schwab@redhat.com>
5380
94d7165f
AS
5381 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5382 expectations for long double.
5383
51ccffa0
AS
5384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5385 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5386
fd708658 53872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5388
5389 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5390 artificual limit depends upon the system page size.
5391
44f0a71e
UD
53922011-08-17 Ulrich Drepper <drepper@gmail.com>
5393
5394 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5395 * resolv/Makefile: Define CFLAGS-libresolv.
5396
8de79a24
AS
53972011-08-17 Andreas Schwab <schwab@redhat.com>
5398
5399 * nss/makedb.c (compute_tables): Make variables used in nested
5400 function static.
5401
27724598
UD
54022011-08-17 Ulrich Drepper <drepper@gmail.com>
5403
c5305d88
UD
5404 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5405 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5406 if buffer was too small.
5407
27724598
UD
5408 * elf/pldd.c (main): Attach to all threads in the process.
5409 Rewrite /proc handling to use *at functions.
5410
076fe015
UD
54112011-08-16 Ulrich Drepper <drepper@gmail.com>
5412
174baab3
UD
5413 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5414 specifies first scope to show.
5415 (dl_open_worker): Update callers. Move printing scope of new
5416 object to before the relocation.
44f0a71e 5417 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5418 * sysdeps/generic/ldsodefs.h: Update declaration.
5419
076fe015
UD
5420 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5421 string for the scope number.
5422
a60df2c3
UD
54232011-08-14 Ulrich Drepper <drepper@gmail.com>
5424
5425 * nscd/servicescache.c (cache_addserv): Make sure written is always
5426 initialized.
5427
5e4287d1
RM
54282011-08-14 Roland McGrath <roland@hack.frob.com>
5429
85ae0589
RM
5430 * sysdeps/i386/i486/bits/atomic.h
5431 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5432 statement expression, so as to suppress "set but not used" warning.
5433 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5434
69f63097
RM
5435 * string/strncat.c (STRNCAT): Use prototype definition.
5436
675456ef
RM
5437 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5438 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5439 -Iprograms here.
5440 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5441 (localedef-modules): Add localedef.
5442 (locale-modules): Add locale.
5443
5e4287d1
RM
5444 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5445 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5446 to avoid a warning.
5447
9c96ff23
DM
54482011-08-14 David S. Miller <davem@davemloft.net>
5449
5450 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5451 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5452
f9ddf089
UD
54532011-08-13 Ulrich Drepper <drepper@gmail.com>
5454
44f0a71e 5455 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5456 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5457 * elf/rtld.c (dl_main): Set l_name of vDSO.
5458 Call _dl_show_scope when DL_DEBUG_SCOPES.
5459 (process_dl_debug): Recognize scopes flag and also set it for all.
5460 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5461 Declare _dl_show_scope.
5462
1dc27704
UD
5463 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5464 (do_dlopen): Pass caller_dlopen to dl_open.
5465 (__libc_dlopen_mode): Initialize caller_dlopen.
5466
f9ddf089
UD
5467 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5468 of libc. Make tolower call locale-independent. Optimize a bit by
5469 using isdigit instead of isalnum.
5470 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5471
9ac533d3
UD
54722011-08-12 Ulrich Drepper <drepper@gmail.com>
5473
5474 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5475 was a dependency or dynamically loaded.
5476
89edf2e9
UD
54772011-08-11 Ulrich Drepper <drepper@gmail.com>
5478
8e999d29
UD
5479 * intl/l10nflist.c: Allow architecture-specific pop function.
5480 * sysdeps/x86_64/l10nflist.c: New file.
5481
89edf2e9
UD
5482 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5483 classification.
5484
14d96785
AS
54852011-08-10 Andreas Schwab <schwab@redhat.com>
5486
5487 * include/dirent.h: Add libc_hidden_proto for scandirat and
5488 scandirat64. Don't declare __scandirat64.
5489 * dirent/scandirat.c: Add libc_hidden_def.
5490 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5491 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5492
6761ac04
DM
54932011-08-10 David S. Miller <davem@davemloft.net>
5494
5495 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5496 enum.
5497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5500
c55fbd1e
UD
55012011-08-09 Ulrich Drepper <drepper@gmail.com>
5502
5503 * Versions.def [libc]: Add GLIBC_2.15.
5504 * dirent/Makefile (routines): Add scandirat and scandirat64.
5505 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5506 GLIBC_2.15.
5507 * dirent/dirent.h: Declare scandirat and scandirat64.
5508 * dirent/scandirat.c: New file.
5509 * dirent/scandirat64.c: New file.
5510 * sysdeps/wordsize-64/scandirat.c: New file.
5511 * sysdeps/wordsize-64/scandirat64.c: New file.
5512 * dirent/opendir.c: Define opendirat.
5513 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5514 using scandirat.
5515 * dirent/scandir64.c: Adjust for scandir.c change.
5516 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5517 __scandirat64, and __scandir_cancel_handler.
5518 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5519 additional parameter and use openat instead of open (outside of ld.so).
5520 Add new __opendir as wrapper around __opendirat.
5521 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5522 here without requiring old scandirat implementation.
5523
879165f2
UD
55242011-08-08 Ulrich Drepper <drepper@gmail.com>
5525
5526 * dirent/scandir.c (cancel_handler): Renamed to
5527 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5528 defined. Adjust users.
5529 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5530 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5531
cb7e923b
UD
55322011-08-04 Ulrich Drepper <drepper@gmail.com>
5533
16292edd
UD
5534 * string/test-string.h (IMPL): Use __STRING to expand name and then
5535 stringify it.
5536
cb7e923b
UD
5537 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5538 of cleanups.
5539
cff82933
LD
55402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5541
5542 * string/Makefile: Update.
5543 (strop-tests): Append strncat.
5544 * string/test-wcscmp.c: New file.
5545 New comprehensive test for wcscmp.
5546 * string/test-strcmp.c: Update.
5547 (WIDE): New define.
5548
9be9bfcc
AS
55492011-07-22 Andreas Schwab <schwab@redhat.com>
5550
5551 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5552 line.
5553
2e96f1c7
AS
55542011-07-26 Andreas Schwab <schwab@redhat.com>
5555
5556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5557 encoding to ACE if AI_IDN.
5558
85188888
JJ
55592011-08-01 Jakub Jelinek <jakub@redhat.com>
5560
5561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5562 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5563
5fa16e9b
LD
55642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5565
5566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5567 Fix overflow bug in strncat.
5568 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5569
5570 * string/test-strncat.c: Update.
5571 Add new tests for checking overflow bugs.
5572
55732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5574
5575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5576 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5577 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5578 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5580 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5581 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5582 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5583 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5584
5585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5586 (USE_AS_STRCAT): Define.
5587 Add strcat and strncat support.
5588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5589
8c1a459f
AS
55902011-07-25 Andreas Schwab <schwab@redhat.com>
5591
5592 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5593 __n bigger than INT_MAX+1.
5594 (__strncmp_g): Likewise.
5595
bba33c28
UD
55962011-07-23 Ulrich Drepper <drepper@gmail.com>
5597
798be72d
UD
5598 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5599 * libio/stido.h: Likewise.
5600
8accd4dc
UD
5601 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5602 (AF_NFC): Define.
5603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5604 (AF_NFC): Define.
5605
cbff0d96
UD
5606 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5609 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5611
9191c04a
UD
5612 [BZ #13021]
5613 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5614 installed.
5615
bba33c28
UD
5616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5617 typo.
5618 (_dl_x86_64_save_sse): Likewise.
5619
90f139dd
UD
56202011-07-22 Ulrich Drepper <drepper@gmail.com>
5621
1aae088a
UD
5622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5623 OSXSAVE.
5624 (_dl_x86_64_save_sse): Likewise.
5625
8e2045f5
UD
5626 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5627
90f139dd
UD
5628 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5629
1d002f25
AS
56302011-07-21 Andreas Schwab <schwab@redhat.com>
5631
5632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5633 change.
5634 (_dl_x86_64_save_sse): Use correct AVX check.
5635
21137f89
UD
56362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5637
5638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5639 bug in strncpy/strncat.
5640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5641
a65c0b7a
UD
56422011-07-21 Ulrich Drepper <drepper@gmail.com>
5643
5644 * string/tester.c (test_strcat): Add tests for different alignments
5645 of source and destination.
5646 (test_strncat): Likewise.
5647
6986b98a
UD
56482011-07-20 Ulrich Drepper <drepper@gmail.com>
5649
90bb2039
UD
5650 [BZ #12852]
5651 * posix/glob.c (glob): Check passed in values before using them in
5652 expressions to avoid some overflows.
5653 (glob_in_dir): Likewise.
5654
5644ef54
UD
5655 [BZ #13007]
5656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5657 check for AVX enablement so that we don't crash with old kernels and
5658 new hardware.
5659 * elf/tst-audit4.c: Add same checks here.
5660 * elf/tst-audit6.c: Likewise.
5661
5662 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 5663
bfc9dc9b
AS
56642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5665
5666 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5667
702e64bb
UD
56682011-07-20 Ulrich Drepper <drepper@gmail.com>
5669
5670 * po/cs.po: Update from translation team.
5671 * po/bg.po: Likewise.
5672
295e904f
MP
56732011-07-12 Marek Polacek <mpolacek@redhat.com>
5674
5675 * misc/sys/cdefs.h: Add support for const attribute.
5676 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5677 to gnu_dev_{major,minor,makedev} functions.
5678
3ff94596
MP
56792011-07-20 Marek Polacek <mpolacek@redhat.com>
5680
5681 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5682
28b59fca
AS
56832011-07-20 Andreas Schwab <schwab@redhat.com>
5684
5685 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5686 strlen results.
5687
19df733e
AK
56882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5689
5690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5691 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5692 register in order to avoid conflicts with the soft frame pointer
5693 being held in r11 when necessary.
5694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5695 (INTERNAL_VSYSCALL_NCS): Likewise.
5696
c8835729
MP
56972011-07-14 Marek Polacek <mpolacek@redhat.com>
5698
5699 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5700 * elf/dl-fini.c (_dl_fini): Adjust caller.
5701 * elf/dl-close.c (_dl_close_worker): Likewise.
5702 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5703
b902330c
MP
57042011-07-15 Marek Polacek <mpolacek@redhat.com>
5705
8991e135
MP
5706 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5707 "aux_cache->nlibs < 0".
5708
b902330c
MP
5709 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5710 in the reload-count case.
5711
99710781
LD
57122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5713
5714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5715 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5716 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5717 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5718 * sysdeps/x86_64/multiarch/strcat.S: New file.
5719 * sysdeps/x86_64/multiarch/strncat.S: New file.
5720 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5721 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5722 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5723 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5725 (USE_AS_STRCAT): Define.
5726 Add strcat and strncat support.
5727 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5728 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5729 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5730 * string/strncat.c: Update.
5731 (USE_AS_STRNCAT): Define.
5732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5733 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5734 and i7.
5735 * sysdeps/x86_64/multiarch/init-arch.h
5736 (bit_Prefer_PMINUB_for_stringop): New.
5737 (index_Prefer_PMINUB_for_stringop): Likewise.
5738 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5739 bit_Prefer_PMINUB_for_stringop.
5740
7dc6bd90
UD
57412011-07-19 Ulrich Drepper <drepper@gmail.com>
5742
5743 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5744 buffer64.
5745 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5746 of casting of buffer.
5747 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5748 buffer32 and buffer64.
5749 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5750 writes instead of casting of buffer.
5751 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5752 buffer32.
5753 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5754 casting of buffer.
5755
e0e72284
AS
57562011-07-19 Andreas Schwab <schwab@redhat.com>
5757
5758 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5759
feb1eb0b
UD
57602011-07-19 Ulrich Drepper <drepper@gmail.com>
5761
5762 * nscd/nscd.c (termination_handler): Don't do anything for a database
5763 if it has not yet been initialized.
5764
298711ff
UD
57652011-07-18 Ulrich Drepper <drepper@gmail.com>
5766
5767 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5768
57692011-07-15 Marek Polacek <mpolacek@redhat.com>
5770
5771 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5772
f9d68389
UD
57732011-07-18 Ulrich Drepper <drepper@gmail.com>
5774
5775 * po/nl.po: Update from translation team.
5776 * po/sv.po: Likewise.
5777
db290cf5
RM
57782011-07-16 Roland McGrath <roland@hack.frob.com>
5779
5780 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5781 now disallowed by GCC.
5c550700 5782
fd5e21c7
RM
5783 * configure.in (use-default-link): Default to yes if a test -shared
5784 link meets our qualifications.
5785 * configure: Regenerated.
5786
5c550700
RM
5787 * config.make.in (output-format): New variable.
5788 * configure.in: Check for ld --print-output-format support.
5789 * configure: Regenerated.
5790 * Makerules ($(common-objpfx)format.lds)
5791 [$(output-format) != unknown]: Just use $(output-format),
5792 instead of the linker-script munging.
5793
9fa2c032
RM
57942011-07-14 Roland McGrath <roland@hack.frob.com>
5795
a6928d51
RM
5796 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5797 of $(common-objpfx)shlib.lds.
5798 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5799
661607b3
RM
5800 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5801 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5802
9fa2c032
RM
5803 * configure.in (-z relro check): Adjust test code to add a large
5804 writable data section after it.
5805 * configure: Regenerated.
5806
defe9061
RM
58072011-07-11 Roland McGrath <roland@hack.frob.com>
5808
5809 * configure.in (-z relro check): Fix test code to make the variable
5810 truly const.
5811 * configure: Regenerated.
5812
319b9ad4
UD
58132011-07-11 Ulrich Drepper <drepper@gmail.com>
5814
5815 * nscd/nscd.h (struct traced_file): Define.
5816 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5817 elements. Add traced_files.
5818 (inotify_fd): Declare.
5819 (register_traced_file): Declare.
5820 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5821 (inotify_fd): Export.
5822 (resolv_conf_descr): Remove.
5823 (nscd_init): Move inotify descriptor creation to main.
5824 Don't register files for notification here.
5825 (register_traced_file): New function.
5826 (invalidate_cache): Don't use reset_res to determine whether to call
5827 res_init, go through the list of registered files.
5828 (main_loop_poll): The inotify descriptors are now stored in the
5829 structures for the traced files.
5830 (main_loop_epoll): Likewise
5831 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5832 to __nss_disable_nscd.
5833 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5834 for a database anymore. Check the records for all the registered
5835 files instead.
5836 * nss/Makefile (libnss_files-routines): Add files-init.
5837 (libnss_db-routines): Add db-init.
5838 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5839 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5840 * nss/nss_db/db-init.c: New file.
5841 * nss/nss_files/files-init.c: New file.
5842 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5843 __nss_lookup_function.
5844 (__nss_lookup_function): Call nss_load_library.
5845 (nss_load_all_libraries): New function.
5846 (__nss_disable_nscd): Take parameter with callback function for files
5847 to register. Set is_nscd. Load all the DSOs for the NSS modules
5848 used for the cached services.
5849 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5850 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5851 options for features to all the files in nscd.
5852
5853 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5854
23bee3e8
RM
58552011-07-10 Roland McGrath <roland@hack.frob.com>
5856
5857 * csu/elf-init.c (__libc_csu_init): Comment typo.
5858
46a5b7f0
UD
58592011-07-09 Ulrich Drepper <drepper@gmail.com>
5860
5861 * po/pl.po: Update from translation team.
5862 * po/ja.po: Likewise.
5863 * po/ru.po: Likewise.
5864 * po/ko.po: Likewise.
5865 * po/fr.po: Likewise.
5866
d30cf5bb
RM
58672011-07-09 Roland McGrath <roland@hack.frob.com>
5868
113ddea4
RM
5869 * configure.in (.ctors/.dtors header and trailer check):
5870 Use an empirical test on a built program.
5871 * configure: Regenerated.
5872
574920b4
RM
5873 * configure.in (-z relro check): Use an empirical test on a built DSO.
5874 Detect, but do not require, on ia64.
5875 * configure: Regenerated.
5876
d30cf5bb
RM
5877 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5878 Update tests that use readelf to use $READELF instead.
5879 * configure: Regenerated.
5880
8538fdb3
UD
58812011-07-08 Ulrich Drepper <drepper@gmail.com>
5882
5883 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5884 if the result is not used.
5885
04d08991
AJ
58862011-07-05 Andreas Jaeger <aj@suse.de>
5887
5888 [BZ#9696]
5889 * stdlib/tst-strtod.c: Add testcase.
5890
de283087
AD
58912011-07-07 Ulrich Drepper <drepper@gmail.com>
5892
4e5f31c8 5893 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 5894 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
5895 The latter has a higher limit. Take additional parameter to pass to
5896 the new function.
5897 (__pathconf): Pass file to __statfs_link_max.
5898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5899 __statfs_link_max.
5900 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5901 __statfs_link_max.
5902
de283087
AD
5903 [BZ #12868]
5904 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5906 Handle Lustre.
5907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5908 (__statfs_filesize_max): Likewise.
5909 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5910
c75fa153
AJ
59112011-07-05 Andreas Jaeger <aj@suse.de>
5912
5913 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5914
1a544854
UD
59152011-07-06 Marek Polacek <mpolacek@redhat.com>
5916
5917 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5918 `status' variable.
5919 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5920 Likewise.
5921
6f0eec67
UD
59222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5923
5924 * Makefile (strop-tests): Add strncat.
5925 * string/test-strncat.c: New file.
5926
aae30307
UD
59272011-06-30 Marek Polacek <mpolacek@redhat.com>
5928
5929 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5930
c0cfb5eb
UD
59312011-06-21 Andreas Jaeger <aj@suse.de>
5932
5933 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5934 Copy rule from iconvdata/Makefile.
5935
01636b21
UD
59362011-07-06 Ulrich Drepper <drepper@gmail.com>
5937
5938 [BZ #12922]
5939 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5940 but no long options are defined, just return 'W'.
5941
9895c8bc
UD
59422011-06-22 Marek Polacek <mpolacek@redhat.com>
5943
5944 [BZ #9696]
5945 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5946
5d4cf042
UD
59472011-07-06 Ulrich Drepper <drepper@gmail.com>
5948
5949 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5950 netgroups to read.
960e5535 5951 (innetgr): Likewise.
5d4cf042 5952
751eb97e
RM
59532011-07-05 Roland McGrath <roland@hack.frob.com>
5954
5955 * config.make.in (install_root): Default to $(DESTDIR).
5956
f15f1e45
UD
59572011-07-05 Ulrich Drepper <drepper@gmail.com>
5958
5959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5960
4e34ac6a
RM
59612011-07-02 Roland McGrath <roland@hack.frob.com>
5962
5e9b6af4
RM
5963 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5964
84f9ea0f
RM
5965 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5966 containing directory rather than embedding absolute directory names.
5967
ea5ee9f7
RM
5968 * scripts/check-local-headers.sh: Rewritten using awk.
5969 Match by word, not by line. Print error messages for matches.
5970 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5971
1b74661a
RM
5972 * Makerules [shlib-lds-flags empty]:
5973 ($(common-objpfx)libc_pic.opts): New target.
5974 ($(common-objpfx)libc_pic.os.clean): New target.
5975 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5976
5977 * config.make.in (OBJCOPY): New variable.
5978 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5979 * configure: Regenerated.
5980
f781ef40
RM
5981 * config.make.in (use-default-link): New variable.
5982 * configure.in (use_default_link): Grok --with-default-link to set it.
5983 * configure: Regenerated.
5984 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5985 (shlib-lds, shlib-lds-flags): Define to empty.
5986
2d4fa81e
RM
5987 * Makerules (shlib-lds): New variable.
5988 (shlib-lds-flags): New variable.
5989 (build-shlib, build-moduile, build-module-asneeded): Use it.
5990 ($(common-objpfx)libc.so): Use $(shlib-lds).
5991 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5992 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5993
31fffa6b
RM
5994 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5995 DT_FLAGS/DT_FLAGS_1 with zero flags.
5996
4e34ac6a
RM
5997 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5998 linker script munging.
5999
fcfc776b
UD
60002011-07-02 Ulrich Drepper <drepper@gmail.com>
6001
6002 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6003 as 128-bit value.
6004 * crypt/sha512.c (sha512_process_block): Perform total addition using
6005 128-bit if possible.
6006 (__sha512_finish_ctx): Likewise.
6007 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6008 as 64-bit value.
6009 * crypt/sha256.c (SWAP64): Define.
6010 (sha256_process_block): Perform total addition using 64-bit if
6011 possible.
6012 (__sha256_finish_ctx): Likewise.
6013
99231d9a
UD
60142011-07-01 Ulrich Drepper <drepper@gmail.com>
6015
6016 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6018 * nscd/hstcache.c (cache_addhst): Likewise.
6019 * nscd/grpcache.c (cache_addgr): Likewise.
6020 * nscd/aicache.c (addhstaiX): Likewise
6021 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6022
445b4a53
TK
60232011-07-01 Thorsten Kukuk <kukuk@suse.de>
6024
6025 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6026 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6027 * nscd/hstcache.c (cache_addhst): Likewise.
6028 * nscd/grpcache.c (cache_addgr): Likewise.
6029 * nscd/aicache.c (addhstaiX): Likewise
6030
6d4d8e8e
AS
60312011-07-01 Andreas Schwab <schwab@redhat.com>
6032
6033 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6034 domain only when needed.
6035
89f654c5
AS
60362011-06-30 Andreas Schwab <schwab@redhat.com>
6037
6038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6039 is always restored.
6040
cf3b23ff
UD
60412011-06-29 Ulrich Drepper <drepper@gmail.com>
6042
6043 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6044 are re-adding the entry.
6045 * nscd/servicescache.c (cache_addserv): Likewise.
6046
751626f9
AJ
60472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6048
6049 * sysdeps/generic/dl-irel.h: fix protection against multiple
6050 inclusions.
6051 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6052
9113ea1f
UD
60532011-06-28 Ulrich Drepper <drepper@gmail.com>
6054
5c0b8d90
UD
6055 [BZ #12935]
6056 * malloc/memusage.sh: Fix quoting in message.
6057 * debug/xtrace.sh: Likewise.
6058
9113ea1f
UD
6059 * configure.in: Remove support for --experimental-malloc option, make
6060 it the default.
6061 * config.make.in: Likewise.
6062 * malloc/Makefile: Likewise.
6063
a4172181
AS
60642011-06-27 Andreas Schwab <schwab@redhat.com>
6065
6066 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6067 two-byte characters.
6068
78a7eee7
RM
60692011-06-27 Roland McGrath <roland@hack.frob.com>
6070
62bede13
RM
6071 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6072 AC_CACHE_CHECK invocation.
6073 * configure: Regenerated.
6074
78a7eee7
RM
6075 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6076
5ce33a62
UD
60772011-06-27 Ulrich Drepper <drepper@gmail.com>
6078
034807a9
UD
6079 [BZ #12350]
6080 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6081 bit from old_res_options.
6082
4902da17
UD
6083 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6084
5ce33a62
UD
6085 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6086 value type for setfct.
6087
c2344f56
L
60882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6089
6090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6091 __gettimeofday instead of gettimeofday.
6092
68468076
UD
60932011-06-26 Ulrich Drepper <drepper@gmail.com>
6094
6095 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6096
acb0d739
L
60972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6098
6099 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6100
6101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6102 info.
6103
8912479f
L
61042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6105
6106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6107 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6108 strcpy-sse2-unaligned strncpy-sse2-unaligned
6109 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6110 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6111 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6112 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6113 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6116 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6117 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6118 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6119 (STRCPY): Support SSE2 and SSSE3 versions.
6120
d5495a11
UD
61212011-06-24 Ulrich Drepper <drepper@gmail.com>
6122
6123 [BZ #12874]
6124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6125 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6126 kernels which artificially limit size of requests.
6127
0b1cbaae
L
61282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6129
6130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6131 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6132 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6133 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6134 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6135 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6136 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6137 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6140 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6141 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6142 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6143 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6144 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6146 Enable unaligned load optimization for Intel Core i3, i5 and i7
6147 processors.
6148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6149 Define.
6150 (index_Fast_Unaligned_Load): Define.
6151 (HAS_FAST_UNALIGNED_LOAD): Define.
6152
07f494a0
MP
61532011-06-23 Marek Polacek <mpolacek@redhat.com>
6154
6155 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6156
fa3fc0fe
UD
61572011-06-22 Ulrich Drepper <drepper@gmail.com>
6158
6159 [BZ #12907]
6160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6161 until it is clear that the information is realy needed.
6162 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6163
e12df166
AS
61642011-06-22 Andreas Schwab <schwab@redhat.com>
6165
6166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6167
852eb34d
UD
61682011-06-22 Ulrich Drepper <drepper@gmail.com>
6169
84e2a551
UD
6170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6171 /sys/devices/system/cpu/online if it is usable.
6172
852eb34d
UD
6173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6174 reading the information from the /proc filesystem to once a second.
6175
6e502e19
UD
61762011-06-21 Andreas Jaeger <aj@suse.de>
6177
6178 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6179 NULL after inclusion of kernel headers.
6180
75d39ff2
UD
61812011-06-21 Ulrich Drepper <drepper@gmail.com>
6182
51f9aa6a
UD
6183 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6184 calls to internal_setent.
6185
c0244a9d
UD
6186 [BZ #12885]
6187 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6188 addresses using gethostbyname4_r ignore IPv4 addresses.
6189
c5e3c2ae
UD
6190 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6191 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6192
75d39ff2
UD
6193 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6194
42675c6f
DM
61952011-06-20 David S. Miller <davem@davemloft.net>
6196
6197 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6198 inclusions.
6199 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6200
6201 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6202 (elf_irel): Use it.
6203 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6204 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6205 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6206 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6207 * sysdeps/x86_64/dl-irel.h: Likewise.
6208
6209 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6210 * elf/dl-sym.c: Likewise.
6211
57912a71
UD
62122011-06-15 Ulrich Drepper <drepper@gmail.com>
6213
6214 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6215 need to dereference resplen2.
6216
ee22793d
AS
62172011-06-14 Andreas Schwab <schwab@redhat.com>
6218
6219 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6220
a9e836b0
UD
62212011-06-15 Ulrich Drepper <drepper@gmail.com>
6222
77fb9117
UD
6223 * Makeconfig: Define vardbdir and inst_vardbdir.
6224 * nss/Makefile: Add rules to install db-Makefile.
6225
40c1b22c
UD
6226 * nss/nss_db/db-XXX.c: Cleanup.
6227
9f2da732
UD
6228 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6229 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6230 GLIBC_PRIVATE.
6231 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6232 * nss/makedb.c: Implement -g option to specify that value strings
6233 are generated and should not be added to table iterated over for
6234 get*ent calls.
6235 * nss/nss_db/db-initgroups.c: New file.
6236
82e9a1f7
UD
6237 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6238 interface.
6239
c41af17e
UD
6240 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6241 (internal_getgrouplist): Adjust to name change.
6242 Update use_initgroups_entry if this is not the first call.
6243 * nss/databases.def: Add initgroups entry.
6244
a9e836b0
UD
6245 * nss/makedb.c (compute_tables): Check result of multiple hash table
6246 sizes to minimize maximum chain length.
6247
2666d441
UD
62482011-06-14 Ulrich Drepper <drepper@gmail.com>
6249
6250 * Versions.def: Add entry for libnss_db.
6251 * shlib-versions: Likewise.
6252 * nss/Makefile: Add rules to build libnss_db.
6253 * nss/Versions: Add libnss_db information. Organize libnss_files
6254 entries better.
6255 * nss/db-Makefile: Add gshadow support. Change rules for the new
6256 makedb progra. Some minor improvements to generate smaller files.
6257 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6258 here from...
6259 * nss/makedb.c: ...here.
6260 Improve database format to be smaller and require less memory at
6261 runtime.
6262 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6263 db anymore.
6264 * nss/nss_db/db-netgrp.c: Likewise.
6265 * nss/nss_db/db-open.c: Likewise.
6266 * nss/nss_files/flies-XXX.x: Adjust comments.
6267 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6268 * nss/nss_files/files-grp.c: Likewise.
6269 * nss/nss_files/files-hosts.c: Likewise.
6270 * nss/nss_files/files-network.c: Likewise.
6271 * nss/nss_files/files-proto.c: Likewise.
6272 * nss/nss_files/files-pwd.c: Likewise.
6273 * nss/nss_files/files-rpc.c: Likewise.
6274 * nss/nss_files/files-service.c: Likewise.
6275 * nss/nss_files/files-sgrp.c: Likewise.
6276 * nss/nss_files/files-spwd.c: Likewise.
6277 * nss/nss_db/db-alias.c: Removed.
6278 * nss/nss_db/dummy-db.h: Removed.
6279
9ee76b5a
UD
62802011-06-02 Ulrich Drepper <drepper@gmail.com>
6281
6282 * nss/makedb.c: Rewritten to not use database library.
6283 * nss/Makefile: Update to build new makedb program.
6284
c71ca1f8
AJ
62852011-06-14 Andreas Jaeger <aj@suse.de>
6286
6287 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6288 memset declaration.
6289
3154bfb8
UD
62902011-06-10 Andreas Schwab <schwab@redhat.com>
6291
6292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6293 tmpbuf.
6294
b350afab
RM
62952011-06-10 Roland McGrath <roland@hack.frob.com>
6296
decd4e50
RM
6297 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6298 * elf/Makefile ($(objpfx)ld.so): Likewise.
6299
5615eaf2
RM
6300 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6301 Don't list ld.so twice in dependencies.
6302
6303 * posix/bug-regex31.c: Include <stdlib.h>.
6304
6305 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6306
6307 * nis/nss_compat/compat-spwd.c
6308 (getspent_next_nss_netgr): Remove unused variable.
6309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6310
6311 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6312 nonmembers" output to use the right array.
6313
6314 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6315
6316 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6317
6318 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6319 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6320 * catgets/gencat.c (read_input_file): Likewise.
6321 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6322
6323 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6324 variable definition inside #if's controlling its use.
6325
6326 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6327
6328 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6329
6330 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6331
6332 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6333 unreachable code.
6334
6335 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6336
b68e08db
RM
6337 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6338 * configure: Regenerated.
6339
b350afab
RM
6340 * Makerules: Revert last change.
6341 * elf/Makefile: Likewise.
6342
28368601
RM
63432011-06-09 Roland McGrath <roland@hack.frob.com>
6344
6345 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6346 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6347 (reloc-link): Likewise.
6348
11988f8f
UD
63492011-06-09 Ulrich Drepper <drepper@gmail.com>
6350
6351 * elf/Makefile: Add rules to build pldd.
6352 * elf/pldd.c: New file.
6353 * elf/pldd-xx.c: New file.
6354
e80fab37
UD
63552011-06-07 Ulrich Drepper <drepper@gmail.com>
6356
6357 * version.h: Update for 2.15 development version.
6358
9b849836
DM
63592011-06-07 David S. Miller <davem@davemloft.net>
6360
6361 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6362 ifuncs.
6363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6364 elf_machine_lazy_rel): Likewise.
6365 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6367 elf_machine_lazy_rel): Likewise.
6368 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6369 dl_hwcap via passed in argument.
6370 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6371 Likewise.
6372
5a31b283
AK
63732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6374
6375 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6376
069e52f8
RM
63772011-06-06 Roland McGrath <roland@hack.frob.com>
6378
6379 [BZ #12849]
6380 * manual/fdl-1.1.texi: New file, verbatim from:
6381 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6382 * manual/lgpl-2.1.texi: New file, verbatim from:
6383 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6384 * manual/Makefile (licenses): New variable, list those new file names.
6385 (texis): Use it.
6386 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6387
6388 * manual/fdl.texi: File removed.
6389 * manual/lesser.texi: File removed.
6390 * manual/libc.texinfo (Copying, Documentation License):
6391 Use new @include file names, put @appendix directive before @include.
6392
f16846a5
JJ
63932011-06-04 Jakub Jelinek <jakub@redhat.com>
6394
6395 [BZ #12841]
6396 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6397 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6398 (mq_open): Add __NTH.
6399
3d29045b
L
64002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6401
6402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6403 Assume Intel Core i3/i5/i7 processor if AVX is available.
6404
8c297311
UD
64052011-05-31 Ulrich Drepper <drepper@gmail.com>
6406
6407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6408 typo.
6409
c8fc0c91
UD
64102011-05-31 Andreas Schwab <schwab@redhat.com>
6411
6412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6413 memory. Use alloca_account. Fix memory leak when retrying.
6414
5b27a807
UD
64152011-05-31 Ulrich Drepper <drepper@gmail.com>
6416
356f8bc6
UD
6417 * version.h (RELEASE): Bump for 2.14 release.
6418 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6419
5b27a807
UD
6420 * config.make.in (RANLIB): Remove entry.
6421
01f16ab0
UD
64222011-05-30 Ulrich Drepper <drepper@gmail.com>
6423
41fce8bd
UD
6424 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6425 (libc.pot): Work around missing support for .ksh extension in xgettext.
6426
4769ae77
UD
6427 [BZ #12684]
6428 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6429 if both request failed.
6430 (send_dg): In case of server errors clear resplen or *resplen2.
6431
6b1e7d19
UD
6432 [BZ #12454]
6433 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6434 when there are multiple maps.
6435 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6436 (_dl_fini): Remove test here.
6437
01f16ab0
UD
6438 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6439
b1ebd700
UD
64402011-05-29 Ulrich Drepper <drepper@gmail.com>
6441
7ae22829
UD
6442 [BZ #12350]
6443 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6444 bit from old_res_options.
6445 (gaih_inet): Likewise.
6446
553149f6 6447 [BZ #11099]
18a84741 6448 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6449 as signed.
6450
652ffab1
UD
6451 * resolv/res_init.c (res_setoptions): Make the code more compact.
6452
16985fd0
UD
6453 [BZ #11558]
6454 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6455 set RES_USEVC.
6456
0464f746
UD
6457 [BZ #11634]
6458 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6459
7d17596c
UD
6460 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6461
cf6bbbd7
UD
6462 [BZ #11781]
6463 * malloc/malloc.h: Declare malloc hook variables as volatile.
6464
13f1ab36
UD
6465 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6466 in last patch.
6467
b1ebd700
UD
6468 [BZ #11799]
6469 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6470 raise in the comment.
80e2212d
UD
6471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6473 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 6474
ce67228d
UD
64752011-05-28 Ulrich Drepper <drepper@gmail.com>
6476
8887a920
UD
6477 [BZ #12811]
6478 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6479 grow the buffers more if it already has to be sufficient.
6480 (build_wcs_upper_buffer): Likewise.
6481 * posix/regexec.c (check_matching): Likewise.
6482 (clean_state_log_if_needed): Likewise.
6483 (extend_buffers): Don't enlarge buffers beyond size of the input
6484 buffer.
6485 Patches mostly by Emil Wojak <emil@wojak.eu>.
6486 * posix/bug-regex32.c: New file.
6487 * posix/Makefile (tests): Add bug-regex32.
6488
4f031072
UD
6489 * locale/findlocale.c (_nl_find_locale): Return right away if
6490 _nl_explode_name failed.
6491 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6492
d0478f0c
UD
6493 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6494
de81b246
UD
6495 * debug/xtrace.sh: Unify messages.
6496 * malloc/memusage.sh: Likewise.
6497
c738465a
UD
6498 [BZ #12813]
6499 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6500 time symbol from vDSO. Substitute with vsyscall if not available.
6501 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6502 __vdso_time.
6503
f1f929d7
UD
6504 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6505 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6506 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6507 Add sendmmsg and internal_sendmmsg.
6508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6509 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6511
ce67228d
UD
6512 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6513 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6515
e57420c6
UD
65162011-05-27 Ulrich Drepper <drepper@gmail.com>
6517
a8509ca5
UD
6518 [BZ #12813]
6519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6520 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6521 available.
6522 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6523 __vdso_getcpu.
6524
e57420c6
UD
6525 [BZ #12814]
6526 * iconvdata/Makefile (tests): Add bug-iconv9.
6527 * iconvdata/bug-iconv9.c: New file.
6528
4d07db15
AS
65292011-05-27 Andreas Schwab <schwab@redhat.com>
6530
6531 [BZ #12814]
6532 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6533
ea486f69
JJ
65342011-05-25 Jakub Jelinek <jakub@redhat.com>
6535
6536 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6537 (struct user_regs_struct): Change intcs field back to cs.
6538
6f038433
UD
65392011-05-25 Ulrich Drepper <drepper@gmail.com>
6540
6541 * po/ja.po: Update from translation team.
6542
67f86a25
UD
65432011-05-23 Ulrich Drepper <drepper@gmail.com>
6544
6545 [BZ #12795]
6546 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6547 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6548
def7fbd6
AS
65492011-05-20 Andreas Schwab <schwab@redhat.com>
6550
6551 * stdlib/longlong.h: Update from GCC.
6552
f50ef8f1
AS
65532011-05-23 Andreas Schwab <schwab@redhat.com>
6554
6555 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6556 parameter name.
6557 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6558 Add parameter name.
6559 (__sysconf): Pass it down.
6560
de7ce8f1
UD
65612011-05-22 Ulrich Drepper <drepper@gmail.com>
6562
f2962a71
UD
6563 [BZ #12671]
6564 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6565 some situations.
6566 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6567 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6568 add in in __libc_use_alloca calls. Adjust callers.
6569 (glob): Use malloc in some situations.
6570
de7ce8f1
UD
6571 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6572 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6573 pltexit.
6574
aec84f53
UD
65752011-05-21 Ulrich Drepper <drepper@gmail.com>
6576
05bb4a68
UD
6577 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6578 and CLOCK_BOOTTIME_ALARM.
6579
7ea72f99
UD
6580 [BZ #12782]
6581 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6582 is returned.
6583
7e4afad5
UD
6584 * string/_strerror.c (__strerror_r): Print negative errors as signed
6585 numbers.
6586
8e211fec
UD
6587 [BZ #12777]
6588 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6589 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6590 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6591
f7d82dc9
UD
6592 * configure.in: Fix typo in redirection and correct removal of test
6593 files in two cases.
6594
cc9e536d
UD
6595 [BZ #12788]
6596 * locale/setlocale.c (new_composite_name): Fix test to check for
6597 identical name of all categories.
6598
aec84f53
UD
6599 [BZ #12792]
6600 * libio/filedoalloc.c (local_isatty): New function.
6601 (_IO_file_doallocate): Use local_isatty.
6602 * stdio-common/perror.c (perror): In case a new stream is used
6603 forward the stream error.
6604 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6605 error flag.
6606
78e64fdc
RT
66072011-05-20 Ulrich Drepper <drepper@gmail.com>
6608
34a9094f
UD
6609 [BZ #11869]
6610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6611 alloca.
6612 * include/alloca.h (extend_alloca_account): Define.
6613
78e64fdc
RT
6614 [BZ #11857]
6615 * posix/regex.h: Fix comments with documentation of user-accessible
6616 fields after compilation and describe correct free'ing of pattern
6617 after re_compile_pattern.
6618 Patch by Reuben Thomas <rrt@sc3d.org>.
6619
457bddfc
RA
66202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6621
6622 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6623 and -mno-altivec to prevent the compiler from using Altivec and/or
6624 VSX instructions when the corresponding registers are not available.
6625
a4527b51
AS
66262011-05-19 Andreas Schwab <schwab@redhat.com>
6627
6628 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6629
ed690b2f
UD
66302011-05-19 Ulrich Drepper <drepper@gmail.com>
6631
6632 * libio/freopen.c (freopen): Use __dup2, not dup2.
6633 * libio/freopen64.c (freopen64): Likewise.
6634
8db73634
L
66352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6636
6637 [BZ #12775]
6638 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6639 * math/Makefile (tests): Add test-powl.
6640 (CFLAGS-test-powl.c): Define.
6641 * math/test-powl.c: New file.
6642
0a197a9d
L
66432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6644
6645 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6646
ee30c380
UD
66472011-05-17 Ulrich Drepper <drepper@gmail.com>
6648
6649 [BZ #11837]
6650 * iconvdata/gb18030.c: Update to GB18020-2005.
6651
6ce75379
UD
66522011-05-16 Ulrich Drepper <drepper@gmail.com>
6653
a4b89fd8
AR
6654 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6655 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6656 Patch by Aharon Robbins <arnold@skeeve.com>.
6657
ea389b12
UD
6658 [BZ #11892]
6659 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6660 on the stack.
6661
68a3f91f
UD
6662 [BZ #11895]
6663 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6664 through underflows.
6665
15cc7dd1
UD
6666 [BZ #12766]
6667 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6668 point to strings before performing equality test for error_one_per_line
6669 mode.
6670
f3799213
UD
6671 [BZ #11697]
6672 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6673
d79a9c94
UD
6674 [BZ #11820]
6675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6676 (struct user_fpregs_struct): Avoid __uint*_t types.
6677
56e5eb46
UD
6678 [BZ #6420]
6679 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6680 symbol info. Use it instead of calling _dl_addr locally.
6681 (lock_and_info): New function.
6682 (tr_freehook): Call lock_and_info and pass symbol info as additional
6683 parameter to tr_where.
6684 (tr_mallochook): Likewise.
6685 (tr_reallochook): Likewise.
6686 (tr_memalignhook): Likewise.
6687
6ce75379
UD
6688 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6689 used and couldn't be at all thread-safe.
6690
f8a3b5bf
UD
66912011-05-15 Ulrich Drepper <drepper@gmail.com>
6692
94b7cc37
UD
6693 * libio/freopen.c (freopen): Don't close old file descriptor
6694 before the new one is opened. Instead dup the new file descriptor
6695 to the old one after the new stream is created.
6696 * libio/freopen64.c (freopen64): Likewise.
6697 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6698 * libio/fileops.c (_IO_new_file_close_it): Handle new
6699 _IO_FLAGS2_NOCLOSE flag.
6700 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6701 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6702 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6703 _IO_FLAGS2_NOCLOSE flag.
6704 * include/unistd.h: Add hidden_proto for dup3.
6705 Define __have_dup3.
6706 * io/dup3.c: Define hidden symbol.
6707 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6708
bd25564e
UD
6709 [BZ #7101]
6710 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6711 when an incomplete long option is used.
6712 * posix/tst-getopt_long1.c: New file.
6713 * posix/Makefile (tests): Add tst-getopt_long1.
6714
c84cfef4
UD
6715 [BZ #10138]
6716 * scripts/config.guess: Update from autoconf-2.68.
6717 * scripts/config.sub: Likewise.
6718
3b85df27
UD
6719 [BZ #10157]
6720 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6721 tests into ...
6722 (has_cpuclock): ...this. New function.
6723 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6724 macro here based on has_cpuclock code.
6725
15a856b1
UD
6726 [BZ #10149]
6727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6728 First byte (not low byte) is now always NUL.
6729 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6730
05f399e6
UD
6731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6732 Use non-cancelable interfaces.
6733
10a52685 6734 [BZ #9809]
94ecc67d
UD
6735 * locale/iso-639.def: Add entry for Sorani.
6736
f8a3b5bf
UD
6737 [BZ #11901]
6738 * include/stdlib.h: Move include protection to the right place.
6739 Define abort_msg_s. Declare __abort_msg with it.
6740 * stdlib/abort.c (__abort_msg): Adjust type.
6741 * assert/assert.c (__assert_fail_base): New function. Majority
6742 of code from __assert_fail. Allocate memory for __abort_msg with
6743 mmap.
6744 (__assert_fail): Now call __assert_fail_base.
6745 * assert/assert-perr.c: Remove bulk of implementation. Use
6746 __assert_fail_base.
6747 * include/assert.hL Declare __assert_fail_base.
6748 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6749 mmap.
6750 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6751
1af4e298
UD
67522011-05-14 Ulrich Drepper <drepper@gmail.com>
6753
f8a3b5bf 6754 [BZ #11952]
d26dfc60
MG
6755 [BZ #12453]
6756 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6757 until all modules are registered in the DTV.
6758 * elf/Makefile: Add rules to build and run tst-tls19.
6759 * elf/tst-tls19.c: New file.
6760 * elf/tst-tls19mod1.c: New file.
6761 * elf/tst-tls19mod2.c: New file.
6762 * elf/tst-tls19mod3.c: New file.
6763 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6764
2fc54d6f
UD
6765 [BZ #12083]
6766 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6767 correctly.
6768
98d76b46
UD
6769 [BZ #12601]
6770 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6771 two-byte sequence errors.
6772 * iconvdata/Makefile (tests): Add bug-iconv8.
6773 * iconvdata/bug-iconv8.c: New file.
6774
da3c19ef
UD
6775 [BZ #12626]
6776 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6777 buf2 definition.
6778
ca408c15
UD
6779 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6780
d6f67f7d
UD
6781 [BZ #12432]
6782 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6783 (dummy_getcfa): New function.
6784 (init): Get _Unwind_GetCFA address, use dummy if not found.
6785 (backtrace_helper): In recursion check, also check whether CFA changes.
6786 (__backtrace): Completely initialize arg.
6787
1af4e298 6788 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
6789 storing incomplete byte sequence in state object. Avoid testing for
6790 guaranteed too small input if we know there is enough data available.
1af4e298 6791
da62f81b
AS
67922011-05-11 Andreas Schwab <schwab@redhat.com>
6793
6794 * Makeconfig (+link-pie): Indent.
6795 * Rules (binaries-pie): Define if $(have-fpie) and
6796 $(build-shared).
6797 (binaries-shared): Also filter out $(binaries-pie).
6798 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6799 * nscd/Makefile (others-pie): Add nscd.
6800 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6801 ($(objpfx)nscd): Remove command override.
6802 * login/Makefile (others-pie): Add pt_chown.
6803 ($(objpfx)pt_chown): Remove command override.
6804 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6805 remove command overrides.
6806
fcabc0f8
UD
68072011-05-13 Ulrich Drepper <drepper@gmail.com>
6808
20030ae6
UD
6809 * libio/tst_putwc.c: Fix error messages.
6810
fcabc0f8
UD
6811 [BZ #12724]
6812 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6813 currently writing and seek to current position when not.
6814 * libio/Makefile (tests): Add bug-fclose1.
6815 * libio/bug-fclose1.c: New file.
6816
320a5dc0
PB
68172011-05-12 Ulrich Drepper <drepper@gmail.com>
6818
6819 [BZ #12511]
6820 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6821 don't set DF_1_NODELETE here.
6822 (do_lookup_x): When entering new entry test for copy relocation
6823 and if necessary set DF_1_NODELETE flag.
6824 * elf/tst-unique4.cc: New file.
6825 * elf/tst-unique4.h: New file.
6826 * elf/tst-unique4lib.cc: New file.
6827 * elf/Makefile: Add rules to build and run tst-unique4.
6828 Patch by Piotr Bury <pbury@goahead.com>.
6829
22836f52
UD
68302011-05-11 Ulrich Drepper <drepper@gmail.com>
6831
f574184a
UD
6832 [BZ #12052]
6833 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6834
e1fb097f
UD
6835 [BZ #12625]
6836 * misc/mntent_r.c (addmntent): Flush the stream after the output
6837
22836f52
UD
6838 [BZ #12393]
6839 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6840 (is_trusted_path_normalize): Skip initial colon. Append slash
6841 to empty buffer. Duplicate is_trusted_path code but allow
6842 constructed patch to be prefix.
6843 (is_dst): Allow $ORIGIN followed by /.
6844 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6845 Correct testing of result of is_trusted_path_normalize
6846 (decompose_rpath): Fix warning.
6847
7b3b0b2a
UD
68482011-05-10 Ulrich Drepper <drepper@gmail.com>
6849
6850 [BZ #11257]
6851 * grp/initgroups.c (internal_getgrouplist): When we found the service
6852 list through the initgroups entry in nsswitch.conf do not always
6853 continue on a successful lookup. Don't always use the
eac80ce2 6854 __nss_group_database value if it is set.
7b3b0b2a
UD
6855 * nss/nsswitch.conf (initgroups): Change action for successful db
6856 lookup to continue for compatibility.
6857
2a81eaa5
UD
68582011-05-09 Ulrich Drepper <drepper@gmail.com>
6859
be97a69e
UD
6860 [BZ #11532]
6861 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6862 and CP774 modules.
6863 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6864 and CP774 modules.
6865 * iconvdata/tst-tables.sh: Likewise.
6866 * iconvdata/cp770.c: New file.
6867 * iconvdata/cp771.c: New file.
6868 * iconvdata/cp772.c: New file.
6869 * iconvdata/cp773.c: New file.
6870 * iconvdata/cp774.c: New file.
6871 * iconvdata/testdata/CP770: New file.
6872 * iconvdata/testdata/CP770..UTF8: New file.
6873 * iconvdata/testdata/CP771: New file.
6874 * iconvdata/testdata/CP771..UTF8: New file.
6875 * iconvdata/testdata/CP772: New file.
6876 * iconvdata/testdata/CP772..UTF8: New file.
6877 * iconvdata/testdata/CP773: New file.
6878 * iconvdata/testdata/CP773..UTF8: New file.
6879 * iconvdata/testdata/CP774: New file.
6880 * iconvdata/testdata/CP774..UTF8: New file.
6881
6882 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6883 END CHARMAP line.
6884 * iconvdata/gen-8bit-gap.sh: Likewise.
6885 * iconvdata/gen-8bit.sh: Likewise.
6886
c1e9e399
UD
6887 * locale/iso-639.def: Add ary entry.
6888
24c55fb3 6889 [BZ #11258]
96b4b1b0
UD
6890 * locale/C-translit.h.in: Add U20A1 transliteration.
6891
bdc2f971
KB
6892 [BZ #12178]
6893 * locale/iso-639.def: Add wae entry.
6894 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6895
2952b117
UD
6896 [BZ #12545]
6897 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6898 for n.
6899
2a81eaa5
UD
6900 [BZ #12711]
6901 * locale/C-translit.h.in: Add entry for U20B9.
6902 Patch by pravin.d.s@gmail.com.
6903
28377d1b
UD
69042011-05-08 Ulrich Drepper <drepper@gmail.com>
6905
7fb90fb8
UD
6906 [BZ #12713]
6907 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6908 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
6909 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6910 in rtld. Use *stat64.
7fb90fb8 6911 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 6912 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 6913 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
6914 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6915 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6916 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6917 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6918 __fstatat64 macros.
7fb90fb8
UD
6919 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6920 * dirent/rewinddir.c: Add libc_hidden_def.
6921 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 6922 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 6923
28377d1b
UD
6924 * include/dirent.h (__alloc_dir): Add flags parameter.
6925 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6926 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6927 __alloc_dir.
6928 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6929 from fdopendir if O_CLOEXEC is already set.
6930
66bdbaa4
AM
69312011-03-15 Alan Modra <amodra@gmail.com>
6932
6933 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6934 l_tls_firstbyte_offset non-zero. Save padding offset in
6935 l_tls_firstbyte_offset for later use.
6936 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6937 freeing static tls block.
6938
95721191
JN
69392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6940
6941 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6942 where #ifdef was intended. The intent is to prevent ARG_MAX from
6943 being defined by the kernel headers.
6944
f87dfb1f
UD
69452011-05-07 Ulrich Drepper <drepper@gmail.com>
6946
6947 [BZ #12734]
6948 * resolv/resolv.h: Define RES_NOTLDQUERY.
6949 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6950 no-tld-query and set RES_NOTLDQUERY.
6951 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6952 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6953 modern BIND to search name as TLD unless forbidden.
6954
47c3cd7a
UD
69552011-05-07 Petr Baudis <pasky@suse.cz>
6956 Ulrich Drepper <drepper@gmail.com>
6957
6958 [BZ #12393]
6959 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6960 (is_trusted_path): ...to here.
c1e9ea35 6961 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 6962 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 6963 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 6964
8a35c912
PP
69652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6966
6967 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6968 __BEGIN/__END_DECLS.
6969
acd41f47
UD
69702011-05-06 Ulrich Drepper <drepper@gmail.com>
6971
6972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6973 NSS_STATUS_NOTFOUND if no record was found.
6974
597df647
AS
69752011-05-05 Andreas Schwab <schwab@redhat.com>
6976
6977 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6978 (headers-not-in-tirpc): Remove rpc/netdb.h
6979 * resolv/netdb.h: Revert last change.
6980
b9af1301
PP
69812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6982
6983 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6984 circular dependency between libgcc.a and libc.a.
6985
4e34d5f5
AS
69862011-05-05 Andreas Schwab <schwab@redhat.com>
6987
6988 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6989 * nis/Makefile: Don't install rpcsvc/*.
6990 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6991 instead of <rpc/types.h>.
6992 (MAXHOSTNAMELEN): Define.
6993
00ee369c
AS
69942011-05-03 Andreas Schwab <schwab@redhat.com>
6995
6996 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6997
0b592a30
MB
69982011-04-28 Maciej Babinski <mbabinski@google.com>
6999
7000 [BZ #12714]
7001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7002 gethostbyname4_r when IPv6 results are possible.
7003
6e04cbbe
UD
70042011-05-02 Ulrich Drepper <drepper@gmail.com>
7005
7006 [BZ #12723]
7007 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7008 _PC_PIPE_BUF handling.
7009
e4ecafe0
BH
70102011-04-30 Bruno Haible <bruno@clisp.org>
7011
7012 [BZ #12717]
7013 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7014 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7015 to 'int'.
7016 * inet/getnameinfo.c (getnameinfo): Likewise.
7017
125ee683
UD
70182011-04-29 Ulrich Drepper <drepper@gmail.com>
7019
7020 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7021 to groups setting in database lookup.
7022 * nss/nsswitch.conf: Add initgroups entry.
7023
b722481a
EB
70242011-04-22 Ulrich Drepper <drepper@gmail.com>
7025
7026 [BZ #12685]
7027 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7028 mode string.
7029 Patch by Eric Blake <eblake@redhat.com>.
7030
4df46dbd
L
70312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7032
7033 * sunrpc/Makefile (need-export-routines): Add svc_run.
7034 (routines): Remove svc_run.
7035 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7036 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7037 * sunrpc/svc_run.c (svc_run): Likewise.
7038 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7039
e84142d2
UD
70402011-04-21 Ulrich Drepper <drepper@gmail.com>
7041
7042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7043 problem in reallocation in last patch.
7044
877175d8
UD
70452011-04-20 Ulrich Drepper <drepper@gmail.com>
7046
7047 * sunrpc/Makefile: Move inclusion of Rules.
7048
ab8eed78
UD
70492011-04-19 Ulrich Drepper <drepper@gmail.com>
7050
7051 * nss/nss_files/files-initgroups.c: New file.
7052 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7053 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7054 _nss_files_initgroups_dyn.
7055
e3d8f584
RS
70562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7057
7058 * elf/elf.h (R_ARM_IRELATIVE): Define.
7059
af190f45
UD
70602011-04-19 Ulrich Drepper <drepper@gmail.com>
7061
7062 * po/ru.po: Update from translation team.
7063
53cf59ef
UD
70642011-04-17 Ulrich Drepper <drepper@gmail.com>
7065
7066 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7067 dependencies.
7068
4c559bcd
MF
70692011-02-06 Mike Frysinger <vapier@gentoo.org>
7070
7071 [BZ #12653]
7072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7073 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7077
4420675c
AS
70782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7079
7080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7081 differing bytes.
7082 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7085
75ea32ab
UD
70862011-04-17 Ulrich Drepper <drepper@gmail.com>
7087
7088 [BZ #12420]
7089 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7090 storing it.
7091 * stdlib/bug-getcontext.c: New file.
7092 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7093
27390476
AK
70942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7095
7096 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7097 instructions into .machine "z9-109".
7098 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7099 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7100
10442705
AK
71012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7102
7103 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7104 between environment variables and auxiliary vector.
7105
7b57bfe5
UD
71062011-04-16 Ulrich Drepper <drepper@gmail.com>
7107
7108 * Makefile: Add rules to build linkobj/libc.so.
7109 * include/libc-symbols.h: Define libc_hidden_nolink.
7110 * include/rpc/auth.h: Mark functions which are to be hidden.
7111 * include/rpc/auth_des.h: Likewise.
7112 * include/rpc/auth_unix.h: Likewise.
7113 * include/rpc/clnt.h: Likewise.
7114 * include/rpc/des_crypt.h: Likewise.
7115 * include/rpc/key_prot.h: Likewise.
7116 * include/rpc/pmap_clnt.h: Likewise.
7117 * include/rpc/pmap_prot.h: Likewise.
7118 * include/rpc/pmap_rmt.h: Likewise.
7119 * include/rpc/rpc_msg.h: Likewise.
7120 * include/rpc/svc.h: Likewise.
7121 * include/rpc/svc_auth.h: Likewise.
7122 * include/rpc/xdr.h: Likewise.
7123 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7124 * nss/Makefile: Likewise.
7125 * sunrpc/Makefile: Don't install headers. Build library with normal
7126 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7127 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7128 for the compat linking library. Remove use of INTDEF/INTUSE.
7129 * sunrpc/auth_none.c: Likewise.
7130 * sunrpc/auth_unix.c: Likewise.
7131 * sunrpc/authdes_prot.c: Likewise.
7132 * sunrpc/authuxprot.c: Likewise.
7133 * sunrpc/clnt_gen.c: Likewise.
7134 * sunrpc/clnt_perr.c: Likewise.
7135 * sunrpc/clnt_raw.c: Likewise.
7136 * sunrpc/clnt_simp.c: Likewise.
7137 * sunrpc/clnt_tcp.c: Likewise.
7138 * sunrpc/clnt_udp.c: Likewise.
7139 * sunrpc/clnt_unix.c: Likewise.
7140 * sunrpc/des_crypt.c: Likewise.
7141 * sunrpc/des_soft.c: Likewise.
7142 * sunrpc/get_myaddr.c: Likewise.
7143 * sunrpc/key_call.c: Likewise.
7144 * sunrpc/key_prot.c: Likewise.
7145 * sunrpc/netname.c: Likewise.
7146 * sunrpc/pm_getmaps.c: Likewise.
7147 * sunrpc/pm_getport.c: Likewise.
7148 * sunrpc/pmap_clnt.c: Likewise.
7149 * sunrpc/pmap_prot.c: Likewise.
7150 * sunrpc/pmap_prot2.c: Likewise.
7151 * sunrpc/pmap_rmt.c: Likewise.
7152 * sunrpc/publickey.c: Likewise.
7153 * sunrpc/rpc_cmsg.c: Likewise.
7154 * sunrpc/rpc_common.c: Likewise.
7155 * sunrpc/rpc_dtable.c: Likewise.
7156 * sunrpc/rpc_prot.c: Likewise.
7157 * sunrpc/rpc_thread.c: Likewise.
7158 * sunrpc/rtime.c: Likewise.
7159 * sunrpc/svc.c: Likewise.
7160 * sunrpc/svc_auth.c: Likewise.
7161 * sunrpc/svc_authux.c: Likewise.
7162 * sunrpc/svc_raw.c: Likewise.
7163 * sunrpc/svc_run.c: Likewise.
7164 * sunrpc/svc_simple.c: Likewise.
7165 * sunrpc/svc_tcp.c: Likewise.
7166 * sunrpc/svc_udp.c: Likewise.
7167 * sunrpc/svc_unix.c: Likewise.
7168 * sunrpc/svcauth_des.c: Likewise.
7169 * sunrpc/xcrypt.c: Likewise.
7170 * sunrpc/xdr.c: Likewise.
7171 * sunrpc/xdr_array.c: Likewise.
7172 * sunrpc/xdr_float.c: Likewise.
7173 * sunrpc/xdr_intXX_t.c: Likewise.
7174 * sunrpc/xdr_mem.c: Likewise.
7175 * sunrpc/xdr_rec.c: Likewise.
7176 * sunrpc/xdr_ref.c: Likewise.
7177 * sunrpc/xdr_sizeof.c: Likewise.
7178 * sunrpc/xdr_stdio.c: Likewise.
7179
e6c61494
UD
71802011-04-10 Ulrich Drepper <drepper@gmail.com>
7181
7182 [BZ #12650]
7183 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7184 * sysdeps/ia64/dl-tls.h: Likewise.
7185 * sysdeps/powerpc/dl-tls.h: Likewise.
7186 * sysdeps/s390/dl-tls.h: Likewise.
7187 * sysdeps/sh/dl-tls.h: Likewise.
7188 * sysdeps/sparc/dl-tls.h: Likewise.
7189 * sysdeps/x86_64/dl-tls.h: Likewise.
7190 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7191
34fe483e
AS
71922011-03-14 Andreas Schwab <schwab@redhat.com>
7193
7194 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7195 rpath element also skip the following colon.
7196 (expand_dynamic_string_token): Add is_path parameter and pass
7197 down to DL_DST_REQUIRED and _dl_dst_substitute.
7198 (decompose_rpath): Call expand_dynamic_string_token with
7199 non-zero is_path. Ignore empty rpaths.
7200 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7201 with zero is_path.
7202
f12a32e6
AS
72032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7204
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7206 Make cancelable.
7207
38a7d692
UD
72082011-04-09 Ulrich Drepper <drepper@gmail.com>
7209
7210 [BZ #12655]
7211 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7212 Patch by Filipe David Manana <fdmanana@apache.org>.
7213
e451d22b
AS
72142011-04-07 Andreas Schwab <schwab@redhat.com>
7215
7216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7217 Maintain aligned stack.
7218 (CHECK_RSP): Remove unused macro.
7219
dedc7c7b
UD
72202011-04-03 Ulrich Drepper <drepper@gmail.com>
7221
7222 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7224
94521213
UD
72252011-04-02 Ulrich Drepper <drepper@gmail.com>
7226
7227 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7228
8cb700c0 7229 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7230
0354e355
L
72312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7232
7233 [BZ #12518]
7234 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7235 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7236 * sysdeps/x86_64/memmove.c: New file.
7237 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7238 (memcpy): Renamed to ...
7239 (__new_memcpy): This.
7240 (memcpy): Provide GLIBC_2_14 memcpy.
7241 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7242 (memcpy): Provide GLIBC_2_2_5 memcpy.
7243
8593482f
UD
72442011-04-01 Ulrich Drepper <drepper@gmail.com>
7245
7246 [BZ #12631]
7247 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7248
81a5726b
AS
72492011-03-30 Andreas Schwab <schwab@redhat.com>
7250
7251 * misc/syncfs.c: New file.
7252 * misc/Makefile (routines): Add syncfs.
7253 * posix/unistd.h: Declare syncfs.
7254 * sysdeps/unix/syscalls.list: Add syncfs.
7255
00e5419f
AS
72562011-04-01 Andreas Schwab <schwab@redhat.com>
7257
7258 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7259 open_by_handle_at.
7260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7265 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7267
748876bf
UD
72682011-04-01 Ulrich Drepper <drepper@gmail.com>
7269
658e451d
UD
7270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7272 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7277
748876bf
UD
7278 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7279 sync_file_range.c with -fexceptions.
7280 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7281 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7282 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7283 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7284 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7287 sync_file_range as cancellation point
7288 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7289 now a wrapper around __call_sync_file_range with cancellation handling.
7290 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7291 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7292 function name to __call_sync_file_range.
7293 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7294 Add call_sync_file_range.
748876bf 7295
6e63d5e1
AS
72962011-04-01 Andreas Schwab <schwab@redhat.com>
7297
7298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7299 bits/timex.h.
6e63d5e1 7300
46998f74
UD
73012011-04-01 Ulrich Drepper <drepper@gmail.com>
7302
4c1423ed
UD
7303 * iconv/iconv.h: Fix typo in comment.
7304 * io/fcntl.h: Likewise.
7305 * libio/stdio.h: Likewise.
7306 * posix/spawn.h: Likewise.
7307 * posix/unistd.h: Likewise.
7308 * stdlib/stdlib.h: Likewise.
7309 * time/time.h: Likewise.
7310 * wcsmbs/wchar.h: Likewise.
7311
158648c0
UD
7312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7313 open_by_handle): Add.
7314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7315 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7316 Augment a few comments.
7317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7319 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7322 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7323 open_by_handle.
7324
46998f74
UD
7325 * io/fcntl.h (AT_EMPTY_PATH): Define.
7326
83fe108b
UD
73272011-03-30 Ulrich Drepper <drepper@gmail.com>
7328
7329 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7330 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7331 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7332 to...
7333 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7334 * Versions.def: Add GLIBC_2.14.
7335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7336 Export.
83fe108b 7337
bb242059
UD
73382011-03-22 Ulrich Drepper <drepper@gmail.com>
7339
7340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7341 round counter.
7342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7343
c97a1282
L
73442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7345
7346 [BZ #12597]
7347 * string/test-strncmp.c (do_page_test): New function.
7348 (check2): Likewise.
7349 (test_main): Call check2.
7350 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7351
2a115601
UD
73522011-03-20 Ulrich Drepper <drepper@gmail.com>
7353
7354 [BZ #12587]
7355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7356 Handle cache information in CPU leaf 4.
7357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7358
8126d904
UD
73592011-03-18 Ulrich Drepper <drepper@gmail.com>
7360
042c49c6 7361 [BZ #12583]
8126d904
UD
7362 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7363 character representation.
7364 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7365
ccfe366e
RA
73662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7367
7368 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7369 END(__isnan) to END(__isnanf) to match function entry point/label
7370 EALIGN(__isnanf,...).
7371
c6e13027
JJ
73722011-03-10 Jakub Jelinek <jakub@redhat.com>
7373
7374 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7375
33f85a3f
UD
73762011-03-10 Ulrich Drepper <drepper@gmail.com>
7377
028478fa
UD
7378 [BZ #12510]
7379 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7380 copy from the symbol referenced in the relocation to initialize the
7381 used variable.
7382 Patch by Piotr Bury <pbury@goahead.com>.
7383 * elf/Makefile: Add rules to build and tst-unique3.
7384 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7385 * elf/tst-unique3.cc: New file.
7386 * elf/tst-unique3.h: New file.
7387 * elf/tst-unique3lib.cc: New file.
7388 * elf/tst-unique3lib2.cc: New file.
7389
33f85a3f
UD
7390 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7391
03592fc7
MF
73922011-03-10 Mike Frysinger <vapier@gentoo.org>
7393
7394 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7395 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7396 to _start.
03592fc7 7397
6a5ee102
UD
73982011-03-06 Ulrich Drepper <drepper@gmail.com>
7399
7400 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7401 to-be-loaded object along a path to loader is ld.so.
7402
7e4ba49c
HJ
74032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7404 Ulrich Drepper <drepper@gmail.com>
7405
7406 * sysdeps/x86_64/memset.S: After aligning destination, code
7407 branches to different locations depending on the value of
7408 misalignment, when multiarch is enabled. Fix this.
7409
74102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7411
7412 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7413 Set _x86_64_preferred_memory_instruction for AMD processsors.
7414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7415 Set bit_Prefer_SSE_for_memop for AMD processors.
7416
13a804de
UD
74172011-03-04 Ulrich Drepper <drepper@gmail.com>
7418
7419 * libio/fmemopen.c (fmemopen): Optimize a bit.
7420
9d25c392
AS
74212011-03-03 Andreas Schwab <schwab@redhat.com>
7422
7423 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7424
a5543c6a
RM
74252011-03-03 Roland McGrath <roland@redhat.com>
7426
7427 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7428
012d35f7
DM
74292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7430
7e4ba49c 7431 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7432 __bzero_ultra1 instead of __memset_ultra1.
7433
4bff6e01
AS
74342011-02-23 Andreas Schwab <schwab@redhat.com>
7435 Ulrich Drepper <drepper@gmail.com>
7436
7437 [BZ #12509]
7438 * include/link.h (struct link_map): Add l_orig_initfini.
7439 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7440 returning unsuccessfully.
7441 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7442 close of a file loaded at startup, restore the original l_initfini
7443 list.
7444 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7445 list, store the pointer.
7446 * elf/Makefile ($(objpfx)noload-mem): New rule.
7447 (noload-ENV): Define.
7448 (tests): Add $(objpfx)noload-mem.
7449 * elf/noload.c: Include <memcheck.h>.
7450 (main): Call mtrace. Close all opened handles.
7451
f2092faf
AS
74522011-02-17 Andreas Schwab <schwab@redhat.com>
7453
7454 [BZ #12454]
7455 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7456 dependencies are missing.
7457
6c8a2e88
ST
74582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7459
f2092faf 7460 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7461 Hurd needs munmap.
7462 * sysdeps/mach/hurd/ifreq.h: New file.
7463
84a42118
PB
74642011-01-27 Petr Baudis <pasky@suse.cz>
7465 Ulrich Drepper <drepper@gmail.com>
7466
071f805e 7467 [BZ 12445]#
84a42118
PB
7468 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7469 to extend_alloca().
7470 * stdio-common/bug23.c: New file.
7471 * stdio-common/Makefile (tests): Add bug23.
7472
e23fe25b
AS
74732010-09-28 Andreas Schwab <schwab@redhat.com>
7474 Ulrich Drepper <drepper@gmail.com>
7475
7476 [BZ #12489]
7477 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7478 before performing relro protection. At old place add assertion
7479 to make sure nothing changed.
7480
d3f02e10
NS
74812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7482 Glauber de Oliveira Costa <glommer@gmail.com>
7483
7484 * elf/elf.h: Add new ARM TLS relocs.
7485
d55fd7a5
RA
74862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7487
7488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7489 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7490 cast from r3.
7491 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7492 'tests' variable.
7493 * sysdeps/wordsize-64/tst-writev.c: New file.
7494
2206397e
RA
74952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7496
7497 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7498 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7499 insns in _dl_start to prevent a TOC reference before relocs are
7500 resolved.
7501
e9433893
UD
75022011-02-15 Ulrich Drepper <drepper@gmail.com>
7503
7504 [BZ #12469]
7505 * Makeconfig: Remove RANLIB definition.
7506 * Makerules: Don't use RANLIB.
7507 * aclocal.m4: Remove ranlib test.
7508 * configure.in: No need to check for ranlib.
7509 * elf/rtld-Rules: Don't use RANLIB.
7510
f75286c6
ST
75112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7512
8e31c82d
ST
7513 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7514 protection macro.
7515 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7516 inclusion protection macro.
7517
f75286c6
ST
7518 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7519 SIGRTMIN and SIGRTMAX and print information in that case only when
7520 SIGRTMIN is defined.
7521
c1d0e639
JJ
75222011-02-11 Jakub Jelinek <jakub@redhat.com>
7523
7524 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7525 arginfo fn returning -1.
7526
7527 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7528 and thousands string is zero terminated.
7529
edf9294e
AS
75302011-02-03 Andreas Schwab <schwab@redhat.com>
7531
7532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7533 sysdeps/unix/sysv/linux/bits/socket.h.
7534
2b7e92df
ST
75352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7536
edf9294e
AS
7537 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7538 (__CPU_COUNT): Remove old macros.
7539 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7540 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7541 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
7542 (__sched_cpualloc, __sched_cpufree): Add declarations.
7543
a4c7ea7b
UD
75442011-02-05 Ulrich Drepper <drepper@gmail.com>
7545
7546 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7547 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7548 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7549 (readdhstai): Return value of addhstaiX call.
7550 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7551 (addgrbyX): Return value returned by cache_addgr.
7552 (readdgrbyname): Return value returned by addgrbyX.
7553 (readdgrbygid): Likewise.
7554 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7555 (addpwbyX): Return value returned by cache_addpw.
7556 (readdpwbyname): Return value returned by addhstbyX.
7557 (readdpwbyuid): Likewise.
7558 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7559 (addservbyX): Return value returned by cache_addserv.
7560 (readdservbyname): Return value returned by addservbyX:
7561 (readdservbyport): Likewise.
7562 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7563 (addhstbyX): Return value returned by cache_addhst.
7564 (readdhstbyname): Return value returned by addhstbyX.
7565 (readdhstbyaddr): Likewise.
7566 (readdhstbynamev6): Likewise.
7567 (readdhstbyaddrv6): Likewise.
7568 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7569 (readdinitgroups): Return value returned by addinitgroupsX.
7570 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7571 (prune_cache): Keep track of timeout value of re-added entries.
7572 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7573 * nscd/nscd.h: Adjust prototypes of readd* functions.
7574
a0bf67cc
RM
75752011-02-04 Roland McGrath <roland@redhat.com>
7576
7577 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7578 (nis_stats): Likewise.
7579 * nis/nis_modify.c (nis_modify): Likewise.
7580 * nis/nis_remove.c (nis_remove): Likewise.
7581 * nis/nis_add.c (nis_add): Likewise.
7582
7583 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7584
7585 * posix/fnmatch_loop.c: Add some consts.
7586
7587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7588
435b95eb
L
75892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7590
7591 [BZ #12460]
7592 * config.make.in (config-cflags-novzeroupper): Define.
7593 * configure.in: Substitute libc_cv_cc_novzeroupper.
7594 * elf/Makefile (AVX-CFLAGS): Define.
7595 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7596 (CFLAGS-tst-auditmod4a.c): Likewise.
7597 (CFLAGS-tst-auditmod4b.c): Likewise.
7598 (CFLAGS-tst-auditmod6b.c): Likewise.
7599 (CFLAGS-tst-auditmod6c.c): Likewise.
7600 (CFLAGS-tst-auditmod7b.c): Likewise.
7601 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7602
8517b15e
UD
76032011-02-02 Ulrich Drepper <drepper@gmail.com>
7604
7605 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7606 function to the callback.
7607 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7608
10a656fe
AS
76092011-02-02 Andreas Schwab <schwab@redhat.com>
7610
7611 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7612 of errno.
7613
968dad0a
UD
76142011-01-19 Ulrich Drepper <drepper@gmail.com>
7615
9f94d2ea 7616 [BZ #11724]
968dad0a
UD
7617 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7618 of constructors.
7619 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7620 of destructors.
7621 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7622
7623 [BZ #11724]
7624 * elf/Makefile: Add rules to build and run new test.
7625 * elf/tst-initorder.c: New file.
7626 * elf/tst-initorder.exp: New file.
7627 * elf/tst-initordera1.c: New file.
7628 * elf/tst-initordera2.c: New file.
7629 * elf/tst-initordera3.c: New file.
7630 * elf/tst-initordera4.c: New file.
7631 * elf/tst-initorderb1.c: New file.
7632 * elf/tst-initorderb2.c: New file.
7633 * elf/tst-order-a1.c: New file.
7634 * elf/tst-order-a2.c: New file.
7635 * elf/tst-order-a3.c: New file.
7636 * elf/tst-order-a4.c: New file.
7637 * elf/tst-order-b1.c: New file.
7638 * elf/tst-order-b2.c: New file.
7639 * elf/tst-order-main.c: New file.
7640 New test case by George Gensure <werkt0@gmail.com>.
7641
86e92359
UD
76422010-10-01 Andreas Schwab <schwab@redhat.com>
7643
7644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7645 decoding ACE if AI_CANONIDN.
7646
5d5732b0
UD
76472011-01-18 Ulrich Drepper <drepper@gmail.com>
7648
7649 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7650
a77e8cbc
UD
76512011-01-17 Ulrich Drepper <drepper@gmail.com>
7652
6392473f
UD
7653 * version.h (RELEASE): Bump for 2.13 release.
7654 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7655
620a0529
UD
7656 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7657
18ba70a5
UD
7658 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7659 MADV_NOHUGEPAGE.
32465c3e
UD
7660 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7662 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7663 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7666
c0dafcf1
UD
7667 * posix/getconf.c: Update copyright year.
7668 * catgets/gencat.c: Likewise.
7669 * csu/version.c: Likewise.
7670 * debug/catchsegv.sh: Likewise.
7671 * debug/xtrace.sh: Likewise.
7672 * elf/ldconfig.c: Likewise.
7673 * elf/ldd.bash.in: Likewise.
7674 * elf/sprof.c (print_version): Likewise.
7675 * iconv/iconv_prog.c: Likewise.
7676 * iconv/iconvconfig.c: Likewise.
7677 * locale/programs/locale.c: Likewise.
7678 * locale/programs/localedef.c: Likewise.
7679 * malloc/memusage.sh: Likewise.
7680 * malloc/mtrace.pl: Likewise.
7681 * nscd/nscd.c (print_version): Likewise.
7682 * nss/getent.c: Likewise.
7683
a77e8cbc
UD
7684 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7685 PF_CAIF, and PF_ALG.
7686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7687
77e8bddf
AS
76882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7689
1f20b93a
AS
7690 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7691 (modules-names): Use them.
7692 (ifunc-test-modules, ifunc-pie-tests): Define.
7693 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7694 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7695 (test-extras): Likewise.
7696 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7697 $(compile-command.c).
7698 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7699 (all-built-dso): Define.
7700 (check-textrel.out, check-execstack.out): Depend on it.
7701
77e8bddf
AS
7702 * configure.in: Don't override --enable-multi-arch.
7703
bc425b33
UD
77042011-01-15 Ulrich Drepper <drepper@gmail.com>
7705
7706 [BZ #6812]
7707 * nscd/hstcache.c (tryagain): Define.
7708 (cache_addhst): Return tryagain not notfound for temporary errors.
7709 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7710 failed.
7711
794c3ad3
UD
77122011-01-14 Ulrich Drepper <drepper@gmail.com>
7713
70181fdd
UD
7714 [BZ #10563]
7715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7716 to make the syscall.
7717 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7718
794c3ad3
UD
7719 [BZ #12378]
7720 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7721 and fall back to matching as normal character if the string ends before
7722 the matching ']' is found. This is what POSIX requires.
7723 * posix/testfnm.c: Adjust test result.
7724 * posix/globtest.sh: Adjust test result. Add new test.
7725 * posix/tst-fnmatch.input: Likewise.
7726 * posix/tst-fnmatch2.c: Add new test.
7727
68dc9497
AS
77282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7729
7730 * elf/Makefile (check-execstack): Revert last change. Depend on
7731 check-execstack.h.
7732 (check-execstack.h): New target.
7733 (generated): Add check-execstack.h.
7734 * elf/check-execstack.c: Include "check-execstack.h".
7735 (main): Revert last change.
7736 (handle_file): Return zero if GNU_STACK is absent and
7737 DEFAULT_STACK_PERMS doesn't include PF_X.
7738
451f001b
UD
77392011-01-13 Ulrich Drepper <drepper@gmail.com>
7740
cfa28e56
UD
7741 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7742 in child fails because the descriptor is already closed.
8cf8ce17
UD
7743 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7744 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7745 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 7746
1086d70d
UD
7747 [BZ #12397]
7748 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7749 syscall.
7750
451f001b
UD
7751 [BZ #10484]
7752 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7753 temporary buffer used to handle multi lookups locally.
a85b5cb4 7754 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 7755
08769175
UD
77562011-01-12 Ulrich Drepper <drepper@gmail.com>
7757
7758 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7759 loader is ld.so.
7760
5e49c52e
UD
77612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7762
7763 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7764 alignment for SSE2.
7765
60522a5f
UD
77662011-01-12 Ulrich Drepper <drepper@gmail.com>
7767
7768 [BZ #12394]
7769 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7770 characters. When rounding increased number of integer digits recompute
7771 number of groups.
7772 * stdio-common/tst-grouping.c: New file.
7773 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7774
f257bbd7
UD
77752011-01-09 Ulrich Drepper <drepper@gmail.com>
7776
7777 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7778 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7779
7780 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7781 void.
7782 * bits/select.h: Likewise.
7783
fa9c15cb
UD
77842011-01-08 Ulrich Drepper <drepper@gmail.com>
7785
7786 * po/ja.po: Update from translation team.
7787
16c2895f
DM
77882011-01-04 David S. Miller <davem@sunset.davemloft.net>
7789
7790 [BZ #11155]
7791 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7792 implementation just like for lxstat, fxstatat, et al.
7793
2543fef2
JM
77942010-12-27 Jim Meyering <meyering@redhat.com>
7795
7796 [BZ #12348]
7797 * posix/regexec.c (build_trtable): Return failure indication upon
7798 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7799
98727dbe
UD
78002010-12-25 Ulrich Drepper <drepper@gmail.com>
7801
5bd6dc5c
UD
7802 [BZ #12201]
7803 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7804 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7805 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7806 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7807
97983464
UD
7808 [BZ #12207]
7809 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7810
98727dbe
UD
7811 [BZ #12204]
7812 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7813 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7814
4a531bb0
L
78152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7816
7817 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7818 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7819 script has SORT_BY_INIT_PRIORITY.
7820 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7821 NO_CTORS_DTORS_SECTIONS is defined.
7822 * elf/soinit.c: Likewise.
7823 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7824 NO_CTORS_DTORS_SECTIONS is defined.
7825 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7826 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7827 * sysdeps/sh/init-first.c: Likewise.
7828 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7829
07eb4b71
UD
78302010-12-24 Ulrich Drepper <drepper@gmail.com>
7831
7832 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7833 always use the slow path.
7834
30950a5f
RA
78352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7836
7837 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7838 similar rule which adds the sysdep directories to the header search in
7839 order to pick up the correct platform stackinfo.h.
7840 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7841 perform test if it is, otherwise return successfully without testing.
7842 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7843 DEFAULT_STACK_PERMS define in stackinfo.h.
7844 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7845 defined in stackinfo.h.
7846 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7847 DEFAULT_STACK_PERMS defined in stackinfo.h.
7848 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7849 * sysdeps/ia64/stackinfo.h: Likewise.
7850 * sysdeps/s390/stackinfo.h: Likewise.
7851 * sysdeps/sh/stackinfo.h: Likewise.
7852 * sysdeps/sparc/stackinfo.h: Likewise.
7853 * sysdeps/x86_64/stackinfo.h: Likewise.
7854 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7855 PF_X for powerpc64. Retain PF_X for powerpc32.
7856
db753e2c
UD
78572010-12-19 Ulrich Drepper <drepper@gmail.com>
7858
14b697f7
UD
7859 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7860 accurately.
db753e2c
UD
7861 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7862 GETDENTS_64BIT_ALIGNED.
7863
28300719
UD
78642010-12-14 Ulrich Drepper <dreper@gmail.com>
7865
14b697f7 7866 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 7867
4f197237
AS
78682010-12-10 Andreas Schwab <schwab@redhat.com>
7869
dbb0472f
AS
7870 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7871 _GNU_SOURCE.
7872
4f197237
AS
7873 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7874 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7875 Remove __restrict.
7876 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7877 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7878
fb88ac72
UD
78792010-12-09 Ulrich Drepper <drepper@gmail.com>
7880
7881 [BZ #11655]
7882 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7883 are initialized.
7884
42acbb92
JJ
78852010-12-09 Jakub Jelinek <jakub@redhat.com>
7886
7887 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7888
c038d98d
UD
78892010-12-03 Ulrich Drepper <drepper@gmail.com>
7890
7891 * po/it.po: Update from translation team.
7892
3a4a2499
L
78932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7894
7895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7896 unused codes.
7897
1e24cf6e
UD
78982010-11-30 Ulrich Drepper <drepper@gmail.com>
7899
7900 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7901
a7690819
AS
79022010-11-24 Andreas Schwab <schwab@redhat.com>
7903
7904 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7905 specially.
7906 (gaih_getanswer_slice): Likewise.
7907
3bf8d1b1
JJ
79082010-10-20 Jakub Jelinek <jakub@redhat.com>
7909
7910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7911
6db52fbb
PB
79122010-05-31 Petr Baudis <pasky@suse.cz>
7913
7914 [BZ #11149]
7915 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7916 silently even in the chroot mode.
7917
eaca7569
UD
79182010-11-22 Ulrich Drepper <drepper@gmail.com>
7919
7920 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7921 last patch a bit. Pretty printing
7922
3056dcdb
UD
79232010-05-31 Petr Baudis <pasky@suse.cz>
7924
7925 [BZ #10085]
7926 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7927 initialization of skip_initgroups_dyn.
7928
cf7c9078
UD
79292010-11-19 Ulrich Drepper <drepper@gmail.com>
7930
7931 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7933
a1fb5e3e
UD
79342010-11-16 Ulrich Drepper <drepper@gmail.com>
7935
7936 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7937
3540d66b
AS
79382010-11-11 Andreas Schwab <schwab@redhat.com>
7939
7940 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7941 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7942 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7943 ($(objpfx)tst-fnmatch-mem): New rule.
7944 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7945 * posix/tst-fnmatch.c (main): Call mtrace.
7946
13b69574
L
79472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7948
7949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7950 Support Intel processor model 6 and model 0x2c.
7951
da93d214
LM
79522010-11-10 Luis Machado <luisgpm@br.ibm.com>
7953
7954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7955 signed comparison.
7956
8ca52c6e
L
79572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7958
7959 [BZ #12205]
7960 * string/test-strncasecmp.c (check_result): New function.
7961 (do_one_test): Use it.
7962 (check1): New function.
7963 (test_main): Use it.
7964 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7965 Support strcasecmp and strncasecmp.
7966
69da074d
UD
79672010-11-08 Ulrich Drepper <drepper@gmail.com>
7968
7969 [BZ #12194]
7970 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7972
ff02d528
L
79732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7974
7975 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7976 IFUNC support.
7977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7978 memset-x86-64.
7979 * sysdeps/x86_64/multiarch/bzero.S: New file.
7980 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7981 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7982 * sysdeps/x86_64/multiarch/memset.S: New file.
7983 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7985 Set bit_Prefer_SSE_for_memop for Intel processors.
7986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7987 Define.
7988 (index_Prefer_SSE_for_memop): Define.
7989 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7990
344d0b54
LM
79912010-11-04 Luis Machado <luisgpm@br.ibm.com>
7992
7993 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7994 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7995
c0dde15b
UD
79962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7997
7998 [BZ #12191]
7999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8000 (__x86_64_raw_data_cache_size_half): Likewise.
8001 (__x86_64_raw_shared_cache_size): Likewise.
8002 (__x86_64_raw_shared_cache_size_half): Likewise.
8003
8004 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8005 (__x86_64_raw_data_cache_size_half): Likewise.
8006 (__x86_64_raw_shared_cache_size): Likewise.
8007 (__x86_64_raw_shared_cache_size_half): Likewise.
8008 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8009 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8010 and __x86_64_raw_shared_cache_size_half. Round
8011 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8012 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8013 to multiple of 256 bytes.
8014
0e516e0e
MS
80152010-11-03 Ulrich Drepper <drepper@gmail.com>
8016
8017 [BZ #12167]
8018 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8019 of inacessible symlinks. Verify result of symlink before returning it.
8020 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8021 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8022
0e012e87
ER
80232010-10-28 Erich Ritz <erichritz@gmail.com>
8024
8025 * math/math.h (isinf): Fix typo in comment.
8026
de0ff7bc
UD
80272010-11-01 Ulrich Drepper <drepper@gmail.com>
8028
8029 * po/da.po: Update from translation team.
8030
fa41c84d
UD
80312010-10-26 Ulrich Drepper <drepper@gmail.com>
8032
8033 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8034 is added to the list.
8035
f0967738
AK
80362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8037 Ulrich Drepper <drepper@gmail.com>
8038
8039 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8040 the global list here. Move code to...
8041 (_dl_add_to_namespace_list): ...here. New function.
8042 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8043 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8044 * elf/dl-load.c (lose): Don't remove the element from the list.
8045 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8046 (_dl_map_object): Likewise.
8047
80482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
8049
8050 [BZ #12159]
8051 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8052 into all bytes of SSE register.
8053 Patch by Richard Li <richardpku@gmail.com>.
8054
f0967738 80552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
8056
8057 [BZ #12140]
8058 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8059 perturbing.
8060
d0b9e94f
MB
80612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8062
8063 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8064 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8066 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8068 submachine.
8069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8070
8e9f92e9
AS
80712010-10-22 Andreas Schwab <schwab@redhat.com>
8072
8073 * include/dlfcn.h (__RTLD_SECURE): Define.
8074 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8075 mode & __RTLD_SECURE instead.
8076 (open_path): Rename preloaded parameter to secure.
8077 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8078 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8079 * elf/dl-deps.c (openaux): Likewise.
8080 * elf/rtld.c (struct map_args): Remove is_preloaded.
8081 (map_doit): Don't use it.
8082 (dl_main): Likewise.
8083 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8084 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8085
bc96fbda
AS
80862010-09-09 Andreas Schwab <schwab@redhat.com>
8087
8088 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8089 (sysd-rules-targets): Remove duplicates.
8090 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8091 rtld-%.$o dependency.
8092
22cd1c9b
AS
80932010-10-18 Andreas Schwab <schwab@redhat.com>
8094
8095 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8096 _dl_map_object do it.
8097
18edac48
UD
80982010-10-19 Ulrich Drepper <drepper@gmail.com>
8099
8100 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8101 fast fma builtins, define the macros in the C99 standard.
8102 (FP_FAST_FMAF): Likewise.
8103 (FP_FAST_FMAL): Likewise.
8104 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8105
8106 * bits/mathdef.h: Update copyright year.
8107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8108
d2050124
MM
81092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8110
8111 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8112 builtins, define the macros in the C99 standard.
8113 (FP_FAST_FMAF): Likewise.
8114 (FP_FAST_FMAL): Likewise.
8115 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8116 multiply/add.
8117 (FP_FAST_FMAF): Likewise.
8118
475facd1
JJ
81192010-10-15 Jakub Jelinek <jakub@redhat.com>
8120
8121 [BZ #3268]
8122 * math/libm-test.inc (fma_test): Some new testcases.
8123 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8124 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8125 y and infinite z. Do multiplication by C already in long double.
8126 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8128 y and infinite z. Do bitwise or of inexact bit into u.d.
8129 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8130 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8131 * sysdeps/i386/fpu/s_fma.S: Removed.
8132 * sysdeps/i386/fpu/s_fmal.S: Removed.
8133
7c08a05c
JJ
81342010-10-16 Jakub Jelinek <jakub@redhat.com>
8135
8136 [BZ #3268]
8137 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8139 computation is not scheduled after fetestexcept. Fix value
8140 of minimum denormal long double.
8141
f3f7372d
JJ
81422010-10-14 Jakub Jelinek <jakub@redhat.com>
8143
8144 [BZ #3268]
8145 * math/libm-test.inc (fma_test): Add some more tests.
8146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8147 correctly.
8148
14d43591
AS
81492010-10-15 Andreas Schwab <schwab@redhat.com>
8150
8151 * scripts/data/localplt-s390-linux-gnu.data: New file.
8152 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8153
5e908464
JJ
81542010-10-13 Jakub Jelinek <jakub@redhat.com>
8155
8156 [BZ #3268]
8157 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8158 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8159 instead of dbl-64.
8160 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8161 inlines.
8162 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8164 if one of x and y is very large and the other is subnormal.
8165 * sysdeps/s390/fpu/s_fmaf.c: New file.
8166 * sysdeps/s390/fpu/s_fma.c: New file.
8167 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8168 * sysdeps/powerpc/fpu/s_fma.S: New file.
8169 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8170 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8171 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8172
81732010-10-12 Jakub Jelinek <jakub@redhat.com>
8174
8175 [BZ #3268]
8176 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8177 fma tests.
8178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8179 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8180 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8181 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8182 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8183 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8184 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8185
b833d51f
UD
81862010-10-12 Ulrich Drepper <drepper@redhat.com>
8187
8188 [BZ #12078]
8189 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8190 * posix/bug-regex31.input: Add test case.
8191
1751705d
UD
81922010-10-11 Ulrich Drepper <drepper@gmail.com>
8193
e9b9cbf5
UD
8194 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8195 * posix/bug-regex31.input: New file.
8196
8197 [BZ #12078]
8198 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8199 (parse_sub_exp): Fix last change, use postorder.
8200
ef06edbe
UD
8201 * posix/bug-regex31.c: New file.
8202 * posix/Makefile: Add rules to build and run bug-regex31.
8203
a129c80d
UD
8204 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8205
8206 [BZ #12078]
8207 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8208
b76b818e
UD
8209 [BZ #12108]
8210 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8211 to have entries in sys_siglist.
8212
1751705d
UD
8213 [BZ #12093]
8214 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8215 be NULL.
8216
9ff8d36f
JJ
82172010-10-07 Jakub Jelinek <jakub@redhat.com>
8218
8219 [BZ #3268]
8220 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8221 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8222 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8223 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8224 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8225 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8226 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8227 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8228 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8229 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8230 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8231 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8232 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8233 * math/ftestexcept.c (fetestexcept): Likewise.
8234 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8235 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8236 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8237 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8238 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8239 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8240 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8241
af325969
UD
82422010-10-11 Ulrich Drepper <drepper@gmail.com>
8243
c579b202 8244 [BZ #12107]
af325969
UD
8245 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8246 newline.
8247
67a67b95
UD
82482010-10-06 Ulrich Drepper <drepper@gmail.com>
8249
8250 * string/bug-strstr1.c: New file.
8251 * string/Makefile: Add rules to build and run bug-strstr1.
8252
5fb308bc
EB
82532010-10-05 Eric Blake <eblake@redhat.com>
8254
8255 [BZ #12092]
8256 * string/str-two-way.h (two_way_long_needle): Always clear memory
8257 when skipping input due to the shift table.
8258
45db99c7
UD
82592010-10-03 Ulrich Drepper <drepper@gmail.com>
8260
3b111893
UD
8261 [BZ #12005]
8262 * malloc/mcheck.c: Handle large requests.
8263
45db99c7
UD
8264 [BZ #12077]
8265 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8266 for strncmp and strncasecmp.
8267 * string/stratcliff.c: Add tests for strcmp and strncmp.
8268 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8269
cf7a1eb8
NI
82702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8271
8272 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8273 __set_fpscr.
8274
6484ba5e
AJ
82752010-09-30 Andreas Jaeger <aj@suse.de>
8276
8277 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8278 (CGROUP_SUPER_MAGIC): Define.
8279 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8280 Handle btrfs and cgroup file systems.
8281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8282 Likewise.
8283
91c42559
LM
82842010-09-27 Luis Machado <luisgpm@br.ibm.com>
8285
8286 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8287 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8288
87a97932
AK
82892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8290
8291 [BZ #12067]
8292 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8293 trying to locate the ELF header.
8294
c21cc9bc
AS
82952010-09-27 Andreas Schwab <schwab@redhat.com>
8296
8297 [BZ #11611]
8298 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8299 Mask out sign-bit copies when constructing f_fsid.
8300
315970f6
PB
83012010-09-24 Petr Baudis <pasky@suse.cz>
8302
8303 * debug/stack_chk_fail_local.c: Add missing licence exception.
8304 * debug/warning-nop.c: Likewise.
8305
1ac7a2c7
JM
83062010-09-15 Joseph Myers <joseph@codesourcery.com>
8307
8308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8309 implementing getdents64 using getdents syscall, set d_type if
8310 __ASSUME_GETDENTS32_D_TYPE.
8311
56801c50
AS
83122010-09-16 Andreas Schwab <schwab@redhat.com>
8313
8314 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8315 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8316
dda51327
UD
83172010-09-21 Ulrich Drepper <drepper@redhat.com>
8318
8319 [BZ #12037]
8320 * posix/unistd.h: Undo change of feature selection for ftruncate from
8321 2010-01-11.
8322
8ffcee4a
UD
83232010-09-20 Ulrich Drepper <drepper@redhat.com>
8324
a545ecd9 8325 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8326 detection.
8327
e24f0a8b
AS
83282010-09-20 Andreas Schwab <schwab@redhat.com>
8329
8330 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8331 fanotify_mark.
8332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8333
7291c56f
AS
83342010-09-14 Andreas Schwab <schwab@redhat.com>
8335
8336 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8337 variables after CHECK_SP call.
8338 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8339
bc5fb037
AS
83402010-09-13 Andreas Schwab <schwab@redhat.com>
8341 Ulrich Drepper <drepper@redhat.com>
8342
8343 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8344 re-relocationg ld.so.
8345 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8346 _dl_init_paths call.
8347 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8348 here anymore.
8349
e66e7419
UD
83502010-09-14 Ulrich Drepper <drepper@redhat.com>
8351
8352 * resolv/res_init.c (__res_vinit): Count the default server we added.
8353
c044aa75
CLT
83542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8355 Ulrich Drepper <drepper@redhat.com>
8356
8357 [BZ #11968]
8358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8359 (____longjmp_chk): Use %ebx for saving value across system call.
8360 Add unwind info.
8361
32cf4069
AS
83622010-09-06 Andreas Schwab <schwab@redhat.com>
8363
8364 * manual/Makefile: Don't mix pattern rules with normal rules.
8365
817328ee
AS
83662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8367
8368 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8369 operation.
8370 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8371 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8372 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8373 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8375 Likewise.
8376
29fddf61
UD
83772010-09-04 Ulrich Drepper <drepper@redhat.com>
8378
8379 [BZ #11979]
8380 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8381 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8382
0959ffc9
UD
83832010-09-02 Ulrich Drepper <drepper@redhat.com>
8384
8385 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8386 * sysdeps/x86_64/addmul_1.S: Likewise.
8387 * sysdeps/x86_64/lshift.S: Likewise.
8388 * sysdeps/x86_64/mul_1.S: Likewise.
8389 * sysdeps/x86_64/rshift.S: Likewise.
8390 * sysdeps/x86_64/sub_n.S: Likewise.
8391 * sysdeps/x86_64/submul_1.S: Likewise.
8392
ece29840
ST
83932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8394
0959ffc9
UD
8395 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8396 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8397 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8398 * bits/sched.h [__need_schedparam]
ece29840 8399 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8400 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8401 (__defined_schedparam): Define to 1.
ece29840
ST
8402 (__sched_param): New structure, identical to sched_param.
8403 (__need_schedparam): Undefine.
8404
e53a31fe
MF
84052010-08-31 Mike Frysinger <vapier@gentoo.org>
8406
fdc0c10d
MF
8407 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8408 (epoll_create1): Declare.
8409
e53a31fe
MF
8410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8411
a726d796
AS
84122010-08-31 Andreas Schwab <schwab@redhat.com>
8413
8414 [BZ #7066]
8415 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8416 shifting retval into place.
8417
2f3e3dc7
UD
84182010-09-01 Ulrich Drepper <drepper@redhat.com>
8419
f2933da9
UD
8420 * nis/rpcsvc/nis.h: Update copyright notice.
8421 * nis/rpcsvc/nis.x: Likewise.
8422 * nis/rpcsvc/nis_callback.h: Likewise.
8423 * nis/rpcsvc/nis_callback.x: Likewise.
8424 * nis/rpcsvc/nis_object.x: Likewise.
8425 * nis/rpcsvc/nis_tags.h: Likewise.
8426 * nis/rpcsvc/yp.h: Likewise.
8427 * nis/rpcsvc/yp.x: Likewise.
8428 * nis/rpcsvc/ypupd.h: Likewise.
8429 * nis/yp_xdr.c: Likewise.
8430 * nis/ypupdate_xdr.c: Likewise.
8431
2f3e3dc7
UD
8432 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8433 mainly the body of pmap_getport. Add parameters to specify timeouts.
8434 (pmap_getport): Use __libc_rpc_getport.
8435 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8436 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8437 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8438
f3dcc2f9
AS
84392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8440
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8442 fanotify_mark.
8443
6d34eb5b
RM
84442010-08-27 Roland McGrath <roland@redhat.com>
8445
8446 * sysdeps/i386/i686/multiarch/Makefile
8447 (CFLAGS-varshift.c): New variable.
8448
9ea3de11
UD
84492010-08-27 Ulrich Drepper <drepper@redhat.com>
8450
c96d23fc
UD
8451 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8452 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8453
9ea3de11
UD
8454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8455
8456 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8457
623aac7f
L
84582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8459
8460 * sysdeps/x86_64/strlen.S: Unroll the loop.
8461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8462 strlen-sse2 strlen-sse2-bsf.
8463 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8464 __strlen_no_bsf if bit_Slow_BSF is set.
8465 (__strlen_sse42): Removed.
8466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8467 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8468
8b2b7715
RM
84692010-08-25 Roland McGrath <roland@redhat.com>
8470
8471 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8472 * sysdeps/x86_64/multiarch/varshift.c: New file.
8473 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8474 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8475 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8476 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8477
e73015f2
L
84782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8479
8480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8481 strlen-sse2 strlen-sse2-bsf.
8482 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8483 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8484 (__strlen_sse2): Removed.
8485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8488 bit_Slow_BSF for Atom.
8489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8490 (index_Slow_BSF): Define.
8491 (HAS_SLOW_BSF): Define.
8492
df24a73e
UD
84932010-08-25 Ulrich Drepper <drepper@redhat.com>
8494
8495 [BZ #10851]
8496 * resolv/res_init.c (__res_vinit): When no server address at all
8497 is given default to loopback.
8498
f2ac4868
RM
84992010-08-24 Roland McGrath <roland@redhat.com>
8500
09055553
RM
8501 * configure.in: Remove config-name.h generation.
8502 * configure: Regenerated.
8503 * config-name.in: File removed.
8504 * scripts/config-uname.sh: New file.
8505 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8506 ($(objdir)config-name.h): New target.
8507
f2ac4868
RM
8508 * sunrpc/rpc_parse.h: Avoid nested comment.
8509
73f27d5e
RH
85102010-08-24 Richard Henderson <rth@redhat.com>
8511 Ulrich Drepper <drepper@redhat.com>
8512 H.J. Lu <hongjiu.lu@intel.com>
8513
8514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8516 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8517 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8518 _mm_alignr_epi8 with _mm_loadu_si128.
8519 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8520 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8521 (__m128i_shift_right): Removed.
8522 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8523 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8524 * sysdeps/x86_64/multiarch/varshift.h: New file.
8525 * sysdeps/x86_64/multiarch/varshift.S: New file.
8526
84b9230c
MF
85272010-08-21 Mike Frysinger <vapier@gentoo.org>
8528
8529 * configure.in: Move assembler checks to before sysdep dir checking.
8530
9bbd0ddc
PB
85312010-08-20 Petr Baudis <pasky@suse.cz>
8532
8533 * LICENSES: Sync the sunrpc license.
8534
9da4bb31
UD
85352010-08-19 Ulrich Drepper <drepper@redhat.com>
8536
a7ab6ec8
UD
8537 * sunrpc/auth_des.c: Update copyright notice once again.
8538 * sunrpc/auth_none.c: Likewise.
8539 * sunrpc/auth_unix.c: Likewise.
8540 * sunrpc/authdes_prot.c: Likewise.
8541 * sunrpc/authuxprot.c: Likewise.
8542 * sunrpc/bindrsvprt.c: Likewise.
8543 * sunrpc/clnt_gen.c: Likewise.
8544 * sunrpc/clnt_perr.c: Likewise.
8545 * sunrpc/clnt_raw.c: Likewise.
8546 * sunrpc/clnt_simp.c: Likewise.
8547 * sunrpc/clnt_tcp.c: Likewise.
8548 * sunrpc/clnt_udp.c: Likewise.
8549 * sunrpc/clnt_unix.c: Likewise.
8550 * sunrpc/des_crypt.c: Likewise.
8551 * sunrpc/des_soft.c: Likewise.
8552 * sunrpc/get_myaddr.c: Likewise.
8553 * sunrpc/getrpcport.c: Likewise.
8554 * sunrpc/key_call.c: Likewise.
8555 * sunrpc/key_prot.c: Likewise.
8556 * sunrpc/openchild.c: Likewise.
8557 * sunrpc/pm_getmaps.c: Likewise.
8558 * sunrpc/pm_getport.c: Likewise.
8559 * sunrpc/pmap_clnt.c: Likewise.
8560 * sunrpc/pmap_prot.c: Likewise.
8561 * sunrpc/pmap_prot2.c: Likewise.
8562 * sunrpc/pmap_rmt.c: Likewise.
8563 * sunrpc/rpc/auth.h: Likewise.
8564 * sunrpc/rpc/auth_unix.h: Likewise.
8565 * sunrpc/rpc/clnt.h: Likewise.
8566 * sunrpc/rpc/des_crypt.h: Likewise.
8567 * sunrpc/rpc/key_prot.h: Likewise.
8568 * sunrpc/rpc/netdb.h: Likewise.
8569 * sunrpc/rpc/pmap_clnt.h: Likewise.
8570 * sunrpc/rpc/pmap_prot.h: Likewise.
8571 * sunrpc/rpc/pmap_rmt.h: Likewise.
8572 * sunrpc/rpc/rpc.h: Likewise.
8573 * sunrpc/rpc/rpc_des.h: Likewise.
8574 * sunrpc/rpc/rpc_msg.h: Likewise.
8575 * sunrpc/rpc/svc.h: Likewise.
8576 * sunrpc/rpc/svc_auth.h: Likewise.
8577 * sunrpc/rpc/types.h: Likewise.
8578 * sunrpc/rpc/xdr.h: Likewise.
8579 * sunrpc/rpc_clntout.c: Likewise.
8580 * sunrpc/rpc_cmsg.c: Likewise.
8581 * sunrpc/rpc_common.c: Likewise.
8582 * sunrpc/rpc_cout.c: Likewise.
8583 * sunrpc/rpc_dtable.c: Likewise.
8584 * sunrpc/rpc_hout.c: Likewise.
8585 * sunrpc/rpc_main.c: Likewise.
8586 * sunrpc/rpc_parse.c: Likewise.
8587 * sunrpc/rpc_parse.h: Likewise.
8588 * sunrpc/rpc_prot.c: Likewise.
8589 * sunrpc/rpc_sample.c: Likewise.
8590 * sunrpc/rpc_scan.c: Likewise.
8591 * sunrpc/rpc_scan.h: Likewise.
8592 * sunrpc/rpc_svcout.c: Likewise.
8593 * sunrpc/rpc_tblout.c: Likewise.
8594 * sunrpc/rpc_util.c: Likewise.
8595 * sunrpc/rpc_util.h: Likewise.
8596 * sunrpc/rpcinfo.c: Likewise.
8597 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8598 * sunrpc/rpcsvc/key_prot.x: Likewise.
8599 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8600 * sunrpc/rpcsvc/mount.x: Likewise.
8601 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8602 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8603 * sunrpc/rpcsvc/rex.x: Likewise.
8604 * sunrpc/rpcsvc/rstat.x: Likewise.
8605 * sunrpc/rpcsvc/rusers.x: Likewise.
8606 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8607 * sunrpc/rpcsvc/spray.x: Likewise.
8608 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8609 * sunrpc/rtime.c: Likewise.
8610 * sunrpc/svc.c: Likewise.
8611 * sunrpc/svc_auth.c: Likewise.
8612 * sunrpc/svc_authux.c: Likewise.
8613 * sunrpc/svc_raw.c: Likewise.
8614 * sunrpc/svc_run.c: Likewise.
8615 * sunrpc/svc_simple.c: Likewise.
8616 * sunrpc/svc_tcp.c: Likewise.
8617 * sunrpc/svc_udp.c: Likewise.
8618 * sunrpc/svc_unix.c: Likewise.
8619 * sunrpc/svcauth_des.c: Likewise.
8620 * sunrpc/xcrypt.c: Likewise.
8621 * sunrpc/xdr.c: Likewise.
8622 * sunrpc/xdr_array.c: Likewise.
8623 * sunrpc/xdr_float.c: Likewise.
8624 * sunrpc/xdr_mem.c: Likewise.
8625 * sunrpc/xdr_rec.c: Likewise.
8626 * sunrpc/xdr_ref.c: Likewise.
8627 * sunrpc/xdr_sizeof.c: Likewise.
8628 * sunrpc/xdr_stdio.c: Likewise.
8629
9da4bb31
UD
8630 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8631 handling.
8632
bdaa77bc
AS
86332010-08-19 Andreas Schwab <schwab@redhat.com>
8634
8635 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8636
fe2f79db
LM
86372010-08-19 Luis Machado <luisgpm@br.ibm.com>
8638
8639 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8640 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8641 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8642 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8643 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8644 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8645 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8646 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8647 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8648 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8649 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8651 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8652 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8653
b9b42ee0
AB
86542010-07-26 Anton Blanchard <anton@samba.org>
8655
8656 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8657 * malloc/arena.c (heap_trim): Likewise.
8658
1c06ba31
UD
86592010-08-16 Ulrich Drepper <drepper@redhat.com>
8660
8661 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8662 here. Not...
8663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8664 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8665
f8392f40
L
86662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8667
8668 * sysdeps/i386/elf/Makefile: New file.
8669
3162f12e
AS
86702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8671
8672 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8673 from fanotify_init.
8674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8676
28c90b2c
UD
86772010-08-15 Ulrich Drepper <drepper@redhat.com>
8678
8679 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8680 of strncasecmp_l.
1feccb6c 8681 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 8682
ca6bb004
UD
86832010-08-14 Ulrich Drepper <drepper@redhat.com>
8684
e9f82e0d
UD
8685 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8686 strncase_l-nonascii.
8687 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8688 Add strncase_l-ssse3.
8689 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8690 * sysdeps/x86_64/strcmp.S: Likewise.
8691 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8692 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8693 * sysdeps/x86_64/strncase.S: New file.
8694 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8695 * sysdeps/x86_64/strncase_l.S: New file.
8696 * string/Makefile (strop-tests): Add strncasecmp.
8697 * string/test-strncasecmp.c: New file.
8698
8699 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8700 warning.
8701
ca6bb004
UD
8702 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8703 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8704
052fa7b3
AS
87052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8706
8707 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8708
962dba78
UD
87092010-08-12 Ulrich Drepper <drepper@redhat.com>
8710
8711 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8714
bebff237
AM
87152010-05-01 Alan Modra <amodra@gmail.com>
8716
8717 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8718 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8719 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8720 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8721 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8722 tidying. Don't tail-call __sigjmp_save for static lib.
8723 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8724 save location.
8725 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8726 (CALL_MCOUNT): Add eh info, and nop after bl.
8727 (TAIL_CALL_SYSCALL_ERROR): New macro.
8728 (PSEUDO_RET): Use it.
8729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8730 Correct save location of integer regs and cr.
8731 (_dl_profile_resolve): Correct cr save location. Delete nops
8732 after bl when SHARED. Reduce cfi size a little by better
8733 placement of cfi directives.
8734 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8735 make a stack frame. Instead use parm save area as a temp.
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8737 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8739 Don't make a stack frame for parent, use parm save area.
8740 Increase child stack frame to 112 bytes. Don't save unused reg,
8741 and adjust reg usage. Set up cfi on error recovery and
8742 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8744 (__makecontext): Add dummy nop after jump to exit.
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8746 Use correct parm save area and cr save, reduce stack frame.
8747 Correct cfi for possible PSEUDO_RET frame setup.
8748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8749 Branch to local label emitted by PSEUDO_RET rather than
8750 __syscall_error.
8751
02637374
AS
87522010-08-12 Andreas Schwab <schwab@redhat.com>
8753
8754 [BZ #11904]
8755 * locale/programs/locale.c (print_assignment): New function.
8756 (show_locale_vars): Use it.
8757
c3e2f19b
UD
87582010-08-11 Ulrich Drepper <drepper@redhat.com>
8759
3cdaa6ad
UD
8760 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8761 field.
8762 (struct statfs64): Likewise.
8763 (_STATFS_F_FLAGS): Define.
8764 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8766 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8767 (ST_VALID): Define locally.
8768 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8769 __statvfs_getflags, use the provided value.
8770 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8771 __ASSUME_STATFS_F_FLAGS.
8772
754f7da3
UD
8773 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8774
10b3bedc
UD
8775 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8776 Add sys/fanotify.h.
8777 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8778 fanotify_mask for GLIBC_2.13.
8779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8780 fanotify_init and fanotify_mark.
8781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8782 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8783
c08fb0d7
UD
8784 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8785 Add prlimit.
8786 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8787 prlimit64 for GLIBC_2.13.
8788 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8789 prlimit64.
8790 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8791 syscall.
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8794 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8795 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8797 add prlimit alias.
8798 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8799
15bac72b
UD
8800 [BZ #11903]
8801 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8802 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8803
c3e2f19b
UD
8804 * nss/Makefile: Add rules to build and run tst-nss-test1.
8805 * shlib-versions: Add entry for libnss_test1.
8806 * nss/nss_test1.c: New file.
8807 * nss/tst-nss-test1.c: New file.
8808
8809 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8810 (__nss_configure_lookup): Set appropriate entry in
8811 __nss_configure_lookup to true.
8812 * nss/nsswitch.h: Define enum with indeces of databases in
8813 databases and __nss_database_custom arrays. Declare
8814 __nss_database_custom.
8815 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8816 to avoid using nscd when custom rules are installed.
8817 * nss/getXXbyYY_r.c: Likewise.
8818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8819
8820 * nss/nss_files/files-parse.c: Whitespace fixes.
8821
f15ce4d8
UD
88222010-08-09 Ulrich Drepper <drepper@redhat.com>
8823
8824 [BZ #11883]
8825 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8826 * posix/fnmatch_loop.c: Likewise.
8827
d22e4cc9
AK
88282010-07-17 Andi Kleen <ak@linux.intel.com>
8829
8830 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8831 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8832 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8833 * Versions.def [GLIBC_2.13]: Add.
8834
805bc17d
UD
88352010-08-06 Ulrich Drepper <drepper@redhat.com>
8836
8837 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8838 Also fail if tpwd after pwuid call is NULL.
8839
5a42321d
ST
88402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8841
8842 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8843 when converting to ms.
8844
fd3ebeda
ST
88452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8846
8847 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8848 EOPNOTSUPP errors with ENOTTY.
8849 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8850 EOPNOTSUPP errors with ENOTTY.
8851
73507d3a
UD
88522010-07-31 Ulrich Drepper <drepper@redhat.com>
8853
8854 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8855 Add strcasecmp_l-ssse3.
8856 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8857 strcasecmp.
8858 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8859 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8860 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8861
fe36dd02
UD
88622010-07-30 Ulrich Drepper <drepper@redhat.com>
8863
66f6765a
UD
8864 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8865
42e08a54
UD
8866 * string/Makefile (strop-tests): Add strcasecmp.
8867 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8868 strcasecmp_l-nonascii.
8869 (gen-as-const-headers): Add locale-defines.sym.
8870 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8871 * sysdeps/x86_64/strcasecmp.S: New file.
8872 * sysdeps/x86_64/strcasecmp_l.S: New file.
8873 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8874 * sysdeps/x86_64/locale-defines.sym: New file.
8875 * string/test-strcasecmp.c: New file.
8876
fe36dd02
UD
8877 * string/test-strcasestr.c: Test both ends of the range of characters.
8878 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8879
48cbc0d6
RM
88802010-07-29 Roland McGrath <roland@redhat.com>
8881
76e6d6bc 8882 [BZ #11856]
48cbc0d6
RM
8883 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8884
880113d9
UD
88852010-07-27 Ulrich Drepper <drepper@redhat.com>
8886
8887 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8888 for ld.so.
8889
deb9cabb
AS
88902010-07-27 Andreas Schwab <schwab@redhat.com>
8891
8892 * manual/memory.texi (Malloc Tunable Parameters): Document
8893 M_PERTURB.
8894
1c7570ff
RM
88952010-07-26 Roland McGrath <roland@redhat.com>
8896
8897 [BZ #11840]
8898 * configure.in (-fgnu89-inline check): Set and substitute
8899 gnu89_inline, not libc_cv_gnu89_inline.
8900 * configure: Regenerated.
8901 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8902
24fb0f88
UD
89032010-07-26 Ulrich Drepper <drepper@redhat.com>
8904
8905 * string/test-strnlen.c: New file.
8906 * string/Makefile (strop-tests): Add strnlen.
8907 * string/tester.c (test_strnlen): Add a few more test cases.
8908 * string/tst-strlen.c: Better error reporting.
8909
8910 * sysdeps/x86_64/strnlen.S: New file.
8911
8e96b93a
UD
89122010-07-24 Ulrich Drepper <drepper@redhat.com>
8913
8914 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8915 lower-latency instructions.
8916
dbc676d4
UD
89172010-07-23 Ulrich Drepper <drepper@redhat.com>
8918
8919 * string/test-strcasestr.c: New file.
8920 * string/test-strstr.c: New file.
8921 * string/Makefile (strop-tests): Add strstr and strcasestr.
8922 * string/str-two-way.h: Don't undefine MAX.
8923 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8924
f6a31e0e
AS
89252010-07-21 Andreas Schwab <schwab@redhat.com>
8926
8927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8928 strcasestr-nonascii.
8929 (CFLAGS-strcasestr-nonascii.c): Define.
8930 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8932 Remove unused attribute.
8933
5dbc3b6c
RM
89342010-07-20 Roland McGrath <roland@redhat.com>
8935
8936 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8937 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8938 ld.so.cache was broken. With it, there is no way to disable dsocaps
8939 like LD_HWCAP_MASK can disable hwcaps.
8940
23d101d8
EPM
89412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8942
8943 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8944
cc9f2e47
UD
89452010-07-16 Ulrich Drepper <drepper@redhat.com>
8946
8947 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8948 call in strcasestr.
8949 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8950 __strcasestr_sse42_nonascii.
8951 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8952 strcasestr-nonascii.c.
8953 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8954
77c1b069
LM
89552010-06-15 Luis Machado <luisgpm@br.ibm.com>
8956
8957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8959 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8960 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8961
440566c3
UD
89622010-07-09 Ulrich Drepper <drepper@redhat.com>
8963
8964 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8965 fcntl.
8966
5be9d05d
AS
89672010-07-06 Andreas Schwab <schwab@redhat.com>
8968
c30b7ee2 8969 [BZ #11577]
5be9d05d
AS
8970 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8971 dl_signal_cerror.
8972
8a492a67
UD
89732010-07-06 Ulrich Drepper <drepper@redhat.com>
8974
8975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8976 _PC_PIPE_BUF using F_GETPIPE_SZ.
8977
713df3d5
RM
89782010-07-05 Roland McGrath <roland@redhat.com>
8979
8980 * manual/arith.texi (Rounding Functions): Fix rint description
8981 implicit in round description.
8982
702e8f14
UD
89832010-07-02 Ulrich Drepper <drepper@redhat.com>
8984
8985 * elf/Makefile: Fix linking for a few tests to make recent linker
8986 happy.
8987
52ed8be9
AS
89882010-06-30 Andreas Schwab <schwab@redhat.com>
8989
8990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8991 $(common-objpfx)libc_nonshared.a.
8992
f47c9a11
LM
89932010-06-21 Luis Machado <luisgpm@br.ibm.com>
8994
8995 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8996 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8997 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8998 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8999 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9001 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9002 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9017 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9018 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9019 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9020 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9021 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9022 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9023 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9024 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9025 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9026 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9027 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9028 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9043
6fb8cbcb
L
90442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9045
9046 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9047 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9048 * string/memmove.c (memmove): Renamed to ...
9049 (MEMMOVE): ...this. Default to memmove.
9050 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9051 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9052 (END_CHK): Define.
9053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9054 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9055 mempcpy-ssse3-back memmove-ssse3-back.
9056 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9059 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9060 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9061 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9062 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9063 * sysdeps/x86_64/multiarch/memmove.c: New file.
9064 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9065 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9066 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9067 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9068 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9070 Define.
9071 (index_Fast_Copy_Backward): Define.
9072 (HAS_ARCH_FEATURE): Define.
9073 (HAS_FAST_REP_STRING): Define.
9074 (HAS_FAST_COPY_BACKWARD): Define.
9075
4e733bac 90762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
9077
9078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9079 Restore proper fallback handling.
9080
63c4ed22
UD
90812010-06-19 Ulrich Drepper <drepper@redhat.com>
9082
ac2b484c
UD
9083 [BZ #11701]
9084 * posix/group_member.c (__group_member): Correct checking loop.
9085
63c4ed22
UD
9086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9087 OOM in getpwuid_r correctly. Return error number when the caller
9088 should return, otherwise -1.
9089 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9090 call returning > 0 value.
9091 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9092
765ade4b
AS
90932010-06-07 Andreas Schwab <schwab@redhat.com>
9094
9095 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9096 libc_nonshared.a from targets in modules-names.
9097
80da2e09
KS
90982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9099
9100 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9101 requires it.
9102
158db122
LM
91032010-06-10 Luis Machado <luisgpm@br.ibm.com>
9104
9105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9106 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9108 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9109
caa78cf8
AS
91102010-06-02 Andreas Schwab <schwab@redhat.com>
9111
9112 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9113
b2ef2c01
UD
91142010-06-14 Ulrich Drepper <drepper@redhat.com>
9115
9116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9117 and F_GETPIPE_SZ.
9118 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9123 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9124
fbd643b6
RM
91252010-06-14 Roland McGrath <roland@redhat.com>
9126
9127 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9128
f32f2869
JJ
91292010-06-07 Jakub Jelinek <jakub@redhat.com>
9130
9131 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9132 __REDIRECT followed by __THROW.
9133 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9134 * posix/getopt.h (getopt): Likewise.
9135
2a50c078
EPM
91362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9137
9138 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9139 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9140 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9141 in AT_FLAGS.
9142 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9143 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9144
eb5ad2eb
LM
91452010-05-28 Luis Machado <luisgpm@br.ibm.com>
9146
9147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9148
3c88fe1e
L
91492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9150
9151 [BZ #11640]
9152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9153 Properly check family and model.
9154
d2f73151
TY
91552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9156
9157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9158
ebd2e13d
LM
91592010-05-24 Luis Machado <luisgpm@br.ibm.com>
9160
9161 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9162
b32b8b45
UD
91632010-05-21 Ulrich Drepper <drepper@redhat.com>
9164
9165 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9166 symbol reference.
9167
9acbe24d
AS
91682010-05-19 Andreas Schwab <schwab@redhat.com>
9169
9170 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9171 symbol reference.
9172
f0ccf6ea
AS
91732010-05-21 Andreas Schwab <schwab@redhat.com>
9174
3d04ff3a
AS
9175 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9176 and internal_recvmmsg.
9177 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9178 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9179 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9180 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9181
f0ccf6ea
AS
9182 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9183 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9184 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9185
5b08ac57
AS
91862010-05-20 Andreas Schwab <schwab@redhat.com>
9187
9188 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9189
4828935d
LM
91902010-05-17 Luis Machado <luisgpm@br.ibm.com>
9191
9192 POWER7 optimizations.
9193 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9194 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9195
373d545e
UD
91962010-05-19 Ulrich Drepper <drepper@redhat.com>
9197
9198 * version.h: Update for 2.13 development version.
9199
21a2b1ae
AS
92002010-05-12 Andrew Stubbs <ams@codesourcery.com>
9201
9202 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9203 exceptions. Return 0.
9204
3f7dcb2b
RM
92052010-05-07 Roland McGrath <roland@redhat.com>
9206
9207 * elf/ldconfig.c (main): Add a const.
9208
5f24d53a 92092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9210
a160f8d8
UD
9211 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9212 (args_options): Add no-idn option.
9213 (ahosts_keys_int): Add idn_flags to ai_flags.
9214 (parse_option): Handle 'i' option to clear idn_flags.
9215
5f24d53a
UD
9216 * malloc/malloc.c (_int_free): Possible race in the most recently
9217 added check. Only act on the data if no current modification
9218 happened.
265bb1ce
UD
9219
9220See ChangeLog.17 for earlier changes.