]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add 6730 to NEWS.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c8e43ba7
L
12012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2
3 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4 la_x32_gnu_pltexit.
5 (pltexit): Cast int_retval to ptrdiff_t.
6 * elf/tst-auditmod3b.c: Likewise.
7 * elf/tst-auditmod4b.c: Likewise.
8 * elf/tst-auditmod5b.c: Likewise.
9 * elf/tst-auditmod6b.c: Likewise.
10 * elf/tst-auditmod6c.c: Likewise.
11 * elf/tst-auditmod7b.c: Likewise.
12
13 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14 and x32_gnu_pltexit.
15
16 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17 __ELF_NATIVE_CLASS.
18 (La_x32_regs): New macro.
19 (La_x32_retval): Likewise.
20 (la_x32_gnu_pltenter): New function prototype.
21 (la_x32_gnu_pltexit): Likewise.
22
7998fa78
AS
232012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24
dcb33988
AS
25 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26 exponent.
27
233fc563
AS
28 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29
7998fa78
AS
30 * configure.in (libc_cv_cc_nofma): Check for option to disable
31 generation of FMA instructions.
32 * configure: Regenerate.
33 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34 * sysdeps/ieee754/dbl-64/Makefile: New file.
35 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36 Remove brandred-fma4.
37 (CFLAGS-brandred-fma4.c): Remove.
38 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40 define.
41 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42 define.
43
8e95c99a
L
442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45
46 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47 LLONG_MAX != LONG_MAX.
48 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49 (_fitoa_word): Likewise.
50 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51 LLONG_MAX != LONG_MAX.
52 * stdio-common/_itowa.h: Include <_itoa.h>.
53 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
55 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
56 only if not defined.
57 (_ITOA_WORD_TYPE): Likewise.
58 (_itoa_word): Use _ITOA_WORD_TYPE on value.
59 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
60
6f4db457
DM
612012-03-21 David S. Miller <davem@davemloft.net>
62
63 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64
7785fe5a
L
652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
66
67 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68 of x86_64 when setting libc_cv_slibdir, libdir and
69 libc_cv_localedir.
70 * sysdeps/unix/sysv/linux/configure: Regenerated.
71
4535cd55
JM
722012-03-21 Joseph Myers <joseph@codesourcery.com>
73
74 * manual/lang.texi (Old Varargs): Remove section.
75 (How Variadic): Update menu.
76 (va_start): Do not mention varargs.h.
77
17228132
TS
782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
79 Joseph Myers <joseph@codesourcery.com>
80
81 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82 link test.
83 * configure: Regenerated.
84
8149f976
TS
852012-03-21 Thomas Schwinge <thomas@codesourcery.com>
86
87 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
88 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
89 conformtest.pl
90
1a4ac776
JM
912012-03-21 Joseph Myers <joseph@codesourcery.com>
92
be22ce65
JM
93 * NOTES: Remove.
94 * Makefile (files-for-dist): Remove NOTES.
95 (NOTES): Remove rule.
96 * README: Don't refer to NOTES.
97 * manual/creature.texi: Don't include macros.texi.
98 * manual/intro.texi (creature.texi): Remove comment referring to
99 NOTES.
100
40b601fb
JM
101 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
102 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
103 * configure: Regenerated.
104 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
105 LIBC_TRY_CC_OPTION.
106 (libc_cv_as_i686): Likewise.
107 (libc_cv_cc_avx): Likewise.
108 (libc_cv_cc_sse2avx): Likewise.
109 (libc_cv_cc_fma4): Likewise.
110 (libc_cv_cc_novzeroupper): Likewise.
111 * sysdeps/i386/configure: Regenerated.
112
1a4ac776
JM
113 [BZ #13883]
114 * sysdeps/i386/fpu/s_cexp.S: Remove.
115 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
116 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
117 * math/libm-test.inc (cexp_test): Add more tests.
118 * sysdeps/i386/fpu/libm-test-ulps: Update.
119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
120
a458e7fe
AM
1212012-03-21 Allan McRae <allan@archlinux.org>
122
123 * timezone/Makefile: Do not install iso3166.tab and zone.tab
124
0cb7efc5
JM
1252012-03-21 Joseph Myers <joseph@codesourcery.com>
126
127 [BZ #13871]
128 * math/w_exp2.c: Do not include <float.h>.
129 (o_threshold, u_threshold): Remove.
130 (__exp2): Calculate result before checking finiteness and calling
131 __kernel_standard.
132 * math/w_exp2f.c: Likewise.
133 * math/w_exp2l.c: Likewise.
134 * math/libm-test.inc (exp2_test): Require overflow exception for
135 1e6 input.
2460d3aa
JM
136
137 [BZ #3866]
138 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
139 range of signed 64-bit integers before using fistpll. Remove
140 checks for whether integers fit in mantissa bits.
141 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
142 the range of signed 32-bit integers before using fistpl. Remove
143 checks for whether integers fit in mantissa bits.
144 * sysdeps/i386/fpu/e_powl.S (p64): New object.
145 (__ieee754_powl): Test for y outside the range of signed 64-bit
146 integers before using fistpll. Reduce 64-bit values to 63-bit
147 ones as needed.
148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
149 divide-by-zero is raised for zero to large negative powers.
150 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
151 (__ieee754_powl): Test for y outside the range of signed 64-bit
152 integers before using fistpll. Reduce 64-bit values to 63-bit
153 ones as needed.
154 * math/libm-test.inc (pow_test): Add more tests.
155
eb96ffb0
L
1562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
157
158 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
159 <stdio-common/_itoa.h>.
160 * debug/segfault.c: Likewise.
161 * elf/dl-cache.c: Likewise.
162 * elf/dl-minimal.c: Likewise.
163 * elf/dl-misc.c: Likewise.
164 * elf/dl-sysdep.c: Likewise.
165 * elf/dl-version.c: Likewise.
166 * elf/rtld.c: Likewise.
167 * hurd/hurdsock.c: Likewise.
168 * hurd/lookup-retry.c: Likewise.
169 * malloc/malloc.c: Likewise.
170 * malloc/mtrace.c: Likewise.
171 * nscd/nscd_getgr_r.c: Likewise.
172 * nscd/nscd_getpw_r.c: Likewise.
173 * nscd/nscd_getserv_r.c: Likewise.
174 * posix/getopt_init.c: Likewise.
175 * posix/wordexp.c: Likewise.
176 * stdio-common/_itoa.c: Likewise.
177 * stdio-common/printf_fphex.c: Likewise.
178 * stdio-common/vfprintf.c: Likewise.
179 * string/_strerror.c: Likewise.
180 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
181 * sysdeps/i386/i686/hp-timing.h: Likewise.
182 * sysdeps/mach/_strerror.c: Likewise.
183 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
184 * sysdeps/mach/hurd/sethostid.c: Likewise.
185 * sysdeps/mach/hurd/xmknodat.c: Likewise.
186 * sysdeps/mach/xpg-strerror.c: Likewise.
187 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
188 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
189 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
190 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
191 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
192 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
193 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
194 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
195 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
196 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
197 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
198 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
199 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
200 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
201 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
202 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
203 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
204 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
205 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
206 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
207 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
208
209 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
210
211 * stdio-common/_itoa.h: Moved to ...
212 * sysdeps/generic/_itoa.h: Here.
213
214 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
215
216 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
217 instead of "_itoa.h" and "_itowa.h".
218 * stdio-common/vfprintf.: Likewise.
219
d1af992d
L
2202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
221
222 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
223 <bits/wordsize.h>.
224 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
225 (__signbit): Likwise.
226 (llrintf): Likwise.
227 (llrint): Likwise.
228
114883e0
L
2292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
230
231 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
232 __WORDSIZE != 64.
233
c135cc1b
JM
2342012-03-20 Joseph Myers <joseph@codesourcery.com>
235
236 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
237 OVERFLOW_EXCEPTION_OK.
238 * math/libm-test.inc ("Philosophy"): Update comment about
239 exception testing.
240 (OVERFLOW_EXCEPTION): Define.
241 (OVERFLOW_EXCEPTION_OK): Likewise.
242 (INVALID_EXCEPTION_OK): Renumber.
243 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
244 (IGNORE_ZERO_INF_SIGN): Likewise.
245 (test_exceptions): Handle FE_OVERFLOW.
246 (exp10_test): Expect overflow exceptions.
247 (exp2_test): Likewise.
248 (expm1_test): Likewise.
249 (nextafter_test): Likewise.
250 (pow_test): Likewise.
251 (scalbn_test): Likewise.
252 (scalbln_test): Likewise.
253
95443d88
L
2542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
255
256 * sysdeps/x86_64/bits/atomic.h
257 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
258 64bit integer.
259 (atomic_exchange_acq): Likewise.
260 (__arch_exchange_and_add_body): Likewise.
261 (__arch_add_body): Likewise.
262 (atomic_add_negative): Likewise.
263 (atomic_add_zero): Likewise.
264
490df6c4
L
2652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
266
c2722551 267 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
268 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
269
5e52b189
L
2702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
271
272 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
273 Check __x86_64__ instead of __WORDSIZE.
274
a9879d4c
L
2752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
276
277 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
278
5df98260
DM
2792012-03-19 David S. Miller <davem@davemloft.net>
280
e1497744
DM
281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
282
5df98260
DM
283 * sysdeps/sparc/fpu/fenv_private.h: New file.
284 * sysdeps/sparc/fpu/math_private.h: Use it.
285 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
286 Remove.
287 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
288 (libc_feholdexcept_setroundl): Remove.
289 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
290 Remove.
291 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
292 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
293
b4c35121
L
2942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
295
296 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
297 int64_t instead of long int.
298 (INSERT_WORDS64): Likwise.
299
56965fd7
L
3002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
301
302 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
303 _Unwind_GetCFA return to _Unwind_Ptr first.
304
83d1aec8
JM
3052012-03-19 Joseph Myers <joseph@codesourcery.com>
306
1897ad44
JM
307 [BZ #13629]
308 * math/s_clog.c: Include <float.h>.
309 (__clog): Scale large or subnormal inputs.
310 * math/s_clogf.c: Likewise.
311 * math/s_clogl.c: Likewise.
312 * math/s_clog10.c: Include <float.h>.
313 (M_LOG10_2): Define.
314 (__clog10): Scale large or subnormal inputs.
315 * math/s_clog10f.c: Likewise.
316 * math/s_clog10l.c: Likewise.
317 * math/libm-test.inc (clog_test): Add more tests.
318 (clog10_test): Likewise.
319 * sysdeps/i386/fpu/libm-test-ulps: Update.
320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
321
7726d6a9
JM
322 [BZ #11451]
323 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
324 x and y.
325 * math/libm-test.inc (atan2_test): Add another test.
326
83d1aec8
JM
327 * Makerules (common-objdir-compile): Remove.
328 * sysdeps/unix/Makefile (config-generated): Do not add
329 $(unix-generated) to variable.
330 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
331 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
332 Remove rule.
333 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
334 Likewise.
335 [generic bits/local_lim.h] (before-compile): Do not append to
336 variable.
337 [generic bits/local_lim.h] (common-generated): Likewise.
338 [generic sys/param.h] (before-compile): Do not append to variable.
339 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
340 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
341 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
342 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
343 include.
344 [generic sys/param.h] (sys/param.h-includes): Remove variable.
345 [generic sys/param.h] (sys/param.h-includes): Remove rule.
346 [generic sys/param.h] ($(addprefix
347 $(common-objpfx),$(sys/param.h-includes))): Likewise.
348 [generic sys/param.h] (common-generated): Do not append to
349 variable.
350 [generic sys/param.h] (sysdep_headers): Likewise.
351 [generic bits/errno.h] (before-compile): Do not append to
352 variable.
353 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
354 rule.
355 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
356 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
357 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
358 [generic bits/errno.h] (common-generated): Do not append to
359 variable.
360 [generic bits/ioctls.h] (before-compile): Do not append to
361 variable.
362 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
363 rule.
364 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
365 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
366 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
367 rule.
368 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
369 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
370 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
371 [generic bits/ioctls.h] (common-generated): Do not append to
372 variable.
373 [generic sys/syscall.h] (syscall.h): Remove variable.
374 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
375 rule.
376 [generic sys/syscall.h] (before-compile): Do not append to
377 variable.
378 [generic sys/syscall.h] (common-generated): Likewise.
379 * sysdeps/unix/errnos-tmpl.c: Remove file.
380 * sysdeps/unix/errnos.awk: Likewise.
381 * sysdeps/unix/ioctls-tmpl.c: Likewise.
382 * sysdeps/unix/ioctls.awk: Likewise.
383 * sysdeps/unix/mk-local_lim.c: Likewise.
384 * sysdeps/unix/snarf-ioctls: Likewise.
385
4851a949
RH
3862012-03-19 Richard Henderson <rth@twiddle.net>
387
bd37f2ee
RH
388 * sysdeps/i386/fpu/fenv_private.h: New file.
389 * sysdeps/i386/fpu/math_private.h: Use it.
390 (math_opt_barrier, math_force_eval): Remove.
391 (libc_feholdexcept_setround_53bit): Remove.
392 (libc_feupdateenv_53bit): Remove.
393 * sysdeps/x86_64/fpu/math_private.h: Likewise.
394 (math_opt_barrier, math_force_eval): Remove.
395 (libc_feholdexcept): Remove.
396 (libc_feholdexcept_setround): Remove.
397 (libc_fetestexcept, libc_fesetenv): Remove.
398 (libc_feupdateenv_test): Remove.
399 (libc_feupdateenv, libc_feholdsetround): Remove.
400 (libc_feresetround): Remove.
401
d0adc922
RH
402 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
403 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
404
0fe0f1f8
RH
405 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
406 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
407 (libc_feupdateenv_testl): New.
408 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
409 (libc_feupdateenv_testf): New.
410 (libc_feupdateenv): Use libc_feupdateenv_test.
411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
412 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
413
eb92c487
RH
414 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
415 (libc_feholdsetroundf, libc_feholdsetroundl): New.
416 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
417 (libc_feresetround_noex): New.
418 (libc_feresetround_noexf): New.
419 (libc_feresetround_noexl): New.
420 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
421 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
422 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
423 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
424 SET_RESTORE_ROUND.
425 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
427 (__cos): Likewise.
428 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
429 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
430 SET_RESTORE_ROUND_NOEX.
431 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
432 SET_RESTORE_ROUND_NOEXF.
433 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
434 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
435 (libc_feholdsetroundf): New.
436 (libc_feresetround, libc_feresetroundf): New.
437
7d2e8012
RH
438 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
439 (libc_feholdexcept_setround_53bit): Convert from macro to function.
440 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
441
b4dabbb4
RH
442 * sysdeps/generic/math_private.h: Include <fenv.h>.
443 (default_libc_feholdexcept): New.
444 (default_libc_feholdexcept_setround): New.
445 (default_libc_fesetenv, default_libc_feupdateenv): New.
446 (libc_feholdexcept): Only define if undefined.
447 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
448 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
449 (libc_feholdexcept_setroundl): Likewise.
450 (libc_feholdexcept_setround_53bit): Likewise.
451 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
452 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
453 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
454 (libc_feupdateenv_53bit): Likewise.
455 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
456 (libc_feholdexcept): Convert from macro to inline function.
457 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
458 (libc_fesetenv, libc_feupdateenv): Likewise.
459
4851a949
RH
460 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
461 not previously defined.
462 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
463 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
464 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
465 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
466 * sysdeps/ieee754/flt-32/math_private.h: New file.
467 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
468 math_private.h below SET_FLOAT_WORD.
469 (__isnan, __isinf_ns, __finite): Remove.
470 (__isnanf, __isinf_nsf, __finitef): Remove.
471
e79d442e
AS
4722012-03-18 Andreas Schwab <schwab@linux-m68k.org>
473
474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
475
90b80344
DM
4762012-03-17 David S. Miller <davem@davemloft.net>
477
478 [BZ #6471]
479 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
480 for 2.16.
481
edc21804
DM
4822012-03-16 David S. Miller <davem@davemloft.net>
483
77e927af
DM
484 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
485 warnings.
486
374976dd
DM
487 [BZ #6471]
488 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
489 properly.
490 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
491 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
492 sysdep_routines when subdir is sysvipc.
493 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
494 __getshmlba helper.
495
edc21804
DM
496 * sysdeps/sparc/fpu/libm-test/ulps: Update.
497
473c3ef3
L
4982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
499
500 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
501 [__LP64__].
502
eb0f39b6
L
5032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
504
505 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
506 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
507 (__lround): Renamed to ...
508 (__llround): This. Replace long int with long long int.
509 Define lround functions as aliases of llround functions.
510 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
511
6b6cd74b
L
5122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
513
514 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
515 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
516 adresses to uintptr_t. Replace "long int" and "unsigned long
517 int" with "greg_t" on va_arg.
518
f1a77b01
L
5192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
520
521 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
522 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
523
524 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
525 Move e_machine check before EI_CLASS check. Handle x32
526 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
527 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
528 SKIP_EM_IA_64 and include
529 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
530
531 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
532 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
533 (add_system_dir): New macro.
534
535 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
536 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
537
11b90b9f
JM
5382012-03-16 Joseph Myers <joseph@codesourcery.com>
539
c36e1d23
JM
540 [BZ #2551]
541 [BZ #2552]
542 [BZ #2553]
543 [BZ #2554]
544 [BZ #2562]
545 [BZ #2563]
546 [BZ #2565]
547 [BZ #2566]
548 [BZ #2576]
549 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
550 (y0): Likewise.
551 * math/w_j0f.c (j0f): Likewise.
552 (y0f): Likewise.
553 * math/w_j0l.c (__j0l): Likewise.
554 (__y0l): Likewise.
555 * math/w_j1.c (j1): Likewise.
556 (y1): Likewise.
557 * math/w_j1f.c (j1f): Likewise.
558 (y1f): Likewise.
559 * math/w_j1l.c (__j1l): Likewise.
560 (__y1l): Likewise.
561 * math/w_jn.c (jn): Likewise.
562 (yn): Likewise.
563 * math/w_jnf.c (jnf): Likewise.
564 (ynf): Likewise.
565 * math/w_jnl.c (__jnl): Likewise.
566 (__ynl): Likewise.
567 * math/libm-test.inc (j0_test): Add more tests.
568 (j1_test): Likewise.
569 (jn_test): Likewise. Add trailing semicolon to existing test.
570 (y0_test): Likewise.
571 (y1_test): Likewise.
572 * sysdeps/i386/fpu/libm-test-ulps: Update.
573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
574
11b90b9f
JM
575 [BZ #13851]
576 [BZ #13854]
577 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
578 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
579 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
580 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
581 (__tanl): Set errno for infinite argument.
582 * sysdeps/i386/fpu/mptan.c: Remove.
583 * sysdeps/i386/fpu/s_tan.S: Likewise.
584 * sysdeps/i386/fpu/s_tanl.S: Likewise.
585 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
586 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
587 * math/libm-test.inc (tan_test): Add more tests and enable more
588 tests for double and long double.
589 * sysdeps/i386/fpu/libm-test-ulps: Update.
590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
591
6a1bd2a1
JK
5922012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
593
594 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
595 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
596
10a803e0
RM
5972012-03-16 Roland McGrath <roland@hack.frob.com>
598
599 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
600 * configure.in: Use it for both main tree and add-ons.
601 * configure: Regenerated.
602
f196c7f7
L
6032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
604
605 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
606
8848d99d
JM
6072012-03-16 Joseph Myers <joseph@codesourcery.com>
608
96cbe7f4
JM
609 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
610 in comment.
611
8848d99d
JM
612 [BZ #13851]
613 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
614 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
615 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
616 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
617 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
618 infinite argument.
619 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
620 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
621 != 0 for prec == 2.
622 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
623 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
624 * sysdeps/i386/fpu/s_cosl.S: Likewise.
625 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
626 * sysdeps/i386/fpu/s_sinl.S: Likewise.
627 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
628 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
629 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
630 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
631 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
632 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
633 * math/libm-test.inc (cos_test): Add more tests and enable more
634 tests for long double.
635 (sin_test): Likewise.
636 (sincos_test): Likewise.
637 * sysdeps/i386/fpu/libm-test-ulps: Update.
638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
639
dd7f4703
DM
6402012-03-16 David S. Miller <davem@davemloft.net>
641
642 * sysdeps/sparc/fpu/math_private.h: New file.
643
006f1daa
DM
6442012-03-15 David S. Miller <davem@davemloft.net>
645
c0c83bc8
DM
646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
647 file.
e6a62e18 648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
650 file.
e6a62e18
DM
651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
657 sysdep routines.
658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
659
88cb87d9
DM
660 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
661 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
662
006f1daa 663 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
665 sparc-ifunc.h
006f1daa 666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
668 Likewise.
669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
670 Likewise.
006f1daa
DM
671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
675 Likewise.
006f1daa
DM
676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
681 Likewise.
682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
683 Likewise.
006f1daa
DM
684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
688 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
691 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
703 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
704 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
706 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
708
11e0098e
AS
7092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
710
711 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
712 scaling.
713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
714
e85b09d0
AJ
7152012-03-15 Andreas Jaeger <aj@suse.de>
716
717 [BZ #13852]
718 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
719 ieee754/flt-32 implementation for sin, cos and sincos.
720 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
721 * sysdeps/i386/fpu/s_cosf.S: Likewise.
722 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
723 * sysdeps/i386/fpu/s_sinf.S: Likewise.
724 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
725 ieee754/flt-32 implementation for tan.
726
727 * math/libm-test.inc (cos_test): Enable some large input tests for
728 float as well
729 (sin_test): Likewise.
730 (sincos_test): Likewise.
731 (tan_test): Add tests for large input.
732
733 * sysdeps/i386/fpu/libm-test-ulps: Update.
734
81c64153
AJ
7352012-03-15 Andreas Jaeger <aj@suse.de>
736
737 [BZ #13658]
738 * math/libm-test.inc (cos_test): Add more test cases.
739 (sin_test): Likewise.
740 (sincos_test): Likewise.
741
7bbfa5c6
AJ
7422012-03-15 Andreas Jaeger <aj@suse.de>
743
744 [BZ #13837]
745 * math/libm-test.inc (cos_test): Add a test case for large input
746 value.
747 (sin_test): Likewise.
748 (sincos_test): Likewise.
749
7502012-03-15 Andreas Jaeger <aj@suse.de>,
751 Joseph Myers <joseph@codesourcery.com>
752
753 [BZ #13658]
0671f479 754 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
755 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
756 * sysdeps/i386/fpu/branred.c: Likewise.
757 * sysdeps/i386/fpu/dosincos.c: Likewise.
758 * sysdeps/i386/fpu/mpa.c: Likewise.
759 * sysdeps/i386/fpu/s_cos.S: Likewise.
760 * sysdeps/i386/fpu/s_sin.S: Likewise.
761 * sysdeps/i386/fpu/s_sincos.S: Likewise.
762 * sysdeps/i386/fpu/sincos32.c: Likewise.
763
764 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
765 Define.
766 (libc_feupdateenv_53bit): Define.
767 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
768 Define.
769 (libc_feupdateenv_53bit): Define.
770
771 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
772 53 bit (without extend i386 double precision).
773
774 * math/libm-test.inc (sincos_test): Add tests for large input.
775 (sin): Likewise.
776 (cos): Likewise.
777
778 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
779
9cad04ea
AS
7802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
781
782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
783
f7062b9a
DM
7842012-03-15 David S. Miller <davem@davemloft.net>
785
786 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
787 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
788 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
789 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
802 file.
f7062b9a 803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
805 file.
f7062b9a 806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
808 file.
f7062b9a 809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
811 file.
f7062b9a
DM
812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
814 fmin/fmax sysdep routines.
815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
816
7bd951ff
DM
8172012-03-14 David S. Miller <davem@davemloft.net>
818
559398ab
DM
819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
823 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
824 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
825 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
839 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
840 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
841 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
843 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
844 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
845 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
847 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
848 routines.
849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
850 file.
559398ab 851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
853 file.
559398ab 854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
856 file.
559398ab 857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
859 file.
559398ab 860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
862 file.
559398ab 863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
865 file.
866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
867 file.
868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
869 file.
870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
871 file.
872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
873 New file.
874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
875 file.
876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
877 file.
559398ab 878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
880 file.
559398ab 881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
883 file.
559398ab 884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
886 file.
559398ab 887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
889 VIS3 routines.
559398ab
DM
890
891 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
892 New file.
893
5a1c1e32
DM
894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
895
eae47a36
DM
896 * sysdeps/sparc/configure.in: New file.
897 * sysdeps/sparc/configure: Generate.
898 * configure.in (libc_cv_sparc_as_vis3): Substitute.
899 * configure: Regenerate.
900 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
901 * config.make.in (have-as-vis3): New.
902 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
903 available use -Av9d instead of -Av9a.
904 * sysdeps/sparc/sparc64/Makefile: Likewise.
905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
907 New file.
908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
909 file.
910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
911 New file.
912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
913 file.
eae47a36
DM
914 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
915 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
916 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
917 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
919
c0c83bc8
DM
920 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
921 fzeros/fnegs to load 0x80000000 into a float register instead of
922 using the stack.
7bd951ff
DM
923 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
924
bd951ccb
JM
9252012-03-14 Joseph Myers <joseph@codesourcery.com>
926
927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
928 bits/syscall.h.
929 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
930 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
931 ($(inst_includedir)/bits/syscall.h): Remove rule.
932 ($(objpfx)bits/syscall.d): Include instead of
933 $(objpfx)syscall-list.d.
934 (generated): Change syscall-list.h and syscall-list.d to
935 bits/syscall.h and bits/syscall.d.
936
bb4e6db2
RM
9372012-03-14 Roland McGrath <roland@hack.frob.com>
938
939 [BZ #13846]
940 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
941
aa4a2ae1
JM
9422012-03-14 Joseph Myers <joseph@codesourcery.com>
943
e456826d
JM
944 [BZ #13841]
945 * math/s_csqrt.c: Include <float.h>.
946 (__csqrt): Scale large or subnormal inputs.
947 * math/s_csqrtf.c: Likewise.
948 * math/s_csqrtl.c: Likewise.
949 * math/libm-test.inc (csqrt_test): Add more tests.
950 * sysdeps/i386/fpu/libm-test-ulps: Update.
951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
952
aa4a2ae1
JM
953 [BZ #13840]
954 * math/libm-test.inc (hypot_test): Add more tests.
955
7c10fd35
DM
9562012-03-13 David S. Miller <davem@davemloft.net>
957
958 [BZ #13840]
959 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
960 double-precision for the calculation instead of scaling.
961
f453b98b
JM
9622012-03-13 Joseph Myers <joseph@codesourcery.com>
963
964 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
965 manipulate bits before adding and subtracting TWO52[sx].
966 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
967 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
968 Likewise.
969 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
970
09a3453f
DM
9712012-03-13 David S. Miller <davem@davemloft.net>
972
8e59da90
DM
973 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
974 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
976 rtld-global-offsets.h
977 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
978
2a8ab7f2
DM
979 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
980 large parameters.
981
10f62770
DM
982 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
983
5f0bdb18
DM
984 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
985 'err' in the ifdef scope in which it is actually used.
986
09a3453f
DM
987 * nss/nss_db/db-init.c: Include string.h
988
b4b2eb5e
DM
9892012-03-12 David S. Miller <davem@davemloft.net>
990
98bb2f1c
DM
991 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
992 masking out of the most significant byte of random value used.
993 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
994 Fix coding style in previous change.
995
b4b2eb5e
DM
996 * sysdeps/unix/sysv/linux/kernel-features.h
997 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
998 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
999 expression.
1000 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1001 later.
1002
6e226b09
DM
10032012-03-11 David S. Miller <davem@davemloft.net>
1004
a1bcbd40
DM
1005 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1006 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1007 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1008 for 'resultvar' otherwise things get truncated on 64-bit.
1009
cb9d6174
DM
1010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1011 Fix masking out of the most significant byte of random value used.
1012
6e226b09
DM
1013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1014
058c132d
AS
10152012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1016
1017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1018
2d2cd515
DM
10192012-03-09 David S. Miller <davem@davemloft.net>
1020
1021 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1022 variables with appropriate CPP guards.
1023 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1024 frame pointer, not the stack pointer. Correct layout comments. Fix test
1025 on resulting framesize and the management of the outregs buffer for pltexit.
1026 Preserve floating point return values across _dl_call_pltexit call.
1027 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1028 framesize and the management of the outregs buffer for pltexit.
1029 Preserve floating point return values across _dl_call_pltexit
1030 call.
1031 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1032 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1033 (print_exit): Fix format string for return register value.
1034
9a07f9d0
JM
10352012-03-10 Joseph Myers <joseph@codesourcery.com>
1036
1037 * sunrpc/Makefile (others): Add rpcgen.
1038 ($(objpfx)rpcgen): Remove special build rule and dependency on
1039 libc.
1040 * sunrpc/rpcgen.c: New file.
1041
547b5e30
PE
10422012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1043
c524201a
PE
1044 [BZ #13673]
1045 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1046 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1047 * sysdeps/i386/crti.S: Likewise.
1048 * sysdeps/i386/crtn.S: Likewise.
1049 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1050 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1051 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1052 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1053 * sysdeps/sh/crti.S: Likewise.
1054 * sysdeps/sh/crtn.S: Likewise.
1055 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1056
7b6235f2
PE
1057 [BZ #13673]
1058 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1059 with URL.
1060 * locale/programs/locfile-kw.gperf: Likewise.
1061 * locale/programs/charmap-kw.h: Regenerated.
1062 * locale/programs/locfile-kw.h: Likewise.
1063
547b5e30
PE
1064 [BZ #13673]
1065 * intl/plural.y: Replace FSF snail mail address with URL.
1066 * intl/plural.c: Regenerated.
1067
5f0a5dae
RH
10682012-03-09 Richard Henderson <rth@twiddle.net>
1069
1070 * include/math_private.h: Remove file.
1071 * math/math_private.h: Move file ...
1072 * sysdeps/generic/math_private.h: ... here.
1073
b8c03620
RH
1074 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1075 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1076 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1077
4e234f5d 1078 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1079 and <math_private.h>.
1080 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1081 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1082 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1083 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1084 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1085 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1086 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1087 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1088 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1089 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1091 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1092 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1093 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1094 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1095 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1096 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1097 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1098 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1099 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1101 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1102 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1103 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1104 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1105 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1106 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1107 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1108 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1109 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1110 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1111 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1112 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1113 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1114 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1115 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1116 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1117 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1118 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1119 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1120 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1121 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1122 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1123 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1124 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1125 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1126 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1127 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1128 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1129 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1130 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1131 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1132 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1133 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1134 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1135 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1136 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1137 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1138 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1139 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1140 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1141 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1143 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1144 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1145 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1146 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1147 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1148 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1149 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1150 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1151 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1152 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1153 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1154 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1155 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1156 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1157 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1158 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1159 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1160 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1161 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1162 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1163 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1164 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1165 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1166 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1167 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1168 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1169 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1170 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1171 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1172 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1173 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1174 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1175 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1176 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1177 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1178 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1179 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1180 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1181 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1182 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1183 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1184 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1185 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1186 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1187 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1188 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1189 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1190 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1191 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1192 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1193 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1194 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1195 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1196 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1197 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1198 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1199 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1200 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1201 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1202 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1203 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1204 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1205 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1206 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1207 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1208 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1209 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1210 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1211 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1212 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1213 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1214 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1215 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1216 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1217 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1218 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1219 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1220 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1221 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1222 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1223 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1224 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1225 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1226 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1227 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1228 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1229 * sysdeps/ieee754/k_standard.c: Likewise.
1230 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1231 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1232 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1233 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1234 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1235 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1236 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1237 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1238 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1239 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1240 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1241 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1242 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1243 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1244 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1245 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1246 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1247 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1248 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1249 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1250 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1251 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1252 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1253 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1254 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1255 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1256 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1257 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1258 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1259 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1260 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1261 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1262 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1263 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1264 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1265 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1266 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1267 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1268 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1269 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1270 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1271 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1272 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1273 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1274 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1275 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1276 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1277 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1278 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1279 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1280 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1281 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1282 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1283 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1284 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1285 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1286 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1287 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1288 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1289 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1290 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1291 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1292 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1293 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1294 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1295 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1296 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1297 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1301 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1302 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1303 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1304 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1305 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1306 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1307 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1311 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1312 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1315 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1316 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1317 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1318 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1319 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1320 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1321 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1322 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1323 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1324 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1325 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1326 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1327 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1328 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1329 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1331 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1332 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1333 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1334 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1335 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1336 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1337 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1338 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1339 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1340 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1341 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1343 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1344 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1345 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1346 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1348 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1349 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1350 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1351 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1352 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1353 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1354 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1355 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1356 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1357 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1358 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1359 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1360 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1361 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1362 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1363 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1364 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1365 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1366 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1367 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1368 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1369 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1370 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1371 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1372 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1373 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1374 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1375 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1376 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1377 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1378 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1379 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1380 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1381 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1382 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1383 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1384 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1385 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1386 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1387 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1389 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1390 * sysdeps/ieee754/s_lib_version.c: Likewise.
1391 * sysdeps/ieee754/s_matherr.c: Likewise.
1392 * sysdeps/ieee754/s_signgam.c: Likewise.
1393 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1394 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1395 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1396 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1397 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1398 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1399 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1400 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1401 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1402 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1403 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1404 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1405 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1406 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1407 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1408 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1409 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1410 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1411 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1412 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1413 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1414
1991fa03
JM
14152012-03-09 Joseph Myers <joseph@codesourcery.com>
1416
1417 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1418 * sunrpc/rpc_main.c: Likewise.
1419 * sunrpc/rpc_svcout.c: Likewise.
1420
60d6f5a6
DM
14212012-03-09 David S. Miller <davem@davemloft.net>
1422
1423 * include/math_private.h: New file.
1424
4962050e
JM
14252012-03-09 Joseph Myers <joseph@codesourcery.com>
1426
02a6f887
JM
1427 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1428 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1429 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1430 from <bits/socket_type.h>.
1431 (enum __socket_type): Don't define here.
1432 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1434 bits/socket_type.h.
1435
c6e013c1
JM
1436 [BZ #13566]
1437 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1438 checking __USE_GNU.
1439
4962050e
JM
1440 * Makerules ($(inst_includedir)/%.h): New rule.
1441 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1442 (install-others): Remove variable setting.
1443 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1444
38842f45
RH
14452012-03-08 Richard Henderson <rth@twiddle.net>
1446
67bb6da6
RH
1447 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1448 from macro to inline function; merge with the
1449 !__LIBC_INTERNAL_MATH_INLINES version.
1450 (__ieee754_sqrtf): Likewise.
1451
15194b4b
RH
1452 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1453 to inline function.
1454 (__rintf, __floor, __floorf): Likewise.
1455
64e21ede
RH
1456 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1457 macro to inline function.
1458 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1459
38842f45
RH
1460 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1461 not <math/math_private.h>.
1462
c64bf5fe
DM
14632012-03-08 David S. Miller <davem@davemloft.net>
1464
1465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1466 copyright year.
1467 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1468
82d86f28
TS
14692012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1470
1471 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1472 normalization.
1473 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1474 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1475
aea5d727
UD
14762012-03-08 Ulrich Drepper <drepper@gmail.com>
1477
1478 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1479 be defined individually, they must be defined as a block. Define
1480 S for printing a string instead of hidint the different by using a
1481 macro for adding the 'l'.
1482 * stdio-common/tst-fphex-wide.c: Adjust.
1483
70bca0a3
MP
14842012-03-07 Marek Polacek <polacek@redhat.com>
1485
1486 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1487
65b81130
MP
14882012-03-08 Marek Polacek <polacek@redhat.com>
1489
1490 [BZ #13806]
1491 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1492 * stdio-common/tst-fphex.c: Define a few macros to make the
1493 test reusable. Use them.
1494 * stdio-common/tst-fphex-wide.c: New file.
1495
07037eeb
JM
14962012-03-08 Joseph Myers <joseph@codesourcery.com>
1497
a7a93d50
JM
1498 [BZ #6911]
1499 * manual/macros.texi (gnusystems): New macro.
1500 (nongnusystems): Likewise.
1501 (gnulinuxhurdsystems): Likewise.
1502 (gnuhurdsystems): Likewise..
1503 (gnulinuxsystems): Likewise.
1504 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1505 variants of the GNU system, not "GNU system".
1506 * manual/conf.texi: Likewise.
1507 * manual/errno.texi: Likewise. Update example of errno macro
1508 expansion.
1509 * manual/filesys.texi: Likewise.
1510 (getumask): Document as specific to GNU/Hurd.
1511 * manual/install.texi: Likewise. Reword some references to
1512 GNU/Linux.
1513 * manual/intro.texi: Likewise.
1514 * manual/io.texi: Likewise.
1515 (File Name Portability): Detail which constraints are inapplicable
1516 to all GNU systems and which are only inapplicable to GNU/Hurd.
1517 * manual/job.texi: Likewise.
1518 * manual/llio.texi: Likewise.
1519 (O_NOCTTY): Document as present on GNU/Linux.
1520 * manual/maint.texi: Likewise.
1521 * manual/memory.texi: Likewise.
1522 * manual/pattern.texi: Likewise.
1523 * manual/pipe.texi: Likewise.
1524 * manual/process.texi: Likewise.
1525 * manual/resource.texi: Likewise.
1526 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1527 child on GNU/Hurd.
1528 * manual/setjmp.texi: Likewise.
1529 * manual/signal.texi: Likewise.
1530 * manual/startup.texi: Likewise.
1531 * manual/stdio.texi: Likewise.
1532 * manual/terminal.texi: Likewise.
1533 (ONLCR): Document as POSIX.
1534 (OXTABS): Document availability on GNU/Linux as XTABS.
1535 (ONOEOT): Document availability separately from other bits.
1536 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1537 * manual/time.texi: Likewise.
1538 * manual/users.texi: Likewise.
1539 * INSTALL: Regenerated.
1540 * sysdeps/gnu/errlist.c: Regenerated.
1541
07037eeb
JM
1542 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1543 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1544 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1545 puts.
1546 * configure: Regenerated.
1547
d1d3431a
JM
15482012-03-07 Joseph Myers <joseph@codesourcery.com>
1549
af6a1e37
JM
1550 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1551 default includes instead of AC_HEADER_CHECK.
1552 * sysdeps/i386/configure: Regenerated.
1553
d1d3431a
JM
1554 [BZ #10716]
1555 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1556 * math/s_cacoshf.c (__cacoshf): Likewise.
1557 * math/s_cacoshl.c (__cacoshl): Likewise.
1558 * math/s_casinh.c (__casinh): Set signs of result from argument.
1559 * math/s_casinhf.c (__casinhf): Likewise.
1560 * math/s_casinhl.c (__casinhl): Likewise.
1561 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1562 (casinh_test): Add more tests.
1563 * sysdeps/i386/fpu/libm-test-ulps: Update.
1564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1565
482ff4da
UD
15662012-03-07 Ulrich Drepper <drepper@gmail.com>
1567
872fda05
UD
1568 * po/zh_TW.po: Update from translation team.
1569
a4300c7a
UD
1570 * login/Makefile (distribute): Remove variable.
1571 * catgets/Makefile: Likewise.
1572 * mach/Makefile: Likewise.
1573 * malloc/Makefile: Likewise.
1574 * misc/Makefile: Likewise.
1575 * iconv/Makefile: Likewise.
1576 * nscd/Makefile: Likewise.
1577 * hurd/Makefile: Likewise.
1578 * manual/Makefile: Likewise.
1579 * locale/Makefile: Likewise.
1580 * intl/Makefile: Likewise.
1581 * conform/Makefile: Likewise.
1582 * nss/Makefile: Likewise.
1583 * time/Makefile: Likewise.
1584 * soft-fp/Makefile: Likewise.
1585 * dirent/Makefile: Likewise.
1586 * gmon/Makefile: Likewise.
1587 * po/Makefile: Likewise.
1588 * rt/Makefile: Likewise.
1589 * socket/Makefile: Likewise.
1590 * math/Makefile: Likewise.
1591 * signal/Makefile: Likewise.
1592 * debug/Makefile: Likewise.
1593 * elf/Makefile: Likewise.
1594 * timezone/Makefile: Likewise.
1595 * stdlib/Makefile: Likewise.
1596 * iconvdata/Makefile: Likewise.
1597 * sunrpc/Makefile: Likewise.
1598 * io/Makefile: Likewise.
1599 * argp/Makefile: Likewise.
1600 * inet/Makefile: Likewise.
1601 * hesiod/Makefile: Likewise.
1602 * grp/Makefile: Likewise.
1603 * csu/Makefile: Likewise.
1604 * wctype/Makefile: Likewise.
1605 * crypt/Makefile: Likewise.
1606 * libio/Makefile: Likewise.
1607 * string/Makefile: Likewise.
1608 * nis/Makefile: Likewise.
1609 * resolv/Makefile: Likewise.
1610 * stdio-common/Makefile: Likewise.
1611 * wcsmbs/Makefile: Likewise.
1612 * dlfcn/Makefile: Likewise.
1613 * posix/Makefile: Likewise.
1614
482ff4da
UD
1615 * timezone/Makefile: Don't install timezone files, just the programs
1616 and scripts.
1617
f72ed77d
UD
16182012-03-06 Ulrich Drepper <drepper@gmail.com>
1619
a000466f
UD
1620 * nss/databases.def: Add missing gshadow entry.
1621
f72ed77d
UD
1622 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1623
a53b7a4e
MP
16242012-03-06 Marek Polacek <polacek@redhat.com>
1625
1626 [BZ #13726]
1627 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1628 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1629 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1630 * stdio-common/tst-long-dbl-fphex.c: New file.
1631
e9258400
DM
16322012-03-06 David S. Miller <davem@davemloft.net>
1633
1634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1635 (set_obp_int): New function.
1636 (get_obp_int): New function.
1637 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1638 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1639 Avoid unused variable warnings on 'val' and use builtin_expect.
1640 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1641 __builtin_expect.
e9258400
DM
1642 (INLINE_CLONE_SYSCALL): Likewise.
1643
3bd2c723
DM
16442012-03-05 David S. Miller <davem@davemloft.net>
1645
1646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1647
bbb78d03
AS
16482012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1649
884c5db4
AS
1650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1651
bbb78d03
AS
1652 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1653 only for |x| >= 40.
1654 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1655
1c9f702a 16562012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1657
1658 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1659 Replace gettimeofday with __vdso_gettimeofday.
1660
7be16f82
RM
1661 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1662 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1663 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1664
1665 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1666 time with __vdso_time.
1667
ed58a00f
JM
16682012-03-05 Joseph Myers <joseph@codesourcery.com>
1669
1670 * manual/lang.texi (size_t): Note types to which size_t may be
1671 equivalent with the GNU C Library, but do not describe when
1672 differences between them are significant.
1673
30ee4ced
AJ
16742012-03-05 Andreas Jaeger <aj@suse.de>
1675
1676 * sysdeps/i386/fpu/libm-test-ulps: Update.
1677
b7cd39e8
JM
16782012-03-05 Joseph Myers <joseph@codesourcery.com>
1679
1680 [BZ #3976]
1681 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1682 (__ieee754_pow): Save and restore rounding mode and use
1683 round-to-nearest for main computations.
1684 * math/libm-test.inc (pow_test_tonearest): New function.
1685 (pow_test_towardzero): Likewise.
1686 (pow_test_downward): Likewise.
1687 (pow_test_upward): Likewise.
1688 (main): Call the new functions.
1689 * sysdeps/i386/fpu/libm-test-ulps: Update.
1690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1691
1692 [BZ #3976]
1693 * math/libm-test.inc (cosh_test_tonearest): New function.
1694 (cosh_test_towardzero): Likewise.
1695 (cosh_test_downward): Likewise.
1696 (cosh_test_upward): Likewise.
1697 (sinh_test_tonearest): Likewise.
1698 (sinh_test_towardzero): Likewise.
1699 (sinh_test_downward): Likewise.
1700 (sinh_test_upward): Likewise.
1701 (main): Call the new functions.
1702 * sysdeps/i386/fpu/libm-test-ulps: Update.
1703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1704
6c6a98c9
TV
17052012-03-05 Tom de Vries <tom@codesourcery.com>
1706
1707 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1708 default stack guard is set in last bytes.
1709 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1710
21bb2d2e 17112012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1712
21bb2d2e 1713 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1714
21bb2d2e
AJ
1715 [BZ #13656]
1716 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1717 possibly allocate from heap instead of stack.
1718 * stdio-common/bug-vfprintf-nargs.c: New file.
1719 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1720
c6922934
AS
17212012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1722
1723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1724
bc957d53
MP
17252012-03-03 Marek Polacek <polacek@redhat.com>
1726
1727 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1728 * math/math_private.h: Likewise.
1729 * stdlib/tst-strtod.c: Likewise.
1730 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1731 * sysdeps/x86_64/bits/atomic.h: Likewise.
1732
6358490d
DM
17332012-03-02 David S. Miller <davem@davemloft.net>
1734
1735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1739 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1740 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1741 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1742 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1743
01ae168d
RM
17442012-03-02 Roland McGrath <roland@hack.frob.com>
1745
d9a17c07
RM
1746 [BZ #13792]
1747 * manual/examples/README: New file, says the example source files
1748 can be used under GPL>=2.
1749 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1750 line containing just "*/".
1751 * manual/examples/add.c: Add copyright header (GPL>=2).
1752 * manual/examples/argp-ex1.c: Likewise.
1753 * manual/examples/argp-ex2.c: Likewise.
1754 * manual/examples/argp-ex3.c: Likewise.
1755 * manual/examples/argp-ex4.c: Likewise.
1756 * manual/examples/atexit.c: Likewise.
1757 * manual/examples/db.c: Likewise.
1758 * manual/examples/dir.c: Likewise.
1759 * manual/examples/dir2.c: Likewise.
1760 * manual/examples/execinfo.c: Likewise.
1761 * manual/examples/filecli.c: Likewise.
1762 * manual/examples/filesrv.c: Likewise.
1763 * manual/examples/fmtmsgexpl.c: Likewise.
1764 * manual/examples/genpass.c: Likewise.
1765 * manual/examples/inetcli.c: Likewise.
1766 * manual/examples/inetsrv.c: Likewise.
1767 * manual/examples/isockad.c: Likewise.
1768 * manual/examples/longopt.c: Likewise.
1769 * manual/examples/memopen.c: Likewise.
1770 * manual/examples/memstrm.c: Likewise.
1771 * manual/examples/mkfsock.c: Likewise.
1772 * manual/examples/mkisock.c: Likewise.
1773 * manual/examples/mygetpass.c: Likewise.
1774 * manual/examples/pipe.c: Likewise.
1775 * manual/examples/popen.c: Likewise.
1776 * manual/examples/rprintf.c: Likewise.
1777 * manual/examples/search.c: Likewise.
1778 * manual/examples/select.c: Likewise.
1779 * manual/examples/setjmp.c: Likewise.
1780 * manual/examples/sigh1.c: Likewise.
1781 * manual/examples/sigusr.c: Likewise.
1782 * manual/examples/stpcpy.c: Likewise.
1783 * manual/examples/strdupa.c: Likewise.
1784 * manual/examples/strftim.c: Likewise.
1785 * manual/examples/strncat.c: Likewise.
1786 * manual/examples/subopt.c: Likewise.
1787 * manual/examples/swapcontext.c: Likewise.
1788 * manual/examples/termios.c: Likewise.
1789 * manual/examples/testopt.c: Likewise.
1790 * manual/examples/testpass.c: Likewise.
1791 * manual/examples/timeval_subtract.c: Likewise.
1792
01ae168d
RM
1793 [BZ #13792]
1794 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1795 function to ...
1796 * manual/timeval_subtract.c.texi: ... here, new file.
1797
49efa33d
DM
17982012-03-02 David S. Miller <davem@davemloft.net>
1799
1800 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1801
28afd92d
JM
18022012-03-02 Joseph Myers <joseph@codesourcery.com>
1803
804360ed
JM
1804 [BZ #3976]
1805 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1806 (__sin): Save and restore rounding mode and use round-to-nearest
1807 for all computations.
1808 (__cos): Save and restore rounding mode and use round-to-nearest
1809 for all computations.
1810 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1811 <fenv.h>.
1812 (tan): Save and restore rounding mode and use round-to-nearest for
1813 all computations.
1814 * math/libm-test.inc (cos_test_tonearest): New function.
1815 (cos_test_towardzero): Likewise.
1816 (cos_test_downward): Likewise.
1817 (cos_test_upward): Likewise.
1818 (sin_test_tonearest): Likewise.
1819 (sin_test_towardzero): Likewise.
1820 (sin_test_downward): Likewise.
1821 (sin_test_upward): Likewise.
1822 (tan_test_tonearest): Likewise.
1823 (tan_test_towardzero): Likewise.
1824 (tan_test_downward): Likewise.
1825 (tan_test_upward): Likewise.
1826 (main): Call the new functions.
1827 * sysdeps/i386/fpu/libm-test-ulps: Update.
1828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1829
a6d06d7b
JM
1830 [BZ #10135]
1831 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1832 small n, then large n, before computing and testing k+n.
1833 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1834 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1835 Likewise.
1836 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1837 Likewise.
1838 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1839 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1840 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1841 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1842 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1843 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1844 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1845 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1846 * math/libm-test.inc (scalbn_test): Add more tests.
1847 (scalbln_test): Likewise.
1848
07e12bb3
JM
1849 * manual/filesys.texi (mode_t): Describe constraints on size and
1850 signedness, not exact equivalence to a particular type.
1851 (ino_t): Likewise.
1852 (ino64_t): Likewise.
1853 (dev_t): Likewise.
1854 (nlink_t): Likewise.
1855 (blkcnt_t): Likewise.
1856 (blkcnt64_t): Likewise.
1857 * manual/llio.texi (off_t): Likewise.
1858
28afd92d
JM
1859 [BZ #3976]
1860 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1861 (__ieee754_exp): Save and restore rounding mode and use
1862 round-to-nearest for all computations.
1863 * math/libm-test.inc (exp_test_tonearest): New function.
1864 (exp_test_towardzero): Likewise.
1865 (exp_test_downward): Likewise.
1866 (exp_test_upward): Likewise.
1867 (main): Call the new functions.
1868 * sysdeps/i386/fpu/libm-test-ulps: Update.
1869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1870
b1eeb65d
CD
18712012-03-01 Chris Demetriou <cgd@google.com>
1872
1873 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1874 have predictable order.
1875
53362a4b
DM
18762012-03-01 David S. Miller <davem@davemloft.net>
1877
3c969083
DM
1878 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1879
759707de
DM
1880 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1881 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1882 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1883 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1884
dfdb8ff2
DM
1885 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1886 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1887 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1889 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1890 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1891 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1892 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1893 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1894
ead89f96
DM
1895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1896
7f66bd07
DM
1897 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1898 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1899 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1900
53362a4b
DM
1901 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1902 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1903 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1904 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1905 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1906 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1907 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1908 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1909 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1910 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1911 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1912 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1913 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1914 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1915 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1916 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1917 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1918 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1919 * sysdeps/sparc/elf/configure: Regenerated.
1920
7b1902cb
JM
19212012-03-01 Joseph Myers <joseph@codesourcery.com>
1922
bec039bc
JM
1923 * configure.in (AS, LD): Require binutils 2.20 or later.
1924 * configure: Regenerated.
1925 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1926 as required minimum version.
1927 * INSTALL: Regenerated.
1928
7b1902cb
JM
1929 [BZ #2541]
1930 [BZ #4108]
1931 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1932 before squaring exponent.
1933 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1934 bottom long double and 27 bits of top long double before squaring
1935 exponent.
1936 * math/libm-test.inc (erfc_test): Add more tests.
1937 * sysdeps/i386/fpu/libm-test-ulps: Update.
1938 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1940
f775c276
KT
19412012-03-01 Kai Tietz <ktietz@redhat.com>
1942
1943 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1944 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1945 containing bit-fields.
1946 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1947 * soft-fp/single.h (_FP_UNION_S): Likewise.
1948 * soft-fp/double.h (_FP_UNION_D): Likewise.
1949
5b8a4d4a
JM
19502012-02-29 Joseph Myers <joseph@codesourcery.com>
1951
0bab47b6
JM
1952 [BZ #13786]
1953 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1954 not include ../strcmp.S.
1955 [USE_AS_STRNCASECMP_L]: Likewise.
1956 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1957 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1958 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1959 (__strncasecmp_l_ia32): Define as alias to
1960 __strncasecmp_l_nonascii.
1961
0fcad3e2
JM
1962 [BZ #5794]
1963 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1964 * sysdeps/i386/fpu/libm-test-ulps: Update.
1965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1966
5b8a4d4a
JM
1967 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1969
8fdceb2e
JL
19702012-02-29 Jeff Law <law@redhat.com>
1971
1972 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1973 out of bounds read.
1974
1f393a11
MP
19752012-02-29 Marek Polacek <polacek@redhat.com>
1976
1977 [BZ #13706]
1978 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1979 * elf/Makefile: Add rules to run tst-unused-dep.out.
1980
8847f037
DM
19812012-02-28 David S. Miller <davem@davemloft.net>
1982
1983 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1984 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1985 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1986 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1987 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1988 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1989
169d7f11
JM
19902012-02-29 Joseph Myers <joseph@codesourcery.com>
1991
1992 * math/libm-test.inc (llround_test): Move one test from
1993 lround_test. Use TEST_f_L in moved test.
1994 (lround_test): Move misplaced test to llround_test. Add testcase
1995 from bug 2561.
1996
39adf059
UD
19972012-02-28 Ulrich Drepper <drepper@gmail.com>
1998
1999 * sysdeps/x86_64/fpu/e_expf.S: New file.
2000 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2001
71b5d1c5
SB
20022012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2003
2004 [BZ #13637]
2005 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2006 of remain_len that may cause incomplete multi-byte character and
2007 false match.
2008 * posix/bug-regex33.c: New file.
2009 * posix/Makefile (tests): Add bug-regex33.
2010
1f77f049
JM
20112012-02-28 Joseph Myers <joseph@codesourcery.com>
2012
2013 * manual/macros.texi: New file.
2014 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2015 * manual/libc.texinfo: Include macros.texi.
2016 * manual/creatute.texi: Likewise.
2017 * manual/install.texi: Likewise.
2018 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2019 @glibcadj{} in references to the GNU C Library.
2020 * manual/charset.texi: Likewise.
2021 * manual/conf.texi: Likewise.
2022 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2023 when not using those macros.
2024 * manual/creature.texi: Likewise.
2025 * manual/crypt.texi: Likewise.
2026 * manual/errno.texi: Likewise.
2027 * manual/filesys.texi: Likewise.
2028 * manual/header.texi: Likewise.
2029 * manual/install.texi: Likewise.
2030 * manual/intro.texi: Likewise.
2031 * manual/io.texi: Likewise.
2032 * manual/job.texi: Likewise.
2033 * manual/lang.texi: Likewise.
2034 * manual/libc.texiinfo: Likewise.
2035 * manual/llio.texi: Likewise.
2036 * manual/locale.texi: Likewise.
2037 * manual/maint.texi: Likewise.
2038 * manual/math.texi: Likewise.
2039 * manual/memory.texi: Likewise.
2040 * manual/message.texi: Likewise.
2041 * manual/nss.texi: Likewise.
2042 * manual/pattern.texi: Likewise.
2043 * manual/process.texi: Likewise.
2044 * manual/resource.texi: Likewise.
2045 * manual/search.texi: Likewise.
2046 * manual/setjmp.texi: Likewise.
2047 * manual/signal.texi: Likewise.
2048 * manual/socket.texi: Likewise.
2049 * manual/startup.texi: Likewise.
2050 * manual/stdio.texi: Likewise.
2051 * manual/string.texi: Likewise.
2052 * manual/sysinfo.texi: Likewise.
2053 * manual/syslog.texi: Likewise.
2054 * manual/terminal.texi: Likewise.
2055 * manual/time.texi: Likewise.
2056 * manual/users.texi: Likewise.
2057 * INSTALL: Regenerated.
2058 * NOTES: Regenerated.
d40c5d54 2059 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2060
450bf206
AS
20612012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2062
2063 * include/dirent.h: Include <dirstream.h> before
2064 <dirent/dirent.h>.
2065
741a235b
DM
20662012-02-28 David S. Miller <davem@davemloft.net>
2067
2068 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2069 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2070 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2071 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2072
d6b5aa58
DM
20732012-02-27 David S. Miller <davem@davemloft.net>
2074
1aff59a3
DM
2075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2077 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2078 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2079
d6b5aa58
DM
2080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2081 frame pointer instead of stack pointer relative arg slot.
2082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2083 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2084 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2085
433f48bf
CD
20862012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2087
2088 [BZ #3992]
2089 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2090
d674b76d
DM
20912012-02-27 David S. Miller <davem@davemloft.net>
2092
2093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2097 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2098 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2099 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2100 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2101
0e7727f7
JM
21022012-02-27 Joseph Myers <joseph@codesourcery.com>
2103
2104 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2105 later. Allow versions 5-9.
43be4ca2 2106 * configure: Regenerated.
0e7727f7
JM
2107 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2108 required minimum version and 4.6 as recommended version. Do not
2109 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2110 * INSTALL: Regenerated.
0e7727f7 2111
a78bc654
DM
21122012-02-27 David S. Miller <davem@davemloft.net>
2113
428d5830
DM
2114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2118 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2119 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2120 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2121 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2122
a78bc654
DM
2123 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2124 manipulate bits before adding and subtracting TWO112[sx].
2125 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2126
4579f81c
RM
21272012-02-27 Roland McGrath <roland@hack.frob.com>
2128
36c8acb4
RM
2129 [BZ #13775]
2130 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2131 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2132 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2133 being in POSIX, because they are in 1003.1-2008.
2134
84ad622b
RM
2135 * rt/tst-aio.c: Include <fcntl.h>.
2136 * rt/tst-aio7.c: Likewise.
2137 * rt/tst-aio64.c: Likewise.
2138
4579f81c
RM
2139 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2140
abd923db
JM
21412012-02-27 Joseph Myers <joseph@codesourcery.com>
2142
2143 * manual/install.texi (--with-headers): Describe headers as
2144 interface headers, not private headers.
2145 (Specific advice for GNU/Linux systems): Describe use of headers
2146 from "make headers_install", not private headers from older
2147 kernels.
43be4ca2 2148 * INSTALL: Regenerated.
abd923db
JM
2149 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2150 Change to 2.6.19.
2151 * sysdeps/unix/sysv/linux/configure: Regenerated.
2152
6664049b
JM
2153 * manual/llio.texi (fclean): Remove documentation.
2154
bb8b6697
JM
2155 * manual/Makefile (libc-texi-generated): New variable. Include
2156 version.texi.
2157 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2158 $(libc-texi-generated), not duplicated list of files.
2159 (version.texi, stamp-version): New rules.
2160 (realclean): Remove $(libc-texi-generated), not individual files
2161 from that list. Do not remove dir-add.texinfo.
2162 * manual/libc.texinfo: Comment out uses of edition numbers and
2163 references to printed manual. Remove last-updated dates.
2164 (EDITION): Comment out.
2165 (ISBN): Likewise.
2166 (VERSION, UPDATED): Remove.
2167 (version.texi): Include.
2168
12e5c3b9
AS
21692012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2170
2171 * sysdeps/posix/spawni.c: Include <signal.h>.
2172 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2173 * sysdeps/pthread/aio_fsync.c: Likewise.
2174
4efeffc1 21752012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2176
ba63ba08
UD
2177 * conform/Makefile (tests): Run only when not cross-compiling and
2178 when fast-check is not defined.
2179
d94a4670
UD
2180 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2181 * conform/data/limits.h-data: Fixes for POSIX2008.
2182 * conform/run-conformtest.sh: Run all tests.
2183 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2184 headers.
2185 * include/bits/dlfcn.h: Likewise.
2186 * include/langinfo.h: Likewise.
2187 * include/monetary.h: Likewise.
2188 * include/sys/poll.h: Likewise.
2189
2190 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2191 for __USE_GNU.
2192 * posix/spawn.h: Define __need_sigset_t.
2193 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2194 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2195 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2196 to get sigevent_t only.
2197 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2198 only for __USE_GNU.
2199 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2200 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2201 process_vm_writev only for __USE_GNU.
2202 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2203
2204 * conform/Makefile: For now ignore errors from run-conformtest.
2205 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2206 POSIX to avoid namespace pollution. Don't prepend headers.
2207 * conform/data/aio.h-data: Fixes for POSIX testing.
2208 * conform/data/fcntl.h-data: Likewise.
2209 * conform/data/glob.h-data: Likewise.
2210 * conform/data/grp.h-data: Likewise.
2211 * conform/data/pthread.h-data: Likewise.
2212 * conform/data/pwd.h-data: Likewise.
2213 * conform/data/signal.h-data: Likewise.
2214 * conform/data/spawn.h-data: Likewise.
2215 * conform/data/stdio.h-data: Likewise.
2216 * conform/data/stdlib.h-data: Likewise.
2217 * conform/data/stropts.h-data: Likewise.
2218 * conform/data/sys/mman.h-data: Likewise.
2219 * conform/data/sys/stat.h-data: Likewise.
2220 * conform/data/sys/types.h-data: Likewise.
2221 * conform/data/sys/wait.h-data: Likewise.
2222 * conform/data/time.h-data: Likewise.
2223 * conform/data/unistd.h-data: Likewise.
2224 * conform/data/utime.h-data: Likewise.
2225
2226 * io/sys/stat.h: fchmod was always in POSIX.
2227 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2228 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2229 * rt/aio.h: Define __need_timespec before including <time.h>.
2230 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2231 struct. Add forward declaration of pthread_attr_t and use it in
2232 sigevent.
2233 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2234 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2235 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2236 always remove CLK_TCK definition.
2237
c20105c3
AS
22382012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2239
2240 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2241
7a270350
UD
22422012-02-25 Ulrich Drepper <drepper@gmail.com>
2243
31341567
UD
2244 * conform/run-conformtest.sh: New file.
2245 * conform/Makefile: Run run-conformtest for tests.
2246 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2247 support.
2248
2249 * conform/data/uchar.h-data: New file.
2250 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2251 * conform/data/arpa/inet.h-data: Likewise.
2252 * conform/data/assert.h-data: Likewise.
2253 * conform/data/complex.h-data: Likewise.
2254 * conform/data/cpio.h-data: Likewise.
2255 * conform/data/ctype.h-data: Likewise.
2256 * conform/data/dirent.h-data: Likewise.
2257 * conform/data/dlfcn.h-data: Likewise.
2258 * conform/data/errno.h-data: Likewise.
2259 * conform/data/fcntl.h-data: Likewise.
2260 * conform/data/float.h-data: Likewise.
2261 * conform/data/fmtmsg.h-data: Likewise.
2262 * conform/data/fnmatch.h-data: Likewise.
2263 * conform/data/ftw.h-data: Likewise.
2264 * conform/data/glob.h-data: Likewise.
2265 * conform/data/grp.h-data: Likewise.
2266 * conform/data/iconv.h-data: Likewise.
2267 * conform/data/inttypes.h-data: Likewise.
2268 * conform/data/langinfo.h-data: Likewise.
2269 * conform/data/libgen.h-data: Likewise.
2270 * conform/data/limits.h-data: Likewise.
2271 * conform/data/locale.h-data: Likewise.
2272 * conform/data/math.h-data: Likewise.
2273 * conform/data/monetary.h-data: Likewise.
2274 * conform/data/mqueue.h-data: Likewise.
2275 * conform/data/ndbm.h-data: Likewise.
2276 * conform/data/net/if.h-data: Likewise.
2277 * conform/data/netdb.h-data: Likewise.
2278 * conform/data/netinet/in.h-data: Likewise.
2279 * conform/data/nl_types.h-data: Likewise.
2280 * conform/data/poll.h-data: Likewise.
2281 * conform/data/pthread.h-data: Likewise.
2282 * conform/data/pwd.h-data: Likewise.
2283 * conform/data/regex.h-data: Likewise.
2284 * conform/data/sched.h-data: Likewise.
2285 * conform/data/search.h-data: Likewise.
2286 * conform/data/semaphore.h-data: Likewise.
2287 * conform/data/setjmp.h-data: Likewise.
2288 * conform/data/signal.h-data: Likewise.
2289 * conform/data/spawn.h-data: Likewise.
2290 * conform/data/stdarg.h-data: Likewise.
2291 * conform/data/stdio.h-data: Likewise.
2292 * conform/data/stdlib.h-data: Likewise.
2293 * conform/data/string.h-data: Likewise.
2294 * conform/data/strings.h-data: Likewise.
2295 * conform/data/stropts.h-data: Likewise.
2296 * conform/data/sys/ipc.h-data: Likewise.
2297 * conform/data/sys/mman.h-data: Likewise.
2298 * conform/data/sys/msg.h-data: Likewise.
2299 * conform/data/sys/resource.h-data: Likewise.
2300 * conform/data/sys/select.h-data: Likewise.
2301 * conform/data/sys/sem.h-data: Likewise.
2302 * conform/data/sys/shm.h-data: Likewise.
2303 * conform/data/sys/socket.h-data: Likewise.
2304 * conform/data/sys/stat.h-data: Likewise.
2305 * conform/data/sys/statvfs.h-data: Likewise.
2306 * conform/data/sys/time.h-data: Likewise.
2307 * conform/data/sys/timeb.h-data: Likewise.
2308 * conform/data/sys/times.h-data: Likewise.
2309 * conform/data/sys/types.h-data: Likewise.
2310 * conform/data/sys/uio.h-data: Likewise.
2311 * conform/data/sys/un.h-data: Likewise.
2312 * conform/data/sys/utsname.h-data: Likewise.
2313 * conform/data/sys/wait.h-data: Likewise.
2314 * conform/data/syslog.h-data: Likewise.
2315 * conform/data/tar.h-data: Likewise.
2316 * conform/data/termios.h-data: Likewise.
2317 * conform/data/utime.h-data: Likewise.
2318 * conform/data/utmpx.h-data: Likewise.
2319 * conform/data/varargs.h-data: Likewise.
2320 * conform/data/wchar.h-data: Likewise.
2321 * conform/data/wctype.h-data: Likewise.
2322 * conform/data/wordexp.h-data: Likewise.
2323
2324 * include/stropts.h: New file.
2325 * include/uchar.h: New file.
2326 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2327 * include/assert.h: Likewise.
2328 * include/ctype.h: Likewise.
2329 * include/dirent.h: Likewise.
2330 * include/dlfcn.h: Likewise.
2331 * include/fcntl.h: Likewise.
2332 * include/fnmatch.h: Likewise.
2333 * include/glob.h: Likewise.
2334 * include/grp.h: Likewise.
2335 * include/libio.h: Likewise.
2336 * include/locale.h: Likewise.
2337 * include/math.h: Likewise.
2338 * include/net/if.h: Likewise.
2339 * include/netdb.h: Likewise.
2340 * include/netinet/in.h: Likewise.
2341 * include/pthread.h: Likewise.
2342 * include/pwd.h: Likewise.
2343 * include/regex.h: Likewise.
2344 * include/sched.h: Likewise.
2345 * include/search.h: Likewise.
2346 * include/setjmp.h: Likewise.
2347 * include/signal.h: Likewise.
2348 * include/stdio.h: Likewise.
2349 * include/stdlib.h: Likewise.
2350 * include/string.h: Likewise.
2351 * include/sys/cdefs.h: Likewise.
2352 * include/sys/mman.h: Likewise.
2353 * include/sys/msg.h: Likewise.
2354 * include/sys/resource.h: Likewise.
2355 * include/sys/select.h: Likewise.
2356 * include/sys/socket.h: Likewise.
2357 * include/sys/stat.h: Likewise.
2358 * include/sys/statvfs.h: Likewise.
2359 * include/sys/time.h: Likewise.
2360 * include/sys/times.h: Likewise.
2361 * include/sys/uio.h: Likewise.
2362 * include/sys/utsname.h: Likewise.
2363 * include/sys/wait.h: Likewise.
2364 * include/termios.h: Likewise.
2365 * include/time.h: Likewise.
2366 * include/ulimit.h: Likewise.
2367 * include/unistd.h: Likewise.
2368 * include/utime.h: Likewise.
2369 * include/wchar.h: Likewise.
2370 * include/wctype.h: Likewise.
2371 * include/wordexp.h: Likewise.
2372
2373 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2374
7a270350
UD
2375 * time/time.h: TIME_UTC must be a macro.
2376 Make timespec_get available for ISO C11 only as well.
2377
7724defc
UD
23782012-02-24 Ulrich Drepper <drepper@gmail.com>
2379
2380 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2381 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2382
6b1d1d46
JM
23832012-02-24 Joseph Myers <joseph@codesourcery.com>
2384
2385 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2386
0f8bbd69
JM
23872012-02-24 Joseph Myers <joseph@codesourcery.com>
2388
2389 * manual/texinfo.tex: Update to version 2012-01-19.16.
2390
66ab80bc
JM
23912012-02-24 Joseph Myers <joseph@codesourcery.com>
2392
2393 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2394
74981cc5
RM
23952012-02-24 Roland McGrath <roland@hack.frob.com>
2396
ee968201
RM
2397 [BZ #13738]
2398 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2399 * manual/fdl-1.3.texi: New file.
2400 * manual/fdl-1.1.texi: File removed.
2401
74981cc5
RM
2402 [BZ #13738]
2403 * manual/libc.texinfo (FDL_VERSION): New @set.
2404 Use it for mention of FDL in cover text.
2405 (Documentation License): Use it in @include file name.
2406
7bb764bc
JM
24072012-02-22 Joseph Myers <joseph@codesourcery.com>
2408 Roland McGrath <roland@hack.frob.com>
2409
2410 [BZ #5461]
2411 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2412 not LONG_LONG_MAX and LONG_LONG_MIN.
2413 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2414 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2415 name.
2416 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2417
6cbeae47
JM
24182012-02-22 Joseph Myers <joseph@codesourcery.com>
2419
2420 [BZ #2547]
2421 [BZ #11365]
2422 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2423 manipulate bits before adding and subtracting TWO23[sx].
2424 * math/libm-test.inc (nearbyint_test): Add more tests.
2425
fe45ce09
JM
24262012-02-22 Joseph Myers <joseph@codesourcery.com>
2427
2428 [BZ #2548]
2429 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2430 bits before adding and subtracting TWO23[sx].
2431 * math/libm-test.inc (rint_test): Add more tests.
2432 (rint_test_tonearest): Likewise.
2433 (rint_test_towardzero): Likewise.
2434 (rint_test_downward): Likewise.
2435 (rint_test_upward: Likewise.
2436
ff3b3d82
JM
24372012-02-22 Joseph Myers <joseph@codesourcery.com>
2438
2439 [BZ #10110]
2440 * include/stdc-predef.h: New file. Extracted from features.h.
2441 * include/features.h: Include stdc-predef.h.
2442 * Makefile (headers): Add stdc-predef.h.
2443 * CONFORMANCE (Compiler limitations): Update.
2444
ef0aab35
JM
24452012-02-22 Joseph Myers <joseph@codesourcery.com>
2446
2447 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2448
58639409
DM
24492012-02-21 David S. Miller <davem@davemloft.net>
2450
2451 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2452 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2453
c0e70b25
DM
24542012-02-20 David S. Miller <davem@davemloft.net>
2455
2456 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2457 using a normal save/restore sequence, rather than allocating a
2458 dummy stack frame just to store a frame pointer and restore.
2459 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2460
fb06851d
JM
24612012-02-21 Joseph Myers <joseph@codesourcery.com>
2462
2463 * manual/install.texi: Fix stray word in line-wrapped comment.
2464
7a8b71c3
DM
24652012-02-20 David S. Miller <davem@davemloft.net>
2466
d510c123
DM
2467 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2468 both binutils and gcc support GOTDATA.
2469
0722d7c2
DM
2470 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2471 "rd %pc" in the PIC register setup sequences.
2472
3d2b3019
DM
2473 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2474 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2475 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2476 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2477 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2478 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2479 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2480 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2481 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2482 (SYSCALL_ERROR_HANDLER): Likewise.
2483 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2484 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2486 (SYSCALL_ERROR_HANDLER): Likewise.
2487
c80098a9
DM
2488 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2489 (HAVE_GCC_GOTDATA): New.
2490 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2491 relocation support in both binutils and gcc.
2492 * sysdeps/sparc/elf/configure: Regenerate.
2493
3a2545a0
DM
2494 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2495 * sysdeps/sparc/sparc32/elf/configure: Delete.
2496 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2497 * sysdeps/sparc/sparc64/elf/configure: Delete.
2498 * sysdeps/sparc/elf/configure.in: New file.
2499 * sysdeps/sparc/elf/configure: Generate.
2500
7a8b71c3
DM
2501 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2502 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2503 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2504 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2505 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2506
f1e86fca
JM
25072012-02-21 Joseph Myers <joseph@codesourcery.com>
2508
2509 * manual/install.texi: Do not mention specific glibc version
2510 numbers.
2511 * manual/libc.texinfo (VERSION, UPDATED): Update.
2512 (@copying): Use @copyright{} and range of years.
2513
0e7dfaef
JM
25142012-02-21 Joseph Myers <joseph@codesourcery.com>
2515
2516 [BZ #13695]
2517 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2518 [crti.S not in sysdirs] (generated): Do not append.
2519 [crti.S not in sysdirs] (omit-deps): Likewise.
2520 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2521 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2522 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2523 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2524 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2525 Likewise.
2526 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2527 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2528 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2529 * csu/defs.awk: Remove file.
2530 * sysdeps/generic/initfini.c: Likewise.
2531 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2532 variable.
2533 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2534 Likewise.
2535
599af3ca
JM
25362012-02-20 Joseph Myers <joseph@codesourcery.com>
2537
2538 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2539 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2540 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2541 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2542 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2543 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2544 <bits/epoll.h>.
2545 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2546 (__EPOLL_PACKED): Define to empty if not defined by
2547 <bits/epoll.h>.
2548 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2550 bits/epoll.h.
2551
0e499750
JM
25522012-02-20 Joseph Myers <joseph@codesourcery.com>
2553
2554 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2555 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2556 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2557 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2558 <bits/timerfd.h>.
2559 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2560 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2561 bits/timerfd.h.
2562
5ad91f6e
JM
25632012-02-20 Joseph Myers <joseph@codesourcery.com>
2564
2565 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2566 in C locale.
2567 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2568 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2569 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2571
06b99b02
AJ
25722012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2573
2574 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2575 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2576
7638c0fd
AS
25772012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2578
2579 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2580 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2581 defined.
2582 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2583 Likewise.
2584 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2585 entry for 2.16.
2586
92221550
AJ
25872012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2588
2589 * math/w_acos.c: Use non-signaling floating-point comparisons.
2590 * math/w_acosf.c: Likewise.
2591 * math/w_acosh.c: Likewise.
2592 * math/w_acoshf.c: Likewise.
2593 * math/w_acoshl.c: Likewise.
2594 * math/w_acosl.c: Likewise.
2595 * math/w_asin.c: Likewise.
2596 * math/w_asinf.c: Likewise.
2597 * math/w_asinl.c: Likewise.
2598 * math/w_atanh.c: Likewise.
2599 * math/w_atanhf.c: Likewise.
2600 * math/w_atanhl.c: Likewise.
2601 * math/w_exp2.c: Likewise.
2602 * math/w_exp2f.c: Likewise.
2603 * math/w_exp2l.c: Likewise.
2604 * math/w_j0.c: Likewise.
2605 * math/w_j0f.c: Likewise.
2606 * math/w_j0l.c: Likewise.
2607 * math/w_j1.c: Likewise.
2608 * math/w_j1f.c: Likewise.
2609 * math/w_j1l.c: Likewise.
2610 * math/w_jn.c: Likewise.
2611 * math/w_jnf.c: Likewise.
2612 * math/w_log.c: Likewise.
2613 * math/w_log10.c: Likewise.
2614 * math/w_log10f.c: Likewise.
2615 * math/w_log10l.c: Likewise.
2616 * math/w_log2.c: Likewise.
2617 * math/w_log2f.c: Likewise.
2618 * math/w_log2l.c: Likewise.
2619 * math/w_logf.c: Likewise.
2620 * math/w_logl.c: Likewise.
2621 * math/w_sqrt.c: Likewise.
2622 * math/w_sqrtf.c: Likewise.
2623 * math/w_sqrtl.c: Likewise.
2624 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2625 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2626 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2627 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2628 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2629
ebaf36eb
JM
26302012-02-19 Joseph Myers <joseph@codesourcery.com>
2631
2632 [BZ #9739]
2633 * manual/string.texi (strnlen): Use correct parameter name in
2634 equivalent expression.
2635
71c254a6
JM
26362012-02-19 Joseph Myers <joseph@codesourcery.com>
2637
2638 [BZ #11174]
2639 * manual/users.texi (seteuid): Consistently use neweuid for
2640 argument name.
2641
16d2c631
JM
26422012-02-19 Joseph Myers <joseph@codesourcery.com>
2643
2644 [BZ #13704]
2645 * manual/nss.texi (Services in the NSS configuration): Correct
2646 list of services in example configuration file.
2647
cd837b09
NB
26482012-02-19 Nick Bowler <nbowler@draconx.ca>
2649
2650 [BZ #11322]
2651 * manual/arith.texi: Remove statements about negative zero
2652 behaving identically to zero.
2653
02c4bbad
JM
26542012-02-18 Joseph Myers <joseph@codesourcery.com>
2655
2656 [BZ #5993]
2657 * manual/install.texi: Do not document upgrading from libc5.
2658
366842e7
JM
26592012-02-18 Joseph Myers <joseph@codesourcery.com>
2660
2661 [BZ #4596]
2662 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2663
dd54084d
DM
26642012-02-18 David S. Miller <davem@davemloft.net>
2665
2666 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2667 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2668 %o7 across the call.
2669 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2670 instead.
2671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2672 SETUP_PIC_REG_LEAF.
2673 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2674 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2675 * sysdeps/sparc/crtn.S: Likewise.
2676
2bcc53a3
UD
26772012-02-17 Ulrich Drepper <drepper@gmail.com>
2678
2679 * aout/Makefile: Remove.
2680
09c093b5
RK
26812012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2682
2683 [BZ #13058]
2684 * manual/examples/argp-ex1.c (main): Format definition in GNU
2685 style.
2686 * manual/examples/argp-ex2.c (main): Likewise.
2687 * manual/examples/argp-ex3.c (main): Likewise.
2688 * manual/examples/argp-ex4.c (main): Likewise.
2689 * manual/examples/longopt.c (main): Use new-style prototype
2690 definition.
2691 * manual/examples/strncat.c (main): Specify return type and use
2692 (void) for arguments.
2693 * manual/examples/subopt.c (main): Use char **argv argument.
2694
2ee633a2
JM
26952012-02-17 Joseph Myers <joseph@codesourcery.com>
2696
2697 [BZ #5077]
2698 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2699 rounding modes.
2700
0520adde
FB
27012012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2702
2703 [BZ #6907]
2704 * manual/string.texi (strchr): Change when strchrnul is
2705 recommended.
2706
3f4081cd
DGM
27072012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2708
2709 [BZ #174]
2710 * manual/locale.texi (setlocale): Document LOCPATH.
2711
d1b10e78
JM
27122012-02-17 Joseph Myers <joseph@codesourcery.com>
2713
2714 [BZ #10210]
2715 * manual/process.texi (execle): Move @dots{} before last argument.
2716
79c6869c
PB
27172012-02-17 Paul Bolle <pebolle@tiscali.nl>
2718
2719 [BZ #12047]
2720 * manual/charset.texi (Generic Charset Conversion): Fix typo
2721 (LC_TYPE -> LC_CTYPE).
2722
cc6e48bc
NB
27232012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2724
2725 [BZ #5805]
2726 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2727 (scalbnf): Likewise.
2728 (scalbnl): Likewise.
2729 (scalbln): Likewise.
2730 (scalblnf): Likewise.
2731 (scalblnl): Likewise.
2732 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2733 (vwarnx): Likewise.
2734 (verr): Likewise.
2735 (verrx): Likewise.
2736 * manual/filesys.texi (telldir): Use braces around return type.
2737 * manual/llio.texi (mmap): Add space after comma.
2738 (mmap64): Likewise.
2739 * manual/math.texi (jn): Use @var{} on parameter names.
2740 (jnf): Likewise.
2741 (jnl): Likewise.
2742 (yn): Likewise.
2743 (ynf): Likewise.
2744 (ynl): Likewise.
2745 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2746 line.
2747 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2748 "...".
2749 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2750 (sched_get_priority_max): Likewise.
2751 * manual/signal.texi (sigvec): Add space after comma.
2752 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2753 names.
2754 (if_indextoname): Likewise.
2755 (if_freenameindex): Likewise.
2756 (sendto): Use ',' instead of '.' in prototype.
2757 * manual/startup.texi (syscall): Use @dots{} instead of literal
2758 "...".
2759 * manual/stdio.texi (__fpending): Separate initial words of
2760 paragraph from @deftypefun line.
2761 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2762 "...".
2763 (vsyslog): Use @var{} on parameter names.
2764 * manual/terminal.texi (stty): Use @var{} on parameter names.
2765 * manual/users.texi (getutmp): Use @var{} on parameter names.
2766 (getutmpx): Likewise.
2767
5b23062f
JM
27682012-02-17 Joseph Myers <joseph@codesourcery.com>
2769
2770 [BZ #6884]
2771 * manual/stdio.texi (fopen): Fix typos in description of
2772 ",ccs=STRING".
2773
8dee4833
AJ
27742012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2775
2776 [BZ #4026]
2777 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2778 get clock_id definition.
2779
9078ce93
TS
27802012-02-17 Thomas Schwinge <thomas@schwinge.name>
2781
2782 [BZ #4822]
2783 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2784 (madvise): Cast every argument to void on its own.
2785
3835c55f
JM
27862012-02-17 Joseph Myers <joseph@codesourcery.com>
2787
2788 [BZ #9902]
2789 * manual/startup.texi (Exit Status): Fix typo.
2790
35c47e37
JM
27912012-02-17 Joseph Myers <joseph@codesourcery.com>
2792
2793 [BZ #10140]
2794 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2795 * manual/examples/argp-ex2.c: Likewise.
2796 * manual/examples/argp-ex3.c: Likewise.
2797
e3b69ca7
RH
27982012-02-16 Richard Henderson <rth@redhat.com>
2799
2800 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2801 * sysdeps/s390/s390-32/initfini.c: Remove.
2802 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2803 * sysdeps/s390/s390-64/initfini.c: Remove.
2804
df83af67
KK
28052012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2806
2807 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2808 compiler output for sysdeps/generic/initfini.c.
2809 * sysdeps/sh/elf/initfini.c: Remove file.
2810
f63f3380
DM
28112012-02-16 David S. Miller <davem@davemloft.net>
2812
fb59b3a4
DM
2813 [BZ #11494]
2814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2815
f63f3380
DM
2816 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2817 * sysdeps/sparc/crti.S: New file.
2818 * sysdeps/sparc/crtn.S: New file.
2819 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2820 * sysdeps/sparc/sparc64/Makefile: Likewise.
2821
df6a4a4a
MF
28222012-02-15 Mike Frysinger <vapier@gentoo.org>
2823
6dd8f3dc 2824 [BZ #3335]
df6a4a4a
MF
2825 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2826
1cac7236
RM
28272012-02-15 Roland McGrath <roland@hack.frob.com>
2828
d2c736f8
RM
2829 [BZ #4822]
2830 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2831
1cac7236
RM
2832 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2833 (write, read, close): Likewise.
2834 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2835
8e475601
JM
28362012-02-15 Joseph Myers <joseph@codesourcery.com>
2837
2838 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2839 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2840 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2841 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2842 <bits/signalfd.h>.
2843 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2845 bits/signalfd.h.
2846
ed656b40
MP
28472012-02-14 Marek Polacek <polacek@redhat.com>
2848
2849 * sysdeps/x86_64/crti.S: New file.
2850 * sysdeps/x86_64/crtn.S: New file.
2851 * sysdeps/x86_64/elf/initfini.c: Remove file.
2852
2a979d3a
JM
28532012-02-13 Joseph Myers <joseph@codesourcery.com>
2854
2855 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2856 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2857 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2858 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2859 <bits/inotify.h>.
2860 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2862 bits/inotify.h.
2863
2a418ac3
JM
28642012-02-13 Joseph Myers <joseph@codesourcery.com>
2865
2866 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2867 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2868 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2869 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2870 <bits/eventfd.h>.
2871 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2873 bits/eventfd.h.
2874
fb779be7
TS
28752012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2876
e19e83c5
RM
2877 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2878 __feraiseexcept instead of feraiseexcept.
7c35ffed 2879
fb779be7
TS
2880 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2881 nanosleep invocations.
2882 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2883 strings, and add error checking for a nanosleep invocations.
2884
59ba27a6
PE
28852012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2886
2887 Replace FSF snail mail address with URLs, as per GNU coding standards.
2888 Most of the snail mail addresses were wrong anyway, and omitting
2889 them makes the source code easier to maintain. Almost all of the
2890 changes are to license notices and to locale LC_IDENTIFICATION
2891 addresses, except for this one:
2892 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2893 not its snail mail address.
2894
57b957eb
RH
28952012-02-09 Richard Henderson <rth@twiddle.net>
2896
af850b1c
RH
2897 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2898 of kernel-features.h.
2899
57b957eb
RH
2900 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2901
6b73181a
MP
29022012-02-08 Marek Polacek <polacek@redhat.com>
2903
2904 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2905 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2906 * sysdeps/gnu/_G_config.h: Likewise.
2907 * sysdeps/generic/_G_config.h: Likewise.
2908
26ecc33a
AS
29092012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2910
6c6dbc63
AS
2911 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2912 tests.
2913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2914
e216c012
AS
2915 * sysdeps/powerpc/powerpc32/crti.S: New file.
2916 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2917 * sysdeps/powerpc/powerpc64/crti.S: New file.
2918 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2919
26ecc33a
AS
2920 * Makeconfig (have-initfini): Don't set.
2921 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2922 * configure.in (nopic_initfini): Don't substitute.
2923 * config.h.in (HAVE_INITFINI): Don't #undef.
2924 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2925 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2926
3add8e13
JM
29272012-02-08 Joseph Myers <joseph@codesourcery.com>
2928
2929 Support crti.S and crtn.S provided directly by architectures.
2930 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2931 [crti.S in sysdirs] (omit-deps): Likewise.
2932 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2933 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2934 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2935 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2936 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2937 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2938 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2939 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2940 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2941 compiler output for sysdeps/generic/initfini.c.
2942 * sysdeps/i386/elf/Makefile: Remove file.
2943 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2944
a22f12b4
MP
29452012-02-07 Marek Polacek <polacek@redhat.com>
2946
2947 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2948 * sysdeps/gnu/_G_config.h: Likewise.
2949 * sysdeps/mach/hurd/_G_config.h: Likewise.
2950
148cf100
MP
29512012-02-07 Marek Polacek <polacek@redhat.com>
2952
2953 * math/Makefile (tests): Add tst-CMPLX2.
2954 * math/tst-CMPLX2.c: New file.
2955
cfdc0dd7
AS
29562012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2957
84ba42c4
AS
2958 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2959
cfdc0dd7
AS
2960 * math/libm-test.inc (jn_test): Add missing L suffix.
2961
622c86f4
MP
29622012-02-06 Marek Polacek <polacek@redhat.com>
2963
2964 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2965 * sysdeps/i386/fpu/e_powf.S: Likewise.
2966 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2967 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2968 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2969 * sysdeps/i386/fpu/e_pow.S: Likewise.
2970 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2971 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2972 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2973 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2974 * sysdeps/i386/fpu/e_log2.S: Likewise.
2975 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2976 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2977 * sysdeps/i386/fpu/e_powl.S: Likewise.
2978 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2979 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2980 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2981 * sysdeps/i386/fpu/e_logl.S: Likewise.
2982 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2983 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2984 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2985 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2986 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2987 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2988 * sysdeps/i386/fpu/e_log.S: Likewise.
2989 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2990 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2991 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2992 * sysdeps/i386/fpu/e_logf.S: Likewise.
2993 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2994 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2995 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2996 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2997 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2998 * sysdeps/i386/fpu/e_log10.S: Likewise.
2999 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3000 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3001 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3002 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3003 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3004 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3005 * sysdeps/i386/asm-syntax.h: Likewise.
3006 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3007 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3008 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3009 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3010 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3011 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3012 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3013 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3014 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3015 * sysdeps/powerpc/sysdep.h: Likewise.
3016 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3017 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3018
d4a54ac6
JM
30192012-02-06 Joseph Myers <joseph@codesourcery.com>
3020
3021 [BZ #411]
3022 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3023
314054ea
JM
30242012-02-06 Joseph Myers <joseph@codesourcery.com>
3025
3026 * sysdeps/i386/sysdep.h: Include <features.h>.
3027 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3028 version.
3029
d8e0ca50
JM
30302012-02-05 Joseph Myers <joseph@codesourcery.com>
3031
3032 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3033 Define.
3034 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3035 LOAD_PIC_REG_STR.
3036
b1da7dd9
JM
30372012-02-03 Joseph Myers <joseph@codesourcery.com>
3038
3039 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3040 (SETUP_PIC_REG): Use GET_PC_THUNK.
3041 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3042 macro.
3043
9a1d9254
JM
30442012-02-03 Joseph Myers <joseph@codesourcery.com>
3045
3046 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3047 for non-PIC compilation.
3048 (SETUP_PIC_REG): Add .p2align directive.
3049 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3050 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3051 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3052 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3053 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3054 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3055 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3057 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3058 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3059 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3060 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3061 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3062 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3063 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3064 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3065 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3066 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3067 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3068 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3069 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3070 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3071 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3072 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3073 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3074 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3075 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3076 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3077 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3078 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3079 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3080 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3081 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3082 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3083 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3084 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3085 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3086 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3087 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3088 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3089 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3090
65dc3b75
JM
30912012-02-03 Joseph Myers <joseph@codesourcery.com>
3092
3093 * math/tst-CMPLX.c: Include <stdio.h>.
3094
d55bf177
JM
30952012-01-31 Joseph Myers <joseph@codesourcery.com>
3096
3097 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3098 float.
3099 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3100 * sysdeps/sparc/bits/mathdef.h: Likewise.
3101
69db4f8f
MP
31022012-01-31 Marek Polacek <polacek@redhat.com>
3103
3104 * libio/libio.h: Don't define _PARAMS.
3105 * locale/programs/config.h: Don't define PARAMS.
3106 * stdlib/strtol_l.c: Likewise.
3107 (__strtol_l): Remove PARAMS from the prototype.
3108
41b81892
UD
31092012-01-31 Ulrich Drepper <drepper@gmail.com>
3110
3b49edc0
UD
3111 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3112 names. Just use the correct names. Remove unnecessary wrapper
3113 functions.
3114 * malloc/arena.c: Likewise.
3115 * malloc/hooks.c: Likewise.
3116
41b81892
UD
3117 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3118 ARENA_TEST says not to. Simplify test for creation of a new arena.
3119 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3120
27a25b6e
UD
31212012-01-30 Ulrich Drepper <drepper@gmail.com>
3122
3123 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3124 into tail calls.
3125 (update_get_addr): New function.
3126 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3127 GET_ADDR_MODULE parameter.
3128
c8a89e7d
JM
31292012-01-30 Joseph Myers <joseph@codesourcery.com>
3130
3131 * crypt/cert.c: Remove __STDC__ conditionals.
3132 * crypt/crypt-entry.c: Likewise.
3133 * crypt/crypt_util.c: Likewise.
3134 * libio/filedoalloc.c: Likewise.
3135 * libio/fileops.c: Likewise.
3136 * libio/genops.c: Likewise.
3137 * libio/iofclose.c: Likewise.
3138 * libio/iofdopen.c: Likewise.
3139 * libio/iofopen.c: Likewise.
3140 * libio/iofopen64.c: Likewise.
3141 * libio/iogetdelim.c: Likewise.
3142 * libio/iopopen.c: Likewise.
3143 * libio/obprintf.c: Likewise.
3144 * libio/oldfileops.c: Likewise.
3145 * libio/oldiofclose.c: Likewise.
3146 * libio/oldiofdopen.c: Likewise.
3147 * libio/oldiofopen.c: Likewise.
3148 * libio/oldiopopen.c: Likewise.
3149 * libio/wfiledoalloc.c: Likewise.
3150 * libio/wgenops.c: Likewise.
3151 * locale/programs/xmalloc.c: Likewise.
3152 * misc/syslog.c: Likewise.
3153 * stdio-common/xbug.c: Likewise.
3154 * string/memchr.c: Likewise.
3155 * string/memcmp.c: Likewise.
3156 * string/memrchr.c: Likewise.
3157 * string/rawmemchr.c: Likewise.
3158 * sysdeps/posix/getcwd.c: Likewise.
3159 * time/strftime_l.c: Likewise.
3160
3b100462
JM
31612012-01-30 Joseph Myers <joseph@codesourcery.com>
3162
3163 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3164 * config.make.in (config-cflags-sse2avx): Define.
3165 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3166 Fix typo.
3167
607998af
CM
31682012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3169
3170 * scripts/config.guess: Update from upstream config git repository.
3171 * scripts/config.sub: Likewise.
3172
3601428f
CM
31732012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3174
3ac8b282
CM
3175 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3176 (EM_NUM): Update.
3177 (R_TILEPRO_*, R_TILEGX_*): New macros.
3178
e034841e
CM
3179 * scripts/firstversions.awk: Fix bug in version range handling.
3180
540d7568
CM
3181 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3182
3601428f
CM
3183 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3184
463de862
CM
3185 * include/sys/epoll.h: New file.
3186 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3187 libc_hidden_def.
3188
73139a76
UD
31892012-01-28 Ulrich Drepper <drepper@gmail.com>
3190
96bc5b45
UD
3191 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3192 Avoid unnecessary __WORDSIZE == 64 test.
3193 (fmaxf): Use VEX format if possible.
3194 (fmax): Likewise.
3195 (fminf): Likewise.
3196 (fmin): Likewise.
3197
56f6f6a2
UD
3198 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3199 * math/math_private.h: Remove libc_fegetround* and
3200 libc_fesetround*.
3201 * sysdeps/i386/configure.in: Check for -msse2avx.
3202 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3203 also if SSE2AVX is defined.
3204 Remove libc_fegetround* and libc_fesetround*.
3205 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3206 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3207 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3208 of HAS_YMM_USABLE.
3209 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3210 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3211 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3212 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3213 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3214
73139a76
UD
3215 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3216
d73f93a4
AZ
32172012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3218
3219 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3220 size is not set.
3221 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3222
6ee65ed6
UD
32232012-01-27 Ulrich Drepper <drepper@gmail.com>
3224
3225 [BZ #13618]
3226 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3227 relocation.
3228 * Makeconfig (libm): Define.
3229 * elf/Makefile: Add rules to build and run tst-relsort1.
3230 * elf/tst-relsort1.c: New file.
3231 * elf/tst-relsort1mod1.c: New file.
3232 * elf/tst-relsort1mod2.c: New file.
3233
8db21882
JM
32342012-01-27 Joseph Myers <joseph@codesourcery.com>
3235
3236 * math/s_ldexp.c: Remove __STDC__ conditionals.
3237 * math/s_ldexpf.c: Likewise.
3238 * math/s_ldexpl.c: Likewise.
3239 * math/s_nextafter.c: Likewise.
3240 * math/s_nexttowardf.c: Likewise.
3241 * math/s_significand.c: Likewise.
3242 * math/s_significandf.c: Likewise.
3243 * math/s_significandl.c: Likewise.
3244 * math/w_jnl.c: Likewise.
3245 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3246 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3247 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3248 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3249 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3251 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3252 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3253 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3254 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3255 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3256 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3257 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3258 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3259 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3260 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3261 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3262 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3263 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3264 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3265 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3266 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3267 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3268 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3269 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3270 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3271 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3272 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3273 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3274 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3275 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3276 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3277 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3278 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3279 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3280 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3281 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3282 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3283 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3284 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3285 * sysdeps/ieee754/k_standard.c: Likewise.
3286 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3287 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3288 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3289 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3290 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3291 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3292 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3293 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3294 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3295 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3296 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3297 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3298 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3299 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3300 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3301 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3302 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3303 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3304 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3305 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3306 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3307 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3308 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3309 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3310 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3311 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3312 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3313 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3315 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3316 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3317 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3318 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3319 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3320 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3321 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3322 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3323 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3324 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3325 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3326 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3327 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3328 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3329 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3330 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3331 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3332 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3333 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3334 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3335 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3336 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3337 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3338 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3339 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3340 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3341 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3342 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3343 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3344 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3345 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3346 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3347 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3348 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3349 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3350 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3351 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3352 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3353 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3354 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3355 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3356 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3357 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3358 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3359 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3360 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3361 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3362 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3364 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3365 * sysdeps/ieee754/s_matherr.c: Likewise.
3366 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3367 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3368 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3370
965a54a4
JM
33712012-01-26 Joseph Myers <joseph@codesourcery.com>
3372
3373 * crypt/md5.h: Remove __STDC__ conditionals.
3374 * libio/libioP.h: Likewise.
3375 * locale/programs/config.h: Likewise.
3376 * sysdeps/generic/sysdep.h: Likewise.
3377 * sysdeps/i386/asm-syntax.h: Likewise.
3378 * sysdeps/s390/asm-syntax.h: Likewise.
3379 * sysdeps/unix/sysdep.h: Likewise.
3380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3382
7071ad79
JM
33832012-01-26 Joseph Myers <joseph@codesourcery.com>
3384
3385 * libio/libio.h: Remove __STDC__ conditionals.
3386 * malloc/obstack.h: Likewise.
3387 * math/complex.h: Likewise.
3388 * math/math.h: Likewise.
3389 * sysdeps/generic/_G_config.h: Likewise.
3390 * sysdeps/gnu/_G_config.h: Likewise.
3391 * sysdeps/mach/hurd/_G_config.h: Likewise.
3392 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3393 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3394 * sysdeps/sparc/bits/mathdef.h: Likewise.
3395
afc5ed09
UD
33962012-01-26 Ulrich Drepper <drepper@gmail.com>
3397
3398 [BZ #13583]
3399 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3400 Clean up HAS_* macros.
afc5ed09 3401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3402 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3403 possible.
3404 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3405 HAS_AVX.
3406 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3407 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3408 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3409 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3410 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3411
bdb6de1d
JM
34122012-01-25 Joseph Myers <joseph@codesourcery.com>
3413
3414 * elf/tst-unique3.cc (gets): Remove declaration.
3415 * elf/tst-unique3lib.cc (gets): Likewise.
3416 * elf/tst-unique3lib2.cc (gets): Likewise.
3417 * elf/tst-unique4.cc (gets): Likewise.
3418
b15549e6
UD
34192012-01-24 Ulrich Drepper <drepper@gmail.com>
3420
3421 * include/stdio.h: Add C++ protection. Add gets declarations and
3422 definitions.
3423 * debug/tst-chk1.c: Don't declare gets here.
3424 * stdio-common/tst-gets.c: Likewise.
3425
a037381f
JM
34262012-01-24 Joseph Myers <joseph@codesourcery.com>
3427
3428 * posix/glob: Remove directory.
3429
f1d4aa75
JM
34302012-01-24 Joseph Myers <joseph@codesourcery.com>
3431
3432 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3433
81c0c964
PT
34342012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3435
3436 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3437 of the non-standard EPFNOSUPPORT.
3438
0ea698ae
ST
34392011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3440
3441 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3442 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3443 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3444
d220b117
UD
34452012-01-21 Ulrich Drepper <drepper@gmail.com>
3446
3447 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3448
3e1aa84e
UD
34492012-01-20 Ulrich Drepper <drepper@gmail.com>
3450
3451 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3452 transient errors.
3453 * nscd/grpcache.c (cache_addgr): Likewise.
3454 * nscd/hstcache.c (cache_addhst): Likewise.
3455 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3456 * nscd/pwdcache.c (cache_addpw): Likewise.
3457 * nscd/servicescache.c (cache_addserv): Likewise.
3458
400aa020
UD
34592012-01-16 Ulrich Drepper <drepper@gmail.com>
3460
d77e7869
UD
3461 * malloc/malloc.c: Various cleanups.
3462 * malloc/hooks.c: Likewise.
3463
400aa020
UD
3464 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3465 * stdlib/bug-fmtmsg1.c: New file.
3466
3467 * stdlib/fmtmsg.c (init): Add missing unlock.
3468 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3469
e0a309cf
MP
34702012-01-12 Marek Polacek <polacek@redhat.com>
3471
3472 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3473 and _GNU_SOURCE.
3474
929d11c7
WS
34752012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3476
3477 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3478 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3479 macro to ensure uniqueness of label name.
3480 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3481 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3482
41d0e869
UD
34832012-01-11 Ulrich Drepper <drepper@gmail.com>
3484
0cc5ed3b
UD
3485 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3486
41d0e869
UD
3487 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3488 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3489 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3490 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3491
a47a831a
UD
34922012-01-10 Ulrich Drepper <drepper@gmail.com>
3493
daa891c0
UD
3494 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3495
3496 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3497 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3498 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3499
e58ef0f2
UD
3500 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3501
a47a831a 3502 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3503 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3504 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3505 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3506
3507 * math/bits/math-finite.h: Add ldexp support.
3508
a0bfc9c7
MP
35092012-01-10 Marek Polacek <polacek@redhat.com>
3510
3511 * locale/programs/localedef.h (show_archive_content): Add noreturn
3512 attribute.
3513
d6e97a1d
UD
35142012-01-09 Ulrich Drepper <drepper@gmail.com>
3515
3516 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3517
d5835c26
UD
35182012-01-08 Ulrich Drepper <drepper@gmail.com>
3519
e5f484c6
UD
3520 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3521
d5835c26
UD
3522 * io/Makefile (headers): Add bits/poll2.h.
3523
d1f741e9
WS
35242011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3525
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3527 typo #include statement.
3528
ec09c1c4
UD
35292012-01-08 Ulrich Drepper <drepper@gmail.com>
3530
3531 * include/sys/cdefs.h: Define __attribute_alloc_size.
3532 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3533 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3534 * elf/pldd.c: Likewise.
3535 * iconv/iconv_charmap.c: Likewise.
3536 * iconv/iconvconfig.c: Likewise.
3537 * iconv/strtab.c: Likewise.
3538 * locale/programs/locale.c: Likewise.
3539 * locale/programs/localedef.h: Likewise.
3540 * locale/programs/simple-hash.c: Likewise.
3541 * nscd/nscd.h: Likewise.
3542 * nss/makedb.c: Likewise.
3543 * sysdeps/generic/ldconfig.h: Likewise.
3544 * locale/programs/localedef.c: Remove xmalloc prototype.
3545 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3546
20b38e03
PP
35472012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3548
3549 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3550 appropriate.
3551
a0da5fe1
UD
35522012-01-08 Ulrich Drepper <drepper@gmail.com>
3553
1d5a644a 3554 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3555 * math/tst-CMPLX.c: New file.
1d5a644a 3556
8784a6db
UD
3557 * math/complex.h (CMPLXL): Fix typo.
3558
d9a216c0
UD
3559 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3560 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3561 GLIBC_2.16.
3562 * debug/tst-chk1.c: Add poll and ppoll tests.
3563 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3564 * include/sys/poll.h: Add hidden proto for ppoll.
3565 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3566 * sysdeps/mach/hurd/ppoll.c: Likewise.
3567 * io/ppoll.c: Likewise.
3568 * debug/poll_chk.c: New file.
3569 * debug/ppoll_chk.c: New file.
3570 * include/bits/poll2.h: New file.
3571 * io/bits/poll2.h: New file.
3572
ac097f5c
UD
3573 [BZ #1350]
3574 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3575
2119dcfa
UD
3576 * configure.in: static is always set to yes. Remove.
3577 * config.make.in: Don't set build-static.
3578 * Makeconfig: Remove use of build-static.
3579 * dlfcn/Makefile: Likewise.
3580 * elf/Makefile: Likewise.
3581 * math/Makefile: Likewise.
3582 * misc/Makefile: Likewise.
3583 * nptl/Makefile: Likewise.
3584 * sysdeps/mach/hurd/Makefile: Likewise.
3585
121766a9
UD
3586 * configure.in: PWD_P is not used anymore.
3587 * config.make.in: Remove PWD_P entry.
3588
51a1d39c 3589 * configure.in: Remove last remnants of RANLIB.
8720d066 3590 No need to check for signed size_t anymore.
215f4bdc
UD
3591 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3592 and IA-64.
3857022a 3593 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3594 * aclocal.m4: Likewise.
3595
d3ed7225
UD
3596 * wcsmbs/mbrtoc16.c: Implement using towc function.
3597 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3598 * wcsmbs/wcsmbsload.c: Likewise.
3599 * iconv/gconv_simple.c: Likewise.
3600 * iconv/gconv_int.h: Likewise.
3601 * iconv/gconv_builtin.h: Likewise.
3602 * iconv/iconv_prog.c: Remove CHAR16 handling.
3603
3604 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3605
3606 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3607
a0da5fe1
UD
3608 * configure.in: Remove --with-elf and --enable-bounded options.
3609 Dont set base_machine for ia64. More non-ELF conditions removed.
3610 Remove testing and setting of leading underscore information.
3611 * config.make.in (build-bounded): Set to no.
3612 * config.h.in: Remove NO_UNDERSCORES entry.
3613 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3614 them.
3615 * csu/start.c: Remove !NO_UNDERSCORE code.
3616 * locale/localeinfo.h: Likewise.
3617 * sysdeps/generic/machine-gmon.h: Likewise.
3618 * sysdeps/generic/sysdep.h: Likewise.
3619 * sysdeps/i386/sysdep.h: Likewise.
3620 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3621 * sysdeps/mach/sysdep.h: Likewise.
3622 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3623 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3624 * sysdeps/sh/sysdep.h: Likewise.
3625 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3626 * sysdeps/unix/i386/sysdep.S: Likewise.
3627 * sysdeps/unix/sparc/start.c: Likewise.
3628 * sysdeps/unix/sparc/sysdep.S: Likewise.
3629 * sysdeps/unix/sparc/sysdep.h: Likewise.
3630 * sysdeps/unix/start.c: Likewise.
3631 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3632 * sysdeps/x86_64/sysdep.h: Likewise.
3633
df78418a
UD
36342012-01-07 Ulrich Drepper <drepper@gmail.com>
3635
a784e502
UD
3636 [BZ #13553]
3637 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3638 for non-gcc.
3639 * argp/argp-fmtstream.h: Use const instead __const.
3640 * argp/argp.h: Likewise.
3641 * assert/assert.h: Likewise.
3642 * bits/fenv.h: Likewise.
3643 * bits/sched.h: Likewise.
3644 * bits/sigset.h: Likewise.
3645 * bits/sigthread.h: Likewise.
3646 * catgets/nl_types.h: Likewise.
3647 * conform/data/pthread.h-data: Likewise.
3648 * crypt/crypt-private.h: Likewise.
3649 * crypt/crypt.h: Likewise.
3650 * crypt/crypt_util.c: Likewise.
3651 * ctype/ctype.h: Likewise.
3652 * debug/execinfo.h: Likewise.
3653 * debug/mbsnrtowcs_chk.c: Likewise.
3654 * debug/mbsrtowcs_chk.c: Likewise.
3655 * debug/wcsnrtombs_chk.c: Likewise.
3656 * debug/wcsrtombs_chk.c: Likewise.
3657 * debug/wcstombs_chk.c: Likewise.
3658 * dirent/dirent.h: Likewise.
3659 * dlfcn/dlfcn.h: Likewise.
3660 * elf/neededtest4.c: Likewise.
3661 * grp/grp.h: Likewise.
3662 * gshadow/gshadow.h: Likewise.
3663 * iconv/gconv.h: Likewise.
3664 * iconv/gconv_int.h: Likewise.
3665 * iconv/gconv_simple.c: Likewise.
3666 * iconv/iconv.h: Likewise.
3667 * iconv/loop.c: Likewise.
3668 * iconv/skeleton.c: Likewise.
3669 * include/aio.h: Likewise.
3670 * include/aliases.h: Likewise.
3671 * include/argz.h: Likewise.
3672 * include/arpa/inet.h: Likewise.
3673 * include/assert.h: Likewise.
3674 * include/dirent.h: Likewise.
3675 * include/dlfcn.h: Likewise.
3676 * include/execinfo.h: Likewise.
3677 * include/fcntl.h: Likewise.
3678 * include/fenv.h: Likewise.
3679 * include/glob.h: Likewise.
3680 * include/grp.h: Likewise.
3681 * include/libintl.h: Likewise.
3682 * include/mntent.h: Likewise.
3683 * include/netdb.h: Likewise.
3684 * include/pwd.h: Likewise.
3685 * include/rpc/netdb.h: Likewise.
3686 * include/sched.h: Likewise.
3687 * include/search.h: Likewise.
3688 * include/shadow.h: Likewise.
3689 * include/signal.h: Likewise.
3690 * include/stdio.h: Likewise.
3691 * include/stdlib.h: Likewise.
3692 * include/string.h: Likewise.
3693 * include/sys/socket.h: Likewise.
3694 * include/sys/stat.h: Likewise.
3695 * include/sys/statfs.h: Likewise.
3696 * include/sys/statvfs.h: Likewise.
3697 * include/sys/syslog.h: Likewise.
3698 * include/sys/time.h: Likewise.
3699 * include/sys/uio.h: Likewise.
3700 * include/time.h: Likewise.
3701 * include/unistd.h: Likewise.
3702 * include/utmp.h: Likewise.
3703 * include/wchar.h: Likewise.
3704 * include/wctype.h: Likewise.
3705 * inet/aliases.h: Likewise.
3706 * inet/arpa/inet.h: Likewise.
3707 * inet/netinet/ether.h: Likewise.
3708 * inet/netinet/in.h: Likewise.
3709 * intl/libintl.h: Likewise.
3710 * io/bits/fcntl2.h: Likewise.
3711 * io/fcntl.h: Likewise.
3712 * io/ftw.h: Likewise.
3713 * io/sys/poll.h: Likewise.
3714 * io/sys/stat.h: Likewise.
3715 * io/sys/statfs.h: Likewise.
3716 * io/sys/statvfs.h: Likewise.
3717 * io/utime.h: Likewise.
3718 * libio/bits/stdio.h: Likewise.
3719 * libio/bits/stdio2.h: Likewise.
3720 * libio/libio.h: Likewise.
3721 * libio/libioP.h: Likewise.
3722 * libio/stdio.h: Likewise.
3723 * locale/lc-ctype.c: Likewise.
3724 * locale/locale.h: Likewise.
3725 * login/utmp.h: Likewise.
3726 * malloc/arena.c: Likewise.
3727 * malloc/malloc.c: Likewise.
3728 * malloc/malloc.h: Likewise.
3729 * malloc/mcheck.c: Likewise.
3730 * malloc/mtrace.c: Likewise.
3731 * math/bits/mathcalls.h: Likewise.
3732 * math/fenv.h: Likewise.
3733 * math/math_private.h: Likewise.
3734 * misc/bits/error.h: Likewise.
3735 * misc/bits/syslog.h: Likewise.
3736 * misc/err.h: Likewise.
3737 * misc/error.h: Likewise.
3738 * misc/fstab.h: Likewise.
3739 * misc/mntent.h: Likewise.
3740 * misc/regexp.h: Likewise.
3741 * misc/search.h: Likewise.
3742 * misc/sgtty.h: Likewise.
3743 * misc/sys/mman.h: Likewise.
3744 * misc/sys/syslog.h: Likewise.
3745 * misc/sys/uio.h: Likewise.
3746 * misc/sys/xattr.h: Likewise.
3747 * misc/ttyent.h: Likewise.
3748 * nis/rpcsvc/ypclnt.h: Likewise.
3749 * nss/nss.h: Likewise.
3750 * posix/bits/unistd.h: Likewise.
3751 * posix/fnmatch.h: Likewise.
3752 * posix/glob.h: Likewise.
3753 * posix/sched.h: Likewise.
3754 * posix/spawn.h: Likewise.
3755 * posix/sys/wait.h: Likewise.
3756 * posix/unistd.h: Likewise.
3757 * posix/wordexp.h: Likewise.
3758 * pwd/pwd.h: Likewise.
3759 * resolv/netdb.h: Likewise.
3760 * resource/sys/resource.h: Likewise.
3761 * rt/aio.h: Likewise.
3762 * rt/bits/mqueue2.h: Likewise.
3763 * rt/mqueue.h: Likewise.
3764 * shadow/shadow.h: Likewise.
3765 * signal/signal.h: Likewise.
3766 * socket/send.c: Likewise.
3767 * socket/sendto.c: Likewise.
3768 * socket/sys/socket.h: Likewise.
3769 * stdio-common/printf.h: Likewise.
3770 * stdlib/bits/stdlib.h: Likewise.
3771 * stdlib/fmtmsg.h: Likewise.
3772 * stdlib/monetary.h: Likewise.
3773 * stdlib/stdlib.h: Likewise.
3774 * stdlib/ucontext.h: Likewise.
3775 * streams/stropts.h: Likewise.
3776 * string/argz.h: Likewise.
3777 * string/bits/string2.h: Likewise.
3778 * string/string.h: Likewise.
3779 * string/strings.h: Likewise.
3780 * sunrpc/rpc/auth.h: Likewise.
3781 * sunrpc/rpc/auth_des.h: Likewise.
3782 * sunrpc/rpc/clnt.h: Likewise.
3783 * sunrpc/rpc/netdb.h: Likewise.
3784 * sunrpc/rpc/pmap_clnt.h: Likewise.
3785 * sunrpc/rpc/xdr.h: Likewise.
3786 * sysdeps/generic/inttypes.h: Likewise.
3787 * sysdeps/generic/net/if.h: Likewise.
3788 * sysdeps/generic/sys/swap.h: Likewise.
3789 * sysdeps/gnu/net/if.h: Likewise.
3790 * sysdeps/gnu/utmpx.h: Likewise.
3791 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3792 * sysdeps/i386/i486/bits/string.h: Likewise.
3793 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3794 * sysdeps/s390/bits/string.h: Likewise.
3795 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3796 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3797 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3798 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3799 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3800 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3801 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3802 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3803 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3804 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3805 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3806 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3807 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3808 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3809 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3810 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3811 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3812 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3813 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3814 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3815 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3816 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3817 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3818 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3819 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3820 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3821 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3822 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3823 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3824 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3825 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3826 * sysvipc/sys/ipc.h: Likewise.
3827 * sysvipc/sys/msg.h: Likewise.
3828 * sysvipc/sys/sem.h: Likewise.
3829 * sysvipc/sys/shm.h: Likewise.
3830 * termios/termios.h: Likewise.
3831 * time/sys/time.h: Likewise.
3832 * time/time.h: Likewise.
3833 * wcsmbs/bits/wchar2.h: Likewise.
3834 * wcsmbs/uchar.h: Likewise.
3835 * wcsmbs/wchar.h: Likewise.
3836 * wctype/wctype.h: Likewise.
3837
0269750c
UD
3838 [BZ #13551]
3839 * Makeconfig: Remove all but ELF support including AIX support.
3840 * Makerules: Likewise.
3841 * config.h.in: Likewise.
3842 * config.make.in: Likewise.
3843 * configure: Likewise.
3844 * configure.in: Likewise.
3845 * csu/Makefile: Likewise.
3846 * csu/version.c: Likewise.
3847 * debug/Makefile: Likewise.
3848 * dlfcn/Makefile: Likewise.
3849 * elf/Makefile: Likewise.
3850 * extra-lib.mk: Likewise.
3851 * iconv/Makefile: Likewise.
3852 * include/libc-symbols.h: Likewise.
3853 * include/shlib-compat.h: Likewise.
3854 * resolv/Makefile: Likewise.
3855 * resolv/res_libc.c: Likewise.
3856 * rt/Makefile: Likewise.
3857 * sysdeps/i386/asm-syntax.h: Likewise.
3858 * sysdeps/i386/sysdep.h: Likewise.
3859 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3860 * sysdeps/mach/sysdep.h: Likewise.
3861 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3862 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3863 * sysdeps/s390/asm-syntax.h: Likewise.
3864 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3865 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3866 * sysdeps/sh/sysdep.h: Likewise.
3867 * sysdeps/unix/sparc/sysdep.h: Likewise.
3868 * sysdeps/wordsize-32/divdi3.c: Likewise.
3869 * sysdeps/x86_64/sysdep.h: Likewise.
3870
00bbd29b
UD
3871 * argp/Versions: Remove _argp_unlock_xxx.
3872
3873 [BZ #13559]
3874 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3875 * abilist/libBrokenLocale.abilist: Likewise.
3876 * abilist/libanl.abilist: Likewise.
3877 * abilist/libc.abilist: Likewise.
3878 * abilist/libcrypt.abilist: Likewise.
3879 * abilist/libdl.abilist: Likewise.
3880 * abilist/libm.abilist: Likewise.
3881 * abilist/libnsl.abilist: Likewise.
3882 * abilist/libpthread.abilist: Likewise.
3883 * abilist/libresolv.abilist: Likewise.
3884 * abilist/librt.abilist: Likewise.
3885 * abilist/libthread_db.abilist: Likewise.
3886 * abilist/libutil.abilist: Likewise.
3887 * abilist/libnss_db.abilist: New file.
3888
3889 * scripts/abilist.awk: Add support for indirect functions.
3890
a2693a0e
UD
3891 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3892
3f05895f
UD
3893 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3894
ecb6fb48
UD
3895 * shlib-versions: Remove entries for ports architectures.
3896
664f8cb9
UD
3897 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3898 files in ports.
3899 * elf/stackguard-macros.h: Remove support for IA-64.
3900 * elf/tst-auditmod1.c: Likewise.
3901 * sysdeps/generic/ldsodefs.h: Likewise.
3902
7ae81d88
UD
3903 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3904 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3905 configure files.
3906
bdeba135
UD
3907 [BZ #13552]
3908 * configure.in: Remove --enable-omitfp support.
3909 * FAQ.in: Adjust.
3910 * config.make.in: Likewise.
3911 * Makeconfig: Likewise.
3912 * manual/install.texi: Likewise.
3913
d75a0a62
UD
3914 In case anyone cares, the IA-64 architecture could move to ports.
3915 * sysdeps/ia64/*: Removed.
3916 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3917 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3918
dcc9756b
UD
3919 [BZ #13555]
3920 * configure.in: Remove entries for unsupported architectures.
3921
d3761ebc 3922 [BZ #13533]
9954432e
UD
3923 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3924 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3925 routines.
3926 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3927 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3928 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3929 fall back to using wcrtomb.
3930 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3931 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3932 renaming.
3933 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3934 * wcsmbs/tst-c16c32-1.c: New file.
3935
3936 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3937 local variable.
3938
c3a87236
UD
3939 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3940
28926a1b
UD
3941 * elf/tst-unique3.cc: Add explicit declaration of gets.
3942 * elf/tst-unique3lib.cc: Likewise.
3943 * elf/tst-unique3lib2.cc: Likewise.
3944 * elf/tst-unique4.cc: Likewise.
3945
df78418a
UD
3946 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3947
8ecd6b2a
JM
39482012-01-06 Joseph Myers <joseph@codesourcery.com>
3949
3950 [BZ #13566]
3951 * assert/assert.h (static_assert): Don't define for C++.
3952 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3953 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3954
9f115170
UD
39552012-01-03 Ulrich Drepper <drepper@gmail.com>
3956
5e0d0300
UD
3957 * iconv/loop.c (single loop): Fix assertion in storing of
3958 remaining bytes.
3959
9f115170
UD
3960 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3961
81fb02b0
UD
39622012-01-01 Ulrich Drepper <drepper@gmail.com>
3963
3964 * posix/getconf.c: Update copyright year.
3965 * nss/getent.c: Likewise.
a316c1f6 3966 * nss/makedb.c: Likewise.
81fb02b0
UD
3967 * iconv/iconvconfig.c: Likewise.
3968 * iconv/iconv_prog.c: Likewise.
3969 * elf/ldconfig.c: Likewise.
a316c1f6
UD
3970 * elf/pldd.c: Likewise.
3971 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
3972 * catgets/gencat.c: Likewise.
3973 * csu/version.c: Likewise.
3974 * elf/ldd.bash.in: Likewise.
3975 * elf/sprof.c (print_version): Likewise.
3976 * locale/programs/locale.c: Likewise.
3977 * locale/programs/localedef.c: Likewise.
a316c1f6 3978 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
3979 * nscd/nscd.c (print_version): Likewise.
3980 * debug/xtrace.sh: Likewise.
3981 * malloc/memusage.sh: Likewise.
3982 * malloc/mtrace.pl: Likewise.
3983 * debug/catchsegv.sh: Likewise.
3984
2ba92745
JJ
39852011-12-30 Jakub Jelinek <jakub@redhat.com>
3986
3987 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3988 pure attribute.
3989
dadebdae
UD
39902011-12-24 Ulrich Drepper <drepper@gmail.com>
3991
d3761ebc 3992 [BZ #13533]
db6af3eb
UD
3993 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3994 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3995 transformations.
3996 * iconv/gconv_int.h: Likewise.
3997 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3998 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3999 from libc for GLIBC_2.16.
4000 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4001 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4002 * wcsmbs/uchar.h: Really define mbstate_t.
4003 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4004 * wcsmbs/c16rtomb.c: New file.
4005 * wcsmbs/mbrtoc16.c: New file.
4006 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4007 for C/POSIX locale.
4008 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4009 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4010
dadebdae
UD
4011 * wcsmbs/wchar.h: Add missing __restrict.
4012
67371b56
UD
40132011-12-23 Ulrich Drepper <drepper@gmail.com>
4014
74033a25
UD
4015 [BZ #13532]
4016 * time/Makefile (routines): Add timespec_get.
4017 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4018 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4019 timespec for ISO C11.
4020 * time/timespec_get.c: New file.
4021 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4022 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4023
380d7e87
UD
4024 [BZ #13531]
4025 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4026 * stdlib/stdlib.h: Declare aligned_alloc.
4027 * Versions.def: Add GLIBC_2.16 for libc.
4028 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4029
4e9e7a35
UD
4030 [BZ 13527]
4031 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4032 ISO C11.
4033
380d7e87 4034 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4035 code.
4036
03a71829
UD
4037 [BZ #13528]
4038 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4039
839e283e
UD
4040 [BZ #13529]
4041 * assert/assert.h (static_assert): Define.
4042
ce5294e2 4043 * version.h: Update for 2.16 development version.
90fa7312 4044
8d44e150 4045 [BZ #13526]
d7809905
UD
4046 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4047 _ISOC11_SOURCE.
4048
c0da14cd
UD
4049 * version.h (RELEASE): Bump for 2.15 release.
4050 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4051
530a3249
MP
4052 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4053 Patch by Marek Polacek <mpolacek@redhat.com>.
4054
67371b56
UD
4055 * bits/byteswap.h: Protect long long constants with __extension__.
4056 * sysdeps/i386/bits/byteswap.h: Likewise.
4057 * sysdeps/ia64/bits/byteswap.h: Likewise.
4058 * sysdeps/s390/bits/byteswap.h: Likewise.
4059 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4060
15db4de1
LD
40612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4062
4063 [BZ #13540]
bbe315ea
LD
4064 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4065 destination buffer.
15db4de1
LD
4066 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4067
2b2596b1
MP
40682011-12-23 Marek Polacek <polacek@redhat.com>
4069
4070 * elf/dl-addr.c (determine_info): Add inline keyword.
4071 * elf/tst-auditmod4b.c (check_avx): Likewise.
4072 * elf/tst-auditmod6b.c (check_avx): Likewise.
4073 * elf/tst-auditmod6c.c (check_avx): Likewise.
4074 * elf/tst-auditmod7b.c (check_avx): Likewise.
4075
70c6c246
UD
40762011-12-23 Ulrich Drepper <drepper@gmail.com>
4077
4078 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4079 !__SSE_MATH__.
4080
c044cf14
LD
40812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4082
15db4de1 4083 [BZ #13540]
c044cf14
LD
4084 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4085 processing for last bytes.
4086
6b13d9d9
BH
40872011-08-06 Bruno Haible <bruno@clisp.org>
4088
d455f537
BH
4089 [BZ #13061]
4090 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4091 U+0385, not to U+1FEE.
4092
6b13d9d9
BH
4093 [BZ #13062]
4094 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4095 entry for U+00A5 U+0301.
4096
db910efd
UD
40972011-12-22 Ulrich Drepper <drepper@gmail.com>
4098
27deeafc
UD
4099 [BZ #13166]
4100 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4101 buffer for the output is too small.
4102
aed9d171
UD
4103 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4104 optimization.
4105
db910efd
UD
4106 [BZ #13185]
4107 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4108 SSE flags if possible.
4109
2bd779ae
LD
41102011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4111
e7f9dac3 4112 [BZ #13540]
2bd779ae
LD
4113 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4114 processing for last bytes.
4115
154bfc16
JM
41162011-12-22 Joseph Myers <joseph@codesourcery.com>
4117
4118 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4119 (syscall-list-default-options, syscall-list-default-condition)
4120 (syscall-list-includes): Define.
4121 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4122 list of ABIs and options and #if conditions for each ABI. Do not
4123 handle common syscalls between ABIs specially.
4124 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4125 Remove.
4126 (syscall-list-variants, syscall-list-32bit-options)
4127 (syscall-list-32bit-condition, syscall-list-64bit-options)
4128 (syscall-list-64bit-condition): Define.
4129 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4130 (syscall-list-variants, syscall-list-32bit-options)
4131 (syscall-list-32bit-condition, syscall-list-64bit-options)
4132 (syscall-list-64bit-condition): Define.
4133 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4134 Remove.
4135 (syscall-list-variants, syscall-list-32bit-options)
4136 (syscall-list-32bit-condition, syscall-list-64bit-options)
4137 (syscall-list-64bit-condition): Define.
4138 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4139 Remove.
4140 (syscall-list-variants, syscall-list-32bit-options)
4141 (syscall-list-32bit-condition, syscall-list-64bit-options)
4142 (syscall-list-64bit-condition): Define.
4143
21eaf3a5
UD
41442011-12-22 Ulrich Drepper <drepper@gmail.com>
4145
16c6f992
UD
4146 * locale/iso-639.def: Add brx entry.
4147
41043168
UD
4148 [BZ #13328]
4149 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4150 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4151
21eaf3a5
UD
4152 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4153 __feraiseexcept_renamed.
4154
e3a851a2
UD
41552011-12-21 Ulrich Drepper <drepper@gmail.com>
4156
4920765e
UD
4157 [BZ #13538]
4158 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4159 EPOLLET with unsigned values.
4160 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4161 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4162
e3a851a2
UD
4163 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4164 to large cancellation.
4165 * math/s_cacoshf.c: Likewise.
4166 * math/s_cacoshl.c: Likewise.
4167
b27e24b8
RK
41682011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4169
4170 [BZ #13305]
aebefeee 4171 [BZ #12786]
b27e24b8
RK
4172 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4173 * math/s_cacoshf.c: Likewise.
4174 * math/s_cacoshl.c: Likewise.
4175
ee190f67
UD
41762011-12-21 Ulrich Drepper <drepper@gmail.com>
4177
4178 [BZ #13439]
4179 * iconv/gconv.h: Define __GCONV_SWAP.
4180 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4181 * iconvdata/utf-16.c: Likewise.
4182 * iconvdata/utf-32.c: Likewise.
4183
707f25df
AS
41842011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4185
4186 [BZ #13524]
4187 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4188 numerator after shifting it by one limb.
4189
d2daaa1e
RÁE
41902011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4191
4192 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4193 under [__USE_EXTERN_INLINES].
4194
a4647e72
UD
41952011-12-17 Ulrich Drepper <drepper@gmail.com>
4196
4197 [BZ #13446]
4198 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4199
f0b264f1
AZ
42002011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4201
4202 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4203 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4204 optimized code.
4205 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4206 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4207 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4208 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4209 for strncasecmp/strncasecmp_l compilation.
4210 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4211 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4212
8ef4f244
MP
42132011-12-08 Marek Polacek <mpolacek@redhat.com>
4214
4215 [BZ #13484]
4216 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4217 of __asm__.
4218
97ac2654
UD
42192011-12-17 Ulrich Drepper <drepper@gmail.com>
4220
4221 [BZ #13506]
4222 * time/tzfile.c (__tzfile_read): Check values from file header.
4223
91d2a845
WS
42242011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4225
4226 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4227 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4228 * powerpc/powerpc32/dl-start.S: Likewise.
4229 * powerpc/powerpc32/elf/start.S: Likewise.
4230 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4231 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4232 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4233 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4234 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4235 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4236 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4237 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4238 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4239 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4240 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4241 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4242 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4243 * powerpc/powerpc32/memset.S: Likewise.
4244 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4245 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4246 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4247 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4248 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4249 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4250 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4251 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4252 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4253 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4254 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4255 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4256 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4257
a1267ba1
AZ
42582011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4259
4260 * math/libm-test.inc: Added more nearbyint tests.
4261 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4262 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4263 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4264 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4265
ad8ac1bd
RL
42662011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4267
4268 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4269 FD_CLOEXEC.
4270
1d3e4b61
UD
42712011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4272
4273 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4274 Add wcscpy-ssse3 wcscpy-c.
4275 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4276 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4277 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4278 * sysdeps/x86_64/wcschr.S: New file.
4279 * sysdeps/x86_64/wcsrchr.S: New file.
4280 * string/test-strcmp.c: Remove checking of wcscmp function for
4281 wrong alignments.
4282 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4283 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4284 wcsrchr-sse2 wcsrchr-c.
4285 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4286 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4287 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4288 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4289 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4290 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4291 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4292 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4293 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4294 * wcsmbc/wcschr.c (WCSCHR): New macro.
4295
5b330a2d
UD
42962011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4297
4298 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4299 * wcsmbs/test-wcsrchr.c: New file.
4300 * string/test-strrchr.c: Add wcsrchr support.
4301 (WIDE): New macro.
4302 * wcsmbs/test-wcscpy.c: New file.
4303 * string/test-strcpy.c: Add wcscpy support.
4304 (WIDE): New macro.
26428b7c 4305
f039c043
UD
43062011-12-10 Ulrich Drepper <drepper@gmail.com>
4307
4308 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4309 the inner loop.
4310
850fb039
AS
43112011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4312
4313 [BZ #13472]
4314 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4315
4efbd5cb
UD
43162011-12-04 Ulrich Drepper <drepper@gmail.com>
4317
52ff5dd0 4318 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4319 Minor optimizations.
52ff5dd0 4320
4efbd5cb
UD
4321 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4322 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4323 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4324
8a426e12
UD
43252011-12-03 Ulrich Drepper <drepper@gmail.com>
4326
aff2453d
UD
4327 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4328 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4329 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4330 for gcc to avoid warnings.
4331 * inet/Makefile (tests): Add tst-checks.
4332 * inet/tst-checks.c: New file.
4333
4334 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4335 warning.
4336
4337 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4338 __wmemcmp_sse2.
4339
4340 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4341 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4342
8a426e12
UD
4343 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4344
9bea3473
UD
43452011-12-02 Ulrich Drepper <drepper@gmail.com>
4346
3a965496
UD
4347 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4348 problem.
4349
9bea3473
UD
4350 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4351
f101631b
UD
43522011-11-29 Joseph Myers <joseph@codesourcery.com>
4353
4354 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4355 conditional on GCC version.
4356 (__arch_compare_and_exchange_val_8_acq)
4357 (__arch_compare_and_exchange_val_16_acq)
4358 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4359 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4360 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4361
a98275aa
UD
43622011-12-02 Joseph Myers <joseph@codesourcery.com>
4363
4364 * sysdeps/sh/backtrace.c: New file.
4365
d4cc29a2
AS
43662011-12-02 Andreas Schwab <schwab@redhat.com>
4367
4368 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4369 parenthesis.
4370
6257af2d
AS
43712011-12-01 Andreas Schwab <schwab@redhat.com>
4372
4373 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4374 falling back to utime.
4375
b5f44c1a
AS
43762011-11-30 Andreas Schwab <schwab@redhat.com>
4377
4378 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4379 expectations for float.
4380
f3a6cc0a
AS
43812011-11-29 Andreas Schwab <schwab@redhat.com>
4382
4383 * locale/weight.h (findidx): Add parameter len.
4384 * locale/weightwc.h (findidx): Likewise.
4385 * posix/fnmatch_loop.c (FCT): Adjust caller.
4386 * posix/regcomp.c (build_equiv_class): Likewise.
4387 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4388 * posix/regexec.c (check_node_accept_bytes): Likewise.
4389 * string/strcoll_l.c (STRCOLL): Likewise.
4390 * string/strxfrm_l.c (STRXFRM): Likewise.
4391
9d65ea3a
UD
43922011-11-17 Ulrich Drepper <drepper@gmail.com>
4393
4394 * Makefile.in: Remove CVSOPT handling.
4395 * configure.in: Remove use of AC_REVISION.
4396 * iconvdata/Makefile (distribute): No need to filter out CVS.
4397 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4398 handling.
4399
5583a086
AS
44002011-11-16 Andreas Schwab <schwab@redhat.com>
4401
4402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4403 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4404 [USE_AS_STRNCASECMP_L]: Likewise.
4405 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4406 NO_TLS_DIRECT_SEG_REFS.
4407 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4408 Fix argument offsets for non-PIC.
4409 [USE_AS_STRNCASECMP_L]: Likewise.
4410 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4411 NO_TLS_DIRECT_SEG_REFS.
4412
d62a8200
UD
44132011-11-15 Ulrich Drepper <drepper@gmail.com>
4414
9d65ea3a 4415 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4416 O_CLOEXEC.
4417 * locale/loadlocale.c (_nl_load_locale): Likewise.
4418
09f93bd3
AS
44192011-11-15 Andreas Schwab <schwab@redhat.com>
4420
446514f9
AS
4421 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4422 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4423 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4424 (SYSCALL_GETTIME): Set errno on error.
4425
09f93bd3
AS
4426 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4427 count references to noai6ai_cached.
4428
312be3f9
UD
44292011-11-15 Ulrich Drepper <drepper@gmail.com>
4430
4431 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4432
4433 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4434 FD_CLOEXEC for /proc/self/maps.
4435
4436 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4437 FD_CLOEXEC for /proc/meminfo.
4438
4439 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4440 gai.conf.
4441
4442 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4443 FD_CLOEXEC for given file.
4444
4445 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4446
4447 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4448 FD_CLOEXEC for /etc/hosts.
4449 (_gethtent): Likewise.
4450
4451 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4452
4453 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4454 cancellation and set FD_CLOEXEC for /etc/netgroup.
4455
4456 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4457 reading /etc/publickey.
4458
4459 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4460 allow cancellation when reading /etc/group.
4461
4462 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4463 cancellation.
4464 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4465
4466 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4467 when using data file.
4468
4469 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4470
4471 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4472 (write_nis_obj): Use "c" and "e" in fopen.
4473
4474 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4475
4476 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4477
4478 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4479
4480 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4481
4482 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4483 locale.alias.
4484
4485 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4486
4487 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4488
4489 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4490
4491 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4492 file parsing and set FD_CLOEXEC.
4493
82af0fa8
UD
44942011-11-14 Ulrich Drepper <drepper@gmail.com>
4495
4496 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4497
a5fb313c
AS
44982011-11-14 Andreas Schwab <schwab@redhat.com>
4499
4500 * malloc/arena.c (arena_get2): Don't call reused_arena when
4501 _int_new_arena failed.
4502
6abf3465
UD
45032011-11-14 Ulrich Drepper <drepper@gmail.com>
4504
4505 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4506 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4507 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4509 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4510 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4511 to compile strcasecmp and strncasecmp.
4512 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4513 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4514
4515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4516
76e3966e
UD
45172011-11-13 Ulrich Drepper <drepper@gmail.com>
4518
4519 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4520 locale-defines.sym to gen-as-const-headers.
4521 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4522 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4524 to compile strcasecmp and strncasecmp.
4525 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4526 strcasecmp_l and strncasecmp_l.
4527 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4528 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4529 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4530 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4531 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4532 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4533 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4534 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4535 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4536 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4537 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4538
ab26144e
UD
45392011-11-12 Ulrich Drepper <drepper@gmail.com>
4540
7edb22ef
UD
4541 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4542 result of SYSDEP_GETTIME_CPU to retval.
4543 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4544 parameter list to macro. Remove trailing semicolon. Adjust users.
4545
9694fc44
UD
4546 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4547 variable.
4548
8ad89ef8
UD
4549 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4550 mantissa words.
4551 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4552
0c822ef9
UD
4553 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4554 from unused variable.
4555
874e0564
UD
4556 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4557 DWARF definitions.
4558 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4559 for assembling.
4560
3a2edc79
UD
4561 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4562 over namespaces.
4563
f3c2577f
UD
4564 * sunrpc/rpc_prot.c (rejected): Fix case value.
4565
294ce126
UD
4566 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4567 unsigned long long int to avoid warnings in shift.
4568
5e2b63c6
UD
4569 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4570 of use of trans.
4571 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4572 variable tmp.
4573
e7f4b08e
UD
4574 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4575 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4576 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4577
ab26144e
UD
4578 * nis/nis_table.c (nis_list): Use variable of correct type for
4579 result of __follow_path call.
4580
8a6d5255
AZ
45812011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4582
4583 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4584 of math functions ceil, trunc, floor, round, and sqrt, when
4585 avaliable on the platform.
4586 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4587 name clash.
4588 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4589 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4590 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4591
aaddc98c
MP
45922011-10-30 Marek Polacek <mpolacek@redhat.com>
4593
4594 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4595 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4596
95b7042b
RM
45972011-11-11 Roland McGrath <roland@hack.frob.com>
4598
4599 * include/unistd.h: Fix __readlink return type.
4600 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4601
57769839
UD
46022011-11-11 Ulrich Drepper <drepper@gmail.com>
4603
4604 * stdlib/ucontext.h: Undo last change for makecontext.
4605
edc5984d
AS
46062011-11-11 Andreas Schwab <schwab@redhat.com>
4607
98591e58
AS
4608 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4609
edc5984d
AS
4610 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4611 * setjmp/setjmp.h: Mark functions as non-leaf.
4612 * setjmp/bits/setjmp2.h: Likewise.
4613 * stdlib/ucontext.h: Likewise.
4614
77cdc054
AS
46152011-11-10 Andreas Schwab <schwab@redhat.com>
4616
4617 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4618 (reused_arena): Don't check arena limit.
4619 (arena_get2): Atomically check arena limit.
4620
fe72eebd
UD
46212011-11-08 Ulrich Drepper <drepper@gmail.com>
4622
5f078c32
UD
4623 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4624 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4625
fe72eebd
UD
4626 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4627 instructions.
4628
ae1bc2fa
AS
46292011-11-07 Andreas Schwab <schwab@redhat.com>
4630
7583a88d
AS
4631 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4632 handler when locking.
4633
ae1bc2fa
AS
4634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4635 Fix size of allocated buffer.
4636
10fb0bfa
AS
46372011-11-04 Andreas Schwab <schwab@redhat.com>
4638
998832a4
AS
4639 [BZ #10103]
4640 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4641 declarations for long double functions.
4642 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4643
10fb0bfa
AS
4644 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4645
3d7ba52b
AS
46462011-11-03 Andreas Schwab <schwab@redhat.com>
4647
a9ae54a1
AS
4648 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4649 installed.
4650
3d7ba52b
AS
4651 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4652 is disabled.
4653
bc8db248
ST
46542011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4655
4656 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4657
45b96dd6
AS
46582011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4659
647776f6
AS
4660 * include/alloca.h (stackinfo_alloca_round): Define.
4661 (extend_alloca): Use it.
4662 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4663 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4664 here.
4665
d91a8b93
AS
4666 * scripts/check-local-headers.sh: Ignore libaudit.h.
4667
45b96dd6
AS
4668 * nscd/Makefile (extra-objs): Make recursively expanded.
4669
432d41ce
UD
46702011-11-01 Ulrich Drepper <drepper@gmail.com>
4671
34372fc6
UD
4672 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4673 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4674
fadb59f8
UD
4675 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4676 * posix/tst-rfc3484-2.c: Likewise.
4677 * posix/tst-rfc3484-3.c: Likewise.
4678
78239589
UD
4679 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4680 process_vm_writev.
4681 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4682 process_vm_writev.
4683 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4684 process_vm_writev from libc using GLIBC_2.15 version.
4685
432d41ce
UD
4686 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4687
02f9c6cf
PP
46882011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4689
4690 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4691 stack usage.
4692
3a2c0242
UD
46932011-10-31 Ulrich Drepper <drepper@gmail.com>
4694
f4ec4833
UD
4695 [BZ #13367]
4696 * nss/getent.c (initgroups_keys): Show error message in case no group
4697 names are given.
4698
3a2c0242
UD
4699 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4700 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4701 __bump_nl_timestamp.
4702 * nscd/connections (nscd_init): When host database is served open
4703 netlink socket and request notification about configuration changes.
4704 (main_loop_poll): Track netlink file descriptor and bump timestamp
4705 in case data becomes available.
4706 (main_loop_epoll): Likewise.
4707 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4708 (database_pers_head): Add extra_data fileds.
4709 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4710 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4711 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4712 Adjust caller.
4713 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4714 in6ai data, call __free_in6ai.
4715 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4716 Add -DHAVE_NETLINK.
4717 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4718 interface information. Reuse previous data if netlink timestamp
4719 is not changed.
4720 (__bump_nl_timestamp): New function.
4721 (__free_in6ai): New function.
4722
636064eb
UD
47232011-10-30 Ulrich Drepper <drepper@gmail.com>
4724
4725 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4726 close_not_cancel_no_status here.
4727 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4728
9beb2334
UD
47292011-10-29 Ulrich Drepper <drepper@gmail.com>
4730
6ef76f3b
UD
4731 [BZ #13276]
4732 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4733 return value.
4734
0ffc4f3e 4735 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4736 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4737 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4738
cb95113e
UD
47392011-07-03 Andreas Jaeger <aj@suse.de>
4740
4741 [BZ #10709]
4742 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4743 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4744 * math/libm-test.inc (sin_test): Add test case.
4745
a1b560ff
UD
47462011-10-29 Ulrich Drepper <drepper@gmail.com>
4747
c9aaface
UD
4748 [BZ #13337]
4749 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4750 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4751
d272e7f1
UD
4752 * elf/chroot_canon.c (chroot_canon): Cleanups.
4753
1bc33071
UD
4754 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4755
1760874d
TJ
4756 [BZ #13335]
4757 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4758 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4759
51d91b18
UD
4760 * string/test-strchr.c: Make usable for strchrnul testing.
4761 * string/test-strchrnul.c: New file.
4762 * string/Makefile (strop-tests): Add strchrnul.
4763
a1b560ff 4764 * po/it.po: Update from translation team.
b611fb81 4765 * po/es.po: Likewise.
a1b560ff 4766
a5b81e1f
UD
47672011-10-28 Ulrich Drepper <drepper@gmail.com>
4768
fd52bc6d
UD
4769 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4770 the three constants needed as parameters. Drop the others.
4771 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4772 __m128i_strloadu_tolower.
52e4b9eb
UD
4773 Create and initialize variable zero and use it in all the places
4774 where _mm_setzero_si128 was used.
fd52bc6d 4775
a5b81e1f
UD
4776 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4777 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4778 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4779 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4780 anymore.
4781 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4782 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4783 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4784 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4785 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4786 __mpranred, __mptan.
4787 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4788 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4789 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4790 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4791 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4792 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4793 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4794 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4795 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4796
b4343346
AS
47972011-10-28 Andreas Schwab <schwab@redhat.com>
4798
0c92d8a8
AS
4799 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4800 redefine if SHARED.
4801 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4802
b4343346
AS
4803 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4804 wide char related routines to wcsmbs subdir.
4805
3871f58f
AS
48062011-10-27 Andreas Schwab <schwab@redhat.com>
4807
4808 [BZ #13344]
4809 * misc/sys/cdefs.h (__THROWNL): Define.
4810 * posix/unistd.h: Use __THREADNL instead of __THREAD
4811 for memory synchronization functions.
4812
94d44d9f
RM
48132011-10-26 Roland McGrath <roland@hack.frob.com>
4814
21b64b15 4815 [BZ #13349]
94d44d9f
RM
4816 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4817 doesn't exist.
4818 * manual/stdio.texi (Obstack Streams): Node removed.
4819
f6ce9294
AS
48202011-10-26 Andreas Schwab <schwab@redhat.com>
4821
80479147
AS
4822 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4823 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4824 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4825
f6ce9294
AS
4826 * math/math_private.h (math_force_eval): Allow non-addressable
4827 arguments.
4828 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4829
618280a1
UD
48302011-10-25 Ulrich Drepper <drepper@gmail.com>
4831
e0016b11
UD
4832 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4833 file is not needed.
4834
4835 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4836 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4837 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4838 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4839 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4840 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4841 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4842 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4843 Add AVX variants.
4844 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4845 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4846 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4847 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4848 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4849 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4850 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4851 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4852 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4853 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4854 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4855 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4856 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4857 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4858 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4859 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4860 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4861 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4862 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4863
4864 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4865 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4866
618280a1
UD
4867 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4868 place. Use VEX encoding when compiling for AVX.
4869
37822576
AS
48702011-10-25 Andreas Schwab <schwab@redhat.com>
4871
1f1e1947
AS
4872 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4873 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4874
37822576
AS
4875 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4876
31ea014d
UD
48772011-10-25 Ulrich Drepper <drepper@gmail.com>
4878
d7826aa1 4879 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 4880 useless if() expression.
d7826aa1
UD
4881 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4882 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4883 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4884 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4885 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4886 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4887 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4889 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4890 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4891 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4892 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4893 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4894 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4895 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4896 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4897 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4898 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4899 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4900
31ea014d
UD
4901 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4902
16437fec
AS
49032011-10-25 Andreas Schwab <schwab@redhat.com>
4904
4905 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4906 condition.
4907 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4908
31d3cc00
UD
49092011-10-25 Ulrich Drepper <drepper@gmail.com>
4910
4911 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4912 .text section. Avoid duplicate constants.
4913 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4915 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4917 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4918 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4919 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4921 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4922 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4923 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4924 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4925 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4926 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4927 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4928 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4929 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4930 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4931 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4932 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4933 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4934 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4935 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4936 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4937 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4938 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4939 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4940 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4941 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4942 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4943 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4944 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4945 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4946 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4947 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4948 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4949 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4950 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4951 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4952 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4953 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4954 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4955 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4956 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4957 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4958
58985aa9
UD
49592011-10-24 Ulrich Drepper <drepper@gmail.com>
4960
202c9deb
UD
4961 * sysdeps/x86_64/dla.h: Move to ...
4962 * sysdeps/x86_64/fpu/dla.h: ...here.
4963 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4964 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 4965
af968f62
UD
4966 * config.make.in: Add have-mfma4 entry.
4967 * configure.in: Substitute libc_cv_cc_fma4.
4968 * math/Makefile (dbl-only-routines): Add sincostab.
4969 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4970 Use __sincostab not sincos.
4971 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4972 name is a macro.
4973 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4974 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4977 using __copysign.
4978 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4979 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4980 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4981 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4982 and __inv.
4983 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4984 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4985 __copysign.
4986 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4987 define aliases when function name is a macro.
4988 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4989 sysdeps/ieee754/dbl-64/sincos.tbl.
4990 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4991 fma4-enabled routines.
4992 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4993 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4994 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4995 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4996 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4997 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4998 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4999 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5000 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5001 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5002 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5003 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5004 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5005 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5006 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5007 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5008 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5009 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5010 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5011 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5012 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5013 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5014 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5015 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5016 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5017 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5018 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5019 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5020 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5021 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5022
58985aa9
UD
5023 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5024 rename.
5025 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5026 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5027 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5028 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5029 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5030 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5031 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5032 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5033
a201fbcf
AS
50342011-10-24 Andreas Schwab <schwab@redhat.com>
5035
5036 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5037
fc2ee42a
LD
50382011-10-23 Ulrich Drepper <drepper@gmail.com>
5039
bb3129bd
UD
5040 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5041
0275fff8
UD
5042 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5043 prediction.
5044 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5045
2fa2ae85
UD
5046 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5047 Remove unused variable magic_bits.
5048 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5049
fc2ee42a
LD
5050 * string/strnlen.c: Define and use STRNLEN macro.
5051 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5052 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5053 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5054 * wcsmbs/wcslen.c: Define and use WCSLEN.
5055 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5056 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5057 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5058 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5059 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5060 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5061 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5062
ce7dd29f
LD
50632011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5064
5065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5066 strnlen-sse2-no-bsf.
5067 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5068 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5069 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5070 Add strnlen support.
5071 (USE_AS_STRNLEN): New macro.
5072 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5073 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5074 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5075 * sysdeps/x86_64/wcslen.S: New file.
5076
979c70a3
MZ
50772011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5078
5079 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5080 XMM-moves are used for copying on small sizes.
5081
2d09f82f
LD
50822011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5083
5084 * wcsmbs/Makefile (strop-tests): Add wcschr.
5085 * wcsmbs/test-wcschr.c: New file.
5086 * string/test-strchr.c: Update.
5087 Add wcschr support.
5088 (WIDE): New macro.
5089
619fccca
LD
50902011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5091
2d09f82f 5092 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5093 * wcsmbs/test-wcslen.c: New file.
5094 * string/test-strlen.c: Update.
5095 Add wcslen support.
5096 (WIDE): New macro.
5097
09f699ea
UD
50982011-10-23 Ulrich Drepper <drepper@gmail.com>
5099
5100 * po/it.po: Update from translation team.
5101
95584d3b
LD
51022011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5103
5104 * sysdeps/x86_64/wcscmp.S: Update.
5105 Fix wrong comparison semantics.
5106 wcscmp shall use signed comparison not unsigned.
5107 Don't use substraction to avoid overflow bug.
5108 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5109 * wcsmbc/wcscmp.c: Likewise.
5110 * string/test-strcmp.c: Likewise.
5111 Add new tests to check cases with negative values.
5112
c8b3296b
UD
51132011-10-23 Ulrich Drepper <drepper@gmail.com>
5114
5115 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5116 * sysdeps/x86_64/dla.h: ...here. New file.
5117 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5118 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5119 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5121 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5124 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5125 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5126
246ad57a
AS
51272011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5128
5129 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5130 __ynl_finite aliases.
5131
a1a87169
UD
51322011-10-22 Ulrich Drepper <drepper@gmail.com>
5133
0d355eb7
UD
5134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5135
a1a87169
UD
5136 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5137 define DLA_FMA.
5138 [DLA_FMA] (EMULV): Use DLA_FMA.
5139 [DLA_FMA] (MUL12): Use EMULV.
5140 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5141 that are not needed.
5142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5147 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5148 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5149
ee2aafe0
AS
51502011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5151
5152 * math/s_nan.c: Undef __nan.
5153 * math/s_nanf.c: Undef __nanf.
5154 * math/s_nanl.c: Undef __nanl.
5155 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5156 "math_private.h".
5157
bc62c2fb
UD
51582011-10-22 Ulrich Drepper <drepper@gmail.com>
5159
77425c63
UD
5160 * math/s_catan.c: Add branch predictions.
5161 * math/s_catanf.c: Likewise.
5162 * math/s_catanh.c: Likewise.
5163 * math/s_catanhf.c: Likewise.
5164 * math/s_catanhl.c: Likewise.
5165 * math/s_catanl.c: Likewise.
5166 * math/s_cexp.c: Likewise.
5167 * math/s_cexpf.c: Likewise.
5168 * math/s_cexpl.c: Likewise.
5169 * math/s_clog.c: Likewise.
5170 * math/s_clog10.c: Likewise.
5171 * math/s_clog10f.c: Likewise.
5172 * math/s_clog10l.c: Likewise.
5173 * math/s_clogf.c: Likewise.
5174 * math/s_clogl.c: Likewise.
5175 * math/s_csqrt.c: Likewise.
5176 * math/s_csqrtf.c: Likewise.
5177 * math/s_csqrtl.c: Likewise.
5178 * math/s_ctanf.c: Likewise.
5179 * math/s_ctanh.c: Likewise.
5180 * math/s_ctanhf.c: Likewise.
5181 * math/s_ctanhl.c: Likewise.
5182 * math/s_ctanl.c: Likewise.
5183
bc62c2fb
UD
5184 * math/math_private.h: Define __nan, __nanf, __nanl.
5185 * math/s_cacosh.c: Include <math_private.h>.
5186 * math/s_cacoshl.c: Likewise.
5187 * math/s_casinh.c: Likewise.
5188 * math/s_casinhf.c: Likewise.
5189 * math/s_casinhl.c: Likewise.
5190 * math/s_ccos.c: Rely entire on ccosh.
5191 * math/s_ccosf.c: Rely entire on ccoshf.
5192 * math/s_ccosl.c: Rely entirely on ccoshl.
5193 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5194 Remove tests for FE_INVALID.
5195 * math/s_ccoshf.c: Likewise.
5196 * math/s_ccoshl.c: Likewise.
5197 * math/s_csin.c: Likewise.
5198 * math/s_csinf.c: Likewise.
5199 * math/s_csinh.c Likewise.
5200 * math/s_csinhf.c: Likewise.
5201 * math/s_csinhl.c: Likewise.
5202 * math/s_csinl.c: Likewise.
5203 * math/s_ctan.c: Likewise.
5204 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5205 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5206 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5207
8ec250a4
UD
52082011-10-21 Ulrich Drepper <drepper@gmail.com>
5209
c196fed8
UD
5210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5211 compilation problems.
5212
8ec250a4
UD
5213 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5214 __builtin_expect.
5215
8d4f46c6
UD
52162011-10-20 Ulrich Drepper <drepper@gmail.com>
5217
ed72b654
UD
5218 * sysdeps/i386/configure.in: Test for -mfma4 option.
5219 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5220 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5221 COMMON_CPUID_INDEX_80000001.
5222 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5223 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5224 use it if FMA3 is not supported.
5225 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5226
8d4f46c6
UD
5227 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5228 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5229
d45c60c2
AS
52302011-10-20 Andreas Schwab <schwab@redhat.com>
5231
5232 [BZ #12892]
5233 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5234 it would create a cycle with a link time dependency.
5235
d9a4d2ab
UD
52362011-10-19 Ulrich Drepper <drepper@gmail.com>
5237
855d1560
UD
5238 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5239 instruction.
5240 * string/Makefile (strop-tests): Add rawmemchr.
5241 * string/test-rawmemchr.c: New file.
5242
d9a4d2ab
UD
5243 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5244 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5245 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5246 when compiling str{,n}casecmp and when AVX is available. Hook up
5247 new optimized code in initializers.
5248
8f3b1ffe
AS
52492011-10-19 Andreas Schwab <schwab@redhat.com>
5250
5251 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5252 __feraiseexcept instead of feraiseexcept.
5253
d38f1dba
UD
52542011-10-18 Ulrich Drepper <drepper@gmail.com>
5255
d9a8d0ab
UD
5256 * math/math_private.h: Define defaults for libc_fetestexcept and
5257 libc_feupdateenv.
5258 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5259 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5260 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5261 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5262 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5263 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5264 libc_fetestexcept and libc_feupdateenv.
5265
4855e3dd
UD
5266 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5267 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5268 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5269 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5270 libc_feholdexcept_setround.
5271
581d30e3
UD
5272 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5273 Add s_nearbyint-c and s_nearbyintf-c.
5274 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5275 nearbyintf inlines.
5276 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5277 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5278 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5279 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5280
d38f1dba
UD
5281 * math/math_private.h: Define defaults for libc_fegetround,
5282 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5283 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5284 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5285 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5286 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5287 standard functions.
5288 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5289 Remove comments and hacks for old compiler versions.
5290 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5291 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5292 libc_feholdexceptl.
5293
caa6c9d8
AS
52942011-10-18 Andreas Schwab <schwab@redhat.com>
5295
5296 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5297 (__feraiseexcept_renamed): Add __NTH.
5298 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5299 namespace violations.
5300
97c066e6
UD
53012011-10-17 Ulrich Drepper <drepper@gmail.com>
5302
99ce7b04
UD
5303 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5304
1004d182
UD
5305 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5306
228a984d
UD
5307 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5308 recently added interfaces.
5309 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5310
c8553a6a
UD
5311 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5312 about macro parameter expansion.
5313
ed22dcf6
UD
5314 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5315 __NO_MATH_INLINES is defined. Cleanups.
5316
5317 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5318 and __floorf is target has SSE4.1.
5319 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5320 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5321 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5322 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5323
b171c137
UD
5324 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5325 name.
5326 (floorf): Likewise.
5327
97c066e6
UD
5328 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5329
629f62ef
AS
53302011-10-17 Andreas Schwab <schwab@redhat.com>
5331
49a43d80
AS
5332 * misc/sys/cdefs.h: Fix last change.
5333
629f62ef
AS
5334 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5335 database lookup.
5336
e453f6cd
UD
53372011-10-16 Ulrich Drepper <drepper@gmail.com>
5338
aa78043a
UD
5339 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5340
ad0f5cad
UD
5341 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5342 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5343 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5346 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5347 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5348 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5349 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5350 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5351 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5352 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5353 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5354 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5355 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5356 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5357 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5358 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5359 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5360 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5361 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5362 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5363
5364 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5365 ceil, ceilf, floor, floorf.
5366
5367 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5368 Perform IRELATIVE relocations last.
5369
e453f6cd
UD
5370 * elf/do-rel.h: Add another parameter nrelative, replacing the
5371 local variable with the same name. Change name of the function
5372 to end in Rel or Rela (uppercase).
5373 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5374 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5375 elf_dynamic_do_##reloc function.
5376
fd5bdc09
UD
53772011-10-15 Ulrich Drepper <drepper@gmail.com>
5378
79b195b5
UD
5379 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5380 is sufficient, at least on modern CPUs.
5381
d4a28569
UD
5382 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5383
b61099b5
UD
5384 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5385 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5386
bcf01e6d
UD
5387 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5388 __expl_finite.
5389 * math/bits/math-finite.h: Add entries for exp.
5390 * math/e_expl.c: Add __*_finite alias.
5391 * sysdeps/i386/fpu/e_exp.S: Likewise.
5392 * sysdeps/i386/fpu/e_expf.S: Likewise.
5393 * sysdeps/i386/fpu/e_expl.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5395 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5399 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5400 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5401
ba1a0d59
UD
5402 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5403 is sufficient, at least on modern CPUs.
5404
fd5bdc09
UD
5405 * ctype/ctype-info.c (__ctype_init): Define.
5406 * include/ctype.h (__ctype_init): Declare.
5407 (__ctype_b_loc): The variable is always initialized.
5408 (__ctype_toupper_loc): Likewise.
5409 (__ctype_tolower_loc): Likewise.
5410 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5411 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5412
7872cfb0
AS
54132011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5414
b468825a
AS
5415 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5416
7872cfb0
AS
5417 * configure.in: Also look in $cxxmachine/include for C++ system
5418 headers.
5419
be13f7bf
LD
54202011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5421
5422 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5423 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5424 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5425 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5426 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5427 (USE_AS_WMEMCMP): New macro.
5428 Fixing indents.
5429 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5430 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5431 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5432 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5434 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5435 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5436 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5437 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5438 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5439 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5440 (USE_AS_WMEMCMP): New macro.
5441 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5442 * sysdeps/string/test-memcmp.c: Update.
5443 Fix simple_wmemcmp.
5444 Add new tests.
5445 * wcsmbs/wmemcmp.c: Update.
5446 (WMEMCMP): New macro.
5447 Fix overflow bug.
5448
556a2007
AJ
54492011-10-12 Andreas Jaeger <aj@suse.de>
5450
5451 [BZ #13268]
5452 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5453
538faaa7
UD
54542011-10-15 Ulrich Drepper <drepper@gmail.com>
5455
ab6737ff
UD
5456 * libio/iofwide.c (do_length): Avoid warning.
5457
538faaa7
UD
5458 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5459
396a21b1
UD
54602011-10-14 Ulrich Drepper <drepper@gmail.com>
5461
cdf2901f
UD
5462 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5463
38ad40ce
UD
5464 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5465 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5466 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5467 * sysdeps/i386/i686/fpu/e_log.S: New file.
5468 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5469 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5470
396a21b1
UD
5471 * ctype/ctype.h: Add support for inlined isXXX functions when
5472 compiling C++ code.
5473
6b1f68c9
AS
54742011-10-14 Andreas Schwab <schwab@redhat.com>
5475
349290c0
AS
5476 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5477
6b1f68c9
AS
5478 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5479
f2282d42
RM
54802011-10-13 Roland McGrath <roland@hack.frob.com>
5481
5482 [BZ #13291]
5483 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5484
5298ffa8
AS
54852011-10-13 Andreas Schwab <schwab@redhat.com>
5486
714fad23
AS
5487 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5488 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5489 feraiseexcept.
5490
81dcc7fb
AS
5491 * sysdeps/x86_64/memrchr.S: Check for zero size.
5492
5298ffa8
AS
5493 * string/stratcliff.c: Add memrchr tests.
5494
951fbcec
LD
54952011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5496
5497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5498 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5499 rawmemchr-sse2 rawmemchr-sse2-bsf.
5500 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5501 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5502 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5503 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5504 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5505 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5506 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5507 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5508 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5509 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5510 * string/memrchr.c (MEMRCHR): New macro.
5511
0ac5ae23
UD
55122011-10-12 Ulrich Drepper <drepper@gmail.com>
5513
5514 Add integration with gcc's -ffinite-math-only and optimize wrapper
5515 functions in libm.
5516 * Versions.def: Define GLIBC_2.15 version for libm.
5517 * math/Makefile (headers): Add bits/math-finite.h.
5518 * math/bits/math-finite.h: New file.
5519 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5520 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5521 * math/e_acoshl.c: Add __*_finite alias.
5522 * math/e_acosl.c: Likewise.
5523 * math/e_asinl.c: Likewise.
5524 * math/e_atan2l.c: Likewise.
5525 * math/e_atanhl.c: Likewise.
5526 * math/e_coshl.c: Likewise.
5527 * math/e_exp10.c: Likewise.
5528 * math/e_exp10f.c: Likewise.
5529 * math/e_exp10l.c: Likewise.
5530 * math/e_exp2l.c: Likewise.
5531 * math/e_fmodl.c: Likewise.
5532 * math/e_gammal_r.c: Likewise.
5533 * math/e_hypotl.c: Likewise.
5534 * math/e_j0l.c: Likewise.
5535 * math/e_j1l.c: Likewise.
5536 * math/e_jnl.c: Likewise.
5537 * math/e_lgammal_r.c: Likewise.
5538 * math/e_log10l.c: Likewise.
5539 * math/e_log2l.c: Likewise.
5540 * math/e_logl.c: Likewise.
5541 * math/e_powl.c: Likewise.
5542 * math/e_sinhl.c: Likewise.
5543 * math/e_sqrtl.c: Likewise.
5544 * math/e_scalb.c: Completely rewritten and optimized.
5545 * math/e_scalbf.c: Likewise.
5546 * math/e_scalbl.c: Likewise.
5547 * math/w_acos.c: Likewise.
5548 * math/w_acosf.c: Likewise.
5549 * math/w_acosl.c: Likewise.
5550 * math/w_acosh.c: Likewise.
5551 * math/w_acoshf.c: Likewise.
5552 * math/w_acoshl.c: Likewise.
5553 * math/w_asin.c: Likewise.
5554 * math/w_asinf.c: Likewise.
5555 * math/w_asinl.c: Likewise.
5556 * math/w_atan2.c: Likewise.
5557 * math/w_atan2f.c: Likewise.
5558 * math/w_atan2l.c: Likewise.
5559 * math/w_atanh.c: Likewise.
5560 * math/w_atanhf.c: Likewise.
5561 * math/w_atanhl.c: Likewise.
5562 * math/w_exp10.c: Likewise.
5563 * math/w_exp10f.c: Likewise.
5564 * math/w_exp10l.c: Likewise.
5565 * math/w_fmod.c: Likewise.
5566 * math/w_fmodf.c: Likewise.
5567 * math/w_fmodl.c: Likewise.
5568 * math/w_j0.c: Likewise.
5569 * math/w_j0f.c: Likewise.
5570 * math/w_j0l.c: Likewise.
5571 * math/w_j1.c: Likewise.
5572 * math/w_j1f.c: Likewise.
5573 * math/w_j1l.c: Likewise.
5574 * math/w_jn.c: Likewise.
5575 * math/w_jnf.c: Likewise.
5576 * math/w_log.c: Likewise.
5577 * math/w_logf.c: Likewise.
5578 * math/w_logl.c: Likewise.
5579 * math/w_log10.c: Likewise.
5580 * math/w_log10f.c: Likewise.
5581 * math/w_log10l.c: Likewise.
5582 * math/w_log2.c: Likewise.
5583 * math/w_log2f.c: Likewise.
5584 * math/w_log2l.c: Likewise.
5585 * math/w_pow.c: Likewise.
5586 * math/w_powf.c: Likewise.
5587 * math/w_powl.c: Likewise.
5588 * math/w_remainder.c: Likewise.
5589 * math/w_remainderf.c: Likewise.
5590 * math/w_remainderl.c: Likewise.
5591 * math/w_scalb.c: Likewise.
5592 * math/w_scalbf.c: Likewise.
5593 * math/w_scalbl.c: Likewise.
5594 * math/w_sqrt.c: Likewise.
5595 * math/w_sqrtf.c: Likewise.
5596 * math/w_sqrtl.c: Likewise.
5597 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5598 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5599 used.
5600 * math/math_private.h: Declare __kernel_standard_f.
5601 * math/w_cosh.c: Remove cruft and optimize a bit.
5602 * math/w_coshf.c: Likewise.
5603 * math/w_coshl.c: Likewise.
5604 * math/w_exp2.c: Likewise.
5605 * math/w_exp2f.c: Likewise.
5606 * math/w_exp2l.c: Likewise.
5607 * math/w_hypot.c: Likewise.
5608 * math/w_hypotf.c: Likewise.
5609 * math/w_hypotl.c: Likewise.
5610 * math/w_lgamma.c: Likewise.
5611 * math/w_lgamma_r.c: Likewise.
5612 * math/w_lgammaf.c: Likewise.
5613 * math/w_lgammaf_r.c: Likewise.
5614 * math/w_lgammal.c: Likewise.
5615 * math/w_lgammal_r.c: Likewise.
5616 * math/w_sinh.c: Likewise.
5617 * math/w_sinhf.c: Likewise.
5618 * math/w_sinhl.c: Likewise.
5619 * math/w_tgamma.c: Likewise.
5620 * math/w_tgammaf.c: Likewise.
5621 * math/w_tgammal.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5623 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5624 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5625 Minor optimizations. Pretty printing. Remove cruft.
5626 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5627 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5628 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5629 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5630 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5631 * sysdeps/i386/fpu/e_asin.S: Likewise.
5632 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5633 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5634 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5635 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5636 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5637 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5638 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5639 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5640 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5641 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5642 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5643 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5644 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5645 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5646 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5647 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5648 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5649 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5650 * sysdeps/i386/fpu/e_log.S: Likewise.
5651 * sysdeps/i386/fpu/e_log10.S: Likewise.
5652 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5653 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5654 * sysdeps/i386/fpu/e_log2.S: Likewise.
5655 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5656 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5657 * sysdeps/i386/fpu/e_logf.S: Likewise.
5658 * sysdeps/i386/fpu/e_logl.S: Likewise.
5659 * sysdeps/i386/fpu/e_pow.S: Likewise.
5660 * sysdeps/i386/fpu/e_powf.S: Likewise.
5661 * sysdeps/i386/fpu/e_powl.S: Likewise.
5662 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5663 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5664 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5665 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5666 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5667 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5668 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5669 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5670 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5671 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5672 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5674 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5675 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5676 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5677 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5678 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5679 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5680 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5687 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5688 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5689 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5690 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5691 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5692 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5693 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5694 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5695 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5696 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5697 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5698 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5699 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5700 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5701 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5702 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5703 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5704 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5705 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5706 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5707 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5708 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5709 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5710 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5711 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5712 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5713 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5714 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5715 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5716 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5717 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5718 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5719 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5720 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5721 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5722 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5723 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5724 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5725 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5726 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5727 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5728 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5729 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5730 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5731 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5732 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5733 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5734 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5735 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5736 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5737 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5738 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5740 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5743 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5744 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5745 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5746 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5748 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5751 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5753 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5754 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5755 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5756 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5757 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5758 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5759 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5760 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5761 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5762 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5763 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5764 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5765 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5766 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5767 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5768 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5769 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5770 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5771 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5772 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5773 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5774 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5775 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5776 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5777 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5778 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5779 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5780 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5781 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5782 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5783 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5784 (__isnanf): Likewise.
5785 (__isinf_ns): Likewise.
5786 (__isinf_nsf): Likewise.
5787 (__finite): Likewise.
5788 (__finitef): Likewise.
5789 (__ieee754_sqrt): Define as macro.
5790 (__ieee754_sqrtf): Define as macro.
5791 (__ieee754_sqrtl): Define as macro.
5792 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5793 inlined copy.
5794 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5795 __FINITE_MATH_ONLY__ consistent.
5796 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5797
12cc2fcd
AS
57982011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5799
a843a204
AS
5800 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5801 of rawmemchr.
5802
12cc2fcd
AS
5803 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5804
c853acd5
UD
58052011-10-09 Ulrich Drepper <drepper@gmail.com>
5806
5807 * po/ja.po: Update from translation team.
5808
c658d255
RM
58092011-10-08 Roland McGrath <roland@hack.frob.com>
5810
110946e4
RM
5811 * locale/programs/locarchive.c (prepare_address_space): New function.
5812 (create_archive, enlarge_archive, open_archive): Use it.
5813
50604220
RM
5814 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5815 inside [SHARED], where it is used.
5816
c658d255
RM
5817 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5818
5819 * nss/getent.c (netgroup_keys): Remove unused variable.
5820 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5821
6a621eb7
UD
58222011-10-08 Ulrich Drepper <drepper@gmail.com>
5823
7edb55ce
UD
5824 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5825 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5826 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5827 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5828 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5829 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5830 * math/Makefile (libm-calls): Add s_isinf_ns.
5831 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5832 * math/multc3.c: Likewise.
5833 * math/s_casin.c: Likewise.
5834 * math/s_casinf.c: Likewise.
5835 * math/s_casinl.c: Likewise.
5836 * math/s_ccos.c: Likewise.
5837 * math/s_ccosf.c: Likewise.
5838 * math/s_ccosl.c: Likewise.
5839 * math/s_ctan.c: Likewise.
5840 * math/s_ctanf.c: Likewise.
5841 * math/s_ctanh.c: Likewise.
5842 * math/s_ctanhf.c: Likewise.
5843 * math/s_ctanhl.c: Likewise.
5844 * math/s_ctanl.c: Likewise.
5845 * math/w_fmod.c: Likewise.
5846 * math/w_fmodf.c: Likewise.
5847 * math/w_fmodl.c: Likewise.
5848 * math/w_remainder.c: Likewise.
5849 * math/w_remainderf.c: Likewise.
5850 * math/w_remainderl.c: Likewise.
5851 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5852 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5853 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5854 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5855 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5856 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5857 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5858 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5859
187da0ae
UD
5860 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5861 of the number.
5862 * stdio-common/printf_fphex.c: Likewise.
5863 * stdio-common/printf_size.c: Likewise.
5864
9277c064
UD
5865 * math/e_exp10.c: Include math_private.h using <...> not "...".
5866 * math/e_exp10f.c: Likewise.
5867 * math/e_exp10l.c: Likewise.
5868 * math/e_exp2l.c: Likewise.
5869 * math/e_j0l.c: Likewise.
5870 * math/e_j1l.c: Likewise.
5871 * math/e_jnl.c: Likewise.
5872 * math/e_lgammal_r.c: Likewise.
5873 * math/e_rem_pio2l.c: Likewise.
5874 * math/e_scalb.c: Likewise.
5875 * math/e_scalbf.c: Likewise.
5876 * math/e_scalbl.c: Likewise.
5877 * math/k_cosl.c: Likewise.
5878 * math/k_sinl.c: Likewise.
5879 * math/k_tanl.c: Likewise.
5880 * math/s_cacoshf.c: Likewise.
5881 * math/s_catan.c: Likewise.
5882 * math/s_catanf.c: Likewise.
5883 * math/s_catanh.c: Likewise.
5884 * math/s_catanhf.c: Likewise.
5885 * math/s_catanhl.c: Likewise.
5886 * math/s_catanl.c: Likewise.
5887 * math/s_ccosh.c: Likewise.
5888 * math/s_ccoshf.c: Likewise.
5889 * math/s_ccoshl.c: Likewise.
5890 * math/s_cexp.c: Likewise.
5891 * math/s_cexpf.c: Likewise.
5892 * math/s_cexpl.c: Likewise.
5893 * math/s_clog.c: Likewise.
5894 * math/s_clog10.c: Likewise.
5895 * math/s_clog10f.c: Likewise.
5896 * math/s_clog10l.c: Likewise.
5897 * math/s_clogf.c: Likewise.
5898 * math/s_clogl.c: Likewise.
5899 * math/s_csin.c: Likewise.
5900 * math/s_csinf.c: Likewise.
5901 * math/s_csinh.c: Likewise.
5902 * math/s_csinhf.c: Likewise.
5903 * math/s_csinhl.c: Likewise.
5904 * math/s_csinl.c: Likewise.
5905 * math/s_csqrt.c: Likewise.
5906 * math/s_csqrtf.c: Likewise.
5907 * math/s_csqrtl.c: Likewise.
5908 * math/s_ctan.c: Likewise.
5909 * math/s_ctanf.c: Likewise.
5910 * math/s_ctanh.c: Likewise.
5911 * math/s_ctanhf.c: Likewise.
5912 * math/s_ctanhl.c: Likewise.
5913 * math/s_ctanl.c: Likewise.
5914 * math/s_ldexp.c: Likewise.
5915 * math/s_ldexpf.c: Likewise.
5916 * math/s_ldexpl.c: Likewise.
5917 * math/s_significand.c: Likewise.
5918 * math/s_significandf.c: Likewise.
5919 * math/s_significandl.c: Likewise.
5920 * math/w_acos.c: Likewise.
5921 * math/w_acosf.c: Likewise.
5922 * math/w_acosh.c: Likewise.
5923 * math/w_acoshf.c: Likewise.
5924 * math/w_acoshl.c: Likewise.
5925 * math/w_acosl.c: Likewise.
5926 * math/w_asin.c: Likewise.
5927 * math/w_asinf.c: Likewise.
5928 * math/w_asinl.c: Likewise.
5929 * math/w_atan2.c: Likewise.
5930 * math/w_atan2f.c: Likewise.
5931 * math/w_atan2l.c: Likewise.
5932 * math/w_atanh.c: Likewise.
5933 * math/w_atanhf.c: Likewise.
5934 * math/w_atanhl.c: Likewise.
5935 * math/w_cosh.c: Likewise.
5936 * math/w_coshf.c: Likewise.
5937 * math/w_coshl.c: Likewise.
5938 * math/w_dremf.c: Likewise.
5939 * math/w_exp10.c: Likewise.
5940 * math/w_exp10f.c: Likewise.
5941 * math/w_exp10l.c: Likewise.
5942 * math/w_exp2.c: Likewise.
5943 * math/w_exp2f.c: Likewise.
5944 * math/w_fmod.c: Likewise.
5945 * math/w_fmodf.c: Likewise.
5946 * math/w_fmodl.c: Likewise.
5947 * math/w_hypot.c: Likewise.
5948 * math/w_hypotf.c: Likewise.
5949 * math/w_hypotl.c: Likewise.
5950 * math/w_j0.c: Likewise.
5951 * math/w_j0f.c: Likewise.
5952 * math/w_j0l.c: Likewise.
5953 * math/w_j1.c: Likewise.
5954 * math/w_j1f.c: Likewise.
5955 * math/w_j1l.c: Likewise.
5956 * math/w_jn.c: Likewise.
5957 * math/w_jnf.c: Likewise.
5958 * math/w_jnl.c: Likewise.
5959 * math/w_lgamma.c: Likewise.
5960 * math/w_lgamma_r.c: Likewise.
5961 * math/w_lgammaf.c: Likewise.
5962 * math/w_lgammaf_r.c: Likewise.
5963 * math/w_lgammal.c: Likewise.
5964 * math/w_lgammal_r.c: Likewise.
5965 * math/w_log.c: Likewise.
5966 * math/w_log10.c: Likewise.
5967 * math/w_log10f.c: Likewise.
5968 * math/w_log10l.c: Likewise.
5969 * math/w_log2.c: Likewise.
5970 * math/w_log2f.c: Likewise.
5971 * math/w_log2l.c: Likewise.
5972 * math/w_logf.c: Likewise.
5973 * math/w_logl.c: Likewise.
5974 * math/w_pow.c: Likewise.
5975 * math/w_powf.c: Likewise.
5976 * math/w_powl.c: Likewise.
5977 * math/w_remainder.c: Likewise.
5978 * math/w_remainderf.c: Likewise.
5979 * math/w_remainderl.c: Likewise.
5980 * math/w_scalb.c: Likewise.
5981 * math/w_scalbf.c: Likewise.
5982 * math/w_scalbl.c: Likewise.
5983 * math/w_sinh.c: Likewise.
5984 * math/w_sinhf.c: Likewise.
5985 * math/w_sinhl.c: Likewise.
5986 * math/w_sqrt.c: Likewise.
5987 * math/w_sqrtf.c: Likewise.
5988 * math/w_sqrtl.c: Likewise.
5989 * math/w_tgamma.c: Likewise.
5990 * math/w_tgammaf.c: Likewise.
5991 * math/w_tgammal.c: Likewise.
5992
6a621eb7
UD
5993 * po/ja.po: Update from translation team.
5994
bf582445
AJ
59952011-09-29 Andreas Jaeger <aj@suse.de>
5996
f9efbf3a
AJ
5997 [BZ #13179]
5998 * sunrpc/netname.c (netname2host): Fix logic.
5999
bf582445
AJ
6000 [BZ #6779]
6001 [BZ #6783]
6002 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6003 correctly.
6004 * math/w_remainder.c (__remainder): Likewise.
6005 * math/w_remainderf.c (__remainderf): Likewise.
6006 * math/libm-test.inc (remainder_test): Add test cases.
6007
48693bea
AK
60082011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6009
6010 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6011 sdiv_qrnnd.
6012
42622229
LD
60132011-10-07 Ulrich Drepper <drepper@gmail.com>
6014
6015 * string/test-memcmp.c: Avoid unncessary #defines.
6016 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6017
093ecf92
LD
60182011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6019
6020 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6021 Use new sse2 version for core i3 - i7 as it's faster
6022 than sse42 version.
6023 (bit_Prefer_PMINUB_for_stringop): New.
6024 * sysdeps/x86_64/rawmemchr.S: Update.
6025 Replace with faster SSE2 version.
6026 * sysdeps/x86_64/memrchr.S: New file.
6027 * sysdeps/x86_64/memchr.S: Update.
6028 Replace with faster SSE2 version.
6029
fde56e5c
MP
60302011-09-12 Marek Polacek <mpolacek@redhat.com>
6031
6032 * elf/dl-load.c (lose): Add cast to avoid warning.
6033
21fd49a9
UD
60342011-10-07 Ulrich Drepper <drepper@gmail.com>
6035
5a06e643
UD
6036 * po/ca.po: Update from translation team.
6037
684ae515
UD
6038 * inet/getnetgrent_r.c: Hook up nscd.
6039 * nscd/Makefile (routines): Add nscd_netgroup.
6040 (nscd-modules): Add netgroupcache.
6041 (CFLAGS-netgroupcache.c): Define.
6042 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6043 (cache_search): Add const to second parameter.
6044 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6045 INNETGR.
6046 (dbs): Add netgrdb entry.
6047 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6048 (verify_persistent_db): Handle netgrdb.
6049 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6050 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6051 GETFDNETGR.
6052 (netgroup_response_header): Define.
6053 (innetgroup_response_header): Define.
6054 (datahead): Add netgroup_response_header and innetgroup_response_header
6055 elements.
6056 * nscd/nscd.conf: Add entries for netgroup cache.
6057 * nscd/nscd.h (dbtype): Add netgrdb.
6058 (_PATH_NSCD_NETGROUP_DB): Define.
6059 (netgroup_iov_disabled): Declare.
6060 (xmalloc, xcalloc, xrealloc): Move declarations here.
6061 (cache_search): Adjust prototype.
6062 Add netgroup-related prototypes.
6063 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6064 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6065 (__nscd_innetgr): Declare.
6066 * nscd/selinux.c (perms): Use access_vector_t as element type and
6067 add netgroup-related initializers.
6068 * nscd/netgroupcache.c: New file.
6069 * nscd/nscd_netgroup.c: New file.
6070 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6071 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6072 For four parameters use innetgr.
6073 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6074 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6075 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6076 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6077
21fd49a9
UD
6078 * nscd/connections.c (register_traced_file): Don't register file
6079 for disabled databases.
6080
054c0457
UD
60812011-10-06 Ulrich Drepper <drepper@gmail.com>
6082
32b63198
UD
6083 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6084
054c0457
UD
6085 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6086 from tree and freeing node.
6087
64031225
JO
60882011-09-25 Jiri Olsa <jolsa@redhat.com>
6089
6090 * nss/nsswitch.c (__nss_database_lookup): Handle
6091 nss_parse_service_list out of memory case.
6092
0490345c
JO
60932011-09-15 Jiri Olsa <jolsa@redhat.com>
6094
6095 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6096 out of memory case.
6097
3a62d00d
AS
60982011-10-04 Andreas Schwab <schwab@redhat.com>
6099
6100 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6101 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6102 pass it down.
6103 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6104 elf_machine_rela, elf_machine_lazy_rel.
6105 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6106 (ELF_DYNAMIC_DO_REL): Likewise.
6107 (ELF_DYNAMIC_DO_RELA): Likewise.
6108 (ELF_DYNAMIC_RELOCATE): Likewise.
6109 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6110 to ELF_DYNAMIC_DO_REL.
6111 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6112 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6113 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6114 elf_machine_rela.
6115 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6116 skip_ifunc, don't call ifunc function if non-zero.
6117 (elf_machine_rela): Likewise.
6118 (elf_machine_lazy_rel): Likewise.
6119 (elf_machine_lazy_rela): Likewise.
6120 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6121 (elf_machine_lazy_rel): Likewise.
6122 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6123 Likewise.
6124 (elf_machine_lazy_rel): Likewise.
6125 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6126 Likewise.
6127 (elf_machine_lazy_rel): Likewise.
6128 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6129 (elf_machine_lazy_rel): Likewise.
6130 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6131 (elf_machine_lazy_rel): Likewise.
6132 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6133 (elf_machine_lazy_rel): Likewise.
6134 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6135 (elf_machine_lazy_rel): Likewise.
6136 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6137 (elf_machine_lazy_rel): Likewise.
6138 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6139 (elf_machine_lazy_rel): Likewise.
6140
68577918
UD
61412011-09-28 Ulrich Drepper <drepper@gmail.com>
6142
6143 * nss/nss_files/files-init.c (_nss_files_init): Use static
6144 initialization for all the *_traced_file variables.
6145
68822d74
AS
61462011-09-28 Andreas Schwab <schwab@redhat.com>
6147
6148 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6149
2056100b
RM
61502011-09-27 Roland McGrath <roland@hack.frob.com>
6151
6152 [BZ #13226]
6153 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6154
32c76b63
AS
61552011-09-27 Andreas Schwab <schwab@redhat.com>
6156
6157 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6158 Reread the line before reparsing it.
6159
bf972c9d
AS
61602011-09-26 Andreas Schwab <schwab@redhat.com>
6161
6162 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6163
e057a1b5
JM
61642011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6165 Maxim Kuvyrkov <maxim@codesourcery.com>
6166 Joseph Myers <joseph@codesourcery.com>
6167
6168 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6169 if needed for __stack_chk_guard.
6170
bc7e1c36
RM
61712011-09-19 Roland McGrath <roland@hack.frob.com>
6172
ecb1482f
RM
6173 * sysdeps/posix/spawni.c (script_execute): Always define it.
6174 It will be optimized away if unused.
6175 (maybe_script_execute): New function.
6176 (__spawni): Call it.
6177
bc7e1c36
RM
6178 * Makerules: Don't include tls.make.
6179 (config-tls): Always set to thread.
6180 * tls.make.c: File removed.
6181
1c3b002b
MF
61822011-09-19 Mike Frysinger <vapier@gentoo.org>
6183
6184 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6185 * config.make.in (CPPFLAGS-config): New substituted variable.
6186
2840865d
UD
61872011-09-15 Ulrich Drepper <drepper@gmail.com>
6188
88738eb6
UD
6189 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6190
cbf645a6 6191 [BZ #13192]
2840865d
UD
6192 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6193 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6194
b402e91a
RM
61952011-09-15 Roland McGrath <roland@hack.frob.com>
6196
6197 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6198 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6199 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6200 (CALL_FAIL): Likewise.
6201 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6202 (CALL_FAIL): Macro removed.
6203 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6204
4c1a1f71
UD
62052011-09-15 Ulrich Drepper <drepper@gmail.com>
6206
6207 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6208 for __FINITE_MATH_ONLY__ == 1.
6209
edc121be
AS
62102011-09-15 Andreas Schwab <schwab@redhat.com>
6211
6212 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6213 __ieee754_sqrt instead of sqrt.
6214 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6215 __ieee754_sqrtf instead of sqrtf.
6216 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6217 __floorf instead of floorf.
6218 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6219 __floorf, __truncf instead of floorf, truncf.
6220
cd205654
UD
62212011-09-14 Ulrich Drepper <drepper@gmail.com>
6222
ee4d0315
UD
6223 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6224
cd205654
UD
6225 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6226 __extern_always_inline.
6227 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6228 32-bit.
6229
48b67d71
AS
62302011-09-14 Andreas Schwab <schwab@redhat.com>
6231
6232 * elf/rtld.c (dl_main): Also relocate in dependency order when
6233 doing symbol dependency testing.
6234
1ae12c75
AS
62352011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6236
6237 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6238 Always define `refsym'.
6239
995a80df
AS
62402011-09-13 Andreas Schwab <schwab@redhat.com>
6241
e529793b
AS
6242 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6243 (__FD_ELT): Renamed from __FDELT.
6244 * misc/bits/select2.h (__FD_ELT): Likewise.
6245 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6246 __FD_MASK instead of __FDELT, __FDMASK.
6247 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6248 Likewise.
6249 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6250 Likewise.
6251
52d4fef8
AS
6252 * elf/Makefile (gen-ldd): Fix pattern.
6253
995a80df
AS
6254 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6255 (init_tls): Likewise.
6256
8682f8b0
UD
62572011-09-12 Ulrich Drepper <drepper@gmail.com>
6258
6259 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6260
de82006d
AS
62612011-09-12 Andreas Schwab <schwab@redhat.com>
6262
a7c8e6a1
AS
6263 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6264 `struct cmsghdr *' instead of `void *'.
6265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6266 Likewise.
6267
0f31fe77
AS
62682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6269
6270 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6271 if non-absolute.
6272 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6273 ldd_rewrite_script.
0f31fe77 6274
32b4c839
UD
62752011-09-11 Ulrich Drepper <drepper@gmail.com>
6276
83cd1420
UD
6277 * configure.in: Remove --with-tls option.
6278 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6279 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6280 out in case it is missing.
6281 * sysdeps/ia64/elf/configure.in: Likewise.
6282 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6283 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6284 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6285 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6286 * sysdeps/sh/elf/configure.in: Likewise.
6287 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6288 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6289 * sysdeps/x86_64/elf/configure.in: Likewise.
6290 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6291 * sysdeps/mach/hurd/tls.h: Likewise.
6292
633f745d
UD
6293 [BZ #13067]
6294 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6295
f318beb8
UD
6296 [BZ #13090]
6297 * configure.in: Fix use of AC_INIT.
6298
32b4c839
UD
6299 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6300
3ce1f295
UD
63012011-09-10 Ulrich Drepper <drepper@gmail.com>
6302
bb016596
UD
6303 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6304 __set_errno.
8e58439c
UD
6305 * malloc/hooks.c: Likewise.
6306
aebae053 6307 [BZ #11929]
02d46fc4
UD
6308 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6309 variables statically.
6310 (narenas): Initialize.
6311 (list_lock): Initialize.
bb016596
UD
6312 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6313 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6314 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6315 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6316 Add initializers to main_arena and mp_.
6317 (malloc_state): Remove pagesize member. Change all users to use
6318 GLRO(dl_pagesize).
6319
6320 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6321 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6322 is always initialized.
6323
22a89187
UD
6324 * malloc/malloc.c: Removed unused configurations and dead code.
6325 * malloc/arena.c: Likewise.
6326 * malloc/hooks.c: Likewise.
02d46fc4 6327 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6328
d063d164
UD
6329 * include/tls.h: Removed. USE___THREAD must always be defined.
6330 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6331 * elf/dl-libc.c: Likewise.
6332 * elf/dl-tsd.c: Likewise.
6333 * include/errno.h: Likewise.
6334 * include/netdb.h: Likewise.
6335 * include/resolv.h: Likewise.
6336 * inet/herrno-loc.c: Likewise.
6337 * inet/herrno.c: Likewise.
6338 * malloc/arena.c: Likewise.
6339 * malloc/hooks.c: Likewise.
6340 * malloc/malloc.c: Likewise.
6341 * resolv/res-state.c: Likewise.
6342 * resolv/res_libc.c: Likewise.
6343 * sysdeps/i386/dl-machine.h: Likewise.
6344 * sysdeps/ia64/dl-machine.h: Likewise.
6345 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6346 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6347 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6348 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6349 * sysdeps/sh/dl-machine.h: Likewise.
6350 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6351 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6352 * sysdeps/unix/i386/sysdep.S: Likewise.
6353 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6354 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6355 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6356 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6357 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6358 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6359 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6362 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6363 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6364 * sysdeps/x86_64/dl-machine.h: Likewise.
6365 * tls.make.c: Likewise.
6366
3ce1f295
UD
6367 * configure.in: Remove --with-__thread option. Make tests for
6368 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6369 tls_model attribute fail if no support is available. Remove
6370 USE_IN_LIBIO.
6371 * Makeconfig: Adjust for dropped configure option. All features are
6372 now mandatory.
6373 * Makerules: Likewise.
6374 * Versions.def: Likewise.
6375 * argp/argp-fmtstream.c: Likewise.
6376 * argp/argp-fmtstream.h: Likewise.
6377 * argp/argp-help.c: Likewise.
6378 * assert/assert.c: Likewise.
6379 * config.h.in: Likewise.
6380 * config.make.in: Likewise.
6381 * configure: Likewise.
6382 * configure.in: Likewise.
6383 * csu/Versions: Likewise.
6384 * csu/init.c: Likewise.
6385 * elf/tst-audit2.c: Likewise.
6386 * elf/tst-tls10.c: Likewise.
6387 * elf/tst-tls10.h: Likewise.
6388 * elf/tst-tls11.c: Likewise.
6389 * elf/tst-tls12.c: Likewise.
6390 * elf/tst-tls14.c: Likewise.
6391 * elf/tst-tlsmod11.c: Likewise.
6392 * elf/tst-tlsmod12.c: Likewise.
6393 * elf/tst-tlsmod13.c: Likewise.
6394 * elf/tst-tlsmod13a.c: Likewise.
6395 * elf/tst-tlsmod14a.c: Likewise.
6396 * elf/tst-tlsmod15b.c: Likewise.
6397 * elf/tst-tlsmod16a.c: Likewise.
6398 * elf/tst-tlsmod16b.c: Likewise.
6399 * elf/tst-tlsmod7.c: Likewise.
6400 * elf/tst-tlsmod8.c: Likewise.
6401 * elf/tst-tlsmod9.c: Likewise.
6402 * gmon/gmon.c: Likewise.
6403 * grp/fgetgrent_r.c: Likewise.
6404 * grp/putgrent.c: Likewise.
6405 * hurd/fopenport.c: Likewise.
6406 * include/libc-symbols.h: Likewise.
6407 * include/tls.h: Likewise.
6408 * intl/gettextP.h: Likewise.
6409 * intl/loadinfo.h: Likewise.
6410 * locale/global-locale.c: Likewise.
6411 * locale/localeinfo.h: Likewise.
6412 * mach/devstream.c: Likewise.
6413 * malloc/arena.c: Likewise.
6414 * malloc/set-freeres.c: Likewise.
6415 * misc/err.c: Likewise.
6416 * misc/getttyent.c: Likewise.
6417 * misc/mntent_r.c: Likewise.
6418 * posix/getopt.c: Likewise.
6419 * posix/wordexp.c: Likewise.
6420 * pwd/fgetpwent_r.c: Likewise.
6421 * resolv/Versions: Likewise.
6422 * resolv/res_hconf.c: Likewise.
6423 * shadow/fgetspent_r.c: Likewise.
6424 * shadow/putspent.c: Likewise.
6425 * stdio-common/printf_fphex.c: Likewise.
6426 * stdio-common/tmpfile.c: Likewise.
6427 * stdlib/abort.c: Likewise.
6428 * stdlib/fmtmsg.c: Likewise.
6429 * sunrpc/auth_unix.c: Likewise.
6430 * sunrpc/clnt_perr.c: Likewise.
6431 * sunrpc/clnt_tcp.c: Likewise.
6432 * sunrpc/clnt_udp.c: Likewise.
6433 * sunrpc/clnt_unix.c: Likewise.
6434 * sunrpc/openchild.c: Likewise.
6435 * sunrpc/svc_simple.c: Likewise.
6436 * sunrpc/svc_tcp.c: Likewise.
6437 * sunrpc/svc_udp.c: Likewise.
6438 * sunrpc/svc_unix.c: Likewise.
6439 * sunrpc/xdr.c: Likewise.
6440 * sunrpc/xdr_array.c: Likewise.
6441 * sunrpc/xdr_rec.c: Likewise.
6442 * sunrpc/xdr_ref.c: Likewise.
6443 * sunrpc/xdr_stdio.c: Likewise.
6444
1248c1c4
PB
64452011-09-09 Ulrich Drepper <drepper@gmail.com>
6446
6447 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6448
64492011-07-03 Andreas Jaeger <aj@suse.de>
6450
6451 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6452 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6453 regenerate with gen-libm-tests.pl.
6454
64552010-05-12 Petr Baudis <pasky@suse.cz>
6456
6457 [BZ #11589]
6458 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6459 around j0() zero points by switching to j1().
6460 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6464
f22e1074
UD
64652011-09-09 Ulrich Drepper <drepper@gmail.com>
6466
f19009c1
UD
6467 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6468 instead of 0.
6469 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6470 instead of 0. .
6471 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6472 Patch in part by Pavel Roskin <proski@gnu.org>.
6473
3f8cc204
UD
6474 [BZ #13138]
6475 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6476 realloc.
6477 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6478 Free memory block if necessary.
6479
f22e1074
UD
6480 [BZ #12847]
6481 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6482 be NULL. Don't lock in this case.
6483
0a2349f9
RM
64842011-09-09 Roland McGrath <roland@hack.frob.com>
6485
6486 * elf/elf.h (ELFOSABI_GNU): New macro.
6487 (ELFOSABI_LINUX): Define to that.
6488
f3cdd467
DZ
64892011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6490
6491 * string/strncat.c (strncat): Undef the symbol in case it has been
6492 defined in bits/string.h.
6493
74718d13
UD
64942011-09-09 Ulrich Drepper <drepper@gmail.com>
6495
633e9e0f
UD
6496 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6497
0a2349f9 6498 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6499 link map.
6500
f9924780
AJ
65012011-08-17 Andreas Jaeger <aj@suse.de>
6502
6503 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6504
7f5517aa
PP
65052011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6506 Ian Lance Taylor <iant@google.com>
6507
6508 * math/libm-test.inc (lround_test): New testcase.
6509 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6510
762011fe
UD
65112011-09-08 Ulrich Drepper <drepper@gmail.com>
6512
92963737
UD
6513 * Makefile: Remove support for automatic cvs check-ins.
6514 * Makerules: Likewise.
6515 * config.make.in: Likewise.
6516 * configure.in: Likewise.
6517 * intl/Makefile: Likewise.
6518 * locale/Makefile: Likewise.
6519 * po/Makefile: Likewise.
6520 * posix/Makefile: Likewise.
6521 * sysdeps/gnu/Makefile: Likewise.
6522 * sysdeps/mach/hurd/Makefile: Likewise.
6523 * sysdeps/sparc/sparc32/Makefile: Likewise.
6524
b0727fd8
JS
6525 [BZ #13118]
6526 * posix/Makefile (bug-regex32-ENV): Define.
6527 Patch by John Stanley <jpsinthemix@verizon.net>.
6528
a0f33f99
UD
6529 * misc/Makefile (headers): Add bits/select2.h.
6530 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6531 * misc/bits/select2.h: New file.
6532 * include/bits/select2.h: New file.
6533 * debug/Makefile (routines): Add fdelt_chk.
6534 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6535 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6536 FD_ISSET.
6537 * debug/fdelt_chk.c: New file.
6538
762011fe
UD
6539 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6540 * wcsmbs/test-wmemcmp.c: Likewise.
6541 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6542 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6543
65442011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6545
6546 * string/Makefile (strop-tests): Add memcmp.
6547 * string/test-wmemcmp.c: New file.
6548 * string/test-memcmp.c: Add wmemcmp support.
6549
7f513ec8
RM
65502011-09-08 Roland McGrath <roland@hack.frob.com>
6551
0442afb4
RM
6552 [BZ #13153]
6553 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6554 2011-07-19 change.
6555
7f513ec8
RM
6556 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6557 garbage value in a __mach_port_mod_refs call in the cases of the
6558 task-self and thread-self ports.
6559
a12b2239
ST
65602011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6561
6562 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6563
610f9ab4
AS
65642011-09-08 Andreas Schwab <schwab@redhat.com>
6565
7f513ec8 6566 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6567
48882a1a
LD
65682011-09-07 Ulrich Drepper <drepper@gmail.com>
6569
b49865be
UD
6570 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6571
fdc86bc9
UD
6572 * elf/dl-libc.c (dlerror_run): Pass back error code from
6573 dl_catch_error.
6574
c966526a
UD
6575 [BZ #13123]
6576 * elf/dl-load.c (lose): Free l_origin if it is valid.
6577
48882a1a
LD
6578 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6579 names.
6580 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6581 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6582 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6583 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6584 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6585 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6586
77a2a8b4
AZ
65872011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6588
6589 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6590 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6591 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6592 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6593 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6594 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6595 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6596 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6597 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6598 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6599
24f579d8
AM
66002011-08-15 Alan Modra <amodra@gmail.com>
6601
6602 [BZ #13092]
6603 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6604 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6605 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6606 ppc_mcount to static-only-routines.
6607 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6608 __mcount_internal.
6609 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6610 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6611
3d4837df
UD
66122011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6613
6614 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6615 for finite and infinity parameters.
6616
22700377
WS
66172011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6618
6619 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6620 and add nop instructions for throughput optimization.
6621 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6622
5025581e
WS
66232011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6624
6625 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6626 aligned copy for power7 with vector-scalar instructions.
6627 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6628
08a300c9
L
66292011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6630
6631 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6632 AVX check.
6633
59178ef9
AS
66342011-09-07 Andreas Schwab <schwab@redhat.com>
6635
6636 [BZ #13144]
6637 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6638 last change.
6639
e38ba7ab
UD
66402011-09-07 Ulrich Drepper <drepper@gmail.com>
6641
6642 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6643 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6644 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6645 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6646 clock_gettime.
6647
d53a73ac
UD
66482011-09-06 Ulrich Drepper <drepper@gmail.com>
6649
fc8bffcc
UD
6650 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6651 Forgot to demangle the pointer.
6652
ceaa0c5d
UD
6653 * sysdeps/i386/sysdep.h: Define atom_text_section.
6654 * sysdeps/x86_64/sysdep.h: Likewise.
6655 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6656 section with atom_text_section.
6657 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6658 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6659 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6660 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6661 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6662
a77d3c17
UD
6663 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6664 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6665 already be defined. Change to take two parameters and don't assign
6666 result to variable. Adjust all users.
6667 Define INTERNAL_GETTIME if not already defined.
6668 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6669 call.
6670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6671 HAVE_CLOCK_GETTIME_VSYSCALL.
6672 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6673
d53a73ac
UD
6674 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6675 gettimeofday vsyscall, just use time.
6676
a8f84144
AS
66772011-09-06 Andreas Schwab <schwab@redhat.com>
6678
6679 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6680 <errno.h>.
6681
ef606249
UD
66822011-09-06 Ulrich Drepper <drepper@gmail.com>
6683
6684 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6685 syscall on x86-64.
6686 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6687 syscall.
6688 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6689 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6690 syscall if possible.
6691
6585cb60
UD
66922011-09-05 Ulrich Drepper <drepper@gmail.com>
6693
6694 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6695 e_ident. Don't pass to find_mapsXX.
6696 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6697
a5f524e4
LD
66982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6699
6700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6701 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6702 * sysdeps/x86_64/multiarch/strchr.S: Update.
6703 Check bit_slow_BSF bit.
6704 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6705 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6706 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6707
554881ef
UD
67082011-09-05 Ulrich Drepper <drepper@gmail.com>
6709
d96de963
UD
6710 [BZ #13134]
6711 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6712 before glibc 2.15.
6713 (tryshell): Define.
6714 (__spawni): Change last parameter to be flag. Test
6715 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6716 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6717 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6718 * posix/spawni.c: Likewise.
6719 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6720 * posix/spawnp.c: Likewise. Change normal version to use
6721 SPAWN_XFLAGS_USE_PATH.
6722 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6723 SPAWN_XFLAGS_TRY_SHELL.
6724
d48e5868
UD
6725 [BZ #13150]
6726 * posix/glob.h: Remove gcc 1.x support.
6727
554881ef
UD
6728 [BZ #13068]
6729 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6730
693fb948
LD
67312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6732
6733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6734 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6735 strrchr-sse2-bsf
6736 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6737 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6738 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6739 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6740 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6741 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6742
1b48c537
UD
67432011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6744
49d42c37
UD
6745 * sysdeps/x86_64/wcscmp.S: New file.
6746
1b48c537
UD
6747 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6748 wcscmp-c wcscmp-sse2
6749 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6750 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6751 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6752 * wcsmbs/wcscmp.c: Allow renaming.
6753
15c95c5d
DM
67542011-09-05 David S. Miller <davem@davemloft.net>
6755
6756 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6757 stack slot, rather than the struct return pointer slot.
6758 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6759 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6761 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6762
2f0ad8f3
UD
67632011-09-05 Ulrich Drepper <drepper@gmail.com>
6764
d88ae418
UD
6765 * po/ja.po: Update from translation team.
6766
2f0ad8f3
UD
6767 [BZ #13144]
6768 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6769 kernel in 64-bit binaries.
6770
5f4318d1
DM
67712011-09-01 David S. Miller <davem@davemloft.net>
6772
6773 * elf/elf.h (HWCAP_SPARC_*): Move to..
6774 * sysdeps/sparc/sysdep.h: this new file and add new values.
6775 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6776 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6777 _DL_HWCAP_COUNT to 24.
6778 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6779 entries.
6780 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6781 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6782 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6783 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6784 instead of magic constants.
6785 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6786
3ba57516
DM
67872011-08-31 David S. Miller <davem@davemloft.net>
6788
6789 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6790 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6791 Reimplement to do errno handling inline.
6792 (SYSCALL_ERROR_HANDLER): New macro.
6793 (__SYSCALL_STRING): Do not do errno handling in asm.
6794 (__CLONE_SYSCALL_STRING): Delete.
6795 (__INTERNAL_SYSCALL_STRING): Delete.
6796 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6797 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6798 (PSEUDO): Reimplement to do errno handling inline.
6799 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6800 (SYSCALL_ERROR_HANDLER): New macro.
6801 (__SYSCALL_STRING): Do not do errno handling in asm.
6802 (__CLONE_SYSCALL_STRING): Delete.
6803 (__INTERNAL_SYSCALL_STRING): Delete.
6804 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6805 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6806 i386.
6807 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6808 (inline_syscall*): Add 'err' argument.
6809 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6810 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6811 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6812 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6813
6814 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6815 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6816
2bc17433
AS
68172011-08-30 Andreas Schwab <schwab@redhat.com>
6818
6819 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6820
fbeb5f4d
JO
68212011-08-29 Jiri Olsa <jolsa@redhat.com>
6822
6823 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6824 directive.
6825
ad69cc26
DM
68262011-08-24 David S. Miller <davem@davemloft.net>
6827
6828 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6829
39dd69df
AS
68302011-08-24 Andreas Schwab <schwab@redhat.com>
6831
6832 * elf/Makefile: Add rules to build and run unload8 test.
6833 * elf/unload8.c: New file.
6834 * elf/unload8mod1.c: New file.
6835 * elf/unload8mod1x.c: New file.
6836 * elf/unload8mod2.c: New file.
6837 * elf/unload8mod3.c: New file.
6838
6839 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6840 it wasn't used.
6841
2c0b250a
DM
68422011-08-23 David S. Miller <davem@davemloft.net>
6843
6844 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6845 subtract stack bias.
6846 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6847 %sp not %fp in calculations.
6848 (_JMPBUF_UNWINDS_ADJ): Likewise.
6849
22044b48
DM
6850 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6851 (aio_suspend): Call it to force an exception region around the
6852 AIO_MISC_WAIT() invocation.
6853
2cae4995
AS
68542011-08-23 Andreas Schwab <schwab@redhat.com>
6855
6856 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6857 backslash.
6858
873a772e
AJ
68592011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6860
6861 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6862 protection macro.
6863 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6864 and <dl-machine.h>.
6865 (Elf64_FuncDesc): Remove.
6866
25ad0df1
DM
68672011-08-22 David S. Miller <davem@davemloft.net>
6868
6869 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6870 sigaltstack check, add missing cfi directives.
6871 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6872 missing cfi directives, and sigaltstack handling.
6873
e888bcbe
AS
68742011-08-16 Andreas Schwab <schwab@redhat.com>
6875
6876 [BZ #11724]
6877 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6878 object is seen twice.
6879 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6880
6881 * elf/Makefile (distribute): Add tst-initorder2.c.
6882 (tests): Add tst-initorder2.
6883 (modules-names): Add tst-initorder2a tst-initorder2b
6884 tst-initorder2c tst-initorder2d. Add rules to build them.
6885 ($(objpfx)tst-initorder2.out): New rule.
6886 * elf/tst-initorder2.c: New file.
6887 * elf/tst-initorder2.exp: New file.
6888
87162f46
AS
68892011-08-22 Andreas Schwab <schwab@redhat.com>
6890
70538b7f
AS
6891 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6892
f55ffe58
AS
6893 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6894 dependencies back to end of function.
6895
87162f46
AS
6896 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6897 $(elfobjdir)/ld.so.
6898
91b392a4
UD
68992011-08-21 Ulrich Drepper <drepper@gmail.com>
6900
6901 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6902 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6903 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6904 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6905 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6906 of __vdso_gettimeofday.
6907 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6908 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6909 attribute_hidden.
6910 (_libc_vdso_platform_setup): Remove initialization of
6911 __vdso_gettimeofday and __vdso_time.
6912
5c43483f
UD
69132011-08-20 Ulrich Drepper <drepper@gmail.com>
6914
775a77e7
UD
6915 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6916 and fgetc_unlocked.
6917 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6918 getc_unlocked.
89f447ed 6919
49c74ba9
UD
6920 * elf/dl-open.c (add_to_global): Report additions to the global scope
6921 for LD_DEBUG=scopes.
6922 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6923 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6924
5c43483f
UD
6925 [BZ #13114]
6926 * stdio-common/Makefile (tests): Add bug24.
6927 * stdio-common/bug24.c: New file.
6928
a101b025
AJ
69292011-08-19 Andreas Jaeger <aj@suse.de>
6930
6931 [BZ #13114]
6932 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6933 non-existant file when using close-on-exec mode.
6934
c88f1766
UD
69352011-08-20 Ulrich Drepper <drepper@gmail.com>
6936
0276a718
UD
6937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6938 the very first instruction.
6939
c88f1766
UD
6940 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6941 the CFI state in the end.
6942 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6943 inclusion of dl-trampoline.h.
6944 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6945
51ccffa0
AS
69462011-08-19 Andreas Schwab <schwab@redhat.com>
6947
94d7165f
AS
6948 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6949 expectations for long double.
6950
51ccffa0
AS
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6952 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6953
fd708658 69542011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
6955
6956 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6957 artificual limit depends upon the system page size.
6958
44f0a71e
UD
69592011-08-17 Ulrich Drepper <drepper@gmail.com>
6960
6961 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6962 * resolv/Makefile: Define CFLAGS-libresolv.
6963
8de79a24
AS
69642011-08-17 Andreas Schwab <schwab@redhat.com>
6965
6966 * nss/makedb.c (compute_tables): Make variables used in nested
6967 function static.
6968
27724598
UD
69692011-08-17 Ulrich Drepper <drepper@gmail.com>
6970
c5305d88
UD
6971 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6972 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6973 if buffer was too small.
6974
27724598
UD
6975 * elf/pldd.c (main): Attach to all threads in the process.
6976 Rewrite /proc handling to use *at functions.
6977
076fe015
UD
69782011-08-16 Ulrich Drepper <drepper@gmail.com>
6979
174baab3
UD
6980 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6981 specifies first scope to show.
6982 (dl_open_worker): Update callers. Move printing scope of new
6983 object to before the relocation.
44f0a71e 6984 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
6985 * sysdeps/generic/ldsodefs.h: Update declaration.
6986
076fe015
UD
6987 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6988 string for the scope number.
6989
a60df2c3
UD
69902011-08-14 Ulrich Drepper <drepper@gmail.com>
6991
6992 * nscd/servicescache.c (cache_addserv): Make sure written is always
6993 initialized.
6994
5e4287d1
RM
69952011-08-14 Roland McGrath <roland@hack.frob.com>
6996
85ae0589
RM
6997 * sysdeps/i386/i486/bits/atomic.h
6998 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6999 statement expression, so as to suppress "set but not used" warning.
7000 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7001
69f63097
RM
7002 * string/strncat.c (STRNCAT): Use prototype definition.
7003
675456ef
RM
7004 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7005 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7006 -Iprograms here.
7007 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7008 (localedef-modules): Add localedef.
7009 (locale-modules): Add locale.
7010
5e4287d1
RM
7011 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7012 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7013 to avoid a warning.
7014
9c96ff23
DM
70152011-08-14 David S. Miller <davem@davemloft.net>
7016
7017 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7018 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7019
f9ddf089
UD
70202011-08-13 Ulrich Drepper <drepper@gmail.com>
7021
44f0a71e 7022 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7023 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7024 * elf/rtld.c (dl_main): Set l_name of vDSO.
7025 Call _dl_show_scope when DL_DEBUG_SCOPES.
7026 (process_dl_debug): Recognize scopes flag and also set it for all.
7027 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7028 Declare _dl_show_scope.
7029
1dc27704
UD
7030 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7031 (do_dlopen): Pass caller_dlopen to dl_open.
7032 (__libc_dlopen_mode): Initialize caller_dlopen.
7033
f9ddf089
UD
7034 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7035 of libc. Make tolower call locale-independent. Optimize a bit by
7036 using isdigit instead of isalnum.
7037 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7038
9ac533d3
UD
70392011-08-12 Ulrich Drepper <drepper@gmail.com>
7040
7041 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7042 was a dependency or dynamically loaded.
7043
89edf2e9
UD
70442011-08-11 Ulrich Drepper <drepper@gmail.com>
7045
8e999d29
UD
7046 * intl/l10nflist.c: Allow architecture-specific pop function.
7047 * sysdeps/x86_64/l10nflist.c: New file.
7048
89edf2e9
UD
7049 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7050 classification.
7051
14d96785
AS
70522011-08-10 Andreas Schwab <schwab@redhat.com>
7053
7054 * include/dirent.h: Add libc_hidden_proto for scandirat and
7055 scandirat64. Don't declare __scandirat64.
7056 * dirent/scandirat.c: Add libc_hidden_def.
7057 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7058 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7059
6761ac04
DM
70602011-08-10 David S. Miller <davem@davemloft.net>
7061
7062 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7063 enum.
7064 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7066 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7067
c55fbd1e
UD
70682011-08-09 Ulrich Drepper <drepper@gmail.com>
7069
7070 * Versions.def [libc]: Add GLIBC_2.15.
7071 * dirent/Makefile (routines): Add scandirat and scandirat64.
7072 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7073 GLIBC_2.15.
7074 * dirent/dirent.h: Declare scandirat and scandirat64.
7075 * dirent/scandirat.c: New file.
7076 * dirent/scandirat64.c: New file.
7077 * sysdeps/wordsize-64/scandirat.c: New file.
7078 * sysdeps/wordsize-64/scandirat64.c: New file.
7079 * dirent/opendir.c: Define opendirat.
7080 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7081 using scandirat.
7082 * dirent/scandir64.c: Adjust for scandir.c change.
7083 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7084 __scandirat64, and __scandir_cancel_handler.
7085 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7086 additional parameter and use openat instead of open (outside of ld.so).
7087 Add new __opendir as wrapper around __opendirat.
7088 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7089 here without requiring old scandirat implementation.
7090
879165f2
UD
70912011-08-08 Ulrich Drepper <drepper@gmail.com>
7092
7093 * dirent/scandir.c (cancel_handler): Renamed to
7094 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7095 defined. Adjust users.
7096 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7097 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7098
cb7e923b
UD
70992011-08-04 Ulrich Drepper <drepper@gmail.com>
7100
16292edd
UD
7101 * string/test-string.h (IMPL): Use __STRING to expand name and then
7102 stringify it.
7103
cb7e923b
UD
7104 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7105 of cleanups.
7106
cff82933
LD
71072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7108
7109 * string/Makefile: Update.
7110 (strop-tests): Append strncat.
7111 * string/test-wcscmp.c: New file.
7112 New comprehensive test for wcscmp.
7113 * string/test-strcmp.c: Update.
7114 (WIDE): New define.
7115
9be9bfcc
AS
71162011-07-22 Andreas Schwab <schwab@redhat.com>
7117
7118 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7119 line.
7120
2e96f1c7
AS
71212011-07-26 Andreas Schwab <schwab@redhat.com>
7122
7123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7124 encoding to ACE if AI_IDN.
7125
85188888
JJ
71262011-08-01 Jakub Jelinek <jakub@redhat.com>
7127
7128 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7129 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7130
5fa16e9b
LD
71312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7132
7133 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7134 Fix overflow bug in strncat.
7135 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7136
7137 * string/test-strncat.c: Update.
7138 Add new tests for checking overflow bugs.
7139
71402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7141
7142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7143 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7144 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7145 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7146 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7147 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7148 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7149 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7150 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7151
7152 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7153 (USE_AS_STRCAT): Define.
7154 Add strcat and strncat support.
7155 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7156
8c1a459f
AS
71572011-07-25 Andreas Schwab <schwab@redhat.com>
7158
7159 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7160 __n bigger than INT_MAX+1.
7161 (__strncmp_g): Likewise.
7162
bba33c28
UD
71632011-07-23 Ulrich Drepper <drepper@gmail.com>
7164
798be72d
UD
7165 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7166 * libio/stido.h: Likewise.
7167
8accd4dc
UD
7168 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7169 (AF_NFC): Define.
7170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7171 (AF_NFC): Define.
7172
cbff0d96
UD
7173 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7174 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7175 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7176 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7177 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7178
9191c04a
UD
7179 [BZ #13021]
7180 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7181 installed.
7182
bba33c28
UD
7183 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7184 typo.
7185 (_dl_x86_64_save_sse): Likewise.
7186
90f139dd
UD
71872011-07-22 Ulrich Drepper <drepper@gmail.com>
7188
1aae088a
UD
7189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7190 OSXSAVE.
7191 (_dl_x86_64_save_sse): Likewise.
7192
8e2045f5
UD
7193 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7194
90f139dd
UD
7195 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7196
1d002f25
AS
71972011-07-21 Andreas Schwab <schwab@redhat.com>
7198
7199 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7200 change.
7201 (_dl_x86_64_save_sse): Use correct AVX check.
7202
21137f89
UD
72032011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7204
7205 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7206 bug in strncpy/strncat.
7207 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7208
a65c0b7a
UD
72092011-07-21 Ulrich Drepper <drepper@gmail.com>
7210
7211 * string/tester.c (test_strcat): Add tests for different alignments
7212 of source and destination.
7213 (test_strncat): Likewise.
7214
6986b98a
UD
72152011-07-20 Ulrich Drepper <drepper@gmail.com>
7216
90bb2039
UD
7217 [BZ #12852]
7218 * posix/glob.c (glob): Check passed in values before using them in
7219 expressions to avoid some overflows.
7220 (glob_in_dir): Likewise.
7221
5644ef54
UD
7222 [BZ #13007]
7223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7224 check for AVX enablement so that we don't crash with old kernels and
7225 new hardware.
7226 * elf/tst-audit4.c: Add same checks here.
7227 * elf/tst-audit6.c: Likewise.
7228
7229 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7230
bfc9dc9b
AS
72312011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7232
7233 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7234
702e64bb
UD
72352011-07-20 Ulrich Drepper <drepper@gmail.com>
7236
7237 * po/cs.po: Update from translation team.
7238 * po/bg.po: Likewise.
7239
295e904f
MP
72402011-07-12 Marek Polacek <mpolacek@redhat.com>
7241
7242 * misc/sys/cdefs.h: Add support for const attribute.
7243 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7244 to gnu_dev_{major,minor,makedev} functions.
7245
3ff94596
MP
72462011-07-20 Marek Polacek <mpolacek@redhat.com>
7247
7248 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7249
28b59fca
AS
72502011-07-20 Andreas Schwab <schwab@redhat.com>
7251
7252 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7253 strlen results.
7254
19df733e
AK
72552011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7256
7257 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7258 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7259 register in order to avoid conflicts with the soft frame pointer
7260 being held in r11 when necessary.
7261 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7262 (INTERNAL_VSYSCALL_NCS): Likewise.
7263
c8835729
MP
72642011-07-14 Marek Polacek <mpolacek@redhat.com>
7265
7266 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7267 * elf/dl-fini.c (_dl_fini): Adjust caller.
7268 * elf/dl-close.c (_dl_close_worker): Likewise.
7269 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7270
b902330c
MP
72712011-07-15 Marek Polacek <mpolacek@redhat.com>
7272
8991e135
MP
7273 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7274 "aux_cache->nlibs < 0".
7275
b902330c
MP
7276 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7277 in the reload-count case.
7278
99710781
LD
72792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7280
7281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7282 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7283 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7284 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7285 * sysdeps/x86_64/multiarch/strcat.S: New file.
7286 * sysdeps/x86_64/multiarch/strncat.S: New file.
7287 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7288 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7289 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7290 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7291 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7292 (USE_AS_STRCAT): Define.
7293 Add strcat and strncat support.
7294 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7295 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7296 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7297 * string/strncat.c: Update.
7298 (USE_AS_STRNCAT): Define.
7299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7300 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7301 and i7.
7302 * sysdeps/x86_64/multiarch/init-arch.h
7303 (bit_Prefer_PMINUB_for_stringop): New.
7304 (index_Prefer_PMINUB_for_stringop): Likewise.
7305 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7306 bit_Prefer_PMINUB_for_stringop.
7307
7dc6bd90
UD
73082011-07-19 Ulrich Drepper <drepper@gmail.com>
7309
7310 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7311 buffer64.
7312 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7313 of casting of buffer.
7314 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7315 buffer32 and buffer64.
7316 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7317 writes instead of casting of buffer.
7318 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7319 buffer32.
7320 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7321 casting of buffer.
7322
e0e72284
AS
73232011-07-19 Andreas Schwab <schwab@redhat.com>
7324
7325 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7326
feb1eb0b
UD
73272011-07-19 Ulrich Drepper <drepper@gmail.com>
7328
7329 * nscd/nscd.c (termination_handler): Don't do anything for a database
7330 if it has not yet been initialized.
7331
298711ff
UD
73322011-07-18 Ulrich Drepper <drepper@gmail.com>
7333
7334 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7335
73362011-07-15 Marek Polacek <mpolacek@redhat.com>
7337
7338 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7339
f9d68389
UD
73402011-07-18 Ulrich Drepper <drepper@gmail.com>
7341
7342 * po/nl.po: Update from translation team.
7343 * po/sv.po: Likewise.
7344
db290cf5
RM
73452011-07-16 Roland McGrath <roland@hack.frob.com>
7346
7347 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7348 now disallowed by GCC.
5c550700 7349
fd5e21c7
RM
7350 * configure.in (use-default-link): Default to yes if a test -shared
7351 link meets our qualifications.
7352 * configure: Regenerated.
7353
5c550700
RM
7354 * config.make.in (output-format): New variable.
7355 * configure.in: Check for ld --print-output-format support.
7356 * configure: Regenerated.
7357 * Makerules ($(common-objpfx)format.lds)
7358 [$(output-format) != unknown]: Just use $(output-format),
7359 instead of the linker-script munging.
7360
9fa2c032
RM
73612011-07-14 Roland McGrath <roland@hack.frob.com>
7362
a6928d51
RM
7363 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7364 of $(common-objpfx)shlib.lds.
7365 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7366
661607b3
RM
7367 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7368 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7369
9fa2c032
RM
7370 * configure.in (-z relro check): Adjust test code to add a large
7371 writable data section after it.
7372 * configure: Regenerated.
7373
defe9061
RM
73742011-07-11 Roland McGrath <roland@hack.frob.com>
7375
7376 * configure.in (-z relro check): Fix test code to make the variable
7377 truly const.
7378 * configure: Regenerated.
7379
319b9ad4
UD
73802011-07-11 Ulrich Drepper <drepper@gmail.com>
7381
7382 * nscd/nscd.h (struct traced_file): Define.
7383 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7384 elements. Add traced_files.
7385 (inotify_fd): Declare.
7386 (register_traced_file): Declare.
7387 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7388 (inotify_fd): Export.
7389 (resolv_conf_descr): Remove.
7390 (nscd_init): Move inotify descriptor creation to main.
7391 Don't register files for notification here.
7392 (register_traced_file): New function.
7393 (invalidate_cache): Don't use reset_res to determine whether to call
7394 res_init, go through the list of registered files.
7395 (main_loop_poll): The inotify descriptors are now stored in the
7396 structures for the traced files.
7397 (main_loop_epoll): Likewise
7398 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7399 to __nss_disable_nscd.
7400 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7401 for a database anymore. Check the records for all the registered
7402 files instead.
7403 * nss/Makefile (libnss_files-routines): Add files-init.
7404 (libnss_db-routines): Add db-init.
7405 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7406 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7407 * nss/nss_db/db-init.c: New file.
7408 * nss/nss_files/files-init.c: New file.
7409 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7410 __nss_lookup_function.
7411 (__nss_lookup_function): Call nss_load_library.
7412 (nss_load_all_libraries): New function.
7413 (__nss_disable_nscd): Take parameter with callback function for files
7414 to register. Set is_nscd. Load all the DSOs for the NSS modules
7415 used for the cached services.
7416 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7417 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7418 options for features to all the files in nscd.
7419
7420 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7421
23bee3e8
RM
74222011-07-10 Roland McGrath <roland@hack.frob.com>
7423
7424 * csu/elf-init.c (__libc_csu_init): Comment typo.
7425
46a5b7f0
UD
74262011-07-09 Ulrich Drepper <drepper@gmail.com>
7427
7428 * po/pl.po: Update from translation team.
7429 * po/ja.po: Likewise.
7430 * po/ru.po: Likewise.
7431 * po/ko.po: Likewise.
7432 * po/fr.po: Likewise.
7433
d30cf5bb
RM
74342011-07-09 Roland McGrath <roland@hack.frob.com>
7435
113ddea4
RM
7436 * configure.in (.ctors/.dtors header and trailer check):
7437 Use an empirical test on a built program.
7438 * configure: Regenerated.
7439
574920b4
RM
7440 * configure.in (-z relro check): Use an empirical test on a built DSO.
7441 Detect, but do not require, on ia64.
7442 * configure: Regenerated.
7443
d30cf5bb
RM
7444 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7445 Update tests that use readelf to use $READELF instead.
7446 * configure: Regenerated.
7447
8538fdb3
UD
74482011-07-08 Ulrich Drepper <drepper@gmail.com>
7449
7450 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7451 if the result is not used.
7452
04d08991
AJ
74532011-07-05 Andreas Jaeger <aj@suse.de>
7454
7455 [BZ#9696]
7456 * stdlib/tst-strtod.c: Add testcase.
7457
de283087
AD
74582011-07-07 Ulrich Drepper <drepper@gmail.com>
7459
4e5f31c8 7460 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7461 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7462 The latter has a higher limit. Take additional parameter to pass to
7463 the new function.
7464 (__pathconf): Pass file to __statfs_link_max.
7465 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7466 __statfs_link_max.
7467 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7468 __statfs_link_max.
7469
de283087
AD
7470 [BZ #12868]
7471 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7472 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7473 Handle Lustre.
7474 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7475 (__statfs_filesize_max): Likewise.
7476 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7477
c75fa153
AJ
74782011-07-05 Andreas Jaeger <aj@suse.de>
7479
7480 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7481
1a544854
UD
74822011-07-06 Marek Polacek <mpolacek@redhat.com>
7483
7484 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7485 `status' variable.
7486 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7487 Likewise.
7488
6f0eec67
UD
74892011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7490
7491 * Makefile (strop-tests): Add strncat.
7492 * string/test-strncat.c: New file.
7493
aae30307
UD
74942011-06-30 Marek Polacek <mpolacek@redhat.com>
7495
7496 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7497
c0cfb5eb
UD
74982011-06-21 Andreas Jaeger <aj@suse.de>
7499
7500 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7501 Copy rule from iconvdata/Makefile.
7502
01636b21
UD
75032011-07-06 Ulrich Drepper <drepper@gmail.com>
7504
7505 [BZ #12922]
7506 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7507 but no long options are defined, just return 'W'.
7508
9895c8bc
UD
75092011-06-22 Marek Polacek <mpolacek@redhat.com>
7510
7511 [BZ #9696]
7512 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7513
5d4cf042
UD
75142011-07-06 Ulrich Drepper <drepper@gmail.com>
7515
7516 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7517 netgroups to read.
960e5535 7518 (innetgr): Likewise.
5d4cf042 7519
751eb97e
RM
75202011-07-05 Roland McGrath <roland@hack.frob.com>
7521
7522 * config.make.in (install_root): Default to $(DESTDIR).
7523
f15f1e45
UD
75242011-07-05 Ulrich Drepper <drepper@gmail.com>
7525
7526 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7527
4e34ac6a
RM
75282011-07-02 Roland McGrath <roland@hack.frob.com>
7529
5e9b6af4
RM
7530 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7531
84f9ea0f
RM
7532 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7533 containing directory rather than embedding absolute directory names.
7534
ea5ee9f7
RM
7535 * scripts/check-local-headers.sh: Rewritten using awk.
7536 Match by word, not by line. Print error messages for matches.
7537 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7538
1b74661a
RM
7539 * Makerules [shlib-lds-flags empty]:
7540 ($(common-objpfx)libc_pic.opts): New target.
7541 ($(common-objpfx)libc_pic.os.clean): New target.
7542 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7543
7544 * config.make.in (OBJCOPY): New variable.
7545 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7546 * configure: Regenerated.
7547
f781ef40
RM
7548 * config.make.in (use-default-link): New variable.
7549 * configure.in (use_default_link): Grok --with-default-link to set it.
7550 * configure: Regenerated.
7551 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7552 (shlib-lds, shlib-lds-flags): Define to empty.
7553
2d4fa81e
RM
7554 * Makerules (shlib-lds): New variable.
7555 (shlib-lds-flags): New variable.
7556 (build-shlib, build-moduile, build-module-asneeded): Use it.
7557 ($(common-objpfx)libc.so): Use $(shlib-lds).
7558 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7559 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7560
31fffa6b
RM
7561 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7562 DT_FLAGS/DT_FLAGS_1 with zero flags.
7563
4e34ac6a
RM
7564 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7565 linker script munging.
7566
fcfc776b
UD
75672011-07-02 Ulrich Drepper <drepper@gmail.com>
7568
7569 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7570 as 128-bit value.
7571 * crypt/sha512.c (sha512_process_block): Perform total addition using
7572 128-bit if possible.
7573 (__sha512_finish_ctx): Likewise.
7574 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7575 as 64-bit value.
7576 * crypt/sha256.c (SWAP64): Define.
7577 (sha256_process_block): Perform total addition using 64-bit if
7578 possible.
7579 (__sha256_finish_ctx): Likewise.
7580
99231d9a
UD
75812011-07-01 Ulrich Drepper <drepper@gmail.com>
7582
7583 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7584 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7585 * nscd/hstcache.c (cache_addhst): Likewise.
7586 * nscd/grpcache.c (cache_addgr): Likewise.
7587 * nscd/aicache.c (addhstaiX): Likewise
7588 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7589
445b4a53
TK
75902011-07-01 Thorsten Kukuk <kukuk@suse.de>
7591
7592 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7593 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7594 * nscd/hstcache.c (cache_addhst): Likewise.
7595 * nscd/grpcache.c (cache_addgr): Likewise.
7596 * nscd/aicache.c (addhstaiX): Likewise
7597
6d4d8e8e
AS
75982011-07-01 Andreas Schwab <schwab@redhat.com>
7599
7600 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7601 domain only when needed.
7602
89f654c5
AS
76032011-06-30 Andreas Schwab <schwab@redhat.com>
7604
7605 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7606 is always restored.
7607
cf3b23ff
UD
76082011-06-29 Ulrich Drepper <drepper@gmail.com>
7609
7610 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7611 are re-adding the entry.
7612 * nscd/servicescache.c (cache_addserv): Likewise.
7613
751626f9
AJ
76142011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7615
7616 * sysdeps/generic/dl-irel.h: fix protection against multiple
7617 inclusions.
7618 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7619
9113ea1f
UD
76202011-06-28 Ulrich Drepper <drepper@gmail.com>
7621
5c0b8d90
UD
7622 [BZ #12935]
7623 * malloc/memusage.sh: Fix quoting in message.
7624 * debug/xtrace.sh: Likewise.
7625
9113ea1f
UD
7626 * configure.in: Remove support for --experimental-malloc option, make
7627 it the default.
7628 * config.make.in: Likewise.
7629 * malloc/Makefile: Likewise.
7630
a4172181
AS
76312011-06-27 Andreas Schwab <schwab@redhat.com>
7632
7633 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7634 two-byte characters.
7635
78a7eee7
RM
76362011-06-27 Roland McGrath <roland@hack.frob.com>
7637
62bede13
RM
7638 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7639 AC_CACHE_CHECK invocation.
7640 * configure: Regenerated.
7641
78a7eee7
RM
7642 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7643
5ce33a62
UD
76442011-06-27 Ulrich Drepper <drepper@gmail.com>
7645
034807a9
UD
7646 [BZ #12350]
7647 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7648 bit from old_res_options.
7649
4902da17
UD
7650 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7651
5ce33a62
UD
7652 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7653 value type for setfct.
7654
c2344f56
L
76552011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7656
7657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7658 __gettimeofday instead of gettimeofday.
7659
68468076
UD
76602011-06-26 Ulrich Drepper <drepper@gmail.com>
7661
7662 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7663
acb0d739
L
76642011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7665
7666 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7667
7668 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7669 info.
7670
8912479f
L
76712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7672
7673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7674 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7675 strcpy-sse2-unaligned strncpy-sse2-unaligned
7676 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7677 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7678 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7679 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7680 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7681 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7682 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7683 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7684 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7685 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7686 (STRCPY): Support SSE2 and SSSE3 versions.
7687
d5495a11
UD
76882011-06-24 Ulrich Drepper <drepper@gmail.com>
7689
7690 [BZ #12874]
7691 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7692 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7693 kernels which artificially limit size of requests.
7694
0b1cbaae
L
76952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7696
7697 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7698 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7699 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7700 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7701 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7702 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7703 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7704 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7705 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7706 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7707 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7708 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7709 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7710 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7711 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7713 Enable unaligned load optimization for Intel Core i3, i5 and i7
7714 processors.
7715 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7716 Define.
7717 (index_Fast_Unaligned_Load): Define.
7718 (HAS_FAST_UNALIGNED_LOAD): Define.
7719
07f494a0
MP
77202011-06-23 Marek Polacek <mpolacek@redhat.com>
7721
7722 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7723
fa3fc0fe
UD
77242011-06-22 Ulrich Drepper <drepper@gmail.com>
7725
7726 [BZ #12907]
7727 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7728 until it is clear that the information is realy needed.
7729 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7730
e12df166
AS
77312011-06-22 Andreas Schwab <schwab@redhat.com>
7732
7733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7734
852eb34d
UD
77352011-06-22 Ulrich Drepper <drepper@gmail.com>
7736
84e2a551
UD
7737 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7738 /sys/devices/system/cpu/online if it is usable.
7739
852eb34d
UD
7740 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7741 reading the information from the /proc filesystem to once a second.
7742
6e502e19
UD
77432011-06-21 Andreas Jaeger <aj@suse.de>
7744
7745 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7746 NULL after inclusion of kernel headers.
7747
75d39ff2
UD
77482011-06-21 Ulrich Drepper <drepper@gmail.com>
7749
51f9aa6a
UD
7750 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7751 calls to internal_setent.
7752
c0244a9d
UD
7753 [BZ #12885]
7754 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7755 addresses using gethostbyname4_r ignore IPv4 addresses.
7756
c5e3c2ae
UD
7757 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7758 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7759
75d39ff2
UD
7760 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7761
42675c6f
DM
77622011-06-20 David S. Miller <davem@davemloft.net>
7763
7764 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7765 inclusions.
7766 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7767
7768 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7769 (elf_irel): Use it.
7770 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7771 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7772 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7773 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7774 * sysdeps/x86_64/dl-irel.h: Likewise.
7775
7776 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7777 * elf/dl-sym.c: Likewise.
7778
57912a71
UD
77792011-06-15 Ulrich Drepper <drepper@gmail.com>
7780
7781 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7782 need to dereference resplen2.
7783
ee22793d
AS
77842011-06-14 Andreas Schwab <schwab@redhat.com>
7785
7786 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7787
a9e836b0
UD
77882011-06-15 Ulrich Drepper <drepper@gmail.com>
7789
77fb9117
UD
7790 * Makeconfig: Define vardbdir and inst_vardbdir.
7791 * nss/Makefile: Add rules to install db-Makefile.
7792
40c1b22c
UD
7793 * nss/nss_db/db-XXX.c: Cleanup.
7794
9f2da732
UD
7795 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7796 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7797 GLIBC_PRIVATE.
7798 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7799 * nss/makedb.c: Implement -g option to specify that value strings
7800 are generated and should not be added to table iterated over for
7801 get*ent calls.
7802 * nss/nss_db/db-initgroups.c: New file.
7803
82e9a1f7
UD
7804 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7805 interface.
7806
c41af17e
UD
7807 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7808 (internal_getgrouplist): Adjust to name change.
7809 Update use_initgroups_entry if this is not the first call.
7810 * nss/databases.def: Add initgroups entry.
7811
a9e836b0
UD
7812 * nss/makedb.c (compute_tables): Check result of multiple hash table
7813 sizes to minimize maximum chain length.
7814
2666d441
UD
78152011-06-14 Ulrich Drepper <drepper@gmail.com>
7816
7817 * Versions.def: Add entry for libnss_db.
7818 * shlib-versions: Likewise.
7819 * nss/Makefile: Add rules to build libnss_db.
7820 * nss/Versions: Add libnss_db information. Organize libnss_files
7821 entries better.
7822 * nss/db-Makefile: Add gshadow support. Change rules for the new
7823 makedb progra. Some minor improvements to generate smaller files.
7824 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7825 here from...
7826 * nss/makedb.c: ...here.
7827 Improve database format to be smaller and require less memory at
7828 runtime.
7829 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7830 db anymore.
7831 * nss/nss_db/db-netgrp.c: Likewise.
7832 * nss/nss_db/db-open.c: Likewise.
7833 * nss/nss_files/flies-XXX.x: Adjust comments.
7834 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7835 * nss/nss_files/files-grp.c: Likewise.
7836 * nss/nss_files/files-hosts.c: Likewise.
7837 * nss/nss_files/files-network.c: Likewise.
7838 * nss/nss_files/files-proto.c: Likewise.
7839 * nss/nss_files/files-pwd.c: Likewise.
7840 * nss/nss_files/files-rpc.c: Likewise.
7841 * nss/nss_files/files-service.c: Likewise.
7842 * nss/nss_files/files-sgrp.c: Likewise.
7843 * nss/nss_files/files-spwd.c: Likewise.
7844 * nss/nss_db/db-alias.c: Removed.
7845 * nss/nss_db/dummy-db.h: Removed.
7846
9ee76b5a
UD
78472011-06-02 Ulrich Drepper <drepper@gmail.com>
7848
7849 * nss/makedb.c: Rewritten to not use database library.
7850 * nss/Makefile: Update to build new makedb program.
7851
c71ca1f8
AJ
78522011-06-14 Andreas Jaeger <aj@suse.de>
7853
7854 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7855 memset declaration.
7856
3154bfb8
UD
78572011-06-10 Andreas Schwab <schwab@redhat.com>
7858
7859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7860 tmpbuf.
7861
b350afab
RM
78622011-06-10 Roland McGrath <roland@hack.frob.com>
7863
decd4e50
RM
7864 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7865 * elf/Makefile ($(objpfx)ld.so): Likewise.
7866
5615eaf2
RM
7867 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7868 Don't list ld.so twice in dependencies.
7869
7870 * posix/bug-regex31.c: Include <stdlib.h>.
7871
7872 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7873
7874 * nis/nss_compat/compat-spwd.c
7875 (getspent_next_nss_netgr): Remove unused variable.
7876 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7877
7878 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7879 nonmembers" output to use the right array.
7880
7881 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7882
7883 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7884
7885 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7886 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7887 * catgets/gencat.c (read_input_file): Likewise.
7888 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7889
7890 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7891 variable definition inside #if's controlling its use.
7892
7893 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7894
7895 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7896
7897 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7898
7899 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7900 unreachable code.
7901
7902 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7903
b68e08db
RM
7904 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7905 * configure: Regenerated.
7906
b350afab
RM
7907 * Makerules: Revert last change.
7908 * elf/Makefile: Likewise.
7909
28368601
RM
79102011-06-09 Roland McGrath <roland@hack.frob.com>
7911
7912 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7913 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7914 (reloc-link): Likewise.
7915
11988f8f
UD
79162011-06-09 Ulrich Drepper <drepper@gmail.com>
7917
7918 * elf/Makefile: Add rules to build pldd.
7919 * elf/pldd.c: New file.
7920 * elf/pldd-xx.c: New file.
7921
e80fab37
UD
79222011-06-07 Ulrich Drepper <drepper@gmail.com>
7923
7924 * version.h: Update for 2.15 development version.
7925
9b849836
DM
79262011-06-07 David S. Miller <davem@davemloft.net>
7927
7928 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7929 ifuncs.
7930 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7931 elf_machine_lazy_rel): Likewise.
7932 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7934 elf_machine_lazy_rel): Likewise.
7935 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7936 dl_hwcap via passed in argument.
7937 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7938 Likewise.
7939
5a31b283
AK
79402011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7941
7942 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7943
069e52f8
RM
79442011-06-06 Roland McGrath <roland@hack.frob.com>
7945
7946 [BZ #12849]
7947 * manual/fdl-1.1.texi: New file, verbatim from:
7948 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7949 * manual/lgpl-2.1.texi: New file, verbatim from:
7950 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7951 * manual/Makefile (licenses): New variable, list those new file names.
7952 (texis): Use it.
7953 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7954
7955 * manual/fdl.texi: File removed.
7956 * manual/lesser.texi: File removed.
7957 * manual/libc.texinfo (Copying, Documentation License):
7958 Use new @include file names, put @appendix directive before @include.
7959
f16846a5
JJ
79602011-06-04 Jakub Jelinek <jakub@redhat.com>
7961
7962 [BZ #12841]
7963 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7964 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7965 (mq_open): Add __NTH.
7966
3d29045b
L
79672011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7968
7969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7970 Assume Intel Core i3/i5/i7 processor if AVX is available.
7971
8c297311
UD
79722011-05-31 Ulrich Drepper <drepper@gmail.com>
7973
7974 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7975 typo.
7976
c8fc0c91
UD
79772011-05-31 Andreas Schwab <schwab@redhat.com>
7978
7979 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7980 memory. Use alloca_account. Fix memory leak when retrying.
7981
5b27a807
UD
79822011-05-31 Ulrich Drepper <drepper@gmail.com>
7983
356f8bc6
UD
7984 * version.h (RELEASE): Bump for 2.14 release.
7985 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7986
5b27a807
UD
7987 * config.make.in (RANLIB): Remove entry.
7988
01f16ab0
UD
79892011-05-30 Ulrich Drepper <drepper@gmail.com>
7990
41fce8bd
UD
7991 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7992 (libc.pot): Work around missing support for .ksh extension in xgettext.
7993
4769ae77
UD
7994 [BZ #12684]
7995 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7996 if both request failed.
7997 (send_dg): In case of server errors clear resplen or *resplen2.
7998
6b1e7d19
UD
7999 [BZ #12454]
8000 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8001 when there are multiple maps.
8002 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8003 (_dl_fini): Remove test here.
8004
01f16ab0
UD
8005 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8006
b1ebd700
UD
80072011-05-29 Ulrich Drepper <drepper@gmail.com>
8008
7ae22829
UD
8009 [BZ #12350]
8010 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8011 bit from old_res_options.
8012 (gaih_inet): Likewise.
8013
553149f6 8014 [BZ #11099]
18a84741 8015 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8016 as signed.
8017
652ffab1
UD
8018 * resolv/res_init.c (res_setoptions): Make the code more compact.
8019
16985fd0
UD
8020 [BZ #11558]
8021 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8022 set RES_USEVC.
8023
0464f746
UD
8024 [BZ #11634]
8025 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8026
7d17596c
UD
8027 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8028
cf6bbbd7
UD
8029 [BZ #11781]
8030 * malloc/malloc.h: Declare malloc hook variables as volatile.
8031
13f1ab36
UD
8032 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8033 in last patch.
8034
b1ebd700
UD
8035 [BZ #11799]
8036 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8037 raise in the comment.
80e2212d
UD
8038 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8039 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8040 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8041
ce67228d
UD
80422011-05-28 Ulrich Drepper <drepper@gmail.com>
8043
8887a920
UD
8044 [BZ #12811]
8045 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8046 grow the buffers more if it already has to be sufficient.
8047 (build_wcs_upper_buffer): Likewise.
8048 * posix/regexec.c (check_matching): Likewise.
8049 (clean_state_log_if_needed): Likewise.
8050 (extend_buffers): Don't enlarge buffers beyond size of the input
8051 buffer.
8052 Patches mostly by Emil Wojak <emil@wojak.eu>.
8053 * posix/bug-regex32.c: New file.
8054 * posix/Makefile (tests): Add bug-regex32.
8055
4f031072
UD
8056 * locale/findlocale.c (_nl_find_locale): Return right away if
8057 _nl_explode_name failed.
8058 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8059
d0478f0c
UD
8060 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8061
de81b246
UD
8062 * debug/xtrace.sh: Unify messages.
8063 * malloc/memusage.sh: Likewise.
8064
c738465a
UD
8065 [BZ #12813]
8066 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8067 time symbol from vDSO. Substitute with vsyscall if not available.
8068 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8069 __vdso_time.
8070
f1f929d7
UD
8071 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8072 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8073 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8074 Add sendmmsg and internal_sendmmsg.
8075 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8076 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8077 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8078
ce67228d
UD
8079 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8080 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8081 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8082
e57420c6
UD
80832011-05-27 Ulrich Drepper <drepper@gmail.com>
8084
a8509ca5
UD
8085 [BZ #12813]
8086 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8087 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8088 available.
8089 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8090 __vdso_getcpu.
8091
e57420c6
UD
8092 [BZ #12814]
8093 * iconvdata/Makefile (tests): Add bug-iconv9.
8094 * iconvdata/bug-iconv9.c: New file.
8095
4d07db15
AS
80962011-05-27 Andreas Schwab <schwab@redhat.com>
8097
8098 [BZ #12814]
8099 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8100
ea486f69
JJ
81012011-05-25 Jakub Jelinek <jakub@redhat.com>
8102
8103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8104 (struct user_regs_struct): Change intcs field back to cs.
8105
6f038433
UD
81062011-05-25 Ulrich Drepper <drepper@gmail.com>
8107
8108 * po/ja.po: Update from translation team.
8109
67f86a25
UD
81102011-05-23 Ulrich Drepper <drepper@gmail.com>
8111
8112 [BZ #12795]
8113 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8114 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8115
def7fbd6
AS
81162011-05-20 Andreas Schwab <schwab@redhat.com>
8117
8118 * stdlib/longlong.h: Update from GCC.
8119
f50ef8f1
AS
81202011-05-23 Andreas Schwab <schwab@redhat.com>
8121
8122 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8123 parameter name.
8124 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8125 Add parameter name.
8126 (__sysconf): Pass it down.
8127
de7ce8f1
UD
81282011-05-22 Ulrich Drepper <drepper@gmail.com>
8129
f2962a71
UD
8130 [BZ #12671]
8131 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8132 some situations.
8133 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8134 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8135 add in in __libc_use_alloca calls. Adjust callers.
8136 (glob): Use malloc in some situations.
8137
de7ce8f1
UD
8138 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8139 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8140 pltexit.
8141
aec84f53
UD
81422011-05-21 Ulrich Drepper <drepper@gmail.com>
8143
05bb4a68
UD
8144 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8145 and CLOCK_BOOTTIME_ALARM.
8146
7ea72f99
UD
8147 [BZ #12782]
8148 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8149 is returned.
8150
7e4afad5
UD
8151 * string/_strerror.c (__strerror_r): Print negative errors as signed
8152 numbers.
8153
8e211fec
UD
8154 [BZ #12777]
8155 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8156 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8157 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8158
f7d82dc9
UD
8159 * configure.in: Fix typo in redirection and correct removal of test
8160 files in two cases.
8161
cc9e536d
UD
8162 [BZ #12788]
8163 * locale/setlocale.c (new_composite_name): Fix test to check for
8164 identical name of all categories.
8165
aec84f53
UD
8166 [BZ #12792]
8167 * libio/filedoalloc.c (local_isatty): New function.
8168 (_IO_file_doallocate): Use local_isatty.
8169 * stdio-common/perror.c (perror): In case a new stream is used
8170 forward the stream error.
8171 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8172 error flag.
8173
78e64fdc
RT
81742011-05-20 Ulrich Drepper <drepper@gmail.com>
8175
34a9094f
UD
8176 [BZ #11869]
8177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8178 alloca.
8179 * include/alloca.h (extend_alloca_account): Define.
8180
78e64fdc
RT
8181 [BZ #11857]
8182 * posix/regex.h: Fix comments with documentation of user-accessible
8183 fields after compilation and describe correct free'ing of pattern
8184 after re_compile_pattern.
8185 Patch by Reuben Thomas <rrt@sc3d.org>.
8186
457bddfc
RA
81872011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8188
8189 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8190 and -mno-altivec to prevent the compiler from using Altivec and/or
8191 VSX instructions when the corresponding registers are not available.
8192
a4527b51
AS
81932011-05-19 Andreas Schwab <schwab@redhat.com>
8194
8195 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8196
ed690b2f
UD
81972011-05-19 Ulrich Drepper <drepper@gmail.com>
8198
8199 * libio/freopen.c (freopen): Use __dup2, not dup2.
8200 * libio/freopen64.c (freopen64): Likewise.
8201
8db73634
L
82022011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8203
8204 [BZ #12775]
8205 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8206 * math/Makefile (tests): Add test-powl.
8207 (CFLAGS-test-powl.c): Define.
8208 * math/test-powl.c: New file.
8209
0a197a9d
L
82102011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8211
8212 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8213
ee30c380
UD
82142011-05-17 Ulrich Drepper <drepper@gmail.com>
8215
8216 [BZ #11837]
8217 * iconvdata/gb18030.c: Update to GB18020-2005.
8218
6ce75379
UD
82192011-05-16 Ulrich Drepper <drepper@gmail.com>
8220
a4b89fd8
AR
8221 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8222 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8223 Patch by Aharon Robbins <arnold@skeeve.com>.
8224
ea389b12
UD
8225 [BZ #11892]
8226 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8227 on the stack.
8228
68a3f91f
UD
8229 [BZ #11895]
8230 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8231 through underflows.
8232
15cc7dd1
UD
8233 [BZ #12766]
8234 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8235 point to strings before performing equality test for error_one_per_line
8236 mode.
8237
f3799213
UD
8238 [BZ #11697]
8239 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8240
d79a9c94
UD
8241 [BZ #11820]
8242 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8243 (struct user_fpregs_struct): Avoid __uint*_t types.
8244
56e5eb46
UD
8245 [BZ #6420]
8246 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8247 symbol info. Use it instead of calling _dl_addr locally.
8248 (lock_and_info): New function.
8249 (tr_freehook): Call lock_and_info and pass symbol info as additional
8250 parameter to tr_where.
8251 (tr_mallochook): Likewise.
8252 (tr_reallochook): Likewise.
8253 (tr_memalignhook): Likewise.
8254
6ce75379
UD
8255 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8256 used and couldn't be at all thread-safe.
8257
f8a3b5bf
UD
82582011-05-15 Ulrich Drepper <drepper@gmail.com>
8259
94b7cc37
UD
8260 * libio/freopen.c (freopen): Don't close old file descriptor
8261 before the new one is opened. Instead dup the new file descriptor
8262 to the old one after the new stream is created.
8263 * libio/freopen64.c (freopen64): Likewise.
8264 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8265 * libio/fileops.c (_IO_new_file_close_it): Handle new
8266 _IO_FLAGS2_NOCLOSE flag.
8267 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8268 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8269 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8270 _IO_FLAGS2_NOCLOSE flag.
8271 * include/unistd.h: Add hidden_proto for dup3.
8272 Define __have_dup3.
8273 * io/dup3.c: Define hidden symbol.
8274 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8275
bd25564e
UD
8276 [BZ #7101]
8277 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8278 when an incomplete long option is used.
8279 * posix/tst-getopt_long1.c: New file.
8280 * posix/Makefile (tests): Add tst-getopt_long1.
8281
c84cfef4
UD
8282 [BZ #10138]
8283 * scripts/config.guess: Update from autoconf-2.68.
8284 * scripts/config.sub: Likewise.
8285
3b85df27
UD
8286 [BZ #10157]
8287 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8288 tests into ...
8289 (has_cpuclock): ...this. New function.
8290 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8291 macro here based on has_cpuclock code.
8292
15a856b1
UD
8293 [BZ #10149]
8294 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8295 First byte (not low byte) is now always NUL.
8296 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8297
05f399e6
UD
8298 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8299 Use non-cancelable interfaces.
8300
10a52685 8301 [BZ #9809]
94ecc67d
UD
8302 * locale/iso-639.def: Add entry for Sorani.
8303
f8a3b5bf
UD
8304 [BZ #11901]
8305 * include/stdlib.h: Move include protection to the right place.
8306 Define abort_msg_s. Declare __abort_msg with it.
8307 * stdlib/abort.c (__abort_msg): Adjust type.
8308 * assert/assert.c (__assert_fail_base): New function. Majority
8309 of code from __assert_fail. Allocate memory for __abort_msg with
8310 mmap.
8311 (__assert_fail): Now call __assert_fail_base.
8312 * assert/assert-perr.c: Remove bulk of implementation. Use
8313 __assert_fail_base.
8314 * include/assert.hL Declare __assert_fail_base.
8315 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8316 mmap.
8317 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8318
1af4e298
UD
83192011-05-14 Ulrich Drepper <drepper@gmail.com>
8320
f8a3b5bf 8321 [BZ #11952]
d26dfc60
MG
8322 [BZ #12453]
8323 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8324 until all modules are registered in the DTV.
8325 * elf/Makefile: Add rules to build and run tst-tls19.
8326 * elf/tst-tls19.c: New file.
8327 * elf/tst-tls19mod1.c: New file.
8328 * elf/tst-tls19mod2.c: New file.
8329 * elf/tst-tls19mod3.c: New file.
8330 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8331
2fc54d6f
UD
8332 [BZ #12083]
8333 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8334 correctly.
8335
98d76b46
UD
8336 [BZ #12601]
8337 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8338 two-byte sequence errors.
8339 * iconvdata/Makefile (tests): Add bug-iconv8.
8340 * iconvdata/bug-iconv8.c: New file.
8341
da3c19ef
UD
8342 [BZ #12626]
8343 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8344 buf2 definition.
8345
ca408c15
UD
8346 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8347
d6f67f7d
UD
8348 [BZ #12432]
8349 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8350 (dummy_getcfa): New function.
8351 (init): Get _Unwind_GetCFA address, use dummy if not found.
8352 (backtrace_helper): In recursion check, also check whether CFA changes.
8353 (__backtrace): Completely initialize arg.
8354
1af4e298 8355 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8356 storing incomplete byte sequence in state object. Avoid testing for
8357 guaranteed too small input if we know there is enough data available.
1af4e298 8358
da62f81b
AS
83592011-05-11 Andreas Schwab <schwab@redhat.com>
8360
8361 * Makeconfig (+link-pie): Indent.
8362 * Rules (binaries-pie): Define if $(have-fpie) and
8363 $(build-shared).
8364 (binaries-shared): Also filter out $(binaries-pie).
8365 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8366 * nscd/Makefile (others-pie): Add nscd.
8367 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8368 ($(objpfx)nscd): Remove command override.
8369 * login/Makefile (others-pie): Add pt_chown.
8370 ($(objpfx)pt_chown): Remove command override.
8371 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8372 remove command overrides.
8373
fcabc0f8
UD
83742011-05-13 Ulrich Drepper <drepper@gmail.com>
8375
20030ae6
UD
8376 * libio/tst_putwc.c: Fix error messages.
8377
fcabc0f8
UD
8378 [BZ #12724]
8379 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8380 currently writing and seek to current position when not.
8381 * libio/Makefile (tests): Add bug-fclose1.
8382 * libio/bug-fclose1.c: New file.
8383
320a5dc0
PB
83842011-05-12 Ulrich Drepper <drepper@gmail.com>
8385
8386 [BZ #12511]
8387 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8388 don't set DF_1_NODELETE here.
8389 (do_lookup_x): When entering new entry test for copy relocation
8390 and if necessary set DF_1_NODELETE flag.
8391 * elf/tst-unique4.cc: New file.
8392 * elf/tst-unique4.h: New file.
8393 * elf/tst-unique4lib.cc: New file.
8394 * elf/Makefile: Add rules to build and run tst-unique4.
8395 Patch by Piotr Bury <pbury@goahead.com>.
8396
22836f52
UD
83972011-05-11 Ulrich Drepper <drepper@gmail.com>
8398
f574184a
UD
8399 [BZ #12052]
8400 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8401
e1fb097f
UD
8402 [BZ #12625]
8403 * misc/mntent_r.c (addmntent): Flush the stream after the output
8404
22836f52
UD
8405 [BZ #12393]
8406 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8407 (is_trusted_path_normalize): Skip initial colon. Append slash
8408 to empty buffer. Duplicate is_trusted_path code but allow
8409 constructed patch to be prefix.
8410 (is_dst): Allow $ORIGIN followed by /.
8411 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8412 Correct testing of result of is_trusted_path_normalize
8413 (decompose_rpath): Fix warning.
8414
7b3b0b2a
UD
84152011-05-10 Ulrich Drepper <drepper@gmail.com>
8416
8417 [BZ #11257]
8418 * grp/initgroups.c (internal_getgrouplist): When we found the service
8419 list through the initgroups entry in nsswitch.conf do not always
8420 continue on a successful lookup. Don't always use the
eac80ce2 8421 __nss_group_database value if it is set.
7b3b0b2a
UD
8422 * nss/nsswitch.conf (initgroups): Change action for successful db
8423 lookup to continue for compatibility.
8424
2a81eaa5
UD
84252011-05-09 Ulrich Drepper <drepper@gmail.com>
8426
be97a69e
UD
8427 [BZ #11532]
8428 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8429 and CP774 modules.
8430 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8431 and CP774 modules.
8432 * iconvdata/tst-tables.sh: Likewise.
8433 * iconvdata/cp770.c: New file.
8434 * iconvdata/cp771.c: New file.
8435 * iconvdata/cp772.c: New file.
8436 * iconvdata/cp773.c: New file.
8437 * iconvdata/cp774.c: New file.
8438 * iconvdata/testdata/CP770: New file.
8439 * iconvdata/testdata/CP770..UTF8: New file.
8440 * iconvdata/testdata/CP771: New file.
8441 * iconvdata/testdata/CP771..UTF8: New file.
8442 * iconvdata/testdata/CP772: New file.
8443 * iconvdata/testdata/CP772..UTF8: New file.
8444 * iconvdata/testdata/CP773: New file.
8445 * iconvdata/testdata/CP773..UTF8: New file.
8446 * iconvdata/testdata/CP774: New file.
8447 * iconvdata/testdata/CP774..UTF8: New file.
8448
8449 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8450 END CHARMAP line.
8451 * iconvdata/gen-8bit-gap.sh: Likewise.
8452 * iconvdata/gen-8bit.sh: Likewise.
8453
c1e9e399
UD
8454 * locale/iso-639.def: Add ary entry.
8455
24c55fb3 8456 [BZ #11258]
96b4b1b0
UD
8457 * locale/C-translit.h.in: Add U20A1 transliteration.
8458
bdc2f971
KB
8459 [BZ #12178]
8460 * locale/iso-639.def: Add wae entry.
8461 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8462
2952b117
UD
8463 [BZ #12545]
8464 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8465 for n.
8466
2a81eaa5
UD
8467 [BZ #12711]
8468 * locale/C-translit.h.in: Add entry for U20B9.
8469 Patch by pravin.d.s@gmail.com.
8470
28377d1b
UD
84712011-05-08 Ulrich Drepper <drepper@gmail.com>
8472
7fb90fb8
UD
8473 [BZ #12713]
8474 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8475 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8476 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8477 in rtld. Use *stat64.
7fb90fb8 8478 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8479 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8480 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8481 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8482 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8483 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8484 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8485 __fstatat64 macros.
7fb90fb8
UD
8486 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8487 * dirent/rewinddir.c: Add libc_hidden_def.
8488 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8489 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8490
28377d1b
UD
8491 * include/dirent.h (__alloc_dir): Add flags parameter.
8492 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8493 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8494 __alloc_dir.
8495 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8496 from fdopendir if O_CLOEXEC is already set.
8497
66bdbaa4
AM
84982011-03-15 Alan Modra <amodra@gmail.com>
8499
8500 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8501 l_tls_firstbyte_offset non-zero. Save padding offset in
8502 l_tls_firstbyte_offset for later use.
8503 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8504 freeing static tls block.
8505
95721191
JN
85062011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8507
8508 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8509 where #ifdef was intended. The intent is to prevent ARG_MAX from
8510 being defined by the kernel headers.
8511
f87dfb1f
UD
85122011-05-07 Ulrich Drepper <drepper@gmail.com>
8513
8514 [BZ #12734]
8515 * resolv/resolv.h: Define RES_NOTLDQUERY.
8516 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8517 no-tld-query and set RES_NOTLDQUERY.
8518 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8519 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8520 modern BIND to search name as TLD unless forbidden.
8521
47c3cd7a
UD
85222011-05-07 Petr Baudis <pasky@suse.cz>
8523 Ulrich Drepper <drepper@gmail.com>
8524
8525 [BZ #12393]
8526 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8527 (is_trusted_path): ...to here.
c1e9ea35 8528 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8529 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8530 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8531
8a35c912
PP
85322011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8533
8534 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8535 __BEGIN/__END_DECLS.
8536
acd41f47
UD
85372011-05-06 Ulrich Drepper <drepper@gmail.com>
8538
8539 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8540 NSS_STATUS_NOTFOUND if no record was found.
8541
597df647
AS
85422011-05-05 Andreas Schwab <schwab@redhat.com>
8543
8544 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8545 (headers-not-in-tirpc): Remove rpc/netdb.h
8546 * resolv/netdb.h: Revert last change.
8547
b9af1301
PP
85482011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8549
8550 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8551 circular dependency between libgcc.a and libc.a.
8552
4e34d5f5
AS
85532011-05-05 Andreas Schwab <schwab@redhat.com>
8554
8555 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8556 * nis/Makefile: Don't install rpcsvc/*.
8557 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8558 instead of <rpc/types.h>.
8559 (MAXHOSTNAMELEN): Define.
8560
00ee369c
AS
85612011-05-03 Andreas Schwab <schwab@redhat.com>
8562
8563 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8564
0b592a30
MB
85652011-04-28 Maciej Babinski <mbabinski@google.com>
8566
8567 [BZ #12714]
8568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8569 gethostbyname4_r when IPv6 results are possible.
8570
6e04cbbe
UD
85712011-05-02 Ulrich Drepper <drepper@gmail.com>
8572
8573 [BZ #12723]
8574 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8575 _PC_PIPE_BUF handling.
8576
e4ecafe0
BH
85772011-04-30 Bruno Haible <bruno@clisp.org>
8578
8579 [BZ #12717]
8580 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8581 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8582 to 'int'.
8583 * inet/getnameinfo.c (getnameinfo): Likewise.
8584
125ee683
UD
85852011-04-29 Ulrich Drepper <drepper@gmail.com>
8586
8587 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8588 to groups setting in database lookup.
8589 * nss/nsswitch.conf: Add initgroups entry.
8590
b722481a
EB
85912011-04-22 Ulrich Drepper <drepper@gmail.com>
8592
8593 [BZ #12685]
8594 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8595 mode string.
8596 Patch by Eric Blake <eblake@redhat.com>.
8597
4df46dbd
L
85982011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8599
8600 * sunrpc/Makefile (need-export-routines): Add svc_run.
8601 (routines): Remove svc_run.
8602 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8603 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8604 * sunrpc/svc_run.c (svc_run): Likewise.
8605 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8606
e84142d2
UD
86072011-04-21 Ulrich Drepper <drepper@gmail.com>
8608
8609 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8610 problem in reallocation in last patch.
8611
877175d8
UD
86122011-04-20 Ulrich Drepper <drepper@gmail.com>
8613
8614 * sunrpc/Makefile: Move inclusion of Rules.
8615
ab8eed78
UD
86162011-04-19 Ulrich Drepper <drepper@gmail.com>
8617
8618 * nss/nss_files/files-initgroups.c: New file.
8619 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8620 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8621 _nss_files_initgroups_dyn.
8622
e3d8f584
RS
86232011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8624
8625 * elf/elf.h (R_ARM_IRELATIVE): Define.
8626
af190f45
UD
86272011-04-19 Ulrich Drepper <drepper@gmail.com>
8628
8629 * po/ru.po: Update from translation team.
8630
53cf59ef
UD
86312011-04-17 Ulrich Drepper <drepper@gmail.com>
8632
8633 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8634 dependencies.
8635
4c559bcd
MF
86362011-02-06 Mike Frysinger <vapier@gentoo.org>
8637
8638 [BZ #12653]
8639 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8640 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8641 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8642 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8643 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8644
4420675c
AS
86452011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8646
8647 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8648 differing bytes.
8649 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8650 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8651 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8652
75ea32ab
UD
86532011-04-17 Ulrich Drepper <drepper@gmail.com>
8654
8655 [BZ #12420]
8656 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8657 storing it.
8658 * stdlib/bug-getcontext.c: New file.
8659 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8660
27390476
AK
86612011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8662
8663 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8664 instructions into .machine "z9-109".
8665 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8666 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8667
10442705
AK
86682011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8669
8670 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8671 between environment variables and auxiliary vector.
8672
7b57bfe5
UD
86732011-04-16 Ulrich Drepper <drepper@gmail.com>
8674
8675 * Makefile: Add rules to build linkobj/libc.so.
8676 * include/libc-symbols.h: Define libc_hidden_nolink.
8677 * include/rpc/auth.h: Mark functions which are to be hidden.
8678 * include/rpc/auth_des.h: Likewise.
8679 * include/rpc/auth_unix.h: Likewise.
8680 * include/rpc/clnt.h: Likewise.
8681 * include/rpc/des_crypt.h: Likewise.
8682 * include/rpc/key_prot.h: Likewise.
8683 * include/rpc/pmap_clnt.h: Likewise.
8684 * include/rpc/pmap_prot.h: Likewise.
8685 * include/rpc/pmap_rmt.h: Likewise.
8686 * include/rpc/rpc_msg.h: Likewise.
8687 * include/rpc/svc.h: Likewise.
8688 * include/rpc/svc_auth.h: Likewise.
8689 * include/rpc/xdr.h: Likewise.
8690 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8691 * nss/Makefile: Likewise.
8692 * sunrpc/Makefile: Don't install headers. Build library with normal
8693 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8694 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8695 for the compat linking library. Remove use of INTDEF/INTUSE.
8696 * sunrpc/auth_none.c: Likewise.
8697 * sunrpc/auth_unix.c: Likewise.
8698 * sunrpc/authdes_prot.c: Likewise.
8699 * sunrpc/authuxprot.c: Likewise.
8700 * sunrpc/clnt_gen.c: Likewise.
8701 * sunrpc/clnt_perr.c: Likewise.
8702 * sunrpc/clnt_raw.c: Likewise.
8703 * sunrpc/clnt_simp.c: Likewise.
8704 * sunrpc/clnt_tcp.c: Likewise.
8705 * sunrpc/clnt_udp.c: Likewise.
8706 * sunrpc/clnt_unix.c: Likewise.
8707 * sunrpc/des_crypt.c: Likewise.
8708 * sunrpc/des_soft.c: Likewise.
8709 * sunrpc/get_myaddr.c: Likewise.
8710 * sunrpc/key_call.c: Likewise.
8711 * sunrpc/key_prot.c: Likewise.
8712 * sunrpc/netname.c: Likewise.
8713 * sunrpc/pm_getmaps.c: Likewise.
8714 * sunrpc/pm_getport.c: Likewise.
8715 * sunrpc/pmap_clnt.c: Likewise.
8716 * sunrpc/pmap_prot.c: Likewise.
8717 * sunrpc/pmap_prot2.c: Likewise.
8718 * sunrpc/pmap_rmt.c: Likewise.
8719 * sunrpc/publickey.c: Likewise.
8720 * sunrpc/rpc_cmsg.c: Likewise.
8721 * sunrpc/rpc_common.c: Likewise.
8722 * sunrpc/rpc_dtable.c: Likewise.
8723 * sunrpc/rpc_prot.c: Likewise.
8724 * sunrpc/rpc_thread.c: Likewise.
8725 * sunrpc/rtime.c: Likewise.
8726 * sunrpc/svc.c: Likewise.
8727 * sunrpc/svc_auth.c: Likewise.
8728 * sunrpc/svc_authux.c: Likewise.
8729 * sunrpc/svc_raw.c: Likewise.
8730 * sunrpc/svc_run.c: Likewise.
8731 * sunrpc/svc_simple.c: Likewise.
8732 * sunrpc/svc_tcp.c: Likewise.
8733 * sunrpc/svc_udp.c: Likewise.
8734 * sunrpc/svc_unix.c: Likewise.
8735 * sunrpc/svcauth_des.c: Likewise.
8736 * sunrpc/xcrypt.c: Likewise.
8737 * sunrpc/xdr.c: Likewise.
8738 * sunrpc/xdr_array.c: Likewise.
8739 * sunrpc/xdr_float.c: Likewise.
8740 * sunrpc/xdr_intXX_t.c: Likewise.
8741 * sunrpc/xdr_mem.c: Likewise.
8742 * sunrpc/xdr_rec.c: Likewise.
8743 * sunrpc/xdr_ref.c: Likewise.
8744 * sunrpc/xdr_sizeof.c: Likewise.
8745 * sunrpc/xdr_stdio.c: Likewise.
8746
e6c61494
UD
87472011-04-10 Ulrich Drepper <drepper@gmail.com>
8748
8749 [BZ #12650]
8750 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8751 * sysdeps/ia64/dl-tls.h: Likewise.
8752 * sysdeps/powerpc/dl-tls.h: Likewise.
8753 * sysdeps/s390/dl-tls.h: Likewise.
8754 * sysdeps/sh/dl-tls.h: Likewise.
8755 * sysdeps/sparc/dl-tls.h: Likewise.
8756 * sysdeps/x86_64/dl-tls.h: Likewise.
8757 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8758
34fe483e
AS
87592011-03-14 Andreas Schwab <schwab@redhat.com>
8760
8761 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8762 rpath element also skip the following colon.
8763 (expand_dynamic_string_token): Add is_path parameter and pass
8764 down to DL_DST_REQUIRED and _dl_dst_substitute.
8765 (decompose_rpath): Call expand_dynamic_string_token with
8766 non-zero is_path. Ignore empty rpaths.
8767 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8768 with zero is_path.
8769
f12a32e6
AS
87702011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8771
8772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8773 Make cancelable.
8774
38a7d692
UD
87752011-04-09 Ulrich Drepper <drepper@gmail.com>
8776
8777 [BZ #12655]
8778 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8779 Patch by Filipe David Manana <fdmanana@apache.org>.
8780
e451d22b
AS
87812011-04-07 Andreas Schwab <schwab@redhat.com>
8782
8783 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8784 Maintain aligned stack.
8785 (CHECK_RSP): Remove unused macro.
8786
dedc7c7b
UD
87872011-04-03 Ulrich Drepper <drepper@gmail.com>
8788
8789 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8790 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8791
94521213
UD
87922011-04-02 Ulrich Drepper <drepper@gmail.com>
8793
8794 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8795
8cb700c0 8796 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 8797
0354e355
L
87982011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8799
8800 [BZ #12518]
8801 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8802 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8803 * sysdeps/x86_64/memmove.c: New file.
8804 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8805 (memcpy): Renamed to ...
8806 (__new_memcpy): This.
8807 (memcpy): Provide GLIBC_2_14 memcpy.
8808 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8809 (memcpy): Provide GLIBC_2_2_5 memcpy.
8810
8593482f
UD
88112011-04-01 Ulrich Drepper <drepper@gmail.com>
8812
8813 [BZ #12631]
8814 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8815
81a5726b
AS
88162011-03-30 Andreas Schwab <schwab@redhat.com>
8817
8818 * misc/syncfs.c: New file.
8819 * misc/Makefile (routines): Add syncfs.
8820 * posix/unistd.h: Declare syncfs.
8821 * sysdeps/unix/syscalls.list: Add syncfs.
8822
00e5419f
AS
88232011-04-01 Andreas Schwab <schwab@redhat.com>
8824
8825 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8826 open_by_handle_at.
8827 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8828 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8829 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8830 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8831 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8832 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8833 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8834
748876bf
UD
88352011-04-01 Ulrich Drepper <drepper@gmail.com>
8836
658e451d
UD
8837 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8838 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8839 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8840 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8841 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8843 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8844
748876bf
UD
8845 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8846 sync_file_range.c with -fexceptions.
8847 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8848 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8849 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8850 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8851 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8852 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8853 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
8854 sync_file_range as cancellation point
8855 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8856 now a wrapper around __call_sync_file_range with cancellation handling.
8857 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8858 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8859 function name to __call_sync_file_range.
8860 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8861 Add call_sync_file_range.
748876bf 8862
6e63d5e1
AS
88632011-04-01 Andreas Schwab <schwab@redhat.com>
8864
8865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 8866 bits/timex.h.
6e63d5e1 8867
46998f74
UD
88682011-04-01 Ulrich Drepper <drepper@gmail.com>
8869
4c1423ed
UD
8870 * iconv/iconv.h: Fix typo in comment.
8871 * io/fcntl.h: Likewise.
8872 * libio/stdio.h: Likewise.
8873 * posix/spawn.h: Likewise.
8874 * posix/unistd.h: Likewise.
8875 * stdlib/stdlib.h: Likewise.
8876 * time/time.h: Likewise.
8877 * wcsmbs/wchar.h: Likewise.
8878
158648c0
UD
8879 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8880 open_by_handle): Add.
8881 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8882 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8883 Augment a few comments.
8884 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8885 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8886 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8888 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8889 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8890 open_by_handle.
8891
46998f74
UD
8892 * io/fcntl.h (AT_EMPTY_PATH): Define.
8893
83fe108b
UD
88942011-03-30 Ulrich Drepper <drepper@gmail.com>
8895
8896 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8897 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8898 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8899 to...
8900 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8901 * Versions.def: Add GLIBC_2.14.
8902 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8903 Export.
83fe108b 8904
bb242059
UD
89052011-03-22 Ulrich Drepper <drepper@gmail.com>
8906
8907 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8908 round counter.
8909 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8910
c97a1282
L
89112011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8912
8913 [BZ #12597]
8914 * string/test-strncmp.c (do_page_test): New function.
8915 (check2): Likewise.
8916 (test_main): Call check2.
8917 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8918
2a115601
UD
89192011-03-20 Ulrich Drepper <drepper@gmail.com>
8920
8921 [BZ #12587]
8922 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8923 Handle cache information in CPU leaf 4.
8924 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8925
8126d904
UD
89262011-03-18 Ulrich Drepper <drepper@gmail.com>
8927
042c49c6 8928 [BZ #12583]
8126d904
UD
8929 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8930 character representation.
8931 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8932
ccfe366e
RA
89332011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8934
8935 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8936 END(__isnan) to END(__isnanf) to match function entry point/label
8937 EALIGN(__isnanf,...).
8938
c6e13027
JJ
89392011-03-10 Jakub Jelinek <jakub@redhat.com>
8940
8941 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8942
33f85a3f
UD
89432011-03-10 Ulrich Drepper <drepper@gmail.com>
8944
028478fa
UD
8945 [BZ #12510]
8946 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8947 copy from the symbol referenced in the relocation to initialize the
8948 used variable.
8949 Patch by Piotr Bury <pbury@goahead.com>.
8950 * elf/Makefile: Add rules to build and tst-unique3.
8951 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8952 * elf/tst-unique3.cc: New file.
8953 * elf/tst-unique3.h: New file.
8954 * elf/tst-unique3lib.cc: New file.
8955 * elf/tst-unique3lib2.cc: New file.
8956
33f85a3f
UD
8957 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8958
03592fc7
MF
89592011-03-10 Mike Frysinger <vapier@gentoo.org>
8960
8961 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8962 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8963 to _start.
03592fc7 8964
6a5ee102
UD
89652011-03-06 Ulrich Drepper <drepper@gmail.com>
8966
8967 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8968 to-be-loaded object along a path to loader is ld.so.
8969
7e4ba49c
HJ
89702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8971 Ulrich Drepper <drepper@gmail.com>
8972
8973 * sysdeps/x86_64/memset.S: After aligning destination, code
8974 branches to different locations depending on the value of
8975 misalignment, when multiarch is enabled. Fix this.
8976
89772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8978
8979 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8980 Set _x86_64_preferred_memory_instruction for AMD processsors.
8981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8982 Set bit_Prefer_SSE_for_memop for AMD processors.
8983
13a804de
UD
89842011-03-04 Ulrich Drepper <drepper@gmail.com>
8985
8986 * libio/fmemopen.c (fmemopen): Optimize a bit.
8987
9d25c392
AS
89882011-03-03 Andreas Schwab <schwab@redhat.com>
8989
8990 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8991
a5543c6a
RM
89922011-03-03 Roland McGrath <roland@redhat.com>
8993
8994 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8995
012d35f7
DM
89962011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8997
7e4ba49c 8998 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
8999 __bzero_ultra1 instead of __memset_ultra1.
9000
4bff6e01
AS
90012011-02-23 Andreas Schwab <schwab@redhat.com>
9002 Ulrich Drepper <drepper@gmail.com>
9003
9004 [BZ #12509]
9005 * include/link.h (struct link_map): Add l_orig_initfini.
9006 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9007 returning unsuccessfully.
9008 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9009 close of a file loaded at startup, restore the original l_initfini
9010 list.
9011 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9012 list, store the pointer.
9013 * elf/Makefile ($(objpfx)noload-mem): New rule.
9014 (noload-ENV): Define.
9015 (tests): Add $(objpfx)noload-mem.
9016 * elf/noload.c: Include <memcheck.h>.
9017 (main): Call mtrace. Close all opened handles.
9018
f2092faf
AS
90192011-02-17 Andreas Schwab <schwab@redhat.com>
9020
9021 [BZ #12454]
9022 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9023 dependencies are missing.
9024
6c8a2e88
ST
90252011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9026
f2092faf 9027 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9028 Hurd needs munmap.
9029 * sysdeps/mach/hurd/ifreq.h: New file.
9030
84a42118
PB
90312011-01-27 Petr Baudis <pasky@suse.cz>
9032 Ulrich Drepper <drepper@gmail.com>
9033
071f805e 9034 [BZ 12445]#
84a42118
PB
9035 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9036 to extend_alloca().
9037 * stdio-common/bug23.c: New file.
9038 * stdio-common/Makefile (tests): Add bug23.
9039
e23fe25b
AS
90402010-09-28 Andreas Schwab <schwab@redhat.com>
9041 Ulrich Drepper <drepper@gmail.com>
9042
9043 [BZ #12489]
9044 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9045 before performing relro protection. At old place add assertion
9046 to make sure nothing changed.
9047
d3f02e10
NS
90482011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9049 Glauber de Oliveira Costa <glommer@gmail.com>
9050
9051 * elf/elf.h: Add new ARM TLS relocs.
9052
d55fd7a5
RA
90532011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9054
9055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9056 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9057 cast from r3.
9058 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9059 'tests' variable.
9060 * sysdeps/wordsize-64/tst-writev.c: New file.
9061
2206397e
RA
90622011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9063
9064 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9065 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9066 insns in _dl_start to prevent a TOC reference before relocs are
9067 resolved.
9068
e9433893
UD
90692011-02-15 Ulrich Drepper <drepper@gmail.com>
9070
9071 [BZ #12469]
9072 * Makeconfig: Remove RANLIB definition.
9073 * Makerules: Don't use RANLIB.
9074 * aclocal.m4: Remove ranlib test.
9075 * configure.in: No need to check for ranlib.
9076 * elf/rtld-Rules: Don't use RANLIB.
9077
f75286c6
ST
90782011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9079
8e31c82d
ST
9080 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9081 protection macro.
9082 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9083 inclusion protection macro.
9084
f75286c6
ST
9085 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9086 SIGRTMIN and SIGRTMAX and print information in that case only when
9087 SIGRTMIN is defined.
9088
c1d0e639
JJ
90892011-02-11 Jakub Jelinek <jakub@redhat.com>
9090
9091 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9092 arginfo fn returning -1.
9093
9094 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9095 and thousands string is zero terminated.
9096
edf9294e
AS
90972011-02-03 Andreas Schwab <schwab@redhat.com>
9098
9099 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9100 sysdeps/unix/sysv/linux/bits/socket.h.
9101
2b7e92df
ST
91022011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9103
edf9294e
AS
9104 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9105 (__CPU_COUNT): Remove old macros.
9106 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9107 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9108 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9109 (__sched_cpualloc, __sched_cpufree): Add declarations.
9110
a4c7ea7b
UD
91112011-02-05 Ulrich Drepper <drepper@gmail.com>
9112
9113 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9114 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9115 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9116 (readdhstai): Return value of addhstaiX call.
9117 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9118 (addgrbyX): Return value returned by cache_addgr.
9119 (readdgrbyname): Return value returned by addgrbyX.
9120 (readdgrbygid): Likewise.
9121 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9122 (addpwbyX): Return value returned by cache_addpw.
9123 (readdpwbyname): Return value returned by addhstbyX.
9124 (readdpwbyuid): Likewise.
9125 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9126 (addservbyX): Return value returned by cache_addserv.
9127 (readdservbyname): Return value returned by addservbyX:
9128 (readdservbyport): Likewise.
9129 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9130 (addhstbyX): Return value returned by cache_addhst.
9131 (readdhstbyname): Return value returned by addhstbyX.
9132 (readdhstbyaddr): Likewise.
9133 (readdhstbynamev6): Likewise.
9134 (readdhstbyaddrv6): Likewise.
9135 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9136 (readdinitgroups): Return value returned by addinitgroupsX.
9137 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9138 (prune_cache): Keep track of timeout value of re-added entries.
9139 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9140 * nscd/nscd.h: Adjust prototypes of readd* functions.
9141
a0bf67cc
RM
91422011-02-04 Roland McGrath <roland@redhat.com>
9143
9144 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9145 (nis_stats): Likewise.
9146 * nis/nis_modify.c (nis_modify): Likewise.
9147 * nis/nis_remove.c (nis_remove): Likewise.
9148 * nis/nis_add.c (nis_add): Likewise.
9149
9150 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9151
9152 * posix/fnmatch_loop.c: Add some consts.
9153
9154 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9155
435b95eb
L
91562011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9157
9158 [BZ #12460]
9159 * config.make.in (config-cflags-novzeroupper): Define.
9160 * configure.in: Substitute libc_cv_cc_novzeroupper.
9161 * elf/Makefile (AVX-CFLAGS): Define.
9162 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9163 (CFLAGS-tst-auditmod4a.c): Likewise.
9164 (CFLAGS-tst-auditmod4b.c): Likewise.
9165 (CFLAGS-tst-auditmod6b.c): Likewise.
9166 (CFLAGS-tst-auditmod6c.c): Likewise.
9167 (CFLAGS-tst-auditmod7b.c): Likewise.
9168 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9169
8517b15e
UD
91702011-02-02 Ulrich Drepper <drepper@gmail.com>
9171
9172 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9173 function to the callback.
9174 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9175
10a656fe
AS
91762011-02-02 Andreas Schwab <schwab@redhat.com>
9177
9178 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9179 of errno.
9180
968dad0a
UD
91812011-01-19 Ulrich Drepper <drepper@gmail.com>
9182
9f94d2ea 9183 [BZ #11724]
968dad0a
UD
9184 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9185 of constructors.
9186 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9187 of destructors.
9188 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9189
9190 [BZ #11724]
9191 * elf/Makefile: Add rules to build and run new test.
9192 * elf/tst-initorder.c: New file.
9193 * elf/tst-initorder.exp: New file.
9194 * elf/tst-initordera1.c: New file.
9195 * elf/tst-initordera2.c: New file.
9196 * elf/tst-initordera3.c: New file.
9197 * elf/tst-initordera4.c: New file.
9198 * elf/tst-initorderb1.c: New file.
9199 * elf/tst-initorderb2.c: New file.
9200 * elf/tst-order-a1.c: New file.
9201 * elf/tst-order-a2.c: New file.
9202 * elf/tst-order-a3.c: New file.
9203 * elf/tst-order-a4.c: New file.
9204 * elf/tst-order-b1.c: New file.
9205 * elf/tst-order-b2.c: New file.
9206 * elf/tst-order-main.c: New file.
9207 New test case by George Gensure <werkt0@gmail.com>.
9208
86e92359
UD
92092010-10-01 Andreas Schwab <schwab@redhat.com>
9210
9211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9212 decoding ACE if AI_CANONIDN.
9213
5d5732b0
UD
92142011-01-18 Ulrich Drepper <drepper@gmail.com>
9215
9216 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9217
a77e8cbc
UD
92182011-01-17 Ulrich Drepper <drepper@gmail.com>
9219
6392473f
UD
9220 * version.h (RELEASE): Bump for 2.13 release.
9221 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9222
620a0529
UD
9223 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9224
18ba70a5
UD
9225 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9226 MADV_NOHUGEPAGE.
32465c3e
UD
9227 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9228 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9229 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9230 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9231 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9232 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9233
c0dafcf1
UD
9234 * posix/getconf.c: Update copyright year.
9235 * catgets/gencat.c: Likewise.
9236 * csu/version.c: Likewise.
9237 * debug/catchsegv.sh: Likewise.
9238 * debug/xtrace.sh: Likewise.
9239 * elf/ldconfig.c: Likewise.
9240 * elf/ldd.bash.in: Likewise.
9241 * elf/sprof.c (print_version): Likewise.
9242 * iconv/iconv_prog.c: Likewise.
9243 * iconv/iconvconfig.c: Likewise.
9244 * locale/programs/locale.c: Likewise.
9245 * locale/programs/localedef.c: Likewise.
9246 * malloc/memusage.sh: Likewise.
9247 * malloc/mtrace.pl: Likewise.
9248 * nscd/nscd.c (print_version): Likewise.
9249 * nss/getent.c: Likewise.
9250
a77e8cbc
UD
9251 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9252 PF_CAIF, and PF_ALG.
9253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9254
77e8bddf
AS
92552011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9256
1f20b93a
AS
9257 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9258 (modules-names): Use them.
9259 (ifunc-test-modules, ifunc-pie-tests): Define.
9260 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9261 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9262 (test-extras): Likewise.
9263 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9264 $(compile-command.c).
9265 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9266 (all-built-dso): Define.
9267 (check-textrel.out, check-execstack.out): Depend on it.
9268
77e8bddf
AS
9269 * configure.in: Don't override --enable-multi-arch.
9270
bc425b33
UD
92712011-01-15 Ulrich Drepper <drepper@gmail.com>
9272
9273 [BZ #6812]
9274 * nscd/hstcache.c (tryagain): Define.
9275 (cache_addhst): Return tryagain not notfound for temporary errors.
9276 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9277 failed.
9278
794c3ad3
UD
92792011-01-14 Ulrich Drepper <drepper@gmail.com>
9280
70181fdd
UD
9281 [BZ #10563]
9282 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9283 to make the syscall.
9284 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9285
794c3ad3
UD
9286 [BZ #12378]
9287 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9288 and fall back to matching as normal character if the string ends before
9289 the matching ']' is found. This is what POSIX requires.
9290 * posix/testfnm.c: Adjust test result.
9291 * posix/globtest.sh: Adjust test result. Add new test.
9292 * posix/tst-fnmatch.input: Likewise.
9293 * posix/tst-fnmatch2.c: Add new test.
9294
68dc9497
AS
92952010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9296
9297 * elf/Makefile (check-execstack): Revert last change. Depend on
9298 check-execstack.h.
9299 (check-execstack.h): New target.
9300 (generated): Add check-execstack.h.
9301 * elf/check-execstack.c: Include "check-execstack.h".
9302 (main): Revert last change.
9303 (handle_file): Return zero if GNU_STACK is absent and
9304 DEFAULT_STACK_PERMS doesn't include PF_X.
9305
451f001b
UD
93062011-01-13 Ulrich Drepper <drepper@gmail.com>
9307
cfa28e56
UD
9308 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9309 in child fails because the descriptor is already closed.
8cf8ce17
UD
9310 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9311 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9312 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9313
1086d70d
UD
9314 [BZ #12397]
9315 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9316 syscall.
9317
451f001b
UD
9318 [BZ #10484]
9319 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9320 temporary buffer used to handle multi lookups locally.
a85b5cb4 9321 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9322
08769175
UD
93232011-01-12 Ulrich Drepper <drepper@gmail.com>
9324
9325 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9326 loader is ld.so.
9327
5e49c52e
UD
93282011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9329
9330 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9331 alignment for SSE2.
9332
60522a5f
UD
93332011-01-12 Ulrich Drepper <drepper@gmail.com>
9334
9335 [BZ #12394]
9336 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9337 characters. When rounding increased number of integer digits recompute
9338 number of groups.
9339 * stdio-common/tst-grouping.c: New file.
9340 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9341
f257bbd7
UD
93422011-01-09 Ulrich Drepper <drepper@gmail.com>
9343
9344 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9345 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9346
9347 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9348 void.
9349 * bits/select.h: Likewise.
9350
fa9c15cb
UD
93512011-01-08 Ulrich Drepper <drepper@gmail.com>
9352
9353 * po/ja.po: Update from translation team.
9354
16c2895f
DM
93552011-01-04 David S. Miller <davem@sunset.davemloft.net>
9356
9357 [BZ #11155]
9358 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9359 implementation just like for lxstat, fxstatat, et al.
9360
2543fef2
JM
93612010-12-27 Jim Meyering <meyering@redhat.com>
9362
9363 [BZ #12348]
9364 * posix/regexec.c (build_trtable): Return failure indication upon
9365 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9366
98727dbe
UD
93672010-12-25 Ulrich Drepper <drepper@gmail.com>
9368
5bd6dc5c
UD
9369 [BZ #12201]
9370 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9371 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9372 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9373 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9374
97983464
UD
9375 [BZ #12207]
9376 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9377
98727dbe
UD
9378 [BZ #12204]
9379 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9380 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9381
4a531bb0
L
93822010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9383
9384 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9385 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9386 script has SORT_BY_INIT_PRIORITY.
9387 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9388 NO_CTORS_DTORS_SECTIONS is defined.
9389 * elf/soinit.c: Likewise.
9390 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9391 NO_CTORS_DTORS_SECTIONS is defined.
9392 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9393 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9394 * sysdeps/sh/init-first.c: Likewise.
9395 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9396
07eb4b71
UD
93972010-12-24 Ulrich Drepper <drepper@gmail.com>
9398
9399 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9400 always use the slow path.
9401
30950a5f
RA
94022010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9403
9404 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9405 similar rule which adds the sysdep directories to the header search in
9406 order to pick up the correct platform stackinfo.h.
9407 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9408 perform test if it is, otherwise return successfully without testing.
9409 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9410 DEFAULT_STACK_PERMS define in stackinfo.h.
9411 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9412 defined in stackinfo.h.
9413 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9414 DEFAULT_STACK_PERMS defined in stackinfo.h.
9415 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9416 * sysdeps/ia64/stackinfo.h: Likewise.
9417 * sysdeps/s390/stackinfo.h: Likewise.
9418 * sysdeps/sh/stackinfo.h: Likewise.
9419 * sysdeps/sparc/stackinfo.h: Likewise.
9420 * sysdeps/x86_64/stackinfo.h: Likewise.
9421 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9422 PF_X for powerpc64. Retain PF_X for powerpc32.
9423
db753e2c
UD
94242010-12-19 Ulrich Drepper <drepper@gmail.com>
9425
14b697f7
UD
9426 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9427 accurately.
db753e2c
UD
9428 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9429 GETDENTS_64BIT_ALIGNED.
9430
28300719
UD
94312010-12-14 Ulrich Drepper <dreper@gmail.com>
9432
14b697f7 9433 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9434
4f197237
AS
94352010-12-10 Andreas Schwab <schwab@redhat.com>
9436
dbb0472f
AS
9437 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9438 _GNU_SOURCE.
9439
4f197237
AS
9440 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9441 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9442 Remove __restrict.
9443 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9444 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9445
fb88ac72
UD
94462010-12-09 Ulrich Drepper <drepper@gmail.com>
9447
9448 [BZ #11655]
9449 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9450 are initialized.
9451
42acbb92
JJ
94522010-12-09 Jakub Jelinek <jakub@redhat.com>
9453
9454 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9455
c038d98d
UD
94562010-12-03 Ulrich Drepper <drepper@gmail.com>
9457
9458 * po/it.po: Update from translation team.
9459
3a4a2499
L
94602010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9461
9462 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9463 unused codes.
9464
1e24cf6e
UD
94652010-11-30 Ulrich Drepper <drepper@gmail.com>
9466
9467 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9468
a7690819
AS
94692010-11-24 Andreas Schwab <schwab@redhat.com>
9470
9471 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9472 specially.
9473 (gaih_getanswer_slice): Likewise.
9474
3bf8d1b1
JJ
94752010-10-20 Jakub Jelinek <jakub@redhat.com>
9476
9477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9478
6db52fbb
PB
94792010-05-31 Petr Baudis <pasky@suse.cz>
9480
9481 [BZ #11149]
9482 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9483 silently even in the chroot mode.
9484
eaca7569
UD
94852010-11-22 Ulrich Drepper <drepper@gmail.com>
9486
9487 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9488 last patch a bit. Pretty printing
9489
3056dcdb
UD
94902010-05-31 Petr Baudis <pasky@suse.cz>
9491
9492 [BZ #10085]
9493 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9494 initialization of skip_initgroups_dyn.
9495
cf7c9078
UD
94962010-11-19 Ulrich Drepper <drepper@gmail.com>
9497
9498 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9499 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9500
a1fb5e3e
UD
95012010-11-16 Ulrich Drepper <drepper@gmail.com>
9502
9503 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9504
3540d66b
AS
95052010-11-11 Andreas Schwab <schwab@redhat.com>
9506
9507 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9508 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9509 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9510 ($(objpfx)tst-fnmatch-mem): New rule.
9511 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9512 * posix/tst-fnmatch.c (main): Call mtrace.
9513
13b69574
L
95142010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9515
9516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9517 Support Intel processor model 6 and model 0x2c.
9518
da93d214
LM
95192010-11-10 Luis Machado <luisgpm@br.ibm.com>
9520
9521 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9522 signed comparison.
9523
8ca52c6e
L
95242010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9525
9526 [BZ #12205]
9527 * string/test-strncasecmp.c (check_result): New function.
9528 (do_one_test): Use it.
9529 (check1): New function.
9530 (test_main): Use it.
9531 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9532 Support strcasecmp and strncasecmp.
9533
69da074d
UD
95342010-11-08 Ulrich Drepper <drepper@gmail.com>
9535
9536 [BZ #12194]
9537 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9538 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9539
ff02d528
L
95402010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9541
9542 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9543 IFUNC support.
9544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9545 memset-x86-64.
9546 * sysdeps/x86_64/multiarch/bzero.S: New file.
9547 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9548 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9549 * sysdeps/x86_64/multiarch/memset.S: New file.
9550 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9552 Set bit_Prefer_SSE_for_memop for Intel processors.
9553 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9554 Define.
9555 (index_Prefer_SSE_for_memop): Define.
9556 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9557
344d0b54
LM
95582010-11-04 Luis Machado <luisgpm@br.ibm.com>
9559
9560 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9561 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9562
c0dde15b
UD
95632010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9564
9565 [BZ #12191]
9566 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9567 (__x86_64_raw_data_cache_size_half): Likewise.
9568 (__x86_64_raw_shared_cache_size): Likewise.
9569 (__x86_64_raw_shared_cache_size_half): Likewise.
9570
9571 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9572 (__x86_64_raw_data_cache_size_half): Likewise.
9573 (__x86_64_raw_shared_cache_size): Likewise.
9574 (__x86_64_raw_shared_cache_size_half): Likewise.
9575 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9576 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9577 and __x86_64_raw_shared_cache_size_half. Round
9578 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9579 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9580 to multiple of 256 bytes.
9581
0e516e0e
MS
95822010-11-03 Ulrich Drepper <drepper@gmail.com>
9583
9584 [BZ #12167]
9585 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9586 of inacessible symlinks. Verify result of symlink before returning it.
9587 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9588 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9589
0e012e87
ER
95902010-10-28 Erich Ritz <erichritz@gmail.com>
9591
9592 * math/math.h (isinf): Fix typo in comment.
9593
de0ff7bc
UD
95942010-11-01 Ulrich Drepper <drepper@gmail.com>
9595
9596 * po/da.po: Update from translation team.
9597
fa41c84d
UD
95982010-10-26 Ulrich Drepper <drepper@gmail.com>
9599
9600 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9601 is added to the list.
9602
f0967738
AK
96032010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9604 Ulrich Drepper <drepper@gmail.com>
9605
9606 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9607 the global list here. Move code to...
9608 (_dl_add_to_namespace_list): ...here. New function.
9609 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9610 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9611 * elf/dl-load.c (lose): Don't remove the element from the list.
9612 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9613 (_dl_map_object): Likewise.
9614
96152010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9616
9617 [BZ #12159]
9618 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9619 into all bytes of SSE register.
9620 Patch by Richard Li <richardpku@gmail.com>.
9621
f0967738 96222010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9623
9624 [BZ #12140]
9625 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9626 perturbing.
9627
d0b9e94f
MB
96282010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9629
9630 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9631 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9632 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9633 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9635 submachine.
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9637
8e9f92e9
AS
96382010-10-22 Andreas Schwab <schwab@redhat.com>
9639
9640 * include/dlfcn.h (__RTLD_SECURE): Define.
9641 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9642 mode & __RTLD_SECURE instead.
9643 (open_path): Rename preloaded parameter to secure.
9644 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9645 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9646 * elf/dl-deps.c (openaux): Likewise.
9647 * elf/rtld.c (struct map_args): Remove is_preloaded.
9648 (map_doit): Don't use it.
9649 (dl_main): Likewise.
9650 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9651 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9652
bc96fbda
AS
96532010-09-09 Andreas Schwab <schwab@redhat.com>
9654
9655 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9656 (sysd-rules-targets): Remove duplicates.
9657 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9658 rtld-%.$o dependency.
9659
22cd1c9b
AS
96602010-10-18 Andreas Schwab <schwab@redhat.com>
9661
9662 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9663 _dl_map_object do it.
9664
18edac48
UD
96652010-10-19 Ulrich Drepper <drepper@gmail.com>
9666
9667 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9668 fast fma builtins, define the macros in the C99 standard.
9669 (FP_FAST_FMAF): Likewise.
9670 (FP_FAST_FMAL): Likewise.
9671 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9672
9673 * bits/mathdef.h: Update copyright year.
9674 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9675
d2050124
MM
96762010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9677
9678 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9679 builtins, define the macros in the C99 standard.
9680 (FP_FAST_FMAF): Likewise.
9681 (FP_FAST_FMAL): Likewise.
9682 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9683 multiply/add.
9684 (FP_FAST_FMAF): Likewise.
9685
475facd1
JJ
96862010-10-15 Jakub Jelinek <jakub@redhat.com>
9687
9688 [BZ #3268]
9689 * math/libm-test.inc (fma_test): Some new testcases.
9690 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9691 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9692 y and infinite z. Do multiplication by C already in long double.
9693 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9695 y and infinite z. Do bitwise or of inexact bit into u.d.
9696 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9697 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9698 * sysdeps/i386/fpu/s_fma.S: Removed.
9699 * sysdeps/i386/fpu/s_fmal.S: Removed.
9700
7c08a05c
JJ
97012010-10-16 Jakub Jelinek <jakub@redhat.com>
9702
9703 [BZ #3268]
9704 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9705 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9706 computation is not scheduled after fetestexcept. Fix value
9707 of minimum denormal long double.
9708
f3f7372d
JJ
97092010-10-14 Jakub Jelinek <jakub@redhat.com>
9710
9711 [BZ #3268]
9712 * math/libm-test.inc (fma_test): Add some more tests.
9713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9714 correctly.
9715
14d43591
AS
97162010-10-15 Andreas Schwab <schwab@redhat.com>
9717
9718 * scripts/data/localplt-s390-linux-gnu.data: New file.
9719 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9720
5e908464
JJ
97212010-10-13 Jakub Jelinek <jakub@redhat.com>
9722
9723 [BZ #3268]
9724 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9725 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9726 instead of dbl-64.
9727 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9728 inlines.
9729 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9731 if one of x and y is very large and the other is subnormal.
9732 * sysdeps/s390/fpu/s_fmaf.c: New file.
9733 * sysdeps/s390/fpu/s_fma.c: New file.
9734 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9735 * sysdeps/powerpc/fpu/s_fma.S: New file.
9736 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9737 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9738 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9739
97402010-10-12 Jakub Jelinek <jakub@redhat.com>
9741
9742 [BZ #3268]
9743 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9744 fma tests.
9745 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9746 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9747 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9748 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9749 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9750 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9751 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9752
b833d51f
UD
97532010-10-12 Ulrich Drepper <drepper@redhat.com>
9754
9755 [BZ #12078]
9756 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9757 * posix/bug-regex31.input: Add test case.
9758
1751705d
UD
97592010-10-11 Ulrich Drepper <drepper@gmail.com>
9760
e9b9cbf5
UD
9761 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9762 * posix/bug-regex31.input: New file.
9763
9764 [BZ #12078]
9765 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9766 (parse_sub_exp): Fix last change, use postorder.
9767
ef06edbe
UD
9768 * posix/bug-regex31.c: New file.
9769 * posix/Makefile: Add rules to build and run bug-regex31.
9770
a129c80d
UD
9771 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9772
9773 [BZ #12078]
9774 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9775
b76b818e
UD
9776 [BZ #12108]
9777 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9778 to have entries in sys_siglist.
9779
1751705d
UD
9780 [BZ #12093]
9781 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9782 be NULL.
9783
9ff8d36f
JJ
97842010-10-07 Jakub Jelinek <jakub@redhat.com>
9785
9786 [BZ #3268]
9787 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9788 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9789 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9790 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9791 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9792 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9793 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9794 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9795 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9796 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9797 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9798 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9799 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9800 * math/ftestexcept.c (fetestexcept): Likewise.
9801 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9802 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9803 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9804 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9805 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9806 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9807 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9808
af325969
UD
98092010-10-11 Ulrich Drepper <drepper@gmail.com>
9810
c579b202 9811 [BZ #12107]
af325969
UD
9812 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9813 newline.
9814
67a67b95
UD
98152010-10-06 Ulrich Drepper <drepper@gmail.com>
9816
9817 * string/bug-strstr1.c: New file.
9818 * string/Makefile: Add rules to build and run bug-strstr1.
9819
5fb308bc
EB
98202010-10-05 Eric Blake <eblake@redhat.com>
9821
9822 [BZ #12092]
9823 * string/str-two-way.h (two_way_long_needle): Always clear memory
9824 when skipping input due to the shift table.
9825
45db99c7
UD
98262010-10-03 Ulrich Drepper <drepper@gmail.com>
9827
3b111893
UD
9828 [BZ #12005]
9829 * malloc/mcheck.c: Handle large requests.
9830
45db99c7
UD
9831 [BZ #12077]
9832 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9833 for strncmp and strncasecmp.
9834 * string/stratcliff.c: Add tests for strcmp and strncmp.
9835 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9836
cf7a1eb8
NI
98372010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9838
9839 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9840 __set_fpscr.
9841
6484ba5e
AJ
98422010-09-30 Andreas Jaeger <aj@suse.de>
9843
9844 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9845 (CGROUP_SUPER_MAGIC): Define.
9846 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9847 Handle btrfs and cgroup file systems.
9848 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9849 Likewise.
9850
91c42559
LM
98512010-09-27 Luis Machado <luisgpm@br.ibm.com>
9852
9853 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9854 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9855
87a97932
AK
98562010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9857
9858 [BZ #12067]
9859 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9860 trying to locate the ELF header.
9861
c21cc9bc
AS
98622010-09-27 Andreas Schwab <schwab@redhat.com>
9863
9864 [BZ #11611]
9865 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9866 Mask out sign-bit copies when constructing f_fsid.
9867
315970f6
PB
98682010-09-24 Petr Baudis <pasky@suse.cz>
9869
9870 * debug/stack_chk_fail_local.c: Add missing licence exception.
9871 * debug/warning-nop.c: Likewise.
9872
1ac7a2c7
JM
98732010-09-15 Joseph Myers <joseph@codesourcery.com>
9874
9875 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9876 implementing getdents64 using getdents syscall, set d_type if
9877 __ASSUME_GETDENTS32_D_TYPE.
9878
56801c50
AS
98792010-09-16 Andreas Schwab <schwab@redhat.com>
9880
9881 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9882 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9883
dda51327
UD
98842010-09-21 Ulrich Drepper <drepper@redhat.com>
9885
9886 [BZ #12037]
9887 * posix/unistd.h: Undo change of feature selection for ftruncate from
9888 2010-01-11.
9889
8ffcee4a
UD
98902010-09-20 Ulrich Drepper <drepper@redhat.com>
9891
a545ecd9 9892 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
9893 detection.
9894
e24f0a8b
AS
98952010-09-20 Andreas Schwab <schwab@redhat.com>
9896
9897 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9898 fanotify_mark.
9899 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9900
7291c56f
AS
99012010-09-14 Andreas Schwab <schwab@redhat.com>
9902
9903 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9904 variables after CHECK_SP call.
9905 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9906
bc5fb037
AS
99072010-09-13 Andreas Schwab <schwab@redhat.com>
9908 Ulrich Drepper <drepper@redhat.com>
9909
9910 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9911 re-relocationg ld.so.
9912 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9913 _dl_init_paths call.
9914 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9915 here anymore.
9916
e66e7419
UD
99172010-09-14 Ulrich Drepper <drepper@redhat.com>
9918
9919 * resolv/res_init.c (__res_vinit): Count the default server we added.
9920
c044aa75
CLT
99212010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9922 Ulrich Drepper <drepper@redhat.com>
9923
9924 [BZ #11968]
9925 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9926 (____longjmp_chk): Use %ebx for saving value across system call.
9927 Add unwind info.
9928
32cf4069
AS
99292010-09-06 Andreas Schwab <schwab@redhat.com>
9930
9931 * manual/Makefile: Don't mix pattern rules with normal rules.
9932
817328ee
AS
99332010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9934
9935 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9936 operation.
9937 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9938 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9939 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9940 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9941 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9942 Likewise.
9943
29fddf61
UD
99442010-09-04 Ulrich Drepper <drepper@redhat.com>
9945
9946 [BZ #11979]
9947 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9948 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9949
0959ffc9
UD
99502010-09-02 Ulrich Drepper <drepper@redhat.com>
9951
9952 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9953 * sysdeps/x86_64/addmul_1.S: Likewise.
9954 * sysdeps/x86_64/lshift.S: Likewise.
9955 * sysdeps/x86_64/mul_1.S: Likewise.
9956 * sysdeps/x86_64/rshift.S: Likewise.
9957 * sysdeps/x86_64/sub_n.S: Likewise.
9958 * sysdeps/x86_64/submul_1.S: Likewise.
9959
ece29840
ST
99602010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9961
0959ffc9
UD
9962 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9963 Define __sched_param instead of SCHED_* and sched_param when
ece29840 9964 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 9965 * bits/sched.h [__need_schedparam]
ece29840 9966 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
9967 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9968 (__defined_schedparam): Define to 1.
ece29840
ST
9969 (__sched_param): New structure, identical to sched_param.
9970 (__need_schedparam): Undefine.
9971
e53a31fe
MF
99722010-08-31 Mike Frysinger <vapier@gentoo.org>
9973
fdc0c10d
MF
9974 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9975 (epoll_create1): Declare.
9976
e53a31fe
MF
9977 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9978
a726d796
AS
99792010-08-31 Andreas Schwab <schwab@redhat.com>
9980
9981 [BZ #7066]
9982 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9983 shifting retval into place.
9984
2f3e3dc7
UD
99852010-09-01 Ulrich Drepper <drepper@redhat.com>
9986
f2933da9
UD
9987 * nis/rpcsvc/nis.h: Update copyright notice.
9988 * nis/rpcsvc/nis.x: Likewise.
9989 * nis/rpcsvc/nis_callback.h: Likewise.
9990 * nis/rpcsvc/nis_callback.x: Likewise.
9991 * nis/rpcsvc/nis_object.x: Likewise.
9992 * nis/rpcsvc/nis_tags.h: Likewise.
9993 * nis/rpcsvc/yp.h: Likewise.
9994 * nis/rpcsvc/yp.x: Likewise.
9995 * nis/rpcsvc/ypupd.h: Likewise.
9996 * nis/yp_xdr.c: Likewise.
9997 * nis/ypupdate_xdr.c: Likewise.
9998
2f3e3dc7
UD
9999 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10000 mainly the body of pmap_getport. Add parameters to specify timeouts.
10001 (pmap_getport): Use __libc_rpc_getport.
10002 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10003 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10004 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10005
f3dcc2f9
AS
100062010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10007
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10009 fanotify_mark.
10010
6d34eb5b
RM
100112010-08-27 Roland McGrath <roland@redhat.com>
10012
10013 * sysdeps/i386/i686/multiarch/Makefile
10014 (CFLAGS-varshift.c): New variable.
10015
9ea3de11
UD
100162010-08-27 Ulrich Drepper <drepper@redhat.com>
10017
c96d23fc
UD
10018 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10019 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10020
9ea3de11
UD
10021 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10022
10023 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10024
623aac7f
L
100252010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10026
10027 * sysdeps/x86_64/strlen.S: Unroll the loop.
10028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10029 strlen-sse2 strlen-sse2-bsf.
10030 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10031 __strlen_no_bsf if bit_Slow_BSF is set.
10032 (__strlen_sse42): Removed.
10033 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10034 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10035
8b2b7715
RM
100362010-08-25 Roland McGrath <roland@redhat.com>
10037
10038 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10039 * sysdeps/x86_64/multiarch/varshift.c: New file.
10040 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10041 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10042 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10043 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10044
e73015f2
L
100452010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10046
10047 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10048 strlen-sse2 strlen-sse2-bsf.
10049 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10050 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10051 (__strlen_sse2): Removed.
10052 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10053 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10055 bit_Slow_BSF for Atom.
10056 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10057 (index_Slow_BSF): Define.
10058 (HAS_SLOW_BSF): Define.
10059
df24a73e
UD
100602010-08-25 Ulrich Drepper <drepper@redhat.com>
10061
10062 [BZ #10851]
10063 * resolv/res_init.c (__res_vinit): When no server address at all
10064 is given default to loopback.
10065
f2ac4868
RM
100662010-08-24 Roland McGrath <roland@redhat.com>
10067
09055553
RM
10068 * configure.in: Remove config-name.h generation.
10069 * configure: Regenerated.
10070 * config-name.in: File removed.
10071 * scripts/config-uname.sh: New file.
10072 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10073 ($(objdir)config-name.h): New target.
10074
f2ac4868
RM
10075 * sunrpc/rpc_parse.h: Avoid nested comment.
10076
73f27d5e
RH
100772010-08-24 Richard Henderson <rth@redhat.com>
10078 Ulrich Drepper <drepper@redhat.com>
10079 H.J. Lu <hongjiu.lu@intel.com>
10080
10081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10083 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10084 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10085 _mm_alignr_epi8 with _mm_loadu_si128.
10086 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10087 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10088 (__m128i_shift_right): Removed.
10089 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10090 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10091 * sysdeps/x86_64/multiarch/varshift.h: New file.
10092 * sysdeps/x86_64/multiarch/varshift.S: New file.
10093
84b9230c
MF
100942010-08-21 Mike Frysinger <vapier@gentoo.org>
10095
10096 * configure.in: Move assembler checks to before sysdep dir checking.
10097
9bbd0ddc
PB
100982010-08-20 Petr Baudis <pasky@suse.cz>
10099
10100 * LICENSES: Sync the sunrpc license.
10101
9da4bb31
UD
101022010-08-19 Ulrich Drepper <drepper@redhat.com>
10103
a7ab6ec8
UD
10104 * sunrpc/auth_des.c: Update copyright notice once again.
10105 * sunrpc/auth_none.c: Likewise.
10106 * sunrpc/auth_unix.c: Likewise.
10107 * sunrpc/authdes_prot.c: Likewise.
10108 * sunrpc/authuxprot.c: Likewise.
10109 * sunrpc/bindrsvprt.c: Likewise.
10110 * sunrpc/clnt_gen.c: Likewise.
10111 * sunrpc/clnt_perr.c: Likewise.
10112 * sunrpc/clnt_raw.c: Likewise.
10113 * sunrpc/clnt_simp.c: Likewise.
10114 * sunrpc/clnt_tcp.c: Likewise.
10115 * sunrpc/clnt_udp.c: Likewise.
10116 * sunrpc/clnt_unix.c: Likewise.
10117 * sunrpc/des_crypt.c: Likewise.
10118 * sunrpc/des_soft.c: Likewise.
10119 * sunrpc/get_myaddr.c: Likewise.
10120 * sunrpc/getrpcport.c: Likewise.
10121 * sunrpc/key_call.c: Likewise.
10122 * sunrpc/key_prot.c: Likewise.
10123 * sunrpc/openchild.c: Likewise.
10124 * sunrpc/pm_getmaps.c: Likewise.
10125 * sunrpc/pm_getport.c: Likewise.
10126 * sunrpc/pmap_clnt.c: Likewise.
10127 * sunrpc/pmap_prot.c: Likewise.
10128 * sunrpc/pmap_prot2.c: Likewise.
10129 * sunrpc/pmap_rmt.c: Likewise.
10130 * sunrpc/rpc/auth.h: Likewise.
10131 * sunrpc/rpc/auth_unix.h: Likewise.
10132 * sunrpc/rpc/clnt.h: Likewise.
10133 * sunrpc/rpc/des_crypt.h: Likewise.
10134 * sunrpc/rpc/key_prot.h: Likewise.
10135 * sunrpc/rpc/netdb.h: Likewise.
10136 * sunrpc/rpc/pmap_clnt.h: Likewise.
10137 * sunrpc/rpc/pmap_prot.h: Likewise.
10138 * sunrpc/rpc/pmap_rmt.h: Likewise.
10139 * sunrpc/rpc/rpc.h: Likewise.
10140 * sunrpc/rpc/rpc_des.h: Likewise.
10141 * sunrpc/rpc/rpc_msg.h: Likewise.
10142 * sunrpc/rpc/svc.h: Likewise.
10143 * sunrpc/rpc/svc_auth.h: Likewise.
10144 * sunrpc/rpc/types.h: Likewise.
10145 * sunrpc/rpc/xdr.h: Likewise.
10146 * sunrpc/rpc_clntout.c: Likewise.
10147 * sunrpc/rpc_cmsg.c: Likewise.
10148 * sunrpc/rpc_common.c: Likewise.
10149 * sunrpc/rpc_cout.c: Likewise.
10150 * sunrpc/rpc_dtable.c: Likewise.
10151 * sunrpc/rpc_hout.c: Likewise.
10152 * sunrpc/rpc_main.c: Likewise.
10153 * sunrpc/rpc_parse.c: Likewise.
10154 * sunrpc/rpc_parse.h: Likewise.
10155 * sunrpc/rpc_prot.c: Likewise.
10156 * sunrpc/rpc_sample.c: Likewise.
10157 * sunrpc/rpc_scan.c: Likewise.
10158 * sunrpc/rpc_scan.h: Likewise.
10159 * sunrpc/rpc_svcout.c: Likewise.
10160 * sunrpc/rpc_tblout.c: Likewise.
10161 * sunrpc/rpc_util.c: Likewise.
10162 * sunrpc/rpc_util.h: Likewise.
10163 * sunrpc/rpcinfo.c: Likewise.
10164 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10165 * sunrpc/rpcsvc/key_prot.x: Likewise.
10166 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10167 * sunrpc/rpcsvc/mount.x: Likewise.
10168 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10169 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10170 * sunrpc/rpcsvc/rex.x: Likewise.
10171 * sunrpc/rpcsvc/rstat.x: Likewise.
10172 * sunrpc/rpcsvc/rusers.x: Likewise.
10173 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10174 * sunrpc/rpcsvc/spray.x: Likewise.
10175 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10176 * sunrpc/rtime.c: Likewise.
10177 * sunrpc/svc.c: Likewise.
10178 * sunrpc/svc_auth.c: Likewise.
10179 * sunrpc/svc_authux.c: Likewise.
10180 * sunrpc/svc_raw.c: Likewise.
10181 * sunrpc/svc_run.c: Likewise.
10182 * sunrpc/svc_simple.c: Likewise.
10183 * sunrpc/svc_tcp.c: Likewise.
10184 * sunrpc/svc_udp.c: Likewise.
10185 * sunrpc/svc_unix.c: Likewise.
10186 * sunrpc/svcauth_des.c: Likewise.
10187 * sunrpc/xcrypt.c: Likewise.
10188 * sunrpc/xdr.c: Likewise.
10189 * sunrpc/xdr_array.c: Likewise.
10190 * sunrpc/xdr_float.c: Likewise.
10191 * sunrpc/xdr_mem.c: Likewise.
10192 * sunrpc/xdr_rec.c: Likewise.
10193 * sunrpc/xdr_ref.c: Likewise.
10194 * sunrpc/xdr_sizeof.c: Likewise.
10195 * sunrpc/xdr_stdio.c: Likewise.
10196
9da4bb31
UD
10197 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10198 handling.
10199
bdaa77bc
AS
102002010-08-19 Andreas Schwab <schwab@redhat.com>
10201
10202 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10203
fe2f79db
LM
102042010-08-19 Luis Machado <luisgpm@br.ibm.com>
10205
10206 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10207 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10208 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10209 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10210 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10211 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10212 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10213 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10214 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10215 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10216 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10217 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10218 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10219 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10220
b9b42ee0
AB
102212010-07-26 Anton Blanchard <anton@samba.org>
10222
10223 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10224 * malloc/arena.c (heap_trim): Likewise.
10225
1c06ba31
UD
102262010-08-16 Ulrich Drepper <drepper@redhat.com>
10227
10228 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10229 here. Not...
10230 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10231 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10232
f8392f40
L
102332010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10234
10235 * sysdeps/i386/elf/Makefile: New file.
10236
3162f12e
AS
102372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10238
10239 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10240 from fanotify_init.
10241 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10242 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10243
28c90b2c
UD
102442010-08-15 Ulrich Drepper <drepper@redhat.com>
10245
10246 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10247 of strncasecmp_l.
1feccb6c 10248 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10249
ca6bb004
UD
102502010-08-14 Ulrich Drepper <drepper@redhat.com>
10251
e9f82e0d
UD
10252 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10253 strncase_l-nonascii.
10254 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10255 Add strncase_l-ssse3.
10256 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10257 * sysdeps/x86_64/strcmp.S: Likewise.
10258 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10259 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10260 * sysdeps/x86_64/strncase.S: New file.
10261 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10262 * sysdeps/x86_64/strncase_l.S: New file.
10263 * string/Makefile (strop-tests): Add strncasecmp.
10264 * string/test-strncasecmp.c: New file.
10265
10266 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10267 warning.
10268
ca6bb004
UD
10269 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10270 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10271
052fa7b3
AS
102722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10273
10274 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10275
962dba78
UD
102762010-08-12 Ulrich Drepper <drepper@redhat.com>
10277
10278 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10279 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10280 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10281
bebff237
AM
102822010-05-01 Alan Modra <amodra@gmail.com>
10283
10284 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10285 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10286 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10287 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10288 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10289 tidying. Don't tail-call __sigjmp_save for static lib.
10290 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10291 save location.
10292 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10293 (CALL_MCOUNT): Add eh info, and nop after bl.
10294 (TAIL_CALL_SYSCALL_ERROR): New macro.
10295 (PSEUDO_RET): Use it.
10296 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10297 Correct save location of integer regs and cr.
10298 (_dl_profile_resolve): Correct cr save location. Delete nops
10299 after bl when SHARED. Reduce cfi size a little by better
10300 placement of cfi directives.
10301 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10302 make a stack frame. Instead use parm save area as a temp.
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10304 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10306 Don't make a stack frame for parent, use parm save area.
10307 Increase child stack frame to 112 bytes. Don't save unused reg,
10308 and adjust reg usage. Set up cfi on error recovery and
10309 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10311 (__makecontext): Add dummy nop after jump to exit.
10312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10313 Use correct parm save area and cr save, reduce stack frame.
10314 Correct cfi for possible PSEUDO_RET frame setup.
10315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10316 Branch to local label emitted by PSEUDO_RET rather than
10317 __syscall_error.
10318
02637374
AS
103192010-08-12 Andreas Schwab <schwab@redhat.com>
10320
10321 [BZ #11904]
10322 * locale/programs/locale.c (print_assignment): New function.
10323 (show_locale_vars): Use it.
10324
c3e2f19b
UD
103252010-08-11 Ulrich Drepper <drepper@redhat.com>
10326
3cdaa6ad
UD
10327 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10328 field.
10329 (struct statfs64): Likewise.
10330 (_STATFS_F_FLAGS): Define.
10331 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10332 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10333 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10334 (ST_VALID): Define locally.
10335 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10336 __statvfs_getflags, use the provided value.
10337 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10338 __ASSUME_STATFS_F_FLAGS.
10339
754f7da3
UD
10340 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10341
10b3bedc
UD
10342 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10343 Add sys/fanotify.h.
10344 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10345 fanotify_mask for GLIBC_2.13.
10346 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10347 fanotify_init and fanotify_mark.
10348 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10349 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10350
c08fb0d7
UD
10351 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10352 Add prlimit.
10353 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10354 prlimit64 for GLIBC_2.13.
10355 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10356 prlimit64.
10357 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10358 syscall.
10359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10360 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10361 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10362 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10363 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10364 add prlimit alias.
10365 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10366
15bac72b
UD
10367 [BZ #11903]
10368 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10369 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10370
c3e2f19b
UD
10371 * nss/Makefile: Add rules to build and run tst-nss-test1.
10372 * shlib-versions: Add entry for libnss_test1.
10373 * nss/nss_test1.c: New file.
10374 * nss/tst-nss-test1.c: New file.
10375
10376 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10377 (__nss_configure_lookup): Set appropriate entry in
10378 __nss_configure_lookup to true.
10379 * nss/nsswitch.h: Define enum with indeces of databases in
10380 databases and __nss_database_custom arrays. Declare
10381 __nss_database_custom.
10382 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10383 to avoid using nscd when custom rules are installed.
10384 * nss/getXXbyYY_r.c: Likewise.
10385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10386
10387 * nss/nss_files/files-parse.c: Whitespace fixes.
10388
f15ce4d8
UD
103892010-08-09 Ulrich Drepper <drepper@redhat.com>
10390
10391 [BZ #11883]
10392 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10393 * posix/fnmatch_loop.c: Likewise.
10394
d22e4cc9
AK
103952010-07-17 Andi Kleen <ak@linux.intel.com>
10396
10397 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10398 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10399 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10400 * Versions.def [GLIBC_2.13]: Add.
10401
805bc17d
UD
104022010-08-06 Ulrich Drepper <drepper@redhat.com>
10403
10404 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10405 Also fail if tpwd after pwuid call is NULL.
10406
5a42321d
ST
104072010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10408
10409 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10410 when converting to ms.
10411
fd3ebeda
ST
104122010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10413
10414 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10415 EOPNOTSUPP errors with ENOTTY.
10416 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10417 EOPNOTSUPP errors with ENOTTY.
10418
73507d3a
UD
104192010-07-31 Ulrich Drepper <drepper@redhat.com>
10420
10421 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10422 Add strcasecmp_l-ssse3.
10423 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10424 strcasecmp.
10425 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10426 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10427 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10428
fe36dd02
UD
104292010-07-30 Ulrich Drepper <drepper@redhat.com>
10430
66f6765a
UD
10431 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10432
42e08a54
UD
10433 * string/Makefile (strop-tests): Add strcasecmp.
10434 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10435 strcasecmp_l-nonascii.
10436 (gen-as-const-headers): Add locale-defines.sym.
10437 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10438 * sysdeps/x86_64/strcasecmp.S: New file.
10439 * sysdeps/x86_64/strcasecmp_l.S: New file.
10440 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10441 * sysdeps/x86_64/locale-defines.sym: New file.
10442 * string/test-strcasecmp.c: New file.
10443
fe36dd02
UD
10444 * string/test-strcasestr.c: Test both ends of the range of characters.
10445 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10446
48cbc0d6
RM
104472010-07-29 Roland McGrath <roland@redhat.com>
10448
76e6d6bc 10449 [BZ #11856]
48cbc0d6
RM
10450 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10451
880113d9
UD
104522010-07-27 Ulrich Drepper <drepper@redhat.com>
10453
10454 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10455 for ld.so.
10456
deb9cabb
AS
104572010-07-27 Andreas Schwab <schwab@redhat.com>
10458
10459 * manual/memory.texi (Malloc Tunable Parameters): Document
10460 M_PERTURB.
10461
1c7570ff
RM
104622010-07-26 Roland McGrath <roland@redhat.com>
10463
10464 [BZ #11840]
10465 * configure.in (-fgnu89-inline check): Set and substitute
10466 gnu89_inline, not libc_cv_gnu89_inline.
10467 * configure: Regenerated.
10468 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10469
24fb0f88
UD
104702010-07-26 Ulrich Drepper <drepper@redhat.com>
10471
10472 * string/test-strnlen.c: New file.
10473 * string/Makefile (strop-tests): Add strnlen.
10474 * string/tester.c (test_strnlen): Add a few more test cases.
10475 * string/tst-strlen.c: Better error reporting.
10476
10477 * sysdeps/x86_64/strnlen.S: New file.
10478
8e96b93a
UD
104792010-07-24 Ulrich Drepper <drepper@redhat.com>
10480
10481 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10482 lower-latency instructions.
10483
dbc676d4
UD
104842010-07-23 Ulrich Drepper <drepper@redhat.com>
10485
10486 * string/test-strcasestr.c: New file.
10487 * string/test-strstr.c: New file.
10488 * string/Makefile (strop-tests): Add strstr and strcasestr.
10489 * string/str-two-way.h: Don't undefine MAX.
10490 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10491
f6a31e0e
AS
104922010-07-21 Andreas Schwab <schwab@redhat.com>
10493
10494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10495 strcasestr-nonascii.
10496 (CFLAGS-strcasestr-nonascii.c): Define.
10497 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10498 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10499 Remove unused attribute.
10500
5dbc3b6c
RM
105012010-07-20 Roland McGrath <roland@redhat.com>
10502
10503 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10504 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10505 ld.so.cache was broken. With it, there is no way to disable dsocaps
10506 like LD_HWCAP_MASK can disable hwcaps.
10507
23d101d8
EPM
105082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10509
10510 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10511
cc9f2e47
UD
105122010-07-16 Ulrich Drepper <drepper@redhat.com>
10513
10514 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10515 call in strcasestr.
10516 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10517 __strcasestr_sse42_nonascii.
10518 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10519 strcasestr-nonascii.c.
10520 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10521
77c1b069
LM
105222010-06-15 Luis Machado <luisgpm@br.ibm.com>
10523
10524 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10525 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10526 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10527 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10528
440566c3
UD
105292010-07-09 Ulrich Drepper <drepper@redhat.com>
10530
10531 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10532 fcntl.
10533
5be9d05d
AS
105342010-07-06 Andreas Schwab <schwab@redhat.com>
10535
c30b7ee2 10536 [BZ #11577]
5be9d05d
AS
10537 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10538 dl_signal_cerror.
10539
8a492a67
UD
105402010-07-06 Ulrich Drepper <drepper@redhat.com>
10541
10542 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10543 _PC_PIPE_BUF using F_GETPIPE_SZ.
10544
713df3d5
RM
105452010-07-05 Roland McGrath <roland@redhat.com>
10546
10547 * manual/arith.texi (Rounding Functions): Fix rint description
10548 implicit in round description.
10549
702e8f14
UD
105502010-07-02 Ulrich Drepper <drepper@redhat.com>
10551
10552 * elf/Makefile: Fix linking for a few tests to make recent linker
10553 happy.
10554
52ed8be9
AS
105552010-06-30 Andreas Schwab <schwab@redhat.com>
10556
10557 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10558 $(common-objpfx)libc_nonshared.a.
10559
f47c9a11
LM
105602010-06-21 Luis Machado <luisgpm@br.ibm.com>
10561
10562 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10563 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10564 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10565 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10566 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10567 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10568 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10569 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10584 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10585 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10586 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10587 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10588 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10589 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10590 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10591 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10592 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10593 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10594 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10595 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10610
6fb8cbcb
L
106112010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10612
10613 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10614 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10615 * string/memmove.c (memmove): Renamed to ...
10616 (MEMMOVE): ...this. Default to memmove.
10617 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10618 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10619 (END_CHK): Define.
10620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10621 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10622 mempcpy-ssse3-back memmove-ssse3-back.
10623 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10624 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10625 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10626 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10627 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10628 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10629 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10630 * sysdeps/x86_64/multiarch/memmove.c: New file.
10631 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10632 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10633 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10634 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10635 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10636 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10637 Define.
10638 (index_Fast_Copy_Backward): Define.
10639 (HAS_ARCH_FEATURE): Define.
10640 (HAS_FAST_REP_STRING): Define.
10641 (HAS_FAST_COPY_BACKWARD): Define.
10642
4e733bac 106432010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10644
10645 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10646 Restore proper fallback handling.
10647
63c4ed22
UD
106482010-06-19 Ulrich Drepper <drepper@redhat.com>
10649
ac2b484c
UD
10650 [BZ #11701]
10651 * posix/group_member.c (__group_member): Correct checking loop.
10652
63c4ed22
UD
10653 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10654 OOM in getpwuid_r correctly. Return error number when the caller
10655 should return, otherwise -1.
10656 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10657 call returning > 0 value.
10658 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10659
765ade4b
AS
106602010-06-07 Andreas Schwab <schwab@redhat.com>
10661
10662 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10663 libc_nonshared.a from targets in modules-names.
10664
80da2e09
KS
106652010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10666
10667 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10668 requires it.
10669
158db122
LM
106702010-06-10 Luis Machado <luisgpm@br.ibm.com>
10671
10672 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10673 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10675 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10676
caa78cf8
AS
106772010-06-02 Andreas Schwab <schwab@redhat.com>
10678
10679 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10680
b2ef2c01
UD
106812010-06-14 Ulrich Drepper <drepper@redhat.com>
10682
10683 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10684 and F_GETPIPE_SZ.
10685 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10689 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10690 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10691
fbd643b6
RM
106922010-06-14 Roland McGrath <roland@redhat.com>
10693
10694 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10695
f32f2869
JJ
106962010-06-07 Jakub Jelinek <jakub@redhat.com>
10697
10698 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10699 __REDIRECT followed by __THROW.
10700 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10701 * posix/getopt.h (getopt): Likewise.
10702
2a50c078
EPM
107032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10704
10705 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10706 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10707 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10708 in AT_FLAGS.
10709 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10710 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10711
eb5ad2eb
LM
107122010-05-28 Luis Machado <luisgpm@br.ibm.com>
10713
10714 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10715
3c88fe1e
L
107162010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10717
10718 [BZ #11640]
10719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10720 Properly check family and model.
10721
d2f73151
TY
107222010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10723
10724 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10725
ebd2e13d
LM
107262010-05-24 Luis Machado <luisgpm@br.ibm.com>
10727
10728 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10729
b32b8b45
UD
107302010-05-21 Ulrich Drepper <drepper@redhat.com>
10731
10732 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10733 symbol reference.
10734
9acbe24d
AS
107352010-05-19 Andreas Schwab <schwab@redhat.com>
10736
10737 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10738 symbol reference.
10739
f0ccf6ea
AS
107402010-05-21 Andreas Schwab <schwab@redhat.com>
10741
3d04ff3a
AS
10742 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10743 and internal_recvmmsg.
10744 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10745 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10746 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10747 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10748
f0ccf6ea
AS
10749 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10750 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10751 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10752
5b08ac57
AS
107532010-05-20 Andreas Schwab <schwab@redhat.com>
10754
10755 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10756
4828935d
LM
107572010-05-17 Luis Machado <luisgpm@br.ibm.com>
10758
10759 POWER7 optimizations.
10760 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10761 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10762
373d545e
UD
107632010-05-19 Ulrich Drepper <drepper@redhat.com>
10764
10765 * version.h: Update for 2.13 development version.
10766
21a2b1ae
AS
107672010-05-12 Andrew Stubbs <ams@codesourcery.com>
10768
10769 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10770 exceptions. Return 0.
10771
3f7dcb2b
RM
107722010-05-07 Roland McGrath <roland@redhat.com>
10773
10774 * elf/ldconfig.c (main): Add a const.
10775
5f24d53a 107762010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10777
a160f8d8
UD
10778 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10779 (args_options): Add no-idn option.
10780 (ahosts_keys_int): Add idn_flags to ai_flags.
10781 (parse_option): Handle 'i' option to clear idn_flags.
10782
5f24d53a
UD
10783 * malloc/malloc.c (_int_free): Possible race in the most recently
10784 added check. Only act on the data if no current modification
10785 happened.
265bb1ce
UD
10786
10787See ChangeLog.17 for earlier changes.