]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use target-specific math_private.h in math_ldbl_opt.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
38842f45
RH
12012-03-08 Richard Henderson <rth@twiddle.net>
2
3 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4 not <math/math_private.h>.
5
c64bf5fe
DM
62012-03-08 David S. Miller <davem@davemloft.net>
7
8 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9 copyright year.
10 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11
82d86f28
TS
122012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13
14 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15 normalization.
16 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18
aea5d727
UD
192012-03-08 Ulrich Drepper <drepper@gmail.com>
20
21 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22 be defined individually, they must be defined as a block. Define
23 S for printing a string instead of hidint the different by using a
24 macro for adding the 'l'.
25 * stdio-common/tst-fphex-wide.c: Adjust.
26
70bca0a3
MP
272012-03-07 Marek Polacek <polacek@redhat.com>
28
29 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30
65b81130
MP
312012-03-08 Marek Polacek <polacek@redhat.com>
32
33 [BZ #13806]
34 * stdio-common/Makefile (tests): Add tst-fphex-wide.
35 * stdio-common/tst-fphex.c: Define a few macros to make the
36 test reusable. Use them.
37 * stdio-common/tst-fphex-wide.c: New file.
38
07037eeb
JM
392012-03-08 Joseph Myers <joseph@codesourcery.com>
40
a7a93d50
JM
41 [BZ #6911]
42 * manual/macros.texi (gnusystems): New macro.
43 (nongnusystems): Likewise.
44 (gnulinuxhurdsystems): Likewise.
45 (gnuhurdsystems): Likewise..
46 (gnulinuxsystems): Likewise.
47 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48 variants of the GNU system, not "GNU system".
49 * manual/conf.texi: Likewise.
50 * manual/errno.texi: Likewise. Update example of errno macro
51 expansion.
52 * manual/filesys.texi: Likewise.
53 (getumask): Document as specific to GNU/Hurd.
54 * manual/install.texi: Likewise. Reword some references to
55 GNU/Linux.
56 * manual/intro.texi: Likewise.
57 * manual/io.texi: Likewise.
58 (File Name Portability): Detail which constraints are inapplicable
59 to all GNU systems and which are only inapplicable to GNU/Hurd.
60 * manual/job.texi: Likewise.
61 * manual/llio.texi: Likewise.
62 (O_NOCTTY): Document as present on GNU/Linux.
63 * manual/maint.texi: Likewise.
64 * manual/memory.texi: Likewise.
65 * manual/pattern.texi: Likewise.
66 * manual/pipe.texi: Likewise.
67 * manual/process.texi: Likewise.
68 * manual/resource.texi: Likewise.
69 (RUSAGE_CHILDREN): Remove statement about specifying a particular
70 child on GNU/Hurd.
71 * manual/setjmp.texi: Likewise.
72 * manual/signal.texi: Likewise.
73 * manual/startup.texi: Likewise.
74 * manual/stdio.texi: Likewise.
75 * manual/terminal.texi: Likewise.
76 (ONLCR): Document as POSIX.
77 (OXTABS): Document availability on GNU/Linux as XTABS.
78 (ONOEOT): Document availability separately from other bits.
79 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
80 * manual/time.texi: Likewise.
81 * manual/users.texi: Likewise.
82 * INSTALL: Regenerated.
83 * sysdeps/gnu/errlist.c: Regenerated.
84
07037eeb
JM
85 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
86 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
88 puts.
89 * configure: Regenerated.
90
d1d3431a
JM
912012-03-07 Joseph Myers <joseph@codesourcery.com>
92
af6a1e37
JM
93 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
94 default includes instead of AC_HEADER_CHECK.
95 * sysdeps/i386/configure: Regenerated.
96
d1d3431a
JM
97 [BZ #10716]
98 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
99 * math/s_cacoshf.c (__cacoshf): Likewise.
100 * math/s_cacoshl.c (__cacoshl): Likewise.
101 * math/s_casinh.c (__casinh): Set signs of result from argument.
102 * math/s_casinhf.c (__casinhf): Likewise.
103 * math/s_casinhl.c (__casinhl): Likewise.
104 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
105 (casinh_test): Add more tests.
106 * sysdeps/i386/fpu/libm-test-ulps: Update.
107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
108
482ff4da
UD
1092012-03-07 Ulrich Drepper <drepper@gmail.com>
110
872fda05
UD
111 * po/zh_TW.po: Update from translation team.
112
a4300c7a
UD
113 * login/Makefile (distribute): Remove variable.
114 * catgets/Makefile: Likewise.
115 * mach/Makefile: Likewise.
116 * malloc/Makefile: Likewise.
117 * misc/Makefile: Likewise.
118 * iconv/Makefile: Likewise.
119 * nscd/Makefile: Likewise.
120 * hurd/Makefile: Likewise.
121 * manual/Makefile: Likewise.
122 * locale/Makefile: Likewise.
123 * intl/Makefile: Likewise.
124 * conform/Makefile: Likewise.
125 * nss/Makefile: Likewise.
126 * time/Makefile: Likewise.
127 * soft-fp/Makefile: Likewise.
128 * dirent/Makefile: Likewise.
129 * gmon/Makefile: Likewise.
130 * po/Makefile: Likewise.
131 * rt/Makefile: Likewise.
132 * socket/Makefile: Likewise.
133 * math/Makefile: Likewise.
134 * signal/Makefile: Likewise.
135 * debug/Makefile: Likewise.
136 * elf/Makefile: Likewise.
137 * timezone/Makefile: Likewise.
138 * stdlib/Makefile: Likewise.
139 * iconvdata/Makefile: Likewise.
140 * sunrpc/Makefile: Likewise.
141 * io/Makefile: Likewise.
142 * argp/Makefile: Likewise.
143 * inet/Makefile: Likewise.
144 * hesiod/Makefile: Likewise.
145 * grp/Makefile: Likewise.
146 * csu/Makefile: Likewise.
147 * wctype/Makefile: Likewise.
148 * crypt/Makefile: Likewise.
149 * libio/Makefile: Likewise.
150 * string/Makefile: Likewise.
151 * nis/Makefile: Likewise.
152 * resolv/Makefile: Likewise.
153 * stdio-common/Makefile: Likewise.
154 * wcsmbs/Makefile: Likewise.
155 * dlfcn/Makefile: Likewise.
156 * posix/Makefile: Likewise.
157
482ff4da
UD
158 * timezone/Makefile: Don't install timezone files, just the programs
159 and scripts.
160
f72ed77d
UD
1612012-03-06 Ulrich Drepper <drepper@gmail.com>
162
a000466f
UD
163 * nss/databases.def: Add missing gshadow entry.
164
f72ed77d
UD
165 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
166
a53b7a4e
MP
1672012-03-06 Marek Polacek <polacek@redhat.com>
168
169 [BZ #13726]
170 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
171 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
172 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
173 * stdio-common/tst-long-dbl-fphex.c: New file.
174
e9258400
DM
1752012-03-06 David S. Miller <davem@davemloft.net>
176
177 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
178 (set_obp_int): New function.
179 (get_obp_int): New function.
180 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
181 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
182 Avoid unused variable warnings on 'val' and use builtin_expect.
183 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
184 __builtin_expect.
e9258400
DM
185 (INLINE_CLONE_SYSCALL): Likewise.
186
3bd2c723
DM
1872012-03-05 David S. Miller <davem@davemloft.net>
188
189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
190
bbb78d03
AS
1912012-03-05 Andreas Schwab <schwab@linux-m68k.org>
192
884c5db4
AS
193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
194
bbb78d03
AS
195 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
196 only for |x| >= 40.
197 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
198
1c9f702a 1992012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
200
201 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
202 Replace gettimeofday with __vdso_gettimeofday.
203
7be16f82
RM
204 * sysdeps/unix/sysv/linux/x86_64/init-first.c
205 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
206 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
207
208 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
209 time with __vdso_time.
210
ed58a00f
JM
2112012-03-05 Joseph Myers <joseph@codesourcery.com>
212
213 * manual/lang.texi (size_t): Note types to which size_t may be
214 equivalent with the GNU C Library, but do not describe when
215 differences between them are significant.
216
30ee4ced
AJ
2172012-03-05 Andreas Jaeger <aj@suse.de>
218
219 * sysdeps/i386/fpu/libm-test-ulps: Update.
220
b7cd39e8
JM
2212012-03-05 Joseph Myers <joseph@codesourcery.com>
222
223 [BZ #3976]
224 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
225 (__ieee754_pow): Save and restore rounding mode and use
226 round-to-nearest for main computations.
227 * math/libm-test.inc (pow_test_tonearest): New function.
228 (pow_test_towardzero): Likewise.
229 (pow_test_downward): Likewise.
230 (pow_test_upward): Likewise.
231 (main): Call the new functions.
232 * sysdeps/i386/fpu/libm-test-ulps: Update.
233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
234
235 [BZ #3976]
236 * math/libm-test.inc (cosh_test_tonearest): New function.
237 (cosh_test_towardzero): Likewise.
238 (cosh_test_downward): Likewise.
239 (cosh_test_upward): Likewise.
240 (sinh_test_tonearest): Likewise.
241 (sinh_test_towardzero): Likewise.
242 (sinh_test_downward): Likewise.
243 (sinh_test_upward): Likewise.
244 (main): Call the new functions.
245 * sysdeps/i386/fpu/libm-test-ulps: Update.
246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
247
6c6a98c9
TV
2482012-03-05 Tom de Vries <tom@codesourcery.com>
249
250 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
251 default stack guard is set in last bytes.
252 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
253
21bb2d2e 2542012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 255
21bb2d2e 256 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 257
21bb2d2e
AJ
258 [BZ #13656]
259 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
260 possibly allocate from heap instead of stack.
261 * stdio-common/bug-vfprintf-nargs.c: New file.
262 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 263
c6922934
AS
2642012-03-03 Andreas Schwab <schwab@linux-m68k.org>
265
266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
267
bc957d53
MP
2682012-03-03 Marek Polacek <polacek@redhat.com>
269
270 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
271 * math/math_private.h: Likewise.
272 * stdlib/tst-strtod.c: Likewise.
273 * sysdeps/i386/i486/bits/atomic.h: Likewise.
274 * sysdeps/x86_64/bits/atomic.h: Likewise.
275
6358490d
DM
2762012-03-02 David S. Miller <davem@davemloft.net>
277
278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
282 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
283 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
284 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
285 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
286
01ae168d
RM
2872012-03-02 Roland McGrath <roland@hack.frob.com>
288
d9a17c07
RM
289 [BZ #13792]
290 * manual/examples/README: New file, says the example source files
291 can be used under GPL>=2.
292 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
293 line containing just "*/".
294 * manual/examples/add.c: Add copyright header (GPL>=2).
295 * manual/examples/argp-ex1.c: Likewise.
296 * manual/examples/argp-ex2.c: Likewise.
297 * manual/examples/argp-ex3.c: Likewise.
298 * manual/examples/argp-ex4.c: Likewise.
299 * manual/examples/atexit.c: Likewise.
300 * manual/examples/db.c: Likewise.
301 * manual/examples/dir.c: Likewise.
302 * manual/examples/dir2.c: Likewise.
303 * manual/examples/execinfo.c: Likewise.
304 * manual/examples/filecli.c: Likewise.
305 * manual/examples/filesrv.c: Likewise.
306 * manual/examples/fmtmsgexpl.c: Likewise.
307 * manual/examples/genpass.c: Likewise.
308 * manual/examples/inetcli.c: Likewise.
309 * manual/examples/inetsrv.c: Likewise.
310 * manual/examples/isockad.c: Likewise.
311 * manual/examples/longopt.c: Likewise.
312 * manual/examples/memopen.c: Likewise.
313 * manual/examples/memstrm.c: Likewise.
314 * manual/examples/mkfsock.c: Likewise.
315 * manual/examples/mkisock.c: Likewise.
316 * manual/examples/mygetpass.c: Likewise.
317 * manual/examples/pipe.c: Likewise.
318 * manual/examples/popen.c: Likewise.
319 * manual/examples/rprintf.c: Likewise.
320 * manual/examples/search.c: Likewise.
321 * manual/examples/select.c: Likewise.
322 * manual/examples/setjmp.c: Likewise.
323 * manual/examples/sigh1.c: Likewise.
324 * manual/examples/sigusr.c: Likewise.
325 * manual/examples/stpcpy.c: Likewise.
326 * manual/examples/strdupa.c: Likewise.
327 * manual/examples/strftim.c: Likewise.
328 * manual/examples/strncat.c: Likewise.
329 * manual/examples/subopt.c: Likewise.
330 * manual/examples/swapcontext.c: Likewise.
331 * manual/examples/termios.c: Likewise.
332 * manual/examples/testopt.c: Likewise.
333 * manual/examples/testpass.c: Likewise.
334 * manual/examples/timeval_subtract.c: Likewise.
335
01ae168d
RM
336 [BZ #13792]
337 * manual/time.texi (Elapsed Time): Move timeval_subtract example
338 function to ...
339 * manual/timeval_subtract.c.texi: ... here, new file.
340
49efa33d
DM
3412012-03-02 David S. Miller <davem@davemloft.net>
342
343 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
344
28afd92d
JM
3452012-03-02 Joseph Myers <joseph@codesourcery.com>
346
804360ed
JM
347 [BZ #3976]
348 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
349 (__sin): Save and restore rounding mode and use round-to-nearest
350 for all computations.
351 (__cos): Save and restore rounding mode and use round-to-nearest
352 for all computations.
353 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
354 <fenv.h>.
355 (tan): Save and restore rounding mode and use round-to-nearest for
356 all computations.
357 * math/libm-test.inc (cos_test_tonearest): New function.
358 (cos_test_towardzero): Likewise.
359 (cos_test_downward): Likewise.
360 (cos_test_upward): Likewise.
361 (sin_test_tonearest): Likewise.
362 (sin_test_towardzero): Likewise.
363 (sin_test_downward): Likewise.
364 (sin_test_upward): Likewise.
365 (tan_test_tonearest): Likewise.
366 (tan_test_towardzero): Likewise.
367 (tan_test_downward): Likewise.
368 (tan_test_upward): Likewise.
369 (main): Call the new functions.
370 * sysdeps/i386/fpu/libm-test-ulps: Update.
371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
372
a6d06d7b
JM
373 [BZ #10135]
374 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
375 small n, then large n, before computing and testing k+n.
376 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
378 Likewise.
379 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
380 Likewise.
381 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
382 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
383 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
384 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
385 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
386 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
387 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
388 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
389 * math/libm-test.inc (scalbn_test): Add more tests.
390 (scalbln_test): Likewise.
391
07e12bb3
JM
392 * manual/filesys.texi (mode_t): Describe constraints on size and
393 signedness, not exact equivalence to a particular type.
394 (ino_t): Likewise.
395 (ino64_t): Likewise.
396 (dev_t): Likewise.
397 (nlink_t): Likewise.
398 (blkcnt_t): Likewise.
399 (blkcnt64_t): Likewise.
400 * manual/llio.texi (off_t): Likewise.
401
28afd92d
JM
402 [BZ #3976]
403 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
404 (__ieee754_exp): Save and restore rounding mode and use
405 round-to-nearest for all computations.
406 * math/libm-test.inc (exp_test_tonearest): New function.
407 (exp_test_towardzero): Likewise.
408 (exp_test_downward): Likewise.
409 (exp_test_upward): Likewise.
410 (main): Call the new functions.
411 * sysdeps/i386/fpu/libm-test-ulps: Update.
412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
413
b1eeb65d
CD
4142012-03-01 Chris Demetriou <cgd@google.com>
415
416 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
417 have predictable order.
418
53362a4b
DM
4192012-03-01 David S. Miller <davem@davemloft.net>
420
3c969083
DM
421 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
422
759707de
DM
423 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
424 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
425 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
426 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
427
dfdb8ff2
DM
428 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
429 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
430 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
432 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
433 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
434 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
435 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
436 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
437
ead89f96
DM
438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
439
7f66bd07
DM
440 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
441 * sysdeps/sparc/fpu/libm-test-ulps: to here.
442 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
443
53362a4b
DM
444 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
445 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
446 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
447 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
448 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
451 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
452 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
453 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
454 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
455 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
457 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
458 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
459 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
460 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
461 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
462 * sysdeps/sparc/elf/configure: Regenerated.
463
7b1902cb
JM
4642012-03-01 Joseph Myers <joseph@codesourcery.com>
465
bec039bc
JM
466 * configure.in (AS, LD): Require binutils 2.20 or later.
467 * configure: Regenerated.
468 * manual/install.texi (Tools for Compilation): Give binutils 2.20
469 as required minimum version.
470 * INSTALL: Regenerated.
471
7b1902cb
JM
472 [BZ #2541]
473 [BZ #4108]
474 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
475 before squaring exponent.
476 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
477 bottom long double and 27 bits of top long double before squaring
478 exponent.
479 * math/libm-test.inc (erfc_test): Add more tests.
480 * sysdeps/i386/fpu/libm-test-ulps: Update.
481 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
483
f775c276
KT
4842012-03-01 Kai Tietz <ktietz@redhat.com>
485
486 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
487 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
488 containing bit-fields.
489 * soft-fp/extended.h (_FP_UNION_E): Likewise.
490 * soft-fp/single.h (_FP_UNION_S): Likewise.
491 * soft-fp/double.h (_FP_UNION_D): Likewise.
492
5b8a4d4a
JM
4932012-02-29 Joseph Myers <joseph@codesourcery.com>
494
0bab47b6
JM
495 [BZ #13786]
496 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
497 not include ../strcmp.S.
498 [USE_AS_STRNCASECMP_L]: Likewise.
499 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
500 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
501 * sysdeps/i386/i686/multiarch/strncase_l-c.c
502 (__strncasecmp_l_ia32): Define as alias to
503 __strncasecmp_l_nonascii.
504
0fcad3e2
JM
505 [BZ #5794]
506 * math/libm-test.inc (expm1_test): Add test for bug 5794.
507 * sysdeps/i386/fpu/libm-test-ulps: Update.
508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
509
5b8a4d4a
JM
510 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
512
8fdceb2e
JL
5132012-02-29 Jeff Law <law@redhat.com>
514
515 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
516 out of bounds read.
517
1f393a11
MP
5182012-02-29 Marek Polacek <polacek@redhat.com>
519
520 [BZ #13706]
521 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
522 * elf/Makefile: Add rules to run tst-unused-dep.out.
523
8847f037
DM
5242012-02-28 David S. Miller <davem@davemloft.net>
525
526 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
527 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
528 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
529 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
530 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
531 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
532
169d7f11
JM
5332012-02-29 Joseph Myers <joseph@codesourcery.com>
534
535 * math/libm-test.inc (llround_test): Move one test from
536 lround_test. Use TEST_f_L in moved test.
537 (lround_test): Move misplaced test to llround_test. Add testcase
538 from bug 2561.
539
39adf059
UD
5402012-02-28 Ulrich Drepper <drepper@gmail.com>
541
542 * sysdeps/x86_64/fpu/e_expf.S: New file.
543 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
544
71b5d1c5
SB
5452012-02-28 Stanislav Brabec <sbrabec@suse.cz>
546
547 [BZ #13637]
548 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
549 of remain_len that may cause incomplete multi-byte character and
550 false match.
551 * posix/bug-regex33.c: New file.
552 * posix/Makefile (tests): Add bug-regex33.
553
1f77f049
JM
5542012-02-28 Joseph Myers <joseph@codesourcery.com>
555
556 * manual/macros.texi: New file.
557 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
558 * manual/libc.texinfo: Include macros.texi.
559 * manual/creatute.texi: Likewise.
560 * manual/install.texi: Likewise.
561 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
562 @glibcadj{} in references to the GNU C Library.
563 * manual/charset.texi: Likewise.
564 * manual/conf.texi: Likewise.
565 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
566 when not using those macros.
567 * manual/creature.texi: Likewise.
568 * manual/crypt.texi: Likewise.
569 * manual/errno.texi: Likewise.
570 * manual/filesys.texi: Likewise.
571 * manual/header.texi: Likewise.
572 * manual/install.texi: Likewise.
573 * manual/intro.texi: Likewise.
574 * manual/io.texi: Likewise.
575 * manual/job.texi: Likewise.
576 * manual/lang.texi: Likewise.
577 * manual/libc.texiinfo: Likewise.
578 * manual/llio.texi: Likewise.
579 * manual/locale.texi: Likewise.
580 * manual/maint.texi: Likewise.
581 * manual/math.texi: Likewise.
582 * manual/memory.texi: Likewise.
583 * manual/message.texi: Likewise.
584 * manual/nss.texi: Likewise.
585 * manual/pattern.texi: Likewise.
586 * manual/process.texi: Likewise.
587 * manual/resource.texi: Likewise.
588 * manual/search.texi: Likewise.
589 * manual/setjmp.texi: Likewise.
590 * manual/signal.texi: Likewise.
591 * manual/socket.texi: Likewise.
592 * manual/startup.texi: Likewise.
593 * manual/stdio.texi: Likewise.
594 * manual/string.texi: Likewise.
595 * manual/sysinfo.texi: Likewise.
596 * manual/syslog.texi: Likewise.
597 * manual/terminal.texi: Likewise.
598 * manual/time.texi: Likewise.
599 * manual/users.texi: Likewise.
600 * INSTALL: Regenerated.
601 * NOTES: Regenerated.
d40c5d54 602 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 603
450bf206
AS
6042012-02-28 Andreas Schwab <schwab@linux-m68k.org>
605
606 * include/dirent.h: Include <dirstream.h> before
607 <dirent/dirent.h>.
608
741a235b
DM
6092012-02-28 David S. Miller <davem@davemloft.net>
610
611 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
612 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
613 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
614 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
615
d6b5aa58
DM
6162012-02-27 David S. Miller <davem@davemloft.net>
617
1aff59a3
DM
618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
620 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
621 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
622
d6b5aa58
DM
623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
624 frame pointer instead of stack pointer relative arg slot.
625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
626 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
627 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
628
433f48bf
CD
6292012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
630
631 [BZ #3992]
632 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
633
d674b76d
DM
6342012-02-27 David S. Miller <davem@davemloft.net>
635
636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
640 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
641 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
642 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
643 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
644
0e7727f7
JM
6452012-02-27 Joseph Myers <joseph@codesourcery.com>
646
647 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
648 later. Allow versions 5-9.
43be4ca2 649 * configure: Regenerated.
0e7727f7
JM
650 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
651 required minimum version and 4.6 as recommended version. Do not
652 mention bugs in GCC 2.7 and 2.8.
43be4ca2 653 * INSTALL: Regenerated.
0e7727f7 654
a78bc654
DM
6552012-02-27 David S. Miller <davem@davemloft.net>
656
428d5830
DM
657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
661 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
662 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
663 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
664 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
665
a78bc654
DM
666 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
667 manipulate bits before adding and subtracting TWO112[sx].
668 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
669
4579f81c
RM
6702012-02-27 Roland McGrath <roland@hack.frob.com>
671
36c8acb4
RM
672 [BZ #13775]
673 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
674 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
675 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
676 being in POSIX, because they are in 1003.1-2008.
677
84ad622b
RM
678 * rt/tst-aio.c: Include <fcntl.h>.
679 * rt/tst-aio7.c: Likewise.
680 * rt/tst-aio64.c: Likewise.
681
4579f81c
RM
682 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
683
abd923db
JM
6842012-02-27 Joseph Myers <joseph@codesourcery.com>
685
686 * manual/install.texi (--with-headers): Describe headers as
687 interface headers, not private headers.
688 (Specific advice for GNU/Linux systems): Describe use of headers
689 from "make headers_install", not private headers from older
690 kernels.
43be4ca2 691 * INSTALL: Regenerated.
abd923db
JM
692 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
693 Change to 2.6.19.
694 * sysdeps/unix/sysv/linux/configure: Regenerated.
695
6664049b
JM
696 * manual/llio.texi (fclean): Remove documentation.
697
bb8b6697
JM
698 * manual/Makefile (libc-texi-generated): New variable. Include
699 version.texi.
700 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
701 $(libc-texi-generated), not duplicated list of files.
702 (version.texi, stamp-version): New rules.
703 (realclean): Remove $(libc-texi-generated), not individual files
704 from that list. Do not remove dir-add.texinfo.
705 * manual/libc.texinfo: Comment out uses of edition numbers and
706 references to printed manual. Remove last-updated dates.
707 (EDITION): Comment out.
708 (ISBN): Likewise.
709 (VERSION, UPDATED): Remove.
710 (version.texi): Include.
711
12e5c3b9
AS
7122012-02-27 Andreas Schwab <schwab@linux-m68k.org>
713
714 * sysdeps/posix/spawni.c: Include <signal.h>.
715 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
716 * sysdeps/pthread/aio_fsync.c: Likewise.
717
4efeffc1 7182012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 719
ba63ba08
UD
720 * conform/Makefile (tests): Run only when not cross-compiling and
721 when fast-check is not defined.
722
d94a4670
UD
723 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
724 * conform/data/limits.h-data: Fixes for POSIX2008.
725 * conform/run-conformtest.sh: Run all tests.
726 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
727 headers.
728 * include/bits/dlfcn.h: Likewise.
729 * include/langinfo.h: Likewise.
730 * include/monetary.h: Likewise.
731 * include/sys/poll.h: Likewise.
732
733 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
734 for __USE_GNU.
735 * posix/spawn.h: Define __need_sigset_t.
736 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
737 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
738 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
739 to get sigevent_t only.
740 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
741 only for __USE_GNU.
742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
743 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
744 process_vm_writev only for __USE_GNU.
745 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
746
747 * conform/Makefile: For now ignore errors from run-conformtest.
748 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
749 POSIX to avoid namespace pollution. Don't prepend headers.
750 * conform/data/aio.h-data: Fixes for POSIX testing.
751 * conform/data/fcntl.h-data: Likewise.
752 * conform/data/glob.h-data: Likewise.
753 * conform/data/grp.h-data: Likewise.
754 * conform/data/pthread.h-data: Likewise.
755 * conform/data/pwd.h-data: Likewise.
756 * conform/data/signal.h-data: Likewise.
757 * conform/data/spawn.h-data: Likewise.
758 * conform/data/stdio.h-data: Likewise.
759 * conform/data/stdlib.h-data: Likewise.
760 * conform/data/stropts.h-data: Likewise.
761 * conform/data/sys/mman.h-data: Likewise.
762 * conform/data/sys/stat.h-data: Likewise.
763 * conform/data/sys/types.h-data: Likewise.
764 * conform/data/sys/wait.h-data: Likewise.
765 * conform/data/time.h-data: Likewise.
766 * conform/data/unistd.h-data: Likewise.
767 * conform/data/utime.h-data: Likewise.
768
769 * io/sys/stat.h: fchmod was always in POSIX.
770 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
771 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
772 * rt/aio.h: Define __need_timespec before including <time.h>.
773 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
774 struct. Add forward declaration of pthread_attr_t and use it in
775 sigevent.
776 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
777 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
778 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
779 always remove CLK_TCK definition.
780
c20105c3
AS
7812012-02-26 Andreas Schwab <schwab@linux-m68k.org>
782
783 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
784
7a270350
UD
7852012-02-25 Ulrich Drepper <drepper@gmail.com>
786
31341567
UD
787 * conform/run-conformtest.sh: New file.
788 * conform/Makefile: Run run-conformtest for tests.
789 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
790 support.
791
792 * conform/data/uchar.h-data: New file.
793 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
794 * conform/data/arpa/inet.h-data: Likewise.
795 * conform/data/assert.h-data: Likewise.
796 * conform/data/complex.h-data: Likewise.
797 * conform/data/cpio.h-data: Likewise.
798 * conform/data/ctype.h-data: Likewise.
799 * conform/data/dirent.h-data: Likewise.
800 * conform/data/dlfcn.h-data: Likewise.
801 * conform/data/errno.h-data: Likewise.
802 * conform/data/fcntl.h-data: Likewise.
803 * conform/data/float.h-data: Likewise.
804 * conform/data/fmtmsg.h-data: Likewise.
805 * conform/data/fnmatch.h-data: Likewise.
806 * conform/data/ftw.h-data: Likewise.
807 * conform/data/glob.h-data: Likewise.
808 * conform/data/grp.h-data: Likewise.
809 * conform/data/iconv.h-data: Likewise.
810 * conform/data/inttypes.h-data: Likewise.
811 * conform/data/langinfo.h-data: Likewise.
812 * conform/data/libgen.h-data: Likewise.
813 * conform/data/limits.h-data: Likewise.
814 * conform/data/locale.h-data: Likewise.
815 * conform/data/math.h-data: Likewise.
816 * conform/data/monetary.h-data: Likewise.
817 * conform/data/mqueue.h-data: Likewise.
818 * conform/data/ndbm.h-data: Likewise.
819 * conform/data/net/if.h-data: Likewise.
820 * conform/data/netdb.h-data: Likewise.
821 * conform/data/netinet/in.h-data: Likewise.
822 * conform/data/nl_types.h-data: Likewise.
823 * conform/data/poll.h-data: Likewise.
824 * conform/data/pthread.h-data: Likewise.
825 * conform/data/pwd.h-data: Likewise.
826 * conform/data/regex.h-data: Likewise.
827 * conform/data/sched.h-data: Likewise.
828 * conform/data/search.h-data: Likewise.
829 * conform/data/semaphore.h-data: Likewise.
830 * conform/data/setjmp.h-data: Likewise.
831 * conform/data/signal.h-data: Likewise.
832 * conform/data/spawn.h-data: Likewise.
833 * conform/data/stdarg.h-data: Likewise.
834 * conform/data/stdio.h-data: Likewise.
835 * conform/data/stdlib.h-data: Likewise.
836 * conform/data/string.h-data: Likewise.
837 * conform/data/strings.h-data: Likewise.
838 * conform/data/stropts.h-data: Likewise.
839 * conform/data/sys/ipc.h-data: Likewise.
840 * conform/data/sys/mman.h-data: Likewise.
841 * conform/data/sys/msg.h-data: Likewise.
842 * conform/data/sys/resource.h-data: Likewise.
843 * conform/data/sys/select.h-data: Likewise.
844 * conform/data/sys/sem.h-data: Likewise.
845 * conform/data/sys/shm.h-data: Likewise.
846 * conform/data/sys/socket.h-data: Likewise.
847 * conform/data/sys/stat.h-data: Likewise.
848 * conform/data/sys/statvfs.h-data: Likewise.
849 * conform/data/sys/time.h-data: Likewise.
850 * conform/data/sys/timeb.h-data: Likewise.
851 * conform/data/sys/times.h-data: Likewise.
852 * conform/data/sys/types.h-data: Likewise.
853 * conform/data/sys/uio.h-data: Likewise.
854 * conform/data/sys/un.h-data: Likewise.
855 * conform/data/sys/utsname.h-data: Likewise.
856 * conform/data/sys/wait.h-data: Likewise.
857 * conform/data/syslog.h-data: Likewise.
858 * conform/data/tar.h-data: Likewise.
859 * conform/data/termios.h-data: Likewise.
860 * conform/data/utime.h-data: Likewise.
861 * conform/data/utmpx.h-data: Likewise.
862 * conform/data/varargs.h-data: Likewise.
863 * conform/data/wchar.h-data: Likewise.
864 * conform/data/wctype.h-data: Likewise.
865 * conform/data/wordexp.h-data: Likewise.
866
867 * include/stropts.h: New file.
868 * include/uchar.h: New file.
869 * include/aio.h: Changes to allow conformtest.pl to use the headers.
870 * include/assert.h: Likewise.
871 * include/ctype.h: Likewise.
872 * include/dirent.h: Likewise.
873 * include/dlfcn.h: Likewise.
874 * include/fcntl.h: Likewise.
875 * include/fnmatch.h: Likewise.
876 * include/glob.h: Likewise.
877 * include/grp.h: Likewise.
878 * include/libio.h: Likewise.
879 * include/locale.h: Likewise.
880 * include/math.h: Likewise.
881 * include/net/if.h: Likewise.
882 * include/netdb.h: Likewise.
883 * include/netinet/in.h: Likewise.
884 * include/pthread.h: Likewise.
885 * include/pwd.h: Likewise.
886 * include/regex.h: Likewise.
887 * include/sched.h: Likewise.
888 * include/search.h: Likewise.
889 * include/setjmp.h: Likewise.
890 * include/signal.h: Likewise.
891 * include/stdio.h: Likewise.
892 * include/stdlib.h: Likewise.
893 * include/string.h: Likewise.
894 * include/sys/cdefs.h: Likewise.
895 * include/sys/mman.h: Likewise.
896 * include/sys/msg.h: Likewise.
897 * include/sys/resource.h: Likewise.
898 * include/sys/select.h: Likewise.
899 * include/sys/socket.h: Likewise.
900 * include/sys/stat.h: Likewise.
901 * include/sys/statvfs.h: Likewise.
902 * include/sys/time.h: Likewise.
903 * include/sys/times.h: Likewise.
904 * include/sys/uio.h: Likewise.
905 * include/sys/utsname.h: Likewise.
906 * include/sys/wait.h: Likewise.
907 * include/termios.h: Likewise.
908 * include/time.h: Likewise.
909 * include/ulimit.h: Likewise.
910 * include/unistd.h: Likewise.
911 * include/utime.h: Likewise.
912 * include/wchar.h: Likewise.
913 * include/wctype.h: Likewise.
914 * include/wordexp.h: Likewise.
915
916 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
917
7a270350
UD
918 * time/time.h: TIME_UTC must be a macro.
919 Make timespec_get available for ISO C11 only as well.
920
7724defc
UD
9212012-02-24 Ulrich Drepper <drepper@gmail.com>
922
923 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
924 Reported by Peng Haitao <penght@cn.fujitsu.com>.
925
6b1d1d46
JM
9262012-02-24 Joseph Myers <joseph@codesourcery.com>
927
928 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 929
0f8bbd69
JM
9302012-02-24 Joseph Myers <joseph@codesourcery.com>
931
932 * manual/texinfo.tex: Update to version 2012-01-19.16.
933
66ab80bc
JM
9342012-02-24 Joseph Myers <joseph@codesourcery.com>
935
936 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
937
74981cc5
RM
9382012-02-24 Roland McGrath <roland@hack.frob.com>
939
ee968201
RM
940 [BZ #13738]
941 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
942 * manual/fdl-1.3.texi: New file.
943 * manual/fdl-1.1.texi: File removed.
944
74981cc5
RM
945 [BZ #13738]
946 * manual/libc.texinfo (FDL_VERSION): New @set.
947 Use it for mention of FDL in cover text.
948 (Documentation License): Use it in @include file name.
949
7bb764bc
JM
9502012-02-22 Joseph Myers <joseph@codesourcery.com>
951 Roland McGrath <roland@hack.frob.com>
952
953 [BZ #5461]
954 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
955 not LONG_LONG_MAX and LONG_LONG_MIN.
956 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
957 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
958 name.
959 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
960
6cbeae47
JM
9612012-02-22 Joseph Myers <joseph@codesourcery.com>
962
963 [BZ #2547]
964 [BZ #11365]
965 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
966 manipulate bits before adding and subtracting TWO23[sx].
967 * math/libm-test.inc (nearbyint_test): Add more tests.
968
fe45ce09
JM
9692012-02-22 Joseph Myers <joseph@codesourcery.com>
970
971 [BZ #2548]
972 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
973 bits before adding and subtracting TWO23[sx].
974 * math/libm-test.inc (rint_test): Add more tests.
975 (rint_test_tonearest): Likewise.
976 (rint_test_towardzero): Likewise.
977 (rint_test_downward): Likewise.
978 (rint_test_upward: Likewise.
979
ff3b3d82
JM
9802012-02-22 Joseph Myers <joseph@codesourcery.com>
981
982 [BZ #10110]
983 * include/stdc-predef.h: New file. Extracted from features.h.
984 * include/features.h: Include stdc-predef.h.
985 * Makefile (headers): Add stdc-predef.h.
986 * CONFORMANCE (Compiler limitations): Update.
987
ef0aab35
JM
9882012-02-22 Joseph Myers <joseph@codesourcery.com>
989
990 * manual/libc.texinfo (VERSION, UPDATED): Revert.
991
58639409
DM
9922012-02-21 David S. Miller <davem@davemloft.net>
993
994 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
995 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
996
c0e70b25
DM
9972012-02-20 David S. Miller <davem@davemloft.net>
998
999 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1000 using a normal save/restore sequence, rather than allocating a
1001 dummy stack frame just to store a frame pointer and restore.
1002 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1003
fb06851d
JM
10042012-02-21 Joseph Myers <joseph@codesourcery.com>
1005
1006 * manual/install.texi: Fix stray word in line-wrapped comment.
1007
7a8b71c3
DM
10082012-02-20 David S. Miller <davem@davemloft.net>
1009
d510c123
DM
1010 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1011 both binutils and gcc support GOTDATA.
1012
0722d7c2
DM
1013 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1014 "rd %pc" in the PIC register setup sequences.
1015
3d2b3019
DM
1016 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1017 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1018 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1019 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1020 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1022 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1023 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1025 (SYSCALL_ERROR_HANDLER): Likewise.
1026 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1027 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1029 (SYSCALL_ERROR_HANDLER): Likewise.
1030
c80098a9
DM
1031 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1032 (HAVE_GCC_GOTDATA): New.
1033 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1034 relocation support in both binutils and gcc.
1035 * sysdeps/sparc/elf/configure: Regenerate.
1036
3a2545a0
DM
1037 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1038 * sysdeps/sparc/sparc32/elf/configure: Delete.
1039 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1040 * sysdeps/sparc/sparc64/elf/configure: Delete.
1041 * sysdeps/sparc/elf/configure.in: New file.
1042 * sysdeps/sparc/elf/configure: Generate.
1043
7a8b71c3
DM
1044 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1045 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1046 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1047 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1048 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1049
f1e86fca
JM
10502012-02-21 Joseph Myers <joseph@codesourcery.com>
1051
1052 * manual/install.texi: Do not mention specific glibc version
1053 numbers.
1054 * manual/libc.texinfo (VERSION, UPDATED): Update.
1055 (@copying): Use @copyright{} and range of years.
1056
0e7dfaef
JM
10572012-02-21 Joseph Myers <joseph@codesourcery.com>
1058
1059 [BZ #13695]
1060 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1061 [crti.S not in sysdirs] (generated): Do not append.
1062 [crti.S not in sysdirs] (omit-deps): Likewise.
1063 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1064 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1065 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1066 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1067 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1068 Likewise.
1069 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1070 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1071 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1072 * csu/defs.awk: Remove file.
1073 * sysdeps/generic/initfini.c: Likewise.
1074 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1075 variable.
1076 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1077 Likewise.
1078
599af3ca
JM
10792012-02-20 Joseph Myers <joseph@codesourcery.com>
1080
1081 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1082 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1083 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1084 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1085 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1086 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1087 <bits/epoll.h>.
1088 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1089 (__EPOLL_PACKED): Define to empty if not defined by
1090 <bits/epoll.h>.
1091 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1093 bits/epoll.h.
1094
0e499750
JM
10952012-02-20 Joseph Myers <joseph@codesourcery.com>
1096
1097 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1098 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1099 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1100 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1101 <bits/timerfd.h>.
1102 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1104 bits/timerfd.h.
1105
5ad91f6e
JM
11062012-02-20 Joseph Myers <joseph@codesourcery.com>
1107
1108 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1109 in C locale.
1110 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1111 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1112 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1114
06b99b02
AJ
11152012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1116
1117 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1118 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1119
7638c0fd
AS
11202012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1121
1122 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1123 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1124 defined.
1125 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1126 Likewise.
1127 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1128 entry for 2.16.
1129
92221550
AJ
11302012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1131
1132 * math/w_acos.c: Use non-signaling floating-point comparisons.
1133 * math/w_acosf.c: Likewise.
1134 * math/w_acosh.c: Likewise.
1135 * math/w_acoshf.c: Likewise.
1136 * math/w_acoshl.c: Likewise.
1137 * math/w_acosl.c: Likewise.
1138 * math/w_asin.c: Likewise.
1139 * math/w_asinf.c: Likewise.
1140 * math/w_asinl.c: Likewise.
1141 * math/w_atanh.c: Likewise.
1142 * math/w_atanhf.c: Likewise.
1143 * math/w_atanhl.c: Likewise.
1144 * math/w_exp2.c: Likewise.
1145 * math/w_exp2f.c: Likewise.
1146 * math/w_exp2l.c: Likewise.
1147 * math/w_j0.c: Likewise.
1148 * math/w_j0f.c: Likewise.
1149 * math/w_j0l.c: Likewise.
1150 * math/w_j1.c: Likewise.
1151 * math/w_j1f.c: Likewise.
1152 * math/w_j1l.c: Likewise.
1153 * math/w_jn.c: Likewise.
1154 * math/w_jnf.c: Likewise.
1155 * math/w_log.c: Likewise.
1156 * math/w_log10.c: Likewise.
1157 * math/w_log10f.c: Likewise.
1158 * math/w_log10l.c: Likewise.
1159 * math/w_log2.c: Likewise.
1160 * math/w_log2f.c: Likewise.
1161 * math/w_log2l.c: Likewise.
1162 * math/w_logf.c: Likewise.
1163 * math/w_logl.c: Likewise.
1164 * math/w_sqrt.c: Likewise.
1165 * math/w_sqrtf.c: Likewise.
1166 * math/w_sqrtl.c: Likewise.
1167 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1168 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1169 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1170 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1171 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1172
ebaf36eb
JM
11732012-02-19 Joseph Myers <joseph@codesourcery.com>
1174
1175 [BZ #9739]
1176 * manual/string.texi (strnlen): Use correct parameter name in
1177 equivalent expression.
1178
71c254a6
JM
11792012-02-19 Joseph Myers <joseph@codesourcery.com>
1180
1181 [BZ #11174]
1182 * manual/users.texi (seteuid): Consistently use neweuid for
1183 argument name.
1184
16d2c631
JM
11852012-02-19 Joseph Myers <joseph@codesourcery.com>
1186
1187 [BZ #13704]
1188 * manual/nss.texi (Services in the NSS configuration): Correct
1189 list of services in example configuration file.
1190
cd837b09
NB
11912012-02-19 Nick Bowler <nbowler@draconx.ca>
1192
1193 [BZ #11322]
1194 * manual/arith.texi: Remove statements about negative zero
1195 behaving identically to zero.
1196
02c4bbad
JM
11972012-02-18 Joseph Myers <joseph@codesourcery.com>
1198
1199 [BZ #5993]
1200 * manual/install.texi: Do not document upgrading from libc5.
1201
366842e7
JM
12022012-02-18 Joseph Myers <joseph@codesourcery.com>
1203
1204 [BZ #4596]
1205 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1206
dd54084d
DM
12072012-02-18 David S. Miller <davem@davemloft.net>
1208
1209 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1210 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1211 %o7 across the call.
1212 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1213 instead.
1214 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1215 SETUP_PIC_REG_LEAF.
1216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1217 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1218 * sysdeps/sparc/crtn.S: Likewise.
1219
2bcc53a3
UD
12202012-02-17 Ulrich Drepper <drepper@gmail.com>
1221
1222 * aout/Makefile: Remove.
1223
09c093b5
RK
12242012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1225
1226 [BZ #13058]
1227 * manual/examples/argp-ex1.c (main): Format definition in GNU
1228 style.
1229 * manual/examples/argp-ex2.c (main): Likewise.
1230 * manual/examples/argp-ex3.c (main): Likewise.
1231 * manual/examples/argp-ex4.c (main): Likewise.
1232 * manual/examples/longopt.c (main): Use new-style prototype
1233 definition.
1234 * manual/examples/strncat.c (main): Specify return type and use
1235 (void) for arguments.
1236 * manual/examples/subopt.c (main): Use char **argv argument.
1237
2ee633a2
JM
12382012-02-17 Joseph Myers <joseph@codesourcery.com>
1239
1240 [BZ #5077]
1241 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1242 rounding modes.
1243
0520adde
FB
12442012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1245
1246 [BZ #6907]
1247 * manual/string.texi (strchr): Change when strchrnul is
1248 recommended.
1249
3f4081cd
DGM
12502012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1251
1252 [BZ #174]
1253 * manual/locale.texi (setlocale): Document LOCPATH.
1254
d1b10e78
JM
12552012-02-17 Joseph Myers <joseph@codesourcery.com>
1256
1257 [BZ #10210]
1258 * manual/process.texi (execle): Move @dots{} before last argument.
1259
79c6869c
PB
12602012-02-17 Paul Bolle <pebolle@tiscali.nl>
1261
1262 [BZ #12047]
1263 * manual/charset.texi (Generic Charset Conversion): Fix typo
1264 (LC_TYPE -> LC_CTYPE).
1265
cc6e48bc
NB
12662012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1267
1268 [BZ #5805]
1269 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1270 (scalbnf): Likewise.
1271 (scalbnl): Likewise.
1272 (scalbln): Likewise.
1273 (scalblnf): Likewise.
1274 (scalblnl): Likewise.
1275 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1276 (vwarnx): Likewise.
1277 (verr): Likewise.
1278 (verrx): Likewise.
1279 * manual/filesys.texi (telldir): Use braces around return type.
1280 * manual/llio.texi (mmap): Add space after comma.
1281 (mmap64): Likewise.
1282 * manual/math.texi (jn): Use @var{} on parameter names.
1283 (jnf): Likewise.
1284 (jnl): Likewise.
1285 (yn): Likewise.
1286 (ynf): Likewise.
1287 (ynl): Likewise.
1288 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1289 line.
1290 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1291 "...".
1292 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1293 (sched_get_priority_max): Likewise.
1294 * manual/signal.texi (sigvec): Add space after comma.
1295 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1296 names.
1297 (if_indextoname): Likewise.
1298 (if_freenameindex): Likewise.
1299 (sendto): Use ',' instead of '.' in prototype.
1300 * manual/startup.texi (syscall): Use @dots{} instead of literal
1301 "...".
1302 * manual/stdio.texi (__fpending): Separate initial words of
1303 paragraph from @deftypefun line.
1304 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1305 "...".
1306 (vsyslog): Use @var{} on parameter names.
1307 * manual/terminal.texi (stty): Use @var{} on parameter names.
1308 * manual/users.texi (getutmp): Use @var{} on parameter names.
1309 (getutmpx): Likewise.
1310
5b23062f
JM
13112012-02-17 Joseph Myers <joseph@codesourcery.com>
1312
1313 [BZ #6884]
1314 * manual/stdio.texi (fopen): Fix typos in description of
1315 ",ccs=STRING".
1316
8dee4833
AJ
13172012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1318
1319 [BZ #4026]
1320 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1321 get clock_id definition.
1322
9078ce93
TS
13232012-02-17 Thomas Schwinge <thomas@schwinge.name>
1324
1325 [BZ #4822]
1326 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1327 (madvise): Cast every argument to void on its own.
1328
3835c55f
JM
13292012-02-17 Joseph Myers <joseph@codesourcery.com>
1330
1331 [BZ #9902]
1332 * manual/startup.texi (Exit Status): Fix typo.
1333
35c47e37
JM
13342012-02-17 Joseph Myers <joseph@codesourcery.com>
1335
1336 [BZ #10140]
1337 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1338 * manual/examples/argp-ex2.c: Likewise.
1339 * manual/examples/argp-ex3.c: Likewise.
1340
e3b69ca7
RH
13412012-02-16 Richard Henderson <rth@redhat.com>
1342
1343 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1344 * sysdeps/s390/s390-32/initfini.c: Remove.
1345 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1346 * sysdeps/s390/s390-64/initfini.c: Remove.
1347
df83af67
KK
13482012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1349
1350 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1351 compiler output for sysdeps/generic/initfini.c.
1352 * sysdeps/sh/elf/initfini.c: Remove file.
1353
f63f3380
DM
13542012-02-16 David S. Miller <davem@davemloft.net>
1355
fb59b3a4
DM
1356 [BZ #11494]
1357 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1358
f63f3380
DM
1359 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1360 * sysdeps/sparc/crti.S: New file.
1361 * sysdeps/sparc/crtn.S: New file.
1362 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1363 * sysdeps/sparc/sparc64/Makefile: Likewise.
1364
df6a4a4a
MF
13652012-02-15 Mike Frysinger <vapier@gentoo.org>
1366
6dd8f3dc 1367 [BZ #3335]
df6a4a4a
MF
1368 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1369
1cac7236
RM
13702012-02-15 Roland McGrath <roland@hack.frob.com>
1371
d2c736f8
RM
1372 [BZ #4822]
1373 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1374
1cac7236
RM
1375 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1376 (write, read, close): Likewise.
1377 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1378
8e475601
JM
13792012-02-15 Joseph Myers <joseph@codesourcery.com>
1380
1381 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1382 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1383 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1384 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1385 <bits/signalfd.h>.
1386 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1388 bits/signalfd.h.
1389
ed656b40
MP
13902012-02-14 Marek Polacek <polacek@redhat.com>
1391
1392 * sysdeps/x86_64/crti.S: New file.
1393 * sysdeps/x86_64/crtn.S: New file.
1394 * sysdeps/x86_64/elf/initfini.c: Remove file.
1395
2a979d3a
JM
13962012-02-13 Joseph Myers <joseph@codesourcery.com>
1397
1398 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1399 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1400 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1401 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1402 <bits/inotify.h>.
1403 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1405 bits/inotify.h.
1406
2a418ac3
JM
14072012-02-13 Joseph Myers <joseph@codesourcery.com>
1408
1409 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1410 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1411 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1412 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1413 <bits/eventfd.h>.
1414 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1415 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1416 bits/eventfd.h.
1417
fb779be7
TS
14182012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1419
e19e83c5
RM
1420 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1421 __feraiseexcept instead of feraiseexcept.
7c35ffed 1422
fb779be7
TS
1423 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1424 nanosleep invocations.
1425 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1426 strings, and add error checking for a nanosleep invocations.
1427
59ba27a6
PE
14282012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1429
1430 Replace FSF snail mail address with URLs, as per GNU coding standards.
1431 Most of the snail mail addresses were wrong anyway, and omitting
1432 them makes the source code easier to maintain. Almost all of the
1433 changes are to license notices and to locale LC_IDENTIFICATION
1434 addresses, except for this one:
1435 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1436 not its snail mail address.
1437
57b957eb
RH
14382012-02-09 Richard Henderson <rth@twiddle.net>
1439
af850b1c
RH
1440 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1441 of kernel-features.h.
1442
57b957eb
RH
1443 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1444
6b73181a
MP
14452012-02-08 Marek Polacek <polacek@redhat.com>
1446
1447 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1448 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1449 * sysdeps/gnu/_G_config.h: Likewise.
1450 * sysdeps/generic/_G_config.h: Likewise.
1451
26ecc33a
AS
14522012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1453
6c6dbc63
AS
1454 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1455 tests.
1456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1457
e216c012
AS
1458 * sysdeps/powerpc/powerpc32/crti.S: New file.
1459 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1460 * sysdeps/powerpc/powerpc64/crti.S: New file.
1461 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1462
26ecc33a
AS
1463 * Makeconfig (have-initfini): Don't set.
1464 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1465 * configure.in (nopic_initfini): Don't substitute.
1466 * config.h.in (HAVE_INITFINI): Don't #undef.
1467 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1468 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1469
3add8e13
JM
14702012-02-08 Joseph Myers <joseph@codesourcery.com>
1471
1472 Support crti.S and crtn.S provided directly by architectures.
1473 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1474 [crti.S in sysdirs] (omit-deps): Likewise.
1475 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1476 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1477 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1478 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1479 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1480 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1481 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1482 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1483 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1484 compiler output for sysdeps/generic/initfini.c.
1485 * sysdeps/i386/elf/Makefile: Remove file.
1486 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1487
a22f12b4
MP
14882012-02-07 Marek Polacek <polacek@redhat.com>
1489
1490 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1491 * sysdeps/gnu/_G_config.h: Likewise.
1492 * sysdeps/mach/hurd/_G_config.h: Likewise.
1493
148cf100
MP
14942012-02-07 Marek Polacek <polacek@redhat.com>
1495
1496 * math/Makefile (tests): Add tst-CMPLX2.
1497 * math/tst-CMPLX2.c: New file.
1498
cfdc0dd7
AS
14992012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1500
84ba42c4
AS
1501 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1502
cfdc0dd7
AS
1503 * math/libm-test.inc (jn_test): Add missing L suffix.
1504
622c86f4
MP
15052012-02-06 Marek Polacek <polacek@redhat.com>
1506
1507 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1508 * sysdeps/i386/fpu/e_powf.S: Likewise.
1509 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1510 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1511 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1512 * sysdeps/i386/fpu/e_pow.S: Likewise.
1513 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1514 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1515 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1516 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1517 * sysdeps/i386/fpu/e_log2.S: Likewise.
1518 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1519 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1520 * sysdeps/i386/fpu/e_powl.S: Likewise.
1521 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1522 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1523 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1524 * sysdeps/i386/fpu/e_logl.S: Likewise.
1525 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1526 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1527 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1528 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1529 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1530 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1531 * sysdeps/i386/fpu/e_log.S: Likewise.
1532 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1533 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1534 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1535 * sysdeps/i386/fpu/e_logf.S: Likewise.
1536 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1537 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1538 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1539 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1540 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1541 * sysdeps/i386/fpu/e_log10.S: Likewise.
1542 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1543 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1544 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1545 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1546 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1547 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1548 * sysdeps/i386/asm-syntax.h: Likewise.
1549 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1550 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1551 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1552 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1553 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1554 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1555 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1556 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1557 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1558 * sysdeps/powerpc/sysdep.h: Likewise.
1559 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1560 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1561
d4a54ac6
JM
15622012-02-06 Joseph Myers <joseph@codesourcery.com>
1563
1564 [BZ #411]
1565 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1566
314054ea
JM
15672012-02-06 Joseph Myers <joseph@codesourcery.com>
1568
1569 * sysdeps/i386/sysdep.h: Include <features.h>.
1570 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1571 version.
1572
d8e0ca50
JM
15732012-02-05 Joseph Myers <joseph@codesourcery.com>
1574
1575 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1576 Define.
1577 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1578 LOAD_PIC_REG_STR.
1579
b1da7dd9
JM
15802012-02-03 Joseph Myers <joseph@codesourcery.com>
1581
1582 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1583 (SETUP_PIC_REG): Use GET_PC_THUNK.
1584 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1585 macro.
1586
9a1d9254
JM
15872012-02-03 Joseph Myers <joseph@codesourcery.com>
1588
1589 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1590 for non-PIC compilation.
1591 (SETUP_PIC_REG): Add .p2align directive.
1592 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1593 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1594 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1595 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1596 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1597 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1598 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1599 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1600 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1601 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1602 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1603 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1604 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1605 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1606 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1607 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1608 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1609 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1610 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1611 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1612 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1613 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1614 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1615 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1616 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1617 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1618 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1619 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1620 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1621 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1622 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1623 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1624 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1625 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1626 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1627 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1628 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1629 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1630 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1631 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1632 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1633
65dc3b75
JM
16342012-02-03 Joseph Myers <joseph@codesourcery.com>
1635
1636 * math/tst-CMPLX.c: Include <stdio.h>.
1637
d55bf177
JM
16382012-01-31 Joseph Myers <joseph@codesourcery.com>
1639
1640 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1641 float.
1642 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1643 * sysdeps/sparc/bits/mathdef.h: Likewise.
1644
69db4f8f
MP
16452012-01-31 Marek Polacek <polacek@redhat.com>
1646
1647 * libio/libio.h: Don't define _PARAMS.
1648 * locale/programs/config.h: Don't define PARAMS.
1649 * stdlib/strtol_l.c: Likewise.
1650 (__strtol_l): Remove PARAMS from the prototype.
1651
41b81892
UD
16522012-01-31 Ulrich Drepper <drepper@gmail.com>
1653
3b49edc0
UD
1654 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1655 names. Just use the correct names. Remove unnecessary wrapper
1656 functions.
1657 * malloc/arena.c: Likewise.
1658 * malloc/hooks.c: Likewise.
1659
41b81892
UD
1660 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1661 ARENA_TEST says not to. Simplify test for creation of a new arena.
1662 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1663
27a25b6e
UD
16642012-01-30 Ulrich Drepper <drepper@gmail.com>
1665
1666 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1667 into tail calls.
1668 (update_get_addr): New function.
1669 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1670 GET_ADDR_MODULE parameter.
1671
c8a89e7d
JM
16722012-01-30 Joseph Myers <joseph@codesourcery.com>
1673
1674 * crypt/cert.c: Remove __STDC__ conditionals.
1675 * crypt/crypt-entry.c: Likewise.
1676 * crypt/crypt_util.c: Likewise.
1677 * libio/filedoalloc.c: Likewise.
1678 * libio/fileops.c: Likewise.
1679 * libio/genops.c: Likewise.
1680 * libio/iofclose.c: Likewise.
1681 * libio/iofdopen.c: Likewise.
1682 * libio/iofopen.c: Likewise.
1683 * libio/iofopen64.c: Likewise.
1684 * libio/iogetdelim.c: Likewise.
1685 * libio/iopopen.c: Likewise.
1686 * libio/obprintf.c: Likewise.
1687 * libio/oldfileops.c: Likewise.
1688 * libio/oldiofclose.c: Likewise.
1689 * libio/oldiofdopen.c: Likewise.
1690 * libio/oldiofopen.c: Likewise.
1691 * libio/oldiopopen.c: Likewise.
1692 * libio/wfiledoalloc.c: Likewise.
1693 * libio/wgenops.c: Likewise.
1694 * locale/programs/xmalloc.c: Likewise.
1695 * misc/syslog.c: Likewise.
1696 * stdio-common/xbug.c: Likewise.
1697 * string/memchr.c: Likewise.
1698 * string/memcmp.c: Likewise.
1699 * string/memrchr.c: Likewise.
1700 * string/rawmemchr.c: Likewise.
1701 * sysdeps/posix/getcwd.c: Likewise.
1702 * time/strftime_l.c: Likewise.
1703
3b100462
JM
17042012-01-30 Joseph Myers <joseph@codesourcery.com>
1705
1706 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
1707 * config.make.in (config-cflags-sse2avx): Define.
1708 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1709 Fix typo.
1710
607998af
CM
17112012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1712
1713 * scripts/config.guess: Update from upstream config git repository.
1714 * scripts/config.sub: Likewise.
1715
3601428f
CM
17162012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1717
3ac8b282
CM
1718 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1719 (EM_NUM): Update.
1720 (R_TILEPRO_*, R_TILEGX_*): New macros.
1721
e034841e
CM
1722 * scripts/firstversions.awk: Fix bug in version range handling.
1723
540d7568
CM
1724 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1725
3601428f
CM
1726 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1727
463de862
CM
1728 * include/sys/epoll.h: New file.
1729 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1730 libc_hidden_def.
1731
73139a76
UD
17322012-01-28 Ulrich Drepper <drepper@gmail.com>
1733
96bc5b45
UD
1734 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1735 Avoid unnecessary __WORDSIZE == 64 test.
1736 (fmaxf): Use VEX format if possible.
1737 (fmax): Likewise.
1738 (fminf): Likewise.
1739 (fmin): Likewise.
1740
56f6f6a2
UD
1741 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1742 * math/math_private.h: Remove libc_fegetround* and
1743 libc_fesetround*.
1744 * sysdeps/i386/configure.in: Check for -msse2avx.
1745 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1746 also if SSE2AVX is defined.
1747 Remove libc_fegetround* and libc_fesetround*.
1748 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1749 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1750 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1751 of HAS_YMM_USABLE.
1752 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1753 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1754 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1755 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1756 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1757
73139a76
UD
1758 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1759
d73f93a4
AZ
17602012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1761
1762 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1763 size is not set.
1764 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1765
6ee65ed6
UD
17662012-01-27 Ulrich Drepper <drepper@gmail.com>
1767
1768 [BZ #13618]
1769 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1770 relocation.
1771 * Makeconfig (libm): Define.
1772 * elf/Makefile: Add rules to build and run tst-relsort1.
1773 * elf/tst-relsort1.c: New file.
1774 * elf/tst-relsort1mod1.c: New file.
1775 * elf/tst-relsort1mod2.c: New file.
1776
8db21882
JM
17772012-01-27 Joseph Myers <joseph@codesourcery.com>
1778
1779 * math/s_ldexp.c: Remove __STDC__ conditionals.
1780 * math/s_ldexpf.c: Likewise.
1781 * math/s_ldexpl.c: Likewise.
1782 * math/s_nextafter.c: Likewise.
1783 * math/s_nexttowardf.c: Likewise.
1784 * math/s_significand.c: Likewise.
1785 * math/s_significandf.c: Likewise.
1786 * math/s_significandl.c: Likewise.
1787 * math/w_jnl.c: Likewise.
1788 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1789 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1790 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1791 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1792 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1793 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1794 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1795 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1796 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1797 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1798 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1799 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1800 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1801 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1802 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1803 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1805 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1806 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1807 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1808 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1809 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1810 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1811 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1812 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1813 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1814 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1815 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1816 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1817 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1818 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1819 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1820 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1821 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1822 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1823 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1824 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1825 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1826 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1827 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1828 * sysdeps/ieee754/k_standard.c: Likewise.
1829 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1830 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1835 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1842 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1844 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1872 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1890 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1891 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1895 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1896 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1899 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1903 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1904 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1908 * sysdeps/ieee754/s_matherr.c: Likewise.
1909 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1910 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1911 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1913
965a54a4
JM
19142012-01-26 Joseph Myers <joseph@codesourcery.com>
1915
1916 * crypt/md5.h: Remove __STDC__ conditionals.
1917 * libio/libioP.h: Likewise.
1918 * locale/programs/config.h: Likewise.
1919 * sysdeps/generic/sysdep.h: Likewise.
1920 * sysdeps/i386/asm-syntax.h: Likewise.
1921 * sysdeps/s390/asm-syntax.h: Likewise.
1922 * sysdeps/unix/sysdep.h: Likewise.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1925
7071ad79
JM
19262012-01-26 Joseph Myers <joseph@codesourcery.com>
1927
1928 * libio/libio.h: Remove __STDC__ conditionals.
1929 * malloc/obstack.h: Likewise.
1930 * math/complex.h: Likewise.
1931 * math/math.h: Likewise.
1932 * sysdeps/generic/_G_config.h: Likewise.
1933 * sysdeps/gnu/_G_config.h: Likewise.
1934 * sysdeps/mach/hurd/_G_config.h: Likewise.
1935 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1936 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1937 * sysdeps/sparc/bits/mathdef.h: Likewise.
1938
afc5ed09
UD
19392012-01-26 Ulrich Drepper <drepper@gmail.com>
1940
1941 [BZ #13583]
1942 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 1943 Clean up HAS_* macros.
afc5ed09 1944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
1945 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1946 possible.
1947 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1948 HAS_AVX.
1949 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1950 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1951 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1953 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 1954
bdb6de1d
JM
19552012-01-25 Joseph Myers <joseph@codesourcery.com>
1956
1957 * elf/tst-unique3.cc (gets): Remove declaration.
1958 * elf/tst-unique3lib.cc (gets): Likewise.
1959 * elf/tst-unique3lib2.cc (gets): Likewise.
1960 * elf/tst-unique4.cc (gets): Likewise.
1961
b15549e6
UD
19622012-01-24 Ulrich Drepper <drepper@gmail.com>
1963
1964 * include/stdio.h: Add C++ protection. Add gets declarations and
1965 definitions.
1966 * debug/tst-chk1.c: Don't declare gets here.
1967 * stdio-common/tst-gets.c: Likewise.
1968
a037381f
JM
19692012-01-24 Joseph Myers <joseph@codesourcery.com>
1970
1971 * posix/glob: Remove directory.
1972
f1d4aa75
JM
19732012-01-24 Joseph Myers <joseph@codesourcery.com>
1974
1975 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1976
81c0c964
PT
19772012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1978
1979 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1980 of the non-standard EPFNOSUPPORT.
1981
0ea698ae
ST
19822011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1983
1984 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1985 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1986 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1987
d220b117
UD
19882012-01-21 Ulrich Drepper <drepper@gmail.com>
1989
1990 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1991
3e1aa84e
UD
19922012-01-20 Ulrich Drepper <drepper@gmail.com>
1993
1994 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1995 transient errors.
1996 * nscd/grpcache.c (cache_addgr): Likewise.
1997 * nscd/hstcache.c (cache_addhst): Likewise.
1998 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1999 * nscd/pwdcache.c (cache_addpw): Likewise.
2000 * nscd/servicescache.c (cache_addserv): Likewise.
2001
400aa020
UD
20022012-01-16 Ulrich Drepper <drepper@gmail.com>
2003
d77e7869
UD
2004 * malloc/malloc.c: Various cleanups.
2005 * malloc/hooks.c: Likewise.
2006
400aa020
UD
2007 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2008 * stdlib/bug-fmtmsg1.c: New file.
2009
2010 * stdlib/fmtmsg.c (init): Add missing unlock.
2011 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2012
e0a309cf
MP
20132012-01-12 Marek Polacek <polacek@redhat.com>
2014
2015 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2016 and _GNU_SOURCE.
2017
929d11c7
WS
20182012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2019
2020 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2021 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2022 macro to ensure uniqueness of label name.
2023 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2024 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2025
41d0e869
UD
20262012-01-11 Ulrich Drepper <drepper@gmail.com>
2027
0cc5ed3b
UD
2028 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2029
41d0e869
UD
2030 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2031 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2032 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2034
a47a831a
UD
20352012-01-10 Ulrich Drepper <drepper@gmail.com>
2036
daa891c0
UD
2037 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2038
2039 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2040 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2041 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2042
e58ef0f2
UD
2043 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2044
a47a831a 2045 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
2046 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2047 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 2048 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
2049
2050 * math/bits/math-finite.h: Add ldexp support.
2051
a0bfc9c7
MP
20522012-01-10 Marek Polacek <polacek@redhat.com>
2053
2054 * locale/programs/localedef.h (show_archive_content): Add noreturn
2055 attribute.
2056
d6e97a1d
UD
20572012-01-09 Ulrich Drepper <drepper@gmail.com>
2058
2059 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2060
d5835c26
UD
20612012-01-08 Ulrich Drepper <drepper@gmail.com>
2062
e5f484c6
UD
2063 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2064
d5835c26
UD
2065 * io/Makefile (headers): Add bits/poll2.h.
2066
d1f741e9
WS
20672011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2068
2069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2070 typo #include statement.
2071
ec09c1c4
UD
20722012-01-08 Ulrich Drepper <drepper@gmail.com>
2073
2074 * include/sys/cdefs.h: Define __attribute_alloc_size.
2075 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2076 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2077 * elf/pldd.c: Likewise.
2078 * iconv/iconv_charmap.c: Likewise.
2079 * iconv/iconvconfig.c: Likewise.
2080 * iconv/strtab.c: Likewise.
2081 * locale/programs/locale.c: Likewise.
2082 * locale/programs/localedef.h: Likewise.
2083 * locale/programs/simple-hash.c: Likewise.
2084 * nscd/nscd.h: Likewise.
2085 * nss/makedb.c: Likewise.
2086 * sysdeps/generic/ldconfig.h: Likewise.
2087 * locale/programs/localedef.c: Remove xmalloc prototype.
2088 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2089
20b38e03
PP
20902012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2091
2092 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2093 appropriate.
2094
a0da5fe1
UD
20952012-01-08 Ulrich Drepper <drepper@gmail.com>
2096
1d5a644a 2097 * math/Makefile (tests): Add tst-CMPLX.
669704fd 2098 * math/tst-CMPLX.c: New file.
1d5a644a 2099
8784a6db
UD
2100 * math/complex.h (CMPLXL): Fix typo.
2101
d9a216c0
UD
2102 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2103 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2104 GLIBC_2.16.
2105 * debug/tst-chk1.c: Add poll and ppoll tests.
2106 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2107 * include/sys/poll.h: Add hidden proto for ppoll.
2108 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2109 * sysdeps/mach/hurd/ppoll.c: Likewise.
2110 * io/ppoll.c: Likewise.
2111 * debug/poll_chk.c: New file.
2112 * debug/ppoll_chk.c: New file.
2113 * include/bits/poll2.h: New file.
2114 * io/bits/poll2.h: New file.
2115
ac097f5c
UD
2116 [BZ #1350]
2117 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2118
2119dcfa
UD
2119 * configure.in: static is always set to yes. Remove.
2120 * config.make.in: Don't set build-static.
2121 * Makeconfig: Remove use of build-static.
2122 * dlfcn/Makefile: Likewise.
2123 * elf/Makefile: Likewise.
2124 * math/Makefile: Likewise.
2125 * misc/Makefile: Likewise.
2126 * nptl/Makefile: Likewise.
2127 * sysdeps/mach/hurd/Makefile: Likewise.
2128
121766a9
UD
2129 * configure.in: PWD_P is not used anymore.
2130 * config.make.in: Remove PWD_P entry.
2131
51a1d39c 2132 * configure.in: Remove last remnants of RANLIB.
8720d066 2133 No need to check for signed size_t anymore.
215f4bdc
UD
2134 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2135 and IA-64.
3857022a 2136 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
2137 * aclocal.m4: Likewise.
2138
d3ed7225
UD
2139 * wcsmbs/mbrtoc16.c: Implement using towc function.
2140 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2141 * wcsmbs/wcsmbsload.c: Likewise.
2142 * iconv/gconv_simple.c: Likewise.
2143 * iconv/gconv_int.h: Likewise.
2144 * iconv/gconv_builtin.h: Likewise.
2145 * iconv/iconv_prog.c: Remove CHAR16 handling.
2146
2147 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2148
2149 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2150
a0da5fe1
UD
2151 * configure.in: Remove --with-elf and --enable-bounded options.
2152 Dont set base_machine for ia64. More non-ELF conditions removed.
2153 Remove testing and setting of leading underscore information.
2154 * config.make.in (build-bounded): Set to no.
2155 * config.h.in: Remove NO_UNDERSCORES entry.
2156 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2157 them.
2158 * csu/start.c: Remove !NO_UNDERSCORE code.
2159 * locale/localeinfo.h: Likewise.
2160 * sysdeps/generic/machine-gmon.h: Likewise.
2161 * sysdeps/generic/sysdep.h: Likewise.
2162 * sysdeps/i386/sysdep.h: Likewise.
2163 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2164 * sysdeps/mach/sysdep.h: Likewise.
2165 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2166 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2167 * sysdeps/sh/sysdep.h: Likewise.
2168 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2169 * sysdeps/unix/i386/sysdep.S: Likewise.
2170 * sysdeps/unix/sparc/start.c: Likewise.
2171 * sysdeps/unix/sparc/sysdep.S: Likewise.
2172 * sysdeps/unix/sparc/sysdep.h: Likewise.
2173 * sysdeps/unix/start.c: Likewise.
2174 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2175 * sysdeps/x86_64/sysdep.h: Likewise.
2176
df78418a
UD
21772012-01-07 Ulrich Drepper <drepper@gmail.com>
2178
a784e502
UD
2179 [BZ #13553]
2180 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2181 for non-gcc.
2182 * argp/argp-fmtstream.h: Use const instead __const.
2183 * argp/argp.h: Likewise.
2184 * assert/assert.h: Likewise.
2185 * bits/fenv.h: Likewise.
2186 * bits/sched.h: Likewise.
2187 * bits/sigset.h: Likewise.
2188 * bits/sigthread.h: Likewise.
2189 * catgets/nl_types.h: Likewise.
2190 * conform/data/pthread.h-data: Likewise.
2191 * crypt/crypt-private.h: Likewise.
2192 * crypt/crypt.h: Likewise.
2193 * crypt/crypt_util.c: Likewise.
2194 * ctype/ctype.h: Likewise.
2195 * debug/execinfo.h: Likewise.
2196 * debug/mbsnrtowcs_chk.c: Likewise.
2197 * debug/mbsrtowcs_chk.c: Likewise.
2198 * debug/wcsnrtombs_chk.c: Likewise.
2199 * debug/wcsrtombs_chk.c: Likewise.
2200 * debug/wcstombs_chk.c: Likewise.
2201 * dirent/dirent.h: Likewise.
2202 * dlfcn/dlfcn.h: Likewise.
2203 * elf/neededtest4.c: Likewise.
2204 * grp/grp.h: Likewise.
2205 * gshadow/gshadow.h: Likewise.
2206 * iconv/gconv.h: Likewise.
2207 * iconv/gconv_int.h: Likewise.
2208 * iconv/gconv_simple.c: Likewise.
2209 * iconv/iconv.h: Likewise.
2210 * iconv/loop.c: Likewise.
2211 * iconv/skeleton.c: Likewise.
2212 * include/aio.h: Likewise.
2213 * include/aliases.h: Likewise.
2214 * include/argz.h: Likewise.
2215 * include/arpa/inet.h: Likewise.
2216 * include/assert.h: Likewise.
2217 * include/dirent.h: Likewise.
2218 * include/dlfcn.h: Likewise.
2219 * include/execinfo.h: Likewise.
2220 * include/fcntl.h: Likewise.
2221 * include/fenv.h: Likewise.
2222 * include/glob.h: Likewise.
2223 * include/grp.h: Likewise.
2224 * include/libintl.h: Likewise.
2225 * include/mntent.h: Likewise.
2226 * include/netdb.h: Likewise.
2227 * include/pwd.h: Likewise.
2228 * include/rpc/netdb.h: Likewise.
2229 * include/sched.h: Likewise.
2230 * include/search.h: Likewise.
2231 * include/shadow.h: Likewise.
2232 * include/signal.h: Likewise.
2233 * include/stdio.h: Likewise.
2234 * include/stdlib.h: Likewise.
2235 * include/string.h: Likewise.
2236 * include/sys/socket.h: Likewise.
2237 * include/sys/stat.h: Likewise.
2238 * include/sys/statfs.h: Likewise.
2239 * include/sys/statvfs.h: Likewise.
2240 * include/sys/syslog.h: Likewise.
2241 * include/sys/time.h: Likewise.
2242 * include/sys/uio.h: Likewise.
2243 * include/time.h: Likewise.
2244 * include/unistd.h: Likewise.
2245 * include/utmp.h: Likewise.
2246 * include/wchar.h: Likewise.
2247 * include/wctype.h: Likewise.
2248 * inet/aliases.h: Likewise.
2249 * inet/arpa/inet.h: Likewise.
2250 * inet/netinet/ether.h: Likewise.
2251 * inet/netinet/in.h: Likewise.
2252 * intl/libintl.h: Likewise.
2253 * io/bits/fcntl2.h: Likewise.
2254 * io/fcntl.h: Likewise.
2255 * io/ftw.h: Likewise.
2256 * io/sys/poll.h: Likewise.
2257 * io/sys/stat.h: Likewise.
2258 * io/sys/statfs.h: Likewise.
2259 * io/sys/statvfs.h: Likewise.
2260 * io/utime.h: Likewise.
2261 * libio/bits/stdio.h: Likewise.
2262 * libio/bits/stdio2.h: Likewise.
2263 * libio/libio.h: Likewise.
2264 * libio/libioP.h: Likewise.
2265 * libio/stdio.h: Likewise.
2266 * locale/lc-ctype.c: Likewise.
2267 * locale/locale.h: Likewise.
2268 * login/utmp.h: Likewise.
2269 * malloc/arena.c: Likewise.
2270 * malloc/malloc.c: Likewise.
2271 * malloc/malloc.h: Likewise.
2272 * malloc/mcheck.c: Likewise.
2273 * malloc/mtrace.c: Likewise.
2274 * math/bits/mathcalls.h: Likewise.
2275 * math/fenv.h: Likewise.
2276 * math/math_private.h: Likewise.
2277 * misc/bits/error.h: Likewise.
2278 * misc/bits/syslog.h: Likewise.
2279 * misc/err.h: Likewise.
2280 * misc/error.h: Likewise.
2281 * misc/fstab.h: Likewise.
2282 * misc/mntent.h: Likewise.
2283 * misc/regexp.h: Likewise.
2284 * misc/search.h: Likewise.
2285 * misc/sgtty.h: Likewise.
2286 * misc/sys/mman.h: Likewise.
2287 * misc/sys/syslog.h: Likewise.
2288 * misc/sys/uio.h: Likewise.
2289 * misc/sys/xattr.h: Likewise.
2290 * misc/ttyent.h: Likewise.
2291 * nis/rpcsvc/ypclnt.h: Likewise.
2292 * nss/nss.h: Likewise.
2293 * posix/bits/unistd.h: Likewise.
2294 * posix/fnmatch.h: Likewise.
2295 * posix/glob.h: Likewise.
2296 * posix/sched.h: Likewise.
2297 * posix/spawn.h: Likewise.
2298 * posix/sys/wait.h: Likewise.
2299 * posix/unistd.h: Likewise.
2300 * posix/wordexp.h: Likewise.
2301 * pwd/pwd.h: Likewise.
2302 * resolv/netdb.h: Likewise.
2303 * resource/sys/resource.h: Likewise.
2304 * rt/aio.h: Likewise.
2305 * rt/bits/mqueue2.h: Likewise.
2306 * rt/mqueue.h: Likewise.
2307 * shadow/shadow.h: Likewise.
2308 * signal/signal.h: Likewise.
2309 * socket/send.c: Likewise.
2310 * socket/sendto.c: Likewise.
2311 * socket/sys/socket.h: Likewise.
2312 * stdio-common/printf.h: Likewise.
2313 * stdlib/bits/stdlib.h: Likewise.
2314 * stdlib/fmtmsg.h: Likewise.
2315 * stdlib/monetary.h: Likewise.
2316 * stdlib/stdlib.h: Likewise.
2317 * stdlib/ucontext.h: Likewise.
2318 * streams/stropts.h: Likewise.
2319 * string/argz.h: Likewise.
2320 * string/bits/string2.h: Likewise.
2321 * string/string.h: Likewise.
2322 * string/strings.h: Likewise.
2323 * sunrpc/rpc/auth.h: Likewise.
2324 * sunrpc/rpc/auth_des.h: Likewise.
2325 * sunrpc/rpc/clnt.h: Likewise.
2326 * sunrpc/rpc/netdb.h: Likewise.
2327 * sunrpc/rpc/pmap_clnt.h: Likewise.
2328 * sunrpc/rpc/xdr.h: Likewise.
2329 * sysdeps/generic/inttypes.h: Likewise.
2330 * sysdeps/generic/net/if.h: Likewise.
2331 * sysdeps/generic/sys/swap.h: Likewise.
2332 * sysdeps/gnu/net/if.h: Likewise.
2333 * sysdeps/gnu/utmpx.h: Likewise.
2334 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2335 * sysdeps/i386/i486/bits/string.h: Likewise.
2336 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2337 * sysdeps/s390/bits/string.h: Likewise.
2338 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2339 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2340 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2341 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2342 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2343 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2344 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2345 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2346 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2347 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2348 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2349 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2350 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2351 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2352 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2353 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2354 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2356 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2357 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2358 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2359 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2360 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2361 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2362 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2363 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2364 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2365 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2366 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2367 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2368 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2369 * sysvipc/sys/ipc.h: Likewise.
2370 * sysvipc/sys/msg.h: Likewise.
2371 * sysvipc/sys/sem.h: Likewise.
2372 * sysvipc/sys/shm.h: Likewise.
2373 * termios/termios.h: Likewise.
2374 * time/sys/time.h: Likewise.
2375 * time/time.h: Likewise.
2376 * wcsmbs/bits/wchar2.h: Likewise.
2377 * wcsmbs/uchar.h: Likewise.
2378 * wcsmbs/wchar.h: Likewise.
2379 * wctype/wctype.h: Likewise.
2380
0269750c
UD
2381 [BZ #13551]
2382 * Makeconfig: Remove all but ELF support including AIX support.
2383 * Makerules: Likewise.
2384 * config.h.in: Likewise.
2385 * config.make.in: Likewise.
2386 * configure: Likewise.
2387 * configure.in: Likewise.
2388 * csu/Makefile: Likewise.
2389 * csu/version.c: Likewise.
2390 * debug/Makefile: Likewise.
2391 * dlfcn/Makefile: Likewise.
2392 * elf/Makefile: Likewise.
2393 * extra-lib.mk: Likewise.
2394 * iconv/Makefile: Likewise.
2395 * include/libc-symbols.h: Likewise.
2396 * include/shlib-compat.h: Likewise.
2397 * resolv/Makefile: Likewise.
2398 * resolv/res_libc.c: Likewise.
2399 * rt/Makefile: Likewise.
2400 * sysdeps/i386/asm-syntax.h: Likewise.
2401 * sysdeps/i386/sysdep.h: Likewise.
2402 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2403 * sysdeps/mach/sysdep.h: Likewise.
2404 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2405 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2406 * sysdeps/s390/asm-syntax.h: Likewise.
2407 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2408 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2409 * sysdeps/sh/sysdep.h: Likewise.
2410 * sysdeps/unix/sparc/sysdep.h: Likewise.
2411 * sysdeps/wordsize-32/divdi3.c: Likewise.
2412 * sysdeps/x86_64/sysdep.h: Likewise.
2413
00bbd29b
UD
2414 * argp/Versions: Remove _argp_unlock_xxx.
2415
2416 [BZ #13559]
2417 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2418 * abilist/libBrokenLocale.abilist: Likewise.
2419 * abilist/libanl.abilist: Likewise.
2420 * abilist/libc.abilist: Likewise.
2421 * abilist/libcrypt.abilist: Likewise.
2422 * abilist/libdl.abilist: Likewise.
2423 * abilist/libm.abilist: Likewise.
2424 * abilist/libnsl.abilist: Likewise.
2425 * abilist/libpthread.abilist: Likewise.
2426 * abilist/libresolv.abilist: Likewise.
2427 * abilist/librt.abilist: Likewise.
2428 * abilist/libthread_db.abilist: Likewise.
2429 * abilist/libutil.abilist: Likewise.
2430 * abilist/libnss_db.abilist: New file.
2431
2432 * scripts/abilist.awk: Add support for indirect functions.
2433
a2693a0e
UD
2434 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2435
3f05895f
UD
2436 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2437
ecb6fb48
UD
2438 * shlib-versions: Remove entries for ports architectures.
2439
664f8cb9
UD
2440 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2441 files in ports.
2442 * elf/stackguard-macros.h: Remove support for IA-64.
2443 * elf/tst-auditmod1.c: Likewise.
2444 * sysdeps/generic/ldsodefs.h: Likewise.
2445
7ae81d88
UD
2446 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2447 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2448 configure files.
2449
bdeba135
UD
2450 [BZ #13552]
2451 * configure.in: Remove --enable-omitfp support.
2452 * FAQ.in: Adjust.
2453 * config.make.in: Likewise.
2454 * Makeconfig: Likewise.
2455 * manual/install.texi: Likewise.
2456
d75a0a62
UD
2457 In case anyone cares, the IA-64 architecture could move to ports.
2458 * sysdeps/ia64/*: Removed.
2459 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 2460 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 2461
dcc9756b
UD
2462 [BZ #13555]
2463 * configure.in: Remove entries for unsupported architectures.
2464
d3761ebc 2465 [BZ #13533]
9954432e
UD
2466 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2467 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2468 routines.
2469 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2470 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2471 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2472 fall back to using wcrtomb.
2473 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2474 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2475 renaming.
2476 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2477 * wcsmbs/tst-c16c32-1.c: New file.
2478
2479 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2480 local variable.
2481
c3a87236
UD
2482 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2483
28926a1b
UD
2484 * elf/tst-unique3.cc: Add explicit declaration of gets.
2485 * elf/tst-unique3lib.cc: Likewise.
2486 * elf/tst-unique3lib2.cc: Likewise.
2487 * elf/tst-unique4.cc: Likewise.
2488
df78418a
UD
2489 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2490
8ecd6b2a
JM
24912012-01-06 Joseph Myers <joseph@codesourcery.com>
2492
2493 [BZ #13566]
2494 * assert/assert.h (static_assert): Don't define for C++.
2495 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2496 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2497
9f115170
UD
24982012-01-03 Ulrich Drepper <drepper@gmail.com>
2499
5e0d0300
UD
2500 * iconv/loop.c (single loop): Fix assertion in storing of
2501 remaining bytes.
2502
9f115170
UD
2503 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2504
81fb02b0
UD
25052012-01-01 Ulrich Drepper <drepper@gmail.com>
2506
2507 * posix/getconf.c: Update copyright year.
2508 * nss/getent.c: Likewise.
a316c1f6 2509 * nss/makedb.c: Likewise.
81fb02b0
UD
2510 * iconv/iconvconfig.c: Likewise.
2511 * iconv/iconv_prog.c: Likewise.
2512 * elf/ldconfig.c: Likewise.
a316c1f6
UD
2513 * elf/pldd.c: Likewise.
2514 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
2515 * catgets/gencat.c: Likewise.
2516 * csu/version.c: Likewise.
2517 * elf/ldd.bash.in: Likewise.
2518 * elf/sprof.c (print_version): Likewise.
2519 * locale/programs/locale.c: Likewise.
2520 * locale/programs/localedef.c: Likewise.
a316c1f6 2521 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
2522 * nscd/nscd.c (print_version): Likewise.
2523 * debug/xtrace.sh: Likewise.
2524 * malloc/memusage.sh: Likewise.
2525 * malloc/mtrace.pl: Likewise.
2526 * debug/catchsegv.sh: Likewise.
2527
2ba92745
JJ
25282011-12-30 Jakub Jelinek <jakub@redhat.com>
2529
2530 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2531 pure attribute.
2532
dadebdae
UD
25332011-12-24 Ulrich Drepper <drepper@gmail.com>
2534
d3761ebc 2535 [BZ #13533]
db6af3eb
UD
2536 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2537 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2538 transformations.
2539 * iconv/gconv_int.h: Likewise.
2540 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2541 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2542 from libc for GLIBC_2.16.
2543 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2544 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2545 * wcsmbs/uchar.h: Really define mbstate_t.
2546 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2547 * wcsmbs/c16rtomb.c: New file.
2548 * wcsmbs/mbrtoc16.c: New file.
2549 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2550 for C/POSIX locale.
2551 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2552 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2553
dadebdae
UD
2554 * wcsmbs/wchar.h: Add missing __restrict.
2555
67371b56
UD
25562011-12-23 Ulrich Drepper <drepper@gmail.com>
2557
74033a25
UD
2558 [BZ #13532]
2559 * time/Makefile (routines): Add timespec_get.
2560 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2561 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2562 timespec for ISO C11.
2563 * time/timespec_get.c: New file.
2564 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2565 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2566
380d7e87
UD
2567 [BZ #13531]
2568 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2569 * stdlib/stdlib.h: Declare aligned_alloc.
2570 * Versions.def: Add GLIBC_2.16 for libc.
2571 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2572
4e9e7a35
UD
2573 [BZ 13527]
2574 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2575 ISO C11.
2576
380d7e87 2577 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
2578 code.
2579
03a71829
UD
2580 [BZ #13528]
2581 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2582
839e283e
UD
2583 [BZ #13529]
2584 * assert/assert.h (static_assert): Define.
2585
ce5294e2 2586 * version.h: Update for 2.16 development version.
90fa7312 2587
8d44e150 2588 [BZ #13526]
d7809905
UD
2589 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2590 _ISOC11_SOURCE.
2591
c0da14cd
UD
2592 * version.h (RELEASE): Bump for 2.15 release.
2593 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2594
530a3249
MP
2595 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2596 Patch by Marek Polacek <mpolacek@redhat.com>.
2597
67371b56
UD
2598 * bits/byteswap.h: Protect long long constants with __extension__.
2599 * sysdeps/i386/bits/byteswap.h: Likewise.
2600 * sysdeps/ia64/bits/byteswap.h: Likewise.
2601 * sysdeps/s390/bits/byteswap.h: Likewise.
2602 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2603
15db4de1
LD
26042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2605
2606 [BZ #13540]
bbe315ea
LD
2607 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2608 destination buffer.
15db4de1
LD
2609 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2610
2b2596b1
MP
26112011-12-23 Marek Polacek <polacek@redhat.com>
2612
2613 * elf/dl-addr.c (determine_info): Add inline keyword.
2614 * elf/tst-auditmod4b.c (check_avx): Likewise.
2615 * elf/tst-auditmod6b.c (check_avx): Likewise.
2616 * elf/tst-auditmod6c.c (check_avx): Likewise.
2617 * elf/tst-auditmod7b.c (check_avx): Likewise.
2618
70c6c246
UD
26192011-12-23 Ulrich Drepper <drepper@gmail.com>
2620
2621 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2622 !__SSE_MATH__.
2623
c044cf14
LD
26242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2625
15db4de1 2626 [BZ #13540]
c044cf14
LD
2627 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2628 processing for last bytes.
2629
6b13d9d9
BH
26302011-08-06 Bruno Haible <bruno@clisp.org>
2631
d455f537
BH
2632 [BZ #13061]
2633 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2634 U+0385, not to U+1FEE.
2635
6b13d9d9
BH
2636 [BZ #13062]
2637 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2638 entry for U+00A5 U+0301.
2639
db910efd
UD
26402011-12-22 Ulrich Drepper <drepper@gmail.com>
2641
27deeafc
UD
2642 [BZ #13166]
2643 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2644 buffer for the output is too small.
2645
aed9d171
UD
2646 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2647 optimization.
2648
db910efd
UD
2649 [BZ #13185]
2650 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2651 SSE flags if possible.
2652
2bd779ae
LD
26532011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2654
e7f9dac3 2655 [BZ #13540]
2bd779ae
LD
2656 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2657 processing for last bytes.
2658
154bfc16
JM
26592011-12-22 Joseph Myers <joseph@codesourcery.com>
2660
2661 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2662 (syscall-list-default-options, syscall-list-default-condition)
2663 (syscall-list-includes): Define.
2664 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2665 list of ABIs and options and #if conditions for each ABI. Do not
2666 handle common syscalls between ABIs specially.
2667 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2668 Remove.
2669 (syscall-list-variants, syscall-list-32bit-options)
2670 (syscall-list-32bit-condition, syscall-list-64bit-options)
2671 (syscall-list-64bit-condition): Define.
2672 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2673 (syscall-list-variants, syscall-list-32bit-options)
2674 (syscall-list-32bit-condition, syscall-list-64bit-options)
2675 (syscall-list-64bit-condition): Define.
2676 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2677 Remove.
2678 (syscall-list-variants, syscall-list-32bit-options)
2679 (syscall-list-32bit-condition, syscall-list-64bit-options)
2680 (syscall-list-64bit-condition): Define.
2681 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2682 Remove.
2683 (syscall-list-variants, syscall-list-32bit-options)
2684 (syscall-list-32bit-condition, syscall-list-64bit-options)
2685 (syscall-list-64bit-condition): Define.
2686
21eaf3a5
UD
26872011-12-22 Ulrich Drepper <drepper@gmail.com>
2688
16c6f992
UD
2689 * locale/iso-639.def: Add brx entry.
2690
41043168
UD
2691 [BZ #13328]
2692 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2693 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2694
21eaf3a5
UD
2695 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2696 __feraiseexcept_renamed.
2697
e3a851a2
UD
26982011-12-21 Ulrich Drepper <drepper@gmail.com>
2699
4920765e
UD
2700 [BZ #13538]
2701 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2702 EPOLLET with unsigned values.
2703 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2704 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2705
e3a851a2
UD
2706 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2707 to large cancellation.
2708 * math/s_cacoshf.c: Likewise.
2709 * math/s_cacoshl.c: Likewise.
2710
b27e24b8
RK
27112011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2712
2713 [BZ #13305]
aebefeee 2714 [BZ #12786]
b27e24b8
RK
2715 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2716 * math/s_cacoshf.c: Likewise.
2717 * math/s_cacoshl.c: Likewise.
2718
ee190f67
UD
27192011-12-21 Ulrich Drepper <drepper@gmail.com>
2720
2721 [BZ #13439]
2722 * iconv/gconv.h: Define __GCONV_SWAP.
2723 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2724 * iconvdata/utf-16.c: Likewise.
2725 * iconvdata/utf-32.c: Likewise.
2726
707f25df
AS
27272011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2728
2729 [BZ #13524]
2730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2731 numerator after shifting it by one limb.
2732
d2daaa1e
RÁE
27332011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2734
2735 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2736 under [__USE_EXTERN_INLINES].
2737
a4647e72
UD
27382011-12-17 Ulrich Drepper <drepper@gmail.com>
2739
2740 [BZ #13446]
2741 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2742
f0b264f1
AZ
27432011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2744
2745 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2746 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2747 optimized code.
2748 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2749 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2750 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2751 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2752 for strncasecmp/strncasecmp_l compilation.
2753 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2754 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2755
8ef4f244
MP
27562011-12-08 Marek Polacek <mpolacek@redhat.com>
2757
2758 [BZ #13484]
2759 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2760 of __asm__.
2761
97ac2654
UD
27622011-12-17 Ulrich Drepper <drepper@gmail.com>
2763
2764 [BZ #13506]
2765 * time/tzfile.c (__tzfile_read): Check values from file header.
2766
91d2a845
WS
27672011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2768
2769 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2770 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2771 * powerpc/powerpc32/dl-start.S: Likewise.
2772 * powerpc/powerpc32/elf/start.S: Likewise.
2773 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2774 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2775 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2776 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2777 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2778 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2779 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2780 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2781 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2782 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2783 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2784 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2785 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2786 * powerpc/powerpc32/memset.S: Likewise.
2787 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2788 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2789 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2790 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2791 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2792 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2793 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2794 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2795 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2796 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2797 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2798 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2799 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2800
a1267ba1
AZ
28012011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2802
2803 * math/libm-test.inc: Added more nearbyint tests.
2804 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2805 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2806 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2807 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2808
ad8ac1bd
RL
28092011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2810
2811 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2812 FD_CLOEXEC.
2813
1d3e4b61
UD
28142011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2815
2816 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2817 Add wcscpy-ssse3 wcscpy-c.
2818 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2819 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2820 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2821 * sysdeps/x86_64/wcschr.S: New file.
2822 * sysdeps/x86_64/wcsrchr.S: New file.
2823 * string/test-strcmp.c: Remove checking of wcscmp function for
2824 wrong alignments.
2825 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2826 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2827 wcsrchr-sse2 wcsrchr-c.
2828 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2829 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2830 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2831 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2832 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2833 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2834 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2835 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2836 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2837 * wcsmbc/wcschr.c (WCSCHR): New macro.
2838
5b330a2d
UD
28392011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2840
2841 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2842 * wcsmbs/test-wcsrchr.c: New file.
2843 * string/test-strrchr.c: Add wcsrchr support.
2844 (WIDE): New macro.
2845 * wcsmbs/test-wcscpy.c: New file.
2846 * string/test-strcpy.c: Add wcscpy support.
2847 (WIDE): New macro.
26428b7c 2848
f039c043
UD
28492011-12-10 Ulrich Drepper <drepper@gmail.com>
2850
2851 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2852 the inner loop.
2853
850fb039
AS
28542011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2855
2856 [BZ #13472]
2857 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2858
4efbd5cb
UD
28592011-12-04 Ulrich Drepper <drepper@gmail.com>
2860
52ff5dd0 2861 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 2862 Minor optimizations.
52ff5dd0 2863
4efbd5cb
UD
2864 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2865 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2866 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2867
8a426e12
UD
28682011-12-03 Ulrich Drepper <drepper@gmail.com>
2869
aff2453d
UD
2870 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2871 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2872 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2873 for gcc to avoid warnings.
2874 * inet/Makefile (tests): Add tst-checks.
2875 * inet/tst-checks.c: New file.
2876
2877 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2878 warning.
2879
2880 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2881 __wmemcmp_sse2.
2882
2883 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2884 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2885
8a426e12
UD
2886 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2887
9bea3473
UD
28882011-12-02 Ulrich Drepper <drepper@gmail.com>
2889
3a965496
UD
2890 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2891 problem.
2892
9bea3473
UD
2893 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2894
f101631b
UD
28952011-11-29 Joseph Myers <joseph@codesourcery.com>
2896
2897 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2898 conditional on GCC version.
2899 (__arch_compare_and_exchange_val_8_acq)
2900 (__arch_compare_and_exchange_val_16_acq)
2901 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2902 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2903 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2904
a98275aa
UD
29052011-12-02 Joseph Myers <joseph@codesourcery.com>
2906
2907 * sysdeps/sh/backtrace.c: New file.
2908
d4cc29a2
AS
29092011-12-02 Andreas Schwab <schwab@redhat.com>
2910
2911 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2912 parenthesis.
2913
6257af2d
AS
29142011-12-01 Andreas Schwab <schwab@redhat.com>
2915
2916 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2917 falling back to utime.
2918
b5f44c1a
AS
29192011-11-30 Andreas Schwab <schwab@redhat.com>
2920
2921 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2922 expectations for float.
2923
f3a6cc0a
AS
29242011-11-29 Andreas Schwab <schwab@redhat.com>
2925
2926 * locale/weight.h (findidx): Add parameter len.
2927 * locale/weightwc.h (findidx): Likewise.
2928 * posix/fnmatch_loop.c (FCT): Adjust caller.
2929 * posix/regcomp.c (build_equiv_class): Likewise.
2930 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2931 * posix/regexec.c (check_node_accept_bytes): Likewise.
2932 * string/strcoll_l.c (STRCOLL): Likewise.
2933 * string/strxfrm_l.c (STRXFRM): Likewise.
2934
9d65ea3a
UD
29352011-11-17 Ulrich Drepper <drepper@gmail.com>
2936
2937 * Makefile.in: Remove CVSOPT handling.
2938 * configure.in: Remove use of AC_REVISION.
2939 * iconvdata/Makefile (distribute): No need to filter out CVS.
2940 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2941 handling.
2942
5583a086
AS
29432011-11-16 Andreas Schwab <schwab@redhat.com>
2944
2945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2946 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2947 [USE_AS_STRNCASECMP_L]: Likewise.
2948 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2949 NO_TLS_DIRECT_SEG_REFS.
2950 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2951 Fix argument offsets for non-PIC.
2952 [USE_AS_STRNCASECMP_L]: Likewise.
2953 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2954 NO_TLS_DIRECT_SEG_REFS.
2955
d62a8200
UD
29562011-11-15 Ulrich Drepper <drepper@gmail.com>
2957
9d65ea3a 2958 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
2959 O_CLOEXEC.
2960 * locale/loadlocale.c (_nl_load_locale): Likewise.
2961
09f93bd3
AS
29622011-11-15 Andreas Schwab <schwab@redhat.com>
2963
446514f9
AS
2964 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2965 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2966 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2967 (SYSCALL_GETTIME): Set errno on error.
2968
09f93bd3
AS
2969 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2970 count references to noai6ai_cached.
2971
312be3f9
UD
29722011-11-15 Ulrich Drepper <drepper@gmail.com>
2973
2974 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2975
2976 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2977 FD_CLOEXEC for /proc/self/maps.
2978
2979 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2980 FD_CLOEXEC for /proc/meminfo.
2981
2982 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2983 gai.conf.
2984
2985 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2986 FD_CLOEXEC for given file.
2987
2988 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2989
2990 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2991 FD_CLOEXEC for /etc/hosts.
2992 (_gethtent): Likewise.
2993
2994 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2995
2996 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2997 cancellation and set FD_CLOEXEC for /etc/netgroup.
2998
2999 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3000 reading /etc/publickey.
3001
3002 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3003 allow cancellation when reading /etc/group.
3004
3005 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3006 cancellation.
3007 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3008
3009 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3010 when using data file.
3011
3012 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3013
3014 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3015 (write_nis_obj): Use "c" and "e" in fopen.
3016
3017 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3018
3019 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3020
3021 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3022
3023 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3024
3025 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3026 locale.alias.
3027
3028 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3029
3030 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3031
3032 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3033
3034 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3035 file parsing and set FD_CLOEXEC.
3036
82af0fa8
UD
30372011-11-14 Ulrich Drepper <drepper@gmail.com>
3038
3039 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3040
a5fb313c
AS
30412011-11-14 Andreas Schwab <schwab@redhat.com>
3042
3043 * malloc/arena.c (arena_get2): Don't call reused_arena when
3044 _int_new_arena failed.
3045
6abf3465
UD
30462011-11-14 Ulrich Drepper <drepper@gmail.com>
3047
3048 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3049 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3050 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3051 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3052 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3053 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3054 to compile strcasecmp and strncasecmp.
3055 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3056 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3057
3058 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3059
76e3966e
UD
30602011-11-13 Ulrich Drepper <drepper@gmail.com>
3061
3062 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3063 locale-defines.sym to gen-as-const-headers.
3064 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3065 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3067 to compile strcasecmp and strncasecmp.
3068 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3069 strcasecmp_l and strncasecmp_l.
3070 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3071 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3072 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3073 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3074 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3075 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3076 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3077 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3078 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3079 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3080 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3081
ab26144e
UD
30822011-11-12 Ulrich Drepper <drepper@gmail.com>
3083
7edb22ef
UD
3084 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3085 result of SYSDEP_GETTIME_CPU to retval.
3086 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3087 parameter list to macro. Remove trailing semicolon. Adjust users.
3088
9694fc44
UD
3089 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3090 variable.
3091
8ad89ef8
UD
3092 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3093 mantissa words.
3094 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3095
0c822ef9
UD
3096 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3097 from unused variable.
3098
874e0564
UD
3099 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3100 DWARF definitions.
3101 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3102 for assembling.
3103
3a2edc79
UD
3104 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3105 over namespaces.
3106
f3c2577f
UD
3107 * sunrpc/rpc_prot.c (rejected): Fix case value.
3108
294ce126
UD
3109 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3110 unsigned long long int to avoid warnings in shift.
3111
5e2b63c6
UD
3112 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3113 of use of trans.
3114 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3115 variable tmp.
3116
e7f4b08e
UD
3117 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3118 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3119 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3120
ab26144e
UD
3121 * nis/nis_table.c (nis_list): Use variable of correct type for
3122 result of __follow_path call.
3123
8a6d5255
AZ
31242011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3125
3126 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3127 of math functions ceil, trunc, floor, round, and sqrt, when
3128 avaliable on the platform.
3129 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3130 name clash.
3131 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3132 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3133 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3134
aaddc98c
MP
31352011-10-30 Marek Polacek <mpolacek@redhat.com>
3136
3137 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3138 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3139
95b7042b
RM
31402011-11-11 Roland McGrath <roland@hack.frob.com>
3141
3142 * include/unistd.h: Fix __readlink return type.
3143 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3144
57769839
UD
31452011-11-11 Ulrich Drepper <drepper@gmail.com>
3146
3147 * stdlib/ucontext.h: Undo last change for makecontext.
3148
edc5984d
AS
31492011-11-11 Andreas Schwab <schwab@redhat.com>
3150
98591e58
AS
3151 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3152
edc5984d
AS
3153 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3154 * setjmp/setjmp.h: Mark functions as non-leaf.
3155 * setjmp/bits/setjmp2.h: Likewise.
3156 * stdlib/ucontext.h: Likewise.
3157
77cdc054
AS
31582011-11-10 Andreas Schwab <schwab@redhat.com>
3159
3160 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3161 (reused_arena): Don't check arena limit.
3162 (arena_get2): Atomically check arena limit.
3163
fe72eebd
UD
31642011-11-08 Ulrich Drepper <drepper@gmail.com>
3165
5f078c32
UD
3166 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3167 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3168
fe72eebd
UD
3169 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3170 instructions.
3171
ae1bc2fa
AS
31722011-11-07 Andreas Schwab <schwab@redhat.com>
3173
7583a88d
AS
3174 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3175 handler when locking.
3176
ae1bc2fa
AS
3177 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3178 Fix size of allocated buffer.
3179
10fb0bfa
AS
31802011-11-04 Andreas Schwab <schwab@redhat.com>
3181
998832a4
AS
3182 [BZ #10103]
3183 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3184 declarations for long double functions.
3185 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3186
10fb0bfa
AS
3187 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3188
3d7ba52b
AS
31892011-11-03 Andreas Schwab <schwab@redhat.com>
3190
a9ae54a1
AS
3191 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3192 installed.
3193
3d7ba52b
AS
3194 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3195 is disabled.
3196
bc8db248
ST
31972011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3198
3199 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3200
45b96dd6
AS
32012011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3202
647776f6
AS
3203 * include/alloca.h (stackinfo_alloca_round): Define.
3204 (extend_alloca): Use it.
3205 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3206 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3207 here.
3208
d91a8b93
AS
3209 * scripts/check-local-headers.sh: Ignore libaudit.h.
3210
45b96dd6
AS
3211 * nscd/Makefile (extra-objs): Make recursively expanded.
3212
432d41ce
UD
32132011-11-01 Ulrich Drepper <drepper@gmail.com>
3214
34372fc6
UD
3215 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3216 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3217
fadb59f8
UD
3218 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3219 * posix/tst-rfc3484-2.c: Likewise.
3220 * posix/tst-rfc3484-3.c: Likewise.
3221
78239589
UD
3222 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3223 process_vm_writev.
3224 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3225 process_vm_writev.
3226 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3227 process_vm_writev from libc using GLIBC_2.15 version.
3228
432d41ce
UD
3229 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3230
02f9c6cf
PP
32312011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3232
3233 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3234 stack usage.
3235
3a2c0242
UD
32362011-10-31 Ulrich Drepper <drepper@gmail.com>
3237
f4ec4833
UD
3238 [BZ #13367]
3239 * nss/getent.c (initgroups_keys): Show error message in case no group
3240 names are given.
3241
3a2c0242
UD
3242 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3243 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3244 __bump_nl_timestamp.
3245 * nscd/connections (nscd_init): When host database is served open
3246 netlink socket and request notification about configuration changes.
3247 (main_loop_poll): Track netlink file descriptor and bump timestamp
3248 in case data becomes available.
3249 (main_loop_epoll): Likewise.
3250 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3251 (database_pers_head): Add extra_data fileds.
3252 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3253 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3254 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3255 Adjust caller.
3256 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3257 in6ai data, call __free_in6ai.
3258 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3259 Add -DHAVE_NETLINK.
3260 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3261 interface information. Reuse previous data if netlink timestamp
3262 is not changed.
3263 (__bump_nl_timestamp): New function.
3264 (__free_in6ai): New function.
3265
636064eb
UD
32662011-10-30 Ulrich Drepper <drepper@gmail.com>
3267
3268 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3269 close_not_cancel_no_status here.
3270 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3271
9beb2334
UD
32722011-10-29 Ulrich Drepper <drepper@gmail.com>
3273
6ef76f3b
UD
3274 [BZ #13276]
3275 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3276 return value.
3277
0ffc4f3e 3278 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
3279 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3280 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3281
cb95113e
UD
32822011-07-03 Andreas Jaeger <aj@suse.de>
3283
3284 [BZ #10709]
3285 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3286 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3287 * math/libm-test.inc (sin_test): Add test case.
3288
a1b560ff
UD
32892011-10-29 Ulrich Drepper <drepper@gmail.com>
3290
c9aaface
UD
3291 [BZ #13337]
3292 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3293 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3294
d272e7f1
UD
3295 * elf/chroot_canon.c (chroot_canon): Cleanups.
3296
1bc33071
UD
3297 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3298
1760874d
TJ
3299 [BZ #13335]
3300 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3301 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3302
51d91b18
UD
3303 * string/test-strchr.c: Make usable for strchrnul testing.
3304 * string/test-strchrnul.c: New file.
3305 * string/Makefile (strop-tests): Add strchrnul.
3306
a1b560ff 3307 * po/it.po: Update from translation team.
b611fb81 3308 * po/es.po: Likewise.
a1b560ff 3309
a5b81e1f
UD
33102011-10-28 Ulrich Drepper <drepper@gmail.com>
3311
fd52bc6d
UD
3312 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3313 the three constants needed as parameters. Drop the others.
3314 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3315 __m128i_strloadu_tolower.
52e4b9eb
UD
3316 Create and initialize variable zero and use it in all the places
3317 where _mm_setzero_si128 was used.
fd52bc6d 3318
a5b81e1f
UD
3319 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3320 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3321 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3322 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3323 anymore.
3324 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3325 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3326 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3327 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3328 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3329 __mpranred, __mptan.
3330 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3331 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3332 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3333 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3334 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3335 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3336 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3337 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3338 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3339
b4343346
AS
33402011-10-28 Andreas Schwab <schwab@redhat.com>
3341
0c92d8a8
AS
3342 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3343 redefine if SHARED.
3344 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3345
b4343346
AS
3346 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3347 wide char related routines to wcsmbs subdir.
3348
3871f58f
AS
33492011-10-27 Andreas Schwab <schwab@redhat.com>
3350
3351 [BZ #13344]
3352 * misc/sys/cdefs.h (__THROWNL): Define.
3353 * posix/unistd.h: Use __THREADNL instead of __THREAD
3354 for memory synchronization functions.
3355
94d44d9f
RM
33562011-10-26 Roland McGrath <roland@hack.frob.com>
3357
21b64b15 3358 [BZ #13349]
94d44d9f
RM
3359 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3360 doesn't exist.
3361 * manual/stdio.texi (Obstack Streams): Node removed.
3362
f6ce9294
AS
33632011-10-26 Andreas Schwab <schwab@redhat.com>
3364
80479147
AS
3365 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3366 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3367 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3368
f6ce9294
AS
3369 * math/math_private.h (math_force_eval): Allow non-addressable
3370 arguments.
3371 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3372
618280a1
UD
33732011-10-25 Ulrich Drepper <drepper@gmail.com>
3374
e0016b11
UD
3375 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3376 file is not needed.
3377
3378 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3379 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3380 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3381 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3382 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3383 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3384 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3385 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3386 Add AVX variants.
3387 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3388 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3389 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3390 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3391 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3392 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3393 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3394 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3395 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3396 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3397 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3398 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3399 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3400 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3401 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3402 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3403 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3404 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3405 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3406
3407 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3408 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3409
618280a1
UD
3410 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3411 place. Use VEX encoding when compiling for AVX.
3412
37822576
AS
34132011-10-25 Andreas Schwab <schwab@redhat.com>
3414
1f1e1947
AS
3415 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3416 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3417
37822576
AS
3418 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3419
31ea014d
UD
34202011-10-25 Ulrich Drepper <drepper@gmail.com>
3421
d7826aa1 3422 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 3423 useless if() expression.
d7826aa1
UD
3424 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3425 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3426 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3427 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3428 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3429 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3430 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3431 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3432 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3433 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3434 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3435 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3436 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3437 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3438 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3439 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3440 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3441 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3442 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3443
31ea014d
UD
3444 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3445
16437fec
AS
34462011-10-25 Andreas Schwab <schwab@redhat.com>
3447
3448 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3449 condition.
3450 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3451
31d3cc00
UD
34522011-10-25 Ulrich Drepper <drepper@gmail.com>
3453
3454 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3455 .text section. Avoid duplicate constants.
3456 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3458 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3459 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3460 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3464 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3465 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3466 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3467 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3468 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3469 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3470 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3471 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3472 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3473 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3474 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3475 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3476 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3477 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3478 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3479 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3480 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3481 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3482 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3483 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3484 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3485 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3486 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3487 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3488 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3489 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3490 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3491 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3492 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3493 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3494 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3495 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3496 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3497 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3498 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3499 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3500 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3501
58985aa9
UD
35022011-10-24 Ulrich Drepper <drepper@gmail.com>
3503
202c9deb
UD
3504 * sysdeps/x86_64/dla.h: Move to ...
3505 * sysdeps/x86_64/fpu/dla.h: ...here.
3506 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3507 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 3508
af968f62
UD
3509 * config.make.in: Add have-mfma4 entry.
3510 * configure.in: Substitute libc_cv_cc_fma4.
3511 * math/Makefile (dbl-only-routines): Add sincostab.
3512 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3513 Use __sincostab not sincos.
3514 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3515 name is a macro.
3516 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3518 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3519 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3520 using __copysign.
3521 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3522 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3523 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3524 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3525 and __inv.
3526 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3527 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3528 __copysign.
3529 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3530 define aliases when function name is a macro.
3531 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3532 sysdeps/ieee754/dbl-64/sincos.tbl.
3533 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3534 fma4-enabled routines.
3535 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3536 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3537 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3538 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3539 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3540 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3542 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3543 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3544 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3545 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3546 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3547 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3548 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3549 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3550 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3551 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3552 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3553 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3554 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3555 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3556 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3557 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3558 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3559 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3561 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3562 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3563 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3564 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3565
58985aa9
UD
3566 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3567 rename.
3568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3571 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3572 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3573 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3574 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3575 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3576
a201fbcf
AS
35772011-10-24 Andreas Schwab <schwab@redhat.com>
3578
3579 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3580
fc2ee42a
LD
35812011-10-23 Ulrich Drepper <drepper@gmail.com>
3582
bb3129bd
UD
3583 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3584
0275fff8
UD
3585 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3586 prediction.
3587 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3588
2fa2ae85
UD
3589 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3590 Remove unused variable magic_bits.
3591 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3592
fc2ee42a
LD
3593 * string/strnlen.c: Define and use STRNLEN macro.
3594 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3595 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3596 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3597 * wcsmbs/wcslen.c: Define and use WCSLEN.
3598 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3599 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3600 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3601 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3602 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3603 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3604 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3605
ce7dd29f
LD
36062011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3607
3608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3609 strnlen-sse2-no-bsf.
3610 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3611 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3612 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3613 Add strnlen support.
3614 (USE_AS_STRNLEN): New macro.
3615 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3616 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3617 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3618 * sysdeps/x86_64/wcslen.S: New file.
3619
979c70a3
MZ
36202011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3621
3622 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3623 XMM-moves are used for copying on small sizes.
3624
2d09f82f
LD
36252011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3626
3627 * wcsmbs/Makefile (strop-tests): Add wcschr.
3628 * wcsmbs/test-wcschr.c: New file.
3629 * string/test-strchr.c: Update.
3630 Add wcschr support.
3631 (WIDE): New macro.
3632
619fccca
LD
36332011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3634
2d09f82f 3635 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
3636 * wcsmbs/test-wcslen.c: New file.
3637 * string/test-strlen.c: Update.
3638 Add wcslen support.
3639 (WIDE): New macro.
3640
09f699ea
UD
36412011-10-23 Ulrich Drepper <drepper@gmail.com>
3642
3643 * po/it.po: Update from translation team.
3644
95584d3b
LD
36452011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3646
3647 * sysdeps/x86_64/wcscmp.S: Update.
3648 Fix wrong comparison semantics.
3649 wcscmp shall use signed comparison not unsigned.
3650 Don't use substraction to avoid overflow bug.
3651 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3652 * wcsmbc/wcscmp.c: Likewise.
3653 * string/test-strcmp.c: Likewise.
3654 Add new tests to check cases with negative values.
3655
c8b3296b
UD
36562011-10-23 Ulrich Drepper <drepper@gmail.com>
3657
3658 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3659 * sysdeps/x86_64/dla.h: ...here. New file.
3660 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3661 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3662 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3664 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3665 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3666 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3667 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3669
246ad57a
AS
36702011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3671
3672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3673 __ynl_finite aliases.
3674
a1a87169
UD
36752011-10-22 Ulrich Drepper <drepper@gmail.com>
3676
0d355eb7
UD
3677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3678
a1a87169
UD
3679 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3680 define DLA_FMA.
3681 [DLA_FMA] (EMULV): Use DLA_FMA.
3682 [DLA_FMA] (MUL12): Use EMULV.
3683 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3684 that are not needed.
3685 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3686 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3687 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3688 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3689 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3690 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3691 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3692
ee2aafe0
AS
36932011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3694
3695 * math/s_nan.c: Undef __nan.
3696 * math/s_nanf.c: Undef __nanf.
3697 * math/s_nanl.c: Undef __nanl.
3698 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3699 "math_private.h".
3700
bc62c2fb
UD
37012011-10-22 Ulrich Drepper <drepper@gmail.com>
3702
77425c63
UD
3703 * math/s_catan.c: Add branch predictions.
3704 * math/s_catanf.c: Likewise.
3705 * math/s_catanh.c: Likewise.
3706 * math/s_catanhf.c: Likewise.
3707 * math/s_catanhl.c: Likewise.
3708 * math/s_catanl.c: Likewise.
3709 * math/s_cexp.c: Likewise.
3710 * math/s_cexpf.c: Likewise.
3711 * math/s_cexpl.c: Likewise.
3712 * math/s_clog.c: Likewise.
3713 * math/s_clog10.c: Likewise.
3714 * math/s_clog10f.c: Likewise.
3715 * math/s_clog10l.c: Likewise.
3716 * math/s_clogf.c: Likewise.
3717 * math/s_clogl.c: Likewise.
3718 * math/s_csqrt.c: Likewise.
3719 * math/s_csqrtf.c: Likewise.
3720 * math/s_csqrtl.c: Likewise.
3721 * math/s_ctanf.c: Likewise.
3722 * math/s_ctanh.c: Likewise.
3723 * math/s_ctanhf.c: Likewise.
3724 * math/s_ctanhl.c: Likewise.
3725 * math/s_ctanl.c: Likewise.
3726
bc62c2fb
UD
3727 * math/math_private.h: Define __nan, __nanf, __nanl.
3728 * math/s_cacosh.c: Include <math_private.h>.
3729 * math/s_cacoshl.c: Likewise.
3730 * math/s_casinh.c: Likewise.
3731 * math/s_casinhf.c: Likewise.
3732 * math/s_casinhl.c: Likewise.
3733 * math/s_ccos.c: Rely entire on ccosh.
3734 * math/s_ccosf.c: Rely entire on ccoshf.
3735 * math/s_ccosl.c: Rely entirely on ccoshl.
3736 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3737 Remove tests for FE_INVALID.
3738 * math/s_ccoshf.c: Likewise.
3739 * math/s_ccoshl.c: Likewise.
3740 * math/s_csin.c: Likewise.
3741 * math/s_csinf.c: Likewise.
3742 * math/s_csinh.c Likewise.
3743 * math/s_csinhf.c: Likewise.
3744 * math/s_csinhl.c: Likewise.
3745 * math/s_csinl.c: Likewise.
3746 * math/s_ctan.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3748 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3749 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3750
8ec250a4
UD
37512011-10-21 Ulrich Drepper <drepper@gmail.com>
3752
c196fed8
UD
3753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3754 compilation problems.
3755
8ec250a4
UD
3756 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3757 __builtin_expect.
3758
8d4f46c6
UD
37592011-10-20 Ulrich Drepper <drepper@gmail.com>
3760
ed72b654
UD
3761 * sysdeps/i386/configure.in: Test for -mfma4 option.
3762 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3763 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3764 COMMON_CPUID_INDEX_80000001.
3765 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3766 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3767 use it if FMA3 is not supported.
3768 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3769
8d4f46c6
UD
3770 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3771 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3772
d45c60c2
AS
37732011-10-20 Andreas Schwab <schwab@redhat.com>
3774
3775 [BZ #12892]
3776 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3777 it would create a cycle with a link time dependency.
3778
d9a4d2ab
UD
37792011-10-19 Ulrich Drepper <drepper@gmail.com>
3780
855d1560
UD
3781 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3782 instruction.
3783 * string/Makefile (strop-tests): Add rawmemchr.
3784 * string/test-rawmemchr.c: New file.
3785
d9a4d2ab
UD
3786 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3787 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3788 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3789 when compiling str{,n}casecmp and when AVX is available. Hook up
3790 new optimized code in initializers.
3791
8f3b1ffe
AS
37922011-10-19 Andreas Schwab <schwab@redhat.com>
3793
3794 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3795 __feraiseexcept instead of feraiseexcept.
3796
d38f1dba
UD
37972011-10-18 Ulrich Drepper <drepper@gmail.com>
3798
d9a8d0ab
UD
3799 * math/math_private.h: Define defaults for libc_fetestexcept and
3800 libc_feupdateenv.
3801 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3802 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3803 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3804 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3805 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3806 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3807 libc_fetestexcept and libc_feupdateenv.
3808
4855e3dd
UD
3809 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3810 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3811 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3812 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3813 libc_feholdexcept_setround.
3814
581d30e3
UD
3815 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3816 Add s_nearbyint-c and s_nearbyintf-c.
3817 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3818 nearbyintf inlines.
3819 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3820 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3821 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3822 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3823
d38f1dba
UD
3824 * math/math_private.h: Define defaults for libc_fegetround,
3825 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3826 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3827 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3828 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3829 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3830 standard functions.
3831 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3832 Remove comments and hacks for old compiler versions.
3833 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3834 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3835 libc_feholdexceptl.
3836
caa6c9d8
AS
38372011-10-18 Andreas Schwab <schwab@redhat.com>
3838
3839 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
3840 (__feraiseexcept_renamed): Add __NTH.
3841 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
3842 namespace violations.
3843
97c066e6
UD
38442011-10-17 Ulrich Drepper <drepper@gmail.com>
3845
99ce7b04
UD
3846 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3847
1004d182
UD
3848 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3849
228a984d
UD
3850 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3851 recently added interfaces.
3852 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3853
c8553a6a
UD
3854 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3855 about macro parameter expansion.
3856
ed22dcf6
UD
3857 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3858 __NO_MATH_INLINES is defined. Cleanups.
3859
3860 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3861 and __floorf is target has SSE4.1.
3862 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3863 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3864 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3865 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3866
b171c137
UD
3867 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3868 name.
3869 (floorf): Likewise.
3870
97c066e6
UD
3871 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3872
629f62ef
AS
38732011-10-17 Andreas Schwab <schwab@redhat.com>
3874
49a43d80
AS
3875 * misc/sys/cdefs.h: Fix last change.
3876
629f62ef
AS
3877 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3878 database lookup.
3879
e453f6cd
UD
38802011-10-16 Ulrich Drepper <drepper@gmail.com>
3881
aa78043a
UD
3882 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3883
ad0f5cad
UD
3884 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3885 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3886 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3887 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3889 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3890 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3891 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3892 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3893 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3894 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3895 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3896 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3897 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3898 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3899 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3900 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3901 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3902 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3903 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3904 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3905 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3906
3907 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3908 ceil, ceilf, floor, floorf.
3909
3910 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3911 Perform IRELATIVE relocations last.
3912
e453f6cd
UD
3913 * elf/do-rel.h: Add another parameter nrelative, replacing the
3914 local variable with the same name. Change name of the function
3915 to end in Rel or Rela (uppercase).
3916 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3917 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3918 elf_dynamic_do_##reloc function.
3919
fd5bdc09
UD
39202011-10-15 Ulrich Drepper <drepper@gmail.com>
3921
79b195b5
UD
3922 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3923 is sufficient, at least on modern CPUs.
3924
d4a28569
UD
3925 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3926
b61099b5
UD
3927 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3928 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3929
bcf01e6d
UD
3930 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3931 __expl_finite.
3932 * math/bits/math-finite.h: Add entries for exp.
3933 * math/e_expl.c: Add __*_finite alias.
3934 * sysdeps/i386/fpu/e_exp.S: Likewise.
3935 * sysdeps/i386/fpu/e_expf.S: Likewise.
3936 * sysdeps/i386/fpu/e_expl.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3938 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3942 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3943 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3944
ba1a0d59
UD
3945 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3946 is sufficient, at least on modern CPUs.
3947
fd5bdc09
UD
3948 * ctype/ctype-info.c (__ctype_init): Define.
3949 * include/ctype.h (__ctype_init): Declare.
3950 (__ctype_b_loc): The variable is always initialized.
3951 (__ctype_toupper_loc): Likewise.
3952 (__ctype_tolower_loc): Likewise.
3953 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3954 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3955
7872cfb0
AS
39562011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3957
b468825a
AS
3958 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3959
7872cfb0
AS
3960 * configure.in: Also look in $cxxmachine/include for C++ system
3961 headers.
3962
be13f7bf
LD
39632011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3964
3965 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3966 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3967 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3968 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3969 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3970 (USE_AS_WMEMCMP): New macro.
3971 Fixing indents.
3972 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3973 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3974 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3975 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3977 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3978 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3979 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3980 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3981 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3982 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3983 (USE_AS_WMEMCMP): New macro.
3984 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3985 * sysdeps/string/test-memcmp.c: Update.
3986 Fix simple_wmemcmp.
3987 Add new tests.
3988 * wcsmbs/wmemcmp.c: Update.
3989 (WMEMCMP): New macro.
3990 Fix overflow bug.
3991
556a2007
AJ
39922011-10-12 Andreas Jaeger <aj@suse.de>
3993
3994 [BZ #13268]
3995 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3996
538faaa7
UD
39972011-10-15 Ulrich Drepper <drepper@gmail.com>
3998
ab6737ff
UD
3999 * libio/iofwide.c (do_length): Avoid warning.
4000
538faaa7
UD
4001 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4002
396a21b1
UD
40032011-10-14 Ulrich Drepper <drepper@gmail.com>
4004
cdf2901f
UD
4005 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4006
38ad40ce
UD
4007 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4008 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4009 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4010 * sysdeps/i386/i686/fpu/e_log.S: New file.
4011 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4012 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4013
396a21b1
UD
4014 * ctype/ctype.h: Add support for inlined isXXX functions when
4015 compiling C++ code.
4016
6b1f68c9
AS
40172011-10-14 Andreas Schwab <schwab@redhat.com>
4018
349290c0
AS
4019 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4020
6b1f68c9
AS
4021 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4022
f2282d42
RM
40232011-10-13 Roland McGrath <roland@hack.frob.com>
4024
4025 [BZ #13291]
4026 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4027
5298ffa8
AS
40282011-10-13 Andreas Schwab <schwab@redhat.com>
4029
714fad23
AS
4030 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4031 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4032 feraiseexcept.
4033
81dcc7fb
AS
4034 * sysdeps/x86_64/memrchr.S: Check for zero size.
4035
5298ffa8
AS
4036 * string/stratcliff.c: Add memrchr tests.
4037
951fbcec
LD
40382011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4039
4040 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4041 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4042 rawmemchr-sse2 rawmemchr-sse2-bsf.
4043 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4044 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4045 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4046 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4047 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4048 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4049 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4050 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4051 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4052 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4053 * string/memrchr.c (MEMRCHR): New macro.
4054
0ac5ae23
UD
40552011-10-12 Ulrich Drepper <drepper@gmail.com>
4056
4057 Add integration with gcc's -ffinite-math-only and optimize wrapper
4058 functions in libm.
4059 * Versions.def: Define GLIBC_2.15 version for libm.
4060 * math/Makefile (headers): Add bits/math-finite.h.
4061 * math/bits/math-finite.h: New file.
4062 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4063 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4064 * math/e_acoshl.c: Add __*_finite alias.
4065 * math/e_acosl.c: Likewise.
4066 * math/e_asinl.c: Likewise.
4067 * math/e_atan2l.c: Likewise.
4068 * math/e_atanhl.c: Likewise.
4069 * math/e_coshl.c: Likewise.
4070 * math/e_exp10.c: Likewise.
4071 * math/e_exp10f.c: Likewise.
4072 * math/e_exp10l.c: Likewise.
4073 * math/e_exp2l.c: Likewise.
4074 * math/e_fmodl.c: Likewise.
4075 * math/e_gammal_r.c: Likewise.
4076 * math/e_hypotl.c: Likewise.
4077 * math/e_j0l.c: Likewise.
4078 * math/e_j1l.c: Likewise.
4079 * math/e_jnl.c: Likewise.
4080 * math/e_lgammal_r.c: Likewise.
4081 * math/e_log10l.c: Likewise.
4082 * math/e_log2l.c: Likewise.
4083 * math/e_logl.c: Likewise.
4084 * math/e_powl.c: Likewise.
4085 * math/e_sinhl.c: Likewise.
4086 * math/e_sqrtl.c: Likewise.
4087 * math/e_scalb.c: Completely rewritten and optimized.
4088 * math/e_scalbf.c: Likewise.
4089 * math/e_scalbl.c: Likewise.
4090 * math/w_acos.c: Likewise.
4091 * math/w_acosf.c: Likewise.
4092 * math/w_acosl.c: Likewise.
4093 * math/w_acosh.c: Likewise.
4094 * math/w_acoshf.c: Likewise.
4095 * math/w_acoshl.c: Likewise.
4096 * math/w_asin.c: Likewise.
4097 * math/w_asinf.c: Likewise.
4098 * math/w_asinl.c: Likewise.
4099 * math/w_atan2.c: Likewise.
4100 * math/w_atan2f.c: Likewise.
4101 * math/w_atan2l.c: Likewise.
4102 * math/w_atanh.c: Likewise.
4103 * math/w_atanhf.c: Likewise.
4104 * math/w_atanhl.c: Likewise.
4105 * math/w_exp10.c: Likewise.
4106 * math/w_exp10f.c: Likewise.
4107 * math/w_exp10l.c: Likewise.
4108 * math/w_fmod.c: Likewise.
4109 * math/w_fmodf.c: Likewise.
4110 * math/w_fmodl.c: Likewise.
4111 * math/w_j0.c: Likewise.
4112 * math/w_j0f.c: Likewise.
4113 * math/w_j0l.c: Likewise.
4114 * math/w_j1.c: Likewise.
4115 * math/w_j1f.c: Likewise.
4116 * math/w_j1l.c: Likewise.
4117 * math/w_jn.c: Likewise.
4118 * math/w_jnf.c: Likewise.
4119 * math/w_log.c: Likewise.
4120 * math/w_logf.c: Likewise.
4121 * math/w_logl.c: Likewise.
4122 * math/w_log10.c: Likewise.
4123 * math/w_log10f.c: Likewise.
4124 * math/w_log10l.c: Likewise.
4125 * math/w_log2.c: Likewise.
4126 * math/w_log2f.c: Likewise.
4127 * math/w_log2l.c: Likewise.
4128 * math/w_pow.c: Likewise.
4129 * math/w_powf.c: Likewise.
4130 * math/w_powl.c: Likewise.
4131 * math/w_remainder.c: Likewise.
4132 * math/w_remainderf.c: Likewise.
4133 * math/w_remainderl.c: Likewise.
4134 * math/w_scalb.c: Likewise.
4135 * math/w_scalbf.c: Likewise.
4136 * math/w_scalbl.c: Likewise.
4137 * math/w_sqrt.c: Likewise.
4138 * math/w_sqrtf.c: Likewise.
4139 * math/w_sqrtl.c: Likewise.
4140 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4141 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4142 used.
4143 * math/math_private.h: Declare __kernel_standard_f.
4144 * math/w_cosh.c: Remove cruft and optimize a bit.
4145 * math/w_coshf.c: Likewise.
4146 * math/w_coshl.c: Likewise.
4147 * math/w_exp2.c: Likewise.
4148 * math/w_exp2f.c: Likewise.
4149 * math/w_exp2l.c: Likewise.
4150 * math/w_hypot.c: Likewise.
4151 * math/w_hypotf.c: Likewise.
4152 * math/w_hypotl.c: Likewise.
4153 * math/w_lgamma.c: Likewise.
4154 * math/w_lgamma_r.c: Likewise.
4155 * math/w_lgammaf.c: Likewise.
4156 * math/w_lgammaf_r.c: Likewise.
4157 * math/w_lgammal.c: Likewise.
4158 * math/w_lgammal_r.c: Likewise.
4159 * math/w_sinh.c: Likewise.
4160 * math/w_sinhf.c: Likewise.
4161 * math/w_sinhl.c: Likewise.
4162 * math/w_tgamma.c: Likewise.
4163 * math/w_tgammaf.c: Likewise.
4164 * math/w_tgammal.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4166 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4167 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4168 Minor optimizations. Pretty printing. Remove cruft.
4169 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4170 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4171 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4172 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4173 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4174 * sysdeps/i386/fpu/e_asin.S: Likewise.
4175 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4176 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4177 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4178 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4179 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4180 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4181 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4182 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4183 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4184 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4185 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4186 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4187 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4188 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4189 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4190 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4191 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4192 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4193 * sysdeps/i386/fpu/e_log.S: Likewise.
4194 * sysdeps/i386/fpu/e_log10.S: Likewise.
4195 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4196 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4197 * sysdeps/i386/fpu/e_log2.S: Likewise.
4198 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4199 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4200 * sysdeps/i386/fpu/e_logf.S: Likewise.
4201 * sysdeps/i386/fpu/e_logl.S: Likewise.
4202 * sysdeps/i386/fpu/e_pow.S: Likewise.
4203 * sysdeps/i386/fpu/e_powf.S: Likewise.
4204 * sysdeps/i386/fpu/e_powl.S: Likewise.
4205 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4206 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4207 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4208 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4209 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4210 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4211 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4212 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4213 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4235 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4236 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4237 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4238 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4239 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4240 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4241 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4242 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4243 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4244 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4245 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4246 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4247 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4248 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4249 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4250 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4251 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4252 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4253 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4254 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4255 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4258 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4259 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4294 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4297 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4299 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4300 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4302 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4305 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4306 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4307 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4308 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4309 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4310 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4311 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4312 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4313 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4314 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4315 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4316 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4317 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4318 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4319 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4320 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4321 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4322 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4323 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4324 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4325 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4326 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4327 (__isnanf): Likewise.
4328 (__isinf_ns): Likewise.
4329 (__isinf_nsf): Likewise.
4330 (__finite): Likewise.
4331 (__finitef): Likewise.
4332 (__ieee754_sqrt): Define as macro.
4333 (__ieee754_sqrtf): Define as macro.
4334 (__ieee754_sqrtl): Define as macro.
4335 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4336 inlined copy.
4337 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4338 __FINITE_MATH_ONLY__ consistent.
4339 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4340
12cc2fcd
AS
43412011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4342
a843a204
AS
4343 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4344 of rawmemchr.
4345
12cc2fcd
AS
4346 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4347
c853acd5
UD
43482011-10-09 Ulrich Drepper <drepper@gmail.com>
4349
4350 * po/ja.po: Update from translation team.
4351
c658d255
RM
43522011-10-08 Roland McGrath <roland@hack.frob.com>
4353
110946e4
RM
4354 * locale/programs/locarchive.c (prepare_address_space): New function.
4355 (create_archive, enlarge_archive, open_archive): Use it.
4356
50604220
RM
4357 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4358 inside [SHARED], where it is used.
4359
c658d255
RM
4360 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4361
4362 * nss/getent.c (netgroup_keys): Remove unused variable.
4363 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4364
6a621eb7
UD
43652011-10-08 Ulrich Drepper <drepper@gmail.com>
4366
7edb55ce
UD
4367 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4368 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4369 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4370 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4371 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4372 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4373 * math/Makefile (libm-calls): Add s_isinf_ns.
4374 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4375 * math/multc3.c: Likewise.
4376 * math/s_casin.c: Likewise.
4377 * math/s_casinf.c: Likewise.
4378 * math/s_casinl.c: Likewise.
4379 * math/s_ccos.c: Likewise.
4380 * math/s_ccosf.c: Likewise.
4381 * math/s_ccosl.c: Likewise.
4382 * math/s_ctan.c: Likewise.
4383 * math/s_ctanf.c: Likewise.
4384 * math/s_ctanh.c: Likewise.
4385 * math/s_ctanhf.c: Likewise.
4386 * math/s_ctanhl.c: Likewise.
4387 * math/s_ctanl.c: Likewise.
4388 * math/w_fmod.c: Likewise.
4389 * math/w_fmodf.c: Likewise.
4390 * math/w_fmodl.c: Likewise.
4391 * math/w_remainder.c: Likewise.
4392 * math/w_remainderf.c: Likewise.
4393 * math/w_remainderl.c: Likewise.
4394 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4395 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4396 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4397 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4398 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4399 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4400 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4401 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4402
187da0ae
UD
4403 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4404 of the number.
4405 * stdio-common/printf_fphex.c: Likewise.
4406 * stdio-common/printf_size.c: Likewise.
4407
9277c064
UD
4408 * math/e_exp10.c: Include math_private.h using <...> not "...".
4409 * math/e_exp10f.c: Likewise.
4410 * math/e_exp10l.c: Likewise.
4411 * math/e_exp2l.c: Likewise.
4412 * math/e_j0l.c: Likewise.
4413 * math/e_j1l.c: Likewise.
4414 * math/e_jnl.c: Likewise.
4415 * math/e_lgammal_r.c: Likewise.
4416 * math/e_rem_pio2l.c: Likewise.
4417 * math/e_scalb.c: Likewise.
4418 * math/e_scalbf.c: Likewise.
4419 * math/e_scalbl.c: Likewise.
4420 * math/k_cosl.c: Likewise.
4421 * math/k_sinl.c: Likewise.
4422 * math/k_tanl.c: Likewise.
4423 * math/s_cacoshf.c: Likewise.
4424 * math/s_catan.c: Likewise.
4425 * math/s_catanf.c: Likewise.
4426 * math/s_catanh.c: Likewise.
4427 * math/s_catanhf.c: Likewise.
4428 * math/s_catanhl.c: Likewise.
4429 * math/s_catanl.c: Likewise.
4430 * math/s_ccosh.c: Likewise.
4431 * math/s_ccoshf.c: Likewise.
4432 * math/s_ccoshl.c: Likewise.
4433 * math/s_cexp.c: Likewise.
4434 * math/s_cexpf.c: Likewise.
4435 * math/s_cexpl.c: Likewise.
4436 * math/s_clog.c: Likewise.
4437 * math/s_clog10.c: Likewise.
4438 * math/s_clog10f.c: Likewise.
4439 * math/s_clog10l.c: Likewise.
4440 * math/s_clogf.c: Likewise.
4441 * math/s_clogl.c: Likewise.
4442 * math/s_csin.c: Likewise.
4443 * math/s_csinf.c: Likewise.
4444 * math/s_csinh.c: Likewise.
4445 * math/s_csinhf.c: Likewise.
4446 * math/s_csinhl.c: Likewise.
4447 * math/s_csinl.c: Likewise.
4448 * math/s_csqrt.c: Likewise.
4449 * math/s_csqrtf.c: Likewise.
4450 * math/s_csqrtl.c: Likewise.
4451 * math/s_ctan.c: Likewise.
4452 * math/s_ctanf.c: Likewise.
4453 * math/s_ctanh.c: Likewise.
4454 * math/s_ctanhf.c: Likewise.
4455 * math/s_ctanhl.c: Likewise.
4456 * math/s_ctanl.c: Likewise.
4457 * math/s_ldexp.c: Likewise.
4458 * math/s_ldexpf.c: Likewise.
4459 * math/s_ldexpl.c: Likewise.
4460 * math/s_significand.c: Likewise.
4461 * math/s_significandf.c: Likewise.
4462 * math/s_significandl.c: Likewise.
4463 * math/w_acos.c: Likewise.
4464 * math/w_acosf.c: Likewise.
4465 * math/w_acosh.c: Likewise.
4466 * math/w_acoshf.c: Likewise.
4467 * math/w_acoshl.c: Likewise.
4468 * math/w_acosl.c: Likewise.
4469 * math/w_asin.c: Likewise.
4470 * math/w_asinf.c: Likewise.
4471 * math/w_asinl.c: Likewise.
4472 * math/w_atan2.c: Likewise.
4473 * math/w_atan2f.c: Likewise.
4474 * math/w_atan2l.c: Likewise.
4475 * math/w_atanh.c: Likewise.
4476 * math/w_atanhf.c: Likewise.
4477 * math/w_atanhl.c: Likewise.
4478 * math/w_cosh.c: Likewise.
4479 * math/w_coshf.c: Likewise.
4480 * math/w_coshl.c: Likewise.
4481 * math/w_dremf.c: Likewise.
4482 * math/w_exp10.c: Likewise.
4483 * math/w_exp10f.c: Likewise.
4484 * math/w_exp10l.c: Likewise.
4485 * math/w_exp2.c: Likewise.
4486 * math/w_exp2f.c: Likewise.
4487 * math/w_fmod.c: Likewise.
4488 * math/w_fmodf.c: Likewise.
4489 * math/w_fmodl.c: Likewise.
4490 * math/w_hypot.c: Likewise.
4491 * math/w_hypotf.c: Likewise.
4492 * math/w_hypotl.c: Likewise.
4493 * math/w_j0.c: Likewise.
4494 * math/w_j0f.c: Likewise.
4495 * math/w_j0l.c: Likewise.
4496 * math/w_j1.c: Likewise.
4497 * math/w_j1f.c: Likewise.
4498 * math/w_j1l.c: Likewise.
4499 * math/w_jn.c: Likewise.
4500 * math/w_jnf.c: Likewise.
4501 * math/w_jnl.c: Likewise.
4502 * math/w_lgamma.c: Likewise.
4503 * math/w_lgamma_r.c: Likewise.
4504 * math/w_lgammaf.c: Likewise.
4505 * math/w_lgammaf_r.c: Likewise.
4506 * math/w_lgammal.c: Likewise.
4507 * math/w_lgammal_r.c: Likewise.
4508 * math/w_log.c: Likewise.
4509 * math/w_log10.c: Likewise.
4510 * math/w_log10f.c: Likewise.
4511 * math/w_log10l.c: Likewise.
4512 * math/w_log2.c: Likewise.
4513 * math/w_log2f.c: Likewise.
4514 * math/w_log2l.c: Likewise.
4515 * math/w_logf.c: Likewise.
4516 * math/w_logl.c: Likewise.
4517 * math/w_pow.c: Likewise.
4518 * math/w_powf.c: Likewise.
4519 * math/w_powl.c: Likewise.
4520 * math/w_remainder.c: Likewise.
4521 * math/w_remainderf.c: Likewise.
4522 * math/w_remainderl.c: Likewise.
4523 * math/w_scalb.c: Likewise.
4524 * math/w_scalbf.c: Likewise.
4525 * math/w_scalbl.c: Likewise.
4526 * math/w_sinh.c: Likewise.
4527 * math/w_sinhf.c: Likewise.
4528 * math/w_sinhl.c: Likewise.
4529 * math/w_sqrt.c: Likewise.
4530 * math/w_sqrtf.c: Likewise.
4531 * math/w_sqrtl.c: Likewise.
4532 * math/w_tgamma.c: Likewise.
4533 * math/w_tgammaf.c: Likewise.
4534 * math/w_tgammal.c: Likewise.
4535
6a621eb7
UD
4536 * po/ja.po: Update from translation team.
4537
bf582445
AJ
45382011-09-29 Andreas Jaeger <aj@suse.de>
4539
f9efbf3a
AJ
4540 [BZ #13179]
4541 * sunrpc/netname.c (netname2host): Fix logic.
4542
bf582445
AJ
4543 [BZ #6779]
4544 [BZ #6783]
4545 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4546 correctly.
4547 * math/w_remainder.c (__remainder): Likewise.
4548 * math/w_remainderf.c (__remainderf): Likewise.
4549 * math/libm-test.inc (remainder_test): Add test cases.
4550
48693bea
AK
45512011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4552
4553 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4554 sdiv_qrnnd.
4555
42622229
LD
45562011-10-07 Ulrich Drepper <drepper@gmail.com>
4557
4558 * string/test-memcmp.c: Avoid unncessary #defines.
4559 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4560
093ecf92
LD
45612011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4562
4563 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4564 Use new sse2 version for core i3 - i7 as it's faster
4565 than sse42 version.
4566 (bit_Prefer_PMINUB_for_stringop): New.
4567 * sysdeps/x86_64/rawmemchr.S: Update.
4568 Replace with faster SSE2 version.
4569 * sysdeps/x86_64/memrchr.S: New file.
4570 * sysdeps/x86_64/memchr.S: Update.
4571 Replace with faster SSE2 version.
4572
fde56e5c
MP
45732011-09-12 Marek Polacek <mpolacek@redhat.com>
4574
4575 * elf/dl-load.c (lose): Add cast to avoid warning.
4576
21fd49a9
UD
45772011-10-07 Ulrich Drepper <drepper@gmail.com>
4578
5a06e643
UD
4579 * po/ca.po: Update from translation team.
4580
684ae515
UD
4581 * inet/getnetgrent_r.c: Hook up nscd.
4582 * nscd/Makefile (routines): Add nscd_netgroup.
4583 (nscd-modules): Add netgroupcache.
4584 (CFLAGS-netgroupcache.c): Define.
4585 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4586 (cache_search): Add const to second parameter.
4587 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4588 INNETGR.
4589 (dbs): Add netgrdb entry.
4590 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4591 (verify_persistent_db): Handle netgrdb.
4592 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4593 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4594 GETFDNETGR.
4595 (netgroup_response_header): Define.
4596 (innetgroup_response_header): Define.
4597 (datahead): Add netgroup_response_header and innetgroup_response_header
4598 elements.
4599 * nscd/nscd.conf: Add entries for netgroup cache.
4600 * nscd/nscd.h (dbtype): Add netgrdb.
4601 (_PATH_NSCD_NETGROUP_DB): Define.
4602 (netgroup_iov_disabled): Declare.
4603 (xmalloc, xcalloc, xrealloc): Move declarations here.
4604 (cache_search): Adjust prototype.
4605 Add netgroup-related prototypes.
4606 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4607 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4608 (__nscd_innetgr): Declare.
4609 * nscd/selinux.c (perms): Use access_vector_t as element type and
4610 add netgroup-related initializers.
4611 * nscd/netgroupcache.c: New file.
4612 * nscd/nscd_netgroup.c: New file.
4613 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4614 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4615 For four parameters use innetgr.
4616 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4617 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4618 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4619 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4620
21fd49a9
UD
4621 * nscd/connections.c (register_traced_file): Don't register file
4622 for disabled databases.
4623
054c0457
UD
46242011-10-06 Ulrich Drepper <drepper@gmail.com>
4625
32b63198
UD
4626 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4627
054c0457
UD
4628 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4629 from tree and freeing node.
4630
64031225
JO
46312011-09-25 Jiri Olsa <jolsa@redhat.com>
4632
4633 * nss/nsswitch.c (__nss_database_lookup): Handle
4634 nss_parse_service_list out of memory case.
4635
0490345c
JO
46362011-09-15 Jiri Olsa <jolsa@redhat.com>
4637
4638 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4639 out of memory case.
4640
3a62d00d
AS
46412011-10-04 Andreas Schwab <schwab@redhat.com>
4642
4643 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4644 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4645 pass it down.
4646 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4647 elf_machine_rela, elf_machine_lazy_rel.
4648 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4649 (ELF_DYNAMIC_DO_REL): Likewise.
4650 (ELF_DYNAMIC_DO_RELA): Likewise.
4651 (ELF_DYNAMIC_RELOCATE): Likewise.
4652 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4653 to ELF_DYNAMIC_DO_REL.
4654 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4655 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4656 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4657 elf_machine_rela.
4658 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4659 skip_ifunc, don't call ifunc function if non-zero.
4660 (elf_machine_rela): Likewise.
4661 (elf_machine_lazy_rel): Likewise.
4662 (elf_machine_lazy_rela): Likewise.
4663 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4664 (elf_machine_lazy_rel): Likewise.
4665 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4666 Likewise.
4667 (elf_machine_lazy_rel): Likewise.
4668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4669 Likewise.
4670 (elf_machine_lazy_rel): Likewise.
4671 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4672 (elf_machine_lazy_rel): Likewise.
4673 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4674 (elf_machine_lazy_rel): Likewise.
4675 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4676 (elf_machine_lazy_rel): Likewise.
4677 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4678 (elf_machine_lazy_rel): Likewise.
4679 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4680 (elf_machine_lazy_rel): Likewise.
4681 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4682 (elf_machine_lazy_rel): Likewise.
4683
68577918
UD
46842011-09-28 Ulrich Drepper <drepper@gmail.com>
4685
4686 * nss/nss_files/files-init.c (_nss_files_init): Use static
4687 initialization for all the *_traced_file variables.
4688
68822d74
AS
46892011-09-28 Andreas Schwab <schwab@redhat.com>
4690
4691 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4692
2056100b
RM
46932011-09-27 Roland McGrath <roland@hack.frob.com>
4694
4695 [BZ #13226]
4696 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4697
32c76b63
AS
46982011-09-27 Andreas Schwab <schwab@redhat.com>
4699
4700 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4701 Reread the line before reparsing it.
4702
bf972c9d
AS
47032011-09-26 Andreas Schwab <schwab@redhat.com>
4704
4705 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4706
e057a1b5
JM
47072011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4708 Maxim Kuvyrkov <maxim@codesourcery.com>
4709 Joseph Myers <joseph@codesourcery.com>
4710
4711 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4712 if needed for __stack_chk_guard.
4713
bc7e1c36
RM
47142011-09-19 Roland McGrath <roland@hack.frob.com>
4715
ecb1482f
RM
4716 * sysdeps/posix/spawni.c (script_execute): Always define it.
4717 It will be optimized away if unused.
4718 (maybe_script_execute): New function.
4719 (__spawni): Call it.
4720
bc7e1c36
RM
4721 * Makerules: Don't include tls.make.
4722 (config-tls): Always set to thread.
4723 * tls.make.c: File removed.
4724
1c3b002b
MF
47252011-09-19 Mike Frysinger <vapier@gentoo.org>
4726
4727 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4728 * config.make.in (CPPFLAGS-config): New substituted variable.
4729
2840865d
UD
47302011-09-15 Ulrich Drepper <drepper@gmail.com>
4731
88738eb6
UD
4732 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4733
cbf645a6 4734 [BZ #13192]
2840865d
UD
4735 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4736 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4737
b402e91a
RM
47382011-09-15 Roland McGrath <roland@hack.frob.com>
4739
4740 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4741 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4742 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4743 (CALL_FAIL): Likewise.
4744 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4745 (CALL_FAIL): Macro removed.
4746 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4747
4c1a1f71
UD
47482011-09-15 Ulrich Drepper <drepper@gmail.com>
4749
4750 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4751 for __FINITE_MATH_ONLY__ == 1.
4752
edc121be
AS
47532011-09-15 Andreas Schwab <schwab@redhat.com>
4754
4755 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4756 __ieee754_sqrt instead of sqrt.
4757 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4758 __ieee754_sqrtf instead of sqrtf.
4759 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4760 __floorf instead of floorf.
4761 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4762 __floorf, __truncf instead of floorf, truncf.
4763
cd205654
UD
47642011-09-14 Ulrich Drepper <drepper@gmail.com>
4765
ee4d0315
UD
4766 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4767
cd205654
UD
4768 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4769 __extern_always_inline.
4770 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4771 32-bit.
4772
48b67d71
AS
47732011-09-14 Andreas Schwab <schwab@redhat.com>
4774
4775 * elf/rtld.c (dl_main): Also relocate in dependency order when
4776 doing symbol dependency testing.
4777
1ae12c75
AS
47782011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4779
4780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4781 Always define `refsym'.
4782
995a80df
AS
47832011-09-13 Andreas Schwab <schwab@redhat.com>
4784
e529793b
AS
4785 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4786 (__FD_ELT): Renamed from __FDELT.
4787 * misc/bits/select2.h (__FD_ELT): Likewise.
4788 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4789 __FD_MASK instead of __FDELT, __FDMASK.
4790 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4791 Likewise.
4792 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4793 Likewise.
4794
52d4fef8
AS
4795 * elf/Makefile (gen-ldd): Fix pattern.
4796
995a80df
AS
4797 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4798 (init_tls): Likewise.
4799
8682f8b0
UD
48002011-09-12 Ulrich Drepper <drepper@gmail.com>
4801
4802 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4803
de82006d
AS
48042011-09-12 Andreas Schwab <schwab@redhat.com>
4805
a7c8e6a1
AS
4806 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4807 `struct cmsghdr *' instead of `void *'.
4808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4809 Likewise.
4810
0f31fe77
AS
48112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4812
4813 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4814 if non-absolute.
4815 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4816 ldd_rewrite_script.
0f31fe77 4817
32b4c839
UD
48182011-09-11 Ulrich Drepper <drepper@gmail.com>
4819
83cd1420
UD
4820 * configure.in: Remove --with-tls option.
4821 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4822 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4823 out in case it is missing.
4824 * sysdeps/ia64/elf/configure.in: Likewise.
4825 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4826 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4827 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4828 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4829 * sysdeps/sh/elf/configure.in: Likewise.
4830 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4831 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4832 * sysdeps/x86_64/elf/configure.in: Likewise.
4833 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4834 * sysdeps/mach/hurd/tls.h: Likewise.
4835
633f745d
UD
4836 [BZ #13067]
4837 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4838
f318beb8
UD
4839 [BZ #13090]
4840 * configure.in: Fix use of AC_INIT.
4841
32b4c839
UD
4842 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4843
3ce1f295
UD
48442011-09-10 Ulrich Drepper <drepper@gmail.com>
4845
bb016596
UD
4846 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4847 __set_errno.
8e58439c
UD
4848 * malloc/hooks.c: Likewise.
4849
aebae053 4850 [BZ #11929]
02d46fc4
UD
4851 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4852 variables statically.
4853 (narenas): Initialize.
4854 (list_lock): Initialize.
bb016596
UD
4855 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4856 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
4857 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4858 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4859 Add initializers to main_arena and mp_.
4860 (malloc_state): Remove pagesize member. Change all users to use
4861 GLRO(dl_pagesize).
4862
4863 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4864 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4865 is always initialized.
4866
22a89187
UD
4867 * malloc/malloc.c: Removed unused configurations and dead code.
4868 * malloc/arena.c: Likewise.
4869 * malloc/hooks.c: Likewise.
02d46fc4 4870 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 4871
d063d164
UD
4872 * include/tls.h: Removed. USE___THREAD must always be defined.
4873 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4874 * elf/dl-libc.c: Likewise.
4875 * elf/dl-tsd.c: Likewise.
4876 * include/errno.h: Likewise.
4877 * include/netdb.h: Likewise.
4878 * include/resolv.h: Likewise.
4879 * inet/herrno-loc.c: Likewise.
4880 * inet/herrno.c: Likewise.
4881 * malloc/arena.c: Likewise.
4882 * malloc/hooks.c: Likewise.
4883 * malloc/malloc.c: Likewise.
4884 * resolv/res-state.c: Likewise.
4885 * resolv/res_libc.c: Likewise.
4886 * sysdeps/i386/dl-machine.h: Likewise.
4887 * sysdeps/ia64/dl-machine.h: Likewise.
4888 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4889 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4890 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4891 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4892 * sysdeps/sh/dl-machine.h: Likewise.
4893 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4894 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4895 * sysdeps/unix/i386/sysdep.S: Likewise.
4896 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4897 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4898 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4899 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4900 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4902 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4904 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4906 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4907 * sysdeps/x86_64/dl-machine.h: Likewise.
4908 * tls.make.c: Likewise.
4909
3ce1f295
UD
4910 * configure.in: Remove --with-__thread option. Make tests for
4911 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4912 tls_model attribute fail if no support is available. Remove
4913 USE_IN_LIBIO.
4914 * Makeconfig: Adjust for dropped configure option. All features are
4915 now mandatory.
4916 * Makerules: Likewise.
4917 * Versions.def: Likewise.
4918 * argp/argp-fmtstream.c: Likewise.
4919 * argp/argp-fmtstream.h: Likewise.
4920 * argp/argp-help.c: Likewise.
4921 * assert/assert.c: Likewise.
4922 * config.h.in: Likewise.
4923 * config.make.in: Likewise.
4924 * configure: Likewise.
4925 * configure.in: Likewise.
4926 * csu/Versions: Likewise.
4927 * csu/init.c: Likewise.
4928 * elf/tst-audit2.c: Likewise.
4929 * elf/tst-tls10.c: Likewise.
4930 * elf/tst-tls10.h: Likewise.
4931 * elf/tst-tls11.c: Likewise.
4932 * elf/tst-tls12.c: Likewise.
4933 * elf/tst-tls14.c: Likewise.
4934 * elf/tst-tlsmod11.c: Likewise.
4935 * elf/tst-tlsmod12.c: Likewise.
4936 * elf/tst-tlsmod13.c: Likewise.
4937 * elf/tst-tlsmod13a.c: Likewise.
4938 * elf/tst-tlsmod14a.c: Likewise.
4939 * elf/tst-tlsmod15b.c: Likewise.
4940 * elf/tst-tlsmod16a.c: Likewise.
4941 * elf/tst-tlsmod16b.c: Likewise.
4942 * elf/tst-tlsmod7.c: Likewise.
4943 * elf/tst-tlsmod8.c: Likewise.
4944 * elf/tst-tlsmod9.c: Likewise.
4945 * gmon/gmon.c: Likewise.
4946 * grp/fgetgrent_r.c: Likewise.
4947 * grp/putgrent.c: Likewise.
4948 * hurd/fopenport.c: Likewise.
4949 * include/libc-symbols.h: Likewise.
4950 * include/tls.h: Likewise.
4951 * intl/gettextP.h: Likewise.
4952 * intl/loadinfo.h: Likewise.
4953 * locale/global-locale.c: Likewise.
4954 * locale/localeinfo.h: Likewise.
4955 * mach/devstream.c: Likewise.
4956 * malloc/arena.c: Likewise.
4957 * malloc/set-freeres.c: Likewise.
4958 * misc/err.c: Likewise.
4959 * misc/getttyent.c: Likewise.
4960 * misc/mntent_r.c: Likewise.
4961 * posix/getopt.c: Likewise.
4962 * posix/wordexp.c: Likewise.
4963 * pwd/fgetpwent_r.c: Likewise.
4964 * resolv/Versions: Likewise.
4965 * resolv/res_hconf.c: Likewise.
4966 * shadow/fgetspent_r.c: Likewise.
4967 * shadow/putspent.c: Likewise.
4968 * stdio-common/printf_fphex.c: Likewise.
4969 * stdio-common/tmpfile.c: Likewise.
4970 * stdlib/abort.c: Likewise.
4971 * stdlib/fmtmsg.c: Likewise.
4972 * sunrpc/auth_unix.c: Likewise.
4973 * sunrpc/clnt_perr.c: Likewise.
4974 * sunrpc/clnt_tcp.c: Likewise.
4975 * sunrpc/clnt_udp.c: Likewise.
4976 * sunrpc/clnt_unix.c: Likewise.
4977 * sunrpc/openchild.c: Likewise.
4978 * sunrpc/svc_simple.c: Likewise.
4979 * sunrpc/svc_tcp.c: Likewise.
4980 * sunrpc/svc_udp.c: Likewise.
4981 * sunrpc/svc_unix.c: Likewise.
4982 * sunrpc/xdr.c: Likewise.
4983 * sunrpc/xdr_array.c: Likewise.
4984 * sunrpc/xdr_rec.c: Likewise.
4985 * sunrpc/xdr_ref.c: Likewise.
4986 * sunrpc/xdr_stdio.c: Likewise.
4987
1248c1c4
PB
49882011-09-09 Ulrich Drepper <drepper@gmail.com>
4989
4990 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4991
49922011-07-03 Andreas Jaeger <aj@suse.de>
4993
4994 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4995 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4996 regenerate with gen-libm-tests.pl.
4997
49982010-05-12 Petr Baudis <pasky@suse.cz>
4999
5000 [BZ #11589]
5001 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5002 around j0() zero points by switching to j1().
5003 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5004 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5006 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5007
f22e1074
UD
50082011-09-09 Ulrich Drepper <drepper@gmail.com>
5009
f19009c1
UD
5010 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5011 instead of 0.
5012 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5013 instead of 0. .
5014 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5015 Patch in part by Pavel Roskin <proski@gnu.org>.
5016
3f8cc204
UD
5017 [BZ #13138]
5018 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5019 realloc.
5020 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5021 Free memory block if necessary.
5022
f22e1074
UD
5023 [BZ #12847]
5024 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5025 be NULL. Don't lock in this case.
5026
0a2349f9
RM
50272011-09-09 Roland McGrath <roland@hack.frob.com>
5028
5029 * elf/elf.h (ELFOSABI_GNU): New macro.
5030 (ELFOSABI_LINUX): Define to that.
5031
f3cdd467
DZ
50322011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5033
5034 * string/strncat.c (strncat): Undef the symbol in case it has been
5035 defined in bits/string.h.
5036
74718d13
UD
50372011-09-09 Ulrich Drepper <drepper@gmail.com>
5038
633e9e0f
UD
5039 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5040
0a2349f9 5041 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
5042 link map.
5043
f9924780
AJ
50442011-08-17 Andreas Jaeger <aj@suse.de>
5045
5046 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5047
7f5517aa
PP
50482011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5049 Ian Lance Taylor <iant@google.com>
5050
5051 * math/libm-test.inc (lround_test): New testcase.
5052 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5053
762011fe
UD
50542011-09-08 Ulrich Drepper <drepper@gmail.com>
5055
92963737
UD
5056 * Makefile: Remove support for automatic cvs check-ins.
5057 * Makerules: Likewise.
5058 * config.make.in: Likewise.
5059 * configure.in: Likewise.
5060 * intl/Makefile: Likewise.
5061 * locale/Makefile: Likewise.
5062 * po/Makefile: Likewise.
5063 * posix/Makefile: Likewise.
5064 * sysdeps/gnu/Makefile: Likewise.
5065 * sysdeps/mach/hurd/Makefile: Likewise.
5066 * sysdeps/sparc/sparc32/Makefile: Likewise.
5067
b0727fd8
JS
5068 [BZ #13118]
5069 * posix/Makefile (bug-regex32-ENV): Define.
5070 Patch by John Stanley <jpsinthemix@verizon.net>.
5071
a0f33f99
UD
5072 * misc/Makefile (headers): Add bits/select2.h.
5073 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5074 * misc/bits/select2.h: New file.
5075 * include/bits/select2.h: New file.
5076 * debug/Makefile (routines): Add fdelt_chk.
5077 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5078 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5079 FD_ISSET.
5080 * debug/fdelt_chk.c: New file.
5081
762011fe
UD
5082 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5083 * wcsmbs/test-wmemcmp.c: Likewise.
5084 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 5085 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
5086
50872011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5088
5089 * string/Makefile (strop-tests): Add memcmp.
5090 * string/test-wmemcmp.c: New file.
5091 * string/test-memcmp.c: Add wmemcmp support.
5092
7f513ec8
RM
50932011-09-08 Roland McGrath <roland@hack.frob.com>
5094
0442afb4
RM
5095 [BZ #13153]
5096 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5097 2011-07-19 change.
5098
7f513ec8
RM
5099 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5100 garbage value in a __mach_port_mod_refs call in the cases of the
5101 task-self and thread-self ports.
5102
a12b2239
ST
51032011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5104
5105 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5106
610f9ab4
AS
51072011-09-08 Andreas Schwab <schwab@redhat.com>
5108
7f513ec8 5109 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 5110
48882a1a
LD
51112011-09-07 Ulrich Drepper <drepper@gmail.com>
5112
b49865be
UD
5113 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5114
fdc86bc9
UD
5115 * elf/dl-libc.c (dlerror_run): Pass back error code from
5116 dl_catch_error.
5117
c966526a
UD
5118 [BZ #13123]
5119 * elf/dl-load.c (lose): Free l_origin if it is valid.
5120
48882a1a
LD
5121 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5122 names.
5123 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5124 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5126 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5127 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5128 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5129
77a2a8b4
AZ
51302011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5131
5132 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5133 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5134 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5135 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5136 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5137 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5138 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5139 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5140 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5141 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5142
24f579d8
AM
51432011-08-15 Alan Modra <amodra@gmail.com>
5144
5145 [BZ #13092]
5146 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5147 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5148 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5149 ppc_mcount to static-only-routines.
5150 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5151 __mcount_internal.
5152 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5153 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5154
3d4837df
UD
51552011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5156
5157 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5158 for finite and infinity parameters.
5159
22700377
WS
51602011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5161
5162 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5163 and add nop instructions for throughput optimization.
5164 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5165
5025581e
WS
51662011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5167
5168 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5169 aligned copy for power7 with vector-scalar instructions.
5170 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5171
08a300c9
L
51722011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5173
5174 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5175 AVX check.
5176
59178ef9
AS
51772011-09-07 Andreas Schwab <schwab@redhat.com>
5178
5179 [BZ #13144]
5180 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5181 last change.
5182
e38ba7ab
UD
51832011-09-07 Ulrich Drepper <drepper@gmail.com>
5184
5185 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5186 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5187 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5188 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5189 clock_gettime.
5190
d53a73ac
UD
51912011-09-06 Ulrich Drepper <drepper@gmail.com>
5192
fc8bffcc
UD
5193 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5194 Forgot to demangle the pointer.
5195
ceaa0c5d
UD
5196 * sysdeps/i386/sysdep.h: Define atom_text_section.
5197 * sysdeps/x86_64/sysdep.h: Likewise.
5198 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5199 section with atom_text_section.
5200 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5201 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5202 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5203 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5204 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5205
a77d3c17
UD
5206 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5207 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5208 already be defined. Change to take two parameters and don't assign
5209 result to variable. Adjust all users.
5210 Define INTERNAL_GETTIME if not already defined.
5211 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5212 call.
5213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5214 HAVE_CLOCK_GETTIME_VSYSCALL.
5215 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5216
d53a73ac
UD
5217 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5218 gettimeofday vsyscall, just use time.
5219
a8f84144
AS
52202011-09-06 Andreas Schwab <schwab@redhat.com>
5221
5222 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5223 <errno.h>.
5224
ef606249
UD
52252011-09-06 Ulrich Drepper <drepper@gmail.com>
5226
5227 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5228 syscall on x86-64.
5229 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5230 syscall.
5231 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5232 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5233 syscall if possible.
5234
6585cb60
UD
52352011-09-05 Ulrich Drepper <drepper@gmail.com>
5236
5237 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5238 e_ident. Don't pass to find_mapsXX.
5239 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5240
a5f524e4
LD
52412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5242
5243 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5244 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5245 * sysdeps/x86_64/multiarch/strchr.S: Update.
5246 Check bit_slow_BSF bit.
5247 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5248 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5249 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5250
554881ef
UD
52512011-09-05 Ulrich Drepper <drepper@gmail.com>
5252
d96de963
UD
5253 [BZ #13134]
5254 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5255 before glibc 2.15.
5256 (tryshell): Define.
5257 (__spawni): Change last parameter to be flag. Test
5258 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5259 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5260 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5261 * posix/spawni.c: Likewise.
5262 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5263 * posix/spawnp.c: Likewise. Change normal version to use
5264 SPAWN_XFLAGS_USE_PATH.
5265 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5266 SPAWN_XFLAGS_TRY_SHELL.
5267
d48e5868
UD
5268 [BZ #13150]
5269 * posix/glob.h: Remove gcc 1.x support.
5270
554881ef
UD
5271 [BZ #13068]
5272 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5273
693fb948
LD
52742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5275
5276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5277 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5278 strrchr-sse2-bsf
5279 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5280 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5281 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5282 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5283 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5284 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5285
1b48c537
UD
52862011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5287
49d42c37
UD
5288 * sysdeps/x86_64/wcscmp.S: New file.
5289
1b48c537
UD
5290 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5291 wcscmp-c wcscmp-sse2
5292 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5293 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5294 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5295 * wcsmbs/wcscmp.c: Allow renaming.
5296
15c95c5d
DM
52972011-09-05 David S. Miller <davem@davemloft.net>
5298
5299 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5300 stack slot, rather than the struct return pointer slot.
5301 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5302 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5304 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5305
2f0ad8f3
UD
53062011-09-05 Ulrich Drepper <drepper@gmail.com>
5307
d88ae418
UD
5308 * po/ja.po: Update from translation team.
5309
2f0ad8f3
UD
5310 [BZ #13144]
5311 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5312 kernel in 64-bit binaries.
5313
5f4318d1
DM
53142011-09-01 David S. Miller <davem@davemloft.net>
5315
5316 * elf/elf.h (HWCAP_SPARC_*): Move to..
5317 * sysdeps/sparc/sysdep.h: this new file and add new values.
5318 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5319 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5320 _DL_HWCAP_COUNT to 24.
5321 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5322 entries.
5323 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5324 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5325 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5326 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5327 instead of magic constants.
5328 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5329
3ba57516
DM
53302011-08-31 David S. Miller <davem@davemloft.net>
5331
5332 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5334 Reimplement to do errno handling inline.
5335 (SYSCALL_ERROR_HANDLER): New macro.
5336 (__SYSCALL_STRING): Do not do errno handling in asm.
5337 (__CLONE_SYSCALL_STRING): Delete.
5338 (__INTERNAL_SYSCALL_STRING): Delete.
5339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5340 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5341 (PSEUDO): Reimplement to do errno handling inline.
5342 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5343 (SYSCALL_ERROR_HANDLER): New macro.
5344 (__SYSCALL_STRING): Do not do errno handling in asm.
5345 (__CLONE_SYSCALL_STRING): Delete.
5346 (__INTERNAL_SYSCALL_STRING): Delete.
5347 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5348 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5349 i386.
5350 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5351 (inline_syscall*): Add 'err' argument.
5352 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5353 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5354 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5355 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5356
5357 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5358 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5359
2bc17433
AS
53602011-08-30 Andreas Schwab <schwab@redhat.com>
5361
5362 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5363
fbeb5f4d
JO
53642011-08-29 Jiri Olsa <jolsa@redhat.com>
5365
5366 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5367 directive.
5368
ad69cc26
DM
53692011-08-24 David S. Miller <davem@davemloft.net>
5370
5371 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5372
39dd69df
AS
53732011-08-24 Andreas Schwab <schwab@redhat.com>
5374
5375 * elf/Makefile: Add rules to build and run unload8 test.
5376 * elf/unload8.c: New file.
5377 * elf/unload8mod1.c: New file.
5378 * elf/unload8mod1x.c: New file.
5379 * elf/unload8mod2.c: New file.
5380 * elf/unload8mod3.c: New file.
5381
5382 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5383 it wasn't used.
5384
2c0b250a
DM
53852011-08-23 David S. Miller <davem@davemloft.net>
5386
5387 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5388 subtract stack bias.
5389 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5390 %sp not %fp in calculations.
5391 (_JMPBUF_UNWINDS_ADJ): Likewise.
5392
22044b48
DM
5393 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5394 (aio_suspend): Call it to force an exception region around the
5395 AIO_MISC_WAIT() invocation.
5396
2cae4995
AS
53972011-08-23 Andreas Schwab <schwab@redhat.com>
5398
5399 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5400 backslash.
5401
873a772e
AJ
54022011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5403
5404 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5405 protection macro.
5406 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5407 and <dl-machine.h>.
5408 (Elf64_FuncDesc): Remove.
5409
25ad0df1
DM
54102011-08-22 David S. Miller <davem@davemloft.net>
5411
5412 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5413 sigaltstack check, add missing cfi directives.
5414 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5415 missing cfi directives, and sigaltstack handling.
5416
e888bcbe
AS
54172011-08-16 Andreas Schwab <schwab@redhat.com>
5418
5419 [BZ #11724]
5420 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5421 object is seen twice.
5422 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5423
5424 * elf/Makefile (distribute): Add tst-initorder2.c.
5425 (tests): Add tst-initorder2.
5426 (modules-names): Add tst-initorder2a tst-initorder2b
5427 tst-initorder2c tst-initorder2d. Add rules to build them.
5428 ($(objpfx)tst-initorder2.out): New rule.
5429 * elf/tst-initorder2.c: New file.
5430 * elf/tst-initorder2.exp: New file.
5431
87162f46
AS
54322011-08-22 Andreas Schwab <schwab@redhat.com>
5433
70538b7f
AS
5434 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5435
f55ffe58
AS
5436 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5437 dependencies back to end of function.
5438
87162f46
AS
5439 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5440 $(elfobjdir)/ld.so.
5441
91b392a4
UD
54422011-08-21 Ulrich Drepper <drepper@gmail.com>
5443
5444 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5445 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5446 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5447 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5448 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5449 of __vdso_gettimeofday.
5450 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5451 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5452 attribute_hidden.
5453 (_libc_vdso_platform_setup): Remove initialization of
5454 __vdso_gettimeofday and __vdso_time.
5455
5c43483f
UD
54562011-08-20 Ulrich Drepper <drepper@gmail.com>
5457
775a77e7
UD
5458 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5459 and fgetc_unlocked.
5460 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5461 getc_unlocked.
89f447ed 5462
49c74ba9
UD
5463 * elf/dl-open.c (add_to_global): Report additions to the global scope
5464 for LD_DEBUG=scopes.
5465 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 5466 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 5467
5c43483f
UD
5468 [BZ #13114]
5469 * stdio-common/Makefile (tests): Add bug24.
5470 * stdio-common/bug24.c: New file.
5471
a101b025
AJ
54722011-08-19 Andreas Jaeger <aj@suse.de>
5473
5474 [BZ #13114]
5475 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5476 non-existant file when using close-on-exec mode.
5477
c88f1766
UD
54782011-08-20 Ulrich Drepper <drepper@gmail.com>
5479
0276a718
UD
5480 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5481 the very first instruction.
5482
c88f1766
UD
5483 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5484 the CFI state in the end.
5485 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5486 inclusion of dl-trampoline.h.
5487 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5488
51ccffa0
AS
54892011-08-19 Andreas Schwab <schwab@redhat.com>
5490
94d7165f
AS
5491 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5492 expectations for long double.
5493
51ccffa0
AS
5494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5495 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5496
fd708658 54972011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
5498
5499 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5500 artificual limit depends upon the system page size.
5501
44f0a71e
UD
55022011-08-17 Ulrich Drepper <drepper@gmail.com>
5503
5504 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5505 * resolv/Makefile: Define CFLAGS-libresolv.
5506
8de79a24
AS
55072011-08-17 Andreas Schwab <schwab@redhat.com>
5508
5509 * nss/makedb.c (compute_tables): Make variables used in nested
5510 function static.
5511
27724598
UD
55122011-08-17 Ulrich Drepper <drepper@gmail.com>
5513
c5305d88
UD
5514 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5515 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5516 if buffer was too small.
5517
27724598
UD
5518 * elf/pldd.c (main): Attach to all threads in the process.
5519 Rewrite /proc handling to use *at functions.
5520
076fe015
UD
55212011-08-16 Ulrich Drepper <drepper@gmail.com>
5522
174baab3
UD
5523 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5524 specifies first scope to show.
5525 (dl_open_worker): Update callers. Move printing scope of new
5526 object to before the relocation.
44f0a71e 5527 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
5528 * sysdeps/generic/ldsodefs.h: Update declaration.
5529
076fe015
UD
5530 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5531 string for the scope number.
5532
a60df2c3
UD
55332011-08-14 Ulrich Drepper <drepper@gmail.com>
5534
5535 * nscd/servicescache.c (cache_addserv): Make sure written is always
5536 initialized.
5537
5e4287d1
RM
55382011-08-14 Roland McGrath <roland@hack.frob.com>
5539
85ae0589
RM
5540 * sysdeps/i386/i486/bits/atomic.h
5541 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5542 statement expression, so as to suppress "set but not used" warning.
5543 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5544
69f63097
RM
5545 * string/strncat.c (STRNCAT): Use prototype definition.
5546
675456ef
RM
5547 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5548 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5549 -Iprograms here.
5550 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5551 (localedef-modules): Add localedef.
5552 (locale-modules): Add locale.
5553
5e4287d1
RM
5554 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5555 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5556 to avoid a warning.
5557
9c96ff23
DM
55582011-08-14 David S. Miller <davem@davemloft.net>
5559
5560 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5561 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5562
f9ddf089
UD
55632011-08-13 Ulrich Drepper <drepper@gmail.com>
5564
44f0a71e 5565 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
5566 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5567 * elf/rtld.c (dl_main): Set l_name of vDSO.
5568 Call _dl_show_scope when DL_DEBUG_SCOPES.
5569 (process_dl_debug): Recognize scopes flag and also set it for all.
5570 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5571 Declare _dl_show_scope.
5572
1dc27704
UD
5573 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5574 (do_dlopen): Pass caller_dlopen to dl_open.
5575 (__libc_dlopen_mode): Initialize caller_dlopen.
5576
f9ddf089
UD
5577 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5578 of libc. Make tolower call locale-independent. Optimize a bit by
5579 using isdigit instead of isalnum.
5580 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5581
9ac533d3
UD
55822011-08-12 Ulrich Drepper <drepper@gmail.com>
5583
5584 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5585 was a dependency or dynamically loaded.
5586
89edf2e9
UD
55872011-08-11 Ulrich Drepper <drepper@gmail.com>
5588
8e999d29
UD
5589 * intl/l10nflist.c: Allow architecture-specific pop function.
5590 * sysdeps/x86_64/l10nflist.c: New file.
5591
89edf2e9
UD
5592 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5593 classification.
5594
14d96785
AS
55952011-08-10 Andreas Schwab <schwab@redhat.com>
5596
5597 * include/dirent.h: Add libc_hidden_proto for scandirat and
5598 scandirat64. Don't declare __scandirat64.
5599 * dirent/scandirat.c: Add libc_hidden_def.
5600 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5601 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5602
6761ac04
DM
56032011-08-10 David S. Miller <davem@davemloft.net>
5604
5605 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5606 enum.
5607 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5608 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5609 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5610
c55fbd1e
UD
56112011-08-09 Ulrich Drepper <drepper@gmail.com>
5612
5613 * Versions.def [libc]: Add GLIBC_2.15.
5614 * dirent/Makefile (routines): Add scandirat and scandirat64.
5615 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5616 GLIBC_2.15.
5617 * dirent/dirent.h: Declare scandirat and scandirat64.
5618 * dirent/scandirat.c: New file.
5619 * dirent/scandirat64.c: New file.
5620 * sysdeps/wordsize-64/scandirat.c: New file.
5621 * sysdeps/wordsize-64/scandirat64.c: New file.
5622 * dirent/opendir.c: Define opendirat.
5623 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5624 using scandirat.
5625 * dirent/scandir64.c: Adjust for scandir.c change.
5626 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5627 __scandirat64, and __scandir_cancel_handler.
5628 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5629 additional parameter and use openat instead of open (outside of ld.so).
5630 Add new __opendir as wrapper around __opendirat.
5631 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5632 here without requiring old scandirat implementation.
5633
879165f2
UD
56342011-08-08 Ulrich Drepper <drepper@gmail.com>
5635
5636 * dirent/scandir.c (cancel_handler): Renamed to
5637 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5638 defined. Adjust users.
5639 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5640 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5641
cb7e923b
UD
56422011-08-04 Ulrich Drepper <drepper@gmail.com>
5643
16292edd
UD
5644 * string/test-string.h (IMPL): Use __STRING to expand name and then
5645 stringify it.
5646
cb7e923b
UD
5647 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5648 of cleanups.
5649
cff82933
LD
56502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5651
5652 * string/Makefile: Update.
5653 (strop-tests): Append strncat.
5654 * string/test-wcscmp.c: New file.
5655 New comprehensive test for wcscmp.
5656 * string/test-strcmp.c: Update.
5657 (WIDE): New define.
5658
9be9bfcc
AS
56592011-07-22 Andreas Schwab <schwab@redhat.com>
5660
5661 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5662 line.
5663
2e96f1c7
AS
56642011-07-26 Andreas Schwab <schwab@redhat.com>
5665
5666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5667 encoding to ACE if AI_IDN.
5668
85188888
JJ
56692011-08-01 Jakub Jelinek <jakub@redhat.com>
5670
5671 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5672 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5673
5fa16e9b
LD
56742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5675
5676 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5677 Fix overflow bug in strncat.
5678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5679
5680 * string/test-strncat.c: Update.
5681 Add new tests for checking overflow bugs.
5682
56832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5684
5685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5686 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5687 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5688 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5689 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5690 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5691 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5692 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5693 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5694
5695 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5696 (USE_AS_STRCAT): Define.
5697 Add strcat and strncat support.
5698 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5699
8c1a459f
AS
57002011-07-25 Andreas Schwab <schwab@redhat.com>
5701
5702 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5703 __n bigger than INT_MAX+1.
5704 (__strncmp_g): Likewise.
5705
bba33c28
UD
57062011-07-23 Ulrich Drepper <drepper@gmail.com>
5707
798be72d
UD
5708 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5709 * libio/stido.h: Likewise.
5710
8accd4dc
UD
5711 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5712 (AF_NFC): Define.
5713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5714 (AF_NFC): Define.
5715
cbff0d96
UD
5716 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5717 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5718 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5719 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5721
9191c04a
UD
5722 [BZ #13021]
5723 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5724 installed.
5725
bba33c28
UD
5726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5727 typo.
5728 (_dl_x86_64_save_sse): Likewise.
5729
90f139dd
UD
57302011-07-22 Ulrich Drepper <drepper@gmail.com>
5731
1aae088a
UD
5732 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5733 OSXSAVE.
5734 (_dl_x86_64_save_sse): Likewise.
5735
8e2045f5
UD
5736 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5737
90f139dd
UD
5738 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5739
1d002f25
AS
57402011-07-21 Andreas Schwab <schwab@redhat.com>
5741
5742 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5743 change.
5744 (_dl_x86_64_save_sse): Use correct AVX check.
5745
21137f89
UD
57462011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5747
5748 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5749 bug in strncpy/strncat.
5750 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5751
a65c0b7a
UD
57522011-07-21 Ulrich Drepper <drepper@gmail.com>
5753
5754 * string/tester.c (test_strcat): Add tests for different alignments
5755 of source and destination.
5756 (test_strncat): Likewise.
5757
6986b98a
UD
57582011-07-20 Ulrich Drepper <drepper@gmail.com>
5759
90bb2039
UD
5760 [BZ #12852]
5761 * posix/glob.c (glob): Check passed in values before using them in
5762 expressions to avoid some overflows.
5763 (glob_in_dir): Likewise.
5764
5644ef54
UD
5765 [BZ #13007]
5766 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5767 check for AVX enablement so that we don't crash with old kernels and
5768 new hardware.
5769 * elf/tst-audit4.c: Add same checks here.
5770 * elf/tst-audit6.c: Likewise.
5771
5772 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 5773
bfc9dc9b
AS
57742011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5775
5776 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5777
702e64bb
UD
57782011-07-20 Ulrich Drepper <drepper@gmail.com>
5779
5780 * po/cs.po: Update from translation team.
5781 * po/bg.po: Likewise.
5782
295e904f
MP
57832011-07-12 Marek Polacek <mpolacek@redhat.com>
5784
5785 * misc/sys/cdefs.h: Add support for const attribute.
5786 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5787 to gnu_dev_{major,minor,makedev} functions.
5788
3ff94596
MP
57892011-07-20 Marek Polacek <mpolacek@redhat.com>
5790
5791 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5792
28b59fca
AS
57932011-07-20 Andreas Schwab <schwab@redhat.com>
5794
5795 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5796 strlen results.
5797
19df733e
AK
57982011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5799
5800 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5801 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5802 register in order to avoid conflicts with the soft frame pointer
5803 being held in r11 when necessary.
5804 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5805 (INTERNAL_VSYSCALL_NCS): Likewise.
5806
c8835729
MP
58072011-07-14 Marek Polacek <mpolacek@redhat.com>
5808
5809 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5810 * elf/dl-fini.c (_dl_fini): Adjust caller.
5811 * elf/dl-close.c (_dl_close_worker): Likewise.
5812 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5813
b902330c
MP
58142011-07-15 Marek Polacek <mpolacek@redhat.com>
5815
8991e135
MP
5816 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5817 "aux_cache->nlibs < 0".
5818
b902330c
MP
5819 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5820 in the reload-count case.
5821
99710781
LD
58222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5823
5824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5825 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5826 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5827 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5828 * sysdeps/x86_64/multiarch/strcat.S: New file.
5829 * sysdeps/x86_64/multiarch/strncat.S: New file.
5830 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5831 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5832 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5833 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5834 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5835 (USE_AS_STRCAT): Define.
5836 Add strcat and strncat support.
5837 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5838 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5839 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5840 * string/strncat.c: Update.
5841 (USE_AS_STRNCAT): Define.
5842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5843 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5844 and i7.
5845 * sysdeps/x86_64/multiarch/init-arch.h
5846 (bit_Prefer_PMINUB_for_stringop): New.
5847 (index_Prefer_PMINUB_for_stringop): Likewise.
5848 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5849 bit_Prefer_PMINUB_for_stringop.
5850
7dc6bd90
UD
58512011-07-19 Ulrich Drepper <drepper@gmail.com>
5852
5853 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5854 buffer64.
5855 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5856 of casting of buffer.
5857 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5858 buffer32 and buffer64.
5859 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5860 writes instead of casting of buffer.
5861 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5862 buffer32.
5863 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5864 casting of buffer.
5865
e0e72284
AS
58662011-07-19 Andreas Schwab <schwab@redhat.com>
5867
5868 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5869
feb1eb0b
UD
58702011-07-19 Ulrich Drepper <drepper@gmail.com>
5871
5872 * nscd/nscd.c (termination_handler): Don't do anything for a database
5873 if it has not yet been initialized.
5874
298711ff
UD
58752011-07-18 Ulrich Drepper <drepper@gmail.com>
5876
5877 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5878
58792011-07-15 Marek Polacek <mpolacek@redhat.com>
5880
5881 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5882
f9d68389
UD
58832011-07-18 Ulrich Drepper <drepper@gmail.com>
5884
5885 * po/nl.po: Update from translation team.
5886 * po/sv.po: Likewise.
5887
db290cf5
RM
58882011-07-16 Roland McGrath <roland@hack.frob.com>
5889
5890 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5891 now disallowed by GCC.
5c550700 5892
fd5e21c7
RM
5893 * configure.in (use-default-link): Default to yes if a test -shared
5894 link meets our qualifications.
5895 * configure: Regenerated.
5896
5c550700
RM
5897 * config.make.in (output-format): New variable.
5898 * configure.in: Check for ld --print-output-format support.
5899 * configure: Regenerated.
5900 * Makerules ($(common-objpfx)format.lds)
5901 [$(output-format) != unknown]: Just use $(output-format),
5902 instead of the linker-script munging.
5903
9fa2c032
RM
59042011-07-14 Roland McGrath <roland@hack.frob.com>
5905
a6928d51
RM
5906 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5907 of $(common-objpfx)shlib.lds.
5908 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5909
661607b3
RM
5910 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5911 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5912
9fa2c032
RM
5913 * configure.in (-z relro check): Adjust test code to add a large
5914 writable data section after it.
5915 * configure: Regenerated.
5916
defe9061
RM
59172011-07-11 Roland McGrath <roland@hack.frob.com>
5918
5919 * configure.in (-z relro check): Fix test code to make the variable
5920 truly const.
5921 * configure: Regenerated.
5922
319b9ad4
UD
59232011-07-11 Ulrich Drepper <drepper@gmail.com>
5924
5925 * nscd/nscd.h (struct traced_file): Define.
5926 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5927 elements. Add traced_files.
5928 (inotify_fd): Declare.
5929 (register_traced_file): Declare.
5930 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5931 (inotify_fd): Export.
5932 (resolv_conf_descr): Remove.
5933 (nscd_init): Move inotify descriptor creation to main.
5934 Don't register files for notification here.
5935 (register_traced_file): New function.
5936 (invalidate_cache): Don't use reset_res to determine whether to call
5937 res_init, go through the list of registered files.
5938 (main_loop_poll): The inotify descriptors are now stored in the
5939 structures for the traced files.
5940 (main_loop_epoll): Likewise
5941 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5942 to __nss_disable_nscd.
5943 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5944 for a database anymore. Check the records for all the registered
5945 files instead.
5946 * nss/Makefile (libnss_files-routines): Add files-init.
5947 (libnss_db-routines): Add db-init.
5948 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5949 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5950 * nss/nss_db/db-init.c: New file.
5951 * nss/nss_files/files-init.c: New file.
5952 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5953 __nss_lookup_function.
5954 (__nss_lookup_function): Call nss_load_library.
5955 (nss_load_all_libraries): New function.
5956 (__nss_disable_nscd): Take parameter with callback function for files
5957 to register. Set is_nscd. Load all the DSOs for the NSS modules
5958 used for the cached services.
5959 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5960 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5961 options for features to all the files in nscd.
5962
5963 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5964
23bee3e8
RM
59652011-07-10 Roland McGrath <roland@hack.frob.com>
5966
5967 * csu/elf-init.c (__libc_csu_init): Comment typo.
5968
46a5b7f0
UD
59692011-07-09 Ulrich Drepper <drepper@gmail.com>
5970
5971 * po/pl.po: Update from translation team.
5972 * po/ja.po: Likewise.
5973 * po/ru.po: Likewise.
5974 * po/ko.po: Likewise.
5975 * po/fr.po: Likewise.
5976
d30cf5bb
RM
59772011-07-09 Roland McGrath <roland@hack.frob.com>
5978
113ddea4
RM
5979 * configure.in (.ctors/.dtors header and trailer check):
5980 Use an empirical test on a built program.
5981 * configure: Regenerated.
5982
574920b4
RM
5983 * configure.in (-z relro check): Use an empirical test on a built DSO.
5984 Detect, but do not require, on ia64.
5985 * configure: Regenerated.
5986
d30cf5bb
RM
5987 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5988 Update tests that use readelf to use $READELF instead.
5989 * configure: Regenerated.
5990
8538fdb3
UD
59912011-07-08 Ulrich Drepper <drepper@gmail.com>
5992
5993 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5994 if the result is not used.
5995
04d08991
AJ
59962011-07-05 Andreas Jaeger <aj@suse.de>
5997
5998 [BZ#9696]
5999 * stdlib/tst-strtod.c: Add testcase.
6000
de283087
AD
60012011-07-07 Ulrich Drepper <drepper@gmail.com>
6002
4e5f31c8 6003 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 6004 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
6005 The latter has a higher limit. Take additional parameter to pass to
6006 the new function.
6007 (__pathconf): Pass file to __statfs_link_max.
6008 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6009 __statfs_link_max.
6010 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6011 __statfs_link_max.
6012
de283087
AD
6013 [BZ #12868]
6014 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6015 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6016 Handle Lustre.
6017 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6018 (__statfs_filesize_max): Likewise.
6019 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6020
c75fa153
AJ
60212011-07-05 Andreas Jaeger <aj@suse.de>
6022
6023 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6024
1a544854
UD
60252011-07-06 Marek Polacek <mpolacek@redhat.com>
6026
6027 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6028 `status' variable.
6029 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6030 Likewise.
6031
6f0eec67
UD
60322011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6033
6034 * Makefile (strop-tests): Add strncat.
6035 * string/test-strncat.c: New file.
6036
aae30307
UD
60372011-06-30 Marek Polacek <mpolacek@redhat.com>
6038
6039 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6040
c0cfb5eb
UD
60412011-06-21 Andreas Jaeger <aj@suse.de>
6042
6043 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6044 Copy rule from iconvdata/Makefile.
6045
01636b21
UD
60462011-07-06 Ulrich Drepper <drepper@gmail.com>
6047
6048 [BZ #12922]
6049 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6050 but no long options are defined, just return 'W'.
6051
9895c8bc
UD
60522011-06-22 Marek Polacek <mpolacek@redhat.com>
6053
6054 [BZ #9696]
6055 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6056
5d4cf042
UD
60572011-07-06 Ulrich Drepper <drepper@gmail.com>
6058
6059 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6060 netgroups to read.
960e5535 6061 (innetgr): Likewise.
5d4cf042 6062
751eb97e
RM
60632011-07-05 Roland McGrath <roland@hack.frob.com>
6064
6065 * config.make.in (install_root): Default to $(DESTDIR).
6066
f15f1e45
UD
60672011-07-05 Ulrich Drepper <drepper@gmail.com>
6068
6069 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6070
4e34ac6a
RM
60712011-07-02 Roland McGrath <roland@hack.frob.com>
6072
5e9b6af4
RM
6073 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6074
84f9ea0f
RM
6075 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6076 containing directory rather than embedding absolute directory names.
6077
ea5ee9f7
RM
6078 * scripts/check-local-headers.sh: Rewritten using awk.
6079 Match by word, not by line. Print error messages for matches.
6080 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6081
1b74661a
RM
6082 * Makerules [shlib-lds-flags empty]:
6083 ($(common-objpfx)libc_pic.opts): New target.
6084 ($(common-objpfx)libc_pic.os.clean): New target.
6085 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6086
6087 * config.make.in (OBJCOPY): New variable.
6088 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6089 * configure: Regenerated.
6090
f781ef40
RM
6091 * config.make.in (use-default-link): New variable.
6092 * configure.in (use_default_link): Grok --with-default-link to set it.
6093 * configure: Regenerated.
6094 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6095 (shlib-lds, shlib-lds-flags): Define to empty.
6096
2d4fa81e
RM
6097 * Makerules (shlib-lds): New variable.
6098 (shlib-lds-flags): New variable.
6099 (build-shlib, build-moduile, build-module-asneeded): Use it.
6100 ($(common-objpfx)libc.so): Use $(shlib-lds).
6101 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6102 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6103
31fffa6b
RM
6104 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6105 DT_FLAGS/DT_FLAGS_1 with zero flags.
6106
4e34ac6a
RM
6107 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6108 linker script munging.
6109
fcfc776b
UD
61102011-07-02 Ulrich Drepper <drepper@gmail.com>
6111
6112 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6113 as 128-bit value.
6114 * crypt/sha512.c (sha512_process_block): Perform total addition using
6115 128-bit if possible.
6116 (__sha512_finish_ctx): Likewise.
6117 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6118 as 64-bit value.
6119 * crypt/sha256.c (SWAP64): Define.
6120 (sha256_process_block): Perform total addition using 64-bit if
6121 possible.
6122 (__sha256_finish_ctx): Likewise.
6123
99231d9a
UD
61242011-07-01 Ulrich Drepper <drepper@gmail.com>
6125
6126 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6127 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6128 * nscd/hstcache.c (cache_addhst): Likewise.
6129 * nscd/grpcache.c (cache_addgr): Likewise.
6130 * nscd/aicache.c (addhstaiX): Likewise
6131 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6132
445b4a53
TK
61332011-07-01 Thorsten Kukuk <kukuk@suse.de>
6134
6135 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6136 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6137 * nscd/hstcache.c (cache_addhst): Likewise.
6138 * nscd/grpcache.c (cache_addgr): Likewise.
6139 * nscd/aicache.c (addhstaiX): Likewise
6140
6d4d8e8e
AS
61412011-07-01 Andreas Schwab <schwab@redhat.com>
6142
6143 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6144 domain only when needed.
6145
89f654c5
AS
61462011-06-30 Andreas Schwab <schwab@redhat.com>
6147
6148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6149 is always restored.
6150
cf3b23ff
UD
61512011-06-29 Ulrich Drepper <drepper@gmail.com>
6152
6153 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6154 are re-adding the entry.
6155 * nscd/servicescache.c (cache_addserv): Likewise.
6156
751626f9
AJ
61572011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6158
6159 * sysdeps/generic/dl-irel.h: fix protection against multiple
6160 inclusions.
6161 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6162
9113ea1f
UD
61632011-06-28 Ulrich Drepper <drepper@gmail.com>
6164
5c0b8d90
UD
6165 [BZ #12935]
6166 * malloc/memusage.sh: Fix quoting in message.
6167 * debug/xtrace.sh: Likewise.
6168
9113ea1f
UD
6169 * configure.in: Remove support for --experimental-malloc option, make
6170 it the default.
6171 * config.make.in: Likewise.
6172 * malloc/Makefile: Likewise.
6173
a4172181
AS
61742011-06-27 Andreas Schwab <schwab@redhat.com>
6175
6176 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6177 two-byte characters.
6178
78a7eee7
RM
61792011-06-27 Roland McGrath <roland@hack.frob.com>
6180
62bede13
RM
6181 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6182 AC_CACHE_CHECK invocation.
6183 * configure: Regenerated.
6184
78a7eee7
RM
6185 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6186
5ce33a62
UD
61872011-06-27 Ulrich Drepper <drepper@gmail.com>
6188
034807a9
UD
6189 [BZ #12350]
6190 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6191 bit from old_res_options.
6192
4902da17
UD
6193 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6194
5ce33a62
UD
6195 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6196 value type for setfct.
6197
c2344f56
L
61982011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6199
6200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6201 __gettimeofday instead of gettimeofday.
6202
68468076
UD
62032011-06-26 Ulrich Drepper <drepper@gmail.com>
6204
6205 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6206
acb0d739
L
62072011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6208
6209 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6210
6211 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6212 info.
6213
8912479f
L
62142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6215
6216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6217 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6218 strcpy-sse2-unaligned strncpy-sse2-unaligned
6219 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6220 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6221 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6222 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6223 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6224 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6225 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6226 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6227 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6228 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6229 (STRCPY): Support SSE2 and SSSE3 versions.
6230
d5495a11
UD
62312011-06-24 Ulrich Drepper <drepper@gmail.com>
6232
6233 [BZ #12874]
6234 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6235 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6236 kernels which artificially limit size of requests.
6237
0b1cbaae
L
62382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6239
6240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6241 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6242 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6243 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6244 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6245 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6246 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6247 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6248 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6249 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6250 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6251 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6252 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6253 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6254 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6256 Enable unaligned load optimization for Intel Core i3, i5 and i7
6257 processors.
6258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6259 Define.
6260 (index_Fast_Unaligned_Load): Define.
6261 (HAS_FAST_UNALIGNED_LOAD): Define.
6262
07f494a0
MP
62632011-06-23 Marek Polacek <mpolacek@redhat.com>
6264
6265 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6266
fa3fc0fe
UD
62672011-06-22 Ulrich Drepper <drepper@gmail.com>
6268
6269 [BZ #12907]
6270 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6271 until it is clear that the information is realy needed.
6272 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6273
e12df166
AS
62742011-06-22 Andreas Schwab <schwab@redhat.com>
6275
6276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6277
852eb34d
UD
62782011-06-22 Ulrich Drepper <drepper@gmail.com>
6279
84e2a551
UD
6280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6281 /sys/devices/system/cpu/online if it is usable.
6282
852eb34d
UD
6283 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6284 reading the information from the /proc filesystem to once a second.
6285
6e502e19
UD
62862011-06-21 Andreas Jaeger <aj@suse.de>
6287
6288 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6289 NULL after inclusion of kernel headers.
6290
75d39ff2
UD
62912011-06-21 Ulrich Drepper <drepper@gmail.com>
6292
51f9aa6a
UD
6293 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6294 calls to internal_setent.
6295
c0244a9d
UD
6296 [BZ #12885]
6297 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6298 addresses using gethostbyname4_r ignore IPv4 addresses.
6299
c5e3c2ae
UD
6300 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6301 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6302
75d39ff2
UD
6303 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6304
42675c6f
DM
63052011-06-20 David S. Miller <davem@davemloft.net>
6306
6307 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6308 inclusions.
6309 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6310
6311 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6312 (elf_irel): Use it.
6313 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6314 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6315 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6316 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6317 * sysdeps/x86_64/dl-irel.h: Likewise.
6318
6319 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6320 * elf/dl-sym.c: Likewise.
6321
57912a71
UD
63222011-06-15 Ulrich Drepper <drepper@gmail.com>
6323
6324 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6325 need to dereference resplen2.
6326
ee22793d
AS
63272011-06-14 Andreas Schwab <schwab@redhat.com>
6328
6329 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6330
a9e836b0
UD
63312011-06-15 Ulrich Drepper <drepper@gmail.com>
6332
77fb9117
UD
6333 * Makeconfig: Define vardbdir and inst_vardbdir.
6334 * nss/Makefile: Add rules to install db-Makefile.
6335
40c1b22c
UD
6336 * nss/nss_db/db-XXX.c: Cleanup.
6337
9f2da732
UD
6338 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6339 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6340 GLIBC_PRIVATE.
6341 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6342 * nss/makedb.c: Implement -g option to specify that value strings
6343 are generated and should not be added to table iterated over for
6344 get*ent calls.
6345 * nss/nss_db/db-initgroups.c: New file.
6346
82e9a1f7
UD
6347 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6348 interface.
6349
c41af17e
UD
6350 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6351 (internal_getgrouplist): Adjust to name change.
6352 Update use_initgroups_entry if this is not the first call.
6353 * nss/databases.def: Add initgroups entry.
6354
a9e836b0
UD
6355 * nss/makedb.c (compute_tables): Check result of multiple hash table
6356 sizes to minimize maximum chain length.
6357
2666d441
UD
63582011-06-14 Ulrich Drepper <drepper@gmail.com>
6359
6360 * Versions.def: Add entry for libnss_db.
6361 * shlib-versions: Likewise.
6362 * nss/Makefile: Add rules to build libnss_db.
6363 * nss/Versions: Add libnss_db information. Organize libnss_files
6364 entries better.
6365 * nss/db-Makefile: Add gshadow support. Change rules for the new
6366 makedb progra. Some minor improvements to generate smaller files.
6367 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6368 here from...
6369 * nss/makedb.c: ...here.
6370 Improve database format to be smaller and require less memory at
6371 runtime.
6372 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6373 db anymore.
6374 * nss/nss_db/db-netgrp.c: Likewise.
6375 * nss/nss_db/db-open.c: Likewise.
6376 * nss/nss_files/flies-XXX.x: Adjust comments.
6377 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6378 * nss/nss_files/files-grp.c: Likewise.
6379 * nss/nss_files/files-hosts.c: Likewise.
6380 * nss/nss_files/files-network.c: Likewise.
6381 * nss/nss_files/files-proto.c: Likewise.
6382 * nss/nss_files/files-pwd.c: Likewise.
6383 * nss/nss_files/files-rpc.c: Likewise.
6384 * nss/nss_files/files-service.c: Likewise.
6385 * nss/nss_files/files-sgrp.c: Likewise.
6386 * nss/nss_files/files-spwd.c: Likewise.
6387 * nss/nss_db/db-alias.c: Removed.
6388 * nss/nss_db/dummy-db.h: Removed.
6389
9ee76b5a
UD
63902011-06-02 Ulrich Drepper <drepper@gmail.com>
6391
6392 * nss/makedb.c: Rewritten to not use database library.
6393 * nss/Makefile: Update to build new makedb program.
6394
c71ca1f8
AJ
63952011-06-14 Andreas Jaeger <aj@suse.de>
6396
6397 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6398 memset declaration.
6399
3154bfb8
UD
64002011-06-10 Andreas Schwab <schwab@redhat.com>
6401
6402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6403 tmpbuf.
6404
b350afab
RM
64052011-06-10 Roland McGrath <roland@hack.frob.com>
6406
decd4e50
RM
6407 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6408 * elf/Makefile ($(objpfx)ld.so): Likewise.
6409
5615eaf2
RM
6410 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6411 Don't list ld.so twice in dependencies.
6412
6413 * posix/bug-regex31.c: Include <stdlib.h>.
6414
6415 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6416
6417 * nis/nss_compat/compat-spwd.c
6418 (getspent_next_nss_netgr): Remove unused variable.
6419 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6420
6421 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6422 nonmembers" output to use the right array.
6423
6424 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6425
6426 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6427
6428 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6429 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6430 * catgets/gencat.c (read_input_file): Likewise.
6431 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6432
6433 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6434 variable definition inside #if's controlling its use.
6435
6436 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6437
6438 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6439
6440 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6441
6442 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6443 unreachable code.
6444
6445 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6446
b68e08db
RM
6447 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6448 * configure: Regenerated.
6449
b350afab
RM
6450 * Makerules: Revert last change.
6451 * elf/Makefile: Likewise.
6452
28368601
RM
64532011-06-09 Roland McGrath <roland@hack.frob.com>
6454
6455 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6456 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6457 (reloc-link): Likewise.
6458
11988f8f
UD
64592011-06-09 Ulrich Drepper <drepper@gmail.com>
6460
6461 * elf/Makefile: Add rules to build pldd.
6462 * elf/pldd.c: New file.
6463 * elf/pldd-xx.c: New file.
6464
e80fab37
UD
64652011-06-07 Ulrich Drepper <drepper@gmail.com>
6466
6467 * version.h: Update for 2.15 development version.
6468
9b849836
DM
64692011-06-07 David S. Miller <davem@davemloft.net>
6470
6471 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6472 ifuncs.
6473 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6474 elf_machine_lazy_rel): Likewise.
6475 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6476 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6477 elf_machine_lazy_rel): Likewise.
6478 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6479 dl_hwcap via passed in argument.
6480 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6481 Likewise.
6482
5a31b283
AK
64832011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6484
6485 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6486
069e52f8
RM
64872011-06-06 Roland McGrath <roland@hack.frob.com>
6488
6489 [BZ #12849]
6490 * manual/fdl-1.1.texi: New file, verbatim from:
6491 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6492 * manual/lgpl-2.1.texi: New file, verbatim from:
6493 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6494 * manual/Makefile (licenses): New variable, list those new file names.
6495 (texis): Use it.
6496 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6497
6498 * manual/fdl.texi: File removed.
6499 * manual/lesser.texi: File removed.
6500 * manual/libc.texinfo (Copying, Documentation License):
6501 Use new @include file names, put @appendix directive before @include.
6502
f16846a5
JJ
65032011-06-04 Jakub Jelinek <jakub@redhat.com>
6504
6505 [BZ #12841]
6506 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6507 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6508 (mq_open): Add __NTH.
6509
3d29045b
L
65102011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6511
6512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6513 Assume Intel Core i3/i5/i7 processor if AVX is available.
6514
8c297311
UD
65152011-05-31 Ulrich Drepper <drepper@gmail.com>
6516
6517 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6518 typo.
6519
c8fc0c91
UD
65202011-05-31 Andreas Schwab <schwab@redhat.com>
6521
6522 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6523 memory. Use alloca_account. Fix memory leak when retrying.
6524
5b27a807
UD
65252011-05-31 Ulrich Drepper <drepper@gmail.com>
6526
356f8bc6
UD
6527 * version.h (RELEASE): Bump for 2.14 release.
6528 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6529
5b27a807
UD
6530 * config.make.in (RANLIB): Remove entry.
6531
01f16ab0
UD
65322011-05-30 Ulrich Drepper <drepper@gmail.com>
6533
41fce8bd
UD
6534 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6535 (libc.pot): Work around missing support for .ksh extension in xgettext.
6536
4769ae77
UD
6537 [BZ #12684]
6538 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6539 if both request failed.
6540 (send_dg): In case of server errors clear resplen or *resplen2.
6541
6b1e7d19
UD
6542 [BZ #12454]
6543 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6544 when there are multiple maps.
6545 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6546 (_dl_fini): Remove test here.
6547
01f16ab0
UD
6548 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6549
b1ebd700
UD
65502011-05-29 Ulrich Drepper <drepper@gmail.com>
6551
7ae22829
UD
6552 [BZ #12350]
6553 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6554 bit from old_res_options.
6555 (gaih_inet): Likewise.
6556
553149f6 6557 [BZ #11099]
18a84741 6558 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
6559 as signed.
6560
652ffab1
UD
6561 * resolv/res_init.c (res_setoptions): Make the code more compact.
6562
16985fd0
UD
6563 [BZ #11558]
6564 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6565 set RES_USEVC.
6566
0464f746
UD
6567 [BZ #11634]
6568 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6569
7d17596c
UD
6570 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6571
cf6bbbd7
UD
6572 [BZ #11781]
6573 * malloc/malloc.h: Declare malloc hook variables as volatile.
6574
13f1ab36
UD
6575 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6576 in last patch.
6577
b1ebd700
UD
6578 [BZ #11799]
6579 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 6580 raise in the comment.
80e2212d
UD
6581 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6582 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6583 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 6584
ce67228d
UD
65852011-05-28 Ulrich Drepper <drepper@gmail.com>
6586
8887a920
UD
6587 [BZ #12811]
6588 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6589 grow the buffers more if it already has to be sufficient.
6590 (build_wcs_upper_buffer): Likewise.
6591 * posix/regexec.c (check_matching): Likewise.
6592 (clean_state_log_if_needed): Likewise.
6593 (extend_buffers): Don't enlarge buffers beyond size of the input
6594 buffer.
6595 Patches mostly by Emil Wojak <emil@wojak.eu>.
6596 * posix/bug-regex32.c: New file.
6597 * posix/Makefile (tests): Add bug-regex32.
6598
4f031072
UD
6599 * locale/findlocale.c (_nl_find_locale): Return right away if
6600 _nl_explode_name failed.
6601 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6602
d0478f0c
UD
6603 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6604
de81b246
UD
6605 * debug/xtrace.sh: Unify messages.
6606 * malloc/memusage.sh: Likewise.
6607
c738465a
UD
6608 [BZ #12813]
6609 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6610 time symbol from vDSO. Substitute with vsyscall if not available.
6611 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6612 __vdso_time.
6613
f1f929d7
UD
6614 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6615 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6616 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6617 Add sendmmsg and internal_sendmmsg.
6618 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6619 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6620 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6621
ce67228d
UD
6622 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6623 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6624 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6625
e57420c6
UD
66262011-05-27 Ulrich Drepper <drepper@gmail.com>
6627
a8509ca5
UD
6628 [BZ #12813]
6629 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6630 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6631 available.
6632 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6633 __vdso_getcpu.
6634
e57420c6
UD
6635 [BZ #12814]
6636 * iconvdata/Makefile (tests): Add bug-iconv9.
6637 * iconvdata/bug-iconv9.c: New file.
6638
4d07db15
AS
66392011-05-27 Andreas Schwab <schwab@redhat.com>
6640
6641 [BZ #12814]
6642 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6643
ea486f69
JJ
66442011-05-25 Jakub Jelinek <jakub@redhat.com>
6645
6646 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6647 (struct user_regs_struct): Change intcs field back to cs.
6648
6f038433
UD
66492011-05-25 Ulrich Drepper <drepper@gmail.com>
6650
6651 * po/ja.po: Update from translation team.
6652
67f86a25
UD
66532011-05-23 Ulrich Drepper <drepper@gmail.com>
6654
6655 [BZ #12795]
6656 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6657 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6658
def7fbd6
AS
66592011-05-20 Andreas Schwab <schwab@redhat.com>
6660
6661 * stdlib/longlong.h: Update from GCC.
6662
f50ef8f1
AS
66632011-05-23 Andreas Schwab <schwab@redhat.com>
6664
6665 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6666 parameter name.
6667 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6668 Add parameter name.
6669 (__sysconf): Pass it down.
6670
de7ce8f1
UD
66712011-05-22 Ulrich Drepper <drepper@gmail.com>
6672
f2962a71
UD
6673 [BZ #12671]
6674 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6675 some situations.
6676 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6677 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6678 add in in __libc_use_alloca calls. Adjust callers.
6679 (glob): Use malloc in some situations.
6680
de7ce8f1
UD
6681 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6682 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6683 pltexit.
6684
aec84f53
UD
66852011-05-21 Ulrich Drepper <drepper@gmail.com>
6686
05bb4a68
UD
6687 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6688 and CLOCK_BOOTTIME_ALARM.
6689
7ea72f99
UD
6690 [BZ #12782]
6691 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6692 is returned.
6693
7e4afad5
UD
6694 * string/_strerror.c (__strerror_r): Print negative errors as signed
6695 numbers.
6696
8e211fec
UD
6697 [BZ #12777]
6698 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6699 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6700 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6701
f7d82dc9
UD
6702 * configure.in: Fix typo in redirection and correct removal of test
6703 files in two cases.
6704
cc9e536d
UD
6705 [BZ #12788]
6706 * locale/setlocale.c (new_composite_name): Fix test to check for
6707 identical name of all categories.
6708
aec84f53
UD
6709 [BZ #12792]
6710 * libio/filedoalloc.c (local_isatty): New function.
6711 (_IO_file_doallocate): Use local_isatty.
6712 * stdio-common/perror.c (perror): In case a new stream is used
6713 forward the stream error.
6714 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6715 error flag.
6716
78e64fdc
RT
67172011-05-20 Ulrich Drepper <drepper@gmail.com>
6718
34a9094f
UD
6719 [BZ #11869]
6720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6721 alloca.
6722 * include/alloca.h (extend_alloca_account): Define.
6723
78e64fdc
RT
6724 [BZ #11857]
6725 * posix/regex.h: Fix comments with documentation of user-accessible
6726 fields after compilation and describe correct free'ing of pattern
6727 after re_compile_pattern.
6728 Patch by Reuben Thomas <rrt@sc3d.org>.
6729
457bddfc
RA
67302011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6731
6732 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6733 and -mno-altivec to prevent the compiler from using Altivec and/or
6734 VSX instructions when the corresponding registers are not available.
6735
a4527b51
AS
67362011-05-19 Andreas Schwab <schwab@redhat.com>
6737
6738 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6739
ed690b2f
UD
67402011-05-19 Ulrich Drepper <drepper@gmail.com>
6741
6742 * libio/freopen.c (freopen): Use __dup2, not dup2.
6743 * libio/freopen64.c (freopen64): Likewise.
6744
8db73634
L
67452011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6746
6747 [BZ #12775]
6748 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6749 * math/Makefile (tests): Add test-powl.
6750 (CFLAGS-test-powl.c): Define.
6751 * math/test-powl.c: New file.
6752
0a197a9d
L
67532011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6754
6755 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6756
ee30c380
UD
67572011-05-17 Ulrich Drepper <drepper@gmail.com>
6758
6759 [BZ #11837]
6760 * iconvdata/gb18030.c: Update to GB18020-2005.
6761
6ce75379
UD
67622011-05-16 Ulrich Drepper <drepper@gmail.com>
6763
a4b89fd8
AR
6764 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6765 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6766 Patch by Aharon Robbins <arnold@skeeve.com>.
6767
ea389b12
UD
6768 [BZ #11892]
6769 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6770 on the stack.
6771
68a3f91f
UD
6772 [BZ #11895]
6773 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6774 through underflows.
6775
15cc7dd1
UD
6776 [BZ #12766]
6777 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6778 point to strings before performing equality test for error_one_per_line
6779 mode.
6780
f3799213
UD
6781 [BZ #11697]
6782 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6783
d79a9c94
UD
6784 [BZ #11820]
6785 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6786 (struct user_fpregs_struct): Avoid __uint*_t types.
6787
56e5eb46
UD
6788 [BZ #6420]
6789 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6790 symbol info. Use it instead of calling _dl_addr locally.
6791 (lock_and_info): New function.
6792 (tr_freehook): Call lock_and_info and pass symbol info as additional
6793 parameter to tr_where.
6794 (tr_mallochook): Likewise.
6795 (tr_reallochook): Likewise.
6796 (tr_memalignhook): Likewise.
6797
6ce75379
UD
6798 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6799 used and couldn't be at all thread-safe.
6800
f8a3b5bf
UD
68012011-05-15 Ulrich Drepper <drepper@gmail.com>
6802
94b7cc37
UD
6803 * libio/freopen.c (freopen): Don't close old file descriptor
6804 before the new one is opened. Instead dup the new file descriptor
6805 to the old one after the new stream is created.
6806 * libio/freopen64.c (freopen64): Likewise.
6807 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6808 * libio/fileops.c (_IO_new_file_close_it): Handle new
6809 _IO_FLAGS2_NOCLOSE flag.
6810 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6811 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6812 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6813 _IO_FLAGS2_NOCLOSE flag.
6814 * include/unistd.h: Add hidden_proto for dup3.
6815 Define __have_dup3.
6816 * io/dup3.c: Define hidden symbol.
6817 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6818
bd25564e
UD
6819 [BZ #7101]
6820 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6821 when an incomplete long option is used.
6822 * posix/tst-getopt_long1.c: New file.
6823 * posix/Makefile (tests): Add tst-getopt_long1.
6824
c84cfef4
UD
6825 [BZ #10138]
6826 * scripts/config.guess: Update from autoconf-2.68.
6827 * scripts/config.sub: Likewise.
6828
3b85df27
UD
6829 [BZ #10157]
6830 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6831 tests into ...
6832 (has_cpuclock): ...this. New function.
6833 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6834 macro here based on has_cpuclock code.
6835
15a856b1
UD
6836 [BZ #10149]
6837 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6838 First byte (not low byte) is now always NUL.
6839 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6840
05f399e6
UD
6841 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6842 Use non-cancelable interfaces.
6843
10a52685 6844 [BZ #9809]
94ecc67d
UD
6845 * locale/iso-639.def: Add entry for Sorani.
6846
f8a3b5bf
UD
6847 [BZ #11901]
6848 * include/stdlib.h: Move include protection to the right place.
6849 Define abort_msg_s. Declare __abort_msg with it.
6850 * stdlib/abort.c (__abort_msg): Adjust type.
6851 * assert/assert.c (__assert_fail_base): New function. Majority
6852 of code from __assert_fail. Allocate memory for __abort_msg with
6853 mmap.
6854 (__assert_fail): Now call __assert_fail_base.
6855 * assert/assert-perr.c: Remove bulk of implementation. Use
6856 __assert_fail_base.
6857 * include/assert.hL Declare __assert_fail_base.
6858 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6859 mmap.
6860 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6861
1af4e298
UD
68622011-05-14 Ulrich Drepper <drepper@gmail.com>
6863
f8a3b5bf 6864 [BZ #11952]
d26dfc60
MG
6865 [BZ #12453]
6866 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6867 until all modules are registered in the DTV.
6868 * elf/Makefile: Add rules to build and run tst-tls19.
6869 * elf/tst-tls19.c: New file.
6870 * elf/tst-tls19mod1.c: New file.
6871 * elf/tst-tls19mod2.c: New file.
6872 * elf/tst-tls19mod3.c: New file.
6873 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6874
2fc54d6f
UD
6875 [BZ #12083]
6876 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6877 correctly.
6878
98d76b46
UD
6879 [BZ #12601]
6880 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6881 two-byte sequence errors.
6882 * iconvdata/Makefile (tests): Add bug-iconv8.
6883 * iconvdata/bug-iconv8.c: New file.
6884
da3c19ef
UD
6885 [BZ #12626]
6886 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6887 buf2 definition.
6888
ca408c15
UD
6889 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6890
d6f67f7d
UD
6891 [BZ #12432]
6892 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6893 (dummy_getcfa): New function.
6894 (init): Get _Unwind_GetCFA address, use dummy if not found.
6895 (backtrace_helper): In recursion check, also check whether CFA changes.
6896 (__backtrace): Completely initialize arg.
6897
1af4e298 6898 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
6899 storing incomplete byte sequence in state object. Avoid testing for
6900 guaranteed too small input if we know there is enough data available.
1af4e298 6901
da62f81b
AS
69022011-05-11 Andreas Schwab <schwab@redhat.com>
6903
6904 * Makeconfig (+link-pie): Indent.
6905 * Rules (binaries-pie): Define if $(have-fpie) and
6906 $(build-shared).
6907 (binaries-shared): Also filter out $(binaries-pie).
6908 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6909 * nscd/Makefile (others-pie): Add nscd.
6910 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6911 ($(objpfx)nscd): Remove command override.
6912 * login/Makefile (others-pie): Add pt_chown.
6913 ($(objpfx)pt_chown): Remove command override.
6914 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6915 remove command overrides.
6916
fcabc0f8
UD
69172011-05-13 Ulrich Drepper <drepper@gmail.com>
6918
20030ae6
UD
6919 * libio/tst_putwc.c: Fix error messages.
6920
fcabc0f8
UD
6921 [BZ #12724]
6922 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6923 currently writing and seek to current position when not.
6924 * libio/Makefile (tests): Add bug-fclose1.
6925 * libio/bug-fclose1.c: New file.
6926
320a5dc0
PB
69272011-05-12 Ulrich Drepper <drepper@gmail.com>
6928
6929 [BZ #12511]
6930 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6931 don't set DF_1_NODELETE here.
6932 (do_lookup_x): When entering new entry test for copy relocation
6933 and if necessary set DF_1_NODELETE flag.
6934 * elf/tst-unique4.cc: New file.
6935 * elf/tst-unique4.h: New file.
6936 * elf/tst-unique4lib.cc: New file.
6937 * elf/Makefile: Add rules to build and run tst-unique4.
6938 Patch by Piotr Bury <pbury@goahead.com>.
6939
22836f52
UD
69402011-05-11 Ulrich Drepper <drepper@gmail.com>
6941
f574184a
UD
6942 [BZ #12052]
6943 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6944
e1fb097f
UD
6945 [BZ #12625]
6946 * misc/mntent_r.c (addmntent): Flush the stream after the output
6947
22836f52
UD
6948 [BZ #12393]
6949 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6950 (is_trusted_path_normalize): Skip initial colon. Append slash
6951 to empty buffer. Duplicate is_trusted_path code but allow
6952 constructed patch to be prefix.
6953 (is_dst): Allow $ORIGIN followed by /.
6954 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6955 Correct testing of result of is_trusted_path_normalize
6956 (decompose_rpath): Fix warning.
6957
7b3b0b2a
UD
69582011-05-10 Ulrich Drepper <drepper@gmail.com>
6959
6960 [BZ #11257]
6961 * grp/initgroups.c (internal_getgrouplist): When we found the service
6962 list through the initgroups entry in nsswitch.conf do not always
6963 continue on a successful lookup. Don't always use the
eac80ce2 6964 __nss_group_database value if it is set.
7b3b0b2a
UD
6965 * nss/nsswitch.conf (initgroups): Change action for successful db
6966 lookup to continue for compatibility.
6967
2a81eaa5
UD
69682011-05-09 Ulrich Drepper <drepper@gmail.com>
6969
be97a69e
UD
6970 [BZ #11532]
6971 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6972 and CP774 modules.
6973 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6974 and CP774 modules.
6975 * iconvdata/tst-tables.sh: Likewise.
6976 * iconvdata/cp770.c: New file.
6977 * iconvdata/cp771.c: New file.
6978 * iconvdata/cp772.c: New file.
6979 * iconvdata/cp773.c: New file.
6980 * iconvdata/cp774.c: New file.
6981 * iconvdata/testdata/CP770: New file.
6982 * iconvdata/testdata/CP770..UTF8: New file.
6983 * iconvdata/testdata/CP771: New file.
6984 * iconvdata/testdata/CP771..UTF8: New file.
6985 * iconvdata/testdata/CP772: New file.
6986 * iconvdata/testdata/CP772..UTF8: New file.
6987 * iconvdata/testdata/CP773: New file.
6988 * iconvdata/testdata/CP773..UTF8: New file.
6989 * iconvdata/testdata/CP774: New file.
6990 * iconvdata/testdata/CP774..UTF8: New file.
6991
6992 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6993 END CHARMAP line.
6994 * iconvdata/gen-8bit-gap.sh: Likewise.
6995 * iconvdata/gen-8bit.sh: Likewise.
6996
c1e9e399
UD
6997 * locale/iso-639.def: Add ary entry.
6998
24c55fb3 6999 [BZ #11258]
96b4b1b0
UD
7000 * locale/C-translit.h.in: Add U20A1 transliteration.
7001
bdc2f971
KB
7002 [BZ #12178]
7003 * locale/iso-639.def: Add wae entry.
7004 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7005
2952b117
UD
7006 [BZ #12545]
7007 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7008 for n.
7009
2a81eaa5
UD
7010 [BZ #12711]
7011 * locale/C-translit.h.in: Add entry for U20B9.
7012 Patch by pravin.d.s@gmail.com.
7013
28377d1b
UD
70142011-05-08 Ulrich Drepper <drepper@gmail.com>
7015
7fb90fb8
UD
7016 [BZ #12713]
7017 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7018 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
7019 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7020 in rtld. Use *stat64.
7fb90fb8 7021 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 7022 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 7023 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
7024 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7025 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7026 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7027 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7028 __fstatat64 macros.
7fb90fb8
UD
7029 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7030 * dirent/rewinddir.c: Add libc_hidden_def.
7031 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 7032 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 7033
28377d1b
UD
7034 * include/dirent.h (__alloc_dir): Add flags parameter.
7035 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7036 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7037 __alloc_dir.
7038 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7039 from fdopendir if O_CLOEXEC is already set.
7040
66bdbaa4
AM
70412011-03-15 Alan Modra <amodra@gmail.com>
7042
7043 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7044 l_tls_firstbyte_offset non-zero. Save padding offset in
7045 l_tls_firstbyte_offset for later use.
7046 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7047 freeing static tls block.
7048
95721191
JN
70492011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7050
7051 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7052 where #ifdef was intended. The intent is to prevent ARG_MAX from
7053 being defined by the kernel headers.
7054
f87dfb1f
UD
70552011-05-07 Ulrich Drepper <drepper@gmail.com>
7056
7057 [BZ #12734]
7058 * resolv/resolv.h: Define RES_NOTLDQUERY.
7059 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7060 no-tld-query and set RES_NOTLDQUERY.
7061 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7062 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7063 modern BIND to search name as TLD unless forbidden.
7064
47c3cd7a
UD
70652011-05-07 Petr Baudis <pasky@suse.cz>
7066 Ulrich Drepper <drepper@gmail.com>
7067
7068 [BZ #12393]
7069 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7070 (is_trusted_path): ...to here.
c1e9ea35 7071 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 7072 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 7073 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 7074
8a35c912
PP
70752011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7076
7077 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7078 __BEGIN/__END_DECLS.
7079
acd41f47
UD
70802011-05-06 Ulrich Drepper <drepper@gmail.com>
7081
7082 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7083 NSS_STATUS_NOTFOUND if no record was found.
7084
597df647
AS
70852011-05-05 Andreas Schwab <schwab@redhat.com>
7086
7087 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7088 (headers-not-in-tirpc): Remove rpc/netdb.h
7089 * resolv/netdb.h: Revert last change.
7090
b9af1301
PP
70912011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7092
7093 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7094 circular dependency between libgcc.a and libc.a.
7095
4e34d5f5
AS
70962011-05-05 Andreas Schwab <schwab@redhat.com>
7097
7098 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7099 * nis/Makefile: Don't install rpcsvc/*.
7100 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7101 instead of <rpc/types.h>.
7102 (MAXHOSTNAMELEN): Define.
7103
00ee369c
AS
71042011-05-03 Andreas Schwab <schwab@redhat.com>
7105
7106 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7107
0b592a30
MB
71082011-04-28 Maciej Babinski <mbabinski@google.com>
7109
7110 [BZ #12714]
7111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7112 gethostbyname4_r when IPv6 results are possible.
7113
6e04cbbe
UD
71142011-05-02 Ulrich Drepper <drepper@gmail.com>
7115
7116 [BZ #12723]
7117 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7118 _PC_PIPE_BUF handling.
7119
e4ecafe0
BH
71202011-04-30 Bruno Haible <bruno@clisp.org>
7121
7122 [BZ #12717]
7123 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7124 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7125 to 'int'.
7126 * inet/getnameinfo.c (getnameinfo): Likewise.
7127
125ee683
UD
71282011-04-29 Ulrich Drepper <drepper@gmail.com>
7129
7130 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7131 to groups setting in database lookup.
7132 * nss/nsswitch.conf: Add initgroups entry.
7133
b722481a
EB
71342011-04-22 Ulrich Drepper <drepper@gmail.com>
7135
7136 [BZ #12685]
7137 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7138 mode string.
7139 Patch by Eric Blake <eblake@redhat.com>.
7140
4df46dbd
L
71412011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7142
7143 * sunrpc/Makefile (need-export-routines): Add svc_run.
7144 (routines): Remove svc_run.
7145 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7146 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7147 * sunrpc/svc_run.c (svc_run): Likewise.
7148 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7149
e84142d2
UD
71502011-04-21 Ulrich Drepper <drepper@gmail.com>
7151
7152 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7153 problem in reallocation in last patch.
7154
877175d8
UD
71552011-04-20 Ulrich Drepper <drepper@gmail.com>
7156
7157 * sunrpc/Makefile: Move inclusion of Rules.
7158
ab8eed78
UD
71592011-04-19 Ulrich Drepper <drepper@gmail.com>
7160
7161 * nss/nss_files/files-initgroups.c: New file.
7162 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7163 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7164 _nss_files_initgroups_dyn.
7165
e3d8f584
RS
71662011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7167
7168 * elf/elf.h (R_ARM_IRELATIVE): Define.
7169
af190f45
UD
71702011-04-19 Ulrich Drepper <drepper@gmail.com>
7171
7172 * po/ru.po: Update from translation team.
7173
53cf59ef
UD
71742011-04-17 Ulrich Drepper <drepper@gmail.com>
7175
7176 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7177 dependencies.
7178
4c559bcd
MF
71792011-02-06 Mike Frysinger <vapier@gentoo.org>
7180
7181 [BZ #12653]
7182 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7183 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7184 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7185 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7186 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7187
4420675c
AS
71882011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7189
7190 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7191 differing bytes.
7192 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7193 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7194 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7195
75ea32ab
UD
71962011-04-17 Ulrich Drepper <drepper@gmail.com>
7197
7198 [BZ #12420]
7199 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7200 storing it.
7201 * stdlib/bug-getcontext.c: New file.
7202 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7203
27390476
AK
72042011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7205
7206 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7207 instructions into .machine "z9-109".
7208 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7209 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7210
10442705
AK
72112011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7212
7213 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7214 between environment variables and auxiliary vector.
7215
7b57bfe5
UD
72162011-04-16 Ulrich Drepper <drepper@gmail.com>
7217
7218 * Makefile: Add rules to build linkobj/libc.so.
7219 * include/libc-symbols.h: Define libc_hidden_nolink.
7220 * include/rpc/auth.h: Mark functions which are to be hidden.
7221 * include/rpc/auth_des.h: Likewise.
7222 * include/rpc/auth_unix.h: Likewise.
7223 * include/rpc/clnt.h: Likewise.
7224 * include/rpc/des_crypt.h: Likewise.
7225 * include/rpc/key_prot.h: Likewise.
7226 * include/rpc/pmap_clnt.h: Likewise.
7227 * include/rpc/pmap_prot.h: Likewise.
7228 * include/rpc/pmap_rmt.h: Likewise.
7229 * include/rpc/rpc_msg.h: Likewise.
7230 * include/rpc/svc.h: Likewise.
7231 * include/rpc/svc_auth.h: Likewise.
7232 * include/rpc/xdr.h: Likewise.
7233 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7234 * nss/Makefile: Likewise.
7235 * sunrpc/Makefile: Don't install headers. Build library with normal
7236 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7237 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7238 for the compat linking library. Remove use of INTDEF/INTUSE.
7239 * sunrpc/auth_none.c: Likewise.
7240 * sunrpc/auth_unix.c: Likewise.
7241 * sunrpc/authdes_prot.c: Likewise.
7242 * sunrpc/authuxprot.c: Likewise.
7243 * sunrpc/clnt_gen.c: Likewise.
7244 * sunrpc/clnt_perr.c: Likewise.
7245 * sunrpc/clnt_raw.c: Likewise.
7246 * sunrpc/clnt_simp.c: Likewise.
7247 * sunrpc/clnt_tcp.c: Likewise.
7248 * sunrpc/clnt_udp.c: Likewise.
7249 * sunrpc/clnt_unix.c: Likewise.
7250 * sunrpc/des_crypt.c: Likewise.
7251 * sunrpc/des_soft.c: Likewise.
7252 * sunrpc/get_myaddr.c: Likewise.
7253 * sunrpc/key_call.c: Likewise.
7254 * sunrpc/key_prot.c: Likewise.
7255 * sunrpc/netname.c: Likewise.
7256 * sunrpc/pm_getmaps.c: Likewise.
7257 * sunrpc/pm_getport.c: Likewise.
7258 * sunrpc/pmap_clnt.c: Likewise.
7259 * sunrpc/pmap_prot.c: Likewise.
7260 * sunrpc/pmap_prot2.c: Likewise.
7261 * sunrpc/pmap_rmt.c: Likewise.
7262 * sunrpc/publickey.c: Likewise.
7263 * sunrpc/rpc_cmsg.c: Likewise.
7264 * sunrpc/rpc_common.c: Likewise.
7265 * sunrpc/rpc_dtable.c: Likewise.
7266 * sunrpc/rpc_prot.c: Likewise.
7267 * sunrpc/rpc_thread.c: Likewise.
7268 * sunrpc/rtime.c: Likewise.
7269 * sunrpc/svc.c: Likewise.
7270 * sunrpc/svc_auth.c: Likewise.
7271 * sunrpc/svc_authux.c: Likewise.
7272 * sunrpc/svc_raw.c: Likewise.
7273 * sunrpc/svc_run.c: Likewise.
7274 * sunrpc/svc_simple.c: Likewise.
7275 * sunrpc/svc_tcp.c: Likewise.
7276 * sunrpc/svc_udp.c: Likewise.
7277 * sunrpc/svc_unix.c: Likewise.
7278 * sunrpc/svcauth_des.c: Likewise.
7279 * sunrpc/xcrypt.c: Likewise.
7280 * sunrpc/xdr.c: Likewise.
7281 * sunrpc/xdr_array.c: Likewise.
7282 * sunrpc/xdr_float.c: Likewise.
7283 * sunrpc/xdr_intXX_t.c: Likewise.
7284 * sunrpc/xdr_mem.c: Likewise.
7285 * sunrpc/xdr_rec.c: Likewise.
7286 * sunrpc/xdr_ref.c: Likewise.
7287 * sunrpc/xdr_sizeof.c: Likewise.
7288 * sunrpc/xdr_stdio.c: Likewise.
7289
e6c61494
UD
72902011-04-10 Ulrich Drepper <drepper@gmail.com>
7291
7292 [BZ #12650]
7293 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7294 * sysdeps/ia64/dl-tls.h: Likewise.
7295 * sysdeps/powerpc/dl-tls.h: Likewise.
7296 * sysdeps/s390/dl-tls.h: Likewise.
7297 * sysdeps/sh/dl-tls.h: Likewise.
7298 * sysdeps/sparc/dl-tls.h: Likewise.
7299 * sysdeps/x86_64/dl-tls.h: Likewise.
7300 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7301
34fe483e
AS
73022011-03-14 Andreas Schwab <schwab@redhat.com>
7303
7304 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7305 rpath element also skip the following colon.
7306 (expand_dynamic_string_token): Add is_path parameter and pass
7307 down to DL_DST_REQUIRED and _dl_dst_substitute.
7308 (decompose_rpath): Call expand_dynamic_string_token with
7309 non-zero is_path. Ignore empty rpaths.
7310 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7311 with zero is_path.
7312
f12a32e6
AS
73132011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7314
7315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7316 Make cancelable.
7317
38a7d692
UD
73182011-04-09 Ulrich Drepper <drepper@gmail.com>
7319
7320 [BZ #12655]
7321 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7322 Patch by Filipe David Manana <fdmanana@apache.org>.
7323
e451d22b
AS
73242011-04-07 Andreas Schwab <schwab@redhat.com>
7325
7326 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7327 Maintain aligned stack.
7328 (CHECK_RSP): Remove unused macro.
7329
dedc7c7b
UD
73302011-04-03 Ulrich Drepper <drepper@gmail.com>
7331
7332 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7333 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7334
94521213
UD
73352011-04-02 Ulrich Drepper <drepper@gmail.com>
7336
7337 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7338
8cb700c0 7339 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 7340
0354e355
L
73412011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7342
7343 [BZ #12518]
7344 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7345 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7346 * sysdeps/x86_64/memmove.c: New file.
7347 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7348 (memcpy): Renamed to ...
7349 (__new_memcpy): This.
7350 (memcpy): Provide GLIBC_2_14 memcpy.
7351 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7352 (memcpy): Provide GLIBC_2_2_5 memcpy.
7353
8593482f
UD
73542011-04-01 Ulrich Drepper <drepper@gmail.com>
7355
7356 [BZ #12631]
7357 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7358
81a5726b
AS
73592011-03-30 Andreas Schwab <schwab@redhat.com>
7360
7361 * misc/syncfs.c: New file.
7362 * misc/Makefile (routines): Add syncfs.
7363 * posix/unistd.h: Declare syncfs.
7364 * sysdeps/unix/syscalls.list: Add syncfs.
7365
00e5419f
AS
73662011-04-01 Andreas Schwab <schwab@redhat.com>
7367
7368 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7369 open_by_handle_at.
7370 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7371 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7372 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7373 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7374 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7375 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7376 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7377
748876bf
UD
73782011-04-01 Ulrich Drepper <drepper@gmail.com>
7379
658e451d
UD
7380 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7381 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7382 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7383 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7384 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7386 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7387
748876bf
UD
7388 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7389 sync_file_range.c with -fexceptions.
7390 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7391 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7392 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7393 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7394 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7395 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7396 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
7397 sync_file_range as cancellation point
7398 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7399 now a wrapper around __call_sync_file_range with cancellation handling.
7400 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7401 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7402 function name to __call_sync_file_range.
7403 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7404 Add call_sync_file_range.
748876bf 7405
6e63d5e1
AS
74062011-04-01 Andreas Schwab <schwab@redhat.com>
7407
7408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 7409 bits/timex.h.
6e63d5e1 7410
46998f74
UD
74112011-04-01 Ulrich Drepper <drepper@gmail.com>
7412
4c1423ed
UD
7413 * iconv/iconv.h: Fix typo in comment.
7414 * io/fcntl.h: Likewise.
7415 * libio/stdio.h: Likewise.
7416 * posix/spawn.h: Likewise.
7417 * posix/unistd.h: Likewise.
7418 * stdlib/stdlib.h: Likewise.
7419 * time/time.h: Likewise.
7420 * wcsmbs/wchar.h: Likewise.
7421
158648c0
UD
7422 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7423 open_by_handle): Add.
7424 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7425 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7426 Augment a few comments.
7427 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7429 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7430 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7431 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7432 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7433 open_by_handle.
7434
46998f74
UD
7435 * io/fcntl.h (AT_EMPTY_PATH): Define.
7436
83fe108b
UD
74372011-03-30 Ulrich Drepper <drepper@gmail.com>
7438
7439 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7440 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7441 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7442 to...
7443 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
7444 * Versions.def: Add GLIBC_2.14.
7445 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7446 Export.
83fe108b 7447
bb242059
UD
74482011-03-22 Ulrich Drepper <drepper@gmail.com>
7449
7450 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7451 round counter.
7452 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7453
c97a1282
L
74542011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7455
7456 [BZ #12597]
7457 * string/test-strncmp.c (do_page_test): New function.
7458 (check2): Likewise.
7459 (test_main): Call check2.
7460 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7461
2a115601
UD
74622011-03-20 Ulrich Drepper <drepper@gmail.com>
7463
7464 [BZ #12587]
7465 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7466 Handle cache information in CPU leaf 4.
7467 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7468
8126d904
UD
74692011-03-18 Ulrich Drepper <drepper@gmail.com>
7470
042c49c6 7471 [BZ #12583]
8126d904
UD
7472 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7473 character representation.
7474 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7475
ccfe366e
RA
74762011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7477
7478 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7479 END(__isnan) to END(__isnanf) to match function entry point/label
7480 EALIGN(__isnanf,...).
7481
c6e13027
JJ
74822011-03-10 Jakub Jelinek <jakub@redhat.com>
7483
7484 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7485
33f85a3f
UD
74862011-03-10 Ulrich Drepper <drepper@gmail.com>
7487
028478fa
UD
7488 [BZ #12510]
7489 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7490 copy from the symbol referenced in the relocation to initialize the
7491 used variable.
7492 Patch by Piotr Bury <pbury@goahead.com>.
7493 * elf/Makefile: Add rules to build and tst-unique3.
7494 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7495 * elf/tst-unique3.cc: New file.
7496 * elf/tst-unique3.h: New file.
7497 * elf/tst-unique3lib.cc: New file.
7498 * elf/tst-unique3lib2.cc: New file.
7499
33f85a3f
UD
7500 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7501
03592fc7
MF
75022011-03-10 Mike Frysinger <vapier@gentoo.org>
7503
7504 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7505 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7506 to _start.
03592fc7 7507
6a5ee102
UD
75082011-03-06 Ulrich Drepper <drepper@gmail.com>
7509
7510 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7511 to-be-loaded object along a path to loader is ld.so.
7512
7e4ba49c
HJ
75132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7514 Ulrich Drepper <drepper@gmail.com>
7515
7516 * sysdeps/x86_64/memset.S: After aligning destination, code
7517 branches to different locations depending on the value of
7518 misalignment, when multiarch is enabled. Fix this.
7519
75202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7521
7522 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7523 Set _x86_64_preferred_memory_instruction for AMD processsors.
7524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7525 Set bit_Prefer_SSE_for_memop for AMD processors.
7526
13a804de
UD
75272011-03-04 Ulrich Drepper <drepper@gmail.com>
7528
7529 * libio/fmemopen.c (fmemopen): Optimize a bit.
7530
9d25c392
AS
75312011-03-03 Andreas Schwab <schwab@redhat.com>
7532
7533 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7534
a5543c6a
RM
75352011-03-03 Roland McGrath <roland@redhat.com>
7536
7537 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7538
012d35f7
DM
75392011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7540
7e4ba49c 7541 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
7542 __bzero_ultra1 instead of __memset_ultra1.
7543
4bff6e01
AS
75442011-02-23 Andreas Schwab <schwab@redhat.com>
7545 Ulrich Drepper <drepper@gmail.com>
7546
7547 [BZ #12509]
7548 * include/link.h (struct link_map): Add l_orig_initfini.
7549 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7550 returning unsuccessfully.
7551 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7552 close of a file loaded at startup, restore the original l_initfini
7553 list.
7554 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7555 list, store the pointer.
7556 * elf/Makefile ($(objpfx)noload-mem): New rule.
7557 (noload-ENV): Define.
7558 (tests): Add $(objpfx)noload-mem.
7559 * elf/noload.c: Include <memcheck.h>.
7560 (main): Call mtrace. Close all opened handles.
7561
f2092faf
AS
75622011-02-17 Andreas Schwab <schwab@redhat.com>
7563
7564 [BZ #12454]
7565 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7566 dependencies are missing.
7567
6c8a2e88
ST
75682011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7569
f2092faf 7570 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
7571 Hurd needs munmap.
7572 * sysdeps/mach/hurd/ifreq.h: New file.
7573
84a42118
PB
75742011-01-27 Petr Baudis <pasky@suse.cz>
7575 Ulrich Drepper <drepper@gmail.com>
7576
071f805e 7577 [BZ 12445]#
84a42118
PB
7578 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7579 to extend_alloca().
7580 * stdio-common/bug23.c: New file.
7581 * stdio-common/Makefile (tests): Add bug23.
7582
e23fe25b
AS
75832010-09-28 Andreas Schwab <schwab@redhat.com>
7584 Ulrich Drepper <drepper@gmail.com>
7585
7586 [BZ #12489]
7587 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7588 before performing relro protection. At old place add assertion
7589 to make sure nothing changed.
7590
d3f02e10
NS
75912011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7592 Glauber de Oliveira Costa <glommer@gmail.com>
7593
7594 * elf/elf.h: Add new ARM TLS relocs.
7595
d55fd7a5
RA
75962011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7597
7598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7599 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7600 cast from r3.
7601 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7602 'tests' variable.
7603 * sysdeps/wordsize-64/tst-writev.c: New file.
7604
2206397e
RA
76052011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7606
7607 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7608 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7609 insns in _dl_start to prevent a TOC reference before relocs are
7610 resolved.
7611
e9433893
UD
76122011-02-15 Ulrich Drepper <drepper@gmail.com>
7613
7614 [BZ #12469]
7615 * Makeconfig: Remove RANLIB definition.
7616 * Makerules: Don't use RANLIB.
7617 * aclocal.m4: Remove ranlib test.
7618 * configure.in: No need to check for ranlib.
7619 * elf/rtld-Rules: Don't use RANLIB.
7620
f75286c6
ST
76212011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7622
8e31c82d
ST
7623 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7624 protection macro.
7625 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7626 inclusion protection macro.
7627
f75286c6
ST
7628 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7629 SIGRTMIN and SIGRTMAX and print information in that case only when
7630 SIGRTMIN is defined.
7631
c1d0e639
JJ
76322011-02-11 Jakub Jelinek <jakub@redhat.com>
7633
7634 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7635 arginfo fn returning -1.
7636
7637 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7638 and thousands string is zero terminated.
7639
edf9294e
AS
76402011-02-03 Andreas Schwab <schwab@redhat.com>
7641
7642 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7643 sysdeps/unix/sysv/linux/bits/socket.h.
7644
2b7e92df
ST
76452011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7646
edf9294e
AS
7647 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7648 (__CPU_COUNT): Remove old macros.
7649 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7650 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7651 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
7652 (__sched_cpualloc, __sched_cpufree): Add declarations.
7653
a4c7ea7b
UD
76542011-02-05 Ulrich Drepper <drepper@gmail.com>
7655
7656 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7657 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7658 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7659 (readdhstai): Return value of addhstaiX call.
7660 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7661 (addgrbyX): Return value returned by cache_addgr.
7662 (readdgrbyname): Return value returned by addgrbyX.
7663 (readdgrbygid): Likewise.
7664 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7665 (addpwbyX): Return value returned by cache_addpw.
7666 (readdpwbyname): Return value returned by addhstbyX.
7667 (readdpwbyuid): Likewise.
7668 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7669 (addservbyX): Return value returned by cache_addserv.
7670 (readdservbyname): Return value returned by addservbyX:
7671 (readdservbyport): Likewise.
7672 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7673 (addhstbyX): Return value returned by cache_addhst.
7674 (readdhstbyname): Return value returned by addhstbyX.
7675 (readdhstbyaddr): Likewise.
7676 (readdhstbynamev6): Likewise.
7677 (readdhstbyaddrv6): Likewise.
7678 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7679 (readdinitgroups): Return value returned by addinitgroupsX.
7680 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7681 (prune_cache): Keep track of timeout value of re-added entries.
7682 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7683 * nscd/nscd.h: Adjust prototypes of readd* functions.
7684
a0bf67cc
RM
76852011-02-04 Roland McGrath <roland@redhat.com>
7686
7687 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7688 (nis_stats): Likewise.
7689 * nis/nis_modify.c (nis_modify): Likewise.
7690 * nis/nis_remove.c (nis_remove): Likewise.
7691 * nis/nis_add.c (nis_add): Likewise.
7692
7693 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7694
7695 * posix/fnmatch_loop.c: Add some consts.
7696
7697 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7698
435b95eb
L
76992011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7700
7701 [BZ #12460]
7702 * config.make.in (config-cflags-novzeroupper): Define.
7703 * configure.in: Substitute libc_cv_cc_novzeroupper.
7704 * elf/Makefile (AVX-CFLAGS): Define.
7705 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7706 (CFLAGS-tst-auditmod4a.c): Likewise.
7707 (CFLAGS-tst-auditmod4b.c): Likewise.
7708 (CFLAGS-tst-auditmod6b.c): Likewise.
7709 (CFLAGS-tst-auditmod6c.c): Likewise.
7710 (CFLAGS-tst-auditmod7b.c): Likewise.
7711 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7712
8517b15e
UD
77132011-02-02 Ulrich Drepper <drepper@gmail.com>
7714
7715 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7716 function to the callback.
7717 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7718
10a656fe
AS
77192011-02-02 Andreas Schwab <schwab@redhat.com>
7720
7721 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7722 of errno.
7723
968dad0a
UD
77242011-01-19 Ulrich Drepper <drepper@gmail.com>
7725
9f94d2ea 7726 [BZ #11724]
968dad0a
UD
7727 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7728 of constructors.
7729 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7730 of destructors.
7731 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7732
7733 [BZ #11724]
7734 * elf/Makefile: Add rules to build and run new test.
7735 * elf/tst-initorder.c: New file.
7736 * elf/tst-initorder.exp: New file.
7737 * elf/tst-initordera1.c: New file.
7738 * elf/tst-initordera2.c: New file.
7739 * elf/tst-initordera3.c: New file.
7740 * elf/tst-initordera4.c: New file.
7741 * elf/tst-initorderb1.c: New file.
7742 * elf/tst-initorderb2.c: New file.
7743 * elf/tst-order-a1.c: New file.
7744 * elf/tst-order-a2.c: New file.
7745 * elf/tst-order-a3.c: New file.
7746 * elf/tst-order-a4.c: New file.
7747 * elf/tst-order-b1.c: New file.
7748 * elf/tst-order-b2.c: New file.
7749 * elf/tst-order-main.c: New file.
7750 New test case by George Gensure <werkt0@gmail.com>.
7751
86e92359
UD
77522010-10-01 Andreas Schwab <schwab@redhat.com>
7753
7754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7755 decoding ACE if AI_CANONIDN.
7756
5d5732b0
UD
77572011-01-18 Ulrich Drepper <drepper@gmail.com>
7758
7759 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7760
a77e8cbc
UD
77612011-01-17 Ulrich Drepper <drepper@gmail.com>
7762
6392473f
UD
7763 * version.h (RELEASE): Bump for 2.13 release.
7764 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7765
620a0529
UD
7766 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7767
18ba70a5
UD
7768 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7769 MADV_NOHUGEPAGE.
32465c3e
UD
7770 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7771 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7772 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7773 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7774 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7775 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7776
c0dafcf1
UD
7777 * posix/getconf.c: Update copyright year.
7778 * catgets/gencat.c: Likewise.
7779 * csu/version.c: Likewise.
7780 * debug/catchsegv.sh: Likewise.
7781 * debug/xtrace.sh: Likewise.
7782 * elf/ldconfig.c: Likewise.
7783 * elf/ldd.bash.in: Likewise.
7784 * elf/sprof.c (print_version): Likewise.
7785 * iconv/iconv_prog.c: Likewise.
7786 * iconv/iconvconfig.c: Likewise.
7787 * locale/programs/locale.c: Likewise.
7788 * locale/programs/localedef.c: Likewise.
7789 * malloc/memusage.sh: Likewise.
7790 * malloc/mtrace.pl: Likewise.
7791 * nscd/nscd.c (print_version): Likewise.
7792 * nss/getent.c: Likewise.
7793
a77e8cbc
UD
7794 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7795 PF_CAIF, and PF_ALG.
7796 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7797
77e8bddf
AS
77982011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7799
1f20b93a
AS
7800 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7801 (modules-names): Use them.
7802 (ifunc-test-modules, ifunc-pie-tests): Define.
7803 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7804 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7805 (test-extras): Likewise.
7806 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7807 $(compile-command.c).
7808 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7809 (all-built-dso): Define.
7810 (check-textrel.out, check-execstack.out): Depend on it.
7811
77e8bddf
AS
7812 * configure.in: Don't override --enable-multi-arch.
7813
bc425b33
UD
78142011-01-15 Ulrich Drepper <drepper@gmail.com>
7815
7816 [BZ #6812]
7817 * nscd/hstcache.c (tryagain): Define.
7818 (cache_addhst): Return tryagain not notfound for temporary errors.
7819 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7820 failed.
7821
794c3ad3
UD
78222011-01-14 Ulrich Drepper <drepper@gmail.com>
7823
70181fdd
UD
7824 [BZ #10563]
7825 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7826 to make the syscall.
7827 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7828
794c3ad3
UD
7829 [BZ #12378]
7830 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7831 and fall back to matching as normal character if the string ends before
7832 the matching ']' is found. This is what POSIX requires.
7833 * posix/testfnm.c: Adjust test result.
7834 * posix/globtest.sh: Adjust test result. Add new test.
7835 * posix/tst-fnmatch.input: Likewise.
7836 * posix/tst-fnmatch2.c: Add new test.
7837
68dc9497
AS
78382010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7839
7840 * elf/Makefile (check-execstack): Revert last change. Depend on
7841 check-execstack.h.
7842 (check-execstack.h): New target.
7843 (generated): Add check-execstack.h.
7844 * elf/check-execstack.c: Include "check-execstack.h".
7845 (main): Revert last change.
7846 (handle_file): Return zero if GNU_STACK is absent and
7847 DEFAULT_STACK_PERMS doesn't include PF_X.
7848
451f001b
UD
78492011-01-13 Ulrich Drepper <drepper@gmail.com>
7850
cfa28e56
UD
7851 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7852 in child fails because the descriptor is already closed.
8cf8ce17
UD
7853 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7854 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7855 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 7856
1086d70d
UD
7857 [BZ #12397]
7858 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7859 syscall.
7860
451f001b
UD
7861 [BZ #10484]
7862 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7863 temporary buffer used to handle multi lookups locally.
a85b5cb4 7864 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 7865
08769175
UD
78662011-01-12 Ulrich Drepper <drepper@gmail.com>
7867
7868 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7869 loader is ld.so.
7870
5e49c52e
UD
78712011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7872
7873 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7874 alignment for SSE2.
7875
60522a5f
UD
78762011-01-12 Ulrich Drepper <drepper@gmail.com>
7877
7878 [BZ #12394]
7879 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7880 characters. When rounding increased number of integer digits recompute
7881 number of groups.
7882 * stdio-common/tst-grouping.c: New file.
7883 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7884
f257bbd7
UD
78852011-01-09 Ulrich Drepper <drepper@gmail.com>
7886
7887 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7888 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7889
7890 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7891 void.
7892 * bits/select.h: Likewise.
7893
fa9c15cb
UD
78942011-01-08 Ulrich Drepper <drepper@gmail.com>
7895
7896 * po/ja.po: Update from translation team.
7897
16c2895f
DM
78982011-01-04 David S. Miller <davem@sunset.davemloft.net>
7899
7900 [BZ #11155]
7901 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7902 implementation just like for lxstat, fxstatat, et al.
7903
2543fef2
JM
79042010-12-27 Jim Meyering <meyering@redhat.com>
7905
7906 [BZ #12348]
7907 * posix/regexec.c (build_trtable): Return failure indication upon
7908 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7909
98727dbe
UD
79102010-12-25 Ulrich Drepper <drepper@gmail.com>
7911
5bd6dc5c
UD
7912 [BZ #12201]
7913 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7914 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7915 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7916 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7917
97983464
UD
7918 [BZ #12207]
7919 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7920
98727dbe
UD
7921 [BZ #12204]
7922 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7923 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7924
4a531bb0
L
79252010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7926
7927 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7928 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7929 script has SORT_BY_INIT_PRIORITY.
7930 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7931 NO_CTORS_DTORS_SECTIONS is defined.
7932 * elf/soinit.c: Likewise.
7933 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7934 NO_CTORS_DTORS_SECTIONS is defined.
7935 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7936 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7937 * sysdeps/sh/init-first.c: Likewise.
7938 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7939
07eb4b71
UD
79402010-12-24 Ulrich Drepper <drepper@gmail.com>
7941
7942 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7943 always use the slow path.
7944
30950a5f
RA
79452010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7946
7947 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7948 similar rule which adds the sysdep directories to the header search in
7949 order to pick up the correct platform stackinfo.h.
7950 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7951 perform test if it is, otherwise return successfully without testing.
7952 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7953 DEFAULT_STACK_PERMS define in stackinfo.h.
7954 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7955 defined in stackinfo.h.
7956 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7957 DEFAULT_STACK_PERMS defined in stackinfo.h.
7958 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7959 * sysdeps/ia64/stackinfo.h: Likewise.
7960 * sysdeps/s390/stackinfo.h: Likewise.
7961 * sysdeps/sh/stackinfo.h: Likewise.
7962 * sysdeps/sparc/stackinfo.h: Likewise.
7963 * sysdeps/x86_64/stackinfo.h: Likewise.
7964 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7965 PF_X for powerpc64. Retain PF_X for powerpc32.
7966
db753e2c
UD
79672010-12-19 Ulrich Drepper <drepper@gmail.com>
7968
14b697f7
UD
7969 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7970 accurately.
db753e2c
UD
7971 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7972 GETDENTS_64BIT_ALIGNED.
7973
28300719
UD
79742010-12-14 Ulrich Drepper <dreper@gmail.com>
7975
14b697f7 7976 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 7977
4f197237
AS
79782010-12-10 Andreas Schwab <schwab@redhat.com>
7979
dbb0472f
AS
7980 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7981 _GNU_SOURCE.
7982
4f197237
AS
7983 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7984 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7985 Remove __restrict.
7986 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7987 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7988
fb88ac72
UD
79892010-12-09 Ulrich Drepper <drepper@gmail.com>
7990
7991 [BZ #11655]
7992 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7993 are initialized.
7994
42acbb92
JJ
79952010-12-09 Jakub Jelinek <jakub@redhat.com>
7996
7997 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7998
c038d98d
UD
79992010-12-03 Ulrich Drepper <drepper@gmail.com>
8000
8001 * po/it.po: Update from translation team.
8002
3a4a2499
L
80032010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8004
8005 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8006 unused codes.
8007
1e24cf6e
UD
80082010-11-30 Ulrich Drepper <drepper@gmail.com>
8009
8010 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8011
a7690819
AS
80122010-11-24 Andreas Schwab <schwab@redhat.com>
8013
8014 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8015 specially.
8016 (gaih_getanswer_slice): Likewise.
8017
3bf8d1b1
JJ
80182010-10-20 Jakub Jelinek <jakub@redhat.com>
8019
8020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8021
6db52fbb
PB
80222010-05-31 Petr Baudis <pasky@suse.cz>
8023
8024 [BZ #11149]
8025 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8026 silently even in the chroot mode.
8027
eaca7569
UD
80282010-11-22 Ulrich Drepper <drepper@gmail.com>
8029
8030 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8031 last patch a bit. Pretty printing
8032
3056dcdb
UD
80332010-05-31 Petr Baudis <pasky@suse.cz>
8034
8035 [BZ #10085]
8036 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8037 initialization of skip_initgroups_dyn.
8038
cf7c9078
UD
80392010-11-19 Ulrich Drepper <drepper@gmail.com>
8040
8041 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8042 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8043
a1fb5e3e
UD
80442010-11-16 Ulrich Drepper <drepper@gmail.com>
8045
8046 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8047
3540d66b
AS
80482010-11-11 Andreas Schwab <schwab@redhat.com>
8049
8050 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8051 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8052 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8053 ($(objpfx)tst-fnmatch-mem): New rule.
8054 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8055 * posix/tst-fnmatch.c (main): Call mtrace.
8056
13b69574
L
80572010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8058
8059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8060 Support Intel processor model 6 and model 0x2c.
8061
da93d214
LM
80622010-11-10 Luis Machado <luisgpm@br.ibm.com>
8063
8064 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8065 signed comparison.
8066
8ca52c6e
L
80672010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8068
8069 [BZ #12205]
8070 * string/test-strncasecmp.c (check_result): New function.
8071 (do_one_test): Use it.
8072 (check1): New function.
8073 (test_main): Use it.
8074 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8075 Support strcasecmp and strncasecmp.
8076
69da074d
UD
80772010-11-08 Ulrich Drepper <drepper@gmail.com>
8078
8079 [BZ #12194]
8080 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8081 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8082
ff02d528
L
80832010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8084
8085 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8086 IFUNC support.
8087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8088 memset-x86-64.
8089 * sysdeps/x86_64/multiarch/bzero.S: New file.
8090 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8091 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8092 * sysdeps/x86_64/multiarch/memset.S: New file.
8093 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8095 Set bit_Prefer_SSE_for_memop for Intel processors.
8096 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8097 Define.
8098 (index_Prefer_SSE_for_memop): Define.
8099 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8100
344d0b54
LM
81012010-11-04 Luis Machado <luisgpm@br.ibm.com>
8102
8103 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8104 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8105
c0dde15b
UD
81062010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8107
8108 [BZ #12191]
8109 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8110 (__x86_64_raw_data_cache_size_half): Likewise.
8111 (__x86_64_raw_shared_cache_size): Likewise.
8112 (__x86_64_raw_shared_cache_size_half): Likewise.
8113
8114 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8115 (__x86_64_raw_data_cache_size_half): Likewise.
8116 (__x86_64_raw_shared_cache_size): Likewise.
8117 (__x86_64_raw_shared_cache_size_half): Likewise.
8118 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8119 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8120 and __x86_64_raw_shared_cache_size_half. Round
8121 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8122 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8123 to multiple of 256 bytes.
8124
0e516e0e
MS
81252010-11-03 Ulrich Drepper <drepper@gmail.com>
8126
8127 [BZ #12167]
8128 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8129 of inacessible symlinks. Verify result of symlink before returning it.
8130 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8131 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8132
0e012e87
ER
81332010-10-28 Erich Ritz <erichritz@gmail.com>
8134
8135 * math/math.h (isinf): Fix typo in comment.
8136
de0ff7bc
UD
81372010-11-01 Ulrich Drepper <drepper@gmail.com>
8138
8139 * po/da.po: Update from translation team.
8140
fa41c84d
UD
81412010-10-26 Ulrich Drepper <drepper@gmail.com>
8142
8143 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8144 is added to the list.
8145
f0967738
AK
81462010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8147 Ulrich Drepper <drepper@gmail.com>
8148
8149 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8150 the global list here. Move code to...
8151 (_dl_add_to_namespace_list): ...here. New function.
8152 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8153 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8154 * elf/dl-load.c (lose): Don't remove the element from the list.
8155 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8156 (_dl_map_object): Likewise.
8157
81582010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
8159
8160 [BZ #12159]
8161 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8162 into all bytes of SSE register.
8163 Patch by Richard Li <richardpku@gmail.com>.
8164
f0967738 81652010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
8166
8167 [BZ #12140]
8168 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8169 perturbing.
8170
d0b9e94f
MB
81712010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8172
8173 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8174 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8175 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8176 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8178 submachine.
8179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8180
8e9f92e9
AS
81812010-10-22 Andreas Schwab <schwab@redhat.com>
8182
8183 * include/dlfcn.h (__RTLD_SECURE): Define.
8184 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8185 mode & __RTLD_SECURE instead.
8186 (open_path): Rename preloaded parameter to secure.
8187 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8188 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8189 * elf/dl-deps.c (openaux): Likewise.
8190 * elf/rtld.c (struct map_args): Remove is_preloaded.
8191 (map_doit): Don't use it.
8192 (dl_main): Likewise.
8193 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8194 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8195
bc96fbda
AS
81962010-09-09 Andreas Schwab <schwab@redhat.com>
8197
8198 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8199 (sysd-rules-targets): Remove duplicates.
8200 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8201 rtld-%.$o dependency.
8202
22cd1c9b
AS
82032010-10-18 Andreas Schwab <schwab@redhat.com>
8204
8205 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8206 _dl_map_object do it.
8207
18edac48
UD
82082010-10-19 Ulrich Drepper <drepper@gmail.com>
8209
8210 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8211 fast fma builtins, define the macros in the C99 standard.
8212 (FP_FAST_FMAF): Likewise.
8213 (FP_FAST_FMAL): Likewise.
8214 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8215
8216 * bits/mathdef.h: Update copyright year.
8217 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8218
d2050124
MM
82192010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8220
8221 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8222 builtins, define the macros in the C99 standard.
8223 (FP_FAST_FMAF): Likewise.
8224 (FP_FAST_FMAL): Likewise.
8225 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8226 multiply/add.
8227 (FP_FAST_FMAF): Likewise.
8228
475facd1
JJ
82292010-10-15 Jakub Jelinek <jakub@redhat.com>
8230
8231 [BZ #3268]
8232 * math/libm-test.inc (fma_test): Some new testcases.
8233 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8234 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8235 y and infinite z. Do multiplication by C already in long double.
8236 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8238 y and infinite z. Do bitwise or of inexact bit into u.d.
8239 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8240 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8241 * sysdeps/i386/fpu/s_fma.S: Removed.
8242 * sysdeps/i386/fpu/s_fmal.S: Removed.
8243
7c08a05c
JJ
82442010-10-16 Jakub Jelinek <jakub@redhat.com>
8245
8246 [BZ #3268]
8247 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8248 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8249 computation is not scheduled after fetestexcept. Fix value
8250 of minimum denormal long double.
8251
f3f7372d
JJ
82522010-10-14 Jakub Jelinek <jakub@redhat.com>
8253
8254 [BZ #3268]
8255 * math/libm-test.inc (fma_test): Add some more tests.
8256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8257 correctly.
8258
14d43591
AS
82592010-10-15 Andreas Schwab <schwab@redhat.com>
8260
8261 * scripts/data/localplt-s390-linux-gnu.data: New file.
8262 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8263
5e908464
JJ
82642010-10-13 Jakub Jelinek <jakub@redhat.com>
8265
8266 [BZ #3268]
8267 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8268 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8269 instead of dbl-64.
8270 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8271 inlines.
8272 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8274 if one of x and y is very large and the other is subnormal.
8275 * sysdeps/s390/fpu/s_fmaf.c: New file.
8276 * sysdeps/s390/fpu/s_fma.c: New file.
8277 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8278 * sysdeps/powerpc/fpu/s_fma.S: New file.
8279 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8280 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8281 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8282
82832010-10-12 Jakub Jelinek <jakub@redhat.com>
8284
8285 [BZ #3268]
8286 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8287 fma tests.
8288 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8289 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8290 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8291 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8292 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8293 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8295
b833d51f
UD
82962010-10-12 Ulrich Drepper <drepper@redhat.com>
8297
8298 [BZ #12078]
8299 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8300 * posix/bug-regex31.input: Add test case.
8301
1751705d
UD
83022010-10-11 Ulrich Drepper <drepper@gmail.com>
8303
e9b9cbf5
UD
8304 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8305 * posix/bug-regex31.input: New file.
8306
8307 [BZ #12078]
8308 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8309 (parse_sub_exp): Fix last change, use postorder.
8310
ef06edbe
UD
8311 * posix/bug-regex31.c: New file.
8312 * posix/Makefile: Add rules to build and run bug-regex31.
8313
a129c80d
UD
8314 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8315
8316 [BZ #12078]
8317 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8318
b76b818e
UD
8319 [BZ #12108]
8320 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8321 to have entries in sys_siglist.
8322
1751705d
UD
8323 [BZ #12093]
8324 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8325 be NULL.
8326
9ff8d36f
JJ
83272010-10-07 Jakub Jelinek <jakub@redhat.com>
8328
8329 [BZ #3268]
8330 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8331 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8332 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8333 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8334 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8335 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8336 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8337 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8338 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8339 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8340 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8341 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8342 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8343 * math/ftestexcept.c (fetestexcept): Likewise.
8344 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8345 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8346 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8347 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8348 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8349 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8350 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8351
af325969
UD
83522010-10-11 Ulrich Drepper <drepper@gmail.com>
8353
c579b202 8354 [BZ #12107]
af325969
UD
8355 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8356 newline.
8357
67a67b95
UD
83582010-10-06 Ulrich Drepper <drepper@gmail.com>
8359
8360 * string/bug-strstr1.c: New file.
8361 * string/Makefile: Add rules to build and run bug-strstr1.
8362
5fb308bc
EB
83632010-10-05 Eric Blake <eblake@redhat.com>
8364
8365 [BZ #12092]
8366 * string/str-two-way.h (two_way_long_needle): Always clear memory
8367 when skipping input due to the shift table.
8368
45db99c7
UD
83692010-10-03 Ulrich Drepper <drepper@gmail.com>
8370
3b111893
UD
8371 [BZ #12005]
8372 * malloc/mcheck.c: Handle large requests.
8373
45db99c7
UD
8374 [BZ #12077]
8375 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8376 for strncmp and strncasecmp.
8377 * string/stratcliff.c: Add tests for strcmp and strncmp.
8378 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8379
cf7a1eb8
NI
83802010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8381
8382 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8383 __set_fpscr.
8384
6484ba5e
AJ
83852010-09-30 Andreas Jaeger <aj@suse.de>
8386
8387 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8388 (CGROUP_SUPER_MAGIC): Define.
8389 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8390 Handle btrfs and cgroup file systems.
8391 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8392 Likewise.
8393
91c42559
LM
83942010-09-27 Luis Machado <luisgpm@br.ibm.com>
8395
8396 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8397 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8398
87a97932
AK
83992010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8400
8401 [BZ #12067]
8402 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8403 trying to locate the ELF header.
8404
c21cc9bc
AS
84052010-09-27 Andreas Schwab <schwab@redhat.com>
8406
8407 [BZ #11611]
8408 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8409 Mask out sign-bit copies when constructing f_fsid.
8410
315970f6
PB
84112010-09-24 Petr Baudis <pasky@suse.cz>
8412
8413 * debug/stack_chk_fail_local.c: Add missing licence exception.
8414 * debug/warning-nop.c: Likewise.
8415
1ac7a2c7
JM
84162010-09-15 Joseph Myers <joseph@codesourcery.com>
8417
8418 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8419 implementing getdents64 using getdents syscall, set d_type if
8420 __ASSUME_GETDENTS32_D_TYPE.
8421
56801c50
AS
84222010-09-16 Andreas Schwab <schwab@redhat.com>
8423
8424 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8425 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8426
dda51327
UD
84272010-09-21 Ulrich Drepper <drepper@redhat.com>
8428
8429 [BZ #12037]
8430 * posix/unistd.h: Undo change of feature selection for ftruncate from
8431 2010-01-11.
8432
8ffcee4a
UD
84332010-09-20 Ulrich Drepper <drepper@redhat.com>
8434
a545ecd9 8435 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
8436 detection.
8437
e24f0a8b
AS
84382010-09-20 Andreas Schwab <schwab@redhat.com>
8439
8440 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8441 fanotify_mark.
8442 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8443
7291c56f
AS
84442010-09-14 Andreas Schwab <schwab@redhat.com>
8445
8446 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8447 variables after CHECK_SP call.
8448 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8449
bc5fb037
AS
84502010-09-13 Andreas Schwab <schwab@redhat.com>
8451 Ulrich Drepper <drepper@redhat.com>
8452
8453 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8454 re-relocationg ld.so.
8455 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8456 _dl_init_paths call.
8457 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8458 here anymore.
8459
e66e7419
UD
84602010-09-14 Ulrich Drepper <drepper@redhat.com>
8461
8462 * resolv/res_init.c (__res_vinit): Count the default server we added.
8463
c044aa75
CLT
84642010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8465 Ulrich Drepper <drepper@redhat.com>
8466
8467 [BZ #11968]
8468 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8469 (____longjmp_chk): Use %ebx for saving value across system call.
8470 Add unwind info.
8471
32cf4069
AS
84722010-09-06 Andreas Schwab <schwab@redhat.com>
8473
8474 * manual/Makefile: Don't mix pattern rules with normal rules.
8475
817328ee
AS
84762010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8477
8478 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8479 operation.
8480 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8481 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8482 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8483 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8485 Likewise.
8486
29fddf61
UD
84872010-09-04 Ulrich Drepper <drepper@redhat.com>
8488
8489 [BZ #11979]
8490 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8491 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8492
0959ffc9
UD
84932010-09-02 Ulrich Drepper <drepper@redhat.com>
8494
8495 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8496 * sysdeps/x86_64/addmul_1.S: Likewise.
8497 * sysdeps/x86_64/lshift.S: Likewise.
8498 * sysdeps/x86_64/mul_1.S: Likewise.
8499 * sysdeps/x86_64/rshift.S: Likewise.
8500 * sysdeps/x86_64/sub_n.S: Likewise.
8501 * sysdeps/x86_64/submul_1.S: Likewise.
8502
ece29840
ST
85032010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8504
0959ffc9
UD
8505 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8506 Define __sched_param instead of SCHED_* and sched_param when
ece29840 8507 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 8508 * bits/sched.h [__need_schedparam]
ece29840 8509 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
8510 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8511 (__defined_schedparam): Define to 1.
ece29840
ST
8512 (__sched_param): New structure, identical to sched_param.
8513 (__need_schedparam): Undefine.
8514
e53a31fe
MF
85152010-08-31 Mike Frysinger <vapier@gentoo.org>
8516
fdc0c10d
MF
8517 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8518 (epoll_create1): Declare.
8519
e53a31fe
MF
8520 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8521
a726d796
AS
85222010-08-31 Andreas Schwab <schwab@redhat.com>
8523
8524 [BZ #7066]
8525 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8526 shifting retval into place.
8527
2f3e3dc7
UD
85282010-09-01 Ulrich Drepper <drepper@redhat.com>
8529
f2933da9
UD
8530 * nis/rpcsvc/nis.h: Update copyright notice.
8531 * nis/rpcsvc/nis.x: Likewise.
8532 * nis/rpcsvc/nis_callback.h: Likewise.
8533 * nis/rpcsvc/nis_callback.x: Likewise.
8534 * nis/rpcsvc/nis_object.x: Likewise.
8535 * nis/rpcsvc/nis_tags.h: Likewise.
8536 * nis/rpcsvc/yp.h: Likewise.
8537 * nis/rpcsvc/yp.x: Likewise.
8538 * nis/rpcsvc/ypupd.h: Likewise.
8539 * nis/yp_xdr.c: Likewise.
8540 * nis/ypupdate_xdr.c: Likewise.
8541
2f3e3dc7
UD
8542 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8543 mainly the body of pmap_getport. Add parameters to specify timeouts.
8544 (pmap_getport): Use __libc_rpc_getport.
8545 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8546 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8547 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8548
f3dcc2f9
AS
85492010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8550
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8552 fanotify_mark.
8553
6d34eb5b
RM
85542010-08-27 Roland McGrath <roland@redhat.com>
8555
8556 * sysdeps/i386/i686/multiarch/Makefile
8557 (CFLAGS-varshift.c): New variable.
8558
9ea3de11
UD
85592010-08-27 Ulrich Drepper <drepper@redhat.com>
8560
c96d23fc
UD
8561 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8562 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8563
9ea3de11
UD
8564 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8565
8566 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8567
623aac7f
L
85682010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8569
8570 * sysdeps/x86_64/strlen.S: Unroll the loop.
8571 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8572 strlen-sse2 strlen-sse2-bsf.
8573 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8574 __strlen_no_bsf if bit_Slow_BSF is set.
8575 (__strlen_sse42): Removed.
8576 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8577 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8578
8b2b7715
RM
85792010-08-25 Roland McGrath <roland@redhat.com>
8580
8581 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8582 * sysdeps/x86_64/multiarch/varshift.c: New file.
8583 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8584 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8585 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8586 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8587
e73015f2
L
85882010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8589
8590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8591 strlen-sse2 strlen-sse2-bsf.
8592 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8593 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8594 (__strlen_sse2): Removed.
8595 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8596 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8598 bit_Slow_BSF for Atom.
8599 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8600 (index_Slow_BSF): Define.
8601 (HAS_SLOW_BSF): Define.
8602
df24a73e
UD
86032010-08-25 Ulrich Drepper <drepper@redhat.com>
8604
8605 [BZ #10851]
8606 * resolv/res_init.c (__res_vinit): When no server address at all
8607 is given default to loopback.
8608
f2ac4868
RM
86092010-08-24 Roland McGrath <roland@redhat.com>
8610
09055553
RM
8611 * configure.in: Remove config-name.h generation.
8612 * configure: Regenerated.
8613 * config-name.in: File removed.
8614 * scripts/config-uname.sh: New file.
8615 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8616 ($(objdir)config-name.h): New target.
8617
f2ac4868
RM
8618 * sunrpc/rpc_parse.h: Avoid nested comment.
8619
73f27d5e
RH
86202010-08-24 Richard Henderson <rth@redhat.com>
8621 Ulrich Drepper <drepper@redhat.com>
8622 H.J. Lu <hongjiu.lu@intel.com>
8623
8624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8626 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8627 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8628 _mm_alignr_epi8 with _mm_loadu_si128.
8629 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8630 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8631 (__m128i_shift_right): Removed.
8632 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8633 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8634 * sysdeps/x86_64/multiarch/varshift.h: New file.
8635 * sysdeps/x86_64/multiarch/varshift.S: New file.
8636
84b9230c
MF
86372010-08-21 Mike Frysinger <vapier@gentoo.org>
8638
8639 * configure.in: Move assembler checks to before sysdep dir checking.
8640
9bbd0ddc
PB
86412010-08-20 Petr Baudis <pasky@suse.cz>
8642
8643 * LICENSES: Sync the sunrpc license.
8644
9da4bb31
UD
86452010-08-19 Ulrich Drepper <drepper@redhat.com>
8646
a7ab6ec8
UD
8647 * sunrpc/auth_des.c: Update copyright notice once again.
8648 * sunrpc/auth_none.c: Likewise.
8649 * sunrpc/auth_unix.c: Likewise.
8650 * sunrpc/authdes_prot.c: Likewise.
8651 * sunrpc/authuxprot.c: Likewise.
8652 * sunrpc/bindrsvprt.c: Likewise.
8653 * sunrpc/clnt_gen.c: Likewise.
8654 * sunrpc/clnt_perr.c: Likewise.
8655 * sunrpc/clnt_raw.c: Likewise.
8656 * sunrpc/clnt_simp.c: Likewise.
8657 * sunrpc/clnt_tcp.c: Likewise.
8658 * sunrpc/clnt_udp.c: Likewise.
8659 * sunrpc/clnt_unix.c: Likewise.
8660 * sunrpc/des_crypt.c: Likewise.
8661 * sunrpc/des_soft.c: Likewise.
8662 * sunrpc/get_myaddr.c: Likewise.
8663 * sunrpc/getrpcport.c: Likewise.
8664 * sunrpc/key_call.c: Likewise.
8665 * sunrpc/key_prot.c: Likewise.
8666 * sunrpc/openchild.c: Likewise.
8667 * sunrpc/pm_getmaps.c: Likewise.
8668 * sunrpc/pm_getport.c: Likewise.
8669 * sunrpc/pmap_clnt.c: Likewise.
8670 * sunrpc/pmap_prot.c: Likewise.
8671 * sunrpc/pmap_prot2.c: Likewise.
8672 * sunrpc/pmap_rmt.c: Likewise.
8673 * sunrpc/rpc/auth.h: Likewise.
8674 * sunrpc/rpc/auth_unix.h: Likewise.
8675 * sunrpc/rpc/clnt.h: Likewise.
8676 * sunrpc/rpc/des_crypt.h: Likewise.
8677 * sunrpc/rpc/key_prot.h: Likewise.
8678 * sunrpc/rpc/netdb.h: Likewise.
8679 * sunrpc/rpc/pmap_clnt.h: Likewise.
8680 * sunrpc/rpc/pmap_prot.h: Likewise.
8681 * sunrpc/rpc/pmap_rmt.h: Likewise.
8682 * sunrpc/rpc/rpc.h: Likewise.
8683 * sunrpc/rpc/rpc_des.h: Likewise.
8684 * sunrpc/rpc/rpc_msg.h: Likewise.
8685 * sunrpc/rpc/svc.h: Likewise.
8686 * sunrpc/rpc/svc_auth.h: Likewise.
8687 * sunrpc/rpc/types.h: Likewise.
8688 * sunrpc/rpc/xdr.h: Likewise.
8689 * sunrpc/rpc_clntout.c: Likewise.
8690 * sunrpc/rpc_cmsg.c: Likewise.
8691 * sunrpc/rpc_common.c: Likewise.
8692 * sunrpc/rpc_cout.c: Likewise.
8693 * sunrpc/rpc_dtable.c: Likewise.
8694 * sunrpc/rpc_hout.c: Likewise.
8695 * sunrpc/rpc_main.c: Likewise.
8696 * sunrpc/rpc_parse.c: Likewise.
8697 * sunrpc/rpc_parse.h: Likewise.
8698 * sunrpc/rpc_prot.c: Likewise.
8699 * sunrpc/rpc_sample.c: Likewise.
8700 * sunrpc/rpc_scan.c: Likewise.
8701 * sunrpc/rpc_scan.h: Likewise.
8702 * sunrpc/rpc_svcout.c: Likewise.
8703 * sunrpc/rpc_tblout.c: Likewise.
8704 * sunrpc/rpc_util.c: Likewise.
8705 * sunrpc/rpc_util.h: Likewise.
8706 * sunrpc/rpcinfo.c: Likewise.
8707 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8708 * sunrpc/rpcsvc/key_prot.x: Likewise.
8709 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8710 * sunrpc/rpcsvc/mount.x: Likewise.
8711 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8712 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8713 * sunrpc/rpcsvc/rex.x: Likewise.
8714 * sunrpc/rpcsvc/rstat.x: Likewise.
8715 * sunrpc/rpcsvc/rusers.x: Likewise.
8716 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8717 * sunrpc/rpcsvc/spray.x: Likewise.
8718 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8719 * sunrpc/rtime.c: Likewise.
8720 * sunrpc/svc.c: Likewise.
8721 * sunrpc/svc_auth.c: Likewise.
8722 * sunrpc/svc_authux.c: Likewise.
8723 * sunrpc/svc_raw.c: Likewise.
8724 * sunrpc/svc_run.c: Likewise.
8725 * sunrpc/svc_simple.c: Likewise.
8726 * sunrpc/svc_tcp.c: Likewise.
8727 * sunrpc/svc_udp.c: Likewise.
8728 * sunrpc/svc_unix.c: Likewise.
8729 * sunrpc/svcauth_des.c: Likewise.
8730 * sunrpc/xcrypt.c: Likewise.
8731 * sunrpc/xdr.c: Likewise.
8732 * sunrpc/xdr_array.c: Likewise.
8733 * sunrpc/xdr_float.c: Likewise.
8734 * sunrpc/xdr_mem.c: Likewise.
8735 * sunrpc/xdr_rec.c: Likewise.
8736 * sunrpc/xdr_ref.c: Likewise.
8737 * sunrpc/xdr_sizeof.c: Likewise.
8738 * sunrpc/xdr_stdio.c: Likewise.
8739
9da4bb31
UD
8740 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8741 handling.
8742
bdaa77bc
AS
87432010-08-19 Andreas Schwab <schwab@redhat.com>
8744
8745 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8746
fe2f79db
LM
87472010-08-19 Luis Machado <luisgpm@br.ibm.com>
8748
8749 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8750 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8751 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8752 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8753 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8754 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8755 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8756 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8757 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8758 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8759 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8760 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8761 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8762 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8763
b9b42ee0
AB
87642010-07-26 Anton Blanchard <anton@samba.org>
8765
8766 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8767 * malloc/arena.c (heap_trim): Likewise.
8768
1c06ba31
UD
87692010-08-16 Ulrich Drepper <drepper@redhat.com>
8770
8771 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8772 here. Not...
8773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8774 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8775
f8392f40
L
87762010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8777
8778 * sysdeps/i386/elf/Makefile: New file.
8779
3162f12e
AS
87802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8781
8782 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8783 from fanotify_init.
8784 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8785 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8786
28c90b2c
UD
87872010-08-15 Ulrich Drepper <drepper@redhat.com>
8788
8789 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8790 of strncasecmp_l.
1feccb6c 8791 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 8792
ca6bb004
UD
87932010-08-14 Ulrich Drepper <drepper@redhat.com>
8794
e9f82e0d
UD
8795 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8796 strncase_l-nonascii.
8797 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8798 Add strncase_l-ssse3.
8799 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8800 * sysdeps/x86_64/strcmp.S: Likewise.
8801 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8802 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8803 * sysdeps/x86_64/strncase.S: New file.
8804 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8805 * sysdeps/x86_64/strncase_l.S: New file.
8806 * string/Makefile (strop-tests): Add strncasecmp.
8807 * string/test-strncasecmp.c: New file.
8808
8809 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8810 warning.
8811
ca6bb004
UD
8812 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8813 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8814
052fa7b3
AS
88152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8816
8817 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8818
962dba78
UD
88192010-08-12 Ulrich Drepper <drepper@redhat.com>
8820
8821 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8822 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8823 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8824
bebff237
AM
88252010-05-01 Alan Modra <amodra@gmail.com>
8826
8827 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8828 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8829 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8830 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8831 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8832 tidying. Don't tail-call __sigjmp_save for static lib.
8833 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8834 save location.
8835 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8836 (CALL_MCOUNT): Add eh info, and nop after bl.
8837 (TAIL_CALL_SYSCALL_ERROR): New macro.
8838 (PSEUDO_RET): Use it.
8839 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8840 Correct save location of integer regs and cr.
8841 (_dl_profile_resolve): Correct cr save location. Delete nops
8842 after bl when SHARED. Reduce cfi size a little by better
8843 placement of cfi directives.
8844 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8845 make a stack frame. Instead use parm save area as a temp.
8846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8847 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8849 Don't make a stack frame for parent, use parm save area.
8850 Increase child stack frame to 112 bytes. Don't save unused reg,
8851 and adjust reg usage. Set up cfi on error recovery and
8852 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8854 (__makecontext): Add dummy nop after jump to exit.
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8856 Use correct parm save area and cr save, reduce stack frame.
8857 Correct cfi for possible PSEUDO_RET frame setup.
8858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8859 Branch to local label emitted by PSEUDO_RET rather than
8860 __syscall_error.
8861
02637374
AS
88622010-08-12 Andreas Schwab <schwab@redhat.com>
8863
8864 [BZ #11904]
8865 * locale/programs/locale.c (print_assignment): New function.
8866 (show_locale_vars): Use it.
8867
c3e2f19b
UD
88682010-08-11 Ulrich Drepper <drepper@redhat.com>
8869
3cdaa6ad
UD
8870 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8871 field.
8872 (struct statfs64): Likewise.
8873 (_STATFS_F_FLAGS): Define.
8874 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8875 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8876 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8877 (ST_VALID): Define locally.
8878 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8879 __statvfs_getflags, use the provided value.
8880 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8881 __ASSUME_STATFS_F_FLAGS.
8882
754f7da3
UD
8883 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8884
10b3bedc
UD
8885 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8886 Add sys/fanotify.h.
8887 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8888 fanotify_mask for GLIBC_2.13.
8889 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8890 fanotify_init and fanotify_mark.
8891 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8892 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8893
c08fb0d7
UD
8894 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8895 Add prlimit.
8896 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8897 prlimit64 for GLIBC_2.13.
8898 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8899 prlimit64.
8900 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8901 syscall.
8902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8903 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8904 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8905 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8907 add prlimit alias.
8908 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8909
15bac72b
UD
8910 [BZ #11903]
8911 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8912 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8913
c3e2f19b
UD
8914 * nss/Makefile: Add rules to build and run tst-nss-test1.
8915 * shlib-versions: Add entry for libnss_test1.
8916 * nss/nss_test1.c: New file.
8917 * nss/tst-nss-test1.c: New file.
8918
8919 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8920 (__nss_configure_lookup): Set appropriate entry in
8921 __nss_configure_lookup to true.
8922 * nss/nsswitch.h: Define enum with indeces of databases in
8923 databases and __nss_database_custom arrays. Declare
8924 __nss_database_custom.
8925 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8926 to avoid using nscd when custom rules are installed.
8927 * nss/getXXbyYY_r.c: Likewise.
8928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8929
8930 * nss/nss_files/files-parse.c: Whitespace fixes.
8931
f15ce4d8
UD
89322010-08-09 Ulrich Drepper <drepper@redhat.com>
8933
8934 [BZ #11883]
8935 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8936 * posix/fnmatch_loop.c: Likewise.
8937
d22e4cc9
AK
89382010-07-17 Andi Kleen <ak@linux.intel.com>
8939
8940 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8941 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8942 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8943 * Versions.def [GLIBC_2.13]: Add.
8944
805bc17d
UD
89452010-08-06 Ulrich Drepper <drepper@redhat.com>
8946
8947 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8948 Also fail if tpwd after pwuid call is NULL.
8949
5a42321d
ST
89502010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8951
8952 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8953 when converting to ms.
8954
fd3ebeda
ST
89552010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8956
8957 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8958 EOPNOTSUPP errors with ENOTTY.
8959 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8960 EOPNOTSUPP errors with ENOTTY.
8961
73507d3a
UD
89622010-07-31 Ulrich Drepper <drepper@redhat.com>
8963
8964 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8965 Add strcasecmp_l-ssse3.
8966 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8967 strcasecmp.
8968 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8969 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8970 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8971
fe36dd02
UD
89722010-07-30 Ulrich Drepper <drepper@redhat.com>
8973
66f6765a
UD
8974 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8975
42e08a54
UD
8976 * string/Makefile (strop-tests): Add strcasecmp.
8977 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8978 strcasecmp_l-nonascii.
8979 (gen-as-const-headers): Add locale-defines.sym.
8980 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8981 * sysdeps/x86_64/strcasecmp.S: New file.
8982 * sysdeps/x86_64/strcasecmp_l.S: New file.
8983 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8984 * sysdeps/x86_64/locale-defines.sym: New file.
8985 * string/test-strcasecmp.c: New file.
8986
fe36dd02
UD
8987 * string/test-strcasestr.c: Test both ends of the range of characters.
8988 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8989
48cbc0d6
RM
89902010-07-29 Roland McGrath <roland@redhat.com>
8991
76e6d6bc 8992 [BZ #11856]
48cbc0d6
RM
8993 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8994
880113d9
UD
89952010-07-27 Ulrich Drepper <drepper@redhat.com>
8996
8997 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8998 for ld.so.
8999
deb9cabb
AS
90002010-07-27 Andreas Schwab <schwab@redhat.com>
9001
9002 * manual/memory.texi (Malloc Tunable Parameters): Document
9003 M_PERTURB.
9004
1c7570ff
RM
90052010-07-26 Roland McGrath <roland@redhat.com>
9006
9007 [BZ #11840]
9008 * configure.in (-fgnu89-inline check): Set and substitute
9009 gnu89_inline, not libc_cv_gnu89_inline.
9010 * configure: Regenerated.
9011 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9012
24fb0f88
UD
90132010-07-26 Ulrich Drepper <drepper@redhat.com>
9014
9015 * string/test-strnlen.c: New file.
9016 * string/Makefile (strop-tests): Add strnlen.
9017 * string/tester.c (test_strnlen): Add a few more test cases.
9018 * string/tst-strlen.c: Better error reporting.
9019
9020 * sysdeps/x86_64/strnlen.S: New file.
9021
8e96b93a
UD
90222010-07-24 Ulrich Drepper <drepper@redhat.com>
9023
9024 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9025 lower-latency instructions.
9026
dbc676d4
UD
90272010-07-23 Ulrich Drepper <drepper@redhat.com>
9028
9029 * string/test-strcasestr.c: New file.
9030 * string/test-strstr.c: New file.
9031 * string/Makefile (strop-tests): Add strstr and strcasestr.
9032 * string/str-two-way.h: Don't undefine MAX.
9033 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9034
f6a31e0e
AS
90352010-07-21 Andreas Schwab <schwab@redhat.com>
9036
9037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9038 strcasestr-nonascii.
9039 (CFLAGS-strcasestr-nonascii.c): Define.
9040 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9041 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9042 Remove unused attribute.
9043
5dbc3b6c
RM
90442010-07-20 Roland McGrath <roland@redhat.com>
9045
9046 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9047 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9048 ld.so.cache was broken. With it, there is no way to disable dsocaps
9049 like LD_HWCAP_MASK can disable hwcaps.
9050
23d101d8
EPM
90512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9052
9053 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9054
cc9f2e47
UD
90552010-07-16 Ulrich Drepper <drepper@redhat.com>
9056
9057 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9058 call in strcasestr.
9059 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9060 __strcasestr_sse42_nonascii.
9061 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9062 strcasestr-nonascii.c.
9063 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9064
77c1b069
LM
90652010-06-15 Luis Machado <luisgpm@br.ibm.com>
9066
9067 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9068 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9069 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9070 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9071
440566c3
UD
90722010-07-09 Ulrich Drepper <drepper@redhat.com>
9073
9074 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9075 fcntl.
9076
5be9d05d
AS
90772010-07-06 Andreas Schwab <schwab@redhat.com>
9078
c30b7ee2 9079 [BZ #11577]
5be9d05d
AS
9080 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9081 dl_signal_cerror.
9082
8a492a67
UD
90832010-07-06 Ulrich Drepper <drepper@redhat.com>
9084
9085 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9086 _PC_PIPE_BUF using F_GETPIPE_SZ.
9087
713df3d5
RM
90882010-07-05 Roland McGrath <roland@redhat.com>
9089
9090 * manual/arith.texi (Rounding Functions): Fix rint description
9091 implicit in round description.
9092
702e8f14
UD
90932010-07-02 Ulrich Drepper <drepper@redhat.com>
9094
9095 * elf/Makefile: Fix linking for a few tests to make recent linker
9096 happy.
9097
52ed8be9
AS
90982010-06-30 Andreas Schwab <schwab@redhat.com>
9099
9100 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9101 $(common-objpfx)libc_nonshared.a.
9102
f47c9a11
LM
91032010-06-21 Luis Machado <luisgpm@br.ibm.com>
9104
9105 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9106 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9107 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9108 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9109 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9110 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9111 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9112 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9127 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9128 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9129 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9130 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9131 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9132 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9133 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9134 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9135 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9136 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9137 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9138 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9153
6fb8cbcb
L
91542010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9155
9156 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9157 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9158 * string/memmove.c (memmove): Renamed to ...
9159 (MEMMOVE): ...this. Default to memmove.
9160 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9161 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9162 (END_CHK): Define.
9163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9164 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9165 mempcpy-ssse3-back memmove-ssse3-back.
9166 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9167 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9168 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9169 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9170 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9171 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9172 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9173 * sysdeps/x86_64/multiarch/memmove.c: New file.
9174 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9175 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9176 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9177 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9178 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9179 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9180 Define.
9181 (index_Fast_Copy_Backward): Define.
9182 (HAS_ARCH_FEATURE): Define.
9183 (HAS_FAST_REP_STRING): Define.
9184 (HAS_FAST_COPY_BACKWARD): Define.
9185
4e733bac 91862010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
9187
9188 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9189 Restore proper fallback handling.
9190
63c4ed22
UD
91912010-06-19 Ulrich Drepper <drepper@redhat.com>
9192
ac2b484c
UD
9193 [BZ #11701]
9194 * posix/group_member.c (__group_member): Correct checking loop.
9195
63c4ed22
UD
9196 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9197 OOM in getpwuid_r correctly. Return error number when the caller
9198 should return, otherwise -1.
9199 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9200 call returning > 0 value.
9201 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9202
765ade4b
AS
92032010-06-07 Andreas Schwab <schwab@redhat.com>
9204
9205 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9206 libc_nonshared.a from targets in modules-names.
9207
80da2e09
KS
92082010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9209
9210 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9211 requires it.
9212
158db122
LM
92132010-06-10 Luis Machado <luisgpm@br.ibm.com>
9214
9215 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9216 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9217 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9218 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9219
caa78cf8
AS
92202010-06-02 Andreas Schwab <schwab@redhat.com>
9221
9222 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9223
b2ef2c01
UD
92242010-06-14 Ulrich Drepper <drepper@redhat.com>
9225
9226 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9227 and F_GETPIPE_SZ.
9228 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9230 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9232 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9233 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9234
fbd643b6
RM
92352010-06-14 Roland McGrath <roland@redhat.com>
9236
9237 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9238
f32f2869
JJ
92392010-06-07 Jakub Jelinek <jakub@redhat.com>
9240
9241 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9242 __REDIRECT followed by __THROW.
9243 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9244 * posix/getopt.h (getopt): Likewise.
9245
2a50c078
EPM
92462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9247
9248 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9249 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9250 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9251 in AT_FLAGS.
9252 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9253 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9254
eb5ad2eb
LM
92552010-05-28 Luis Machado <luisgpm@br.ibm.com>
9256
9257 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9258
3c88fe1e
L
92592010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9260
9261 [BZ #11640]
9262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9263 Properly check family and model.
9264
d2f73151
TY
92652010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9266
9267 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9268
ebd2e13d
LM
92692010-05-24 Luis Machado <luisgpm@br.ibm.com>
9270
9271 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9272
b32b8b45
UD
92732010-05-21 Ulrich Drepper <drepper@redhat.com>
9274
9275 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9276 symbol reference.
9277
9acbe24d
AS
92782010-05-19 Andreas Schwab <schwab@redhat.com>
9279
9280 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9281 symbol reference.
9282
f0ccf6ea
AS
92832010-05-21 Andreas Schwab <schwab@redhat.com>
9284
3d04ff3a
AS
9285 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9286 and internal_recvmmsg.
9287 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9288 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9289 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9290 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9291
f0ccf6ea
AS
9292 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9293 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9294 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9295
5b08ac57
AS
92962010-05-20 Andreas Schwab <schwab@redhat.com>
9297
9298 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9299
4828935d
LM
93002010-05-17 Luis Machado <luisgpm@br.ibm.com>
9301
9302 POWER7 optimizations.
9303 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9304 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9305
373d545e
UD
93062010-05-19 Ulrich Drepper <drepper@redhat.com>
9307
9308 * version.h: Update for 2.13 development version.
9309
21a2b1ae
AS
93102010-05-12 Andrew Stubbs <ams@codesourcery.com>
9311
9312 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9313 exceptions. Return 0.
9314
3f7dcb2b
RM
93152010-05-07 Roland McGrath <roland@redhat.com>
9316
9317 * elf/ldconfig.c (main): Add a const.
9318
5f24d53a 93192010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 9320
a160f8d8
UD
9321 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9322 (args_options): Add no-idn option.
9323 (ahosts_keys_int): Add idn_flags to ai_flags.
9324 (parse_option): Handle 'i' option to clear idn_flags.
9325
5f24d53a
UD
9326 * malloc/malloc.c (_int_free): Possible race in the most recently
9327 added check. Only act on the data if no current modification
9328 happened.
265bb1ce
UD
9329
9330See ChangeLog.17 for earlier changes.