]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Get rid of superfluous assignments in sem_timedwait
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f72ed77d
UD
12012-03-06 Ulrich Drepper <drepper@gmail.com>
2
a000466f
UD
3 * nss/databases.def: Add missing gshadow entry.
4
f72ed77d
UD
5 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6
a53b7a4e
MP
72012-03-06 Marek Polacek <polacek@redhat.com>
8
9 [BZ #13726]
10 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13 * stdio-common/tst-long-dbl-fphex.c: New file.
14
e9258400
DM
152012-03-06 David S. Miller <davem@davemloft.net>
16
17 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18 (set_obp_int): New function.
19 (get_obp_int): New function.
20 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
21 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22 Avoid unused variable warnings on 'val' and use builtin_expect.
23 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24 __builtin_expect.
e9258400
DM
25 (INLINE_CLONE_SYSCALL): Likewise.
26
3bd2c723
DM
272012-03-05 David S. Miller <davem@davemloft.net>
28
29 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30
bbb78d03
AS
312012-03-05 Andreas Schwab <schwab@linux-m68k.org>
32
884c5db4
AS
33 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34
bbb78d03
AS
35 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36 only for |x| >= 40.
37 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38
1c9f702a 392012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40
41 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42 Replace gettimeofday with __vdso_gettimeofday.
43
7be16f82
RM
44 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47
48 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49 time with __vdso_time.
50
ed58a00f
JM
512012-03-05 Joseph Myers <joseph@codesourcery.com>
52
53 * manual/lang.texi (size_t): Note types to which size_t may be
54 equivalent with the GNU C Library, but do not describe when
55 differences between them are significant.
56
30ee4ced
AJ
572012-03-05 Andreas Jaeger <aj@suse.de>
58
59 * sysdeps/i386/fpu/libm-test-ulps: Update.
60
b7cd39e8
JM
612012-03-05 Joseph Myers <joseph@codesourcery.com>
62
63 [BZ #3976]
64 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
65 (__ieee754_pow): Save and restore rounding mode and use
66 round-to-nearest for main computations.
67 * math/libm-test.inc (pow_test_tonearest): New function.
68 (pow_test_towardzero): Likewise.
69 (pow_test_downward): Likewise.
70 (pow_test_upward): Likewise.
71 (main): Call the new functions.
72 * sysdeps/i386/fpu/libm-test-ulps: Update.
73 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
74
75 [BZ #3976]
76 * math/libm-test.inc (cosh_test_tonearest): New function.
77 (cosh_test_towardzero): Likewise.
78 (cosh_test_downward): Likewise.
79 (cosh_test_upward): Likewise.
80 (sinh_test_tonearest): Likewise.
81 (sinh_test_towardzero): Likewise.
82 (sinh_test_downward): Likewise.
83 (sinh_test_upward): Likewise.
84 (main): Call the new functions.
85 * sysdeps/i386/fpu/libm-test-ulps: Update.
86 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87
6c6a98c9
TV
882012-03-05 Tom de Vries <tom@codesourcery.com>
89
90 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
91 default stack guard is set in last bytes.
92 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
93
21bb2d2e 942012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 95
21bb2d2e 96 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 97
21bb2d2e
AJ
98 [BZ #13656]
99 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
100 possibly allocate from heap instead of stack.
101 * stdio-common/bug-vfprintf-nargs.c: New file.
102 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 103
c6922934
AS
1042012-03-03 Andreas Schwab <schwab@linux-m68k.org>
105
106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
107
bc957d53
MP
1082012-03-03 Marek Polacek <polacek@redhat.com>
109
110 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
111 * math/math_private.h: Likewise.
112 * stdlib/tst-strtod.c: Likewise.
113 * sysdeps/i386/i486/bits/atomic.h: Likewise.
114 * sysdeps/x86_64/bits/atomic.h: Likewise.
115
6358490d
DM
1162012-03-02 David S. Miller <davem@davemloft.net>
117
118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
122 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
123 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
124 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
125 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
126
01ae168d
RM
1272012-03-02 Roland McGrath <roland@hack.frob.com>
128
d9a17c07
RM
129 [BZ #13792]
130 * manual/examples/README: New file, says the example source files
131 can be used under GPL>=2.
132 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
133 line containing just "*/".
134 * manual/examples/add.c: Add copyright header (GPL>=2).
135 * manual/examples/argp-ex1.c: Likewise.
136 * manual/examples/argp-ex2.c: Likewise.
137 * manual/examples/argp-ex3.c: Likewise.
138 * manual/examples/argp-ex4.c: Likewise.
139 * manual/examples/atexit.c: Likewise.
140 * manual/examples/db.c: Likewise.
141 * manual/examples/dir.c: Likewise.
142 * manual/examples/dir2.c: Likewise.
143 * manual/examples/execinfo.c: Likewise.
144 * manual/examples/filecli.c: Likewise.
145 * manual/examples/filesrv.c: Likewise.
146 * manual/examples/fmtmsgexpl.c: Likewise.
147 * manual/examples/genpass.c: Likewise.
148 * manual/examples/inetcli.c: Likewise.
149 * manual/examples/inetsrv.c: Likewise.
150 * manual/examples/isockad.c: Likewise.
151 * manual/examples/longopt.c: Likewise.
152 * manual/examples/memopen.c: Likewise.
153 * manual/examples/memstrm.c: Likewise.
154 * manual/examples/mkfsock.c: Likewise.
155 * manual/examples/mkisock.c: Likewise.
156 * manual/examples/mygetpass.c: Likewise.
157 * manual/examples/pipe.c: Likewise.
158 * manual/examples/popen.c: Likewise.
159 * manual/examples/rprintf.c: Likewise.
160 * manual/examples/search.c: Likewise.
161 * manual/examples/select.c: Likewise.
162 * manual/examples/setjmp.c: Likewise.
163 * manual/examples/sigh1.c: Likewise.
164 * manual/examples/sigusr.c: Likewise.
165 * manual/examples/stpcpy.c: Likewise.
166 * manual/examples/strdupa.c: Likewise.
167 * manual/examples/strftim.c: Likewise.
168 * manual/examples/strncat.c: Likewise.
169 * manual/examples/subopt.c: Likewise.
170 * manual/examples/swapcontext.c: Likewise.
171 * manual/examples/termios.c: Likewise.
172 * manual/examples/testopt.c: Likewise.
173 * manual/examples/testpass.c: Likewise.
174 * manual/examples/timeval_subtract.c: Likewise.
175
01ae168d
RM
176 [BZ #13792]
177 * manual/time.texi (Elapsed Time): Move timeval_subtract example
178 function to ...
179 * manual/timeval_subtract.c.texi: ... here, new file.
180
49efa33d
DM
1812012-03-02 David S. Miller <davem@davemloft.net>
182
183 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
184
28afd92d
JM
1852012-03-02 Joseph Myers <joseph@codesourcery.com>
186
804360ed
JM
187 [BZ #3976]
188 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
189 (__sin): Save and restore rounding mode and use round-to-nearest
190 for all computations.
191 (__cos): Save and restore rounding mode and use round-to-nearest
192 for all computations.
193 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
194 <fenv.h>.
195 (tan): Save and restore rounding mode and use round-to-nearest for
196 all computations.
197 * math/libm-test.inc (cos_test_tonearest): New function.
198 (cos_test_towardzero): Likewise.
199 (cos_test_downward): Likewise.
200 (cos_test_upward): Likewise.
201 (sin_test_tonearest): Likewise.
202 (sin_test_towardzero): Likewise.
203 (sin_test_downward): Likewise.
204 (sin_test_upward): Likewise.
205 (tan_test_tonearest): Likewise.
206 (tan_test_towardzero): Likewise.
207 (tan_test_downward): Likewise.
208 (tan_test_upward): Likewise.
209 (main): Call the new functions.
210 * sysdeps/i386/fpu/libm-test-ulps: Update.
211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
212
a6d06d7b
JM
213 [BZ #10135]
214 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
215 small n, then large n, before computing and testing k+n.
216 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
218 Likewise.
219 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
220 Likewise.
221 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
222 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
223 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
224 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
227 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
228 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
229 * math/libm-test.inc (scalbn_test): Add more tests.
230 (scalbln_test): Likewise.
231
07e12bb3
JM
232 * manual/filesys.texi (mode_t): Describe constraints on size and
233 signedness, not exact equivalence to a particular type.
234 (ino_t): Likewise.
235 (ino64_t): Likewise.
236 (dev_t): Likewise.
237 (nlink_t): Likewise.
238 (blkcnt_t): Likewise.
239 (blkcnt64_t): Likewise.
240 * manual/llio.texi (off_t): Likewise.
241
28afd92d
JM
242 [BZ #3976]
243 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
244 (__ieee754_exp): Save and restore rounding mode and use
245 round-to-nearest for all computations.
246 * math/libm-test.inc (exp_test_tonearest): New function.
247 (exp_test_towardzero): Likewise.
248 (exp_test_downward): Likewise.
249 (exp_test_upward): Likewise.
250 (main): Call the new functions.
251 * sysdeps/i386/fpu/libm-test-ulps: Update.
252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
253
b1eeb65d
CD
2542012-03-01 Chris Demetriou <cgd@google.com>
255
256 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
257 have predictable order.
258
53362a4b
DM
2592012-03-01 David S. Miller <davem@davemloft.net>
260
3c969083
DM
261 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
262
759707de
DM
263 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
264 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
265 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
266 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
267
dfdb8ff2
DM
268 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
269 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
270 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
272 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
273 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
274 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
275 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
276 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
277
ead89f96
DM
278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
279
7f66bd07
DM
280 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
281 * sysdeps/sparc/fpu/libm-test-ulps: to here.
282 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
283
53362a4b
DM
284 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
285 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
286 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
287 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
288 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
289 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
290 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
291 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
292 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
293 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
294 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
295 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
297 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
298 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
300 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
301 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
302 * sysdeps/sparc/elf/configure: Regenerated.
303
7b1902cb
JM
3042012-03-01 Joseph Myers <joseph@codesourcery.com>
305
bec039bc
JM
306 * configure.in (AS, LD): Require binutils 2.20 or later.
307 * configure: Regenerated.
308 * manual/install.texi (Tools for Compilation): Give binutils 2.20
309 as required minimum version.
310 * INSTALL: Regenerated.
311
7b1902cb
JM
312 [BZ #2541]
313 [BZ #4108]
314 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
315 before squaring exponent.
316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
317 bottom long double and 27 bits of top long double before squaring
318 exponent.
319 * math/libm-test.inc (erfc_test): Add more tests.
320 * sysdeps/i386/fpu/libm-test-ulps: Update.
321 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
323
f775c276
KT
3242012-03-01 Kai Tietz <ktietz@redhat.com>
325
326 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
327 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
328 containing bit-fields.
329 * soft-fp/extended.h (_FP_UNION_E): Likewise.
330 * soft-fp/single.h (_FP_UNION_S): Likewise.
331 * soft-fp/double.h (_FP_UNION_D): Likewise.
332
5b8a4d4a
JM
3332012-02-29 Joseph Myers <joseph@codesourcery.com>
334
0bab47b6
JM
335 [BZ #13786]
336 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
337 not include ../strcmp.S.
338 [USE_AS_STRNCASECMP_L]: Likewise.
339 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
340 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
341 * sysdeps/i386/i686/multiarch/strncase_l-c.c
342 (__strncasecmp_l_ia32): Define as alias to
343 __strncasecmp_l_nonascii.
344
0fcad3e2
JM
345 [BZ #5794]
346 * math/libm-test.inc (expm1_test): Add test for bug 5794.
347 * sysdeps/i386/fpu/libm-test-ulps: Update.
348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
349
5b8a4d4a
JM
350 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
352
8fdceb2e
JL
3532012-02-29 Jeff Law <law@redhat.com>
354
355 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
356 out of bounds read.
357
1f393a11
MP
3582012-02-29 Marek Polacek <polacek@redhat.com>
359
360 [BZ #13706]
361 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
362 * elf/Makefile: Add rules to run tst-unused-dep.out.
363
8847f037
DM
3642012-02-28 David S. Miller <davem@davemloft.net>
365
366 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
367 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
368 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
369 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
370 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
371 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
372
169d7f11
JM
3732012-02-29 Joseph Myers <joseph@codesourcery.com>
374
375 * math/libm-test.inc (llround_test): Move one test from
376 lround_test. Use TEST_f_L in moved test.
377 (lround_test): Move misplaced test to llround_test. Add testcase
378 from bug 2561.
379
39adf059
UD
3802012-02-28 Ulrich Drepper <drepper@gmail.com>
381
382 * sysdeps/x86_64/fpu/e_expf.S: New file.
383 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
384
71b5d1c5
SB
3852012-02-28 Stanislav Brabec <sbrabec@suse.cz>
386
387 [BZ #13637]
388 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
389 of remain_len that may cause incomplete multi-byte character and
390 false match.
391 * posix/bug-regex33.c: New file.
392 * posix/Makefile (tests): Add bug-regex33.
393
1f77f049
JM
3942012-02-28 Joseph Myers <joseph@codesourcery.com>
395
396 * manual/macros.texi: New file.
397 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
398 * manual/libc.texinfo: Include macros.texi.
399 * manual/creatute.texi: Likewise.
400 * manual/install.texi: Likewise.
401 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
402 @glibcadj{} in references to the GNU C Library.
403 * manual/charset.texi: Likewise.
404 * manual/conf.texi: Likewise.
405 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
406 when not using those macros.
407 * manual/creature.texi: Likewise.
408 * manual/crypt.texi: Likewise.
409 * manual/errno.texi: Likewise.
410 * manual/filesys.texi: Likewise.
411 * manual/header.texi: Likewise.
412 * manual/install.texi: Likewise.
413 * manual/intro.texi: Likewise.
414 * manual/io.texi: Likewise.
415 * manual/job.texi: Likewise.
416 * manual/lang.texi: Likewise.
417 * manual/libc.texiinfo: Likewise.
418 * manual/llio.texi: Likewise.
419 * manual/locale.texi: Likewise.
420 * manual/maint.texi: Likewise.
421 * manual/math.texi: Likewise.
422 * manual/memory.texi: Likewise.
423 * manual/message.texi: Likewise.
424 * manual/nss.texi: Likewise.
425 * manual/pattern.texi: Likewise.
426 * manual/process.texi: Likewise.
427 * manual/resource.texi: Likewise.
428 * manual/search.texi: Likewise.
429 * manual/setjmp.texi: Likewise.
430 * manual/signal.texi: Likewise.
431 * manual/socket.texi: Likewise.
432 * manual/startup.texi: Likewise.
433 * manual/stdio.texi: Likewise.
434 * manual/string.texi: Likewise.
435 * manual/sysinfo.texi: Likewise.
436 * manual/syslog.texi: Likewise.
437 * manual/terminal.texi: Likewise.
438 * manual/time.texi: Likewise.
439 * manual/users.texi: Likewise.
440 * INSTALL: Regenerated.
441 * NOTES: Regenerated.
d40c5d54 442 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 443
450bf206
AS
4442012-02-28 Andreas Schwab <schwab@linux-m68k.org>
445
446 * include/dirent.h: Include <dirstream.h> before
447 <dirent/dirent.h>.
448
741a235b
DM
4492012-02-28 David S. Miller <davem@davemloft.net>
450
451 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
452 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
453 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
454 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
455
d6b5aa58
DM
4562012-02-27 David S. Miller <davem@davemloft.net>
457
1aff59a3
DM
458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
460 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
461 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
462
d6b5aa58
DM
463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
464 frame pointer instead of stack pointer relative arg slot.
465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
466 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
467 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
468
433f48bf
CD
4692012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
470
471 [BZ #3992]
472 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
473
d674b76d
DM
4742012-02-27 David S. Miller <davem@davemloft.net>
475
476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
480 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
481 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
482 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
483 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
484
0e7727f7
JM
4852012-02-27 Joseph Myers <joseph@codesourcery.com>
486
487 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
488 later. Allow versions 5-9.
43be4ca2 489 * configure: Regenerated.
0e7727f7
JM
490 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
491 required minimum version and 4.6 as recommended version. Do not
492 mention bugs in GCC 2.7 and 2.8.
43be4ca2 493 * INSTALL: Regenerated.
0e7727f7 494
a78bc654
DM
4952012-02-27 David S. Miller <davem@davemloft.net>
496
428d5830
DM
497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
501 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
502 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
503 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
504 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
505
a78bc654
DM
506 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
507 manipulate bits before adding and subtracting TWO112[sx].
508 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
509
4579f81c
RM
5102012-02-27 Roland McGrath <roland@hack.frob.com>
511
36c8acb4
RM
512 [BZ #13775]
513 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
514 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
515 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
516 being in POSIX, because they are in 1003.1-2008.
517
84ad622b
RM
518 * rt/tst-aio.c: Include <fcntl.h>.
519 * rt/tst-aio7.c: Likewise.
520 * rt/tst-aio64.c: Likewise.
521
4579f81c
RM
522 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
523
abd923db
JM
5242012-02-27 Joseph Myers <joseph@codesourcery.com>
525
526 * manual/install.texi (--with-headers): Describe headers as
527 interface headers, not private headers.
528 (Specific advice for GNU/Linux systems): Describe use of headers
529 from "make headers_install", not private headers from older
530 kernels.
43be4ca2 531 * INSTALL: Regenerated.
abd923db
JM
532 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
533 Change to 2.6.19.
534 * sysdeps/unix/sysv/linux/configure: Regenerated.
535
6664049b
JM
536 * manual/llio.texi (fclean): Remove documentation.
537
bb8b6697
JM
538 * manual/Makefile (libc-texi-generated): New variable. Include
539 version.texi.
540 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
541 $(libc-texi-generated), not duplicated list of files.
542 (version.texi, stamp-version): New rules.
543 (realclean): Remove $(libc-texi-generated), not individual files
544 from that list. Do not remove dir-add.texinfo.
545 * manual/libc.texinfo: Comment out uses of edition numbers and
546 references to printed manual. Remove last-updated dates.
547 (EDITION): Comment out.
548 (ISBN): Likewise.
549 (VERSION, UPDATED): Remove.
550 (version.texi): Include.
551
12e5c3b9
AS
5522012-02-27 Andreas Schwab <schwab@linux-m68k.org>
553
554 * sysdeps/posix/spawni.c: Include <signal.h>.
555 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
556 * sysdeps/pthread/aio_fsync.c: Likewise.
557
4efeffc1 5582012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 559
ba63ba08
UD
560 * conform/Makefile (tests): Run only when not cross-compiling and
561 when fast-check is not defined.
562
d94a4670
UD
563 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
564 * conform/data/limits.h-data: Fixes for POSIX2008.
565 * conform/run-conformtest.sh: Run all tests.
566 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
567 headers.
568 * include/bits/dlfcn.h: Likewise.
569 * include/langinfo.h: Likewise.
570 * include/monetary.h: Likewise.
571 * include/sys/poll.h: Likewise.
572
573 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
574 for __USE_GNU.
575 * posix/spawn.h: Define __need_sigset_t.
576 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
577 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
578 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
579 to get sigevent_t only.
580 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
581 only for __USE_GNU.
582 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
583 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
584 process_vm_writev only for __USE_GNU.
585 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
586
587 * conform/Makefile: For now ignore errors from run-conformtest.
588 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
589 POSIX to avoid namespace pollution. Don't prepend headers.
590 * conform/data/aio.h-data: Fixes for POSIX testing.
591 * conform/data/fcntl.h-data: Likewise.
592 * conform/data/glob.h-data: Likewise.
593 * conform/data/grp.h-data: Likewise.
594 * conform/data/pthread.h-data: Likewise.
595 * conform/data/pwd.h-data: Likewise.
596 * conform/data/signal.h-data: Likewise.
597 * conform/data/spawn.h-data: Likewise.
598 * conform/data/stdio.h-data: Likewise.
599 * conform/data/stdlib.h-data: Likewise.
600 * conform/data/stropts.h-data: Likewise.
601 * conform/data/sys/mman.h-data: Likewise.
602 * conform/data/sys/stat.h-data: Likewise.
603 * conform/data/sys/types.h-data: Likewise.
604 * conform/data/sys/wait.h-data: Likewise.
605 * conform/data/time.h-data: Likewise.
606 * conform/data/unistd.h-data: Likewise.
607 * conform/data/utime.h-data: Likewise.
608
609 * io/sys/stat.h: fchmod was always in POSIX.
610 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
611 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
612 * rt/aio.h: Define __need_timespec before including <time.h>.
613 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
614 struct. Add forward declaration of pthread_attr_t and use it in
615 sigevent.
616 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
617 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
618 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
619 always remove CLK_TCK definition.
620
c20105c3
AS
6212012-02-26 Andreas Schwab <schwab@linux-m68k.org>
622
623 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
624
7a270350
UD
6252012-02-25 Ulrich Drepper <drepper@gmail.com>
626
31341567
UD
627 * conform/run-conformtest.sh: New file.
628 * conform/Makefile: Run run-conformtest for tests.
629 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
630 support.
631
632 * conform/data/uchar.h-data: New file.
633 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
634 * conform/data/arpa/inet.h-data: Likewise.
635 * conform/data/assert.h-data: Likewise.
636 * conform/data/complex.h-data: Likewise.
637 * conform/data/cpio.h-data: Likewise.
638 * conform/data/ctype.h-data: Likewise.
639 * conform/data/dirent.h-data: Likewise.
640 * conform/data/dlfcn.h-data: Likewise.
641 * conform/data/errno.h-data: Likewise.
642 * conform/data/fcntl.h-data: Likewise.
643 * conform/data/float.h-data: Likewise.
644 * conform/data/fmtmsg.h-data: Likewise.
645 * conform/data/fnmatch.h-data: Likewise.
646 * conform/data/ftw.h-data: Likewise.
647 * conform/data/glob.h-data: Likewise.
648 * conform/data/grp.h-data: Likewise.
649 * conform/data/iconv.h-data: Likewise.
650 * conform/data/inttypes.h-data: Likewise.
651 * conform/data/langinfo.h-data: Likewise.
652 * conform/data/libgen.h-data: Likewise.
653 * conform/data/limits.h-data: Likewise.
654 * conform/data/locale.h-data: Likewise.
655 * conform/data/math.h-data: Likewise.
656 * conform/data/monetary.h-data: Likewise.
657 * conform/data/mqueue.h-data: Likewise.
658 * conform/data/ndbm.h-data: Likewise.
659 * conform/data/net/if.h-data: Likewise.
660 * conform/data/netdb.h-data: Likewise.
661 * conform/data/netinet/in.h-data: Likewise.
662 * conform/data/nl_types.h-data: Likewise.
663 * conform/data/poll.h-data: Likewise.
664 * conform/data/pthread.h-data: Likewise.
665 * conform/data/pwd.h-data: Likewise.
666 * conform/data/regex.h-data: Likewise.
667 * conform/data/sched.h-data: Likewise.
668 * conform/data/search.h-data: Likewise.
669 * conform/data/semaphore.h-data: Likewise.
670 * conform/data/setjmp.h-data: Likewise.
671 * conform/data/signal.h-data: Likewise.
672 * conform/data/spawn.h-data: Likewise.
673 * conform/data/stdarg.h-data: Likewise.
674 * conform/data/stdio.h-data: Likewise.
675 * conform/data/stdlib.h-data: Likewise.
676 * conform/data/string.h-data: Likewise.
677 * conform/data/strings.h-data: Likewise.
678 * conform/data/stropts.h-data: Likewise.
679 * conform/data/sys/ipc.h-data: Likewise.
680 * conform/data/sys/mman.h-data: Likewise.
681 * conform/data/sys/msg.h-data: Likewise.
682 * conform/data/sys/resource.h-data: Likewise.
683 * conform/data/sys/select.h-data: Likewise.
684 * conform/data/sys/sem.h-data: Likewise.
685 * conform/data/sys/shm.h-data: Likewise.
686 * conform/data/sys/socket.h-data: Likewise.
687 * conform/data/sys/stat.h-data: Likewise.
688 * conform/data/sys/statvfs.h-data: Likewise.
689 * conform/data/sys/time.h-data: Likewise.
690 * conform/data/sys/timeb.h-data: Likewise.
691 * conform/data/sys/times.h-data: Likewise.
692 * conform/data/sys/types.h-data: Likewise.
693 * conform/data/sys/uio.h-data: Likewise.
694 * conform/data/sys/un.h-data: Likewise.
695 * conform/data/sys/utsname.h-data: Likewise.
696 * conform/data/sys/wait.h-data: Likewise.
697 * conform/data/syslog.h-data: Likewise.
698 * conform/data/tar.h-data: Likewise.
699 * conform/data/termios.h-data: Likewise.
700 * conform/data/utime.h-data: Likewise.
701 * conform/data/utmpx.h-data: Likewise.
702 * conform/data/varargs.h-data: Likewise.
703 * conform/data/wchar.h-data: Likewise.
704 * conform/data/wctype.h-data: Likewise.
705 * conform/data/wordexp.h-data: Likewise.
706
707 * include/stropts.h: New file.
708 * include/uchar.h: New file.
709 * include/aio.h: Changes to allow conformtest.pl to use the headers.
710 * include/assert.h: Likewise.
711 * include/ctype.h: Likewise.
712 * include/dirent.h: Likewise.
713 * include/dlfcn.h: Likewise.
714 * include/fcntl.h: Likewise.
715 * include/fnmatch.h: Likewise.
716 * include/glob.h: Likewise.
717 * include/grp.h: Likewise.
718 * include/libio.h: Likewise.
719 * include/locale.h: Likewise.
720 * include/math.h: Likewise.
721 * include/net/if.h: Likewise.
722 * include/netdb.h: Likewise.
723 * include/netinet/in.h: Likewise.
724 * include/pthread.h: Likewise.
725 * include/pwd.h: Likewise.
726 * include/regex.h: Likewise.
727 * include/sched.h: Likewise.
728 * include/search.h: Likewise.
729 * include/setjmp.h: Likewise.
730 * include/signal.h: Likewise.
731 * include/stdio.h: Likewise.
732 * include/stdlib.h: Likewise.
733 * include/string.h: Likewise.
734 * include/sys/cdefs.h: Likewise.
735 * include/sys/mman.h: Likewise.
736 * include/sys/msg.h: Likewise.
737 * include/sys/resource.h: Likewise.
738 * include/sys/select.h: Likewise.
739 * include/sys/socket.h: Likewise.
740 * include/sys/stat.h: Likewise.
741 * include/sys/statvfs.h: Likewise.
742 * include/sys/time.h: Likewise.
743 * include/sys/times.h: Likewise.
744 * include/sys/uio.h: Likewise.
745 * include/sys/utsname.h: Likewise.
746 * include/sys/wait.h: Likewise.
747 * include/termios.h: Likewise.
748 * include/time.h: Likewise.
749 * include/ulimit.h: Likewise.
750 * include/unistd.h: Likewise.
751 * include/utime.h: Likewise.
752 * include/wchar.h: Likewise.
753 * include/wctype.h: Likewise.
754 * include/wordexp.h: Likewise.
755
756 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
757
7a270350
UD
758 * time/time.h: TIME_UTC must be a macro.
759 Make timespec_get available for ISO C11 only as well.
760
7724defc
UD
7612012-02-24 Ulrich Drepper <drepper@gmail.com>
762
763 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
764 Reported by Peng Haitao <penght@cn.fujitsu.com>.
765
6b1d1d46
JM
7662012-02-24 Joseph Myers <joseph@codesourcery.com>
767
768 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 769
0f8bbd69
JM
7702012-02-24 Joseph Myers <joseph@codesourcery.com>
771
772 * manual/texinfo.tex: Update to version 2012-01-19.16.
773
66ab80bc
JM
7742012-02-24 Joseph Myers <joseph@codesourcery.com>
775
776 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
777
74981cc5
RM
7782012-02-24 Roland McGrath <roland@hack.frob.com>
779
ee968201
RM
780 [BZ #13738]
781 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
782 * manual/fdl-1.3.texi: New file.
783 * manual/fdl-1.1.texi: File removed.
784
74981cc5
RM
785 [BZ #13738]
786 * manual/libc.texinfo (FDL_VERSION): New @set.
787 Use it for mention of FDL in cover text.
788 (Documentation License): Use it in @include file name.
789
7bb764bc
JM
7902012-02-22 Joseph Myers <joseph@codesourcery.com>
791 Roland McGrath <roland@hack.frob.com>
792
793 [BZ #5461]
794 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
795 not LONG_LONG_MAX and LONG_LONG_MIN.
796 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
797 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
798 name.
799 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
800
6cbeae47
JM
8012012-02-22 Joseph Myers <joseph@codesourcery.com>
802
803 [BZ #2547]
804 [BZ #11365]
805 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
806 manipulate bits before adding and subtracting TWO23[sx].
807 * math/libm-test.inc (nearbyint_test): Add more tests.
808
fe45ce09
JM
8092012-02-22 Joseph Myers <joseph@codesourcery.com>
810
811 [BZ #2548]
812 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
813 bits before adding and subtracting TWO23[sx].
814 * math/libm-test.inc (rint_test): Add more tests.
815 (rint_test_tonearest): Likewise.
816 (rint_test_towardzero): Likewise.
817 (rint_test_downward): Likewise.
818 (rint_test_upward: Likewise.
819
ff3b3d82
JM
8202012-02-22 Joseph Myers <joseph@codesourcery.com>
821
822 [BZ #10110]
823 * include/stdc-predef.h: New file. Extracted from features.h.
824 * include/features.h: Include stdc-predef.h.
825 * Makefile (headers): Add stdc-predef.h.
826 * CONFORMANCE (Compiler limitations): Update.
827
ef0aab35
JM
8282012-02-22 Joseph Myers <joseph@codesourcery.com>
829
830 * manual/libc.texinfo (VERSION, UPDATED): Revert.
831
58639409
DM
8322012-02-21 David S. Miller <davem@davemloft.net>
833
834 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
835 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
836
c0e70b25
DM
8372012-02-20 David S. Miller <davem@davemloft.net>
838
839 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
840 using a normal save/restore sequence, rather than allocating a
841 dummy stack frame just to store a frame pointer and restore.
842 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
843
fb06851d
JM
8442012-02-21 Joseph Myers <joseph@codesourcery.com>
845
846 * manual/install.texi: Fix stray word in line-wrapped comment.
847
7a8b71c3
DM
8482012-02-20 David S. Miller <davem@davemloft.net>
849
d510c123
DM
850 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
851 both binutils and gcc support GOTDATA.
852
0722d7c2
DM
853 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
854 "rd %pc" in the PIC register setup sequences.
855
3d2b3019
DM
856 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
857 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
858 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
859 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
860 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
862 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
863 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
864 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
865 (SYSCALL_ERROR_HANDLER): Likewise.
866 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
867 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
869 (SYSCALL_ERROR_HANDLER): Likewise.
870
c80098a9
DM
871 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
872 (HAVE_GCC_GOTDATA): New.
873 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
874 relocation support in both binutils and gcc.
875 * sysdeps/sparc/elf/configure: Regenerate.
876
3a2545a0
DM
877 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
878 * sysdeps/sparc/sparc32/elf/configure: Delete.
879 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
880 * sysdeps/sparc/sparc64/elf/configure: Delete.
881 * sysdeps/sparc/elf/configure.in: New file.
882 * sysdeps/sparc/elf/configure: Generate.
883
7a8b71c3
DM
884 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
885 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
886 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
887 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
888 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
889
f1e86fca
JM
8902012-02-21 Joseph Myers <joseph@codesourcery.com>
891
892 * manual/install.texi: Do not mention specific glibc version
893 numbers.
894 * manual/libc.texinfo (VERSION, UPDATED): Update.
895 (@copying): Use @copyright{} and range of years.
896
0e7dfaef
JM
8972012-02-21 Joseph Myers <joseph@codesourcery.com>
898
899 [BZ #13695]
900 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
901 [crti.S not in sysdirs] (generated): Do not append.
902 [crti.S not in sysdirs] (omit-deps): Likewise.
903 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
904 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
905 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
906 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
907 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
908 Likewise.
909 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
910 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
911 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
912 * csu/defs.awk: Remove file.
913 * sysdeps/generic/initfini.c: Likewise.
914 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
915 variable.
916 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
917 Likewise.
918
599af3ca
JM
9192012-02-20 Joseph Myers <joseph@codesourcery.com>
920
921 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
922 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
923 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
924 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
925 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
926 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
927 <bits/epoll.h>.
928 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
929 (__EPOLL_PACKED): Define to empty if not defined by
930 <bits/epoll.h>.
931 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
933 bits/epoll.h.
934
0e499750
JM
9352012-02-20 Joseph Myers <joseph@codesourcery.com>
936
937 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
938 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
939 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
940 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
941 <bits/timerfd.h>.
942 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
944 bits/timerfd.h.
945
5ad91f6e
JM
9462012-02-20 Joseph Myers <joseph@codesourcery.com>
947
948 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
949 in C locale.
950 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
951 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
952 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
954
06b99b02
AJ
9552012-02-20 Aurelien Jarno <aurelien@aurel32.net>
956
957 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
958 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
959
7638c0fd
AS
9602012-02-19 Andreas Schwab <schwab@linux-m68k.org>
961
962 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
963 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
964 defined.
965 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
966 Likewise.
967 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
968 entry for 2.16.
969
92221550
AJ
9702012-02-19 Aurelien Jarno <aurelien@aurel32.net>
971
972 * math/w_acos.c: Use non-signaling floating-point comparisons.
973 * math/w_acosf.c: Likewise.
974 * math/w_acosh.c: Likewise.
975 * math/w_acoshf.c: Likewise.
976 * math/w_acoshl.c: Likewise.
977 * math/w_acosl.c: Likewise.
978 * math/w_asin.c: Likewise.
979 * math/w_asinf.c: Likewise.
980 * math/w_asinl.c: Likewise.
981 * math/w_atanh.c: Likewise.
982 * math/w_atanhf.c: Likewise.
983 * math/w_atanhl.c: Likewise.
984 * math/w_exp2.c: Likewise.
985 * math/w_exp2f.c: Likewise.
986 * math/w_exp2l.c: Likewise.
987 * math/w_j0.c: Likewise.
988 * math/w_j0f.c: Likewise.
989 * math/w_j0l.c: Likewise.
990 * math/w_j1.c: Likewise.
991 * math/w_j1f.c: Likewise.
992 * math/w_j1l.c: Likewise.
993 * math/w_jn.c: Likewise.
994 * math/w_jnf.c: Likewise.
995 * math/w_log.c: Likewise.
996 * math/w_log10.c: Likewise.
997 * math/w_log10f.c: Likewise.
998 * math/w_log10l.c: Likewise.
999 * math/w_log2.c: Likewise.
1000 * math/w_log2f.c: Likewise.
1001 * math/w_log2l.c: Likewise.
1002 * math/w_logf.c: Likewise.
1003 * math/w_logl.c: Likewise.
1004 * math/w_sqrt.c: Likewise.
1005 * math/w_sqrtf.c: Likewise.
1006 * math/w_sqrtl.c: Likewise.
1007 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1008 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1009 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1010 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1011 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1012
ebaf36eb
JM
10132012-02-19 Joseph Myers <joseph@codesourcery.com>
1014
1015 [BZ #9739]
1016 * manual/string.texi (strnlen): Use correct parameter name in
1017 equivalent expression.
1018
71c254a6
JM
10192012-02-19 Joseph Myers <joseph@codesourcery.com>
1020
1021 [BZ #11174]
1022 * manual/users.texi (seteuid): Consistently use neweuid for
1023 argument name.
1024
16d2c631
JM
10252012-02-19 Joseph Myers <joseph@codesourcery.com>
1026
1027 [BZ #13704]
1028 * manual/nss.texi (Services in the NSS configuration): Correct
1029 list of services in example configuration file.
1030
cd837b09
NB
10312012-02-19 Nick Bowler <nbowler@draconx.ca>
1032
1033 [BZ #11322]
1034 * manual/arith.texi: Remove statements about negative zero
1035 behaving identically to zero.
1036
02c4bbad
JM
10372012-02-18 Joseph Myers <joseph@codesourcery.com>
1038
1039 [BZ #5993]
1040 * manual/install.texi: Do not document upgrading from libc5.
1041
366842e7
JM
10422012-02-18 Joseph Myers <joseph@codesourcery.com>
1043
1044 [BZ #4596]
1045 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1046
dd54084d
DM
10472012-02-18 David S. Miller <davem@davemloft.net>
1048
1049 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1050 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1051 %o7 across the call.
1052 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1053 instead.
1054 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1055 SETUP_PIC_REG_LEAF.
1056 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1057 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1058 * sysdeps/sparc/crtn.S: Likewise.
1059
2bcc53a3
UD
10602012-02-17 Ulrich Drepper <drepper@gmail.com>
1061
1062 * aout/Makefile: Remove.
1063
09c093b5
RK
10642012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1065
1066 [BZ #13058]
1067 * manual/examples/argp-ex1.c (main): Format definition in GNU
1068 style.
1069 * manual/examples/argp-ex2.c (main): Likewise.
1070 * manual/examples/argp-ex3.c (main): Likewise.
1071 * manual/examples/argp-ex4.c (main): Likewise.
1072 * manual/examples/longopt.c (main): Use new-style prototype
1073 definition.
1074 * manual/examples/strncat.c (main): Specify return type and use
1075 (void) for arguments.
1076 * manual/examples/subopt.c (main): Use char **argv argument.
1077
2ee633a2
JM
10782012-02-17 Joseph Myers <joseph@codesourcery.com>
1079
1080 [BZ #5077]
1081 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1082 rounding modes.
1083
0520adde
FB
10842012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1085
1086 [BZ #6907]
1087 * manual/string.texi (strchr): Change when strchrnul is
1088 recommended.
1089
3f4081cd
DGM
10902012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1091
1092 [BZ #174]
1093 * manual/locale.texi (setlocale): Document LOCPATH.
1094
d1b10e78
JM
10952012-02-17 Joseph Myers <joseph@codesourcery.com>
1096
1097 [BZ #10210]
1098 * manual/process.texi (execle): Move @dots{} before last argument.
1099
79c6869c
PB
11002012-02-17 Paul Bolle <pebolle@tiscali.nl>
1101
1102 [BZ #12047]
1103 * manual/charset.texi (Generic Charset Conversion): Fix typo
1104 (LC_TYPE -> LC_CTYPE).
1105
cc6e48bc
NB
11062012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1107
1108 [BZ #5805]
1109 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1110 (scalbnf): Likewise.
1111 (scalbnl): Likewise.
1112 (scalbln): Likewise.
1113 (scalblnf): Likewise.
1114 (scalblnl): Likewise.
1115 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1116 (vwarnx): Likewise.
1117 (verr): Likewise.
1118 (verrx): Likewise.
1119 * manual/filesys.texi (telldir): Use braces around return type.
1120 * manual/llio.texi (mmap): Add space after comma.
1121 (mmap64): Likewise.
1122 * manual/math.texi (jn): Use @var{} on parameter names.
1123 (jnf): Likewise.
1124 (jnl): Likewise.
1125 (yn): Likewise.
1126 (ynf): Likewise.
1127 (ynl): Likewise.
1128 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1129 line.
1130 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1131 "...".
1132 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1133 (sched_get_priority_max): Likewise.
1134 * manual/signal.texi (sigvec): Add space after comma.
1135 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1136 names.
1137 (if_indextoname): Likewise.
1138 (if_freenameindex): Likewise.
1139 (sendto): Use ',' instead of '.' in prototype.
1140 * manual/startup.texi (syscall): Use @dots{} instead of literal
1141 "...".
1142 * manual/stdio.texi (__fpending): Separate initial words of
1143 paragraph from @deftypefun line.
1144 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1145 "...".
1146 (vsyslog): Use @var{} on parameter names.
1147 * manual/terminal.texi (stty): Use @var{} on parameter names.
1148 * manual/users.texi (getutmp): Use @var{} on parameter names.
1149 (getutmpx): Likewise.
1150
5b23062f
JM
11512012-02-17 Joseph Myers <joseph@codesourcery.com>
1152
1153 [BZ #6884]
1154 * manual/stdio.texi (fopen): Fix typos in description of
1155 ",ccs=STRING".
1156
8dee4833
AJ
11572012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1158
1159 [BZ #4026]
1160 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1161 get clock_id definition.
1162
9078ce93
TS
11632012-02-17 Thomas Schwinge <thomas@schwinge.name>
1164
1165 [BZ #4822]
1166 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1167 (madvise): Cast every argument to void on its own.
1168
3835c55f
JM
11692012-02-17 Joseph Myers <joseph@codesourcery.com>
1170
1171 [BZ #9902]
1172 * manual/startup.texi (Exit Status): Fix typo.
1173
35c47e37
JM
11742012-02-17 Joseph Myers <joseph@codesourcery.com>
1175
1176 [BZ #10140]
1177 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1178 * manual/examples/argp-ex2.c: Likewise.
1179 * manual/examples/argp-ex3.c: Likewise.
1180
e3b69ca7
RH
11812012-02-16 Richard Henderson <rth@redhat.com>
1182
1183 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1184 * sysdeps/s390/s390-32/initfini.c: Remove.
1185 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1186 * sysdeps/s390/s390-64/initfini.c: Remove.
1187
df83af67
KK
11882012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1189
1190 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1191 compiler output for sysdeps/generic/initfini.c.
1192 * sysdeps/sh/elf/initfini.c: Remove file.
1193
f63f3380
DM
11942012-02-16 David S. Miller <davem@davemloft.net>
1195
fb59b3a4
DM
1196 [BZ #11494]
1197 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1198
f63f3380
DM
1199 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1200 * sysdeps/sparc/crti.S: New file.
1201 * sysdeps/sparc/crtn.S: New file.
1202 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1203 * sysdeps/sparc/sparc64/Makefile: Likewise.
1204
df6a4a4a
MF
12052012-02-15 Mike Frysinger <vapier@gentoo.org>
1206
6dd8f3dc 1207 [BZ #3335]
df6a4a4a
MF
1208 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1209
1cac7236
RM
12102012-02-15 Roland McGrath <roland@hack.frob.com>
1211
d2c736f8
RM
1212 [BZ #4822]
1213 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1214
1cac7236
RM
1215 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1216 (write, read, close): Likewise.
1217 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1218
8e475601
JM
12192012-02-15 Joseph Myers <joseph@codesourcery.com>
1220
1221 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1222 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1223 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1224 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1225 <bits/signalfd.h>.
1226 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1228 bits/signalfd.h.
1229
ed656b40
MP
12302012-02-14 Marek Polacek <polacek@redhat.com>
1231
1232 * sysdeps/x86_64/crti.S: New file.
1233 * sysdeps/x86_64/crtn.S: New file.
1234 * sysdeps/x86_64/elf/initfini.c: Remove file.
1235
2a979d3a
JM
12362012-02-13 Joseph Myers <joseph@codesourcery.com>
1237
1238 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1239 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1240 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1241 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1242 <bits/inotify.h>.
1243 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1245 bits/inotify.h.
1246
2a418ac3
JM
12472012-02-13 Joseph Myers <joseph@codesourcery.com>
1248
1249 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1250 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1251 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1252 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1253 <bits/eventfd.h>.
1254 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1256 bits/eventfd.h.
1257
fb779be7
TS
12582012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1259
e19e83c5
RM
1260 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1261 __feraiseexcept instead of feraiseexcept.
7c35ffed 1262
fb779be7
TS
1263 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1264 nanosleep invocations.
1265 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1266 strings, and add error checking for a nanosleep invocations.
1267
59ba27a6
PE
12682012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1269
1270 Replace FSF snail mail address with URLs, as per GNU coding standards.
1271 Most of the snail mail addresses were wrong anyway, and omitting
1272 them makes the source code easier to maintain. Almost all of the
1273 changes are to license notices and to locale LC_IDENTIFICATION
1274 addresses, except for this one:
1275 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1276 not its snail mail address.
1277
57b957eb
RH
12782012-02-09 Richard Henderson <rth@twiddle.net>
1279
af850b1c
RH
1280 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1281 of kernel-features.h.
1282
57b957eb
RH
1283 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1284
6b73181a
MP
12852012-02-08 Marek Polacek <polacek@redhat.com>
1286
1287 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1288 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1289 * sysdeps/gnu/_G_config.h: Likewise.
1290 * sysdeps/generic/_G_config.h: Likewise.
1291
26ecc33a
AS
12922012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1293
6c6dbc63
AS
1294 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1295 tests.
1296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1297
e216c012
AS
1298 * sysdeps/powerpc/powerpc32/crti.S: New file.
1299 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1300 * sysdeps/powerpc/powerpc64/crti.S: New file.
1301 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1302
26ecc33a
AS
1303 * Makeconfig (have-initfini): Don't set.
1304 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1305 * configure.in (nopic_initfini): Don't substitute.
1306 * config.h.in (HAVE_INITFINI): Don't #undef.
1307 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1308 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1309
3add8e13
JM
13102012-02-08 Joseph Myers <joseph@codesourcery.com>
1311
1312 Support crti.S and crtn.S provided directly by architectures.
1313 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1314 [crti.S in sysdirs] (omit-deps): Likewise.
1315 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1316 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1317 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1318 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1319 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1320 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1321 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1322 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1323 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1324 compiler output for sysdeps/generic/initfini.c.
1325 * sysdeps/i386/elf/Makefile: Remove file.
1326 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1327
a22f12b4
MP
13282012-02-07 Marek Polacek <polacek@redhat.com>
1329
1330 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1331 * sysdeps/gnu/_G_config.h: Likewise.
1332 * sysdeps/mach/hurd/_G_config.h: Likewise.
1333
148cf100
MP
13342012-02-07 Marek Polacek <polacek@redhat.com>
1335
1336 * math/Makefile (tests): Add tst-CMPLX2.
1337 * math/tst-CMPLX2.c: New file.
1338
cfdc0dd7
AS
13392012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1340
84ba42c4
AS
1341 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1342
cfdc0dd7
AS
1343 * math/libm-test.inc (jn_test): Add missing L suffix.
1344
622c86f4
MP
13452012-02-06 Marek Polacek <polacek@redhat.com>
1346
1347 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1348 * sysdeps/i386/fpu/e_powf.S: Likewise.
1349 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1350 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1351 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1352 * sysdeps/i386/fpu/e_pow.S: Likewise.
1353 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1354 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1355 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1356 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1357 * sysdeps/i386/fpu/e_log2.S: Likewise.
1358 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1359 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1360 * sysdeps/i386/fpu/e_powl.S: Likewise.
1361 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1362 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1363 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1364 * sysdeps/i386/fpu/e_logl.S: Likewise.
1365 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1366 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1367 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1368 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1369 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1370 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1371 * sysdeps/i386/fpu/e_log.S: Likewise.
1372 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1373 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1374 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1375 * sysdeps/i386/fpu/e_logf.S: Likewise.
1376 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1377 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1378 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1379 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1380 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1381 * sysdeps/i386/fpu/e_log10.S: Likewise.
1382 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1383 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1384 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1385 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1386 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1387 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1388 * sysdeps/i386/asm-syntax.h: Likewise.
1389 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1390 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1391 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1392 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1393 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1394 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1395 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1396 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1397 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1398 * sysdeps/powerpc/sysdep.h: Likewise.
1399 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1400 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1401
d4a54ac6
JM
14022012-02-06 Joseph Myers <joseph@codesourcery.com>
1403
1404 [BZ #411]
1405 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1406
314054ea
JM
14072012-02-06 Joseph Myers <joseph@codesourcery.com>
1408
1409 * sysdeps/i386/sysdep.h: Include <features.h>.
1410 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1411 version.
1412
d8e0ca50
JM
14132012-02-05 Joseph Myers <joseph@codesourcery.com>
1414
1415 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1416 Define.
1417 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1418 LOAD_PIC_REG_STR.
1419
b1da7dd9
JM
14202012-02-03 Joseph Myers <joseph@codesourcery.com>
1421
1422 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1423 (SETUP_PIC_REG): Use GET_PC_THUNK.
1424 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1425 macro.
1426
9a1d9254
JM
14272012-02-03 Joseph Myers <joseph@codesourcery.com>
1428
1429 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1430 for non-PIC compilation.
1431 (SETUP_PIC_REG): Add .p2align directive.
1432 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1433 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1434 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1435 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1436 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1437 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1438 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1439 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1440 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1441 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1442 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1443 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1444 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1445 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1446 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1447 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1448 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1449 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1450 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1451 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1452 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1453 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1454 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1455 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1456 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1458 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1460 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1461 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1462 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1463 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1464 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1465 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1466 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1467 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1468 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1469 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1470 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1471 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1472 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1473
65dc3b75
JM
14742012-02-03 Joseph Myers <joseph@codesourcery.com>
1475
1476 * math/tst-CMPLX.c: Include <stdio.h>.
1477
d55bf177
JM
14782012-01-31 Joseph Myers <joseph@codesourcery.com>
1479
1480 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1481 float.
1482 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1483 * sysdeps/sparc/bits/mathdef.h: Likewise.
1484
69db4f8f
MP
14852012-01-31 Marek Polacek <polacek@redhat.com>
1486
1487 * libio/libio.h: Don't define _PARAMS.
1488 * locale/programs/config.h: Don't define PARAMS.
1489 * stdlib/strtol_l.c: Likewise.
1490 (__strtol_l): Remove PARAMS from the prototype.
1491
41b81892
UD
14922012-01-31 Ulrich Drepper <drepper@gmail.com>
1493
3b49edc0
UD
1494 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1495 names. Just use the correct names. Remove unnecessary wrapper
1496 functions.
1497 * malloc/arena.c: Likewise.
1498 * malloc/hooks.c: Likewise.
1499
41b81892
UD
1500 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1501 ARENA_TEST says not to. Simplify test for creation of a new arena.
1502 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1503
27a25b6e
UD
15042012-01-30 Ulrich Drepper <drepper@gmail.com>
1505
1506 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1507 into tail calls.
1508 (update_get_addr): New function.
1509 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1510 GET_ADDR_MODULE parameter.
1511
c8a89e7d
JM
15122012-01-30 Joseph Myers <joseph@codesourcery.com>
1513
1514 * crypt/cert.c: Remove __STDC__ conditionals.
1515 * crypt/crypt-entry.c: Likewise.
1516 * crypt/crypt_util.c: Likewise.
1517 * libio/filedoalloc.c: Likewise.
1518 * libio/fileops.c: Likewise.
1519 * libio/genops.c: Likewise.
1520 * libio/iofclose.c: Likewise.
1521 * libio/iofdopen.c: Likewise.
1522 * libio/iofopen.c: Likewise.
1523 * libio/iofopen64.c: Likewise.
1524 * libio/iogetdelim.c: Likewise.
1525 * libio/iopopen.c: Likewise.
1526 * libio/obprintf.c: Likewise.
1527 * libio/oldfileops.c: Likewise.
1528 * libio/oldiofclose.c: Likewise.
1529 * libio/oldiofdopen.c: Likewise.
1530 * libio/oldiofopen.c: Likewise.
1531 * libio/oldiopopen.c: Likewise.
1532 * libio/wfiledoalloc.c: Likewise.
1533 * libio/wgenops.c: Likewise.
1534 * locale/programs/xmalloc.c: Likewise.
1535 * misc/syslog.c: Likewise.
1536 * stdio-common/xbug.c: Likewise.
1537 * string/memchr.c: Likewise.
1538 * string/memcmp.c: Likewise.
1539 * string/memrchr.c: Likewise.
1540 * string/rawmemchr.c: Likewise.
1541 * sysdeps/posix/getcwd.c: Likewise.
1542 * time/strftime_l.c: Likewise.
1543
3b100462
JM
15442012-01-30 Joseph Myers <joseph@codesourcery.com>
1545
1546 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
1547 * config.make.in (config-cflags-sse2avx): Define.
1548 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1549 Fix typo.
1550
607998af
CM
15512012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1552
1553 * scripts/config.guess: Update from upstream config git repository.
1554 * scripts/config.sub: Likewise.
1555
3601428f
CM
15562012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1557
3ac8b282
CM
1558 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1559 (EM_NUM): Update.
1560 (R_TILEPRO_*, R_TILEGX_*): New macros.
1561
e034841e
CM
1562 * scripts/firstversions.awk: Fix bug in version range handling.
1563
540d7568
CM
1564 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1565
3601428f
CM
1566 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1567
463de862
CM
1568 * include/sys/epoll.h: New file.
1569 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1570 libc_hidden_def.
1571
73139a76
UD
15722012-01-28 Ulrich Drepper <drepper@gmail.com>
1573
96bc5b45
UD
1574 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1575 Avoid unnecessary __WORDSIZE == 64 test.
1576 (fmaxf): Use VEX format if possible.
1577 (fmax): Likewise.
1578 (fminf): Likewise.
1579 (fmin): Likewise.
1580
56f6f6a2
UD
1581 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1582 * math/math_private.h: Remove libc_fegetround* and
1583 libc_fesetround*.
1584 * sysdeps/i386/configure.in: Check for -msse2avx.
1585 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1586 also if SSE2AVX is defined.
1587 Remove libc_fegetround* and libc_fesetround*.
1588 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1589 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1590 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1591 of HAS_YMM_USABLE.
1592 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1593 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1594 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1595 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1596 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1597
73139a76
UD
1598 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1599
d73f93a4
AZ
16002012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1601
1602 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1603 size is not set.
1604 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1605
6ee65ed6
UD
16062012-01-27 Ulrich Drepper <drepper@gmail.com>
1607
1608 [BZ #13618]
1609 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1610 relocation.
1611 * Makeconfig (libm): Define.
1612 * elf/Makefile: Add rules to build and run tst-relsort1.
1613 * elf/tst-relsort1.c: New file.
1614 * elf/tst-relsort1mod1.c: New file.
1615 * elf/tst-relsort1mod2.c: New file.
1616
8db21882
JM
16172012-01-27 Joseph Myers <joseph@codesourcery.com>
1618
1619 * math/s_ldexp.c: Remove __STDC__ conditionals.
1620 * math/s_ldexpf.c: Likewise.
1621 * math/s_ldexpl.c: Likewise.
1622 * math/s_nextafter.c: Likewise.
1623 * math/s_nexttowardf.c: Likewise.
1624 * math/s_significand.c: Likewise.
1625 * math/s_significandf.c: Likewise.
1626 * math/s_significandl.c: Likewise.
1627 * math/w_jnl.c: Likewise.
1628 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1629 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1630 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1631 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1632 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1633 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1634 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1635 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1636 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1637 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1638 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1639 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1640 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1642 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1643 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1644 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1645 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1646 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1647 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1648 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1649 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1650 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1651 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1652 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1653 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1654 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1655 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1656 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1657 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1658 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1659 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1660 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1661 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1662 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1663 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1664 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1665 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1666 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1667 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1668 * sysdeps/ieee754/k_standard.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1678 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1682 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1683 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1687 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1688 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1689 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1690 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1694 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1695 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1701 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1705 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1711 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1712 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1713 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1717 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1718 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1719 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1720 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1721 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1728 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1729 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1730 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1735 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1736 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1743 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1744 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1748 * sysdeps/ieee754/s_matherr.c: Likewise.
1749 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1750 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1751 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1752 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1753
965a54a4
JM
17542012-01-26 Joseph Myers <joseph@codesourcery.com>
1755
1756 * crypt/md5.h: Remove __STDC__ conditionals.
1757 * libio/libioP.h: Likewise.
1758 * locale/programs/config.h: Likewise.
1759 * sysdeps/generic/sysdep.h: Likewise.
1760 * sysdeps/i386/asm-syntax.h: Likewise.
1761 * sysdeps/s390/asm-syntax.h: Likewise.
1762 * sysdeps/unix/sysdep.h: Likewise.
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1765
7071ad79
JM
17662012-01-26 Joseph Myers <joseph@codesourcery.com>
1767
1768 * libio/libio.h: Remove __STDC__ conditionals.
1769 * malloc/obstack.h: Likewise.
1770 * math/complex.h: Likewise.
1771 * math/math.h: Likewise.
1772 * sysdeps/generic/_G_config.h: Likewise.
1773 * sysdeps/gnu/_G_config.h: Likewise.
1774 * sysdeps/mach/hurd/_G_config.h: Likewise.
1775 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1776 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1777 * sysdeps/sparc/bits/mathdef.h: Likewise.
1778
afc5ed09
UD
17792012-01-26 Ulrich Drepper <drepper@gmail.com>
1780
1781 [BZ #13583]
1782 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 1783 Clean up HAS_* macros.
afc5ed09 1784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
1785 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1786 possible.
1787 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1788 HAS_AVX.
1789 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1790 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1791 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1792 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1793 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 1794
bdb6de1d
JM
17952012-01-25 Joseph Myers <joseph@codesourcery.com>
1796
1797 * elf/tst-unique3.cc (gets): Remove declaration.
1798 * elf/tst-unique3lib.cc (gets): Likewise.
1799 * elf/tst-unique3lib2.cc (gets): Likewise.
1800 * elf/tst-unique4.cc (gets): Likewise.
1801
b15549e6
UD
18022012-01-24 Ulrich Drepper <drepper@gmail.com>
1803
1804 * include/stdio.h: Add C++ protection. Add gets declarations and
1805 definitions.
1806 * debug/tst-chk1.c: Don't declare gets here.
1807 * stdio-common/tst-gets.c: Likewise.
1808
a037381f
JM
18092012-01-24 Joseph Myers <joseph@codesourcery.com>
1810
1811 * posix/glob: Remove directory.
1812
f1d4aa75
JM
18132012-01-24 Joseph Myers <joseph@codesourcery.com>
1814
1815 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1816
81c0c964
PT
18172012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1818
1819 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1820 of the non-standard EPFNOSUPPORT.
1821
0ea698ae
ST
18222011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1823
1824 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1825 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1826 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1827
d220b117
UD
18282012-01-21 Ulrich Drepper <drepper@gmail.com>
1829
1830 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1831
3e1aa84e
UD
18322012-01-20 Ulrich Drepper <drepper@gmail.com>
1833
1834 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1835 transient errors.
1836 * nscd/grpcache.c (cache_addgr): Likewise.
1837 * nscd/hstcache.c (cache_addhst): Likewise.
1838 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1839 * nscd/pwdcache.c (cache_addpw): Likewise.
1840 * nscd/servicescache.c (cache_addserv): Likewise.
1841
400aa020
UD
18422012-01-16 Ulrich Drepper <drepper@gmail.com>
1843
d77e7869
UD
1844 * malloc/malloc.c: Various cleanups.
1845 * malloc/hooks.c: Likewise.
1846
400aa020
UD
1847 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1848 * stdlib/bug-fmtmsg1.c: New file.
1849
1850 * stdlib/fmtmsg.c (init): Add missing unlock.
1851 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1852
e0a309cf
MP
18532012-01-12 Marek Polacek <polacek@redhat.com>
1854
1855 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1856 and _GNU_SOURCE.
1857
929d11c7
WS
18582012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1859
1860 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1861 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1862 macro to ensure uniqueness of label name.
1863 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1864 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1865
41d0e869
UD
18662012-01-11 Ulrich Drepper <drepper@gmail.com>
1867
0cc5ed3b
UD
1868 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1869
41d0e869
UD
1870 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1871 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1872 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1874
a47a831a
UD
18752012-01-10 Ulrich Drepper <drepper@gmail.com>
1876
daa891c0
UD
1877 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1878
1879 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1880 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1881 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1882
e58ef0f2
UD
1883 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1884
a47a831a 1885 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
1886 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1887 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 1888 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
1889
1890 * math/bits/math-finite.h: Add ldexp support.
1891
a0bfc9c7
MP
18922012-01-10 Marek Polacek <polacek@redhat.com>
1893
1894 * locale/programs/localedef.h (show_archive_content): Add noreturn
1895 attribute.
1896
d6e97a1d
UD
18972012-01-09 Ulrich Drepper <drepper@gmail.com>
1898
1899 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1900
d5835c26
UD
19012012-01-08 Ulrich Drepper <drepper@gmail.com>
1902
e5f484c6
UD
1903 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1904
d5835c26
UD
1905 * io/Makefile (headers): Add bits/poll2.h.
1906
d1f741e9
WS
19072011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1908
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1910 typo #include statement.
1911
ec09c1c4
UD
19122012-01-08 Ulrich Drepper <drepper@gmail.com>
1913
1914 * include/sys/cdefs.h: Define __attribute_alloc_size.
1915 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1916 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1917 * elf/pldd.c: Likewise.
1918 * iconv/iconv_charmap.c: Likewise.
1919 * iconv/iconvconfig.c: Likewise.
1920 * iconv/strtab.c: Likewise.
1921 * locale/programs/locale.c: Likewise.
1922 * locale/programs/localedef.h: Likewise.
1923 * locale/programs/simple-hash.c: Likewise.
1924 * nscd/nscd.h: Likewise.
1925 * nss/makedb.c: Likewise.
1926 * sysdeps/generic/ldconfig.h: Likewise.
1927 * locale/programs/localedef.c: Remove xmalloc prototype.
1928 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1929
20b38e03
PP
19302012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1931
1932 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1933 appropriate.
1934
a0da5fe1
UD
19352012-01-08 Ulrich Drepper <drepper@gmail.com>
1936
1d5a644a 1937 * math/Makefile (tests): Add tst-CMPLX.
669704fd 1938 * math/tst-CMPLX.c: New file.
1d5a644a 1939
8784a6db
UD
1940 * math/complex.h (CMPLXL): Fix typo.
1941
d9a216c0
UD
1942 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1943 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1944 GLIBC_2.16.
1945 * debug/tst-chk1.c: Add poll and ppoll tests.
1946 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1947 * include/sys/poll.h: Add hidden proto for ppoll.
1948 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1949 * sysdeps/mach/hurd/ppoll.c: Likewise.
1950 * io/ppoll.c: Likewise.
1951 * debug/poll_chk.c: New file.
1952 * debug/ppoll_chk.c: New file.
1953 * include/bits/poll2.h: New file.
1954 * io/bits/poll2.h: New file.
1955
ac097f5c
UD
1956 [BZ #1350]
1957 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1958
2119dcfa
UD
1959 * configure.in: static is always set to yes. Remove.
1960 * config.make.in: Don't set build-static.
1961 * Makeconfig: Remove use of build-static.
1962 * dlfcn/Makefile: Likewise.
1963 * elf/Makefile: Likewise.
1964 * math/Makefile: Likewise.
1965 * misc/Makefile: Likewise.
1966 * nptl/Makefile: Likewise.
1967 * sysdeps/mach/hurd/Makefile: Likewise.
1968
121766a9
UD
1969 * configure.in: PWD_P is not used anymore.
1970 * config.make.in: Remove PWD_P entry.
1971
51a1d39c 1972 * configure.in: Remove last remnants of RANLIB.
8720d066 1973 No need to check for signed size_t anymore.
215f4bdc
UD
1974 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1975 and IA-64.
3857022a 1976 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
1977 * aclocal.m4: Likewise.
1978
d3ed7225
UD
1979 * wcsmbs/mbrtoc16.c: Implement using towc function.
1980 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1981 * wcsmbs/wcsmbsload.c: Likewise.
1982 * iconv/gconv_simple.c: Likewise.
1983 * iconv/gconv_int.h: Likewise.
1984 * iconv/gconv_builtin.h: Likewise.
1985 * iconv/iconv_prog.c: Remove CHAR16 handling.
1986
1987 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1988
1989 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1990
a0da5fe1
UD
1991 * configure.in: Remove --with-elf and --enable-bounded options.
1992 Dont set base_machine for ia64. More non-ELF conditions removed.
1993 Remove testing and setting of leading underscore information.
1994 * config.make.in (build-bounded): Set to no.
1995 * config.h.in: Remove NO_UNDERSCORES entry.
1996 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1997 them.
1998 * csu/start.c: Remove !NO_UNDERSCORE code.
1999 * locale/localeinfo.h: Likewise.
2000 * sysdeps/generic/machine-gmon.h: Likewise.
2001 * sysdeps/generic/sysdep.h: Likewise.
2002 * sysdeps/i386/sysdep.h: Likewise.
2003 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2004 * sysdeps/mach/sysdep.h: Likewise.
2005 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2006 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2007 * sysdeps/sh/sysdep.h: Likewise.
2008 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2009 * sysdeps/unix/i386/sysdep.S: Likewise.
2010 * sysdeps/unix/sparc/start.c: Likewise.
2011 * sysdeps/unix/sparc/sysdep.S: Likewise.
2012 * sysdeps/unix/sparc/sysdep.h: Likewise.
2013 * sysdeps/unix/start.c: Likewise.
2014 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2015 * sysdeps/x86_64/sysdep.h: Likewise.
2016
df78418a
UD
20172012-01-07 Ulrich Drepper <drepper@gmail.com>
2018
a784e502
UD
2019 [BZ #13553]
2020 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2021 for non-gcc.
2022 * argp/argp-fmtstream.h: Use const instead __const.
2023 * argp/argp.h: Likewise.
2024 * assert/assert.h: Likewise.
2025 * bits/fenv.h: Likewise.
2026 * bits/sched.h: Likewise.
2027 * bits/sigset.h: Likewise.
2028 * bits/sigthread.h: Likewise.
2029 * catgets/nl_types.h: Likewise.
2030 * conform/data/pthread.h-data: Likewise.
2031 * crypt/crypt-private.h: Likewise.
2032 * crypt/crypt.h: Likewise.
2033 * crypt/crypt_util.c: Likewise.
2034 * ctype/ctype.h: Likewise.
2035 * debug/execinfo.h: Likewise.
2036 * debug/mbsnrtowcs_chk.c: Likewise.
2037 * debug/mbsrtowcs_chk.c: Likewise.
2038 * debug/wcsnrtombs_chk.c: Likewise.
2039 * debug/wcsrtombs_chk.c: Likewise.
2040 * debug/wcstombs_chk.c: Likewise.
2041 * dirent/dirent.h: Likewise.
2042 * dlfcn/dlfcn.h: Likewise.
2043 * elf/neededtest4.c: Likewise.
2044 * grp/grp.h: Likewise.
2045 * gshadow/gshadow.h: Likewise.
2046 * iconv/gconv.h: Likewise.
2047 * iconv/gconv_int.h: Likewise.
2048 * iconv/gconv_simple.c: Likewise.
2049 * iconv/iconv.h: Likewise.
2050 * iconv/loop.c: Likewise.
2051 * iconv/skeleton.c: Likewise.
2052 * include/aio.h: Likewise.
2053 * include/aliases.h: Likewise.
2054 * include/argz.h: Likewise.
2055 * include/arpa/inet.h: Likewise.
2056 * include/assert.h: Likewise.
2057 * include/dirent.h: Likewise.
2058 * include/dlfcn.h: Likewise.
2059 * include/execinfo.h: Likewise.
2060 * include/fcntl.h: Likewise.
2061 * include/fenv.h: Likewise.
2062 * include/glob.h: Likewise.
2063 * include/grp.h: Likewise.
2064 * include/libintl.h: Likewise.
2065 * include/mntent.h: Likewise.
2066 * include/netdb.h: Likewise.
2067 * include/pwd.h: Likewise.
2068 * include/rpc/netdb.h: Likewise.
2069 * include/sched.h: Likewise.
2070 * include/search.h: Likewise.
2071 * include/shadow.h: Likewise.
2072 * include/signal.h: Likewise.
2073 * include/stdio.h: Likewise.
2074 * include/stdlib.h: Likewise.
2075 * include/string.h: Likewise.
2076 * include/sys/socket.h: Likewise.
2077 * include/sys/stat.h: Likewise.
2078 * include/sys/statfs.h: Likewise.
2079 * include/sys/statvfs.h: Likewise.
2080 * include/sys/syslog.h: Likewise.
2081 * include/sys/time.h: Likewise.
2082 * include/sys/uio.h: Likewise.
2083 * include/time.h: Likewise.
2084 * include/unistd.h: Likewise.
2085 * include/utmp.h: Likewise.
2086 * include/wchar.h: Likewise.
2087 * include/wctype.h: Likewise.
2088 * inet/aliases.h: Likewise.
2089 * inet/arpa/inet.h: Likewise.
2090 * inet/netinet/ether.h: Likewise.
2091 * inet/netinet/in.h: Likewise.
2092 * intl/libintl.h: Likewise.
2093 * io/bits/fcntl2.h: Likewise.
2094 * io/fcntl.h: Likewise.
2095 * io/ftw.h: Likewise.
2096 * io/sys/poll.h: Likewise.
2097 * io/sys/stat.h: Likewise.
2098 * io/sys/statfs.h: Likewise.
2099 * io/sys/statvfs.h: Likewise.
2100 * io/utime.h: Likewise.
2101 * libio/bits/stdio.h: Likewise.
2102 * libio/bits/stdio2.h: Likewise.
2103 * libio/libio.h: Likewise.
2104 * libio/libioP.h: Likewise.
2105 * libio/stdio.h: Likewise.
2106 * locale/lc-ctype.c: Likewise.
2107 * locale/locale.h: Likewise.
2108 * login/utmp.h: Likewise.
2109 * malloc/arena.c: Likewise.
2110 * malloc/malloc.c: Likewise.
2111 * malloc/malloc.h: Likewise.
2112 * malloc/mcheck.c: Likewise.
2113 * malloc/mtrace.c: Likewise.
2114 * math/bits/mathcalls.h: Likewise.
2115 * math/fenv.h: Likewise.
2116 * math/math_private.h: Likewise.
2117 * misc/bits/error.h: Likewise.
2118 * misc/bits/syslog.h: Likewise.
2119 * misc/err.h: Likewise.
2120 * misc/error.h: Likewise.
2121 * misc/fstab.h: Likewise.
2122 * misc/mntent.h: Likewise.
2123 * misc/regexp.h: Likewise.
2124 * misc/search.h: Likewise.
2125 * misc/sgtty.h: Likewise.
2126 * misc/sys/mman.h: Likewise.
2127 * misc/sys/syslog.h: Likewise.
2128 * misc/sys/uio.h: Likewise.
2129 * misc/sys/xattr.h: Likewise.
2130 * misc/ttyent.h: Likewise.
2131 * nis/rpcsvc/ypclnt.h: Likewise.
2132 * nss/nss.h: Likewise.
2133 * posix/bits/unistd.h: Likewise.
2134 * posix/fnmatch.h: Likewise.
2135 * posix/glob.h: Likewise.
2136 * posix/sched.h: Likewise.
2137 * posix/spawn.h: Likewise.
2138 * posix/sys/wait.h: Likewise.
2139 * posix/unistd.h: Likewise.
2140 * posix/wordexp.h: Likewise.
2141 * pwd/pwd.h: Likewise.
2142 * resolv/netdb.h: Likewise.
2143 * resource/sys/resource.h: Likewise.
2144 * rt/aio.h: Likewise.
2145 * rt/bits/mqueue2.h: Likewise.
2146 * rt/mqueue.h: Likewise.
2147 * shadow/shadow.h: Likewise.
2148 * signal/signal.h: Likewise.
2149 * socket/send.c: Likewise.
2150 * socket/sendto.c: Likewise.
2151 * socket/sys/socket.h: Likewise.
2152 * stdio-common/printf.h: Likewise.
2153 * stdlib/bits/stdlib.h: Likewise.
2154 * stdlib/fmtmsg.h: Likewise.
2155 * stdlib/monetary.h: Likewise.
2156 * stdlib/stdlib.h: Likewise.
2157 * stdlib/ucontext.h: Likewise.
2158 * streams/stropts.h: Likewise.
2159 * string/argz.h: Likewise.
2160 * string/bits/string2.h: Likewise.
2161 * string/string.h: Likewise.
2162 * string/strings.h: Likewise.
2163 * sunrpc/rpc/auth.h: Likewise.
2164 * sunrpc/rpc/auth_des.h: Likewise.
2165 * sunrpc/rpc/clnt.h: Likewise.
2166 * sunrpc/rpc/netdb.h: Likewise.
2167 * sunrpc/rpc/pmap_clnt.h: Likewise.
2168 * sunrpc/rpc/xdr.h: Likewise.
2169 * sysdeps/generic/inttypes.h: Likewise.
2170 * sysdeps/generic/net/if.h: Likewise.
2171 * sysdeps/generic/sys/swap.h: Likewise.
2172 * sysdeps/gnu/net/if.h: Likewise.
2173 * sysdeps/gnu/utmpx.h: Likewise.
2174 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2175 * sysdeps/i386/i486/bits/string.h: Likewise.
2176 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2177 * sysdeps/s390/bits/string.h: Likewise.
2178 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2179 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2180 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2181 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2182 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2183 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2184 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2185 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2186 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2187 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2188 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2189 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2190 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2191 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2192 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2193 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2194 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2196 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2197 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2198 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2199 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2200 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2201 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2202 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2203 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2204 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2205 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2206 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2207 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2208 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2209 * sysvipc/sys/ipc.h: Likewise.
2210 * sysvipc/sys/msg.h: Likewise.
2211 * sysvipc/sys/sem.h: Likewise.
2212 * sysvipc/sys/shm.h: Likewise.
2213 * termios/termios.h: Likewise.
2214 * time/sys/time.h: Likewise.
2215 * time/time.h: Likewise.
2216 * wcsmbs/bits/wchar2.h: Likewise.
2217 * wcsmbs/uchar.h: Likewise.
2218 * wcsmbs/wchar.h: Likewise.
2219 * wctype/wctype.h: Likewise.
2220
0269750c
UD
2221 [BZ #13551]
2222 * Makeconfig: Remove all but ELF support including AIX support.
2223 * Makerules: Likewise.
2224 * config.h.in: Likewise.
2225 * config.make.in: Likewise.
2226 * configure: Likewise.
2227 * configure.in: Likewise.
2228 * csu/Makefile: Likewise.
2229 * csu/version.c: Likewise.
2230 * debug/Makefile: Likewise.
2231 * dlfcn/Makefile: Likewise.
2232 * elf/Makefile: Likewise.
2233 * extra-lib.mk: Likewise.
2234 * iconv/Makefile: Likewise.
2235 * include/libc-symbols.h: Likewise.
2236 * include/shlib-compat.h: Likewise.
2237 * resolv/Makefile: Likewise.
2238 * resolv/res_libc.c: Likewise.
2239 * rt/Makefile: Likewise.
2240 * sysdeps/i386/asm-syntax.h: Likewise.
2241 * sysdeps/i386/sysdep.h: Likewise.
2242 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2243 * sysdeps/mach/sysdep.h: Likewise.
2244 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2245 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2246 * sysdeps/s390/asm-syntax.h: Likewise.
2247 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2248 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2249 * sysdeps/sh/sysdep.h: Likewise.
2250 * sysdeps/unix/sparc/sysdep.h: Likewise.
2251 * sysdeps/wordsize-32/divdi3.c: Likewise.
2252 * sysdeps/x86_64/sysdep.h: Likewise.
2253
00bbd29b
UD
2254 * argp/Versions: Remove _argp_unlock_xxx.
2255
2256 [BZ #13559]
2257 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2258 * abilist/libBrokenLocale.abilist: Likewise.
2259 * abilist/libanl.abilist: Likewise.
2260 * abilist/libc.abilist: Likewise.
2261 * abilist/libcrypt.abilist: Likewise.
2262 * abilist/libdl.abilist: Likewise.
2263 * abilist/libm.abilist: Likewise.
2264 * abilist/libnsl.abilist: Likewise.
2265 * abilist/libpthread.abilist: Likewise.
2266 * abilist/libresolv.abilist: Likewise.
2267 * abilist/librt.abilist: Likewise.
2268 * abilist/libthread_db.abilist: Likewise.
2269 * abilist/libutil.abilist: Likewise.
2270 * abilist/libnss_db.abilist: New file.
2271
2272 * scripts/abilist.awk: Add support for indirect functions.
2273
a2693a0e
UD
2274 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2275
3f05895f
UD
2276 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2277
ecb6fb48
UD
2278 * shlib-versions: Remove entries for ports architectures.
2279
664f8cb9
UD
2280 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2281 files in ports.
2282 * elf/stackguard-macros.h: Remove support for IA-64.
2283 * elf/tst-auditmod1.c: Likewise.
2284 * sysdeps/generic/ldsodefs.h: Likewise.
2285
7ae81d88
UD
2286 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2287 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2288 configure files.
2289
bdeba135
UD
2290 [BZ #13552]
2291 * configure.in: Remove --enable-omitfp support.
2292 * FAQ.in: Adjust.
2293 * config.make.in: Likewise.
2294 * Makeconfig: Likewise.
2295 * manual/install.texi: Likewise.
2296
d75a0a62
UD
2297 In case anyone cares, the IA-64 architecture could move to ports.
2298 * sysdeps/ia64/*: Removed.
2299 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2300 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2301
dcc9756b
UD
2302 [BZ #13555]
2303 * configure.in: Remove entries for unsupported architectures.
2304
d3761ebc 2305 [BZ #13533]
9954432e
UD
2306 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2307 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2308 routines.
2309 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2310 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2311 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2312 fall back to using wcrtomb.
2313 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2314 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2315 renaming.
2316 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2317 * wcsmbs/tst-c16c32-1.c: New file.
2318
2319 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2320 local variable.
2321
c3a87236
UD
2322 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2323
28926a1b
UD
2324 * elf/tst-unique3.cc: Add explicit declaration of gets.
2325 * elf/tst-unique3lib.cc: Likewise.
2326 * elf/tst-unique3lib2.cc: Likewise.
2327 * elf/tst-unique4.cc: Likewise.
2328
df78418a
UD
2329 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2330
8ecd6b2a
JM
23312012-01-06 Joseph Myers <joseph@codesourcery.com>
2332
2333 [BZ #13566]
2334 * assert/assert.h (static_assert): Don't define for C++.
2335 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2336 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2337
9f115170
UD
23382012-01-03 Ulrich Drepper <drepper@gmail.com>
2339
5e0d0300
UD
2340 * iconv/loop.c (single loop): Fix assertion in storing of
2341 remaining bytes.
2342
9f115170
UD
2343 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2344
81fb02b0
UD
23452012-01-01 Ulrich Drepper <drepper@gmail.com>
2346
2347 * posix/getconf.c: Update copyright year.
2348 * nss/getent.c: Likewise.
a316c1f6 2349 * nss/makedb.c: Likewise.
81fb02b0
UD
2350 * iconv/iconvconfig.c: Likewise.
2351 * iconv/iconv_prog.c: Likewise.
2352 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2353 * elf/pldd.c: Likewise.
2354 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2355 * catgets/gencat.c: Likewise.
2356 * csu/version.c: Likewise.
2357 * elf/ldd.bash.in: Likewise.
2358 * elf/sprof.c (print_version): Likewise.
2359 * locale/programs/locale.c: Likewise.
2360 * locale/programs/localedef.c: Likewise.
a316c1f6 2361 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2362 * nscd/nscd.c (print_version): Likewise.
2363 * debug/xtrace.sh: Likewise.
2364 * malloc/memusage.sh: Likewise.
2365 * malloc/mtrace.pl: Likewise.
2366 * debug/catchsegv.sh: Likewise.
2367
2ba92745
JJ
23682011-12-30 Jakub Jelinek <jakub@redhat.com>
2369
2370 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2371 pure attribute.
2372
dadebdae
UD
23732011-12-24 Ulrich Drepper <drepper@gmail.com>
2374
d3761ebc 2375 [BZ #13533]
db6af3eb
UD
2376 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2377 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2378 transformations.
2379 * iconv/gconv_int.h: Likewise.
2380 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2381 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2382 from libc for GLIBC_2.16.
2383 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2384 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2385 * wcsmbs/uchar.h: Really define mbstate_t.
2386 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2387 * wcsmbs/c16rtomb.c: New file.
2388 * wcsmbs/mbrtoc16.c: New file.
2389 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2390 for C/POSIX locale.
2391 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2392 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2393
dadebdae
UD
2394 * wcsmbs/wchar.h: Add missing __restrict.
2395
67371b56
UD
23962011-12-23 Ulrich Drepper <drepper@gmail.com>
2397
74033a25
UD
2398 [BZ #13532]
2399 * time/Makefile (routines): Add timespec_get.
2400 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2401 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2402 timespec for ISO C11.
2403 * time/timespec_get.c: New file.
2404 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2405 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2406
380d7e87
UD
2407 [BZ #13531]
2408 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2409 * stdlib/stdlib.h: Declare aligned_alloc.
2410 * Versions.def: Add GLIBC_2.16 for libc.
2411 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2412
4e9e7a35
UD
2413 [BZ 13527]
2414 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2415 ISO C11.
2416
380d7e87 2417 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2418 code.
2419
03a71829
UD
2420 [BZ #13528]
2421 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2422
839e283e
UD
2423 [BZ #13529]
2424 * assert/assert.h (static_assert): Define.
2425
ce5294e2 2426 * version.h: Update for 2.16 development version.
90fa7312 2427
8d44e150 2428 [BZ #13526]
d7809905
UD
2429 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2430 _ISOC11_SOURCE.
2431
c0da14cd
UD
2432 * version.h (RELEASE): Bump for 2.15 release.
2433 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2434
530a3249
MP
2435 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2436 Patch by Marek Polacek <mpolacek@redhat.com>.
2437
67371b56
UD
2438 * bits/byteswap.h: Protect long long constants with __extension__.
2439 * sysdeps/i386/bits/byteswap.h: Likewise.
2440 * sysdeps/ia64/bits/byteswap.h: Likewise.
2441 * sysdeps/s390/bits/byteswap.h: Likewise.
2442 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2443
15db4de1
LD
24442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2445
2446 [BZ #13540]
bbe315ea
LD
2447 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2448 destination buffer.
15db4de1
LD
2449 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2450
2b2596b1
MP
24512011-12-23 Marek Polacek <polacek@redhat.com>
2452
2453 * elf/dl-addr.c (determine_info): Add inline keyword.
2454 * elf/tst-auditmod4b.c (check_avx): Likewise.
2455 * elf/tst-auditmod6b.c (check_avx): Likewise.
2456 * elf/tst-auditmod6c.c (check_avx): Likewise.
2457 * elf/tst-auditmod7b.c (check_avx): Likewise.
2458
70c6c246
UD
24592011-12-23 Ulrich Drepper <drepper@gmail.com>
2460
2461 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2462 !__SSE_MATH__.
2463
c044cf14
LD
24642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2465
15db4de1 2466 [BZ #13540]
c044cf14
LD
2467 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2468 processing for last bytes.
2469
6b13d9d9
BH
24702011-08-06 Bruno Haible <bruno@clisp.org>
2471
d455f537
BH
2472 [BZ #13061]
2473 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2474 U+0385, not to U+1FEE.
2475
6b13d9d9
BH
2476 [BZ #13062]
2477 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2478 entry for U+00A5 U+0301.
2479
db910efd
UD
24802011-12-22 Ulrich Drepper <drepper@gmail.com>
2481
27deeafc
UD
2482 [BZ #13166]
2483 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2484 buffer for the output is too small.
2485
aed9d171
UD
2486 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2487 optimization.
2488
db910efd
UD
2489 [BZ #13185]
2490 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2491 SSE flags if possible.
2492
2bd779ae
LD
24932011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2494
e7f9dac3 2495 [BZ #13540]
2bd779ae
LD
2496 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2497 processing for last bytes.
2498
154bfc16
JM
24992011-12-22 Joseph Myers <joseph@codesourcery.com>
2500
2501 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2502 (syscall-list-default-options, syscall-list-default-condition)
2503 (syscall-list-includes): Define.
2504 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2505 list of ABIs and options and #if conditions for each ABI. Do not
2506 handle common syscalls between ABIs specially.
2507 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2508 Remove.
2509 (syscall-list-variants, syscall-list-32bit-options)
2510 (syscall-list-32bit-condition, syscall-list-64bit-options)
2511 (syscall-list-64bit-condition): Define.
2512 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2513 (syscall-list-variants, syscall-list-32bit-options)
2514 (syscall-list-32bit-condition, syscall-list-64bit-options)
2515 (syscall-list-64bit-condition): Define.
2516 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2517 Remove.
2518 (syscall-list-variants, syscall-list-32bit-options)
2519 (syscall-list-32bit-condition, syscall-list-64bit-options)
2520 (syscall-list-64bit-condition): Define.
2521 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2522 Remove.
2523 (syscall-list-variants, syscall-list-32bit-options)
2524 (syscall-list-32bit-condition, syscall-list-64bit-options)
2525 (syscall-list-64bit-condition): Define.
2526
21eaf3a5
UD
25272011-12-22 Ulrich Drepper <drepper@gmail.com>
2528
16c6f992
UD
2529 * locale/iso-639.def: Add brx entry.
2530
41043168
UD
2531 [BZ #13328]
2532 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2533 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2534
21eaf3a5
UD
2535 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2536 __feraiseexcept_renamed.
2537
e3a851a2
UD
25382011-12-21 Ulrich Drepper <drepper@gmail.com>
2539
4920765e
UD
2540 [BZ #13538]
2541 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2542 EPOLLET with unsigned values.
2543 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2544 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2545
e3a851a2
UD
2546 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2547 to large cancellation.
2548 * math/s_cacoshf.c: Likewise.
2549 * math/s_cacoshl.c: Likewise.
2550
b27e24b8
RK
25512011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2552
2553 [BZ #13305]
aebefeee 2554 [BZ #12786]
b27e24b8
RK
2555 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2556 * math/s_cacoshf.c: Likewise.
2557 * math/s_cacoshl.c: Likewise.
2558
ee190f67
UD
25592011-12-21 Ulrich Drepper <drepper@gmail.com>
2560
2561 [BZ #13439]
2562 * iconv/gconv.h: Define __GCONV_SWAP.
2563 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2564 * iconvdata/utf-16.c: Likewise.
2565 * iconvdata/utf-32.c: Likewise.
2566
707f25df
AS
25672011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2568
2569 [BZ #13524]
2570 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2571 numerator after shifting it by one limb.
2572
d2daaa1e
RÁE
25732011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2574
2575 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2576 under [__USE_EXTERN_INLINES].
2577
a4647e72
UD
25782011-12-17 Ulrich Drepper <drepper@gmail.com>
2579
2580 [BZ #13446]
2581 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2582
f0b264f1
AZ
25832011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2584
2585 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2586 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2587 optimized code.
2588 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2589 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2590 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2591 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2592 for strncasecmp/strncasecmp_l compilation.
2593 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2594 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2595
8ef4f244
MP
25962011-12-08 Marek Polacek <mpolacek@redhat.com>
2597
2598 [BZ #13484]
2599 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2600 of __asm__.
2601
97ac2654
UD
26022011-12-17 Ulrich Drepper <drepper@gmail.com>
2603
2604 [BZ #13506]
2605 * time/tzfile.c (__tzfile_read): Check values from file header.
2606
91d2a845
WS
26072011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2608
2609 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2610 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2611 * powerpc/powerpc32/dl-start.S: Likewise.
2612 * powerpc/powerpc32/elf/start.S: Likewise.
2613 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2614 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2615 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2616 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2617 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2618 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2619 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2620 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2621 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2622 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2623 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2624 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2625 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2626 * powerpc/powerpc32/memset.S: Likewise.
2627 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2628 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2629 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2630 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2631 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2632 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2633 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2634 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2635 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2636 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2637 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2638 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2639 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2640
a1267ba1
AZ
26412011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2642
2643 * math/libm-test.inc: Added more nearbyint tests.
2644 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2645 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2646 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2647 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2648
ad8ac1bd
RL
26492011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2650
2651 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2652 FD_CLOEXEC.
2653
1d3e4b61
UD
26542011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2655
2656 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2657 Add wcscpy-ssse3 wcscpy-c.
2658 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2659 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2660 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2661 * sysdeps/x86_64/wcschr.S: New file.
2662 * sysdeps/x86_64/wcsrchr.S: New file.
2663 * string/test-strcmp.c: Remove checking of wcscmp function for
2664 wrong alignments.
2665 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2666 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2667 wcsrchr-sse2 wcsrchr-c.
2668 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2669 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2670 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2671 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2672 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2673 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2674 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2675 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2676 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2677 * wcsmbc/wcschr.c (WCSCHR): New macro.
2678
5b330a2d
UD
26792011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2680
2681 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2682 * wcsmbs/test-wcsrchr.c: New file.
2683 * string/test-strrchr.c: Add wcsrchr support.
2684 (WIDE): New macro.
2685 * wcsmbs/test-wcscpy.c: New file.
2686 * string/test-strcpy.c: Add wcscpy support.
2687 (WIDE): New macro.
26428b7c 2688
f039c043
UD
26892011-12-10 Ulrich Drepper <drepper@gmail.com>
2690
2691 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2692 the inner loop.
2693
850fb039
AS
26942011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2695
2696 [BZ #13472]
2697 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2698
4efbd5cb
UD
26992011-12-04 Ulrich Drepper <drepper@gmail.com>
2700
52ff5dd0 2701 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 2702 Minor optimizations.
52ff5dd0 2703
4efbd5cb
UD
2704 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2705 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2706 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2707
8a426e12
UD
27082011-12-03 Ulrich Drepper <drepper@gmail.com>
2709
aff2453d
UD
2710 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2711 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2712 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2713 for gcc to avoid warnings.
2714 * inet/Makefile (tests): Add tst-checks.
2715 * inet/tst-checks.c: New file.
2716
2717 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2718 warning.
2719
2720 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2721 __wmemcmp_sse2.
2722
2723 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2724 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2725
8a426e12
UD
2726 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2727
9bea3473
UD
27282011-12-02 Ulrich Drepper <drepper@gmail.com>
2729
3a965496
UD
2730 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2731 problem.
2732
9bea3473
UD
2733 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2734
f101631b
UD
27352011-11-29 Joseph Myers <joseph@codesourcery.com>
2736
2737 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2738 conditional on GCC version.
2739 (__arch_compare_and_exchange_val_8_acq)
2740 (__arch_compare_and_exchange_val_16_acq)
2741 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2742 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2743 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2744
a98275aa
UD
27452011-12-02 Joseph Myers <joseph@codesourcery.com>
2746
2747 * sysdeps/sh/backtrace.c: New file.
2748
d4cc29a2
AS
27492011-12-02 Andreas Schwab <schwab@redhat.com>
2750
2751 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2752 parenthesis.
2753
6257af2d
AS
27542011-12-01 Andreas Schwab <schwab@redhat.com>
2755
2756 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2757 falling back to utime.
2758
b5f44c1a
AS
27592011-11-30 Andreas Schwab <schwab@redhat.com>
2760
2761 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2762 expectations for float.
2763
f3a6cc0a
AS
27642011-11-29 Andreas Schwab <schwab@redhat.com>
2765
2766 * locale/weight.h (findidx): Add parameter len.
2767 * locale/weightwc.h (findidx): Likewise.
2768 * posix/fnmatch_loop.c (FCT): Adjust caller.
2769 * posix/regcomp.c (build_equiv_class): Likewise.
2770 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2771 * posix/regexec.c (check_node_accept_bytes): Likewise.
2772 * string/strcoll_l.c (STRCOLL): Likewise.
2773 * string/strxfrm_l.c (STRXFRM): Likewise.
2774
9d65ea3a
UD
27752011-11-17 Ulrich Drepper <drepper@gmail.com>
2776
2777 * Makefile.in: Remove CVSOPT handling.
2778 * configure.in: Remove use of AC_REVISION.
2779 * iconvdata/Makefile (distribute): No need to filter out CVS.
2780 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2781 handling.
2782
5583a086
AS
27832011-11-16 Andreas Schwab <schwab@redhat.com>
2784
2785 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2786 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2787 [USE_AS_STRNCASECMP_L]: Likewise.
2788 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2789 NO_TLS_DIRECT_SEG_REFS.
2790 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2791 Fix argument offsets for non-PIC.
2792 [USE_AS_STRNCASECMP_L]: Likewise.
2793 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2794 NO_TLS_DIRECT_SEG_REFS.
2795
d62a8200
UD
27962011-11-15 Ulrich Drepper <drepper@gmail.com>
2797
9d65ea3a 2798 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
2799 O_CLOEXEC.
2800 * locale/loadlocale.c (_nl_load_locale): Likewise.
2801
09f93bd3
AS
28022011-11-15 Andreas Schwab <schwab@redhat.com>
2803
446514f9
AS
2804 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2805 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2806 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2807 (SYSCALL_GETTIME): Set errno on error.
2808
09f93bd3
AS
2809 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2810 count references to noai6ai_cached.
2811
312be3f9
UD
28122011-11-15 Ulrich Drepper <drepper@gmail.com>
2813
2814 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2815
2816 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2817 FD_CLOEXEC for /proc/self/maps.
2818
2819 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2820 FD_CLOEXEC for /proc/meminfo.
2821
2822 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2823 gai.conf.
2824
2825 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2826 FD_CLOEXEC for given file.
2827
2828 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2829
2830 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2831 FD_CLOEXEC for /etc/hosts.
2832 (_gethtent): Likewise.
2833
2834 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2835
2836 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2837 cancellation and set FD_CLOEXEC for /etc/netgroup.
2838
2839 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2840 reading /etc/publickey.
2841
2842 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2843 allow cancellation when reading /etc/group.
2844
2845 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2846 cancellation.
2847 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2848
2849 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2850 when using data file.
2851
2852 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2853
2854 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2855 (write_nis_obj): Use "c" and "e" in fopen.
2856
2857 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2858
2859 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2860
2861 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2862
2863 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2864
2865 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2866 locale.alias.
2867
2868 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2869
2870 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2871
2872 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2873
2874 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2875 file parsing and set FD_CLOEXEC.
2876
82af0fa8
UD
28772011-11-14 Ulrich Drepper <drepper@gmail.com>
2878
2879 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2880
a5fb313c
AS
28812011-11-14 Andreas Schwab <schwab@redhat.com>
2882
2883 * malloc/arena.c (arena_get2): Don't call reused_arena when
2884 _int_new_arena failed.
2885
6abf3465
UD
28862011-11-14 Ulrich Drepper <drepper@gmail.com>
2887
2888 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2889 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2890 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2891 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2892 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2893 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2894 to compile strcasecmp and strncasecmp.
2895 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2896 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2897
2898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2899
76e3966e
UD
29002011-11-13 Ulrich Drepper <drepper@gmail.com>
2901
2902 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2903 locale-defines.sym to gen-as-const-headers.
2904 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2905 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2906 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2907 to compile strcasecmp and strncasecmp.
2908 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2909 strcasecmp_l and strncasecmp_l.
2910 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2911 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2912 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2913 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2914 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2915 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2916 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2917 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2918 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2919 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2920 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2921
ab26144e
UD
29222011-11-12 Ulrich Drepper <drepper@gmail.com>
2923
7edb22ef
UD
2924 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2925 result of SYSDEP_GETTIME_CPU to retval.
2926 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2927 parameter list to macro. Remove trailing semicolon. Adjust users.
2928
9694fc44
UD
2929 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2930 variable.
2931
8ad89ef8
UD
2932 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2933 mantissa words.
2934 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2935
0c822ef9
UD
2936 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2937 from unused variable.
2938
874e0564
UD
2939 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2940 DWARF definitions.
2941 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2942 for assembling.
2943
3a2edc79
UD
2944 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2945 over namespaces.
2946
f3c2577f
UD
2947 * sunrpc/rpc_prot.c (rejected): Fix case value.
2948
294ce126
UD
2949 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2950 unsigned long long int to avoid warnings in shift.
2951
5e2b63c6
UD
2952 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2953 of use of trans.
2954 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2955 variable tmp.
2956
e7f4b08e
UD
2957 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2958 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2959 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2960
ab26144e
UD
2961 * nis/nis_table.c (nis_list): Use variable of correct type for
2962 result of __follow_path call.
2963
8a6d5255
AZ
29642011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2965
2966 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2967 of math functions ceil, trunc, floor, round, and sqrt, when
2968 avaliable on the platform.
2969 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2970 name clash.
2971 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2972 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2973 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2974
aaddc98c
MP
29752011-10-30 Marek Polacek <mpolacek@redhat.com>
2976
2977 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2978 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2979
95b7042b
RM
29802011-11-11 Roland McGrath <roland@hack.frob.com>
2981
2982 * include/unistd.h: Fix __readlink return type.
2983 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2984
57769839
UD
29852011-11-11 Ulrich Drepper <drepper@gmail.com>
2986
2987 * stdlib/ucontext.h: Undo last change for makecontext.
2988
edc5984d
AS
29892011-11-11 Andreas Schwab <schwab@redhat.com>
2990
98591e58
AS
2991 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2992
edc5984d
AS
2993 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2994 * setjmp/setjmp.h: Mark functions as non-leaf.
2995 * setjmp/bits/setjmp2.h: Likewise.
2996 * stdlib/ucontext.h: Likewise.
2997
77cdc054
AS
29982011-11-10 Andreas Schwab <schwab@redhat.com>
2999
3000 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3001 (reused_arena): Don't check arena limit.
3002 (arena_get2): Atomically check arena limit.
3003
fe72eebd
UD
30042011-11-08 Ulrich Drepper <drepper@gmail.com>
3005
5f078c32
UD
3006 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3007 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3008
fe72eebd
UD
3009 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3010 instructions.
3011
ae1bc2fa
AS
30122011-11-07 Andreas Schwab <schwab@redhat.com>
3013
7583a88d
AS
3014 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3015 handler when locking.
3016
ae1bc2fa
AS
3017 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3018 Fix size of allocated buffer.
3019
10fb0bfa
AS
30202011-11-04 Andreas Schwab <schwab@redhat.com>
3021
998832a4
AS
3022 [BZ #10103]
3023 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3024 declarations for long double functions.
3025 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3026
10fb0bfa
AS
3027 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3028
3d7ba52b
AS
30292011-11-03 Andreas Schwab <schwab@redhat.com>
3030
a9ae54a1
AS
3031 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3032 installed.
3033
3d7ba52b
AS
3034 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3035 is disabled.
3036
bc8db248
ST
30372011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3038
3039 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3040
45b96dd6
AS
30412011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3042
647776f6
AS
3043 * include/alloca.h (stackinfo_alloca_round): Define.
3044 (extend_alloca): Use it.
3045 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3046 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3047 here.
3048
d91a8b93
AS
3049 * scripts/check-local-headers.sh: Ignore libaudit.h.
3050
45b96dd6
AS
3051 * nscd/Makefile (extra-objs): Make recursively expanded.
3052
432d41ce
UD
30532011-11-01 Ulrich Drepper <drepper@gmail.com>
3054
34372fc6
UD
3055 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3056 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3057
fadb59f8
UD
3058 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3059 * posix/tst-rfc3484-2.c: Likewise.
3060 * posix/tst-rfc3484-3.c: Likewise.
3061
78239589
UD
3062 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3063 process_vm_writev.
3064 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3065 process_vm_writev.
3066 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3067 process_vm_writev from libc using GLIBC_2.15 version.
3068
432d41ce
UD
3069 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3070
02f9c6cf
PP
30712011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3072
3073 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3074 stack usage.
3075
3a2c0242
UD
30762011-10-31 Ulrich Drepper <drepper@gmail.com>
3077
f4ec4833
UD
3078 [BZ #13367]
3079 * nss/getent.c (initgroups_keys): Show error message in case no group
3080 names are given.
3081
3a2c0242
UD
3082 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3083 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3084 __bump_nl_timestamp.
3085 * nscd/connections (nscd_init): When host database is served open
3086 netlink socket and request notification about configuration changes.
3087 (main_loop_poll): Track netlink file descriptor and bump timestamp
3088 in case data becomes available.
3089 (main_loop_epoll): Likewise.
3090 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3091 (database_pers_head): Add extra_data fileds.
3092 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3093 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3094 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3095 Adjust caller.
3096 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3097 in6ai data, call __free_in6ai.
3098 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3099 Add -DHAVE_NETLINK.
3100 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3101 interface information. Reuse previous data if netlink timestamp
3102 is not changed.
3103 (__bump_nl_timestamp): New function.
3104 (__free_in6ai): New function.
3105
636064eb
UD
31062011-10-30 Ulrich Drepper <drepper@gmail.com>
3107
3108 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3109 close_not_cancel_no_status here.
3110 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3111
9beb2334
UD
31122011-10-29 Ulrich Drepper <drepper@gmail.com>
3113
6ef76f3b
UD
3114 [BZ #13276]
3115 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3116 return value.
3117
0ffc4f3e 3118 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3119 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3120 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3121
cb95113e
UD
31222011-07-03 Andreas Jaeger <aj@suse.de>
3123
3124 [BZ #10709]
3125 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3126 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3127 * math/libm-test.inc (sin_test): Add test case.
3128
a1b560ff
UD
31292011-10-29 Ulrich Drepper <drepper@gmail.com>
3130
c9aaface
UD
3131 [BZ #13337]
3132 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3133 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3134
d272e7f1
UD
3135 * elf/chroot_canon.c (chroot_canon): Cleanups.
3136
1bc33071
UD
3137 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3138
1760874d
TJ
3139 [BZ #13335]
3140 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3141 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3142
51d91b18
UD
3143 * string/test-strchr.c: Make usable for strchrnul testing.
3144 * string/test-strchrnul.c: New file.
3145 * string/Makefile (strop-tests): Add strchrnul.
3146
a1b560ff 3147 * po/it.po: Update from translation team.
b611fb81 3148 * po/es.po: Likewise.
a1b560ff 3149
a5b81e1f
UD
31502011-10-28 Ulrich Drepper <drepper@gmail.com>
3151
fd52bc6d
UD
3152 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3153 the three constants needed as parameters. Drop the others.
3154 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3155 __m128i_strloadu_tolower.
52e4b9eb
UD
3156 Create and initialize variable zero and use it in all the places
3157 where _mm_setzero_si128 was used.
fd52bc6d 3158
a5b81e1f
UD
3159 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3160 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3161 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3162 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3163 anymore.
3164 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3165 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3166 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3167 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3168 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3169 __mpranred, __mptan.
3170 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3171 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3172 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3173 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3174 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3175 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3176 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3177 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3178 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3179
b4343346
AS
31802011-10-28 Andreas Schwab <schwab@redhat.com>
3181
0c92d8a8
AS
3182 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3183 redefine if SHARED.
3184 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3185
b4343346
AS
3186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3187 wide char related routines to wcsmbs subdir.
3188
3871f58f
AS
31892011-10-27 Andreas Schwab <schwab@redhat.com>
3190
3191 [BZ #13344]
3192 * misc/sys/cdefs.h (__THROWNL): Define.
3193 * posix/unistd.h: Use __THREADNL instead of __THREAD
3194 for memory synchronization functions.
3195
94d44d9f
RM
31962011-10-26 Roland McGrath <roland@hack.frob.com>
3197
21b64b15 3198 [BZ #13349]
94d44d9f
RM
3199 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3200 doesn't exist.
3201 * manual/stdio.texi (Obstack Streams): Node removed.
3202
f6ce9294
AS
32032011-10-26 Andreas Schwab <schwab@redhat.com>
3204
80479147
AS
3205 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3206 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3207 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3208
f6ce9294
AS
3209 * math/math_private.h (math_force_eval): Allow non-addressable
3210 arguments.
3211 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3212
618280a1
UD
32132011-10-25 Ulrich Drepper <drepper@gmail.com>
3214
e0016b11
UD
3215 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3216 file is not needed.
3217
3218 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3219 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3220 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3221 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3222 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3223 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3224 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3225 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3226 Add AVX variants.
3227 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3228 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3229 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3230 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3231 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3232 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3233 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3234 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3235 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3236 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3237 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3238 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3239 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3240 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3241 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3242 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3243 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3244 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3245 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3246
3247 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3248 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3249
618280a1
UD
3250 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3251 place. Use VEX encoding when compiling for AVX.
3252
37822576
AS
32532011-10-25 Andreas Schwab <schwab@redhat.com>
3254
1f1e1947
AS
3255 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3256 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3257
37822576
AS
3258 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3259
31ea014d
UD
32602011-10-25 Ulrich Drepper <drepper@gmail.com>
3261
d7826aa1 3262 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3263 useless if() expression.
d7826aa1
UD
3264 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3265 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3266 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3267 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3268 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3269 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3270 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3271 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3272 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3273 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3274 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3275 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3276 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3277 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3278 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3279 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3280 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3281 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3282 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3283
31ea014d
UD
3284 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3285
16437fec
AS
32862011-10-25 Andreas Schwab <schwab@redhat.com>
3287
3288 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3289 condition.
3290 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3291
31d3cc00
UD
32922011-10-25 Ulrich Drepper <drepper@gmail.com>
3293
3294 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3295 .text section. Avoid duplicate constants.
3296 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3298 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3300 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3301 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3302 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3304 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3305 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3306 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3307 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3308 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3309 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3310 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3311 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3312 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3313 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3314 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3315 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3316 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3317 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3318 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3319 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3320 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3321 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3322 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3323 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3324 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3325 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3326 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3327 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3328 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3329 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3330 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3331 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3332 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3333 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3334 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3335 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3336 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3337 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3338 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3339 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3340 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3341
58985aa9
UD
33422011-10-24 Ulrich Drepper <drepper@gmail.com>
3343
202c9deb
UD
3344 * sysdeps/x86_64/dla.h: Move to ...
3345 * sysdeps/x86_64/fpu/dla.h: ...here.
3346 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3347 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3348
af968f62
UD
3349 * config.make.in: Add have-mfma4 entry.
3350 * configure.in: Substitute libc_cv_cc_fma4.
3351 * math/Makefile (dbl-only-routines): Add sincostab.
3352 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3353 Use __sincostab not sincos.
3354 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3355 name is a macro.
3356 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3360 using __copysign.
3361 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3362 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3363 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3364 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3365 and __inv.
3366 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3367 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3368 __copysign.
3369 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3370 define aliases when function name is a macro.
3371 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3372 sysdeps/ieee754/dbl-64/sincos.tbl.
3373 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3374 fma4-enabled routines.
3375 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3376 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3377 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3378 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3379 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3380 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3381 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3382 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3383 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3384 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3385 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3386 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3387 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3388 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3389 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3390 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3391 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3392 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3393 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3394 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3395 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3396 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3397 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3398 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3399 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3400 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3401 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3402 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3403 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3404 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3405
58985aa9
UD
3406 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3407 rename.
3408 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3409 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3410 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3411 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3412 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3413 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3414 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3415 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3416
a201fbcf
AS
34172011-10-24 Andreas Schwab <schwab@redhat.com>
3418
3419 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3420
fc2ee42a
LD
34212011-10-23 Ulrich Drepper <drepper@gmail.com>
3422
bb3129bd
UD
3423 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3424
0275fff8
UD
3425 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3426 prediction.
3427 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3428
2fa2ae85
UD
3429 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3430 Remove unused variable magic_bits.
3431 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3432
fc2ee42a
LD
3433 * string/strnlen.c: Define and use STRNLEN macro.
3434 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3435 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3436 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3437 * wcsmbs/wcslen.c: Define and use WCSLEN.
3438 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3439 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3440 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3441 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3442 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3443 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3444 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3445
ce7dd29f
LD
34462011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3447
3448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3449 strnlen-sse2-no-bsf.
3450 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3451 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3452 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3453 Add strnlen support.
3454 (USE_AS_STRNLEN): New macro.
3455 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3456 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3457 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3458 * sysdeps/x86_64/wcslen.S: New file.
3459
979c70a3
MZ
34602011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3461
3462 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3463 XMM-moves are used for copying on small sizes.
3464
2d09f82f
LD
34652011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3466
3467 * wcsmbs/Makefile (strop-tests): Add wcschr.
3468 * wcsmbs/test-wcschr.c: New file.
3469 * string/test-strchr.c: Update.
3470 Add wcschr support.
3471 (WIDE): New macro.
3472
619fccca
LD
34732011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3474
2d09f82f 3475 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
3476 * wcsmbs/test-wcslen.c: New file.
3477 * string/test-strlen.c: Update.
3478 Add wcslen support.
3479 (WIDE): New macro.
3480
09f699ea
UD
34812011-10-23 Ulrich Drepper <drepper@gmail.com>
3482
3483 * po/it.po: Update from translation team.
3484
95584d3b
LD
34852011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3486
3487 * sysdeps/x86_64/wcscmp.S: Update.
3488 Fix wrong comparison semantics.
3489 wcscmp shall use signed comparison not unsigned.
3490 Don't use substraction to avoid overflow bug.
3491 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3492 * wcsmbc/wcscmp.c: Likewise.
3493 * string/test-strcmp.c: Likewise.
3494 Add new tests to check cases with negative values.
3495
c8b3296b
UD
34962011-10-23 Ulrich Drepper <drepper@gmail.com>
3497
3498 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3499 * sysdeps/x86_64/dla.h: ...here. New file.
3500 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3505 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3506 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3507 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3508 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3509
246ad57a
AS
35102011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3511
3512 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3513 __ynl_finite aliases.
3514
a1a87169
UD
35152011-10-22 Ulrich Drepper <drepper@gmail.com>
3516
0d355eb7
UD
3517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3518
a1a87169
UD
3519 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3520 define DLA_FMA.
3521 [DLA_FMA] (EMULV): Use DLA_FMA.
3522 [DLA_FMA] (MUL12): Use EMULV.
3523 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3524 that are not needed.
3525 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3530 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3531 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3532
ee2aafe0
AS
35332011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3534
3535 * math/s_nan.c: Undef __nan.
3536 * math/s_nanf.c: Undef __nanf.
3537 * math/s_nanl.c: Undef __nanl.
3538 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3539 "math_private.h".
3540
bc62c2fb
UD
35412011-10-22 Ulrich Drepper <drepper@gmail.com>
3542
77425c63
UD
3543 * math/s_catan.c: Add branch predictions.
3544 * math/s_catanf.c: Likewise.
3545 * math/s_catanh.c: Likewise.
3546 * math/s_catanhf.c: Likewise.
3547 * math/s_catanhl.c: Likewise.
3548 * math/s_catanl.c: Likewise.
3549 * math/s_cexp.c: Likewise.
3550 * math/s_cexpf.c: Likewise.
3551 * math/s_cexpl.c: Likewise.
3552 * math/s_clog.c: Likewise.
3553 * math/s_clog10.c: Likewise.
3554 * math/s_clog10f.c: Likewise.
3555 * math/s_clog10l.c: Likewise.
3556 * math/s_clogf.c: Likewise.
3557 * math/s_clogl.c: Likewise.
3558 * math/s_csqrt.c: Likewise.
3559 * math/s_csqrtf.c: Likewise.
3560 * math/s_csqrtl.c: Likewise.
3561 * math/s_ctanf.c: Likewise.
3562 * math/s_ctanh.c: Likewise.
3563 * math/s_ctanhf.c: Likewise.
3564 * math/s_ctanhl.c: Likewise.
3565 * math/s_ctanl.c: Likewise.
3566
bc62c2fb
UD
3567 * math/math_private.h: Define __nan, __nanf, __nanl.
3568 * math/s_cacosh.c: Include <math_private.h>.
3569 * math/s_cacoshl.c: Likewise.
3570 * math/s_casinh.c: Likewise.
3571 * math/s_casinhf.c: Likewise.
3572 * math/s_casinhl.c: Likewise.
3573 * math/s_ccos.c: Rely entire on ccosh.
3574 * math/s_ccosf.c: Rely entire on ccoshf.
3575 * math/s_ccosl.c: Rely entirely on ccoshl.
3576 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3577 Remove tests for FE_INVALID.
3578 * math/s_ccoshf.c: Likewise.
3579 * math/s_ccoshl.c: Likewise.
3580 * math/s_csin.c: Likewise.
3581 * math/s_csinf.c: Likewise.
3582 * math/s_csinh.c Likewise.
3583 * math/s_csinhf.c: Likewise.
3584 * math/s_csinhl.c: Likewise.
3585 * math/s_csinl.c: Likewise.
3586 * math/s_ctan.c: Likewise.
3587 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3588 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3589 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3590
8ec250a4
UD
35912011-10-21 Ulrich Drepper <drepper@gmail.com>
3592
c196fed8
UD
3593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3594 compilation problems.
3595
8ec250a4
UD
3596 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3597 __builtin_expect.
3598
8d4f46c6
UD
35992011-10-20 Ulrich Drepper <drepper@gmail.com>
3600
ed72b654
UD
3601 * sysdeps/i386/configure.in: Test for -mfma4 option.
3602 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3603 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3604 COMMON_CPUID_INDEX_80000001.
3605 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3606 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3607 use it if FMA3 is not supported.
3608 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3609
8d4f46c6
UD
3610 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3611 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3612
d45c60c2
AS
36132011-10-20 Andreas Schwab <schwab@redhat.com>
3614
3615 [BZ #12892]
3616 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3617 it would create a cycle with a link time dependency.
3618
d9a4d2ab
UD
36192011-10-19 Ulrich Drepper <drepper@gmail.com>
3620
855d1560
UD
3621 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3622 instruction.
3623 * string/Makefile (strop-tests): Add rawmemchr.
3624 * string/test-rawmemchr.c: New file.
3625
d9a4d2ab
UD
3626 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3627 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3628 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3629 when compiling str{,n}casecmp and when AVX is available. Hook up
3630 new optimized code in initializers.
3631
8f3b1ffe
AS
36322011-10-19 Andreas Schwab <schwab@redhat.com>
3633
3634 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3635 __feraiseexcept instead of feraiseexcept.
3636
d38f1dba
UD
36372011-10-18 Ulrich Drepper <drepper@gmail.com>
3638
d9a8d0ab
UD
3639 * math/math_private.h: Define defaults for libc_fetestexcept and
3640 libc_feupdateenv.
3641 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3642 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3643 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3644 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3645 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3646 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3647 libc_fetestexcept and libc_feupdateenv.
3648
4855e3dd
UD
3649 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3650 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3651 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3652 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3653 libc_feholdexcept_setround.
3654
581d30e3
UD
3655 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3656 Add s_nearbyint-c and s_nearbyintf-c.
3657 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3658 nearbyintf inlines.
3659 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3660 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3661 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3662 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3663
d38f1dba
UD
3664 * math/math_private.h: Define defaults for libc_fegetround,
3665 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3666 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3667 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3668 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3669 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3670 standard functions.
3671 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3672 Remove comments and hacks for old compiler versions.
3673 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3674 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3675 libc_feholdexceptl.
3676
caa6c9d8
AS
36772011-10-18 Andreas Schwab <schwab@redhat.com>
3678
3679 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
3680 (__feraiseexcept_renamed): Add __NTH.
3681 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
3682 namespace violations.
3683
97c066e6
UD
36842011-10-17 Ulrich Drepper <drepper@gmail.com>
3685
99ce7b04
UD
3686 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3687
1004d182
UD
3688 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3689
228a984d
UD
3690 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3691 recently added interfaces.
3692 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3693
c8553a6a
UD
3694 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3695 about macro parameter expansion.
3696
ed22dcf6
UD
3697 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3698 __NO_MATH_INLINES is defined. Cleanups.
3699
3700 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3701 and __floorf is target has SSE4.1.
3702 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3703 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3704 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3705 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3706
b171c137
UD
3707 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3708 name.
3709 (floorf): Likewise.
3710
97c066e6
UD
3711 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3712
629f62ef
AS
37132011-10-17 Andreas Schwab <schwab@redhat.com>
3714
49a43d80
AS
3715 * misc/sys/cdefs.h: Fix last change.
3716
629f62ef
AS
3717 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3718 database lookup.
3719
e453f6cd
UD
37202011-10-16 Ulrich Drepper <drepper@gmail.com>
3721
aa78043a
UD
3722 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3723
ad0f5cad
UD
3724 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3725 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3726 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3727 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3728 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3729 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3730 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3731 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3732 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3733 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3734 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3735 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3736 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3737 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3738 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3739 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3740 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3741 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3742 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3743 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3744 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3745 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3746
3747 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3748 ceil, ceilf, floor, floorf.
3749
3750 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3751 Perform IRELATIVE relocations last.
3752
e453f6cd
UD
3753 * elf/do-rel.h: Add another parameter nrelative, replacing the
3754 local variable with the same name. Change name of the function
3755 to end in Rel or Rela (uppercase).
3756 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3757 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3758 elf_dynamic_do_##reloc function.
3759
fd5bdc09
UD
37602011-10-15 Ulrich Drepper <drepper@gmail.com>
3761
79b195b5
UD
3762 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3763 is sufficient, at least on modern CPUs.
3764
d4a28569
UD
3765 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3766
b61099b5
UD
3767 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3768 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3769
bcf01e6d
UD
3770 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3771 __expl_finite.
3772 * math/bits/math-finite.h: Add entries for exp.
3773 * math/e_expl.c: Add __*_finite alias.
3774 * sysdeps/i386/fpu/e_exp.S: Likewise.
3775 * sysdeps/i386/fpu/e_expf.S: Likewise.
3776 * sysdeps/i386/fpu/e_expl.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3778 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3779 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3782 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3783 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3784
ba1a0d59
UD
3785 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3786 is sufficient, at least on modern CPUs.
3787
fd5bdc09
UD
3788 * ctype/ctype-info.c (__ctype_init): Define.
3789 * include/ctype.h (__ctype_init): Declare.
3790 (__ctype_b_loc): The variable is always initialized.
3791 (__ctype_toupper_loc): Likewise.
3792 (__ctype_tolower_loc): Likewise.
3793 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3794 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3795
7872cfb0
AS
37962011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3797
b468825a
AS
3798 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3799
7872cfb0
AS
3800 * configure.in: Also look in $cxxmachine/include for C++ system
3801 headers.
3802
be13f7bf
LD
38032011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3804
3805 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3806 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3807 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3808 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3809 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3810 (USE_AS_WMEMCMP): New macro.
3811 Fixing indents.
3812 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3813 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3814 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3815 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3817 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3818 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3819 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3820 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3821 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3822 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3823 (USE_AS_WMEMCMP): New macro.
3824 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3825 * sysdeps/string/test-memcmp.c: Update.
3826 Fix simple_wmemcmp.
3827 Add new tests.
3828 * wcsmbs/wmemcmp.c: Update.
3829 (WMEMCMP): New macro.
3830 Fix overflow bug.
3831
556a2007
AJ
38322011-10-12 Andreas Jaeger <aj@suse.de>
3833
3834 [BZ #13268]
3835 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3836
538faaa7
UD
38372011-10-15 Ulrich Drepper <drepper@gmail.com>
3838
ab6737ff
UD
3839 * libio/iofwide.c (do_length): Avoid warning.
3840
538faaa7
UD
3841 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3842
396a21b1
UD
38432011-10-14 Ulrich Drepper <drepper@gmail.com>
3844
cdf2901f
UD
3845 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3846
38ad40ce
UD
3847 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3848 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3849 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3850 * sysdeps/i386/i686/fpu/e_log.S: New file.
3851 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3852 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3853
396a21b1
UD
3854 * ctype/ctype.h: Add support for inlined isXXX functions when
3855 compiling C++ code.
3856
6b1f68c9
AS
38572011-10-14 Andreas Schwab <schwab@redhat.com>
3858
349290c0
AS
3859 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3860
6b1f68c9
AS
3861 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3862
f2282d42
RM
38632011-10-13 Roland McGrath <roland@hack.frob.com>
3864
3865 [BZ #13291]
3866 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3867
5298ffa8
AS
38682011-10-13 Andreas Schwab <schwab@redhat.com>
3869
714fad23
AS
3870 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3871 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3872 feraiseexcept.
3873
81dcc7fb
AS
3874 * sysdeps/x86_64/memrchr.S: Check for zero size.
3875
5298ffa8
AS
3876 * string/stratcliff.c: Add memrchr tests.
3877
951fbcec
LD
38782011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3879
3880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3881 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3882 rawmemchr-sse2 rawmemchr-sse2-bsf.
3883 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3884 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3885 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3886 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3887 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3888 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3889 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3890 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3891 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3892 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3893 * string/memrchr.c (MEMRCHR): New macro.
3894
0ac5ae23
UD
38952011-10-12 Ulrich Drepper <drepper@gmail.com>
3896
3897 Add integration with gcc's -ffinite-math-only and optimize wrapper
3898 functions in libm.
3899 * Versions.def: Define GLIBC_2.15 version for libm.
3900 * math/Makefile (headers): Add bits/math-finite.h.
3901 * math/bits/math-finite.h: New file.
3902 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3903 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3904 * math/e_acoshl.c: Add __*_finite alias.
3905 * math/e_acosl.c: Likewise.
3906 * math/e_asinl.c: Likewise.
3907 * math/e_atan2l.c: Likewise.
3908 * math/e_atanhl.c: Likewise.
3909 * math/e_coshl.c: Likewise.
3910 * math/e_exp10.c: Likewise.
3911 * math/e_exp10f.c: Likewise.
3912 * math/e_exp10l.c: Likewise.
3913 * math/e_exp2l.c: Likewise.
3914 * math/e_fmodl.c: Likewise.
3915 * math/e_gammal_r.c: Likewise.
3916 * math/e_hypotl.c: Likewise.
3917 * math/e_j0l.c: Likewise.
3918 * math/e_j1l.c: Likewise.
3919 * math/e_jnl.c: Likewise.
3920 * math/e_lgammal_r.c: Likewise.
3921 * math/e_log10l.c: Likewise.
3922 * math/e_log2l.c: Likewise.
3923 * math/e_logl.c: Likewise.
3924 * math/e_powl.c: Likewise.
3925 * math/e_sinhl.c: Likewise.
3926 * math/e_sqrtl.c: Likewise.
3927 * math/e_scalb.c: Completely rewritten and optimized.
3928 * math/e_scalbf.c: Likewise.
3929 * math/e_scalbl.c: Likewise.
3930 * math/w_acos.c: Likewise.
3931 * math/w_acosf.c: Likewise.
3932 * math/w_acosl.c: Likewise.
3933 * math/w_acosh.c: Likewise.
3934 * math/w_acoshf.c: Likewise.
3935 * math/w_acoshl.c: Likewise.
3936 * math/w_asin.c: Likewise.
3937 * math/w_asinf.c: Likewise.
3938 * math/w_asinl.c: Likewise.
3939 * math/w_atan2.c: Likewise.
3940 * math/w_atan2f.c: Likewise.
3941 * math/w_atan2l.c: Likewise.
3942 * math/w_atanh.c: Likewise.
3943 * math/w_atanhf.c: Likewise.
3944 * math/w_atanhl.c: Likewise.
3945 * math/w_exp10.c: Likewise.
3946 * math/w_exp10f.c: Likewise.
3947 * math/w_exp10l.c: Likewise.
3948 * math/w_fmod.c: Likewise.
3949 * math/w_fmodf.c: Likewise.
3950 * math/w_fmodl.c: Likewise.
3951 * math/w_j0.c: Likewise.
3952 * math/w_j0f.c: Likewise.
3953 * math/w_j0l.c: Likewise.
3954 * math/w_j1.c: Likewise.
3955 * math/w_j1f.c: Likewise.
3956 * math/w_j1l.c: Likewise.
3957 * math/w_jn.c: Likewise.
3958 * math/w_jnf.c: Likewise.
3959 * math/w_log.c: Likewise.
3960 * math/w_logf.c: Likewise.
3961 * math/w_logl.c: Likewise.
3962 * math/w_log10.c: Likewise.
3963 * math/w_log10f.c: Likewise.
3964 * math/w_log10l.c: Likewise.
3965 * math/w_log2.c: Likewise.
3966 * math/w_log2f.c: Likewise.
3967 * math/w_log2l.c: Likewise.
3968 * math/w_pow.c: Likewise.
3969 * math/w_powf.c: Likewise.
3970 * math/w_powl.c: Likewise.
3971 * math/w_remainder.c: Likewise.
3972 * math/w_remainderf.c: Likewise.
3973 * math/w_remainderl.c: Likewise.
3974 * math/w_scalb.c: Likewise.
3975 * math/w_scalbf.c: Likewise.
3976 * math/w_scalbl.c: Likewise.
3977 * math/w_sqrt.c: Likewise.
3978 * math/w_sqrtf.c: Likewise.
3979 * math/w_sqrtl.c: Likewise.
3980 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3981 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3982 used.
3983 * math/math_private.h: Declare __kernel_standard_f.
3984 * math/w_cosh.c: Remove cruft and optimize a bit.
3985 * math/w_coshf.c: Likewise.
3986 * math/w_coshl.c: Likewise.
3987 * math/w_exp2.c: Likewise.
3988 * math/w_exp2f.c: Likewise.
3989 * math/w_exp2l.c: Likewise.
3990 * math/w_hypot.c: Likewise.
3991 * math/w_hypotf.c: Likewise.
3992 * math/w_hypotl.c: Likewise.
3993 * math/w_lgamma.c: Likewise.
3994 * math/w_lgamma_r.c: Likewise.
3995 * math/w_lgammaf.c: Likewise.
3996 * math/w_lgammaf_r.c: Likewise.
3997 * math/w_lgammal.c: Likewise.
3998 * math/w_lgammal_r.c: Likewise.
3999 * math/w_sinh.c: Likewise.
4000 * math/w_sinhf.c: Likewise.
4001 * math/w_sinhl.c: Likewise.
4002 * math/w_tgamma.c: Likewise.
4003 * math/w_tgammaf.c: Likewise.
4004 * math/w_tgammal.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4006 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4007 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4008 Minor optimizations. Pretty printing. Remove cruft.
4009 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4010 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4011 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4012 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4013 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4014 * sysdeps/i386/fpu/e_asin.S: Likewise.
4015 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4016 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4017 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4018 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4019 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4020 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4021 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4022 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4023 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4024 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4025 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4026 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4027 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4028 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4029 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4030 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4031 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4032 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4033 * sysdeps/i386/fpu/e_log.S: Likewise.
4034 * sysdeps/i386/fpu/e_log10.S: Likewise.
4035 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4036 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4037 * sysdeps/i386/fpu/e_log2.S: Likewise.
4038 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4039 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4040 * sysdeps/i386/fpu/e_logf.S: Likewise.
4041 * sysdeps/i386/fpu/e_logl.S: Likewise.
4042 * sysdeps/i386/fpu/e_pow.S: Likewise.
4043 * sysdeps/i386/fpu/e_powf.S: Likewise.
4044 * sysdeps/i386/fpu/e_powl.S: Likewise.
4045 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4046 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4047 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4048 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4049 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4050 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4051 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4052 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4053 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4061 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4062 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4063 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4064 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4065 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4066 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4067 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4068 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4070 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4071 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4072 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4073 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4074 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4075 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4076 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4077 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4078 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4079 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4080 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4081 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4082 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4083 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4084 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4085 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4086 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4087 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4088 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4089 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4090 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4091 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4092 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4093 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4094 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4095 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4134 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4136 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4137 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4139 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4140 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4142 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4144 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4145 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4146 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4147 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4148 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4149 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4150 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4151 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4152 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4153 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4154 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4155 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4156 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4157 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4158 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4159 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4160 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4161 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4162 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4163 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4164 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4165 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4166 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4167 (__isnanf): Likewise.
4168 (__isinf_ns): Likewise.
4169 (__isinf_nsf): Likewise.
4170 (__finite): Likewise.
4171 (__finitef): Likewise.
4172 (__ieee754_sqrt): Define as macro.
4173 (__ieee754_sqrtf): Define as macro.
4174 (__ieee754_sqrtl): Define as macro.
4175 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4176 inlined copy.
4177 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4178 __FINITE_MATH_ONLY__ consistent.
4179 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4180
12cc2fcd
AS
41812011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4182
a843a204
AS
4183 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4184 of rawmemchr.
4185
12cc2fcd
AS
4186 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4187
c853acd5
UD
41882011-10-09 Ulrich Drepper <drepper@gmail.com>
4189
4190 * po/ja.po: Update from translation team.
4191
c658d255
RM
41922011-10-08 Roland McGrath <roland@hack.frob.com>
4193
110946e4
RM
4194 * locale/programs/locarchive.c (prepare_address_space): New function.
4195 (create_archive, enlarge_archive, open_archive): Use it.
4196
50604220
RM
4197 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4198 inside [SHARED], where it is used.
4199
c658d255
RM
4200 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4201
4202 * nss/getent.c (netgroup_keys): Remove unused variable.
4203 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4204
6a621eb7
UD
42052011-10-08 Ulrich Drepper <drepper@gmail.com>
4206
7edb55ce
UD
4207 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4208 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4210 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4211 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4212 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4213 * math/Makefile (libm-calls): Add s_isinf_ns.
4214 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4215 * math/multc3.c: Likewise.
4216 * math/s_casin.c: Likewise.
4217 * math/s_casinf.c: Likewise.
4218 * math/s_casinl.c: Likewise.
4219 * math/s_ccos.c: Likewise.
4220 * math/s_ccosf.c: Likewise.
4221 * math/s_ccosl.c: Likewise.
4222 * math/s_ctan.c: Likewise.
4223 * math/s_ctanf.c: Likewise.
4224 * math/s_ctanh.c: Likewise.
4225 * math/s_ctanhf.c: Likewise.
4226 * math/s_ctanhl.c: Likewise.
4227 * math/s_ctanl.c: Likewise.
4228 * math/w_fmod.c: Likewise.
4229 * math/w_fmodf.c: Likewise.
4230 * math/w_fmodl.c: Likewise.
4231 * math/w_remainder.c: Likewise.
4232 * math/w_remainderf.c: Likewise.
4233 * math/w_remainderl.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4235 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4236 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4238 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4239 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4240 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4241 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4242
187da0ae
UD
4243 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4244 of the number.
4245 * stdio-common/printf_fphex.c: Likewise.
4246 * stdio-common/printf_size.c: Likewise.
4247
9277c064
UD
4248 * math/e_exp10.c: Include math_private.h using <...> not "...".
4249 * math/e_exp10f.c: Likewise.
4250 * math/e_exp10l.c: Likewise.
4251 * math/e_exp2l.c: Likewise.
4252 * math/e_j0l.c: Likewise.
4253 * math/e_j1l.c: Likewise.
4254 * math/e_jnl.c: Likewise.
4255 * math/e_lgammal_r.c: Likewise.
4256 * math/e_rem_pio2l.c: Likewise.
4257 * math/e_scalb.c: Likewise.
4258 * math/e_scalbf.c: Likewise.
4259 * math/e_scalbl.c: Likewise.
4260 * math/k_cosl.c: Likewise.
4261 * math/k_sinl.c: Likewise.
4262 * math/k_tanl.c: Likewise.
4263 * math/s_cacoshf.c: Likewise.
4264 * math/s_catan.c: Likewise.
4265 * math/s_catanf.c: Likewise.
4266 * math/s_catanh.c: Likewise.
4267 * math/s_catanhf.c: Likewise.
4268 * math/s_catanhl.c: Likewise.
4269 * math/s_catanl.c: Likewise.
4270 * math/s_ccosh.c: Likewise.
4271 * math/s_ccoshf.c: Likewise.
4272 * math/s_ccoshl.c: Likewise.
4273 * math/s_cexp.c: Likewise.
4274 * math/s_cexpf.c: Likewise.
4275 * math/s_cexpl.c: Likewise.
4276 * math/s_clog.c: Likewise.
4277 * math/s_clog10.c: Likewise.
4278 * math/s_clog10f.c: Likewise.
4279 * math/s_clog10l.c: Likewise.
4280 * math/s_clogf.c: Likewise.
4281 * math/s_clogl.c: Likewise.
4282 * math/s_csin.c: Likewise.
4283 * math/s_csinf.c: Likewise.
4284 * math/s_csinh.c: Likewise.
4285 * math/s_csinhf.c: Likewise.
4286 * math/s_csinhl.c: Likewise.
4287 * math/s_csinl.c: Likewise.
4288 * math/s_csqrt.c: Likewise.
4289 * math/s_csqrtf.c: Likewise.
4290 * math/s_csqrtl.c: Likewise.
4291 * math/s_ctan.c: Likewise.
4292 * math/s_ctanf.c: Likewise.
4293 * math/s_ctanh.c: Likewise.
4294 * math/s_ctanhf.c: Likewise.
4295 * math/s_ctanhl.c: Likewise.
4296 * math/s_ctanl.c: Likewise.
4297 * math/s_ldexp.c: Likewise.
4298 * math/s_ldexpf.c: Likewise.
4299 * math/s_ldexpl.c: Likewise.
4300 * math/s_significand.c: Likewise.
4301 * math/s_significandf.c: Likewise.
4302 * math/s_significandl.c: Likewise.
4303 * math/w_acos.c: Likewise.
4304 * math/w_acosf.c: Likewise.
4305 * math/w_acosh.c: Likewise.
4306 * math/w_acoshf.c: Likewise.
4307 * math/w_acoshl.c: Likewise.
4308 * math/w_acosl.c: Likewise.
4309 * math/w_asin.c: Likewise.
4310 * math/w_asinf.c: Likewise.
4311 * math/w_asinl.c: Likewise.
4312 * math/w_atan2.c: Likewise.
4313 * math/w_atan2f.c: Likewise.
4314 * math/w_atan2l.c: Likewise.
4315 * math/w_atanh.c: Likewise.
4316 * math/w_atanhf.c: Likewise.
4317 * math/w_atanhl.c: Likewise.
4318 * math/w_cosh.c: Likewise.
4319 * math/w_coshf.c: Likewise.
4320 * math/w_coshl.c: Likewise.
4321 * math/w_dremf.c: Likewise.
4322 * math/w_exp10.c: Likewise.
4323 * math/w_exp10f.c: Likewise.
4324 * math/w_exp10l.c: Likewise.
4325 * math/w_exp2.c: Likewise.
4326 * math/w_exp2f.c: Likewise.
4327 * math/w_fmod.c: Likewise.
4328 * math/w_fmodf.c: Likewise.
4329 * math/w_fmodl.c: Likewise.
4330 * math/w_hypot.c: Likewise.
4331 * math/w_hypotf.c: Likewise.
4332 * math/w_hypotl.c: Likewise.
4333 * math/w_j0.c: Likewise.
4334 * math/w_j0f.c: Likewise.
4335 * math/w_j0l.c: Likewise.
4336 * math/w_j1.c: Likewise.
4337 * math/w_j1f.c: Likewise.
4338 * math/w_j1l.c: Likewise.
4339 * math/w_jn.c: Likewise.
4340 * math/w_jnf.c: Likewise.
4341 * math/w_jnl.c: Likewise.
4342 * math/w_lgamma.c: Likewise.
4343 * math/w_lgamma_r.c: Likewise.
4344 * math/w_lgammaf.c: Likewise.
4345 * math/w_lgammaf_r.c: Likewise.
4346 * math/w_lgammal.c: Likewise.
4347 * math/w_lgammal_r.c: Likewise.
4348 * math/w_log.c: Likewise.
4349 * math/w_log10.c: Likewise.
4350 * math/w_log10f.c: Likewise.
4351 * math/w_log10l.c: Likewise.
4352 * math/w_log2.c: Likewise.
4353 * math/w_log2f.c: Likewise.
4354 * math/w_log2l.c: Likewise.
4355 * math/w_logf.c: Likewise.
4356 * math/w_logl.c: Likewise.
4357 * math/w_pow.c: Likewise.
4358 * math/w_powf.c: Likewise.
4359 * math/w_powl.c: Likewise.
4360 * math/w_remainder.c: Likewise.
4361 * math/w_remainderf.c: Likewise.
4362 * math/w_remainderl.c: Likewise.
4363 * math/w_scalb.c: Likewise.
4364 * math/w_scalbf.c: Likewise.
4365 * math/w_scalbl.c: Likewise.
4366 * math/w_sinh.c: Likewise.
4367 * math/w_sinhf.c: Likewise.
4368 * math/w_sinhl.c: Likewise.
4369 * math/w_sqrt.c: Likewise.
4370 * math/w_sqrtf.c: Likewise.
4371 * math/w_sqrtl.c: Likewise.
4372 * math/w_tgamma.c: Likewise.
4373 * math/w_tgammaf.c: Likewise.
4374 * math/w_tgammal.c: Likewise.
4375
6a621eb7
UD
4376 * po/ja.po: Update from translation team.
4377
bf582445
AJ
43782011-09-29 Andreas Jaeger <aj@suse.de>
4379
f9efbf3a
AJ
4380 [BZ #13179]
4381 * sunrpc/netname.c (netname2host): Fix logic.
4382
bf582445
AJ
4383 [BZ #6779]
4384 [BZ #6783]
4385 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4386 correctly.
4387 * math/w_remainder.c (__remainder): Likewise.
4388 * math/w_remainderf.c (__remainderf): Likewise.
4389 * math/libm-test.inc (remainder_test): Add test cases.
4390
48693bea
AK
43912011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4392
4393 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4394 sdiv_qrnnd.
4395
42622229
LD
43962011-10-07 Ulrich Drepper <drepper@gmail.com>
4397
4398 * string/test-memcmp.c: Avoid unncessary #defines.
4399 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4400
093ecf92
LD
44012011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4402
4403 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4404 Use new sse2 version for core i3 - i7 as it's faster
4405 than sse42 version.
4406 (bit_Prefer_PMINUB_for_stringop): New.
4407 * sysdeps/x86_64/rawmemchr.S: Update.
4408 Replace with faster SSE2 version.
4409 * sysdeps/x86_64/memrchr.S: New file.
4410 * sysdeps/x86_64/memchr.S: Update.
4411 Replace with faster SSE2 version.
4412
fde56e5c
MP
44132011-09-12 Marek Polacek <mpolacek@redhat.com>
4414
4415 * elf/dl-load.c (lose): Add cast to avoid warning.
4416
21fd49a9
UD
44172011-10-07 Ulrich Drepper <drepper@gmail.com>
4418
5a06e643
UD
4419 * po/ca.po: Update from translation team.
4420
684ae515
UD
4421 * inet/getnetgrent_r.c: Hook up nscd.
4422 * nscd/Makefile (routines): Add nscd_netgroup.
4423 (nscd-modules): Add netgroupcache.
4424 (CFLAGS-netgroupcache.c): Define.
4425 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4426 (cache_search): Add const to second parameter.
4427 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4428 INNETGR.
4429 (dbs): Add netgrdb entry.
4430 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4431 (verify_persistent_db): Handle netgrdb.
4432 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4433 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4434 GETFDNETGR.
4435 (netgroup_response_header): Define.
4436 (innetgroup_response_header): Define.
4437 (datahead): Add netgroup_response_header and innetgroup_response_header
4438 elements.
4439 * nscd/nscd.conf: Add entries for netgroup cache.
4440 * nscd/nscd.h (dbtype): Add netgrdb.
4441 (_PATH_NSCD_NETGROUP_DB): Define.
4442 (netgroup_iov_disabled): Declare.
4443 (xmalloc, xcalloc, xrealloc): Move declarations here.
4444 (cache_search): Adjust prototype.
4445 Add netgroup-related prototypes.
4446 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4447 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4448 (__nscd_innetgr): Declare.
4449 * nscd/selinux.c (perms): Use access_vector_t as element type and
4450 add netgroup-related initializers.
4451 * nscd/netgroupcache.c: New file.
4452 * nscd/nscd_netgroup.c: New file.
4453 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4454 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4455 For four parameters use innetgr.
4456 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4457 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4458 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4459 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4460
21fd49a9
UD
4461 * nscd/connections.c (register_traced_file): Don't register file
4462 for disabled databases.
4463
054c0457
UD
44642011-10-06 Ulrich Drepper <drepper@gmail.com>
4465
32b63198
UD
4466 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4467
054c0457
UD
4468 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4469 from tree and freeing node.
4470
64031225
JO
44712011-09-25 Jiri Olsa <jolsa@redhat.com>
4472
4473 * nss/nsswitch.c (__nss_database_lookup): Handle
4474 nss_parse_service_list out of memory case.
4475
0490345c
JO
44762011-09-15 Jiri Olsa <jolsa@redhat.com>
4477
4478 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4479 out of memory case.
4480
3a62d00d
AS
44812011-10-04 Andreas Schwab <schwab@redhat.com>
4482
4483 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4484 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4485 pass it down.
4486 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4487 elf_machine_rela, elf_machine_lazy_rel.
4488 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4489 (ELF_DYNAMIC_DO_REL): Likewise.
4490 (ELF_DYNAMIC_DO_RELA): Likewise.
4491 (ELF_DYNAMIC_RELOCATE): Likewise.
4492 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4493 to ELF_DYNAMIC_DO_REL.
4494 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4495 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4496 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4497 elf_machine_rela.
4498 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4499 skip_ifunc, don't call ifunc function if non-zero.
4500 (elf_machine_rela): Likewise.
4501 (elf_machine_lazy_rel): Likewise.
4502 (elf_machine_lazy_rela): Likewise.
4503 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4504 (elf_machine_lazy_rel): Likewise.
4505 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4506 Likewise.
4507 (elf_machine_lazy_rel): Likewise.
4508 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4509 Likewise.
4510 (elf_machine_lazy_rel): Likewise.
4511 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4512 (elf_machine_lazy_rel): Likewise.
4513 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4514 (elf_machine_lazy_rel): Likewise.
4515 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4516 (elf_machine_lazy_rel): Likewise.
4517 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4518 (elf_machine_lazy_rel): Likewise.
4519 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4520 (elf_machine_lazy_rel): Likewise.
4521 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4522 (elf_machine_lazy_rel): Likewise.
4523
68577918
UD
45242011-09-28 Ulrich Drepper <drepper@gmail.com>
4525
4526 * nss/nss_files/files-init.c (_nss_files_init): Use static
4527 initialization for all the *_traced_file variables.
4528
68822d74
AS
45292011-09-28 Andreas Schwab <schwab@redhat.com>
4530
4531 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4532
2056100b
RM
45332011-09-27 Roland McGrath <roland@hack.frob.com>
4534
4535 [BZ #13226]
4536 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4537
32c76b63
AS
45382011-09-27 Andreas Schwab <schwab@redhat.com>
4539
4540 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4541 Reread the line before reparsing it.
4542
bf972c9d
AS
45432011-09-26 Andreas Schwab <schwab@redhat.com>
4544
4545 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4546
e057a1b5
JM
45472011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4548 Maxim Kuvyrkov <maxim@codesourcery.com>
4549 Joseph Myers <joseph@codesourcery.com>
4550
4551 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4552 if needed for __stack_chk_guard.
4553
bc7e1c36
RM
45542011-09-19 Roland McGrath <roland@hack.frob.com>
4555
ecb1482f
RM
4556 * sysdeps/posix/spawni.c (script_execute): Always define it.
4557 It will be optimized away if unused.
4558 (maybe_script_execute): New function.
4559 (__spawni): Call it.
4560
bc7e1c36
RM
4561 * Makerules: Don't include tls.make.
4562 (config-tls): Always set to thread.
4563 * tls.make.c: File removed.
4564
1c3b002b
MF
45652011-09-19 Mike Frysinger <vapier@gentoo.org>
4566
4567 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4568 * config.make.in (CPPFLAGS-config): New substituted variable.
4569
2840865d
UD
45702011-09-15 Ulrich Drepper <drepper@gmail.com>
4571
88738eb6
UD
4572 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4573
cbf645a6 4574 [BZ #13192]
2840865d
UD
4575 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4576 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4577
b402e91a
RM
45782011-09-15 Roland McGrath <roland@hack.frob.com>
4579
4580 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4581 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4583 (CALL_FAIL): Likewise.
4584 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4585 (CALL_FAIL): Macro removed.
4586 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4587
4c1a1f71
UD
45882011-09-15 Ulrich Drepper <drepper@gmail.com>
4589
4590 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4591 for __FINITE_MATH_ONLY__ == 1.
4592
edc121be
AS
45932011-09-15 Andreas Schwab <schwab@redhat.com>
4594
4595 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4596 __ieee754_sqrt instead of sqrt.
4597 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4598 __ieee754_sqrtf instead of sqrtf.
4599 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4600 __floorf instead of floorf.
4601 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4602 __floorf, __truncf instead of floorf, truncf.
4603
cd205654
UD
46042011-09-14 Ulrich Drepper <drepper@gmail.com>
4605
ee4d0315
UD
4606 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4607
cd205654
UD
4608 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4609 __extern_always_inline.
4610 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4611 32-bit.
4612
48b67d71
AS
46132011-09-14 Andreas Schwab <schwab@redhat.com>
4614
4615 * elf/rtld.c (dl_main): Also relocate in dependency order when
4616 doing symbol dependency testing.
4617
1ae12c75
AS
46182011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4619
4620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4621 Always define `refsym'.
4622
995a80df
AS
46232011-09-13 Andreas Schwab <schwab@redhat.com>
4624
e529793b
AS
4625 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4626 (__FD_ELT): Renamed from __FDELT.
4627 * misc/bits/select2.h (__FD_ELT): Likewise.
4628 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4629 __FD_MASK instead of __FDELT, __FDMASK.
4630 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4631 Likewise.
4632 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4633 Likewise.
4634
52d4fef8
AS
4635 * elf/Makefile (gen-ldd): Fix pattern.
4636
995a80df
AS
4637 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4638 (init_tls): Likewise.
4639
8682f8b0
UD
46402011-09-12 Ulrich Drepper <drepper@gmail.com>
4641
4642 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4643
de82006d
AS
46442011-09-12 Andreas Schwab <schwab@redhat.com>
4645
a7c8e6a1
AS
4646 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4647 `struct cmsghdr *' instead of `void *'.
4648 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4649 Likewise.
4650
0f31fe77
AS
46512011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4652
4653 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4654 if non-absolute.
4655 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4656 ldd_rewrite_script.
0f31fe77 4657
32b4c839
UD
46582011-09-11 Ulrich Drepper <drepper@gmail.com>
4659
83cd1420
UD
4660 * configure.in: Remove --with-tls option.
4661 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4662 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4663 out in case it is missing.
4664 * sysdeps/ia64/elf/configure.in: Likewise.
4665 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4666 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4667 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4668 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4669 * sysdeps/sh/elf/configure.in: Likewise.
4670 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4671 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4672 * sysdeps/x86_64/elf/configure.in: Likewise.
4673 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4674 * sysdeps/mach/hurd/tls.h: Likewise.
4675
633f745d
UD
4676 [BZ #13067]
4677 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4678
f318beb8
UD
4679 [BZ #13090]
4680 * configure.in: Fix use of AC_INIT.
4681
32b4c839
UD
4682 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4683
3ce1f295
UD
46842011-09-10 Ulrich Drepper <drepper@gmail.com>
4685
bb016596
UD
4686 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4687 __set_errno.
8e58439c
UD
4688 * malloc/hooks.c: Likewise.
4689
aebae053 4690 [BZ #11929]
02d46fc4
UD
4691 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4692 variables statically.
4693 (narenas): Initialize.
4694 (list_lock): Initialize.
bb016596
UD
4695 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4696 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
4697 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4698 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4699 Add initializers to main_arena and mp_.
4700 (malloc_state): Remove pagesize member. Change all users to use
4701 GLRO(dl_pagesize).
4702
4703 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4704 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4705 is always initialized.
4706
22a89187
UD
4707 * malloc/malloc.c: Removed unused configurations and dead code.
4708 * malloc/arena.c: Likewise.
4709 * malloc/hooks.c: Likewise.
02d46fc4 4710 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 4711
d063d164
UD
4712 * include/tls.h: Removed. USE___THREAD must always be defined.
4713 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4714 * elf/dl-libc.c: Likewise.
4715 * elf/dl-tsd.c: Likewise.
4716 * include/errno.h: Likewise.
4717 * include/netdb.h: Likewise.
4718 * include/resolv.h: Likewise.
4719 * inet/herrno-loc.c: Likewise.
4720 * inet/herrno.c: Likewise.
4721 * malloc/arena.c: Likewise.
4722 * malloc/hooks.c: Likewise.
4723 * malloc/malloc.c: Likewise.
4724 * resolv/res-state.c: Likewise.
4725 * resolv/res_libc.c: Likewise.
4726 * sysdeps/i386/dl-machine.h: Likewise.
4727 * sysdeps/ia64/dl-machine.h: Likewise.
4728 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4729 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4730 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4731 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4732 * sysdeps/sh/dl-machine.h: Likewise.
4733 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4734 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4735 * sysdeps/unix/i386/sysdep.S: Likewise.
4736 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4737 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4738 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4739 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4741 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4742 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4743 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4744 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4746 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4747 * sysdeps/x86_64/dl-machine.h: Likewise.
4748 * tls.make.c: Likewise.
4749
3ce1f295
UD
4750 * configure.in: Remove --with-__thread option. Make tests for
4751 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4752 tls_model attribute fail if no support is available. Remove
4753 USE_IN_LIBIO.
4754 * Makeconfig: Adjust for dropped configure option. All features are
4755 now mandatory.
4756 * Makerules: Likewise.
4757 * Versions.def: Likewise.
4758 * argp/argp-fmtstream.c: Likewise.
4759 * argp/argp-fmtstream.h: Likewise.
4760 * argp/argp-help.c: Likewise.
4761 * assert/assert.c: Likewise.
4762 * config.h.in: Likewise.
4763 * config.make.in: Likewise.
4764 * configure: Likewise.
4765 * configure.in: Likewise.
4766 * csu/Versions: Likewise.
4767 * csu/init.c: Likewise.
4768 * elf/tst-audit2.c: Likewise.
4769 * elf/tst-tls10.c: Likewise.
4770 * elf/tst-tls10.h: Likewise.
4771 * elf/tst-tls11.c: Likewise.
4772 * elf/tst-tls12.c: Likewise.
4773 * elf/tst-tls14.c: Likewise.
4774 * elf/tst-tlsmod11.c: Likewise.
4775 * elf/tst-tlsmod12.c: Likewise.
4776 * elf/tst-tlsmod13.c: Likewise.
4777 * elf/tst-tlsmod13a.c: Likewise.
4778 * elf/tst-tlsmod14a.c: Likewise.
4779 * elf/tst-tlsmod15b.c: Likewise.
4780 * elf/tst-tlsmod16a.c: Likewise.
4781 * elf/tst-tlsmod16b.c: Likewise.
4782 * elf/tst-tlsmod7.c: Likewise.
4783 * elf/tst-tlsmod8.c: Likewise.
4784 * elf/tst-tlsmod9.c: Likewise.
4785 * gmon/gmon.c: Likewise.
4786 * grp/fgetgrent_r.c: Likewise.
4787 * grp/putgrent.c: Likewise.
4788 * hurd/fopenport.c: Likewise.
4789 * include/libc-symbols.h: Likewise.
4790 * include/tls.h: Likewise.
4791 * intl/gettextP.h: Likewise.
4792 * intl/loadinfo.h: Likewise.
4793 * locale/global-locale.c: Likewise.
4794 * locale/localeinfo.h: Likewise.
4795 * mach/devstream.c: Likewise.
4796 * malloc/arena.c: Likewise.
4797 * malloc/set-freeres.c: Likewise.
4798 * misc/err.c: Likewise.
4799 * misc/getttyent.c: Likewise.
4800 * misc/mntent_r.c: Likewise.
4801 * posix/getopt.c: Likewise.
4802 * posix/wordexp.c: Likewise.
4803 * pwd/fgetpwent_r.c: Likewise.
4804 * resolv/Versions: Likewise.
4805 * resolv/res_hconf.c: Likewise.
4806 * shadow/fgetspent_r.c: Likewise.
4807 * shadow/putspent.c: Likewise.
4808 * stdio-common/printf_fphex.c: Likewise.
4809 * stdio-common/tmpfile.c: Likewise.
4810 * stdlib/abort.c: Likewise.
4811 * stdlib/fmtmsg.c: Likewise.
4812 * sunrpc/auth_unix.c: Likewise.
4813 * sunrpc/clnt_perr.c: Likewise.
4814 * sunrpc/clnt_tcp.c: Likewise.
4815 * sunrpc/clnt_udp.c: Likewise.
4816 * sunrpc/clnt_unix.c: Likewise.
4817 * sunrpc/openchild.c: Likewise.
4818 * sunrpc/svc_simple.c: Likewise.
4819 * sunrpc/svc_tcp.c: Likewise.
4820 * sunrpc/svc_udp.c: Likewise.
4821 * sunrpc/svc_unix.c: Likewise.
4822 * sunrpc/xdr.c: Likewise.
4823 * sunrpc/xdr_array.c: Likewise.
4824 * sunrpc/xdr_rec.c: Likewise.
4825 * sunrpc/xdr_ref.c: Likewise.
4826 * sunrpc/xdr_stdio.c: Likewise.
4827
1248c1c4
PB
48282011-09-09 Ulrich Drepper <drepper@gmail.com>
4829
4830 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4831
48322011-07-03 Andreas Jaeger <aj@suse.de>
4833
4834 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4835 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4836 regenerate with gen-libm-tests.pl.
4837
48382010-05-12 Petr Baudis <pasky@suse.cz>
4839
4840 [BZ #11589]
4841 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4842 around j0() zero points by switching to j1().
4843 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4846 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4847
f22e1074
UD
48482011-09-09 Ulrich Drepper <drepper@gmail.com>
4849
f19009c1
UD
4850 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4851 instead of 0.
4852 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4853 instead of 0. .
4854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4855 Patch in part by Pavel Roskin <proski@gnu.org>.
4856
3f8cc204
UD
4857 [BZ #13138]
4858 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4859 realloc.
4860 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4861 Free memory block if necessary.
4862
f22e1074
UD
4863 [BZ #12847]
4864 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4865 be NULL. Don't lock in this case.
4866
0a2349f9
RM
48672011-09-09 Roland McGrath <roland@hack.frob.com>
4868
4869 * elf/elf.h (ELFOSABI_GNU): New macro.
4870 (ELFOSABI_LINUX): Define to that.
4871
f3cdd467
DZ
48722011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4873
4874 * string/strncat.c (strncat): Undef the symbol in case it has been
4875 defined in bits/string.h.
4876
74718d13
UD
48772011-09-09 Ulrich Drepper <drepper@gmail.com>
4878
633e9e0f
UD
4879 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4880
0a2349f9 4881 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
4882 link map.
4883
f9924780
AJ
48842011-08-17 Andreas Jaeger <aj@suse.de>
4885
4886 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4887
7f5517aa
PP
48882011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4889 Ian Lance Taylor <iant@google.com>
4890
4891 * math/libm-test.inc (lround_test): New testcase.
4892 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4893
762011fe
UD
48942011-09-08 Ulrich Drepper <drepper@gmail.com>
4895
92963737
UD
4896 * Makefile: Remove support for automatic cvs check-ins.
4897 * Makerules: Likewise.
4898 * config.make.in: Likewise.
4899 * configure.in: Likewise.
4900 * intl/Makefile: Likewise.
4901 * locale/Makefile: Likewise.
4902 * po/Makefile: Likewise.
4903 * posix/Makefile: Likewise.
4904 * sysdeps/gnu/Makefile: Likewise.
4905 * sysdeps/mach/hurd/Makefile: Likewise.
4906 * sysdeps/sparc/sparc32/Makefile: Likewise.
4907
b0727fd8
JS
4908 [BZ #13118]
4909 * posix/Makefile (bug-regex32-ENV): Define.
4910 Patch by John Stanley <jpsinthemix@verizon.net>.
4911
a0f33f99
UD
4912 * misc/Makefile (headers): Add bits/select2.h.
4913 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4914 * misc/bits/select2.h: New file.
4915 * include/bits/select2.h: New file.
4916 * debug/Makefile (routines): Add fdelt_chk.
4917 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4918 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4919 FD_ISSET.
4920 * debug/fdelt_chk.c: New file.
4921
762011fe
UD
4922 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4923 * wcsmbs/test-wmemcmp.c: Likewise.
4924 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 4925 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
4926
49272011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4928
4929 * string/Makefile (strop-tests): Add memcmp.
4930 * string/test-wmemcmp.c: New file.
4931 * string/test-memcmp.c: Add wmemcmp support.
4932
7f513ec8
RM
49332011-09-08 Roland McGrath <roland@hack.frob.com>
4934
0442afb4
RM
4935 [BZ #13153]
4936 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4937 2011-07-19 change.
4938
7f513ec8
RM
4939 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4940 garbage value in a __mach_port_mod_refs call in the cases of the
4941 task-self and thread-self ports.
4942
a12b2239
ST
49432011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4944
4945 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4946
610f9ab4
AS
49472011-09-08 Andreas Schwab <schwab@redhat.com>
4948
7f513ec8 4949 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 4950
48882a1a
LD
49512011-09-07 Ulrich Drepper <drepper@gmail.com>
4952
b49865be
UD
4953 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4954
fdc86bc9
UD
4955 * elf/dl-libc.c (dlerror_run): Pass back error code from
4956 dl_catch_error.
4957
c966526a
UD
4958 [BZ #13123]
4959 * elf/dl-load.c (lose): Free l_origin if it is valid.
4960
48882a1a
LD
4961 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4962 names.
4963 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4964 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4965 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4966 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4967 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4968 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4969
77a2a8b4
AZ
49702011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4971
4972 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4973 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4974 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4975 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4976 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4977 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4978 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4979 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4980 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4981 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4982
24f579d8
AM
49832011-08-15 Alan Modra <amodra@gmail.com>
4984
4985 [BZ #13092]
4986 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4987 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4988 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4989 ppc_mcount to static-only-routines.
4990 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4991 __mcount_internal.
4992 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4993 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4994
3d4837df
UD
49952011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4996
4997 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4998 for finite and infinity parameters.
4999
22700377
WS
50002011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5001
5002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5003 and add nop instructions for throughput optimization.
5004 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5005
5025581e
WS
50062011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5007
5008 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5009 aligned copy for power7 with vector-scalar instructions.
5010 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5011
08a300c9
L
50122011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5013
5014 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5015 AVX check.
5016
59178ef9
AS
50172011-09-07 Andreas Schwab <schwab@redhat.com>
5018
5019 [BZ #13144]
5020 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5021 last change.
5022
e38ba7ab
UD
50232011-09-07 Ulrich Drepper <drepper@gmail.com>
5024
5025 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5026 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5027 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5028 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5029 clock_gettime.
5030
d53a73ac
UD
50312011-09-06 Ulrich Drepper <drepper@gmail.com>
5032
fc8bffcc
UD
5033 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5034 Forgot to demangle the pointer.
5035
ceaa0c5d
UD
5036 * sysdeps/i386/sysdep.h: Define atom_text_section.
5037 * sysdeps/x86_64/sysdep.h: Likewise.
5038 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5039 section with atom_text_section.
5040 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5041 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5042 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5044 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5045
a77d3c17
UD
5046 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5047 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5048 already be defined. Change to take two parameters and don't assign
5049 result to variable. Adjust all users.
5050 Define INTERNAL_GETTIME if not already defined.
5051 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5052 call.
5053 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5054 HAVE_CLOCK_GETTIME_VSYSCALL.
5055 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5056
d53a73ac
UD
5057 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5058 gettimeofday vsyscall, just use time.
5059
a8f84144
AS
50602011-09-06 Andreas Schwab <schwab@redhat.com>
5061
5062 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5063 <errno.h>.
5064
ef606249
UD
50652011-09-06 Ulrich Drepper <drepper@gmail.com>
5066
5067 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5068 syscall on x86-64.
5069 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5070 syscall.
5071 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5072 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5073 syscall if possible.
5074
6585cb60
UD
50752011-09-05 Ulrich Drepper <drepper@gmail.com>
5076
5077 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5078 e_ident. Don't pass to find_mapsXX.
5079 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5080
a5f524e4
LD
50812011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5082
5083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5084 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5085 * sysdeps/x86_64/multiarch/strchr.S: Update.
5086 Check bit_slow_BSF bit.
5087 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5088 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5089 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5090
554881ef
UD
50912011-09-05 Ulrich Drepper <drepper@gmail.com>
5092
d96de963
UD
5093 [BZ #13134]
5094 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5095 before glibc 2.15.
5096 (tryshell): Define.
5097 (__spawni): Change last parameter to be flag. Test
5098 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5099 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5100 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5101 * posix/spawni.c: Likewise.
5102 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5103 * posix/spawnp.c: Likewise. Change normal version to use
5104 SPAWN_XFLAGS_USE_PATH.
5105 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5106 SPAWN_XFLAGS_TRY_SHELL.
5107
d48e5868
UD
5108 [BZ #13150]
5109 * posix/glob.h: Remove gcc 1.x support.
5110
554881ef
UD
5111 [BZ #13068]
5112 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5113
693fb948
LD
51142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5115
5116 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5117 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5118 strrchr-sse2-bsf
5119 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5120 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5121 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5122 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5123 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5124 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5125
1b48c537
UD
51262011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5127
49d42c37
UD
5128 * sysdeps/x86_64/wcscmp.S: New file.
5129
1b48c537
UD
5130 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5131 wcscmp-c wcscmp-sse2
5132 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5133 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5134 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5135 * wcsmbs/wcscmp.c: Allow renaming.
5136
15c95c5d
DM
51372011-09-05 David S. Miller <davem@davemloft.net>
5138
5139 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5140 stack slot, rather than the struct return pointer slot.
5141 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5142 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5144 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5145
2f0ad8f3
UD
51462011-09-05 Ulrich Drepper <drepper@gmail.com>
5147
d88ae418
UD
5148 * po/ja.po: Update from translation team.
5149
2f0ad8f3
UD
5150 [BZ #13144]
5151 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5152 kernel in 64-bit binaries.
5153
5f4318d1
DM
51542011-09-01 David S. Miller <davem@davemloft.net>
5155
5156 * elf/elf.h (HWCAP_SPARC_*): Move to..
5157 * sysdeps/sparc/sysdep.h: this new file and add new values.
5158 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5159 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5160 _DL_HWCAP_COUNT to 24.
5161 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5162 entries.
5163 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5164 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5165 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5166 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5167 instead of magic constants.
5168 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5169
3ba57516
DM
51702011-08-31 David S. Miller <davem@davemloft.net>
5171
5172 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5173 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5174 Reimplement to do errno handling inline.
5175 (SYSCALL_ERROR_HANDLER): New macro.
5176 (__SYSCALL_STRING): Do not do errno handling in asm.
5177 (__CLONE_SYSCALL_STRING): Delete.
5178 (__INTERNAL_SYSCALL_STRING): Delete.
5179 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5180 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5181 (PSEUDO): Reimplement to do errno handling inline.
5182 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5183 (SYSCALL_ERROR_HANDLER): New macro.
5184 (__SYSCALL_STRING): Do not do errno handling in asm.
5185 (__CLONE_SYSCALL_STRING): Delete.
5186 (__INTERNAL_SYSCALL_STRING): Delete.
5187 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5188 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5189 i386.
5190 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5191 (inline_syscall*): Add 'err' argument.
5192 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5193 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5194 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5195 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5196
5197 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5198 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5199
2bc17433
AS
52002011-08-30 Andreas Schwab <schwab@redhat.com>
5201
5202 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5203
fbeb5f4d
JO
52042011-08-29 Jiri Olsa <jolsa@redhat.com>
5205
5206 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5207 directive.
5208
ad69cc26
DM
52092011-08-24 David S. Miller <davem@davemloft.net>
5210
5211 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5212
39dd69df
AS
52132011-08-24 Andreas Schwab <schwab@redhat.com>
5214
5215 * elf/Makefile: Add rules to build and run unload8 test.
5216 * elf/unload8.c: New file.
5217 * elf/unload8mod1.c: New file.
5218 * elf/unload8mod1x.c: New file.
5219 * elf/unload8mod2.c: New file.
5220 * elf/unload8mod3.c: New file.
5221
5222 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5223 it wasn't used.
5224
2c0b250a
DM
52252011-08-23 David S. Miller <davem@davemloft.net>
5226
5227 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5228 subtract stack bias.
5229 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5230 %sp not %fp in calculations.
5231 (_JMPBUF_UNWINDS_ADJ): Likewise.
5232
22044b48
DM
5233 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5234 (aio_suspend): Call it to force an exception region around the
5235 AIO_MISC_WAIT() invocation.
5236
2cae4995
AS
52372011-08-23 Andreas Schwab <schwab@redhat.com>
5238
5239 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5240 backslash.
5241
873a772e
AJ
52422011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5243
5244 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5245 protection macro.
5246 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5247 and <dl-machine.h>.
5248 (Elf64_FuncDesc): Remove.
5249
25ad0df1
DM
52502011-08-22 David S. Miller <davem@davemloft.net>
5251
5252 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5253 sigaltstack check, add missing cfi directives.
5254 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5255 missing cfi directives, and sigaltstack handling.
5256
e888bcbe
AS
52572011-08-16 Andreas Schwab <schwab@redhat.com>
5258
5259 [BZ #11724]
5260 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5261 object is seen twice.
5262 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5263
5264 * elf/Makefile (distribute): Add tst-initorder2.c.
5265 (tests): Add tst-initorder2.
5266 (modules-names): Add tst-initorder2a tst-initorder2b
5267 tst-initorder2c tst-initorder2d. Add rules to build them.
5268 ($(objpfx)tst-initorder2.out): New rule.
5269 * elf/tst-initorder2.c: New file.
5270 * elf/tst-initorder2.exp: New file.
5271
87162f46
AS
52722011-08-22 Andreas Schwab <schwab@redhat.com>
5273
70538b7f
AS
5274 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5275
f55ffe58
AS
5276 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5277 dependencies back to end of function.
5278
87162f46
AS
5279 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5280 $(elfobjdir)/ld.so.
5281
91b392a4
UD
52822011-08-21 Ulrich Drepper <drepper@gmail.com>
5283
5284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5285 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5286 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5287 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5288 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5289 of __vdso_gettimeofday.
5290 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5291 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5292 attribute_hidden.
5293 (_libc_vdso_platform_setup): Remove initialization of
5294 __vdso_gettimeofday and __vdso_time.
5295
5c43483f
UD
52962011-08-20 Ulrich Drepper <drepper@gmail.com>
5297
775a77e7
UD
5298 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5299 and fgetc_unlocked.
5300 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5301 getc_unlocked.
89f447ed 5302
49c74ba9
UD
5303 * elf/dl-open.c (add_to_global): Report additions to the global scope
5304 for LD_DEBUG=scopes.
5305 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5306 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5307
5c43483f
UD
5308 [BZ #13114]
5309 * stdio-common/Makefile (tests): Add bug24.
5310 * stdio-common/bug24.c: New file.
5311
a101b025
AJ
53122011-08-19 Andreas Jaeger <aj@suse.de>
5313
5314 [BZ #13114]
5315 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5316 non-existant file when using close-on-exec mode.
5317
c88f1766
UD
53182011-08-20 Ulrich Drepper <drepper@gmail.com>
5319
0276a718
UD
5320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5321 the very first instruction.
5322
c88f1766
UD
5323 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5324 the CFI state in the end.
5325 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5326 inclusion of dl-trampoline.h.
5327 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5328
51ccffa0
AS
53292011-08-19 Andreas Schwab <schwab@redhat.com>
5330
94d7165f
AS
5331 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5332 expectations for long double.
5333
51ccffa0
AS
5334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5335 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5336
fd708658 53372011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5338
5339 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5340 artificual limit depends upon the system page size.
5341
44f0a71e
UD
53422011-08-17 Ulrich Drepper <drepper@gmail.com>
5343
5344 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5345 * resolv/Makefile: Define CFLAGS-libresolv.
5346
8de79a24
AS
53472011-08-17 Andreas Schwab <schwab@redhat.com>
5348
5349 * nss/makedb.c (compute_tables): Make variables used in nested
5350 function static.
5351
27724598
UD
53522011-08-17 Ulrich Drepper <drepper@gmail.com>
5353
c5305d88
UD
5354 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5355 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5356 if buffer was too small.
5357
27724598
UD
5358 * elf/pldd.c (main): Attach to all threads in the process.
5359 Rewrite /proc handling to use *at functions.
5360
076fe015
UD
53612011-08-16 Ulrich Drepper <drepper@gmail.com>
5362
174baab3
UD
5363 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5364 specifies first scope to show.
5365 (dl_open_worker): Update callers. Move printing scope of new
5366 object to before the relocation.
44f0a71e 5367 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5368 * sysdeps/generic/ldsodefs.h: Update declaration.
5369
076fe015
UD
5370 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5371 string for the scope number.
5372
a60df2c3
UD
53732011-08-14 Ulrich Drepper <drepper@gmail.com>
5374
5375 * nscd/servicescache.c (cache_addserv): Make sure written is always
5376 initialized.
5377
5e4287d1
RM
53782011-08-14 Roland McGrath <roland@hack.frob.com>
5379
85ae0589
RM
5380 * sysdeps/i386/i486/bits/atomic.h
5381 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5382 statement expression, so as to suppress "set but not used" warning.
5383 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5384
69f63097
RM
5385 * string/strncat.c (STRNCAT): Use prototype definition.
5386
675456ef
RM
5387 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5388 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5389 -Iprograms here.
5390 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5391 (localedef-modules): Add localedef.
5392 (locale-modules): Add locale.
5393
5e4287d1
RM
5394 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5395 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5396 to avoid a warning.
5397
9c96ff23
DM
53982011-08-14 David S. Miller <davem@davemloft.net>
5399
5400 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5401 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5402
f9ddf089
UD
54032011-08-13 Ulrich Drepper <drepper@gmail.com>
5404
44f0a71e 5405 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5406 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5407 * elf/rtld.c (dl_main): Set l_name of vDSO.
5408 Call _dl_show_scope when DL_DEBUG_SCOPES.
5409 (process_dl_debug): Recognize scopes flag and also set it for all.
5410 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5411 Declare _dl_show_scope.
5412
1dc27704
UD
5413 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5414 (do_dlopen): Pass caller_dlopen to dl_open.
5415 (__libc_dlopen_mode): Initialize caller_dlopen.
5416
f9ddf089
UD
5417 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5418 of libc. Make tolower call locale-independent. Optimize a bit by
5419 using isdigit instead of isalnum.
5420 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5421
9ac533d3
UD
54222011-08-12 Ulrich Drepper <drepper@gmail.com>
5423
5424 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5425 was a dependency or dynamically loaded.
5426
89edf2e9
UD
54272011-08-11 Ulrich Drepper <drepper@gmail.com>
5428
8e999d29
UD
5429 * intl/l10nflist.c: Allow architecture-specific pop function.
5430 * sysdeps/x86_64/l10nflist.c: New file.
5431
89edf2e9
UD
5432 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5433 classification.
5434
14d96785
AS
54352011-08-10 Andreas Schwab <schwab@redhat.com>
5436
5437 * include/dirent.h: Add libc_hidden_proto for scandirat and
5438 scandirat64. Don't declare __scandirat64.
5439 * dirent/scandirat.c: Add libc_hidden_def.
5440 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5441 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5442
6761ac04
DM
54432011-08-10 David S. Miller <davem@davemloft.net>
5444
5445 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5446 enum.
5447 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5448 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5449 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5450
c55fbd1e
UD
54512011-08-09 Ulrich Drepper <drepper@gmail.com>
5452
5453 * Versions.def [libc]: Add GLIBC_2.15.
5454 * dirent/Makefile (routines): Add scandirat and scandirat64.
5455 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5456 GLIBC_2.15.
5457 * dirent/dirent.h: Declare scandirat and scandirat64.
5458 * dirent/scandirat.c: New file.
5459 * dirent/scandirat64.c: New file.
5460 * sysdeps/wordsize-64/scandirat.c: New file.
5461 * sysdeps/wordsize-64/scandirat64.c: New file.
5462 * dirent/opendir.c: Define opendirat.
5463 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5464 using scandirat.
5465 * dirent/scandir64.c: Adjust for scandir.c change.
5466 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5467 __scandirat64, and __scandir_cancel_handler.
5468 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5469 additional parameter and use openat instead of open (outside of ld.so).
5470 Add new __opendir as wrapper around __opendirat.
5471 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5472 here without requiring old scandirat implementation.
5473
879165f2
UD
54742011-08-08 Ulrich Drepper <drepper@gmail.com>
5475
5476 * dirent/scandir.c (cancel_handler): Renamed to
5477 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5478 defined. Adjust users.
5479 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5480 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5481
cb7e923b
UD
54822011-08-04 Ulrich Drepper <drepper@gmail.com>
5483
16292edd
UD
5484 * string/test-string.h (IMPL): Use __STRING to expand name and then
5485 stringify it.
5486
cb7e923b
UD
5487 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5488 of cleanups.
5489
cff82933
LD
54902011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5491
5492 * string/Makefile: Update.
5493 (strop-tests): Append strncat.
5494 * string/test-wcscmp.c: New file.
5495 New comprehensive test for wcscmp.
5496 * string/test-strcmp.c: Update.
5497 (WIDE): New define.
5498
9be9bfcc
AS
54992011-07-22 Andreas Schwab <schwab@redhat.com>
5500
5501 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5502 line.
5503
2e96f1c7
AS
55042011-07-26 Andreas Schwab <schwab@redhat.com>
5505
5506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5507 encoding to ACE if AI_IDN.
5508
85188888
JJ
55092011-08-01 Jakub Jelinek <jakub@redhat.com>
5510
5511 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5512 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5513
5fa16e9b
LD
55142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5515
5516 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5517 Fix overflow bug in strncat.
5518 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5519
5520 * string/test-strncat.c: Update.
5521 Add new tests for checking overflow bugs.
5522
55232011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5524
5525 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5526 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5527 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5528 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5529 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5530 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5531 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5532 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5533 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5534
5535 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5536 (USE_AS_STRCAT): Define.
5537 Add strcat and strncat support.
5538 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5539
8c1a459f
AS
55402011-07-25 Andreas Schwab <schwab@redhat.com>
5541
5542 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5543 __n bigger than INT_MAX+1.
5544 (__strncmp_g): Likewise.
5545
bba33c28
UD
55462011-07-23 Ulrich Drepper <drepper@gmail.com>
5547
798be72d
UD
5548 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5549 * libio/stido.h: Likewise.
5550
8accd4dc
UD
5551 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5552 (AF_NFC): Define.
5553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5554 (AF_NFC): Define.
5555
cbff0d96
UD
5556 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5557 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5558 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5559 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5560 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5561
9191c04a
UD
5562 [BZ #13021]
5563 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5564 installed.
5565
bba33c28
UD
5566 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5567 typo.
5568 (_dl_x86_64_save_sse): Likewise.
5569
90f139dd
UD
55702011-07-22 Ulrich Drepper <drepper@gmail.com>
5571
1aae088a
UD
5572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5573 OSXSAVE.
5574 (_dl_x86_64_save_sse): Likewise.
5575
8e2045f5
UD
5576 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5577
90f139dd
UD
5578 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5579
1d002f25
AS
55802011-07-21 Andreas Schwab <schwab@redhat.com>
5581
5582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5583 change.
5584 (_dl_x86_64_save_sse): Use correct AVX check.
5585
21137f89
UD
55862011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5587
5588 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5589 bug in strncpy/strncat.
5590 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5591
a65c0b7a
UD
55922011-07-21 Ulrich Drepper <drepper@gmail.com>
5593
5594 * string/tester.c (test_strcat): Add tests for different alignments
5595 of source and destination.
5596 (test_strncat): Likewise.
5597
6986b98a
UD
55982011-07-20 Ulrich Drepper <drepper@gmail.com>
5599
90bb2039
UD
5600 [BZ #12852]
5601 * posix/glob.c (glob): Check passed in values before using them in
5602 expressions to avoid some overflows.
5603 (glob_in_dir): Likewise.
5604
5644ef54
UD
5605 [BZ #13007]
5606 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5607 check for AVX enablement so that we don't crash with old kernels and
5608 new hardware.
5609 * elf/tst-audit4.c: Add same checks here.
5610 * elf/tst-audit6.c: Likewise.
5611
5612 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 5613
bfc9dc9b
AS
56142011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5615
5616 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5617
702e64bb
UD
56182011-07-20 Ulrich Drepper <drepper@gmail.com>
5619
5620 * po/cs.po: Update from translation team.
5621 * po/bg.po: Likewise.
5622
295e904f
MP
56232011-07-12 Marek Polacek <mpolacek@redhat.com>
5624
5625 * misc/sys/cdefs.h: Add support for const attribute.
5626 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5627 to gnu_dev_{major,minor,makedev} functions.
5628
3ff94596
MP
56292011-07-20 Marek Polacek <mpolacek@redhat.com>
5630
5631 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5632
28b59fca
AS
56332011-07-20 Andreas Schwab <schwab@redhat.com>
5634
5635 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5636 strlen results.
5637
19df733e
AK
56382011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5639
5640 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5641 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5642 register in order to avoid conflicts with the soft frame pointer
5643 being held in r11 when necessary.
5644 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5645 (INTERNAL_VSYSCALL_NCS): Likewise.
5646
c8835729
MP
56472011-07-14 Marek Polacek <mpolacek@redhat.com>
5648
5649 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5650 * elf/dl-fini.c (_dl_fini): Adjust caller.
5651 * elf/dl-close.c (_dl_close_worker): Likewise.
5652 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5653
b902330c
MP
56542011-07-15 Marek Polacek <mpolacek@redhat.com>
5655
8991e135
MP
5656 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5657 "aux_cache->nlibs < 0".
5658
b902330c
MP
5659 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5660 in the reload-count case.
5661
99710781
LD
56622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5663
5664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5665 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5666 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5667 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5668 * sysdeps/x86_64/multiarch/strcat.S: New file.
5669 * sysdeps/x86_64/multiarch/strncat.S: New file.
5670 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5671 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5672 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5673 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5674 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5675 (USE_AS_STRCAT): Define.
5676 Add strcat and strncat support.
5677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5678 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5679 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5680 * string/strncat.c: Update.
5681 (USE_AS_STRNCAT): Define.
5682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5683 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5684 and i7.
5685 * sysdeps/x86_64/multiarch/init-arch.h
5686 (bit_Prefer_PMINUB_for_stringop): New.
5687 (index_Prefer_PMINUB_for_stringop): Likewise.
5688 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5689 bit_Prefer_PMINUB_for_stringop.
5690
7dc6bd90
UD
56912011-07-19 Ulrich Drepper <drepper@gmail.com>
5692
5693 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5694 buffer64.
5695 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5696 of casting of buffer.
5697 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5698 buffer32 and buffer64.
5699 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5700 writes instead of casting of buffer.
5701 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5702 buffer32.
5703 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5704 casting of buffer.
5705
e0e72284
AS
57062011-07-19 Andreas Schwab <schwab@redhat.com>
5707
5708 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5709
feb1eb0b
UD
57102011-07-19 Ulrich Drepper <drepper@gmail.com>
5711
5712 * nscd/nscd.c (termination_handler): Don't do anything for a database
5713 if it has not yet been initialized.
5714
298711ff
UD
57152011-07-18 Ulrich Drepper <drepper@gmail.com>
5716
5717 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5718
57192011-07-15 Marek Polacek <mpolacek@redhat.com>
5720
5721 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5722
f9d68389
UD
57232011-07-18 Ulrich Drepper <drepper@gmail.com>
5724
5725 * po/nl.po: Update from translation team.
5726 * po/sv.po: Likewise.
5727
db290cf5
RM
57282011-07-16 Roland McGrath <roland@hack.frob.com>
5729
5730 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5731 now disallowed by GCC.
5c550700 5732
fd5e21c7
RM
5733 * configure.in (use-default-link): Default to yes if a test -shared
5734 link meets our qualifications.
5735 * configure: Regenerated.
5736
5c550700
RM
5737 * config.make.in (output-format): New variable.
5738 * configure.in: Check for ld --print-output-format support.
5739 * configure: Regenerated.
5740 * Makerules ($(common-objpfx)format.lds)
5741 [$(output-format) != unknown]: Just use $(output-format),
5742 instead of the linker-script munging.
5743
9fa2c032
RM
57442011-07-14 Roland McGrath <roland@hack.frob.com>
5745
a6928d51
RM
5746 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5747 of $(common-objpfx)shlib.lds.
5748 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5749
661607b3
RM
5750 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5751 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5752
9fa2c032
RM
5753 * configure.in (-z relro check): Adjust test code to add a large
5754 writable data section after it.
5755 * configure: Regenerated.
5756
defe9061
RM
57572011-07-11 Roland McGrath <roland@hack.frob.com>
5758
5759 * configure.in (-z relro check): Fix test code to make the variable
5760 truly const.
5761 * configure: Regenerated.
5762
319b9ad4
UD
57632011-07-11 Ulrich Drepper <drepper@gmail.com>
5764
5765 * nscd/nscd.h (struct traced_file): Define.
5766 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5767 elements. Add traced_files.
5768 (inotify_fd): Declare.
5769 (register_traced_file): Declare.
5770 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5771 (inotify_fd): Export.
5772 (resolv_conf_descr): Remove.
5773 (nscd_init): Move inotify descriptor creation to main.
5774 Don't register files for notification here.
5775 (register_traced_file): New function.
5776 (invalidate_cache): Don't use reset_res to determine whether to call
5777 res_init, go through the list of registered files.
5778 (main_loop_poll): The inotify descriptors are now stored in the
5779 structures for the traced files.
5780 (main_loop_epoll): Likewise
5781 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5782 to __nss_disable_nscd.
5783 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5784 for a database anymore. Check the records for all the registered
5785 files instead.
5786 * nss/Makefile (libnss_files-routines): Add files-init.
5787 (libnss_db-routines): Add db-init.
5788 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5789 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5790 * nss/nss_db/db-init.c: New file.
5791 * nss/nss_files/files-init.c: New file.
5792 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5793 __nss_lookup_function.
5794 (__nss_lookup_function): Call nss_load_library.
5795 (nss_load_all_libraries): New function.
5796 (__nss_disable_nscd): Take parameter with callback function for files
5797 to register. Set is_nscd. Load all the DSOs for the NSS modules
5798 used for the cached services.
5799 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5800 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5801 options for features to all the files in nscd.
5802
5803 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5804
23bee3e8
RM
58052011-07-10 Roland McGrath <roland@hack.frob.com>
5806
5807 * csu/elf-init.c (__libc_csu_init): Comment typo.
5808
46a5b7f0
UD
58092011-07-09 Ulrich Drepper <drepper@gmail.com>
5810
5811 * po/pl.po: Update from translation team.
5812 * po/ja.po: Likewise.
5813 * po/ru.po: Likewise.
5814 * po/ko.po: Likewise.
5815 * po/fr.po: Likewise.
5816
d30cf5bb
RM
58172011-07-09 Roland McGrath <roland@hack.frob.com>
5818
113ddea4
RM
5819 * configure.in (.ctors/.dtors header and trailer check):
5820 Use an empirical test on a built program.
5821 * configure: Regenerated.
5822
574920b4
RM
5823 * configure.in (-z relro check): Use an empirical test on a built DSO.
5824 Detect, but do not require, on ia64.
5825 * configure: Regenerated.
5826
d30cf5bb
RM
5827 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5828 Update tests that use readelf to use $READELF instead.
5829 * configure: Regenerated.
5830
8538fdb3
UD
58312011-07-08 Ulrich Drepper <drepper@gmail.com>
5832
5833 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5834 if the result is not used.
5835
04d08991
AJ
58362011-07-05 Andreas Jaeger <aj@suse.de>
5837
5838 [BZ#9696]
5839 * stdlib/tst-strtod.c: Add testcase.
5840
de283087
AD
58412011-07-07 Ulrich Drepper <drepper@gmail.com>
5842
4e5f31c8 5843 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 5844 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
5845 The latter has a higher limit. Take additional parameter to pass to
5846 the new function.
5847 (__pathconf): Pass file to __statfs_link_max.
5848 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5849 __statfs_link_max.
5850 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5851 __statfs_link_max.
5852
de283087
AD
5853 [BZ #12868]
5854 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5855 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5856 Handle Lustre.
5857 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5858 (__statfs_filesize_max): Likewise.
5859 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5860
c75fa153
AJ
58612011-07-05 Andreas Jaeger <aj@suse.de>
5862
5863 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5864
1a544854
UD
58652011-07-06 Marek Polacek <mpolacek@redhat.com>
5866
5867 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5868 `status' variable.
5869 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5870 Likewise.
5871
6f0eec67
UD
58722011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5873
5874 * Makefile (strop-tests): Add strncat.
5875 * string/test-strncat.c: New file.
5876
aae30307
UD
58772011-06-30 Marek Polacek <mpolacek@redhat.com>
5878
5879 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5880
c0cfb5eb
UD
58812011-06-21 Andreas Jaeger <aj@suse.de>
5882
5883 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5884 Copy rule from iconvdata/Makefile.
5885
01636b21
UD
58862011-07-06 Ulrich Drepper <drepper@gmail.com>
5887
5888 [BZ #12922]
5889 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5890 but no long options are defined, just return 'W'.
5891
9895c8bc
UD
58922011-06-22 Marek Polacek <mpolacek@redhat.com>
5893
5894 [BZ #9696]
5895 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5896
5d4cf042
UD
58972011-07-06 Ulrich Drepper <drepper@gmail.com>
5898
5899 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5900 netgroups to read.
960e5535 5901 (innetgr): Likewise.
5d4cf042 5902
751eb97e
RM
59032011-07-05 Roland McGrath <roland@hack.frob.com>
5904
5905 * config.make.in (install_root): Default to $(DESTDIR).
5906
f15f1e45
UD
59072011-07-05 Ulrich Drepper <drepper@gmail.com>
5908
5909 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5910
4e34ac6a
RM
59112011-07-02 Roland McGrath <roland@hack.frob.com>
5912
5e9b6af4
RM
5913 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5914
84f9ea0f
RM
5915 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5916 containing directory rather than embedding absolute directory names.
5917
ea5ee9f7
RM
5918 * scripts/check-local-headers.sh: Rewritten using awk.
5919 Match by word, not by line. Print error messages for matches.
5920 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5921
1b74661a
RM
5922 * Makerules [shlib-lds-flags empty]:
5923 ($(common-objpfx)libc_pic.opts): New target.
5924 ($(common-objpfx)libc_pic.os.clean): New target.
5925 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5926
5927 * config.make.in (OBJCOPY): New variable.
5928 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5929 * configure: Regenerated.
5930
f781ef40
RM
5931 * config.make.in (use-default-link): New variable.
5932 * configure.in (use_default_link): Grok --with-default-link to set it.
5933 * configure: Regenerated.
5934 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5935 (shlib-lds, shlib-lds-flags): Define to empty.
5936
2d4fa81e
RM
5937 * Makerules (shlib-lds): New variable.
5938 (shlib-lds-flags): New variable.
5939 (build-shlib, build-moduile, build-module-asneeded): Use it.
5940 ($(common-objpfx)libc.so): Use $(shlib-lds).
5941 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5942 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5943
31fffa6b
RM
5944 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5945 DT_FLAGS/DT_FLAGS_1 with zero flags.
5946
4e34ac6a
RM
5947 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5948 linker script munging.
5949
fcfc776b
UD
59502011-07-02 Ulrich Drepper <drepper@gmail.com>
5951
5952 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5953 as 128-bit value.
5954 * crypt/sha512.c (sha512_process_block): Perform total addition using
5955 128-bit if possible.
5956 (__sha512_finish_ctx): Likewise.
5957 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5958 as 64-bit value.
5959 * crypt/sha256.c (SWAP64): Define.
5960 (sha256_process_block): Perform total addition using 64-bit if
5961 possible.
5962 (__sha256_finish_ctx): Likewise.
5963
99231d9a
UD
59642011-07-01 Ulrich Drepper <drepper@gmail.com>
5965
5966 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5967 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5968 * nscd/hstcache.c (cache_addhst): Likewise.
5969 * nscd/grpcache.c (cache_addgr): Likewise.
5970 * nscd/aicache.c (addhstaiX): Likewise
5971 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5972
445b4a53
TK
59732011-07-01 Thorsten Kukuk <kukuk@suse.de>
5974
5975 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5976 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5977 * nscd/hstcache.c (cache_addhst): Likewise.
5978 * nscd/grpcache.c (cache_addgr): Likewise.
5979 * nscd/aicache.c (addhstaiX): Likewise
5980
6d4d8e8e
AS
59812011-07-01 Andreas Schwab <schwab@redhat.com>
5982
5983 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5984 domain only when needed.
5985
89f654c5
AS
59862011-06-30 Andreas Schwab <schwab@redhat.com>
5987
5988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5989 is always restored.
5990
cf3b23ff
UD
59912011-06-29 Ulrich Drepper <drepper@gmail.com>
5992
5993 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5994 are re-adding the entry.
5995 * nscd/servicescache.c (cache_addserv): Likewise.
5996
751626f9
AJ
59972011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5998
5999 * sysdeps/generic/dl-irel.h: fix protection against multiple
6000 inclusions.
6001 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6002
9113ea1f
UD
60032011-06-28 Ulrich Drepper <drepper@gmail.com>
6004
5c0b8d90
UD
6005 [BZ #12935]
6006 * malloc/memusage.sh: Fix quoting in message.
6007 * debug/xtrace.sh: Likewise.
6008
9113ea1f
UD
6009 * configure.in: Remove support for --experimental-malloc option, make
6010 it the default.
6011 * config.make.in: Likewise.
6012 * malloc/Makefile: Likewise.
6013
a4172181
AS
60142011-06-27 Andreas Schwab <schwab@redhat.com>
6015
6016 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6017 two-byte characters.
6018
78a7eee7
RM
60192011-06-27 Roland McGrath <roland@hack.frob.com>
6020
62bede13
RM
6021 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6022 AC_CACHE_CHECK invocation.
6023 * configure: Regenerated.
6024
78a7eee7
RM
6025 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6026
5ce33a62
UD
60272011-06-27 Ulrich Drepper <drepper@gmail.com>
6028
034807a9
UD
6029 [BZ #12350]
6030 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6031 bit from old_res_options.
6032
4902da17
UD
6033 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6034
5ce33a62
UD
6035 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6036 value type for setfct.
6037
c2344f56
L
60382011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6039
6040 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6041 __gettimeofday instead of gettimeofday.
6042
68468076
UD
60432011-06-26 Ulrich Drepper <drepper@gmail.com>
6044
6045 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6046
acb0d739
L
60472011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6048
6049 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6050
6051 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6052 info.
6053
8912479f
L
60542011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6055
6056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6057 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6058 strcpy-sse2-unaligned strncpy-sse2-unaligned
6059 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6060 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6061 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6062 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6063 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6064 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6065 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6066 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6067 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6068 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6069 (STRCPY): Support SSE2 and SSSE3 versions.
6070
d5495a11
UD
60712011-06-24 Ulrich Drepper <drepper@gmail.com>
6072
6073 [BZ #12874]
6074 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6075 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6076 kernels which artificially limit size of requests.
6077
0b1cbaae
L
60782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6079
6080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6081 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6082 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6083 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6084 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6085 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6086 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6087 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6088 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6089 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6090 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6091 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6092 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6093 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6094 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6096 Enable unaligned load optimization for Intel Core i3, i5 and i7
6097 processors.
6098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6099 Define.
6100 (index_Fast_Unaligned_Load): Define.
6101 (HAS_FAST_UNALIGNED_LOAD): Define.
6102
07f494a0
MP
61032011-06-23 Marek Polacek <mpolacek@redhat.com>
6104
6105 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6106
fa3fc0fe
UD
61072011-06-22 Ulrich Drepper <drepper@gmail.com>
6108
6109 [BZ #12907]
6110 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6111 until it is clear that the information is realy needed.
6112 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6113
e12df166
AS
61142011-06-22 Andreas Schwab <schwab@redhat.com>
6115
6116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6117
852eb34d
UD
61182011-06-22 Ulrich Drepper <drepper@gmail.com>
6119
84e2a551
UD
6120 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6121 /sys/devices/system/cpu/online if it is usable.
6122
852eb34d
UD
6123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6124 reading the information from the /proc filesystem to once a second.
6125
6e502e19
UD
61262011-06-21 Andreas Jaeger <aj@suse.de>
6127
6128 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6129 NULL after inclusion of kernel headers.
6130
75d39ff2
UD
61312011-06-21 Ulrich Drepper <drepper@gmail.com>
6132
51f9aa6a
UD
6133 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6134 calls to internal_setent.
6135
c0244a9d
UD
6136 [BZ #12885]
6137 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6138 addresses using gethostbyname4_r ignore IPv4 addresses.
6139
c5e3c2ae
UD
6140 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6141 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6142
75d39ff2
UD
6143 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6144
42675c6f
DM
61452011-06-20 David S. Miller <davem@davemloft.net>
6146
6147 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6148 inclusions.
6149 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6150
6151 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6152 (elf_irel): Use it.
6153 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6154 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6155 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6156 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6157 * sysdeps/x86_64/dl-irel.h: Likewise.
6158
6159 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6160 * elf/dl-sym.c: Likewise.
6161
57912a71
UD
61622011-06-15 Ulrich Drepper <drepper@gmail.com>
6163
6164 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6165 need to dereference resplen2.
6166
ee22793d
AS
61672011-06-14 Andreas Schwab <schwab@redhat.com>
6168
6169 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6170
a9e836b0
UD
61712011-06-15 Ulrich Drepper <drepper@gmail.com>
6172
77fb9117
UD
6173 * Makeconfig: Define vardbdir and inst_vardbdir.
6174 * nss/Makefile: Add rules to install db-Makefile.
6175
40c1b22c
UD
6176 * nss/nss_db/db-XXX.c: Cleanup.
6177
9f2da732
UD
6178 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6179 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6180 GLIBC_PRIVATE.
6181 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6182 * nss/makedb.c: Implement -g option to specify that value strings
6183 are generated and should not be added to table iterated over for
6184 get*ent calls.
6185 * nss/nss_db/db-initgroups.c: New file.
6186
82e9a1f7
UD
6187 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6188 interface.
6189
c41af17e
UD
6190 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6191 (internal_getgrouplist): Adjust to name change.
6192 Update use_initgroups_entry if this is not the first call.
6193 * nss/databases.def: Add initgroups entry.
6194
a9e836b0
UD
6195 * nss/makedb.c (compute_tables): Check result of multiple hash table
6196 sizes to minimize maximum chain length.
6197
2666d441
UD
61982011-06-14 Ulrich Drepper <drepper@gmail.com>
6199
6200 * Versions.def: Add entry for libnss_db.
6201 * shlib-versions: Likewise.
6202 * nss/Makefile: Add rules to build libnss_db.
6203 * nss/Versions: Add libnss_db information. Organize libnss_files
6204 entries better.
6205 * nss/db-Makefile: Add gshadow support. Change rules for the new
6206 makedb progra. Some minor improvements to generate smaller files.
6207 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6208 here from...
6209 * nss/makedb.c: ...here.
6210 Improve database format to be smaller and require less memory at
6211 runtime.
6212 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6213 db anymore.
6214 * nss/nss_db/db-netgrp.c: Likewise.
6215 * nss/nss_db/db-open.c: Likewise.
6216 * nss/nss_files/flies-XXX.x: Adjust comments.
6217 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6218 * nss/nss_files/files-grp.c: Likewise.
6219 * nss/nss_files/files-hosts.c: Likewise.
6220 * nss/nss_files/files-network.c: Likewise.
6221 * nss/nss_files/files-proto.c: Likewise.
6222 * nss/nss_files/files-pwd.c: Likewise.
6223 * nss/nss_files/files-rpc.c: Likewise.
6224 * nss/nss_files/files-service.c: Likewise.
6225 * nss/nss_files/files-sgrp.c: Likewise.
6226 * nss/nss_files/files-spwd.c: Likewise.
6227 * nss/nss_db/db-alias.c: Removed.
6228 * nss/nss_db/dummy-db.h: Removed.
6229
9ee76b5a
UD
62302011-06-02 Ulrich Drepper <drepper@gmail.com>
6231
6232 * nss/makedb.c: Rewritten to not use database library.
6233 * nss/Makefile: Update to build new makedb program.
6234
c71ca1f8
AJ
62352011-06-14 Andreas Jaeger <aj@suse.de>
6236
6237 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6238 memset declaration.
6239
3154bfb8
UD
62402011-06-10 Andreas Schwab <schwab@redhat.com>
6241
6242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6243 tmpbuf.
6244
b350afab
RM
62452011-06-10 Roland McGrath <roland@hack.frob.com>
6246
decd4e50
RM
6247 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6248 * elf/Makefile ($(objpfx)ld.so): Likewise.
6249
5615eaf2
RM
6250 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6251 Don't list ld.so twice in dependencies.
6252
6253 * posix/bug-regex31.c: Include <stdlib.h>.
6254
6255 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6256
6257 * nis/nss_compat/compat-spwd.c
6258 (getspent_next_nss_netgr): Remove unused variable.
6259 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6260
6261 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6262 nonmembers" output to use the right array.
6263
6264 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6265
6266 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6267
6268 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6269 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6270 * catgets/gencat.c (read_input_file): Likewise.
6271 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6272
6273 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6274 variable definition inside #if's controlling its use.
6275
6276 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6277
6278 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6279
6280 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6281
6282 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6283 unreachable code.
6284
6285 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6286
b68e08db
RM
6287 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6288 * configure: Regenerated.
6289
b350afab
RM
6290 * Makerules: Revert last change.
6291 * elf/Makefile: Likewise.
6292
28368601
RM
62932011-06-09 Roland McGrath <roland@hack.frob.com>
6294
6295 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6296 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6297 (reloc-link): Likewise.
6298
11988f8f
UD
62992011-06-09 Ulrich Drepper <drepper@gmail.com>
6300
6301 * elf/Makefile: Add rules to build pldd.
6302 * elf/pldd.c: New file.
6303 * elf/pldd-xx.c: New file.
6304
e80fab37
UD
63052011-06-07 Ulrich Drepper <drepper@gmail.com>
6306
6307 * version.h: Update for 2.15 development version.
6308
9b849836
DM
63092011-06-07 David S. Miller <davem@davemloft.net>
6310
6311 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6312 ifuncs.
6313 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6314 elf_machine_lazy_rel): Likewise.
6315 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6316 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6317 elf_machine_lazy_rel): Likewise.
6318 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6319 dl_hwcap via passed in argument.
6320 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6321 Likewise.
6322
5a31b283
AK
63232011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6324
6325 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6326
069e52f8
RM
63272011-06-06 Roland McGrath <roland@hack.frob.com>
6328
6329 [BZ #12849]
6330 * manual/fdl-1.1.texi: New file, verbatim from:
6331 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6332 * manual/lgpl-2.1.texi: New file, verbatim from:
6333 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6334 * manual/Makefile (licenses): New variable, list those new file names.
6335 (texis): Use it.
6336 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6337
6338 * manual/fdl.texi: File removed.
6339 * manual/lesser.texi: File removed.
6340 * manual/libc.texinfo (Copying, Documentation License):
6341 Use new @include file names, put @appendix directive before @include.
6342
f16846a5
JJ
63432011-06-04 Jakub Jelinek <jakub@redhat.com>
6344
6345 [BZ #12841]
6346 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6347 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6348 (mq_open): Add __NTH.
6349
3d29045b
L
63502011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6351
6352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6353 Assume Intel Core i3/i5/i7 processor if AVX is available.
6354
8c297311
UD
63552011-05-31 Ulrich Drepper <drepper@gmail.com>
6356
6357 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6358 typo.
6359
c8fc0c91
UD
63602011-05-31 Andreas Schwab <schwab@redhat.com>
6361
6362 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6363 memory. Use alloca_account. Fix memory leak when retrying.
6364
5b27a807
UD
63652011-05-31 Ulrich Drepper <drepper@gmail.com>
6366
356f8bc6
UD
6367 * version.h (RELEASE): Bump for 2.14 release.
6368 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6369
5b27a807
UD
6370 * config.make.in (RANLIB): Remove entry.
6371
01f16ab0
UD
63722011-05-30 Ulrich Drepper <drepper@gmail.com>
6373
41fce8bd
UD
6374 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6375 (libc.pot): Work around missing support for .ksh extension in xgettext.
6376
4769ae77
UD
6377 [BZ #12684]
6378 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6379 if both request failed.
6380 (send_dg): In case of server errors clear resplen or *resplen2.
6381
6b1e7d19
UD
6382 [BZ #12454]
6383 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6384 when there are multiple maps.
6385 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6386 (_dl_fini): Remove test here.
6387
01f16ab0
UD
6388 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6389
b1ebd700
UD
63902011-05-29 Ulrich Drepper <drepper@gmail.com>
6391
7ae22829
UD
6392 [BZ #12350]
6393 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6394 bit from old_res_options.
6395 (gaih_inet): Likewise.
6396
553149f6 6397 [BZ #11099]
18a84741 6398 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6399 as signed.
6400
652ffab1
UD
6401 * resolv/res_init.c (res_setoptions): Make the code more compact.
6402
16985fd0
UD
6403 [BZ #11558]
6404 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6405 set RES_USEVC.
6406
0464f746
UD
6407 [BZ #11634]
6408 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6409
7d17596c
UD
6410 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6411
cf6bbbd7
UD
6412 [BZ #11781]
6413 * malloc/malloc.h: Declare malloc hook variables as volatile.
6414
13f1ab36
UD
6415 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6416 in last patch.
6417
b1ebd700
UD
6418 [BZ #11799]
6419 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6420 raise in the comment.
80e2212d
UD
6421 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6422 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6423 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 6424
ce67228d
UD
64252011-05-28 Ulrich Drepper <drepper@gmail.com>
6426
8887a920
UD
6427 [BZ #12811]
6428 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6429 grow the buffers more if it already has to be sufficient.
6430 (build_wcs_upper_buffer): Likewise.
6431 * posix/regexec.c (check_matching): Likewise.
6432 (clean_state_log_if_needed): Likewise.
6433 (extend_buffers): Don't enlarge buffers beyond size of the input
6434 buffer.
6435 Patches mostly by Emil Wojak <emil@wojak.eu>.
6436 * posix/bug-regex32.c: New file.
6437 * posix/Makefile (tests): Add bug-regex32.
6438
4f031072
UD
6439 * locale/findlocale.c (_nl_find_locale): Return right away if
6440 _nl_explode_name failed.
6441 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6442
d0478f0c
UD
6443 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6444
de81b246
UD
6445 * debug/xtrace.sh: Unify messages.
6446 * malloc/memusage.sh: Likewise.
6447
c738465a
UD
6448 [BZ #12813]
6449 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6450 time symbol from vDSO. Substitute with vsyscall if not available.
6451 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6452 __vdso_time.
6453
f1f929d7
UD
6454 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6455 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6456 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6457 Add sendmmsg and internal_sendmmsg.
6458 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6459 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6460 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6461
ce67228d
UD
6462 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6463 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6464 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6465
e57420c6
UD
64662011-05-27 Ulrich Drepper <drepper@gmail.com>
6467
a8509ca5
UD
6468 [BZ #12813]
6469 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6470 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6471 available.
6472 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6473 __vdso_getcpu.
6474
e57420c6
UD
6475 [BZ #12814]
6476 * iconvdata/Makefile (tests): Add bug-iconv9.
6477 * iconvdata/bug-iconv9.c: New file.
6478
4d07db15
AS
64792011-05-27 Andreas Schwab <schwab@redhat.com>
6480
6481 [BZ #12814]
6482 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6483
ea486f69
JJ
64842011-05-25 Jakub Jelinek <jakub@redhat.com>
6485
6486 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6487 (struct user_regs_struct): Change intcs field back to cs.
6488
6f038433
UD
64892011-05-25 Ulrich Drepper <drepper@gmail.com>
6490
6491 * po/ja.po: Update from translation team.
6492
67f86a25
UD
64932011-05-23 Ulrich Drepper <drepper@gmail.com>
6494
6495 [BZ #12795]
6496 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6497 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6498
def7fbd6
AS
64992011-05-20 Andreas Schwab <schwab@redhat.com>
6500
6501 * stdlib/longlong.h: Update from GCC.
6502
f50ef8f1
AS
65032011-05-23 Andreas Schwab <schwab@redhat.com>
6504
6505 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6506 parameter name.
6507 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6508 Add parameter name.
6509 (__sysconf): Pass it down.
6510
de7ce8f1
UD
65112011-05-22 Ulrich Drepper <drepper@gmail.com>
6512
f2962a71
UD
6513 [BZ #12671]
6514 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6515 some situations.
6516 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6517 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6518 add in in __libc_use_alloca calls. Adjust callers.
6519 (glob): Use malloc in some situations.
6520
de7ce8f1
UD
6521 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6522 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6523 pltexit.
6524
aec84f53
UD
65252011-05-21 Ulrich Drepper <drepper@gmail.com>
6526
05bb4a68
UD
6527 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6528 and CLOCK_BOOTTIME_ALARM.
6529
7ea72f99
UD
6530 [BZ #12782]
6531 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6532 is returned.
6533
7e4afad5
UD
6534 * string/_strerror.c (__strerror_r): Print negative errors as signed
6535 numbers.
6536
8e211fec
UD
6537 [BZ #12777]
6538 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6539 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6540 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6541
f7d82dc9
UD
6542 * configure.in: Fix typo in redirection and correct removal of test
6543 files in two cases.
6544
cc9e536d
UD
6545 [BZ #12788]
6546 * locale/setlocale.c (new_composite_name): Fix test to check for
6547 identical name of all categories.
6548
aec84f53
UD
6549 [BZ #12792]
6550 * libio/filedoalloc.c (local_isatty): New function.
6551 (_IO_file_doallocate): Use local_isatty.
6552 * stdio-common/perror.c (perror): In case a new stream is used
6553 forward the stream error.
6554 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6555 error flag.
6556
78e64fdc
RT
65572011-05-20 Ulrich Drepper <drepper@gmail.com>
6558
34a9094f
UD
6559 [BZ #11869]
6560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6561 alloca.
6562 * include/alloca.h (extend_alloca_account): Define.
6563
78e64fdc
RT
6564 [BZ #11857]
6565 * posix/regex.h: Fix comments with documentation of user-accessible
6566 fields after compilation and describe correct free'ing of pattern
6567 after re_compile_pattern.
6568 Patch by Reuben Thomas <rrt@sc3d.org>.
6569
457bddfc
RA
65702011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6571
6572 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6573 and -mno-altivec to prevent the compiler from using Altivec and/or
6574 VSX instructions when the corresponding registers are not available.
6575
a4527b51
AS
65762011-05-19 Andreas Schwab <schwab@redhat.com>
6577
6578 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6579
ed690b2f
UD
65802011-05-19 Ulrich Drepper <drepper@gmail.com>
6581
6582 * libio/freopen.c (freopen): Use __dup2, not dup2.
6583 * libio/freopen64.c (freopen64): Likewise.
6584
8db73634
L
65852011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6586
6587 [BZ #12775]
6588 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6589 * math/Makefile (tests): Add test-powl.
6590 (CFLAGS-test-powl.c): Define.
6591 * math/test-powl.c: New file.
6592
0a197a9d
L
65932011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6594
6595 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6596
ee30c380
UD
65972011-05-17 Ulrich Drepper <drepper@gmail.com>
6598
6599 [BZ #11837]
6600 * iconvdata/gb18030.c: Update to GB18020-2005.
6601
6ce75379
UD
66022011-05-16 Ulrich Drepper <drepper@gmail.com>
6603
a4b89fd8
AR
6604 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6605 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6606 Patch by Aharon Robbins <arnold@skeeve.com>.
6607
ea389b12
UD
6608 [BZ #11892]
6609 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6610 on the stack.
6611
68a3f91f
UD
6612 [BZ #11895]
6613 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6614 through underflows.
6615
15cc7dd1
UD
6616 [BZ #12766]
6617 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6618 point to strings before performing equality test for error_one_per_line
6619 mode.
6620
f3799213
UD
6621 [BZ #11697]
6622 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6623
d79a9c94
UD
6624 [BZ #11820]
6625 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6626 (struct user_fpregs_struct): Avoid __uint*_t types.
6627
56e5eb46
UD
6628 [BZ #6420]
6629 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6630 symbol info. Use it instead of calling _dl_addr locally.
6631 (lock_and_info): New function.
6632 (tr_freehook): Call lock_and_info and pass symbol info as additional
6633 parameter to tr_where.
6634 (tr_mallochook): Likewise.
6635 (tr_reallochook): Likewise.
6636 (tr_memalignhook): Likewise.
6637
6ce75379
UD
6638 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6639 used and couldn't be at all thread-safe.
6640
f8a3b5bf
UD
66412011-05-15 Ulrich Drepper <drepper@gmail.com>
6642
94b7cc37
UD
6643 * libio/freopen.c (freopen): Don't close old file descriptor
6644 before the new one is opened. Instead dup the new file descriptor
6645 to the old one after the new stream is created.
6646 * libio/freopen64.c (freopen64): Likewise.
6647 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6648 * libio/fileops.c (_IO_new_file_close_it): Handle new
6649 _IO_FLAGS2_NOCLOSE flag.
6650 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6651 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6652 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6653 _IO_FLAGS2_NOCLOSE flag.
6654 * include/unistd.h: Add hidden_proto for dup3.
6655 Define __have_dup3.
6656 * io/dup3.c: Define hidden symbol.
6657 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6658
bd25564e
UD
6659 [BZ #7101]
6660 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6661 when an incomplete long option is used.
6662 * posix/tst-getopt_long1.c: New file.
6663 * posix/Makefile (tests): Add tst-getopt_long1.
6664
c84cfef4
UD
6665 [BZ #10138]
6666 * scripts/config.guess: Update from autoconf-2.68.
6667 * scripts/config.sub: Likewise.
6668
3b85df27
UD
6669 [BZ #10157]
6670 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6671 tests into ...
6672 (has_cpuclock): ...this. New function.
6673 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6674 macro here based on has_cpuclock code.
6675
15a856b1
UD
6676 [BZ #10149]
6677 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6678 First byte (not low byte) is now always NUL.
6679 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6680
05f399e6
UD
6681 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6682 Use non-cancelable interfaces.
6683
10a52685 6684 [BZ #9809]
94ecc67d
UD
6685 * locale/iso-639.def: Add entry for Sorani.
6686
f8a3b5bf
UD
6687 [BZ #11901]
6688 * include/stdlib.h: Move include protection to the right place.
6689 Define abort_msg_s. Declare __abort_msg with it.
6690 * stdlib/abort.c (__abort_msg): Adjust type.
6691 * assert/assert.c (__assert_fail_base): New function. Majority
6692 of code from __assert_fail. Allocate memory for __abort_msg with
6693 mmap.
6694 (__assert_fail): Now call __assert_fail_base.
6695 * assert/assert-perr.c: Remove bulk of implementation. Use
6696 __assert_fail_base.
6697 * include/assert.hL Declare __assert_fail_base.
6698 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6699 mmap.
6700 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6701
1af4e298
UD
67022011-05-14 Ulrich Drepper <drepper@gmail.com>
6703
f8a3b5bf 6704 [BZ #11952]
d26dfc60
MG
6705 [BZ #12453]
6706 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6707 until all modules are registered in the DTV.
6708 * elf/Makefile: Add rules to build and run tst-tls19.
6709 * elf/tst-tls19.c: New file.
6710 * elf/tst-tls19mod1.c: New file.
6711 * elf/tst-tls19mod2.c: New file.
6712 * elf/tst-tls19mod3.c: New file.
6713 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6714
2fc54d6f
UD
6715 [BZ #12083]
6716 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6717 correctly.
6718
98d76b46
UD
6719 [BZ #12601]
6720 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6721 two-byte sequence errors.
6722 * iconvdata/Makefile (tests): Add bug-iconv8.
6723 * iconvdata/bug-iconv8.c: New file.
6724
da3c19ef
UD
6725 [BZ #12626]
6726 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6727 buf2 definition.
6728
ca408c15
UD
6729 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6730
d6f67f7d
UD
6731 [BZ #12432]
6732 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6733 (dummy_getcfa): New function.
6734 (init): Get _Unwind_GetCFA address, use dummy if not found.
6735 (backtrace_helper): In recursion check, also check whether CFA changes.
6736 (__backtrace): Completely initialize arg.
6737
1af4e298 6738 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
6739 storing incomplete byte sequence in state object. Avoid testing for
6740 guaranteed too small input if we know there is enough data available.
1af4e298 6741
da62f81b
AS
67422011-05-11 Andreas Schwab <schwab@redhat.com>
6743
6744 * Makeconfig (+link-pie): Indent.
6745 * Rules (binaries-pie): Define if $(have-fpie) and
6746 $(build-shared).
6747 (binaries-shared): Also filter out $(binaries-pie).
6748 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6749 * nscd/Makefile (others-pie): Add nscd.
6750 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6751 ($(objpfx)nscd): Remove command override.
6752 * login/Makefile (others-pie): Add pt_chown.
6753 ($(objpfx)pt_chown): Remove command override.
6754 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6755 remove command overrides.
6756
fcabc0f8
UD
67572011-05-13 Ulrich Drepper <drepper@gmail.com>
6758
20030ae6
UD
6759 * libio/tst_putwc.c: Fix error messages.
6760
fcabc0f8
UD
6761 [BZ #12724]
6762 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6763 currently writing and seek to current position when not.
6764 * libio/Makefile (tests): Add bug-fclose1.
6765 * libio/bug-fclose1.c: New file.
6766
320a5dc0
PB
67672011-05-12 Ulrich Drepper <drepper@gmail.com>
6768
6769 [BZ #12511]
6770 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6771 don't set DF_1_NODELETE here.
6772 (do_lookup_x): When entering new entry test for copy relocation
6773 and if necessary set DF_1_NODELETE flag.
6774 * elf/tst-unique4.cc: New file.
6775 * elf/tst-unique4.h: New file.
6776 * elf/tst-unique4lib.cc: New file.
6777 * elf/Makefile: Add rules to build and run tst-unique4.
6778 Patch by Piotr Bury <pbury@goahead.com>.
6779
22836f52
UD
67802011-05-11 Ulrich Drepper <drepper@gmail.com>
6781
f574184a
UD
6782 [BZ #12052]
6783 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6784
e1fb097f
UD
6785 [BZ #12625]
6786 * misc/mntent_r.c (addmntent): Flush the stream after the output
6787
22836f52
UD
6788 [BZ #12393]
6789 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6790 (is_trusted_path_normalize): Skip initial colon. Append slash
6791 to empty buffer. Duplicate is_trusted_path code but allow
6792 constructed patch to be prefix.
6793 (is_dst): Allow $ORIGIN followed by /.
6794 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6795 Correct testing of result of is_trusted_path_normalize
6796 (decompose_rpath): Fix warning.
6797
7b3b0b2a
UD
67982011-05-10 Ulrich Drepper <drepper@gmail.com>
6799
6800 [BZ #11257]
6801 * grp/initgroups.c (internal_getgrouplist): When we found the service
6802 list through the initgroups entry in nsswitch.conf do not always
6803 continue on a successful lookup. Don't always use the
eac80ce2 6804 __nss_group_database value if it is set.
7b3b0b2a
UD
6805 * nss/nsswitch.conf (initgroups): Change action for successful db
6806 lookup to continue for compatibility.
6807
2a81eaa5
UD
68082011-05-09 Ulrich Drepper <drepper@gmail.com>
6809
be97a69e
UD
6810 [BZ #11532]
6811 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6812 and CP774 modules.
6813 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6814 and CP774 modules.
6815 * iconvdata/tst-tables.sh: Likewise.
6816 * iconvdata/cp770.c: New file.
6817 * iconvdata/cp771.c: New file.
6818 * iconvdata/cp772.c: New file.
6819 * iconvdata/cp773.c: New file.
6820 * iconvdata/cp774.c: New file.
6821 * iconvdata/testdata/CP770: New file.
6822 * iconvdata/testdata/CP770..UTF8: New file.
6823 * iconvdata/testdata/CP771: New file.
6824 * iconvdata/testdata/CP771..UTF8: New file.
6825 * iconvdata/testdata/CP772: New file.
6826 * iconvdata/testdata/CP772..UTF8: New file.
6827 * iconvdata/testdata/CP773: New file.
6828 * iconvdata/testdata/CP773..UTF8: New file.
6829 * iconvdata/testdata/CP774: New file.
6830 * iconvdata/testdata/CP774..UTF8: New file.
6831
6832 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6833 END CHARMAP line.
6834 * iconvdata/gen-8bit-gap.sh: Likewise.
6835 * iconvdata/gen-8bit.sh: Likewise.
6836
c1e9e399
UD
6837 * locale/iso-639.def: Add ary entry.
6838
24c55fb3 6839 [BZ #11258]
96b4b1b0
UD
6840 * locale/C-translit.h.in: Add U20A1 transliteration.
6841
bdc2f971
KB
6842 [BZ #12178]
6843 * locale/iso-639.def: Add wae entry.
6844 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6845
2952b117
UD
6846 [BZ #12545]
6847 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6848 for n.
6849
2a81eaa5
UD
6850 [BZ #12711]
6851 * locale/C-translit.h.in: Add entry for U20B9.
6852 Patch by pravin.d.s@gmail.com.
6853
28377d1b
UD
68542011-05-08 Ulrich Drepper <drepper@gmail.com>
6855
7fb90fb8
UD
6856 [BZ #12713]
6857 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6858 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
6859 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6860 in rtld. Use *stat64.
7fb90fb8 6861 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 6862 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 6863 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
6864 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6865 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6866 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6867 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6868 __fstatat64 macros.
7fb90fb8
UD
6869 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6870 * dirent/rewinddir.c: Add libc_hidden_def.
6871 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 6872 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 6873
28377d1b
UD
6874 * include/dirent.h (__alloc_dir): Add flags parameter.
6875 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6876 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6877 __alloc_dir.
6878 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6879 from fdopendir if O_CLOEXEC is already set.
6880
66bdbaa4
AM
68812011-03-15 Alan Modra <amodra@gmail.com>
6882
6883 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6884 l_tls_firstbyte_offset non-zero. Save padding offset in
6885 l_tls_firstbyte_offset for later use.
6886 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6887 freeing static tls block.
6888
95721191
JN
68892011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6890
6891 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6892 where #ifdef was intended. The intent is to prevent ARG_MAX from
6893 being defined by the kernel headers.
6894
f87dfb1f
UD
68952011-05-07 Ulrich Drepper <drepper@gmail.com>
6896
6897 [BZ #12734]
6898 * resolv/resolv.h: Define RES_NOTLDQUERY.
6899 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6900 no-tld-query and set RES_NOTLDQUERY.
6901 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6902 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6903 modern BIND to search name as TLD unless forbidden.
6904
47c3cd7a
UD
69052011-05-07 Petr Baudis <pasky@suse.cz>
6906 Ulrich Drepper <drepper@gmail.com>
6907
6908 [BZ #12393]
6909 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6910 (is_trusted_path): ...to here.
c1e9ea35 6911 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 6912 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 6913 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 6914
8a35c912
PP
69152011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6916
6917 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6918 __BEGIN/__END_DECLS.
6919
acd41f47
UD
69202011-05-06 Ulrich Drepper <drepper@gmail.com>
6921
6922 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6923 NSS_STATUS_NOTFOUND if no record was found.
6924
597df647
AS
69252011-05-05 Andreas Schwab <schwab@redhat.com>
6926
6927 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6928 (headers-not-in-tirpc): Remove rpc/netdb.h
6929 * resolv/netdb.h: Revert last change.
6930
b9af1301
PP
69312011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6932
6933 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6934 circular dependency between libgcc.a and libc.a.
6935
4e34d5f5
AS
69362011-05-05 Andreas Schwab <schwab@redhat.com>
6937
6938 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6939 * nis/Makefile: Don't install rpcsvc/*.
6940 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6941 instead of <rpc/types.h>.
6942 (MAXHOSTNAMELEN): Define.
6943
00ee369c
AS
69442011-05-03 Andreas Schwab <schwab@redhat.com>
6945
6946 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6947
0b592a30
MB
69482011-04-28 Maciej Babinski <mbabinski@google.com>
6949
6950 [BZ #12714]
6951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6952 gethostbyname4_r when IPv6 results are possible.
6953
6e04cbbe
UD
69542011-05-02 Ulrich Drepper <drepper@gmail.com>
6955
6956 [BZ #12723]
6957 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6958 _PC_PIPE_BUF handling.
6959
e4ecafe0
BH
69602011-04-30 Bruno Haible <bruno@clisp.org>
6961
6962 [BZ #12717]
6963 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6964 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6965 to 'int'.
6966 * inet/getnameinfo.c (getnameinfo): Likewise.
6967
125ee683
UD
69682011-04-29 Ulrich Drepper <drepper@gmail.com>
6969
6970 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6971 to groups setting in database lookup.
6972 * nss/nsswitch.conf: Add initgroups entry.
6973
b722481a
EB
69742011-04-22 Ulrich Drepper <drepper@gmail.com>
6975
6976 [BZ #12685]
6977 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6978 mode string.
6979 Patch by Eric Blake <eblake@redhat.com>.
6980
4df46dbd
L
69812011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6982
6983 * sunrpc/Makefile (need-export-routines): Add svc_run.
6984 (routines): Remove svc_run.
6985 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6986 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6987 * sunrpc/svc_run.c (svc_run): Likewise.
6988 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6989
e84142d2
UD
69902011-04-21 Ulrich Drepper <drepper@gmail.com>
6991
6992 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6993 problem in reallocation in last patch.
6994
877175d8
UD
69952011-04-20 Ulrich Drepper <drepper@gmail.com>
6996
6997 * sunrpc/Makefile: Move inclusion of Rules.
6998
ab8eed78
UD
69992011-04-19 Ulrich Drepper <drepper@gmail.com>
7000
7001 * nss/nss_files/files-initgroups.c: New file.
7002 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7003 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7004 _nss_files_initgroups_dyn.
7005
e3d8f584
RS
70062011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7007
7008 * elf/elf.h (R_ARM_IRELATIVE): Define.
7009
af190f45
UD
70102011-04-19 Ulrich Drepper <drepper@gmail.com>
7011
7012 * po/ru.po: Update from translation team.
7013
53cf59ef
UD
70142011-04-17 Ulrich Drepper <drepper@gmail.com>
7015
7016 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7017 dependencies.
7018
4c559bcd
MF
70192011-02-06 Mike Frysinger <vapier@gentoo.org>
7020
7021 [BZ #12653]
7022 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7023 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7024 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7025 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7026 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7027
4420675c
AS
70282011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7029
7030 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7031 differing bytes.
7032 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7033 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7034 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7035
75ea32ab
UD
70362011-04-17 Ulrich Drepper <drepper@gmail.com>
7037
7038 [BZ #12420]
7039 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7040 storing it.
7041 * stdlib/bug-getcontext.c: New file.
7042 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7043
27390476
AK
70442011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7045
7046 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7047 instructions into .machine "z9-109".
7048 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7049 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7050
10442705
AK
70512011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7052
7053 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7054 between environment variables and auxiliary vector.
7055
7b57bfe5
UD
70562011-04-16 Ulrich Drepper <drepper@gmail.com>
7057
7058 * Makefile: Add rules to build linkobj/libc.so.
7059 * include/libc-symbols.h: Define libc_hidden_nolink.
7060 * include/rpc/auth.h: Mark functions which are to be hidden.
7061 * include/rpc/auth_des.h: Likewise.
7062 * include/rpc/auth_unix.h: Likewise.
7063 * include/rpc/clnt.h: Likewise.
7064 * include/rpc/des_crypt.h: Likewise.
7065 * include/rpc/key_prot.h: Likewise.
7066 * include/rpc/pmap_clnt.h: Likewise.
7067 * include/rpc/pmap_prot.h: Likewise.
7068 * include/rpc/pmap_rmt.h: Likewise.
7069 * include/rpc/rpc_msg.h: Likewise.
7070 * include/rpc/svc.h: Likewise.
7071 * include/rpc/svc_auth.h: Likewise.
7072 * include/rpc/xdr.h: Likewise.
7073 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7074 * nss/Makefile: Likewise.
7075 * sunrpc/Makefile: Don't install headers. Build library with normal
7076 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7077 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7078 for the compat linking library. Remove use of INTDEF/INTUSE.
7079 * sunrpc/auth_none.c: Likewise.
7080 * sunrpc/auth_unix.c: Likewise.
7081 * sunrpc/authdes_prot.c: Likewise.
7082 * sunrpc/authuxprot.c: Likewise.
7083 * sunrpc/clnt_gen.c: Likewise.
7084 * sunrpc/clnt_perr.c: Likewise.
7085 * sunrpc/clnt_raw.c: Likewise.
7086 * sunrpc/clnt_simp.c: Likewise.
7087 * sunrpc/clnt_tcp.c: Likewise.
7088 * sunrpc/clnt_udp.c: Likewise.
7089 * sunrpc/clnt_unix.c: Likewise.
7090 * sunrpc/des_crypt.c: Likewise.
7091 * sunrpc/des_soft.c: Likewise.
7092 * sunrpc/get_myaddr.c: Likewise.
7093 * sunrpc/key_call.c: Likewise.
7094 * sunrpc/key_prot.c: Likewise.
7095 * sunrpc/netname.c: Likewise.
7096 * sunrpc/pm_getmaps.c: Likewise.
7097 * sunrpc/pm_getport.c: Likewise.
7098 * sunrpc/pmap_clnt.c: Likewise.
7099 * sunrpc/pmap_prot.c: Likewise.
7100 * sunrpc/pmap_prot2.c: Likewise.
7101 * sunrpc/pmap_rmt.c: Likewise.
7102 * sunrpc/publickey.c: Likewise.
7103 * sunrpc/rpc_cmsg.c: Likewise.
7104 * sunrpc/rpc_common.c: Likewise.
7105 * sunrpc/rpc_dtable.c: Likewise.
7106 * sunrpc/rpc_prot.c: Likewise.
7107 * sunrpc/rpc_thread.c: Likewise.
7108 * sunrpc/rtime.c: Likewise.
7109 * sunrpc/svc.c: Likewise.
7110 * sunrpc/svc_auth.c: Likewise.
7111 * sunrpc/svc_authux.c: Likewise.
7112 * sunrpc/svc_raw.c: Likewise.
7113 * sunrpc/svc_run.c: Likewise.
7114 * sunrpc/svc_simple.c: Likewise.
7115 * sunrpc/svc_tcp.c: Likewise.
7116 * sunrpc/svc_udp.c: Likewise.
7117 * sunrpc/svc_unix.c: Likewise.
7118 * sunrpc/svcauth_des.c: Likewise.
7119 * sunrpc/xcrypt.c: Likewise.
7120 * sunrpc/xdr.c: Likewise.
7121 * sunrpc/xdr_array.c: Likewise.
7122 * sunrpc/xdr_float.c: Likewise.
7123 * sunrpc/xdr_intXX_t.c: Likewise.
7124 * sunrpc/xdr_mem.c: Likewise.
7125 * sunrpc/xdr_rec.c: Likewise.
7126 * sunrpc/xdr_ref.c: Likewise.
7127 * sunrpc/xdr_sizeof.c: Likewise.
7128 * sunrpc/xdr_stdio.c: Likewise.
7129
e6c61494
UD
71302011-04-10 Ulrich Drepper <drepper@gmail.com>
7131
7132 [BZ #12650]
7133 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7134 * sysdeps/ia64/dl-tls.h: Likewise.
7135 * sysdeps/powerpc/dl-tls.h: Likewise.
7136 * sysdeps/s390/dl-tls.h: Likewise.
7137 * sysdeps/sh/dl-tls.h: Likewise.
7138 * sysdeps/sparc/dl-tls.h: Likewise.
7139 * sysdeps/x86_64/dl-tls.h: Likewise.
7140 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7141
34fe483e
AS
71422011-03-14 Andreas Schwab <schwab@redhat.com>
7143
7144 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7145 rpath element also skip the following colon.
7146 (expand_dynamic_string_token): Add is_path parameter and pass
7147 down to DL_DST_REQUIRED and _dl_dst_substitute.
7148 (decompose_rpath): Call expand_dynamic_string_token with
7149 non-zero is_path. Ignore empty rpaths.
7150 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7151 with zero is_path.
7152
f12a32e6
AS
71532011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7154
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7156 Make cancelable.
7157
38a7d692
UD
71582011-04-09 Ulrich Drepper <drepper@gmail.com>
7159
7160 [BZ #12655]
7161 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7162 Patch by Filipe David Manana <fdmanana@apache.org>.
7163
e451d22b
AS
71642011-04-07 Andreas Schwab <schwab@redhat.com>
7165
7166 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7167 Maintain aligned stack.
7168 (CHECK_RSP): Remove unused macro.
7169
dedc7c7b
UD
71702011-04-03 Ulrich Drepper <drepper@gmail.com>
7171
7172 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7173 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7174
94521213
UD
71752011-04-02 Ulrich Drepper <drepper@gmail.com>
7176
7177 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7178
8cb700c0 7179 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7180
0354e355
L
71812011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7182
7183 [BZ #12518]
7184 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7185 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7186 * sysdeps/x86_64/memmove.c: New file.
7187 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7188 (memcpy): Renamed to ...
7189 (__new_memcpy): This.
7190 (memcpy): Provide GLIBC_2_14 memcpy.
7191 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7192 (memcpy): Provide GLIBC_2_2_5 memcpy.
7193
8593482f
UD
71942011-04-01 Ulrich Drepper <drepper@gmail.com>
7195
7196 [BZ #12631]
7197 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7198
81a5726b
AS
71992011-03-30 Andreas Schwab <schwab@redhat.com>
7200
7201 * misc/syncfs.c: New file.
7202 * misc/Makefile (routines): Add syncfs.
7203 * posix/unistd.h: Declare syncfs.
7204 * sysdeps/unix/syscalls.list: Add syncfs.
7205
00e5419f
AS
72062011-04-01 Andreas Schwab <schwab@redhat.com>
7207
7208 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7209 open_by_handle_at.
7210 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7211 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7213 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7215 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7216 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7217
748876bf
UD
72182011-04-01 Ulrich Drepper <drepper@gmail.com>
7219
658e451d
UD
7220 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7221 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7222 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7223 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7224 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7226 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7227
748876bf
UD
7228 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7229 sync_file_range.c with -fexceptions.
7230 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7231 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7232 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7233 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7234 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7235 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7237 sync_file_range as cancellation point
7238 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7239 now a wrapper around __call_sync_file_range with cancellation handling.
7240 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7241 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7242 function name to __call_sync_file_range.
7243 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7244 Add call_sync_file_range.
748876bf 7245
6e63d5e1
AS
72462011-04-01 Andreas Schwab <schwab@redhat.com>
7247
7248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7249 bits/timex.h.
6e63d5e1 7250
46998f74
UD
72512011-04-01 Ulrich Drepper <drepper@gmail.com>
7252
4c1423ed
UD
7253 * iconv/iconv.h: Fix typo in comment.
7254 * io/fcntl.h: Likewise.
7255 * libio/stdio.h: Likewise.
7256 * posix/spawn.h: Likewise.
7257 * posix/unistd.h: Likewise.
7258 * stdlib/stdlib.h: Likewise.
7259 * time/time.h: Likewise.
7260 * wcsmbs/wchar.h: Likewise.
7261
158648c0
UD
7262 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7263 open_by_handle): Add.
7264 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7265 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7266 Augment a few comments.
7267 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7269 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7271 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7272 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7273 open_by_handle.
7274
46998f74
UD
7275 * io/fcntl.h (AT_EMPTY_PATH): Define.
7276
83fe108b
UD
72772011-03-30 Ulrich Drepper <drepper@gmail.com>
7278
7279 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7280 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7281 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7282 to...
7283 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7284 * Versions.def: Add GLIBC_2.14.
7285 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7286 Export.
83fe108b 7287
bb242059
UD
72882011-03-22 Ulrich Drepper <drepper@gmail.com>
7289
7290 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7291 round counter.
7292 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7293
c97a1282
L
72942011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7295
7296 [BZ #12597]
7297 * string/test-strncmp.c (do_page_test): New function.
7298 (check2): Likewise.
7299 (test_main): Call check2.
7300 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7301
2a115601
UD
73022011-03-20 Ulrich Drepper <drepper@gmail.com>
7303
7304 [BZ #12587]
7305 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7306 Handle cache information in CPU leaf 4.
7307 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7308
8126d904
UD
73092011-03-18 Ulrich Drepper <drepper@gmail.com>
7310
042c49c6 7311 [BZ #12583]
8126d904
UD
7312 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7313 character representation.
7314 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7315
ccfe366e
RA
73162011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7317
7318 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7319 END(__isnan) to END(__isnanf) to match function entry point/label
7320 EALIGN(__isnanf,...).
7321
c6e13027
JJ
73222011-03-10 Jakub Jelinek <jakub@redhat.com>
7323
7324 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7325
33f85a3f
UD
73262011-03-10 Ulrich Drepper <drepper@gmail.com>
7327
028478fa
UD
7328 [BZ #12510]
7329 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7330 copy from the symbol referenced in the relocation to initialize the
7331 used variable.
7332 Patch by Piotr Bury <pbury@goahead.com>.
7333 * elf/Makefile: Add rules to build and tst-unique3.
7334 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7335 * elf/tst-unique3.cc: New file.
7336 * elf/tst-unique3.h: New file.
7337 * elf/tst-unique3lib.cc: New file.
7338 * elf/tst-unique3lib2.cc: New file.
7339
33f85a3f
UD
7340 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7341
03592fc7
MF
73422011-03-10 Mike Frysinger <vapier@gentoo.org>
7343
7344 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7345 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7346 to _start.
03592fc7 7347
6a5ee102
UD
73482011-03-06 Ulrich Drepper <drepper@gmail.com>
7349
7350 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7351 to-be-loaded object along a path to loader is ld.so.
7352
7e4ba49c
HJ
73532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7354 Ulrich Drepper <drepper@gmail.com>
7355
7356 * sysdeps/x86_64/memset.S: After aligning destination, code
7357 branches to different locations depending on the value of
7358 misalignment, when multiarch is enabled. Fix this.
7359
73602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7361
7362 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7363 Set _x86_64_preferred_memory_instruction for AMD processsors.
7364 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7365 Set bit_Prefer_SSE_for_memop for AMD processors.
7366
13a804de
UD
73672011-03-04 Ulrich Drepper <drepper@gmail.com>
7368
7369 * libio/fmemopen.c (fmemopen): Optimize a bit.
7370
9d25c392
AS
73712011-03-03 Andreas Schwab <schwab@redhat.com>
7372
7373 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7374
a5543c6a
RM
73752011-03-03 Roland McGrath <roland@redhat.com>
7376
7377 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7378
012d35f7
DM
73792011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7380
7e4ba49c 7381 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7382 __bzero_ultra1 instead of __memset_ultra1.
7383
4bff6e01
AS
73842011-02-23 Andreas Schwab <schwab@redhat.com>
7385 Ulrich Drepper <drepper@gmail.com>
7386
7387 [BZ #12509]
7388 * include/link.h (struct link_map): Add l_orig_initfini.
7389 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7390 returning unsuccessfully.
7391 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7392 close of a file loaded at startup, restore the original l_initfini
7393 list.
7394 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7395 list, store the pointer.
7396 * elf/Makefile ($(objpfx)noload-mem): New rule.
7397 (noload-ENV): Define.
7398 (tests): Add $(objpfx)noload-mem.
7399 * elf/noload.c: Include <memcheck.h>.
7400 (main): Call mtrace. Close all opened handles.
7401
f2092faf
AS
74022011-02-17 Andreas Schwab <schwab@redhat.com>
7403
7404 [BZ #12454]
7405 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7406 dependencies are missing.
7407
6c8a2e88
ST
74082011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7409
f2092faf 7410 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7411 Hurd needs munmap.
7412 * sysdeps/mach/hurd/ifreq.h: New file.
7413
84a42118
PB
74142011-01-27 Petr Baudis <pasky@suse.cz>
7415 Ulrich Drepper <drepper@gmail.com>
7416
071f805e 7417 [BZ 12445]#
84a42118
PB
7418 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7419 to extend_alloca().
7420 * stdio-common/bug23.c: New file.
7421 * stdio-common/Makefile (tests): Add bug23.
7422
e23fe25b
AS
74232010-09-28 Andreas Schwab <schwab@redhat.com>
7424 Ulrich Drepper <drepper@gmail.com>
7425
7426 [BZ #12489]
7427 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7428 before performing relro protection. At old place add assertion
7429 to make sure nothing changed.
7430
d3f02e10
NS
74312011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7432 Glauber de Oliveira Costa <glommer@gmail.com>
7433
7434 * elf/elf.h: Add new ARM TLS relocs.
7435
d55fd7a5
RA
74362011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7437
7438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7439 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7440 cast from r3.
7441 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7442 'tests' variable.
7443 * sysdeps/wordsize-64/tst-writev.c: New file.
7444
2206397e
RA
74452011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7446
7447 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7448 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7449 insns in _dl_start to prevent a TOC reference before relocs are
7450 resolved.
7451
e9433893
UD
74522011-02-15 Ulrich Drepper <drepper@gmail.com>
7453
7454 [BZ #12469]
7455 * Makeconfig: Remove RANLIB definition.
7456 * Makerules: Don't use RANLIB.
7457 * aclocal.m4: Remove ranlib test.
7458 * configure.in: No need to check for ranlib.
7459 * elf/rtld-Rules: Don't use RANLIB.
7460
f75286c6
ST
74612011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7462
8e31c82d
ST
7463 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7464 protection macro.
7465 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7466 inclusion protection macro.
7467
f75286c6
ST
7468 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7469 SIGRTMIN and SIGRTMAX and print information in that case only when
7470 SIGRTMIN is defined.
7471
c1d0e639
JJ
74722011-02-11 Jakub Jelinek <jakub@redhat.com>
7473
7474 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7475 arginfo fn returning -1.
7476
7477 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7478 and thousands string is zero terminated.
7479
edf9294e
AS
74802011-02-03 Andreas Schwab <schwab@redhat.com>
7481
7482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7483 sysdeps/unix/sysv/linux/bits/socket.h.
7484
2b7e92df
ST
74852011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7486
edf9294e
AS
7487 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7488 (__CPU_COUNT): Remove old macros.
7489 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7490 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7491 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
7492 (__sched_cpualloc, __sched_cpufree): Add declarations.
7493
a4c7ea7b
UD
74942011-02-05 Ulrich Drepper <drepper@gmail.com>
7495
7496 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7497 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7498 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7499 (readdhstai): Return value of addhstaiX call.
7500 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7501 (addgrbyX): Return value returned by cache_addgr.
7502 (readdgrbyname): Return value returned by addgrbyX.
7503 (readdgrbygid): Likewise.
7504 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7505 (addpwbyX): Return value returned by cache_addpw.
7506 (readdpwbyname): Return value returned by addhstbyX.
7507 (readdpwbyuid): Likewise.
7508 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7509 (addservbyX): Return value returned by cache_addserv.
7510 (readdservbyname): Return value returned by addservbyX:
7511 (readdservbyport): Likewise.
7512 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7513 (addhstbyX): Return value returned by cache_addhst.
7514 (readdhstbyname): Return value returned by addhstbyX.
7515 (readdhstbyaddr): Likewise.
7516 (readdhstbynamev6): Likewise.
7517 (readdhstbyaddrv6): Likewise.
7518 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7519 (readdinitgroups): Return value returned by addinitgroupsX.
7520 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7521 (prune_cache): Keep track of timeout value of re-added entries.
7522 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7523 * nscd/nscd.h: Adjust prototypes of readd* functions.
7524
a0bf67cc
RM
75252011-02-04 Roland McGrath <roland@redhat.com>
7526
7527 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7528 (nis_stats): Likewise.
7529 * nis/nis_modify.c (nis_modify): Likewise.
7530 * nis/nis_remove.c (nis_remove): Likewise.
7531 * nis/nis_add.c (nis_add): Likewise.
7532
7533 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7534
7535 * posix/fnmatch_loop.c: Add some consts.
7536
7537 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7538
435b95eb
L
75392011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7540
7541 [BZ #12460]
7542 * config.make.in (config-cflags-novzeroupper): Define.
7543 * configure.in: Substitute libc_cv_cc_novzeroupper.
7544 * elf/Makefile (AVX-CFLAGS): Define.
7545 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7546 (CFLAGS-tst-auditmod4a.c): Likewise.
7547 (CFLAGS-tst-auditmod4b.c): Likewise.
7548 (CFLAGS-tst-auditmod6b.c): Likewise.
7549 (CFLAGS-tst-auditmod6c.c): Likewise.
7550 (CFLAGS-tst-auditmod7b.c): Likewise.
7551 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7552
8517b15e
UD
75532011-02-02 Ulrich Drepper <drepper@gmail.com>
7554
7555 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7556 function to the callback.
7557 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7558
10a656fe
AS
75592011-02-02 Andreas Schwab <schwab@redhat.com>
7560
7561 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7562 of errno.
7563
968dad0a
UD
75642011-01-19 Ulrich Drepper <drepper@gmail.com>
7565
9f94d2ea 7566 [BZ #11724]
968dad0a
UD
7567 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7568 of constructors.
7569 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7570 of destructors.
7571 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7572
7573 [BZ #11724]
7574 * elf/Makefile: Add rules to build and run new test.
7575 * elf/tst-initorder.c: New file.
7576 * elf/tst-initorder.exp: New file.
7577 * elf/tst-initordera1.c: New file.
7578 * elf/tst-initordera2.c: New file.
7579 * elf/tst-initordera3.c: New file.
7580 * elf/tst-initordera4.c: New file.
7581 * elf/tst-initorderb1.c: New file.
7582 * elf/tst-initorderb2.c: New file.
7583 * elf/tst-order-a1.c: New file.
7584 * elf/tst-order-a2.c: New file.
7585 * elf/tst-order-a3.c: New file.
7586 * elf/tst-order-a4.c: New file.
7587 * elf/tst-order-b1.c: New file.
7588 * elf/tst-order-b2.c: New file.
7589 * elf/tst-order-main.c: New file.
7590 New test case by George Gensure <werkt0@gmail.com>.
7591
86e92359
UD
75922010-10-01 Andreas Schwab <schwab@redhat.com>
7593
7594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7595 decoding ACE if AI_CANONIDN.
7596
5d5732b0
UD
75972011-01-18 Ulrich Drepper <drepper@gmail.com>
7598
7599 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7600
a77e8cbc
UD
76012011-01-17 Ulrich Drepper <drepper@gmail.com>
7602
6392473f
UD
7603 * version.h (RELEASE): Bump for 2.13 release.
7604 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7605
620a0529
UD
7606 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7607
18ba70a5
UD
7608 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7609 MADV_NOHUGEPAGE.
32465c3e
UD
7610 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7611 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7612 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7613 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7614 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7615 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7616
c0dafcf1
UD
7617 * posix/getconf.c: Update copyright year.
7618 * catgets/gencat.c: Likewise.
7619 * csu/version.c: Likewise.
7620 * debug/catchsegv.sh: Likewise.
7621 * debug/xtrace.sh: Likewise.
7622 * elf/ldconfig.c: Likewise.
7623 * elf/ldd.bash.in: Likewise.
7624 * elf/sprof.c (print_version): Likewise.
7625 * iconv/iconv_prog.c: Likewise.
7626 * iconv/iconvconfig.c: Likewise.
7627 * locale/programs/locale.c: Likewise.
7628 * locale/programs/localedef.c: Likewise.
7629 * malloc/memusage.sh: Likewise.
7630 * malloc/mtrace.pl: Likewise.
7631 * nscd/nscd.c (print_version): Likewise.
7632 * nss/getent.c: Likewise.
7633
a77e8cbc
UD
7634 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7635 PF_CAIF, and PF_ALG.
7636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7637
77e8bddf
AS
76382011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7639
1f20b93a
AS
7640 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7641 (modules-names): Use them.
7642 (ifunc-test-modules, ifunc-pie-tests): Define.
7643 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7644 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7645 (test-extras): Likewise.
7646 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7647 $(compile-command.c).
7648 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7649 (all-built-dso): Define.
7650 (check-textrel.out, check-execstack.out): Depend on it.
7651
77e8bddf
AS
7652 * configure.in: Don't override --enable-multi-arch.
7653
bc425b33
UD
76542011-01-15 Ulrich Drepper <drepper@gmail.com>
7655
7656 [BZ #6812]
7657 * nscd/hstcache.c (tryagain): Define.
7658 (cache_addhst): Return tryagain not notfound for temporary errors.
7659 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7660 failed.
7661
794c3ad3
UD
76622011-01-14 Ulrich Drepper <drepper@gmail.com>
7663
70181fdd
UD
7664 [BZ #10563]
7665 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7666 to make the syscall.
7667 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7668
794c3ad3
UD
7669 [BZ #12378]
7670 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7671 and fall back to matching as normal character if the string ends before
7672 the matching ']' is found. This is what POSIX requires.
7673 * posix/testfnm.c: Adjust test result.
7674 * posix/globtest.sh: Adjust test result. Add new test.
7675 * posix/tst-fnmatch.input: Likewise.
7676 * posix/tst-fnmatch2.c: Add new test.
7677
68dc9497
AS
76782010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7679
7680 * elf/Makefile (check-execstack): Revert last change. Depend on
7681 check-execstack.h.
7682 (check-execstack.h): New target.
7683 (generated): Add check-execstack.h.
7684 * elf/check-execstack.c: Include "check-execstack.h".
7685 (main): Revert last change.
7686 (handle_file): Return zero if GNU_STACK is absent and
7687 DEFAULT_STACK_PERMS doesn't include PF_X.
7688
451f001b
UD
76892011-01-13 Ulrich Drepper <drepper@gmail.com>
7690
cfa28e56
UD
7691 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7692 in child fails because the descriptor is already closed.
8cf8ce17
UD
7693 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7694 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7695 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 7696
1086d70d
UD
7697 [BZ #12397]
7698 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7699 syscall.
7700
451f001b
UD
7701 [BZ #10484]
7702 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7703 temporary buffer used to handle multi lookups locally.
a85b5cb4 7704 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 7705
08769175
UD
77062011-01-12 Ulrich Drepper <drepper@gmail.com>
7707
7708 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7709 loader is ld.so.
7710
5e49c52e
UD
77112011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7712
7713 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7714 alignment for SSE2.
7715
60522a5f
UD
77162011-01-12 Ulrich Drepper <drepper@gmail.com>
7717
7718 [BZ #12394]
7719 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7720 characters. When rounding increased number of integer digits recompute
7721 number of groups.
7722 * stdio-common/tst-grouping.c: New file.
7723 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7724
f257bbd7
UD
77252011-01-09 Ulrich Drepper <drepper@gmail.com>
7726
7727 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7728 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7729
7730 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7731 void.
7732 * bits/select.h: Likewise.
7733
fa9c15cb
UD
77342011-01-08 Ulrich Drepper <drepper@gmail.com>
7735
7736 * po/ja.po: Update from translation team.
7737
16c2895f
DM
77382011-01-04 David S. Miller <davem@sunset.davemloft.net>
7739
7740 [BZ #11155]
7741 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7742 implementation just like for lxstat, fxstatat, et al.
7743
2543fef2
JM
77442010-12-27 Jim Meyering <meyering@redhat.com>
7745
7746 [BZ #12348]
7747 * posix/regexec.c (build_trtable): Return failure indication upon
7748 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7749
98727dbe
UD
77502010-12-25 Ulrich Drepper <drepper@gmail.com>
7751
5bd6dc5c
UD
7752 [BZ #12201]
7753 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7754 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7755 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7756 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7757
97983464
UD
7758 [BZ #12207]
7759 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7760
98727dbe
UD
7761 [BZ #12204]
7762 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7763 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7764
4a531bb0
L
77652010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7766
7767 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7768 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7769 script has SORT_BY_INIT_PRIORITY.
7770 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7771 NO_CTORS_DTORS_SECTIONS is defined.
7772 * elf/soinit.c: Likewise.
7773 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7774 NO_CTORS_DTORS_SECTIONS is defined.
7775 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7776 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7777 * sysdeps/sh/init-first.c: Likewise.
7778 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7779
07eb4b71
UD
77802010-12-24 Ulrich Drepper <drepper@gmail.com>
7781
7782 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7783 always use the slow path.
7784
30950a5f
RA
77852010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7786
7787 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7788 similar rule which adds the sysdep directories to the header search in
7789 order to pick up the correct platform stackinfo.h.
7790 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7791 perform test if it is, otherwise return successfully without testing.
7792 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7793 DEFAULT_STACK_PERMS define in stackinfo.h.
7794 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7795 defined in stackinfo.h.
7796 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7797 DEFAULT_STACK_PERMS defined in stackinfo.h.
7798 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7799 * sysdeps/ia64/stackinfo.h: Likewise.
7800 * sysdeps/s390/stackinfo.h: Likewise.
7801 * sysdeps/sh/stackinfo.h: Likewise.
7802 * sysdeps/sparc/stackinfo.h: Likewise.
7803 * sysdeps/x86_64/stackinfo.h: Likewise.
7804 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7805 PF_X for powerpc64. Retain PF_X for powerpc32.
7806
db753e2c
UD
78072010-12-19 Ulrich Drepper <drepper@gmail.com>
7808
14b697f7
UD
7809 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7810 accurately.
db753e2c
UD
7811 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7812 GETDENTS_64BIT_ALIGNED.
7813
28300719
UD
78142010-12-14 Ulrich Drepper <dreper@gmail.com>
7815
14b697f7 7816 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 7817
4f197237
AS
78182010-12-10 Andreas Schwab <schwab@redhat.com>
7819
dbb0472f
AS
7820 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7821 _GNU_SOURCE.
7822
4f197237
AS
7823 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7824 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7825 Remove __restrict.
7826 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7827 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7828
fb88ac72
UD
78292010-12-09 Ulrich Drepper <drepper@gmail.com>
7830
7831 [BZ #11655]
7832 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7833 are initialized.
7834
42acbb92
JJ
78352010-12-09 Jakub Jelinek <jakub@redhat.com>
7836
7837 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7838
c038d98d
UD
78392010-12-03 Ulrich Drepper <drepper@gmail.com>
7840
7841 * po/it.po: Update from translation team.
7842
3a4a2499
L
78432010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7844
7845 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7846 unused codes.
7847
1e24cf6e
UD
78482010-11-30 Ulrich Drepper <drepper@gmail.com>
7849
7850 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7851
a7690819
AS
78522010-11-24 Andreas Schwab <schwab@redhat.com>
7853
7854 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7855 specially.
7856 (gaih_getanswer_slice): Likewise.
7857
3bf8d1b1
JJ
78582010-10-20 Jakub Jelinek <jakub@redhat.com>
7859
7860 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7861
6db52fbb
PB
78622010-05-31 Petr Baudis <pasky@suse.cz>
7863
7864 [BZ #11149]
7865 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7866 silently even in the chroot mode.
7867
eaca7569
UD
78682010-11-22 Ulrich Drepper <drepper@gmail.com>
7869
7870 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7871 last patch a bit. Pretty printing
7872
3056dcdb
UD
78732010-05-31 Petr Baudis <pasky@suse.cz>
7874
7875 [BZ #10085]
7876 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7877 initialization of skip_initgroups_dyn.
7878
cf7c9078
UD
78792010-11-19 Ulrich Drepper <drepper@gmail.com>
7880
7881 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7882 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7883
a1fb5e3e
UD
78842010-11-16 Ulrich Drepper <drepper@gmail.com>
7885
7886 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7887
3540d66b
AS
78882010-11-11 Andreas Schwab <schwab@redhat.com>
7889
7890 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7891 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7892 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7893 ($(objpfx)tst-fnmatch-mem): New rule.
7894 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7895 * posix/tst-fnmatch.c (main): Call mtrace.
7896
13b69574
L
78972010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7898
7899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7900 Support Intel processor model 6 and model 0x2c.
7901
da93d214
LM
79022010-11-10 Luis Machado <luisgpm@br.ibm.com>
7903
7904 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7905 signed comparison.
7906
8ca52c6e
L
79072010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7908
7909 [BZ #12205]
7910 * string/test-strncasecmp.c (check_result): New function.
7911 (do_one_test): Use it.
7912 (check1): New function.
7913 (test_main): Use it.
7914 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7915 Support strcasecmp and strncasecmp.
7916
69da074d
UD
79172010-11-08 Ulrich Drepper <drepper@gmail.com>
7918
7919 [BZ #12194]
7920 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7921 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7922
ff02d528
L
79232010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7924
7925 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7926 IFUNC support.
7927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7928 memset-x86-64.
7929 * sysdeps/x86_64/multiarch/bzero.S: New file.
7930 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7931 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7932 * sysdeps/x86_64/multiarch/memset.S: New file.
7933 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7935 Set bit_Prefer_SSE_for_memop for Intel processors.
7936 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7937 Define.
7938 (index_Prefer_SSE_for_memop): Define.
7939 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7940
344d0b54
LM
79412010-11-04 Luis Machado <luisgpm@br.ibm.com>
7942
7943 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7944 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7945
c0dde15b
UD
79462010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7947
7948 [BZ #12191]
7949 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7950 (__x86_64_raw_data_cache_size_half): Likewise.
7951 (__x86_64_raw_shared_cache_size): Likewise.
7952 (__x86_64_raw_shared_cache_size_half): Likewise.
7953
7954 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7955 (__x86_64_raw_data_cache_size_half): Likewise.
7956 (__x86_64_raw_shared_cache_size): Likewise.
7957 (__x86_64_raw_shared_cache_size_half): Likewise.
7958 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7959 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7960 and __x86_64_raw_shared_cache_size_half. Round
7961 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7962 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7963 to multiple of 256 bytes.
7964
0e516e0e
MS
79652010-11-03 Ulrich Drepper <drepper@gmail.com>
7966
7967 [BZ #12167]
7968 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7969 of inacessible symlinks. Verify result of symlink before returning it.
7970 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7971 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7972
0e012e87
ER
79732010-10-28 Erich Ritz <erichritz@gmail.com>
7974
7975 * math/math.h (isinf): Fix typo in comment.
7976
de0ff7bc
UD
79772010-11-01 Ulrich Drepper <drepper@gmail.com>
7978
7979 * po/da.po: Update from translation team.
7980
fa41c84d
UD
79812010-10-26 Ulrich Drepper <drepper@gmail.com>
7982
7983 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7984 is added to the list.
7985
f0967738
AK
79862010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7987 Ulrich Drepper <drepper@gmail.com>
7988
7989 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7990 the global list here. Move code to...
7991 (_dl_add_to_namespace_list): ...here. New function.
7992 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7993 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7994 * elf/dl-load.c (lose): Don't remove the element from the list.
7995 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7996 (_dl_map_object): Likewise.
7997
79982010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
7999
8000 [BZ #12159]
8001 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8002 into all bytes of SSE register.
8003 Patch by Richard Li <richardpku@gmail.com>.
8004
f0967738 80052010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
8006
8007 [BZ #12140]
8008 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8009 perturbing.
8010
d0b9e94f
MB
80112010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8012
8013 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8014 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8015 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8016 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8018 submachine.
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8020
8e9f92e9
AS
80212010-10-22 Andreas Schwab <schwab@redhat.com>
8022
8023 * include/dlfcn.h (__RTLD_SECURE): Define.
8024 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8025 mode & __RTLD_SECURE instead.
8026 (open_path): Rename preloaded parameter to secure.
8027 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8028 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8029 * elf/dl-deps.c (openaux): Likewise.
8030 * elf/rtld.c (struct map_args): Remove is_preloaded.
8031 (map_doit): Don't use it.
8032 (dl_main): Likewise.
8033 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8034 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8035
bc96fbda
AS
80362010-09-09 Andreas Schwab <schwab@redhat.com>
8037
8038 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8039 (sysd-rules-targets): Remove duplicates.
8040 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8041 rtld-%.$o dependency.
8042
22cd1c9b
AS
80432010-10-18 Andreas Schwab <schwab@redhat.com>
8044
8045 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8046 _dl_map_object do it.
8047
18edac48
UD
80482010-10-19 Ulrich Drepper <drepper@gmail.com>
8049
8050 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8051 fast fma builtins, define the macros in the C99 standard.
8052 (FP_FAST_FMAF): Likewise.
8053 (FP_FAST_FMAL): Likewise.
8054 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8055
8056 * bits/mathdef.h: Update copyright year.
8057 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8058
d2050124
MM
80592010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8060
8061 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8062 builtins, define the macros in the C99 standard.
8063 (FP_FAST_FMAF): Likewise.
8064 (FP_FAST_FMAL): Likewise.
8065 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8066 multiply/add.
8067 (FP_FAST_FMAF): Likewise.
8068
475facd1
JJ
80692010-10-15 Jakub Jelinek <jakub@redhat.com>
8070
8071 [BZ #3268]
8072 * math/libm-test.inc (fma_test): Some new testcases.
8073 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8074 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8075 y and infinite z. Do multiplication by C already in long double.
8076 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8078 y and infinite z. Do bitwise or of inexact bit into u.d.
8079 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8080 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8081 * sysdeps/i386/fpu/s_fma.S: Removed.
8082 * sysdeps/i386/fpu/s_fmal.S: Removed.
8083
7c08a05c
JJ
80842010-10-16 Jakub Jelinek <jakub@redhat.com>
8085
8086 [BZ #3268]
8087 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8088 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8089 computation is not scheduled after fetestexcept. Fix value
8090 of minimum denormal long double.
8091
f3f7372d
JJ
80922010-10-14 Jakub Jelinek <jakub@redhat.com>
8093
8094 [BZ #3268]
8095 * math/libm-test.inc (fma_test): Add some more tests.
8096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8097 correctly.
8098
14d43591
AS
80992010-10-15 Andreas Schwab <schwab@redhat.com>
8100
8101 * scripts/data/localplt-s390-linux-gnu.data: New file.
8102 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8103
5e908464
JJ
81042010-10-13 Jakub Jelinek <jakub@redhat.com>
8105
8106 [BZ #3268]
8107 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8108 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8109 instead of dbl-64.
8110 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8111 inlines.
8112 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8114 if one of x and y is very large and the other is subnormal.
8115 * sysdeps/s390/fpu/s_fmaf.c: New file.
8116 * sysdeps/s390/fpu/s_fma.c: New file.
8117 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8118 * sysdeps/powerpc/fpu/s_fma.S: New file.
8119 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8120 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8121 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8122
81232010-10-12 Jakub Jelinek <jakub@redhat.com>
8124
8125 [BZ #3268]
8126 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8127 fma tests.
8128 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8129 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8130 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8131 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8132 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8133 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8134 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8135
b833d51f
UD
81362010-10-12 Ulrich Drepper <drepper@redhat.com>
8137
8138 [BZ #12078]
8139 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8140 * posix/bug-regex31.input: Add test case.
8141
1751705d
UD
81422010-10-11 Ulrich Drepper <drepper@gmail.com>
8143
e9b9cbf5
UD
8144 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8145 * posix/bug-regex31.input: New file.
8146
8147 [BZ #12078]
8148 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8149 (parse_sub_exp): Fix last change, use postorder.
8150
ef06edbe
UD
8151 * posix/bug-regex31.c: New file.
8152 * posix/Makefile: Add rules to build and run bug-regex31.
8153
a129c80d
UD
8154 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8155
8156 [BZ #12078]
8157 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8158
b76b818e
UD
8159 [BZ #12108]
8160 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8161 to have entries in sys_siglist.
8162
1751705d
UD
8163 [BZ #12093]
8164 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8165 be NULL.
8166
9ff8d36f
JJ
81672010-10-07 Jakub Jelinek <jakub@redhat.com>
8168
8169 [BZ #3268]
8170 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8171 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8172 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8173 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8174 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8175 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8176 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8177 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8178 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8179 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8180 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8181 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8182 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8183 * math/ftestexcept.c (fetestexcept): Likewise.
8184 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8185 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8186 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8187 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8188 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8189 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8190 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8191
af325969
UD
81922010-10-11 Ulrich Drepper <drepper@gmail.com>
8193
c579b202 8194 [BZ #12107]
af325969
UD
8195 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8196 newline.
8197
67a67b95
UD
81982010-10-06 Ulrich Drepper <drepper@gmail.com>
8199
8200 * string/bug-strstr1.c: New file.
8201 * string/Makefile: Add rules to build and run bug-strstr1.
8202
5fb308bc
EB
82032010-10-05 Eric Blake <eblake@redhat.com>
8204
8205 [BZ #12092]
8206 * string/str-two-way.h (two_way_long_needle): Always clear memory
8207 when skipping input due to the shift table.
8208
45db99c7
UD
82092010-10-03 Ulrich Drepper <drepper@gmail.com>
8210
3b111893
UD
8211 [BZ #12005]
8212 * malloc/mcheck.c: Handle large requests.
8213
45db99c7
UD
8214 [BZ #12077]
8215 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8216 for strncmp and strncasecmp.
8217 * string/stratcliff.c: Add tests for strcmp and strncmp.
8218 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8219
cf7a1eb8
NI
82202010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8221
8222 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8223 __set_fpscr.
8224
6484ba5e
AJ
82252010-09-30 Andreas Jaeger <aj@suse.de>
8226
8227 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8228 (CGROUP_SUPER_MAGIC): Define.
8229 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8230 Handle btrfs and cgroup file systems.
8231 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8232 Likewise.
8233
91c42559
LM
82342010-09-27 Luis Machado <luisgpm@br.ibm.com>
8235
8236 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8237 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8238
87a97932
AK
82392010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8240
8241 [BZ #12067]
8242 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8243 trying to locate the ELF header.
8244
c21cc9bc
AS
82452010-09-27 Andreas Schwab <schwab@redhat.com>
8246
8247 [BZ #11611]
8248 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8249 Mask out sign-bit copies when constructing f_fsid.
8250
315970f6
PB
82512010-09-24 Petr Baudis <pasky@suse.cz>
8252
8253 * debug/stack_chk_fail_local.c: Add missing licence exception.
8254 * debug/warning-nop.c: Likewise.
8255
1ac7a2c7
JM
82562010-09-15 Joseph Myers <joseph@codesourcery.com>
8257
8258 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8259 implementing getdents64 using getdents syscall, set d_type if
8260 __ASSUME_GETDENTS32_D_TYPE.
8261
56801c50
AS
82622010-09-16 Andreas Schwab <schwab@redhat.com>
8263
8264 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8265 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8266
dda51327
UD
82672010-09-21 Ulrich Drepper <drepper@redhat.com>
8268
8269 [BZ #12037]
8270 * posix/unistd.h: Undo change of feature selection for ftruncate from
8271 2010-01-11.
8272
8ffcee4a
UD
82732010-09-20 Ulrich Drepper <drepper@redhat.com>
8274
a545ecd9 8275 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8276 detection.
8277
e24f0a8b
AS
82782010-09-20 Andreas Schwab <schwab@redhat.com>
8279
8280 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8281 fanotify_mark.
8282 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8283
7291c56f
AS
82842010-09-14 Andreas Schwab <schwab@redhat.com>
8285
8286 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8287 variables after CHECK_SP call.
8288 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8289
bc5fb037
AS
82902010-09-13 Andreas Schwab <schwab@redhat.com>
8291 Ulrich Drepper <drepper@redhat.com>
8292
8293 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8294 re-relocationg ld.so.
8295 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8296 _dl_init_paths call.
8297 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8298 here anymore.
8299
e66e7419
UD
83002010-09-14 Ulrich Drepper <drepper@redhat.com>
8301
8302 * resolv/res_init.c (__res_vinit): Count the default server we added.
8303
c044aa75
CLT
83042010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8305 Ulrich Drepper <drepper@redhat.com>
8306
8307 [BZ #11968]
8308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8309 (____longjmp_chk): Use %ebx for saving value across system call.
8310 Add unwind info.
8311
32cf4069
AS
83122010-09-06 Andreas Schwab <schwab@redhat.com>
8313
8314 * manual/Makefile: Don't mix pattern rules with normal rules.
8315
817328ee
AS
83162010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8317
8318 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8319 operation.
8320 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8321 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8322 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8323 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8325 Likewise.
8326
29fddf61
UD
83272010-09-04 Ulrich Drepper <drepper@redhat.com>
8328
8329 [BZ #11979]
8330 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8331 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8332
0959ffc9
UD
83332010-09-02 Ulrich Drepper <drepper@redhat.com>
8334
8335 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8336 * sysdeps/x86_64/addmul_1.S: Likewise.
8337 * sysdeps/x86_64/lshift.S: Likewise.
8338 * sysdeps/x86_64/mul_1.S: Likewise.
8339 * sysdeps/x86_64/rshift.S: Likewise.
8340 * sysdeps/x86_64/sub_n.S: Likewise.
8341 * sysdeps/x86_64/submul_1.S: Likewise.
8342
ece29840
ST
83432010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8344
0959ffc9
UD
8345 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8346 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8347 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8348 * bits/sched.h [__need_schedparam]
ece29840 8349 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8350 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8351 (__defined_schedparam): Define to 1.
ece29840
ST
8352 (__sched_param): New structure, identical to sched_param.
8353 (__need_schedparam): Undefine.
8354
e53a31fe
MF
83552010-08-31 Mike Frysinger <vapier@gentoo.org>
8356
fdc0c10d
MF
8357 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8358 (epoll_create1): Declare.
8359
e53a31fe
MF
8360 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8361
a726d796
AS
83622010-08-31 Andreas Schwab <schwab@redhat.com>
8363
8364 [BZ #7066]
8365 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8366 shifting retval into place.
8367
2f3e3dc7
UD
83682010-09-01 Ulrich Drepper <drepper@redhat.com>
8369
f2933da9
UD
8370 * nis/rpcsvc/nis.h: Update copyright notice.
8371 * nis/rpcsvc/nis.x: Likewise.
8372 * nis/rpcsvc/nis_callback.h: Likewise.
8373 * nis/rpcsvc/nis_callback.x: Likewise.
8374 * nis/rpcsvc/nis_object.x: Likewise.
8375 * nis/rpcsvc/nis_tags.h: Likewise.
8376 * nis/rpcsvc/yp.h: Likewise.
8377 * nis/rpcsvc/yp.x: Likewise.
8378 * nis/rpcsvc/ypupd.h: Likewise.
8379 * nis/yp_xdr.c: Likewise.
8380 * nis/ypupdate_xdr.c: Likewise.
8381
2f3e3dc7
UD
8382 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8383 mainly the body of pmap_getport. Add parameters to specify timeouts.
8384 (pmap_getport): Use __libc_rpc_getport.
8385 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8386 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8387 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8388
f3dcc2f9
AS
83892010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8390
8391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8392 fanotify_mark.
8393
6d34eb5b
RM
83942010-08-27 Roland McGrath <roland@redhat.com>
8395
8396 * sysdeps/i386/i686/multiarch/Makefile
8397 (CFLAGS-varshift.c): New variable.
8398
9ea3de11
UD
83992010-08-27 Ulrich Drepper <drepper@redhat.com>
8400
c96d23fc
UD
8401 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8402 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8403
9ea3de11
UD
8404 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8405
8406 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8407
623aac7f
L
84082010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8409
8410 * sysdeps/x86_64/strlen.S: Unroll the loop.
8411 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8412 strlen-sse2 strlen-sse2-bsf.
8413 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8414 __strlen_no_bsf if bit_Slow_BSF is set.
8415 (__strlen_sse42): Removed.
8416 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8417 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8418
8b2b7715
RM
84192010-08-25 Roland McGrath <roland@redhat.com>
8420
8421 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8422 * sysdeps/x86_64/multiarch/varshift.c: New file.
8423 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8424 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8425 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8426 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8427
e73015f2
L
84282010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8429
8430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8431 strlen-sse2 strlen-sse2-bsf.
8432 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8433 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8434 (__strlen_sse2): Removed.
8435 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8436 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8438 bit_Slow_BSF for Atom.
8439 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8440 (index_Slow_BSF): Define.
8441 (HAS_SLOW_BSF): Define.
8442
df24a73e
UD
84432010-08-25 Ulrich Drepper <drepper@redhat.com>
8444
8445 [BZ #10851]
8446 * resolv/res_init.c (__res_vinit): When no server address at all
8447 is given default to loopback.
8448
f2ac4868
RM
84492010-08-24 Roland McGrath <roland@redhat.com>
8450
09055553
RM
8451 * configure.in: Remove config-name.h generation.
8452 * configure: Regenerated.
8453 * config-name.in: File removed.
8454 * scripts/config-uname.sh: New file.
8455 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8456 ($(objdir)config-name.h): New target.
8457
f2ac4868
RM
8458 * sunrpc/rpc_parse.h: Avoid nested comment.
8459
73f27d5e
RH
84602010-08-24 Richard Henderson <rth@redhat.com>
8461 Ulrich Drepper <drepper@redhat.com>
8462 H.J. Lu <hongjiu.lu@intel.com>
8463
8464 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8466 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8467 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8468 _mm_alignr_epi8 with _mm_loadu_si128.
8469 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8470 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8471 (__m128i_shift_right): Removed.
8472 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8473 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8474 * sysdeps/x86_64/multiarch/varshift.h: New file.
8475 * sysdeps/x86_64/multiarch/varshift.S: New file.
8476
84b9230c
MF
84772010-08-21 Mike Frysinger <vapier@gentoo.org>
8478
8479 * configure.in: Move assembler checks to before sysdep dir checking.
8480
9bbd0ddc
PB
84812010-08-20 Petr Baudis <pasky@suse.cz>
8482
8483 * LICENSES: Sync the sunrpc license.
8484
9da4bb31
UD
84852010-08-19 Ulrich Drepper <drepper@redhat.com>
8486
a7ab6ec8
UD
8487 * sunrpc/auth_des.c: Update copyright notice once again.
8488 * sunrpc/auth_none.c: Likewise.
8489 * sunrpc/auth_unix.c: Likewise.
8490 * sunrpc/authdes_prot.c: Likewise.
8491 * sunrpc/authuxprot.c: Likewise.
8492 * sunrpc/bindrsvprt.c: Likewise.
8493 * sunrpc/clnt_gen.c: Likewise.
8494 * sunrpc/clnt_perr.c: Likewise.
8495 * sunrpc/clnt_raw.c: Likewise.
8496 * sunrpc/clnt_simp.c: Likewise.
8497 * sunrpc/clnt_tcp.c: Likewise.
8498 * sunrpc/clnt_udp.c: Likewise.
8499 * sunrpc/clnt_unix.c: Likewise.
8500 * sunrpc/des_crypt.c: Likewise.
8501 * sunrpc/des_soft.c: Likewise.
8502 * sunrpc/get_myaddr.c: Likewise.
8503 * sunrpc/getrpcport.c: Likewise.
8504 * sunrpc/key_call.c: Likewise.
8505 * sunrpc/key_prot.c: Likewise.
8506 * sunrpc/openchild.c: Likewise.
8507 * sunrpc/pm_getmaps.c: Likewise.
8508 * sunrpc/pm_getport.c: Likewise.
8509 * sunrpc/pmap_clnt.c: Likewise.
8510 * sunrpc/pmap_prot.c: Likewise.
8511 * sunrpc/pmap_prot2.c: Likewise.
8512 * sunrpc/pmap_rmt.c: Likewise.
8513 * sunrpc/rpc/auth.h: Likewise.
8514 * sunrpc/rpc/auth_unix.h: Likewise.
8515 * sunrpc/rpc/clnt.h: Likewise.
8516 * sunrpc/rpc/des_crypt.h: Likewise.
8517 * sunrpc/rpc/key_prot.h: Likewise.
8518 * sunrpc/rpc/netdb.h: Likewise.
8519 * sunrpc/rpc/pmap_clnt.h: Likewise.
8520 * sunrpc/rpc/pmap_prot.h: Likewise.
8521 * sunrpc/rpc/pmap_rmt.h: Likewise.
8522 * sunrpc/rpc/rpc.h: Likewise.
8523 * sunrpc/rpc/rpc_des.h: Likewise.
8524 * sunrpc/rpc/rpc_msg.h: Likewise.
8525 * sunrpc/rpc/svc.h: Likewise.
8526 * sunrpc/rpc/svc_auth.h: Likewise.
8527 * sunrpc/rpc/types.h: Likewise.
8528 * sunrpc/rpc/xdr.h: Likewise.
8529 * sunrpc/rpc_clntout.c: Likewise.
8530 * sunrpc/rpc_cmsg.c: Likewise.
8531 * sunrpc/rpc_common.c: Likewise.
8532 * sunrpc/rpc_cout.c: Likewise.
8533 * sunrpc/rpc_dtable.c: Likewise.
8534 * sunrpc/rpc_hout.c: Likewise.
8535 * sunrpc/rpc_main.c: Likewise.
8536 * sunrpc/rpc_parse.c: Likewise.
8537 * sunrpc/rpc_parse.h: Likewise.
8538 * sunrpc/rpc_prot.c: Likewise.
8539 * sunrpc/rpc_sample.c: Likewise.
8540 * sunrpc/rpc_scan.c: Likewise.
8541 * sunrpc/rpc_scan.h: Likewise.
8542 * sunrpc/rpc_svcout.c: Likewise.
8543 * sunrpc/rpc_tblout.c: Likewise.
8544 * sunrpc/rpc_util.c: Likewise.
8545 * sunrpc/rpc_util.h: Likewise.
8546 * sunrpc/rpcinfo.c: Likewise.
8547 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8548 * sunrpc/rpcsvc/key_prot.x: Likewise.
8549 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8550 * sunrpc/rpcsvc/mount.x: Likewise.
8551 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8552 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8553 * sunrpc/rpcsvc/rex.x: Likewise.
8554 * sunrpc/rpcsvc/rstat.x: Likewise.
8555 * sunrpc/rpcsvc/rusers.x: Likewise.
8556 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8557 * sunrpc/rpcsvc/spray.x: Likewise.
8558 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8559 * sunrpc/rtime.c: Likewise.
8560 * sunrpc/svc.c: Likewise.
8561 * sunrpc/svc_auth.c: Likewise.
8562 * sunrpc/svc_authux.c: Likewise.
8563 * sunrpc/svc_raw.c: Likewise.
8564 * sunrpc/svc_run.c: Likewise.
8565 * sunrpc/svc_simple.c: Likewise.
8566 * sunrpc/svc_tcp.c: Likewise.
8567 * sunrpc/svc_udp.c: Likewise.
8568 * sunrpc/svc_unix.c: Likewise.
8569 * sunrpc/svcauth_des.c: Likewise.
8570 * sunrpc/xcrypt.c: Likewise.
8571 * sunrpc/xdr.c: Likewise.
8572 * sunrpc/xdr_array.c: Likewise.
8573 * sunrpc/xdr_float.c: Likewise.
8574 * sunrpc/xdr_mem.c: Likewise.
8575 * sunrpc/xdr_rec.c: Likewise.
8576 * sunrpc/xdr_ref.c: Likewise.
8577 * sunrpc/xdr_sizeof.c: Likewise.
8578 * sunrpc/xdr_stdio.c: Likewise.
8579
9da4bb31
UD
8580 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8581 handling.
8582
bdaa77bc
AS
85832010-08-19 Andreas Schwab <schwab@redhat.com>
8584
8585 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8586
fe2f79db
LM
85872010-08-19 Luis Machado <luisgpm@br.ibm.com>
8588
8589 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8590 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8591 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8592 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8593 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8594 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8595 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8596 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8597 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8598 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8599 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8600 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8601 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8602 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8603
b9b42ee0
AB
86042010-07-26 Anton Blanchard <anton@samba.org>
8605
8606 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8607 * malloc/arena.c (heap_trim): Likewise.
8608
1c06ba31
UD
86092010-08-16 Ulrich Drepper <drepper@redhat.com>
8610
8611 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8612 here. Not...
8613 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8614 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8615
f8392f40
L
86162010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8617
8618 * sysdeps/i386/elf/Makefile: New file.
8619
3162f12e
AS
86202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8621
8622 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8623 from fanotify_init.
8624 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8625 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8626
28c90b2c
UD
86272010-08-15 Ulrich Drepper <drepper@redhat.com>
8628
8629 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8630 of strncasecmp_l.
1feccb6c 8631 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 8632
ca6bb004
UD
86332010-08-14 Ulrich Drepper <drepper@redhat.com>
8634
e9f82e0d
UD
8635 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8636 strncase_l-nonascii.
8637 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8638 Add strncase_l-ssse3.
8639 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8640 * sysdeps/x86_64/strcmp.S: Likewise.
8641 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8642 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8643 * sysdeps/x86_64/strncase.S: New file.
8644 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8645 * sysdeps/x86_64/strncase_l.S: New file.
8646 * string/Makefile (strop-tests): Add strncasecmp.
8647 * string/test-strncasecmp.c: New file.
8648
8649 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8650 warning.
8651
ca6bb004
UD
8652 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8653 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8654
052fa7b3
AS
86552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8656
8657 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8658
962dba78
UD
86592010-08-12 Ulrich Drepper <drepper@redhat.com>
8660
8661 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8662 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8663 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8664
bebff237
AM
86652010-05-01 Alan Modra <amodra@gmail.com>
8666
8667 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8668 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8669 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8670 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8671 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8672 tidying. Don't tail-call __sigjmp_save for static lib.
8673 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8674 save location.
8675 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8676 (CALL_MCOUNT): Add eh info, and nop after bl.
8677 (TAIL_CALL_SYSCALL_ERROR): New macro.
8678 (PSEUDO_RET): Use it.
8679 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8680 Correct save location of integer regs and cr.
8681 (_dl_profile_resolve): Correct cr save location. Delete nops
8682 after bl when SHARED. Reduce cfi size a little by better
8683 placement of cfi directives.
8684 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8685 make a stack frame. Instead use parm save area as a temp.
8686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8687 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8689 Don't make a stack frame for parent, use parm save area.
8690 Increase child stack frame to 112 bytes. Don't save unused reg,
8691 and adjust reg usage. Set up cfi on error recovery and
8692 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8694 (__makecontext): Add dummy nop after jump to exit.
8695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8696 Use correct parm save area and cr save, reduce stack frame.
8697 Correct cfi for possible PSEUDO_RET frame setup.
8698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8699 Branch to local label emitted by PSEUDO_RET rather than
8700 __syscall_error.
8701
02637374
AS
87022010-08-12 Andreas Schwab <schwab@redhat.com>
8703
8704 [BZ #11904]
8705 * locale/programs/locale.c (print_assignment): New function.
8706 (show_locale_vars): Use it.
8707
c3e2f19b
UD
87082010-08-11 Ulrich Drepper <drepper@redhat.com>
8709
3cdaa6ad
UD
8710 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8711 field.
8712 (struct statfs64): Likewise.
8713 (_STATFS_F_FLAGS): Define.
8714 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8715 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8716 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8717 (ST_VALID): Define locally.
8718 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8719 __statvfs_getflags, use the provided value.
8720 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8721 __ASSUME_STATFS_F_FLAGS.
8722
754f7da3
UD
8723 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8724
10b3bedc
UD
8725 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8726 Add sys/fanotify.h.
8727 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8728 fanotify_mask for GLIBC_2.13.
8729 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8730 fanotify_init and fanotify_mark.
8731 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8732 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8733
c08fb0d7
UD
8734 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8735 Add prlimit.
8736 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8737 prlimit64 for GLIBC_2.13.
8738 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8739 prlimit64.
8740 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8741 syscall.
8742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8743 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8744 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8745 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8746 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8747 add prlimit alias.
8748 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8749
15bac72b
UD
8750 [BZ #11903]
8751 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8752 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8753
c3e2f19b
UD
8754 * nss/Makefile: Add rules to build and run tst-nss-test1.
8755 * shlib-versions: Add entry for libnss_test1.
8756 * nss/nss_test1.c: New file.
8757 * nss/tst-nss-test1.c: New file.
8758
8759 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8760 (__nss_configure_lookup): Set appropriate entry in
8761 __nss_configure_lookup to true.
8762 * nss/nsswitch.h: Define enum with indeces of databases in
8763 databases and __nss_database_custom arrays. Declare
8764 __nss_database_custom.
8765 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8766 to avoid using nscd when custom rules are installed.
8767 * nss/getXXbyYY_r.c: Likewise.
8768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8769
8770 * nss/nss_files/files-parse.c: Whitespace fixes.
8771
f15ce4d8
UD
87722010-08-09 Ulrich Drepper <drepper@redhat.com>
8773
8774 [BZ #11883]
8775 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8776 * posix/fnmatch_loop.c: Likewise.
8777
d22e4cc9
AK
87782010-07-17 Andi Kleen <ak@linux.intel.com>
8779
8780 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8781 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8782 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8783 * Versions.def [GLIBC_2.13]: Add.
8784
805bc17d
UD
87852010-08-06 Ulrich Drepper <drepper@redhat.com>
8786
8787 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8788 Also fail if tpwd after pwuid call is NULL.
8789
5a42321d
ST
87902010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8791
8792 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8793 when converting to ms.
8794
fd3ebeda
ST
87952010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8796
8797 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8798 EOPNOTSUPP errors with ENOTTY.
8799 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8800 EOPNOTSUPP errors with ENOTTY.
8801
73507d3a
UD
88022010-07-31 Ulrich Drepper <drepper@redhat.com>
8803
8804 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8805 Add strcasecmp_l-ssse3.
8806 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8807 strcasecmp.
8808 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8809 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8810 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8811
fe36dd02
UD
88122010-07-30 Ulrich Drepper <drepper@redhat.com>
8813
66f6765a
UD
8814 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8815
42e08a54
UD
8816 * string/Makefile (strop-tests): Add strcasecmp.
8817 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8818 strcasecmp_l-nonascii.
8819 (gen-as-const-headers): Add locale-defines.sym.
8820 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8821 * sysdeps/x86_64/strcasecmp.S: New file.
8822 * sysdeps/x86_64/strcasecmp_l.S: New file.
8823 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8824 * sysdeps/x86_64/locale-defines.sym: New file.
8825 * string/test-strcasecmp.c: New file.
8826
fe36dd02
UD
8827 * string/test-strcasestr.c: Test both ends of the range of characters.
8828 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8829
48cbc0d6
RM
88302010-07-29 Roland McGrath <roland@redhat.com>
8831
76e6d6bc 8832 [BZ #11856]
48cbc0d6
RM
8833 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8834
880113d9
UD
88352010-07-27 Ulrich Drepper <drepper@redhat.com>
8836
8837 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8838 for ld.so.
8839
deb9cabb
AS
88402010-07-27 Andreas Schwab <schwab@redhat.com>
8841
8842 * manual/memory.texi (Malloc Tunable Parameters): Document
8843 M_PERTURB.
8844
1c7570ff
RM
88452010-07-26 Roland McGrath <roland@redhat.com>
8846
8847 [BZ #11840]
8848 * configure.in (-fgnu89-inline check): Set and substitute
8849 gnu89_inline, not libc_cv_gnu89_inline.
8850 * configure: Regenerated.
8851 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8852
24fb0f88
UD
88532010-07-26 Ulrich Drepper <drepper@redhat.com>
8854
8855 * string/test-strnlen.c: New file.
8856 * string/Makefile (strop-tests): Add strnlen.
8857 * string/tester.c (test_strnlen): Add a few more test cases.
8858 * string/tst-strlen.c: Better error reporting.
8859
8860 * sysdeps/x86_64/strnlen.S: New file.
8861
8e96b93a
UD
88622010-07-24 Ulrich Drepper <drepper@redhat.com>
8863
8864 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8865 lower-latency instructions.
8866
dbc676d4
UD
88672010-07-23 Ulrich Drepper <drepper@redhat.com>
8868
8869 * string/test-strcasestr.c: New file.
8870 * string/test-strstr.c: New file.
8871 * string/Makefile (strop-tests): Add strstr and strcasestr.
8872 * string/str-two-way.h: Don't undefine MAX.
8873 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8874
f6a31e0e
AS
88752010-07-21 Andreas Schwab <schwab@redhat.com>
8876
8877 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8878 strcasestr-nonascii.
8879 (CFLAGS-strcasestr-nonascii.c): Define.
8880 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8881 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8882 Remove unused attribute.
8883
5dbc3b6c
RM
88842010-07-20 Roland McGrath <roland@redhat.com>
8885
8886 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8887 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8888 ld.so.cache was broken. With it, there is no way to disable dsocaps
8889 like LD_HWCAP_MASK can disable hwcaps.
8890
23d101d8
EPM
88912010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8892
8893 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8894
cc9f2e47
UD
88952010-07-16 Ulrich Drepper <drepper@redhat.com>
8896
8897 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8898 call in strcasestr.
8899 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8900 __strcasestr_sse42_nonascii.
8901 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8902 strcasestr-nonascii.c.
8903 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8904
77c1b069
LM
89052010-06-15 Luis Machado <luisgpm@br.ibm.com>
8906
8907 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8908 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8909 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8910 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8911
440566c3
UD
89122010-07-09 Ulrich Drepper <drepper@redhat.com>
8913
8914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8915 fcntl.
8916
5be9d05d
AS
89172010-07-06 Andreas Schwab <schwab@redhat.com>
8918
c30b7ee2 8919 [BZ #11577]
5be9d05d
AS
8920 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8921 dl_signal_cerror.
8922
8a492a67
UD
89232010-07-06 Ulrich Drepper <drepper@redhat.com>
8924
8925 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8926 _PC_PIPE_BUF using F_GETPIPE_SZ.
8927
713df3d5
RM
89282010-07-05 Roland McGrath <roland@redhat.com>
8929
8930 * manual/arith.texi (Rounding Functions): Fix rint description
8931 implicit in round description.
8932
702e8f14
UD
89332010-07-02 Ulrich Drepper <drepper@redhat.com>
8934
8935 * elf/Makefile: Fix linking for a few tests to make recent linker
8936 happy.
8937
52ed8be9
AS
89382010-06-30 Andreas Schwab <schwab@redhat.com>
8939
8940 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8941 $(common-objpfx)libc_nonshared.a.
8942
f47c9a11
LM
89432010-06-21 Luis Machado <luisgpm@br.ibm.com>
8944
8945 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8946 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8947 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8948 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8949 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8950 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8951 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8952 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8967 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8968 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8969 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8970 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8971 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8972 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8973 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8974 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8975 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8976 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8977 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8978 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8993
6fb8cbcb
L
89942010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8995
8996 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8997 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8998 * string/memmove.c (memmove): Renamed to ...
8999 (MEMMOVE): ...this. Default to memmove.
9000 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9001 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9002 (END_CHK): Define.
9003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9004 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9005 mempcpy-ssse3-back memmove-ssse3-back.
9006 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9007 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9008 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9009 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9010 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9011 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9012 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9013 * sysdeps/x86_64/multiarch/memmove.c: New file.
9014 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9015 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9016 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9017 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9018 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9019 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9020 Define.
9021 (index_Fast_Copy_Backward): Define.
9022 (HAS_ARCH_FEATURE): Define.
9023 (HAS_FAST_REP_STRING): Define.
9024 (HAS_FAST_COPY_BACKWARD): Define.
9025
4e733bac 90262010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
9027
9028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9029 Restore proper fallback handling.
9030
63c4ed22
UD
90312010-06-19 Ulrich Drepper <drepper@redhat.com>
9032
ac2b484c
UD
9033 [BZ #11701]
9034 * posix/group_member.c (__group_member): Correct checking loop.
9035
63c4ed22
UD
9036 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9037 OOM in getpwuid_r correctly. Return error number when the caller
9038 should return, otherwise -1.
9039 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9040 call returning > 0 value.
9041 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9042
765ade4b
AS
90432010-06-07 Andreas Schwab <schwab@redhat.com>
9044
9045 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9046 libc_nonshared.a from targets in modules-names.
9047
80da2e09
KS
90482010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9049
9050 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9051 requires it.
9052
158db122
LM
90532010-06-10 Luis Machado <luisgpm@br.ibm.com>
9054
9055 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9056 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9057 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9059
caa78cf8
AS
90602010-06-02 Andreas Schwab <schwab@redhat.com>
9061
9062 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9063
b2ef2c01
UD
90642010-06-14 Ulrich Drepper <drepper@redhat.com>
9065
9066 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9067 and F_GETPIPE_SZ.
9068 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9070 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9072 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9073 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9074
fbd643b6
RM
90752010-06-14 Roland McGrath <roland@redhat.com>
9076
9077 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9078
f32f2869
JJ
90792010-06-07 Jakub Jelinek <jakub@redhat.com>
9080
9081 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9082 __REDIRECT followed by __THROW.
9083 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9084 * posix/getopt.h (getopt): Likewise.
9085
2a50c078
EPM
90862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9087
9088 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9089 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9090 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9091 in AT_FLAGS.
9092 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9093 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9094
eb5ad2eb
LM
90952010-05-28 Luis Machado <luisgpm@br.ibm.com>
9096
9097 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9098
3c88fe1e
L
90992010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9100
9101 [BZ #11640]
9102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9103 Properly check family and model.
9104
d2f73151
TY
91052010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9106
9107 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9108
ebd2e13d
LM
91092010-05-24 Luis Machado <luisgpm@br.ibm.com>
9110
9111 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9112
b32b8b45
UD
91132010-05-21 Ulrich Drepper <drepper@redhat.com>
9114
9115 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9116 symbol reference.
9117
9acbe24d
AS
91182010-05-19 Andreas Schwab <schwab@redhat.com>
9119
9120 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9121 symbol reference.
9122
f0ccf6ea
AS
91232010-05-21 Andreas Schwab <schwab@redhat.com>
9124
3d04ff3a
AS
9125 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9126 and internal_recvmmsg.
9127 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9128 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9129 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9130 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9131
f0ccf6ea
AS
9132 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9133 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9134 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9135
5b08ac57
AS
91362010-05-20 Andreas Schwab <schwab@redhat.com>
9137
9138 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9139
4828935d
LM
91402010-05-17 Luis Machado <luisgpm@br.ibm.com>
9141
9142 POWER7 optimizations.
9143 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9144 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9145
373d545e
UD
91462010-05-19 Ulrich Drepper <drepper@redhat.com>
9147
9148 * version.h: Update for 2.13 development version.
9149
21a2b1ae
AS
91502010-05-12 Andrew Stubbs <ams@codesourcery.com>
9151
9152 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9153 exceptions. Return 0.
9154
3f7dcb2b
RM
91552010-05-07 Roland McGrath <roland@redhat.com>
9156
9157 * elf/ldconfig.c (main): Add a const.
9158
5f24d53a 91592010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9160
a160f8d8
UD
9161 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9162 (args_options): Add no-idn option.
9163 (ahosts_keys_int): Add idn_flags to ai_flags.
9164 (parse_option): Handle 'i' option to clear idn_flags.
9165
5f24d53a
UD
9166 * malloc/malloc.c (_int_free): Possible race in the most recently
9167 added check. Only act on the data if no current modification
9168 happened.
265bb1ce
UD
9169
9170See ChangeLog.17 for earlier changes.