]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add sysdeps/x86_64/preconfigure
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2ff87f3f
L
12012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/x86_64/preconfigure.in: New file.
4 * sysdeps/x86_64/preconfigure: New generated file.
5
c0df8e69
JM
62012-03-22 Joseph Myers <joseph@codesourcery.com>
7
48e44791
JM
8 [BZ #13824]
9 * math/e_exp2l.c: Include <float.h>.
10 (__ieee754_exp2l): Handle overflow and underflow cases
11 separately. Only pass fractional part of argument to
12 __ieee754_expl.
13 * math/libm-test.inc (exp2_test): Add more tests.
14
c0df8e69
JM
15 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16 negating x to take absolute value.
17 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18 Likewise.
19 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21 Likewise.
22 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23 computing low part if x was negated.
24 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25
c8e43ba7
L
262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27
28 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29 la_x32_gnu_pltexit.
30 (pltexit): Cast int_retval to ptrdiff_t.
31 * elf/tst-auditmod3b.c: Likewise.
32 * elf/tst-auditmod4b.c: Likewise.
33 * elf/tst-auditmod5b.c: Likewise.
34 * elf/tst-auditmod6b.c: Likewise.
35 * elf/tst-auditmod6c.c: Likewise.
36 * elf/tst-auditmod7b.c: Likewise.
37
38 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39 and x32_gnu_pltexit.
40
41 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42 __ELF_NATIVE_CLASS.
43 (La_x32_regs): New macro.
44 (La_x32_retval): Likewise.
45 (la_x32_gnu_pltenter): New function prototype.
46 (la_x32_gnu_pltexit): Likewise.
47
7998fa78
AS
482012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49
dcb33988
AS
50 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51 exponent.
52
233fc563
AS
53 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54
7998fa78
AS
55 * configure.in (libc_cv_cc_nofma): Check for option to disable
56 generation of FMA instructions.
57 * configure: Regenerate.
58 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59 * sysdeps/ieee754/dbl-64/Makefile: New file.
60 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61 Remove brandred-fma4.
62 (CFLAGS-brandred-fma4.c): Remove.
63 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65 define.
66 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67 define.
68
8e95c99a
L
692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
70
71 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72 LLONG_MAX != LONG_MAX.
73 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74 (_fitoa_word): Likewise.
75 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
76 LLONG_MAX != LONG_MAX.
77 * stdio-common/_itowa.h: Include <_itoa.h>.
78 (_itowa_word): Use _ITOA_WORD_TYPE on value.
79 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
80 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
81 only if not defined.
82 (_ITOA_WORD_TYPE): Likewise.
83 (_itoa_word): Use _ITOA_WORD_TYPE on value.
84 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85
6f4db457
DM
862012-03-21 David S. Miller <davem@davemloft.net>
87
88 * sysdeps/sparc/fpu/libm-test-ulps: Update.
89
7785fe5a
L
902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
91
92 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
93 of x86_64 when setting libc_cv_slibdir, libdir and
94 libc_cv_localedir.
95 * sysdeps/unix/sysv/linux/configure: Regenerated.
96
4535cd55
JM
972012-03-21 Joseph Myers <joseph@codesourcery.com>
98
99 * manual/lang.texi (Old Varargs): Remove section.
100 (How Variadic): Update menu.
101 (va_start): Do not mention varargs.h.
102
17228132
TS
1032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
104 Joseph Myers <joseph@codesourcery.com>
105
106 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
107 link test.
108 * configure: Regenerated.
109
8149f976
TS
1102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
111
112 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
113 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
114 conformtest.pl
115
1a4ac776
JM
1162012-03-21 Joseph Myers <joseph@codesourcery.com>
117
be22ce65
JM
118 * NOTES: Remove.
119 * Makefile (files-for-dist): Remove NOTES.
120 (NOTES): Remove rule.
121 * README: Don't refer to NOTES.
122 * manual/creature.texi: Don't include macros.texi.
123 * manual/intro.texi (creature.texi): Remove comment referring to
124 NOTES.
125
40b601fb
JM
126 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
127 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
128 * configure: Regenerated.
129 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
130 LIBC_TRY_CC_OPTION.
131 (libc_cv_as_i686): Likewise.
132 (libc_cv_cc_avx): Likewise.
133 (libc_cv_cc_sse2avx): Likewise.
134 (libc_cv_cc_fma4): Likewise.
135 (libc_cv_cc_novzeroupper): Likewise.
136 * sysdeps/i386/configure: Regenerated.
137
1a4ac776
JM
138 [BZ #13883]
139 * sysdeps/i386/fpu/s_cexp.S: Remove.
140 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
141 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
142 * math/libm-test.inc (cexp_test): Add more tests.
143 * sysdeps/i386/fpu/libm-test-ulps: Update.
144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145
a458e7fe
AM
1462012-03-21 Allan McRae <allan@archlinux.org>
147
148 * timezone/Makefile: Do not install iso3166.tab and zone.tab
149
0cb7efc5
JM
1502012-03-21 Joseph Myers <joseph@codesourcery.com>
151
152 [BZ #13871]
153 * math/w_exp2.c: Do not include <float.h>.
154 (o_threshold, u_threshold): Remove.
155 (__exp2): Calculate result before checking finiteness and calling
156 __kernel_standard.
157 * math/w_exp2f.c: Likewise.
158 * math/w_exp2l.c: Likewise.
159 * math/libm-test.inc (exp2_test): Require overflow exception for
160 1e6 input.
2460d3aa
JM
161
162 [BZ #3866]
163 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
164 range of signed 64-bit integers before using fistpll. Remove
165 checks for whether integers fit in mantissa bits.
166 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
167 the range of signed 32-bit integers before using fistpl. Remove
168 checks for whether integers fit in mantissa bits.
169 * sysdeps/i386/fpu/e_powl.S (p64): New object.
170 (__ieee754_powl): Test for y outside the range of signed 64-bit
171 integers before using fistpll. Reduce 64-bit values to 63-bit
172 ones as needed.
173 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
174 divide-by-zero is raised for zero to large negative powers.
175 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
176 (__ieee754_powl): Test for y outside the range of signed 64-bit
177 integers before using fistpll. Reduce 64-bit values to 63-bit
178 ones as needed.
179 * math/libm-test.inc (pow_test): Add more tests.
180
eb96ffb0
L
1812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
182
183 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
184 <stdio-common/_itoa.h>.
185 * debug/segfault.c: Likewise.
186 * elf/dl-cache.c: Likewise.
187 * elf/dl-minimal.c: Likewise.
188 * elf/dl-misc.c: Likewise.
189 * elf/dl-sysdep.c: Likewise.
190 * elf/dl-version.c: Likewise.
191 * elf/rtld.c: Likewise.
192 * hurd/hurdsock.c: Likewise.
193 * hurd/lookup-retry.c: Likewise.
194 * malloc/malloc.c: Likewise.
195 * malloc/mtrace.c: Likewise.
196 * nscd/nscd_getgr_r.c: Likewise.
197 * nscd/nscd_getpw_r.c: Likewise.
198 * nscd/nscd_getserv_r.c: Likewise.
199 * posix/getopt_init.c: Likewise.
200 * posix/wordexp.c: Likewise.
201 * stdio-common/_itoa.c: Likewise.
202 * stdio-common/printf_fphex.c: Likewise.
203 * stdio-common/vfprintf.c: Likewise.
204 * string/_strerror.c: Likewise.
205 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
206 * sysdeps/i386/i686/hp-timing.h: Likewise.
207 * sysdeps/mach/_strerror.c: Likewise.
208 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
209 * sysdeps/mach/hurd/sethostid.c: Likewise.
210 * sysdeps/mach/hurd/xmknodat.c: Likewise.
211 * sysdeps/mach/xpg-strerror.c: Likewise.
212 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
213 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
214 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
215 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
216 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
217 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
218 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
219 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
220 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
221 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
222 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
223 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
224 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
225 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
226 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
227 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
228 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
229 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
230 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
231 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
232 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
233
234 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
235
236 * stdio-common/_itoa.h: Moved to ...
237 * sysdeps/generic/_itoa.h: Here.
238
239 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
240
241 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
242 instead of "_itoa.h" and "_itowa.h".
243 * stdio-common/vfprintf.: Likewise.
244
d1af992d
L
2452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
246
247 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
248 <bits/wordsize.h>.
249 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
250 (__signbit): Likwise.
251 (llrintf): Likwise.
252 (llrint): Likwise.
253
114883e0
L
2542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
255
256 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
257 __WORDSIZE != 64.
258
c135cc1b
JM
2592012-03-20 Joseph Myers <joseph@codesourcery.com>
260
261 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
262 OVERFLOW_EXCEPTION_OK.
263 * math/libm-test.inc ("Philosophy"): Update comment about
264 exception testing.
265 (OVERFLOW_EXCEPTION): Define.
266 (OVERFLOW_EXCEPTION_OK): Likewise.
267 (INVALID_EXCEPTION_OK): Renumber.
268 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
269 (IGNORE_ZERO_INF_SIGN): Likewise.
270 (test_exceptions): Handle FE_OVERFLOW.
271 (exp10_test): Expect overflow exceptions.
272 (exp2_test): Likewise.
273 (expm1_test): Likewise.
274 (nextafter_test): Likewise.
275 (pow_test): Likewise.
276 (scalbn_test): Likewise.
277 (scalbln_test): Likewise.
278
95443d88
L
2792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
280
281 * sysdeps/x86_64/bits/atomic.h
282 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
283 64bit integer.
284 (atomic_exchange_acq): Likewise.
285 (__arch_exchange_and_add_body): Likewise.
286 (__arch_add_body): Likewise.
287 (atomic_add_negative): Likewise.
288 (atomic_add_zero): Likewise.
289
490df6c4
L
2902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
291
c2722551 292 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
293 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
294
5e52b189
L
2952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
296
297 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
298 Check __x86_64__ instead of __WORDSIZE.
299
a9879d4c
L
3002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
301
302 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
303
5df98260
DM
3042012-03-19 David S. Miller <davem@davemloft.net>
305
e1497744
DM
306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
307
5df98260
DM
308 * sysdeps/sparc/fpu/fenv_private.h: New file.
309 * sysdeps/sparc/fpu/math_private.h: Use it.
310 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
311 Remove.
312 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
313 (libc_feholdexcept_setroundl): Remove.
314 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
315 Remove.
316 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
317 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
318
b4c35121
L
3192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
320
321 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
322 int64_t instead of long int.
323 (INSERT_WORDS64): Likwise.
324
56965fd7
L
3252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
326
327 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
328 _Unwind_GetCFA return to _Unwind_Ptr first.
329
83d1aec8
JM
3302012-03-19 Joseph Myers <joseph@codesourcery.com>
331
1897ad44
JM
332 [BZ #13629]
333 * math/s_clog.c: Include <float.h>.
334 (__clog): Scale large or subnormal inputs.
335 * math/s_clogf.c: Likewise.
336 * math/s_clogl.c: Likewise.
337 * math/s_clog10.c: Include <float.h>.
338 (M_LOG10_2): Define.
339 (__clog10): Scale large or subnormal inputs.
340 * math/s_clog10f.c: Likewise.
341 * math/s_clog10l.c: Likewise.
342 * math/libm-test.inc (clog_test): Add more tests.
343 (clog10_test): Likewise.
344 * sysdeps/i386/fpu/libm-test-ulps: Update.
345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
346
7726d6a9
JM
347 [BZ #11451]
348 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
349 x and y.
350 * math/libm-test.inc (atan2_test): Add another test.
351
83d1aec8
JM
352 * Makerules (common-objdir-compile): Remove.
353 * sysdeps/unix/Makefile (config-generated): Do not add
354 $(unix-generated) to variable.
355 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
356 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
357 Remove rule.
358 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
359 Likewise.
360 [generic bits/local_lim.h] (before-compile): Do not append to
361 variable.
362 [generic bits/local_lim.h] (common-generated): Likewise.
363 [generic sys/param.h] (before-compile): Do not append to variable.
364 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
365 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
366 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
367 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
368 include.
369 [generic sys/param.h] (sys/param.h-includes): Remove variable.
370 [generic sys/param.h] (sys/param.h-includes): Remove rule.
371 [generic sys/param.h] ($(addprefix
372 $(common-objpfx),$(sys/param.h-includes))): Likewise.
373 [generic sys/param.h] (common-generated): Do not append to
374 variable.
375 [generic sys/param.h] (sysdep_headers): Likewise.
376 [generic bits/errno.h] (before-compile): Do not append to
377 variable.
378 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
379 rule.
380 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
381 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
382 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
383 [generic bits/errno.h] (common-generated): Do not append to
384 variable.
385 [generic bits/ioctls.h] (before-compile): Do not append to
386 variable.
387 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
388 rule.
389 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
390 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
391 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
392 rule.
393 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
394 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
395 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
396 [generic bits/ioctls.h] (common-generated): Do not append to
397 variable.
398 [generic sys/syscall.h] (syscall.h): Remove variable.
399 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
400 rule.
401 [generic sys/syscall.h] (before-compile): Do not append to
402 variable.
403 [generic sys/syscall.h] (common-generated): Likewise.
404 * sysdeps/unix/errnos-tmpl.c: Remove file.
405 * sysdeps/unix/errnos.awk: Likewise.
406 * sysdeps/unix/ioctls-tmpl.c: Likewise.
407 * sysdeps/unix/ioctls.awk: Likewise.
408 * sysdeps/unix/mk-local_lim.c: Likewise.
409 * sysdeps/unix/snarf-ioctls: Likewise.
410
4851a949
RH
4112012-03-19 Richard Henderson <rth@twiddle.net>
412
bd37f2ee
RH
413 * sysdeps/i386/fpu/fenv_private.h: New file.
414 * sysdeps/i386/fpu/math_private.h: Use it.
415 (math_opt_barrier, math_force_eval): Remove.
416 (libc_feholdexcept_setround_53bit): Remove.
417 (libc_feupdateenv_53bit): Remove.
418 * sysdeps/x86_64/fpu/math_private.h: Likewise.
419 (math_opt_barrier, math_force_eval): Remove.
420 (libc_feholdexcept): Remove.
421 (libc_feholdexcept_setround): Remove.
422 (libc_fetestexcept, libc_fesetenv): Remove.
423 (libc_feupdateenv_test): Remove.
424 (libc_feupdateenv, libc_feholdsetround): Remove.
425 (libc_feresetround): Remove.
426
d0adc922
RH
427 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
428 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
429
0fe0f1f8
RH
430 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
431 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
432 (libc_feupdateenv_testl): New.
433 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
434 (libc_feupdateenv_testf): New.
435 (libc_feupdateenv): Use libc_feupdateenv_test.
436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
437 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
438
eb92c487
RH
439 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
440 (libc_feholdsetroundf, libc_feholdsetroundl): New.
441 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
442 (libc_feresetround_noex): New.
443 (libc_feresetround_noexf): New.
444 (libc_feresetround_noexl): New.
445 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
446 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
447 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
448 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
449 SET_RESTORE_ROUND.
450 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
451 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
452 (__cos): Likewise.
453 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
454 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
455 SET_RESTORE_ROUND_NOEX.
456 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
457 SET_RESTORE_ROUND_NOEXF.
458 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
459 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
460 (libc_feholdsetroundf): New.
461 (libc_feresetround, libc_feresetroundf): New.
462
7d2e8012
RH
463 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
464 (libc_feholdexcept_setround_53bit): Convert from macro to function.
465 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
466
b4dabbb4
RH
467 * sysdeps/generic/math_private.h: Include <fenv.h>.
468 (default_libc_feholdexcept): New.
469 (default_libc_feholdexcept_setround): New.
470 (default_libc_fesetenv, default_libc_feupdateenv): New.
471 (libc_feholdexcept): Only define if undefined.
472 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
473 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
474 (libc_feholdexcept_setroundl): Likewise.
475 (libc_feholdexcept_setround_53bit): Likewise.
476 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
477 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
478 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
479 (libc_feupdateenv_53bit): Likewise.
480 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
481 (libc_feholdexcept): Convert from macro to inline function.
482 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
483 (libc_fesetenv, libc_feupdateenv): Likewise.
484
4851a949
RH
485 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
486 not previously defined.
487 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
488 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
489 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
490 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
491 * sysdeps/ieee754/flt-32/math_private.h: New file.
492 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
493 math_private.h below SET_FLOAT_WORD.
494 (__isnan, __isinf_ns, __finite): Remove.
495 (__isnanf, __isinf_nsf, __finitef): Remove.
496
e79d442e
AS
4972012-03-18 Andreas Schwab <schwab@linux-m68k.org>
498
499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
500
90b80344
DM
5012012-03-17 David S. Miller <davem@davemloft.net>
502
503 [BZ #6471]
504 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
505 for 2.16.
506
edc21804
DM
5072012-03-16 David S. Miller <davem@davemloft.net>
508
77e927af
DM
509 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
510 warnings.
511
374976dd
DM
512 [BZ #6471]
513 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
514 properly.
515 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
516 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
517 sysdep_routines when subdir is sysvipc.
518 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
519 __getshmlba helper.
520
edc21804
DM
521 * sysdeps/sparc/fpu/libm-test/ulps: Update.
522
473c3ef3
L
5232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
524
525 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
526 [__LP64__].
527
eb0f39b6
L
5282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
529
530 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
531 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
532 (__lround): Renamed to ...
533 (__llround): This. Replace long int with long long int.
534 Define lround functions as aliases of llround functions.
535 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
536
6b6cd74b
L
5372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
538
539 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
540 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
541 adresses to uintptr_t. Replace "long int" and "unsigned long
542 int" with "greg_t" on va_arg.
543
f1a77b01
L
5442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
545
546 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
547 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
548
549 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
550 Move e_machine check before EI_CLASS check. Handle x32
551 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
552 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
553 SKIP_EM_IA_64 and include
554 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
555
556 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
557 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
558 (add_system_dir): New macro.
559
560 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
561 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
562
11b90b9f
JM
5632012-03-16 Joseph Myers <joseph@codesourcery.com>
564
c36e1d23
JM
565 [BZ #2551]
566 [BZ #2552]
567 [BZ #2553]
568 [BZ #2554]
569 [BZ #2562]
570 [BZ #2563]
571 [BZ #2565]
572 [BZ #2566]
573 [BZ #2576]
574 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
575 (y0): Likewise.
576 * math/w_j0f.c (j0f): Likewise.
577 (y0f): Likewise.
578 * math/w_j0l.c (__j0l): Likewise.
579 (__y0l): Likewise.
580 * math/w_j1.c (j1): Likewise.
581 (y1): Likewise.
582 * math/w_j1f.c (j1f): Likewise.
583 (y1f): Likewise.
584 * math/w_j1l.c (__j1l): Likewise.
585 (__y1l): Likewise.
586 * math/w_jn.c (jn): Likewise.
587 (yn): Likewise.
588 * math/w_jnf.c (jnf): Likewise.
589 (ynf): Likewise.
590 * math/w_jnl.c (__jnl): Likewise.
591 (__ynl): Likewise.
592 * math/libm-test.inc (j0_test): Add more tests.
593 (j1_test): Likewise.
594 (jn_test): Likewise. Add trailing semicolon to existing test.
595 (y0_test): Likewise.
596 (y1_test): Likewise.
597 * sysdeps/i386/fpu/libm-test-ulps: Update.
598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
599
11b90b9f
JM
600 [BZ #13851]
601 [BZ #13854]
602 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
603 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
604 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
605 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
606 (__tanl): Set errno for infinite argument.
607 * sysdeps/i386/fpu/mptan.c: Remove.
608 * sysdeps/i386/fpu/s_tan.S: Likewise.
609 * sysdeps/i386/fpu/s_tanl.S: Likewise.
610 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
611 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
612 * math/libm-test.inc (tan_test): Add more tests and enable more
613 tests for double and long double.
614 * sysdeps/i386/fpu/libm-test-ulps: Update.
615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
616
6a1bd2a1
JK
6172012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
618
619 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
620 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
621
10a803e0
RM
6222012-03-16 Roland McGrath <roland@hack.frob.com>
623
624 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
625 * configure.in: Use it for both main tree and add-ons.
626 * configure: Regenerated.
627
f196c7f7
L
6282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
629
630 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
631
8848d99d
JM
6322012-03-16 Joseph Myers <joseph@codesourcery.com>
633
96cbe7f4
JM
634 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
635 in comment.
636
8848d99d
JM
637 [BZ #13851]
638 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
639 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
640 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
641 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
642 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
643 infinite argument.
644 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
645 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
646 != 0 for prec == 2.
647 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
648 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
649 * sysdeps/i386/fpu/s_cosl.S: Likewise.
650 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
651 * sysdeps/i386/fpu/s_sinl.S: Likewise.
652 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
653 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
654 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
655 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
656 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
657 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
658 * math/libm-test.inc (cos_test): Add more tests and enable more
659 tests for long double.
660 (sin_test): Likewise.
661 (sincos_test): Likewise.
662 * sysdeps/i386/fpu/libm-test-ulps: Update.
663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
664
dd7f4703
DM
6652012-03-16 David S. Miller <davem@davemloft.net>
666
667 * sysdeps/sparc/fpu/math_private.h: New file.
668
006f1daa
DM
6692012-03-15 David S. Miller <davem@davemloft.net>
670
c0c83bc8
DM
671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
672 file.
e6a62e18 673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
675 file.
e6a62e18
DM
676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
681 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
682 sysdep routines.
683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
684
88cb87d9
DM
685 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
686 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
687
006f1daa 688 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
690 sparc-ifunc.h
006f1daa 691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
693 Likewise.
694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
695 Likewise.
006f1daa
DM
696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
700 Likewise.
006f1daa
DM
701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
706 Likewise.
707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
708 Likewise.
006f1daa
DM
709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
716 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
731 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
732 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
733
11e0098e
AS
7342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
735
736 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
737 scaling.
738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
739
e85b09d0
AJ
7402012-03-15 Andreas Jaeger <aj@suse.de>
741
742 [BZ #13852]
743 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
744 ieee754/flt-32 implementation for sin, cos and sincos.
745 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
746 * sysdeps/i386/fpu/s_cosf.S: Likewise.
747 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
748 * sysdeps/i386/fpu/s_sinf.S: Likewise.
749 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
750 ieee754/flt-32 implementation for tan.
751
752 * math/libm-test.inc (cos_test): Enable some large input tests for
753 float as well
754 (sin_test): Likewise.
755 (sincos_test): Likewise.
756 (tan_test): Add tests for large input.
757
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759
81c64153
AJ
7602012-03-15 Andreas Jaeger <aj@suse.de>
761
762 [BZ #13658]
763 * math/libm-test.inc (cos_test): Add more test cases.
764 (sin_test): Likewise.
765 (sincos_test): Likewise.
766
7bbfa5c6
AJ
7672012-03-15 Andreas Jaeger <aj@suse.de>
768
769 [BZ #13837]
770 * math/libm-test.inc (cos_test): Add a test case for large input
771 value.
772 (sin_test): Likewise.
773 (sincos_test): Likewise.
774
7752012-03-15 Andreas Jaeger <aj@suse.de>,
776 Joseph Myers <joseph@codesourcery.com>
777
778 [BZ #13658]
0671f479 779 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
780 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
781 * sysdeps/i386/fpu/branred.c: Likewise.
782 * sysdeps/i386/fpu/dosincos.c: Likewise.
783 * sysdeps/i386/fpu/mpa.c: Likewise.
784 * sysdeps/i386/fpu/s_cos.S: Likewise.
785 * sysdeps/i386/fpu/s_sin.S: Likewise.
786 * sysdeps/i386/fpu/s_sincos.S: Likewise.
787 * sysdeps/i386/fpu/sincos32.c: Likewise.
788
789 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
790 Define.
791 (libc_feupdateenv_53bit): Define.
792 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
793 Define.
794 (libc_feupdateenv_53bit): Define.
795
796 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
797 53 bit (without extend i386 double precision).
798
799 * math/libm-test.inc (sincos_test): Add tests for large input.
800 (sin): Likewise.
801 (cos): Likewise.
802
803 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
804
9cad04ea
AS
8052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
806
807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
808
f7062b9a
DM
8092012-03-15 David S. Miller <davem@davemloft.net>
810
811 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
812 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
813 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
814 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
827 file.
f7062b9a 828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
830 file.
f7062b9a 831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
833 file.
f7062b9a 834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
836 file.
f7062b9a
DM
837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
838 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
839 fmin/fmax sysdep routines.
840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
841
7bd951ff
DM
8422012-03-14 David S. Miller <davem@davemloft.net>
843
559398ab
DM
844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
851 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
867 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
871 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
872 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
873 routines.
874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
875 file.
559398ab 876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
878 file.
559398ab 879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
881 file.
559398ab 882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
884 file.
559398ab 885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
887 file.
559398ab 888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
890 file.
891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
892 file.
893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
894 file.
895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
896 file.
897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
898 New file.
899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
900 file.
901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
902 file.
559398ab 903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
905 file.
559398ab 906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
908 file.
559398ab 909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
911 file.
559398ab 912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
914 VIS3 routines.
559398ab
DM
915
916 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
917 New file.
918
5a1c1e32
DM
919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
920
eae47a36
DM
921 * sysdeps/sparc/configure.in: New file.
922 * sysdeps/sparc/configure: Generate.
923 * configure.in (libc_cv_sparc_as_vis3): Substitute.
924 * configure: Regenerate.
925 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
926 * config.make.in (have-as-vis3): New.
927 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
928 available use -Av9d instead of -Av9a.
929 * sysdeps/sparc/sparc64/Makefile: Likewise.
930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
932 New file.
933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
934 file.
935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
936 New file.
937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
938 file.
eae47a36
DM
939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
944
c0c83bc8
DM
945 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
946 fzeros/fnegs to load 0x80000000 into a float register instead of
947 using the stack.
7bd951ff
DM
948 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
949
bd951ccb
JM
9502012-03-14 Joseph Myers <joseph@codesourcery.com>
951
952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
953 bits/syscall.h.
954 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
955 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
956 ($(inst_includedir)/bits/syscall.h): Remove rule.
957 ($(objpfx)bits/syscall.d): Include instead of
958 $(objpfx)syscall-list.d.
959 (generated): Change syscall-list.h and syscall-list.d to
960 bits/syscall.h and bits/syscall.d.
961
bb4e6db2
RM
9622012-03-14 Roland McGrath <roland@hack.frob.com>
963
964 [BZ #13846]
965 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
966
aa4a2ae1
JM
9672012-03-14 Joseph Myers <joseph@codesourcery.com>
968
e456826d
JM
969 [BZ #13841]
970 * math/s_csqrt.c: Include <float.h>.
971 (__csqrt): Scale large or subnormal inputs.
972 * math/s_csqrtf.c: Likewise.
973 * math/s_csqrtl.c: Likewise.
974 * math/libm-test.inc (csqrt_test): Add more tests.
975 * sysdeps/i386/fpu/libm-test-ulps: Update.
976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
977
aa4a2ae1
JM
978 [BZ #13840]
979 * math/libm-test.inc (hypot_test): Add more tests.
980
7c10fd35
DM
9812012-03-13 David S. Miller <davem@davemloft.net>
982
983 [BZ #13840]
984 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
985 double-precision for the calculation instead of scaling.
986
f453b98b
JM
9872012-03-13 Joseph Myers <joseph@codesourcery.com>
988
989 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
990 manipulate bits before adding and subtracting TWO52[sx].
991 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
992 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
993 Likewise.
994 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
995
09a3453f
DM
9962012-03-13 David S. Miller <davem@davemloft.net>
997
8e59da90
DM
998 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
999 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1001 rtld-global-offsets.h
1002 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1003
2a8ab7f2
DM
1004 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1005 large parameters.
1006
10f62770
DM
1007 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1008
5f0bdb18
DM
1009 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1010 'err' in the ifdef scope in which it is actually used.
1011
09a3453f
DM
1012 * nss/nss_db/db-init.c: Include string.h
1013
b4b2eb5e
DM
10142012-03-12 David S. Miller <davem@davemloft.net>
1015
98bb2f1c
DM
1016 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1017 masking out of the most significant byte of random value used.
1018 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1019 Fix coding style in previous change.
1020
b4b2eb5e
DM
1021 * sysdeps/unix/sysv/linux/kernel-features.h
1022 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1023 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1024 expression.
1025 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1026 later.
1027
6e226b09
DM
10282012-03-11 David S. Miller <davem@davemloft.net>
1029
a1bcbd40
DM
1030 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1031 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1032 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1033 for 'resultvar' otherwise things get truncated on 64-bit.
1034
cb9d6174
DM
1035 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1036 Fix masking out of the most significant byte of random value used.
1037
6e226b09
DM
1038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1039
058c132d
AS
10402012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1041
1042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1043
2d2cd515
DM
10442012-03-09 David S. Miller <davem@davemloft.net>
1045
1046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1047 variables with appropriate CPP guards.
1048 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1049 frame pointer, not the stack pointer. Correct layout comments. Fix test
1050 on resulting framesize and the management of the outregs buffer for pltexit.
1051 Preserve floating point return values across _dl_call_pltexit call.
1052 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1053 framesize and the management of the outregs buffer for pltexit.
1054 Preserve floating point return values across _dl_call_pltexit
1055 call.
1056 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1057 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1058 (print_exit): Fix format string for return register value.
1059
9a07f9d0
JM
10602012-03-10 Joseph Myers <joseph@codesourcery.com>
1061
1062 * sunrpc/Makefile (others): Add rpcgen.
1063 ($(objpfx)rpcgen): Remove special build rule and dependency on
1064 libc.
1065 * sunrpc/rpcgen.c: New file.
1066
547b5e30
PE
10672012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1068
c524201a
PE
1069 [BZ #13673]
1070 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1071 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1072 * sysdeps/i386/crti.S: Likewise.
1073 * sysdeps/i386/crtn.S: Likewise.
1074 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1075 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1076 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1077 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1078 * sysdeps/sh/crti.S: Likewise.
1079 * sysdeps/sh/crtn.S: Likewise.
1080 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1081
7b6235f2
PE
1082 [BZ #13673]
1083 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1084 with URL.
1085 * locale/programs/locfile-kw.gperf: Likewise.
1086 * locale/programs/charmap-kw.h: Regenerated.
1087 * locale/programs/locfile-kw.h: Likewise.
1088
547b5e30
PE
1089 [BZ #13673]
1090 * intl/plural.y: Replace FSF snail mail address with URL.
1091 * intl/plural.c: Regenerated.
1092
5f0a5dae
RH
10932012-03-09 Richard Henderson <rth@twiddle.net>
1094
1095 * include/math_private.h: Remove file.
1096 * math/math_private.h: Move file ...
1097 * sysdeps/generic/math_private.h: ... here.
1098
b8c03620
RH
1099 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1100 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1101 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1102
4e234f5d 1103 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1104 and <math_private.h>.
1105 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1106 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1107 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1108 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1109 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1110 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1111 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1113 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1114 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1115 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1116 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1117 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1118 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1119 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1120 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1121 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1122 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1123 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1124 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1125 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1126 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1127 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1128 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1129 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1130 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1131 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1132 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1135 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1136 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1137 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1138 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1139 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1140 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1141 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1142 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1143 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1144 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1145 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1146 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1147 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1148 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1149 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1150 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1151 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1152 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1153 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1154 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1155 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1156 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1157 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1158 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1159 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1160 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1161 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1162 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1163 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1164 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1165 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1166 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1167 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1168 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1169 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1170 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1171 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1172 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1173 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1174 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1175 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1176 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1177 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1178 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1179 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1180 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1183 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1184 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1185 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1186 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1187 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1188 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1189 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1190 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1191 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1192 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1193 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1194 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1195 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1196 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1197 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1198 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1199 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1200 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1201 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1202 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1203 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1204 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1205 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1206 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1207 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1208 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1209 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1210 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1211 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1212 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1213 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1214 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1215 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1216 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1217 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1218 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1219 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1220 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1221 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1222 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1223 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1224 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1225 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1226 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1227 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1228 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1229 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1230 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1231 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1232 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1233 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1234 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1235 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1236 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1237 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1238 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1239 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1240 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1241 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1242 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1243 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1244 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1245 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1246 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1247 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1248 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1249 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1250 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1251 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1252 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1253 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1254 * sysdeps/ieee754/k_standard.c: Likewise.
1255 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1256 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1257 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1258 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1259 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1260 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1261 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1262 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1263 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1264 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1265 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1266 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1267 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1268 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1269 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1270 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1271 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1272 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1273 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1274 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1275 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1276 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1277 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1278 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1279 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1280 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1281 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1282 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1283 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1284 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1285 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1286 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1287 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1288 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1289 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1290 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1291 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1292 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1293 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1294 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1295 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1296 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1297 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1301 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1302 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1303 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1305 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1306 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1307 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1311 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1312 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1315 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1316 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1317 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1318 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1319 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1320 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1321 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1322 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1323 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1324 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1325 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1326 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1327 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1328 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1329 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1330 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1331 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1332 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1333 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1334 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1335 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1336 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1337 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1338 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1339 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1340 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1341 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1343 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1344 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1345 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1346 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1348 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1349 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1351 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1352 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1353 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1354 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1355 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1356 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1357 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1358 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1359 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1360 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1361 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1362 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1363 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1364 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1365 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1366 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1367 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1368 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1369 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1370 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1371 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1372 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1373 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1374 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1375 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1376 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1377 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1378 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1379 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1380 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1381 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1382 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1383 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1384 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1385 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1386 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1387 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1389 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1390 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1391 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1392 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1393 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1395 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1396 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1397 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1398 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1399 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1400 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1401 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1402 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1403 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1404 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1405 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1406 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1407 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1408 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1409 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1410 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1411 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1412 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1413 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1414 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1415 * sysdeps/ieee754/s_lib_version.c: Likewise.
1416 * sysdeps/ieee754/s_matherr.c: Likewise.
1417 * sysdeps/ieee754/s_signgam.c: Likewise.
1418 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1419 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1420 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1421 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1422 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1423 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1424 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1425 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1426 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1427 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1428 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1429 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1430 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1431 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1432 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1433 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1434 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1435 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1436 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1437 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1438 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1439
1991fa03
JM
14402012-03-09 Joseph Myers <joseph@codesourcery.com>
1441
1442 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1443 * sunrpc/rpc_main.c: Likewise.
1444 * sunrpc/rpc_svcout.c: Likewise.
1445
60d6f5a6
DM
14462012-03-09 David S. Miller <davem@davemloft.net>
1447
1448 * include/math_private.h: New file.
1449
4962050e
JM
14502012-03-09 Joseph Myers <joseph@codesourcery.com>
1451
02a6f887
JM
1452 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1453 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1454 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1455 from <bits/socket_type.h>.
1456 (enum __socket_type): Don't define here.
1457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1459 bits/socket_type.h.
1460
c6e013c1
JM
1461 [BZ #13566]
1462 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1463 checking __USE_GNU.
1464
4962050e
JM
1465 * Makerules ($(inst_includedir)/%.h): New rule.
1466 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1467 (install-others): Remove variable setting.
1468 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1469
38842f45
RH
14702012-03-08 Richard Henderson <rth@twiddle.net>
1471
67bb6da6
RH
1472 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1473 from macro to inline function; merge with the
1474 !__LIBC_INTERNAL_MATH_INLINES version.
1475 (__ieee754_sqrtf): Likewise.
1476
15194b4b
RH
1477 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1478 to inline function.
1479 (__rintf, __floor, __floorf): Likewise.
1480
64e21ede
RH
1481 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1482 macro to inline function.
1483 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1484
38842f45
RH
1485 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1486 not <math/math_private.h>.
1487
c64bf5fe
DM
14882012-03-08 David S. Miller <davem@davemloft.net>
1489
1490 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1491 copyright year.
1492 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1493
82d86f28
TS
14942012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1495
1496 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1497 normalization.
1498 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1499 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1500
aea5d727
UD
15012012-03-08 Ulrich Drepper <drepper@gmail.com>
1502
1503 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1504 be defined individually, they must be defined as a block. Define
1505 S for printing a string instead of hidint the different by using a
1506 macro for adding the 'l'.
1507 * stdio-common/tst-fphex-wide.c: Adjust.
1508
70bca0a3
MP
15092012-03-07 Marek Polacek <polacek@redhat.com>
1510
1511 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1512
65b81130
MP
15132012-03-08 Marek Polacek <polacek@redhat.com>
1514
1515 [BZ #13806]
1516 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1517 * stdio-common/tst-fphex.c: Define a few macros to make the
1518 test reusable. Use them.
1519 * stdio-common/tst-fphex-wide.c: New file.
1520
07037eeb
JM
15212012-03-08 Joseph Myers <joseph@codesourcery.com>
1522
a7a93d50
JM
1523 [BZ #6911]
1524 * manual/macros.texi (gnusystems): New macro.
1525 (nongnusystems): Likewise.
1526 (gnulinuxhurdsystems): Likewise.
1527 (gnuhurdsystems): Likewise..
1528 (gnulinuxsystems): Likewise.
1529 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1530 variants of the GNU system, not "GNU system".
1531 * manual/conf.texi: Likewise.
1532 * manual/errno.texi: Likewise. Update example of errno macro
1533 expansion.
1534 * manual/filesys.texi: Likewise.
1535 (getumask): Document as specific to GNU/Hurd.
1536 * manual/install.texi: Likewise. Reword some references to
1537 GNU/Linux.
1538 * manual/intro.texi: Likewise.
1539 * manual/io.texi: Likewise.
1540 (File Name Portability): Detail which constraints are inapplicable
1541 to all GNU systems and which are only inapplicable to GNU/Hurd.
1542 * manual/job.texi: Likewise.
1543 * manual/llio.texi: Likewise.
1544 (O_NOCTTY): Document as present on GNU/Linux.
1545 * manual/maint.texi: Likewise.
1546 * manual/memory.texi: Likewise.
1547 * manual/pattern.texi: Likewise.
1548 * manual/pipe.texi: Likewise.
1549 * manual/process.texi: Likewise.
1550 * manual/resource.texi: Likewise.
1551 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1552 child on GNU/Hurd.
1553 * manual/setjmp.texi: Likewise.
1554 * manual/signal.texi: Likewise.
1555 * manual/startup.texi: Likewise.
1556 * manual/stdio.texi: Likewise.
1557 * manual/terminal.texi: Likewise.
1558 (ONLCR): Document as POSIX.
1559 (OXTABS): Document availability on GNU/Linux as XTABS.
1560 (ONOEOT): Document availability separately from other bits.
1561 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1562 * manual/time.texi: Likewise.
1563 * manual/users.texi: Likewise.
1564 * INSTALL: Regenerated.
1565 * sysdeps/gnu/errlist.c: Regenerated.
1566
07037eeb
JM
1567 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1568 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1569 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1570 puts.
1571 * configure: Regenerated.
1572
d1d3431a
JM
15732012-03-07 Joseph Myers <joseph@codesourcery.com>
1574
af6a1e37
JM
1575 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1576 default includes instead of AC_HEADER_CHECK.
1577 * sysdeps/i386/configure: Regenerated.
1578
d1d3431a
JM
1579 [BZ #10716]
1580 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1581 * math/s_cacoshf.c (__cacoshf): Likewise.
1582 * math/s_cacoshl.c (__cacoshl): Likewise.
1583 * math/s_casinh.c (__casinh): Set signs of result from argument.
1584 * math/s_casinhf.c (__casinhf): Likewise.
1585 * math/s_casinhl.c (__casinhl): Likewise.
1586 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1587 (casinh_test): Add more tests.
1588 * sysdeps/i386/fpu/libm-test-ulps: Update.
1589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1590
482ff4da
UD
15912012-03-07 Ulrich Drepper <drepper@gmail.com>
1592
872fda05
UD
1593 * po/zh_TW.po: Update from translation team.
1594
a4300c7a
UD
1595 * login/Makefile (distribute): Remove variable.
1596 * catgets/Makefile: Likewise.
1597 * mach/Makefile: Likewise.
1598 * malloc/Makefile: Likewise.
1599 * misc/Makefile: Likewise.
1600 * iconv/Makefile: Likewise.
1601 * nscd/Makefile: Likewise.
1602 * hurd/Makefile: Likewise.
1603 * manual/Makefile: Likewise.
1604 * locale/Makefile: Likewise.
1605 * intl/Makefile: Likewise.
1606 * conform/Makefile: Likewise.
1607 * nss/Makefile: Likewise.
1608 * time/Makefile: Likewise.
1609 * soft-fp/Makefile: Likewise.
1610 * dirent/Makefile: Likewise.
1611 * gmon/Makefile: Likewise.
1612 * po/Makefile: Likewise.
1613 * rt/Makefile: Likewise.
1614 * socket/Makefile: Likewise.
1615 * math/Makefile: Likewise.
1616 * signal/Makefile: Likewise.
1617 * debug/Makefile: Likewise.
1618 * elf/Makefile: Likewise.
1619 * timezone/Makefile: Likewise.
1620 * stdlib/Makefile: Likewise.
1621 * iconvdata/Makefile: Likewise.
1622 * sunrpc/Makefile: Likewise.
1623 * io/Makefile: Likewise.
1624 * argp/Makefile: Likewise.
1625 * inet/Makefile: Likewise.
1626 * hesiod/Makefile: Likewise.
1627 * grp/Makefile: Likewise.
1628 * csu/Makefile: Likewise.
1629 * wctype/Makefile: Likewise.
1630 * crypt/Makefile: Likewise.
1631 * libio/Makefile: Likewise.
1632 * string/Makefile: Likewise.
1633 * nis/Makefile: Likewise.
1634 * resolv/Makefile: Likewise.
1635 * stdio-common/Makefile: Likewise.
1636 * wcsmbs/Makefile: Likewise.
1637 * dlfcn/Makefile: Likewise.
1638 * posix/Makefile: Likewise.
1639
482ff4da
UD
1640 * timezone/Makefile: Don't install timezone files, just the programs
1641 and scripts.
1642
f72ed77d
UD
16432012-03-06 Ulrich Drepper <drepper@gmail.com>
1644
a000466f
UD
1645 * nss/databases.def: Add missing gshadow entry.
1646
f72ed77d
UD
1647 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1648
a53b7a4e
MP
16492012-03-06 Marek Polacek <polacek@redhat.com>
1650
1651 [BZ #13726]
1652 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1653 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1654 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1655 * stdio-common/tst-long-dbl-fphex.c: New file.
1656
e9258400
DM
16572012-03-06 David S. Miller <davem@davemloft.net>
1658
1659 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1660 (set_obp_int): New function.
1661 (get_obp_int): New function.
1662 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1663 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1664 Avoid unused variable warnings on 'val' and use builtin_expect.
1665 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1666 __builtin_expect.
e9258400
DM
1667 (INLINE_CLONE_SYSCALL): Likewise.
1668
3bd2c723
DM
16692012-03-05 David S. Miller <davem@davemloft.net>
1670
1671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1672
bbb78d03
AS
16732012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1674
884c5db4
AS
1675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1676
bbb78d03
AS
1677 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1678 only for |x| >= 40.
1679 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1680
1c9f702a 16812012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1682
1683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1684 Replace gettimeofday with __vdso_gettimeofday.
1685
7be16f82
RM
1686 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1687 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1688 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1689
1690 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1691 time with __vdso_time.
1692
ed58a00f
JM
16932012-03-05 Joseph Myers <joseph@codesourcery.com>
1694
1695 * manual/lang.texi (size_t): Note types to which size_t may be
1696 equivalent with the GNU C Library, but do not describe when
1697 differences between them are significant.
1698
30ee4ced
AJ
16992012-03-05 Andreas Jaeger <aj@suse.de>
1700
1701 * sysdeps/i386/fpu/libm-test-ulps: Update.
1702
b7cd39e8
JM
17032012-03-05 Joseph Myers <joseph@codesourcery.com>
1704
1705 [BZ #3976]
1706 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1707 (__ieee754_pow): Save and restore rounding mode and use
1708 round-to-nearest for main computations.
1709 * math/libm-test.inc (pow_test_tonearest): New function.
1710 (pow_test_towardzero): Likewise.
1711 (pow_test_downward): Likewise.
1712 (pow_test_upward): Likewise.
1713 (main): Call the new functions.
1714 * sysdeps/i386/fpu/libm-test-ulps: Update.
1715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1716
1717 [BZ #3976]
1718 * math/libm-test.inc (cosh_test_tonearest): New function.
1719 (cosh_test_towardzero): Likewise.
1720 (cosh_test_downward): Likewise.
1721 (cosh_test_upward): Likewise.
1722 (sinh_test_tonearest): Likewise.
1723 (sinh_test_towardzero): Likewise.
1724 (sinh_test_downward): Likewise.
1725 (sinh_test_upward): Likewise.
1726 (main): Call the new functions.
1727 * sysdeps/i386/fpu/libm-test-ulps: Update.
1728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1729
6c6a98c9
TV
17302012-03-05 Tom de Vries <tom@codesourcery.com>
1731
1732 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1733 default stack guard is set in last bytes.
1734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1735
21bb2d2e 17362012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1737
21bb2d2e 1738 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1739
21bb2d2e
AJ
1740 [BZ #13656]
1741 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1742 possibly allocate from heap instead of stack.
1743 * stdio-common/bug-vfprintf-nargs.c: New file.
1744 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1745
c6922934
AS
17462012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1747
1748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1749
bc957d53
MP
17502012-03-03 Marek Polacek <polacek@redhat.com>
1751
1752 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1753 * math/math_private.h: Likewise.
1754 * stdlib/tst-strtod.c: Likewise.
1755 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1756 * sysdeps/x86_64/bits/atomic.h: Likewise.
1757
6358490d
DM
17582012-03-02 David S. Miller <davem@davemloft.net>
1759
1760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1764 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1765 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1766 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1767 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1768
01ae168d
RM
17692012-03-02 Roland McGrath <roland@hack.frob.com>
1770
d9a17c07
RM
1771 [BZ #13792]
1772 * manual/examples/README: New file, says the example source files
1773 can be used under GPL>=2.
1774 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1775 line containing just "*/".
1776 * manual/examples/add.c: Add copyright header (GPL>=2).
1777 * manual/examples/argp-ex1.c: Likewise.
1778 * manual/examples/argp-ex2.c: Likewise.
1779 * manual/examples/argp-ex3.c: Likewise.
1780 * manual/examples/argp-ex4.c: Likewise.
1781 * manual/examples/atexit.c: Likewise.
1782 * manual/examples/db.c: Likewise.
1783 * manual/examples/dir.c: Likewise.
1784 * manual/examples/dir2.c: Likewise.
1785 * manual/examples/execinfo.c: Likewise.
1786 * manual/examples/filecli.c: Likewise.
1787 * manual/examples/filesrv.c: Likewise.
1788 * manual/examples/fmtmsgexpl.c: Likewise.
1789 * manual/examples/genpass.c: Likewise.
1790 * manual/examples/inetcli.c: Likewise.
1791 * manual/examples/inetsrv.c: Likewise.
1792 * manual/examples/isockad.c: Likewise.
1793 * manual/examples/longopt.c: Likewise.
1794 * manual/examples/memopen.c: Likewise.
1795 * manual/examples/memstrm.c: Likewise.
1796 * manual/examples/mkfsock.c: Likewise.
1797 * manual/examples/mkisock.c: Likewise.
1798 * manual/examples/mygetpass.c: Likewise.
1799 * manual/examples/pipe.c: Likewise.
1800 * manual/examples/popen.c: Likewise.
1801 * manual/examples/rprintf.c: Likewise.
1802 * manual/examples/search.c: Likewise.
1803 * manual/examples/select.c: Likewise.
1804 * manual/examples/setjmp.c: Likewise.
1805 * manual/examples/sigh1.c: Likewise.
1806 * manual/examples/sigusr.c: Likewise.
1807 * manual/examples/stpcpy.c: Likewise.
1808 * manual/examples/strdupa.c: Likewise.
1809 * manual/examples/strftim.c: Likewise.
1810 * manual/examples/strncat.c: Likewise.
1811 * manual/examples/subopt.c: Likewise.
1812 * manual/examples/swapcontext.c: Likewise.
1813 * manual/examples/termios.c: Likewise.
1814 * manual/examples/testopt.c: Likewise.
1815 * manual/examples/testpass.c: Likewise.
1816 * manual/examples/timeval_subtract.c: Likewise.
1817
01ae168d
RM
1818 [BZ #13792]
1819 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1820 function to ...
1821 * manual/timeval_subtract.c.texi: ... here, new file.
1822
49efa33d
DM
18232012-03-02 David S. Miller <davem@davemloft.net>
1824
1825 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1826
28afd92d
JM
18272012-03-02 Joseph Myers <joseph@codesourcery.com>
1828
804360ed
JM
1829 [BZ #3976]
1830 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1831 (__sin): Save and restore rounding mode and use round-to-nearest
1832 for all computations.
1833 (__cos): Save and restore rounding mode and use round-to-nearest
1834 for all computations.
1835 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1836 <fenv.h>.
1837 (tan): Save and restore rounding mode and use round-to-nearest for
1838 all computations.
1839 * math/libm-test.inc (cos_test_tonearest): New function.
1840 (cos_test_towardzero): Likewise.
1841 (cos_test_downward): Likewise.
1842 (cos_test_upward): Likewise.
1843 (sin_test_tonearest): Likewise.
1844 (sin_test_towardzero): Likewise.
1845 (sin_test_downward): Likewise.
1846 (sin_test_upward): Likewise.
1847 (tan_test_tonearest): Likewise.
1848 (tan_test_towardzero): Likewise.
1849 (tan_test_downward): Likewise.
1850 (tan_test_upward): Likewise.
1851 (main): Call the new functions.
1852 * sysdeps/i386/fpu/libm-test-ulps: Update.
1853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1854
a6d06d7b
JM
1855 [BZ #10135]
1856 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1857 small n, then large n, before computing and testing k+n.
1858 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1859 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1860 Likewise.
1861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1862 Likewise.
1863 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1864 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1865 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1866 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1867 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1868 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1869 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1870 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1871 * math/libm-test.inc (scalbn_test): Add more tests.
1872 (scalbln_test): Likewise.
1873
07e12bb3
JM
1874 * manual/filesys.texi (mode_t): Describe constraints on size and
1875 signedness, not exact equivalence to a particular type.
1876 (ino_t): Likewise.
1877 (ino64_t): Likewise.
1878 (dev_t): Likewise.
1879 (nlink_t): Likewise.
1880 (blkcnt_t): Likewise.
1881 (blkcnt64_t): Likewise.
1882 * manual/llio.texi (off_t): Likewise.
1883
28afd92d
JM
1884 [BZ #3976]
1885 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1886 (__ieee754_exp): Save and restore rounding mode and use
1887 round-to-nearest for all computations.
1888 * math/libm-test.inc (exp_test_tonearest): New function.
1889 (exp_test_towardzero): Likewise.
1890 (exp_test_downward): Likewise.
1891 (exp_test_upward): Likewise.
1892 (main): Call the new functions.
1893 * sysdeps/i386/fpu/libm-test-ulps: Update.
1894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1895
b1eeb65d
CD
18962012-03-01 Chris Demetriou <cgd@google.com>
1897
1898 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1899 have predictable order.
1900
53362a4b
DM
19012012-03-01 David S. Miller <davem@davemloft.net>
1902
3c969083
DM
1903 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1904
759707de
DM
1905 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1906 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1907 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1908 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1909
dfdb8ff2
DM
1910 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1911 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1912 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1914 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1915 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1916 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1917 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1918 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1919
ead89f96
DM
1920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1921
7f66bd07
DM
1922 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1923 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1924 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1925
53362a4b
DM
1926 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1927 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1928 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1929 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1930 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1931 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1932 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1933 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1934 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1935 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1936 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1937 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1939 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1940 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1942 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1943 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1944 * sysdeps/sparc/elf/configure: Regenerated.
1945
7b1902cb
JM
19462012-03-01 Joseph Myers <joseph@codesourcery.com>
1947
bec039bc
JM
1948 * configure.in (AS, LD): Require binutils 2.20 or later.
1949 * configure: Regenerated.
1950 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1951 as required minimum version.
1952 * INSTALL: Regenerated.
1953
7b1902cb
JM
1954 [BZ #2541]
1955 [BZ #4108]
1956 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1957 before squaring exponent.
1958 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1959 bottom long double and 27 bits of top long double before squaring
1960 exponent.
1961 * math/libm-test.inc (erfc_test): Add more tests.
1962 * sysdeps/i386/fpu/libm-test-ulps: Update.
1963 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1965
f775c276
KT
19662012-03-01 Kai Tietz <ktietz@redhat.com>
1967
1968 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1969 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1970 containing bit-fields.
1971 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1972 * soft-fp/single.h (_FP_UNION_S): Likewise.
1973 * soft-fp/double.h (_FP_UNION_D): Likewise.
1974
5b8a4d4a
JM
19752012-02-29 Joseph Myers <joseph@codesourcery.com>
1976
0bab47b6
JM
1977 [BZ #13786]
1978 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1979 not include ../strcmp.S.
1980 [USE_AS_STRNCASECMP_L]: Likewise.
1981 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1982 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1983 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1984 (__strncasecmp_l_ia32): Define as alias to
1985 __strncasecmp_l_nonascii.
1986
0fcad3e2
JM
1987 [BZ #5794]
1988 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1989 * sysdeps/i386/fpu/libm-test-ulps: Update.
1990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1991
5b8a4d4a
JM
1992 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1994
8fdceb2e
JL
19952012-02-29 Jeff Law <law@redhat.com>
1996
1997 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1998 out of bounds read.
1999
1f393a11
MP
20002012-02-29 Marek Polacek <polacek@redhat.com>
2001
2002 [BZ #13706]
2003 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2004 * elf/Makefile: Add rules to run tst-unused-dep.out.
2005
8847f037
DM
20062012-02-28 David S. Miller <davem@davemloft.net>
2007
2008 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2009 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2010 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2011 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2012 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2013 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2014
169d7f11
JM
20152012-02-29 Joseph Myers <joseph@codesourcery.com>
2016
2017 * math/libm-test.inc (llround_test): Move one test from
2018 lround_test. Use TEST_f_L in moved test.
2019 (lround_test): Move misplaced test to llround_test. Add testcase
2020 from bug 2561.
2021
39adf059
UD
20222012-02-28 Ulrich Drepper <drepper@gmail.com>
2023
2024 * sysdeps/x86_64/fpu/e_expf.S: New file.
2025 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2026
71b5d1c5
SB
20272012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2028
2029 [BZ #13637]
2030 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2031 of remain_len that may cause incomplete multi-byte character and
2032 false match.
2033 * posix/bug-regex33.c: New file.
2034 * posix/Makefile (tests): Add bug-regex33.
2035
1f77f049
JM
20362012-02-28 Joseph Myers <joseph@codesourcery.com>
2037
2038 * manual/macros.texi: New file.
2039 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2040 * manual/libc.texinfo: Include macros.texi.
2041 * manual/creatute.texi: Likewise.
2042 * manual/install.texi: Likewise.
2043 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2044 @glibcadj{} in references to the GNU C Library.
2045 * manual/charset.texi: Likewise.
2046 * manual/conf.texi: Likewise.
2047 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2048 when not using those macros.
2049 * manual/creature.texi: Likewise.
2050 * manual/crypt.texi: Likewise.
2051 * manual/errno.texi: Likewise.
2052 * manual/filesys.texi: Likewise.
2053 * manual/header.texi: Likewise.
2054 * manual/install.texi: Likewise.
2055 * manual/intro.texi: Likewise.
2056 * manual/io.texi: Likewise.
2057 * manual/job.texi: Likewise.
2058 * manual/lang.texi: Likewise.
2059 * manual/libc.texiinfo: Likewise.
2060 * manual/llio.texi: Likewise.
2061 * manual/locale.texi: Likewise.
2062 * manual/maint.texi: Likewise.
2063 * manual/math.texi: Likewise.
2064 * manual/memory.texi: Likewise.
2065 * manual/message.texi: Likewise.
2066 * manual/nss.texi: Likewise.
2067 * manual/pattern.texi: Likewise.
2068 * manual/process.texi: Likewise.
2069 * manual/resource.texi: Likewise.
2070 * manual/search.texi: Likewise.
2071 * manual/setjmp.texi: Likewise.
2072 * manual/signal.texi: Likewise.
2073 * manual/socket.texi: Likewise.
2074 * manual/startup.texi: Likewise.
2075 * manual/stdio.texi: Likewise.
2076 * manual/string.texi: Likewise.
2077 * manual/sysinfo.texi: Likewise.
2078 * manual/syslog.texi: Likewise.
2079 * manual/terminal.texi: Likewise.
2080 * manual/time.texi: Likewise.
2081 * manual/users.texi: Likewise.
2082 * INSTALL: Regenerated.
2083 * NOTES: Regenerated.
d40c5d54 2084 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2085
450bf206
AS
20862012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2087
2088 * include/dirent.h: Include <dirstream.h> before
2089 <dirent/dirent.h>.
2090
741a235b
DM
20912012-02-28 David S. Miller <davem@davemloft.net>
2092
2093 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2094 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2095 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2096 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2097
d6b5aa58
DM
20982012-02-27 David S. Miller <davem@davemloft.net>
2099
1aff59a3
DM
2100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2102 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2103 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2104
d6b5aa58
DM
2105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2106 frame pointer instead of stack pointer relative arg slot.
2107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2108 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2109 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2110
433f48bf
CD
21112012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2112
2113 [BZ #3992]
2114 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2115
d674b76d
DM
21162012-02-27 David S. Miller <davem@davemloft.net>
2117
2118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2122 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2123 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2124 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2125 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2126
0e7727f7
JM
21272012-02-27 Joseph Myers <joseph@codesourcery.com>
2128
2129 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2130 later. Allow versions 5-9.
43be4ca2 2131 * configure: Regenerated.
0e7727f7
JM
2132 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2133 required minimum version and 4.6 as recommended version. Do not
2134 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2135 * INSTALL: Regenerated.
0e7727f7 2136
a78bc654
DM
21372012-02-27 David S. Miller <davem@davemloft.net>
2138
428d5830
DM
2139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2143 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2144 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2145 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2146 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2147
a78bc654
DM
2148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2149 manipulate bits before adding and subtracting TWO112[sx].
2150 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2151
4579f81c
RM
21522012-02-27 Roland McGrath <roland@hack.frob.com>
2153
36c8acb4
RM
2154 [BZ #13775]
2155 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2156 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2157 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2158 being in POSIX, because they are in 1003.1-2008.
2159
84ad622b
RM
2160 * rt/tst-aio.c: Include <fcntl.h>.
2161 * rt/tst-aio7.c: Likewise.
2162 * rt/tst-aio64.c: Likewise.
2163
4579f81c
RM
2164 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2165
abd923db
JM
21662012-02-27 Joseph Myers <joseph@codesourcery.com>
2167
2168 * manual/install.texi (--with-headers): Describe headers as
2169 interface headers, not private headers.
2170 (Specific advice for GNU/Linux systems): Describe use of headers
2171 from "make headers_install", not private headers from older
2172 kernels.
43be4ca2 2173 * INSTALL: Regenerated.
abd923db
JM
2174 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2175 Change to 2.6.19.
2176 * sysdeps/unix/sysv/linux/configure: Regenerated.
2177
6664049b
JM
2178 * manual/llio.texi (fclean): Remove documentation.
2179
bb8b6697
JM
2180 * manual/Makefile (libc-texi-generated): New variable. Include
2181 version.texi.
2182 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2183 $(libc-texi-generated), not duplicated list of files.
2184 (version.texi, stamp-version): New rules.
2185 (realclean): Remove $(libc-texi-generated), not individual files
2186 from that list. Do not remove dir-add.texinfo.
2187 * manual/libc.texinfo: Comment out uses of edition numbers and
2188 references to printed manual. Remove last-updated dates.
2189 (EDITION): Comment out.
2190 (ISBN): Likewise.
2191 (VERSION, UPDATED): Remove.
2192 (version.texi): Include.
2193
12e5c3b9
AS
21942012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2195
2196 * sysdeps/posix/spawni.c: Include <signal.h>.
2197 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2198 * sysdeps/pthread/aio_fsync.c: Likewise.
2199
4efeffc1 22002012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2201
ba63ba08
UD
2202 * conform/Makefile (tests): Run only when not cross-compiling and
2203 when fast-check is not defined.
2204
d94a4670
UD
2205 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2206 * conform/data/limits.h-data: Fixes for POSIX2008.
2207 * conform/run-conformtest.sh: Run all tests.
2208 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2209 headers.
2210 * include/bits/dlfcn.h: Likewise.
2211 * include/langinfo.h: Likewise.
2212 * include/monetary.h: Likewise.
2213 * include/sys/poll.h: Likewise.
2214
2215 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2216 for __USE_GNU.
2217 * posix/spawn.h: Define __need_sigset_t.
2218 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2219 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2220 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2221 to get sigevent_t only.
2222 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2223 only for __USE_GNU.
2224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2225 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2226 process_vm_writev only for __USE_GNU.
2227 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2228
2229 * conform/Makefile: For now ignore errors from run-conformtest.
2230 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2231 POSIX to avoid namespace pollution. Don't prepend headers.
2232 * conform/data/aio.h-data: Fixes for POSIX testing.
2233 * conform/data/fcntl.h-data: Likewise.
2234 * conform/data/glob.h-data: Likewise.
2235 * conform/data/grp.h-data: Likewise.
2236 * conform/data/pthread.h-data: Likewise.
2237 * conform/data/pwd.h-data: Likewise.
2238 * conform/data/signal.h-data: Likewise.
2239 * conform/data/spawn.h-data: Likewise.
2240 * conform/data/stdio.h-data: Likewise.
2241 * conform/data/stdlib.h-data: Likewise.
2242 * conform/data/stropts.h-data: Likewise.
2243 * conform/data/sys/mman.h-data: Likewise.
2244 * conform/data/sys/stat.h-data: Likewise.
2245 * conform/data/sys/types.h-data: Likewise.
2246 * conform/data/sys/wait.h-data: Likewise.
2247 * conform/data/time.h-data: Likewise.
2248 * conform/data/unistd.h-data: Likewise.
2249 * conform/data/utime.h-data: Likewise.
2250
2251 * io/sys/stat.h: fchmod was always in POSIX.
2252 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2253 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2254 * rt/aio.h: Define __need_timespec before including <time.h>.
2255 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2256 struct. Add forward declaration of pthread_attr_t and use it in
2257 sigevent.
2258 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2259 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2260 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2261 always remove CLK_TCK definition.
2262
c20105c3
AS
22632012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2264
2265 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2266
7a270350
UD
22672012-02-25 Ulrich Drepper <drepper@gmail.com>
2268
31341567
UD
2269 * conform/run-conformtest.sh: New file.
2270 * conform/Makefile: Run run-conformtest for tests.
2271 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2272 support.
2273
2274 * conform/data/uchar.h-data: New file.
2275 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2276 * conform/data/arpa/inet.h-data: Likewise.
2277 * conform/data/assert.h-data: Likewise.
2278 * conform/data/complex.h-data: Likewise.
2279 * conform/data/cpio.h-data: Likewise.
2280 * conform/data/ctype.h-data: Likewise.
2281 * conform/data/dirent.h-data: Likewise.
2282 * conform/data/dlfcn.h-data: Likewise.
2283 * conform/data/errno.h-data: Likewise.
2284 * conform/data/fcntl.h-data: Likewise.
2285 * conform/data/float.h-data: Likewise.
2286 * conform/data/fmtmsg.h-data: Likewise.
2287 * conform/data/fnmatch.h-data: Likewise.
2288 * conform/data/ftw.h-data: Likewise.
2289 * conform/data/glob.h-data: Likewise.
2290 * conform/data/grp.h-data: Likewise.
2291 * conform/data/iconv.h-data: Likewise.
2292 * conform/data/inttypes.h-data: Likewise.
2293 * conform/data/langinfo.h-data: Likewise.
2294 * conform/data/libgen.h-data: Likewise.
2295 * conform/data/limits.h-data: Likewise.
2296 * conform/data/locale.h-data: Likewise.
2297 * conform/data/math.h-data: Likewise.
2298 * conform/data/monetary.h-data: Likewise.
2299 * conform/data/mqueue.h-data: Likewise.
2300 * conform/data/ndbm.h-data: Likewise.
2301 * conform/data/net/if.h-data: Likewise.
2302 * conform/data/netdb.h-data: Likewise.
2303 * conform/data/netinet/in.h-data: Likewise.
2304 * conform/data/nl_types.h-data: Likewise.
2305 * conform/data/poll.h-data: Likewise.
2306 * conform/data/pthread.h-data: Likewise.
2307 * conform/data/pwd.h-data: Likewise.
2308 * conform/data/regex.h-data: Likewise.
2309 * conform/data/sched.h-data: Likewise.
2310 * conform/data/search.h-data: Likewise.
2311 * conform/data/semaphore.h-data: Likewise.
2312 * conform/data/setjmp.h-data: Likewise.
2313 * conform/data/signal.h-data: Likewise.
2314 * conform/data/spawn.h-data: Likewise.
2315 * conform/data/stdarg.h-data: Likewise.
2316 * conform/data/stdio.h-data: Likewise.
2317 * conform/data/stdlib.h-data: Likewise.
2318 * conform/data/string.h-data: Likewise.
2319 * conform/data/strings.h-data: Likewise.
2320 * conform/data/stropts.h-data: Likewise.
2321 * conform/data/sys/ipc.h-data: Likewise.
2322 * conform/data/sys/mman.h-data: Likewise.
2323 * conform/data/sys/msg.h-data: Likewise.
2324 * conform/data/sys/resource.h-data: Likewise.
2325 * conform/data/sys/select.h-data: Likewise.
2326 * conform/data/sys/sem.h-data: Likewise.
2327 * conform/data/sys/shm.h-data: Likewise.
2328 * conform/data/sys/socket.h-data: Likewise.
2329 * conform/data/sys/stat.h-data: Likewise.
2330 * conform/data/sys/statvfs.h-data: Likewise.
2331 * conform/data/sys/time.h-data: Likewise.
2332 * conform/data/sys/timeb.h-data: Likewise.
2333 * conform/data/sys/times.h-data: Likewise.
2334 * conform/data/sys/types.h-data: Likewise.
2335 * conform/data/sys/uio.h-data: Likewise.
2336 * conform/data/sys/un.h-data: Likewise.
2337 * conform/data/sys/utsname.h-data: Likewise.
2338 * conform/data/sys/wait.h-data: Likewise.
2339 * conform/data/syslog.h-data: Likewise.
2340 * conform/data/tar.h-data: Likewise.
2341 * conform/data/termios.h-data: Likewise.
2342 * conform/data/utime.h-data: Likewise.
2343 * conform/data/utmpx.h-data: Likewise.
2344 * conform/data/varargs.h-data: Likewise.
2345 * conform/data/wchar.h-data: Likewise.
2346 * conform/data/wctype.h-data: Likewise.
2347 * conform/data/wordexp.h-data: Likewise.
2348
2349 * include/stropts.h: New file.
2350 * include/uchar.h: New file.
2351 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2352 * include/assert.h: Likewise.
2353 * include/ctype.h: Likewise.
2354 * include/dirent.h: Likewise.
2355 * include/dlfcn.h: Likewise.
2356 * include/fcntl.h: Likewise.
2357 * include/fnmatch.h: Likewise.
2358 * include/glob.h: Likewise.
2359 * include/grp.h: Likewise.
2360 * include/libio.h: Likewise.
2361 * include/locale.h: Likewise.
2362 * include/math.h: Likewise.
2363 * include/net/if.h: Likewise.
2364 * include/netdb.h: Likewise.
2365 * include/netinet/in.h: Likewise.
2366 * include/pthread.h: Likewise.
2367 * include/pwd.h: Likewise.
2368 * include/regex.h: Likewise.
2369 * include/sched.h: Likewise.
2370 * include/search.h: Likewise.
2371 * include/setjmp.h: Likewise.
2372 * include/signal.h: Likewise.
2373 * include/stdio.h: Likewise.
2374 * include/stdlib.h: Likewise.
2375 * include/string.h: Likewise.
2376 * include/sys/cdefs.h: Likewise.
2377 * include/sys/mman.h: Likewise.
2378 * include/sys/msg.h: Likewise.
2379 * include/sys/resource.h: Likewise.
2380 * include/sys/select.h: Likewise.
2381 * include/sys/socket.h: Likewise.
2382 * include/sys/stat.h: Likewise.
2383 * include/sys/statvfs.h: Likewise.
2384 * include/sys/time.h: Likewise.
2385 * include/sys/times.h: Likewise.
2386 * include/sys/uio.h: Likewise.
2387 * include/sys/utsname.h: Likewise.
2388 * include/sys/wait.h: Likewise.
2389 * include/termios.h: Likewise.
2390 * include/time.h: Likewise.
2391 * include/ulimit.h: Likewise.
2392 * include/unistd.h: Likewise.
2393 * include/utime.h: Likewise.
2394 * include/wchar.h: Likewise.
2395 * include/wctype.h: Likewise.
2396 * include/wordexp.h: Likewise.
2397
2398 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2399
7a270350
UD
2400 * time/time.h: TIME_UTC must be a macro.
2401 Make timespec_get available for ISO C11 only as well.
2402
7724defc
UD
24032012-02-24 Ulrich Drepper <drepper@gmail.com>
2404
2405 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2406 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2407
6b1d1d46
JM
24082012-02-24 Joseph Myers <joseph@codesourcery.com>
2409
2410 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2411
0f8bbd69
JM
24122012-02-24 Joseph Myers <joseph@codesourcery.com>
2413
2414 * manual/texinfo.tex: Update to version 2012-01-19.16.
2415
66ab80bc
JM
24162012-02-24 Joseph Myers <joseph@codesourcery.com>
2417
2418 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2419
74981cc5
RM
24202012-02-24 Roland McGrath <roland@hack.frob.com>
2421
ee968201
RM
2422 [BZ #13738]
2423 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2424 * manual/fdl-1.3.texi: New file.
2425 * manual/fdl-1.1.texi: File removed.
2426
74981cc5
RM
2427 [BZ #13738]
2428 * manual/libc.texinfo (FDL_VERSION): New @set.
2429 Use it for mention of FDL in cover text.
2430 (Documentation License): Use it in @include file name.
2431
7bb764bc
JM
24322012-02-22 Joseph Myers <joseph@codesourcery.com>
2433 Roland McGrath <roland@hack.frob.com>
2434
2435 [BZ #5461]
2436 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2437 not LONG_LONG_MAX and LONG_LONG_MIN.
2438 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2439 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2440 name.
2441 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2442
6cbeae47
JM
24432012-02-22 Joseph Myers <joseph@codesourcery.com>
2444
2445 [BZ #2547]
2446 [BZ #11365]
2447 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2448 manipulate bits before adding and subtracting TWO23[sx].
2449 * math/libm-test.inc (nearbyint_test): Add more tests.
2450
fe45ce09
JM
24512012-02-22 Joseph Myers <joseph@codesourcery.com>
2452
2453 [BZ #2548]
2454 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2455 bits before adding and subtracting TWO23[sx].
2456 * math/libm-test.inc (rint_test): Add more tests.
2457 (rint_test_tonearest): Likewise.
2458 (rint_test_towardzero): Likewise.
2459 (rint_test_downward): Likewise.
2460 (rint_test_upward: Likewise.
2461
ff3b3d82
JM
24622012-02-22 Joseph Myers <joseph@codesourcery.com>
2463
2464 [BZ #10110]
2465 * include/stdc-predef.h: New file. Extracted from features.h.
2466 * include/features.h: Include stdc-predef.h.
2467 * Makefile (headers): Add stdc-predef.h.
2468 * CONFORMANCE (Compiler limitations): Update.
2469
ef0aab35
JM
24702012-02-22 Joseph Myers <joseph@codesourcery.com>
2471
2472 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2473
58639409
DM
24742012-02-21 David S. Miller <davem@davemloft.net>
2475
2476 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2477 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2478
c0e70b25
DM
24792012-02-20 David S. Miller <davem@davemloft.net>
2480
2481 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2482 using a normal save/restore sequence, rather than allocating a
2483 dummy stack frame just to store a frame pointer and restore.
2484 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2485
fb06851d
JM
24862012-02-21 Joseph Myers <joseph@codesourcery.com>
2487
2488 * manual/install.texi: Fix stray word in line-wrapped comment.
2489
7a8b71c3
DM
24902012-02-20 David S. Miller <davem@davemloft.net>
2491
d510c123
DM
2492 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2493 both binutils and gcc support GOTDATA.
2494
0722d7c2
DM
2495 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2496 "rd %pc" in the PIC register setup sequences.
2497
3d2b3019
DM
2498 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2499 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2500 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2501 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2502 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2504 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2505 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2506 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2507 (SYSCALL_ERROR_HANDLER): Likewise.
2508 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2509 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2511 (SYSCALL_ERROR_HANDLER): Likewise.
2512
c80098a9
DM
2513 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2514 (HAVE_GCC_GOTDATA): New.
2515 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2516 relocation support in both binutils and gcc.
2517 * sysdeps/sparc/elf/configure: Regenerate.
2518
3a2545a0
DM
2519 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2520 * sysdeps/sparc/sparc32/elf/configure: Delete.
2521 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2522 * sysdeps/sparc/sparc64/elf/configure: Delete.
2523 * sysdeps/sparc/elf/configure.in: New file.
2524 * sysdeps/sparc/elf/configure: Generate.
2525
7a8b71c3
DM
2526 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2527 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2528 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2529 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2530 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2531
f1e86fca
JM
25322012-02-21 Joseph Myers <joseph@codesourcery.com>
2533
2534 * manual/install.texi: Do not mention specific glibc version
2535 numbers.
2536 * manual/libc.texinfo (VERSION, UPDATED): Update.
2537 (@copying): Use @copyright{} and range of years.
2538
0e7dfaef
JM
25392012-02-21 Joseph Myers <joseph@codesourcery.com>
2540
2541 [BZ #13695]
2542 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2543 [crti.S not in sysdirs] (generated): Do not append.
2544 [crti.S not in sysdirs] (omit-deps): Likewise.
2545 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2546 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2547 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2548 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2549 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2550 Likewise.
2551 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2552 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2553 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2554 * csu/defs.awk: Remove file.
2555 * sysdeps/generic/initfini.c: Likewise.
2556 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2557 variable.
2558 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2559 Likewise.
2560
599af3ca
JM
25612012-02-20 Joseph Myers <joseph@codesourcery.com>
2562
2563 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2564 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2565 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2566 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2567 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2568 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2569 <bits/epoll.h>.
2570 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2571 (__EPOLL_PACKED): Define to empty if not defined by
2572 <bits/epoll.h>.
2573 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2575 bits/epoll.h.
2576
0e499750
JM
25772012-02-20 Joseph Myers <joseph@codesourcery.com>
2578
2579 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2580 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2581 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2582 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2583 <bits/timerfd.h>.
2584 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2586 bits/timerfd.h.
2587
5ad91f6e
JM
25882012-02-20 Joseph Myers <joseph@codesourcery.com>
2589
2590 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2591 in C locale.
2592 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2593 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2594 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2596
06b99b02
AJ
25972012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2598
2599 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2600 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2601
7638c0fd
AS
26022012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2603
2604 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2605 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2606 defined.
2607 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2608 Likewise.
2609 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2610 entry for 2.16.
2611
92221550
AJ
26122012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2613
2614 * math/w_acos.c: Use non-signaling floating-point comparisons.
2615 * math/w_acosf.c: Likewise.
2616 * math/w_acosh.c: Likewise.
2617 * math/w_acoshf.c: Likewise.
2618 * math/w_acoshl.c: Likewise.
2619 * math/w_acosl.c: Likewise.
2620 * math/w_asin.c: Likewise.
2621 * math/w_asinf.c: Likewise.
2622 * math/w_asinl.c: Likewise.
2623 * math/w_atanh.c: Likewise.
2624 * math/w_atanhf.c: Likewise.
2625 * math/w_atanhl.c: Likewise.
2626 * math/w_exp2.c: Likewise.
2627 * math/w_exp2f.c: Likewise.
2628 * math/w_exp2l.c: Likewise.
2629 * math/w_j0.c: Likewise.
2630 * math/w_j0f.c: Likewise.
2631 * math/w_j0l.c: Likewise.
2632 * math/w_j1.c: Likewise.
2633 * math/w_j1f.c: Likewise.
2634 * math/w_j1l.c: Likewise.
2635 * math/w_jn.c: Likewise.
2636 * math/w_jnf.c: Likewise.
2637 * math/w_log.c: Likewise.
2638 * math/w_log10.c: Likewise.
2639 * math/w_log10f.c: Likewise.
2640 * math/w_log10l.c: Likewise.
2641 * math/w_log2.c: Likewise.
2642 * math/w_log2f.c: Likewise.
2643 * math/w_log2l.c: Likewise.
2644 * math/w_logf.c: Likewise.
2645 * math/w_logl.c: Likewise.
2646 * math/w_sqrt.c: Likewise.
2647 * math/w_sqrtf.c: Likewise.
2648 * math/w_sqrtl.c: Likewise.
2649 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2650 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2651 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2652 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2653 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2654
ebaf36eb
JM
26552012-02-19 Joseph Myers <joseph@codesourcery.com>
2656
2657 [BZ #9739]
2658 * manual/string.texi (strnlen): Use correct parameter name in
2659 equivalent expression.
2660
71c254a6
JM
26612012-02-19 Joseph Myers <joseph@codesourcery.com>
2662
2663 [BZ #11174]
2664 * manual/users.texi (seteuid): Consistently use neweuid for
2665 argument name.
2666
16d2c631
JM
26672012-02-19 Joseph Myers <joseph@codesourcery.com>
2668
2669 [BZ #13704]
2670 * manual/nss.texi (Services in the NSS configuration): Correct
2671 list of services in example configuration file.
2672
cd837b09
NB
26732012-02-19 Nick Bowler <nbowler@draconx.ca>
2674
2675 [BZ #11322]
2676 * manual/arith.texi: Remove statements about negative zero
2677 behaving identically to zero.
2678
02c4bbad
JM
26792012-02-18 Joseph Myers <joseph@codesourcery.com>
2680
2681 [BZ #5993]
2682 * manual/install.texi: Do not document upgrading from libc5.
2683
366842e7
JM
26842012-02-18 Joseph Myers <joseph@codesourcery.com>
2685
2686 [BZ #4596]
2687 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2688
dd54084d
DM
26892012-02-18 David S. Miller <davem@davemloft.net>
2690
2691 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2692 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2693 %o7 across the call.
2694 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2695 instead.
2696 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2697 SETUP_PIC_REG_LEAF.
2698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2699 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2700 * sysdeps/sparc/crtn.S: Likewise.
2701
2bcc53a3
UD
27022012-02-17 Ulrich Drepper <drepper@gmail.com>
2703
2704 * aout/Makefile: Remove.
2705
09c093b5
RK
27062012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2707
2708 [BZ #13058]
2709 * manual/examples/argp-ex1.c (main): Format definition in GNU
2710 style.
2711 * manual/examples/argp-ex2.c (main): Likewise.
2712 * manual/examples/argp-ex3.c (main): Likewise.
2713 * manual/examples/argp-ex4.c (main): Likewise.
2714 * manual/examples/longopt.c (main): Use new-style prototype
2715 definition.
2716 * manual/examples/strncat.c (main): Specify return type and use
2717 (void) for arguments.
2718 * manual/examples/subopt.c (main): Use char **argv argument.
2719
2ee633a2
JM
27202012-02-17 Joseph Myers <joseph@codesourcery.com>
2721
2722 [BZ #5077]
2723 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2724 rounding modes.
2725
0520adde
FB
27262012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2727
2728 [BZ #6907]
2729 * manual/string.texi (strchr): Change when strchrnul is
2730 recommended.
2731
3f4081cd
DGM
27322012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2733
2734 [BZ #174]
2735 * manual/locale.texi (setlocale): Document LOCPATH.
2736
d1b10e78
JM
27372012-02-17 Joseph Myers <joseph@codesourcery.com>
2738
2739 [BZ #10210]
2740 * manual/process.texi (execle): Move @dots{} before last argument.
2741
79c6869c
PB
27422012-02-17 Paul Bolle <pebolle@tiscali.nl>
2743
2744 [BZ #12047]
2745 * manual/charset.texi (Generic Charset Conversion): Fix typo
2746 (LC_TYPE -> LC_CTYPE).
2747
cc6e48bc
NB
27482012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2749
2750 [BZ #5805]
2751 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2752 (scalbnf): Likewise.
2753 (scalbnl): Likewise.
2754 (scalbln): Likewise.
2755 (scalblnf): Likewise.
2756 (scalblnl): Likewise.
2757 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2758 (vwarnx): Likewise.
2759 (verr): Likewise.
2760 (verrx): Likewise.
2761 * manual/filesys.texi (telldir): Use braces around return type.
2762 * manual/llio.texi (mmap): Add space after comma.
2763 (mmap64): Likewise.
2764 * manual/math.texi (jn): Use @var{} on parameter names.
2765 (jnf): Likewise.
2766 (jnl): Likewise.
2767 (yn): Likewise.
2768 (ynf): Likewise.
2769 (ynl): Likewise.
2770 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2771 line.
2772 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2773 "...".
2774 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2775 (sched_get_priority_max): Likewise.
2776 * manual/signal.texi (sigvec): Add space after comma.
2777 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2778 names.
2779 (if_indextoname): Likewise.
2780 (if_freenameindex): Likewise.
2781 (sendto): Use ',' instead of '.' in prototype.
2782 * manual/startup.texi (syscall): Use @dots{} instead of literal
2783 "...".
2784 * manual/stdio.texi (__fpending): Separate initial words of
2785 paragraph from @deftypefun line.
2786 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2787 "...".
2788 (vsyslog): Use @var{} on parameter names.
2789 * manual/terminal.texi (stty): Use @var{} on parameter names.
2790 * manual/users.texi (getutmp): Use @var{} on parameter names.
2791 (getutmpx): Likewise.
2792
5b23062f
JM
27932012-02-17 Joseph Myers <joseph@codesourcery.com>
2794
2795 [BZ #6884]
2796 * manual/stdio.texi (fopen): Fix typos in description of
2797 ",ccs=STRING".
2798
8dee4833
AJ
27992012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2800
2801 [BZ #4026]
2802 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2803 get clock_id definition.
2804
9078ce93
TS
28052012-02-17 Thomas Schwinge <thomas@schwinge.name>
2806
2807 [BZ #4822]
2808 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2809 (madvise): Cast every argument to void on its own.
2810
3835c55f
JM
28112012-02-17 Joseph Myers <joseph@codesourcery.com>
2812
2813 [BZ #9902]
2814 * manual/startup.texi (Exit Status): Fix typo.
2815
35c47e37
JM
28162012-02-17 Joseph Myers <joseph@codesourcery.com>
2817
2818 [BZ #10140]
2819 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2820 * manual/examples/argp-ex2.c: Likewise.
2821 * manual/examples/argp-ex3.c: Likewise.
2822
e3b69ca7
RH
28232012-02-16 Richard Henderson <rth@redhat.com>
2824
2825 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2826 * sysdeps/s390/s390-32/initfini.c: Remove.
2827 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2828 * sysdeps/s390/s390-64/initfini.c: Remove.
2829
df83af67
KK
28302012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2831
2832 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2833 compiler output for sysdeps/generic/initfini.c.
2834 * sysdeps/sh/elf/initfini.c: Remove file.
2835
f63f3380
DM
28362012-02-16 David S. Miller <davem@davemloft.net>
2837
fb59b3a4
DM
2838 [BZ #11494]
2839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2840
f63f3380
DM
2841 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2842 * sysdeps/sparc/crti.S: New file.
2843 * sysdeps/sparc/crtn.S: New file.
2844 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2845 * sysdeps/sparc/sparc64/Makefile: Likewise.
2846
df6a4a4a
MF
28472012-02-15 Mike Frysinger <vapier@gentoo.org>
2848
6dd8f3dc 2849 [BZ #3335]
df6a4a4a
MF
2850 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2851
1cac7236
RM
28522012-02-15 Roland McGrath <roland@hack.frob.com>
2853
d2c736f8
RM
2854 [BZ #4822]
2855 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2856
1cac7236
RM
2857 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2858 (write, read, close): Likewise.
2859 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2860
8e475601
JM
28612012-02-15 Joseph Myers <joseph@codesourcery.com>
2862
2863 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2864 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2865 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2866 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2867 <bits/signalfd.h>.
2868 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2870 bits/signalfd.h.
2871
ed656b40
MP
28722012-02-14 Marek Polacek <polacek@redhat.com>
2873
2874 * sysdeps/x86_64/crti.S: New file.
2875 * sysdeps/x86_64/crtn.S: New file.
2876 * sysdeps/x86_64/elf/initfini.c: Remove file.
2877
2a979d3a
JM
28782012-02-13 Joseph Myers <joseph@codesourcery.com>
2879
2880 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2881 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2882 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2883 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2884 <bits/inotify.h>.
2885 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2887 bits/inotify.h.
2888
2a418ac3
JM
28892012-02-13 Joseph Myers <joseph@codesourcery.com>
2890
2891 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2892 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2894 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2895 <bits/eventfd.h>.
2896 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2898 bits/eventfd.h.
2899
fb779be7
TS
29002012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2901
e19e83c5
RM
2902 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2903 __feraiseexcept instead of feraiseexcept.
7c35ffed 2904
fb779be7
TS
2905 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2906 nanosleep invocations.
2907 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2908 strings, and add error checking for a nanosleep invocations.
2909
59ba27a6
PE
29102012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2911
2912 Replace FSF snail mail address with URLs, as per GNU coding standards.
2913 Most of the snail mail addresses were wrong anyway, and omitting
2914 them makes the source code easier to maintain. Almost all of the
2915 changes are to license notices and to locale LC_IDENTIFICATION
2916 addresses, except for this one:
2917 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2918 not its snail mail address.
2919
57b957eb
RH
29202012-02-09 Richard Henderson <rth@twiddle.net>
2921
af850b1c
RH
2922 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2923 of kernel-features.h.
2924
57b957eb
RH
2925 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2926
6b73181a
MP
29272012-02-08 Marek Polacek <polacek@redhat.com>
2928
2929 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2930 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2931 * sysdeps/gnu/_G_config.h: Likewise.
2932 * sysdeps/generic/_G_config.h: Likewise.
2933
26ecc33a
AS
29342012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2935
6c6dbc63
AS
2936 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2937 tests.
2938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2939
e216c012
AS
2940 * sysdeps/powerpc/powerpc32/crti.S: New file.
2941 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2942 * sysdeps/powerpc/powerpc64/crti.S: New file.
2943 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2944
26ecc33a
AS
2945 * Makeconfig (have-initfini): Don't set.
2946 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2947 * configure.in (nopic_initfini): Don't substitute.
2948 * config.h.in (HAVE_INITFINI): Don't #undef.
2949 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2950 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2951
3add8e13
JM
29522012-02-08 Joseph Myers <joseph@codesourcery.com>
2953
2954 Support crti.S and crtn.S provided directly by architectures.
2955 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2956 [crti.S in sysdirs] (omit-deps): Likewise.
2957 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2958 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2959 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2960 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2961 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2962 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2963 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2964 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2965 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2966 compiler output for sysdeps/generic/initfini.c.
2967 * sysdeps/i386/elf/Makefile: Remove file.
2968 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2969
a22f12b4
MP
29702012-02-07 Marek Polacek <polacek@redhat.com>
2971
2972 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2973 * sysdeps/gnu/_G_config.h: Likewise.
2974 * sysdeps/mach/hurd/_G_config.h: Likewise.
2975
148cf100
MP
29762012-02-07 Marek Polacek <polacek@redhat.com>
2977
2978 * math/Makefile (tests): Add tst-CMPLX2.
2979 * math/tst-CMPLX2.c: New file.
2980
cfdc0dd7
AS
29812012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2982
84ba42c4
AS
2983 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2984
cfdc0dd7
AS
2985 * math/libm-test.inc (jn_test): Add missing L suffix.
2986
622c86f4
MP
29872012-02-06 Marek Polacek <polacek@redhat.com>
2988
2989 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2990 * sysdeps/i386/fpu/e_powf.S: Likewise.
2991 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2992 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2993 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2994 * sysdeps/i386/fpu/e_pow.S: Likewise.
2995 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2996 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2997 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2998 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2999 * sysdeps/i386/fpu/e_log2.S: Likewise.
3000 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3001 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3002 * sysdeps/i386/fpu/e_powl.S: Likewise.
3003 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3004 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3005 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3006 * sysdeps/i386/fpu/e_logl.S: Likewise.
3007 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3008 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3009 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3010 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3011 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3012 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3013 * sysdeps/i386/fpu/e_log.S: Likewise.
3014 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3015 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3016 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3017 * sysdeps/i386/fpu/e_logf.S: Likewise.
3018 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3019 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3020 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3021 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3022 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3023 * sysdeps/i386/fpu/e_log10.S: Likewise.
3024 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3025 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3026 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3027 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3028 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3029 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3030 * sysdeps/i386/asm-syntax.h: Likewise.
3031 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3032 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3033 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3034 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3035 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3036 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3037 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3038 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3039 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3040 * sysdeps/powerpc/sysdep.h: Likewise.
3041 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3042 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3043
d4a54ac6
JM
30442012-02-06 Joseph Myers <joseph@codesourcery.com>
3045
3046 [BZ #411]
3047 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3048
314054ea
JM
30492012-02-06 Joseph Myers <joseph@codesourcery.com>
3050
3051 * sysdeps/i386/sysdep.h: Include <features.h>.
3052 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3053 version.
3054
d8e0ca50
JM
30552012-02-05 Joseph Myers <joseph@codesourcery.com>
3056
3057 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3058 Define.
3059 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3060 LOAD_PIC_REG_STR.
3061
b1da7dd9
JM
30622012-02-03 Joseph Myers <joseph@codesourcery.com>
3063
3064 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3065 (SETUP_PIC_REG): Use GET_PC_THUNK.
3066 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3067 macro.
3068
9a1d9254
JM
30692012-02-03 Joseph Myers <joseph@codesourcery.com>
3070
3071 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3072 for non-PIC compilation.
3073 (SETUP_PIC_REG): Add .p2align directive.
3074 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3075 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3076 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3077 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3078 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3079 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3080 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3081 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3082 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3083 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3084 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3085 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3086 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3087 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3088 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3089 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3090 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3091 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3092 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3093 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3094 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3095 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3096 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3097 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3100 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3101 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3102 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3103 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3104 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3105 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3106 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3107 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3108 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3109 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3110 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3111 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3112 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3113 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3114 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3115
65dc3b75
JM
31162012-02-03 Joseph Myers <joseph@codesourcery.com>
3117
3118 * math/tst-CMPLX.c: Include <stdio.h>.
3119
d55bf177
JM
31202012-01-31 Joseph Myers <joseph@codesourcery.com>
3121
3122 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3123 float.
3124 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3125 * sysdeps/sparc/bits/mathdef.h: Likewise.
3126
69db4f8f
MP
31272012-01-31 Marek Polacek <polacek@redhat.com>
3128
3129 * libio/libio.h: Don't define _PARAMS.
3130 * locale/programs/config.h: Don't define PARAMS.
3131 * stdlib/strtol_l.c: Likewise.
3132 (__strtol_l): Remove PARAMS from the prototype.
3133
41b81892
UD
31342012-01-31 Ulrich Drepper <drepper@gmail.com>
3135
3b49edc0
UD
3136 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3137 names. Just use the correct names. Remove unnecessary wrapper
3138 functions.
3139 * malloc/arena.c: Likewise.
3140 * malloc/hooks.c: Likewise.
3141
41b81892
UD
3142 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3143 ARENA_TEST says not to. Simplify test for creation of a new arena.
3144 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3145
27a25b6e
UD
31462012-01-30 Ulrich Drepper <drepper@gmail.com>
3147
3148 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3149 into tail calls.
3150 (update_get_addr): New function.
3151 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3152 GET_ADDR_MODULE parameter.
3153
c8a89e7d
JM
31542012-01-30 Joseph Myers <joseph@codesourcery.com>
3155
3156 * crypt/cert.c: Remove __STDC__ conditionals.
3157 * crypt/crypt-entry.c: Likewise.
3158 * crypt/crypt_util.c: Likewise.
3159 * libio/filedoalloc.c: Likewise.
3160 * libio/fileops.c: Likewise.
3161 * libio/genops.c: Likewise.
3162 * libio/iofclose.c: Likewise.
3163 * libio/iofdopen.c: Likewise.
3164 * libio/iofopen.c: Likewise.
3165 * libio/iofopen64.c: Likewise.
3166 * libio/iogetdelim.c: Likewise.
3167 * libio/iopopen.c: Likewise.
3168 * libio/obprintf.c: Likewise.
3169 * libio/oldfileops.c: Likewise.
3170 * libio/oldiofclose.c: Likewise.
3171 * libio/oldiofdopen.c: Likewise.
3172 * libio/oldiofopen.c: Likewise.
3173 * libio/oldiopopen.c: Likewise.
3174 * libio/wfiledoalloc.c: Likewise.
3175 * libio/wgenops.c: Likewise.
3176 * locale/programs/xmalloc.c: Likewise.
3177 * misc/syslog.c: Likewise.
3178 * stdio-common/xbug.c: Likewise.
3179 * string/memchr.c: Likewise.
3180 * string/memcmp.c: Likewise.
3181 * string/memrchr.c: Likewise.
3182 * string/rawmemchr.c: Likewise.
3183 * sysdeps/posix/getcwd.c: Likewise.
3184 * time/strftime_l.c: Likewise.
3185
3b100462
JM
31862012-01-30 Joseph Myers <joseph@codesourcery.com>
3187
3188 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3189 * config.make.in (config-cflags-sse2avx): Define.
3190 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3191 Fix typo.
3192
607998af
CM
31932012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3194
3195 * scripts/config.guess: Update from upstream config git repository.
3196 * scripts/config.sub: Likewise.
3197
3601428f
CM
31982012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3199
3ac8b282
CM
3200 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3201 (EM_NUM): Update.
3202 (R_TILEPRO_*, R_TILEGX_*): New macros.
3203
e034841e
CM
3204 * scripts/firstversions.awk: Fix bug in version range handling.
3205
540d7568
CM
3206 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3207
3601428f
CM
3208 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3209
463de862
CM
3210 * include/sys/epoll.h: New file.
3211 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3212 libc_hidden_def.
3213
73139a76
UD
32142012-01-28 Ulrich Drepper <drepper@gmail.com>
3215
96bc5b45
UD
3216 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3217 Avoid unnecessary __WORDSIZE == 64 test.
3218 (fmaxf): Use VEX format if possible.
3219 (fmax): Likewise.
3220 (fminf): Likewise.
3221 (fmin): Likewise.
3222
56f6f6a2
UD
3223 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3224 * math/math_private.h: Remove libc_fegetround* and
3225 libc_fesetround*.
3226 * sysdeps/i386/configure.in: Check for -msse2avx.
3227 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3228 also if SSE2AVX is defined.
3229 Remove libc_fegetround* and libc_fesetround*.
3230 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3231 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3232 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3233 of HAS_YMM_USABLE.
3234 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3235 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3236 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3237 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3238 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3239
73139a76
UD
3240 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3241
d73f93a4
AZ
32422012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3243
3244 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3245 size is not set.
3246 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3247
6ee65ed6
UD
32482012-01-27 Ulrich Drepper <drepper@gmail.com>
3249
3250 [BZ #13618]
3251 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3252 relocation.
3253 * Makeconfig (libm): Define.
3254 * elf/Makefile: Add rules to build and run tst-relsort1.
3255 * elf/tst-relsort1.c: New file.
3256 * elf/tst-relsort1mod1.c: New file.
3257 * elf/tst-relsort1mod2.c: New file.
3258
8db21882
JM
32592012-01-27 Joseph Myers <joseph@codesourcery.com>
3260
3261 * math/s_ldexp.c: Remove __STDC__ conditionals.
3262 * math/s_ldexpf.c: Likewise.
3263 * math/s_ldexpl.c: Likewise.
3264 * math/s_nextafter.c: Likewise.
3265 * math/s_nexttowardf.c: Likewise.
3266 * math/s_significand.c: Likewise.
3267 * math/s_significandf.c: Likewise.
3268 * math/s_significandl.c: Likewise.
3269 * math/w_jnl.c: Likewise.
3270 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3271 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3272 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3273 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3274 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3275 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3276 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3277 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3278 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3279 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3280 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3281 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3282 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3283 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3284 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3285 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3286 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3287 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3289 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3290 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3291 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3292 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3293 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3294 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3295 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3296 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3297 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3298 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3299 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3300 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3301 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3302 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3303 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3304 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3305 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3306 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3307 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3308 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3309 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3310 * sysdeps/ieee754/k_standard.c: Likewise.
3311 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3312 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3313 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3314 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3315 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3316 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3317 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3318 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3319 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3320 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3321 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3322 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3323 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3324 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3325 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3326 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3327 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3328 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3329 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3330 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3331 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3332 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3333 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3334 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3335 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3336 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3337 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3338 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3339 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3340 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3341 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3342 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3343 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3344 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3347 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3348 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3349 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3350 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3351 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3352 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3353 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3354 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3355 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3356 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3357 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3359 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3360 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3361 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3364 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3365 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3367 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3368 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3369 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3371 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3372 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3373 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3374 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3375 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3376 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3377 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3378 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3379 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3380 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3381 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3383 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3384 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3385 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3386 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3387 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3388 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3389 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3390 * sysdeps/ieee754/s_matherr.c: Likewise.
3391 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3392 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3393 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3394 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3395
965a54a4
JM
33962012-01-26 Joseph Myers <joseph@codesourcery.com>
3397
3398 * crypt/md5.h: Remove __STDC__ conditionals.
3399 * libio/libioP.h: Likewise.
3400 * locale/programs/config.h: Likewise.
3401 * sysdeps/generic/sysdep.h: Likewise.
3402 * sysdeps/i386/asm-syntax.h: Likewise.
3403 * sysdeps/s390/asm-syntax.h: Likewise.
3404 * sysdeps/unix/sysdep.h: Likewise.
3405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3407
7071ad79
JM
34082012-01-26 Joseph Myers <joseph@codesourcery.com>
3409
3410 * libio/libio.h: Remove __STDC__ conditionals.
3411 * malloc/obstack.h: Likewise.
3412 * math/complex.h: Likewise.
3413 * math/math.h: Likewise.
3414 * sysdeps/generic/_G_config.h: Likewise.
3415 * sysdeps/gnu/_G_config.h: Likewise.
3416 * sysdeps/mach/hurd/_G_config.h: Likewise.
3417 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3418 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3419 * sysdeps/sparc/bits/mathdef.h: Likewise.
3420
afc5ed09
UD
34212012-01-26 Ulrich Drepper <drepper@gmail.com>
3422
3423 [BZ #13583]
3424 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3425 Clean up HAS_* macros.
afc5ed09 3426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3427 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3428 possible.
3429 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3430 HAS_AVX.
3431 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3432 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3433 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3434 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3435 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3436
bdb6de1d
JM
34372012-01-25 Joseph Myers <joseph@codesourcery.com>
3438
3439 * elf/tst-unique3.cc (gets): Remove declaration.
3440 * elf/tst-unique3lib.cc (gets): Likewise.
3441 * elf/tst-unique3lib2.cc (gets): Likewise.
3442 * elf/tst-unique4.cc (gets): Likewise.
3443
b15549e6
UD
34442012-01-24 Ulrich Drepper <drepper@gmail.com>
3445
3446 * include/stdio.h: Add C++ protection. Add gets declarations and
3447 definitions.
3448 * debug/tst-chk1.c: Don't declare gets here.
3449 * stdio-common/tst-gets.c: Likewise.
3450
a037381f
JM
34512012-01-24 Joseph Myers <joseph@codesourcery.com>
3452
3453 * posix/glob: Remove directory.
3454
f1d4aa75
JM
34552012-01-24 Joseph Myers <joseph@codesourcery.com>
3456
3457 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3458
81c0c964
PT
34592012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3460
3461 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3462 of the non-standard EPFNOSUPPORT.
3463
0ea698ae
ST
34642011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3465
3466 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3467 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3468 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3469
d220b117
UD
34702012-01-21 Ulrich Drepper <drepper@gmail.com>
3471
3472 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3473
3e1aa84e
UD
34742012-01-20 Ulrich Drepper <drepper@gmail.com>
3475
3476 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3477 transient errors.
3478 * nscd/grpcache.c (cache_addgr): Likewise.
3479 * nscd/hstcache.c (cache_addhst): Likewise.
3480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3481 * nscd/pwdcache.c (cache_addpw): Likewise.
3482 * nscd/servicescache.c (cache_addserv): Likewise.
3483
400aa020
UD
34842012-01-16 Ulrich Drepper <drepper@gmail.com>
3485
d77e7869
UD
3486 * malloc/malloc.c: Various cleanups.
3487 * malloc/hooks.c: Likewise.
3488
400aa020
UD
3489 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3490 * stdlib/bug-fmtmsg1.c: New file.
3491
3492 * stdlib/fmtmsg.c (init): Add missing unlock.
3493 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3494
e0a309cf
MP
34952012-01-12 Marek Polacek <polacek@redhat.com>
3496
3497 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3498 and _GNU_SOURCE.
3499
929d11c7
WS
35002012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3501
3502 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3503 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3504 macro to ensure uniqueness of label name.
3505 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3506 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3507
41d0e869
UD
35082012-01-11 Ulrich Drepper <drepper@gmail.com>
3509
0cc5ed3b
UD
3510 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3511
41d0e869
UD
3512 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3513 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3514 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3515 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3516
a47a831a
UD
35172012-01-10 Ulrich Drepper <drepper@gmail.com>
3518
daa891c0
UD
3519 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3520
3521 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3522 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3523 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3524
e58ef0f2
UD
3525 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3526
a47a831a 3527 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3528 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3529 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3530 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3531
3532 * math/bits/math-finite.h: Add ldexp support.
3533
a0bfc9c7
MP
35342012-01-10 Marek Polacek <polacek@redhat.com>
3535
3536 * locale/programs/localedef.h (show_archive_content): Add noreturn
3537 attribute.
3538
d6e97a1d
UD
35392012-01-09 Ulrich Drepper <drepper@gmail.com>
3540
3541 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3542
d5835c26
UD
35432012-01-08 Ulrich Drepper <drepper@gmail.com>
3544
e5f484c6
UD
3545 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3546
d5835c26
UD
3547 * io/Makefile (headers): Add bits/poll2.h.
3548
d1f741e9
WS
35492011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3550
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3552 typo #include statement.
3553
ec09c1c4
UD
35542012-01-08 Ulrich Drepper <drepper@gmail.com>
3555
3556 * include/sys/cdefs.h: Define __attribute_alloc_size.
3557 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3558 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3559 * elf/pldd.c: Likewise.
3560 * iconv/iconv_charmap.c: Likewise.
3561 * iconv/iconvconfig.c: Likewise.
3562 * iconv/strtab.c: Likewise.
3563 * locale/programs/locale.c: Likewise.
3564 * locale/programs/localedef.h: Likewise.
3565 * locale/programs/simple-hash.c: Likewise.
3566 * nscd/nscd.h: Likewise.
3567 * nss/makedb.c: Likewise.
3568 * sysdeps/generic/ldconfig.h: Likewise.
3569 * locale/programs/localedef.c: Remove xmalloc prototype.
3570 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3571
20b38e03
PP
35722012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3573
3574 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3575 appropriate.
3576
a0da5fe1
UD
35772012-01-08 Ulrich Drepper <drepper@gmail.com>
3578
1d5a644a 3579 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3580 * math/tst-CMPLX.c: New file.
1d5a644a 3581
8784a6db
UD
3582 * math/complex.h (CMPLXL): Fix typo.
3583
d9a216c0
UD
3584 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3585 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3586 GLIBC_2.16.
3587 * debug/tst-chk1.c: Add poll and ppoll tests.
3588 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3589 * include/sys/poll.h: Add hidden proto for ppoll.
3590 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3591 * sysdeps/mach/hurd/ppoll.c: Likewise.
3592 * io/ppoll.c: Likewise.
3593 * debug/poll_chk.c: New file.
3594 * debug/ppoll_chk.c: New file.
3595 * include/bits/poll2.h: New file.
3596 * io/bits/poll2.h: New file.
3597
ac097f5c
UD
3598 [BZ #1350]
3599 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3600
2119dcfa
UD
3601 * configure.in: static is always set to yes. Remove.
3602 * config.make.in: Don't set build-static.
3603 * Makeconfig: Remove use of build-static.
3604 * dlfcn/Makefile: Likewise.
3605 * elf/Makefile: Likewise.
3606 * math/Makefile: Likewise.
3607 * misc/Makefile: Likewise.
3608 * nptl/Makefile: Likewise.
3609 * sysdeps/mach/hurd/Makefile: Likewise.
3610
121766a9
UD
3611 * configure.in: PWD_P is not used anymore.
3612 * config.make.in: Remove PWD_P entry.
3613
51a1d39c 3614 * configure.in: Remove last remnants of RANLIB.
8720d066 3615 No need to check for signed size_t anymore.
215f4bdc
UD
3616 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3617 and IA-64.
3857022a 3618 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3619 * aclocal.m4: Likewise.
3620
d3ed7225
UD
3621 * wcsmbs/mbrtoc16.c: Implement using towc function.
3622 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3623 * wcsmbs/wcsmbsload.c: Likewise.
3624 * iconv/gconv_simple.c: Likewise.
3625 * iconv/gconv_int.h: Likewise.
3626 * iconv/gconv_builtin.h: Likewise.
3627 * iconv/iconv_prog.c: Remove CHAR16 handling.
3628
3629 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3630
3631 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3632
a0da5fe1
UD
3633 * configure.in: Remove --with-elf and --enable-bounded options.
3634 Dont set base_machine for ia64. More non-ELF conditions removed.
3635 Remove testing and setting of leading underscore information.
3636 * config.make.in (build-bounded): Set to no.
3637 * config.h.in: Remove NO_UNDERSCORES entry.
3638 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3639 them.
3640 * csu/start.c: Remove !NO_UNDERSCORE code.
3641 * locale/localeinfo.h: Likewise.
3642 * sysdeps/generic/machine-gmon.h: Likewise.
3643 * sysdeps/generic/sysdep.h: Likewise.
3644 * sysdeps/i386/sysdep.h: Likewise.
3645 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3646 * sysdeps/mach/sysdep.h: Likewise.
3647 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3648 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3649 * sysdeps/sh/sysdep.h: Likewise.
3650 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3651 * sysdeps/unix/i386/sysdep.S: Likewise.
3652 * sysdeps/unix/sparc/start.c: Likewise.
3653 * sysdeps/unix/sparc/sysdep.S: Likewise.
3654 * sysdeps/unix/sparc/sysdep.h: Likewise.
3655 * sysdeps/unix/start.c: Likewise.
3656 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3657 * sysdeps/x86_64/sysdep.h: Likewise.
3658
df78418a
UD
36592012-01-07 Ulrich Drepper <drepper@gmail.com>
3660
a784e502
UD
3661 [BZ #13553]
3662 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3663 for non-gcc.
3664 * argp/argp-fmtstream.h: Use const instead __const.
3665 * argp/argp.h: Likewise.
3666 * assert/assert.h: Likewise.
3667 * bits/fenv.h: Likewise.
3668 * bits/sched.h: Likewise.
3669 * bits/sigset.h: Likewise.
3670 * bits/sigthread.h: Likewise.
3671 * catgets/nl_types.h: Likewise.
3672 * conform/data/pthread.h-data: Likewise.
3673 * crypt/crypt-private.h: Likewise.
3674 * crypt/crypt.h: Likewise.
3675 * crypt/crypt_util.c: Likewise.
3676 * ctype/ctype.h: Likewise.
3677 * debug/execinfo.h: Likewise.
3678 * debug/mbsnrtowcs_chk.c: Likewise.
3679 * debug/mbsrtowcs_chk.c: Likewise.
3680 * debug/wcsnrtombs_chk.c: Likewise.
3681 * debug/wcsrtombs_chk.c: Likewise.
3682 * debug/wcstombs_chk.c: Likewise.
3683 * dirent/dirent.h: Likewise.
3684 * dlfcn/dlfcn.h: Likewise.
3685 * elf/neededtest4.c: Likewise.
3686 * grp/grp.h: Likewise.
3687 * gshadow/gshadow.h: Likewise.
3688 * iconv/gconv.h: Likewise.
3689 * iconv/gconv_int.h: Likewise.
3690 * iconv/gconv_simple.c: Likewise.
3691 * iconv/iconv.h: Likewise.
3692 * iconv/loop.c: Likewise.
3693 * iconv/skeleton.c: Likewise.
3694 * include/aio.h: Likewise.
3695 * include/aliases.h: Likewise.
3696 * include/argz.h: Likewise.
3697 * include/arpa/inet.h: Likewise.
3698 * include/assert.h: Likewise.
3699 * include/dirent.h: Likewise.
3700 * include/dlfcn.h: Likewise.
3701 * include/execinfo.h: Likewise.
3702 * include/fcntl.h: Likewise.
3703 * include/fenv.h: Likewise.
3704 * include/glob.h: Likewise.
3705 * include/grp.h: Likewise.
3706 * include/libintl.h: Likewise.
3707 * include/mntent.h: Likewise.
3708 * include/netdb.h: Likewise.
3709 * include/pwd.h: Likewise.
3710 * include/rpc/netdb.h: Likewise.
3711 * include/sched.h: Likewise.
3712 * include/search.h: Likewise.
3713 * include/shadow.h: Likewise.
3714 * include/signal.h: Likewise.
3715 * include/stdio.h: Likewise.
3716 * include/stdlib.h: Likewise.
3717 * include/string.h: Likewise.
3718 * include/sys/socket.h: Likewise.
3719 * include/sys/stat.h: Likewise.
3720 * include/sys/statfs.h: Likewise.
3721 * include/sys/statvfs.h: Likewise.
3722 * include/sys/syslog.h: Likewise.
3723 * include/sys/time.h: Likewise.
3724 * include/sys/uio.h: Likewise.
3725 * include/time.h: Likewise.
3726 * include/unistd.h: Likewise.
3727 * include/utmp.h: Likewise.
3728 * include/wchar.h: Likewise.
3729 * include/wctype.h: Likewise.
3730 * inet/aliases.h: Likewise.
3731 * inet/arpa/inet.h: Likewise.
3732 * inet/netinet/ether.h: Likewise.
3733 * inet/netinet/in.h: Likewise.
3734 * intl/libintl.h: Likewise.
3735 * io/bits/fcntl2.h: Likewise.
3736 * io/fcntl.h: Likewise.
3737 * io/ftw.h: Likewise.
3738 * io/sys/poll.h: Likewise.
3739 * io/sys/stat.h: Likewise.
3740 * io/sys/statfs.h: Likewise.
3741 * io/sys/statvfs.h: Likewise.
3742 * io/utime.h: Likewise.
3743 * libio/bits/stdio.h: Likewise.
3744 * libio/bits/stdio2.h: Likewise.
3745 * libio/libio.h: Likewise.
3746 * libio/libioP.h: Likewise.
3747 * libio/stdio.h: Likewise.
3748 * locale/lc-ctype.c: Likewise.
3749 * locale/locale.h: Likewise.
3750 * login/utmp.h: Likewise.
3751 * malloc/arena.c: Likewise.
3752 * malloc/malloc.c: Likewise.
3753 * malloc/malloc.h: Likewise.
3754 * malloc/mcheck.c: Likewise.
3755 * malloc/mtrace.c: Likewise.
3756 * math/bits/mathcalls.h: Likewise.
3757 * math/fenv.h: Likewise.
3758 * math/math_private.h: Likewise.
3759 * misc/bits/error.h: Likewise.
3760 * misc/bits/syslog.h: Likewise.
3761 * misc/err.h: Likewise.
3762 * misc/error.h: Likewise.
3763 * misc/fstab.h: Likewise.
3764 * misc/mntent.h: Likewise.
3765 * misc/regexp.h: Likewise.
3766 * misc/search.h: Likewise.
3767 * misc/sgtty.h: Likewise.
3768 * misc/sys/mman.h: Likewise.
3769 * misc/sys/syslog.h: Likewise.
3770 * misc/sys/uio.h: Likewise.
3771 * misc/sys/xattr.h: Likewise.
3772 * misc/ttyent.h: Likewise.
3773 * nis/rpcsvc/ypclnt.h: Likewise.
3774 * nss/nss.h: Likewise.
3775 * posix/bits/unistd.h: Likewise.
3776 * posix/fnmatch.h: Likewise.
3777 * posix/glob.h: Likewise.
3778 * posix/sched.h: Likewise.
3779 * posix/spawn.h: Likewise.
3780 * posix/sys/wait.h: Likewise.
3781 * posix/unistd.h: Likewise.
3782 * posix/wordexp.h: Likewise.
3783 * pwd/pwd.h: Likewise.
3784 * resolv/netdb.h: Likewise.
3785 * resource/sys/resource.h: Likewise.
3786 * rt/aio.h: Likewise.
3787 * rt/bits/mqueue2.h: Likewise.
3788 * rt/mqueue.h: Likewise.
3789 * shadow/shadow.h: Likewise.
3790 * signal/signal.h: Likewise.
3791 * socket/send.c: Likewise.
3792 * socket/sendto.c: Likewise.
3793 * socket/sys/socket.h: Likewise.
3794 * stdio-common/printf.h: Likewise.
3795 * stdlib/bits/stdlib.h: Likewise.
3796 * stdlib/fmtmsg.h: Likewise.
3797 * stdlib/monetary.h: Likewise.
3798 * stdlib/stdlib.h: Likewise.
3799 * stdlib/ucontext.h: Likewise.
3800 * streams/stropts.h: Likewise.
3801 * string/argz.h: Likewise.
3802 * string/bits/string2.h: Likewise.
3803 * string/string.h: Likewise.
3804 * string/strings.h: Likewise.
3805 * sunrpc/rpc/auth.h: Likewise.
3806 * sunrpc/rpc/auth_des.h: Likewise.
3807 * sunrpc/rpc/clnt.h: Likewise.
3808 * sunrpc/rpc/netdb.h: Likewise.
3809 * sunrpc/rpc/pmap_clnt.h: Likewise.
3810 * sunrpc/rpc/xdr.h: Likewise.
3811 * sysdeps/generic/inttypes.h: Likewise.
3812 * sysdeps/generic/net/if.h: Likewise.
3813 * sysdeps/generic/sys/swap.h: Likewise.
3814 * sysdeps/gnu/net/if.h: Likewise.
3815 * sysdeps/gnu/utmpx.h: Likewise.
3816 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3817 * sysdeps/i386/i486/bits/string.h: Likewise.
3818 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3819 * sysdeps/s390/bits/string.h: Likewise.
3820 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3821 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3822 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3823 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3824 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3825 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3826 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3827 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3828 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3829 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3830 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3831 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3832 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3833 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3834 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3835 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3836 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3838 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3839 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3840 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3841 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3842 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3843 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3844 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3845 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3846 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3847 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3848 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3849 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3850 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3851 * sysvipc/sys/ipc.h: Likewise.
3852 * sysvipc/sys/msg.h: Likewise.
3853 * sysvipc/sys/sem.h: Likewise.
3854 * sysvipc/sys/shm.h: Likewise.
3855 * termios/termios.h: Likewise.
3856 * time/sys/time.h: Likewise.
3857 * time/time.h: Likewise.
3858 * wcsmbs/bits/wchar2.h: Likewise.
3859 * wcsmbs/uchar.h: Likewise.
3860 * wcsmbs/wchar.h: Likewise.
3861 * wctype/wctype.h: Likewise.
3862
0269750c
UD
3863 [BZ #13551]
3864 * Makeconfig: Remove all but ELF support including AIX support.
3865 * Makerules: Likewise.
3866 * config.h.in: Likewise.
3867 * config.make.in: Likewise.
3868 * configure: Likewise.
3869 * configure.in: Likewise.
3870 * csu/Makefile: Likewise.
3871 * csu/version.c: Likewise.
3872 * debug/Makefile: Likewise.
3873 * dlfcn/Makefile: Likewise.
3874 * elf/Makefile: Likewise.
3875 * extra-lib.mk: Likewise.
3876 * iconv/Makefile: Likewise.
3877 * include/libc-symbols.h: Likewise.
3878 * include/shlib-compat.h: Likewise.
3879 * resolv/Makefile: Likewise.
3880 * resolv/res_libc.c: Likewise.
3881 * rt/Makefile: Likewise.
3882 * sysdeps/i386/asm-syntax.h: Likewise.
3883 * sysdeps/i386/sysdep.h: Likewise.
3884 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3885 * sysdeps/mach/sysdep.h: Likewise.
3886 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3887 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3888 * sysdeps/s390/asm-syntax.h: Likewise.
3889 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3890 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3891 * sysdeps/sh/sysdep.h: Likewise.
3892 * sysdeps/unix/sparc/sysdep.h: Likewise.
3893 * sysdeps/wordsize-32/divdi3.c: Likewise.
3894 * sysdeps/x86_64/sysdep.h: Likewise.
3895
00bbd29b
UD
3896 * argp/Versions: Remove _argp_unlock_xxx.
3897
3898 [BZ #13559]
3899 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3900 * abilist/libBrokenLocale.abilist: Likewise.
3901 * abilist/libanl.abilist: Likewise.
3902 * abilist/libc.abilist: Likewise.
3903 * abilist/libcrypt.abilist: Likewise.
3904 * abilist/libdl.abilist: Likewise.
3905 * abilist/libm.abilist: Likewise.
3906 * abilist/libnsl.abilist: Likewise.
3907 * abilist/libpthread.abilist: Likewise.
3908 * abilist/libresolv.abilist: Likewise.
3909 * abilist/librt.abilist: Likewise.
3910 * abilist/libthread_db.abilist: Likewise.
3911 * abilist/libutil.abilist: Likewise.
3912 * abilist/libnss_db.abilist: New file.
3913
3914 * scripts/abilist.awk: Add support for indirect functions.
3915
a2693a0e
UD
3916 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3917
3f05895f
UD
3918 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3919
ecb6fb48
UD
3920 * shlib-versions: Remove entries for ports architectures.
3921
664f8cb9
UD
3922 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3923 files in ports.
3924 * elf/stackguard-macros.h: Remove support for IA-64.
3925 * elf/tst-auditmod1.c: Likewise.
3926 * sysdeps/generic/ldsodefs.h: Likewise.
3927
7ae81d88
UD
3928 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3929 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3930 configure files.
3931
bdeba135
UD
3932 [BZ #13552]
3933 * configure.in: Remove --enable-omitfp support.
3934 * FAQ.in: Adjust.
3935 * config.make.in: Likewise.
3936 * Makeconfig: Likewise.
3937 * manual/install.texi: Likewise.
3938
d75a0a62
UD
3939 In case anyone cares, the IA-64 architecture could move to ports.
3940 * sysdeps/ia64/*: Removed.
3941 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3942 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3943
dcc9756b
UD
3944 [BZ #13555]
3945 * configure.in: Remove entries for unsupported architectures.
3946
d3761ebc 3947 [BZ #13533]
9954432e
UD
3948 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3949 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3950 routines.
3951 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3952 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3953 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3954 fall back to using wcrtomb.
3955 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3956 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3957 renaming.
3958 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3959 * wcsmbs/tst-c16c32-1.c: New file.
3960
3961 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3962 local variable.
3963
c3a87236
UD
3964 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3965
28926a1b
UD
3966 * elf/tst-unique3.cc: Add explicit declaration of gets.
3967 * elf/tst-unique3lib.cc: Likewise.
3968 * elf/tst-unique3lib2.cc: Likewise.
3969 * elf/tst-unique4.cc: Likewise.
3970
df78418a
UD
3971 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3972
8ecd6b2a
JM
39732012-01-06 Joseph Myers <joseph@codesourcery.com>
3974
3975 [BZ #13566]
3976 * assert/assert.h (static_assert): Don't define for C++.
3977 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3978 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3979
9f115170
UD
39802012-01-03 Ulrich Drepper <drepper@gmail.com>
3981
5e0d0300
UD
3982 * iconv/loop.c (single loop): Fix assertion in storing of
3983 remaining bytes.
3984
9f115170
UD
3985 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3986
81fb02b0
UD
39872012-01-01 Ulrich Drepper <drepper@gmail.com>
3988
3989 * posix/getconf.c: Update copyright year.
3990 * nss/getent.c: Likewise.
a316c1f6 3991 * nss/makedb.c: Likewise.
81fb02b0
UD
3992 * iconv/iconvconfig.c: Likewise.
3993 * iconv/iconv_prog.c: Likewise.
3994 * elf/ldconfig.c: Likewise.
a316c1f6
UD
3995 * elf/pldd.c: Likewise.
3996 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
3997 * catgets/gencat.c: Likewise.
3998 * csu/version.c: Likewise.
3999 * elf/ldd.bash.in: Likewise.
4000 * elf/sprof.c (print_version): Likewise.
4001 * locale/programs/locale.c: Likewise.
4002 * locale/programs/localedef.c: Likewise.
a316c1f6 4003 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4004 * nscd/nscd.c (print_version): Likewise.
4005 * debug/xtrace.sh: Likewise.
4006 * malloc/memusage.sh: Likewise.
4007 * malloc/mtrace.pl: Likewise.
4008 * debug/catchsegv.sh: Likewise.
4009
2ba92745
JJ
40102011-12-30 Jakub Jelinek <jakub@redhat.com>
4011
4012 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4013 pure attribute.
4014
dadebdae
UD
40152011-12-24 Ulrich Drepper <drepper@gmail.com>
4016
d3761ebc 4017 [BZ #13533]
db6af3eb
UD
4018 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4019 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4020 transformations.
4021 * iconv/gconv_int.h: Likewise.
4022 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4023 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4024 from libc for GLIBC_2.16.
4025 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4026 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4027 * wcsmbs/uchar.h: Really define mbstate_t.
4028 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4029 * wcsmbs/c16rtomb.c: New file.
4030 * wcsmbs/mbrtoc16.c: New file.
4031 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4032 for C/POSIX locale.
4033 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4034 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4035
dadebdae
UD
4036 * wcsmbs/wchar.h: Add missing __restrict.
4037
67371b56
UD
40382011-12-23 Ulrich Drepper <drepper@gmail.com>
4039
74033a25
UD
4040 [BZ #13532]
4041 * time/Makefile (routines): Add timespec_get.
4042 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4043 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4044 timespec for ISO C11.
4045 * time/timespec_get.c: New file.
4046 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4047 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4048
380d7e87
UD
4049 [BZ #13531]
4050 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4051 * stdlib/stdlib.h: Declare aligned_alloc.
4052 * Versions.def: Add GLIBC_2.16 for libc.
4053 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4054
4e9e7a35
UD
4055 [BZ 13527]
4056 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4057 ISO C11.
4058
380d7e87 4059 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4060 code.
4061
03a71829
UD
4062 [BZ #13528]
4063 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4064
839e283e
UD
4065 [BZ #13529]
4066 * assert/assert.h (static_assert): Define.
4067
ce5294e2 4068 * version.h: Update for 2.16 development version.
90fa7312 4069
8d44e150 4070 [BZ #13526]
d7809905
UD
4071 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4072 _ISOC11_SOURCE.
4073
c0da14cd
UD
4074 * version.h (RELEASE): Bump for 2.15 release.
4075 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4076
530a3249
MP
4077 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4078 Patch by Marek Polacek <mpolacek@redhat.com>.
4079
67371b56
UD
4080 * bits/byteswap.h: Protect long long constants with __extension__.
4081 * sysdeps/i386/bits/byteswap.h: Likewise.
4082 * sysdeps/ia64/bits/byteswap.h: Likewise.
4083 * sysdeps/s390/bits/byteswap.h: Likewise.
4084 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4085
15db4de1
LD
40862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4087
4088 [BZ #13540]
bbe315ea
LD
4089 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4090 destination buffer.
15db4de1
LD
4091 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4092
2b2596b1
MP
40932011-12-23 Marek Polacek <polacek@redhat.com>
4094
4095 * elf/dl-addr.c (determine_info): Add inline keyword.
4096 * elf/tst-auditmod4b.c (check_avx): Likewise.
4097 * elf/tst-auditmod6b.c (check_avx): Likewise.
4098 * elf/tst-auditmod6c.c (check_avx): Likewise.
4099 * elf/tst-auditmod7b.c (check_avx): Likewise.
4100
70c6c246
UD
41012011-12-23 Ulrich Drepper <drepper@gmail.com>
4102
4103 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4104 !__SSE_MATH__.
4105
c044cf14
LD
41062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4107
15db4de1 4108 [BZ #13540]
c044cf14
LD
4109 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4110 processing for last bytes.
4111
6b13d9d9
BH
41122011-08-06 Bruno Haible <bruno@clisp.org>
4113
d455f537
BH
4114 [BZ #13061]
4115 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4116 U+0385, not to U+1FEE.
4117
6b13d9d9
BH
4118 [BZ #13062]
4119 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4120 entry for U+00A5 U+0301.
4121
db910efd
UD
41222011-12-22 Ulrich Drepper <drepper@gmail.com>
4123
27deeafc
UD
4124 [BZ #13166]
4125 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4126 buffer for the output is too small.
4127
aed9d171
UD
4128 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4129 optimization.
4130
db910efd
UD
4131 [BZ #13185]
4132 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4133 SSE flags if possible.
4134
2bd779ae
LD
41352011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4136
e7f9dac3 4137 [BZ #13540]
2bd779ae
LD
4138 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4139 processing for last bytes.
4140
154bfc16
JM
41412011-12-22 Joseph Myers <joseph@codesourcery.com>
4142
4143 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4144 (syscall-list-default-options, syscall-list-default-condition)
4145 (syscall-list-includes): Define.
4146 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4147 list of ABIs and options and #if conditions for each ABI. Do not
4148 handle common syscalls between ABIs specially.
4149 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4150 Remove.
4151 (syscall-list-variants, syscall-list-32bit-options)
4152 (syscall-list-32bit-condition, syscall-list-64bit-options)
4153 (syscall-list-64bit-condition): Define.
4154 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4155 (syscall-list-variants, syscall-list-32bit-options)
4156 (syscall-list-32bit-condition, syscall-list-64bit-options)
4157 (syscall-list-64bit-condition): Define.
4158 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4159 Remove.
4160 (syscall-list-variants, syscall-list-32bit-options)
4161 (syscall-list-32bit-condition, syscall-list-64bit-options)
4162 (syscall-list-64bit-condition): Define.
4163 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4164 Remove.
4165 (syscall-list-variants, syscall-list-32bit-options)
4166 (syscall-list-32bit-condition, syscall-list-64bit-options)
4167 (syscall-list-64bit-condition): Define.
4168
21eaf3a5
UD
41692011-12-22 Ulrich Drepper <drepper@gmail.com>
4170
16c6f992
UD
4171 * locale/iso-639.def: Add brx entry.
4172
41043168
UD
4173 [BZ #13328]
4174 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4175 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4176
21eaf3a5
UD
4177 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4178 __feraiseexcept_renamed.
4179
e3a851a2
UD
41802011-12-21 Ulrich Drepper <drepper@gmail.com>
4181
4920765e
UD
4182 [BZ #13538]
4183 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4184 EPOLLET with unsigned values.
4185 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4186 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4187
e3a851a2
UD
4188 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4189 to large cancellation.
4190 * math/s_cacoshf.c: Likewise.
4191 * math/s_cacoshl.c: Likewise.
4192
b27e24b8
RK
41932011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4194
4195 [BZ #13305]
aebefeee 4196 [BZ #12786]
b27e24b8
RK
4197 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4198 * math/s_cacoshf.c: Likewise.
4199 * math/s_cacoshl.c: Likewise.
4200
ee190f67
UD
42012011-12-21 Ulrich Drepper <drepper@gmail.com>
4202
4203 [BZ #13439]
4204 * iconv/gconv.h: Define __GCONV_SWAP.
4205 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4206 * iconvdata/utf-16.c: Likewise.
4207 * iconvdata/utf-32.c: Likewise.
4208
707f25df
AS
42092011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4210
4211 [BZ #13524]
4212 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4213 numerator after shifting it by one limb.
4214
d2daaa1e
RÁE
42152011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4216
4217 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4218 under [__USE_EXTERN_INLINES].
4219
a4647e72
UD
42202011-12-17 Ulrich Drepper <drepper@gmail.com>
4221
4222 [BZ #13446]
4223 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4224
f0b264f1
AZ
42252011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4226
4227 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4228 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4229 optimized code.
4230 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4231 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4232 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4233 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4234 for strncasecmp/strncasecmp_l compilation.
4235 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4236 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4237
8ef4f244
MP
42382011-12-08 Marek Polacek <mpolacek@redhat.com>
4239
4240 [BZ #13484]
4241 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4242 of __asm__.
4243
97ac2654
UD
42442011-12-17 Ulrich Drepper <drepper@gmail.com>
4245
4246 [BZ #13506]
4247 * time/tzfile.c (__tzfile_read): Check values from file header.
4248
91d2a845
WS
42492011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4250
4251 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4252 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4253 * powerpc/powerpc32/dl-start.S: Likewise.
4254 * powerpc/powerpc32/elf/start.S: Likewise.
4255 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4256 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4257 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4258 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4259 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4260 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4261 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4262 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4263 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4264 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4265 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4266 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4267 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4268 * powerpc/powerpc32/memset.S: Likewise.
4269 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4270 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4271 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4272 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4273 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4274 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4275 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4276 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4277 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4278 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4279 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4280 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4281 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4282
a1267ba1
AZ
42832011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4284
4285 * math/libm-test.inc: Added more nearbyint tests.
4286 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4287 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4289 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4290
ad8ac1bd
RL
42912011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4292
4293 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4294 FD_CLOEXEC.
4295
1d3e4b61
UD
42962011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4297
4298 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4299 Add wcscpy-ssse3 wcscpy-c.
4300 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4301 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4302 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4303 * sysdeps/x86_64/wcschr.S: New file.
4304 * sysdeps/x86_64/wcsrchr.S: New file.
4305 * string/test-strcmp.c: Remove checking of wcscmp function for
4306 wrong alignments.
4307 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4308 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4309 wcsrchr-sse2 wcsrchr-c.
4310 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4311 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4312 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4313 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4314 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4315 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4316 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4317 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4318 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4319 * wcsmbc/wcschr.c (WCSCHR): New macro.
4320
5b330a2d
UD
43212011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4322
4323 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4324 * wcsmbs/test-wcsrchr.c: New file.
4325 * string/test-strrchr.c: Add wcsrchr support.
4326 (WIDE): New macro.
4327 * wcsmbs/test-wcscpy.c: New file.
4328 * string/test-strcpy.c: Add wcscpy support.
4329 (WIDE): New macro.
26428b7c 4330
f039c043
UD
43312011-12-10 Ulrich Drepper <drepper@gmail.com>
4332
4333 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4334 the inner loop.
4335
850fb039
AS
43362011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4337
4338 [BZ #13472]
4339 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4340
4efbd5cb
UD
43412011-12-04 Ulrich Drepper <drepper@gmail.com>
4342
52ff5dd0 4343 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4344 Minor optimizations.
52ff5dd0 4345
4efbd5cb
UD
4346 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4347 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4348 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4349
8a426e12
UD
43502011-12-03 Ulrich Drepper <drepper@gmail.com>
4351
aff2453d
UD
4352 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4353 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4354 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4355 for gcc to avoid warnings.
4356 * inet/Makefile (tests): Add tst-checks.
4357 * inet/tst-checks.c: New file.
4358
4359 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4360 warning.
4361
4362 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4363 __wmemcmp_sse2.
4364
4365 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4366 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4367
8a426e12
UD
4368 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4369
9bea3473
UD
43702011-12-02 Ulrich Drepper <drepper@gmail.com>
4371
3a965496
UD
4372 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4373 problem.
4374
9bea3473
UD
4375 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4376
f101631b
UD
43772011-11-29 Joseph Myers <joseph@codesourcery.com>
4378
4379 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4380 conditional on GCC version.
4381 (__arch_compare_and_exchange_val_8_acq)
4382 (__arch_compare_and_exchange_val_16_acq)
4383 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4384 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4385 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4386
a98275aa
UD
43872011-12-02 Joseph Myers <joseph@codesourcery.com>
4388
4389 * sysdeps/sh/backtrace.c: New file.
4390
d4cc29a2
AS
43912011-12-02 Andreas Schwab <schwab@redhat.com>
4392
4393 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4394 parenthesis.
4395
6257af2d
AS
43962011-12-01 Andreas Schwab <schwab@redhat.com>
4397
4398 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4399 falling back to utime.
4400
b5f44c1a
AS
44012011-11-30 Andreas Schwab <schwab@redhat.com>
4402
4403 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4404 expectations for float.
4405
f3a6cc0a
AS
44062011-11-29 Andreas Schwab <schwab@redhat.com>
4407
4408 * locale/weight.h (findidx): Add parameter len.
4409 * locale/weightwc.h (findidx): Likewise.
4410 * posix/fnmatch_loop.c (FCT): Adjust caller.
4411 * posix/regcomp.c (build_equiv_class): Likewise.
4412 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4413 * posix/regexec.c (check_node_accept_bytes): Likewise.
4414 * string/strcoll_l.c (STRCOLL): Likewise.
4415 * string/strxfrm_l.c (STRXFRM): Likewise.
4416
9d65ea3a
UD
44172011-11-17 Ulrich Drepper <drepper@gmail.com>
4418
4419 * Makefile.in: Remove CVSOPT handling.
4420 * configure.in: Remove use of AC_REVISION.
4421 * iconvdata/Makefile (distribute): No need to filter out CVS.
4422 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4423 handling.
4424
5583a086
AS
44252011-11-16 Andreas Schwab <schwab@redhat.com>
4426
4427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4428 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4429 [USE_AS_STRNCASECMP_L]: Likewise.
4430 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4431 NO_TLS_DIRECT_SEG_REFS.
4432 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4433 Fix argument offsets for non-PIC.
4434 [USE_AS_STRNCASECMP_L]: Likewise.
4435 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4436 NO_TLS_DIRECT_SEG_REFS.
4437
d62a8200
UD
44382011-11-15 Ulrich Drepper <drepper@gmail.com>
4439
9d65ea3a 4440 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4441 O_CLOEXEC.
4442 * locale/loadlocale.c (_nl_load_locale): Likewise.
4443
09f93bd3
AS
44442011-11-15 Andreas Schwab <schwab@redhat.com>
4445
446514f9
AS
4446 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4447 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4448 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4449 (SYSCALL_GETTIME): Set errno on error.
4450
09f93bd3
AS
4451 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4452 count references to noai6ai_cached.
4453
312be3f9
UD
44542011-11-15 Ulrich Drepper <drepper@gmail.com>
4455
4456 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4457
4458 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4459 FD_CLOEXEC for /proc/self/maps.
4460
4461 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4462 FD_CLOEXEC for /proc/meminfo.
4463
4464 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4465 gai.conf.
4466
4467 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4468 FD_CLOEXEC for given file.
4469
4470 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4471
4472 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4473 FD_CLOEXEC for /etc/hosts.
4474 (_gethtent): Likewise.
4475
4476 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4477
4478 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4479 cancellation and set FD_CLOEXEC for /etc/netgroup.
4480
4481 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4482 reading /etc/publickey.
4483
4484 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4485 allow cancellation when reading /etc/group.
4486
4487 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4488 cancellation.
4489 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4490
4491 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4492 when using data file.
4493
4494 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4495
4496 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4497 (write_nis_obj): Use "c" and "e" in fopen.
4498
4499 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4500
4501 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4502
4503 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4504
4505 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4506
4507 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4508 locale.alias.
4509
4510 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4511
4512 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4513
4514 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4515
4516 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4517 file parsing and set FD_CLOEXEC.
4518
82af0fa8
UD
45192011-11-14 Ulrich Drepper <drepper@gmail.com>
4520
4521 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4522
a5fb313c
AS
45232011-11-14 Andreas Schwab <schwab@redhat.com>
4524
4525 * malloc/arena.c (arena_get2): Don't call reused_arena when
4526 _int_new_arena failed.
4527
6abf3465
UD
45282011-11-14 Ulrich Drepper <drepper@gmail.com>
4529
4530 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4531 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4532 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4533 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4534 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4535 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4536 to compile strcasecmp and strncasecmp.
4537 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4538 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4539
4540 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4541
76e3966e
UD
45422011-11-13 Ulrich Drepper <drepper@gmail.com>
4543
4544 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4545 locale-defines.sym to gen-as-const-headers.
4546 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4547 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4549 to compile strcasecmp and strncasecmp.
4550 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4551 strcasecmp_l and strncasecmp_l.
4552 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4553 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4554 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4555 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4556 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4557 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4558 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4559 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4560 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4561 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4562 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4563
ab26144e
UD
45642011-11-12 Ulrich Drepper <drepper@gmail.com>
4565
7edb22ef
UD
4566 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4567 result of SYSDEP_GETTIME_CPU to retval.
4568 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4569 parameter list to macro. Remove trailing semicolon. Adjust users.
4570
9694fc44
UD
4571 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4572 variable.
4573
8ad89ef8
UD
4574 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4575 mantissa words.
4576 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4577
0c822ef9
UD
4578 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4579 from unused variable.
4580
874e0564
UD
4581 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4582 DWARF definitions.
4583 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4584 for assembling.
4585
3a2edc79
UD
4586 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4587 over namespaces.
4588
f3c2577f
UD
4589 * sunrpc/rpc_prot.c (rejected): Fix case value.
4590
294ce126
UD
4591 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4592 unsigned long long int to avoid warnings in shift.
4593
5e2b63c6
UD
4594 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4595 of use of trans.
4596 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4597 variable tmp.
4598
e7f4b08e
UD
4599 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4600 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4601 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4602
ab26144e
UD
4603 * nis/nis_table.c (nis_list): Use variable of correct type for
4604 result of __follow_path call.
4605
8a6d5255
AZ
46062011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4607
4608 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4609 of math functions ceil, trunc, floor, round, and sqrt, when
4610 avaliable on the platform.
4611 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4612 name clash.
4613 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4614 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4615 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4616
aaddc98c
MP
46172011-10-30 Marek Polacek <mpolacek@redhat.com>
4618
4619 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4620 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4621
95b7042b
RM
46222011-11-11 Roland McGrath <roland@hack.frob.com>
4623
4624 * include/unistd.h: Fix __readlink return type.
4625 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4626
57769839
UD
46272011-11-11 Ulrich Drepper <drepper@gmail.com>
4628
4629 * stdlib/ucontext.h: Undo last change for makecontext.
4630
edc5984d
AS
46312011-11-11 Andreas Schwab <schwab@redhat.com>
4632
98591e58
AS
4633 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4634
edc5984d
AS
4635 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4636 * setjmp/setjmp.h: Mark functions as non-leaf.
4637 * setjmp/bits/setjmp2.h: Likewise.
4638 * stdlib/ucontext.h: Likewise.
4639
77cdc054
AS
46402011-11-10 Andreas Schwab <schwab@redhat.com>
4641
4642 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4643 (reused_arena): Don't check arena limit.
4644 (arena_get2): Atomically check arena limit.
4645
fe72eebd
UD
46462011-11-08 Ulrich Drepper <drepper@gmail.com>
4647
5f078c32
UD
4648 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4649 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4650
fe72eebd
UD
4651 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4652 instructions.
4653
ae1bc2fa
AS
46542011-11-07 Andreas Schwab <schwab@redhat.com>
4655
7583a88d
AS
4656 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4657 handler when locking.
4658
ae1bc2fa
AS
4659 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4660 Fix size of allocated buffer.
4661
10fb0bfa
AS
46622011-11-04 Andreas Schwab <schwab@redhat.com>
4663
998832a4
AS
4664 [BZ #10103]
4665 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4666 declarations for long double functions.
4667 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4668
10fb0bfa
AS
4669 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4670
3d7ba52b
AS
46712011-11-03 Andreas Schwab <schwab@redhat.com>
4672
a9ae54a1
AS
4673 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4674 installed.
4675
3d7ba52b
AS
4676 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4677 is disabled.
4678
bc8db248
ST
46792011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4680
4681 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4682
45b96dd6
AS
46832011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4684
647776f6
AS
4685 * include/alloca.h (stackinfo_alloca_round): Define.
4686 (extend_alloca): Use it.
4687 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4688 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4689 here.
4690
d91a8b93
AS
4691 * scripts/check-local-headers.sh: Ignore libaudit.h.
4692
45b96dd6
AS
4693 * nscd/Makefile (extra-objs): Make recursively expanded.
4694
432d41ce
UD
46952011-11-01 Ulrich Drepper <drepper@gmail.com>
4696
34372fc6
UD
4697 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4698 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4699
fadb59f8
UD
4700 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4701 * posix/tst-rfc3484-2.c: Likewise.
4702 * posix/tst-rfc3484-3.c: Likewise.
4703
78239589
UD
4704 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4705 process_vm_writev.
4706 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4707 process_vm_writev.
4708 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4709 process_vm_writev from libc using GLIBC_2.15 version.
4710
432d41ce
UD
4711 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4712
02f9c6cf
PP
47132011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4714
4715 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4716 stack usage.
4717
3a2c0242
UD
47182011-10-31 Ulrich Drepper <drepper@gmail.com>
4719
f4ec4833
UD
4720 [BZ #13367]
4721 * nss/getent.c (initgroups_keys): Show error message in case no group
4722 names are given.
4723
3a2c0242
UD
4724 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4725 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4726 __bump_nl_timestamp.
4727 * nscd/connections (nscd_init): When host database is served open
4728 netlink socket and request notification about configuration changes.
4729 (main_loop_poll): Track netlink file descriptor and bump timestamp
4730 in case data becomes available.
4731 (main_loop_epoll): Likewise.
4732 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4733 (database_pers_head): Add extra_data fileds.
4734 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4735 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4736 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4737 Adjust caller.
4738 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4739 in6ai data, call __free_in6ai.
4740 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4741 Add -DHAVE_NETLINK.
4742 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4743 interface information. Reuse previous data if netlink timestamp
4744 is not changed.
4745 (__bump_nl_timestamp): New function.
4746 (__free_in6ai): New function.
4747
636064eb
UD
47482011-10-30 Ulrich Drepper <drepper@gmail.com>
4749
4750 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4751 close_not_cancel_no_status here.
4752 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4753
9beb2334
UD
47542011-10-29 Ulrich Drepper <drepper@gmail.com>
4755
6ef76f3b
UD
4756 [BZ #13276]
4757 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4758 return value.
4759
0ffc4f3e 4760 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4761 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4762 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4763
cb95113e
UD
47642011-07-03 Andreas Jaeger <aj@suse.de>
4765
4766 [BZ #10709]
4767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4768 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4769 * math/libm-test.inc (sin_test): Add test case.
4770
a1b560ff
UD
47712011-10-29 Ulrich Drepper <drepper@gmail.com>
4772
c9aaface
UD
4773 [BZ #13337]
4774 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4775 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4776
d272e7f1
UD
4777 * elf/chroot_canon.c (chroot_canon): Cleanups.
4778
1bc33071
UD
4779 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4780
1760874d
TJ
4781 [BZ #13335]
4782 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4783 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4784
51d91b18
UD
4785 * string/test-strchr.c: Make usable for strchrnul testing.
4786 * string/test-strchrnul.c: New file.
4787 * string/Makefile (strop-tests): Add strchrnul.
4788
a1b560ff 4789 * po/it.po: Update from translation team.
b611fb81 4790 * po/es.po: Likewise.
a1b560ff 4791
a5b81e1f
UD
47922011-10-28 Ulrich Drepper <drepper@gmail.com>
4793
fd52bc6d
UD
4794 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4795 the three constants needed as parameters. Drop the others.
4796 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4797 __m128i_strloadu_tolower.
52e4b9eb
UD
4798 Create and initialize variable zero and use it in all the places
4799 where _mm_setzero_si128 was used.
fd52bc6d 4800
a5b81e1f
UD
4801 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4802 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4803 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4804 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4805 anymore.
4806 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4807 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4808 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4809 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4810 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4811 __mpranred, __mptan.
4812 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4813 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4814 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4815 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4816 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4817 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4818 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4819 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4820 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4821
b4343346
AS
48222011-10-28 Andreas Schwab <schwab@redhat.com>
4823
0c92d8a8
AS
4824 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4825 redefine if SHARED.
4826 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4827
b4343346
AS
4828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4829 wide char related routines to wcsmbs subdir.
4830
3871f58f
AS
48312011-10-27 Andreas Schwab <schwab@redhat.com>
4832
4833 [BZ #13344]
4834 * misc/sys/cdefs.h (__THROWNL): Define.
4835 * posix/unistd.h: Use __THREADNL instead of __THREAD
4836 for memory synchronization functions.
4837
94d44d9f
RM
48382011-10-26 Roland McGrath <roland@hack.frob.com>
4839
21b64b15 4840 [BZ #13349]
94d44d9f
RM
4841 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4842 doesn't exist.
4843 * manual/stdio.texi (Obstack Streams): Node removed.
4844
f6ce9294
AS
48452011-10-26 Andreas Schwab <schwab@redhat.com>
4846
80479147
AS
4847 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4848 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4849 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4850
f6ce9294
AS
4851 * math/math_private.h (math_force_eval): Allow non-addressable
4852 arguments.
4853 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4854
618280a1
UD
48552011-10-25 Ulrich Drepper <drepper@gmail.com>
4856
e0016b11
UD
4857 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4858 file is not needed.
4859
4860 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4861 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4862 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4863 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4864 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4865 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4866 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4867 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4868 Add AVX variants.
4869 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4870 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4871 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4872 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4873 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4874 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4875 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4876 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4877 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4878 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4879 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4880 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4881 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4882 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4883 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4884 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4885 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4886 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4887 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4888
4889 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4890 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4891
618280a1
UD
4892 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4893 place. Use VEX encoding when compiling for AVX.
4894
37822576
AS
48952011-10-25 Andreas Schwab <schwab@redhat.com>
4896
1f1e1947
AS
4897 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4898 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4899
37822576
AS
4900 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4901
31ea014d
UD
49022011-10-25 Ulrich Drepper <drepper@gmail.com>
4903
d7826aa1 4904 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 4905 useless if() expression.
d7826aa1
UD
4906 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4907 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4908 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4912 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4913 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4915 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4916 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4917 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4918 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4919 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4920 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4921 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4922 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4923 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4924 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4925
31ea014d
UD
4926 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4927
16437fec
AS
49282011-10-25 Andreas Schwab <schwab@redhat.com>
4929
4930 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4931 condition.
4932 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4933
31d3cc00
UD
49342011-10-25 Ulrich Drepper <drepper@gmail.com>
4935
4936 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4937 .text section. Avoid duplicate constants.
4938 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4939 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4940 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4941 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4942 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4943 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4946 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4947 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4948 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4949 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4950 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4951 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4952 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4953 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4955 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4961 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4962 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4963 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4964 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4965 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4966 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4967 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4968 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4969 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4970 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4971 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4972 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4973 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4974 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4975 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4976 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4977 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4978 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4979 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4980 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4981 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4982 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4983
58985aa9
UD
49842011-10-24 Ulrich Drepper <drepper@gmail.com>
4985
202c9deb
UD
4986 * sysdeps/x86_64/dla.h: Move to ...
4987 * sysdeps/x86_64/fpu/dla.h: ...here.
4988 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4989 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 4990
af968f62
UD
4991 * config.make.in: Add have-mfma4 entry.
4992 * configure.in: Substitute libc_cv_cc_fma4.
4993 * math/Makefile (dbl-only-routines): Add sincostab.
4994 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4995 Use __sincostab not sincos.
4996 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4997 name is a macro.
4998 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5002 using __copysign.
5003 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5004 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5005 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5006 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5007 and __inv.
5008 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5009 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5010 __copysign.
5011 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5012 define aliases when function name is a macro.
5013 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5014 sysdeps/ieee754/dbl-64/sincos.tbl.
5015 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5016 fma4-enabled routines.
5017 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5018 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5019 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5020 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5021 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5022 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5023 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5024 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5025 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5026 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5027 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5028 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5029 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5030 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5031 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5032 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5033 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5034 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5035 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5036 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5037 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5038 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5039 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5040 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5041 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5042 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5043 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5044 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5045 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5046 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5047
58985aa9
UD
5048 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5049 rename.
5050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5053 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5057 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5058
a201fbcf
AS
50592011-10-24 Andreas Schwab <schwab@redhat.com>
5060
5061 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5062
fc2ee42a
LD
50632011-10-23 Ulrich Drepper <drepper@gmail.com>
5064
bb3129bd
UD
5065 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5066
0275fff8
UD
5067 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5068 prediction.
5069 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5070
2fa2ae85
UD
5071 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5072 Remove unused variable magic_bits.
5073 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5074
fc2ee42a
LD
5075 * string/strnlen.c: Define and use STRNLEN macro.
5076 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5077 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5079 * wcsmbs/wcslen.c: Define and use WCSLEN.
5080 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5081 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5082 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5083 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5084 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5085 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5086 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5087
ce7dd29f
LD
50882011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5089
5090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5091 strnlen-sse2-no-bsf.
5092 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5094 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5095 Add strnlen support.
5096 (USE_AS_STRNLEN): New macro.
5097 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5098 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5099 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5100 * sysdeps/x86_64/wcslen.S: New file.
5101
979c70a3
MZ
51022011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5103
5104 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5105 XMM-moves are used for copying on small sizes.
5106
2d09f82f
LD
51072011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5108
5109 * wcsmbs/Makefile (strop-tests): Add wcschr.
5110 * wcsmbs/test-wcschr.c: New file.
5111 * string/test-strchr.c: Update.
5112 Add wcschr support.
5113 (WIDE): New macro.
5114
619fccca
LD
51152011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5116
2d09f82f 5117 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5118 * wcsmbs/test-wcslen.c: New file.
5119 * string/test-strlen.c: Update.
5120 Add wcslen support.
5121 (WIDE): New macro.
5122
09f699ea
UD
51232011-10-23 Ulrich Drepper <drepper@gmail.com>
5124
5125 * po/it.po: Update from translation team.
5126
95584d3b
LD
51272011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5128
5129 * sysdeps/x86_64/wcscmp.S: Update.
5130 Fix wrong comparison semantics.
5131 wcscmp shall use signed comparison not unsigned.
5132 Don't use substraction to avoid overflow bug.
5133 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5134 * wcsmbc/wcscmp.c: Likewise.
5135 * string/test-strcmp.c: Likewise.
5136 Add new tests to check cases with negative values.
5137
c8b3296b
UD
51382011-10-23 Ulrich Drepper <drepper@gmail.com>
5139
5140 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5141 * sysdeps/x86_64/dla.h: ...here. New file.
5142 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5149 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5150 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5151
246ad57a
AS
51522011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5153
5154 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5155 __ynl_finite aliases.
5156
a1a87169
UD
51572011-10-22 Ulrich Drepper <drepper@gmail.com>
5158
0d355eb7
UD
5159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5160
a1a87169
UD
5161 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5162 define DLA_FMA.
5163 [DLA_FMA] (EMULV): Use DLA_FMA.
5164 [DLA_FMA] (MUL12): Use EMULV.
5165 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5166 that are not needed.
5167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5171 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5174
ee2aafe0
AS
51752011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5176
5177 * math/s_nan.c: Undef __nan.
5178 * math/s_nanf.c: Undef __nanf.
5179 * math/s_nanl.c: Undef __nanl.
5180 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5181 "math_private.h".
5182
bc62c2fb
UD
51832011-10-22 Ulrich Drepper <drepper@gmail.com>
5184
77425c63
UD
5185 * math/s_catan.c: Add branch predictions.
5186 * math/s_catanf.c: Likewise.
5187 * math/s_catanh.c: Likewise.
5188 * math/s_catanhf.c: Likewise.
5189 * math/s_catanhl.c: Likewise.
5190 * math/s_catanl.c: Likewise.
5191 * math/s_cexp.c: Likewise.
5192 * math/s_cexpf.c: Likewise.
5193 * math/s_cexpl.c: Likewise.
5194 * math/s_clog.c: Likewise.
5195 * math/s_clog10.c: Likewise.
5196 * math/s_clog10f.c: Likewise.
5197 * math/s_clog10l.c: Likewise.
5198 * math/s_clogf.c: Likewise.
5199 * math/s_clogl.c: Likewise.
5200 * math/s_csqrt.c: Likewise.
5201 * math/s_csqrtf.c: Likewise.
5202 * math/s_csqrtl.c: Likewise.
5203 * math/s_ctanf.c: Likewise.
5204 * math/s_ctanh.c: Likewise.
5205 * math/s_ctanhf.c: Likewise.
5206 * math/s_ctanhl.c: Likewise.
5207 * math/s_ctanl.c: Likewise.
5208
bc62c2fb
UD
5209 * math/math_private.h: Define __nan, __nanf, __nanl.
5210 * math/s_cacosh.c: Include <math_private.h>.
5211 * math/s_cacoshl.c: Likewise.
5212 * math/s_casinh.c: Likewise.
5213 * math/s_casinhf.c: Likewise.
5214 * math/s_casinhl.c: Likewise.
5215 * math/s_ccos.c: Rely entire on ccosh.
5216 * math/s_ccosf.c: Rely entire on ccoshf.
5217 * math/s_ccosl.c: Rely entirely on ccoshl.
5218 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5219 Remove tests for FE_INVALID.
5220 * math/s_ccoshf.c: Likewise.
5221 * math/s_ccoshl.c: Likewise.
5222 * math/s_csin.c: Likewise.
5223 * math/s_csinf.c: Likewise.
5224 * math/s_csinh.c Likewise.
5225 * math/s_csinhf.c: Likewise.
5226 * math/s_csinhl.c: Likewise.
5227 * math/s_csinl.c: Likewise.
5228 * math/s_ctan.c: Likewise.
5229 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5230 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5231 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5232
8ec250a4
UD
52332011-10-21 Ulrich Drepper <drepper@gmail.com>
5234
c196fed8
UD
5235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5236 compilation problems.
5237
8ec250a4
UD
5238 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5239 __builtin_expect.
5240
8d4f46c6
UD
52412011-10-20 Ulrich Drepper <drepper@gmail.com>
5242
ed72b654
UD
5243 * sysdeps/i386/configure.in: Test for -mfma4 option.
5244 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5245 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5246 COMMON_CPUID_INDEX_80000001.
5247 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5248 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5249 use it if FMA3 is not supported.
5250 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5251
8d4f46c6
UD
5252 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5253 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5254
d45c60c2
AS
52552011-10-20 Andreas Schwab <schwab@redhat.com>
5256
5257 [BZ #12892]
5258 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5259 it would create a cycle with a link time dependency.
5260
d9a4d2ab
UD
52612011-10-19 Ulrich Drepper <drepper@gmail.com>
5262
855d1560
UD
5263 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5264 instruction.
5265 * string/Makefile (strop-tests): Add rawmemchr.
5266 * string/test-rawmemchr.c: New file.
5267
d9a4d2ab
UD
5268 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5269 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5270 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5271 when compiling str{,n}casecmp and when AVX is available. Hook up
5272 new optimized code in initializers.
5273
8f3b1ffe
AS
52742011-10-19 Andreas Schwab <schwab@redhat.com>
5275
5276 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5277 __feraiseexcept instead of feraiseexcept.
5278
d38f1dba
UD
52792011-10-18 Ulrich Drepper <drepper@gmail.com>
5280
d9a8d0ab
UD
5281 * math/math_private.h: Define defaults for libc_fetestexcept and
5282 libc_feupdateenv.
5283 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5284 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5285 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5286 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5287 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5288 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5289 libc_fetestexcept and libc_feupdateenv.
5290
4855e3dd
UD
5291 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5292 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5293 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5294 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5295 libc_feholdexcept_setround.
5296
581d30e3
UD
5297 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5298 Add s_nearbyint-c and s_nearbyintf-c.
5299 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5300 nearbyintf inlines.
5301 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5302 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5303 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5304 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5305
d38f1dba
UD
5306 * math/math_private.h: Define defaults for libc_fegetround,
5307 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5308 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5309 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5310 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5311 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5312 standard functions.
5313 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5314 Remove comments and hacks for old compiler versions.
5315 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5316 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5317 libc_feholdexceptl.
5318
caa6c9d8
AS
53192011-10-18 Andreas Schwab <schwab@redhat.com>
5320
5321 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5322 (__feraiseexcept_renamed): Add __NTH.
5323 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5324 namespace violations.
5325
97c066e6
UD
53262011-10-17 Ulrich Drepper <drepper@gmail.com>
5327
99ce7b04
UD
5328 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5329
1004d182
UD
5330 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5331
228a984d
UD
5332 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5333 recently added interfaces.
5334 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5335
c8553a6a
UD
5336 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5337 about macro parameter expansion.
5338
ed22dcf6
UD
5339 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5340 __NO_MATH_INLINES is defined. Cleanups.
5341
5342 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5343 and __floorf is target has SSE4.1.
5344 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5345 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5346 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5347 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5348
b171c137
UD
5349 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5350 name.
5351 (floorf): Likewise.
5352
97c066e6
UD
5353 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5354
629f62ef
AS
53552011-10-17 Andreas Schwab <schwab@redhat.com>
5356
49a43d80
AS
5357 * misc/sys/cdefs.h: Fix last change.
5358
629f62ef
AS
5359 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5360 database lookup.
5361
e453f6cd
UD
53622011-10-16 Ulrich Drepper <drepper@gmail.com>
5363
aa78043a
UD
5364 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5365
ad0f5cad
UD
5366 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5367 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5372 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5373 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5374 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5375 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5376 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5377 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5378 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5379 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5380 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5381 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5382 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5383 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5384 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5385 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5386 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5387 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5388
5389 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5390 ceil, ceilf, floor, floorf.
5391
5392 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5393 Perform IRELATIVE relocations last.
5394
e453f6cd
UD
5395 * elf/do-rel.h: Add another parameter nrelative, replacing the
5396 local variable with the same name. Change name of the function
5397 to end in Rel or Rela (uppercase).
5398 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5399 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5400 elf_dynamic_do_##reloc function.
5401
fd5bdc09
UD
54022011-10-15 Ulrich Drepper <drepper@gmail.com>
5403
79b195b5
UD
5404 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5405 is sufficient, at least on modern CPUs.
5406
d4a28569
UD
5407 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5408
b61099b5
UD
5409 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5410 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5411
bcf01e6d
UD
5412 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5413 __expl_finite.
5414 * math/bits/math-finite.h: Add entries for exp.
5415 * math/e_expl.c: Add __*_finite alias.
5416 * sysdeps/i386/fpu/e_exp.S: Likewise.
5417 * sysdeps/i386/fpu/e_expf.S: Likewise.
5418 * sysdeps/i386/fpu/e_expl.c: Likewise.
5419 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5420 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5423 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5424 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5425 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5426
ba1a0d59
UD
5427 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5428 is sufficient, at least on modern CPUs.
5429
fd5bdc09
UD
5430 * ctype/ctype-info.c (__ctype_init): Define.
5431 * include/ctype.h (__ctype_init): Declare.
5432 (__ctype_b_loc): The variable is always initialized.
5433 (__ctype_toupper_loc): Likewise.
5434 (__ctype_tolower_loc): Likewise.
5435 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5436 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5437
7872cfb0
AS
54382011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5439
b468825a
AS
5440 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5441
7872cfb0
AS
5442 * configure.in: Also look in $cxxmachine/include for C++ system
5443 headers.
5444
be13f7bf
LD
54452011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5446
5447 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5448 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5449 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5450 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5451 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5452 (USE_AS_WMEMCMP): New macro.
5453 Fixing indents.
5454 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5455 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5456 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5457 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5459 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5460 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5461 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5462 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5463 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5464 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5465 (USE_AS_WMEMCMP): New macro.
5466 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5467 * sysdeps/string/test-memcmp.c: Update.
5468 Fix simple_wmemcmp.
5469 Add new tests.
5470 * wcsmbs/wmemcmp.c: Update.
5471 (WMEMCMP): New macro.
5472 Fix overflow bug.
5473
556a2007
AJ
54742011-10-12 Andreas Jaeger <aj@suse.de>
5475
5476 [BZ #13268]
5477 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5478
538faaa7
UD
54792011-10-15 Ulrich Drepper <drepper@gmail.com>
5480
ab6737ff
UD
5481 * libio/iofwide.c (do_length): Avoid warning.
5482
538faaa7
UD
5483 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5484
396a21b1
UD
54852011-10-14 Ulrich Drepper <drepper@gmail.com>
5486
cdf2901f
UD
5487 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5488
38ad40ce
UD
5489 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5490 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5491 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5492 * sysdeps/i386/i686/fpu/e_log.S: New file.
5493 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5494 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5495
396a21b1
UD
5496 * ctype/ctype.h: Add support for inlined isXXX functions when
5497 compiling C++ code.
5498
6b1f68c9
AS
54992011-10-14 Andreas Schwab <schwab@redhat.com>
5500
349290c0
AS
5501 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5502
6b1f68c9
AS
5503 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5504
f2282d42
RM
55052011-10-13 Roland McGrath <roland@hack.frob.com>
5506
5507 [BZ #13291]
5508 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5509
5298ffa8
AS
55102011-10-13 Andreas Schwab <schwab@redhat.com>
5511
714fad23
AS
5512 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5513 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5514 feraiseexcept.
5515
81dcc7fb
AS
5516 * sysdeps/x86_64/memrchr.S: Check for zero size.
5517
5298ffa8
AS
5518 * string/stratcliff.c: Add memrchr tests.
5519
951fbcec
LD
55202011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5521
5522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5523 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5524 rawmemchr-sse2 rawmemchr-sse2-bsf.
5525 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5526 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5527 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5528 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5529 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5530 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5531 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5532 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5533 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5534 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5535 * string/memrchr.c (MEMRCHR): New macro.
5536
0ac5ae23
UD
55372011-10-12 Ulrich Drepper <drepper@gmail.com>
5538
5539 Add integration with gcc's -ffinite-math-only and optimize wrapper
5540 functions in libm.
5541 * Versions.def: Define GLIBC_2.15 version for libm.
5542 * math/Makefile (headers): Add bits/math-finite.h.
5543 * math/bits/math-finite.h: New file.
5544 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5545 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5546 * math/e_acoshl.c: Add __*_finite alias.
5547 * math/e_acosl.c: Likewise.
5548 * math/e_asinl.c: Likewise.
5549 * math/e_atan2l.c: Likewise.
5550 * math/e_atanhl.c: Likewise.
5551 * math/e_coshl.c: Likewise.
5552 * math/e_exp10.c: Likewise.
5553 * math/e_exp10f.c: Likewise.
5554 * math/e_exp10l.c: Likewise.
5555 * math/e_exp2l.c: Likewise.
5556 * math/e_fmodl.c: Likewise.
5557 * math/e_gammal_r.c: Likewise.
5558 * math/e_hypotl.c: Likewise.
5559 * math/e_j0l.c: Likewise.
5560 * math/e_j1l.c: Likewise.
5561 * math/e_jnl.c: Likewise.
5562 * math/e_lgammal_r.c: Likewise.
5563 * math/e_log10l.c: Likewise.
5564 * math/e_log2l.c: Likewise.
5565 * math/e_logl.c: Likewise.
5566 * math/e_powl.c: Likewise.
5567 * math/e_sinhl.c: Likewise.
5568 * math/e_sqrtl.c: Likewise.
5569 * math/e_scalb.c: Completely rewritten and optimized.
5570 * math/e_scalbf.c: Likewise.
5571 * math/e_scalbl.c: Likewise.
5572 * math/w_acos.c: Likewise.
5573 * math/w_acosf.c: Likewise.
5574 * math/w_acosl.c: Likewise.
5575 * math/w_acosh.c: Likewise.
5576 * math/w_acoshf.c: Likewise.
5577 * math/w_acoshl.c: Likewise.
5578 * math/w_asin.c: Likewise.
5579 * math/w_asinf.c: Likewise.
5580 * math/w_asinl.c: Likewise.
5581 * math/w_atan2.c: Likewise.
5582 * math/w_atan2f.c: Likewise.
5583 * math/w_atan2l.c: Likewise.
5584 * math/w_atanh.c: Likewise.
5585 * math/w_atanhf.c: Likewise.
5586 * math/w_atanhl.c: Likewise.
5587 * math/w_exp10.c: Likewise.
5588 * math/w_exp10f.c: Likewise.
5589 * math/w_exp10l.c: Likewise.
5590 * math/w_fmod.c: Likewise.
5591 * math/w_fmodf.c: Likewise.
5592 * math/w_fmodl.c: Likewise.
5593 * math/w_j0.c: Likewise.
5594 * math/w_j0f.c: Likewise.
5595 * math/w_j0l.c: Likewise.
5596 * math/w_j1.c: Likewise.
5597 * math/w_j1f.c: Likewise.
5598 * math/w_j1l.c: Likewise.
5599 * math/w_jn.c: Likewise.
5600 * math/w_jnf.c: Likewise.
5601 * math/w_log.c: Likewise.
5602 * math/w_logf.c: Likewise.
5603 * math/w_logl.c: Likewise.
5604 * math/w_log10.c: Likewise.
5605 * math/w_log10f.c: Likewise.
5606 * math/w_log10l.c: Likewise.
5607 * math/w_log2.c: Likewise.
5608 * math/w_log2f.c: Likewise.
5609 * math/w_log2l.c: Likewise.
5610 * math/w_pow.c: Likewise.
5611 * math/w_powf.c: Likewise.
5612 * math/w_powl.c: Likewise.
5613 * math/w_remainder.c: Likewise.
5614 * math/w_remainderf.c: Likewise.
5615 * math/w_remainderl.c: Likewise.
5616 * math/w_scalb.c: Likewise.
5617 * math/w_scalbf.c: Likewise.
5618 * math/w_scalbl.c: Likewise.
5619 * math/w_sqrt.c: Likewise.
5620 * math/w_sqrtf.c: Likewise.
5621 * math/w_sqrtl.c: Likewise.
5622 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5623 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5624 used.
5625 * math/math_private.h: Declare __kernel_standard_f.
5626 * math/w_cosh.c: Remove cruft and optimize a bit.
5627 * math/w_coshf.c: Likewise.
5628 * math/w_coshl.c: Likewise.
5629 * math/w_exp2.c: Likewise.
5630 * math/w_exp2f.c: Likewise.
5631 * math/w_exp2l.c: Likewise.
5632 * math/w_hypot.c: Likewise.
5633 * math/w_hypotf.c: Likewise.
5634 * math/w_hypotl.c: Likewise.
5635 * math/w_lgamma.c: Likewise.
5636 * math/w_lgamma_r.c: Likewise.
5637 * math/w_lgammaf.c: Likewise.
5638 * math/w_lgammaf_r.c: Likewise.
5639 * math/w_lgammal.c: Likewise.
5640 * math/w_lgammal_r.c: Likewise.
5641 * math/w_sinh.c: Likewise.
5642 * math/w_sinhf.c: Likewise.
5643 * math/w_sinhl.c: Likewise.
5644 * math/w_tgamma.c: Likewise.
5645 * math/w_tgammaf.c: Likewise.
5646 * math/w_tgammal.c: Likewise.
5647 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5649 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5650 Minor optimizations. Pretty printing. Remove cruft.
5651 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5652 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5653 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5654 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5655 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5656 * sysdeps/i386/fpu/e_asin.S: Likewise.
5657 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5658 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5659 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5660 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5661 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5662 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5663 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5664 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5665 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5666 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5667 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5668 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5669 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5670 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5671 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5672 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5673 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5674 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5675 * sysdeps/i386/fpu/e_log.S: Likewise.
5676 * sysdeps/i386/fpu/e_log10.S: Likewise.
5677 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5678 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5679 * sysdeps/i386/fpu/e_log2.S: Likewise.
5680 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5681 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5682 * sysdeps/i386/fpu/e_logf.S: Likewise.
5683 * sysdeps/i386/fpu/e_logl.S: Likewise.
5684 * sysdeps/i386/fpu/e_pow.S: Likewise.
5685 * sysdeps/i386/fpu/e_powf.S: Likewise.
5686 * sysdeps/i386/fpu/e_powl.S: Likewise.
5687 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5688 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5689 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5690 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5691 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5692 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5693 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5694 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5695 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5696 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5697 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5699 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5700 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5701 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5702 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5703 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5704 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5705 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5706 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5707 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5708 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5709 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5710 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5717 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5718 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5719 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5720 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5721 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5722 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5723 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5724 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5725 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5726 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5727 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5728 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5729 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5730 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5731 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5732 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5733 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5734 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5735 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5736 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5737 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5738 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5740 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5743 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5744 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5745 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5746 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5748 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5749 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5751 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5752 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5753 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5754 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5755 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5756 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5757 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5761 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5762 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5763 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5765 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5766 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5767 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5768 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5769 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5770 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5772 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5774 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5775 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5776 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5777 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5778 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5781 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5783 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5785 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5787 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5788 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5789 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5790 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5791 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5792 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5793 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5794 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5795 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5796 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5797 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5798 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5799 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5800 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5801 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5802 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5803 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5804 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5805 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5806 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5807 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5808 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5809 (__isnanf): Likewise.
5810 (__isinf_ns): Likewise.
5811 (__isinf_nsf): Likewise.
5812 (__finite): Likewise.
5813 (__finitef): Likewise.
5814 (__ieee754_sqrt): Define as macro.
5815 (__ieee754_sqrtf): Define as macro.
5816 (__ieee754_sqrtl): Define as macro.
5817 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5818 inlined copy.
5819 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5820 __FINITE_MATH_ONLY__ consistent.
5821 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5822
12cc2fcd
AS
58232011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5824
a843a204
AS
5825 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5826 of rawmemchr.
5827
12cc2fcd
AS
5828 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5829
c853acd5
UD
58302011-10-09 Ulrich Drepper <drepper@gmail.com>
5831
5832 * po/ja.po: Update from translation team.
5833
c658d255
RM
58342011-10-08 Roland McGrath <roland@hack.frob.com>
5835
110946e4
RM
5836 * locale/programs/locarchive.c (prepare_address_space): New function.
5837 (create_archive, enlarge_archive, open_archive): Use it.
5838
50604220
RM
5839 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5840 inside [SHARED], where it is used.
5841
c658d255
RM
5842 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5843
5844 * nss/getent.c (netgroup_keys): Remove unused variable.
5845 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5846
6a621eb7
UD
58472011-10-08 Ulrich Drepper <drepper@gmail.com>
5848
7edb55ce
UD
5849 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5850 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5852 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5853 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5854 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5855 * math/Makefile (libm-calls): Add s_isinf_ns.
5856 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5857 * math/multc3.c: Likewise.
5858 * math/s_casin.c: Likewise.
5859 * math/s_casinf.c: Likewise.
5860 * math/s_casinl.c: Likewise.
5861 * math/s_ccos.c: Likewise.
5862 * math/s_ccosf.c: Likewise.
5863 * math/s_ccosl.c: Likewise.
5864 * math/s_ctan.c: Likewise.
5865 * math/s_ctanf.c: Likewise.
5866 * math/s_ctanh.c: Likewise.
5867 * math/s_ctanhf.c: Likewise.
5868 * math/s_ctanhl.c: Likewise.
5869 * math/s_ctanl.c: Likewise.
5870 * math/w_fmod.c: Likewise.
5871 * math/w_fmodf.c: Likewise.
5872 * math/w_fmodl.c: Likewise.
5873 * math/w_remainder.c: Likewise.
5874 * math/w_remainderf.c: Likewise.
5875 * math/w_remainderl.c: Likewise.
5876 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5877 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5878 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5879 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5880 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5881 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5882 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5883 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5884
187da0ae
UD
5885 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5886 of the number.
5887 * stdio-common/printf_fphex.c: Likewise.
5888 * stdio-common/printf_size.c: Likewise.
5889
9277c064
UD
5890 * math/e_exp10.c: Include math_private.h using <...> not "...".
5891 * math/e_exp10f.c: Likewise.
5892 * math/e_exp10l.c: Likewise.
5893 * math/e_exp2l.c: Likewise.
5894 * math/e_j0l.c: Likewise.
5895 * math/e_j1l.c: Likewise.
5896 * math/e_jnl.c: Likewise.
5897 * math/e_lgammal_r.c: Likewise.
5898 * math/e_rem_pio2l.c: Likewise.
5899 * math/e_scalb.c: Likewise.
5900 * math/e_scalbf.c: Likewise.
5901 * math/e_scalbl.c: Likewise.
5902 * math/k_cosl.c: Likewise.
5903 * math/k_sinl.c: Likewise.
5904 * math/k_tanl.c: Likewise.
5905 * math/s_cacoshf.c: Likewise.
5906 * math/s_catan.c: Likewise.
5907 * math/s_catanf.c: Likewise.
5908 * math/s_catanh.c: Likewise.
5909 * math/s_catanhf.c: Likewise.
5910 * math/s_catanhl.c: Likewise.
5911 * math/s_catanl.c: Likewise.
5912 * math/s_ccosh.c: Likewise.
5913 * math/s_ccoshf.c: Likewise.
5914 * math/s_ccoshl.c: Likewise.
5915 * math/s_cexp.c: Likewise.
5916 * math/s_cexpf.c: Likewise.
5917 * math/s_cexpl.c: Likewise.
5918 * math/s_clog.c: Likewise.
5919 * math/s_clog10.c: Likewise.
5920 * math/s_clog10f.c: Likewise.
5921 * math/s_clog10l.c: Likewise.
5922 * math/s_clogf.c: Likewise.
5923 * math/s_clogl.c: Likewise.
5924 * math/s_csin.c: Likewise.
5925 * math/s_csinf.c: Likewise.
5926 * math/s_csinh.c: Likewise.
5927 * math/s_csinhf.c: Likewise.
5928 * math/s_csinhl.c: Likewise.
5929 * math/s_csinl.c: Likewise.
5930 * math/s_csqrt.c: Likewise.
5931 * math/s_csqrtf.c: Likewise.
5932 * math/s_csqrtl.c: Likewise.
5933 * math/s_ctan.c: Likewise.
5934 * math/s_ctanf.c: Likewise.
5935 * math/s_ctanh.c: Likewise.
5936 * math/s_ctanhf.c: Likewise.
5937 * math/s_ctanhl.c: Likewise.
5938 * math/s_ctanl.c: Likewise.
5939 * math/s_ldexp.c: Likewise.
5940 * math/s_ldexpf.c: Likewise.
5941 * math/s_ldexpl.c: Likewise.
5942 * math/s_significand.c: Likewise.
5943 * math/s_significandf.c: Likewise.
5944 * math/s_significandl.c: Likewise.
5945 * math/w_acos.c: Likewise.
5946 * math/w_acosf.c: Likewise.
5947 * math/w_acosh.c: Likewise.
5948 * math/w_acoshf.c: Likewise.
5949 * math/w_acoshl.c: Likewise.
5950 * math/w_acosl.c: Likewise.
5951 * math/w_asin.c: Likewise.
5952 * math/w_asinf.c: Likewise.
5953 * math/w_asinl.c: Likewise.
5954 * math/w_atan2.c: Likewise.
5955 * math/w_atan2f.c: Likewise.
5956 * math/w_atan2l.c: Likewise.
5957 * math/w_atanh.c: Likewise.
5958 * math/w_atanhf.c: Likewise.
5959 * math/w_atanhl.c: Likewise.
5960 * math/w_cosh.c: Likewise.
5961 * math/w_coshf.c: Likewise.
5962 * math/w_coshl.c: Likewise.
5963 * math/w_dremf.c: Likewise.
5964 * math/w_exp10.c: Likewise.
5965 * math/w_exp10f.c: Likewise.
5966 * math/w_exp10l.c: Likewise.
5967 * math/w_exp2.c: Likewise.
5968 * math/w_exp2f.c: Likewise.
5969 * math/w_fmod.c: Likewise.
5970 * math/w_fmodf.c: Likewise.
5971 * math/w_fmodl.c: Likewise.
5972 * math/w_hypot.c: Likewise.
5973 * math/w_hypotf.c: Likewise.
5974 * math/w_hypotl.c: Likewise.
5975 * math/w_j0.c: Likewise.
5976 * math/w_j0f.c: Likewise.
5977 * math/w_j0l.c: Likewise.
5978 * math/w_j1.c: Likewise.
5979 * math/w_j1f.c: Likewise.
5980 * math/w_j1l.c: Likewise.
5981 * math/w_jn.c: Likewise.
5982 * math/w_jnf.c: Likewise.
5983 * math/w_jnl.c: Likewise.
5984 * math/w_lgamma.c: Likewise.
5985 * math/w_lgamma_r.c: Likewise.
5986 * math/w_lgammaf.c: Likewise.
5987 * math/w_lgammaf_r.c: Likewise.
5988 * math/w_lgammal.c: Likewise.
5989 * math/w_lgammal_r.c: Likewise.
5990 * math/w_log.c: Likewise.
5991 * math/w_log10.c: Likewise.
5992 * math/w_log10f.c: Likewise.
5993 * math/w_log10l.c: Likewise.
5994 * math/w_log2.c: Likewise.
5995 * math/w_log2f.c: Likewise.
5996 * math/w_log2l.c: Likewise.
5997 * math/w_logf.c: Likewise.
5998 * math/w_logl.c: Likewise.
5999 * math/w_pow.c: Likewise.
6000 * math/w_powf.c: Likewise.
6001 * math/w_powl.c: Likewise.
6002 * math/w_remainder.c: Likewise.
6003 * math/w_remainderf.c: Likewise.
6004 * math/w_remainderl.c: Likewise.
6005 * math/w_scalb.c: Likewise.
6006 * math/w_scalbf.c: Likewise.
6007 * math/w_scalbl.c: Likewise.
6008 * math/w_sinh.c: Likewise.
6009 * math/w_sinhf.c: Likewise.
6010 * math/w_sinhl.c: Likewise.
6011 * math/w_sqrt.c: Likewise.
6012 * math/w_sqrtf.c: Likewise.
6013 * math/w_sqrtl.c: Likewise.
6014 * math/w_tgamma.c: Likewise.
6015 * math/w_tgammaf.c: Likewise.
6016 * math/w_tgammal.c: Likewise.
6017
6a621eb7
UD
6018 * po/ja.po: Update from translation team.
6019
bf582445
AJ
60202011-09-29 Andreas Jaeger <aj@suse.de>
6021
f9efbf3a
AJ
6022 [BZ #13179]
6023 * sunrpc/netname.c (netname2host): Fix logic.
6024
bf582445
AJ
6025 [BZ #6779]
6026 [BZ #6783]
6027 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6028 correctly.
6029 * math/w_remainder.c (__remainder): Likewise.
6030 * math/w_remainderf.c (__remainderf): Likewise.
6031 * math/libm-test.inc (remainder_test): Add test cases.
6032
48693bea
AK
60332011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6034
6035 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6036 sdiv_qrnnd.
6037
42622229
LD
60382011-10-07 Ulrich Drepper <drepper@gmail.com>
6039
6040 * string/test-memcmp.c: Avoid unncessary #defines.
6041 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6042
093ecf92
LD
60432011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6044
6045 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6046 Use new sse2 version for core i3 - i7 as it's faster
6047 than sse42 version.
6048 (bit_Prefer_PMINUB_for_stringop): New.
6049 * sysdeps/x86_64/rawmemchr.S: Update.
6050 Replace with faster SSE2 version.
6051 * sysdeps/x86_64/memrchr.S: New file.
6052 * sysdeps/x86_64/memchr.S: Update.
6053 Replace with faster SSE2 version.
6054
fde56e5c
MP
60552011-09-12 Marek Polacek <mpolacek@redhat.com>
6056
6057 * elf/dl-load.c (lose): Add cast to avoid warning.
6058
21fd49a9
UD
60592011-10-07 Ulrich Drepper <drepper@gmail.com>
6060
5a06e643
UD
6061 * po/ca.po: Update from translation team.
6062
684ae515
UD
6063 * inet/getnetgrent_r.c: Hook up nscd.
6064 * nscd/Makefile (routines): Add nscd_netgroup.
6065 (nscd-modules): Add netgroupcache.
6066 (CFLAGS-netgroupcache.c): Define.
6067 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6068 (cache_search): Add const to second parameter.
6069 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6070 INNETGR.
6071 (dbs): Add netgrdb entry.
6072 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6073 (verify_persistent_db): Handle netgrdb.
6074 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6075 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6076 GETFDNETGR.
6077 (netgroup_response_header): Define.
6078 (innetgroup_response_header): Define.
6079 (datahead): Add netgroup_response_header and innetgroup_response_header
6080 elements.
6081 * nscd/nscd.conf: Add entries for netgroup cache.
6082 * nscd/nscd.h (dbtype): Add netgrdb.
6083 (_PATH_NSCD_NETGROUP_DB): Define.
6084 (netgroup_iov_disabled): Declare.
6085 (xmalloc, xcalloc, xrealloc): Move declarations here.
6086 (cache_search): Adjust prototype.
6087 Add netgroup-related prototypes.
6088 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6089 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6090 (__nscd_innetgr): Declare.
6091 * nscd/selinux.c (perms): Use access_vector_t as element type and
6092 add netgroup-related initializers.
6093 * nscd/netgroupcache.c: New file.
6094 * nscd/nscd_netgroup.c: New file.
6095 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6096 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6097 For four parameters use innetgr.
6098 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6099 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6100 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6101 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6102
21fd49a9
UD
6103 * nscd/connections.c (register_traced_file): Don't register file
6104 for disabled databases.
6105
054c0457
UD
61062011-10-06 Ulrich Drepper <drepper@gmail.com>
6107
32b63198
UD
6108 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6109
054c0457
UD
6110 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6111 from tree and freeing node.
6112
64031225
JO
61132011-09-25 Jiri Olsa <jolsa@redhat.com>
6114
6115 * nss/nsswitch.c (__nss_database_lookup): Handle
6116 nss_parse_service_list out of memory case.
6117
0490345c
JO
61182011-09-15 Jiri Olsa <jolsa@redhat.com>
6119
6120 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6121 out of memory case.
6122
3a62d00d
AS
61232011-10-04 Andreas Schwab <schwab@redhat.com>
6124
6125 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6126 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6127 pass it down.
6128 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6129 elf_machine_rela, elf_machine_lazy_rel.
6130 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6131 (ELF_DYNAMIC_DO_REL): Likewise.
6132 (ELF_DYNAMIC_DO_RELA): Likewise.
6133 (ELF_DYNAMIC_RELOCATE): Likewise.
6134 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6135 to ELF_DYNAMIC_DO_REL.
6136 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6137 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6138 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6139 elf_machine_rela.
6140 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6141 skip_ifunc, don't call ifunc function if non-zero.
6142 (elf_machine_rela): Likewise.
6143 (elf_machine_lazy_rel): Likewise.
6144 (elf_machine_lazy_rela): Likewise.
6145 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6146 (elf_machine_lazy_rel): Likewise.
6147 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6148 Likewise.
6149 (elf_machine_lazy_rel): Likewise.
6150 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6151 Likewise.
6152 (elf_machine_lazy_rel): Likewise.
6153 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6154 (elf_machine_lazy_rel): Likewise.
6155 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6156 (elf_machine_lazy_rel): Likewise.
6157 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6158 (elf_machine_lazy_rel): Likewise.
6159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6160 (elf_machine_lazy_rel): Likewise.
6161 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6162 (elf_machine_lazy_rel): Likewise.
6163 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6164 (elf_machine_lazy_rel): Likewise.
6165
68577918
UD
61662011-09-28 Ulrich Drepper <drepper@gmail.com>
6167
6168 * nss/nss_files/files-init.c (_nss_files_init): Use static
6169 initialization for all the *_traced_file variables.
6170
68822d74
AS
61712011-09-28 Andreas Schwab <schwab@redhat.com>
6172
6173 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6174
2056100b
RM
61752011-09-27 Roland McGrath <roland@hack.frob.com>
6176
6177 [BZ #13226]
6178 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6179
32c76b63
AS
61802011-09-27 Andreas Schwab <schwab@redhat.com>
6181
6182 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6183 Reread the line before reparsing it.
6184
bf972c9d
AS
61852011-09-26 Andreas Schwab <schwab@redhat.com>
6186
6187 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6188
e057a1b5
JM
61892011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6190 Maxim Kuvyrkov <maxim@codesourcery.com>
6191 Joseph Myers <joseph@codesourcery.com>
6192
6193 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6194 if needed for __stack_chk_guard.
6195
bc7e1c36
RM
61962011-09-19 Roland McGrath <roland@hack.frob.com>
6197
ecb1482f
RM
6198 * sysdeps/posix/spawni.c (script_execute): Always define it.
6199 It will be optimized away if unused.
6200 (maybe_script_execute): New function.
6201 (__spawni): Call it.
6202
bc7e1c36
RM
6203 * Makerules: Don't include tls.make.
6204 (config-tls): Always set to thread.
6205 * tls.make.c: File removed.
6206
1c3b002b
MF
62072011-09-19 Mike Frysinger <vapier@gentoo.org>
6208
6209 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6210 * config.make.in (CPPFLAGS-config): New substituted variable.
6211
2840865d
UD
62122011-09-15 Ulrich Drepper <drepper@gmail.com>
6213
88738eb6
UD
6214 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6215
cbf645a6 6216 [BZ #13192]
2840865d
UD
6217 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6218 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6219
b402e91a
RM
62202011-09-15 Roland McGrath <roland@hack.frob.com>
6221
6222 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6223 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6224 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6225 (CALL_FAIL): Likewise.
6226 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6227 (CALL_FAIL): Macro removed.
6228 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6229
4c1a1f71
UD
62302011-09-15 Ulrich Drepper <drepper@gmail.com>
6231
6232 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6233 for __FINITE_MATH_ONLY__ == 1.
6234
edc121be
AS
62352011-09-15 Andreas Schwab <schwab@redhat.com>
6236
6237 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6238 __ieee754_sqrt instead of sqrt.
6239 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6240 __ieee754_sqrtf instead of sqrtf.
6241 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6242 __floorf instead of floorf.
6243 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6244 __floorf, __truncf instead of floorf, truncf.
6245
cd205654
UD
62462011-09-14 Ulrich Drepper <drepper@gmail.com>
6247
ee4d0315
UD
6248 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6249
cd205654
UD
6250 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6251 __extern_always_inline.
6252 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6253 32-bit.
6254
48b67d71
AS
62552011-09-14 Andreas Schwab <schwab@redhat.com>
6256
6257 * elf/rtld.c (dl_main): Also relocate in dependency order when
6258 doing symbol dependency testing.
6259
1ae12c75
AS
62602011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6261
6262 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6263 Always define `refsym'.
6264
995a80df
AS
62652011-09-13 Andreas Schwab <schwab@redhat.com>
6266
e529793b
AS
6267 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6268 (__FD_ELT): Renamed from __FDELT.
6269 * misc/bits/select2.h (__FD_ELT): Likewise.
6270 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6271 __FD_MASK instead of __FDELT, __FDMASK.
6272 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6273 Likewise.
6274 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6275 Likewise.
6276
52d4fef8
AS
6277 * elf/Makefile (gen-ldd): Fix pattern.
6278
995a80df
AS
6279 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6280 (init_tls): Likewise.
6281
8682f8b0
UD
62822011-09-12 Ulrich Drepper <drepper@gmail.com>
6283
6284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6285
de82006d
AS
62862011-09-12 Andreas Schwab <schwab@redhat.com>
6287
a7c8e6a1
AS
6288 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6289 `struct cmsghdr *' instead of `void *'.
6290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6291 Likewise.
6292
0f31fe77
AS
62932011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6294
6295 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6296 if non-absolute.
6297 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6298 ldd_rewrite_script.
0f31fe77 6299
32b4c839
UD
63002011-09-11 Ulrich Drepper <drepper@gmail.com>
6301
83cd1420
UD
6302 * configure.in: Remove --with-tls option.
6303 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6304 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6305 out in case it is missing.
6306 * sysdeps/ia64/elf/configure.in: Likewise.
6307 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6308 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6309 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6310 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6311 * sysdeps/sh/elf/configure.in: Likewise.
6312 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6313 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6314 * sysdeps/x86_64/elf/configure.in: Likewise.
6315 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6316 * sysdeps/mach/hurd/tls.h: Likewise.
6317
633f745d
UD
6318 [BZ #13067]
6319 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6320
f318beb8
UD
6321 [BZ #13090]
6322 * configure.in: Fix use of AC_INIT.
6323
32b4c839
UD
6324 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6325
3ce1f295
UD
63262011-09-10 Ulrich Drepper <drepper@gmail.com>
6327
bb016596
UD
6328 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6329 __set_errno.
8e58439c
UD
6330 * malloc/hooks.c: Likewise.
6331
aebae053 6332 [BZ #11929]
02d46fc4
UD
6333 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6334 variables statically.
6335 (narenas): Initialize.
6336 (list_lock): Initialize.
bb016596
UD
6337 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6338 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6339 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6340 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6341 Add initializers to main_arena and mp_.
6342 (malloc_state): Remove pagesize member. Change all users to use
6343 GLRO(dl_pagesize).
6344
6345 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6346 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6347 is always initialized.
6348
22a89187
UD
6349 * malloc/malloc.c: Removed unused configurations and dead code.
6350 * malloc/arena.c: Likewise.
6351 * malloc/hooks.c: Likewise.
02d46fc4 6352 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6353
d063d164
UD
6354 * include/tls.h: Removed. USE___THREAD must always be defined.
6355 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6356 * elf/dl-libc.c: Likewise.
6357 * elf/dl-tsd.c: Likewise.
6358 * include/errno.h: Likewise.
6359 * include/netdb.h: Likewise.
6360 * include/resolv.h: Likewise.
6361 * inet/herrno-loc.c: Likewise.
6362 * inet/herrno.c: Likewise.
6363 * malloc/arena.c: Likewise.
6364 * malloc/hooks.c: Likewise.
6365 * malloc/malloc.c: Likewise.
6366 * resolv/res-state.c: Likewise.
6367 * resolv/res_libc.c: Likewise.
6368 * sysdeps/i386/dl-machine.h: Likewise.
6369 * sysdeps/ia64/dl-machine.h: Likewise.
6370 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6371 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6372 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6373 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6374 * sysdeps/sh/dl-machine.h: Likewise.
6375 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6376 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6377 * sysdeps/unix/i386/sysdep.S: Likewise.
6378 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6379 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6380 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6382 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6384 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6388 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6389 * sysdeps/x86_64/dl-machine.h: Likewise.
6390 * tls.make.c: Likewise.
6391
3ce1f295
UD
6392 * configure.in: Remove --with-__thread option. Make tests for
6393 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6394 tls_model attribute fail if no support is available. Remove
6395 USE_IN_LIBIO.
6396 * Makeconfig: Adjust for dropped configure option. All features are
6397 now mandatory.
6398 * Makerules: Likewise.
6399 * Versions.def: Likewise.
6400 * argp/argp-fmtstream.c: Likewise.
6401 * argp/argp-fmtstream.h: Likewise.
6402 * argp/argp-help.c: Likewise.
6403 * assert/assert.c: Likewise.
6404 * config.h.in: Likewise.
6405 * config.make.in: Likewise.
6406 * configure: Likewise.
6407 * configure.in: Likewise.
6408 * csu/Versions: Likewise.
6409 * csu/init.c: Likewise.
6410 * elf/tst-audit2.c: Likewise.
6411 * elf/tst-tls10.c: Likewise.
6412 * elf/tst-tls10.h: Likewise.
6413 * elf/tst-tls11.c: Likewise.
6414 * elf/tst-tls12.c: Likewise.
6415 * elf/tst-tls14.c: Likewise.
6416 * elf/tst-tlsmod11.c: Likewise.
6417 * elf/tst-tlsmod12.c: Likewise.
6418 * elf/tst-tlsmod13.c: Likewise.
6419 * elf/tst-tlsmod13a.c: Likewise.
6420 * elf/tst-tlsmod14a.c: Likewise.
6421 * elf/tst-tlsmod15b.c: Likewise.
6422 * elf/tst-tlsmod16a.c: Likewise.
6423 * elf/tst-tlsmod16b.c: Likewise.
6424 * elf/tst-tlsmod7.c: Likewise.
6425 * elf/tst-tlsmod8.c: Likewise.
6426 * elf/tst-tlsmod9.c: Likewise.
6427 * gmon/gmon.c: Likewise.
6428 * grp/fgetgrent_r.c: Likewise.
6429 * grp/putgrent.c: Likewise.
6430 * hurd/fopenport.c: Likewise.
6431 * include/libc-symbols.h: Likewise.
6432 * include/tls.h: Likewise.
6433 * intl/gettextP.h: Likewise.
6434 * intl/loadinfo.h: Likewise.
6435 * locale/global-locale.c: Likewise.
6436 * locale/localeinfo.h: Likewise.
6437 * mach/devstream.c: Likewise.
6438 * malloc/arena.c: Likewise.
6439 * malloc/set-freeres.c: Likewise.
6440 * misc/err.c: Likewise.
6441 * misc/getttyent.c: Likewise.
6442 * misc/mntent_r.c: Likewise.
6443 * posix/getopt.c: Likewise.
6444 * posix/wordexp.c: Likewise.
6445 * pwd/fgetpwent_r.c: Likewise.
6446 * resolv/Versions: Likewise.
6447 * resolv/res_hconf.c: Likewise.
6448 * shadow/fgetspent_r.c: Likewise.
6449 * shadow/putspent.c: Likewise.
6450 * stdio-common/printf_fphex.c: Likewise.
6451 * stdio-common/tmpfile.c: Likewise.
6452 * stdlib/abort.c: Likewise.
6453 * stdlib/fmtmsg.c: Likewise.
6454 * sunrpc/auth_unix.c: Likewise.
6455 * sunrpc/clnt_perr.c: Likewise.
6456 * sunrpc/clnt_tcp.c: Likewise.
6457 * sunrpc/clnt_udp.c: Likewise.
6458 * sunrpc/clnt_unix.c: Likewise.
6459 * sunrpc/openchild.c: Likewise.
6460 * sunrpc/svc_simple.c: Likewise.
6461 * sunrpc/svc_tcp.c: Likewise.
6462 * sunrpc/svc_udp.c: Likewise.
6463 * sunrpc/svc_unix.c: Likewise.
6464 * sunrpc/xdr.c: Likewise.
6465 * sunrpc/xdr_array.c: Likewise.
6466 * sunrpc/xdr_rec.c: Likewise.
6467 * sunrpc/xdr_ref.c: Likewise.
6468 * sunrpc/xdr_stdio.c: Likewise.
6469
1248c1c4
PB
64702011-09-09 Ulrich Drepper <drepper@gmail.com>
6471
6472 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6473
64742011-07-03 Andreas Jaeger <aj@suse.de>
6475
6476 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6477 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6478 regenerate with gen-libm-tests.pl.
6479
64802010-05-12 Petr Baudis <pasky@suse.cz>
6481
6482 [BZ #11589]
6483 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6484 around j0() zero points by switching to j1().
6485 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6489
f22e1074
UD
64902011-09-09 Ulrich Drepper <drepper@gmail.com>
6491
f19009c1
UD
6492 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6493 instead of 0.
6494 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6495 instead of 0. .
6496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6497 Patch in part by Pavel Roskin <proski@gnu.org>.
6498
3f8cc204
UD
6499 [BZ #13138]
6500 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6501 realloc.
6502 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6503 Free memory block if necessary.
6504
f22e1074
UD
6505 [BZ #12847]
6506 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6507 be NULL. Don't lock in this case.
6508
0a2349f9
RM
65092011-09-09 Roland McGrath <roland@hack.frob.com>
6510
6511 * elf/elf.h (ELFOSABI_GNU): New macro.
6512 (ELFOSABI_LINUX): Define to that.
6513
f3cdd467
DZ
65142011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6515
6516 * string/strncat.c (strncat): Undef the symbol in case it has been
6517 defined in bits/string.h.
6518
74718d13
UD
65192011-09-09 Ulrich Drepper <drepper@gmail.com>
6520
633e9e0f
UD
6521 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6522
0a2349f9 6523 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6524 link map.
6525
f9924780
AJ
65262011-08-17 Andreas Jaeger <aj@suse.de>
6527
6528 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6529
7f5517aa
PP
65302011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6531 Ian Lance Taylor <iant@google.com>
6532
6533 * math/libm-test.inc (lround_test): New testcase.
6534 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6535
762011fe
UD
65362011-09-08 Ulrich Drepper <drepper@gmail.com>
6537
92963737
UD
6538 * Makefile: Remove support for automatic cvs check-ins.
6539 * Makerules: Likewise.
6540 * config.make.in: Likewise.
6541 * configure.in: Likewise.
6542 * intl/Makefile: Likewise.
6543 * locale/Makefile: Likewise.
6544 * po/Makefile: Likewise.
6545 * posix/Makefile: Likewise.
6546 * sysdeps/gnu/Makefile: Likewise.
6547 * sysdeps/mach/hurd/Makefile: Likewise.
6548 * sysdeps/sparc/sparc32/Makefile: Likewise.
6549
b0727fd8
JS
6550 [BZ #13118]
6551 * posix/Makefile (bug-regex32-ENV): Define.
6552 Patch by John Stanley <jpsinthemix@verizon.net>.
6553
a0f33f99
UD
6554 * misc/Makefile (headers): Add bits/select2.h.
6555 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6556 * misc/bits/select2.h: New file.
6557 * include/bits/select2.h: New file.
6558 * debug/Makefile (routines): Add fdelt_chk.
6559 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6560 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6561 FD_ISSET.
6562 * debug/fdelt_chk.c: New file.
6563
762011fe
UD
6564 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6565 * wcsmbs/test-wmemcmp.c: Likewise.
6566 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6567 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6568
65692011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6570
6571 * string/Makefile (strop-tests): Add memcmp.
6572 * string/test-wmemcmp.c: New file.
6573 * string/test-memcmp.c: Add wmemcmp support.
6574
7f513ec8
RM
65752011-09-08 Roland McGrath <roland@hack.frob.com>
6576
0442afb4
RM
6577 [BZ #13153]
6578 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6579 2011-07-19 change.
6580
7f513ec8
RM
6581 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6582 garbage value in a __mach_port_mod_refs call in the cases of the
6583 task-self and thread-self ports.
6584
a12b2239
ST
65852011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6586
6587 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6588
610f9ab4
AS
65892011-09-08 Andreas Schwab <schwab@redhat.com>
6590
7f513ec8 6591 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6592
48882a1a
LD
65932011-09-07 Ulrich Drepper <drepper@gmail.com>
6594
b49865be
UD
6595 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6596
fdc86bc9
UD
6597 * elf/dl-libc.c (dlerror_run): Pass back error code from
6598 dl_catch_error.
6599
c966526a
UD
6600 [BZ #13123]
6601 * elf/dl-load.c (lose): Free l_origin if it is valid.
6602
48882a1a
LD
6603 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6604 names.
6605 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6606 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6607 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6608 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6609 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6610 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6611
77a2a8b4
AZ
66122011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6613
6614 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6615 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6616 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6617 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6618 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6619 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6620 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6621 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6622 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6623 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6624
24f579d8
AM
66252011-08-15 Alan Modra <amodra@gmail.com>
6626
6627 [BZ #13092]
6628 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6629 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6630 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6631 ppc_mcount to static-only-routines.
6632 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6633 __mcount_internal.
6634 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6635 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6636
3d4837df
UD
66372011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6638
6639 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6640 for finite and infinity parameters.
6641
22700377
WS
66422011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6643
6644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6645 and add nop instructions for throughput optimization.
6646 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6647
5025581e
WS
66482011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6649
6650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6651 aligned copy for power7 with vector-scalar instructions.
6652 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6653
08a300c9
L
66542011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6655
6656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6657 AVX check.
6658
59178ef9
AS
66592011-09-07 Andreas Schwab <schwab@redhat.com>
6660
6661 [BZ #13144]
6662 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6663 last change.
6664
e38ba7ab
UD
66652011-09-07 Ulrich Drepper <drepper@gmail.com>
6666
6667 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6668 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6669 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6670 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6671 clock_gettime.
6672
d53a73ac
UD
66732011-09-06 Ulrich Drepper <drepper@gmail.com>
6674
fc8bffcc
UD
6675 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6676 Forgot to demangle the pointer.
6677
ceaa0c5d
UD
6678 * sysdeps/i386/sysdep.h: Define atom_text_section.
6679 * sysdeps/x86_64/sysdep.h: Likewise.
6680 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6681 section with atom_text_section.
6682 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6683 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6684 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6685 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6686 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6687
a77d3c17
UD
6688 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6689 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6690 already be defined. Change to take two parameters and don't assign
6691 result to variable. Adjust all users.
6692 Define INTERNAL_GETTIME if not already defined.
6693 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6694 call.
6695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6696 HAVE_CLOCK_GETTIME_VSYSCALL.
6697 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6698
d53a73ac
UD
6699 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6700 gettimeofday vsyscall, just use time.
6701
a8f84144
AS
67022011-09-06 Andreas Schwab <schwab@redhat.com>
6703
6704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6705 <errno.h>.
6706
ef606249
UD
67072011-09-06 Ulrich Drepper <drepper@gmail.com>
6708
6709 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6710 syscall on x86-64.
6711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6712 syscall.
6713 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6714 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6715 syscall if possible.
6716
6585cb60
UD
67172011-09-05 Ulrich Drepper <drepper@gmail.com>
6718
6719 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6720 e_ident. Don't pass to find_mapsXX.
6721 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6722
a5f524e4
LD
67232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6724
6725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6726 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6727 * sysdeps/x86_64/multiarch/strchr.S: Update.
6728 Check bit_slow_BSF bit.
6729 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6730 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6731 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6732
554881ef
UD
67332011-09-05 Ulrich Drepper <drepper@gmail.com>
6734
d96de963
UD
6735 [BZ #13134]
6736 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6737 before glibc 2.15.
6738 (tryshell): Define.
6739 (__spawni): Change last parameter to be flag. Test
6740 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6741 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6742 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6743 * posix/spawni.c: Likewise.
6744 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6745 * posix/spawnp.c: Likewise. Change normal version to use
6746 SPAWN_XFLAGS_USE_PATH.
6747 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6748 SPAWN_XFLAGS_TRY_SHELL.
6749
d48e5868
UD
6750 [BZ #13150]
6751 * posix/glob.h: Remove gcc 1.x support.
6752
554881ef
UD
6753 [BZ #13068]
6754 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6755
693fb948
LD
67562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6757
6758 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6759 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6760 strrchr-sse2-bsf
6761 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6762 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6763 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6764 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6765 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6766 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6767
1b48c537
UD
67682011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6769
49d42c37
UD
6770 * sysdeps/x86_64/wcscmp.S: New file.
6771
1b48c537
UD
6772 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6773 wcscmp-c wcscmp-sse2
6774 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6775 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6776 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6777 * wcsmbs/wcscmp.c: Allow renaming.
6778
15c95c5d
DM
67792011-09-05 David S. Miller <davem@davemloft.net>
6780
6781 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6782 stack slot, rather than the struct return pointer slot.
6783 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6784 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6786 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6787
2f0ad8f3
UD
67882011-09-05 Ulrich Drepper <drepper@gmail.com>
6789
d88ae418
UD
6790 * po/ja.po: Update from translation team.
6791
2f0ad8f3
UD
6792 [BZ #13144]
6793 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6794 kernel in 64-bit binaries.
6795
5f4318d1
DM
67962011-09-01 David S. Miller <davem@davemloft.net>
6797
6798 * elf/elf.h (HWCAP_SPARC_*): Move to..
6799 * sysdeps/sparc/sysdep.h: this new file and add new values.
6800 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6801 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6802 _DL_HWCAP_COUNT to 24.
6803 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6804 entries.
6805 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6806 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6807 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6808 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6809 instead of magic constants.
6810 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6811
3ba57516
DM
68122011-08-31 David S. Miller <davem@davemloft.net>
6813
6814 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6815 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6816 Reimplement to do errno handling inline.
6817 (SYSCALL_ERROR_HANDLER): New macro.
6818 (__SYSCALL_STRING): Do not do errno handling in asm.
6819 (__CLONE_SYSCALL_STRING): Delete.
6820 (__INTERNAL_SYSCALL_STRING): Delete.
6821 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6822 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6823 (PSEUDO): Reimplement to do errno handling inline.
6824 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6825 (SYSCALL_ERROR_HANDLER): New macro.
6826 (__SYSCALL_STRING): Do not do errno handling in asm.
6827 (__CLONE_SYSCALL_STRING): Delete.
6828 (__INTERNAL_SYSCALL_STRING): Delete.
6829 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6830 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6831 i386.
6832 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6833 (inline_syscall*): Add 'err' argument.
6834 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6835 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6836 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6837 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6838
6839 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6840 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6841
2bc17433
AS
68422011-08-30 Andreas Schwab <schwab@redhat.com>
6843
6844 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6845
fbeb5f4d
JO
68462011-08-29 Jiri Olsa <jolsa@redhat.com>
6847
6848 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6849 directive.
6850
ad69cc26
DM
68512011-08-24 David S. Miller <davem@davemloft.net>
6852
6853 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6854
39dd69df
AS
68552011-08-24 Andreas Schwab <schwab@redhat.com>
6856
6857 * elf/Makefile: Add rules to build and run unload8 test.
6858 * elf/unload8.c: New file.
6859 * elf/unload8mod1.c: New file.
6860 * elf/unload8mod1x.c: New file.
6861 * elf/unload8mod2.c: New file.
6862 * elf/unload8mod3.c: New file.
6863
6864 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6865 it wasn't used.
6866
2c0b250a
DM
68672011-08-23 David S. Miller <davem@davemloft.net>
6868
6869 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6870 subtract stack bias.
6871 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6872 %sp not %fp in calculations.
6873 (_JMPBUF_UNWINDS_ADJ): Likewise.
6874
22044b48
DM
6875 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6876 (aio_suspend): Call it to force an exception region around the
6877 AIO_MISC_WAIT() invocation.
6878
2cae4995
AS
68792011-08-23 Andreas Schwab <schwab@redhat.com>
6880
6881 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6882 backslash.
6883
873a772e
AJ
68842011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6885
6886 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6887 protection macro.
6888 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6889 and <dl-machine.h>.
6890 (Elf64_FuncDesc): Remove.
6891
25ad0df1
DM
68922011-08-22 David S. Miller <davem@davemloft.net>
6893
6894 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6895 sigaltstack check, add missing cfi directives.
6896 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6897 missing cfi directives, and sigaltstack handling.
6898
e888bcbe
AS
68992011-08-16 Andreas Schwab <schwab@redhat.com>
6900
6901 [BZ #11724]
6902 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6903 object is seen twice.
6904 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6905
6906 * elf/Makefile (distribute): Add tst-initorder2.c.
6907 (tests): Add tst-initorder2.
6908 (modules-names): Add tst-initorder2a tst-initorder2b
6909 tst-initorder2c tst-initorder2d. Add rules to build them.
6910 ($(objpfx)tst-initorder2.out): New rule.
6911 * elf/tst-initorder2.c: New file.
6912 * elf/tst-initorder2.exp: New file.
6913
87162f46
AS
69142011-08-22 Andreas Schwab <schwab@redhat.com>
6915
70538b7f
AS
6916 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6917
f55ffe58
AS
6918 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6919 dependencies back to end of function.
6920
87162f46
AS
6921 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6922 $(elfobjdir)/ld.so.
6923
91b392a4
UD
69242011-08-21 Ulrich Drepper <drepper@gmail.com>
6925
6926 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6927 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6929 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6930 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6931 of __vdso_gettimeofday.
6932 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6933 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6934 attribute_hidden.
6935 (_libc_vdso_platform_setup): Remove initialization of
6936 __vdso_gettimeofday and __vdso_time.
6937
5c43483f
UD
69382011-08-20 Ulrich Drepper <drepper@gmail.com>
6939
775a77e7
UD
6940 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6941 and fgetc_unlocked.
6942 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6943 getc_unlocked.
89f447ed 6944
49c74ba9
UD
6945 * elf/dl-open.c (add_to_global): Report additions to the global scope
6946 for LD_DEBUG=scopes.
6947 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6948 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6949
5c43483f
UD
6950 [BZ #13114]
6951 * stdio-common/Makefile (tests): Add bug24.
6952 * stdio-common/bug24.c: New file.
6953
a101b025
AJ
69542011-08-19 Andreas Jaeger <aj@suse.de>
6955
6956 [BZ #13114]
6957 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6958 non-existant file when using close-on-exec mode.
6959
c88f1766
UD
69602011-08-20 Ulrich Drepper <drepper@gmail.com>
6961
0276a718
UD
6962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6963 the very first instruction.
6964
c88f1766
UD
6965 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6966 the CFI state in the end.
6967 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6968 inclusion of dl-trampoline.h.
6969 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6970
51ccffa0
AS
69712011-08-19 Andreas Schwab <schwab@redhat.com>
6972
94d7165f
AS
6973 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6974 expectations for long double.
6975
51ccffa0
AS
6976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6977 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6978
fd708658 69792011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
6980
6981 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6982 artificual limit depends upon the system page size.
6983
44f0a71e
UD
69842011-08-17 Ulrich Drepper <drepper@gmail.com>
6985
6986 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6987 * resolv/Makefile: Define CFLAGS-libresolv.
6988
8de79a24
AS
69892011-08-17 Andreas Schwab <schwab@redhat.com>
6990
6991 * nss/makedb.c (compute_tables): Make variables used in nested
6992 function static.
6993
27724598
UD
69942011-08-17 Ulrich Drepper <drepper@gmail.com>
6995
c5305d88
UD
6996 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6997 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6998 if buffer was too small.
6999
27724598
UD
7000 * elf/pldd.c (main): Attach to all threads in the process.
7001 Rewrite /proc handling to use *at functions.
7002
076fe015
UD
70032011-08-16 Ulrich Drepper <drepper@gmail.com>
7004
174baab3
UD
7005 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7006 specifies first scope to show.
7007 (dl_open_worker): Update callers. Move printing scope of new
7008 object to before the relocation.
44f0a71e 7009 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7010 * sysdeps/generic/ldsodefs.h: Update declaration.
7011
076fe015
UD
7012 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7013 string for the scope number.
7014
a60df2c3
UD
70152011-08-14 Ulrich Drepper <drepper@gmail.com>
7016
7017 * nscd/servicescache.c (cache_addserv): Make sure written is always
7018 initialized.
7019
5e4287d1
RM
70202011-08-14 Roland McGrath <roland@hack.frob.com>
7021
85ae0589
RM
7022 * sysdeps/i386/i486/bits/atomic.h
7023 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7024 statement expression, so as to suppress "set but not used" warning.
7025 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7026
69f63097
RM
7027 * string/strncat.c (STRNCAT): Use prototype definition.
7028
675456ef
RM
7029 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7030 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7031 -Iprograms here.
7032 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7033 (localedef-modules): Add localedef.
7034 (locale-modules): Add locale.
7035
5e4287d1
RM
7036 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7037 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7038 to avoid a warning.
7039
9c96ff23
DM
70402011-08-14 David S. Miller <davem@davemloft.net>
7041
7042 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7043 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7044
f9ddf089
UD
70452011-08-13 Ulrich Drepper <drepper@gmail.com>
7046
44f0a71e 7047 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7048 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7049 * elf/rtld.c (dl_main): Set l_name of vDSO.
7050 Call _dl_show_scope when DL_DEBUG_SCOPES.
7051 (process_dl_debug): Recognize scopes flag and also set it for all.
7052 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7053 Declare _dl_show_scope.
7054
1dc27704
UD
7055 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7056 (do_dlopen): Pass caller_dlopen to dl_open.
7057 (__libc_dlopen_mode): Initialize caller_dlopen.
7058
f9ddf089
UD
7059 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7060 of libc. Make tolower call locale-independent. Optimize a bit by
7061 using isdigit instead of isalnum.
7062 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7063
9ac533d3
UD
70642011-08-12 Ulrich Drepper <drepper@gmail.com>
7065
7066 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7067 was a dependency or dynamically loaded.
7068
89edf2e9
UD
70692011-08-11 Ulrich Drepper <drepper@gmail.com>
7070
8e999d29
UD
7071 * intl/l10nflist.c: Allow architecture-specific pop function.
7072 * sysdeps/x86_64/l10nflist.c: New file.
7073
89edf2e9
UD
7074 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7075 classification.
7076
14d96785
AS
70772011-08-10 Andreas Schwab <schwab@redhat.com>
7078
7079 * include/dirent.h: Add libc_hidden_proto for scandirat and
7080 scandirat64. Don't declare __scandirat64.
7081 * dirent/scandirat.c: Add libc_hidden_def.
7082 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7083 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7084
6761ac04
DM
70852011-08-10 David S. Miller <davem@davemloft.net>
7086
7087 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7088 enum.
7089 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7090 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7091 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7092
c55fbd1e
UD
70932011-08-09 Ulrich Drepper <drepper@gmail.com>
7094
7095 * Versions.def [libc]: Add GLIBC_2.15.
7096 * dirent/Makefile (routines): Add scandirat and scandirat64.
7097 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7098 GLIBC_2.15.
7099 * dirent/dirent.h: Declare scandirat and scandirat64.
7100 * dirent/scandirat.c: New file.
7101 * dirent/scandirat64.c: New file.
7102 * sysdeps/wordsize-64/scandirat.c: New file.
7103 * sysdeps/wordsize-64/scandirat64.c: New file.
7104 * dirent/opendir.c: Define opendirat.
7105 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7106 using scandirat.
7107 * dirent/scandir64.c: Adjust for scandir.c change.
7108 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7109 __scandirat64, and __scandir_cancel_handler.
7110 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7111 additional parameter and use openat instead of open (outside of ld.so).
7112 Add new __opendir as wrapper around __opendirat.
7113 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7114 here without requiring old scandirat implementation.
7115
879165f2
UD
71162011-08-08 Ulrich Drepper <drepper@gmail.com>
7117
7118 * dirent/scandir.c (cancel_handler): Renamed to
7119 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7120 defined. Adjust users.
7121 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7122 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7123
cb7e923b
UD
71242011-08-04 Ulrich Drepper <drepper@gmail.com>
7125
16292edd
UD
7126 * string/test-string.h (IMPL): Use __STRING to expand name and then
7127 stringify it.
7128
cb7e923b
UD
7129 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7130 of cleanups.
7131
cff82933
LD
71322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7133
7134 * string/Makefile: Update.
7135 (strop-tests): Append strncat.
7136 * string/test-wcscmp.c: New file.
7137 New comprehensive test for wcscmp.
7138 * string/test-strcmp.c: Update.
7139 (WIDE): New define.
7140
9be9bfcc
AS
71412011-07-22 Andreas Schwab <schwab@redhat.com>
7142
7143 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7144 line.
7145
2e96f1c7
AS
71462011-07-26 Andreas Schwab <schwab@redhat.com>
7147
7148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7149 encoding to ACE if AI_IDN.
7150
85188888
JJ
71512011-08-01 Jakub Jelinek <jakub@redhat.com>
7152
7153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7154 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7155
5fa16e9b
LD
71562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7157
7158 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7159 Fix overflow bug in strncat.
7160 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7161
7162 * string/test-strncat.c: Update.
7163 Add new tests for checking overflow bugs.
7164
71652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7166
7167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7168 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7169 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7170 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7171 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7172 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7173 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7174 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7175 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7176
7177 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7178 (USE_AS_STRCAT): Define.
7179 Add strcat and strncat support.
7180 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7181
8c1a459f
AS
71822011-07-25 Andreas Schwab <schwab@redhat.com>
7183
7184 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7185 __n bigger than INT_MAX+1.
7186 (__strncmp_g): Likewise.
7187
bba33c28
UD
71882011-07-23 Ulrich Drepper <drepper@gmail.com>
7189
798be72d
UD
7190 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7191 * libio/stido.h: Likewise.
7192
8accd4dc
UD
7193 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7194 (AF_NFC): Define.
7195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7196 (AF_NFC): Define.
7197
cbff0d96
UD
7198 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7199 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7201 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7202 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7203
9191c04a
UD
7204 [BZ #13021]
7205 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7206 installed.
7207
bba33c28
UD
7208 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7209 typo.
7210 (_dl_x86_64_save_sse): Likewise.
7211
90f139dd
UD
72122011-07-22 Ulrich Drepper <drepper@gmail.com>
7213
1aae088a
UD
7214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7215 OSXSAVE.
7216 (_dl_x86_64_save_sse): Likewise.
7217
8e2045f5
UD
7218 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7219
90f139dd
UD
7220 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7221
1d002f25
AS
72222011-07-21 Andreas Schwab <schwab@redhat.com>
7223
7224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7225 change.
7226 (_dl_x86_64_save_sse): Use correct AVX check.
7227
21137f89
UD
72282011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7229
7230 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7231 bug in strncpy/strncat.
7232 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7233
a65c0b7a
UD
72342011-07-21 Ulrich Drepper <drepper@gmail.com>
7235
7236 * string/tester.c (test_strcat): Add tests for different alignments
7237 of source and destination.
7238 (test_strncat): Likewise.
7239
6986b98a
UD
72402011-07-20 Ulrich Drepper <drepper@gmail.com>
7241
90bb2039
UD
7242 [BZ #12852]
7243 * posix/glob.c (glob): Check passed in values before using them in
7244 expressions to avoid some overflows.
7245 (glob_in_dir): Likewise.
7246
5644ef54
UD
7247 [BZ #13007]
7248 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7249 check for AVX enablement so that we don't crash with old kernels and
7250 new hardware.
7251 * elf/tst-audit4.c: Add same checks here.
7252 * elf/tst-audit6.c: Likewise.
7253
7254 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7255
bfc9dc9b
AS
72562011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7257
7258 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7259
702e64bb
UD
72602011-07-20 Ulrich Drepper <drepper@gmail.com>
7261
7262 * po/cs.po: Update from translation team.
7263 * po/bg.po: Likewise.
7264
295e904f
MP
72652011-07-12 Marek Polacek <mpolacek@redhat.com>
7266
7267 * misc/sys/cdefs.h: Add support for const attribute.
7268 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7269 to gnu_dev_{major,minor,makedev} functions.
7270
3ff94596
MP
72712011-07-20 Marek Polacek <mpolacek@redhat.com>
7272
7273 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7274
28b59fca
AS
72752011-07-20 Andreas Schwab <schwab@redhat.com>
7276
7277 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7278 strlen results.
7279
19df733e
AK
72802011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7281
7282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7283 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7284 register in order to avoid conflicts with the soft frame pointer
7285 being held in r11 when necessary.
7286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7287 (INTERNAL_VSYSCALL_NCS): Likewise.
7288
c8835729
MP
72892011-07-14 Marek Polacek <mpolacek@redhat.com>
7290
7291 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7292 * elf/dl-fini.c (_dl_fini): Adjust caller.
7293 * elf/dl-close.c (_dl_close_worker): Likewise.
7294 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7295
b902330c
MP
72962011-07-15 Marek Polacek <mpolacek@redhat.com>
7297
8991e135
MP
7298 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7299 "aux_cache->nlibs < 0".
7300
b902330c
MP
7301 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7302 in the reload-count case.
7303
99710781
LD
73042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7305
7306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7307 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7308 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7309 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7310 * sysdeps/x86_64/multiarch/strcat.S: New file.
7311 * sysdeps/x86_64/multiarch/strncat.S: New file.
7312 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7313 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7314 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7315 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7317 (USE_AS_STRCAT): Define.
7318 Add strcat and strncat support.
7319 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7320 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7321 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7322 * string/strncat.c: Update.
7323 (USE_AS_STRNCAT): Define.
7324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7325 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7326 and i7.
7327 * sysdeps/x86_64/multiarch/init-arch.h
7328 (bit_Prefer_PMINUB_for_stringop): New.
7329 (index_Prefer_PMINUB_for_stringop): Likewise.
7330 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7331 bit_Prefer_PMINUB_for_stringop.
7332
7dc6bd90
UD
73332011-07-19 Ulrich Drepper <drepper@gmail.com>
7334
7335 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7336 buffer64.
7337 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7338 of casting of buffer.
7339 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7340 buffer32 and buffer64.
7341 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7342 writes instead of casting of buffer.
7343 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7344 buffer32.
7345 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7346 casting of buffer.
7347
e0e72284
AS
73482011-07-19 Andreas Schwab <schwab@redhat.com>
7349
7350 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7351
feb1eb0b
UD
73522011-07-19 Ulrich Drepper <drepper@gmail.com>
7353
7354 * nscd/nscd.c (termination_handler): Don't do anything for a database
7355 if it has not yet been initialized.
7356
298711ff
UD
73572011-07-18 Ulrich Drepper <drepper@gmail.com>
7358
7359 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7360
73612011-07-15 Marek Polacek <mpolacek@redhat.com>
7362
7363 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7364
f9d68389
UD
73652011-07-18 Ulrich Drepper <drepper@gmail.com>
7366
7367 * po/nl.po: Update from translation team.
7368 * po/sv.po: Likewise.
7369
db290cf5
RM
73702011-07-16 Roland McGrath <roland@hack.frob.com>
7371
7372 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7373 now disallowed by GCC.
5c550700 7374
fd5e21c7
RM
7375 * configure.in (use-default-link): Default to yes if a test -shared
7376 link meets our qualifications.
7377 * configure: Regenerated.
7378
5c550700
RM
7379 * config.make.in (output-format): New variable.
7380 * configure.in: Check for ld --print-output-format support.
7381 * configure: Regenerated.
7382 * Makerules ($(common-objpfx)format.lds)
7383 [$(output-format) != unknown]: Just use $(output-format),
7384 instead of the linker-script munging.
7385
9fa2c032
RM
73862011-07-14 Roland McGrath <roland@hack.frob.com>
7387
a6928d51
RM
7388 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7389 of $(common-objpfx)shlib.lds.
7390 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7391
661607b3
RM
7392 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7393 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7394
9fa2c032
RM
7395 * configure.in (-z relro check): Adjust test code to add a large
7396 writable data section after it.
7397 * configure: Regenerated.
7398
defe9061
RM
73992011-07-11 Roland McGrath <roland@hack.frob.com>
7400
7401 * configure.in (-z relro check): Fix test code to make the variable
7402 truly const.
7403 * configure: Regenerated.
7404
319b9ad4
UD
74052011-07-11 Ulrich Drepper <drepper@gmail.com>
7406
7407 * nscd/nscd.h (struct traced_file): Define.
7408 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7409 elements. Add traced_files.
7410 (inotify_fd): Declare.
7411 (register_traced_file): Declare.
7412 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7413 (inotify_fd): Export.
7414 (resolv_conf_descr): Remove.
7415 (nscd_init): Move inotify descriptor creation to main.
7416 Don't register files for notification here.
7417 (register_traced_file): New function.
7418 (invalidate_cache): Don't use reset_res to determine whether to call
7419 res_init, go through the list of registered files.
7420 (main_loop_poll): The inotify descriptors are now stored in the
7421 structures for the traced files.
7422 (main_loop_epoll): Likewise
7423 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7424 to __nss_disable_nscd.
7425 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7426 for a database anymore. Check the records for all the registered
7427 files instead.
7428 * nss/Makefile (libnss_files-routines): Add files-init.
7429 (libnss_db-routines): Add db-init.
7430 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7431 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7432 * nss/nss_db/db-init.c: New file.
7433 * nss/nss_files/files-init.c: New file.
7434 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7435 __nss_lookup_function.
7436 (__nss_lookup_function): Call nss_load_library.
7437 (nss_load_all_libraries): New function.
7438 (__nss_disable_nscd): Take parameter with callback function for files
7439 to register. Set is_nscd. Load all the DSOs for the NSS modules
7440 used for the cached services.
7441 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7442 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7443 options for features to all the files in nscd.
7444
7445 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7446
23bee3e8
RM
74472011-07-10 Roland McGrath <roland@hack.frob.com>
7448
7449 * csu/elf-init.c (__libc_csu_init): Comment typo.
7450
46a5b7f0
UD
74512011-07-09 Ulrich Drepper <drepper@gmail.com>
7452
7453 * po/pl.po: Update from translation team.
7454 * po/ja.po: Likewise.
7455 * po/ru.po: Likewise.
7456 * po/ko.po: Likewise.
7457 * po/fr.po: Likewise.
7458
d30cf5bb
RM
74592011-07-09 Roland McGrath <roland@hack.frob.com>
7460
113ddea4
RM
7461 * configure.in (.ctors/.dtors header and trailer check):
7462 Use an empirical test on a built program.
7463 * configure: Regenerated.
7464
574920b4
RM
7465 * configure.in (-z relro check): Use an empirical test on a built DSO.
7466 Detect, but do not require, on ia64.
7467 * configure: Regenerated.
7468
d30cf5bb
RM
7469 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7470 Update tests that use readelf to use $READELF instead.
7471 * configure: Regenerated.
7472
8538fdb3
UD
74732011-07-08 Ulrich Drepper <drepper@gmail.com>
7474
7475 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7476 if the result is not used.
7477
04d08991
AJ
74782011-07-05 Andreas Jaeger <aj@suse.de>
7479
7480 [BZ#9696]
7481 * stdlib/tst-strtod.c: Add testcase.
7482
de283087
AD
74832011-07-07 Ulrich Drepper <drepper@gmail.com>
7484
4e5f31c8 7485 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7486 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7487 The latter has a higher limit. Take additional parameter to pass to
7488 the new function.
7489 (__pathconf): Pass file to __statfs_link_max.
7490 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7491 __statfs_link_max.
7492 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7493 __statfs_link_max.
7494
de283087
AD
7495 [BZ #12868]
7496 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7497 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7498 Handle Lustre.
7499 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7500 (__statfs_filesize_max): Likewise.
7501 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7502
c75fa153
AJ
75032011-07-05 Andreas Jaeger <aj@suse.de>
7504
7505 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7506
1a544854
UD
75072011-07-06 Marek Polacek <mpolacek@redhat.com>
7508
7509 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7510 `status' variable.
7511 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7512 Likewise.
7513
6f0eec67
UD
75142011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7515
7516 * Makefile (strop-tests): Add strncat.
7517 * string/test-strncat.c: New file.
7518
aae30307
UD
75192011-06-30 Marek Polacek <mpolacek@redhat.com>
7520
7521 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7522
c0cfb5eb
UD
75232011-06-21 Andreas Jaeger <aj@suse.de>
7524
7525 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7526 Copy rule from iconvdata/Makefile.
7527
01636b21
UD
75282011-07-06 Ulrich Drepper <drepper@gmail.com>
7529
7530 [BZ #12922]
7531 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7532 but no long options are defined, just return 'W'.
7533
9895c8bc
UD
75342011-06-22 Marek Polacek <mpolacek@redhat.com>
7535
7536 [BZ #9696]
7537 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7538
5d4cf042
UD
75392011-07-06 Ulrich Drepper <drepper@gmail.com>
7540
7541 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7542 netgroups to read.
960e5535 7543 (innetgr): Likewise.
5d4cf042 7544
751eb97e
RM
75452011-07-05 Roland McGrath <roland@hack.frob.com>
7546
7547 * config.make.in (install_root): Default to $(DESTDIR).
7548
f15f1e45
UD
75492011-07-05 Ulrich Drepper <drepper@gmail.com>
7550
7551 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7552
4e34ac6a
RM
75532011-07-02 Roland McGrath <roland@hack.frob.com>
7554
5e9b6af4
RM
7555 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7556
84f9ea0f
RM
7557 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7558 containing directory rather than embedding absolute directory names.
7559
ea5ee9f7
RM
7560 * scripts/check-local-headers.sh: Rewritten using awk.
7561 Match by word, not by line. Print error messages for matches.
7562 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7563
1b74661a
RM
7564 * Makerules [shlib-lds-flags empty]:
7565 ($(common-objpfx)libc_pic.opts): New target.
7566 ($(common-objpfx)libc_pic.os.clean): New target.
7567 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7568
7569 * config.make.in (OBJCOPY): New variable.
7570 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7571 * configure: Regenerated.
7572
f781ef40
RM
7573 * config.make.in (use-default-link): New variable.
7574 * configure.in (use_default_link): Grok --with-default-link to set it.
7575 * configure: Regenerated.
7576 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7577 (shlib-lds, shlib-lds-flags): Define to empty.
7578
2d4fa81e
RM
7579 * Makerules (shlib-lds): New variable.
7580 (shlib-lds-flags): New variable.
7581 (build-shlib, build-moduile, build-module-asneeded): Use it.
7582 ($(common-objpfx)libc.so): Use $(shlib-lds).
7583 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7584 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7585
31fffa6b
RM
7586 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7587 DT_FLAGS/DT_FLAGS_1 with zero flags.
7588
4e34ac6a
RM
7589 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7590 linker script munging.
7591
fcfc776b
UD
75922011-07-02 Ulrich Drepper <drepper@gmail.com>
7593
7594 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7595 as 128-bit value.
7596 * crypt/sha512.c (sha512_process_block): Perform total addition using
7597 128-bit if possible.
7598 (__sha512_finish_ctx): Likewise.
7599 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7600 as 64-bit value.
7601 * crypt/sha256.c (SWAP64): Define.
7602 (sha256_process_block): Perform total addition using 64-bit if
7603 possible.
7604 (__sha256_finish_ctx): Likewise.
7605
99231d9a
UD
76062011-07-01 Ulrich Drepper <drepper@gmail.com>
7607
7608 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7609 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7610 * nscd/hstcache.c (cache_addhst): Likewise.
7611 * nscd/grpcache.c (cache_addgr): Likewise.
7612 * nscd/aicache.c (addhstaiX): Likewise
7613 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7614
445b4a53
TK
76152011-07-01 Thorsten Kukuk <kukuk@suse.de>
7616
7617 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7619 * nscd/hstcache.c (cache_addhst): Likewise.
7620 * nscd/grpcache.c (cache_addgr): Likewise.
7621 * nscd/aicache.c (addhstaiX): Likewise
7622
6d4d8e8e
AS
76232011-07-01 Andreas Schwab <schwab@redhat.com>
7624
7625 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7626 domain only when needed.
7627
89f654c5
AS
76282011-06-30 Andreas Schwab <schwab@redhat.com>
7629
7630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7631 is always restored.
7632
cf3b23ff
UD
76332011-06-29 Ulrich Drepper <drepper@gmail.com>
7634
7635 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7636 are re-adding the entry.
7637 * nscd/servicescache.c (cache_addserv): Likewise.
7638
751626f9
AJ
76392011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7640
7641 * sysdeps/generic/dl-irel.h: fix protection against multiple
7642 inclusions.
7643 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7644
9113ea1f
UD
76452011-06-28 Ulrich Drepper <drepper@gmail.com>
7646
5c0b8d90
UD
7647 [BZ #12935]
7648 * malloc/memusage.sh: Fix quoting in message.
7649 * debug/xtrace.sh: Likewise.
7650
9113ea1f
UD
7651 * configure.in: Remove support for --experimental-malloc option, make
7652 it the default.
7653 * config.make.in: Likewise.
7654 * malloc/Makefile: Likewise.
7655
a4172181
AS
76562011-06-27 Andreas Schwab <schwab@redhat.com>
7657
7658 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7659 two-byte characters.
7660
78a7eee7
RM
76612011-06-27 Roland McGrath <roland@hack.frob.com>
7662
62bede13
RM
7663 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7664 AC_CACHE_CHECK invocation.
7665 * configure: Regenerated.
7666
78a7eee7
RM
7667 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7668
5ce33a62
UD
76692011-06-27 Ulrich Drepper <drepper@gmail.com>
7670
034807a9
UD
7671 [BZ #12350]
7672 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7673 bit from old_res_options.
7674
4902da17
UD
7675 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7676
5ce33a62
UD
7677 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7678 value type for setfct.
7679
c2344f56
L
76802011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7681
7682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7683 __gettimeofday instead of gettimeofday.
7684
68468076
UD
76852011-06-26 Ulrich Drepper <drepper@gmail.com>
7686
7687 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7688
acb0d739
L
76892011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7690
7691 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7692
7693 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7694 info.
7695
8912479f
L
76962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7697
7698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7699 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7700 strcpy-sse2-unaligned strncpy-sse2-unaligned
7701 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7702 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7703 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7704 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7705 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7706 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7707 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7708 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7709 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7710 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7711 (STRCPY): Support SSE2 and SSSE3 versions.
7712
d5495a11
UD
77132011-06-24 Ulrich Drepper <drepper@gmail.com>
7714
7715 [BZ #12874]
7716 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7717 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7718 kernels which artificially limit size of requests.
7719
0b1cbaae
L
77202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7721
7722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7723 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7724 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7725 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7726 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7727 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7728 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7729 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7730 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7731 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7732 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7733 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7734 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7735 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7736 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7738 Enable unaligned load optimization for Intel Core i3, i5 and i7
7739 processors.
7740 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7741 Define.
7742 (index_Fast_Unaligned_Load): Define.
7743 (HAS_FAST_UNALIGNED_LOAD): Define.
7744
07f494a0
MP
77452011-06-23 Marek Polacek <mpolacek@redhat.com>
7746
7747 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7748
fa3fc0fe
UD
77492011-06-22 Ulrich Drepper <drepper@gmail.com>
7750
7751 [BZ #12907]
7752 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7753 until it is clear that the information is realy needed.
7754 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7755
e12df166
AS
77562011-06-22 Andreas Schwab <schwab@redhat.com>
7757
7758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7759
852eb34d
UD
77602011-06-22 Ulrich Drepper <drepper@gmail.com>
7761
84e2a551
UD
7762 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7763 /sys/devices/system/cpu/online if it is usable.
7764
852eb34d
UD
7765 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7766 reading the information from the /proc filesystem to once a second.
7767
6e502e19
UD
77682011-06-21 Andreas Jaeger <aj@suse.de>
7769
7770 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7771 NULL after inclusion of kernel headers.
7772
75d39ff2
UD
77732011-06-21 Ulrich Drepper <drepper@gmail.com>
7774
51f9aa6a
UD
7775 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7776 calls to internal_setent.
7777
c0244a9d
UD
7778 [BZ #12885]
7779 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7780 addresses using gethostbyname4_r ignore IPv4 addresses.
7781
c5e3c2ae
UD
7782 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7783 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7784
75d39ff2
UD
7785 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7786
42675c6f
DM
77872011-06-20 David S. Miller <davem@davemloft.net>
7788
7789 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7790 inclusions.
7791 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7792
7793 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7794 (elf_irel): Use it.
7795 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7796 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7797 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7798 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7799 * sysdeps/x86_64/dl-irel.h: Likewise.
7800
7801 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7802 * elf/dl-sym.c: Likewise.
7803
57912a71
UD
78042011-06-15 Ulrich Drepper <drepper@gmail.com>
7805
7806 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7807 need to dereference resplen2.
7808
ee22793d
AS
78092011-06-14 Andreas Schwab <schwab@redhat.com>
7810
7811 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7812
a9e836b0
UD
78132011-06-15 Ulrich Drepper <drepper@gmail.com>
7814
77fb9117
UD
7815 * Makeconfig: Define vardbdir and inst_vardbdir.
7816 * nss/Makefile: Add rules to install db-Makefile.
7817
40c1b22c
UD
7818 * nss/nss_db/db-XXX.c: Cleanup.
7819
9f2da732
UD
7820 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7821 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7822 GLIBC_PRIVATE.
7823 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7824 * nss/makedb.c: Implement -g option to specify that value strings
7825 are generated and should not be added to table iterated over for
7826 get*ent calls.
7827 * nss/nss_db/db-initgroups.c: New file.
7828
82e9a1f7
UD
7829 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7830 interface.
7831
c41af17e
UD
7832 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7833 (internal_getgrouplist): Adjust to name change.
7834 Update use_initgroups_entry if this is not the first call.
7835 * nss/databases.def: Add initgroups entry.
7836
a9e836b0
UD
7837 * nss/makedb.c (compute_tables): Check result of multiple hash table
7838 sizes to minimize maximum chain length.
7839
2666d441
UD
78402011-06-14 Ulrich Drepper <drepper@gmail.com>
7841
7842 * Versions.def: Add entry for libnss_db.
7843 * shlib-versions: Likewise.
7844 * nss/Makefile: Add rules to build libnss_db.
7845 * nss/Versions: Add libnss_db information. Organize libnss_files
7846 entries better.
7847 * nss/db-Makefile: Add gshadow support. Change rules for the new
7848 makedb progra. Some minor improvements to generate smaller files.
7849 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7850 here from...
7851 * nss/makedb.c: ...here.
7852 Improve database format to be smaller and require less memory at
7853 runtime.
7854 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7855 db anymore.
7856 * nss/nss_db/db-netgrp.c: Likewise.
7857 * nss/nss_db/db-open.c: Likewise.
7858 * nss/nss_files/flies-XXX.x: Adjust comments.
7859 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7860 * nss/nss_files/files-grp.c: Likewise.
7861 * nss/nss_files/files-hosts.c: Likewise.
7862 * nss/nss_files/files-network.c: Likewise.
7863 * nss/nss_files/files-proto.c: Likewise.
7864 * nss/nss_files/files-pwd.c: Likewise.
7865 * nss/nss_files/files-rpc.c: Likewise.
7866 * nss/nss_files/files-service.c: Likewise.
7867 * nss/nss_files/files-sgrp.c: Likewise.
7868 * nss/nss_files/files-spwd.c: Likewise.
7869 * nss/nss_db/db-alias.c: Removed.
7870 * nss/nss_db/dummy-db.h: Removed.
7871
9ee76b5a
UD
78722011-06-02 Ulrich Drepper <drepper@gmail.com>
7873
7874 * nss/makedb.c: Rewritten to not use database library.
7875 * nss/Makefile: Update to build new makedb program.
7876
c71ca1f8
AJ
78772011-06-14 Andreas Jaeger <aj@suse.de>
7878
7879 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7880 memset declaration.
7881
3154bfb8
UD
78822011-06-10 Andreas Schwab <schwab@redhat.com>
7883
7884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7885 tmpbuf.
7886
b350afab
RM
78872011-06-10 Roland McGrath <roland@hack.frob.com>
7888
decd4e50
RM
7889 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7890 * elf/Makefile ($(objpfx)ld.so): Likewise.
7891
5615eaf2
RM
7892 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7893 Don't list ld.so twice in dependencies.
7894
7895 * posix/bug-regex31.c: Include <stdlib.h>.
7896
7897 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7898
7899 * nis/nss_compat/compat-spwd.c
7900 (getspent_next_nss_netgr): Remove unused variable.
7901 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7902
7903 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7904 nonmembers" output to use the right array.
7905
7906 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7907
7908 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7909
7910 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7911 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7912 * catgets/gencat.c (read_input_file): Likewise.
7913 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7914
7915 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7916 variable definition inside #if's controlling its use.
7917
7918 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7919
7920 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7921
7922 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7923
7924 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7925 unreachable code.
7926
7927 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7928
b68e08db
RM
7929 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7930 * configure: Regenerated.
7931
b350afab
RM
7932 * Makerules: Revert last change.
7933 * elf/Makefile: Likewise.
7934
28368601
RM
79352011-06-09 Roland McGrath <roland@hack.frob.com>
7936
7937 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7938 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7939 (reloc-link): Likewise.
7940
11988f8f
UD
79412011-06-09 Ulrich Drepper <drepper@gmail.com>
7942
7943 * elf/Makefile: Add rules to build pldd.
7944 * elf/pldd.c: New file.
7945 * elf/pldd-xx.c: New file.
7946
e80fab37
UD
79472011-06-07 Ulrich Drepper <drepper@gmail.com>
7948
7949 * version.h: Update for 2.15 development version.
7950
9b849836
DM
79512011-06-07 David S. Miller <davem@davemloft.net>
7952
7953 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7954 ifuncs.
7955 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7956 elf_machine_lazy_rel): Likewise.
7957 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7959 elf_machine_lazy_rel): Likewise.
7960 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7961 dl_hwcap via passed in argument.
7962 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7963 Likewise.
7964
5a31b283
AK
79652011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7966
7967 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7968
069e52f8
RM
79692011-06-06 Roland McGrath <roland@hack.frob.com>
7970
7971 [BZ #12849]
7972 * manual/fdl-1.1.texi: New file, verbatim from:
7973 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7974 * manual/lgpl-2.1.texi: New file, verbatim from:
7975 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7976 * manual/Makefile (licenses): New variable, list those new file names.
7977 (texis): Use it.
7978 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7979
7980 * manual/fdl.texi: File removed.
7981 * manual/lesser.texi: File removed.
7982 * manual/libc.texinfo (Copying, Documentation License):
7983 Use new @include file names, put @appendix directive before @include.
7984
f16846a5
JJ
79852011-06-04 Jakub Jelinek <jakub@redhat.com>
7986
7987 [BZ #12841]
7988 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7989 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7990 (mq_open): Add __NTH.
7991
3d29045b
L
79922011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7993
7994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7995 Assume Intel Core i3/i5/i7 processor if AVX is available.
7996
8c297311
UD
79972011-05-31 Ulrich Drepper <drepper@gmail.com>
7998
7999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8000 typo.
8001
c8fc0c91
UD
80022011-05-31 Andreas Schwab <schwab@redhat.com>
8003
8004 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8005 memory. Use alloca_account. Fix memory leak when retrying.
8006
5b27a807
UD
80072011-05-31 Ulrich Drepper <drepper@gmail.com>
8008
356f8bc6
UD
8009 * version.h (RELEASE): Bump for 2.14 release.
8010 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8011
5b27a807
UD
8012 * config.make.in (RANLIB): Remove entry.
8013
01f16ab0
UD
80142011-05-30 Ulrich Drepper <drepper@gmail.com>
8015
41fce8bd
UD
8016 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8017 (libc.pot): Work around missing support for .ksh extension in xgettext.
8018
4769ae77
UD
8019 [BZ #12684]
8020 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8021 if both request failed.
8022 (send_dg): In case of server errors clear resplen or *resplen2.
8023
6b1e7d19
UD
8024 [BZ #12454]
8025 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8026 when there are multiple maps.
8027 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8028 (_dl_fini): Remove test here.
8029
01f16ab0
UD
8030 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8031
b1ebd700
UD
80322011-05-29 Ulrich Drepper <drepper@gmail.com>
8033
7ae22829
UD
8034 [BZ #12350]
8035 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8036 bit from old_res_options.
8037 (gaih_inet): Likewise.
8038
553149f6 8039 [BZ #11099]
18a84741 8040 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8041 as signed.
8042
652ffab1
UD
8043 * resolv/res_init.c (res_setoptions): Make the code more compact.
8044
16985fd0
UD
8045 [BZ #11558]
8046 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8047 set RES_USEVC.
8048
0464f746
UD
8049 [BZ #11634]
8050 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8051
7d17596c
UD
8052 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8053
cf6bbbd7
UD
8054 [BZ #11781]
8055 * malloc/malloc.h: Declare malloc hook variables as volatile.
8056
13f1ab36
UD
8057 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8058 in last patch.
8059
b1ebd700
UD
8060 [BZ #11799]
8061 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8062 raise in the comment.
80e2212d
UD
8063 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8064 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8065 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8066
ce67228d
UD
80672011-05-28 Ulrich Drepper <drepper@gmail.com>
8068
8887a920
UD
8069 [BZ #12811]
8070 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8071 grow the buffers more if it already has to be sufficient.
8072 (build_wcs_upper_buffer): Likewise.
8073 * posix/regexec.c (check_matching): Likewise.
8074 (clean_state_log_if_needed): Likewise.
8075 (extend_buffers): Don't enlarge buffers beyond size of the input
8076 buffer.
8077 Patches mostly by Emil Wojak <emil@wojak.eu>.
8078 * posix/bug-regex32.c: New file.
8079 * posix/Makefile (tests): Add bug-regex32.
8080
4f031072
UD
8081 * locale/findlocale.c (_nl_find_locale): Return right away if
8082 _nl_explode_name failed.
8083 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8084
d0478f0c
UD
8085 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8086
de81b246
UD
8087 * debug/xtrace.sh: Unify messages.
8088 * malloc/memusage.sh: Likewise.
8089
c738465a
UD
8090 [BZ #12813]
8091 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8092 time symbol from vDSO. Substitute with vsyscall if not available.
8093 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8094 __vdso_time.
8095
f1f929d7
UD
8096 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8097 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8098 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8099 Add sendmmsg and internal_sendmmsg.
8100 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8101 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8102 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8103
ce67228d
UD
8104 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8105 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8106 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8107
e57420c6
UD
81082011-05-27 Ulrich Drepper <drepper@gmail.com>
8109
a8509ca5
UD
8110 [BZ #12813]
8111 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8112 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8113 available.
8114 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8115 __vdso_getcpu.
8116
e57420c6
UD
8117 [BZ #12814]
8118 * iconvdata/Makefile (tests): Add bug-iconv9.
8119 * iconvdata/bug-iconv9.c: New file.
8120
4d07db15
AS
81212011-05-27 Andreas Schwab <schwab@redhat.com>
8122
8123 [BZ #12814]
8124 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8125
ea486f69
JJ
81262011-05-25 Jakub Jelinek <jakub@redhat.com>
8127
8128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8129 (struct user_regs_struct): Change intcs field back to cs.
8130
6f038433
UD
81312011-05-25 Ulrich Drepper <drepper@gmail.com>
8132
8133 * po/ja.po: Update from translation team.
8134
67f86a25
UD
81352011-05-23 Ulrich Drepper <drepper@gmail.com>
8136
8137 [BZ #12795]
8138 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8139 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8140
def7fbd6
AS
81412011-05-20 Andreas Schwab <schwab@redhat.com>
8142
8143 * stdlib/longlong.h: Update from GCC.
8144
f50ef8f1
AS
81452011-05-23 Andreas Schwab <schwab@redhat.com>
8146
8147 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8148 parameter name.
8149 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8150 Add parameter name.
8151 (__sysconf): Pass it down.
8152
de7ce8f1
UD
81532011-05-22 Ulrich Drepper <drepper@gmail.com>
8154
f2962a71
UD
8155 [BZ #12671]
8156 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8157 some situations.
8158 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8159 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8160 add in in __libc_use_alloca calls. Adjust callers.
8161 (glob): Use malloc in some situations.
8162
de7ce8f1
UD
8163 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8164 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8165 pltexit.
8166
aec84f53
UD
81672011-05-21 Ulrich Drepper <drepper@gmail.com>
8168
05bb4a68
UD
8169 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8170 and CLOCK_BOOTTIME_ALARM.
8171
7ea72f99
UD
8172 [BZ #12782]
8173 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8174 is returned.
8175
7e4afad5
UD
8176 * string/_strerror.c (__strerror_r): Print negative errors as signed
8177 numbers.
8178
8e211fec
UD
8179 [BZ #12777]
8180 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8181 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8182 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8183
f7d82dc9
UD
8184 * configure.in: Fix typo in redirection and correct removal of test
8185 files in two cases.
8186
cc9e536d
UD
8187 [BZ #12788]
8188 * locale/setlocale.c (new_composite_name): Fix test to check for
8189 identical name of all categories.
8190
aec84f53
UD
8191 [BZ #12792]
8192 * libio/filedoalloc.c (local_isatty): New function.
8193 (_IO_file_doallocate): Use local_isatty.
8194 * stdio-common/perror.c (perror): In case a new stream is used
8195 forward the stream error.
8196 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8197 error flag.
8198
78e64fdc
RT
81992011-05-20 Ulrich Drepper <drepper@gmail.com>
8200
34a9094f
UD
8201 [BZ #11869]
8202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8203 alloca.
8204 * include/alloca.h (extend_alloca_account): Define.
8205
78e64fdc
RT
8206 [BZ #11857]
8207 * posix/regex.h: Fix comments with documentation of user-accessible
8208 fields after compilation and describe correct free'ing of pattern
8209 after re_compile_pattern.
8210 Patch by Reuben Thomas <rrt@sc3d.org>.
8211
457bddfc
RA
82122011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8213
8214 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8215 and -mno-altivec to prevent the compiler from using Altivec and/or
8216 VSX instructions when the corresponding registers are not available.
8217
a4527b51
AS
82182011-05-19 Andreas Schwab <schwab@redhat.com>
8219
8220 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8221
ed690b2f
UD
82222011-05-19 Ulrich Drepper <drepper@gmail.com>
8223
8224 * libio/freopen.c (freopen): Use __dup2, not dup2.
8225 * libio/freopen64.c (freopen64): Likewise.
8226
8db73634
L
82272011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8228
8229 [BZ #12775]
8230 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8231 * math/Makefile (tests): Add test-powl.
8232 (CFLAGS-test-powl.c): Define.
8233 * math/test-powl.c: New file.
8234
0a197a9d
L
82352011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8236
8237 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8238
ee30c380
UD
82392011-05-17 Ulrich Drepper <drepper@gmail.com>
8240
8241 [BZ #11837]
8242 * iconvdata/gb18030.c: Update to GB18020-2005.
8243
6ce75379
UD
82442011-05-16 Ulrich Drepper <drepper@gmail.com>
8245
a4b89fd8
AR
8246 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8247 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8248 Patch by Aharon Robbins <arnold@skeeve.com>.
8249
ea389b12
UD
8250 [BZ #11892]
8251 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8252 on the stack.
8253
68a3f91f
UD
8254 [BZ #11895]
8255 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8256 through underflows.
8257
15cc7dd1
UD
8258 [BZ #12766]
8259 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8260 point to strings before performing equality test for error_one_per_line
8261 mode.
8262
f3799213
UD
8263 [BZ #11697]
8264 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8265
d79a9c94
UD
8266 [BZ #11820]
8267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8268 (struct user_fpregs_struct): Avoid __uint*_t types.
8269
56e5eb46
UD
8270 [BZ #6420]
8271 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8272 symbol info. Use it instead of calling _dl_addr locally.
8273 (lock_and_info): New function.
8274 (tr_freehook): Call lock_and_info and pass symbol info as additional
8275 parameter to tr_where.
8276 (tr_mallochook): Likewise.
8277 (tr_reallochook): Likewise.
8278 (tr_memalignhook): Likewise.
8279
6ce75379
UD
8280 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8281 used and couldn't be at all thread-safe.
8282
f8a3b5bf
UD
82832011-05-15 Ulrich Drepper <drepper@gmail.com>
8284
94b7cc37
UD
8285 * libio/freopen.c (freopen): Don't close old file descriptor
8286 before the new one is opened. Instead dup the new file descriptor
8287 to the old one after the new stream is created.
8288 * libio/freopen64.c (freopen64): Likewise.
8289 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8290 * libio/fileops.c (_IO_new_file_close_it): Handle new
8291 _IO_FLAGS2_NOCLOSE flag.
8292 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8293 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8294 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8295 _IO_FLAGS2_NOCLOSE flag.
8296 * include/unistd.h: Add hidden_proto for dup3.
8297 Define __have_dup3.
8298 * io/dup3.c: Define hidden symbol.
8299 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8300
bd25564e
UD
8301 [BZ #7101]
8302 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8303 when an incomplete long option is used.
8304 * posix/tst-getopt_long1.c: New file.
8305 * posix/Makefile (tests): Add tst-getopt_long1.
8306
c84cfef4
UD
8307 [BZ #10138]
8308 * scripts/config.guess: Update from autoconf-2.68.
8309 * scripts/config.sub: Likewise.
8310
3b85df27
UD
8311 [BZ #10157]
8312 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8313 tests into ...
8314 (has_cpuclock): ...this. New function.
8315 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8316 macro here based on has_cpuclock code.
8317
15a856b1
UD
8318 [BZ #10149]
8319 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8320 First byte (not low byte) is now always NUL.
8321 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8322
05f399e6
UD
8323 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8324 Use non-cancelable interfaces.
8325
10a52685 8326 [BZ #9809]
94ecc67d
UD
8327 * locale/iso-639.def: Add entry for Sorani.
8328
f8a3b5bf
UD
8329 [BZ #11901]
8330 * include/stdlib.h: Move include protection to the right place.
8331 Define abort_msg_s. Declare __abort_msg with it.
8332 * stdlib/abort.c (__abort_msg): Adjust type.
8333 * assert/assert.c (__assert_fail_base): New function. Majority
8334 of code from __assert_fail. Allocate memory for __abort_msg with
8335 mmap.
8336 (__assert_fail): Now call __assert_fail_base.
8337 * assert/assert-perr.c: Remove bulk of implementation. Use
8338 __assert_fail_base.
8339 * include/assert.hL Declare __assert_fail_base.
8340 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8341 mmap.
8342 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8343
1af4e298
UD
83442011-05-14 Ulrich Drepper <drepper@gmail.com>
8345
f8a3b5bf 8346 [BZ #11952]
d26dfc60
MG
8347 [BZ #12453]
8348 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8349 until all modules are registered in the DTV.
8350 * elf/Makefile: Add rules to build and run tst-tls19.
8351 * elf/tst-tls19.c: New file.
8352 * elf/tst-tls19mod1.c: New file.
8353 * elf/tst-tls19mod2.c: New file.
8354 * elf/tst-tls19mod3.c: New file.
8355 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8356
2fc54d6f
UD
8357 [BZ #12083]
8358 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8359 correctly.
8360
98d76b46
UD
8361 [BZ #12601]
8362 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8363 two-byte sequence errors.
8364 * iconvdata/Makefile (tests): Add bug-iconv8.
8365 * iconvdata/bug-iconv8.c: New file.
8366
da3c19ef
UD
8367 [BZ #12626]
8368 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8369 buf2 definition.
8370
ca408c15
UD
8371 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8372
d6f67f7d
UD
8373 [BZ #12432]
8374 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8375 (dummy_getcfa): New function.
8376 (init): Get _Unwind_GetCFA address, use dummy if not found.
8377 (backtrace_helper): In recursion check, also check whether CFA changes.
8378 (__backtrace): Completely initialize arg.
8379
1af4e298 8380 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8381 storing incomplete byte sequence in state object. Avoid testing for
8382 guaranteed too small input if we know there is enough data available.
1af4e298 8383
da62f81b
AS
83842011-05-11 Andreas Schwab <schwab@redhat.com>
8385
8386 * Makeconfig (+link-pie): Indent.
8387 * Rules (binaries-pie): Define if $(have-fpie) and
8388 $(build-shared).
8389 (binaries-shared): Also filter out $(binaries-pie).
8390 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8391 * nscd/Makefile (others-pie): Add nscd.
8392 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8393 ($(objpfx)nscd): Remove command override.
8394 * login/Makefile (others-pie): Add pt_chown.
8395 ($(objpfx)pt_chown): Remove command override.
8396 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8397 remove command overrides.
8398
fcabc0f8
UD
83992011-05-13 Ulrich Drepper <drepper@gmail.com>
8400
20030ae6
UD
8401 * libio/tst_putwc.c: Fix error messages.
8402
fcabc0f8
UD
8403 [BZ #12724]
8404 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8405 currently writing and seek to current position when not.
8406 * libio/Makefile (tests): Add bug-fclose1.
8407 * libio/bug-fclose1.c: New file.
8408
320a5dc0
PB
84092011-05-12 Ulrich Drepper <drepper@gmail.com>
8410
8411 [BZ #12511]
8412 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8413 don't set DF_1_NODELETE here.
8414 (do_lookup_x): When entering new entry test for copy relocation
8415 and if necessary set DF_1_NODELETE flag.
8416 * elf/tst-unique4.cc: New file.
8417 * elf/tst-unique4.h: New file.
8418 * elf/tst-unique4lib.cc: New file.
8419 * elf/Makefile: Add rules to build and run tst-unique4.
8420 Patch by Piotr Bury <pbury@goahead.com>.
8421
22836f52
UD
84222011-05-11 Ulrich Drepper <drepper@gmail.com>
8423
f574184a
UD
8424 [BZ #12052]
8425 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8426
e1fb097f
UD
8427 [BZ #12625]
8428 * misc/mntent_r.c (addmntent): Flush the stream after the output
8429
22836f52
UD
8430 [BZ #12393]
8431 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8432 (is_trusted_path_normalize): Skip initial colon. Append slash
8433 to empty buffer. Duplicate is_trusted_path code but allow
8434 constructed patch to be prefix.
8435 (is_dst): Allow $ORIGIN followed by /.
8436 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8437 Correct testing of result of is_trusted_path_normalize
8438 (decompose_rpath): Fix warning.
8439
7b3b0b2a
UD
84402011-05-10 Ulrich Drepper <drepper@gmail.com>
8441
8442 [BZ #11257]
8443 * grp/initgroups.c (internal_getgrouplist): When we found the service
8444 list through the initgroups entry in nsswitch.conf do not always
8445 continue on a successful lookup. Don't always use the
eac80ce2 8446 __nss_group_database value if it is set.
7b3b0b2a
UD
8447 * nss/nsswitch.conf (initgroups): Change action for successful db
8448 lookup to continue for compatibility.
8449
2a81eaa5
UD
84502011-05-09 Ulrich Drepper <drepper@gmail.com>
8451
be97a69e
UD
8452 [BZ #11532]
8453 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8454 and CP774 modules.
8455 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8456 and CP774 modules.
8457 * iconvdata/tst-tables.sh: Likewise.
8458 * iconvdata/cp770.c: New file.
8459 * iconvdata/cp771.c: New file.
8460 * iconvdata/cp772.c: New file.
8461 * iconvdata/cp773.c: New file.
8462 * iconvdata/cp774.c: New file.
8463 * iconvdata/testdata/CP770: New file.
8464 * iconvdata/testdata/CP770..UTF8: New file.
8465 * iconvdata/testdata/CP771: New file.
8466 * iconvdata/testdata/CP771..UTF8: New file.
8467 * iconvdata/testdata/CP772: New file.
8468 * iconvdata/testdata/CP772..UTF8: New file.
8469 * iconvdata/testdata/CP773: New file.
8470 * iconvdata/testdata/CP773..UTF8: New file.
8471 * iconvdata/testdata/CP774: New file.
8472 * iconvdata/testdata/CP774..UTF8: New file.
8473
8474 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8475 END CHARMAP line.
8476 * iconvdata/gen-8bit-gap.sh: Likewise.
8477 * iconvdata/gen-8bit.sh: Likewise.
8478
c1e9e399
UD
8479 * locale/iso-639.def: Add ary entry.
8480
24c55fb3 8481 [BZ #11258]
96b4b1b0
UD
8482 * locale/C-translit.h.in: Add U20A1 transliteration.
8483
bdc2f971
KB
8484 [BZ #12178]
8485 * locale/iso-639.def: Add wae entry.
8486 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8487
2952b117
UD
8488 [BZ #12545]
8489 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8490 for n.
8491
2a81eaa5
UD
8492 [BZ #12711]
8493 * locale/C-translit.h.in: Add entry for U20B9.
8494 Patch by pravin.d.s@gmail.com.
8495
28377d1b
UD
84962011-05-08 Ulrich Drepper <drepper@gmail.com>
8497
7fb90fb8
UD
8498 [BZ #12713]
8499 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8500 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8501 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8502 in rtld. Use *stat64.
7fb90fb8 8503 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8504 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8505 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8506 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8507 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8508 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8509 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8510 __fstatat64 macros.
7fb90fb8
UD
8511 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8512 * dirent/rewinddir.c: Add libc_hidden_def.
8513 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8514 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8515
28377d1b
UD
8516 * include/dirent.h (__alloc_dir): Add flags parameter.
8517 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8518 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8519 __alloc_dir.
8520 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8521 from fdopendir if O_CLOEXEC is already set.
8522
66bdbaa4
AM
85232011-03-15 Alan Modra <amodra@gmail.com>
8524
8525 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8526 l_tls_firstbyte_offset non-zero. Save padding offset in
8527 l_tls_firstbyte_offset for later use.
8528 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8529 freeing static tls block.
8530
95721191
JN
85312011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8532
8533 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8534 where #ifdef was intended. The intent is to prevent ARG_MAX from
8535 being defined by the kernel headers.
8536
f87dfb1f
UD
85372011-05-07 Ulrich Drepper <drepper@gmail.com>
8538
8539 [BZ #12734]
8540 * resolv/resolv.h: Define RES_NOTLDQUERY.
8541 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8542 no-tld-query and set RES_NOTLDQUERY.
8543 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8544 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8545 modern BIND to search name as TLD unless forbidden.
8546
47c3cd7a
UD
85472011-05-07 Petr Baudis <pasky@suse.cz>
8548 Ulrich Drepper <drepper@gmail.com>
8549
8550 [BZ #12393]
8551 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8552 (is_trusted_path): ...to here.
c1e9ea35 8553 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8554 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8555 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8556
8a35c912
PP
85572011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8558
8559 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8560 __BEGIN/__END_DECLS.
8561
acd41f47
UD
85622011-05-06 Ulrich Drepper <drepper@gmail.com>
8563
8564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8565 NSS_STATUS_NOTFOUND if no record was found.
8566
597df647
AS
85672011-05-05 Andreas Schwab <schwab@redhat.com>
8568
8569 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8570 (headers-not-in-tirpc): Remove rpc/netdb.h
8571 * resolv/netdb.h: Revert last change.
8572
b9af1301
PP
85732011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8574
8575 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8576 circular dependency between libgcc.a and libc.a.
8577
4e34d5f5
AS
85782011-05-05 Andreas Schwab <schwab@redhat.com>
8579
8580 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8581 * nis/Makefile: Don't install rpcsvc/*.
8582 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8583 instead of <rpc/types.h>.
8584 (MAXHOSTNAMELEN): Define.
8585
00ee369c
AS
85862011-05-03 Andreas Schwab <schwab@redhat.com>
8587
8588 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8589
0b592a30
MB
85902011-04-28 Maciej Babinski <mbabinski@google.com>
8591
8592 [BZ #12714]
8593 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8594 gethostbyname4_r when IPv6 results are possible.
8595
6e04cbbe
UD
85962011-05-02 Ulrich Drepper <drepper@gmail.com>
8597
8598 [BZ #12723]
8599 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8600 _PC_PIPE_BUF handling.
8601
e4ecafe0
BH
86022011-04-30 Bruno Haible <bruno@clisp.org>
8603
8604 [BZ #12717]
8605 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8606 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8607 to 'int'.
8608 * inet/getnameinfo.c (getnameinfo): Likewise.
8609
125ee683
UD
86102011-04-29 Ulrich Drepper <drepper@gmail.com>
8611
8612 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8613 to groups setting in database lookup.
8614 * nss/nsswitch.conf: Add initgroups entry.
8615
b722481a
EB
86162011-04-22 Ulrich Drepper <drepper@gmail.com>
8617
8618 [BZ #12685]
8619 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8620 mode string.
8621 Patch by Eric Blake <eblake@redhat.com>.
8622
4df46dbd
L
86232011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8624
8625 * sunrpc/Makefile (need-export-routines): Add svc_run.
8626 (routines): Remove svc_run.
8627 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8628 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8629 * sunrpc/svc_run.c (svc_run): Likewise.
8630 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8631
e84142d2
UD
86322011-04-21 Ulrich Drepper <drepper@gmail.com>
8633
8634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8635 problem in reallocation in last patch.
8636
877175d8
UD
86372011-04-20 Ulrich Drepper <drepper@gmail.com>
8638
8639 * sunrpc/Makefile: Move inclusion of Rules.
8640
ab8eed78
UD
86412011-04-19 Ulrich Drepper <drepper@gmail.com>
8642
8643 * nss/nss_files/files-initgroups.c: New file.
8644 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8645 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8646 _nss_files_initgroups_dyn.
8647
e3d8f584
RS
86482011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8649
8650 * elf/elf.h (R_ARM_IRELATIVE): Define.
8651
af190f45
UD
86522011-04-19 Ulrich Drepper <drepper@gmail.com>
8653
8654 * po/ru.po: Update from translation team.
8655
53cf59ef
UD
86562011-04-17 Ulrich Drepper <drepper@gmail.com>
8657
8658 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8659 dependencies.
8660
4c559bcd
MF
86612011-02-06 Mike Frysinger <vapier@gentoo.org>
8662
8663 [BZ #12653]
8664 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8665 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8666 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8668 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8669
4420675c
AS
86702011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8671
8672 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8673 differing bytes.
8674 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8675 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8676 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8677
75ea32ab
UD
86782011-04-17 Ulrich Drepper <drepper@gmail.com>
8679
8680 [BZ #12420]
8681 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8682 storing it.
8683 * stdlib/bug-getcontext.c: New file.
8684 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8685
27390476
AK
86862011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8687
8688 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8689 instructions into .machine "z9-109".
8690 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8691 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8692
10442705
AK
86932011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8694
8695 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8696 between environment variables and auxiliary vector.
8697
7b57bfe5
UD
86982011-04-16 Ulrich Drepper <drepper@gmail.com>
8699
8700 * Makefile: Add rules to build linkobj/libc.so.
8701 * include/libc-symbols.h: Define libc_hidden_nolink.
8702 * include/rpc/auth.h: Mark functions which are to be hidden.
8703 * include/rpc/auth_des.h: Likewise.
8704 * include/rpc/auth_unix.h: Likewise.
8705 * include/rpc/clnt.h: Likewise.
8706 * include/rpc/des_crypt.h: Likewise.
8707 * include/rpc/key_prot.h: Likewise.
8708 * include/rpc/pmap_clnt.h: Likewise.
8709 * include/rpc/pmap_prot.h: Likewise.
8710 * include/rpc/pmap_rmt.h: Likewise.
8711 * include/rpc/rpc_msg.h: Likewise.
8712 * include/rpc/svc.h: Likewise.
8713 * include/rpc/svc_auth.h: Likewise.
8714 * include/rpc/xdr.h: Likewise.
8715 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8716 * nss/Makefile: Likewise.
8717 * sunrpc/Makefile: Don't install headers. Build library with normal
8718 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8719 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8720 for the compat linking library. Remove use of INTDEF/INTUSE.
8721 * sunrpc/auth_none.c: Likewise.
8722 * sunrpc/auth_unix.c: Likewise.
8723 * sunrpc/authdes_prot.c: Likewise.
8724 * sunrpc/authuxprot.c: Likewise.
8725 * sunrpc/clnt_gen.c: Likewise.
8726 * sunrpc/clnt_perr.c: Likewise.
8727 * sunrpc/clnt_raw.c: Likewise.
8728 * sunrpc/clnt_simp.c: Likewise.
8729 * sunrpc/clnt_tcp.c: Likewise.
8730 * sunrpc/clnt_udp.c: Likewise.
8731 * sunrpc/clnt_unix.c: Likewise.
8732 * sunrpc/des_crypt.c: Likewise.
8733 * sunrpc/des_soft.c: Likewise.
8734 * sunrpc/get_myaddr.c: Likewise.
8735 * sunrpc/key_call.c: Likewise.
8736 * sunrpc/key_prot.c: Likewise.
8737 * sunrpc/netname.c: Likewise.
8738 * sunrpc/pm_getmaps.c: Likewise.
8739 * sunrpc/pm_getport.c: Likewise.
8740 * sunrpc/pmap_clnt.c: Likewise.
8741 * sunrpc/pmap_prot.c: Likewise.
8742 * sunrpc/pmap_prot2.c: Likewise.
8743 * sunrpc/pmap_rmt.c: Likewise.
8744 * sunrpc/publickey.c: Likewise.
8745 * sunrpc/rpc_cmsg.c: Likewise.
8746 * sunrpc/rpc_common.c: Likewise.
8747 * sunrpc/rpc_dtable.c: Likewise.
8748 * sunrpc/rpc_prot.c: Likewise.
8749 * sunrpc/rpc_thread.c: Likewise.
8750 * sunrpc/rtime.c: Likewise.
8751 * sunrpc/svc.c: Likewise.
8752 * sunrpc/svc_auth.c: Likewise.
8753 * sunrpc/svc_authux.c: Likewise.
8754 * sunrpc/svc_raw.c: Likewise.
8755 * sunrpc/svc_run.c: Likewise.
8756 * sunrpc/svc_simple.c: Likewise.
8757 * sunrpc/svc_tcp.c: Likewise.
8758 * sunrpc/svc_udp.c: Likewise.
8759 * sunrpc/svc_unix.c: Likewise.
8760 * sunrpc/svcauth_des.c: Likewise.
8761 * sunrpc/xcrypt.c: Likewise.
8762 * sunrpc/xdr.c: Likewise.
8763 * sunrpc/xdr_array.c: Likewise.
8764 * sunrpc/xdr_float.c: Likewise.
8765 * sunrpc/xdr_intXX_t.c: Likewise.
8766 * sunrpc/xdr_mem.c: Likewise.
8767 * sunrpc/xdr_rec.c: Likewise.
8768 * sunrpc/xdr_ref.c: Likewise.
8769 * sunrpc/xdr_sizeof.c: Likewise.
8770 * sunrpc/xdr_stdio.c: Likewise.
8771
e6c61494
UD
87722011-04-10 Ulrich Drepper <drepper@gmail.com>
8773
8774 [BZ #12650]
8775 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8776 * sysdeps/ia64/dl-tls.h: Likewise.
8777 * sysdeps/powerpc/dl-tls.h: Likewise.
8778 * sysdeps/s390/dl-tls.h: Likewise.
8779 * sysdeps/sh/dl-tls.h: Likewise.
8780 * sysdeps/sparc/dl-tls.h: Likewise.
8781 * sysdeps/x86_64/dl-tls.h: Likewise.
8782 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8783
34fe483e
AS
87842011-03-14 Andreas Schwab <schwab@redhat.com>
8785
8786 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8787 rpath element also skip the following colon.
8788 (expand_dynamic_string_token): Add is_path parameter and pass
8789 down to DL_DST_REQUIRED and _dl_dst_substitute.
8790 (decompose_rpath): Call expand_dynamic_string_token with
8791 non-zero is_path. Ignore empty rpaths.
8792 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8793 with zero is_path.
8794
f12a32e6
AS
87952011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8796
8797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8798 Make cancelable.
8799
38a7d692
UD
88002011-04-09 Ulrich Drepper <drepper@gmail.com>
8801
8802 [BZ #12655]
8803 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8804 Patch by Filipe David Manana <fdmanana@apache.org>.
8805
e451d22b
AS
88062011-04-07 Andreas Schwab <schwab@redhat.com>
8807
8808 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8809 Maintain aligned stack.
8810 (CHECK_RSP): Remove unused macro.
8811
dedc7c7b
UD
88122011-04-03 Ulrich Drepper <drepper@gmail.com>
8813
8814 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8815 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8816
94521213
UD
88172011-04-02 Ulrich Drepper <drepper@gmail.com>
8818
8819 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8820
8cb700c0 8821 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 8822
0354e355
L
88232011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8824
8825 [BZ #12518]
8826 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8827 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8828 * sysdeps/x86_64/memmove.c: New file.
8829 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8830 (memcpy): Renamed to ...
8831 (__new_memcpy): This.
8832 (memcpy): Provide GLIBC_2_14 memcpy.
8833 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8834 (memcpy): Provide GLIBC_2_2_5 memcpy.
8835
8593482f
UD
88362011-04-01 Ulrich Drepper <drepper@gmail.com>
8837
8838 [BZ #12631]
8839 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8840
81a5726b
AS
88412011-03-30 Andreas Schwab <schwab@redhat.com>
8842
8843 * misc/syncfs.c: New file.
8844 * misc/Makefile (routines): Add syncfs.
8845 * posix/unistd.h: Declare syncfs.
8846 * sysdeps/unix/syscalls.list: Add syncfs.
8847
00e5419f
AS
88482011-04-01 Andreas Schwab <schwab@redhat.com>
8849
8850 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8851 open_by_handle_at.
8852 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8854 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8855 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8857 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8859
748876bf
UD
88602011-04-01 Ulrich Drepper <drepper@gmail.com>
8861
658e451d
UD
8862 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8863 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8864 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8869
748876bf
UD
8870 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8871 sync_file_range.c with -fexceptions.
8872 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8873 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8874 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8875 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8876 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8877 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8878 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
8879 sync_file_range as cancellation point
8880 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8881 now a wrapper around __call_sync_file_range with cancellation handling.
8882 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8883 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8884 function name to __call_sync_file_range.
8885 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8886 Add call_sync_file_range.
748876bf 8887
6e63d5e1
AS
88882011-04-01 Andreas Schwab <schwab@redhat.com>
8889
8890 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 8891 bits/timex.h.
6e63d5e1 8892
46998f74
UD
88932011-04-01 Ulrich Drepper <drepper@gmail.com>
8894
4c1423ed
UD
8895 * iconv/iconv.h: Fix typo in comment.
8896 * io/fcntl.h: Likewise.
8897 * libio/stdio.h: Likewise.
8898 * posix/spawn.h: Likewise.
8899 * posix/unistd.h: Likewise.
8900 * stdlib/stdlib.h: Likewise.
8901 * time/time.h: Likewise.
8902 * wcsmbs/wchar.h: Likewise.
8903
158648c0
UD
8904 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8905 open_by_handle): Add.
8906 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8907 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8908 Augment a few comments.
8909 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8911 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8913 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8914 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8915 open_by_handle.
8916
46998f74
UD
8917 * io/fcntl.h (AT_EMPTY_PATH): Define.
8918
83fe108b
UD
89192011-03-30 Ulrich Drepper <drepper@gmail.com>
8920
8921 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8922 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8923 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8924 to...
8925 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8926 * Versions.def: Add GLIBC_2.14.
8927 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8928 Export.
83fe108b 8929
bb242059
UD
89302011-03-22 Ulrich Drepper <drepper@gmail.com>
8931
8932 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8933 round counter.
8934 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8935
c97a1282
L
89362011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8937
8938 [BZ #12597]
8939 * string/test-strncmp.c (do_page_test): New function.
8940 (check2): Likewise.
8941 (test_main): Call check2.
8942 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8943
2a115601
UD
89442011-03-20 Ulrich Drepper <drepper@gmail.com>
8945
8946 [BZ #12587]
8947 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8948 Handle cache information in CPU leaf 4.
8949 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8950
8126d904
UD
89512011-03-18 Ulrich Drepper <drepper@gmail.com>
8952
042c49c6 8953 [BZ #12583]
8126d904
UD
8954 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8955 character representation.
8956 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8957
ccfe366e
RA
89582011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8959
8960 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8961 END(__isnan) to END(__isnanf) to match function entry point/label
8962 EALIGN(__isnanf,...).
8963
c6e13027
JJ
89642011-03-10 Jakub Jelinek <jakub@redhat.com>
8965
8966 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8967
33f85a3f
UD
89682011-03-10 Ulrich Drepper <drepper@gmail.com>
8969
028478fa
UD
8970 [BZ #12510]
8971 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8972 copy from the symbol referenced in the relocation to initialize the
8973 used variable.
8974 Patch by Piotr Bury <pbury@goahead.com>.
8975 * elf/Makefile: Add rules to build and tst-unique3.
8976 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8977 * elf/tst-unique3.cc: New file.
8978 * elf/tst-unique3.h: New file.
8979 * elf/tst-unique3lib.cc: New file.
8980 * elf/tst-unique3lib2.cc: New file.
8981
33f85a3f
UD
8982 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8983
03592fc7
MF
89842011-03-10 Mike Frysinger <vapier@gentoo.org>
8985
8986 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8987 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8988 to _start.
03592fc7 8989
6a5ee102
UD
89902011-03-06 Ulrich Drepper <drepper@gmail.com>
8991
8992 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8993 to-be-loaded object along a path to loader is ld.so.
8994
7e4ba49c
HJ
89952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8996 Ulrich Drepper <drepper@gmail.com>
8997
8998 * sysdeps/x86_64/memset.S: After aligning destination, code
8999 branches to different locations depending on the value of
9000 misalignment, when multiarch is enabled. Fix this.
9001
90022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9003
9004 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9005 Set _x86_64_preferred_memory_instruction for AMD processsors.
9006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9007 Set bit_Prefer_SSE_for_memop for AMD processors.
9008
13a804de
UD
90092011-03-04 Ulrich Drepper <drepper@gmail.com>
9010
9011 * libio/fmemopen.c (fmemopen): Optimize a bit.
9012
9d25c392
AS
90132011-03-03 Andreas Schwab <schwab@redhat.com>
9014
9015 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9016
a5543c6a
RM
90172011-03-03 Roland McGrath <roland@redhat.com>
9018
9019 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9020
012d35f7
DM
90212011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9022
7e4ba49c 9023 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9024 __bzero_ultra1 instead of __memset_ultra1.
9025
4bff6e01
AS
90262011-02-23 Andreas Schwab <schwab@redhat.com>
9027 Ulrich Drepper <drepper@gmail.com>
9028
9029 [BZ #12509]
9030 * include/link.h (struct link_map): Add l_orig_initfini.
9031 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9032 returning unsuccessfully.
9033 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9034 close of a file loaded at startup, restore the original l_initfini
9035 list.
9036 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9037 list, store the pointer.
9038 * elf/Makefile ($(objpfx)noload-mem): New rule.
9039 (noload-ENV): Define.
9040 (tests): Add $(objpfx)noload-mem.
9041 * elf/noload.c: Include <memcheck.h>.
9042 (main): Call mtrace. Close all opened handles.
9043
f2092faf
AS
90442011-02-17 Andreas Schwab <schwab@redhat.com>
9045
9046 [BZ #12454]
9047 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9048 dependencies are missing.
9049
6c8a2e88
ST
90502011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9051
f2092faf 9052 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9053 Hurd needs munmap.
9054 * sysdeps/mach/hurd/ifreq.h: New file.
9055
84a42118
PB
90562011-01-27 Petr Baudis <pasky@suse.cz>
9057 Ulrich Drepper <drepper@gmail.com>
9058
071f805e 9059 [BZ 12445]#
84a42118
PB
9060 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9061 to extend_alloca().
9062 * stdio-common/bug23.c: New file.
9063 * stdio-common/Makefile (tests): Add bug23.
9064
e23fe25b
AS
90652010-09-28 Andreas Schwab <schwab@redhat.com>
9066 Ulrich Drepper <drepper@gmail.com>
9067
9068 [BZ #12489]
9069 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9070 before performing relro protection. At old place add assertion
9071 to make sure nothing changed.
9072
d3f02e10
NS
90732011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9074 Glauber de Oliveira Costa <glommer@gmail.com>
9075
9076 * elf/elf.h: Add new ARM TLS relocs.
9077
d55fd7a5
RA
90782011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9079
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9081 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9082 cast from r3.
9083 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9084 'tests' variable.
9085 * sysdeps/wordsize-64/tst-writev.c: New file.
9086
2206397e
RA
90872011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9088
9089 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9090 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9091 insns in _dl_start to prevent a TOC reference before relocs are
9092 resolved.
9093
e9433893
UD
90942011-02-15 Ulrich Drepper <drepper@gmail.com>
9095
9096 [BZ #12469]
9097 * Makeconfig: Remove RANLIB definition.
9098 * Makerules: Don't use RANLIB.
9099 * aclocal.m4: Remove ranlib test.
9100 * configure.in: No need to check for ranlib.
9101 * elf/rtld-Rules: Don't use RANLIB.
9102
f75286c6
ST
91032011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9104
8e31c82d
ST
9105 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9106 protection macro.
9107 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9108 inclusion protection macro.
9109
f75286c6
ST
9110 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9111 SIGRTMIN and SIGRTMAX and print information in that case only when
9112 SIGRTMIN is defined.
9113
c1d0e639
JJ
91142011-02-11 Jakub Jelinek <jakub@redhat.com>
9115
9116 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9117 arginfo fn returning -1.
9118
9119 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9120 and thousands string is zero terminated.
9121
edf9294e
AS
91222011-02-03 Andreas Schwab <schwab@redhat.com>
9123
9124 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9125 sysdeps/unix/sysv/linux/bits/socket.h.
9126
2b7e92df
ST
91272011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9128
edf9294e
AS
9129 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9130 (__CPU_COUNT): Remove old macros.
9131 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9132 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9133 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9134 (__sched_cpualloc, __sched_cpufree): Add declarations.
9135
a4c7ea7b
UD
91362011-02-05 Ulrich Drepper <drepper@gmail.com>
9137
9138 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9139 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9140 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9141 (readdhstai): Return value of addhstaiX call.
9142 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9143 (addgrbyX): Return value returned by cache_addgr.
9144 (readdgrbyname): Return value returned by addgrbyX.
9145 (readdgrbygid): Likewise.
9146 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9147 (addpwbyX): Return value returned by cache_addpw.
9148 (readdpwbyname): Return value returned by addhstbyX.
9149 (readdpwbyuid): Likewise.
9150 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9151 (addservbyX): Return value returned by cache_addserv.
9152 (readdservbyname): Return value returned by addservbyX:
9153 (readdservbyport): Likewise.
9154 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9155 (addhstbyX): Return value returned by cache_addhst.
9156 (readdhstbyname): Return value returned by addhstbyX.
9157 (readdhstbyaddr): Likewise.
9158 (readdhstbynamev6): Likewise.
9159 (readdhstbyaddrv6): Likewise.
9160 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9161 (readdinitgroups): Return value returned by addinitgroupsX.
9162 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9163 (prune_cache): Keep track of timeout value of re-added entries.
9164 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9165 * nscd/nscd.h: Adjust prototypes of readd* functions.
9166
a0bf67cc
RM
91672011-02-04 Roland McGrath <roland@redhat.com>
9168
9169 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9170 (nis_stats): Likewise.
9171 * nis/nis_modify.c (nis_modify): Likewise.
9172 * nis/nis_remove.c (nis_remove): Likewise.
9173 * nis/nis_add.c (nis_add): Likewise.
9174
9175 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9176
9177 * posix/fnmatch_loop.c: Add some consts.
9178
9179 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9180
435b95eb
L
91812011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9182
9183 [BZ #12460]
9184 * config.make.in (config-cflags-novzeroupper): Define.
9185 * configure.in: Substitute libc_cv_cc_novzeroupper.
9186 * elf/Makefile (AVX-CFLAGS): Define.
9187 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9188 (CFLAGS-tst-auditmod4a.c): Likewise.
9189 (CFLAGS-tst-auditmod4b.c): Likewise.
9190 (CFLAGS-tst-auditmod6b.c): Likewise.
9191 (CFLAGS-tst-auditmod6c.c): Likewise.
9192 (CFLAGS-tst-auditmod7b.c): Likewise.
9193 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9194
8517b15e
UD
91952011-02-02 Ulrich Drepper <drepper@gmail.com>
9196
9197 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9198 function to the callback.
9199 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9200
10a656fe
AS
92012011-02-02 Andreas Schwab <schwab@redhat.com>
9202
9203 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9204 of errno.
9205
968dad0a
UD
92062011-01-19 Ulrich Drepper <drepper@gmail.com>
9207
9f94d2ea 9208 [BZ #11724]
968dad0a
UD
9209 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9210 of constructors.
9211 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9212 of destructors.
9213 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9214
9215 [BZ #11724]
9216 * elf/Makefile: Add rules to build and run new test.
9217 * elf/tst-initorder.c: New file.
9218 * elf/tst-initorder.exp: New file.
9219 * elf/tst-initordera1.c: New file.
9220 * elf/tst-initordera2.c: New file.
9221 * elf/tst-initordera3.c: New file.
9222 * elf/tst-initordera4.c: New file.
9223 * elf/tst-initorderb1.c: New file.
9224 * elf/tst-initorderb2.c: New file.
9225 * elf/tst-order-a1.c: New file.
9226 * elf/tst-order-a2.c: New file.
9227 * elf/tst-order-a3.c: New file.
9228 * elf/tst-order-a4.c: New file.
9229 * elf/tst-order-b1.c: New file.
9230 * elf/tst-order-b2.c: New file.
9231 * elf/tst-order-main.c: New file.
9232 New test case by George Gensure <werkt0@gmail.com>.
9233
86e92359
UD
92342010-10-01 Andreas Schwab <schwab@redhat.com>
9235
9236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9237 decoding ACE if AI_CANONIDN.
9238
5d5732b0
UD
92392011-01-18 Ulrich Drepper <drepper@gmail.com>
9240
9241 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9242
a77e8cbc
UD
92432011-01-17 Ulrich Drepper <drepper@gmail.com>
9244
6392473f
UD
9245 * version.h (RELEASE): Bump for 2.13 release.
9246 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9247
620a0529
UD
9248 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9249
18ba70a5
UD
9250 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9251 MADV_NOHUGEPAGE.
32465c3e
UD
9252 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9253 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9254 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9255 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9256 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9257 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9258
c0dafcf1
UD
9259 * posix/getconf.c: Update copyright year.
9260 * catgets/gencat.c: Likewise.
9261 * csu/version.c: Likewise.
9262 * debug/catchsegv.sh: Likewise.
9263 * debug/xtrace.sh: Likewise.
9264 * elf/ldconfig.c: Likewise.
9265 * elf/ldd.bash.in: Likewise.
9266 * elf/sprof.c (print_version): Likewise.
9267 * iconv/iconv_prog.c: Likewise.
9268 * iconv/iconvconfig.c: Likewise.
9269 * locale/programs/locale.c: Likewise.
9270 * locale/programs/localedef.c: Likewise.
9271 * malloc/memusage.sh: Likewise.
9272 * malloc/mtrace.pl: Likewise.
9273 * nscd/nscd.c (print_version): Likewise.
9274 * nss/getent.c: Likewise.
9275
a77e8cbc
UD
9276 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9277 PF_CAIF, and PF_ALG.
9278 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9279
77e8bddf
AS
92802011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9281
1f20b93a
AS
9282 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9283 (modules-names): Use them.
9284 (ifunc-test-modules, ifunc-pie-tests): Define.
9285 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9286 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9287 (test-extras): Likewise.
9288 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9289 $(compile-command.c).
9290 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9291 (all-built-dso): Define.
9292 (check-textrel.out, check-execstack.out): Depend on it.
9293
77e8bddf
AS
9294 * configure.in: Don't override --enable-multi-arch.
9295
bc425b33
UD
92962011-01-15 Ulrich Drepper <drepper@gmail.com>
9297
9298 [BZ #6812]
9299 * nscd/hstcache.c (tryagain): Define.
9300 (cache_addhst): Return tryagain not notfound for temporary errors.
9301 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9302 failed.
9303
794c3ad3
UD
93042011-01-14 Ulrich Drepper <drepper@gmail.com>
9305
70181fdd
UD
9306 [BZ #10563]
9307 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9308 to make the syscall.
9309 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9310
794c3ad3
UD
9311 [BZ #12378]
9312 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9313 and fall back to matching as normal character if the string ends before
9314 the matching ']' is found. This is what POSIX requires.
9315 * posix/testfnm.c: Adjust test result.
9316 * posix/globtest.sh: Adjust test result. Add new test.
9317 * posix/tst-fnmatch.input: Likewise.
9318 * posix/tst-fnmatch2.c: Add new test.
9319
68dc9497
AS
93202010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9321
9322 * elf/Makefile (check-execstack): Revert last change. Depend on
9323 check-execstack.h.
9324 (check-execstack.h): New target.
9325 (generated): Add check-execstack.h.
9326 * elf/check-execstack.c: Include "check-execstack.h".
9327 (main): Revert last change.
9328 (handle_file): Return zero if GNU_STACK is absent and
9329 DEFAULT_STACK_PERMS doesn't include PF_X.
9330
451f001b
UD
93312011-01-13 Ulrich Drepper <drepper@gmail.com>
9332
cfa28e56
UD
9333 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9334 in child fails because the descriptor is already closed.
8cf8ce17
UD
9335 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9336 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9337 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9338
1086d70d
UD
9339 [BZ #12397]
9340 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9341 syscall.
9342
451f001b
UD
9343 [BZ #10484]
9344 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9345 temporary buffer used to handle multi lookups locally.
a85b5cb4 9346 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9347
08769175
UD
93482011-01-12 Ulrich Drepper <drepper@gmail.com>
9349
9350 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9351 loader is ld.so.
9352
5e49c52e
UD
93532011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9354
9355 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9356 alignment for SSE2.
9357
60522a5f
UD
93582011-01-12 Ulrich Drepper <drepper@gmail.com>
9359
9360 [BZ #12394]
9361 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9362 characters. When rounding increased number of integer digits recompute
9363 number of groups.
9364 * stdio-common/tst-grouping.c: New file.
9365 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9366
f257bbd7
UD
93672011-01-09 Ulrich Drepper <drepper@gmail.com>
9368
9369 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9370 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9371
9372 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9373 void.
9374 * bits/select.h: Likewise.
9375
fa9c15cb
UD
93762011-01-08 Ulrich Drepper <drepper@gmail.com>
9377
9378 * po/ja.po: Update from translation team.
9379
16c2895f
DM
93802011-01-04 David S. Miller <davem@sunset.davemloft.net>
9381
9382 [BZ #11155]
9383 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9384 implementation just like for lxstat, fxstatat, et al.
9385
2543fef2
JM
93862010-12-27 Jim Meyering <meyering@redhat.com>
9387
9388 [BZ #12348]
9389 * posix/regexec.c (build_trtable): Return failure indication upon
9390 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9391
98727dbe
UD
93922010-12-25 Ulrich Drepper <drepper@gmail.com>
9393
5bd6dc5c
UD
9394 [BZ #12201]
9395 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9396 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9397 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9398 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9399
97983464
UD
9400 [BZ #12207]
9401 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9402
98727dbe
UD
9403 [BZ #12204]
9404 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9405 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9406
4a531bb0
L
94072010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9408
9409 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9410 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9411 script has SORT_BY_INIT_PRIORITY.
9412 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9413 NO_CTORS_DTORS_SECTIONS is defined.
9414 * elf/soinit.c: Likewise.
9415 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9416 NO_CTORS_DTORS_SECTIONS is defined.
9417 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9418 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9419 * sysdeps/sh/init-first.c: Likewise.
9420 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9421
07eb4b71
UD
94222010-12-24 Ulrich Drepper <drepper@gmail.com>
9423
9424 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9425 always use the slow path.
9426
30950a5f
RA
94272010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9428
9429 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9430 similar rule which adds the sysdep directories to the header search in
9431 order to pick up the correct platform stackinfo.h.
9432 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9433 perform test if it is, otherwise return successfully without testing.
9434 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9435 DEFAULT_STACK_PERMS define in stackinfo.h.
9436 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9437 defined in stackinfo.h.
9438 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9439 DEFAULT_STACK_PERMS defined in stackinfo.h.
9440 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9441 * sysdeps/ia64/stackinfo.h: Likewise.
9442 * sysdeps/s390/stackinfo.h: Likewise.
9443 * sysdeps/sh/stackinfo.h: Likewise.
9444 * sysdeps/sparc/stackinfo.h: Likewise.
9445 * sysdeps/x86_64/stackinfo.h: Likewise.
9446 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9447 PF_X for powerpc64. Retain PF_X for powerpc32.
9448
db753e2c
UD
94492010-12-19 Ulrich Drepper <drepper@gmail.com>
9450
14b697f7
UD
9451 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9452 accurately.
db753e2c
UD
9453 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9454 GETDENTS_64BIT_ALIGNED.
9455
28300719
UD
94562010-12-14 Ulrich Drepper <dreper@gmail.com>
9457
14b697f7 9458 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9459
4f197237
AS
94602010-12-10 Andreas Schwab <schwab@redhat.com>
9461
dbb0472f
AS
9462 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9463 _GNU_SOURCE.
9464
4f197237
AS
9465 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9466 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9467 Remove __restrict.
9468 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9469 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9470
fb88ac72
UD
94712010-12-09 Ulrich Drepper <drepper@gmail.com>
9472
9473 [BZ #11655]
9474 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9475 are initialized.
9476
42acbb92
JJ
94772010-12-09 Jakub Jelinek <jakub@redhat.com>
9478
9479 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9480
c038d98d
UD
94812010-12-03 Ulrich Drepper <drepper@gmail.com>
9482
9483 * po/it.po: Update from translation team.
9484
3a4a2499
L
94852010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9486
9487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9488 unused codes.
9489
1e24cf6e
UD
94902010-11-30 Ulrich Drepper <drepper@gmail.com>
9491
9492 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9493
a7690819
AS
94942010-11-24 Andreas Schwab <schwab@redhat.com>
9495
9496 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9497 specially.
9498 (gaih_getanswer_slice): Likewise.
9499
3bf8d1b1
JJ
95002010-10-20 Jakub Jelinek <jakub@redhat.com>
9501
9502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9503
6db52fbb
PB
95042010-05-31 Petr Baudis <pasky@suse.cz>
9505
9506 [BZ #11149]
9507 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9508 silently even in the chroot mode.
9509
eaca7569
UD
95102010-11-22 Ulrich Drepper <drepper@gmail.com>
9511
9512 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9513 last patch a bit. Pretty printing
9514
3056dcdb
UD
95152010-05-31 Petr Baudis <pasky@suse.cz>
9516
9517 [BZ #10085]
9518 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9519 initialization of skip_initgroups_dyn.
9520
cf7c9078
UD
95212010-11-19 Ulrich Drepper <drepper@gmail.com>
9522
9523 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9524 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9525
a1fb5e3e
UD
95262010-11-16 Ulrich Drepper <drepper@gmail.com>
9527
9528 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9529
3540d66b
AS
95302010-11-11 Andreas Schwab <schwab@redhat.com>
9531
9532 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9533 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9534 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9535 ($(objpfx)tst-fnmatch-mem): New rule.
9536 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9537 * posix/tst-fnmatch.c (main): Call mtrace.
9538
13b69574
L
95392010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9540
9541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9542 Support Intel processor model 6 and model 0x2c.
9543
da93d214
LM
95442010-11-10 Luis Machado <luisgpm@br.ibm.com>
9545
9546 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9547 signed comparison.
9548
8ca52c6e
L
95492010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9550
9551 [BZ #12205]
9552 * string/test-strncasecmp.c (check_result): New function.
9553 (do_one_test): Use it.
9554 (check1): New function.
9555 (test_main): Use it.
9556 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9557 Support strcasecmp and strncasecmp.
9558
69da074d
UD
95592010-11-08 Ulrich Drepper <drepper@gmail.com>
9560
9561 [BZ #12194]
9562 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9563 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9564
ff02d528
L
95652010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9566
9567 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9568 IFUNC support.
9569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9570 memset-x86-64.
9571 * sysdeps/x86_64/multiarch/bzero.S: New file.
9572 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9573 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9574 * sysdeps/x86_64/multiarch/memset.S: New file.
9575 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9577 Set bit_Prefer_SSE_for_memop for Intel processors.
9578 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9579 Define.
9580 (index_Prefer_SSE_for_memop): Define.
9581 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9582
344d0b54
LM
95832010-11-04 Luis Machado <luisgpm@br.ibm.com>
9584
9585 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9586 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9587
c0dde15b
UD
95882010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9589
9590 [BZ #12191]
9591 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9592 (__x86_64_raw_data_cache_size_half): Likewise.
9593 (__x86_64_raw_shared_cache_size): Likewise.
9594 (__x86_64_raw_shared_cache_size_half): Likewise.
9595
9596 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9597 (__x86_64_raw_data_cache_size_half): Likewise.
9598 (__x86_64_raw_shared_cache_size): Likewise.
9599 (__x86_64_raw_shared_cache_size_half): Likewise.
9600 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9601 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9602 and __x86_64_raw_shared_cache_size_half. Round
9603 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9604 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9605 to multiple of 256 bytes.
9606
0e516e0e
MS
96072010-11-03 Ulrich Drepper <drepper@gmail.com>
9608
9609 [BZ #12167]
9610 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9611 of inacessible symlinks. Verify result of symlink before returning it.
9612 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9613 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9614
0e012e87
ER
96152010-10-28 Erich Ritz <erichritz@gmail.com>
9616
9617 * math/math.h (isinf): Fix typo in comment.
9618
de0ff7bc
UD
96192010-11-01 Ulrich Drepper <drepper@gmail.com>
9620
9621 * po/da.po: Update from translation team.
9622
fa41c84d
UD
96232010-10-26 Ulrich Drepper <drepper@gmail.com>
9624
9625 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9626 is added to the list.
9627
f0967738
AK
96282010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9629 Ulrich Drepper <drepper@gmail.com>
9630
9631 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9632 the global list here. Move code to...
9633 (_dl_add_to_namespace_list): ...here. New function.
9634 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9635 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9636 * elf/dl-load.c (lose): Don't remove the element from the list.
9637 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9638 (_dl_map_object): Likewise.
9639
96402010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9641
9642 [BZ #12159]
9643 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9644 into all bytes of SSE register.
9645 Patch by Richard Li <richardpku@gmail.com>.
9646
f0967738 96472010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9648
9649 [BZ #12140]
9650 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9651 perturbing.
9652
d0b9e94f
MB
96532010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9654
9655 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9656 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9657 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9658 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9660 submachine.
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9662
8e9f92e9
AS
96632010-10-22 Andreas Schwab <schwab@redhat.com>
9664
9665 * include/dlfcn.h (__RTLD_SECURE): Define.
9666 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9667 mode & __RTLD_SECURE instead.
9668 (open_path): Rename preloaded parameter to secure.
9669 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9670 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9671 * elf/dl-deps.c (openaux): Likewise.
9672 * elf/rtld.c (struct map_args): Remove is_preloaded.
9673 (map_doit): Don't use it.
9674 (dl_main): Likewise.
9675 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9676 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9677
bc96fbda
AS
96782010-09-09 Andreas Schwab <schwab@redhat.com>
9679
9680 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9681 (sysd-rules-targets): Remove duplicates.
9682 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9683 rtld-%.$o dependency.
9684
22cd1c9b
AS
96852010-10-18 Andreas Schwab <schwab@redhat.com>
9686
9687 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9688 _dl_map_object do it.
9689
18edac48
UD
96902010-10-19 Ulrich Drepper <drepper@gmail.com>
9691
9692 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9693 fast fma builtins, define the macros in the C99 standard.
9694 (FP_FAST_FMAF): Likewise.
9695 (FP_FAST_FMAL): Likewise.
9696 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9697
9698 * bits/mathdef.h: Update copyright year.
9699 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9700
d2050124
MM
97012010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9702
9703 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9704 builtins, define the macros in the C99 standard.
9705 (FP_FAST_FMAF): Likewise.
9706 (FP_FAST_FMAL): Likewise.
9707 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9708 multiply/add.
9709 (FP_FAST_FMAF): Likewise.
9710
475facd1
JJ
97112010-10-15 Jakub Jelinek <jakub@redhat.com>
9712
9713 [BZ #3268]
9714 * math/libm-test.inc (fma_test): Some new testcases.
9715 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9716 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9717 y and infinite z. Do multiplication by C already in long double.
9718 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9720 y and infinite z. Do bitwise or of inexact bit into u.d.
9721 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9722 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9723 * sysdeps/i386/fpu/s_fma.S: Removed.
9724 * sysdeps/i386/fpu/s_fmal.S: Removed.
9725
7c08a05c
JJ
97262010-10-16 Jakub Jelinek <jakub@redhat.com>
9727
9728 [BZ #3268]
9729 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9730 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9731 computation is not scheduled after fetestexcept. Fix value
9732 of minimum denormal long double.
9733
f3f7372d
JJ
97342010-10-14 Jakub Jelinek <jakub@redhat.com>
9735
9736 [BZ #3268]
9737 * math/libm-test.inc (fma_test): Add some more tests.
9738 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9739 correctly.
9740
14d43591
AS
97412010-10-15 Andreas Schwab <schwab@redhat.com>
9742
9743 * scripts/data/localplt-s390-linux-gnu.data: New file.
9744 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9745
5e908464
JJ
97462010-10-13 Jakub Jelinek <jakub@redhat.com>
9747
9748 [BZ #3268]
9749 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9750 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9751 instead of dbl-64.
9752 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9753 inlines.
9754 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9756 if one of x and y is very large and the other is subnormal.
9757 * sysdeps/s390/fpu/s_fmaf.c: New file.
9758 * sysdeps/s390/fpu/s_fma.c: New file.
9759 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9760 * sysdeps/powerpc/fpu/s_fma.S: New file.
9761 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9762 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9763 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9764
97652010-10-12 Jakub Jelinek <jakub@redhat.com>
9766
9767 [BZ #3268]
9768 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9769 fma tests.
9770 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9771 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9772 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9773 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9774 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9775 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9777
b833d51f
UD
97782010-10-12 Ulrich Drepper <drepper@redhat.com>
9779
9780 [BZ #12078]
9781 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9782 * posix/bug-regex31.input: Add test case.
9783
1751705d
UD
97842010-10-11 Ulrich Drepper <drepper@gmail.com>
9785
e9b9cbf5
UD
9786 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9787 * posix/bug-regex31.input: New file.
9788
9789 [BZ #12078]
9790 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9791 (parse_sub_exp): Fix last change, use postorder.
9792
ef06edbe
UD
9793 * posix/bug-regex31.c: New file.
9794 * posix/Makefile: Add rules to build and run bug-regex31.
9795
a129c80d
UD
9796 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9797
9798 [BZ #12078]
9799 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9800
b76b818e
UD
9801 [BZ #12108]
9802 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9803 to have entries in sys_siglist.
9804
1751705d
UD
9805 [BZ #12093]
9806 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9807 be NULL.
9808
9ff8d36f
JJ
98092010-10-07 Jakub Jelinek <jakub@redhat.com>
9810
9811 [BZ #3268]
9812 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9813 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9814 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9815 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9816 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9817 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9818 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9819 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9820 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9821 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9822 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9823 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9824 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9825 * math/ftestexcept.c (fetestexcept): Likewise.
9826 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9827 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9828 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9829 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9830 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9831 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9832 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9833
af325969
UD
98342010-10-11 Ulrich Drepper <drepper@gmail.com>
9835
c579b202 9836 [BZ #12107]
af325969
UD
9837 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9838 newline.
9839
67a67b95
UD
98402010-10-06 Ulrich Drepper <drepper@gmail.com>
9841
9842 * string/bug-strstr1.c: New file.
9843 * string/Makefile: Add rules to build and run bug-strstr1.
9844
5fb308bc
EB
98452010-10-05 Eric Blake <eblake@redhat.com>
9846
9847 [BZ #12092]
9848 * string/str-two-way.h (two_way_long_needle): Always clear memory
9849 when skipping input due to the shift table.
9850
45db99c7
UD
98512010-10-03 Ulrich Drepper <drepper@gmail.com>
9852
3b111893
UD
9853 [BZ #12005]
9854 * malloc/mcheck.c: Handle large requests.
9855
45db99c7
UD
9856 [BZ #12077]
9857 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9858 for strncmp and strncasecmp.
9859 * string/stratcliff.c: Add tests for strcmp and strncmp.
9860 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9861
cf7a1eb8
NI
98622010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9863
9864 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9865 __set_fpscr.
9866
6484ba5e
AJ
98672010-09-30 Andreas Jaeger <aj@suse.de>
9868
9869 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9870 (CGROUP_SUPER_MAGIC): Define.
9871 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9872 Handle btrfs and cgroup file systems.
9873 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9874 Likewise.
9875
91c42559
LM
98762010-09-27 Luis Machado <luisgpm@br.ibm.com>
9877
9878 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9879 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9880
87a97932
AK
98812010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9882
9883 [BZ #12067]
9884 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9885 trying to locate the ELF header.
9886
c21cc9bc
AS
98872010-09-27 Andreas Schwab <schwab@redhat.com>
9888
9889 [BZ #11611]
9890 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9891 Mask out sign-bit copies when constructing f_fsid.
9892
315970f6
PB
98932010-09-24 Petr Baudis <pasky@suse.cz>
9894
9895 * debug/stack_chk_fail_local.c: Add missing licence exception.
9896 * debug/warning-nop.c: Likewise.
9897
1ac7a2c7
JM
98982010-09-15 Joseph Myers <joseph@codesourcery.com>
9899
9900 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9901 implementing getdents64 using getdents syscall, set d_type if
9902 __ASSUME_GETDENTS32_D_TYPE.
9903
56801c50
AS
99042010-09-16 Andreas Schwab <schwab@redhat.com>
9905
9906 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9907 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9908
dda51327
UD
99092010-09-21 Ulrich Drepper <drepper@redhat.com>
9910
9911 [BZ #12037]
9912 * posix/unistd.h: Undo change of feature selection for ftruncate from
9913 2010-01-11.
9914
8ffcee4a
UD
99152010-09-20 Ulrich Drepper <drepper@redhat.com>
9916
a545ecd9 9917 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
9918 detection.
9919
e24f0a8b
AS
99202010-09-20 Andreas Schwab <schwab@redhat.com>
9921
9922 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9923 fanotify_mark.
9924 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9925
7291c56f
AS
99262010-09-14 Andreas Schwab <schwab@redhat.com>
9927
9928 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9929 variables after CHECK_SP call.
9930 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9931
bc5fb037
AS
99322010-09-13 Andreas Schwab <schwab@redhat.com>
9933 Ulrich Drepper <drepper@redhat.com>
9934
9935 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9936 re-relocationg ld.so.
9937 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9938 _dl_init_paths call.
9939 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9940 here anymore.
9941
e66e7419
UD
99422010-09-14 Ulrich Drepper <drepper@redhat.com>
9943
9944 * resolv/res_init.c (__res_vinit): Count the default server we added.
9945
c044aa75
CLT
99462010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9947 Ulrich Drepper <drepper@redhat.com>
9948
9949 [BZ #11968]
9950 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9951 (____longjmp_chk): Use %ebx for saving value across system call.
9952 Add unwind info.
9953
32cf4069
AS
99542010-09-06 Andreas Schwab <schwab@redhat.com>
9955
9956 * manual/Makefile: Don't mix pattern rules with normal rules.
9957
817328ee
AS
99582010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9959
9960 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9961 operation.
9962 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9963 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9964 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9965 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9966 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9967 Likewise.
9968
29fddf61
UD
99692010-09-04 Ulrich Drepper <drepper@redhat.com>
9970
9971 [BZ #11979]
9972 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9973 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9974
0959ffc9
UD
99752010-09-02 Ulrich Drepper <drepper@redhat.com>
9976
9977 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9978 * sysdeps/x86_64/addmul_1.S: Likewise.
9979 * sysdeps/x86_64/lshift.S: Likewise.
9980 * sysdeps/x86_64/mul_1.S: Likewise.
9981 * sysdeps/x86_64/rshift.S: Likewise.
9982 * sysdeps/x86_64/sub_n.S: Likewise.
9983 * sysdeps/x86_64/submul_1.S: Likewise.
9984
ece29840
ST
99852010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9986
0959ffc9
UD
9987 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9988 Define __sched_param instead of SCHED_* and sched_param when
ece29840 9989 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 9990 * bits/sched.h [__need_schedparam]
ece29840 9991 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
9992 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9993 (__defined_schedparam): Define to 1.
ece29840
ST
9994 (__sched_param): New structure, identical to sched_param.
9995 (__need_schedparam): Undefine.
9996
e53a31fe
MF
99972010-08-31 Mike Frysinger <vapier@gentoo.org>
9998
fdc0c10d
MF
9999 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10000 (epoll_create1): Declare.
10001
e53a31fe
MF
10002 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10003
a726d796
AS
100042010-08-31 Andreas Schwab <schwab@redhat.com>
10005
10006 [BZ #7066]
10007 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10008 shifting retval into place.
10009
2f3e3dc7
UD
100102010-09-01 Ulrich Drepper <drepper@redhat.com>
10011
f2933da9
UD
10012 * nis/rpcsvc/nis.h: Update copyright notice.
10013 * nis/rpcsvc/nis.x: Likewise.
10014 * nis/rpcsvc/nis_callback.h: Likewise.
10015 * nis/rpcsvc/nis_callback.x: Likewise.
10016 * nis/rpcsvc/nis_object.x: Likewise.
10017 * nis/rpcsvc/nis_tags.h: Likewise.
10018 * nis/rpcsvc/yp.h: Likewise.
10019 * nis/rpcsvc/yp.x: Likewise.
10020 * nis/rpcsvc/ypupd.h: Likewise.
10021 * nis/yp_xdr.c: Likewise.
10022 * nis/ypupdate_xdr.c: Likewise.
10023
2f3e3dc7
UD
10024 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10025 mainly the body of pmap_getport. Add parameters to specify timeouts.
10026 (pmap_getport): Use __libc_rpc_getport.
10027 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10028 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10029 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10030
f3dcc2f9
AS
100312010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10032
10033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10034 fanotify_mark.
10035
6d34eb5b
RM
100362010-08-27 Roland McGrath <roland@redhat.com>
10037
10038 * sysdeps/i386/i686/multiarch/Makefile
10039 (CFLAGS-varshift.c): New variable.
10040
9ea3de11
UD
100412010-08-27 Ulrich Drepper <drepper@redhat.com>
10042
c96d23fc
UD
10043 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10044 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10045
9ea3de11
UD
10046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10047
10048 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10049
623aac7f
L
100502010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10051
10052 * sysdeps/x86_64/strlen.S: Unroll the loop.
10053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10054 strlen-sse2 strlen-sse2-bsf.
10055 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10056 __strlen_no_bsf if bit_Slow_BSF is set.
10057 (__strlen_sse42): Removed.
10058 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10059 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10060
8b2b7715
RM
100612010-08-25 Roland McGrath <roland@redhat.com>
10062
10063 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10064 * sysdeps/x86_64/multiarch/varshift.c: New file.
10065 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10066 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10067 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10068 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10069
e73015f2
L
100702010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10071
10072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10073 strlen-sse2 strlen-sse2-bsf.
10074 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10075 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10076 (__strlen_sse2): Removed.
10077 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10080 bit_Slow_BSF for Atom.
10081 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10082 (index_Slow_BSF): Define.
10083 (HAS_SLOW_BSF): Define.
10084
df24a73e
UD
100852010-08-25 Ulrich Drepper <drepper@redhat.com>
10086
10087 [BZ #10851]
10088 * resolv/res_init.c (__res_vinit): When no server address at all
10089 is given default to loopback.
10090
f2ac4868
RM
100912010-08-24 Roland McGrath <roland@redhat.com>
10092
09055553
RM
10093 * configure.in: Remove config-name.h generation.
10094 * configure: Regenerated.
10095 * config-name.in: File removed.
10096 * scripts/config-uname.sh: New file.
10097 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10098 ($(objdir)config-name.h): New target.
10099
f2ac4868
RM
10100 * sunrpc/rpc_parse.h: Avoid nested comment.
10101
73f27d5e
RH
101022010-08-24 Richard Henderson <rth@redhat.com>
10103 Ulrich Drepper <drepper@redhat.com>
10104 H.J. Lu <hongjiu.lu@intel.com>
10105
10106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10108 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10109 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10110 _mm_alignr_epi8 with _mm_loadu_si128.
10111 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10112 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10113 (__m128i_shift_right): Removed.
10114 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10115 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10116 * sysdeps/x86_64/multiarch/varshift.h: New file.
10117 * sysdeps/x86_64/multiarch/varshift.S: New file.
10118
84b9230c
MF
101192010-08-21 Mike Frysinger <vapier@gentoo.org>
10120
10121 * configure.in: Move assembler checks to before sysdep dir checking.
10122
9bbd0ddc
PB
101232010-08-20 Petr Baudis <pasky@suse.cz>
10124
10125 * LICENSES: Sync the sunrpc license.
10126
9da4bb31
UD
101272010-08-19 Ulrich Drepper <drepper@redhat.com>
10128
a7ab6ec8
UD
10129 * sunrpc/auth_des.c: Update copyright notice once again.
10130 * sunrpc/auth_none.c: Likewise.
10131 * sunrpc/auth_unix.c: Likewise.
10132 * sunrpc/authdes_prot.c: Likewise.
10133 * sunrpc/authuxprot.c: Likewise.
10134 * sunrpc/bindrsvprt.c: Likewise.
10135 * sunrpc/clnt_gen.c: Likewise.
10136 * sunrpc/clnt_perr.c: Likewise.
10137 * sunrpc/clnt_raw.c: Likewise.
10138 * sunrpc/clnt_simp.c: Likewise.
10139 * sunrpc/clnt_tcp.c: Likewise.
10140 * sunrpc/clnt_udp.c: Likewise.
10141 * sunrpc/clnt_unix.c: Likewise.
10142 * sunrpc/des_crypt.c: Likewise.
10143 * sunrpc/des_soft.c: Likewise.
10144 * sunrpc/get_myaddr.c: Likewise.
10145 * sunrpc/getrpcport.c: Likewise.
10146 * sunrpc/key_call.c: Likewise.
10147 * sunrpc/key_prot.c: Likewise.
10148 * sunrpc/openchild.c: Likewise.
10149 * sunrpc/pm_getmaps.c: Likewise.
10150 * sunrpc/pm_getport.c: Likewise.
10151 * sunrpc/pmap_clnt.c: Likewise.
10152 * sunrpc/pmap_prot.c: Likewise.
10153 * sunrpc/pmap_prot2.c: Likewise.
10154 * sunrpc/pmap_rmt.c: Likewise.
10155 * sunrpc/rpc/auth.h: Likewise.
10156 * sunrpc/rpc/auth_unix.h: Likewise.
10157 * sunrpc/rpc/clnt.h: Likewise.
10158 * sunrpc/rpc/des_crypt.h: Likewise.
10159 * sunrpc/rpc/key_prot.h: Likewise.
10160 * sunrpc/rpc/netdb.h: Likewise.
10161 * sunrpc/rpc/pmap_clnt.h: Likewise.
10162 * sunrpc/rpc/pmap_prot.h: Likewise.
10163 * sunrpc/rpc/pmap_rmt.h: Likewise.
10164 * sunrpc/rpc/rpc.h: Likewise.
10165 * sunrpc/rpc/rpc_des.h: Likewise.
10166 * sunrpc/rpc/rpc_msg.h: Likewise.
10167 * sunrpc/rpc/svc.h: Likewise.
10168 * sunrpc/rpc/svc_auth.h: Likewise.
10169 * sunrpc/rpc/types.h: Likewise.
10170 * sunrpc/rpc/xdr.h: Likewise.
10171 * sunrpc/rpc_clntout.c: Likewise.
10172 * sunrpc/rpc_cmsg.c: Likewise.
10173 * sunrpc/rpc_common.c: Likewise.
10174 * sunrpc/rpc_cout.c: Likewise.
10175 * sunrpc/rpc_dtable.c: Likewise.
10176 * sunrpc/rpc_hout.c: Likewise.
10177 * sunrpc/rpc_main.c: Likewise.
10178 * sunrpc/rpc_parse.c: Likewise.
10179 * sunrpc/rpc_parse.h: Likewise.
10180 * sunrpc/rpc_prot.c: Likewise.
10181 * sunrpc/rpc_sample.c: Likewise.
10182 * sunrpc/rpc_scan.c: Likewise.
10183 * sunrpc/rpc_scan.h: Likewise.
10184 * sunrpc/rpc_svcout.c: Likewise.
10185 * sunrpc/rpc_tblout.c: Likewise.
10186 * sunrpc/rpc_util.c: Likewise.
10187 * sunrpc/rpc_util.h: Likewise.
10188 * sunrpc/rpcinfo.c: Likewise.
10189 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10190 * sunrpc/rpcsvc/key_prot.x: Likewise.
10191 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10192 * sunrpc/rpcsvc/mount.x: Likewise.
10193 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10194 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10195 * sunrpc/rpcsvc/rex.x: Likewise.
10196 * sunrpc/rpcsvc/rstat.x: Likewise.
10197 * sunrpc/rpcsvc/rusers.x: Likewise.
10198 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10199 * sunrpc/rpcsvc/spray.x: Likewise.
10200 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10201 * sunrpc/rtime.c: Likewise.
10202 * sunrpc/svc.c: Likewise.
10203 * sunrpc/svc_auth.c: Likewise.
10204 * sunrpc/svc_authux.c: Likewise.
10205 * sunrpc/svc_raw.c: Likewise.
10206 * sunrpc/svc_run.c: Likewise.
10207 * sunrpc/svc_simple.c: Likewise.
10208 * sunrpc/svc_tcp.c: Likewise.
10209 * sunrpc/svc_udp.c: Likewise.
10210 * sunrpc/svc_unix.c: Likewise.
10211 * sunrpc/svcauth_des.c: Likewise.
10212 * sunrpc/xcrypt.c: Likewise.
10213 * sunrpc/xdr.c: Likewise.
10214 * sunrpc/xdr_array.c: Likewise.
10215 * sunrpc/xdr_float.c: Likewise.
10216 * sunrpc/xdr_mem.c: Likewise.
10217 * sunrpc/xdr_rec.c: Likewise.
10218 * sunrpc/xdr_ref.c: Likewise.
10219 * sunrpc/xdr_sizeof.c: Likewise.
10220 * sunrpc/xdr_stdio.c: Likewise.
10221
9da4bb31
UD
10222 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10223 handling.
10224
bdaa77bc
AS
102252010-08-19 Andreas Schwab <schwab@redhat.com>
10226
10227 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10228
fe2f79db
LM
102292010-08-19 Luis Machado <luisgpm@br.ibm.com>
10230
10231 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10232 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10233 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10234 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10235 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10236 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10237 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10238 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10239 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10240 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10241 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10242 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10243 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10244 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10245
b9b42ee0
AB
102462010-07-26 Anton Blanchard <anton@samba.org>
10247
10248 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10249 * malloc/arena.c (heap_trim): Likewise.
10250
1c06ba31
UD
102512010-08-16 Ulrich Drepper <drepper@redhat.com>
10252
10253 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10254 here. Not...
10255 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10256 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10257
f8392f40
L
102582010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10259
10260 * sysdeps/i386/elf/Makefile: New file.
10261
3162f12e
AS
102622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10263
10264 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10265 from fanotify_init.
10266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10268
28c90b2c
UD
102692010-08-15 Ulrich Drepper <drepper@redhat.com>
10270
10271 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10272 of strncasecmp_l.
1feccb6c 10273 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10274
ca6bb004
UD
102752010-08-14 Ulrich Drepper <drepper@redhat.com>
10276
e9f82e0d
UD
10277 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10278 strncase_l-nonascii.
10279 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10280 Add strncase_l-ssse3.
10281 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10282 * sysdeps/x86_64/strcmp.S: Likewise.
10283 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10284 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10285 * sysdeps/x86_64/strncase.S: New file.
10286 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10287 * sysdeps/x86_64/strncase_l.S: New file.
10288 * string/Makefile (strop-tests): Add strncasecmp.
10289 * string/test-strncasecmp.c: New file.
10290
10291 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10292 warning.
10293
ca6bb004
UD
10294 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10295 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10296
052fa7b3
AS
102972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10298
10299 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10300
962dba78
UD
103012010-08-12 Ulrich Drepper <drepper@redhat.com>
10302
10303 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10304 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10305 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10306
bebff237
AM
103072010-05-01 Alan Modra <amodra@gmail.com>
10308
10309 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10310 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10311 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10312 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10313 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10314 tidying. Don't tail-call __sigjmp_save for static lib.
10315 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10316 save location.
10317 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10318 (CALL_MCOUNT): Add eh info, and nop after bl.
10319 (TAIL_CALL_SYSCALL_ERROR): New macro.
10320 (PSEUDO_RET): Use it.
10321 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10322 Correct save location of integer regs and cr.
10323 (_dl_profile_resolve): Correct cr save location. Delete nops
10324 after bl when SHARED. Reduce cfi size a little by better
10325 placement of cfi directives.
10326 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10327 make a stack frame. Instead use parm save area as a temp.
10328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10329 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10331 Don't make a stack frame for parent, use parm save area.
10332 Increase child stack frame to 112 bytes. Don't save unused reg,
10333 and adjust reg usage. Set up cfi on error recovery and
10334 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10336 (__makecontext): Add dummy nop after jump to exit.
10337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10338 Use correct parm save area and cr save, reduce stack frame.
10339 Correct cfi for possible PSEUDO_RET frame setup.
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10341 Branch to local label emitted by PSEUDO_RET rather than
10342 __syscall_error.
10343
02637374
AS
103442010-08-12 Andreas Schwab <schwab@redhat.com>
10345
10346 [BZ #11904]
10347 * locale/programs/locale.c (print_assignment): New function.
10348 (show_locale_vars): Use it.
10349
c3e2f19b
UD
103502010-08-11 Ulrich Drepper <drepper@redhat.com>
10351
3cdaa6ad
UD
10352 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10353 field.
10354 (struct statfs64): Likewise.
10355 (_STATFS_F_FLAGS): Define.
10356 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10357 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10358 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10359 (ST_VALID): Define locally.
10360 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10361 __statvfs_getflags, use the provided value.
10362 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10363 __ASSUME_STATFS_F_FLAGS.
10364
754f7da3
UD
10365 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10366
10b3bedc
UD
10367 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10368 Add sys/fanotify.h.
10369 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10370 fanotify_mask for GLIBC_2.13.
10371 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10372 fanotify_init and fanotify_mark.
10373 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10374 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10375
c08fb0d7
UD
10376 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10377 Add prlimit.
10378 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10379 prlimit64 for GLIBC_2.13.
10380 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10381 prlimit64.
10382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10383 syscall.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10386 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10387 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10388 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10389 add prlimit alias.
10390 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10391
15bac72b
UD
10392 [BZ #11903]
10393 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10394 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10395
c3e2f19b
UD
10396 * nss/Makefile: Add rules to build and run tst-nss-test1.
10397 * shlib-versions: Add entry for libnss_test1.
10398 * nss/nss_test1.c: New file.
10399 * nss/tst-nss-test1.c: New file.
10400
10401 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10402 (__nss_configure_lookup): Set appropriate entry in
10403 __nss_configure_lookup to true.
10404 * nss/nsswitch.h: Define enum with indeces of databases in
10405 databases and __nss_database_custom arrays. Declare
10406 __nss_database_custom.
10407 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10408 to avoid using nscd when custom rules are installed.
10409 * nss/getXXbyYY_r.c: Likewise.
10410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10411
10412 * nss/nss_files/files-parse.c: Whitespace fixes.
10413
f15ce4d8
UD
104142010-08-09 Ulrich Drepper <drepper@redhat.com>
10415
10416 [BZ #11883]
10417 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10418 * posix/fnmatch_loop.c: Likewise.
10419
d22e4cc9
AK
104202010-07-17 Andi Kleen <ak@linux.intel.com>
10421
10422 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10423 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10424 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10425 * Versions.def [GLIBC_2.13]: Add.
10426
805bc17d
UD
104272010-08-06 Ulrich Drepper <drepper@redhat.com>
10428
10429 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10430 Also fail if tpwd after pwuid call is NULL.
10431
5a42321d
ST
104322010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10433
10434 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10435 when converting to ms.
10436
fd3ebeda
ST
104372010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10438
10439 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10440 EOPNOTSUPP errors with ENOTTY.
10441 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10442 EOPNOTSUPP errors with ENOTTY.
10443
73507d3a
UD
104442010-07-31 Ulrich Drepper <drepper@redhat.com>
10445
10446 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10447 Add strcasecmp_l-ssse3.
10448 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10449 strcasecmp.
10450 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10451 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10452 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10453
fe36dd02
UD
104542010-07-30 Ulrich Drepper <drepper@redhat.com>
10455
66f6765a
UD
10456 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10457
42e08a54
UD
10458 * string/Makefile (strop-tests): Add strcasecmp.
10459 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10460 strcasecmp_l-nonascii.
10461 (gen-as-const-headers): Add locale-defines.sym.
10462 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10463 * sysdeps/x86_64/strcasecmp.S: New file.
10464 * sysdeps/x86_64/strcasecmp_l.S: New file.
10465 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10466 * sysdeps/x86_64/locale-defines.sym: New file.
10467 * string/test-strcasecmp.c: New file.
10468
fe36dd02
UD
10469 * string/test-strcasestr.c: Test both ends of the range of characters.
10470 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10471
48cbc0d6
RM
104722010-07-29 Roland McGrath <roland@redhat.com>
10473
76e6d6bc 10474 [BZ #11856]
48cbc0d6
RM
10475 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10476
880113d9
UD
104772010-07-27 Ulrich Drepper <drepper@redhat.com>
10478
10479 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10480 for ld.so.
10481
deb9cabb
AS
104822010-07-27 Andreas Schwab <schwab@redhat.com>
10483
10484 * manual/memory.texi (Malloc Tunable Parameters): Document
10485 M_PERTURB.
10486
1c7570ff
RM
104872010-07-26 Roland McGrath <roland@redhat.com>
10488
10489 [BZ #11840]
10490 * configure.in (-fgnu89-inline check): Set and substitute
10491 gnu89_inline, not libc_cv_gnu89_inline.
10492 * configure: Regenerated.
10493 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10494
24fb0f88
UD
104952010-07-26 Ulrich Drepper <drepper@redhat.com>
10496
10497 * string/test-strnlen.c: New file.
10498 * string/Makefile (strop-tests): Add strnlen.
10499 * string/tester.c (test_strnlen): Add a few more test cases.
10500 * string/tst-strlen.c: Better error reporting.
10501
10502 * sysdeps/x86_64/strnlen.S: New file.
10503
8e96b93a
UD
105042010-07-24 Ulrich Drepper <drepper@redhat.com>
10505
10506 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10507 lower-latency instructions.
10508
dbc676d4
UD
105092010-07-23 Ulrich Drepper <drepper@redhat.com>
10510
10511 * string/test-strcasestr.c: New file.
10512 * string/test-strstr.c: New file.
10513 * string/Makefile (strop-tests): Add strstr and strcasestr.
10514 * string/str-two-way.h: Don't undefine MAX.
10515 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10516
f6a31e0e
AS
105172010-07-21 Andreas Schwab <schwab@redhat.com>
10518
10519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10520 strcasestr-nonascii.
10521 (CFLAGS-strcasestr-nonascii.c): Define.
10522 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10523 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10524 Remove unused attribute.
10525
5dbc3b6c
RM
105262010-07-20 Roland McGrath <roland@redhat.com>
10527
10528 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10529 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10530 ld.so.cache was broken. With it, there is no way to disable dsocaps
10531 like LD_HWCAP_MASK can disable hwcaps.
10532
23d101d8
EPM
105332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10534
10535 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10536
cc9f2e47
UD
105372010-07-16 Ulrich Drepper <drepper@redhat.com>
10538
10539 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10540 call in strcasestr.
10541 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10542 __strcasestr_sse42_nonascii.
10543 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10544 strcasestr-nonascii.c.
10545 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10546
77c1b069
LM
105472010-06-15 Luis Machado <luisgpm@br.ibm.com>
10548
10549 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10550 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10551 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10552 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10553
440566c3
UD
105542010-07-09 Ulrich Drepper <drepper@redhat.com>
10555
10556 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10557 fcntl.
10558
5be9d05d
AS
105592010-07-06 Andreas Schwab <schwab@redhat.com>
10560
c30b7ee2 10561 [BZ #11577]
5be9d05d
AS
10562 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10563 dl_signal_cerror.
10564
8a492a67
UD
105652010-07-06 Ulrich Drepper <drepper@redhat.com>
10566
10567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10568 _PC_PIPE_BUF using F_GETPIPE_SZ.
10569
713df3d5
RM
105702010-07-05 Roland McGrath <roland@redhat.com>
10571
10572 * manual/arith.texi (Rounding Functions): Fix rint description
10573 implicit in round description.
10574
702e8f14
UD
105752010-07-02 Ulrich Drepper <drepper@redhat.com>
10576
10577 * elf/Makefile: Fix linking for a few tests to make recent linker
10578 happy.
10579
52ed8be9
AS
105802010-06-30 Andreas Schwab <schwab@redhat.com>
10581
10582 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10583 $(common-objpfx)libc_nonshared.a.
10584
f47c9a11
LM
105852010-06-21 Luis Machado <luisgpm@br.ibm.com>
10586
10587 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10588 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10589 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10590 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10591 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10592 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10593 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10594 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10609 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10610 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10611 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10612 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10613 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10614 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10615 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10616 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10617 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10618 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10619 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10620 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10635
6fb8cbcb
L
106362010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10637
10638 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10639 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10640 * string/memmove.c (memmove): Renamed to ...
10641 (MEMMOVE): ...this. Default to memmove.
10642 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10643 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10644 (END_CHK): Define.
10645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10646 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10647 mempcpy-ssse3-back memmove-ssse3-back.
10648 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10649 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10650 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10651 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10652 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10653 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10654 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10655 * sysdeps/x86_64/multiarch/memmove.c: New file.
10656 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10657 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10658 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10659 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10660 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10661 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10662 Define.
10663 (index_Fast_Copy_Backward): Define.
10664 (HAS_ARCH_FEATURE): Define.
10665 (HAS_FAST_REP_STRING): Define.
10666 (HAS_FAST_COPY_BACKWARD): Define.
10667
4e733bac 106682010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10669
10670 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10671 Restore proper fallback handling.
10672
63c4ed22
UD
106732010-06-19 Ulrich Drepper <drepper@redhat.com>
10674
ac2b484c
UD
10675 [BZ #11701]
10676 * posix/group_member.c (__group_member): Correct checking loop.
10677
63c4ed22
UD
10678 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10679 OOM in getpwuid_r correctly. Return error number when the caller
10680 should return, otherwise -1.
10681 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10682 call returning > 0 value.
10683 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10684
765ade4b
AS
106852010-06-07 Andreas Schwab <schwab@redhat.com>
10686
10687 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10688 libc_nonshared.a from targets in modules-names.
10689
80da2e09
KS
106902010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10691
10692 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10693 requires it.
10694
158db122
LM
106952010-06-10 Luis Machado <luisgpm@br.ibm.com>
10696
10697 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10698 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10700 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10701
caa78cf8
AS
107022010-06-02 Andreas Schwab <schwab@redhat.com>
10703
10704 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10705
b2ef2c01
UD
107062010-06-14 Ulrich Drepper <drepper@redhat.com>
10707
10708 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10709 and F_GETPIPE_SZ.
10710 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10714 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10716
fbd643b6
RM
107172010-06-14 Roland McGrath <roland@redhat.com>
10718
10719 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10720
f32f2869
JJ
107212010-06-07 Jakub Jelinek <jakub@redhat.com>
10722
10723 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10724 __REDIRECT followed by __THROW.
10725 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10726 * posix/getopt.h (getopt): Likewise.
10727
2a50c078
EPM
107282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10729
10730 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10731 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10732 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10733 in AT_FLAGS.
10734 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10735 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10736
eb5ad2eb
LM
107372010-05-28 Luis Machado <luisgpm@br.ibm.com>
10738
10739 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10740
3c88fe1e
L
107412010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10742
10743 [BZ #11640]
10744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10745 Properly check family and model.
10746
d2f73151
TY
107472010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10748
10749 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10750
ebd2e13d
LM
107512010-05-24 Luis Machado <luisgpm@br.ibm.com>
10752
10753 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10754
b32b8b45
UD
107552010-05-21 Ulrich Drepper <drepper@redhat.com>
10756
10757 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10758 symbol reference.
10759
9acbe24d
AS
107602010-05-19 Andreas Schwab <schwab@redhat.com>
10761
10762 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10763 symbol reference.
10764
f0ccf6ea
AS
107652010-05-21 Andreas Schwab <schwab@redhat.com>
10766
3d04ff3a
AS
10767 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10768 and internal_recvmmsg.
10769 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10770 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10771 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10772 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10773
f0ccf6ea
AS
10774 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10775 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10776 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10777
5b08ac57
AS
107782010-05-20 Andreas Schwab <schwab@redhat.com>
10779
10780 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10781
4828935d
LM
107822010-05-17 Luis Machado <luisgpm@br.ibm.com>
10783
10784 POWER7 optimizations.
10785 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10786 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10787
373d545e
UD
107882010-05-19 Ulrich Drepper <drepper@redhat.com>
10789
10790 * version.h: Update for 2.13 development version.
10791
21a2b1ae
AS
107922010-05-12 Andrew Stubbs <ams@codesourcery.com>
10793
10794 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10795 exceptions. Return 0.
10796
3f7dcb2b
RM
107972010-05-07 Roland McGrath <roland@redhat.com>
10798
10799 * elf/ldconfig.c (main): Add a const.
10800
5f24d53a 108012010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10802
a160f8d8
UD
10803 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10804 (args_options): Add no-idn option.
10805 (ahosts_keys_int): Add idn_flags to ai_flags.
10806 (parse_option): Handle 'i' option to clear idn_flags.
10807
5f24d53a
UD
10808 * malloc/malloc.c (_int_free): Possible race in the most recently
10809 added check. Only act on the data if no current modification
10810 happened.
265bb1ce
UD
10811
10812See ChangeLog.17 for earlier changes.