]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
2012-03-23 Daniel Jacobowitz <dmj@google.com>
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3ff42526
PP
12012-03-23 Daniel Jacobowitz <dmj@google.com>
2 Paul Pluzhnikov <ppluzhnikov@google.com>
3
4 [BZ #6528]
5 * grp/Makefile (otherlibs): Don't set it.
6 * inet/Makefile (otherlibs): Likewise.
7 * login/Makefile (otherlibs): Likewise.
8 * nscd/Makefile (otherlibs): Likewise.
9 * posix/Makefile (otherlibs): Likewise.
10 * pwd/Makefile (otherlibs): Likewise.
11 * rt/Makefile (otherlibs): Likewise.
12 * sunrpc/Makefile (otherlibs): Likewise.
13 * nss/Makefile (otherlibs): Likewise.
14 Add libnss_files to routines and static-only-routines.
15 ($(objpfx)getent): Remove rule.
16 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17 static-only-routines.
18
7c69cd14
JM
192012-03-22 Joseph Myers <joseph@codesourcery.com>
20
21 [BZ #13892]
22 * math/s_cexp.c: Include <float.h>.
23 (__cexp): Handle exp result overflowing not necessarily
24 overflowing both real and imaginary parts of result.
25 * math/s_cexpf.c: Likewise.
26 * math/s_cexpl.c: Likewise.
27 * math/libm-test.inc (cexp_test): Add more tests.
28 * sysdeps/i386/fpu/libm-test-ulps: Update.
29 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30
81b035fe
L
312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32
33 * include/link.h (ELFW): New macro.
34 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36
1da7940c
L
372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38
39 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40 with uint64_t.
41
b749dbb9
L
422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43
44 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45 declaration.
46 (struct La_x32_retval): Likewise.
47
2ff87f3f
L
482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49
50 * sysdeps/x86_64/preconfigure.in: New file.
51 * sysdeps/x86_64/preconfigure: New generated file.
52
c0df8e69
JM
532012-03-22 Joseph Myers <joseph@codesourcery.com>
54
48e44791
JM
55 [BZ #13824]
56 * math/e_exp2l.c: Include <float.h>.
57 (__ieee754_exp2l): Handle overflow and underflow cases
58 separately. Only pass fractional part of argument to
59 __ieee754_expl.
60 * math/libm-test.inc (exp2_test): Add more tests.
61
c0df8e69
JM
62 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
63 negating x to take absolute value.
64 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65 Likewise.
66 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68 Likewise.
69 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70 computing low part if x was negated.
71 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72
c8e43ba7
L
732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74
75 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
76 la_x32_gnu_pltexit.
77 (pltexit): Cast int_retval to ptrdiff_t.
78 * elf/tst-auditmod3b.c: Likewise.
79 * elf/tst-auditmod4b.c: Likewise.
80 * elf/tst-auditmod5b.c: Likewise.
81 * elf/tst-auditmod6b.c: Likewise.
82 * elf/tst-auditmod6c.c: Likewise.
83 * elf/tst-auditmod7b.c: Likewise.
84
85 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
86 and x32_gnu_pltexit.
87
88 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
89 __ELF_NATIVE_CLASS.
90 (La_x32_regs): New macro.
91 (La_x32_retval): Likewise.
92 (la_x32_gnu_pltenter): New function prototype.
93 (la_x32_gnu_pltexit): Likewise.
94
7998fa78
AS
952012-03-21 Andreas Schwab <schwab@linux-m68k.org>
96
dcb33988
AS
97 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
98 exponent.
99
233fc563
AS
100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
101
7998fa78
AS
102 * configure.in (libc_cv_cc_nofma): Check for option to disable
103 generation of FMA instructions.
104 * configure: Regenerate.
105 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
106 * sysdeps/ieee754/dbl-64/Makefile: New file.
107 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
108 Remove brandred-fma4.
109 (CFLAGS-brandred-fma4.c): Remove.
110 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
111 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
112 define.
113 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
114 define.
115
8e95c99a
L
1162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
117
118 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
119 LLONG_MAX != LONG_MAX.
120 (_itoa_word): Use _ITOA_WORD_TYPE on value.
121 (_fitoa_word): Likewise.
122 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
123 LLONG_MAX != LONG_MAX.
124 * stdio-common/_itowa.h: Include <_itoa.h>.
125 (_itowa_word): Use _ITOA_WORD_TYPE on value.
126 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
127 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
128 only if not defined.
129 (_ITOA_WORD_TYPE): Likewise.
130 (_itoa_word): Use _ITOA_WORD_TYPE on value.
131 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
132
6f4db457
DM
1332012-03-21 David S. Miller <davem@davemloft.net>
134
135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
136
7785fe5a
L
1372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
138
139 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
140 of x86_64 when setting libc_cv_slibdir, libdir and
141 libc_cv_localedir.
142 * sysdeps/unix/sysv/linux/configure: Regenerated.
143
4535cd55
JM
1442012-03-21 Joseph Myers <joseph@codesourcery.com>
145
146 * manual/lang.texi (Old Varargs): Remove section.
147 (How Variadic): Update menu.
148 (va_start): Do not mention varargs.h.
149
17228132
TS
1502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
151 Joseph Myers <joseph@codesourcery.com>
152
153 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
154 link test.
155 * configure: Regenerated.
156
8149f976
TS
1572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
158
159 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
160 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
161 conformtest.pl
162
1a4ac776
JM
1632012-03-21 Joseph Myers <joseph@codesourcery.com>
164
be22ce65
JM
165 * NOTES: Remove.
166 * Makefile (files-for-dist): Remove NOTES.
167 (NOTES): Remove rule.
168 * README: Don't refer to NOTES.
169 * manual/creature.texi: Don't include macros.texi.
170 * manual/intro.texi (creature.texi): Remove comment referring to
171 NOTES.
172
40b601fb
JM
173 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
174 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
175 * configure: Regenerated.
176 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
177 LIBC_TRY_CC_OPTION.
178 (libc_cv_as_i686): Likewise.
179 (libc_cv_cc_avx): Likewise.
180 (libc_cv_cc_sse2avx): Likewise.
181 (libc_cv_cc_fma4): Likewise.
182 (libc_cv_cc_novzeroupper): Likewise.
183 * sysdeps/i386/configure: Regenerated.
184
1a4ac776
JM
185 [BZ #13883]
186 * sysdeps/i386/fpu/s_cexp.S: Remove.
187 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
188 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
189 * math/libm-test.inc (cexp_test): Add more tests.
190 * sysdeps/i386/fpu/libm-test-ulps: Update.
191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
192
a458e7fe
AM
1932012-03-21 Allan McRae <allan@archlinux.org>
194
195 * timezone/Makefile: Do not install iso3166.tab and zone.tab
196
0cb7efc5
JM
1972012-03-21 Joseph Myers <joseph@codesourcery.com>
198
199 [BZ #13871]
200 * math/w_exp2.c: Do not include <float.h>.
201 (o_threshold, u_threshold): Remove.
202 (__exp2): Calculate result before checking finiteness and calling
203 __kernel_standard.
204 * math/w_exp2f.c: Likewise.
205 * math/w_exp2l.c: Likewise.
206 * math/libm-test.inc (exp2_test): Require overflow exception for
207 1e6 input.
2460d3aa
JM
208
209 [BZ #3866]
210 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
211 range of signed 64-bit integers before using fistpll. Remove
212 checks for whether integers fit in mantissa bits.
213 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
214 the range of signed 32-bit integers before using fistpl. Remove
215 checks for whether integers fit in mantissa bits.
216 * sysdeps/i386/fpu/e_powl.S (p64): New object.
217 (__ieee754_powl): Test for y outside the range of signed 64-bit
218 integers before using fistpll. Reduce 64-bit values to 63-bit
219 ones as needed.
220 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
221 divide-by-zero is raised for zero to large negative powers.
222 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
223 (__ieee754_powl): Test for y outside the range of signed 64-bit
224 integers before using fistpll. Reduce 64-bit values to 63-bit
225 ones as needed.
226 * math/libm-test.inc (pow_test): Add more tests.
227
eb96ffb0
L
2282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
229
230 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
231 <stdio-common/_itoa.h>.
232 * debug/segfault.c: Likewise.
233 * elf/dl-cache.c: Likewise.
234 * elf/dl-minimal.c: Likewise.
235 * elf/dl-misc.c: Likewise.
236 * elf/dl-sysdep.c: Likewise.
237 * elf/dl-version.c: Likewise.
238 * elf/rtld.c: Likewise.
239 * hurd/hurdsock.c: Likewise.
240 * hurd/lookup-retry.c: Likewise.
241 * malloc/malloc.c: Likewise.
242 * malloc/mtrace.c: Likewise.
243 * nscd/nscd_getgr_r.c: Likewise.
244 * nscd/nscd_getpw_r.c: Likewise.
245 * nscd/nscd_getserv_r.c: Likewise.
246 * posix/getopt_init.c: Likewise.
247 * posix/wordexp.c: Likewise.
248 * stdio-common/_itoa.c: Likewise.
249 * stdio-common/printf_fphex.c: Likewise.
250 * stdio-common/vfprintf.c: Likewise.
251 * string/_strerror.c: Likewise.
252 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
253 * sysdeps/i386/i686/hp-timing.h: Likewise.
254 * sysdeps/mach/_strerror.c: Likewise.
255 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
256 * sysdeps/mach/hurd/sethostid.c: Likewise.
257 * sysdeps/mach/hurd/xmknodat.c: Likewise.
258 * sysdeps/mach/xpg-strerror.c: Likewise.
259 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
260 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
261 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
262 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
263 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
264 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
265 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
266 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
267 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
268 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
269 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
270 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
271 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
272 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
273 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
274 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
275 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
276 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
277 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
278 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
279 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
280
281 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
282
283 * stdio-common/_itoa.h: Moved to ...
284 * sysdeps/generic/_itoa.h: Here.
285
286 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
287
288 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
289 instead of "_itoa.h" and "_itowa.h".
290 * stdio-common/vfprintf.: Likewise.
291
d1af992d
L
2922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
293
294 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
295 <bits/wordsize.h>.
296 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
297 (__signbit): Likwise.
298 (llrintf): Likwise.
299 (llrint): Likwise.
300
114883e0
L
3012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
302
303 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
304 __WORDSIZE != 64.
305
c135cc1b
JM
3062012-03-20 Joseph Myers <joseph@codesourcery.com>
307
308 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
309 OVERFLOW_EXCEPTION_OK.
310 * math/libm-test.inc ("Philosophy"): Update comment about
311 exception testing.
312 (OVERFLOW_EXCEPTION): Define.
313 (OVERFLOW_EXCEPTION_OK): Likewise.
314 (INVALID_EXCEPTION_OK): Renumber.
315 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
316 (IGNORE_ZERO_INF_SIGN): Likewise.
317 (test_exceptions): Handle FE_OVERFLOW.
318 (exp10_test): Expect overflow exceptions.
319 (exp2_test): Likewise.
320 (expm1_test): Likewise.
321 (nextafter_test): Likewise.
322 (pow_test): Likewise.
323 (scalbn_test): Likewise.
324 (scalbln_test): Likewise.
325
95443d88
L
3262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
327
328 * sysdeps/x86_64/bits/atomic.h
329 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
330 64bit integer.
331 (atomic_exchange_acq): Likewise.
332 (__arch_exchange_and_add_body): Likewise.
333 (__arch_add_body): Likewise.
334 (atomic_add_negative): Likewise.
335 (atomic_add_zero): Likewise.
336
490df6c4
L
3372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
338
c2722551 339 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
340 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
341
5e52b189
L
3422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
343
344 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
345 Check __x86_64__ instead of __WORDSIZE.
346
a9879d4c
L
3472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
348
349 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
350
5df98260
DM
3512012-03-19 David S. Miller <davem@davemloft.net>
352
e1497744
DM
353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
354
5df98260
DM
355 * sysdeps/sparc/fpu/fenv_private.h: New file.
356 * sysdeps/sparc/fpu/math_private.h: Use it.
357 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
358 Remove.
359 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
360 (libc_feholdexcept_setroundl): Remove.
361 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
362 Remove.
363 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
364 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
365
b4c35121
L
3662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
367
368 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
369 int64_t instead of long int.
370 (INSERT_WORDS64): Likwise.
371
56965fd7
L
3722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
373
374 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
375 _Unwind_GetCFA return to _Unwind_Ptr first.
376
83d1aec8
JM
3772012-03-19 Joseph Myers <joseph@codesourcery.com>
378
1897ad44
JM
379 [BZ #13629]
380 * math/s_clog.c: Include <float.h>.
381 (__clog): Scale large or subnormal inputs.
382 * math/s_clogf.c: Likewise.
383 * math/s_clogl.c: Likewise.
384 * math/s_clog10.c: Include <float.h>.
385 (M_LOG10_2): Define.
386 (__clog10): Scale large or subnormal inputs.
387 * math/s_clog10f.c: Likewise.
388 * math/s_clog10l.c: Likewise.
389 * math/libm-test.inc (clog_test): Add more tests.
390 (clog10_test): Likewise.
391 * sysdeps/i386/fpu/libm-test-ulps: Update.
392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
393
7726d6a9
JM
394 [BZ #11451]
395 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
396 x and y.
397 * math/libm-test.inc (atan2_test): Add another test.
398
83d1aec8
JM
399 * Makerules (common-objdir-compile): Remove.
400 * sysdeps/unix/Makefile (config-generated): Do not add
401 $(unix-generated) to variable.
402 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
403 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
404 Remove rule.
405 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
406 Likewise.
407 [generic bits/local_lim.h] (before-compile): Do not append to
408 variable.
409 [generic bits/local_lim.h] (common-generated): Likewise.
410 [generic sys/param.h] (before-compile): Do not append to variable.
411 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
412 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
413 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
414 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
415 include.
416 [generic sys/param.h] (sys/param.h-includes): Remove variable.
417 [generic sys/param.h] (sys/param.h-includes): Remove rule.
418 [generic sys/param.h] ($(addprefix
419 $(common-objpfx),$(sys/param.h-includes))): Likewise.
420 [generic sys/param.h] (common-generated): Do not append to
421 variable.
422 [generic sys/param.h] (sysdep_headers): Likewise.
423 [generic bits/errno.h] (before-compile): Do not append to
424 variable.
425 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
426 rule.
427 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
428 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
429 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
430 [generic bits/errno.h] (common-generated): Do not append to
431 variable.
432 [generic bits/ioctls.h] (before-compile): Do not append to
433 variable.
434 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
435 rule.
436 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
437 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
438 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
439 rule.
440 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
441 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
442 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
443 [generic bits/ioctls.h] (common-generated): Do not append to
444 variable.
445 [generic sys/syscall.h] (syscall.h): Remove variable.
446 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
447 rule.
448 [generic sys/syscall.h] (before-compile): Do not append to
449 variable.
450 [generic sys/syscall.h] (common-generated): Likewise.
451 * sysdeps/unix/errnos-tmpl.c: Remove file.
452 * sysdeps/unix/errnos.awk: Likewise.
453 * sysdeps/unix/ioctls-tmpl.c: Likewise.
454 * sysdeps/unix/ioctls.awk: Likewise.
455 * sysdeps/unix/mk-local_lim.c: Likewise.
456 * sysdeps/unix/snarf-ioctls: Likewise.
457
4851a949
RH
4582012-03-19 Richard Henderson <rth@twiddle.net>
459
bd37f2ee
RH
460 * sysdeps/i386/fpu/fenv_private.h: New file.
461 * sysdeps/i386/fpu/math_private.h: Use it.
462 (math_opt_barrier, math_force_eval): Remove.
463 (libc_feholdexcept_setround_53bit): Remove.
464 (libc_feupdateenv_53bit): Remove.
465 * sysdeps/x86_64/fpu/math_private.h: Likewise.
466 (math_opt_barrier, math_force_eval): Remove.
467 (libc_feholdexcept): Remove.
468 (libc_feholdexcept_setround): Remove.
469 (libc_fetestexcept, libc_fesetenv): Remove.
470 (libc_feupdateenv_test): Remove.
471 (libc_feupdateenv, libc_feholdsetround): Remove.
472 (libc_feresetround): Remove.
473
d0adc922
RH
474 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
475 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
476
0fe0f1f8
RH
477 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
478 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
479 (libc_feupdateenv_testl): New.
480 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
481 (libc_feupdateenv_testf): New.
482 (libc_feupdateenv): Use libc_feupdateenv_test.
483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
484 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
485
eb92c487
RH
486 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
487 (libc_feholdsetroundf, libc_feholdsetroundl): New.
488 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
489 (libc_feresetround_noex): New.
490 (libc_feresetround_noexf): New.
491 (libc_feresetround_noexl): New.
492 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
493 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
494 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
495 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
496 SET_RESTORE_ROUND.
497 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
498 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
499 (__cos): Likewise.
500 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
501 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
502 SET_RESTORE_ROUND_NOEX.
503 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
504 SET_RESTORE_ROUND_NOEXF.
505 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
506 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
507 (libc_feholdsetroundf): New.
508 (libc_feresetround, libc_feresetroundf): New.
509
7d2e8012
RH
510 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
511 (libc_feholdexcept_setround_53bit): Convert from macro to function.
512 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
513
b4dabbb4
RH
514 * sysdeps/generic/math_private.h: Include <fenv.h>.
515 (default_libc_feholdexcept): New.
516 (default_libc_feholdexcept_setround): New.
517 (default_libc_fesetenv, default_libc_feupdateenv): New.
518 (libc_feholdexcept): Only define if undefined.
519 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
520 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
521 (libc_feholdexcept_setroundl): Likewise.
522 (libc_feholdexcept_setround_53bit): Likewise.
523 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
524 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
525 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
526 (libc_feupdateenv_53bit): Likewise.
527 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
528 (libc_feholdexcept): Convert from macro to inline function.
529 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
530 (libc_fesetenv, libc_feupdateenv): Likewise.
531
4851a949
RH
532 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
533 not previously defined.
534 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
535 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
536 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
537 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
538 * sysdeps/ieee754/flt-32/math_private.h: New file.
539 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
540 math_private.h below SET_FLOAT_WORD.
541 (__isnan, __isinf_ns, __finite): Remove.
542 (__isnanf, __isinf_nsf, __finitef): Remove.
543
e79d442e
AS
5442012-03-18 Andreas Schwab <schwab@linux-m68k.org>
545
546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
547
90b80344
DM
5482012-03-17 David S. Miller <davem@davemloft.net>
549
550 [BZ #6471]
551 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
552 for 2.16.
553
edc21804
DM
5542012-03-16 David S. Miller <davem@davemloft.net>
555
77e927af
DM
556 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
557 warnings.
558
374976dd
DM
559 [BZ #6471]
560 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
561 properly.
562 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
563 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
564 sysdep_routines when subdir is sysvipc.
565 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
566 __getshmlba helper.
567
edc21804
DM
568 * sysdeps/sparc/fpu/libm-test/ulps: Update.
569
473c3ef3
L
5702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
571
572 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
573 [__LP64__].
574
eb0f39b6
L
5752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
576
577 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
578 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
579 (__lround): Renamed to ...
580 (__llround): This. Replace long int with long long int.
581 Define lround functions as aliases of llround functions.
582 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
583
6b6cd74b
L
5842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
585
586 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
587 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
588 adresses to uintptr_t. Replace "long int" and "unsigned long
589 int" with "greg_t" on va_arg.
590
f1a77b01
L
5912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
592
593 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
594 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
595
596 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
597 Move e_machine check before EI_CLASS check. Handle x32
598 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
599 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
600 SKIP_EM_IA_64 and include
601 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
602
603 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
604 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
605 (add_system_dir): New macro.
606
607 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
608 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
609
11b90b9f
JM
6102012-03-16 Joseph Myers <joseph@codesourcery.com>
611
c36e1d23
JM
612 [BZ #2551]
613 [BZ #2552]
614 [BZ #2553]
615 [BZ #2554]
616 [BZ #2562]
617 [BZ #2563]
618 [BZ #2565]
619 [BZ #2566]
620 [BZ #2576]
621 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
622 (y0): Likewise.
623 * math/w_j0f.c (j0f): Likewise.
624 (y0f): Likewise.
625 * math/w_j0l.c (__j0l): Likewise.
626 (__y0l): Likewise.
627 * math/w_j1.c (j1): Likewise.
628 (y1): Likewise.
629 * math/w_j1f.c (j1f): Likewise.
630 (y1f): Likewise.
631 * math/w_j1l.c (__j1l): Likewise.
632 (__y1l): Likewise.
633 * math/w_jn.c (jn): Likewise.
634 (yn): Likewise.
635 * math/w_jnf.c (jnf): Likewise.
636 (ynf): Likewise.
637 * math/w_jnl.c (__jnl): Likewise.
638 (__ynl): Likewise.
639 * math/libm-test.inc (j0_test): Add more tests.
640 (j1_test): Likewise.
641 (jn_test): Likewise. Add trailing semicolon to existing test.
642 (y0_test): Likewise.
643 (y1_test): Likewise.
644 * sysdeps/i386/fpu/libm-test-ulps: Update.
645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
646
11b90b9f
JM
647 [BZ #13851]
648 [BZ #13854]
649 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
650 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
651 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
652 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
653 (__tanl): Set errno for infinite argument.
654 * sysdeps/i386/fpu/mptan.c: Remove.
655 * sysdeps/i386/fpu/s_tan.S: Likewise.
656 * sysdeps/i386/fpu/s_tanl.S: Likewise.
657 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
658 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
659 * math/libm-test.inc (tan_test): Add more tests and enable more
660 tests for double and long double.
661 * sysdeps/i386/fpu/libm-test-ulps: Update.
662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
663
6a1bd2a1
JK
6642012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
665
666 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
667 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
668
10a803e0
RM
6692012-03-16 Roland McGrath <roland@hack.frob.com>
670
671 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
672 * configure.in: Use it for both main tree and add-ons.
673 * configure: Regenerated.
674
f196c7f7
L
6752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
676
677 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
678
8848d99d
JM
6792012-03-16 Joseph Myers <joseph@codesourcery.com>
680
96cbe7f4
JM
681 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
682 in comment.
683
8848d99d
JM
684 [BZ #13851]
685 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
686 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
687 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
688 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
689 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
690 infinite argument.
691 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
692 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
693 != 0 for prec == 2.
694 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
695 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
696 * sysdeps/i386/fpu/s_cosl.S: Likewise.
697 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
698 * sysdeps/i386/fpu/s_sinl.S: Likewise.
699 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
700 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
701 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
702 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
703 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
704 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
705 * math/libm-test.inc (cos_test): Add more tests and enable more
706 tests for long double.
707 (sin_test): Likewise.
708 (sincos_test): Likewise.
709 * sysdeps/i386/fpu/libm-test-ulps: Update.
710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
711
dd7f4703
DM
7122012-03-16 David S. Miller <davem@davemloft.net>
713
714 * sysdeps/sparc/fpu/math_private.h: New file.
715
006f1daa
DM
7162012-03-15 David S. Miller <davem@davemloft.net>
717
c0c83bc8
DM
718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
719 file.
e6a62e18 720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
722 file.
e6a62e18
DM
723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
728 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
729 sysdep routines.
730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
731
88cb87d9
DM
732 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
733 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
734
006f1daa 735 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
737 sparc-ifunc.h
006f1daa 738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
740 Likewise.
741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
742 Likewise.
006f1daa
DM
743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
747 Likewise.
006f1daa
DM
748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
753 Likewise.
754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
755 Likewise.
006f1daa
DM
756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
763 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
775 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
777 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
779 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
780
11e0098e
AS
7812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
782
783 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
784 scaling.
785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
786
e85b09d0
AJ
7872012-03-15 Andreas Jaeger <aj@suse.de>
788
789 [BZ #13852]
790 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
791 ieee754/flt-32 implementation for sin, cos and sincos.
792 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
793 * sysdeps/i386/fpu/s_cosf.S: Likewise.
794 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
795 * sysdeps/i386/fpu/s_sinf.S: Likewise.
796 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
797 ieee754/flt-32 implementation for tan.
798
799 * math/libm-test.inc (cos_test): Enable some large input tests for
800 float as well
801 (sin_test): Likewise.
802 (sincos_test): Likewise.
803 (tan_test): Add tests for large input.
804
805 * sysdeps/i386/fpu/libm-test-ulps: Update.
806
81c64153
AJ
8072012-03-15 Andreas Jaeger <aj@suse.de>
808
809 [BZ #13658]
810 * math/libm-test.inc (cos_test): Add more test cases.
811 (sin_test): Likewise.
812 (sincos_test): Likewise.
813
7bbfa5c6
AJ
8142012-03-15 Andreas Jaeger <aj@suse.de>
815
816 [BZ #13837]
817 * math/libm-test.inc (cos_test): Add a test case for large input
818 value.
819 (sin_test): Likewise.
820 (sincos_test): Likewise.
821
8222012-03-15 Andreas Jaeger <aj@suse.de>,
823 Joseph Myers <joseph@codesourcery.com>
824
825 [BZ #13658]
0671f479 826 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
827 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
828 * sysdeps/i386/fpu/branred.c: Likewise.
829 * sysdeps/i386/fpu/dosincos.c: Likewise.
830 * sysdeps/i386/fpu/mpa.c: Likewise.
831 * sysdeps/i386/fpu/s_cos.S: Likewise.
832 * sysdeps/i386/fpu/s_sin.S: Likewise.
833 * sysdeps/i386/fpu/s_sincos.S: Likewise.
834 * sysdeps/i386/fpu/sincos32.c: Likewise.
835
836 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
837 Define.
838 (libc_feupdateenv_53bit): Define.
839 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
840 Define.
841 (libc_feupdateenv_53bit): Define.
842
843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
844 53 bit (without extend i386 double precision).
845
846 * math/libm-test.inc (sincos_test): Add tests for large input.
847 (sin): Likewise.
848 (cos): Likewise.
849
850 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
851
9cad04ea
AS
8522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
853
854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
855
f7062b9a
DM
8562012-03-15 David S. Miller <davem@davemloft.net>
857
858 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
859 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
860 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
861 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
874 file.
f7062b9a 875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
877 file.
f7062b9a 878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
880 file.
f7062b9a 881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
883 file.
f7062b9a
DM
884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
885 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
886 fmin/fmax sysdep routines.
887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
888
7bd951ff
DM
8892012-03-14 David S. Miller <davem@davemloft.net>
890
559398ab
DM
891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
894 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
895 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
896 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
897 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
898 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
911 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
914 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
917 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
918 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
919 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
920 routines.
921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
922 file.
559398ab 923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
925 file.
559398ab 926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
928 file.
559398ab 929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
931 file.
559398ab 932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
934 file.
559398ab 935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
937 file.
938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
939 file.
940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
941 file.
942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
943 file.
944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
945 New file.
946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
947 file.
948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
949 file.
559398ab 950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
952 file.
559398ab 953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
955 file.
559398ab 956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
958 file.
559398ab 959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
961 VIS3 routines.
559398ab
DM
962
963 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
964 New file.
965
5a1c1e32
DM
966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
967
eae47a36
DM
968 * sysdeps/sparc/configure.in: New file.
969 * sysdeps/sparc/configure: Generate.
970 * configure.in (libc_cv_sparc_as_vis3): Substitute.
971 * configure: Regenerate.
972 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
973 * config.make.in (have-as-vis3): New.
974 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
975 available use -Av9d instead of -Av9a.
976 * sysdeps/sparc/sparc64/Makefile: Likewise.
977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
979 New file.
980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
981 file.
982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
983 New file.
984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
985 file.
eae47a36
DM
986 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
990 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
991
c0c83bc8
DM
992 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
993 fzeros/fnegs to load 0x80000000 into a float register instead of
994 using the stack.
7bd951ff
DM
995 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
996
bd951ccb
JM
9972012-03-14 Joseph Myers <joseph@codesourcery.com>
998
999 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1000 bits/syscall.h.
1001 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1002 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1003 ($(inst_includedir)/bits/syscall.h): Remove rule.
1004 ($(objpfx)bits/syscall.d): Include instead of
1005 $(objpfx)syscall-list.d.
1006 (generated): Change syscall-list.h and syscall-list.d to
1007 bits/syscall.h and bits/syscall.d.
1008
bb4e6db2
RM
10092012-03-14 Roland McGrath <roland@hack.frob.com>
1010
1011 [BZ #13846]
1012 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1013
aa4a2ae1
JM
10142012-03-14 Joseph Myers <joseph@codesourcery.com>
1015
e456826d
JM
1016 [BZ #13841]
1017 * math/s_csqrt.c: Include <float.h>.
1018 (__csqrt): Scale large or subnormal inputs.
1019 * math/s_csqrtf.c: Likewise.
1020 * math/s_csqrtl.c: Likewise.
1021 * math/libm-test.inc (csqrt_test): Add more tests.
1022 * sysdeps/i386/fpu/libm-test-ulps: Update.
1023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1024
aa4a2ae1
JM
1025 [BZ #13840]
1026 * math/libm-test.inc (hypot_test): Add more tests.
1027
7c10fd35
DM
10282012-03-13 David S. Miller <davem@davemloft.net>
1029
1030 [BZ #13840]
1031 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1032 double-precision for the calculation instead of scaling.
1033
f453b98b
JM
10342012-03-13 Joseph Myers <joseph@codesourcery.com>
1035
1036 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1037 manipulate bits before adding and subtracting TWO52[sx].
1038 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1039 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1040 Likewise.
1041 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1042
09a3453f
DM
10432012-03-13 David S. Miller <davem@davemloft.net>
1044
8e59da90
DM
1045 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1046 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1047 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1048 rtld-global-offsets.h
1049 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1050
2a8ab7f2
DM
1051 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1052 large parameters.
1053
10f62770
DM
1054 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1055
5f0bdb18
DM
1056 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1057 'err' in the ifdef scope in which it is actually used.
1058
09a3453f
DM
1059 * nss/nss_db/db-init.c: Include string.h
1060
b4b2eb5e
DM
10612012-03-12 David S. Miller <davem@davemloft.net>
1062
98bb2f1c
DM
1063 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1064 masking out of the most significant byte of random value used.
1065 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1066 Fix coding style in previous change.
1067
b4b2eb5e
DM
1068 * sysdeps/unix/sysv/linux/kernel-features.h
1069 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1070 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1071 expression.
1072 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1073 later.
1074
6e226b09
DM
10752012-03-11 David S. Miller <davem@davemloft.net>
1076
a1bcbd40
DM
1077 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1078 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1079 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1080 for 'resultvar' otherwise things get truncated on 64-bit.
1081
cb9d6174
DM
1082 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1083 Fix masking out of the most significant byte of random value used.
1084
6e226b09
DM
1085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1086
058c132d
AS
10872012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1088
1089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1090
2d2cd515
DM
10912012-03-09 David S. Miller <davem@davemloft.net>
1092
1093 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1094 variables with appropriate CPP guards.
1095 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1096 frame pointer, not the stack pointer. Correct layout comments. Fix test
1097 on resulting framesize and the management of the outregs buffer for pltexit.
1098 Preserve floating point return values across _dl_call_pltexit call.
1099 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1100 framesize and the management of the outregs buffer for pltexit.
1101 Preserve floating point return values across _dl_call_pltexit
1102 call.
1103 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1104 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1105 (print_exit): Fix format string for return register value.
1106
9a07f9d0
JM
11072012-03-10 Joseph Myers <joseph@codesourcery.com>
1108
1109 * sunrpc/Makefile (others): Add rpcgen.
1110 ($(objpfx)rpcgen): Remove special build rule and dependency on
1111 libc.
1112 * sunrpc/rpcgen.c: New file.
1113
547b5e30
PE
11142012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1115
c524201a
PE
1116 [BZ #13673]
1117 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1118 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1119 * sysdeps/i386/crti.S: Likewise.
1120 * sysdeps/i386/crtn.S: Likewise.
1121 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1122 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1123 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1124 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1125 * sysdeps/sh/crti.S: Likewise.
1126 * sysdeps/sh/crtn.S: Likewise.
1127 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1128
7b6235f2
PE
1129 [BZ #13673]
1130 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1131 with URL.
1132 * locale/programs/locfile-kw.gperf: Likewise.
1133 * locale/programs/charmap-kw.h: Regenerated.
1134 * locale/programs/locfile-kw.h: Likewise.
1135
547b5e30
PE
1136 [BZ #13673]
1137 * intl/plural.y: Replace FSF snail mail address with URL.
1138 * intl/plural.c: Regenerated.
1139
5f0a5dae
RH
11402012-03-09 Richard Henderson <rth@twiddle.net>
1141
1142 * include/math_private.h: Remove file.
1143 * math/math_private.h: Move file ...
1144 * sysdeps/generic/math_private.h: ... here.
1145
b8c03620
RH
1146 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1147 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1148 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1149
4e234f5d 1150 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1151 and <math_private.h>.
1152 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1153 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1154 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1155 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1156 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1157 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1158 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1160 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1161 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1162 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1163 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1164 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1165 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1166 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1167 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1168 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1169 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1170 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1171 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1173 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1174 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1175 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1176 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1177 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1178 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1179 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1180 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1181 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1182 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1184 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1185 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1186 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1187 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1188 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1189 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1190 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1191 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1192 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1193 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1195 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1196 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1197 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1198 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1199 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1200 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1201 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1202 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1203 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1204 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1205 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1206 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1207 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1208 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1209 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1210 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1211 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1212 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1213 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1214 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1215 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1216 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1217 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1218 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1219 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1220 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1221 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1222 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1223 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1224 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1226 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1228 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1230 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1231 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1232 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1233 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1234 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1235 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1236 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1237 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1239 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1240 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1241 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1242 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1243 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1244 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1245 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1246 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1247 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1248 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1249 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1250 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1251 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1252 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1253 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1254 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1255 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1256 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1257 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1258 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1259 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1260 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1261 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1262 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1263 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1264 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1265 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1266 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1268 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1269 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1270 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1271 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1272 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1273 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1274 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1275 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1276 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1277 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1278 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1279 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1280 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1281 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1282 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1283 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1284 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1285 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1286 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1287 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1288 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1289 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1290 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1291 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1292 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1293 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1294 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1295 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1296 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1297 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1298 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1299 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1300 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1301 * sysdeps/ieee754/k_standard.c: Likewise.
1302 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1303 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1305 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1306 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1307 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1311 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1312 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1314 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1315 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1316 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1317 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1318 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1319 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1320 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1321 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1322 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1323 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1324 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1325 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1326 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1327 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1328 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1329 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1330 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1331 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1332 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1333 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1334 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1335 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1336 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1337 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1338 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1339 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1340 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1341 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1343 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1344 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1345 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1346 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1348 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1349 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1351 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1352 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1353 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1354 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1355 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1356 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1357 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1358 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1359 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1360 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1361 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1362 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1363 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1364 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1365 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1366 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1367 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1368 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1369 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1370 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1371 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1372 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1374 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1375 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1376 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1377 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1378 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1379 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1380 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1381 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1382 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1383 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1384 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1385 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1386 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1387 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1389 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1390 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1392 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1393 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1395 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1396 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1397 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1398 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1399 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1400 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1401 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1402 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1403 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1404 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1405 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1406 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1407 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1408 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1409 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1410 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1411 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1412 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1413 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1414 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1415 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1416 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1417 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1418 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1419 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1420 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1421 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1422 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1423 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1424 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1425 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1426 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1427 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1428 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1429 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1430 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1431 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1432 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1433 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1434 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1435 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1436 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1437 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1438 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1439 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1440 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1441 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1442 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1443 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1444 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1445 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1446 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1447 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1448 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1449 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1450 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1451 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1452 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1453 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1454 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1455 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1456 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1457 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1458 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1459 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1460 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1461 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1462 * sysdeps/ieee754/s_lib_version.c: Likewise.
1463 * sysdeps/ieee754/s_matherr.c: Likewise.
1464 * sysdeps/ieee754/s_signgam.c: Likewise.
1465 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1466 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1467 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1468 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1469 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1470 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1471 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1472 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1473 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1474 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1475 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1476 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1477 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1478 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1479 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1480 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1481 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1482 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1483 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1485 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1486
1991fa03
JM
14872012-03-09 Joseph Myers <joseph@codesourcery.com>
1488
1489 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1490 * sunrpc/rpc_main.c: Likewise.
1491 * sunrpc/rpc_svcout.c: Likewise.
1492
60d6f5a6
DM
14932012-03-09 David S. Miller <davem@davemloft.net>
1494
1495 * include/math_private.h: New file.
1496
4962050e
JM
14972012-03-09 Joseph Myers <joseph@codesourcery.com>
1498
02a6f887
JM
1499 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1500 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1501 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1502 from <bits/socket_type.h>.
1503 (enum __socket_type): Don't define here.
1504 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1505 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1506 bits/socket_type.h.
1507
c6e013c1
JM
1508 [BZ #13566]
1509 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1510 checking __USE_GNU.
1511
4962050e
JM
1512 * Makerules ($(inst_includedir)/%.h): New rule.
1513 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1514 (install-others): Remove variable setting.
1515 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1516
38842f45
RH
15172012-03-08 Richard Henderson <rth@twiddle.net>
1518
67bb6da6
RH
1519 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1520 from macro to inline function; merge with the
1521 !__LIBC_INTERNAL_MATH_INLINES version.
1522 (__ieee754_sqrtf): Likewise.
1523
15194b4b
RH
1524 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1525 to inline function.
1526 (__rintf, __floor, __floorf): Likewise.
1527
64e21ede
RH
1528 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1529 macro to inline function.
1530 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1531
38842f45
RH
1532 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1533 not <math/math_private.h>.
1534
c64bf5fe
DM
15352012-03-08 David S. Miller <davem@davemloft.net>
1536
1537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1538 copyright year.
1539 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1540
82d86f28
TS
15412012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1542
1543 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1544 normalization.
1545 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1546 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1547
aea5d727
UD
15482012-03-08 Ulrich Drepper <drepper@gmail.com>
1549
1550 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1551 be defined individually, they must be defined as a block. Define
1552 S for printing a string instead of hidint the different by using a
1553 macro for adding the 'l'.
1554 * stdio-common/tst-fphex-wide.c: Adjust.
1555
70bca0a3
MP
15562012-03-07 Marek Polacek <polacek@redhat.com>
1557
1558 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1559
65b81130
MP
15602012-03-08 Marek Polacek <polacek@redhat.com>
1561
1562 [BZ #13806]
1563 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1564 * stdio-common/tst-fphex.c: Define a few macros to make the
1565 test reusable. Use them.
1566 * stdio-common/tst-fphex-wide.c: New file.
1567
07037eeb
JM
15682012-03-08 Joseph Myers <joseph@codesourcery.com>
1569
a7a93d50
JM
1570 [BZ #6911]
1571 * manual/macros.texi (gnusystems): New macro.
1572 (nongnusystems): Likewise.
1573 (gnulinuxhurdsystems): Likewise.
1574 (gnuhurdsystems): Likewise..
1575 (gnulinuxsystems): Likewise.
1576 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1577 variants of the GNU system, not "GNU system".
1578 * manual/conf.texi: Likewise.
1579 * manual/errno.texi: Likewise. Update example of errno macro
1580 expansion.
1581 * manual/filesys.texi: Likewise.
1582 (getumask): Document as specific to GNU/Hurd.
1583 * manual/install.texi: Likewise. Reword some references to
1584 GNU/Linux.
1585 * manual/intro.texi: Likewise.
1586 * manual/io.texi: Likewise.
1587 (File Name Portability): Detail which constraints are inapplicable
1588 to all GNU systems and which are only inapplicable to GNU/Hurd.
1589 * manual/job.texi: Likewise.
1590 * manual/llio.texi: Likewise.
1591 (O_NOCTTY): Document as present on GNU/Linux.
1592 * manual/maint.texi: Likewise.
1593 * manual/memory.texi: Likewise.
1594 * manual/pattern.texi: Likewise.
1595 * manual/pipe.texi: Likewise.
1596 * manual/process.texi: Likewise.
1597 * manual/resource.texi: Likewise.
1598 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1599 child on GNU/Hurd.
1600 * manual/setjmp.texi: Likewise.
1601 * manual/signal.texi: Likewise.
1602 * manual/startup.texi: Likewise.
1603 * manual/stdio.texi: Likewise.
1604 * manual/terminal.texi: Likewise.
1605 (ONLCR): Document as POSIX.
1606 (OXTABS): Document availability on GNU/Linux as XTABS.
1607 (ONOEOT): Document availability separately from other bits.
1608 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1609 * manual/time.texi: Likewise.
1610 * manual/users.texi: Likewise.
1611 * INSTALL: Regenerated.
1612 * sysdeps/gnu/errlist.c: Regenerated.
1613
07037eeb
JM
1614 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1615 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1616 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1617 puts.
1618 * configure: Regenerated.
1619
d1d3431a
JM
16202012-03-07 Joseph Myers <joseph@codesourcery.com>
1621
af6a1e37
JM
1622 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1623 default includes instead of AC_HEADER_CHECK.
1624 * sysdeps/i386/configure: Regenerated.
1625
d1d3431a
JM
1626 [BZ #10716]
1627 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1628 * math/s_cacoshf.c (__cacoshf): Likewise.
1629 * math/s_cacoshl.c (__cacoshl): Likewise.
1630 * math/s_casinh.c (__casinh): Set signs of result from argument.
1631 * math/s_casinhf.c (__casinhf): Likewise.
1632 * math/s_casinhl.c (__casinhl): Likewise.
1633 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1634 (casinh_test): Add more tests.
1635 * sysdeps/i386/fpu/libm-test-ulps: Update.
1636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1637
482ff4da
UD
16382012-03-07 Ulrich Drepper <drepper@gmail.com>
1639
872fda05
UD
1640 * po/zh_TW.po: Update from translation team.
1641
a4300c7a
UD
1642 * login/Makefile (distribute): Remove variable.
1643 * catgets/Makefile: Likewise.
1644 * mach/Makefile: Likewise.
1645 * malloc/Makefile: Likewise.
1646 * misc/Makefile: Likewise.
1647 * iconv/Makefile: Likewise.
1648 * nscd/Makefile: Likewise.
1649 * hurd/Makefile: Likewise.
1650 * manual/Makefile: Likewise.
1651 * locale/Makefile: Likewise.
1652 * intl/Makefile: Likewise.
1653 * conform/Makefile: Likewise.
1654 * nss/Makefile: Likewise.
1655 * time/Makefile: Likewise.
1656 * soft-fp/Makefile: Likewise.
1657 * dirent/Makefile: Likewise.
1658 * gmon/Makefile: Likewise.
1659 * po/Makefile: Likewise.
1660 * rt/Makefile: Likewise.
1661 * socket/Makefile: Likewise.
1662 * math/Makefile: Likewise.
1663 * signal/Makefile: Likewise.
1664 * debug/Makefile: Likewise.
1665 * elf/Makefile: Likewise.
1666 * timezone/Makefile: Likewise.
1667 * stdlib/Makefile: Likewise.
1668 * iconvdata/Makefile: Likewise.
1669 * sunrpc/Makefile: Likewise.
1670 * io/Makefile: Likewise.
1671 * argp/Makefile: Likewise.
1672 * inet/Makefile: Likewise.
1673 * hesiod/Makefile: Likewise.
1674 * grp/Makefile: Likewise.
1675 * csu/Makefile: Likewise.
1676 * wctype/Makefile: Likewise.
1677 * crypt/Makefile: Likewise.
1678 * libio/Makefile: Likewise.
1679 * string/Makefile: Likewise.
1680 * nis/Makefile: Likewise.
1681 * resolv/Makefile: Likewise.
1682 * stdio-common/Makefile: Likewise.
1683 * wcsmbs/Makefile: Likewise.
1684 * dlfcn/Makefile: Likewise.
1685 * posix/Makefile: Likewise.
1686
482ff4da
UD
1687 * timezone/Makefile: Don't install timezone files, just the programs
1688 and scripts.
1689
f72ed77d
UD
16902012-03-06 Ulrich Drepper <drepper@gmail.com>
1691
a000466f
UD
1692 * nss/databases.def: Add missing gshadow entry.
1693
f72ed77d
UD
1694 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1695
a53b7a4e
MP
16962012-03-06 Marek Polacek <polacek@redhat.com>
1697
1698 [BZ #13726]
1699 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1700 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1701 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1702 * stdio-common/tst-long-dbl-fphex.c: New file.
1703
e9258400
DM
17042012-03-06 David S. Miller <davem@davemloft.net>
1705
1706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1707 (set_obp_int): New function.
1708 (get_obp_int): New function.
1709 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1710 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1711 Avoid unused variable warnings on 'val' and use builtin_expect.
1712 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1713 __builtin_expect.
e9258400
DM
1714 (INLINE_CLONE_SYSCALL): Likewise.
1715
3bd2c723
DM
17162012-03-05 David S. Miller <davem@davemloft.net>
1717
1718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1719
bbb78d03
AS
17202012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1721
884c5db4
AS
1722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1723
bbb78d03
AS
1724 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1725 only for |x| >= 40.
1726 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1727
1c9f702a 17282012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1729
1730 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1731 Replace gettimeofday with __vdso_gettimeofday.
1732
7be16f82
RM
1733 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1734 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1735 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1736
1737 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1738 time with __vdso_time.
1739
ed58a00f
JM
17402012-03-05 Joseph Myers <joseph@codesourcery.com>
1741
1742 * manual/lang.texi (size_t): Note types to which size_t may be
1743 equivalent with the GNU C Library, but do not describe when
1744 differences between them are significant.
1745
30ee4ced
AJ
17462012-03-05 Andreas Jaeger <aj@suse.de>
1747
1748 * sysdeps/i386/fpu/libm-test-ulps: Update.
1749
b7cd39e8
JM
17502012-03-05 Joseph Myers <joseph@codesourcery.com>
1751
1752 [BZ #3976]
1753 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1754 (__ieee754_pow): Save and restore rounding mode and use
1755 round-to-nearest for main computations.
1756 * math/libm-test.inc (pow_test_tonearest): New function.
1757 (pow_test_towardzero): Likewise.
1758 (pow_test_downward): Likewise.
1759 (pow_test_upward): Likewise.
1760 (main): Call the new functions.
1761 * sysdeps/i386/fpu/libm-test-ulps: Update.
1762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1763
1764 [BZ #3976]
1765 * math/libm-test.inc (cosh_test_tonearest): New function.
1766 (cosh_test_towardzero): Likewise.
1767 (cosh_test_downward): Likewise.
1768 (cosh_test_upward): Likewise.
1769 (sinh_test_tonearest): Likewise.
1770 (sinh_test_towardzero): Likewise.
1771 (sinh_test_downward): Likewise.
1772 (sinh_test_upward): Likewise.
1773 (main): Call the new functions.
1774 * sysdeps/i386/fpu/libm-test-ulps: Update.
1775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1776
6c6a98c9
TV
17772012-03-05 Tom de Vries <tom@codesourcery.com>
1778
1779 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1780 default stack guard is set in last bytes.
1781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1782
21bb2d2e 17832012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1784
21bb2d2e 1785 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1786
21bb2d2e
AJ
1787 [BZ #13656]
1788 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1789 possibly allocate from heap instead of stack.
1790 * stdio-common/bug-vfprintf-nargs.c: New file.
1791 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1792
c6922934
AS
17932012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1794
1795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1796
bc957d53
MP
17972012-03-03 Marek Polacek <polacek@redhat.com>
1798
1799 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1800 * math/math_private.h: Likewise.
1801 * stdlib/tst-strtod.c: Likewise.
1802 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1803 * sysdeps/x86_64/bits/atomic.h: Likewise.
1804
6358490d
DM
18052012-03-02 David S. Miller <davem@davemloft.net>
1806
1807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1811 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1812 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1813 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1814 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1815
01ae168d
RM
18162012-03-02 Roland McGrath <roland@hack.frob.com>
1817
d9a17c07
RM
1818 [BZ #13792]
1819 * manual/examples/README: New file, says the example source files
1820 can be used under GPL>=2.
1821 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1822 line containing just "*/".
1823 * manual/examples/add.c: Add copyright header (GPL>=2).
1824 * manual/examples/argp-ex1.c: Likewise.
1825 * manual/examples/argp-ex2.c: Likewise.
1826 * manual/examples/argp-ex3.c: Likewise.
1827 * manual/examples/argp-ex4.c: Likewise.
1828 * manual/examples/atexit.c: Likewise.
1829 * manual/examples/db.c: Likewise.
1830 * manual/examples/dir.c: Likewise.
1831 * manual/examples/dir2.c: Likewise.
1832 * manual/examples/execinfo.c: Likewise.
1833 * manual/examples/filecli.c: Likewise.
1834 * manual/examples/filesrv.c: Likewise.
1835 * manual/examples/fmtmsgexpl.c: Likewise.
1836 * manual/examples/genpass.c: Likewise.
1837 * manual/examples/inetcli.c: Likewise.
1838 * manual/examples/inetsrv.c: Likewise.
1839 * manual/examples/isockad.c: Likewise.
1840 * manual/examples/longopt.c: Likewise.
1841 * manual/examples/memopen.c: Likewise.
1842 * manual/examples/memstrm.c: Likewise.
1843 * manual/examples/mkfsock.c: Likewise.
1844 * manual/examples/mkisock.c: Likewise.
1845 * manual/examples/mygetpass.c: Likewise.
1846 * manual/examples/pipe.c: Likewise.
1847 * manual/examples/popen.c: Likewise.
1848 * manual/examples/rprintf.c: Likewise.
1849 * manual/examples/search.c: Likewise.
1850 * manual/examples/select.c: Likewise.
1851 * manual/examples/setjmp.c: Likewise.
1852 * manual/examples/sigh1.c: Likewise.
1853 * manual/examples/sigusr.c: Likewise.
1854 * manual/examples/stpcpy.c: Likewise.
1855 * manual/examples/strdupa.c: Likewise.
1856 * manual/examples/strftim.c: Likewise.
1857 * manual/examples/strncat.c: Likewise.
1858 * manual/examples/subopt.c: Likewise.
1859 * manual/examples/swapcontext.c: Likewise.
1860 * manual/examples/termios.c: Likewise.
1861 * manual/examples/testopt.c: Likewise.
1862 * manual/examples/testpass.c: Likewise.
1863 * manual/examples/timeval_subtract.c: Likewise.
1864
01ae168d
RM
1865 [BZ #13792]
1866 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1867 function to ...
1868 * manual/timeval_subtract.c.texi: ... here, new file.
1869
49efa33d
DM
18702012-03-02 David S. Miller <davem@davemloft.net>
1871
1872 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1873
28afd92d
JM
18742012-03-02 Joseph Myers <joseph@codesourcery.com>
1875
804360ed
JM
1876 [BZ #3976]
1877 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1878 (__sin): Save and restore rounding mode and use round-to-nearest
1879 for all computations.
1880 (__cos): Save and restore rounding mode and use round-to-nearest
1881 for all computations.
1882 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1883 <fenv.h>.
1884 (tan): Save and restore rounding mode and use round-to-nearest for
1885 all computations.
1886 * math/libm-test.inc (cos_test_tonearest): New function.
1887 (cos_test_towardzero): Likewise.
1888 (cos_test_downward): Likewise.
1889 (cos_test_upward): Likewise.
1890 (sin_test_tonearest): Likewise.
1891 (sin_test_towardzero): Likewise.
1892 (sin_test_downward): Likewise.
1893 (sin_test_upward): Likewise.
1894 (tan_test_tonearest): Likewise.
1895 (tan_test_towardzero): Likewise.
1896 (tan_test_downward): Likewise.
1897 (tan_test_upward): Likewise.
1898 (main): Call the new functions.
1899 * sysdeps/i386/fpu/libm-test-ulps: Update.
1900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1901
a6d06d7b
JM
1902 [BZ #10135]
1903 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1904 small n, then large n, before computing and testing k+n.
1905 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1906 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1907 Likewise.
1908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1909 Likewise.
1910 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1911 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1914 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1915 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1916 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1917 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1918 * math/libm-test.inc (scalbn_test): Add more tests.
1919 (scalbln_test): Likewise.
1920
07e12bb3
JM
1921 * manual/filesys.texi (mode_t): Describe constraints on size and
1922 signedness, not exact equivalence to a particular type.
1923 (ino_t): Likewise.
1924 (ino64_t): Likewise.
1925 (dev_t): Likewise.
1926 (nlink_t): Likewise.
1927 (blkcnt_t): Likewise.
1928 (blkcnt64_t): Likewise.
1929 * manual/llio.texi (off_t): Likewise.
1930
28afd92d
JM
1931 [BZ #3976]
1932 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1933 (__ieee754_exp): Save and restore rounding mode and use
1934 round-to-nearest for all computations.
1935 * math/libm-test.inc (exp_test_tonearest): New function.
1936 (exp_test_towardzero): Likewise.
1937 (exp_test_downward): Likewise.
1938 (exp_test_upward): Likewise.
1939 (main): Call the new functions.
1940 * sysdeps/i386/fpu/libm-test-ulps: Update.
1941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1942
b1eeb65d
CD
19432012-03-01 Chris Demetriou <cgd@google.com>
1944
1945 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1946 have predictable order.
1947
53362a4b
DM
19482012-03-01 David S. Miller <davem@davemloft.net>
1949
3c969083
DM
1950 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1951
759707de
DM
1952 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1953 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1954 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1955 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1956
dfdb8ff2
DM
1957 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1958 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1959 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1961 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1962 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1963 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1964 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1965 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1966
ead89f96
DM
1967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1968
7f66bd07
DM
1969 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1970 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1971 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1972
53362a4b
DM
1973 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1974 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1975 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1976 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1977 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1978 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1979 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1980 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1981 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1982 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1983 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1984 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1986 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1987 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1989 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1990 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1991 * sysdeps/sparc/elf/configure: Regenerated.
1992
7b1902cb
JM
19932012-03-01 Joseph Myers <joseph@codesourcery.com>
1994
bec039bc
JM
1995 * configure.in (AS, LD): Require binutils 2.20 or later.
1996 * configure: Regenerated.
1997 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1998 as required minimum version.
1999 * INSTALL: Regenerated.
2000
7b1902cb
JM
2001 [BZ #2541]
2002 [BZ #4108]
2003 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2004 before squaring exponent.
2005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2006 bottom long double and 27 bits of top long double before squaring
2007 exponent.
2008 * math/libm-test.inc (erfc_test): Add more tests.
2009 * sysdeps/i386/fpu/libm-test-ulps: Update.
2010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2012
f775c276
KT
20132012-03-01 Kai Tietz <ktietz@redhat.com>
2014
2015 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2016 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2017 containing bit-fields.
2018 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2019 * soft-fp/single.h (_FP_UNION_S): Likewise.
2020 * soft-fp/double.h (_FP_UNION_D): Likewise.
2021
5b8a4d4a
JM
20222012-02-29 Joseph Myers <joseph@codesourcery.com>
2023
0bab47b6
JM
2024 [BZ #13786]
2025 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2026 not include ../strcmp.S.
2027 [USE_AS_STRNCASECMP_L]: Likewise.
2028 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2029 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2030 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2031 (__strncasecmp_l_ia32): Define as alias to
2032 __strncasecmp_l_nonascii.
2033
0fcad3e2
JM
2034 [BZ #5794]
2035 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2036 * sysdeps/i386/fpu/libm-test-ulps: Update.
2037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2038
5b8a4d4a
JM
2039 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2041
8fdceb2e
JL
20422012-02-29 Jeff Law <law@redhat.com>
2043
2044 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2045 out of bounds read.
2046
1f393a11
MP
20472012-02-29 Marek Polacek <polacek@redhat.com>
2048
2049 [BZ #13706]
2050 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2051 * elf/Makefile: Add rules to run tst-unused-dep.out.
2052
8847f037
DM
20532012-02-28 David S. Miller <davem@davemloft.net>
2054
2055 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2056 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2057 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2058 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2059 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2060 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2061
169d7f11
JM
20622012-02-29 Joseph Myers <joseph@codesourcery.com>
2063
2064 * math/libm-test.inc (llround_test): Move one test from
2065 lround_test. Use TEST_f_L in moved test.
2066 (lround_test): Move misplaced test to llround_test. Add testcase
2067 from bug 2561.
2068
39adf059
UD
20692012-02-28 Ulrich Drepper <drepper@gmail.com>
2070
2071 * sysdeps/x86_64/fpu/e_expf.S: New file.
2072 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2073
71b5d1c5
SB
20742012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2075
2076 [BZ #13637]
2077 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2078 of remain_len that may cause incomplete multi-byte character and
2079 false match.
2080 * posix/bug-regex33.c: New file.
2081 * posix/Makefile (tests): Add bug-regex33.
2082
1f77f049
JM
20832012-02-28 Joseph Myers <joseph@codesourcery.com>
2084
2085 * manual/macros.texi: New file.
2086 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2087 * manual/libc.texinfo: Include macros.texi.
2088 * manual/creatute.texi: Likewise.
2089 * manual/install.texi: Likewise.
2090 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2091 @glibcadj{} in references to the GNU C Library.
2092 * manual/charset.texi: Likewise.
2093 * manual/conf.texi: Likewise.
2094 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2095 when not using those macros.
2096 * manual/creature.texi: Likewise.
2097 * manual/crypt.texi: Likewise.
2098 * manual/errno.texi: Likewise.
2099 * manual/filesys.texi: Likewise.
2100 * manual/header.texi: Likewise.
2101 * manual/install.texi: Likewise.
2102 * manual/intro.texi: Likewise.
2103 * manual/io.texi: Likewise.
2104 * manual/job.texi: Likewise.
2105 * manual/lang.texi: Likewise.
2106 * manual/libc.texiinfo: Likewise.
2107 * manual/llio.texi: Likewise.
2108 * manual/locale.texi: Likewise.
2109 * manual/maint.texi: Likewise.
2110 * manual/math.texi: Likewise.
2111 * manual/memory.texi: Likewise.
2112 * manual/message.texi: Likewise.
2113 * manual/nss.texi: Likewise.
2114 * manual/pattern.texi: Likewise.
2115 * manual/process.texi: Likewise.
2116 * manual/resource.texi: Likewise.
2117 * manual/search.texi: Likewise.
2118 * manual/setjmp.texi: Likewise.
2119 * manual/signal.texi: Likewise.
2120 * manual/socket.texi: Likewise.
2121 * manual/startup.texi: Likewise.
2122 * manual/stdio.texi: Likewise.
2123 * manual/string.texi: Likewise.
2124 * manual/sysinfo.texi: Likewise.
2125 * manual/syslog.texi: Likewise.
2126 * manual/terminal.texi: Likewise.
2127 * manual/time.texi: Likewise.
2128 * manual/users.texi: Likewise.
2129 * INSTALL: Regenerated.
2130 * NOTES: Regenerated.
d40c5d54 2131 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2132
450bf206
AS
21332012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2134
2135 * include/dirent.h: Include <dirstream.h> before
2136 <dirent/dirent.h>.
2137
741a235b
DM
21382012-02-28 David S. Miller <davem@davemloft.net>
2139
2140 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2141 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2142 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2143 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2144
d6b5aa58
DM
21452012-02-27 David S. Miller <davem@davemloft.net>
2146
1aff59a3
DM
2147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2149 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2150 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2151
d6b5aa58
DM
2152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2153 frame pointer instead of stack pointer relative arg slot.
2154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2155 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2156 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2157
433f48bf
CD
21582012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2159
2160 [BZ #3992]
2161 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2162
d674b76d
DM
21632012-02-27 David S. Miller <davem@davemloft.net>
2164
2165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2169 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2170 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2171 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2172 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2173
0e7727f7
JM
21742012-02-27 Joseph Myers <joseph@codesourcery.com>
2175
2176 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2177 later. Allow versions 5-9.
43be4ca2 2178 * configure: Regenerated.
0e7727f7
JM
2179 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2180 required minimum version and 4.6 as recommended version. Do not
2181 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2182 * INSTALL: Regenerated.
0e7727f7 2183
a78bc654
DM
21842012-02-27 David S. Miller <davem@davemloft.net>
2185
428d5830
DM
2186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2190 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2191 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2192 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2193 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2194
a78bc654
DM
2195 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2196 manipulate bits before adding and subtracting TWO112[sx].
2197 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2198
4579f81c
RM
21992012-02-27 Roland McGrath <roland@hack.frob.com>
2200
36c8acb4
RM
2201 [BZ #13775]
2202 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2203 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2204 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2205 being in POSIX, because they are in 1003.1-2008.
2206
84ad622b
RM
2207 * rt/tst-aio.c: Include <fcntl.h>.
2208 * rt/tst-aio7.c: Likewise.
2209 * rt/tst-aio64.c: Likewise.
2210
4579f81c
RM
2211 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2212
abd923db
JM
22132012-02-27 Joseph Myers <joseph@codesourcery.com>
2214
2215 * manual/install.texi (--with-headers): Describe headers as
2216 interface headers, not private headers.
2217 (Specific advice for GNU/Linux systems): Describe use of headers
2218 from "make headers_install", not private headers from older
2219 kernels.
43be4ca2 2220 * INSTALL: Regenerated.
abd923db
JM
2221 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2222 Change to 2.6.19.
2223 * sysdeps/unix/sysv/linux/configure: Regenerated.
2224
6664049b
JM
2225 * manual/llio.texi (fclean): Remove documentation.
2226
bb8b6697
JM
2227 * manual/Makefile (libc-texi-generated): New variable. Include
2228 version.texi.
2229 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2230 $(libc-texi-generated), not duplicated list of files.
2231 (version.texi, stamp-version): New rules.
2232 (realclean): Remove $(libc-texi-generated), not individual files
2233 from that list. Do not remove dir-add.texinfo.
2234 * manual/libc.texinfo: Comment out uses of edition numbers and
2235 references to printed manual. Remove last-updated dates.
2236 (EDITION): Comment out.
2237 (ISBN): Likewise.
2238 (VERSION, UPDATED): Remove.
2239 (version.texi): Include.
2240
12e5c3b9
AS
22412012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2242
2243 * sysdeps/posix/spawni.c: Include <signal.h>.
2244 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2245 * sysdeps/pthread/aio_fsync.c: Likewise.
2246
4efeffc1 22472012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2248
ba63ba08
UD
2249 * conform/Makefile (tests): Run only when not cross-compiling and
2250 when fast-check is not defined.
2251
d94a4670
UD
2252 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2253 * conform/data/limits.h-data: Fixes for POSIX2008.
2254 * conform/run-conformtest.sh: Run all tests.
2255 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2256 headers.
2257 * include/bits/dlfcn.h: Likewise.
2258 * include/langinfo.h: Likewise.
2259 * include/monetary.h: Likewise.
2260 * include/sys/poll.h: Likewise.
2261
2262 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2263 for __USE_GNU.
2264 * posix/spawn.h: Define __need_sigset_t.
2265 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2266 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2267 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2268 to get sigevent_t only.
2269 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2270 only for __USE_GNU.
2271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2272 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2273 process_vm_writev only for __USE_GNU.
2274 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2275
2276 * conform/Makefile: For now ignore errors from run-conformtest.
2277 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2278 POSIX to avoid namespace pollution. Don't prepend headers.
2279 * conform/data/aio.h-data: Fixes for POSIX testing.
2280 * conform/data/fcntl.h-data: Likewise.
2281 * conform/data/glob.h-data: Likewise.
2282 * conform/data/grp.h-data: Likewise.
2283 * conform/data/pthread.h-data: Likewise.
2284 * conform/data/pwd.h-data: Likewise.
2285 * conform/data/signal.h-data: Likewise.
2286 * conform/data/spawn.h-data: Likewise.
2287 * conform/data/stdio.h-data: Likewise.
2288 * conform/data/stdlib.h-data: Likewise.
2289 * conform/data/stropts.h-data: Likewise.
2290 * conform/data/sys/mman.h-data: Likewise.
2291 * conform/data/sys/stat.h-data: Likewise.
2292 * conform/data/sys/types.h-data: Likewise.
2293 * conform/data/sys/wait.h-data: Likewise.
2294 * conform/data/time.h-data: Likewise.
2295 * conform/data/unistd.h-data: Likewise.
2296 * conform/data/utime.h-data: Likewise.
2297
2298 * io/sys/stat.h: fchmod was always in POSIX.
2299 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2300 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2301 * rt/aio.h: Define __need_timespec before including <time.h>.
2302 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2303 struct. Add forward declaration of pthread_attr_t and use it in
2304 sigevent.
2305 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2306 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2307 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2308 always remove CLK_TCK definition.
2309
c20105c3
AS
23102012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2311
2312 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2313
7a270350
UD
23142012-02-25 Ulrich Drepper <drepper@gmail.com>
2315
31341567
UD
2316 * conform/run-conformtest.sh: New file.
2317 * conform/Makefile: Run run-conformtest for tests.
2318 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2319 support.
2320
2321 * conform/data/uchar.h-data: New file.
2322 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2323 * conform/data/arpa/inet.h-data: Likewise.
2324 * conform/data/assert.h-data: Likewise.
2325 * conform/data/complex.h-data: Likewise.
2326 * conform/data/cpio.h-data: Likewise.
2327 * conform/data/ctype.h-data: Likewise.
2328 * conform/data/dirent.h-data: Likewise.
2329 * conform/data/dlfcn.h-data: Likewise.
2330 * conform/data/errno.h-data: Likewise.
2331 * conform/data/fcntl.h-data: Likewise.
2332 * conform/data/float.h-data: Likewise.
2333 * conform/data/fmtmsg.h-data: Likewise.
2334 * conform/data/fnmatch.h-data: Likewise.
2335 * conform/data/ftw.h-data: Likewise.
2336 * conform/data/glob.h-data: Likewise.
2337 * conform/data/grp.h-data: Likewise.
2338 * conform/data/iconv.h-data: Likewise.
2339 * conform/data/inttypes.h-data: Likewise.
2340 * conform/data/langinfo.h-data: Likewise.
2341 * conform/data/libgen.h-data: Likewise.
2342 * conform/data/limits.h-data: Likewise.
2343 * conform/data/locale.h-data: Likewise.
2344 * conform/data/math.h-data: Likewise.
2345 * conform/data/monetary.h-data: Likewise.
2346 * conform/data/mqueue.h-data: Likewise.
2347 * conform/data/ndbm.h-data: Likewise.
2348 * conform/data/net/if.h-data: Likewise.
2349 * conform/data/netdb.h-data: Likewise.
2350 * conform/data/netinet/in.h-data: Likewise.
2351 * conform/data/nl_types.h-data: Likewise.
2352 * conform/data/poll.h-data: Likewise.
2353 * conform/data/pthread.h-data: Likewise.
2354 * conform/data/pwd.h-data: Likewise.
2355 * conform/data/regex.h-data: Likewise.
2356 * conform/data/sched.h-data: Likewise.
2357 * conform/data/search.h-data: Likewise.
2358 * conform/data/semaphore.h-data: Likewise.
2359 * conform/data/setjmp.h-data: Likewise.
2360 * conform/data/signal.h-data: Likewise.
2361 * conform/data/spawn.h-data: Likewise.
2362 * conform/data/stdarg.h-data: Likewise.
2363 * conform/data/stdio.h-data: Likewise.
2364 * conform/data/stdlib.h-data: Likewise.
2365 * conform/data/string.h-data: Likewise.
2366 * conform/data/strings.h-data: Likewise.
2367 * conform/data/stropts.h-data: Likewise.
2368 * conform/data/sys/ipc.h-data: Likewise.
2369 * conform/data/sys/mman.h-data: Likewise.
2370 * conform/data/sys/msg.h-data: Likewise.
2371 * conform/data/sys/resource.h-data: Likewise.
2372 * conform/data/sys/select.h-data: Likewise.
2373 * conform/data/sys/sem.h-data: Likewise.
2374 * conform/data/sys/shm.h-data: Likewise.
2375 * conform/data/sys/socket.h-data: Likewise.
2376 * conform/data/sys/stat.h-data: Likewise.
2377 * conform/data/sys/statvfs.h-data: Likewise.
2378 * conform/data/sys/time.h-data: Likewise.
2379 * conform/data/sys/timeb.h-data: Likewise.
2380 * conform/data/sys/times.h-data: Likewise.
2381 * conform/data/sys/types.h-data: Likewise.
2382 * conform/data/sys/uio.h-data: Likewise.
2383 * conform/data/sys/un.h-data: Likewise.
2384 * conform/data/sys/utsname.h-data: Likewise.
2385 * conform/data/sys/wait.h-data: Likewise.
2386 * conform/data/syslog.h-data: Likewise.
2387 * conform/data/tar.h-data: Likewise.
2388 * conform/data/termios.h-data: Likewise.
2389 * conform/data/utime.h-data: Likewise.
2390 * conform/data/utmpx.h-data: Likewise.
2391 * conform/data/varargs.h-data: Likewise.
2392 * conform/data/wchar.h-data: Likewise.
2393 * conform/data/wctype.h-data: Likewise.
2394 * conform/data/wordexp.h-data: Likewise.
2395
2396 * include/stropts.h: New file.
2397 * include/uchar.h: New file.
2398 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2399 * include/assert.h: Likewise.
2400 * include/ctype.h: Likewise.
2401 * include/dirent.h: Likewise.
2402 * include/dlfcn.h: Likewise.
2403 * include/fcntl.h: Likewise.
2404 * include/fnmatch.h: Likewise.
2405 * include/glob.h: Likewise.
2406 * include/grp.h: Likewise.
2407 * include/libio.h: Likewise.
2408 * include/locale.h: Likewise.
2409 * include/math.h: Likewise.
2410 * include/net/if.h: Likewise.
2411 * include/netdb.h: Likewise.
2412 * include/netinet/in.h: Likewise.
2413 * include/pthread.h: Likewise.
2414 * include/pwd.h: Likewise.
2415 * include/regex.h: Likewise.
2416 * include/sched.h: Likewise.
2417 * include/search.h: Likewise.
2418 * include/setjmp.h: Likewise.
2419 * include/signal.h: Likewise.
2420 * include/stdio.h: Likewise.
2421 * include/stdlib.h: Likewise.
2422 * include/string.h: Likewise.
2423 * include/sys/cdefs.h: Likewise.
2424 * include/sys/mman.h: Likewise.
2425 * include/sys/msg.h: Likewise.
2426 * include/sys/resource.h: Likewise.
2427 * include/sys/select.h: Likewise.
2428 * include/sys/socket.h: Likewise.
2429 * include/sys/stat.h: Likewise.
2430 * include/sys/statvfs.h: Likewise.
2431 * include/sys/time.h: Likewise.
2432 * include/sys/times.h: Likewise.
2433 * include/sys/uio.h: Likewise.
2434 * include/sys/utsname.h: Likewise.
2435 * include/sys/wait.h: Likewise.
2436 * include/termios.h: Likewise.
2437 * include/time.h: Likewise.
2438 * include/ulimit.h: Likewise.
2439 * include/unistd.h: Likewise.
2440 * include/utime.h: Likewise.
2441 * include/wchar.h: Likewise.
2442 * include/wctype.h: Likewise.
2443 * include/wordexp.h: Likewise.
2444
2445 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2446
7a270350
UD
2447 * time/time.h: TIME_UTC must be a macro.
2448 Make timespec_get available for ISO C11 only as well.
2449
7724defc
UD
24502012-02-24 Ulrich Drepper <drepper@gmail.com>
2451
2452 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2453 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2454
6b1d1d46
JM
24552012-02-24 Joseph Myers <joseph@codesourcery.com>
2456
2457 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2458
0f8bbd69
JM
24592012-02-24 Joseph Myers <joseph@codesourcery.com>
2460
2461 * manual/texinfo.tex: Update to version 2012-01-19.16.
2462
66ab80bc
JM
24632012-02-24 Joseph Myers <joseph@codesourcery.com>
2464
2465 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2466
74981cc5
RM
24672012-02-24 Roland McGrath <roland@hack.frob.com>
2468
ee968201
RM
2469 [BZ #13738]
2470 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2471 * manual/fdl-1.3.texi: New file.
2472 * manual/fdl-1.1.texi: File removed.
2473
74981cc5
RM
2474 [BZ #13738]
2475 * manual/libc.texinfo (FDL_VERSION): New @set.
2476 Use it for mention of FDL in cover text.
2477 (Documentation License): Use it in @include file name.
2478
7bb764bc
JM
24792012-02-22 Joseph Myers <joseph@codesourcery.com>
2480 Roland McGrath <roland@hack.frob.com>
2481
2482 [BZ #5461]
2483 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2484 not LONG_LONG_MAX and LONG_LONG_MIN.
2485 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2486 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2487 name.
2488 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2489
6cbeae47
JM
24902012-02-22 Joseph Myers <joseph@codesourcery.com>
2491
2492 [BZ #2547]
2493 [BZ #11365]
2494 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2495 manipulate bits before adding and subtracting TWO23[sx].
2496 * math/libm-test.inc (nearbyint_test): Add more tests.
2497
fe45ce09
JM
24982012-02-22 Joseph Myers <joseph@codesourcery.com>
2499
2500 [BZ #2548]
2501 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2502 bits before adding and subtracting TWO23[sx].
2503 * math/libm-test.inc (rint_test): Add more tests.
2504 (rint_test_tonearest): Likewise.
2505 (rint_test_towardzero): Likewise.
2506 (rint_test_downward): Likewise.
2507 (rint_test_upward: Likewise.
2508
ff3b3d82
JM
25092012-02-22 Joseph Myers <joseph@codesourcery.com>
2510
2511 [BZ #10110]
2512 * include/stdc-predef.h: New file. Extracted from features.h.
2513 * include/features.h: Include stdc-predef.h.
2514 * Makefile (headers): Add stdc-predef.h.
2515 * CONFORMANCE (Compiler limitations): Update.
2516
ef0aab35
JM
25172012-02-22 Joseph Myers <joseph@codesourcery.com>
2518
2519 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2520
58639409
DM
25212012-02-21 David S. Miller <davem@davemloft.net>
2522
2523 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2524 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2525
c0e70b25
DM
25262012-02-20 David S. Miller <davem@davemloft.net>
2527
2528 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2529 using a normal save/restore sequence, rather than allocating a
2530 dummy stack frame just to store a frame pointer and restore.
2531 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2532
fb06851d
JM
25332012-02-21 Joseph Myers <joseph@codesourcery.com>
2534
2535 * manual/install.texi: Fix stray word in line-wrapped comment.
2536
7a8b71c3
DM
25372012-02-20 David S. Miller <davem@davemloft.net>
2538
d510c123
DM
2539 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2540 both binutils and gcc support GOTDATA.
2541
0722d7c2
DM
2542 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2543 "rd %pc" in the PIC register setup sequences.
2544
3d2b3019
DM
2545 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2546 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2547 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2548 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2549 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2551 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2552 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2554 (SYSCALL_ERROR_HANDLER): Likewise.
2555 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2556 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2557 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2558 (SYSCALL_ERROR_HANDLER): Likewise.
2559
c80098a9
DM
2560 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2561 (HAVE_GCC_GOTDATA): New.
2562 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2563 relocation support in both binutils and gcc.
2564 * sysdeps/sparc/elf/configure: Regenerate.
2565
3a2545a0
DM
2566 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2567 * sysdeps/sparc/sparc32/elf/configure: Delete.
2568 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2569 * sysdeps/sparc/sparc64/elf/configure: Delete.
2570 * sysdeps/sparc/elf/configure.in: New file.
2571 * sysdeps/sparc/elf/configure: Generate.
2572
7a8b71c3
DM
2573 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2574 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2575 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2576 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2577 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2578
f1e86fca
JM
25792012-02-21 Joseph Myers <joseph@codesourcery.com>
2580
2581 * manual/install.texi: Do not mention specific glibc version
2582 numbers.
2583 * manual/libc.texinfo (VERSION, UPDATED): Update.
2584 (@copying): Use @copyright{} and range of years.
2585
0e7dfaef
JM
25862012-02-21 Joseph Myers <joseph@codesourcery.com>
2587
2588 [BZ #13695]
2589 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2590 [crti.S not in sysdirs] (generated): Do not append.
2591 [crti.S not in sysdirs] (omit-deps): Likewise.
2592 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2593 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2594 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2595 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2596 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2597 Likewise.
2598 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2599 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2600 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2601 * csu/defs.awk: Remove file.
2602 * sysdeps/generic/initfini.c: Likewise.
2603 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2604 variable.
2605 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2606 Likewise.
2607
599af3ca
JM
26082012-02-20 Joseph Myers <joseph@codesourcery.com>
2609
2610 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2611 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2612 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2613 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2614 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2615 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2616 <bits/epoll.h>.
2617 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2618 (__EPOLL_PACKED): Define to empty if not defined by
2619 <bits/epoll.h>.
2620 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2622 bits/epoll.h.
2623
0e499750
JM
26242012-02-20 Joseph Myers <joseph@codesourcery.com>
2625
2626 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2627 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2628 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2629 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2630 <bits/timerfd.h>.
2631 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2633 bits/timerfd.h.
2634
5ad91f6e
JM
26352012-02-20 Joseph Myers <joseph@codesourcery.com>
2636
2637 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2638 in C locale.
2639 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2640 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2641 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2643
06b99b02
AJ
26442012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2645
2646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2648
7638c0fd
AS
26492012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2650
2651 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2652 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2653 defined.
2654 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2655 Likewise.
2656 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2657 entry for 2.16.
2658
92221550
AJ
26592012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2660
2661 * math/w_acos.c: Use non-signaling floating-point comparisons.
2662 * math/w_acosf.c: Likewise.
2663 * math/w_acosh.c: Likewise.
2664 * math/w_acoshf.c: Likewise.
2665 * math/w_acoshl.c: Likewise.
2666 * math/w_acosl.c: Likewise.
2667 * math/w_asin.c: Likewise.
2668 * math/w_asinf.c: Likewise.
2669 * math/w_asinl.c: Likewise.
2670 * math/w_atanh.c: Likewise.
2671 * math/w_atanhf.c: Likewise.
2672 * math/w_atanhl.c: Likewise.
2673 * math/w_exp2.c: Likewise.
2674 * math/w_exp2f.c: Likewise.
2675 * math/w_exp2l.c: Likewise.
2676 * math/w_j0.c: Likewise.
2677 * math/w_j0f.c: Likewise.
2678 * math/w_j0l.c: Likewise.
2679 * math/w_j1.c: Likewise.
2680 * math/w_j1f.c: Likewise.
2681 * math/w_j1l.c: Likewise.
2682 * math/w_jn.c: Likewise.
2683 * math/w_jnf.c: Likewise.
2684 * math/w_log.c: Likewise.
2685 * math/w_log10.c: Likewise.
2686 * math/w_log10f.c: Likewise.
2687 * math/w_log10l.c: Likewise.
2688 * math/w_log2.c: Likewise.
2689 * math/w_log2f.c: Likewise.
2690 * math/w_log2l.c: Likewise.
2691 * math/w_logf.c: Likewise.
2692 * math/w_logl.c: Likewise.
2693 * math/w_sqrt.c: Likewise.
2694 * math/w_sqrtf.c: Likewise.
2695 * math/w_sqrtl.c: Likewise.
2696 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2697 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2699 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2700 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2701
ebaf36eb
JM
27022012-02-19 Joseph Myers <joseph@codesourcery.com>
2703
2704 [BZ #9739]
2705 * manual/string.texi (strnlen): Use correct parameter name in
2706 equivalent expression.
2707
71c254a6
JM
27082012-02-19 Joseph Myers <joseph@codesourcery.com>
2709
2710 [BZ #11174]
2711 * manual/users.texi (seteuid): Consistently use neweuid for
2712 argument name.
2713
16d2c631
JM
27142012-02-19 Joseph Myers <joseph@codesourcery.com>
2715
2716 [BZ #13704]
2717 * manual/nss.texi (Services in the NSS configuration): Correct
2718 list of services in example configuration file.
2719
cd837b09
NB
27202012-02-19 Nick Bowler <nbowler@draconx.ca>
2721
2722 [BZ #11322]
2723 * manual/arith.texi: Remove statements about negative zero
2724 behaving identically to zero.
2725
02c4bbad
JM
27262012-02-18 Joseph Myers <joseph@codesourcery.com>
2727
2728 [BZ #5993]
2729 * manual/install.texi: Do not document upgrading from libc5.
2730
366842e7
JM
27312012-02-18 Joseph Myers <joseph@codesourcery.com>
2732
2733 [BZ #4596]
2734 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2735
dd54084d
DM
27362012-02-18 David S. Miller <davem@davemloft.net>
2737
2738 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2739 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2740 %o7 across the call.
2741 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2742 instead.
2743 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2744 SETUP_PIC_REG_LEAF.
2745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2746 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2747 * sysdeps/sparc/crtn.S: Likewise.
2748
2bcc53a3
UD
27492012-02-17 Ulrich Drepper <drepper@gmail.com>
2750
2751 * aout/Makefile: Remove.
2752
09c093b5
RK
27532012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2754
2755 [BZ #13058]
2756 * manual/examples/argp-ex1.c (main): Format definition in GNU
2757 style.
2758 * manual/examples/argp-ex2.c (main): Likewise.
2759 * manual/examples/argp-ex3.c (main): Likewise.
2760 * manual/examples/argp-ex4.c (main): Likewise.
2761 * manual/examples/longopt.c (main): Use new-style prototype
2762 definition.
2763 * manual/examples/strncat.c (main): Specify return type and use
2764 (void) for arguments.
2765 * manual/examples/subopt.c (main): Use char **argv argument.
2766
2ee633a2
JM
27672012-02-17 Joseph Myers <joseph@codesourcery.com>
2768
2769 [BZ #5077]
2770 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2771 rounding modes.
2772
0520adde
FB
27732012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2774
2775 [BZ #6907]
2776 * manual/string.texi (strchr): Change when strchrnul is
2777 recommended.
2778
3f4081cd
DGM
27792012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2780
2781 [BZ #174]
2782 * manual/locale.texi (setlocale): Document LOCPATH.
2783
d1b10e78
JM
27842012-02-17 Joseph Myers <joseph@codesourcery.com>
2785
2786 [BZ #10210]
2787 * manual/process.texi (execle): Move @dots{} before last argument.
2788
79c6869c
PB
27892012-02-17 Paul Bolle <pebolle@tiscali.nl>
2790
2791 [BZ #12047]
2792 * manual/charset.texi (Generic Charset Conversion): Fix typo
2793 (LC_TYPE -> LC_CTYPE).
2794
cc6e48bc
NB
27952012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2796
2797 [BZ #5805]
2798 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2799 (scalbnf): Likewise.
2800 (scalbnl): Likewise.
2801 (scalbln): Likewise.
2802 (scalblnf): Likewise.
2803 (scalblnl): Likewise.
2804 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2805 (vwarnx): Likewise.
2806 (verr): Likewise.
2807 (verrx): Likewise.
2808 * manual/filesys.texi (telldir): Use braces around return type.
2809 * manual/llio.texi (mmap): Add space after comma.
2810 (mmap64): Likewise.
2811 * manual/math.texi (jn): Use @var{} on parameter names.
2812 (jnf): Likewise.
2813 (jnl): Likewise.
2814 (yn): Likewise.
2815 (ynf): Likewise.
2816 (ynl): Likewise.
2817 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2818 line.
2819 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2820 "...".
2821 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2822 (sched_get_priority_max): Likewise.
2823 * manual/signal.texi (sigvec): Add space after comma.
2824 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2825 names.
2826 (if_indextoname): Likewise.
2827 (if_freenameindex): Likewise.
2828 (sendto): Use ',' instead of '.' in prototype.
2829 * manual/startup.texi (syscall): Use @dots{} instead of literal
2830 "...".
2831 * manual/stdio.texi (__fpending): Separate initial words of
2832 paragraph from @deftypefun line.
2833 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2834 "...".
2835 (vsyslog): Use @var{} on parameter names.
2836 * manual/terminal.texi (stty): Use @var{} on parameter names.
2837 * manual/users.texi (getutmp): Use @var{} on parameter names.
2838 (getutmpx): Likewise.
2839
5b23062f
JM
28402012-02-17 Joseph Myers <joseph@codesourcery.com>
2841
2842 [BZ #6884]
2843 * manual/stdio.texi (fopen): Fix typos in description of
2844 ",ccs=STRING".
2845
8dee4833
AJ
28462012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2847
2848 [BZ #4026]
2849 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2850 get clock_id definition.
2851
9078ce93
TS
28522012-02-17 Thomas Schwinge <thomas@schwinge.name>
2853
2854 [BZ #4822]
2855 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2856 (madvise): Cast every argument to void on its own.
2857
3835c55f
JM
28582012-02-17 Joseph Myers <joseph@codesourcery.com>
2859
2860 [BZ #9902]
2861 * manual/startup.texi (Exit Status): Fix typo.
2862
35c47e37
JM
28632012-02-17 Joseph Myers <joseph@codesourcery.com>
2864
2865 [BZ #10140]
2866 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2867 * manual/examples/argp-ex2.c: Likewise.
2868 * manual/examples/argp-ex3.c: Likewise.
2869
e3b69ca7
RH
28702012-02-16 Richard Henderson <rth@redhat.com>
2871
2872 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2873 * sysdeps/s390/s390-32/initfini.c: Remove.
2874 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2875 * sysdeps/s390/s390-64/initfini.c: Remove.
2876
df83af67
KK
28772012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2878
2879 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2880 compiler output for sysdeps/generic/initfini.c.
2881 * sysdeps/sh/elf/initfini.c: Remove file.
2882
f63f3380
DM
28832012-02-16 David S. Miller <davem@davemloft.net>
2884
fb59b3a4
DM
2885 [BZ #11494]
2886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2887
f63f3380
DM
2888 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2889 * sysdeps/sparc/crti.S: New file.
2890 * sysdeps/sparc/crtn.S: New file.
2891 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2892 * sysdeps/sparc/sparc64/Makefile: Likewise.
2893
df6a4a4a
MF
28942012-02-15 Mike Frysinger <vapier@gentoo.org>
2895
6dd8f3dc 2896 [BZ #3335]
df6a4a4a
MF
2897 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2898
1cac7236
RM
28992012-02-15 Roland McGrath <roland@hack.frob.com>
2900
d2c736f8
RM
2901 [BZ #4822]
2902 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2903
1cac7236
RM
2904 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2905 (write, read, close): Likewise.
2906 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2907
8e475601
JM
29082012-02-15 Joseph Myers <joseph@codesourcery.com>
2909
2910 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2911 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2912 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2913 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2914 <bits/signalfd.h>.
2915 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2917 bits/signalfd.h.
2918
ed656b40
MP
29192012-02-14 Marek Polacek <polacek@redhat.com>
2920
2921 * sysdeps/x86_64/crti.S: New file.
2922 * sysdeps/x86_64/crtn.S: New file.
2923 * sysdeps/x86_64/elf/initfini.c: Remove file.
2924
2a979d3a
JM
29252012-02-13 Joseph Myers <joseph@codesourcery.com>
2926
2927 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2928 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2929 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2930 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2931 <bits/inotify.h>.
2932 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2934 bits/inotify.h.
2935
2a418ac3
JM
29362012-02-13 Joseph Myers <joseph@codesourcery.com>
2937
2938 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2939 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2940 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2941 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2942 <bits/eventfd.h>.
2943 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2945 bits/eventfd.h.
2946
fb779be7
TS
29472012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2948
e19e83c5
RM
2949 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2950 __feraiseexcept instead of feraiseexcept.
7c35ffed 2951
fb779be7
TS
2952 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2953 nanosleep invocations.
2954 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2955 strings, and add error checking for a nanosleep invocations.
2956
59ba27a6
PE
29572012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2958
2959 Replace FSF snail mail address with URLs, as per GNU coding standards.
2960 Most of the snail mail addresses were wrong anyway, and omitting
2961 them makes the source code easier to maintain. Almost all of the
2962 changes are to license notices and to locale LC_IDENTIFICATION
2963 addresses, except for this one:
2964 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2965 not its snail mail address.
2966
57b957eb
RH
29672012-02-09 Richard Henderson <rth@twiddle.net>
2968
af850b1c
RH
2969 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2970 of kernel-features.h.
2971
57b957eb
RH
2972 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2973
6b73181a
MP
29742012-02-08 Marek Polacek <polacek@redhat.com>
2975
2976 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2977 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2978 * sysdeps/gnu/_G_config.h: Likewise.
2979 * sysdeps/generic/_G_config.h: Likewise.
2980
26ecc33a
AS
29812012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2982
6c6dbc63
AS
2983 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2984 tests.
2985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2986
e216c012
AS
2987 * sysdeps/powerpc/powerpc32/crti.S: New file.
2988 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2989 * sysdeps/powerpc/powerpc64/crti.S: New file.
2990 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2991
26ecc33a
AS
2992 * Makeconfig (have-initfini): Don't set.
2993 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2994 * configure.in (nopic_initfini): Don't substitute.
2995 * config.h.in (HAVE_INITFINI): Don't #undef.
2996 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2997 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2998
3add8e13
JM
29992012-02-08 Joseph Myers <joseph@codesourcery.com>
3000
3001 Support crti.S and crtn.S provided directly by architectures.
3002 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3003 [crti.S in sysdirs] (omit-deps): Likewise.
3004 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3005 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3006 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3007 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3008 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3009 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3010 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3011 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3012 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3013 compiler output for sysdeps/generic/initfini.c.
3014 * sysdeps/i386/elf/Makefile: Remove file.
3015 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3016
a22f12b4
MP
30172012-02-07 Marek Polacek <polacek@redhat.com>
3018
3019 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3020 * sysdeps/gnu/_G_config.h: Likewise.
3021 * sysdeps/mach/hurd/_G_config.h: Likewise.
3022
148cf100
MP
30232012-02-07 Marek Polacek <polacek@redhat.com>
3024
3025 * math/Makefile (tests): Add tst-CMPLX2.
3026 * math/tst-CMPLX2.c: New file.
3027
cfdc0dd7
AS
30282012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3029
84ba42c4
AS
3030 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3031
cfdc0dd7
AS
3032 * math/libm-test.inc (jn_test): Add missing L suffix.
3033
622c86f4
MP
30342012-02-06 Marek Polacek <polacek@redhat.com>
3035
3036 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3037 * sysdeps/i386/fpu/e_powf.S: Likewise.
3038 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3039 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3040 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3041 * sysdeps/i386/fpu/e_pow.S: Likewise.
3042 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3043 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3044 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3045 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3046 * sysdeps/i386/fpu/e_log2.S: Likewise.
3047 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3048 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3049 * sysdeps/i386/fpu/e_powl.S: Likewise.
3050 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3051 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3052 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3053 * sysdeps/i386/fpu/e_logl.S: Likewise.
3054 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3055 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3056 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3057 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3058 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3059 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3060 * sysdeps/i386/fpu/e_log.S: Likewise.
3061 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3062 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3063 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3064 * sysdeps/i386/fpu/e_logf.S: Likewise.
3065 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3066 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3067 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3068 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3069 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3070 * sysdeps/i386/fpu/e_log10.S: Likewise.
3071 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3072 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3073 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3074 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3075 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3076 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3077 * sysdeps/i386/asm-syntax.h: Likewise.
3078 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3079 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3080 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3081 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3082 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3083 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3084 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3085 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3086 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3087 * sysdeps/powerpc/sysdep.h: Likewise.
3088 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3089 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3090
d4a54ac6
JM
30912012-02-06 Joseph Myers <joseph@codesourcery.com>
3092
3093 [BZ #411]
3094 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3095
314054ea
JM
30962012-02-06 Joseph Myers <joseph@codesourcery.com>
3097
3098 * sysdeps/i386/sysdep.h: Include <features.h>.
3099 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3100 version.
3101
d8e0ca50
JM
31022012-02-05 Joseph Myers <joseph@codesourcery.com>
3103
3104 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3105 Define.
3106 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3107 LOAD_PIC_REG_STR.
3108
b1da7dd9
JM
31092012-02-03 Joseph Myers <joseph@codesourcery.com>
3110
3111 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3112 (SETUP_PIC_REG): Use GET_PC_THUNK.
3113 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3114 macro.
3115
9a1d9254
JM
31162012-02-03 Joseph Myers <joseph@codesourcery.com>
3117
3118 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3119 for non-PIC compilation.
3120 (SETUP_PIC_REG): Add .p2align directive.
3121 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3122 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3123 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3126 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3127 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3128 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3130 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3131 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3132 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3133 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3134 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3135 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3136 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3137 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3138 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3139 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3140 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3141 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3142 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3143 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3144 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3145 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3147 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3149 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3150 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3151 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3152 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3153 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3154 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3155 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3156 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3157 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3158 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3159 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3160 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3161 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3162
65dc3b75
JM
31632012-02-03 Joseph Myers <joseph@codesourcery.com>
3164
3165 * math/tst-CMPLX.c: Include <stdio.h>.
3166
d55bf177
JM
31672012-01-31 Joseph Myers <joseph@codesourcery.com>
3168
3169 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3170 float.
3171 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3172 * sysdeps/sparc/bits/mathdef.h: Likewise.
3173
69db4f8f
MP
31742012-01-31 Marek Polacek <polacek@redhat.com>
3175
3176 * libio/libio.h: Don't define _PARAMS.
3177 * locale/programs/config.h: Don't define PARAMS.
3178 * stdlib/strtol_l.c: Likewise.
3179 (__strtol_l): Remove PARAMS from the prototype.
3180
41b81892
UD
31812012-01-31 Ulrich Drepper <drepper@gmail.com>
3182
3b49edc0
UD
3183 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3184 names. Just use the correct names. Remove unnecessary wrapper
3185 functions.
3186 * malloc/arena.c: Likewise.
3187 * malloc/hooks.c: Likewise.
3188
41b81892
UD
3189 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3190 ARENA_TEST says not to. Simplify test for creation of a new arena.
3191 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3192
27a25b6e
UD
31932012-01-30 Ulrich Drepper <drepper@gmail.com>
3194
3195 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3196 into tail calls.
3197 (update_get_addr): New function.
3198 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3199 GET_ADDR_MODULE parameter.
3200
c8a89e7d
JM
32012012-01-30 Joseph Myers <joseph@codesourcery.com>
3202
3203 * crypt/cert.c: Remove __STDC__ conditionals.
3204 * crypt/crypt-entry.c: Likewise.
3205 * crypt/crypt_util.c: Likewise.
3206 * libio/filedoalloc.c: Likewise.
3207 * libio/fileops.c: Likewise.
3208 * libio/genops.c: Likewise.
3209 * libio/iofclose.c: Likewise.
3210 * libio/iofdopen.c: Likewise.
3211 * libio/iofopen.c: Likewise.
3212 * libio/iofopen64.c: Likewise.
3213 * libio/iogetdelim.c: Likewise.
3214 * libio/iopopen.c: Likewise.
3215 * libio/obprintf.c: Likewise.
3216 * libio/oldfileops.c: Likewise.
3217 * libio/oldiofclose.c: Likewise.
3218 * libio/oldiofdopen.c: Likewise.
3219 * libio/oldiofopen.c: Likewise.
3220 * libio/oldiopopen.c: Likewise.
3221 * libio/wfiledoalloc.c: Likewise.
3222 * libio/wgenops.c: Likewise.
3223 * locale/programs/xmalloc.c: Likewise.
3224 * misc/syslog.c: Likewise.
3225 * stdio-common/xbug.c: Likewise.
3226 * string/memchr.c: Likewise.
3227 * string/memcmp.c: Likewise.
3228 * string/memrchr.c: Likewise.
3229 * string/rawmemchr.c: Likewise.
3230 * sysdeps/posix/getcwd.c: Likewise.
3231 * time/strftime_l.c: Likewise.
3232
3b100462
JM
32332012-01-30 Joseph Myers <joseph@codesourcery.com>
3234
3235 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3236 * config.make.in (config-cflags-sse2avx): Define.
3237 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3238 Fix typo.
3239
607998af
CM
32402012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3241
3242 * scripts/config.guess: Update from upstream config git repository.
3243 * scripts/config.sub: Likewise.
3244
3601428f
CM
32452012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3246
3ac8b282
CM
3247 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3248 (EM_NUM): Update.
3249 (R_TILEPRO_*, R_TILEGX_*): New macros.
3250
e034841e
CM
3251 * scripts/firstversions.awk: Fix bug in version range handling.
3252
540d7568
CM
3253 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3254
3601428f
CM
3255 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3256
463de862
CM
3257 * include/sys/epoll.h: New file.
3258 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3259 libc_hidden_def.
3260
73139a76
UD
32612012-01-28 Ulrich Drepper <drepper@gmail.com>
3262
96bc5b45
UD
3263 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3264 Avoid unnecessary __WORDSIZE == 64 test.
3265 (fmaxf): Use VEX format if possible.
3266 (fmax): Likewise.
3267 (fminf): Likewise.
3268 (fmin): Likewise.
3269
56f6f6a2
UD
3270 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3271 * math/math_private.h: Remove libc_fegetround* and
3272 libc_fesetround*.
3273 * sysdeps/i386/configure.in: Check for -msse2avx.
3274 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3275 also if SSE2AVX is defined.
3276 Remove libc_fegetround* and libc_fesetround*.
3277 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3278 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3279 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3280 of HAS_YMM_USABLE.
3281 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3282 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3283 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3284 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3285 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3286
73139a76
UD
3287 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3288
d73f93a4
AZ
32892012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3290
3291 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3292 size is not set.
3293 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3294
6ee65ed6
UD
32952012-01-27 Ulrich Drepper <drepper@gmail.com>
3296
3297 [BZ #13618]
3298 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3299 relocation.
3300 * Makeconfig (libm): Define.
3301 * elf/Makefile: Add rules to build and run tst-relsort1.
3302 * elf/tst-relsort1.c: New file.
3303 * elf/tst-relsort1mod1.c: New file.
3304 * elf/tst-relsort1mod2.c: New file.
3305
8db21882
JM
33062012-01-27 Joseph Myers <joseph@codesourcery.com>
3307
3308 * math/s_ldexp.c: Remove __STDC__ conditionals.
3309 * math/s_ldexpf.c: Likewise.
3310 * math/s_ldexpl.c: Likewise.
3311 * math/s_nextafter.c: Likewise.
3312 * math/s_nexttowardf.c: Likewise.
3313 * math/s_significand.c: Likewise.
3314 * math/s_significandf.c: Likewise.
3315 * math/s_significandl.c: Likewise.
3316 * math/w_jnl.c: Likewise.
3317 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3318 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3319 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3320 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3321 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3323 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3324 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3325 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3326 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3327 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3328 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3329 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3330 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3331 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3332 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3333 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3334 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3335 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3336 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3337 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3338 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3339 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3340 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3341 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3342 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3343 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3344 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3345 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3346 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3347 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3348 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3349 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3350 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3351 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3352 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3353 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3354 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3355 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3356 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3357 * sysdeps/ieee754/k_standard.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3359 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3360 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3361 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3362 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3364 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3365 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3367 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3368 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3369 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3370 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3371 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3372 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3373 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3374 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3381 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3383 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3384 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3385 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3387 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3388 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3389 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3390 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3391 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3392 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3393 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3394 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3395 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3396 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3397 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3398 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3400 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3401 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3402 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3403 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3404 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3405 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3406 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3407 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3408 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3409 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3410 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3411 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3412 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3413 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3414 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3415 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3416 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3417 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3418 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3419 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3420 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3421 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3422 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3423 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3424 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3425 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3426 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3427 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3428 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3429 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3430 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3431 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3432 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3433 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3434 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3435 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3436 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3437 * sysdeps/ieee754/s_matherr.c: Likewise.
3438 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3439 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3441 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3442
965a54a4
JM
34432012-01-26 Joseph Myers <joseph@codesourcery.com>
3444
3445 * crypt/md5.h: Remove __STDC__ conditionals.
3446 * libio/libioP.h: Likewise.
3447 * locale/programs/config.h: Likewise.
3448 * sysdeps/generic/sysdep.h: Likewise.
3449 * sysdeps/i386/asm-syntax.h: Likewise.
3450 * sysdeps/s390/asm-syntax.h: Likewise.
3451 * sysdeps/unix/sysdep.h: Likewise.
3452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3454
7071ad79
JM
34552012-01-26 Joseph Myers <joseph@codesourcery.com>
3456
3457 * libio/libio.h: Remove __STDC__ conditionals.
3458 * malloc/obstack.h: Likewise.
3459 * math/complex.h: Likewise.
3460 * math/math.h: Likewise.
3461 * sysdeps/generic/_G_config.h: Likewise.
3462 * sysdeps/gnu/_G_config.h: Likewise.
3463 * sysdeps/mach/hurd/_G_config.h: Likewise.
3464 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3465 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3466 * sysdeps/sparc/bits/mathdef.h: Likewise.
3467
afc5ed09
UD
34682012-01-26 Ulrich Drepper <drepper@gmail.com>
3469
3470 [BZ #13583]
3471 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3472 Clean up HAS_* macros.
afc5ed09 3473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3474 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3475 possible.
3476 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3477 HAS_AVX.
3478 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3479 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3480 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3481 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3483
bdb6de1d
JM
34842012-01-25 Joseph Myers <joseph@codesourcery.com>
3485
3486 * elf/tst-unique3.cc (gets): Remove declaration.
3487 * elf/tst-unique3lib.cc (gets): Likewise.
3488 * elf/tst-unique3lib2.cc (gets): Likewise.
3489 * elf/tst-unique4.cc (gets): Likewise.
3490
b15549e6
UD
34912012-01-24 Ulrich Drepper <drepper@gmail.com>
3492
3493 * include/stdio.h: Add C++ protection. Add gets declarations and
3494 definitions.
3495 * debug/tst-chk1.c: Don't declare gets here.
3496 * stdio-common/tst-gets.c: Likewise.
3497
a037381f
JM
34982012-01-24 Joseph Myers <joseph@codesourcery.com>
3499
3500 * posix/glob: Remove directory.
3501
f1d4aa75
JM
35022012-01-24 Joseph Myers <joseph@codesourcery.com>
3503
3504 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3505
81c0c964
PT
35062012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3507
3508 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3509 of the non-standard EPFNOSUPPORT.
3510
0ea698ae
ST
35112011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3512
3513 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3514 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3515 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3516
d220b117
UD
35172012-01-21 Ulrich Drepper <drepper@gmail.com>
3518
3519 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3520
3e1aa84e
UD
35212012-01-20 Ulrich Drepper <drepper@gmail.com>
3522
3523 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3524 transient errors.
3525 * nscd/grpcache.c (cache_addgr): Likewise.
3526 * nscd/hstcache.c (cache_addhst): Likewise.
3527 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3528 * nscd/pwdcache.c (cache_addpw): Likewise.
3529 * nscd/servicescache.c (cache_addserv): Likewise.
3530
400aa020
UD
35312012-01-16 Ulrich Drepper <drepper@gmail.com>
3532
d77e7869
UD
3533 * malloc/malloc.c: Various cleanups.
3534 * malloc/hooks.c: Likewise.
3535
400aa020
UD
3536 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3537 * stdlib/bug-fmtmsg1.c: New file.
3538
3539 * stdlib/fmtmsg.c (init): Add missing unlock.
3540 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3541
e0a309cf
MP
35422012-01-12 Marek Polacek <polacek@redhat.com>
3543
3544 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3545 and _GNU_SOURCE.
3546
929d11c7
WS
35472012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3548
3549 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3550 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3551 macro to ensure uniqueness of label name.
3552 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3553 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3554
41d0e869
UD
35552012-01-11 Ulrich Drepper <drepper@gmail.com>
3556
0cc5ed3b
UD
3557 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3558
41d0e869
UD
3559 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3560 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3561 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3562 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3563
a47a831a
UD
35642012-01-10 Ulrich Drepper <drepper@gmail.com>
3565
daa891c0
UD
3566 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3567
3568 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3569 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3570 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3571
e58ef0f2
UD
3572 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3573
a47a831a 3574 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3575 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3576 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3577 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3578
3579 * math/bits/math-finite.h: Add ldexp support.
3580
a0bfc9c7
MP
35812012-01-10 Marek Polacek <polacek@redhat.com>
3582
3583 * locale/programs/localedef.h (show_archive_content): Add noreturn
3584 attribute.
3585
d6e97a1d
UD
35862012-01-09 Ulrich Drepper <drepper@gmail.com>
3587
3588 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3589
d5835c26
UD
35902012-01-08 Ulrich Drepper <drepper@gmail.com>
3591
e5f484c6
UD
3592 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3593
d5835c26
UD
3594 * io/Makefile (headers): Add bits/poll2.h.
3595
d1f741e9
WS
35962011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3597
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3599 typo #include statement.
3600
ec09c1c4
UD
36012012-01-08 Ulrich Drepper <drepper@gmail.com>
3602
3603 * include/sys/cdefs.h: Define __attribute_alloc_size.
3604 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3605 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3606 * elf/pldd.c: Likewise.
3607 * iconv/iconv_charmap.c: Likewise.
3608 * iconv/iconvconfig.c: Likewise.
3609 * iconv/strtab.c: Likewise.
3610 * locale/programs/locale.c: Likewise.
3611 * locale/programs/localedef.h: Likewise.
3612 * locale/programs/simple-hash.c: Likewise.
3613 * nscd/nscd.h: Likewise.
3614 * nss/makedb.c: Likewise.
3615 * sysdeps/generic/ldconfig.h: Likewise.
3616 * locale/programs/localedef.c: Remove xmalloc prototype.
3617 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3618
20b38e03
PP
36192012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3620
3621 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3622 appropriate.
3623
a0da5fe1
UD
36242012-01-08 Ulrich Drepper <drepper@gmail.com>
3625
1d5a644a 3626 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3627 * math/tst-CMPLX.c: New file.
1d5a644a 3628
8784a6db
UD
3629 * math/complex.h (CMPLXL): Fix typo.
3630
d9a216c0
UD
3631 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3632 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3633 GLIBC_2.16.
3634 * debug/tst-chk1.c: Add poll and ppoll tests.
3635 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3636 * include/sys/poll.h: Add hidden proto for ppoll.
3637 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3638 * sysdeps/mach/hurd/ppoll.c: Likewise.
3639 * io/ppoll.c: Likewise.
3640 * debug/poll_chk.c: New file.
3641 * debug/ppoll_chk.c: New file.
3642 * include/bits/poll2.h: New file.
3643 * io/bits/poll2.h: New file.
3644
ac097f5c
UD
3645 [BZ #1350]
3646 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3647
2119dcfa
UD
3648 * configure.in: static is always set to yes. Remove.
3649 * config.make.in: Don't set build-static.
3650 * Makeconfig: Remove use of build-static.
3651 * dlfcn/Makefile: Likewise.
3652 * elf/Makefile: Likewise.
3653 * math/Makefile: Likewise.
3654 * misc/Makefile: Likewise.
3655 * nptl/Makefile: Likewise.
3656 * sysdeps/mach/hurd/Makefile: Likewise.
3657
121766a9
UD
3658 * configure.in: PWD_P is not used anymore.
3659 * config.make.in: Remove PWD_P entry.
3660
51a1d39c 3661 * configure.in: Remove last remnants of RANLIB.
8720d066 3662 No need to check for signed size_t anymore.
215f4bdc
UD
3663 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3664 and IA-64.
3857022a 3665 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3666 * aclocal.m4: Likewise.
3667
d3ed7225
UD
3668 * wcsmbs/mbrtoc16.c: Implement using towc function.
3669 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3670 * wcsmbs/wcsmbsload.c: Likewise.
3671 * iconv/gconv_simple.c: Likewise.
3672 * iconv/gconv_int.h: Likewise.
3673 * iconv/gconv_builtin.h: Likewise.
3674 * iconv/iconv_prog.c: Remove CHAR16 handling.
3675
3676 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3677
3678 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3679
a0da5fe1
UD
3680 * configure.in: Remove --with-elf and --enable-bounded options.
3681 Dont set base_machine for ia64. More non-ELF conditions removed.
3682 Remove testing and setting of leading underscore information.
3683 * config.make.in (build-bounded): Set to no.
3684 * config.h.in: Remove NO_UNDERSCORES entry.
3685 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3686 them.
3687 * csu/start.c: Remove !NO_UNDERSCORE code.
3688 * locale/localeinfo.h: Likewise.
3689 * sysdeps/generic/machine-gmon.h: Likewise.
3690 * sysdeps/generic/sysdep.h: Likewise.
3691 * sysdeps/i386/sysdep.h: Likewise.
3692 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3693 * sysdeps/mach/sysdep.h: Likewise.
3694 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3695 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3696 * sysdeps/sh/sysdep.h: Likewise.
3697 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3698 * sysdeps/unix/i386/sysdep.S: Likewise.
3699 * sysdeps/unix/sparc/start.c: Likewise.
3700 * sysdeps/unix/sparc/sysdep.S: Likewise.
3701 * sysdeps/unix/sparc/sysdep.h: Likewise.
3702 * sysdeps/unix/start.c: Likewise.
3703 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3704 * sysdeps/x86_64/sysdep.h: Likewise.
3705
df78418a
UD
37062012-01-07 Ulrich Drepper <drepper@gmail.com>
3707
a784e502
UD
3708 [BZ #13553]
3709 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3710 for non-gcc.
3711 * argp/argp-fmtstream.h: Use const instead __const.
3712 * argp/argp.h: Likewise.
3713 * assert/assert.h: Likewise.
3714 * bits/fenv.h: Likewise.
3715 * bits/sched.h: Likewise.
3716 * bits/sigset.h: Likewise.
3717 * bits/sigthread.h: Likewise.
3718 * catgets/nl_types.h: Likewise.
3719 * conform/data/pthread.h-data: Likewise.
3720 * crypt/crypt-private.h: Likewise.
3721 * crypt/crypt.h: Likewise.
3722 * crypt/crypt_util.c: Likewise.
3723 * ctype/ctype.h: Likewise.
3724 * debug/execinfo.h: Likewise.
3725 * debug/mbsnrtowcs_chk.c: Likewise.
3726 * debug/mbsrtowcs_chk.c: Likewise.
3727 * debug/wcsnrtombs_chk.c: Likewise.
3728 * debug/wcsrtombs_chk.c: Likewise.
3729 * debug/wcstombs_chk.c: Likewise.
3730 * dirent/dirent.h: Likewise.
3731 * dlfcn/dlfcn.h: Likewise.
3732 * elf/neededtest4.c: Likewise.
3733 * grp/grp.h: Likewise.
3734 * gshadow/gshadow.h: Likewise.
3735 * iconv/gconv.h: Likewise.
3736 * iconv/gconv_int.h: Likewise.
3737 * iconv/gconv_simple.c: Likewise.
3738 * iconv/iconv.h: Likewise.
3739 * iconv/loop.c: Likewise.
3740 * iconv/skeleton.c: Likewise.
3741 * include/aio.h: Likewise.
3742 * include/aliases.h: Likewise.
3743 * include/argz.h: Likewise.
3744 * include/arpa/inet.h: Likewise.
3745 * include/assert.h: Likewise.
3746 * include/dirent.h: Likewise.
3747 * include/dlfcn.h: Likewise.
3748 * include/execinfo.h: Likewise.
3749 * include/fcntl.h: Likewise.
3750 * include/fenv.h: Likewise.
3751 * include/glob.h: Likewise.
3752 * include/grp.h: Likewise.
3753 * include/libintl.h: Likewise.
3754 * include/mntent.h: Likewise.
3755 * include/netdb.h: Likewise.
3756 * include/pwd.h: Likewise.
3757 * include/rpc/netdb.h: Likewise.
3758 * include/sched.h: Likewise.
3759 * include/search.h: Likewise.
3760 * include/shadow.h: Likewise.
3761 * include/signal.h: Likewise.
3762 * include/stdio.h: Likewise.
3763 * include/stdlib.h: Likewise.
3764 * include/string.h: Likewise.
3765 * include/sys/socket.h: Likewise.
3766 * include/sys/stat.h: Likewise.
3767 * include/sys/statfs.h: Likewise.
3768 * include/sys/statvfs.h: Likewise.
3769 * include/sys/syslog.h: Likewise.
3770 * include/sys/time.h: Likewise.
3771 * include/sys/uio.h: Likewise.
3772 * include/time.h: Likewise.
3773 * include/unistd.h: Likewise.
3774 * include/utmp.h: Likewise.
3775 * include/wchar.h: Likewise.
3776 * include/wctype.h: Likewise.
3777 * inet/aliases.h: Likewise.
3778 * inet/arpa/inet.h: Likewise.
3779 * inet/netinet/ether.h: Likewise.
3780 * inet/netinet/in.h: Likewise.
3781 * intl/libintl.h: Likewise.
3782 * io/bits/fcntl2.h: Likewise.
3783 * io/fcntl.h: Likewise.
3784 * io/ftw.h: Likewise.
3785 * io/sys/poll.h: Likewise.
3786 * io/sys/stat.h: Likewise.
3787 * io/sys/statfs.h: Likewise.
3788 * io/sys/statvfs.h: Likewise.
3789 * io/utime.h: Likewise.
3790 * libio/bits/stdio.h: Likewise.
3791 * libio/bits/stdio2.h: Likewise.
3792 * libio/libio.h: Likewise.
3793 * libio/libioP.h: Likewise.
3794 * libio/stdio.h: Likewise.
3795 * locale/lc-ctype.c: Likewise.
3796 * locale/locale.h: Likewise.
3797 * login/utmp.h: Likewise.
3798 * malloc/arena.c: Likewise.
3799 * malloc/malloc.c: Likewise.
3800 * malloc/malloc.h: Likewise.
3801 * malloc/mcheck.c: Likewise.
3802 * malloc/mtrace.c: Likewise.
3803 * math/bits/mathcalls.h: Likewise.
3804 * math/fenv.h: Likewise.
3805 * math/math_private.h: Likewise.
3806 * misc/bits/error.h: Likewise.
3807 * misc/bits/syslog.h: Likewise.
3808 * misc/err.h: Likewise.
3809 * misc/error.h: Likewise.
3810 * misc/fstab.h: Likewise.
3811 * misc/mntent.h: Likewise.
3812 * misc/regexp.h: Likewise.
3813 * misc/search.h: Likewise.
3814 * misc/sgtty.h: Likewise.
3815 * misc/sys/mman.h: Likewise.
3816 * misc/sys/syslog.h: Likewise.
3817 * misc/sys/uio.h: Likewise.
3818 * misc/sys/xattr.h: Likewise.
3819 * misc/ttyent.h: Likewise.
3820 * nis/rpcsvc/ypclnt.h: Likewise.
3821 * nss/nss.h: Likewise.
3822 * posix/bits/unistd.h: Likewise.
3823 * posix/fnmatch.h: Likewise.
3824 * posix/glob.h: Likewise.
3825 * posix/sched.h: Likewise.
3826 * posix/spawn.h: Likewise.
3827 * posix/sys/wait.h: Likewise.
3828 * posix/unistd.h: Likewise.
3829 * posix/wordexp.h: Likewise.
3830 * pwd/pwd.h: Likewise.
3831 * resolv/netdb.h: Likewise.
3832 * resource/sys/resource.h: Likewise.
3833 * rt/aio.h: Likewise.
3834 * rt/bits/mqueue2.h: Likewise.
3835 * rt/mqueue.h: Likewise.
3836 * shadow/shadow.h: Likewise.
3837 * signal/signal.h: Likewise.
3838 * socket/send.c: Likewise.
3839 * socket/sendto.c: Likewise.
3840 * socket/sys/socket.h: Likewise.
3841 * stdio-common/printf.h: Likewise.
3842 * stdlib/bits/stdlib.h: Likewise.
3843 * stdlib/fmtmsg.h: Likewise.
3844 * stdlib/monetary.h: Likewise.
3845 * stdlib/stdlib.h: Likewise.
3846 * stdlib/ucontext.h: Likewise.
3847 * streams/stropts.h: Likewise.
3848 * string/argz.h: Likewise.
3849 * string/bits/string2.h: Likewise.
3850 * string/string.h: Likewise.
3851 * string/strings.h: Likewise.
3852 * sunrpc/rpc/auth.h: Likewise.
3853 * sunrpc/rpc/auth_des.h: Likewise.
3854 * sunrpc/rpc/clnt.h: Likewise.
3855 * sunrpc/rpc/netdb.h: Likewise.
3856 * sunrpc/rpc/pmap_clnt.h: Likewise.
3857 * sunrpc/rpc/xdr.h: Likewise.
3858 * sysdeps/generic/inttypes.h: Likewise.
3859 * sysdeps/generic/net/if.h: Likewise.
3860 * sysdeps/generic/sys/swap.h: Likewise.
3861 * sysdeps/gnu/net/if.h: Likewise.
3862 * sysdeps/gnu/utmpx.h: Likewise.
3863 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3864 * sysdeps/i386/i486/bits/string.h: Likewise.
3865 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3866 * sysdeps/s390/bits/string.h: Likewise.
3867 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3868 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3869 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3870 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3871 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3872 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3873 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3874 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3875 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3876 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3877 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3878 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3879 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3880 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3881 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3882 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3883 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3885 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3886 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3887 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3888 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3889 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3890 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3891 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3892 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3893 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3894 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3895 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3896 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3897 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3898 * sysvipc/sys/ipc.h: Likewise.
3899 * sysvipc/sys/msg.h: Likewise.
3900 * sysvipc/sys/sem.h: Likewise.
3901 * sysvipc/sys/shm.h: Likewise.
3902 * termios/termios.h: Likewise.
3903 * time/sys/time.h: Likewise.
3904 * time/time.h: Likewise.
3905 * wcsmbs/bits/wchar2.h: Likewise.
3906 * wcsmbs/uchar.h: Likewise.
3907 * wcsmbs/wchar.h: Likewise.
3908 * wctype/wctype.h: Likewise.
3909
0269750c
UD
3910 [BZ #13551]
3911 * Makeconfig: Remove all but ELF support including AIX support.
3912 * Makerules: Likewise.
3913 * config.h.in: Likewise.
3914 * config.make.in: Likewise.
3915 * configure: Likewise.
3916 * configure.in: Likewise.
3917 * csu/Makefile: Likewise.
3918 * csu/version.c: Likewise.
3919 * debug/Makefile: Likewise.
3920 * dlfcn/Makefile: Likewise.
3921 * elf/Makefile: Likewise.
3922 * extra-lib.mk: Likewise.
3923 * iconv/Makefile: Likewise.
3924 * include/libc-symbols.h: Likewise.
3925 * include/shlib-compat.h: Likewise.
3926 * resolv/Makefile: Likewise.
3927 * resolv/res_libc.c: Likewise.
3928 * rt/Makefile: Likewise.
3929 * sysdeps/i386/asm-syntax.h: Likewise.
3930 * sysdeps/i386/sysdep.h: Likewise.
3931 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3932 * sysdeps/mach/sysdep.h: Likewise.
3933 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3934 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3935 * sysdeps/s390/asm-syntax.h: Likewise.
3936 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3937 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3938 * sysdeps/sh/sysdep.h: Likewise.
3939 * sysdeps/unix/sparc/sysdep.h: Likewise.
3940 * sysdeps/wordsize-32/divdi3.c: Likewise.
3941 * sysdeps/x86_64/sysdep.h: Likewise.
3942
00bbd29b
UD
3943 * argp/Versions: Remove _argp_unlock_xxx.
3944
3945 [BZ #13559]
3946 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3947 * abilist/libBrokenLocale.abilist: Likewise.
3948 * abilist/libanl.abilist: Likewise.
3949 * abilist/libc.abilist: Likewise.
3950 * abilist/libcrypt.abilist: Likewise.
3951 * abilist/libdl.abilist: Likewise.
3952 * abilist/libm.abilist: Likewise.
3953 * abilist/libnsl.abilist: Likewise.
3954 * abilist/libpthread.abilist: Likewise.
3955 * abilist/libresolv.abilist: Likewise.
3956 * abilist/librt.abilist: Likewise.
3957 * abilist/libthread_db.abilist: Likewise.
3958 * abilist/libutil.abilist: Likewise.
3959 * abilist/libnss_db.abilist: New file.
3960
3961 * scripts/abilist.awk: Add support for indirect functions.
3962
a2693a0e
UD
3963 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3964
3f05895f
UD
3965 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3966
ecb6fb48
UD
3967 * shlib-versions: Remove entries for ports architectures.
3968
664f8cb9
UD
3969 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3970 files in ports.
3971 * elf/stackguard-macros.h: Remove support for IA-64.
3972 * elf/tst-auditmod1.c: Likewise.
3973 * sysdeps/generic/ldsodefs.h: Likewise.
3974
7ae81d88
UD
3975 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3976 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3977 configure files.
3978
bdeba135
UD
3979 [BZ #13552]
3980 * configure.in: Remove --enable-omitfp support.
3981 * FAQ.in: Adjust.
3982 * config.make.in: Likewise.
3983 * Makeconfig: Likewise.
3984 * manual/install.texi: Likewise.
3985
d75a0a62
UD
3986 In case anyone cares, the IA-64 architecture could move to ports.
3987 * sysdeps/ia64/*: Removed.
3988 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3989 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3990
dcc9756b
UD
3991 [BZ #13555]
3992 * configure.in: Remove entries for unsupported architectures.
3993
d3761ebc 3994 [BZ #13533]
9954432e
UD
3995 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3996 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3997 routines.
3998 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3999 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4000 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4001 fall back to using wcrtomb.
4002 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4003 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4004 renaming.
4005 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4006 * wcsmbs/tst-c16c32-1.c: New file.
4007
4008 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4009 local variable.
4010
c3a87236
UD
4011 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4012
28926a1b
UD
4013 * elf/tst-unique3.cc: Add explicit declaration of gets.
4014 * elf/tst-unique3lib.cc: Likewise.
4015 * elf/tst-unique3lib2.cc: Likewise.
4016 * elf/tst-unique4.cc: Likewise.
4017
df78418a
UD
4018 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4019
8ecd6b2a
JM
40202012-01-06 Joseph Myers <joseph@codesourcery.com>
4021
4022 [BZ #13566]
4023 * assert/assert.h (static_assert): Don't define for C++.
4024 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4025 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4026
9f115170
UD
40272012-01-03 Ulrich Drepper <drepper@gmail.com>
4028
5e0d0300
UD
4029 * iconv/loop.c (single loop): Fix assertion in storing of
4030 remaining bytes.
4031
9f115170
UD
4032 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4033
81fb02b0
UD
40342012-01-01 Ulrich Drepper <drepper@gmail.com>
4035
4036 * posix/getconf.c: Update copyright year.
4037 * nss/getent.c: Likewise.
a316c1f6 4038 * nss/makedb.c: Likewise.
81fb02b0
UD
4039 * iconv/iconvconfig.c: Likewise.
4040 * iconv/iconv_prog.c: Likewise.
4041 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4042 * elf/pldd.c: Likewise.
4043 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4044 * catgets/gencat.c: Likewise.
4045 * csu/version.c: Likewise.
4046 * elf/ldd.bash.in: Likewise.
4047 * elf/sprof.c (print_version): Likewise.
4048 * locale/programs/locale.c: Likewise.
4049 * locale/programs/localedef.c: Likewise.
a316c1f6 4050 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4051 * nscd/nscd.c (print_version): Likewise.
4052 * debug/xtrace.sh: Likewise.
4053 * malloc/memusage.sh: Likewise.
4054 * malloc/mtrace.pl: Likewise.
4055 * debug/catchsegv.sh: Likewise.
4056
2ba92745
JJ
40572011-12-30 Jakub Jelinek <jakub@redhat.com>
4058
4059 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4060 pure attribute.
4061
dadebdae
UD
40622011-12-24 Ulrich Drepper <drepper@gmail.com>
4063
d3761ebc 4064 [BZ #13533]
db6af3eb
UD
4065 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4066 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4067 transformations.
4068 * iconv/gconv_int.h: Likewise.
4069 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4070 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4071 from libc for GLIBC_2.16.
4072 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4073 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4074 * wcsmbs/uchar.h: Really define mbstate_t.
4075 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4076 * wcsmbs/c16rtomb.c: New file.
4077 * wcsmbs/mbrtoc16.c: New file.
4078 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4079 for C/POSIX locale.
4080 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4081 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4082
dadebdae
UD
4083 * wcsmbs/wchar.h: Add missing __restrict.
4084
67371b56
UD
40852011-12-23 Ulrich Drepper <drepper@gmail.com>
4086
74033a25
UD
4087 [BZ #13532]
4088 * time/Makefile (routines): Add timespec_get.
4089 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4090 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4091 timespec for ISO C11.
4092 * time/timespec_get.c: New file.
4093 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4094 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4095
380d7e87
UD
4096 [BZ #13531]
4097 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4098 * stdlib/stdlib.h: Declare aligned_alloc.
4099 * Versions.def: Add GLIBC_2.16 for libc.
4100 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4101
4e9e7a35
UD
4102 [BZ 13527]
4103 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4104 ISO C11.
4105
380d7e87 4106 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4107 code.
4108
03a71829
UD
4109 [BZ #13528]
4110 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4111
839e283e
UD
4112 [BZ #13529]
4113 * assert/assert.h (static_assert): Define.
4114
ce5294e2 4115 * version.h: Update for 2.16 development version.
90fa7312 4116
8d44e150 4117 [BZ #13526]
d7809905
UD
4118 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4119 _ISOC11_SOURCE.
4120
c0da14cd
UD
4121 * version.h (RELEASE): Bump for 2.15 release.
4122 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4123
530a3249
MP
4124 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4125 Patch by Marek Polacek <mpolacek@redhat.com>.
4126
67371b56
UD
4127 * bits/byteswap.h: Protect long long constants with __extension__.
4128 * sysdeps/i386/bits/byteswap.h: Likewise.
4129 * sysdeps/ia64/bits/byteswap.h: Likewise.
4130 * sysdeps/s390/bits/byteswap.h: Likewise.
4131 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4132
15db4de1
LD
41332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4134
4135 [BZ #13540]
bbe315ea
LD
4136 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4137 destination buffer.
15db4de1
LD
4138 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4139
2b2596b1
MP
41402011-12-23 Marek Polacek <polacek@redhat.com>
4141
4142 * elf/dl-addr.c (determine_info): Add inline keyword.
4143 * elf/tst-auditmod4b.c (check_avx): Likewise.
4144 * elf/tst-auditmod6b.c (check_avx): Likewise.
4145 * elf/tst-auditmod6c.c (check_avx): Likewise.
4146 * elf/tst-auditmod7b.c (check_avx): Likewise.
4147
70c6c246
UD
41482011-12-23 Ulrich Drepper <drepper@gmail.com>
4149
4150 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4151 !__SSE_MATH__.
4152
c044cf14
LD
41532011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4154
15db4de1 4155 [BZ #13540]
c044cf14
LD
4156 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4157 processing for last bytes.
4158
6b13d9d9
BH
41592011-08-06 Bruno Haible <bruno@clisp.org>
4160
d455f537
BH
4161 [BZ #13061]
4162 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4163 U+0385, not to U+1FEE.
4164
6b13d9d9
BH
4165 [BZ #13062]
4166 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4167 entry for U+00A5 U+0301.
4168
db910efd
UD
41692011-12-22 Ulrich Drepper <drepper@gmail.com>
4170
27deeafc
UD
4171 [BZ #13166]
4172 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4173 buffer for the output is too small.
4174
aed9d171
UD
4175 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4176 optimization.
4177
db910efd
UD
4178 [BZ #13185]
4179 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4180 SSE flags if possible.
4181
2bd779ae
LD
41822011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4183
e7f9dac3 4184 [BZ #13540]
2bd779ae
LD
4185 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4186 processing for last bytes.
4187
154bfc16
JM
41882011-12-22 Joseph Myers <joseph@codesourcery.com>
4189
4190 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4191 (syscall-list-default-options, syscall-list-default-condition)
4192 (syscall-list-includes): Define.
4193 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4194 list of ABIs and options and #if conditions for each ABI. Do not
4195 handle common syscalls between ABIs specially.
4196 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4197 Remove.
4198 (syscall-list-variants, syscall-list-32bit-options)
4199 (syscall-list-32bit-condition, syscall-list-64bit-options)
4200 (syscall-list-64bit-condition): Define.
4201 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4202 (syscall-list-variants, syscall-list-32bit-options)
4203 (syscall-list-32bit-condition, syscall-list-64bit-options)
4204 (syscall-list-64bit-condition): Define.
4205 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4206 Remove.
4207 (syscall-list-variants, syscall-list-32bit-options)
4208 (syscall-list-32bit-condition, syscall-list-64bit-options)
4209 (syscall-list-64bit-condition): Define.
4210 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4211 Remove.
4212 (syscall-list-variants, syscall-list-32bit-options)
4213 (syscall-list-32bit-condition, syscall-list-64bit-options)
4214 (syscall-list-64bit-condition): Define.
4215
21eaf3a5
UD
42162011-12-22 Ulrich Drepper <drepper@gmail.com>
4217
16c6f992
UD
4218 * locale/iso-639.def: Add brx entry.
4219
41043168
UD
4220 [BZ #13328]
4221 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4222 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4223
21eaf3a5
UD
4224 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4225 __feraiseexcept_renamed.
4226
e3a851a2
UD
42272011-12-21 Ulrich Drepper <drepper@gmail.com>
4228
4920765e
UD
4229 [BZ #13538]
4230 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4231 EPOLLET with unsigned values.
4232 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4233 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4234
e3a851a2
UD
4235 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4236 to large cancellation.
4237 * math/s_cacoshf.c: Likewise.
4238 * math/s_cacoshl.c: Likewise.
4239
b27e24b8
RK
42402011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4241
4242 [BZ #13305]
aebefeee 4243 [BZ #12786]
b27e24b8
RK
4244 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4245 * math/s_cacoshf.c: Likewise.
4246 * math/s_cacoshl.c: Likewise.
4247
ee190f67
UD
42482011-12-21 Ulrich Drepper <drepper@gmail.com>
4249
4250 [BZ #13439]
4251 * iconv/gconv.h: Define __GCONV_SWAP.
4252 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4253 * iconvdata/utf-16.c: Likewise.
4254 * iconvdata/utf-32.c: Likewise.
4255
707f25df
AS
42562011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4257
4258 [BZ #13524]
4259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4260 numerator after shifting it by one limb.
4261
d2daaa1e
RÁE
42622011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4263
4264 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4265 under [__USE_EXTERN_INLINES].
4266
a4647e72
UD
42672011-12-17 Ulrich Drepper <drepper@gmail.com>
4268
4269 [BZ #13446]
4270 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4271
f0b264f1
AZ
42722011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4273
4274 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4275 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4276 optimized code.
4277 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4278 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4279 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4280 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4281 for strncasecmp/strncasecmp_l compilation.
4282 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4283 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4284
8ef4f244
MP
42852011-12-08 Marek Polacek <mpolacek@redhat.com>
4286
4287 [BZ #13484]
4288 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4289 of __asm__.
4290
97ac2654
UD
42912011-12-17 Ulrich Drepper <drepper@gmail.com>
4292
4293 [BZ #13506]
4294 * time/tzfile.c (__tzfile_read): Check values from file header.
4295
91d2a845
WS
42962011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4297
4298 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4299 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4300 * powerpc/powerpc32/dl-start.S: Likewise.
4301 * powerpc/powerpc32/elf/start.S: Likewise.
4302 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4303 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4304 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4305 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4306 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4307 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4308 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4309 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4310 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4311 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4312 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4313 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4314 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4315 * powerpc/powerpc32/memset.S: Likewise.
4316 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4317 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4318 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4319 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4320 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4321 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4322 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4323 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4324 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4325 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4326 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4327 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4328 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4329
a1267ba1
AZ
43302011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4331
4332 * math/libm-test.inc: Added more nearbyint tests.
4333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4334 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4335 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4336 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4337
ad8ac1bd
RL
43382011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4339
4340 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4341 FD_CLOEXEC.
4342
1d3e4b61
UD
43432011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4344
4345 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4346 Add wcscpy-ssse3 wcscpy-c.
4347 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4348 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4349 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4350 * sysdeps/x86_64/wcschr.S: New file.
4351 * sysdeps/x86_64/wcsrchr.S: New file.
4352 * string/test-strcmp.c: Remove checking of wcscmp function for
4353 wrong alignments.
4354 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4355 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4356 wcsrchr-sse2 wcsrchr-c.
4357 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4358 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4359 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4360 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4361 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4362 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4363 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4364 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4365 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4366 * wcsmbc/wcschr.c (WCSCHR): New macro.
4367
5b330a2d
UD
43682011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4369
4370 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4371 * wcsmbs/test-wcsrchr.c: New file.
4372 * string/test-strrchr.c: Add wcsrchr support.
4373 (WIDE): New macro.
4374 * wcsmbs/test-wcscpy.c: New file.
4375 * string/test-strcpy.c: Add wcscpy support.
4376 (WIDE): New macro.
26428b7c 4377
f039c043
UD
43782011-12-10 Ulrich Drepper <drepper@gmail.com>
4379
4380 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4381 the inner loop.
4382
850fb039
AS
43832011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4384
4385 [BZ #13472]
4386 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4387
4efbd5cb
UD
43882011-12-04 Ulrich Drepper <drepper@gmail.com>
4389
52ff5dd0 4390 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4391 Minor optimizations.
52ff5dd0 4392
4efbd5cb
UD
4393 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4394 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4395 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4396
8a426e12
UD
43972011-12-03 Ulrich Drepper <drepper@gmail.com>
4398
aff2453d
UD
4399 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4400 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4401 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4402 for gcc to avoid warnings.
4403 * inet/Makefile (tests): Add tst-checks.
4404 * inet/tst-checks.c: New file.
4405
4406 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4407 warning.
4408
4409 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4410 __wmemcmp_sse2.
4411
4412 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4413 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4414
8a426e12
UD
4415 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4416
9bea3473
UD
44172011-12-02 Ulrich Drepper <drepper@gmail.com>
4418
3a965496
UD
4419 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4420 problem.
4421
9bea3473
UD
4422 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4423
f101631b
UD
44242011-11-29 Joseph Myers <joseph@codesourcery.com>
4425
4426 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4427 conditional on GCC version.
4428 (__arch_compare_and_exchange_val_8_acq)
4429 (__arch_compare_and_exchange_val_16_acq)
4430 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4431 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4432 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4433
a98275aa
UD
44342011-12-02 Joseph Myers <joseph@codesourcery.com>
4435
4436 * sysdeps/sh/backtrace.c: New file.
4437
d4cc29a2
AS
44382011-12-02 Andreas Schwab <schwab@redhat.com>
4439
4440 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4441 parenthesis.
4442
6257af2d
AS
44432011-12-01 Andreas Schwab <schwab@redhat.com>
4444
4445 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4446 falling back to utime.
4447
b5f44c1a
AS
44482011-11-30 Andreas Schwab <schwab@redhat.com>
4449
4450 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4451 expectations for float.
4452
f3a6cc0a
AS
44532011-11-29 Andreas Schwab <schwab@redhat.com>
4454
4455 * locale/weight.h (findidx): Add parameter len.
4456 * locale/weightwc.h (findidx): Likewise.
4457 * posix/fnmatch_loop.c (FCT): Adjust caller.
4458 * posix/regcomp.c (build_equiv_class): Likewise.
4459 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4460 * posix/regexec.c (check_node_accept_bytes): Likewise.
4461 * string/strcoll_l.c (STRCOLL): Likewise.
4462 * string/strxfrm_l.c (STRXFRM): Likewise.
4463
9d65ea3a
UD
44642011-11-17 Ulrich Drepper <drepper@gmail.com>
4465
4466 * Makefile.in: Remove CVSOPT handling.
4467 * configure.in: Remove use of AC_REVISION.
4468 * iconvdata/Makefile (distribute): No need to filter out CVS.
4469 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4470 handling.
4471
5583a086
AS
44722011-11-16 Andreas Schwab <schwab@redhat.com>
4473
4474 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4475 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4476 [USE_AS_STRNCASECMP_L]: Likewise.
4477 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4478 NO_TLS_DIRECT_SEG_REFS.
4479 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4480 Fix argument offsets for non-PIC.
4481 [USE_AS_STRNCASECMP_L]: Likewise.
4482 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4483 NO_TLS_DIRECT_SEG_REFS.
4484
d62a8200
UD
44852011-11-15 Ulrich Drepper <drepper@gmail.com>
4486
9d65ea3a 4487 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4488 O_CLOEXEC.
4489 * locale/loadlocale.c (_nl_load_locale): Likewise.
4490
09f93bd3
AS
44912011-11-15 Andreas Schwab <schwab@redhat.com>
4492
446514f9
AS
4493 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4494 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4495 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4496 (SYSCALL_GETTIME): Set errno on error.
4497
09f93bd3
AS
4498 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4499 count references to noai6ai_cached.
4500
312be3f9
UD
45012011-11-15 Ulrich Drepper <drepper@gmail.com>
4502
4503 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4504
4505 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4506 FD_CLOEXEC for /proc/self/maps.
4507
4508 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4509 FD_CLOEXEC for /proc/meminfo.
4510
4511 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4512 gai.conf.
4513
4514 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4515 FD_CLOEXEC for given file.
4516
4517 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4518
4519 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4520 FD_CLOEXEC for /etc/hosts.
4521 (_gethtent): Likewise.
4522
4523 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4524
4525 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4526 cancellation and set FD_CLOEXEC for /etc/netgroup.
4527
4528 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4529 reading /etc/publickey.
4530
4531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4532 allow cancellation when reading /etc/group.
4533
4534 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4535 cancellation.
4536 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4537
4538 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4539 when using data file.
4540
4541 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4542
4543 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4544 (write_nis_obj): Use "c" and "e" in fopen.
4545
4546 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4547
4548 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4549
4550 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4551
4552 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4553
4554 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4555 locale.alias.
4556
4557 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4558
4559 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4560
4561 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4562
4563 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4564 file parsing and set FD_CLOEXEC.
4565
82af0fa8
UD
45662011-11-14 Ulrich Drepper <drepper@gmail.com>
4567
4568 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4569
a5fb313c
AS
45702011-11-14 Andreas Schwab <schwab@redhat.com>
4571
4572 * malloc/arena.c (arena_get2): Don't call reused_arena when
4573 _int_new_arena failed.
4574
6abf3465
UD
45752011-11-14 Ulrich Drepper <drepper@gmail.com>
4576
4577 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4578 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4579 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4580 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4581 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4582 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4583 to compile strcasecmp and strncasecmp.
4584 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4585 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4586
4587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4588
76e3966e
UD
45892011-11-13 Ulrich Drepper <drepper@gmail.com>
4590
4591 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4592 locale-defines.sym to gen-as-const-headers.
4593 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4594 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4595 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4596 to compile strcasecmp and strncasecmp.
4597 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4598 strcasecmp_l and strncasecmp_l.
4599 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4600 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4601 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4602 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4603 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4604 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4605 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4606 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4607 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4608 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4609 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4610
ab26144e
UD
46112011-11-12 Ulrich Drepper <drepper@gmail.com>
4612
7edb22ef
UD
4613 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4614 result of SYSDEP_GETTIME_CPU to retval.
4615 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4616 parameter list to macro. Remove trailing semicolon. Adjust users.
4617
9694fc44
UD
4618 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4619 variable.
4620
8ad89ef8
UD
4621 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4622 mantissa words.
4623 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4624
0c822ef9
UD
4625 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4626 from unused variable.
4627
874e0564
UD
4628 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4629 DWARF definitions.
4630 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4631 for assembling.
4632
3a2edc79
UD
4633 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4634 over namespaces.
4635
f3c2577f
UD
4636 * sunrpc/rpc_prot.c (rejected): Fix case value.
4637
294ce126
UD
4638 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4639 unsigned long long int to avoid warnings in shift.
4640
5e2b63c6
UD
4641 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4642 of use of trans.
4643 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4644 variable tmp.
4645
e7f4b08e
UD
4646 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4647 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4648 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4649
ab26144e
UD
4650 * nis/nis_table.c (nis_list): Use variable of correct type for
4651 result of __follow_path call.
4652
8a6d5255
AZ
46532011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4654
4655 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4656 of math functions ceil, trunc, floor, round, and sqrt, when
4657 avaliable on the platform.
4658 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4659 name clash.
4660 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4661 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4662 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4663
aaddc98c
MP
46642011-10-30 Marek Polacek <mpolacek@redhat.com>
4665
4666 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4667 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4668
95b7042b
RM
46692011-11-11 Roland McGrath <roland@hack.frob.com>
4670
4671 * include/unistd.h: Fix __readlink return type.
4672 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4673
57769839
UD
46742011-11-11 Ulrich Drepper <drepper@gmail.com>
4675
4676 * stdlib/ucontext.h: Undo last change for makecontext.
4677
edc5984d
AS
46782011-11-11 Andreas Schwab <schwab@redhat.com>
4679
98591e58
AS
4680 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4681
edc5984d
AS
4682 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4683 * setjmp/setjmp.h: Mark functions as non-leaf.
4684 * setjmp/bits/setjmp2.h: Likewise.
4685 * stdlib/ucontext.h: Likewise.
4686
77cdc054
AS
46872011-11-10 Andreas Schwab <schwab@redhat.com>
4688
4689 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4690 (reused_arena): Don't check arena limit.
4691 (arena_get2): Atomically check arena limit.
4692
fe72eebd
UD
46932011-11-08 Ulrich Drepper <drepper@gmail.com>
4694
5f078c32
UD
4695 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4696 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4697
fe72eebd
UD
4698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4699 instructions.
4700
ae1bc2fa
AS
47012011-11-07 Andreas Schwab <schwab@redhat.com>
4702
7583a88d
AS
4703 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4704 handler when locking.
4705
ae1bc2fa
AS
4706 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4707 Fix size of allocated buffer.
4708
10fb0bfa
AS
47092011-11-04 Andreas Schwab <schwab@redhat.com>
4710
998832a4
AS
4711 [BZ #10103]
4712 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4713 declarations for long double functions.
4714 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4715
10fb0bfa
AS
4716 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4717
3d7ba52b
AS
47182011-11-03 Andreas Schwab <schwab@redhat.com>
4719
a9ae54a1
AS
4720 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4721 installed.
4722
3d7ba52b
AS
4723 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4724 is disabled.
4725
bc8db248
ST
47262011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4727
4728 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4729
45b96dd6
AS
47302011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4731
647776f6
AS
4732 * include/alloca.h (stackinfo_alloca_round): Define.
4733 (extend_alloca): Use it.
4734 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4735 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4736 here.
4737
d91a8b93
AS
4738 * scripts/check-local-headers.sh: Ignore libaudit.h.
4739
45b96dd6
AS
4740 * nscd/Makefile (extra-objs): Make recursively expanded.
4741
432d41ce
UD
47422011-11-01 Ulrich Drepper <drepper@gmail.com>
4743
34372fc6
UD
4744 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4746
fadb59f8
UD
4747 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4748 * posix/tst-rfc3484-2.c: Likewise.
4749 * posix/tst-rfc3484-3.c: Likewise.
4750
78239589
UD
4751 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4752 process_vm_writev.
4753 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4754 process_vm_writev.
4755 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4756 process_vm_writev from libc using GLIBC_2.15 version.
4757
432d41ce
UD
4758 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4759
02f9c6cf
PP
47602011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4761
4762 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4763 stack usage.
4764
3a2c0242
UD
47652011-10-31 Ulrich Drepper <drepper@gmail.com>
4766
f4ec4833
UD
4767 [BZ #13367]
4768 * nss/getent.c (initgroups_keys): Show error message in case no group
4769 names are given.
4770
3a2c0242
UD
4771 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4772 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4773 __bump_nl_timestamp.
4774 * nscd/connections (nscd_init): When host database is served open
4775 netlink socket and request notification about configuration changes.
4776 (main_loop_poll): Track netlink file descriptor and bump timestamp
4777 in case data becomes available.
4778 (main_loop_epoll): Likewise.
4779 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4780 (database_pers_head): Add extra_data fileds.
4781 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4782 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4783 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4784 Adjust caller.
4785 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4786 in6ai data, call __free_in6ai.
4787 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4788 Add -DHAVE_NETLINK.
4789 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4790 interface information. Reuse previous data if netlink timestamp
4791 is not changed.
4792 (__bump_nl_timestamp): New function.
4793 (__free_in6ai): New function.
4794
636064eb
UD
47952011-10-30 Ulrich Drepper <drepper@gmail.com>
4796
4797 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4798 close_not_cancel_no_status here.
4799 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4800
9beb2334
UD
48012011-10-29 Ulrich Drepper <drepper@gmail.com>
4802
6ef76f3b
UD
4803 [BZ #13276]
4804 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4805 return value.
4806
0ffc4f3e 4807 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4808 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4809 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4810
cb95113e
UD
48112011-07-03 Andreas Jaeger <aj@suse.de>
4812
4813 [BZ #10709]
4814 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4815 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4816 * math/libm-test.inc (sin_test): Add test case.
4817
a1b560ff
UD
48182011-10-29 Ulrich Drepper <drepper@gmail.com>
4819
c9aaface
UD
4820 [BZ #13337]
4821 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4822 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4823
d272e7f1
UD
4824 * elf/chroot_canon.c (chroot_canon): Cleanups.
4825
1bc33071
UD
4826 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4827
1760874d
TJ
4828 [BZ #13335]
4829 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4830 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4831
51d91b18
UD
4832 * string/test-strchr.c: Make usable for strchrnul testing.
4833 * string/test-strchrnul.c: New file.
4834 * string/Makefile (strop-tests): Add strchrnul.
4835
a1b560ff 4836 * po/it.po: Update from translation team.
b611fb81 4837 * po/es.po: Likewise.
a1b560ff 4838
a5b81e1f
UD
48392011-10-28 Ulrich Drepper <drepper@gmail.com>
4840
fd52bc6d
UD
4841 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4842 the three constants needed as parameters. Drop the others.
4843 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4844 __m128i_strloadu_tolower.
52e4b9eb
UD
4845 Create and initialize variable zero and use it in all the places
4846 where _mm_setzero_si128 was used.
fd52bc6d 4847
a5b81e1f
UD
4848 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4849 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4850 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4851 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4852 anymore.
4853 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4854 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4855 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4856 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4857 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4858 __mpranred, __mptan.
4859 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4860 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4861 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4862 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4863 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4864 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4865 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4866 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4867 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4868
b4343346
AS
48692011-10-28 Andreas Schwab <schwab@redhat.com>
4870
0c92d8a8
AS
4871 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4872 redefine if SHARED.
4873 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4874
b4343346
AS
4875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4876 wide char related routines to wcsmbs subdir.
4877
3871f58f
AS
48782011-10-27 Andreas Schwab <schwab@redhat.com>
4879
4880 [BZ #13344]
4881 * misc/sys/cdefs.h (__THROWNL): Define.
4882 * posix/unistd.h: Use __THREADNL instead of __THREAD
4883 for memory synchronization functions.
4884
94d44d9f
RM
48852011-10-26 Roland McGrath <roland@hack.frob.com>
4886
21b64b15 4887 [BZ #13349]
94d44d9f
RM
4888 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4889 doesn't exist.
4890 * manual/stdio.texi (Obstack Streams): Node removed.
4891
f6ce9294
AS
48922011-10-26 Andreas Schwab <schwab@redhat.com>
4893
80479147
AS
4894 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4895 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4896 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4897
f6ce9294
AS
4898 * math/math_private.h (math_force_eval): Allow non-addressable
4899 arguments.
4900 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4901
618280a1
UD
49022011-10-25 Ulrich Drepper <drepper@gmail.com>
4903
e0016b11
UD
4904 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4905 file is not needed.
4906
4907 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4908 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4909 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4910 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4914 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4915 Add AVX variants.
4916 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4917 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4918 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4919 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4920 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4921 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4922 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4923 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4924 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4925 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4926 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4927 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4928 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4929 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4930 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4931 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4932 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4933 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4934 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4935
4936 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4937 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4938
618280a1
UD
4939 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4940 place. Use VEX encoding when compiling for AVX.
4941
37822576
AS
49422011-10-25 Andreas Schwab <schwab@redhat.com>
4943
1f1e1947
AS
4944 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4945 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4946
37822576
AS
4947 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4948
31ea014d
UD
49492011-10-25 Ulrich Drepper <drepper@gmail.com>
4950
d7826aa1 4951 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 4952 useless if() expression.
d7826aa1
UD
4953 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4962 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4963 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4964 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4965 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4966 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4967 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4968 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4969 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4970 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4971 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4972
31ea014d
UD
4973 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4974
16437fec
AS
49752011-10-25 Andreas Schwab <schwab@redhat.com>
4976
4977 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4978 condition.
4979 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4980
31d3cc00
UD
49812011-10-25 Ulrich Drepper <drepper@gmail.com>
4982
4983 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4984 .text section. Avoid duplicate constants.
4985 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4987 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4993 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4994 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4995 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4996 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4997 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5002 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5006 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5007 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5008 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5009 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5010 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5011 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5012 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5013 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5014 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5015 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5016 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5017 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5018 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5019 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5020 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5021 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5022 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5023 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5024 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5025 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5026 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5027 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5028 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5029 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5030
58985aa9
UD
50312011-10-24 Ulrich Drepper <drepper@gmail.com>
5032
202c9deb
UD
5033 * sysdeps/x86_64/dla.h: Move to ...
5034 * sysdeps/x86_64/fpu/dla.h: ...here.
5035 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5036 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5037
af968f62
UD
5038 * config.make.in: Add have-mfma4 entry.
5039 * configure.in: Substitute libc_cv_cc_fma4.
5040 * math/Makefile (dbl-only-routines): Add sincostab.
5041 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5042 Use __sincostab not sincos.
5043 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5044 name is a macro.
5045 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5046 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5049 using __copysign.
5050 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5051 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5052 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5053 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5054 and __inv.
5055 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5056 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5057 __copysign.
5058 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5059 define aliases when function name is a macro.
5060 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5061 sysdeps/ieee754/dbl-64/sincos.tbl.
5062 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5063 fma4-enabled routines.
5064 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5065 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5066 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5067 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5068 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5069 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5070 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5071 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5072 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5073 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5074 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5075 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5076 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5077 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5078 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5079 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5080 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5081 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5082 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5083 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5084 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5085 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5086 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5087 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5088 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5089 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5090 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5091 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5092 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5093 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5094
58985aa9
UD
5095 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5096 rename.
5097 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5102 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5103 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5104 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5105
a201fbcf
AS
51062011-10-24 Andreas Schwab <schwab@redhat.com>
5107
5108 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5109
fc2ee42a
LD
51102011-10-23 Ulrich Drepper <drepper@gmail.com>
5111
bb3129bd
UD
5112 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5113
0275fff8
UD
5114 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5115 prediction.
5116 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5117
2fa2ae85
UD
5118 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5119 Remove unused variable magic_bits.
5120 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5121
fc2ee42a
LD
5122 * string/strnlen.c: Define and use STRNLEN macro.
5123 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5124 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5126 * wcsmbs/wcslen.c: Define and use WCSLEN.
5127 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5128 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5129 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5130 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5131 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5132 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5133 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5134
ce7dd29f
LD
51352011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5136
5137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5138 strnlen-sse2-no-bsf.
5139 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5141 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5142 Add strnlen support.
5143 (USE_AS_STRNLEN): New macro.
5144 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5145 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5146 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5147 * sysdeps/x86_64/wcslen.S: New file.
5148
979c70a3
MZ
51492011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5150
5151 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5152 XMM-moves are used for copying on small sizes.
5153
2d09f82f
LD
51542011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5155
5156 * wcsmbs/Makefile (strop-tests): Add wcschr.
5157 * wcsmbs/test-wcschr.c: New file.
5158 * string/test-strchr.c: Update.
5159 Add wcschr support.
5160 (WIDE): New macro.
5161
619fccca
LD
51622011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5163
2d09f82f 5164 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5165 * wcsmbs/test-wcslen.c: New file.
5166 * string/test-strlen.c: Update.
5167 Add wcslen support.
5168 (WIDE): New macro.
5169
09f699ea
UD
51702011-10-23 Ulrich Drepper <drepper@gmail.com>
5171
5172 * po/it.po: Update from translation team.
5173
95584d3b
LD
51742011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5175
5176 * sysdeps/x86_64/wcscmp.S: Update.
5177 Fix wrong comparison semantics.
5178 wcscmp shall use signed comparison not unsigned.
5179 Don't use substraction to avoid overflow bug.
5180 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5181 * wcsmbc/wcscmp.c: Likewise.
5182 * string/test-strcmp.c: Likewise.
5183 Add new tests to check cases with negative values.
5184
c8b3296b
UD
51852011-10-23 Ulrich Drepper <drepper@gmail.com>
5186
5187 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5188 * sysdeps/x86_64/dla.h: ...here. New file.
5189 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5194 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5198
246ad57a
AS
51992011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5200
5201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5202 __ynl_finite aliases.
5203
a1a87169
UD
52042011-10-22 Ulrich Drepper <drepper@gmail.com>
5205
0d355eb7
UD
5206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5207
a1a87169
UD
5208 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5209 define DLA_FMA.
5210 [DLA_FMA] (EMULV): Use DLA_FMA.
5211 [DLA_FMA] (MUL12): Use EMULV.
5212 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5213 that are not needed.
5214 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5217 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5221
ee2aafe0
AS
52222011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5223
5224 * math/s_nan.c: Undef __nan.
5225 * math/s_nanf.c: Undef __nanf.
5226 * math/s_nanl.c: Undef __nanl.
5227 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5228 "math_private.h".
5229
bc62c2fb
UD
52302011-10-22 Ulrich Drepper <drepper@gmail.com>
5231
77425c63
UD
5232 * math/s_catan.c: Add branch predictions.
5233 * math/s_catanf.c: Likewise.
5234 * math/s_catanh.c: Likewise.
5235 * math/s_catanhf.c: Likewise.
5236 * math/s_catanhl.c: Likewise.
5237 * math/s_catanl.c: Likewise.
5238 * math/s_cexp.c: Likewise.
5239 * math/s_cexpf.c: Likewise.
5240 * math/s_cexpl.c: Likewise.
5241 * math/s_clog.c: Likewise.
5242 * math/s_clog10.c: Likewise.
5243 * math/s_clog10f.c: Likewise.
5244 * math/s_clog10l.c: Likewise.
5245 * math/s_clogf.c: Likewise.
5246 * math/s_clogl.c: Likewise.
5247 * math/s_csqrt.c: Likewise.
5248 * math/s_csqrtf.c: Likewise.
5249 * math/s_csqrtl.c: Likewise.
5250 * math/s_ctanf.c: Likewise.
5251 * math/s_ctanh.c: Likewise.
5252 * math/s_ctanhf.c: Likewise.
5253 * math/s_ctanhl.c: Likewise.
5254 * math/s_ctanl.c: Likewise.
5255
bc62c2fb
UD
5256 * math/math_private.h: Define __nan, __nanf, __nanl.
5257 * math/s_cacosh.c: Include <math_private.h>.
5258 * math/s_cacoshl.c: Likewise.
5259 * math/s_casinh.c: Likewise.
5260 * math/s_casinhf.c: Likewise.
5261 * math/s_casinhl.c: Likewise.
5262 * math/s_ccos.c: Rely entire on ccosh.
5263 * math/s_ccosf.c: Rely entire on ccoshf.
5264 * math/s_ccosl.c: Rely entirely on ccoshl.
5265 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5266 Remove tests for FE_INVALID.
5267 * math/s_ccoshf.c: Likewise.
5268 * math/s_ccoshl.c: Likewise.
5269 * math/s_csin.c: Likewise.
5270 * math/s_csinf.c: Likewise.
5271 * math/s_csinh.c Likewise.
5272 * math/s_csinhf.c: Likewise.
5273 * math/s_csinhl.c: Likewise.
5274 * math/s_csinl.c: Likewise.
5275 * math/s_ctan.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5277 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5278 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5279
8ec250a4
UD
52802011-10-21 Ulrich Drepper <drepper@gmail.com>
5281
c196fed8
UD
5282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5283 compilation problems.
5284
8ec250a4
UD
5285 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5286 __builtin_expect.
5287
8d4f46c6
UD
52882011-10-20 Ulrich Drepper <drepper@gmail.com>
5289
ed72b654
UD
5290 * sysdeps/i386/configure.in: Test for -mfma4 option.
5291 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5292 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5293 COMMON_CPUID_INDEX_80000001.
5294 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5295 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5296 use it if FMA3 is not supported.
5297 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5298
8d4f46c6
UD
5299 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5300 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5301
d45c60c2
AS
53022011-10-20 Andreas Schwab <schwab@redhat.com>
5303
5304 [BZ #12892]
5305 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5306 it would create a cycle with a link time dependency.
5307
d9a4d2ab
UD
53082011-10-19 Ulrich Drepper <drepper@gmail.com>
5309
855d1560
UD
5310 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5311 instruction.
5312 * string/Makefile (strop-tests): Add rawmemchr.
5313 * string/test-rawmemchr.c: New file.
5314
d9a4d2ab
UD
5315 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5316 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5317 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5318 when compiling str{,n}casecmp and when AVX is available. Hook up
5319 new optimized code in initializers.
5320
8f3b1ffe
AS
53212011-10-19 Andreas Schwab <schwab@redhat.com>
5322
5323 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5324 __feraiseexcept instead of feraiseexcept.
5325
d38f1dba
UD
53262011-10-18 Ulrich Drepper <drepper@gmail.com>
5327
d9a8d0ab
UD
5328 * math/math_private.h: Define defaults for libc_fetestexcept and
5329 libc_feupdateenv.
5330 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5331 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5332 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5333 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5334 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5335 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5336 libc_fetestexcept and libc_feupdateenv.
5337
4855e3dd
UD
5338 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5339 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5340 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5341 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5342 libc_feholdexcept_setround.
5343
581d30e3
UD
5344 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5345 Add s_nearbyint-c and s_nearbyintf-c.
5346 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5347 nearbyintf inlines.
5348 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5349 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5350 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5351 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5352
d38f1dba
UD
5353 * math/math_private.h: Define defaults for libc_fegetround,
5354 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5355 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5356 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5357 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5358 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5359 standard functions.
5360 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5361 Remove comments and hacks for old compiler versions.
5362 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5363 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5364 libc_feholdexceptl.
5365
caa6c9d8
AS
53662011-10-18 Andreas Schwab <schwab@redhat.com>
5367
5368 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5369 (__feraiseexcept_renamed): Add __NTH.
5370 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5371 namespace violations.
5372
97c066e6
UD
53732011-10-17 Ulrich Drepper <drepper@gmail.com>
5374
99ce7b04
UD
5375 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5376
1004d182
UD
5377 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5378
228a984d
UD
5379 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5380 recently added interfaces.
5381 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5382
c8553a6a
UD
5383 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5384 about macro parameter expansion.
5385
ed22dcf6
UD
5386 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5387 __NO_MATH_INLINES is defined. Cleanups.
5388
5389 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5390 and __floorf is target has SSE4.1.
5391 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5392 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5393 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5394 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5395
b171c137
UD
5396 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5397 name.
5398 (floorf): Likewise.
5399
97c066e6
UD
5400 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5401
629f62ef
AS
54022011-10-17 Andreas Schwab <schwab@redhat.com>
5403
49a43d80
AS
5404 * misc/sys/cdefs.h: Fix last change.
5405
629f62ef
AS
5406 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5407 database lookup.
5408
e453f6cd
UD
54092011-10-16 Ulrich Drepper <drepper@gmail.com>
5410
aa78043a
UD
5411 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5412
ad0f5cad
UD
5413 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5414 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5415 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5419 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5420 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5421 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5422 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5423 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5424 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5425 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5426 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5427 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5428 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5429 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5430 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5431 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5432 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5433 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5434 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5435
5436 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5437 ceil, ceilf, floor, floorf.
5438
5439 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5440 Perform IRELATIVE relocations last.
5441
e453f6cd
UD
5442 * elf/do-rel.h: Add another parameter nrelative, replacing the
5443 local variable with the same name. Change name of the function
5444 to end in Rel or Rela (uppercase).
5445 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5446 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5447 elf_dynamic_do_##reloc function.
5448
fd5bdc09
UD
54492011-10-15 Ulrich Drepper <drepper@gmail.com>
5450
79b195b5
UD
5451 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5452 is sufficient, at least on modern CPUs.
5453
d4a28569
UD
5454 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5455
b61099b5
UD
5456 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5457 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5458
bcf01e6d
UD
5459 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5460 __expl_finite.
5461 * math/bits/math-finite.h: Add entries for exp.
5462 * math/e_expl.c: Add __*_finite alias.
5463 * sysdeps/i386/fpu/e_exp.S: Likewise.
5464 * sysdeps/i386/fpu/e_expf.S: Likewise.
5465 * sysdeps/i386/fpu/e_expl.c: Likewise.
5466 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5467 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5470 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5471 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5472 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5473
ba1a0d59
UD
5474 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5475 is sufficient, at least on modern CPUs.
5476
fd5bdc09
UD
5477 * ctype/ctype-info.c (__ctype_init): Define.
5478 * include/ctype.h (__ctype_init): Declare.
5479 (__ctype_b_loc): The variable is always initialized.
5480 (__ctype_toupper_loc): Likewise.
5481 (__ctype_tolower_loc): Likewise.
5482 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5483 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5484
7872cfb0
AS
54852011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5486
b468825a
AS
5487 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5488
7872cfb0
AS
5489 * configure.in: Also look in $cxxmachine/include for C++ system
5490 headers.
5491
be13f7bf
LD
54922011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5493
5494 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5495 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5496 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5497 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5498 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5499 (USE_AS_WMEMCMP): New macro.
5500 Fixing indents.
5501 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5502 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5503 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5504 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5506 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5507 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5508 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5509 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5510 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5511 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5512 (USE_AS_WMEMCMP): New macro.
5513 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5514 * sysdeps/string/test-memcmp.c: Update.
5515 Fix simple_wmemcmp.
5516 Add new tests.
5517 * wcsmbs/wmemcmp.c: Update.
5518 (WMEMCMP): New macro.
5519 Fix overflow bug.
5520
556a2007
AJ
55212011-10-12 Andreas Jaeger <aj@suse.de>
5522
5523 [BZ #13268]
5524 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5525
538faaa7
UD
55262011-10-15 Ulrich Drepper <drepper@gmail.com>
5527
ab6737ff
UD
5528 * libio/iofwide.c (do_length): Avoid warning.
5529
538faaa7
UD
5530 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5531
396a21b1
UD
55322011-10-14 Ulrich Drepper <drepper@gmail.com>
5533
cdf2901f
UD
5534 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5535
38ad40ce
UD
5536 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5537 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5538 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5539 * sysdeps/i386/i686/fpu/e_log.S: New file.
5540 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5541 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5542
396a21b1
UD
5543 * ctype/ctype.h: Add support for inlined isXXX functions when
5544 compiling C++ code.
5545
6b1f68c9
AS
55462011-10-14 Andreas Schwab <schwab@redhat.com>
5547
349290c0
AS
5548 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5549
6b1f68c9
AS
5550 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5551
f2282d42
RM
55522011-10-13 Roland McGrath <roland@hack.frob.com>
5553
5554 [BZ #13291]
5555 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5556
5298ffa8
AS
55572011-10-13 Andreas Schwab <schwab@redhat.com>
5558
714fad23
AS
5559 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5560 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5561 feraiseexcept.
5562
81dcc7fb
AS
5563 * sysdeps/x86_64/memrchr.S: Check for zero size.
5564
5298ffa8
AS
5565 * string/stratcliff.c: Add memrchr tests.
5566
951fbcec
LD
55672011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5568
5569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5570 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5571 rawmemchr-sse2 rawmemchr-sse2-bsf.
5572 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5573 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5574 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5575 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5576 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5577 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5578 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5579 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5580 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5581 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5582 * string/memrchr.c (MEMRCHR): New macro.
5583
0ac5ae23
UD
55842011-10-12 Ulrich Drepper <drepper@gmail.com>
5585
5586 Add integration with gcc's -ffinite-math-only and optimize wrapper
5587 functions in libm.
5588 * Versions.def: Define GLIBC_2.15 version for libm.
5589 * math/Makefile (headers): Add bits/math-finite.h.
5590 * math/bits/math-finite.h: New file.
5591 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5592 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5593 * math/e_acoshl.c: Add __*_finite alias.
5594 * math/e_acosl.c: Likewise.
5595 * math/e_asinl.c: Likewise.
5596 * math/e_atan2l.c: Likewise.
5597 * math/e_atanhl.c: Likewise.
5598 * math/e_coshl.c: Likewise.
5599 * math/e_exp10.c: Likewise.
5600 * math/e_exp10f.c: Likewise.
5601 * math/e_exp10l.c: Likewise.
5602 * math/e_exp2l.c: Likewise.
5603 * math/e_fmodl.c: Likewise.
5604 * math/e_gammal_r.c: Likewise.
5605 * math/e_hypotl.c: Likewise.
5606 * math/e_j0l.c: Likewise.
5607 * math/e_j1l.c: Likewise.
5608 * math/e_jnl.c: Likewise.
5609 * math/e_lgammal_r.c: Likewise.
5610 * math/e_log10l.c: Likewise.
5611 * math/e_log2l.c: Likewise.
5612 * math/e_logl.c: Likewise.
5613 * math/e_powl.c: Likewise.
5614 * math/e_sinhl.c: Likewise.
5615 * math/e_sqrtl.c: Likewise.
5616 * math/e_scalb.c: Completely rewritten and optimized.
5617 * math/e_scalbf.c: Likewise.
5618 * math/e_scalbl.c: Likewise.
5619 * math/w_acos.c: Likewise.
5620 * math/w_acosf.c: Likewise.
5621 * math/w_acosl.c: Likewise.
5622 * math/w_acosh.c: Likewise.
5623 * math/w_acoshf.c: Likewise.
5624 * math/w_acoshl.c: Likewise.
5625 * math/w_asin.c: Likewise.
5626 * math/w_asinf.c: Likewise.
5627 * math/w_asinl.c: Likewise.
5628 * math/w_atan2.c: Likewise.
5629 * math/w_atan2f.c: Likewise.
5630 * math/w_atan2l.c: Likewise.
5631 * math/w_atanh.c: Likewise.
5632 * math/w_atanhf.c: Likewise.
5633 * math/w_atanhl.c: Likewise.
5634 * math/w_exp10.c: Likewise.
5635 * math/w_exp10f.c: Likewise.
5636 * math/w_exp10l.c: Likewise.
5637 * math/w_fmod.c: Likewise.
5638 * math/w_fmodf.c: Likewise.
5639 * math/w_fmodl.c: Likewise.
5640 * math/w_j0.c: Likewise.
5641 * math/w_j0f.c: Likewise.
5642 * math/w_j0l.c: Likewise.
5643 * math/w_j1.c: Likewise.
5644 * math/w_j1f.c: Likewise.
5645 * math/w_j1l.c: Likewise.
5646 * math/w_jn.c: Likewise.
5647 * math/w_jnf.c: Likewise.
5648 * math/w_log.c: Likewise.
5649 * math/w_logf.c: Likewise.
5650 * math/w_logl.c: Likewise.
5651 * math/w_log10.c: Likewise.
5652 * math/w_log10f.c: Likewise.
5653 * math/w_log10l.c: Likewise.
5654 * math/w_log2.c: Likewise.
5655 * math/w_log2f.c: Likewise.
5656 * math/w_log2l.c: Likewise.
5657 * math/w_pow.c: Likewise.
5658 * math/w_powf.c: Likewise.
5659 * math/w_powl.c: Likewise.
5660 * math/w_remainder.c: Likewise.
5661 * math/w_remainderf.c: Likewise.
5662 * math/w_remainderl.c: Likewise.
5663 * math/w_scalb.c: Likewise.
5664 * math/w_scalbf.c: Likewise.
5665 * math/w_scalbl.c: Likewise.
5666 * math/w_sqrt.c: Likewise.
5667 * math/w_sqrtf.c: Likewise.
5668 * math/w_sqrtl.c: Likewise.
5669 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5670 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5671 used.
5672 * math/math_private.h: Declare __kernel_standard_f.
5673 * math/w_cosh.c: Remove cruft and optimize a bit.
5674 * math/w_coshf.c: Likewise.
5675 * math/w_coshl.c: Likewise.
5676 * math/w_exp2.c: Likewise.
5677 * math/w_exp2f.c: Likewise.
5678 * math/w_exp2l.c: Likewise.
5679 * math/w_hypot.c: Likewise.
5680 * math/w_hypotf.c: Likewise.
5681 * math/w_hypotl.c: Likewise.
5682 * math/w_lgamma.c: Likewise.
5683 * math/w_lgamma_r.c: Likewise.
5684 * math/w_lgammaf.c: Likewise.
5685 * math/w_lgammaf_r.c: Likewise.
5686 * math/w_lgammal.c: Likewise.
5687 * math/w_lgammal_r.c: Likewise.
5688 * math/w_sinh.c: Likewise.
5689 * math/w_sinhf.c: Likewise.
5690 * math/w_sinhl.c: Likewise.
5691 * math/w_tgamma.c: Likewise.
5692 * math/w_tgammaf.c: Likewise.
5693 * math/w_tgammal.c: Likewise.
5694 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5695 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5696 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5697 Minor optimizations. Pretty printing. Remove cruft.
5698 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5699 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5700 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5701 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5702 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5703 * sysdeps/i386/fpu/e_asin.S: Likewise.
5704 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5705 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5706 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5707 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5708 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5709 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5710 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5711 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5712 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5713 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5714 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5715 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5716 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5717 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5718 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5719 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5720 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5721 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5722 * sysdeps/i386/fpu/e_log.S: Likewise.
5723 * sysdeps/i386/fpu/e_log10.S: Likewise.
5724 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5725 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5726 * sysdeps/i386/fpu/e_log2.S: Likewise.
5727 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5728 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5729 * sysdeps/i386/fpu/e_logf.S: Likewise.
5730 * sysdeps/i386/fpu/e_logl.S: Likewise.
5731 * sysdeps/i386/fpu/e_pow.S: Likewise.
5732 * sysdeps/i386/fpu/e_powf.S: Likewise.
5733 * sysdeps/i386/fpu/e_powl.S: Likewise.
5734 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5735 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5736 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5737 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5739 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5740 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5741 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5742 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5746 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5747 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5748 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5749 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5750 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5751 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5752 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5753 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5754 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5756 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5757 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5760 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5761 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5763 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5764 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5765 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5766 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5767 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5768 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5769 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5770 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5771 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5772 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5773 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5774 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5775 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5776 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5777 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5778 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5779 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5780 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5781 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5782 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5783 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5784 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5785 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5787 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5789 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5790 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5791 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5792 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5793 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5794 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5795 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5796 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5798 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5799 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5800 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5801 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5802 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5803 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5804 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5807 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5808 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5809 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5810 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5811 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5812 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5813 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5814 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5815 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5817 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5818 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5819 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5820 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5821 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5822 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5823 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5824 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5825 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5826 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5827 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5828 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5829 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5830 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5831 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5832 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5833 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5834 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5835 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5836 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5837 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5838 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5839 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5840 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5841 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5842 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5843 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5844 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5845 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5846 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5847 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5848 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5849 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5851 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5852 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5853 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5854 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5855 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5856 (__isnanf): Likewise.
5857 (__isinf_ns): Likewise.
5858 (__isinf_nsf): Likewise.
5859 (__finite): Likewise.
5860 (__finitef): Likewise.
5861 (__ieee754_sqrt): Define as macro.
5862 (__ieee754_sqrtf): Define as macro.
5863 (__ieee754_sqrtl): Define as macro.
5864 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5865 inlined copy.
5866 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5867 __FINITE_MATH_ONLY__ consistent.
5868 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5869
12cc2fcd
AS
58702011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5871
a843a204
AS
5872 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5873 of rawmemchr.
5874
12cc2fcd
AS
5875 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5876
c853acd5
UD
58772011-10-09 Ulrich Drepper <drepper@gmail.com>
5878
5879 * po/ja.po: Update from translation team.
5880
c658d255
RM
58812011-10-08 Roland McGrath <roland@hack.frob.com>
5882
110946e4
RM
5883 * locale/programs/locarchive.c (prepare_address_space): New function.
5884 (create_archive, enlarge_archive, open_archive): Use it.
5885
50604220
RM
5886 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5887 inside [SHARED], where it is used.
5888
c658d255
RM
5889 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5890
5891 * nss/getent.c (netgroup_keys): Remove unused variable.
5892 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5893
6a621eb7
UD
58942011-10-08 Ulrich Drepper <drepper@gmail.com>
5895
7edb55ce
UD
5896 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5897 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5899 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5900 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5901 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5902 * math/Makefile (libm-calls): Add s_isinf_ns.
5903 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5904 * math/multc3.c: Likewise.
5905 * math/s_casin.c: Likewise.
5906 * math/s_casinf.c: Likewise.
5907 * math/s_casinl.c: Likewise.
5908 * math/s_ccos.c: Likewise.
5909 * math/s_ccosf.c: Likewise.
5910 * math/s_ccosl.c: Likewise.
5911 * math/s_ctan.c: Likewise.
5912 * math/s_ctanf.c: Likewise.
5913 * math/s_ctanh.c: Likewise.
5914 * math/s_ctanhf.c: Likewise.
5915 * math/s_ctanhl.c: Likewise.
5916 * math/s_ctanl.c: Likewise.
5917 * math/w_fmod.c: Likewise.
5918 * math/w_fmodf.c: Likewise.
5919 * math/w_fmodl.c: Likewise.
5920 * math/w_remainder.c: Likewise.
5921 * math/w_remainderf.c: Likewise.
5922 * math/w_remainderl.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5924 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5926 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5927 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5928 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5929 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5930 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5931
187da0ae
UD
5932 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5933 of the number.
5934 * stdio-common/printf_fphex.c: Likewise.
5935 * stdio-common/printf_size.c: Likewise.
5936
9277c064
UD
5937 * math/e_exp10.c: Include math_private.h using <...> not "...".
5938 * math/e_exp10f.c: Likewise.
5939 * math/e_exp10l.c: Likewise.
5940 * math/e_exp2l.c: Likewise.
5941 * math/e_j0l.c: Likewise.
5942 * math/e_j1l.c: Likewise.
5943 * math/e_jnl.c: Likewise.
5944 * math/e_lgammal_r.c: Likewise.
5945 * math/e_rem_pio2l.c: Likewise.
5946 * math/e_scalb.c: Likewise.
5947 * math/e_scalbf.c: Likewise.
5948 * math/e_scalbl.c: Likewise.
5949 * math/k_cosl.c: Likewise.
5950 * math/k_sinl.c: Likewise.
5951 * math/k_tanl.c: Likewise.
5952 * math/s_cacoshf.c: Likewise.
5953 * math/s_catan.c: Likewise.
5954 * math/s_catanf.c: Likewise.
5955 * math/s_catanh.c: Likewise.
5956 * math/s_catanhf.c: Likewise.
5957 * math/s_catanhl.c: Likewise.
5958 * math/s_catanl.c: Likewise.
5959 * math/s_ccosh.c: Likewise.
5960 * math/s_ccoshf.c: Likewise.
5961 * math/s_ccoshl.c: Likewise.
5962 * math/s_cexp.c: Likewise.
5963 * math/s_cexpf.c: Likewise.
5964 * math/s_cexpl.c: Likewise.
5965 * math/s_clog.c: Likewise.
5966 * math/s_clog10.c: Likewise.
5967 * math/s_clog10f.c: Likewise.
5968 * math/s_clog10l.c: Likewise.
5969 * math/s_clogf.c: Likewise.
5970 * math/s_clogl.c: Likewise.
5971 * math/s_csin.c: Likewise.
5972 * math/s_csinf.c: Likewise.
5973 * math/s_csinh.c: Likewise.
5974 * math/s_csinhf.c: Likewise.
5975 * math/s_csinhl.c: Likewise.
5976 * math/s_csinl.c: Likewise.
5977 * math/s_csqrt.c: Likewise.
5978 * math/s_csqrtf.c: Likewise.
5979 * math/s_csqrtl.c: Likewise.
5980 * math/s_ctan.c: Likewise.
5981 * math/s_ctanf.c: Likewise.
5982 * math/s_ctanh.c: Likewise.
5983 * math/s_ctanhf.c: Likewise.
5984 * math/s_ctanhl.c: Likewise.
5985 * math/s_ctanl.c: Likewise.
5986 * math/s_ldexp.c: Likewise.
5987 * math/s_ldexpf.c: Likewise.
5988 * math/s_ldexpl.c: Likewise.
5989 * math/s_significand.c: Likewise.
5990 * math/s_significandf.c: Likewise.
5991 * math/s_significandl.c: Likewise.
5992 * math/w_acos.c: Likewise.
5993 * math/w_acosf.c: Likewise.
5994 * math/w_acosh.c: Likewise.
5995 * math/w_acoshf.c: Likewise.
5996 * math/w_acoshl.c: Likewise.
5997 * math/w_acosl.c: Likewise.
5998 * math/w_asin.c: Likewise.
5999 * math/w_asinf.c: Likewise.
6000 * math/w_asinl.c: Likewise.
6001 * math/w_atan2.c: Likewise.
6002 * math/w_atan2f.c: Likewise.
6003 * math/w_atan2l.c: Likewise.
6004 * math/w_atanh.c: Likewise.
6005 * math/w_atanhf.c: Likewise.
6006 * math/w_atanhl.c: Likewise.
6007 * math/w_cosh.c: Likewise.
6008 * math/w_coshf.c: Likewise.
6009 * math/w_coshl.c: Likewise.
6010 * math/w_dremf.c: Likewise.
6011 * math/w_exp10.c: Likewise.
6012 * math/w_exp10f.c: Likewise.
6013 * math/w_exp10l.c: Likewise.
6014 * math/w_exp2.c: Likewise.
6015 * math/w_exp2f.c: Likewise.
6016 * math/w_fmod.c: Likewise.
6017 * math/w_fmodf.c: Likewise.
6018 * math/w_fmodl.c: Likewise.
6019 * math/w_hypot.c: Likewise.
6020 * math/w_hypotf.c: Likewise.
6021 * math/w_hypotl.c: Likewise.
6022 * math/w_j0.c: Likewise.
6023 * math/w_j0f.c: Likewise.
6024 * math/w_j0l.c: Likewise.
6025 * math/w_j1.c: Likewise.
6026 * math/w_j1f.c: Likewise.
6027 * math/w_j1l.c: Likewise.
6028 * math/w_jn.c: Likewise.
6029 * math/w_jnf.c: Likewise.
6030 * math/w_jnl.c: Likewise.
6031 * math/w_lgamma.c: Likewise.
6032 * math/w_lgamma_r.c: Likewise.
6033 * math/w_lgammaf.c: Likewise.
6034 * math/w_lgammaf_r.c: Likewise.
6035 * math/w_lgammal.c: Likewise.
6036 * math/w_lgammal_r.c: Likewise.
6037 * math/w_log.c: Likewise.
6038 * math/w_log10.c: Likewise.
6039 * math/w_log10f.c: Likewise.
6040 * math/w_log10l.c: Likewise.
6041 * math/w_log2.c: Likewise.
6042 * math/w_log2f.c: Likewise.
6043 * math/w_log2l.c: Likewise.
6044 * math/w_logf.c: Likewise.
6045 * math/w_logl.c: Likewise.
6046 * math/w_pow.c: Likewise.
6047 * math/w_powf.c: Likewise.
6048 * math/w_powl.c: Likewise.
6049 * math/w_remainder.c: Likewise.
6050 * math/w_remainderf.c: Likewise.
6051 * math/w_remainderl.c: Likewise.
6052 * math/w_scalb.c: Likewise.
6053 * math/w_scalbf.c: Likewise.
6054 * math/w_scalbl.c: Likewise.
6055 * math/w_sinh.c: Likewise.
6056 * math/w_sinhf.c: Likewise.
6057 * math/w_sinhl.c: Likewise.
6058 * math/w_sqrt.c: Likewise.
6059 * math/w_sqrtf.c: Likewise.
6060 * math/w_sqrtl.c: Likewise.
6061 * math/w_tgamma.c: Likewise.
6062 * math/w_tgammaf.c: Likewise.
6063 * math/w_tgammal.c: Likewise.
6064
6a621eb7
UD
6065 * po/ja.po: Update from translation team.
6066
bf582445
AJ
60672011-09-29 Andreas Jaeger <aj@suse.de>
6068
f9efbf3a
AJ
6069 [BZ #13179]
6070 * sunrpc/netname.c (netname2host): Fix logic.
6071
bf582445
AJ
6072 [BZ #6779]
6073 [BZ #6783]
6074 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6075 correctly.
6076 * math/w_remainder.c (__remainder): Likewise.
6077 * math/w_remainderf.c (__remainderf): Likewise.
6078 * math/libm-test.inc (remainder_test): Add test cases.
6079
48693bea
AK
60802011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6081
6082 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6083 sdiv_qrnnd.
6084
42622229
LD
60852011-10-07 Ulrich Drepper <drepper@gmail.com>
6086
6087 * string/test-memcmp.c: Avoid unncessary #defines.
6088 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6089
093ecf92
LD
60902011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6091
6092 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6093 Use new sse2 version for core i3 - i7 as it's faster
6094 than sse42 version.
6095 (bit_Prefer_PMINUB_for_stringop): New.
6096 * sysdeps/x86_64/rawmemchr.S: Update.
6097 Replace with faster SSE2 version.
6098 * sysdeps/x86_64/memrchr.S: New file.
6099 * sysdeps/x86_64/memchr.S: Update.
6100 Replace with faster SSE2 version.
6101
fde56e5c
MP
61022011-09-12 Marek Polacek <mpolacek@redhat.com>
6103
6104 * elf/dl-load.c (lose): Add cast to avoid warning.
6105
21fd49a9
UD
61062011-10-07 Ulrich Drepper <drepper@gmail.com>
6107
5a06e643
UD
6108 * po/ca.po: Update from translation team.
6109
684ae515
UD
6110 * inet/getnetgrent_r.c: Hook up nscd.
6111 * nscd/Makefile (routines): Add nscd_netgroup.
6112 (nscd-modules): Add netgroupcache.
6113 (CFLAGS-netgroupcache.c): Define.
6114 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6115 (cache_search): Add const to second parameter.
6116 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6117 INNETGR.
6118 (dbs): Add netgrdb entry.
6119 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6120 (verify_persistent_db): Handle netgrdb.
6121 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6122 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6123 GETFDNETGR.
6124 (netgroup_response_header): Define.
6125 (innetgroup_response_header): Define.
6126 (datahead): Add netgroup_response_header and innetgroup_response_header
6127 elements.
6128 * nscd/nscd.conf: Add entries for netgroup cache.
6129 * nscd/nscd.h (dbtype): Add netgrdb.
6130 (_PATH_NSCD_NETGROUP_DB): Define.
6131 (netgroup_iov_disabled): Declare.
6132 (xmalloc, xcalloc, xrealloc): Move declarations here.
6133 (cache_search): Adjust prototype.
6134 Add netgroup-related prototypes.
6135 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6136 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6137 (__nscd_innetgr): Declare.
6138 * nscd/selinux.c (perms): Use access_vector_t as element type and
6139 add netgroup-related initializers.
6140 * nscd/netgroupcache.c: New file.
6141 * nscd/nscd_netgroup.c: New file.
6142 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6143 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6144 For four parameters use innetgr.
6145 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6146 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6147 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6148 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6149
21fd49a9
UD
6150 * nscd/connections.c (register_traced_file): Don't register file
6151 for disabled databases.
6152
054c0457
UD
61532011-10-06 Ulrich Drepper <drepper@gmail.com>
6154
32b63198
UD
6155 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6156
054c0457
UD
6157 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6158 from tree and freeing node.
6159
64031225
JO
61602011-09-25 Jiri Olsa <jolsa@redhat.com>
6161
6162 * nss/nsswitch.c (__nss_database_lookup): Handle
6163 nss_parse_service_list out of memory case.
6164
0490345c
JO
61652011-09-15 Jiri Olsa <jolsa@redhat.com>
6166
6167 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6168 out of memory case.
6169
3a62d00d
AS
61702011-10-04 Andreas Schwab <schwab@redhat.com>
6171
6172 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6173 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6174 pass it down.
6175 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6176 elf_machine_rela, elf_machine_lazy_rel.
6177 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6178 (ELF_DYNAMIC_DO_REL): Likewise.
6179 (ELF_DYNAMIC_DO_RELA): Likewise.
6180 (ELF_DYNAMIC_RELOCATE): Likewise.
6181 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6182 to ELF_DYNAMIC_DO_REL.
6183 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6184 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6185 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6186 elf_machine_rela.
6187 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6188 skip_ifunc, don't call ifunc function if non-zero.
6189 (elf_machine_rela): Likewise.
6190 (elf_machine_lazy_rel): Likewise.
6191 (elf_machine_lazy_rela): Likewise.
6192 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6193 (elf_machine_lazy_rel): Likewise.
6194 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6195 Likewise.
6196 (elf_machine_lazy_rel): Likewise.
6197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6198 Likewise.
6199 (elf_machine_lazy_rel): Likewise.
6200 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6201 (elf_machine_lazy_rel): Likewise.
6202 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6203 (elf_machine_lazy_rel): Likewise.
6204 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6205 (elf_machine_lazy_rel): Likewise.
6206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6207 (elf_machine_lazy_rel): Likewise.
6208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6209 (elf_machine_lazy_rel): Likewise.
6210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6211 (elf_machine_lazy_rel): Likewise.
6212
68577918
UD
62132011-09-28 Ulrich Drepper <drepper@gmail.com>
6214
6215 * nss/nss_files/files-init.c (_nss_files_init): Use static
6216 initialization for all the *_traced_file variables.
6217
68822d74
AS
62182011-09-28 Andreas Schwab <schwab@redhat.com>
6219
6220 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6221
2056100b
RM
62222011-09-27 Roland McGrath <roland@hack.frob.com>
6223
6224 [BZ #13226]
6225 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6226
32c76b63
AS
62272011-09-27 Andreas Schwab <schwab@redhat.com>
6228
6229 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6230 Reread the line before reparsing it.
6231
bf972c9d
AS
62322011-09-26 Andreas Schwab <schwab@redhat.com>
6233
6234 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6235
e057a1b5
JM
62362011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6237 Maxim Kuvyrkov <maxim@codesourcery.com>
6238 Joseph Myers <joseph@codesourcery.com>
6239
6240 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6241 if needed for __stack_chk_guard.
6242
bc7e1c36
RM
62432011-09-19 Roland McGrath <roland@hack.frob.com>
6244
ecb1482f
RM
6245 * sysdeps/posix/spawni.c (script_execute): Always define it.
6246 It will be optimized away if unused.
6247 (maybe_script_execute): New function.
6248 (__spawni): Call it.
6249
bc7e1c36
RM
6250 * Makerules: Don't include tls.make.
6251 (config-tls): Always set to thread.
6252 * tls.make.c: File removed.
6253
1c3b002b
MF
62542011-09-19 Mike Frysinger <vapier@gentoo.org>
6255
6256 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6257 * config.make.in (CPPFLAGS-config): New substituted variable.
6258
2840865d
UD
62592011-09-15 Ulrich Drepper <drepper@gmail.com>
6260
88738eb6
UD
6261 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6262
cbf645a6 6263 [BZ #13192]
2840865d
UD
6264 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6265 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6266
b402e91a
RM
62672011-09-15 Roland McGrath <roland@hack.frob.com>
6268
6269 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6270 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6272 (CALL_FAIL): Likewise.
6273 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6274 (CALL_FAIL): Macro removed.
6275 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6276
4c1a1f71
UD
62772011-09-15 Ulrich Drepper <drepper@gmail.com>
6278
6279 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6280 for __FINITE_MATH_ONLY__ == 1.
6281
edc121be
AS
62822011-09-15 Andreas Schwab <schwab@redhat.com>
6283
6284 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6285 __ieee754_sqrt instead of sqrt.
6286 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6287 __ieee754_sqrtf instead of sqrtf.
6288 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6289 __floorf instead of floorf.
6290 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6291 __floorf, __truncf instead of floorf, truncf.
6292
cd205654
UD
62932011-09-14 Ulrich Drepper <drepper@gmail.com>
6294
ee4d0315
UD
6295 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6296
cd205654
UD
6297 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6298 __extern_always_inline.
6299 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6300 32-bit.
6301
48b67d71
AS
63022011-09-14 Andreas Schwab <schwab@redhat.com>
6303
6304 * elf/rtld.c (dl_main): Also relocate in dependency order when
6305 doing symbol dependency testing.
6306
1ae12c75
AS
63072011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6308
6309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6310 Always define `refsym'.
6311
995a80df
AS
63122011-09-13 Andreas Schwab <schwab@redhat.com>
6313
e529793b
AS
6314 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6315 (__FD_ELT): Renamed from __FDELT.
6316 * misc/bits/select2.h (__FD_ELT): Likewise.
6317 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6318 __FD_MASK instead of __FDELT, __FDMASK.
6319 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6320 Likewise.
6321 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6322 Likewise.
6323
52d4fef8
AS
6324 * elf/Makefile (gen-ldd): Fix pattern.
6325
995a80df
AS
6326 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6327 (init_tls): Likewise.
6328
8682f8b0
UD
63292011-09-12 Ulrich Drepper <drepper@gmail.com>
6330
6331 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6332
de82006d
AS
63332011-09-12 Andreas Schwab <schwab@redhat.com>
6334
a7c8e6a1
AS
6335 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6336 `struct cmsghdr *' instead of `void *'.
6337 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6338 Likewise.
6339
0f31fe77
AS
63402011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6341
6342 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6343 if non-absolute.
6344 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6345 ldd_rewrite_script.
0f31fe77 6346
32b4c839
UD
63472011-09-11 Ulrich Drepper <drepper@gmail.com>
6348
83cd1420
UD
6349 * configure.in: Remove --with-tls option.
6350 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6351 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6352 out in case it is missing.
6353 * sysdeps/ia64/elf/configure.in: Likewise.
6354 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6355 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6356 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6357 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6358 * sysdeps/sh/elf/configure.in: Likewise.
6359 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6360 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6361 * sysdeps/x86_64/elf/configure.in: Likewise.
6362 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6363 * sysdeps/mach/hurd/tls.h: Likewise.
6364
633f745d
UD
6365 [BZ #13067]
6366 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6367
f318beb8
UD
6368 [BZ #13090]
6369 * configure.in: Fix use of AC_INIT.
6370
32b4c839
UD
6371 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6372
3ce1f295
UD
63732011-09-10 Ulrich Drepper <drepper@gmail.com>
6374
bb016596
UD
6375 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6376 __set_errno.
8e58439c
UD
6377 * malloc/hooks.c: Likewise.
6378
aebae053 6379 [BZ #11929]
02d46fc4
UD
6380 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6381 variables statically.
6382 (narenas): Initialize.
6383 (list_lock): Initialize.
bb016596
UD
6384 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6385 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6386 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6387 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6388 Add initializers to main_arena and mp_.
6389 (malloc_state): Remove pagesize member. Change all users to use
6390 GLRO(dl_pagesize).
6391
6392 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6393 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6394 is always initialized.
6395
22a89187
UD
6396 * malloc/malloc.c: Removed unused configurations and dead code.
6397 * malloc/arena.c: Likewise.
6398 * malloc/hooks.c: Likewise.
02d46fc4 6399 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6400
d063d164
UD
6401 * include/tls.h: Removed. USE___THREAD must always be defined.
6402 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6403 * elf/dl-libc.c: Likewise.
6404 * elf/dl-tsd.c: Likewise.
6405 * include/errno.h: Likewise.
6406 * include/netdb.h: Likewise.
6407 * include/resolv.h: Likewise.
6408 * inet/herrno-loc.c: Likewise.
6409 * inet/herrno.c: Likewise.
6410 * malloc/arena.c: Likewise.
6411 * malloc/hooks.c: Likewise.
6412 * malloc/malloc.c: Likewise.
6413 * resolv/res-state.c: Likewise.
6414 * resolv/res_libc.c: Likewise.
6415 * sysdeps/i386/dl-machine.h: Likewise.
6416 * sysdeps/ia64/dl-machine.h: Likewise.
6417 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6418 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6419 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6420 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6421 * sysdeps/sh/dl-machine.h: Likewise.
6422 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6423 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6424 * sysdeps/unix/i386/sysdep.S: Likewise.
6425 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6426 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6428 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6431 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6432 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6435 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6436 * sysdeps/x86_64/dl-machine.h: Likewise.
6437 * tls.make.c: Likewise.
6438
3ce1f295
UD
6439 * configure.in: Remove --with-__thread option. Make tests for
6440 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6441 tls_model attribute fail if no support is available. Remove
6442 USE_IN_LIBIO.
6443 * Makeconfig: Adjust for dropped configure option. All features are
6444 now mandatory.
6445 * Makerules: Likewise.
6446 * Versions.def: Likewise.
6447 * argp/argp-fmtstream.c: Likewise.
6448 * argp/argp-fmtstream.h: Likewise.
6449 * argp/argp-help.c: Likewise.
6450 * assert/assert.c: Likewise.
6451 * config.h.in: Likewise.
6452 * config.make.in: Likewise.
6453 * configure: Likewise.
6454 * configure.in: Likewise.
6455 * csu/Versions: Likewise.
6456 * csu/init.c: Likewise.
6457 * elf/tst-audit2.c: Likewise.
6458 * elf/tst-tls10.c: Likewise.
6459 * elf/tst-tls10.h: Likewise.
6460 * elf/tst-tls11.c: Likewise.
6461 * elf/tst-tls12.c: Likewise.
6462 * elf/tst-tls14.c: Likewise.
6463 * elf/tst-tlsmod11.c: Likewise.
6464 * elf/tst-tlsmod12.c: Likewise.
6465 * elf/tst-tlsmod13.c: Likewise.
6466 * elf/tst-tlsmod13a.c: Likewise.
6467 * elf/tst-tlsmod14a.c: Likewise.
6468 * elf/tst-tlsmod15b.c: Likewise.
6469 * elf/tst-tlsmod16a.c: Likewise.
6470 * elf/tst-tlsmod16b.c: Likewise.
6471 * elf/tst-tlsmod7.c: Likewise.
6472 * elf/tst-tlsmod8.c: Likewise.
6473 * elf/tst-tlsmod9.c: Likewise.
6474 * gmon/gmon.c: Likewise.
6475 * grp/fgetgrent_r.c: Likewise.
6476 * grp/putgrent.c: Likewise.
6477 * hurd/fopenport.c: Likewise.
6478 * include/libc-symbols.h: Likewise.
6479 * include/tls.h: Likewise.
6480 * intl/gettextP.h: Likewise.
6481 * intl/loadinfo.h: Likewise.
6482 * locale/global-locale.c: Likewise.
6483 * locale/localeinfo.h: Likewise.
6484 * mach/devstream.c: Likewise.
6485 * malloc/arena.c: Likewise.
6486 * malloc/set-freeres.c: Likewise.
6487 * misc/err.c: Likewise.
6488 * misc/getttyent.c: Likewise.
6489 * misc/mntent_r.c: Likewise.
6490 * posix/getopt.c: Likewise.
6491 * posix/wordexp.c: Likewise.
6492 * pwd/fgetpwent_r.c: Likewise.
6493 * resolv/Versions: Likewise.
6494 * resolv/res_hconf.c: Likewise.
6495 * shadow/fgetspent_r.c: Likewise.
6496 * shadow/putspent.c: Likewise.
6497 * stdio-common/printf_fphex.c: Likewise.
6498 * stdio-common/tmpfile.c: Likewise.
6499 * stdlib/abort.c: Likewise.
6500 * stdlib/fmtmsg.c: Likewise.
6501 * sunrpc/auth_unix.c: Likewise.
6502 * sunrpc/clnt_perr.c: Likewise.
6503 * sunrpc/clnt_tcp.c: Likewise.
6504 * sunrpc/clnt_udp.c: Likewise.
6505 * sunrpc/clnt_unix.c: Likewise.
6506 * sunrpc/openchild.c: Likewise.
6507 * sunrpc/svc_simple.c: Likewise.
6508 * sunrpc/svc_tcp.c: Likewise.
6509 * sunrpc/svc_udp.c: Likewise.
6510 * sunrpc/svc_unix.c: Likewise.
6511 * sunrpc/xdr.c: Likewise.
6512 * sunrpc/xdr_array.c: Likewise.
6513 * sunrpc/xdr_rec.c: Likewise.
6514 * sunrpc/xdr_ref.c: Likewise.
6515 * sunrpc/xdr_stdio.c: Likewise.
6516
1248c1c4
PB
65172011-09-09 Ulrich Drepper <drepper@gmail.com>
6518
6519 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6520
65212011-07-03 Andreas Jaeger <aj@suse.de>
6522
6523 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6524 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6525 regenerate with gen-libm-tests.pl.
6526
65272010-05-12 Petr Baudis <pasky@suse.cz>
6528
6529 [BZ #11589]
6530 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6531 around j0() zero points by switching to j1().
6532 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6536
f22e1074
UD
65372011-09-09 Ulrich Drepper <drepper@gmail.com>
6538
f19009c1
UD
6539 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6540 instead of 0.
6541 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6542 instead of 0. .
6543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6544 Patch in part by Pavel Roskin <proski@gnu.org>.
6545
3f8cc204
UD
6546 [BZ #13138]
6547 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6548 realloc.
6549 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6550 Free memory block if necessary.
6551
f22e1074
UD
6552 [BZ #12847]
6553 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6554 be NULL. Don't lock in this case.
6555
0a2349f9
RM
65562011-09-09 Roland McGrath <roland@hack.frob.com>
6557
6558 * elf/elf.h (ELFOSABI_GNU): New macro.
6559 (ELFOSABI_LINUX): Define to that.
6560
f3cdd467
DZ
65612011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6562
6563 * string/strncat.c (strncat): Undef the symbol in case it has been
6564 defined in bits/string.h.
6565
74718d13
UD
65662011-09-09 Ulrich Drepper <drepper@gmail.com>
6567
633e9e0f
UD
6568 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6569
0a2349f9 6570 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6571 link map.
6572
f9924780
AJ
65732011-08-17 Andreas Jaeger <aj@suse.de>
6574
6575 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6576
7f5517aa
PP
65772011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6578 Ian Lance Taylor <iant@google.com>
6579
6580 * math/libm-test.inc (lround_test): New testcase.
6581 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6582
762011fe
UD
65832011-09-08 Ulrich Drepper <drepper@gmail.com>
6584
92963737
UD
6585 * Makefile: Remove support for automatic cvs check-ins.
6586 * Makerules: Likewise.
6587 * config.make.in: Likewise.
6588 * configure.in: Likewise.
6589 * intl/Makefile: Likewise.
6590 * locale/Makefile: Likewise.
6591 * po/Makefile: Likewise.
6592 * posix/Makefile: Likewise.
6593 * sysdeps/gnu/Makefile: Likewise.
6594 * sysdeps/mach/hurd/Makefile: Likewise.
6595 * sysdeps/sparc/sparc32/Makefile: Likewise.
6596
b0727fd8
JS
6597 [BZ #13118]
6598 * posix/Makefile (bug-regex32-ENV): Define.
6599 Patch by John Stanley <jpsinthemix@verizon.net>.
6600
a0f33f99
UD
6601 * misc/Makefile (headers): Add bits/select2.h.
6602 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6603 * misc/bits/select2.h: New file.
6604 * include/bits/select2.h: New file.
6605 * debug/Makefile (routines): Add fdelt_chk.
6606 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6607 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6608 FD_ISSET.
6609 * debug/fdelt_chk.c: New file.
6610
762011fe
UD
6611 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6612 * wcsmbs/test-wmemcmp.c: Likewise.
6613 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6614 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6615
66162011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6617
6618 * string/Makefile (strop-tests): Add memcmp.
6619 * string/test-wmemcmp.c: New file.
6620 * string/test-memcmp.c: Add wmemcmp support.
6621
7f513ec8
RM
66222011-09-08 Roland McGrath <roland@hack.frob.com>
6623
0442afb4
RM
6624 [BZ #13153]
6625 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6626 2011-07-19 change.
6627
7f513ec8
RM
6628 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6629 garbage value in a __mach_port_mod_refs call in the cases of the
6630 task-self and thread-self ports.
6631
a12b2239
ST
66322011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6633
6634 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6635
610f9ab4
AS
66362011-09-08 Andreas Schwab <schwab@redhat.com>
6637
7f513ec8 6638 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6639
48882a1a
LD
66402011-09-07 Ulrich Drepper <drepper@gmail.com>
6641
b49865be
UD
6642 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6643
fdc86bc9
UD
6644 * elf/dl-libc.c (dlerror_run): Pass back error code from
6645 dl_catch_error.
6646
c966526a
UD
6647 [BZ #13123]
6648 * elf/dl-load.c (lose): Free l_origin if it is valid.
6649
48882a1a
LD
6650 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6651 names.
6652 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6653 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6654 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6655 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6656 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6657 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6658
77a2a8b4
AZ
66592011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6660
6661 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6662 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6663 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6664 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6665 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6666 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6667 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6668 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6669 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6670 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6671
24f579d8
AM
66722011-08-15 Alan Modra <amodra@gmail.com>
6673
6674 [BZ #13092]
6675 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6676 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6677 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6678 ppc_mcount to static-only-routines.
6679 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6680 __mcount_internal.
6681 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6682 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6683
3d4837df
UD
66842011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6685
6686 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6687 for finite and infinity parameters.
6688
22700377
WS
66892011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6690
6691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6692 and add nop instructions for throughput optimization.
6693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6694
5025581e
WS
66952011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6696
6697 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6698 aligned copy for power7 with vector-scalar instructions.
6699 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6700
08a300c9
L
67012011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6702
6703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6704 AVX check.
6705
59178ef9
AS
67062011-09-07 Andreas Schwab <schwab@redhat.com>
6707
6708 [BZ #13144]
6709 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6710 last change.
6711
e38ba7ab
UD
67122011-09-07 Ulrich Drepper <drepper@gmail.com>
6713
6714 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6715 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6716 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6717 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6718 clock_gettime.
6719
d53a73ac
UD
67202011-09-06 Ulrich Drepper <drepper@gmail.com>
6721
fc8bffcc
UD
6722 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6723 Forgot to demangle the pointer.
6724
ceaa0c5d
UD
6725 * sysdeps/i386/sysdep.h: Define atom_text_section.
6726 * sysdeps/x86_64/sysdep.h: Likewise.
6727 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6728 section with atom_text_section.
6729 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6730 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6731 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6732 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6733 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6734
a77d3c17
UD
6735 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6736 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6737 already be defined. Change to take two parameters and don't assign
6738 result to variable. Adjust all users.
6739 Define INTERNAL_GETTIME if not already defined.
6740 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6741 call.
6742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6743 HAVE_CLOCK_GETTIME_VSYSCALL.
6744 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6745
d53a73ac
UD
6746 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6747 gettimeofday vsyscall, just use time.
6748
a8f84144
AS
67492011-09-06 Andreas Schwab <schwab@redhat.com>
6750
6751 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6752 <errno.h>.
6753
ef606249
UD
67542011-09-06 Ulrich Drepper <drepper@gmail.com>
6755
6756 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6757 syscall on x86-64.
6758 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6759 syscall.
6760 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6761 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6762 syscall if possible.
6763
6585cb60
UD
67642011-09-05 Ulrich Drepper <drepper@gmail.com>
6765
6766 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6767 e_ident. Don't pass to find_mapsXX.
6768 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6769
a5f524e4
LD
67702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6771
6772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6773 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6774 * sysdeps/x86_64/multiarch/strchr.S: Update.
6775 Check bit_slow_BSF bit.
6776 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6777 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6778 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6779
554881ef
UD
67802011-09-05 Ulrich Drepper <drepper@gmail.com>
6781
d96de963
UD
6782 [BZ #13134]
6783 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6784 before glibc 2.15.
6785 (tryshell): Define.
6786 (__spawni): Change last parameter to be flag. Test
6787 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6788 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6789 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6790 * posix/spawni.c: Likewise.
6791 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6792 * posix/spawnp.c: Likewise. Change normal version to use
6793 SPAWN_XFLAGS_USE_PATH.
6794 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6795 SPAWN_XFLAGS_TRY_SHELL.
6796
d48e5868
UD
6797 [BZ #13150]
6798 * posix/glob.h: Remove gcc 1.x support.
6799
554881ef
UD
6800 [BZ #13068]
6801 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6802
693fb948
LD
68032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6804
6805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6806 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6807 strrchr-sse2-bsf
6808 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6809 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6810 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6811 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6812 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6813 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6814
1b48c537
UD
68152011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6816
49d42c37
UD
6817 * sysdeps/x86_64/wcscmp.S: New file.
6818
1b48c537
UD
6819 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6820 wcscmp-c wcscmp-sse2
6821 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6822 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6823 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6824 * wcsmbs/wcscmp.c: Allow renaming.
6825
15c95c5d
DM
68262011-09-05 David S. Miller <davem@davemloft.net>
6827
6828 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6829 stack slot, rather than the struct return pointer slot.
6830 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6831 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6833 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6834
2f0ad8f3
UD
68352011-09-05 Ulrich Drepper <drepper@gmail.com>
6836
d88ae418
UD
6837 * po/ja.po: Update from translation team.
6838
2f0ad8f3
UD
6839 [BZ #13144]
6840 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6841 kernel in 64-bit binaries.
6842
5f4318d1
DM
68432011-09-01 David S. Miller <davem@davemloft.net>
6844
6845 * elf/elf.h (HWCAP_SPARC_*): Move to..
6846 * sysdeps/sparc/sysdep.h: this new file and add new values.
6847 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6848 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6849 _DL_HWCAP_COUNT to 24.
6850 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6851 entries.
6852 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6853 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6854 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6856 instead of magic constants.
6857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6858
3ba57516
DM
68592011-08-31 David S. Miller <davem@davemloft.net>
6860
6861 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6863 Reimplement to do errno handling inline.
6864 (SYSCALL_ERROR_HANDLER): New macro.
6865 (__SYSCALL_STRING): Do not do errno handling in asm.
6866 (__CLONE_SYSCALL_STRING): Delete.
6867 (__INTERNAL_SYSCALL_STRING): Delete.
6868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6869 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6870 (PSEUDO): Reimplement to do errno handling inline.
6871 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6872 (SYSCALL_ERROR_HANDLER): New macro.
6873 (__SYSCALL_STRING): Do not do errno handling in asm.
6874 (__CLONE_SYSCALL_STRING): Delete.
6875 (__INTERNAL_SYSCALL_STRING): Delete.
6876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6877 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6878 i386.
6879 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6880 (inline_syscall*): Add 'err' argument.
6881 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6882 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6883 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6884 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6885
6886 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6887 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6888
2bc17433
AS
68892011-08-30 Andreas Schwab <schwab@redhat.com>
6890
6891 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6892
fbeb5f4d
JO
68932011-08-29 Jiri Olsa <jolsa@redhat.com>
6894
6895 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6896 directive.
6897
ad69cc26
DM
68982011-08-24 David S. Miller <davem@davemloft.net>
6899
6900 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6901
39dd69df
AS
69022011-08-24 Andreas Schwab <schwab@redhat.com>
6903
6904 * elf/Makefile: Add rules to build and run unload8 test.
6905 * elf/unload8.c: New file.
6906 * elf/unload8mod1.c: New file.
6907 * elf/unload8mod1x.c: New file.
6908 * elf/unload8mod2.c: New file.
6909 * elf/unload8mod3.c: New file.
6910
6911 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6912 it wasn't used.
6913
2c0b250a
DM
69142011-08-23 David S. Miller <davem@davemloft.net>
6915
6916 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6917 subtract stack bias.
6918 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6919 %sp not %fp in calculations.
6920 (_JMPBUF_UNWINDS_ADJ): Likewise.
6921
22044b48
DM
6922 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6923 (aio_suspend): Call it to force an exception region around the
6924 AIO_MISC_WAIT() invocation.
6925
2cae4995
AS
69262011-08-23 Andreas Schwab <schwab@redhat.com>
6927
6928 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6929 backslash.
6930
873a772e
AJ
69312011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6932
6933 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6934 protection macro.
6935 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6936 and <dl-machine.h>.
6937 (Elf64_FuncDesc): Remove.
6938
25ad0df1
DM
69392011-08-22 David S. Miller <davem@davemloft.net>
6940
6941 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6942 sigaltstack check, add missing cfi directives.
6943 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6944 missing cfi directives, and sigaltstack handling.
6945
e888bcbe
AS
69462011-08-16 Andreas Schwab <schwab@redhat.com>
6947
6948 [BZ #11724]
6949 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6950 object is seen twice.
6951 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6952
6953 * elf/Makefile (distribute): Add tst-initorder2.c.
6954 (tests): Add tst-initorder2.
6955 (modules-names): Add tst-initorder2a tst-initorder2b
6956 tst-initorder2c tst-initorder2d. Add rules to build them.
6957 ($(objpfx)tst-initorder2.out): New rule.
6958 * elf/tst-initorder2.c: New file.
6959 * elf/tst-initorder2.exp: New file.
6960
87162f46
AS
69612011-08-22 Andreas Schwab <schwab@redhat.com>
6962
70538b7f
AS
6963 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6964
f55ffe58
AS
6965 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6966 dependencies back to end of function.
6967
87162f46
AS
6968 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6969 $(elfobjdir)/ld.so.
6970
91b392a4
UD
69712011-08-21 Ulrich Drepper <drepper@gmail.com>
6972
6973 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6974 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6975 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6976 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6977 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6978 of __vdso_gettimeofday.
6979 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6980 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6981 attribute_hidden.
6982 (_libc_vdso_platform_setup): Remove initialization of
6983 __vdso_gettimeofday and __vdso_time.
6984
5c43483f
UD
69852011-08-20 Ulrich Drepper <drepper@gmail.com>
6986
775a77e7
UD
6987 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6988 and fgetc_unlocked.
6989 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6990 getc_unlocked.
89f447ed 6991
49c74ba9
UD
6992 * elf/dl-open.c (add_to_global): Report additions to the global scope
6993 for LD_DEBUG=scopes.
6994 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6995 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6996
5c43483f
UD
6997 [BZ #13114]
6998 * stdio-common/Makefile (tests): Add bug24.
6999 * stdio-common/bug24.c: New file.
7000
a101b025
AJ
70012011-08-19 Andreas Jaeger <aj@suse.de>
7002
7003 [BZ #13114]
7004 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7005 non-existant file when using close-on-exec mode.
7006
c88f1766
UD
70072011-08-20 Ulrich Drepper <drepper@gmail.com>
7008
0276a718
UD
7009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7010 the very first instruction.
7011
c88f1766
UD
7012 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7013 the CFI state in the end.
7014 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7015 inclusion of dl-trampoline.h.
7016 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7017
51ccffa0
AS
70182011-08-19 Andreas Schwab <schwab@redhat.com>
7019
94d7165f
AS
7020 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7021 expectations for long double.
7022
51ccffa0
AS
7023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7024 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7025
fd708658 70262011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7027
7028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7029 artificual limit depends upon the system page size.
7030
44f0a71e
UD
70312011-08-17 Ulrich Drepper <drepper@gmail.com>
7032
7033 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7034 * resolv/Makefile: Define CFLAGS-libresolv.
7035
8de79a24
AS
70362011-08-17 Andreas Schwab <schwab@redhat.com>
7037
7038 * nss/makedb.c (compute_tables): Make variables used in nested
7039 function static.
7040
27724598
UD
70412011-08-17 Ulrich Drepper <drepper@gmail.com>
7042
c5305d88
UD
7043 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7044 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7045 if buffer was too small.
7046
27724598
UD
7047 * elf/pldd.c (main): Attach to all threads in the process.
7048 Rewrite /proc handling to use *at functions.
7049
076fe015
UD
70502011-08-16 Ulrich Drepper <drepper@gmail.com>
7051
174baab3
UD
7052 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7053 specifies first scope to show.
7054 (dl_open_worker): Update callers. Move printing scope of new
7055 object to before the relocation.
44f0a71e 7056 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7057 * sysdeps/generic/ldsodefs.h: Update declaration.
7058
076fe015
UD
7059 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7060 string for the scope number.
7061
a60df2c3
UD
70622011-08-14 Ulrich Drepper <drepper@gmail.com>
7063
7064 * nscd/servicescache.c (cache_addserv): Make sure written is always
7065 initialized.
7066
5e4287d1
RM
70672011-08-14 Roland McGrath <roland@hack.frob.com>
7068
85ae0589
RM
7069 * sysdeps/i386/i486/bits/atomic.h
7070 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7071 statement expression, so as to suppress "set but not used" warning.
7072 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7073
69f63097
RM
7074 * string/strncat.c (STRNCAT): Use prototype definition.
7075
675456ef
RM
7076 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7077 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7078 -Iprograms here.
7079 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7080 (localedef-modules): Add localedef.
7081 (locale-modules): Add locale.
7082
5e4287d1
RM
7083 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7084 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7085 to avoid a warning.
7086
9c96ff23
DM
70872011-08-14 David S. Miller <davem@davemloft.net>
7088
7089 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7090 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7091
f9ddf089
UD
70922011-08-13 Ulrich Drepper <drepper@gmail.com>
7093
44f0a71e 7094 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7095 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7096 * elf/rtld.c (dl_main): Set l_name of vDSO.
7097 Call _dl_show_scope when DL_DEBUG_SCOPES.
7098 (process_dl_debug): Recognize scopes flag and also set it for all.
7099 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7100 Declare _dl_show_scope.
7101
1dc27704
UD
7102 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7103 (do_dlopen): Pass caller_dlopen to dl_open.
7104 (__libc_dlopen_mode): Initialize caller_dlopen.
7105
f9ddf089
UD
7106 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7107 of libc. Make tolower call locale-independent. Optimize a bit by
7108 using isdigit instead of isalnum.
7109 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7110
9ac533d3
UD
71112011-08-12 Ulrich Drepper <drepper@gmail.com>
7112
7113 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7114 was a dependency or dynamically loaded.
7115
89edf2e9
UD
71162011-08-11 Ulrich Drepper <drepper@gmail.com>
7117
8e999d29
UD
7118 * intl/l10nflist.c: Allow architecture-specific pop function.
7119 * sysdeps/x86_64/l10nflist.c: New file.
7120
89edf2e9
UD
7121 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7122 classification.
7123
14d96785
AS
71242011-08-10 Andreas Schwab <schwab@redhat.com>
7125
7126 * include/dirent.h: Add libc_hidden_proto for scandirat and
7127 scandirat64. Don't declare __scandirat64.
7128 * dirent/scandirat.c: Add libc_hidden_def.
7129 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7130 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7131
6761ac04
DM
71322011-08-10 David S. Miller <davem@davemloft.net>
7133
7134 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7135 enum.
7136 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7138 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7139
c55fbd1e
UD
71402011-08-09 Ulrich Drepper <drepper@gmail.com>
7141
7142 * Versions.def [libc]: Add GLIBC_2.15.
7143 * dirent/Makefile (routines): Add scandirat and scandirat64.
7144 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7145 GLIBC_2.15.
7146 * dirent/dirent.h: Declare scandirat and scandirat64.
7147 * dirent/scandirat.c: New file.
7148 * dirent/scandirat64.c: New file.
7149 * sysdeps/wordsize-64/scandirat.c: New file.
7150 * sysdeps/wordsize-64/scandirat64.c: New file.
7151 * dirent/opendir.c: Define opendirat.
7152 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7153 using scandirat.
7154 * dirent/scandir64.c: Adjust for scandir.c change.
7155 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7156 __scandirat64, and __scandir_cancel_handler.
7157 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7158 additional parameter and use openat instead of open (outside of ld.so).
7159 Add new __opendir as wrapper around __opendirat.
7160 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7161 here without requiring old scandirat implementation.
7162
879165f2
UD
71632011-08-08 Ulrich Drepper <drepper@gmail.com>
7164
7165 * dirent/scandir.c (cancel_handler): Renamed to
7166 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7167 defined. Adjust users.
7168 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7169 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7170
cb7e923b
UD
71712011-08-04 Ulrich Drepper <drepper@gmail.com>
7172
16292edd
UD
7173 * string/test-string.h (IMPL): Use __STRING to expand name and then
7174 stringify it.
7175
cb7e923b
UD
7176 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7177 of cleanups.
7178
cff82933
LD
71792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7180
7181 * string/Makefile: Update.
7182 (strop-tests): Append strncat.
7183 * string/test-wcscmp.c: New file.
7184 New comprehensive test for wcscmp.
7185 * string/test-strcmp.c: Update.
7186 (WIDE): New define.
7187
9be9bfcc
AS
71882011-07-22 Andreas Schwab <schwab@redhat.com>
7189
7190 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7191 line.
7192
2e96f1c7
AS
71932011-07-26 Andreas Schwab <schwab@redhat.com>
7194
7195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7196 encoding to ACE if AI_IDN.
7197
85188888
JJ
71982011-08-01 Jakub Jelinek <jakub@redhat.com>
7199
7200 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7201 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7202
5fa16e9b
LD
72032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7204
7205 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7206 Fix overflow bug in strncat.
7207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7208
7209 * string/test-strncat.c: Update.
7210 Add new tests for checking overflow bugs.
7211
72122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7213
7214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7215 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7216 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7217 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7218 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7219 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7220 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7221 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7222 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7223
7224 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7225 (USE_AS_STRCAT): Define.
7226 Add strcat and strncat support.
7227 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7228
8c1a459f
AS
72292011-07-25 Andreas Schwab <schwab@redhat.com>
7230
7231 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7232 __n bigger than INT_MAX+1.
7233 (__strncmp_g): Likewise.
7234
bba33c28
UD
72352011-07-23 Ulrich Drepper <drepper@gmail.com>
7236
798be72d
UD
7237 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7238 * libio/stido.h: Likewise.
7239
8accd4dc
UD
7240 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7241 (AF_NFC): Define.
7242 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7243 (AF_NFC): Define.
7244
cbff0d96
UD
7245 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7246 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7247 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7248 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7249 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7250
9191c04a
UD
7251 [BZ #13021]
7252 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7253 installed.
7254
bba33c28
UD
7255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7256 typo.
7257 (_dl_x86_64_save_sse): Likewise.
7258
90f139dd
UD
72592011-07-22 Ulrich Drepper <drepper@gmail.com>
7260
1aae088a
UD
7261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7262 OSXSAVE.
7263 (_dl_x86_64_save_sse): Likewise.
7264
8e2045f5
UD
7265 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7266
90f139dd
UD
7267 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7268
1d002f25
AS
72692011-07-21 Andreas Schwab <schwab@redhat.com>
7270
7271 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7272 change.
7273 (_dl_x86_64_save_sse): Use correct AVX check.
7274
21137f89
UD
72752011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7276
7277 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7278 bug in strncpy/strncat.
7279 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7280
a65c0b7a
UD
72812011-07-21 Ulrich Drepper <drepper@gmail.com>
7282
7283 * string/tester.c (test_strcat): Add tests for different alignments
7284 of source and destination.
7285 (test_strncat): Likewise.
7286
6986b98a
UD
72872011-07-20 Ulrich Drepper <drepper@gmail.com>
7288
90bb2039
UD
7289 [BZ #12852]
7290 * posix/glob.c (glob): Check passed in values before using them in
7291 expressions to avoid some overflows.
7292 (glob_in_dir): Likewise.
7293
5644ef54
UD
7294 [BZ #13007]
7295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7296 check for AVX enablement so that we don't crash with old kernels and
7297 new hardware.
7298 * elf/tst-audit4.c: Add same checks here.
7299 * elf/tst-audit6.c: Likewise.
7300
7301 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7302
bfc9dc9b
AS
73032011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7304
7305 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7306
702e64bb
UD
73072011-07-20 Ulrich Drepper <drepper@gmail.com>
7308
7309 * po/cs.po: Update from translation team.
7310 * po/bg.po: Likewise.
7311
295e904f
MP
73122011-07-12 Marek Polacek <mpolacek@redhat.com>
7313
7314 * misc/sys/cdefs.h: Add support for const attribute.
7315 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7316 to gnu_dev_{major,minor,makedev} functions.
7317
3ff94596
MP
73182011-07-20 Marek Polacek <mpolacek@redhat.com>
7319
7320 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7321
28b59fca
AS
73222011-07-20 Andreas Schwab <schwab@redhat.com>
7323
7324 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7325 strlen results.
7326
19df733e
AK
73272011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7328
7329 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7330 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7331 register in order to avoid conflicts with the soft frame pointer
7332 being held in r11 when necessary.
7333 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7334 (INTERNAL_VSYSCALL_NCS): Likewise.
7335
c8835729
MP
73362011-07-14 Marek Polacek <mpolacek@redhat.com>
7337
7338 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7339 * elf/dl-fini.c (_dl_fini): Adjust caller.
7340 * elf/dl-close.c (_dl_close_worker): Likewise.
7341 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7342
b902330c
MP
73432011-07-15 Marek Polacek <mpolacek@redhat.com>
7344
8991e135
MP
7345 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7346 "aux_cache->nlibs < 0".
7347
b902330c
MP
7348 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7349 in the reload-count case.
7350
99710781
LD
73512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7352
7353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7354 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7355 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7356 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7357 * sysdeps/x86_64/multiarch/strcat.S: New file.
7358 * sysdeps/x86_64/multiarch/strncat.S: New file.
7359 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7360 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7361 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7362 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7363 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7364 (USE_AS_STRCAT): Define.
7365 Add strcat and strncat support.
7366 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7367 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7368 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7369 * string/strncat.c: Update.
7370 (USE_AS_STRNCAT): Define.
7371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7372 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7373 and i7.
7374 * sysdeps/x86_64/multiarch/init-arch.h
7375 (bit_Prefer_PMINUB_for_stringop): New.
7376 (index_Prefer_PMINUB_for_stringop): Likewise.
7377 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7378 bit_Prefer_PMINUB_for_stringop.
7379
7dc6bd90
UD
73802011-07-19 Ulrich Drepper <drepper@gmail.com>
7381
7382 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7383 buffer64.
7384 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7385 of casting of buffer.
7386 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7387 buffer32 and buffer64.
7388 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7389 writes instead of casting of buffer.
7390 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7391 buffer32.
7392 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7393 casting of buffer.
7394
e0e72284
AS
73952011-07-19 Andreas Schwab <schwab@redhat.com>
7396
7397 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7398
feb1eb0b
UD
73992011-07-19 Ulrich Drepper <drepper@gmail.com>
7400
7401 * nscd/nscd.c (termination_handler): Don't do anything for a database
7402 if it has not yet been initialized.
7403
298711ff
UD
74042011-07-18 Ulrich Drepper <drepper@gmail.com>
7405
7406 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7407
74082011-07-15 Marek Polacek <mpolacek@redhat.com>
7409
7410 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7411
f9d68389
UD
74122011-07-18 Ulrich Drepper <drepper@gmail.com>
7413
7414 * po/nl.po: Update from translation team.
7415 * po/sv.po: Likewise.
7416
db290cf5
RM
74172011-07-16 Roland McGrath <roland@hack.frob.com>
7418
7419 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7420 now disallowed by GCC.
5c550700 7421
fd5e21c7
RM
7422 * configure.in (use-default-link): Default to yes if a test -shared
7423 link meets our qualifications.
7424 * configure: Regenerated.
7425
5c550700
RM
7426 * config.make.in (output-format): New variable.
7427 * configure.in: Check for ld --print-output-format support.
7428 * configure: Regenerated.
7429 * Makerules ($(common-objpfx)format.lds)
7430 [$(output-format) != unknown]: Just use $(output-format),
7431 instead of the linker-script munging.
7432
9fa2c032
RM
74332011-07-14 Roland McGrath <roland@hack.frob.com>
7434
a6928d51
RM
7435 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7436 of $(common-objpfx)shlib.lds.
7437 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7438
661607b3
RM
7439 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7440 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7441
9fa2c032
RM
7442 * configure.in (-z relro check): Adjust test code to add a large
7443 writable data section after it.
7444 * configure: Regenerated.
7445
defe9061
RM
74462011-07-11 Roland McGrath <roland@hack.frob.com>
7447
7448 * configure.in (-z relro check): Fix test code to make the variable
7449 truly const.
7450 * configure: Regenerated.
7451
319b9ad4
UD
74522011-07-11 Ulrich Drepper <drepper@gmail.com>
7453
7454 * nscd/nscd.h (struct traced_file): Define.
7455 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7456 elements. Add traced_files.
7457 (inotify_fd): Declare.
7458 (register_traced_file): Declare.
7459 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7460 (inotify_fd): Export.
7461 (resolv_conf_descr): Remove.
7462 (nscd_init): Move inotify descriptor creation to main.
7463 Don't register files for notification here.
7464 (register_traced_file): New function.
7465 (invalidate_cache): Don't use reset_res to determine whether to call
7466 res_init, go through the list of registered files.
7467 (main_loop_poll): The inotify descriptors are now stored in the
7468 structures for the traced files.
7469 (main_loop_epoll): Likewise
7470 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7471 to __nss_disable_nscd.
7472 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7473 for a database anymore. Check the records for all the registered
7474 files instead.
7475 * nss/Makefile (libnss_files-routines): Add files-init.
7476 (libnss_db-routines): Add db-init.
7477 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7478 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7479 * nss/nss_db/db-init.c: New file.
7480 * nss/nss_files/files-init.c: New file.
7481 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7482 __nss_lookup_function.
7483 (__nss_lookup_function): Call nss_load_library.
7484 (nss_load_all_libraries): New function.
7485 (__nss_disable_nscd): Take parameter with callback function for files
7486 to register. Set is_nscd. Load all the DSOs for the NSS modules
7487 used for the cached services.
7488 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7489 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7490 options for features to all the files in nscd.
7491
7492 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7493
23bee3e8
RM
74942011-07-10 Roland McGrath <roland@hack.frob.com>
7495
7496 * csu/elf-init.c (__libc_csu_init): Comment typo.
7497
46a5b7f0
UD
74982011-07-09 Ulrich Drepper <drepper@gmail.com>
7499
7500 * po/pl.po: Update from translation team.
7501 * po/ja.po: Likewise.
7502 * po/ru.po: Likewise.
7503 * po/ko.po: Likewise.
7504 * po/fr.po: Likewise.
7505
d30cf5bb
RM
75062011-07-09 Roland McGrath <roland@hack.frob.com>
7507
113ddea4
RM
7508 * configure.in (.ctors/.dtors header and trailer check):
7509 Use an empirical test on a built program.
7510 * configure: Regenerated.
7511
574920b4
RM
7512 * configure.in (-z relro check): Use an empirical test on a built DSO.
7513 Detect, but do not require, on ia64.
7514 * configure: Regenerated.
7515
d30cf5bb
RM
7516 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7517 Update tests that use readelf to use $READELF instead.
7518 * configure: Regenerated.
7519
8538fdb3
UD
75202011-07-08 Ulrich Drepper <drepper@gmail.com>
7521
7522 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7523 if the result is not used.
7524
04d08991
AJ
75252011-07-05 Andreas Jaeger <aj@suse.de>
7526
7527 [BZ#9696]
7528 * stdlib/tst-strtod.c: Add testcase.
7529
de283087
AD
75302011-07-07 Ulrich Drepper <drepper@gmail.com>
7531
4e5f31c8 7532 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7533 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7534 The latter has a higher limit. Take additional parameter to pass to
7535 the new function.
7536 (__pathconf): Pass file to __statfs_link_max.
7537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7538 __statfs_link_max.
7539 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7540 __statfs_link_max.
7541
de283087
AD
7542 [BZ #12868]
7543 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7544 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7545 Handle Lustre.
7546 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7547 (__statfs_filesize_max): Likewise.
7548 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7549
c75fa153
AJ
75502011-07-05 Andreas Jaeger <aj@suse.de>
7551
7552 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7553
1a544854
UD
75542011-07-06 Marek Polacek <mpolacek@redhat.com>
7555
7556 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7557 `status' variable.
7558 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7559 Likewise.
7560
6f0eec67
UD
75612011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7562
7563 * Makefile (strop-tests): Add strncat.
7564 * string/test-strncat.c: New file.
7565
aae30307
UD
75662011-06-30 Marek Polacek <mpolacek@redhat.com>
7567
7568 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7569
c0cfb5eb
UD
75702011-06-21 Andreas Jaeger <aj@suse.de>
7571
7572 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7573 Copy rule from iconvdata/Makefile.
7574
01636b21
UD
75752011-07-06 Ulrich Drepper <drepper@gmail.com>
7576
7577 [BZ #12922]
7578 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7579 but no long options are defined, just return 'W'.
7580
9895c8bc
UD
75812011-06-22 Marek Polacek <mpolacek@redhat.com>
7582
7583 [BZ #9696]
7584 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7585
5d4cf042
UD
75862011-07-06 Ulrich Drepper <drepper@gmail.com>
7587
7588 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7589 netgroups to read.
960e5535 7590 (innetgr): Likewise.
5d4cf042 7591
751eb97e
RM
75922011-07-05 Roland McGrath <roland@hack.frob.com>
7593
7594 * config.make.in (install_root): Default to $(DESTDIR).
7595
f15f1e45
UD
75962011-07-05 Ulrich Drepper <drepper@gmail.com>
7597
7598 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7599
4e34ac6a
RM
76002011-07-02 Roland McGrath <roland@hack.frob.com>
7601
5e9b6af4
RM
7602 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7603
84f9ea0f
RM
7604 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7605 containing directory rather than embedding absolute directory names.
7606
ea5ee9f7
RM
7607 * scripts/check-local-headers.sh: Rewritten using awk.
7608 Match by word, not by line. Print error messages for matches.
7609 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7610
1b74661a
RM
7611 * Makerules [shlib-lds-flags empty]:
7612 ($(common-objpfx)libc_pic.opts): New target.
7613 ($(common-objpfx)libc_pic.os.clean): New target.
7614 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7615
7616 * config.make.in (OBJCOPY): New variable.
7617 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7618 * configure: Regenerated.
7619
f781ef40
RM
7620 * config.make.in (use-default-link): New variable.
7621 * configure.in (use_default_link): Grok --with-default-link to set it.
7622 * configure: Regenerated.
7623 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7624 (shlib-lds, shlib-lds-flags): Define to empty.
7625
2d4fa81e
RM
7626 * Makerules (shlib-lds): New variable.
7627 (shlib-lds-flags): New variable.
7628 (build-shlib, build-moduile, build-module-asneeded): Use it.
7629 ($(common-objpfx)libc.so): Use $(shlib-lds).
7630 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7631 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7632
31fffa6b
RM
7633 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7634 DT_FLAGS/DT_FLAGS_1 with zero flags.
7635
4e34ac6a
RM
7636 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7637 linker script munging.
7638
fcfc776b
UD
76392011-07-02 Ulrich Drepper <drepper@gmail.com>
7640
7641 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7642 as 128-bit value.
7643 * crypt/sha512.c (sha512_process_block): Perform total addition using
7644 128-bit if possible.
7645 (__sha512_finish_ctx): Likewise.
7646 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7647 as 64-bit value.
7648 * crypt/sha256.c (SWAP64): Define.
7649 (sha256_process_block): Perform total addition using 64-bit if
7650 possible.
7651 (__sha256_finish_ctx): Likewise.
7652
99231d9a
UD
76532011-07-01 Ulrich Drepper <drepper@gmail.com>
7654
7655 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7656 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7657 * nscd/hstcache.c (cache_addhst): Likewise.
7658 * nscd/grpcache.c (cache_addgr): Likewise.
7659 * nscd/aicache.c (addhstaiX): Likewise
7660 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7661
445b4a53
TK
76622011-07-01 Thorsten Kukuk <kukuk@suse.de>
7663
7664 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7665 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7666 * nscd/hstcache.c (cache_addhst): Likewise.
7667 * nscd/grpcache.c (cache_addgr): Likewise.
7668 * nscd/aicache.c (addhstaiX): Likewise
7669
6d4d8e8e
AS
76702011-07-01 Andreas Schwab <schwab@redhat.com>
7671
7672 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7673 domain only when needed.
7674
89f654c5
AS
76752011-06-30 Andreas Schwab <schwab@redhat.com>
7676
7677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7678 is always restored.
7679
cf3b23ff
UD
76802011-06-29 Ulrich Drepper <drepper@gmail.com>
7681
7682 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7683 are re-adding the entry.
7684 * nscd/servicescache.c (cache_addserv): Likewise.
7685
751626f9
AJ
76862011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7687
7688 * sysdeps/generic/dl-irel.h: fix protection against multiple
7689 inclusions.
7690 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7691
9113ea1f
UD
76922011-06-28 Ulrich Drepper <drepper@gmail.com>
7693
5c0b8d90
UD
7694 [BZ #12935]
7695 * malloc/memusage.sh: Fix quoting in message.
7696 * debug/xtrace.sh: Likewise.
7697
9113ea1f
UD
7698 * configure.in: Remove support for --experimental-malloc option, make
7699 it the default.
7700 * config.make.in: Likewise.
7701 * malloc/Makefile: Likewise.
7702
a4172181
AS
77032011-06-27 Andreas Schwab <schwab@redhat.com>
7704
7705 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7706 two-byte characters.
7707
78a7eee7
RM
77082011-06-27 Roland McGrath <roland@hack.frob.com>
7709
62bede13
RM
7710 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7711 AC_CACHE_CHECK invocation.
7712 * configure: Regenerated.
7713
78a7eee7
RM
7714 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7715
5ce33a62
UD
77162011-06-27 Ulrich Drepper <drepper@gmail.com>
7717
034807a9
UD
7718 [BZ #12350]
7719 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7720 bit from old_res_options.
7721
4902da17
UD
7722 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7723
5ce33a62
UD
7724 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7725 value type for setfct.
7726
c2344f56
L
77272011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7728
7729 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7730 __gettimeofday instead of gettimeofday.
7731
68468076
UD
77322011-06-26 Ulrich Drepper <drepper@gmail.com>
7733
7734 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7735
acb0d739
L
77362011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7737
7738 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7739
7740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7741 info.
7742
8912479f
L
77432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7744
7745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7746 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7747 strcpy-sse2-unaligned strncpy-sse2-unaligned
7748 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7749 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7750 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7751 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7752 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7754 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7755 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7756 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7757 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7758 (STRCPY): Support SSE2 and SSSE3 versions.
7759
d5495a11
UD
77602011-06-24 Ulrich Drepper <drepper@gmail.com>
7761
7762 [BZ #12874]
7763 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7764 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7765 kernels which artificially limit size of requests.
7766
0b1cbaae
L
77672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7768
7769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7770 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7771 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7772 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7773 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7774 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7775 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7776 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7777 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7778 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7779 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7780 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7781 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7782 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7783 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7785 Enable unaligned load optimization for Intel Core i3, i5 and i7
7786 processors.
7787 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7788 Define.
7789 (index_Fast_Unaligned_Load): Define.
7790 (HAS_FAST_UNALIGNED_LOAD): Define.
7791
07f494a0
MP
77922011-06-23 Marek Polacek <mpolacek@redhat.com>
7793
7794 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7795
fa3fc0fe
UD
77962011-06-22 Ulrich Drepper <drepper@gmail.com>
7797
7798 [BZ #12907]
7799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7800 until it is clear that the information is realy needed.
7801 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7802
e12df166
AS
78032011-06-22 Andreas Schwab <schwab@redhat.com>
7804
7805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7806
852eb34d
UD
78072011-06-22 Ulrich Drepper <drepper@gmail.com>
7808
84e2a551
UD
7809 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7810 /sys/devices/system/cpu/online if it is usable.
7811
852eb34d
UD
7812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7813 reading the information from the /proc filesystem to once a second.
7814
6e502e19
UD
78152011-06-21 Andreas Jaeger <aj@suse.de>
7816
7817 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7818 NULL after inclusion of kernel headers.
7819
75d39ff2
UD
78202011-06-21 Ulrich Drepper <drepper@gmail.com>
7821
51f9aa6a
UD
7822 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7823 calls to internal_setent.
7824
c0244a9d
UD
7825 [BZ #12885]
7826 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7827 addresses using gethostbyname4_r ignore IPv4 addresses.
7828
c5e3c2ae
UD
7829 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7830 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7831
75d39ff2
UD
7832 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7833
42675c6f
DM
78342011-06-20 David S. Miller <davem@davemloft.net>
7835
7836 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7837 inclusions.
7838 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7839
7840 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7841 (elf_irel): Use it.
7842 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7843 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7844 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7845 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7846 * sysdeps/x86_64/dl-irel.h: Likewise.
7847
7848 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7849 * elf/dl-sym.c: Likewise.
7850
57912a71
UD
78512011-06-15 Ulrich Drepper <drepper@gmail.com>
7852
7853 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7854 need to dereference resplen2.
7855
ee22793d
AS
78562011-06-14 Andreas Schwab <schwab@redhat.com>
7857
7858 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7859
a9e836b0
UD
78602011-06-15 Ulrich Drepper <drepper@gmail.com>
7861
77fb9117
UD
7862 * Makeconfig: Define vardbdir and inst_vardbdir.
7863 * nss/Makefile: Add rules to install db-Makefile.
7864
40c1b22c
UD
7865 * nss/nss_db/db-XXX.c: Cleanup.
7866
9f2da732
UD
7867 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7868 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7869 GLIBC_PRIVATE.
7870 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7871 * nss/makedb.c: Implement -g option to specify that value strings
7872 are generated and should not be added to table iterated over for
7873 get*ent calls.
7874 * nss/nss_db/db-initgroups.c: New file.
7875
82e9a1f7
UD
7876 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7877 interface.
7878
c41af17e
UD
7879 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7880 (internal_getgrouplist): Adjust to name change.
7881 Update use_initgroups_entry if this is not the first call.
7882 * nss/databases.def: Add initgroups entry.
7883
a9e836b0
UD
7884 * nss/makedb.c (compute_tables): Check result of multiple hash table
7885 sizes to minimize maximum chain length.
7886
2666d441
UD
78872011-06-14 Ulrich Drepper <drepper@gmail.com>
7888
7889 * Versions.def: Add entry for libnss_db.
7890 * shlib-versions: Likewise.
7891 * nss/Makefile: Add rules to build libnss_db.
7892 * nss/Versions: Add libnss_db information. Organize libnss_files
7893 entries better.
7894 * nss/db-Makefile: Add gshadow support. Change rules for the new
7895 makedb progra. Some minor improvements to generate smaller files.
7896 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7897 here from...
7898 * nss/makedb.c: ...here.
7899 Improve database format to be smaller and require less memory at
7900 runtime.
7901 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7902 db anymore.
7903 * nss/nss_db/db-netgrp.c: Likewise.
7904 * nss/nss_db/db-open.c: Likewise.
7905 * nss/nss_files/flies-XXX.x: Adjust comments.
7906 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7907 * nss/nss_files/files-grp.c: Likewise.
7908 * nss/nss_files/files-hosts.c: Likewise.
7909 * nss/nss_files/files-network.c: Likewise.
7910 * nss/nss_files/files-proto.c: Likewise.
7911 * nss/nss_files/files-pwd.c: Likewise.
7912 * nss/nss_files/files-rpc.c: Likewise.
7913 * nss/nss_files/files-service.c: Likewise.
7914 * nss/nss_files/files-sgrp.c: Likewise.
7915 * nss/nss_files/files-spwd.c: Likewise.
7916 * nss/nss_db/db-alias.c: Removed.
7917 * nss/nss_db/dummy-db.h: Removed.
7918
9ee76b5a
UD
79192011-06-02 Ulrich Drepper <drepper@gmail.com>
7920
7921 * nss/makedb.c: Rewritten to not use database library.
7922 * nss/Makefile: Update to build new makedb program.
7923
c71ca1f8
AJ
79242011-06-14 Andreas Jaeger <aj@suse.de>
7925
7926 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7927 memset declaration.
7928
3154bfb8
UD
79292011-06-10 Andreas Schwab <schwab@redhat.com>
7930
7931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7932 tmpbuf.
7933
b350afab
RM
79342011-06-10 Roland McGrath <roland@hack.frob.com>
7935
decd4e50
RM
7936 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7937 * elf/Makefile ($(objpfx)ld.so): Likewise.
7938
5615eaf2
RM
7939 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7940 Don't list ld.so twice in dependencies.
7941
7942 * posix/bug-regex31.c: Include <stdlib.h>.
7943
7944 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7945
7946 * nis/nss_compat/compat-spwd.c
7947 (getspent_next_nss_netgr): Remove unused variable.
7948 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7949
7950 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7951 nonmembers" output to use the right array.
7952
7953 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7954
7955 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7956
7957 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7958 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7959 * catgets/gencat.c (read_input_file): Likewise.
7960 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7961
7962 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7963 variable definition inside #if's controlling its use.
7964
7965 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7966
7967 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7968
7969 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7970
7971 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7972 unreachable code.
7973
7974 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7975
b68e08db
RM
7976 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7977 * configure: Regenerated.
7978
b350afab
RM
7979 * Makerules: Revert last change.
7980 * elf/Makefile: Likewise.
7981
28368601
RM
79822011-06-09 Roland McGrath <roland@hack.frob.com>
7983
7984 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7985 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7986 (reloc-link): Likewise.
7987
11988f8f
UD
79882011-06-09 Ulrich Drepper <drepper@gmail.com>
7989
7990 * elf/Makefile: Add rules to build pldd.
7991 * elf/pldd.c: New file.
7992 * elf/pldd-xx.c: New file.
7993
e80fab37
UD
79942011-06-07 Ulrich Drepper <drepper@gmail.com>
7995
7996 * version.h: Update for 2.15 development version.
7997
9b849836
DM
79982011-06-07 David S. Miller <davem@davemloft.net>
7999
8000 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8001 ifuncs.
8002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8003 elf_machine_lazy_rel): Likewise.
8004 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8005 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8006 elf_machine_lazy_rel): Likewise.
8007 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8008 dl_hwcap via passed in argument.
8009 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8010 Likewise.
8011
5a31b283
AK
80122011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8013
8014 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8015
069e52f8
RM
80162011-06-06 Roland McGrath <roland@hack.frob.com>
8017
8018 [BZ #12849]
8019 * manual/fdl-1.1.texi: New file, verbatim from:
8020 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8021 * manual/lgpl-2.1.texi: New file, verbatim from:
8022 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8023 * manual/Makefile (licenses): New variable, list those new file names.
8024 (texis): Use it.
8025 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8026
8027 * manual/fdl.texi: File removed.
8028 * manual/lesser.texi: File removed.
8029 * manual/libc.texinfo (Copying, Documentation License):
8030 Use new @include file names, put @appendix directive before @include.
8031
f16846a5
JJ
80322011-06-04 Jakub Jelinek <jakub@redhat.com>
8033
8034 [BZ #12841]
8035 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8036 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8037 (mq_open): Add __NTH.
8038
3d29045b
L
80392011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8040
8041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8042 Assume Intel Core i3/i5/i7 processor if AVX is available.
8043
8c297311
UD
80442011-05-31 Ulrich Drepper <drepper@gmail.com>
8045
8046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8047 typo.
8048
c8fc0c91
UD
80492011-05-31 Andreas Schwab <schwab@redhat.com>
8050
8051 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8052 memory. Use alloca_account. Fix memory leak when retrying.
8053
5b27a807
UD
80542011-05-31 Ulrich Drepper <drepper@gmail.com>
8055
356f8bc6
UD
8056 * version.h (RELEASE): Bump for 2.14 release.
8057 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8058
5b27a807
UD
8059 * config.make.in (RANLIB): Remove entry.
8060
01f16ab0
UD
80612011-05-30 Ulrich Drepper <drepper@gmail.com>
8062
41fce8bd
UD
8063 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8064 (libc.pot): Work around missing support for .ksh extension in xgettext.
8065
4769ae77
UD
8066 [BZ #12684]
8067 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8068 if both request failed.
8069 (send_dg): In case of server errors clear resplen or *resplen2.
8070
6b1e7d19
UD
8071 [BZ #12454]
8072 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8073 when there are multiple maps.
8074 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8075 (_dl_fini): Remove test here.
8076
01f16ab0
UD
8077 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8078
b1ebd700
UD
80792011-05-29 Ulrich Drepper <drepper@gmail.com>
8080
7ae22829
UD
8081 [BZ #12350]
8082 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8083 bit from old_res_options.
8084 (gaih_inet): Likewise.
8085
553149f6 8086 [BZ #11099]
18a84741 8087 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8088 as signed.
8089
652ffab1
UD
8090 * resolv/res_init.c (res_setoptions): Make the code more compact.
8091
16985fd0
UD
8092 [BZ #11558]
8093 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8094 set RES_USEVC.
8095
0464f746
UD
8096 [BZ #11634]
8097 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8098
7d17596c
UD
8099 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8100
cf6bbbd7
UD
8101 [BZ #11781]
8102 * malloc/malloc.h: Declare malloc hook variables as volatile.
8103
13f1ab36
UD
8104 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8105 in last patch.
8106
b1ebd700
UD
8107 [BZ #11799]
8108 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8109 raise in the comment.
80e2212d
UD
8110 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8112 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8113
ce67228d
UD
81142011-05-28 Ulrich Drepper <drepper@gmail.com>
8115
8887a920
UD
8116 [BZ #12811]
8117 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8118 grow the buffers more if it already has to be sufficient.
8119 (build_wcs_upper_buffer): Likewise.
8120 * posix/regexec.c (check_matching): Likewise.
8121 (clean_state_log_if_needed): Likewise.
8122 (extend_buffers): Don't enlarge buffers beyond size of the input
8123 buffer.
8124 Patches mostly by Emil Wojak <emil@wojak.eu>.
8125 * posix/bug-regex32.c: New file.
8126 * posix/Makefile (tests): Add bug-regex32.
8127
4f031072
UD
8128 * locale/findlocale.c (_nl_find_locale): Return right away if
8129 _nl_explode_name failed.
8130 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8131
d0478f0c
UD
8132 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8133
de81b246
UD
8134 * debug/xtrace.sh: Unify messages.
8135 * malloc/memusage.sh: Likewise.
8136
c738465a
UD
8137 [BZ #12813]
8138 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8139 time symbol from vDSO. Substitute with vsyscall if not available.
8140 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8141 __vdso_time.
8142
f1f929d7
UD
8143 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8144 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8145 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8146 Add sendmmsg and internal_sendmmsg.
8147 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8148 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8149 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8150
ce67228d
UD
8151 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8152 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8153 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8154
e57420c6
UD
81552011-05-27 Ulrich Drepper <drepper@gmail.com>
8156
a8509ca5
UD
8157 [BZ #12813]
8158 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8159 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8160 available.
8161 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8162 __vdso_getcpu.
8163
e57420c6
UD
8164 [BZ #12814]
8165 * iconvdata/Makefile (tests): Add bug-iconv9.
8166 * iconvdata/bug-iconv9.c: New file.
8167
4d07db15
AS
81682011-05-27 Andreas Schwab <schwab@redhat.com>
8169
8170 [BZ #12814]
8171 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8172
ea486f69
JJ
81732011-05-25 Jakub Jelinek <jakub@redhat.com>
8174
8175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8176 (struct user_regs_struct): Change intcs field back to cs.
8177
6f038433
UD
81782011-05-25 Ulrich Drepper <drepper@gmail.com>
8179
8180 * po/ja.po: Update from translation team.
8181
67f86a25
UD
81822011-05-23 Ulrich Drepper <drepper@gmail.com>
8183
8184 [BZ #12795]
8185 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8186 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8187
def7fbd6
AS
81882011-05-20 Andreas Schwab <schwab@redhat.com>
8189
8190 * stdlib/longlong.h: Update from GCC.
8191
f50ef8f1
AS
81922011-05-23 Andreas Schwab <schwab@redhat.com>
8193
8194 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8195 parameter name.
8196 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8197 Add parameter name.
8198 (__sysconf): Pass it down.
8199
de7ce8f1
UD
82002011-05-22 Ulrich Drepper <drepper@gmail.com>
8201
f2962a71
UD
8202 [BZ #12671]
8203 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8204 some situations.
8205 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8206 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8207 add in in __libc_use_alloca calls. Adjust callers.
8208 (glob): Use malloc in some situations.
8209
de7ce8f1
UD
8210 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8211 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8212 pltexit.
8213
aec84f53
UD
82142011-05-21 Ulrich Drepper <drepper@gmail.com>
8215
05bb4a68
UD
8216 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8217 and CLOCK_BOOTTIME_ALARM.
8218
7ea72f99
UD
8219 [BZ #12782]
8220 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8221 is returned.
8222
7e4afad5
UD
8223 * string/_strerror.c (__strerror_r): Print negative errors as signed
8224 numbers.
8225
8e211fec
UD
8226 [BZ #12777]
8227 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8228 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8229 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8230
f7d82dc9
UD
8231 * configure.in: Fix typo in redirection and correct removal of test
8232 files in two cases.
8233
cc9e536d
UD
8234 [BZ #12788]
8235 * locale/setlocale.c (new_composite_name): Fix test to check for
8236 identical name of all categories.
8237
aec84f53
UD
8238 [BZ #12792]
8239 * libio/filedoalloc.c (local_isatty): New function.
8240 (_IO_file_doallocate): Use local_isatty.
8241 * stdio-common/perror.c (perror): In case a new stream is used
8242 forward the stream error.
8243 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8244 error flag.
8245
78e64fdc
RT
82462011-05-20 Ulrich Drepper <drepper@gmail.com>
8247
34a9094f
UD
8248 [BZ #11869]
8249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8250 alloca.
8251 * include/alloca.h (extend_alloca_account): Define.
8252
78e64fdc
RT
8253 [BZ #11857]
8254 * posix/regex.h: Fix comments with documentation of user-accessible
8255 fields after compilation and describe correct free'ing of pattern
8256 after re_compile_pattern.
8257 Patch by Reuben Thomas <rrt@sc3d.org>.
8258
457bddfc
RA
82592011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8260
8261 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8262 and -mno-altivec to prevent the compiler from using Altivec and/or
8263 VSX instructions when the corresponding registers are not available.
8264
a4527b51
AS
82652011-05-19 Andreas Schwab <schwab@redhat.com>
8266
8267 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8268
ed690b2f
UD
82692011-05-19 Ulrich Drepper <drepper@gmail.com>
8270
8271 * libio/freopen.c (freopen): Use __dup2, not dup2.
8272 * libio/freopen64.c (freopen64): Likewise.
8273
8db73634
L
82742011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8275
8276 [BZ #12775]
8277 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8278 * math/Makefile (tests): Add test-powl.
8279 (CFLAGS-test-powl.c): Define.
8280 * math/test-powl.c: New file.
8281
0a197a9d
L
82822011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8283
8284 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8285
ee30c380
UD
82862011-05-17 Ulrich Drepper <drepper@gmail.com>
8287
8288 [BZ #11837]
8289 * iconvdata/gb18030.c: Update to GB18020-2005.
8290
6ce75379
UD
82912011-05-16 Ulrich Drepper <drepper@gmail.com>
8292
a4b89fd8
AR
8293 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8294 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8295 Patch by Aharon Robbins <arnold@skeeve.com>.
8296
ea389b12
UD
8297 [BZ #11892]
8298 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8299 on the stack.
8300
68a3f91f
UD
8301 [BZ #11895]
8302 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8303 through underflows.
8304
15cc7dd1
UD
8305 [BZ #12766]
8306 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8307 point to strings before performing equality test for error_one_per_line
8308 mode.
8309
f3799213
UD
8310 [BZ #11697]
8311 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8312
d79a9c94
UD
8313 [BZ #11820]
8314 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8315 (struct user_fpregs_struct): Avoid __uint*_t types.
8316
56e5eb46
UD
8317 [BZ #6420]
8318 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8319 symbol info. Use it instead of calling _dl_addr locally.
8320 (lock_and_info): New function.
8321 (tr_freehook): Call lock_and_info and pass symbol info as additional
8322 parameter to tr_where.
8323 (tr_mallochook): Likewise.
8324 (tr_reallochook): Likewise.
8325 (tr_memalignhook): Likewise.
8326
6ce75379
UD
8327 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8328 used and couldn't be at all thread-safe.
8329
f8a3b5bf
UD
83302011-05-15 Ulrich Drepper <drepper@gmail.com>
8331
94b7cc37
UD
8332 * libio/freopen.c (freopen): Don't close old file descriptor
8333 before the new one is opened. Instead dup the new file descriptor
8334 to the old one after the new stream is created.
8335 * libio/freopen64.c (freopen64): Likewise.
8336 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8337 * libio/fileops.c (_IO_new_file_close_it): Handle new
8338 _IO_FLAGS2_NOCLOSE flag.
8339 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8340 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8341 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8342 _IO_FLAGS2_NOCLOSE flag.
8343 * include/unistd.h: Add hidden_proto for dup3.
8344 Define __have_dup3.
8345 * io/dup3.c: Define hidden symbol.
8346 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8347
bd25564e
UD
8348 [BZ #7101]
8349 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8350 when an incomplete long option is used.
8351 * posix/tst-getopt_long1.c: New file.
8352 * posix/Makefile (tests): Add tst-getopt_long1.
8353
c84cfef4
UD
8354 [BZ #10138]
8355 * scripts/config.guess: Update from autoconf-2.68.
8356 * scripts/config.sub: Likewise.
8357
3b85df27
UD
8358 [BZ #10157]
8359 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8360 tests into ...
8361 (has_cpuclock): ...this. New function.
8362 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8363 macro here based on has_cpuclock code.
8364
15a856b1
UD
8365 [BZ #10149]
8366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8367 First byte (not low byte) is now always NUL.
8368 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8369
05f399e6
UD
8370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8371 Use non-cancelable interfaces.
8372
10a52685 8373 [BZ #9809]
94ecc67d
UD
8374 * locale/iso-639.def: Add entry for Sorani.
8375
f8a3b5bf
UD
8376 [BZ #11901]
8377 * include/stdlib.h: Move include protection to the right place.
8378 Define abort_msg_s. Declare __abort_msg with it.
8379 * stdlib/abort.c (__abort_msg): Adjust type.
8380 * assert/assert.c (__assert_fail_base): New function. Majority
8381 of code from __assert_fail. Allocate memory for __abort_msg with
8382 mmap.
8383 (__assert_fail): Now call __assert_fail_base.
8384 * assert/assert-perr.c: Remove bulk of implementation. Use
8385 __assert_fail_base.
8386 * include/assert.hL Declare __assert_fail_base.
8387 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8388 mmap.
8389 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8390
1af4e298
UD
83912011-05-14 Ulrich Drepper <drepper@gmail.com>
8392
f8a3b5bf 8393 [BZ #11952]
d26dfc60
MG
8394 [BZ #12453]
8395 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8396 until all modules are registered in the DTV.
8397 * elf/Makefile: Add rules to build and run tst-tls19.
8398 * elf/tst-tls19.c: New file.
8399 * elf/tst-tls19mod1.c: New file.
8400 * elf/tst-tls19mod2.c: New file.
8401 * elf/tst-tls19mod3.c: New file.
8402 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8403
2fc54d6f
UD
8404 [BZ #12083]
8405 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8406 correctly.
8407
98d76b46
UD
8408 [BZ #12601]
8409 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8410 two-byte sequence errors.
8411 * iconvdata/Makefile (tests): Add bug-iconv8.
8412 * iconvdata/bug-iconv8.c: New file.
8413
da3c19ef
UD
8414 [BZ #12626]
8415 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8416 buf2 definition.
8417
ca408c15
UD
8418 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8419
d6f67f7d
UD
8420 [BZ #12432]
8421 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8422 (dummy_getcfa): New function.
8423 (init): Get _Unwind_GetCFA address, use dummy if not found.
8424 (backtrace_helper): In recursion check, also check whether CFA changes.
8425 (__backtrace): Completely initialize arg.
8426
1af4e298 8427 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8428 storing incomplete byte sequence in state object. Avoid testing for
8429 guaranteed too small input if we know there is enough data available.
1af4e298 8430
da62f81b
AS
84312011-05-11 Andreas Schwab <schwab@redhat.com>
8432
8433 * Makeconfig (+link-pie): Indent.
8434 * Rules (binaries-pie): Define if $(have-fpie) and
8435 $(build-shared).
8436 (binaries-shared): Also filter out $(binaries-pie).
8437 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8438 * nscd/Makefile (others-pie): Add nscd.
8439 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8440 ($(objpfx)nscd): Remove command override.
8441 * login/Makefile (others-pie): Add pt_chown.
8442 ($(objpfx)pt_chown): Remove command override.
8443 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8444 remove command overrides.
8445
fcabc0f8
UD
84462011-05-13 Ulrich Drepper <drepper@gmail.com>
8447
20030ae6
UD
8448 * libio/tst_putwc.c: Fix error messages.
8449
fcabc0f8
UD
8450 [BZ #12724]
8451 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8452 currently writing and seek to current position when not.
8453 * libio/Makefile (tests): Add bug-fclose1.
8454 * libio/bug-fclose1.c: New file.
8455
320a5dc0
PB
84562011-05-12 Ulrich Drepper <drepper@gmail.com>
8457
8458 [BZ #12511]
8459 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8460 don't set DF_1_NODELETE here.
8461 (do_lookup_x): When entering new entry test for copy relocation
8462 and if necessary set DF_1_NODELETE flag.
8463 * elf/tst-unique4.cc: New file.
8464 * elf/tst-unique4.h: New file.
8465 * elf/tst-unique4lib.cc: New file.
8466 * elf/Makefile: Add rules to build and run tst-unique4.
8467 Patch by Piotr Bury <pbury@goahead.com>.
8468
22836f52
UD
84692011-05-11 Ulrich Drepper <drepper@gmail.com>
8470
f574184a
UD
8471 [BZ #12052]
8472 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8473
e1fb097f
UD
8474 [BZ #12625]
8475 * misc/mntent_r.c (addmntent): Flush the stream after the output
8476
22836f52
UD
8477 [BZ #12393]
8478 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8479 (is_trusted_path_normalize): Skip initial colon. Append slash
8480 to empty buffer. Duplicate is_trusted_path code but allow
8481 constructed patch to be prefix.
8482 (is_dst): Allow $ORIGIN followed by /.
8483 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8484 Correct testing of result of is_trusted_path_normalize
8485 (decompose_rpath): Fix warning.
8486
7b3b0b2a
UD
84872011-05-10 Ulrich Drepper <drepper@gmail.com>
8488
8489 [BZ #11257]
8490 * grp/initgroups.c (internal_getgrouplist): When we found the service
8491 list through the initgroups entry in nsswitch.conf do not always
8492 continue on a successful lookup. Don't always use the
eac80ce2 8493 __nss_group_database value if it is set.
7b3b0b2a
UD
8494 * nss/nsswitch.conf (initgroups): Change action for successful db
8495 lookup to continue for compatibility.
8496
2a81eaa5
UD
84972011-05-09 Ulrich Drepper <drepper@gmail.com>
8498
be97a69e
UD
8499 [BZ #11532]
8500 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8501 and CP774 modules.
8502 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8503 and CP774 modules.
8504 * iconvdata/tst-tables.sh: Likewise.
8505 * iconvdata/cp770.c: New file.
8506 * iconvdata/cp771.c: New file.
8507 * iconvdata/cp772.c: New file.
8508 * iconvdata/cp773.c: New file.
8509 * iconvdata/cp774.c: New file.
8510 * iconvdata/testdata/CP770: New file.
8511 * iconvdata/testdata/CP770..UTF8: New file.
8512 * iconvdata/testdata/CP771: New file.
8513 * iconvdata/testdata/CP771..UTF8: New file.
8514 * iconvdata/testdata/CP772: New file.
8515 * iconvdata/testdata/CP772..UTF8: New file.
8516 * iconvdata/testdata/CP773: New file.
8517 * iconvdata/testdata/CP773..UTF8: New file.
8518 * iconvdata/testdata/CP774: New file.
8519 * iconvdata/testdata/CP774..UTF8: New file.
8520
8521 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8522 END CHARMAP line.
8523 * iconvdata/gen-8bit-gap.sh: Likewise.
8524 * iconvdata/gen-8bit.sh: Likewise.
8525
c1e9e399
UD
8526 * locale/iso-639.def: Add ary entry.
8527
24c55fb3 8528 [BZ #11258]
96b4b1b0
UD
8529 * locale/C-translit.h.in: Add U20A1 transliteration.
8530
bdc2f971
KB
8531 [BZ #12178]
8532 * locale/iso-639.def: Add wae entry.
8533 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8534
2952b117
UD
8535 [BZ #12545]
8536 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8537 for n.
8538
2a81eaa5
UD
8539 [BZ #12711]
8540 * locale/C-translit.h.in: Add entry for U20B9.
8541 Patch by pravin.d.s@gmail.com.
8542
28377d1b
UD
85432011-05-08 Ulrich Drepper <drepper@gmail.com>
8544
7fb90fb8
UD
8545 [BZ #12713]
8546 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8547 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8548 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8549 in rtld. Use *stat64.
7fb90fb8 8550 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8551 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8552 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8553 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8554 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8555 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8556 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8557 __fstatat64 macros.
7fb90fb8
UD
8558 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8559 * dirent/rewinddir.c: Add libc_hidden_def.
8560 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8561 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8562
28377d1b
UD
8563 * include/dirent.h (__alloc_dir): Add flags parameter.
8564 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8565 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8566 __alloc_dir.
8567 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8568 from fdopendir if O_CLOEXEC is already set.
8569
66bdbaa4
AM
85702011-03-15 Alan Modra <amodra@gmail.com>
8571
8572 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8573 l_tls_firstbyte_offset non-zero. Save padding offset in
8574 l_tls_firstbyte_offset for later use.
8575 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8576 freeing static tls block.
8577
95721191
JN
85782011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8579
8580 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8581 where #ifdef was intended. The intent is to prevent ARG_MAX from
8582 being defined by the kernel headers.
8583
f87dfb1f
UD
85842011-05-07 Ulrich Drepper <drepper@gmail.com>
8585
8586 [BZ #12734]
8587 * resolv/resolv.h: Define RES_NOTLDQUERY.
8588 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8589 no-tld-query and set RES_NOTLDQUERY.
8590 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8591 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8592 modern BIND to search name as TLD unless forbidden.
8593
47c3cd7a
UD
85942011-05-07 Petr Baudis <pasky@suse.cz>
8595 Ulrich Drepper <drepper@gmail.com>
8596
8597 [BZ #12393]
8598 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8599 (is_trusted_path): ...to here.
c1e9ea35 8600 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8601 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8602 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8603
8a35c912
PP
86042011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8605
8606 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8607 __BEGIN/__END_DECLS.
8608
acd41f47
UD
86092011-05-06 Ulrich Drepper <drepper@gmail.com>
8610
8611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8612 NSS_STATUS_NOTFOUND if no record was found.
8613
597df647
AS
86142011-05-05 Andreas Schwab <schwab@redhat.com>
8615
8616 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8617 (headers-not-in-tirpc): Remove rpc/netdb.h
8618 * resolv/netdb.h: Revert last change.
8619
b9af1301
PP
86202011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8621
8622 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8623 circular dependency between libgcc.a and libc.a.
8624
4e34d5f5
AS
86252011-05-05 Andreas Schwab <schwab@redhat.com>
8626
8627 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8628 * nis/Makefile: Don't install rpcsvc/*.
8629 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8630 instead of <rpc/types.h>.
8631 (MAXHOSTNAMELEN): Define.
8632
00ee369c
AS
86332011-05-03 Andreas Schwab <schwab@redhat.com>
8634
8635 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8636
0b592a30
MB
86372011-04-28 Maciej Babinski <mbabinski@google.com>
8638
8639 [BZ #12714]
8640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8641 gethostbyname4_r when IPv6 results are possible.
8642
6e04cbbe
UD
86432011-05-02 Ulrich Drepper <drepper@gmail.com>
8644
8645 [BZ #12723]
8646 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8647 _PC_PIPE_BUF handling.
8648
e4ecafe0
BH
86492011-04-30 Bruno Haible <bruno@clisp.org>
8650
8651 [BZ #12717]
8652 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8653 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8654 to 'int'.
8655 * inet/getnameinfo.c (getnameinfo): Likewise.
8656
125ee683
UD
86572011-04-29 Ulrich Drepper <drepper@gmail.com>
8658
8659 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8660 to groups setting in database lookup.
8661 * nss/nsswitch.conf: Add initgroups entry.
8662
b722481a
EB
86632011-04-22 Ulrich Drepper <drepper@gmail.com>
8664
8665 [BZ #12685]
8666 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8667 mode string.
8668 Patch by Eric Blake <eblake@redhat.com>.
8669
4df46dbd
L
86702011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8671
8672 * sunrpc/Makefile (need-export-routines): Add svc_run.
8673 (routines): Remove svc_run.
8674 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8675 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8676 * sunrpc/svc_run.c (svc_run): Likewise.
8677 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8678
e84142d2
UD
86792011-04-21 Ulrich Drepper <drepper@gmail.com>
8680
8681 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8682 problem in reallocation in last patch.
8683
877175d8
UD
86842011-04-20 Ulrich Drepper <drepper@gmail.com>
8685
8686 * sunrpc/Makefile: Move inclusion of Rules.
8687
ab8eed78
UD
86882011-04-19 Ulrich Drepper <drepper@gmail.com>
8689
8690 * nss/nss_files/files-initgroups.c: New file.
8691 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8692 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8693 _nss_files_initgroups_dyn.
8694
e3d8f584
RS
86952011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8696
8697 * elf/elf.h (R_ARM_IRELATIVE): Define.
8698
af190f45
UD
86992011-04-19 Ulrich Drepper <drepper@gmail.com>
8700
8701 * po/ru.po: Update from translation team.
8702
53cf59ef
UD
87032011-04-17 Ulrich Drepper <drepper@gmail.com>
8704
8705 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8706 dependencies.
8707
4c559bcd
MF
87082011-02-06 Mike Frysinger <vapier@gentoo.org>
8709
8710 [BZ #12653]
8711 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8712 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8713 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8715 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8716
4420675c
AS
87172011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8718
8719 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8720 differing bytes.
8721 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8722 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8724
75ea32ab
UD
87252011-04-17 Ulrich Drepper <drepper@gmail.com>
8726
8727 [BZ #12420]
8728 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8729 storing it.
8730 * stdlib/bug-getcontext.c: New file.
8731 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8732
27390476
AK
87332011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8734
8735 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8736 instructions into .machine "z9-109".
8737 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8738 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8739
10442705
AK
87402011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8741
8742 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8743 between environment variables and auxiliary vector.
8744
7b57bfe5
UD
87452011-04-16 Ulrich Drepper <drepper@gmail.com>
8746
8747 * Makefile: Add rules to build linkobj/libc.so.
8748 * include/libc-symbols.h: Define libc_hidden_nolink.
8749 * include/rpc/auth.h: Mark functions which are to be hidden.
8750 * include/rpc/auth_des.h: Likewise.
8751 * include/rpc/auth_unix.h: Likewise.
8752 * include/rpc/clnt.h: Likewise.
8753 * include/rpc/des_crypt.h: Likewise.
8754 * include/rpc/key_prot.h: Likewise.
8755 * include/rpc/pmap_clnt.h: Likewise.
8756 * include/rpc/pmap_prot.h: Likewise.
8757 * include/rpc/pmap_rmt.h: Likewise.
8758 * include/rpc/rpc_msg.h: Likewise.
8759 * include/rpc/svc.h: Likewise.
8760 * include/rpc/svc_auth.h: Likewise.
8761 * include/rpc/xdr.h: Likewise.
8762 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8763 * nss/Makefile: Likewise.
8764 * sunrpc/Makefile: Don't install headers. Build library with normal
8765 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8766 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8767 for the compat linking library. Remove use of INTDEF/INTUSE.
8768 * sunrpc/auth_none.c: Likewise.
8769 * sunrpc/auth_unix.c: Likewise.
8770 * sunrpc/authdes_prot.c: Likewise.
8771 * sunrpc/authuxprot.c: Likewise.
8772 * sunrpc/clnt_gen.c: Likewise.
8773 * sunrpc/clnt_perr.c: Likewise.
8774 * sunrpc/clnt_raw.c: Likewise.
8775 * sunrpc/clnt_simp.c: Likewise.
8776 * sunrpc/clnt_tcp.c: Likewise.
8777 * sunrpc/clnt_udp.c: Likewise.
8778 * sunrpc/clnt_unix.c: Likewise.
8779 * sunrpc/des_crypt.c: Likewise.
8780 * sunrpc/des_soft.c: Likewise.
8781 * sunrpc/get_myaddr.c: Likewise.
8782 * sunrpc/key_call.c: Likewise.
8783 * sunrpc/key_prot.c: Likewise.
8784 * sunrpc/netname.c: Likewise.
8785 * sunrpc/pm_getmaps.c: Likewise.
8786 * sunrpc/pm_getport.c: Likewise.
8787 * sunrpc/pmap_clnt.c: Likewise.
8788 * sunrpc/pmap_prot.c: Likewise.
8789 * sunrpc/pmap_prot2.c: Likewise.
8790 * sunrpc/pmap_rmt.c: Likewise.
8791 * sunrpc/publickey.c: Likewise.
8792 * sunrpc/rpc_cmsg.c: Likewise.
8793 * sunrpc/rpc_common.c: Likewise.
8794 * sunrpc/rpc_dtable.c: Likewise.
8795 * sunrpc/rpc_prot.c: Likewise.
8796 * sunrpc/rpc_thread.c: Likewise.
8797 * sunrpc/rtime.c: Likewise.
8798 * sunrpc/svc.c: Likewise.
8799 * sunrpc/svc_auth.c: Likewise.
8800 * sunrpc/svc_authux.c: Likewise.
8801 * sunrpc/svc_raw.c: Likewise.
8802 * sunrpc/svc_run.c: Likewise.
8803 * sunrpc/svc_simple.c: Likewise.
8804 * sunrpc/svc_tcp.c: Likewise.
8805 * sunrpc/svc_udp.c: Likewise.
8806 * sunrpc/svc_unix.c: Likewise.
8807 * sunrpc/svcauth_des.c: Likewise.
8808 * sunrpc/xcrypt.c: Likewise.
8809 * sunrpc/xdr.c: Likewise.
8810 * sunrpc/xdr_array.c: Likewise.
8811 * sunrpc/xdr_float.c: Likewise.
8812 * sunrpc/xdr_intXX_t.c: Likewise.
8813 * sunrpc/xdr_mem.c: Likewise.
8814 * sunrpc/xdr_rec.c: Likewise.
8815 * sunrpc/xdr_ref.c: Likewise.
8816 * sunrpc/xdr_sizeof.c: Likewise.
8817 * sunrpc/xdr_stdio.c: Likewise.
8818
e6c61494
UD
88192011-04-10 Ulrich Drepper <drepper@gmail.com>
8820
8821 [BZ #12650]
8822 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8823 * sysdeps/ia64/dl-tls.h: Likewise.
8824 * sysdeps/powerpc/dl-tls.h: Likewise.
8825 * sysdeps/s390/dl-tls.h: Likewise.
8826 * sysdeps/sh/dl-tls.h: Likewise.
8827 * sysdeps/sparc/dl-tls.h: Likewise.
8828 * sysdeps/x86_64/dl-tls.h: Likewise.
8829 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8830
34fe483e
AS
88312011-03-14 Andreas Schwab <schwab@redhat.com>
8832
8833 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8834 rpath element also skip the following colon.
8835 (expand_dynamic_string_token): Add is_path parameter and pass
8836 down to DL_DST_REQUIRED and _dl_dst_substitute.
8837 (decompose_rpath): Call expand_dynamic_string_token with
8838 non-zero is_path. Ignore empty rpaths.
8839 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8840 with zero is_path.
8841
f12a32e6
AS
88422011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8843
8844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8845 Make cancelable.
8846
38a7d692
UD
88472011-04-09 Ulrich Drepper <drepper@gmail.com>
8848
8849 [BZ #12655]
8850 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8851 Patch by Filipe David Manana <fdmanana@apache.org>.
8852
e451d22b
AS
88532011-04-07 Andreas Schwab <schwab@redhat.com>
8854
8855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8856 Maintain aligned stack.
8857 (CHECK_RSP): Remove unused macro.
8858
dedc7c7b
UD
88592011-04-03 Ulrich Drepper <drepper@gmail.com>
8860
8861 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8862 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8863
94521213
UD
88642011-04-02 Ulrich Drepper <drepper@gmail.com>
8865
8866 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8867
8cb700c0 8868 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 8869
0354e355
L
88702011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8871
8872 [BZ #12518]
8873 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8874 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8875 * sysdeps/x86_64/memmove.c: New file.
8876 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8877 (memcpy): Renamed to ...
8878 (__new_memcpy): This.
8879 (memcpy): Provide GLIBC_2_14 memcpy.
8880 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8881 (memcpy): Provide GLIBC_2_2_5 memcpy.
8882
8593482f
UD
88832011-04-01 Ulrich Drepper <drepper@gmail.com>
8884
8885 [BZ #12631]
8886 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8887
81a5726b
AS
88882011-03-30 Andreas Schwab <schwab@redhat.com>
8889
8890 * misc/syncfs.c: New file.
8891 * misc/Makefile (routines): Add syncfs.
8892 * posix/unistd.h: Declare syncfs.
8893 * sysdeps/unix/syscalls.list: Add syncfs.
8894
00e5419f
AS
88952011-04-01 Andreas Schwab <schwab@redhat.com>
8896
8897 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8898 open_by_handle_at.
8899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8900 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8901 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8902 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8904 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8906
748876bf
UD
89072011-04-01 Ulrich Drepper <drepper@gmail.com>
8908
658e451d
UD
8909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8910 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8911 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8913 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8916
748876bf
UD
8917 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8918 sync_file_range.c with -fexceptions.
8919 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8920 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8921 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8922 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8923 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8924 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8925 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
8926 sync_file_range as cancellation point
8927 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8928 now a wrapper around __call_sync_file_range with cancellation handling.
8929 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8930 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8931 function name to __call_sync_file_range.
8932 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8933 Add call_sync_file_range.
748876bf 8934
6e63d5e1
AS
89352011-04-01 Andreas Schwab <schwab@redhat.com>
8936
8937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 8938 bits/timex.h.
6e63d5e1 8939
46998f74
UD
89402011-04-01 Ulrich Drepper <drepper@gmail.com>
8941
4c1423ed
UD
8942 * iconv/iconv.h: Fix typo in comment.
8943 * io/fcntl.h: Likewise.
8944 * libio/stdio.h: Likewise.
8945 * posix/spawn.h: Likewise.
8946 * posix/unistd.h: Likewise.
8947 * stdlib/stdlib.h: Likewise.
8948 * time/time.h: Likewise.
8949 * wcsmbs/wchar.h: Likewise.
8950
158648c0
UD
8951 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8952 open_by_handle): Add.
8953 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8954 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8955 Augment a few comments.
8956 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8960 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8961 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8962 open_by_handle.
8963
46998f74
UD
8964 * io/fcntl.h (AT_EMPTY_PATH): Define.
8965
83fe108b
UD
89662011-03-30 Ulrich Drepper <drepper@gmail.com>
8967
8968 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8969 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8970 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8971 to...
8972 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8973 * Versions.def: Add GLIBC_2.14.
8974 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8975 Export.
83fe108b 8976
bb242059
UD
89772011-03-22 Ulrich Drepper <drepper@gmail.com>
8978
8979 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8980 round counter.
8981 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8982
c97a1282
L
89832011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8984
8985 [BZ #12597]
8986 * string/test-strncmp.c (do_page_test): New function.
8987 (check2): Likewise.
8988 (test_main): Call check2.
8989 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8990
2a115601
UD
89912011-03-20 Ulrich Drepper <drepper@gmail.com>
8992
8993 [BZ #12587]
8994 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8995 Handle cache information in CPU leaf 4.
8996 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8997
8126d904
UD
89982011-03-18 Ulrich Drepper <drepper@gmail.com>
8999
042c49c6 9000 [BZ #12583]
8126d904
UD
9001 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9002 character representation.
9003 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9004
ccfe366e
RA
90052011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9006
9007 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9008 END(__isnan) to END(__isnanf) to match function entry point/label
9009 EALIGN(__isnanf,...).
9010
c6e13027
JJ
90112011-03-10 Jakub Jelinek <jakub@redhat.com>
9012
9013 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9014
33f85a3f
UD
90152011-03-10 Ulrich Drepper <drepper@gmail.com>
9016
028478fa
UD
9017 [BZ #12510]
9018 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9019 copy from the symbol referenced in the relocation to initialize the
9020 used variable.
9021 Patch by Piotr Bury <pbury@goahead.com>.
9022 * elf/Makefile: Add rules to build and tst-unique3.
9023 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9024 * elf/tst-unique3.cc: New file.
9025 * elf/tst-unique3.h: New file.
9026 * elf/tst-unique3lib.cc: New file.
9027 * elf/tst-unique3lib2.cc: New file.
9028
33f85a3f
UD
9029 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9030
03592fc7
MF
90312011-03-10 Mike Frysinger <vapier@gentoo.org>
9032
9033 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9034 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9035 to _start.
03592fc7 9036
6a5ee102
UD
90372011-03-06 Ulrich Drepper <drepper@gmail.com>
9038
9039 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9040 to-be-loaded object along a path to loader is ld.so.
9041
7e4ba49c
HJ
90422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9043 Ulrich Drepper <drepper@gmail.com>
9044
9045 * sysdeps/x86_64/memset.S: After aligning destination, code
9046 branches to different locations depending on the value of
9047 misalignment, when multiarch is enabled. Fix this.
9048
90492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9050
9051 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9052 Set _x86_64_preferred_memory_instruction for AMD processsors.
9053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9054 Set bit_Prefer_SSE_for_memop for AMD processors.
9055
13a804de
UD
90562011-03-04 Ulrich Drepper <drepper@gmail.com>
9057
9058 * libio/fmemopen.c (fmemopen): Optimize a bit.
9059
9d25c392
AS
90602011-03-03 Andreas Schwab <schwab@redhat.com>
9061
9062 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9063
a5543c6a
RM
90642011-03-03 Roland McGrath <roland@redhat.com>
9065
9066 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9067
012d35f7
DM
90682011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9069
7e4ba49c 9070 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9071 __bzero_ultra1 instead of __memset_ultra1.
9072
4bff6e01
AS
90732011-02-23 Andreas Schwab <schwab@redhat.com>
9074 Ulrich Drepper <drepper@gmail.com>
9075
9076 [BZ #12509]
9077 * include/link.h (struct link_map): Add l_orig_initfini.
9078 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9079 returning unsuccessfully.
9080 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9081 close of a file loaded at startup, restore the original l_initfini
9082 list.
9083 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9084 list, store the pointer.
9085 * elf/Makefile ($(objpfx)noload-mem): New rule.
9086 (noload-ENV): Define.
9087 (tests): Add $(objpfx)noload-mem.
9088 * elf/noload.c: Include <memcheck.h>.
9089 (main): Call mtrace. Close all opened handles.
9090
f2092faf
AS
90912011-02-17 Andreas Schwab <schwab@redhat.com>
9092
9093 [BZ #12454]
9094 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9095 dependencies are missing.
9096
6c8a2e88
ST
90972011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9098
f2092faf 9099 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9100 Hurd needs munmap.
9101 * sysdeps/mach/hurd/ifreq.h: New file.
9102
84a42118
PB
91032011-01-27 Petr Baudis <pasky@suse.cz>
9104 Ulrich Drepper <drepper@gmail.com>
9105
071f805e 9106 [BZ 12445]#
84a42118
PB
9107 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9108 to extend_alloca().
9109 * stdio-common/bug23.c: New file.
9110 * stdio-common/Makefile (tests): Add bug23.
9111
e23fe25b
AS
91122010-09-28 Andreas Schwab <schwab@redhat.com>
9113 Ulrich Drepper <drepper@gmail.com>
9114
9115 [BZ #12489]
9116 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9117 before performing relro protection. At old place add assertion
9118 to make sure nothing changed.
9119
d3f02e10
NS
91202011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9121 Glauber de Oliveira Costa <glommer@gmail.com>
9122
9123 * elf/elf.h: Add new ARM TLS relocs.
9124
d55fd7a5
RA
91252011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9126
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9128 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9129 cast from r3.
9130 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9131 'tests' variable.
9132 * sysdeps/wordsize-64/tst-writev.c: New file.
9133
2206397e
RA
91342011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9135
9136 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9137 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9138 insns in _dl_start to prevent a TOC reference before relocs are
9139 resolved.
9140
e9433893
UD
91412011-02-15 Ulrich Drepper <drepper@gmail.com>
9142
9143 [BZ #12469]
9144 * Makeconfig: Remove RANLIB definition.
9145 * Makerules: Don't use RANLIB.
9146 * aclocal.m4: Remove ranlib test.
9147 * configure.in: No need to check for ranlib.
9148 * elf/rtld-Rules: Don't use RANLIB.
9149
f75286c6
ST
91502011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9151
8e31c82d
ST
9152 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9153 protection macro.
9154 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9155 inclusion protection macro.
9156
f75286c6
ST
9157 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9158 SIGRTMIN and SIGRTMAX and print information in that case only when
9159 SIGRTMIN is defined.
9160
c1d0e639
JJ
91612011-02-11 Jakub Jelinek <jakub@redhat.com>
9162
9163 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9164 arginfo fn returning -1.
9165
9166 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9167 and thousands string is zero terminated.
9168
edf9294e
AS
91692011-02-03 Andreas Schwab <schwab@redhat.com>
9170
9171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9172 sysdeps/unix/sysv/linux/bits/socket.h.
9173
2b7e92df
ST
91742011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9175
edf9294e
AS
9176 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9177 (__CPU_COUNT): Remove old macros.
9178 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9179 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9180 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9181 (__sched_cpualloc, __sched_cpufree): Add declarations.
9182
a4c7ea7b
UD
91832011-02-05 Ulrich Drepper <drepper@gmail.com>
9184
9185 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9186 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9187 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9188 (readdhstai): Return value of addhstaiX call.
9189 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9190 (addgrbyX): Return value returned by cache_addgr.
9191 (readdgrbyname): Return value returned by addgrbyX.
9192 (readdgrbygid): Likewise.
9193 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9194 (addpwbyX): Return value returned by cache_addpw.
9195 (readdpwbyname): Return value returned by addhstbyX.
9196 (readdpwbyuid): Likewise.
9197 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9198 (addservbyX): Return value returned by cache_addserv.
9199 (readdservbyname): Return value returned by addservbyX:
9200 (readdservbyport): Likewise.
9201 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9202 (addhstbyX): Return value returned by cache_addhst.
9203 (readdhstbyname): Return value returned by addhstbyX.
9204 (readdhstbyaddr): Likewise.
9205 (readdhstbynamev6): Likewise.
9206 (readdhstbyaddrv6): Likewise.
9207 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9208 (readdinitgroups): Return value returned by addinitgroupsX.
9209 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9210 (prune_cache): Keep track of timeout value of re-added entries.
9211 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9212 * nscd/nscd.h: Adjust prototypes of readd* functions.
9213
a0bf67cc
RM
92142011-02-04 Roland McGrath <roland@redhat.com>
9215
9216 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9217 (nis_stats): Likewise.
9218 * nis/nis_modify.c (nis_modify): Likewise.
9219 * nis/nis_remove.c (nis_remove): Likewise.
9220 * nis/nis_add.c (nis_add): Likewise.
9221
9222 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9223
9224 * posix/fnmatch_loop.c: Add some consts.
9225
9226 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9227
435b95eb
L
92282011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9229
9230 [BZ #12460]
9231 * config.make.in (config-cflags-novzeroupper): Define.
9232 * configure.in: Substitute libc_cv_cc_novzeroupper.
9233 * elf/Makefile (AVX-CFLAGS): Define.
9234 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9235 (CFLAGS-tst-auditmod4a.c): Likewise.
9236 (CFLAGS-tst-auditmod4b.c): Likewise.
9237 (CFLAGS-tst-auditmod6b.c): Likewise.
9238 (CFLAGS-tst-auditmod6c.c): Likewise.
9239 (CFLAGS-tst-auditmod7b.c): Likewise.
9240 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9241
8517b15e
UD
92422011-02-02 Ulrich Drepper <drepper@gmail.com>
9243
9244 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9245 function to the callback.
9246 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9247
10a656fe
AS
92482011-02-02 Andreas Schwab <schwab@redhat.com>
9249
9250 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9251 of errno.
9252
968dad0a
UD
92532011-01-19 Ulrich Drepper <drepper@gmail.com>
9254
9f94d2ea 9255 [BZ #11724]
968dad0a
UD
9256 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9257 of constructors.
9258 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9259 of destructors.
9260 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9261
9262 [BZ #11724]
9263 * elf/Makefile: Add rules to build and run new test.
9264 * elf/tst-initorder.c: New file.
9265 * elf/tst-initorder.exp: New file.
9266 * elf/tst-initordera1.c: New file.
9267 * elf/tst-initordera2.c: New file.
9268 * elf/tst-initordera3.c: New file.
9269 * elf/tst-initordera4.c: New file.
9270 * elf/tst-initorderb1.c: New file.
9271 * elf/tst-initorderb2.c: New file.
9272 * elf/tst-order-a1.c: New file.
9273 * elf/tst-order-a2.c: New file.
9274 * elf/tst-order-a3.c: New file.
9275 * elf/tst-order-a4.c: New file.
9276 * elf/tst-order-b1.c: New file.
9277 * elf/tst-order-b2.c: New file.
9278 * elf/tst-order-main.c: New file.
9279 New test case by George Gensure <werkt0@gmail.com>.
9280
86e92359
UD
92812010-10-01 Andreas Schwab <schwab@redhat.com>
9282
9283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9284 decoding ACE if AI_CANONIDN.
9285
5d5732b0
UD
92862011-01-18 Ulrich Drepper <drepper@gmail.com>
9287
9288 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9289
a77e8cbc
UD
92902011-01-17 Ulrich Drepper <drepper@gmail.com>
9291
6392473f
UD
9292 * version.h (RELEASE): Bump for 2.13 release.
9293 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9294
620a0529
UD
9295 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9296
18ba70a5
UD
9297 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9298 MADV_NOHUGEPAGE.
32465c3e
UD
9299 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9300 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9301 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9302 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9303 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9304 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9305
c0dafcf1
UD
9306 * posix/getconf.c: Update copyright year.
9307 * catgets/gencat.c: Likewise.
9308 * csu/version.c: Likewise.
9309 * debug/catchsegv.sh: Likewise.
9310 * debug/xtrace.sh: Likewise.
9311 * elf/ldconfig.c: Likewise.
9312 * elf/ldd.bash.in: Likewise.
9313 * elf/sprof.c (print_version): Likewise.
9314 * iconv/iconv_prog.c: Likewise.
9315 * iconv/iconvconfig.c: Likewise.
9316 * locale/programs/locale.c: Likewise.
9317 * locale/programs/localedef.c: Likewise.
9318 * malloc/memusage.sh: Likewise.
9319 * malloc/mtrace.pl: Likewise.
9320 * nscd/nscd.c (print_version): Likewise.
9321 * nss/getent.c: Likewise.
9322
a77e8cbc
UD
9323 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9324 PF_CAIF, and PF_ALG.
9325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9326
77e8bddf
AS
93272011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9328
1f20b93a
AS
9329 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9330 (modules-names): Use them.
9331 (ifunc-test-modules, ifunc-pie-tests): Define.
9332 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9333 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9334 (test-extras): Likewise.
9335 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9336 $(compile-command.c).
9337 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9338 (all-built-dso): Define.
9339 (check-textrel.out, check-execstack.out): Depend on it.
9340
77e8bddf
AS
9341 * configure.in: Don't override --enable-multi-arch.
9342
bc425b33
UD
93432011-01-15 Ulrich Drepper <drepper@gmail.com>
9344
9345 [BZ #6812]
9346 * nscd/hstcache.c (tryagain): Define.
9347 (cache_addhst): Return tryagain not notfound for temporary errors.
9348 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9349 failed.
9350
794c3ad3
UD
93512011-01-14 Ulrich Drepper <drepper@gmail.com>
9352
70181fdd
UD
9353 [BZ #10563]
9354 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9355 to make the syscall.
9356 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9357
794c3ad3
UD
9358 [BZ #12378]
9359 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9360 and fall back to matching as normal character if the string ends before
9361 the matching ']' is found. This is what POSIX requires.
9362 * posix/testfnm.c: Adjust test result.
9363 * posix/globtest.sh: Adjust test result. Add new test.
9364 * posix/tst-fnmatch.input: Likewise.
9365 * posix/tst-fnmatch2.c: Add new test.
9366
68dc9497
AS
93672010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9368
9369 * elf/Makefile (check-execstack): Revert last change. Depend on
9370 check-execstack.h.
9371 (check-execstack.h): New target.
9372 (generated): Add check-execstack.h.
9373 * elf/check-execstack.c: Include "check-execstack.h".
9374 (main): Revert last change.
9375 (handle_file): Return zero if GNU_STACK is absent and
9376 DEFAULT_STACK_PERMS doesn't include PF_X.
9377
451f001b
UD
93782011-01-13 Ulrich Drepper <drepper@gmail.com>
9379
cfa28e56
UD
9380 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9381 in child fails because the descriptor is already closed.
8cf8ce17
UD
9382 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9383 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9384 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9385
1086d70d
UD
9386 [BZ #12397]
9387 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9388 syscall.
9389
451f001b
UD
9390 [BZ #10484]
9391 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9392 temporary buffer used to handle multi lookups locally.
a85b5cb4 9393 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9394
08769175
UD
93952011-01-12 Ulrich Drepper <drepper@gmail.com>
9396
9397 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9398 loader is ld.so.
9399
5e49c52e
UD
94002011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9401
9402 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9403 alignment for SSE2.
9404
60522a5f
UD
94052011-01-12 Ulrich Drepper <drepper@gmail.com>
9406
9407 [BZ #12394]
9408 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9409 characters. When rounding increased number of integer digits recompute
9410 number of groups.
9411 * stdio-common/tst-grouping.c: New file.
9412 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9413
f257bbd7
UD
94142011-01-09 Ulrich Drepper <drepper@gmail.com>
9415
9416 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9417 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9418
9419 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9420 void.
9421 * bits/select.h: Likewise.
9422
fa9c15cb
UD
94232011-01-08 Ulrich Drepper <drepper@gmail.com>
9424
9425 * po/ja.po: Update from translation team.
9426
16c2895f
DM
94272011-01-04 David S. Miller <davem@sunset.davemloft.net>
9428
9429 [BZ #11155]
9430 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9431 implementation just like for lxstat, fxstatat, et al.
9432
2543fef2
JM
94332010-12-27 Jim Meyering <meyering@redhat.com>
9434
9435 [BZ #12348]
9436 * posix/regexec.c (build_trtable): Return failure indication upon
9437 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9438
98727dbe
UD
94392010-12-25 Ulrich Drepper <drepper@gmail.com>
9440
5bd6dc5c
UD
9441 [BZ #12201]
9442 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9443 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9444 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9445 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9446
97983464
UD
9447 [BZ #12207]
9448 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9449
98727dbe
UD
9450 [BZ #12204]
9451 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9452 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9453
4a531bb0
L
94542010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9455
9456 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9457 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9458 script has SORT_BY_INIT_PRIORITY.
9459 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9460 NO_CTORS_DTORS_SECTIONS is defined.
9461 * elf/soinit.c: Likewise.
9462 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9463 NO_CTORS_DTORS_SECTIONS is defined.
9464 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9465 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9466 * sysdeps/sh/init-first.c: Likewise.
9467 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9468
07eb4b71
UD
94692010-12-24 Ulrich Drepper <drepper@gmail.com>
9470
9471 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9472 always use the slow path.
9473
30950a5f
RA
94742010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9475
9476 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9477 similar rule which adds the sysdep directories to the header search in
9478 order to pick up the correct platform stackinfo.h.
9479 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9480 perform test if it is, otherwise return successfully without testing.
9481 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9482 DEFAULT_STACK_PERMS define in stackinfo.h.
9483 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9484 defined in stackinfo.h.
9485 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9486 DEFAULT_STACK_PERMS defined in stackinfo.h.
9487 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9488 * sysdeps/ia64/stackinfo.h: Likewise.
9489 * sysdeps/s390/stackinfo.h: Likewise.
9490 * sysdeps/sh/stackinfo.h: Likewise.
9491 * sysdeps/sparc/stackinfo.h: Likewise.
9492 * sysdeps/x86_64/stackinfo.h: Likewise.
9493 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9494 PF_X for powerpc64. Retain PF_X for powerpc32.
9495
db753e2c
UD
94962010-12-19 Ulrich Drepper <drepper@gmail.com>
9497
14b697f7
UD
9498 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9499 accurately.
db753e2c
UD
9500 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9501 GETDENTS_64BIT_ALIGNED.
9502
28300719
UD
95032010-12-14 Ulrich Drepper <dreper@gmail.com>
9504
14b697f7 9505 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9506
4f197237
AS
95072010-12-10 Andreas Schwab <schwab@redhat.com>
9508
dbb0472f
AS
9509 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9510 _GNU_SOURCE.
9511
4f197237
AS
9512 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9513 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9514 Remove __restrict.
9515 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9516 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9517
fb88ac72
UD
95182010-12-09 Ulrich Drepper <drepper@gmail.com>
9519
9520 [BZ #11655]
9521 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9522 are initialized.
9523
42acbb92
JJ
95242010-12-09 Jakub Jelinek <jakub@redhat.com>
9525
9526 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9527
c038d98d
UD
95282010-12-03 Ulrich Drepper <drepper@gmail.com>
9529
9530 * po/it.po: Update from translation team.
9531
3a4a2499
L
95322010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9533
9534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9535 unused codes.
9536
1e24cf6e
UD
95372010-11-30 Ulrich Drepper <drepper@gmail.com>
9538
9539 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9540
a7690819
AS
95412010-11-24 Andreas Schwab <schwab@redhat.com>
9542
9543 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9544 specially.
9545 (gaih_getanswer_slice): Likewise.
9546
3bf8d1b1
JJ
95472010-10-20 Jakub Jelinek <jakub@redhat.com>
9548
9549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9550
6db52fbb
PB
95512010-05-31 Petr Baudis <pasky@suse.cz>
9552
9553 [BZ #11149]
9554 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9555 silently even in the chroot mode.
9556
eaca7569
UD
95572010-11-22 Ulrich Drepper <drepper@gmail.com>
9558
9559 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9560 last patch a bit. Pretty printing
9561
3056dcdb
UD
95622010-05-31 Petr Baudis <pasky@suse.cz>
9563
9564 [BZ #10085]
9565 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9566 initialization of skip_initgroups_dyn.
9567
cf7c9078
UD
95682010-11-19 Ulrich Drepper <drepper@gmail.com>
9569
9570 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9571 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9572
a1fb5e3e
UD
95732010-11-16 Ulrich Drepper <drepper@gmail.com>
9574
9575 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9576
3540d66b
AS
95772010-11-11 Andreas Schwab <schwab@redhat.com>
9578
9579 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9580 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9581 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9582 ($(objpfx)tst-fnmatch-mem): New rule.
9583 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9584 * posix/tst-fnmatch.c (main): Call mtrace.
9585
13b69574
L
95862010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9587
9588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9589 Support Intel processor model 6 and model 0x2c.
9590
da93d214
LM
95912010-11-10 Luis Machado <luisgpm@br.ibm.com>
9592
9593 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9594 signed comparison.
9595
8ca52c6e
L
95962010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9597
9598 [BZ #12205]
9599 * string/test-strncasecmp.c (check_result): New function.
9600 (do_one_test): Use it.
9601 (check1): New function.
9602 (test_main): Use it.
9603 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9604 Support strcasecmp and strncasecmp.
9605
69da074d
UD
96062010-11-08 Ulrich Drepper <drepper@gmail.com>
9607
9608 [BZ #12194]
9609 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9610 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9611
ff02d528
L
96122010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9613
9614 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9615 IFUNC support.
9616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9617 memset-x86-64.
9618 * sysdeps/x86_64/multiarch/bzero.S: New file.
9619 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9620 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9621 * sysdeps/x86_64/multiarch/memset.S: New file.
9622 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9624 Set bit_Prefer_SSE_for_memop for Intel processors.
9625 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9626 Define.
9627 (index_Prefer_SSE_for_memop): Define.
9628 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9629
344d0b54
LM
96302010-11-04 Luis Machado <luisgpm@br.ibm.com>
9631
9632 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9633 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9634
c0dde15b
UD
96352010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9636
9637 [BZ #12191]
9638 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9639 (__x86_64_raw_data_cache_size_half): Likewise.
9640 (__x86_64_raw_shared_cache_size): Likewise.
9641 (__x86_64_raw_shared_cache_size_half): Likewise.
9642
9643 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9644 (__x86_64_raw_data_cache_size_half): Likewise.
9645 (__x86_64_raw_shared_cache_size): Likewise.
9646 (__x86_64_raw_shared_cache_size_half): Likewise.
9647 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9648 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9649 and __x86_64_raw_shared_cache_size_half. Round
9650 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9651 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9652 to multiple of 256 bytes.
9653
0e516e0e
MS
96542010-11-03 Ulrich Drepper <drepper@gmail.com>
9655
9656 [BZ #12167]
9657 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9658 of inacessible symlinks. Verify result of symlink before returning it.
9659 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9660 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9661
0e012e87
ER
96622010-10-28 Erich Ritz <erichritz@gmail.com>
9663
9664 * math/math.h (isinf): Fix typo in comment.
9665
de0ff7bc
UD
96662010-11-01 Ulrich Drepper <drepper@gmail.com>
9667
9668 * po/da.po: Update from translation team.
9669
fa41c84d
UD
96702010-10-26 Ulrich Drepper <drepper@gmail.com>
9671
9672 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9673 is added to the list.
9674
f0967738
AK
96752010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9676 Ulrich Drepper <drepper@gmail.com>
9677
9678 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9679 the global list here. Move code to...
9680 (_dl_add_to_namespace_list): ...here. New function.
9681 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9682 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9683 * elf/dl-load.c (lose): Don't remove the element from the list.
9684 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9685 (_dl_map_object): Likewise.
9686
96872010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9688
9689 [BZ #12159]
9690 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9691 into all bytes of SSE register.
9692 Patch by Richard Li <richardpku@gmail.com>.
9693
f0967738 96942010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9695
9696 [BZ #12140]
9697 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9698 perturbing.
9699
d0b9e94f
MB
97002010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9701
9702 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9703 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9704 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9705 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9707 submachine.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9709
8e9f92e9
AS
97102010-10-22 Andreas Schwab <schwab@redhat.com>
9711
9712 * include/dlfcn.h (__RTLD_SECURE): Define.
9713 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9714 mode & __RTLD_SECURE instead.
9715 (open_path): Rename preloaded parameter to secure.
9716 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9717 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9718 * elf/dl-deps.c (openaux): Likewise.
9719 * elf/rtld.c (struct map_args): Remove is_preloaded.
9720 (map_doit): Don't use it.
9721 (dl_main): Likewise.
9722 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9723 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9724
bc96fbda
AS
97252010-09-09 Andreas Schwab <schwab@redhat.com>
9726
9727 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9728 (sysd-rules-targets): Remove duplicates.
9729 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9730 rtld-%.$o dependency.
9731
22cd1c9b
AS
97322010-10-18 Andreas Schwab <schwab@redhat.com>
9733
9734 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9735 _dl_map_object do it.
9736
18edac48
UD
97372010-10-19 Ulrich Drepper <drepper@gmail.com>
9738
9739 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9740 fast fma builtins, define the macros in the C99 standard.
9741 (FP_FAST_FMAF): Likewise.
9742 (FP_FAST_FMAL): Likewise.
9743 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9744
9745 * bits/mathdef.h: Update copyright year.
9746 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9747
d2050124
MM
97482010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9749
9750 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9751 builtins, define the macros in the C99 standard.
9752 (FP_FAST_FMAF): Likewise.
9753 (FP_FAST_FMAL): Likewise.
9754 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9755 multiply/add.
9756 (FP_FAST_FMAF): Likewise.
9757
475facd1
JJ
97582010-10-15 Jakub Jelinek <jakub@redhat.com>
9759
9760 [BZ #3268]
9761 * math/libm-test.inc (fma_test): Some new testcases.
9762 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9763 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9764 y and infinite z. Do multiplication by C already in long double.
9765 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9767 y and infinite z. Do bitwise or of inexact bit into u.d.
9768 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9769 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9770 * sysdeps/i386/fpu/s_fma.S: Removed.
9771 * sysdeps/i386/fpu/s_fmal.S: Removed.
9772
7c08a05c
JJ
97732010-10-16 Jakub Jelinek <jakub@redhat.com>
9774
9775 [BZ #3268]
9776 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9778 computation is not scheduled after fetestexcept. Fix value
9779 of minimum denormal long double.
9780
f3f7372d
JJ
97812010-10-14 Jakub Jelinek <jakub@redhat.com>
9782
9783 [BZ #3268]
9784 * math/libm-test.inc (fma_test): Add some more tests.
9785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9786 correctly.
9787
14d43591
AS
97882010-10-15 Andreas Schwab <schwab@redhat.com>
9789
9790 * scripts/data/localplt-s390-linux-gnu.data: New file.
9791 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9792
5e908464
JJ
97932010-10-13 Jakub Jelinek <jakub@redhat.com>
9794
9795 [BZ #3268]
9796 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9797 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9798 instead of dbl-64.
9799 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9800 inlines.
9801 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9803 if one of x and y is very large and the other is subnormal.
9804 * sysdeps/s390/fpu/s_fmaf.c: New file.
9805 * sysdeps/s390/fpu/s_fma.c: New file.
9806 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9807 * sysdeps/powerpc/fpu/s_fma.S: New file.
9808 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9809 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9810 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9811
98122010-10-12 Jakub Jelinek <jakub@redhat.com>
9813
9814 [BZ #3268]
9815 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9816 fma tests.
9817 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9818 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9819 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9820 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9821 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9822 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9823 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9824
b833d51f
UD
98252010-10-12 Ulrich Drepper <drepper@redhat.com>
9826
9827 [BZ #12078]
9828 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9829 * posix/bug-regex31.input: Add test case.
9830
1751705d
UD
98312010-10-11 Ulrich Drepper <drepper@gmail.com>
9832
e9b9cbf5
UD
9833 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9834 * posix/bug-regex31.input: New file.
9835
9836 [BZ #12078]
9837 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9838 (parse_sub_exp): Fix last change, use postorder.
9839
ef06edbe
UD
9840 * posix/bug-regex31.c: New file.
9841 * posix/Makefile: Add rules to build and run bug-regex31.
9842
a129c80d
UD
9843 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9844
9845 [BZ #12078]
9846 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9847
b76b818e
UD
9848 [BZ #12108]
9849 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9850 to have entries in sys_siglist.
9851
1751705d
UD
9852 [BZ #12093]
9853 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9854 be NULL.
9855
9ff8d36f
JJ
98562010-10-07 Jakub Jelinek <jakub@redhat.com>
9857
9858 [BZ #3268]
9859 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9860 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9861 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9862 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9863 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9864 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9865 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9866 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9867 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9868 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9869 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9870 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9871 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9872 * math/ftestexcept.c (fetestexcept): Likewise.
9873 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9874 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9875 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9876 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9877 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9878 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9879 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9880
af325969
UD
98812010-10-11 Ulrich Drepper <drepper@gmail.com>
9882
c579b202 9883 [BZ #12107]
af325969
UD
9884 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9885 newline.
9886
67a67b95
UD
98872010-10-06 Ulrich Drepper <drepper@gmail.com>
9888
9889 * string/bug-strstr1.c: New file.
9890 * string/Makefile: Add rules to build and run bug-strstr1.
9891
5fb308bc
EB
98922010-10-05 Eric Blake <eblake@redhat.com>
9893
9894 [BZ #12092]
9895 * string/str-two-way.h (two_way_long_needle): Always clear memory
9896 when skipping input due to the shift table.
9897
45db99c7
UD
98982010-10-03 Ulrich Drepper <drepper@gmail.com>
9899
3b111893
UD
9900 [BZ #12005]
9901 * malloc/mcheck.c: Handle large requests.
9902
45db99c7
UD
9903 [BZ #12077]
9904 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9905 for strncmp and strncasecmp.
9906 * string/stratcliff.c: Add tests for strcmp and strncmp.
9907 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9908
cf7a1eb8
NI
99092010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9910
9911 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9912 __set_fpscr.
9913
6484ba5e
AJ
99142010-09-30 Andreas Jaeger <aj@suse.de>
9915
9916 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9917 (CGROUP_SUPER_MAGIC): Define.
9918 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9919 Handle btrfs and cgroup file systems.
9920 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9921 Likewise.
9922
91c42559
LM
99232010-09-27 Luis Machado <luisgpm@br.ibm.com>
9924
9925 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9926 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9927
87a97932
AK
99282010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9929
9930 [BZ #12067]
9931 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9932 trying to locate the ELF header.
9933
c21cc9bc
AS
99342010-09-27 Andreas Schwab <schwab@redhat.com>
9935
9936 [BZ #11611]
9937 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9938 Mask out sign-bit copies when constructing f_fsid.
9939
315970f6
PB
99402010-09-24 Petr Baudis <pasky@suse.cz>
9941
9942 * debug/stack_chk_fail_local.c: Add missing licence exception.
9943 * debug/warning-nop.c: Likewise.
9944
1ac7a2c7
JM
99452010-09-15 Joseph Myers <joseph@codesourcery.com>
9946
9947 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9948 implementing getdents64 using getdents syscall, set d_type if
9949 __ASSUME_GETDENTS32_D_TYPE.
9950
56801c50
AS
99512010-09-16 Andreas Schwab <schwab@redhat.com>
9952
9953 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9954 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9955
dda51327
UD
99562010-09-21 Ulrich Drepper <drepper@redhat.com>
9957
9958 [BZ #12037]
9959 * posix/unistd.h: Undo change of feature selection for ftruncate from
9960 2010-01-11.
9961
8ffcee4a
UD
99622010-09-20 Ulrich Drepper <drepper@redhat.com>
9963
a545ecd9 9964 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
9965 detection.
9966
e24f0a8b
AS
99672010-09-20 Andreas Schwab <schwab@redhat.com>
9968
9969 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9970 fanotify_mark.
9971 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9972
7291c56f
AS
99732010-09-14 Andreas Schwab <schwab@redhat.com>
9974
9975 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9976 variables after CHECK_SP call.
9977 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9978
bc5fb037
AS
99792010-09-13 Andreas Schwab <schwab@redhat.com>
9980 Ulrich Drepper <drepper@redhat.com>
9981
9982 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9983 re-relocationg ld.so.
9984 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9985 _dl_init_paths call.
9986 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9987 here anymore.
9988
e66e7419
UD
99892010-09-14 Ulrich Drepper <drepper@redhat.com>
9990
9991 * resolv/res_init.c (__res_vinit): Count the default server we added.
9992
c044aa75
CLT
99932010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9994 Ulrich Drepper <drepper@redhat.com>
9995
9996 [BZ #11968]
9997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9998 (____longjmp_chk): Use %ebx for saving value across system call.
9999 Add unwind info.
10000
32cf4069
AS
100012010-09-06 Andreas Schwab <schwab@redhat.com>
10002
10003 * manual/Makefile: Don't mix pattern rules with normal rules.
10004
817328ee
AS
100052010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10006
10007 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10008 operation.
10009 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10010 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10011 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10012 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10013 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10014 Likewise.
10015
29fddf61
UD
100162010-09-04 Ulrich Drepper <drepper@redhat.com>
10017
10018 [BZ #11979]
10019 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10020 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10021
0959ffc9
UD
100222010-09-02 Ulrich Drepper <drepper@redhat.com>
10023
10024 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10025 * sysdeps/x86_64/addmul_1.S: Likewise.
10026 * sysdeps/x86_64/lshift.S: Likewise.
10027 * sysdeps/x86_64/mul_1.S: Likewise.
10028 * sysdeps/x86_64/rshift.S: Likewise.
10029 * sysdeps/x86_64/sub_n.S: Likewise.
10030 * sysdeps/x86_64/submul_1.S: Likewise.
10031
ece29840
ST
100322010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10033
0959ffc9
UD
10034 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10035 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10036 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10037 * bits/sched.h [__need_schedparam]
ece29840 10038 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10039 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10040 (__defined_schedparam): Define to 1.
ece29840
ST
10041 (__sched_param): New structure, identical to sched_param.
10042 (__need_schedparam): Undefine.
10043
e53a31fe
MF
100442010-08-31 Mike Frysinger <vapier@gentoo.org>
10045
fdc0c10d
MF
10046 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10047 (epoll_create1): Declare.
10048
e53a31fe
MF
10049 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10050
a726d796
AS
100512010-08-31 Andreas Schwab <schwab@redhat.com>
10052
10053 [BZ #7066]
10054 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10055 shifting retval into place.
10056
2f3e3dc7
UD
100572010-09-01 Ulrich Drepper <drepper@redhat.com>
10058
f2933da9
UD
10059 * nis/rpcsvc/nis.h: Update copyright notice.
10060 * nis/rpcsvc/nis.x: Likewise.
10061 * nis/rpcsvc/nis_callback.h: Likewise.
10062 * nis/rpcsvc/nis_callback.x: Likewise.
10063 * nis/rpcsvc/nis_object.x: Likewise.
10064 * nis/rpcsvc/nis_tags.h: Likewise.
10065 * nis/rpcsvc/yp.h: Likewise.
10066 * nis/rpcsvc/yp.x: Likewise.
10067 * nis/rpcsvc/ypupd.h: Likewise.
10068 * nis/yp_xdr.c: Likewise.
10069 * nis/ypupdate_xdr.c: Likewise.
10070
2f3e3dc7
UD
10071 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10072 mainly the body of pmap_getport. Add parameters to specify timeouts.
10073 (pmap_getport): Use __libc_rpc_getport.
10074 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10075 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10076 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10077
f3dcc2f9
AS
100782010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10079
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10081 fanotify_mark.
10082
6d34eb5b
RM
100832010-08-27 Roland McGrath <roland@redhat.com>
10084
10085 * sysdeps/i386/i686/multiarch/Makefile
10086 (CFLAGS-varshift.c): New variable.
10087
9ea3de11
UD
100882010-08-27 Ulrich Drepper <drepper@redhat.com>
10089
c96d23fc
UD
10090 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10091 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10092
9ea3de11
UD
10093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10094
10095 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10096
623aac7f
L
100972010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10098
10099 * sysdeps/x86_64/strlen.S: Unroll the loop.
10100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10101 strlen-sse2 strlen-sse2-bsf.
10102 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10103 __strlen_no_bsf if bit_Slow_BSF is set.
10104 (__strlen_sse42): Removed.
10105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10106 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10107
8b2b7715
RM
101082010-08-25 Roland McGrath <roland@redhat.com>
10109
10110 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10111 * sysdeps/x86_64/multiarch/varshift.c: New file.
10112 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10113 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10114 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10115 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10116
e73015f2
L
101172010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10118
10119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10120 strlen-sse2 strlen-sse2-bsf.
10121 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10122 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10123 (__strlen_sse2): Removed.
10124 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10127 bit_Slow_BSF for Atom.
10128 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10129 (index_Slow_BSF): Define.
10130 (HAS_SLOW_BSF): Define.
10131
df24a73e
UD
101322010-08-25 Ulrich Drepper <drepper@redhat.com>
10133
10134 [BZ #10851]
10135 * resolv/res_init.c (__res_vinit): When no server address at all
10136 is given default to loopback.
10137
f2ac4868
RM
101382010-08-24 Roland McGrath <roland@redhat.com>
10139
09055553
RM
10140 * configure.in: Remove config-name.h generation.
10141 * configure: Regenerated.
10142 * config-name.in: File removed.
10143 * scripts/config-uname.sh: New file.
10144 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10145 ($(objdir)config-name.h): New target.
10146
f2ac4868
RM
10147 * sunrpc/rpc_parse.h: Avoid nested comment.
10148
73f27d5e
RH
101492010-08-24 Richard Henderson <rth@redhat.com>
10150 Ulrich Drepper <drepper@redhat.com>
10151 H.J. Lu <hongjiu.lu@intel.com>
10152
10153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10155 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10156 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10157 _mm_alignr_epi8 with _mm_loadu_si128.
10158 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10159 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10160 (__m128i_shift_right): Removed.
10161 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10162 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10163 * sysdeps/x86_64/multiarch/varshift.h: New file.
10164 * sysdeps/x86_64/multiarch/varshift.S: New file.
10165
84b9230c
MF
101662010-08-21 Mike Frysinger <vapier@gentoo.org>
10167
10168 * configure.in: Move assembler checks to before sysdep dir checking.
10169
9bbd0ddc
PB
101702010-08-20 Petr Baudis <pasky@suse.cz>
10171
10172 * LICENSES: Sync the sunrpc license.
10173
9da4bb31
UD
101742010-08-19 Ulrich Drepper <drepper@redhat.com>
10175
a7ab6ec8
UD
10176 * sunrpc/auth_des.c: Update copyright notice once again.
10177 * sunrpc/auth_none.c: Likewise.
10178 * sunrpc/auth_unix.c: Likewise.
10179 * sunrpc/authdes_prot.c: Likewise.
10180 * sunrpc/authuxprot.c: Likewise.
10181 * sunrpc/bindrsvprt.c: Likewise.
10182 * sunrpc/clnt_gen.c: Likewise.
10183 * sunrpc/clnt_perr.c: Likewise.
10184 * sunrpc/clnt_raw.c: Likewise.
10185 * sunrpc/clnt_simp.c: Likewise.
10186 * sunrpc/clnt_tcp.c: Likewise.
10187 * sunrpc/clnt_udp.c: Likewise.
10188 * sunrpc/clnt_unix.c: Likewise.
10189 * sunrpc/des_crypt.c: Likewise.
10190 * sunrpc/des_soft.c: Likewise.
10191 * sunrpc/get_myaddr.c: Likewise.
10192 * sunrpc/getrpcport.c: Likewise.
10193 * sunrpc/key_call.c: Likewise.
10194 * sunrpc/key_prot.c: Likewise.
10195 * sunrpc/openchild.c: Likewise.
10196 * sunrpc/pm_getmaps.c: Likewise.
10197 * sunrpc/pm_getport.c: Likewise.
10198 * sunrpc/pmap_clnt.c: Likewise.
10199 * sunrpc/pmap_prot.c: Likewise.
10200 * sunrpc/pmap_prot2.c: Likewise.
10201 * sunrpc/pmap_rmt.c: Likewise.
10202 * sunrpc/rpc/auth.h: Likewise.
10203 * sunrpc/rpc/auth_unix.h: Likewise.
10204 * sunrpc/rpc/clnt.h: Likewise.
10205 * sunrpc/rpc/des_crypt.h: Likewise.
10206 * sunrpc/rpc/key_prot.h: Likewise.
10207 * sunrpc/rpc/netdb.h: Likewise.
10208 * sunrpc/rpc/pmap_clnt.h: Likewise.
10209 * sunrpc/rpc/pmap_prot.h: Likewise.
10210 * sunrpc/rpc/pmap_rmt.h: Likewise.
10211 * sunrpc/rpc/rpc.h: Likewise.
10212 * sunrpc/rpc/rpc_des.h: Likewise.
10213 * sunrpc/rpc/rpc_msg.h: Likewise.
10214 * sunrpc/rpc/svc.h: Likewise.
10215 * sunrpc/rpc/svc_auth.h: Likewise.
10216 * sunrpc/rpc/types.h: Likewise.
10217 * sunrpc/rpc/xdr.h: Likewise.
10218 * sunrpc/rpc_clntout.c: Likewise.
10219 * sunrpc/rpc_cmsg.c: Likewise.
10220 * sunrpc/rpc_common.c: Likewise.
10221 * sunrpc/rpc_cout.c: Likewise.
10222 * sunrpc/rpc_dtable.c: Likewise.
10223 * sunrpc/rpc_hout.c: Likewise.
10224 * sunrpc/rpc_main.c: Likewise.
10225 * sunrpc/rpc_parse.c: Likewise.
10226 * sunrpc/rpc_parse.h: Likewise.
10227 * sunrpc/rpc_prot.c: Likewise.
10228 * sunrpc/rpc_sample.c: Likewise.
10229 * sunrpc/rpc_scan.c: Likewise.
10230 * sunrpc/rpc_scan.h: Likewise.
10231 * sunrpc/rpc_svcout.c: Likewise.
10232 * sunrpc/rpc_tblout.c: Likewise.
10233 * sunrpc/rpc_util.c: Likewise.
10234 * sunrpc/rpc_util.h: Likewise.
10235 * sunrpc/rpcinfo.c: Likewise.
10236 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10237 * sunrpc/rpcsvc/key_prot.x: Likewise.
10238 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10239 * sunrpc/rpcsvc/mount.x: Likewise.
10240 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10241 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10242 * sunrpc/rpcsvc/rex.x: Likewise.
10243 * sunrpc/rpcsvc/rstat.x: Likewise.
10244 * sunrpc/rpcsvc/rusers.x: Likewise.
10245 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10246 * sunrpc/rpcsvc/spray.x: Likewise.
10247 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10248 * sunrpc/rtime.c: Likewise.
10249 * sunrpc/svc.c: Likewise.
10250 * sunrpc/svc_auth.c: Likewise.
10251 * sunrpc/svc_authux.c: Likewise.
10252 * sunrpc/svc_raw.c: Likewise.
10253 * sunrpc/svc_run.c: Likewise.
10254 * sunrpc/svc_simple.c: Likewise.
10255 * sunrpc/svc_tcp.c: Likewise.
10256 * sunrpc/svc_udp.c: Likewise.
10257 * sunrpc/svc_unix.c: Likewise.
10258 * sunrpc/svcauth_des.c: Likewise.
10259 * sunrpc/xcrypt.c: Likewise.
10260 * sunrpc/xdr.c: Likewise.
10261 * sunrpc/xdr_array.c: Likewise.
10262 * sunrpc/xdr_float.c: Likewise.
10263 * sunrpc/xdr_mem.c: Likewise.
10264 * sunrpc/xdr_rec.c: Likewise.
10265 * sunrpc/xdr_ref.c: Likewise.
10266 * sunrpc/xdr_sizeof.c: Likewise.
10267 * sunrpc/xdr_stdio.c: Likewise.
10268
9da4bb31
UD
10269 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10270 handling.
10271
bdaa77bc
AS
102722010-08-19 Andreas Schwab <schwab@redhat.com>
10273
10274 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10275
fe2f79db
LM
102762010-08-19 Luis Machado <luisgpm@br.ibm.com>
10277
10278 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10279 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10280 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10281 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10282 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10283 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10284 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10285 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10286 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10287 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10288 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10289 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10290 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10291 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10292
b9b42ee0
AB
102932010-07-26 Anton Blanchard <anton@samba.org>
10294
10295 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10296 * malloc/arena.c (heap_trim): Likewise.
10297
1c06ba31
UD
102982010-08-16 Ulrich Drepper <drepper@redhat.com>
10299
10300 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10301 here. Not...
10302 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10303 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10304
f8392f40
L
103052010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10306
10307 * sysdeps/i386/elf/Makefile: New file.
10308
3162f12e
AS
103092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10310
10311 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10312 from fanotify_init.
10313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10314 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10315
28c90b2c
UD
103162010-08-15 Ulrich Drepper <drepper@redhat.com>
10317
10318 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10319 of strncasecmp_l.
1feccb6c 10320 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10321
ca6bb004
UD
103222010-08-14 Ulrich Drepper <drepper@redhat.com>
10323
e9f82e0d
UD
10324 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10325 strncase_l-nonascii.
10326 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10327 Add strncase_l-ssse3.
10328 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10329 * sysdeps/x86_64/strcmp.S: Likewise.
10330 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10331 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10332 * sysdeps/x86_64/strncase.S: New file.
10333 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10334 * sysdeps/x86_64/strncase_l.S: New file.
10335 * string/Makefile (strop-tests): Add strncasecmp.
10336 * string/test-strncasecmp.c: New file.
10337
10338 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10339 warning.
10340
ca6bb004
UD
10341 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10342 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10343
052fa7b3
AS
103442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10345
10346 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10347
962dba78
UD
103482010-08-12 Ulrich Drepper <drepper@redhat.com>
10349
10350 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10351 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10352 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10353
bebff237
AM
103542010-05-01 Alan Modra <amodra@gmail.com>
10355
10356 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10357 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10358 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10359 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10360 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10361 tidying. Don't tail-call __sigjmp_save for static lib.
10362 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10363 save location.
10364 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10365 (CALL_MCOUNT): Add eh info, and nop after bl.
10366 (TAIL_CALL_SYSCALL_ERROR): New macro.
10367 (PSEUDO_RET): Use it.
10368 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10369 Correct save location of integer regs and cr.
10370 (_dl_profile_resolve): Correct cr save location. Delete nops
10371 after bl when SHARED. Reduce cfi size a little by better
10372 placement of cfi directives.
10373 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10374 make a stack frame. Instead use parm save area as a temp.
10375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10376 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10378 Don't make a stack frame for parent, use parm save area.
10379 Increase child stack frame to 112 bytes. Don't save unused reg,
10380 and adjust reg usage. Set up cfi on error recovery and
10381 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10383 (__makecontext): Add dummy nop after jump to exit.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10385 Use correct parm save area and cr save, reduce stack frame.
10386 Correct cfi for possible PSEUDO_RET frame setup.
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10388 Branch to local label emitted by PSEUDO_RET rather than
10389 __syscall_error.
10390
02637374
AS
103912010-08-12 Andreas Schwab <schwab@redhat.com>
10392
10393 [BZ #11904]
10394 * locale/programs/locale.c (print_assignment): New function.
10395 (show_locale_vars): Use it.
10396
c3e2f19b
UD
103972010-08-11 Ulrich Drepper <drepper@redhat.com>
10398
3cdaa6ad
UD
10399 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10400 field.
10401 (struct statfs64): Likewise.
10402 (_STATFS_F_FLAGS): Define.
10403 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10404 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10405 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10406 (ST_VALID): Define locally.
10407 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10408 __statvfs_getflags, use the provided value.
10409 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10410 __ASSUME_STATFS_F_FLAGS.
10411
754f7da3
UD
10412 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10413
10b3bedc
UD
10414 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10415 Add sys/fanotify.h.
10416 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10417 fanotify_mask for GLIBC_2.13.
10418 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10419 fanotify_init and fanotify_mark.
10420 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10421 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10422
c08fb0d7
UD
10423 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10424 Add prlimit.
10425 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10426 prlimit64 for GLIBC_2.13.
10427 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10428 prlimit64.
10429 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10430 syscall.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10432 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10433 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10434 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10435 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10436 add prlimit alias.
10437 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10438
15bac72b
UD
10439 [BZ #11903]
10440 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10441 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10442
c3e2f19b
UD
10443 * nss/Makefile: Add rules to build and run tst-nss-test1.
10444 * shlib-versions: Add entry for libnss_test1.
10445 * nss/nss_test1.c: New file.
10446 * nss/tst-nss-test1.c: New file.
10447
10448 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10449 (__nss_configure_lookup): Set appropriate entry in
10450 __nss_configure_lookup to true.
10451 * nss/nsswitch.h: Define enum with indeces of databases in
10452 databases and __nss_database_custom arrays. Declare
10453 __nss_database_custom.
10454 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10455 to avoid using nscd when custom rules are installed.
10456 * nss/getXXbyYY_r.c: Likewise.
10457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10458
10459 * nss/nss_files/files-parse.c: Whitespace fixes.
10460
f15ce4d8
UD
104612010-08-09 Ulrich Drepper <drepper@redhat.com>
10462
10463 [BZ #11883]
10464 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10465 * posix/fnmatch_loop.c: Likewise.
10466
d22e4cc9
AK
104672010-07-17 Andi Kleen <ak@linux.intel.com>
10468
10469 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10470 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10471 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10472 * Versions.def [GLIBC_2.13]: Add.
10473
805bc17d
UD
104742010-08-06 Ulrich Drepper <drepper@redhat.com>
10475
10476 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10477 Also fail if tpwd after pwuid call is NULL.
10478
5a42321d
ST
104792010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10480
10481 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10482 when converting to ms.
10483
fd3ebeda
ST
104842010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10485
10486 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10487 EOPNOTSUPP errors with ENOTTY.
10488 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10489 EOPNOTSUPP errors with ENOTTY.
10490
73507d3a
UD
104912010-07-31 Ulrich Drepper <drepper@redhat.com>
10492
10493 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10494 Add strcasecmp_l-ssse3.
10495 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10496 strcasecmp.
10497 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10498 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10499 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10500
fe36dd02
UD
105012010-07-30 Ulrich Drepper <drepper@redhat.com>
10502
66f6765a
UD
10503 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10504
42e08a54
UD
10505 * string/Makefile (strop-tests): Add strcasecmp.
10506 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10507 strcasecmp_l-nonascii.
10508 (gen-as-const-headers): Add locale-defines.sym.
10509 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10510 * sysdeps/x86_64/strcasecmp.S: New file.
10511 * sysdeps/x86_64/strcasecmp_l.S: New file.
10512 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10513 * sysdeps/x86_64/locale-defines.sym: New file.
10514 * string/test-strcasecmp.c: New file.
10515
fe36dd02
UD
10516 * string/test-strcasestr.c: Test both ends of the range of characters.
10517 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10518
48cbc0d6
RM
105192010-07-29 Roland McGrath <roland@redhat.com>
10520
76e6d6bc 10521 [BZ #11856]
48cbc0d6
RM
10522 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10523
880113d9
UD
105242010-07-27 Ulrich Drepper <drepper@redhat.com>
10525
10526 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10527 for ld.so.
10528
deb9cabb
AS
105292010-07-27 Andreas Schwab <schwab@redhat.com>
10530
10531 * manual/memory.texi (Malloc Tunable Parameters): Document
10532 M_PERTURB.
10533
1c7570ff
RM
105342010-07-26 Roland McGrath <roland@redhat.com>
10535
10536 [BZ #11840]
10537 * configure.in (-fgnu89-inline check): Set and substitute
10538 gnu89_inline, not libc_cv_gnu89_inline.
10539 * configure: Regenerated.
10540 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10541
24fb0f88
UD
105422010-07-26 Ulrich Drepper <drepper@redhat.com>
10543
10544 * string/test-strnlen.c: New file.
10545 * string/Makefile (strop-tests): Add strnlen.
10546 * string/tester.c (test_strnlen): Add a few more test cases.
10547 * string/tst-strlen.c: Better error reporting.
10548
10549 * sysdeps/x86_64/strnlen.S: New file.
10550
8e96b93a
UD
105512010-07-24 Ulrich Drepper <drepper@redhat.com>
10552
10553 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10554 lower-latency instructions.
10555
dbc676d4
UD
105562010-07-23 Ulrich Drepper <drepper@redhat.com>
10557
10558 * string/test-strcasestr.c: New file.
10559 * string/test-strstr.c: New file.
10560 * string/Makefile (strop-tests): Add strstr and strcasestr.
10561 * string/str-two-way.h: Don't undefine MAX.
10562 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10563
f6a31e0e
AS
105642010-07-21 Andreas Schwab <schwab@redhat.com>
10565
10566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10567 strcasestr-nonascii.
10568 (CFLAGS-strcasestr-nonascii.c): Define.
10569 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10570 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10571 Remove unused attribute.
10572
5dbc3b6c
RM
105732010-07-20 Roland McGrath <roland@redhat.com>
10574
10575 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10576 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10577 ld.so.cache was broken. With it, there is no way to disable dsocaps
10578 like LD_HWCAP_MASK can disable hwcaps.
10579
23d101d8
EPM
105802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10581
10582 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10583
cc9f2e47
UD
105842010-07-16 Ulrich Drepper <drepper@redhat.com>
10585
10586 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10587 call in strcasestr.
10588 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10589 __strcasestr_sse42_nonascii.
10590 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10591 strcasestr-nonascii.c.
10592 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10593
77c1b069
LM
105942010-06-15 Luis Machado <luisgpm@br.ibm.com>
10595
10596 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10597 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10598 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10599 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10600
440566c3
UD
106012010-07-09 Ulrich Drepper <drepper@redhat.com>
10602
10603 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10604 fcntl.
10605
5be9d05d
AS
106062010-07-06 Andreas Schwab <schwab@redhat.com>
10607
c30b7ee2 10608 [BZ #11577]
5be9d05d
AS
10609 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10610 dl_signal_cerror.
10611
8a492a67
UD
106122010-07-06 Ulrich Drepper <drepper@redhat.com>
10613
10614 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10615 _PC_PIPE_BUF using F_GETPIPE_SZ.
10616
713df3d5
RM
106172010-07-05 Roland McGrath <roland@redhat.com>
10618
10619 * manual/arith.texi (Rounding Functions): Fix rint description
10620 implicit in round description.
10621
702e8f14
UD
106222010-07-02 Ulrich Drepper <drepper@redhat.com>
10623
10624 * elf/Makefile: Fix linking for a few tests to make recent linker
10625 happy.
10626
52ed8be9
AS
106272010-06-30 Andreas Schwab <schwab@redhat.com>
10628
10629 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10630 $(common-objpfx)libc_nonshared.a.
10631
f47c9a11
LM
106322010-06-21 Luis Machado <luisgpm@br.ibm.com>
10633
10634 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10635 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10636 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10637 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10638 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10639 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10640 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10641 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10656 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10657 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10658 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10659 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10660 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10661 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10662 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10663 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10664 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10665 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10666 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10667 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10682
6fb8cbcb
L
106832010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10684
10685 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10686 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10687 * string/memmove.c (memmove): Renamed to ...
10688 (MEMMOVE): ...this. Default to memmove.
10689 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10690 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10691 (END_CHK): Define.
10692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10693 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10694 mempcpy-ssse3-back memmove-ssse3-back.
10695 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10696 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10697 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10698 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10699 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10700 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10701 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10702 * sysdeps/x86_64/multiarch/memmove.c: New file.
10703 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10704 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10705 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10706 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10707 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10708 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10709 Define.
10710 (index_Fast_Copy_Backward): Define.
10711 (HAS_ARCH_FEATURE): Define.
10712 (HAS_FAST_REP_STRING): Define.
10713 (HAS_FAST_COPY_BACKWARD): Define.
10714
4e733bac 107152010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10716
10717 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10718 Restore proper fallback handling.
10719
63c4ed22
UD
107202010-06-19 Ulrich Drepper <drepper@redhat.com>
10721
ac2b484c
UD
10722 [BZ #11701]
10723 * posix/group_member.c (__group_member): Correct checking loop.
10724
63c4ed22
UD
10725 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10726 OOM in getpwuid_r correctly. Return error number when the caller
10727 should return, otherwise -1.
10728 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10729 call returning > 0 value.
10730 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10731
765ade4b
AS
107322010-06-07 Andreas Schwab <schwab@redhat.com>
10733
10734 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10735 libc_nonshared.a from targets in modules-names.
10736
80da2e09
KS
107372010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10738
10739 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10740 requires it.
10741
158db122
LM
107422010-06-10 Luis Machado <luisgpm@br.ibm.com>
10743
10744 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10745 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10746 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10747 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10748
caa78cf8
AS
107492010-06-02 Andreas Schwab <schwab@redhat.com>
10750
10751 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10752
b2ef2c01
UD
107532010-06-14 Ulrich Drepper <drepper@redhat.com>
10754
10755 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10756 and F_GETPIPE_SZ.
10757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10762 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10763
fbd643b6
RM
107642010-06-14 Roland McGrath <roland@redhat.com>
10765
10766 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10767
f32f2869
JJ
107682010-06-07 Jakub Jelinek <jakub@redhat.com>
10769
10770 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10771 __REDIRECT followed by __THROW.
10772 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10773 * posix/getopt.h (getopt): Likewise.
10774
2a50c078
EPM
107752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10776
10777 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10778 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10779 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10780 in AT_FLAGS.
10781 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10782 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10783
eb5ad2eb
LM
107842010-05-28 Luis Machado <luisgpm@br.ibm.com>
10785
10786 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10787
3c88fe1e
L
107882010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10789
10790 [BZ #11640]
10791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10792 Properly check family and model.
10793
d2f73151
TY
107942010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10795
10796 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10797
ebd2e13d
LM
107982010-05-24 Luis Machado <luisgpm@br.ibm.com>
10799
10800 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10801
b32b8b45
UD
108022010-05-21 Ulrich Drepper <drepper@redhat.com>
10803
10804 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10805 symbol reference.
10806
9acbe24d
AS
108072010-05-19 Andreas Schwab <schwab@redhat.com>
10808
10809 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10810 symbol reference.
10811
f0ccf6ea
AS
108122010-05-21 Andreas Schwab <schwab@redhat.com>
10813
3d04ff3a
AS
10814 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10815 and internal_recvmmsg.
10816 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10817 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10818 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10819 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10820
f0ccf6ea
AS
10821 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10822 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10823 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10824
5b08ac57
AS
108252010-05-20 Andreas Schwab <schwab@redhat.com>
10826
10827 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10828
4828935d
LM
108292010-05-17 Luis Machado <luisgpm@br.ibm.com>
10830
10831 POWER7 optimizations.
10832 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10833 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10834
373d545e
UD
108352010-05-19 Ulrich Drepper <drepper@redhat.com>
10836
10837 * version.h: Update for 2.13 development version.
10838
21a2b1ae
AS
108392010-05-12 Andrew Stubbs <ams@codesourcery.com>
10840
10841 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10842 exceptions. Return 0.
10843
3f7dcb2b
RM
108442010-05-07 Roland McGrath <roland@redhat.com>
10845
10846 * elf/ldconfig.c (main): Add a const.
10847
5f24d53a 108482010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10849
a160f8d8
UD
10850 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10851 (args_options): Add no-idn option.
10852 (ahosts_keys_int): Add idn_flags to ai_flags.
10853 (parse_option): Handle 'i' option to clear idn_flags.
10854
5f24d53a
UD
10855 * malloc/malloc.c (_int_free): Possible race in the most recently
10856 added check. Only act on the data if no current modification
10857 happened.
265bb1ce
UD
10858
10859See ChangeLog.17 for earlier changes.