]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update sparc ULPs for recently added tests.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6f4db457
DM
12012-03-21 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4
7785fe5a
L
52012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6
7 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8 of x86_64 when setting libc_cv_slibdir, libdir and
9 libc_cv_localedir.
10 * sysdeps/unix/sysv/linux/configure: Regenerated.
11
4535cd55
JM
122012-03-21 Joseph Myers <joseph@codesourcery.com>
13
14 * manual/lang.texi (Old Varargs): Remove section.
15 (How Variadic): Update menu.
16 (va_start): Do not mention varargs.h.
17
17228132
TS
182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
19 Joseph Myers <joseph@codesourcery.com>
20
21 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22 link test.
23 * configure: Regenerated.
24
8149f976
TS
252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26
27 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29 conformtest.pl
30
1a4ac776
JM
312012-03-21 Joseph Myers <joseph@codesourcery.com>
32
be22ce65
JM
33 * NOTES: Remove.
34 * Makefile (files-for-dist): Remove NOTES.
35 (NOTES): Remove rule.
36 * README: Don't refer to NOTES.
37 * manual/creature.texi: Don't include macros.texi.
38 * manual/intro.texi (creature.texi): Remove comment referring to
39 NOTES.
40
40b601fb
JM
41 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43 * configure: Regenerated.
44 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45 LIBC_TRY_CC_OPTION.
46 (libc_cv_as_i686): Likewise.
47 (libc_cv_cc_avx): Likewise.
48 (libc_cv_cc_sse2avx): Likewise.
49 (libc_cv_cc_fma4): Likewise.
50 (libc_cv_cc_novzeroupper): Likewise.
51 * sysdeps/i386/configure: Regenerated.
52
1a4ac776
JM
53 [BZ #13883]
54 * sysdeps/i386/fpu/s_cexp.S: Remove.
55 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57 * math/libm-test.inc (cexp_test): Add more tests.
58 * sysdeps/i386/fpu/libm-test-ulps: Update.
59 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60
a458e7fe
AM
612012-03-21 Allan McRae <allan@archlinux.org>
62
63 * timezone/Makefile: Do not install iso3166.tab and zone.tab
64
0cb7efc5
JM
652012-03-21 Joseph Myers <joseph@codesourcery.com>
66
67 [BZ #13871]
68 * math/w_exp2.c: Do not include <float.h>.
69 (o_threshold, u_threshold): Remove.
70 (__exp2): Calculate result before checking finiteness and calling
71 __kernel_standard.
72 * math/w_exp2f.c: Likewise.
73 * math/w_exp2l.c: Likewise.
74 * math/libm-test.inc (exp2_test): Require overflow exception for
75 1e6 input.
2460d3aa
JM
76
77 [BZ #3866]
78 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79 range of signed 64-bit integers before using fistpll. Remove
80 checks for whether integers fit in mantissa bits.
81 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82 the range of signed 32-bit integers before using fistpl. Remove
83 checks for whether integers fit in mantissa bits.
84 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85 (__ieee754_powl): Test for y outside the range of signed 64-bit
86 integers before using fistpll. Reduce 64-bit values to 63-bit
87 ones as needed.
88 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
89 divide-by-zero is raised for zero to large negative powers.
90 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
91 (__ieee754_powl): Test for y outside the range of signed 64-bit
92 integers before using fistpll. Reduce 64-bit values to 63-bit
93 ones as needed.
94 * math/libm-test.inc (pow_test): Add more tests.
95
eb96ffb0
L
962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
97
98 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
99 <stdio-common/_itoa.h>.
100 * debug/segfault.c: Likewise.
101 * elf/dl-cache.c: Likewise.
102 * elf/dl-minimal.c: Likewise.
103 * elf/dl-misc.c: Likewise.
104 * elf/dl-sysdep.c: Likewise.
105 * elf/dl-version.c: Likewise.
106 * elf/rtld.c: Likewise.
107 * hurd/hurdsock.c: Likewise.
108 * hurd/lookup-retry.c: Likewise.
109 * malloc/malloc.c: Likewise.
110 * malloc/mtrace.c: Likewise.
111 * nscd/nscd_getgr_r.c: Likewise.
112 * nscd/nscd_getpw_r.c: Likewise.
113 * nscd/nscd_getserv_r.c: Likewise.
114 * posix/getopt_init.c: Likewise.
115 * posix/wordexp.c: Likewise.
116 * stdio-common/_itoa.c: Likewise.
117 * stdio-common/printf_fphex.c: Likewise.
118 * stdio-common/vfprintf.c: Likewise.
119 * string/_strerror.c: Likewise.
120 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
121 * sysdeps/i386/i686/hp-timing.h: Likewise.
122 * sysdeps/mach/_strerror.c: Likewise.
123 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
124 * sysdeps/mach/hurd/sethostid.c: Likewise.
125 * sysdeps/mach/hurd/xmknodat.c: Likewise.
126 * sysdeps/mach/xpg-strerror.c: Likewise.
127 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
128 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
129 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
130 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
131 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
132 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
133 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
134 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
135 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
136 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
137 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
138 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
139 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
140 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
141 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
142 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
143 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
144 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
145 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
146 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
147 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
148
149 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
150
151 * stdio-common/_itoa.h: Moved to ...
152 * sysdeps/generic/_itoa.h: Here.
153
154 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
155
156 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
157 instead of "_itoa.h" and "_itowa.h".
158 * stdio-common/vfprintf.: Likewise.
159
d1af992d
L
1602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
161
162 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
163 <bits/wordsize.h>.
164 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
165 (__signbit): Likwise.
166 (llrintf): Likwise.
167 (llrint): Likwise.
168
114883e0
L
1692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
170
171 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
172 __WORDSIZE != 64.
173
c135cc1b
JM
1742012-03-20 Joseph Myers <joseph@codesourcery.com>
175
176 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
177 OVERFLOW_EXCEPTION_OK.
178 * math/libm-test.inc ("Philosophy"): Update comment about
179 exception testing.
180 (OVERFLOW_EXCEPTION): Define.
181 (OVERFLOW_EXCEPTION_OK): Likewise.
182 (INVALID_EXCEPTION_OK): Renumber.
183 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
184 (IGNORE_ZERO_INF_SIGN): Likewise.
185 (test_exceptions): Handle FE_OVERFLOW.
186 (exp10_test): Expect overflow exceptions.
187 (exp2_test): Likewise.
188 (expm1_test): Likewise.
189 (nextafter_test): Likewise.
190 (pow_test): Likewise.
191 (scalbn_test): Likewise.
192 (scalbln_test): Likewise.
193
95443d88
L
1942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
195
196 * sysdeps/x86_64/bits/atomic.h
197 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
198 64bit integer.
199 (atomic_exchange_acq): Likewise.
200 (__arch_exchange_and_add_body): Likewise.
201 (__arch_add_body): Likewise.
202 (atomic_add_negative): Likewise.
203 (atomic_add_zero): Likewise.
204
490df6c4
L
2052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
206
c2722551 207 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
208 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
209
5e52b189
L
2102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
211
212 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
213 Check __x86_64__ instead of __WORDSIZE.
214
a9879d4c
L
2152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
216
217 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
218
5df98260
DM
2192012-03-19 David S. Miller <davem@davemloft.net>
220
e1497744
DM
221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
222
5df98260
DM
223 * sysdeps/sparc/fpu/fenv_private.h: New file.
224 * sysdeps/sparc/fpu/math_private.h: Use it.
225 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
226 Remove.
227 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
228 (libc_feholdexcept_setroundl): Remove.
229 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
230 Remove.
231 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
232 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
233
b4c35121
L
2342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
235
236 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
237 int64_t instead of long int.
238 (INSERT_WORDS64): Likwise.
239
56965fd7
L
2402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
241
242 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
243 _Unwind_GetCFA return to _Unwind_Ptr first.
244
83d1aec8
JM
2452012-03-19 Joseph Myers <joseph@codesourcery.com>
246
1897ad44
JM
247 [BZ #13629]
248 * math/s_clog.c: Include <float.h>.
249 (__clog): Scale large or subnormal inputs.
250 * math/s_clogf.c: Likewise.
251 * math/s_clogl.c: Likewise.
252 * math/s_clog10.c: Include <float.h>.
253 (M_LOG10_2): Define.
254 (__clog10): Scale large or subnormal inputs.
255 * math/s_clog10f.c: Likewise.
256 * math/s_clog10l.c: Likewise.
257 * math/libm-test.inc (clog_test): Add more tests.
258 (clog10_test): Likewise.
259 * sysdeps/i386/fpu/libm-test-ulps: Update.
260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
261
7726d6a9
JM
262 [BZ #11451]
263 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
264 x and y.
265 * math/libm-test.inc (atan2_test): Add another test.
266
83d1aec8
JM
267 * Makerules (common-objdir-compile): Remove.
268 * sysdeps/unix/Makefile (config-generated): Do not add
269 $(unix-generated) to variable.
270 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
271 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
272 Remove rule.
273 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
274 Likewise.
275 [generic bits/local_lim.h] (before-compile): Do not append to
276 variable.
277 [generic bits/local_lim.h] (common-generated): Likewise.
278 [generic sys/param.h] (before-compile): Do not append to variable.
279 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
280 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
281 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
282 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
283 include.
284 [generic sys/param.h] (sys/param.h-includes): Remove variable.
285 [generic sys/param.h] (sys/param.h-includes): Remove rule.
286 [generic sys/param.h] ($(addprefix
287 $(common-objpfx),$(sys/param.h-includes))): Likewise.
288 [generic sys/param.h] (common-generated): Do not append to
289 variable.
290 [generic sys/param.h] (sysdep_headers): Likewise.
291 [generic bits/errno.h] (before-compile): Do not append to
292 variable.
293 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
294 rule.
295 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
296 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
297 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
298 [generic bits/errno.h] (common-generated): Do not append to
299 variable.
300 [generic bits/ioctls.h] (before-compile): Do not append to
301 variable.
302 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
303 rule.
304 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
305 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
306 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
307 rule.
308 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
309 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
310 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
311 [generic bits/ioctls.h] (common-generated): Do not append to
312 variable.
313 [generic sys/syscall.h] (syscall.h): Remove variable.
314 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
315 rule.
316 [generic sys/syscall.h] (before-compile): Do not append to
317 variable.
318 [generic sys/syscall.h] (common-generated): Likewise.
319 * sysdeps/unix/errnos-tmpl.c: Remove file.
320 * sysdeps/unix/errnos.awk: Likewise.
321 * sysdeps/unix/ioctls-tmpl.c: Likewise.
322 * sysdeps/unix/ioctls.awk: Likewise.
323 * sysdeps/unix/mk-local_lim.c: Likewise.
324 * sysdeps/unix/snarf-ioctls: Likewise.
325
4851a949
RH
3262012-03-19 Richard Henderson <rth@twiddle.net>
327
bd37f2ee
RH
328 * sysdeps/i386/fpu/fenv_private.h: New file.
329 * sysdeps/i386/fpu/math_private.h: Use it.
330 (math_opt_barrier, math_force_eval): Remove.
331 (libc_feholdexcept_setround_53bit): Remove.
332 (libc_feupdateenv_53bit): Remove.
333 * sysdeps/x86_64/fpu/math_private.h: Likewise.
334 (math_opt_barrier, math_force_eval): Remove.
335 (libc_feholdexcept): Remove.
336 (libc_feholdexcept_setround): Remove.
337 (libc_fetestexcept, libc_fesetenv): Remove.
338 (libc_feupdateenv_test): Remove.
339 (libc_feupdateenv, libc_feholdsetround): Remove.
340 (libc_feresetround): Remove.
341
d0adc922
RH
342 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
343 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
344
0fe0f1f8
RH
345 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
346 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
347 (libc_feupdateenv_testl): New.
348 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
349 (libc_feupdateenv_testf): New.
350 (libc_feupdateenv): Use libc_feupdateenv_test.
351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
352 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
353
eb92c487
RH
354 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
355 (libc_feholdsetroundf, libc_feholdsetroundl): New.
356 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
357 (libc_feresetround_noex): New.
358 (libc_feresetround_noexf): New.
359 (libc_feresetround_noexl): New.
360 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
361 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
362 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
363 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
364 SET_RESTORE_ROUND.
365 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
367 (__cos): Likewise.
368 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
369 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
370 SET_RESTORE_ROUND_NOEX.
371 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
372 SET_RESTORE_ROUND_NOEXF.
373 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
374 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
375 (libc_feholdsetroundf): New.
376 (libc_feresetround, libc_feresetroundf): New.
377
7d2e8012
RH
378 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
379 (libc_feholdexcept_setround_53bit): Convert from macro to function.
380 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
381
b4dabbb4
RH
382 * sysdeps/generic/math_private.h: Include <fenv.h>.
383 (default_libc_feholdexcept): New.
384 (default_libc_feholdexcept_setround): New.
385 (default_libc_fesetenv, default_libc_feupdateenv): New.
386 (libc_feholdexcept): Only define if undefined.
387 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
388 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
389 (libc_feholdexcept_setroundl): Likewise.
390 (libc_feholdexcept_setround_53bit): Likewise.
391 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
392 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
393 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
394 (libc_feupdateenv_53bit): Likewise.
395 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
396 (libc_feholdexcept): Convert from macro to inline function.
397 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
398 (libc_fesetenv, libc_feupdateenv): Likewise.
399
4851a949
RH
400 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
401 not previously defined.
402 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
403 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
404 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
405 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
406 * sysdeps/ieee754/flt-32/math_private.h: New file.
407 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
408 math_private.h below SET_FLOAT_WORD.
409 (__isnan, __isinf_ns, __finite): Remove.
410 (__isnanf, __isinf_nsf, __finitef): Remove.
411
e79d442e
AS
4122012-03-18 Andreas Schwab <schwab@linux-m68k.org>
413
414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
415
90b80344
DM
4162012-03-17 David S. Miller <davem@davemloft.net>
417
418 [BZ #6471]
419 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
420 for 2.16.
421
edc21804
DM
4222012-03-16 David S. Miller <davem@davemloft.net>
423
77e927af
DM
424 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
425 warnings.
426
374976dd
DM
427 [BZ #6471]
428 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
429 properly.
430 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
431 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
432 sysdep_routines when subdir is sysvipc.
433 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
434 __getshmlba helper.
435
edc21804
DM
436 * sysdeps/sparc/fpu/libm-test/ulps: Update.
437
473c3ef3
L
4382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
439
440 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
441 [__LP64__].
442
eb0f39b6
L
4432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
444
445 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
446 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
447 (__lround): Renamed to ...
448 (__llround): This. Replace long int with long long int.
449 Define lround functions as aliases of llround functions.
450 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
451
6b6cd74b
L
4522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
453
454 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
455 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
456 adresses to uintptr_t. Replace "long int" and "unsigned long
457 int" with "greg_t" on va_arg.
458
f1a77b01
L
4592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
460
461 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
462 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
463
464 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
465 Move e_machine check before EI_CLASS check. Handle x32
466 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
467 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
468 SKIP_EM_IA_64 and include
469 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
470
471 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
472 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
473 (add_system_dir): New macro.
474
475 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
476 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
477
11b90b9f
JM
4782012-03-16 Joseph Myers <joseph@codesourcery.com>
479
c36e1d23
JM
480 [BZ #2551]
481 [BZ #2552]
482 [BZ #2553]
483 [BZ #2554]
484 [BZ #2562]
485 [BZ #2563]
486 [BZ #2565]
487 [BZ #2566]
488 [BZ #2576]
489 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
490 (y0): Likewise.
491 * math/w_j0f.c (j0f): Likewise.
492 (y0f): Likewise.
493 * math/w_j0l.c (__j0l): Likewise.
494 (__y0l): Likewise.
495 * math/w_j1.c (j1): Likewise.
496 (y1): Likewise.
497 * math/w_j1f.c (j1f): Likewise.
498 (y1f): Likewise.
499 * math/w_j1l.c (__j1l): Likewise.
500 (__y1l): Likewise.
501 * math/w_jn.c (jn): Likewise.
502 (yn): Likewise.
503 * math/w_jnf.c (jnf): Likewise.
504 (ynf): Likewise.
505 * math/w_jnl.c (__jnl): Likewise.
506 (__ynl): Likewise.
507 * math/libm-test.inc (j0_test): Add more tests.
508 (j1_test): Likewise.
509 (jn_test): Likewise. Add trailing semicolon to existing test.
510 (y0_test): Likewise.
511 (y1_test): Likewise.
512 * sysdeps/i386/fpu/libm-test-ulps: Update.
513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
514
11b90b9f
JM
515 [BZ #13851]
516 [BZ #13854]
517 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
518 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
519 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
520 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
521 (__tanl): Set errno for infinite argument.
522 * sysdeps/i386/fpu/mptan.c: Remove.
523 * sysdeps/i386/fpu/s_tan.S: Likewise.
524 * sysdeps/i386/fpu/s_tanl.S: Likewise.
525 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
526 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
527 * math/libm-test.inc (tan_test): Add more tests and enable more
528 tests for double and long double.
529 * sysdeps/i386/fpu/libm-test-ulps: Update.
530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
531
6a1bd2a1
JK
5322012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
533
534 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
535 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
536
10a803e0
RM
5372012-03-16 Roland McGrath <roland@hack.frob.com>
538
539 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
540 * configure.in: Use it for both main tree and add-ons.
541 * configure: Regenerated.
542
f196c7f7
L
5432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
544
545 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
546
8848d99d
JM
5472012-03-16 Joseph Myers <joseph@codesourcery.com>
548
96cbe7f4
JM
549 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
550 in comment.
551
8848d99d
JM
552 [BZ #13851]
553 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
554 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
555 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
556 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
557 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
558 infinite argument.
559 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
560 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
561 != 0 for prec == 2.
562 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
563 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
564 * sysdeps/i386/fpu/s_cosl.S: Likewise.
565 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
566 * sysdeps/i386/fpu/s_sinl.S: Likewise.
567 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
568 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
569 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
570 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
571 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
572 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
573 * math/libm-test.inc (cos_test): Add more tests and enable more
574 tests for long double.
575 (sin_test): Likewise.
576 (sincos_test): Likewise.
577 * sysdeps/i386/fpu/libm-test-ulps: Update.
578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
579
dd7f4703
DM
5802012-03-16 David S. Miller <davem@davemloft.net>
581
582 * sysdeps/sparc/fpu/math_private.h: New file.
583
006f1daa
DM
5842012-03-15 David S. Miller <davem@davemloft.net>
585
c0c83bc8
DM
586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
587 file.
e6a62e18 588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
590 file.
e6a62e18
DM
591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
596 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
597 sysdep routines.
598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
599
88cb87d9
DM
600 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
601 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
602
006f1daa 603 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
605 sparc-ifunc.h
006f1daa 606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
608 Likewise.
609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
610 Likewise.
006f1daa
DM
611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
615 Likewise.
006f1daa
DM
616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
621 Likewise.
622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
623 Likewise.
006f1daa
DM
624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
630 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
631 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
642 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
643 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
644 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
645 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
646 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
647 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
648
11e0098e
AS
6492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
650
651 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
652 scaling.
653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
654
e85b09d0
AJ
6552012-03-15 Andreas Jaeger <aj@suse.de>
656
657 [BZ #13852]
658 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
659 ieee754/flt-32 implementation for sin, cos and sincos.
660 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
661 * sysdeps/i386/fpu/s_cosf.S: Likewise.
662 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
663 * sysdeps/i386/fpu/s_sinf.S: Likewise.
664 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
665 ieee754/flt-32 implementation for tan.
666
667 * math/libm-test.inc (cos_test): Enable some large input tests for
668 float as well
669 (sin_test): Likewise.
670 (sincos_test): Likewise.
671 (tan_test): Add tests for large input.
672
673 * sysdeps/i386/fpu/libm-test-ulps: Update.
674
81c64153
AJ
6752012-03-15 Andreas Jaeger <aj@suse.de>
676
677 [BZ #13658]
678 * math/libm-test.inc (cos_test): Add more test cases.
679 (sin_test): Likewise.
680 (sincos_test): Likewise.
681
7bbfa5c6
AJ
6822012-03-15 Andreas Jaeger <aj@suse.de>
683
684 [BZ #13837]
685 * math/libm-test.inc (cos_test): Add a test case for large input
686 value.
687 (sin_test): Likewise.
688 (sincos_test): Likewise.
689
6902012-03-15 Andreas Jaeger <aj@suse.de>,
691 Joseph Myers <joseph@codesourcery.com>
692
693 [BZ #13658]
0671f479 694 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
695 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
696 * sysdeps/i386/fpu/branred.c: Likewise.
697 * sysdeps/i386/fpu/dosincos.c: Likewise.
698 * sysdeps/i386/fpu/mpa.c: Likewise.
699 * sysdeps/i386/fpu/s_cos.S: Likewise.
700 * sysdeps/i386/fpu/s_sin.S: Likewise.
701 * sysdeps/i386/fpu/s_sincos.S: Likewise.
702 * sysdeps/i386/fpu/sincos32.c: Likewise.
703
704 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
705 Define.
706 (libc_feupdateenv_53bit): Define.
707 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
708 Define.
709 (libc_feupdateenv_53bit): Define.
710
711 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
712 53 bit (without extend i386 double precision).
713
714 * math/libm-test.inc (sincos_test): Add tests for large input.
715 (sin): Likewise.
716 (cos): Likewise.
717
718 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
719
9cad04ea
AS
7202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
721
722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
723
f7062b9a
DM
7242012-03-15 David S. Miller <davem@davemloft.net>
725
726 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
727 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
728 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
729 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
742 file.
f7062b9a 743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
745 file.
f7062b9a 746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
748 file.
f7062b9a 749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
751 file.
f7062b9a
DM
752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
753 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
754 fmin/fmax sysdep routines.
755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
756
7bd951ff
DM
7572012-03-14 David S. Miller <davem@davemloft.net>
758
559398ab
DM
759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
763 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
764 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
765 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
766 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
780 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
781 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
782 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
783 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
784 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
785 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
786 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
787 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
788 routines.
789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
790 file.
559398ab 791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
793 file.
559398ab 794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
796 file.
559398ab 797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
799 file.
559398ab 800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
802 file.
559398ab 803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
805 file.
806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
807 file.
808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
809 file.
810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
811 file.
812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
813 New file.
814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
815 file.
816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
817 file.
559398ab 818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
820 file.
559398ab 821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
823 file.
559398ab 824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
826 file.
559398ab 827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
829 VIS3 routines.
559398ab
DM
830
831 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
832 New file.
833
5a1c1e32
DM
834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
835
eae47a36
DM
836 * sysdeps/sparc/configure.in: New file.
837 * sysdeps/sparc/configure: Generate.
838 * configure.in (libc_cv_sparc_as_vis3): Substitute.
839 * configure: Regenerate.
840 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
841 * config.make.in (have-as-vis3): New.
842 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
843 available use -Av9d instead of -Av9a.
844 * sysdeps/sparc/sparc64/Makefile: Likewise.
845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
847 New file.
848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
849 file.
850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
851 New file.
852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
853 file.
eae47a36
DM
854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
855 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
856 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
857 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
858 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
859
c0c83bc8
DM
860 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
861 fzeros/fnegs to load 0x80000000 into a float register instead of
862 using the stack.
7bd951ff
DM
863 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
864
bd951ccb
JM
8652012-03-14 Joseph Myers <joseph@codesourcery.com>
866
867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
868 bits/syscall.h.
869 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
870 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
871 ($(inst_includedir)/bits/syscall.h): Remove rule.
872 ($(objpfx)bits/syscall.d): Include instead of
873 $(objpfx)syscall-list.d.
874 (generated): Change syscall-list.h and syscall-list.d to
875 bits/syscall.h and bits/syscall.d.
876
bb4e6db2
RM
8772012-03-14 Roland McGrath <roland@hack.frob.com>
878
879 [BZ #13846]
880 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
881
aa4a2ae1
JM
8822012-03-14 Joseph Myers <joseph@codesourcery.com>
883
e456826d
JM
884 [BZ #13841]
885 * math/s_csqrt.c: Include <float.h>.
886 (__csqrt): Scale large or subnormal inputs.
887 * math/s_csqrtf.c: Likewise.
888 * math/s_csqrtl.c: Likewise.
889 * math/libm-test.inc (csqrt_test): Add more tests.
890 * sysdeps/i386/fpu/libm-test-ulps: Update.
891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
892
aa4a2ae1
JM
893 [BZ #13840]
894 * math/libm-test.inc (hypot_test): Add more tests.
895
7c10fd35
DM
8962012-03-13 David S. Miller <davem@davemloft.net>
897
898 [BZ #13840]
899 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
900 double-precision for the calculation instead of scaling.
901
f453b98b
JM
9022012-03-13 Joseph Myers <joseph@codesourcery.com>
903
904 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
905 manipulate bits before adding and subtracting TWO52[sx].
906 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
907 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
908 Likewise.
909 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
910
09a3453f
DM
9112012-03-13 David S. Miller <davem@davemloft.net>
912
8e59da90
DM
913 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
914 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
916 rtld-global-offsets.h
917 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
918
2a8ab7f2
DM
919 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
920 large parameters.
921
10f62770
DM
922 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
923
5f0bdb18
DM
924 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
925 'err' in the ifdef scope in which it is actually used.
926
09a3453f
DM
927 * nss/nss_db/db-init.c: Include string.h
928
b4b2eb5e
DM
9292012-03-12 David S. Miller <davem@davemloft.net>
930
98bb2f1c
DM
931 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
932 masking out of the most significant byte of random value used.
933 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
934 Fix coding style in previous change.
935
b4b2eb5e
DM
936 * sysdeps/unix/sysv/linux/kernel-features.h
937 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
938 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
939 expression.
940 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
941 later.
942
6e226b09
DM
9432012-03-11 David S. Miller <davem@davemloft.net>
944
a1bcbd40
DM
945 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
946 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
947 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
948 for 'resultvar' otherwise things get truncated on 64-bit.
949
cb9d6174
DM
950 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
951 Fix masking out of the most significant byte of random value used.
952
6e226b09
DM
953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
954
058c132d
AS
9552012-03-10 Andreas Schwab <schwab@linux-m68k.org>
956
957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
958
2d2cd515
DM
9592012-03-09 David S. Miller <davem@davemloft.net>
960
961 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
962 variables with appropriate CPP guards.
963 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
964 frame pointer, not the stack pointer. Correct layout comments. Fix test
965 on resulting framesize and the management of the outregs buffer for pltexit.
966 Preserve floating point return values across _dl_call_pltexit call.
967 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
968 framesize and the management of the outregs buffer for pltexit.
969 Preserve floating point return values across _dl_call_pltexit
970 call.
971 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
972 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
973 (print_exit): Fix format string for return register value.
974
9a07f9d0
JM
9752012-03-10 Joseph Myers <joseph@codesourcery.com>
976
977 * sunrpc/Makefile (others): Add rpcgen.
978 ($(objpfx)rpcgen): Remove special build rule and dependency on
979 libc.
980 * sunrpc/rpcgen.c: New file.
981
547b5e30
PE
9822012-03-09 Paul Eggert <eggert@cs.ucla.edu>
983
c524201a
PE
984 [BZ #13673]
985 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
986 * stdio-common/bug-vfprintf-nargs.c: Likewise.
987 * sysdeps/i386/crti.S: Likewise.
988 * sysdeps/i386/crtn.S: Likewise.
989 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
990 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
991 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
992 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
993 * sysdeps/sh/crti.S: Likewise.
994 * sysdeps/sh/crtn.S: Likewise.
995 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
996
7b6235f2
PE
997 [BZ #13673]
998 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
999 with URL.
1000 * locale/programs/locfile-kw.gperf: Likewise.
1001 * locale/programs/charmap-kw.h: Regenerated.
1002 * locale/programs/locfile-kw.h: Likewise.
1003
547b5e30
PE
1004 [BZ #13673]
1005 * intl/plural.y: Replace FSF snail mail address with URL.
1006 * intl/plural.c: Regenerated.
1007
5f0a5dae
RH
10082012-03-09 Richard Henderson <rth@twiddle.net>
1009
1010 * include/math_private.h: Remove file.
1011 * math/math_private.h: Move file ...
1012 * sysdeps/generic/math_private.h: ... here.
1013
b8c03620
RH
1014 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1015 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1016 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1017
4e234f5d 1018 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1019 and <math_private.h>.
1020 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1021 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1022 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1023 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1024 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1025 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1026 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1027 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1028 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1029 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1031 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1032 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1033 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1034 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1035 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1036 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1037 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1038 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1039 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1041 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1042 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1044 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1045 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1046 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1047 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1048 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1049 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1050 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1052 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1053 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1054 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1055 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1056 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1057 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1058 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1059 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1060 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1061 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1062 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1063 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1064 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1065 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1066 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1067 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1068 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1069 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1070 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1071 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1072 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1073 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1074 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1075 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1076 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1077 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1078 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1079 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1080 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1081 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1082 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1083 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1084 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1085 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1086 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1087 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1088 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1089 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1090 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1091 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1092 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1094 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1095 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1098 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1099 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1100 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1101 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1102 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1103 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1104 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1105 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1107 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1108 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1109 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1110 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1111 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1112 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1113 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1114 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1115 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1116 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1117 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1118 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1119 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1120 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1121 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1122 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1123 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1124 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1125 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1126 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1127 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1128 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1129 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1130 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1131 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1132 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1133 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1134 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1135 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1136 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1137 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1138 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1139 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1140 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1141 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1142 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1143 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1144 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1145 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1146 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1147 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1148 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1149 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1150 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1151 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1152 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1153 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1154 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1155 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1156 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1157 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1158 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1159 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1160 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1161 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1162 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1163 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1164 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1165 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1166 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1167 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1168 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1169 * sysdeps/ieee754/k_standard.c: Likewise.
1170 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1171 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1172 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1173 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1174 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1175 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1176 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1177 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1178 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1179 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1180 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1181 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1182 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1183 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1184 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1185 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1186 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1187 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1188 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1189 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1190 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1191 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1192 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1193 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1194 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1195 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1196 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1197 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1198 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1199 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1200 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1201 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1202 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1203 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1204 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1205 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1206 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1207 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1208 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1209 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1210 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1211 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1212 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1213 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1214 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1215 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1216 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1217 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1218 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1219 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1220 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1221 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1222 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1223 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1224 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1225 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1226 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1227 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1228 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1229 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1230 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1231 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1232 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1233 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1235 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1236 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1237 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1238 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1239 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1240 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1242 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1243 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1244 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1245 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1246 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1247 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1248 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1249 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1250 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1251 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1252 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1253 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1254 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1255 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1256 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1257 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1258 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1259 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1260 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1261 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1262 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1263 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1264 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1265 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1266 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1267 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1268 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1269 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1270 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1271 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1272 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1273 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1274 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1277 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1278 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1279 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1280 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1281 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1282 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1283 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1284 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1285 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1286 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1287 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1288 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1289 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1290 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1291 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1292 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1293 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1294 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1295 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1296 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1297 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1298 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1299 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1300 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1301 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1302 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1303 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1305 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1306 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1307 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1311 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1312 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1315 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1316 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1317 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1318 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1319 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1320 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1321 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1322 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1323 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1324 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1325 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1326 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1327 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1328 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1329 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1330 * sysdeps/ieee754/s_lib_version.c: Likewise.
1331 * sysdeps/ieee754/s_matherr.c: Likewise.
1332 * sysdeps/ieee754/s_signgam.c: Likewise.
1333 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1334 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1335 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1336 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1337 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1338 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1339 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1340 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1341 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1342 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1343 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1344 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1345 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1346 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1347 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1348 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1349 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1350 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1351 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1352 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1353 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1354
1991fa03
JM
13552012-03-09 Joseph Myers <joseph@codesourcery.com>
1356
1357 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1358 * sunrpc/rpc_main.c: Likewise.
1359 * sunrpc/rpc_svcout.c: Likewise.
1360
60d6f5a6
DM
13612012-03-09 David S. Miller <davem@davemloft.net>
1362
1363 * include/math_private.h: New file.
1364
4962050e
JM
13652012-03-09 Joseph Myers <joseph@codesourcery.com>
1366
02a6f887
JM
1367 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1368 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1369 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1370 from <bits/socket_type.h>.
1371 (enum __socket_type): Don't define here.
1372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1374 bits/socket_type.h.
1375
c6e013c1
JM
1376 [BZ #13566]
1377 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1378 checking __USE_GNU.
1379
4962050e
JM
1380 * Makerules ($(inst_includedir)/%.h): New rule.
1381 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1382 (install-others): Remove variable setting.
1383 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1384
38842f45
RH
13852012-03-08 Richard Henderson <rth@twiddle.net>
1386
67bb6da6
RH
1387 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1388 from macro to inline function; merge with the
1389 !__LIBC_INTERNAL_MATH_INLINES version.
1390 (__ieee754_sqrtf): Likewise.
1391
15194b4b
RH
1392 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1393 to inline function.
1394 (__rintf, __floor, __floorf): Likewise.
1395
64e21ede
RH
1396 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1397 macro to inline function.
1398 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1399
38842f45
RH
1400 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1401 not <math/math_private.h>.
1402
c64bf5fe
DM
14032012-03-08 David S. Miller <davem@davemloft.net>
1404
1405 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1406 copyright year.
1407 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1408
82d86f28
TS
14092012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1410
1411 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1412 normalization.
1413 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1414 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1415
aea5d727
UD
14162012-03-08 Ulrich Drepper <drepper@gmail.com>
1417
1418 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1419 be defined individually, they must be defined as a block. Define
1420 S for printing a string instead of hidint the different by using a
1421 macro for adding the 'l'.
1422 * stdio-common/tst-fphex-wide.c: Adjust.
1423
70bca0a3
MP
14242012-03-07 Marek Polacek <polacek@redhat.com>
1425
1426 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1427
65b81130
MP
14282012-03-08 Marek Polacek <polacek@redhat.com>
1429
1430 [BZ #13806]
1431 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1432 * stdio-common/tst-fphex.c: Define a few macros to make the
1433 test reusable. Use them.
1434 * stdio-common/tst-fphex-wide.c: New file.
1435
07037eeb
JM
14362012-03-08 Joseph Myers <joseph@codesourcery.com>
1437
a7a93d50
JM
1438 [BZ #6911]
1439 * manual/macros.texi (gnusystems): New macro.
1440 (nongnusystems): Likewise.
1441 (gnulinuxhurdsystems): Likewise.
1442 (gnuhurdsystems): Likewise..
1443 (gnulinuxsystems): Likewise.
1444 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1445 variants of the GNU system, not "GNU system".
1446 * manual/conf.texi: Likewise.
1447 * manual/errno.texi: Likewise. Update example of errno macro
1448 expansion.
1449 * manual/filesys.texi: Likewise.
1450 (getumask): Document as specific to GNU/Hurd.
1451 * manual/install.texi: Likewise. Reword some references to
1452 GNU/Linux.
1453 * manual/intro.texi: Likewise.
1454 * manual/io.texi: Likewise.
1455 (File Name Portability): Detail which constraints are inapplicable
1456 to all GNU systems and which are only inapplicable to GNU/Hurd.
1457 * manual/job.texi: Likewise.
1458 * manual/llio.texi: Likewise.
1459 (O_NOCTTY): Document as present on GNU/Linux.
1460 * manual/maint.texi: Likewise.
1461 * manual/memory.texi: Likewise.
1462 * manual/pattern.texi: Likewise.
1463 * manual/pipe.texi: Likewise.
1464 * manual/process.texi: Likewise.
1465 * manual/resource.texi: Likewise.
1466 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1467 child on GNU/Hurd.
1468 * manual/setjmp.texi: Likewise.
1469 * manual/signal.texi: Likewise.
1470 * manual/startup.texi: Likewise.
1471 * manual/stdio.texi: Likewise.
1472 * manual/terminal.texi: Likewise.
1473 (ONLCR): Document as POSIX.
1474 (OXTABS): Document availability on GNU/Linux as XTABS.
1475 (ONOEOT): Document availability separately from other bits.
1476 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1477 * manual/time.texi: Likewise.
1478 * manual/users.texi: Likewise.
1479 * INSTALL: Regenerated.
1480 * sysdeps/gnu/errlist.c: Regenerated.
1481
07037eeb
JM
1482 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1483 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1484 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1485 puts.
1486 * configure: Regenerated.
1487
d1d3431a
JM
14882012-03-07 Joseph Myers <joseph@codesourcery.com>
1489
af6a1e37
JM
1490 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1491 default includes instead of AC_HEADER_CHECK.
1492 * sysdeps/i386/configure: Regenerated.
1493
d1d3431a
JM
1494 [BZ #10716]
1495 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1496 * math/s_cacoshf.c (__cacoshf): Likewise.
1497 * math/s_cacoshl.c (__cacoshl): Likewise.
1498 * math/s_casinh.c (__casinh): Set signs of result from argument.
1499 * math/s_casinhf.c (__casinhf): Likewise.
1500 * math/s_casinhl.c (__casinhl): Likewise.
1501 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1502 (casinh_test): Add more tests.
1503 * sysdeps/i386/fpu/libm-test-ulps: Update.
1504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1505
482ff4da
UD
15062012-03-07 Ulrich Drepper <drepper@gmail.com>
1507
872fda05
UD
1508 * po/zh_TW.po: Update from translation team.
1509
a4300c7a
UD
1510 * login/Makefile (distribute): Remove variable.
1511 * catgets/Makefile: Likewise.
1512 * mach/Makefile: Likewise.
1513 * malloc/Makefile: Likewise.
1514 * misc/Makefile: Likewise.
1515 * iconv/Makefile: Likewise.
1516 * nscd/Makefile: Likewise.
1517 * hurd/Makefile: Likewise.
1518 * manual/Makefile: Likewise.
1519 * locale/Makefile: Likewise.
1520 * intl/Makefile: Likewise.
1521 * conform/Makefile: Likewise.
1522 * nss/Makefile: Likewise.
1523 * time/Makefile: Likewise.
1524 * soft-fp/Makefile: Likewise.
1525 * dirent/Makefile: Likewise.
1526 * gmon/Makefile: Likewise.
1527 * po/Makefile: Likewise.
1528 * rt/Makefile: Likewise.
1529 * socket/Makefile: Likewise.
1530 * math/Makefile: Likewise.
1531 * signal/Makefile: Likewise.
1532 * debug/Makefile: Likewise.
1533 * elf/Makefile: Likewise.
1534 * timezone/Makefile: Likewise.
1535 * stdlib/Makefile: Likewise.
1536 * iconvdata/Makefile: Likewise.
1537 * sunrpc/Makefile: Likewise.
1538 * io/Makefile: Likewise.
1539 * argp/Makefile: Likewise.
1540 * inet/Makefile: Likewise.
1541 * hesiod/Makefile: Likewise.
1542 * grp/Makefile: Likewise.
1543 * csu/Makefile: Likewise.
1544 * wctype/Makefile: Likewise.
1545 * crypt/Makefile: Likewise.
1546 * libio/Makefile: Likewise.
1547 * string/Makefile: Likewise.
1548 * nis/Makefile: Likewise.
1549 * resolv/Makefile: Likewise.
1550 * stdio-common/Makefile: Likewise.
1551 * wcsmbs/Makefile: Likewise.
1552 * dlfcn/Makefile: Likewise.
1553 * posix/Makefile: Likewise.
1554
482ff4da
UD
1555 * timezone/Makefile: Don't install timezone files, just the programs
1556 and scripts.
1557
f72ed77d
UD
15582012-03-06 Ulrich Drepper <drepper@gmail.com>
1559
a000466f
UD
1560 * nss/databases.def: Add missing gshadow entry.
1561
f72ed77d
UD
1562 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1563
a53b7a4e
MP
15642012-03-06 Marek Polacek <polacek@redhat.com>
1565
1566 [BZ #13726]
1567 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1568 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1569 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1570 * stdio-common/tst-long-dbl-fphex.c: New file.
1571
e9258400
DM
15722012-03-06 David S. Miller <davem@davemloft.net>
1573
1574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1575 (set_obp_int): New function.
1576 (get_obp_int): New function.
1577 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1578 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1579 Avoid unused variable warnings on 'val' and use builtin_expect.
1580 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1581 __builtin_expect.
e9258400
DM
1582 (INLINE_CLONE_SYSCALL): Likewise.
1583
3bd2c723
DM
15842012-03-05 David S. Miller <davem@davemloft.net>
1585
1586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1587
bbb78d03
AS
15882012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1589
884c5db4
AS
1590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1591
bbb78d03
AS
1592 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1593 only for |x| >= 40.
1594 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1595
1c9f702a 15962012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1597
1598 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1599 Replace gettimeofday with __vdso_gettimeofday.
1600
7be16f82
RM
1601 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1602 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1603 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1604
1605 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1606 time with __vdso_time.
1607
ed58a00f
JM
16082012-03-05 Joseph Myers <joseph@codesourcery.com>
1609
1610 * manual/lang.texi (size_t): Note types to which size_t may be
1611 equivalent with the GNU C Library, but do not describe when
1612 differences between them are significant.
1613
30ee4ced
AJ
16142012-03-05 Andreas Jaeger <aj@suse.de>
1615
1616 * sysdeps/i386/fpu/libm-test-ulps: Update.
1617
b7cd39e8
JM
16182012-03-05 Joseph Myers <joseph@codesourcery.com>
1619
1620 [BZ #3976]
1621 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1622 (__ieee754_pow): Save and restore rounding mode and use
1623 round-to-nearest for main computations.
1624 * math/libm-test.inc (pow_test_tonearest): New function.
1625 (pow_test_towardzero): Likewise.
1626 (pow_test_downward): Likewise.
1627 (pow_test_upward): Likewise.
1628 (main): Call the new functions.
1629 * sysdeps/i386/fpu/libm-test-ulps: Update.
1630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1631
1632 [BZ #3976]
1633 * math/libm-test.inc (cosh_test_tonearest): New function.
1634 (cosh_test_towardzero): Likewise.
1635 (cosh_test_downward): Likewise.
1636 (cosh_test_upward): Likewise.
1637 (sinh_test_tonearest): Likewise.
1638 (sinh_test_towardzero): Likewise.
1639 (sinh_test_downward): Likewise.
1640 (sinh_test_upward): Likewise.
1641 (main): Call the new functions.
1642 * sysdeps/i386/fpu/libm-test-ulps: Update.
1643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1644
6c6a98c9
TV
16452012-03-05 Tom de Vries <tom@codesourcery.com>
1646
1647 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1648 default stack guard is set in last bytes.
1649 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1650
21bb2d2e 16512012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1652
21bb2d2e 1653 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1654
21bb2d2e
AJ
1655 [BZ #13656]
1656 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1657 possibly allocate from heap instead of stack.
1658 * stdio-common/bug-vfprintf-nargs.c: New file.
1659 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1660
c6922934
AS
16612012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1662
1663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1664
bc957d53
MP
16652012-03-03 Marek Polacek <polacek@redhat.com>
1666
1667 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1668 * math/math_private.h: Likewise.
1669 * stdlib/tst-strtod.c: Likewise.
1670 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1671 * sysdeps/x86_64/bits/atomic.h: Likewise.
1672
6358490d
DM
16732012-03-02 David S. Miller <davem@davemloft.net>
1674
1675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1679 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1680 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1681 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1682 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1683
01ae168d
RM
16842012-03-02 Roland McGrath <roland@hack.frob.com>
1685
d9a17c07
RM
1686 [BZ #13792]
1687 * manual/examples/README: New file, says the example source files
1688 can be used under GPL>=2.
1689 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1690 line containing just "*/".
1691 * manual/examples/add.c: Add copyright header (GPL>=2).
1692 * manual/examples/argp-ex1.c: Likewise.
1693 * manual/examples/argp-ex2.c: Likewise.
1694 * manual/examples/argp-ex3.c: Likewise.
1695 * manual/examples/argp-ex4.c: Likewise.
1696 * manual/examples/atexit.c: Likewise.
1697 * manual/examples/db.c: Likewise.
1698 * manual/examples/dir.c: Likewise.
1699 * manual/examples/dir2.c: Likewise.
1700 * manual/examples/execinfo.c: Likewise.
1701 * manual/examples/filecli.c: Likewise.
1702 * manual/examples/filesrv.c: Likewise.
1703 * manual/examples/fmtmsgexpl.c: Likewise.
1704 * manual/examples/genpass.c: Likewise.
1705 * manual/examples/inetcli.c: Likewise.
1706 * manual/examples/inetsrv.c: Likewise.
1707 * manual/examples/isockad.c: Likewise.
1708 * manual/examples/longopt.c: Likewise.
1709 * manual/examples/memopen.c: Likewise.
1710 * manual/examples/memstrm.c: Likewise.
1711 * manual/examples/mkfsock.c: Likewise.
1712 * manual/examples/mkisock.c: Likewise.
1713 * manual/examples/mygetpass.c: Likewise.
1714 * manual/examples/pipe.c: Likewise.
1715 * manual/examples/popen.c: Likewise.
1716 * manual/examples/rprintf.c: Likewise.
1717 * manual/examples/search.c: Likewise.
1718 * manual/examples/select.c: Likewise.
1719 * manual/examples/setjmp.c: Likewise.
1720 * manual/examples/sigh1.c: Likewise.
1721 * manual/examples/sigusr.c: Likewise.
1722 * manual/examples/stpcpy.c: Likewise.
1723 * manual/examples/strdupa.c: Likewise.
1724 * manual/examples/strftim.c: Likewise.
1725 * manual/examples/strncat.c: Likewise.
1726 * manual/examples/subopt.c: Likewise.
1727 * manual/examples/swapcontext.c: Likewise.
1728 * manual/examples/termios.c: Likewise.
1729 * manual/examples/testopt.c: Likewise.
1730 * manual/examples/testpass.c: Likewise.
1731 * manual/examples/timeval_subtract.c: Likewise.
1732
01ae168d
RM
1733 [BZ #13792]
1734 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1735 function to ...
1736 * manual/timeval_subtract.c.texi: ... here, new file.
1737
49efa33d
DM
17382012-03-02 David S. Miller <davem@davemloft.net>
1739
1740 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1741
28afd92d
JM
17422012-03-02 Joseph Myers <joseph@codesourcery.com>
1743
804360ed
JM
1744 [BZ #3976]
1745 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1746 (__sin): Save and restore rounding mode and use round-to-nearest
1747 for all computations.
1748 (__cos): Save and restore rounding mode and use round-to-nearest
1749 for all computations.
1750 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1751 <fenv.h>.
1752 (tan): Save and restore rounding mode and use round-to-nearest for
1753 all computations.
1754 * math/libm-test.inc (cos_test_tonearest): New function.
1755 (cos_test_towardzero): Likewise.
1756 (cos_test_downward): Likewise.
1757 (cos_test_upward): Likewise.
1758 (sin_test_tonearest): Likewise.
1759 (sin_test_towardzero): Likewise.
1760 (sin_test_downward): Likewise.
1761 (sin_test_upward): Likewise.
1762 (tan_test_tonearest): Likewise.
1763 (tan_test_towardzero): Likewise.
1764 (tan_test_downward): Likewise.
1765 (tan_test_upward): Likewise.
1766 (main): Call the new functions.
1767 * sysdeps/i386/fpu/libm-test-ulps: Update.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1769
a6d06d7b
JM
1770 [BZ #10135]
1771 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1772 small n, then large n, before computing and testing k+n.
1773 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1775 Likewise.
1776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1777 Likewise.
1778 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1779 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1780 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1781 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1782 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1783 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1784 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1785 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1786 * math/libm-test.inc (scalbn_test): Add more tests.
1787 (scalbln_test): Likewise.
1788
07e12bb3
JM
1789 * manual/filesys.texi (mode_t): Describe constraints on size and
1790 signedness, not exact equivalence to a particular type.
1791 (ino_t): Likewise.
1792 (ino64_t): Likewise.
1793 (dev_t): Likewise.
1794 (nlink_t): Likewise.
1795 (blkcnt_t): Likewise.
1796 (blkcnt64_t): Likewise.
1797 * manual/llio.texi (off_t): Likewise.
1798
28afd92d
JM
1799 [BZ #3976]
1800 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1801 (__ieee754_exp): Save and restore rounding mode and use
1802 round-to-nearest for all computations.
1803 * math/libm-test.inc (exp_test_tonearest): New function.
1804 (exp_test_towardzero): Likewise.
1805 (exp_test_downward): Likewise.
1806 (exp_test_upward): Likewise.
1807 (main): Call the new functions.
1808 * sysdeps/i386/fpu/libm-test-ulps: Update.
1809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1810
b1eeb65d
CD
18112012-03-01 Chris Demetriou <cgd@google.com>
1812
1813 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1814 have predictable order.
1815
53362a4b
DM
18162012-03-01 David S. Miller <davem@davemloft.net>
1817
3c969083
DM
1818 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1819
759707de
DM
1820 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1821 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1822 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1823 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1824
dfdb8ff2
DM
1825 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1826 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1827 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1829 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1830 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1831 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1832 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1833 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1834
ead89f96
DM
1835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1836
7f66bd07
DM
1837 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1838 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1839 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1840
53362a4b
DM
1841 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1842 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1843 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1844 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1845 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1846 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1847 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1848 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1849 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1850 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1851 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1852 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1854 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1855 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1856 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1857 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1858 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1859 * sysdeps/sparc/elf/configure: Regenerated.
1860
7b1902cb
JM
18612012-03-01 Joseph Myers <joseph@codesourcery.com>
1862
bec039bc
JM
1863 * configure.in (AS, LD): Require binutils 2.20 or later.
1864 * configure: Regenerated.
1865 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1866 as required minimum version.
1867 * INSTALL: Regenerated.
1868
7b1902cb
JM
1869 [BZ #2541]
1870 [BZ #4108]
1871 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1872 before squaring exponent.
1873 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1874 bottom long double and 27 bits of top long double before squaring
1875 exponent.
1876 * math/libm-test.inc (erfc_test): Add more tests.
1877 * sysdeps/i386/fpu/libm-test-ulps: Update.
1878 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1880
f775c276
KT
18812012-03-01 Kai Tietz <ktietz@redhat.com>
1882
1883 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1884 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1885 containing bit-fields.
1886 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1887 * soft-fp/single.h (_FP_UNION_S): Likewise.
1888 * soft-fp/double.h (_FP_UNION_D): Likewise.
1889
5b8a4d4a
JM
18902012-02-29 Joseph Myers <joseph@codesourcery.com>
1891
0bab47b6
JM
1892 [BZ #13786]
1893 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1894 not include ../strcmp.S.
1895 [USE_AS_STRNCASECMP_L]: Likewise.
1896 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1897 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1898 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1899 (__strncasecmp_l_ia32): Define as alias to
1900 __strncasecmp_l_nonascii.
1901
0fcad3e2
JM
1902 [BZ #5794]
1903 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1904 * sysdeps/i386/fpu/libm-test-ulps: Update.
1905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1906
5b8a4d4a
JM
1907 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1909
8fdceb2e
JL
19102012-02-29 Jeff Law <law@redhat.com>
1911
1912 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1913 out of bounds read.
1914
1f393a11
MP
19152012-02-29 Marek Polacek <polacek@redhat.com>
1916
1917 [BZ #13706]
1918 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1919 * elf/Makefile: Add rules to run tst-unused-dep.out.
1920
8847f037
DM
19212012-02-28 David S. Miller <davem@davemloft.net>
1922
1923 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1924 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1925 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1926 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1927 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1928 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1929
169d7f11
JM
19302012-02-29 Joseph Myers <joseph@codesourcery.com>
1931
1932 * math/libm-test.inc (llround_test): Move one test from
1933 lround_test. Use TEST_f_L in moved test.
1934 (lround_test): Move misplaced test to llround_test. Add testcase
1935 from bug 2561.
1936
39adf059
UD
19372012-02-28 Ulrich Drepper <drepper@gmail.com>
1938
1939 * sysdeps/x86_64/fpu/e_expf.S: New file.
1940 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1941
71b5d1c5
SB
19422012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1943
1944 [BZ #13637]
1945 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1946 of remain_len that may cause incomplete multi-byte character and
1947 false match.
1948 * posix/bug-regex33.c: New file.
1949 * posix/Makefile (tests): Add bug-regex33.
1950
1f77f049
JM
19512012-02-28 Joseph Myers <joseph@codesourcery.com>
1952
1953 * manual/macros.texi: New file.
1954 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1955 * manual/libc.texinfo: Include macros.texi.
1956 * manual/creatute.texi: Likewise.
1957 * manual/install.texi: Likewise.
1958 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1959 @glibcadj{} in references to the GNU C Library.
1960 * manual/charset.texi: Likewise.
1961 * manual/conf.texi: Likewise.
1962 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1963 when not using those macros.
1964 * manual/creature.texi: Likewise.
1965 * manual/crypt.texi: Likewise.
1966 * manual/errno.texi: Likewise.
1967 * manual/filesys.texi: Likewise.
1968 * manual/header.texi: Likewise.
1969 * manual/install.texi: Likewise.
1970 * manual/intro.texi: Likewise.
1971 * manual/io.texi: Likewise.
1972 * manual/job.texi: Likewise.
1973 * manual/lang.texi: Likewise.
1974 * manual/libc.texiinfo: Likewise.
1975 * manual/llio.texi: Likewise.
1976 * manual/locale.texi: Likewise.
1977 * manual/maint.texi: Likewise.
1978 * manual/math.texi: Likewise.
1979 * manual/memory.texi: Likewise.
1980 * manual/message.texi: Likewise.
1981 * manual/nss.texi: Likewise.
1982 * manual/pattern.texi: Likewise.
1983 * manual/process.texi: Likewise.
1984 * manual/resource.texi: Likewise.
1985 * manual/search.texi: Likewise.
1986 * manual/setjmp.texi: Likewise.
1987 * manual/signal.texi: Likewise.
1988 * manual/socket.texi: Likewise.
1989 * manual/startup.texi: Likewise.
1990 * manual/stdio.texi: Likewise.
1991 * manual/string.texi: Likewise.
1992 * manual/sysinfo.texi: Likewise.
1993 * manual/syslog.texi: Likewise.
1994 * manual/terminal.texi: Likewise.
1995 * manual/time.texi: Likewise.
1996 * manual/users.texi: Likewise.
1997 * INSTALL: Regenerated.
1998 * NOTES: Regenerated.
d40c5d54 1999 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2000
450bf206
AS
20012012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2002
2003 * include/dirent.h: Include <dirstream.h> before
2004 <dirent/dirent.h>.
2005
741a235b
DM
20062012-02-28 David S. Miller <davem@davemloft.net>
2007
2008 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2009 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2010 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2011 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2012
d6b5aa58
DM
20132012-02-27 David S. Miller <davem@davemloft.net>
2014
1aff59a3
DM
2015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2017 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2018 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2019
d6b5aa58
DM
2020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2021 frame pointer instead of stack pointer relative arg slot.
2022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2023 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2024 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2025
433f48bf
CD
20262012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2027
2028 [BZ #3992]
2029 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2030
d674b76d
DM
20312012-02-27 David S. Miller <davem@davemloft.net>
2032
2033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2037 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2038 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2039 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2040 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2041
0e7727f7
JM
20422012-02-27 Joseph Myers <joseph@codesourcery.com>
2043
2044 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2045 later. Allow versions 5-9.
43be4ca2 2046 * configure: Regenerated.
0e7727f7
JM
2047 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2048 required minimum version and 4.6 as recommended version. Do not
2049 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2050 * INSTALL: Regenerated.
0e7727f7 2051
a78bc654
DM
20522012-02-27 David S. Miller <davem@davemloft.net>
2053
428d5830
DM
2054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2058 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2059 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2060 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2061 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2062
a78bc654
DM
2063 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2064 manipulate bits before adding and subtracting TWO112[sx].
2065 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2066
4579f81c
RM
20672012-02-27 Roland McGrath <roland@hack.frob.com>
2068
36c8acb4
RM
2069 [BZ #13775]
2070 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2071 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2072 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2073 being in POSIX, because they are in 1003.1-2008.
2074
84ad622b
RM
2075 * rt/tst-aio.c: Include <fcntl.h>.
2076 * rt/tst-aio7.c: Likewise.
2077 * rt/tst-aio64.c: Likewise.
2078
4579f81c
RM
2079 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2080
abd923db
JM
20812012-02-27 Joseph Myers <joseph@codesourcery.com>
2082
2083 * manual/install.texi (--with-headers): Describe headers as
2084 interface headers, not private headers.
2085 (Specific advice for GNU/Linux systems): Describe use of headers
2086 from "make headers_install", not private headers from older
2087 kernels.
43be4ca2 2088 * INSTALL: Regenerated.
abd923db
JM
2089 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2090 Change to 2.6.19.
2091 * sysdeps/unix/sysv/linux/configure: Regenerated.
2092
6664049b
JM
2093 * manual/llio.texi (fclean): Remove documentation.
2094
bb8b6697
JM
2095 * manual/Makefile (libc-texi-generated): New variable. Include
2096 version.texi.
2097 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2098 $(libc-texi-generated), not duplicated list of files.
2099 (version.texi, stamp-version): New rules.
2100 (realclean): Remove $(libc-texi-generated), not individual files
2101 from that list. Do not remove dir-add.texinfo.
2102 * manual/libc.texinfo: Comment out uses of edition numbers and
2103 references to printed manual. Remove last-updated dates.
2104 (EDITION): Comment out.
2105 (ISBN): Likewise.
2106 (VERSION, UPDATED): Remove.
2107 (version.texi): Include.
2108
12e5c3b9
AS
21092012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2110
2111 * sysdeps/posix/spawni.c: Include <signal.h>.
2112 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2113 * sysdeps/pthread/aio_fsync.c: Likewise.
2114
4efeffc1 21152012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2116
ba63ba08
UD
2117 * conform/Makefile (tests): Run only when not cross-compiling and
2118 when fast-check is not defined.
2119
d94a4670
UD
2120 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2121 * conform/data/limits.h-data: Fixes for POSIX2008.
2122 * conform/run-conformtest.sh: Run all tests.
2123 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2124 headers.
2125 * include/bits/dlfcn.h: Likewise.
2126 * include/langinfo.h: Likewise.
2127 * include/monetary.h: Likewise.
2128 * include/sys/poll.h: Likewise.
2129
2130 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2131 for __USE_GNU.
2132 * posix/spawn.h: Define __need_sigset_t.
2133 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2134 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2135 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2136 to get sigevent_t only.
2137 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2138 only for __USE_GNU.
2139 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2140 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2141 process_vm_writev only for __USE_GNU.
2142 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2143
2144 * conform/Makefile: For now ignore errors from run-conformtest.
2145 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2146 POSIX to avoid namespace pollution. Don't prepend headers.
2147 * conform/data/aio.h-data: Fixes for POSIX testing.
2148 * conform/data/fcntl.h-data: Likewise.
2149 * conform/data/glob.h-data: Likewise.
2150 * conform/data/grp.h-data: Likewise.
2151 * conform/data/pthread.h-data: Likewise.
2152 * conform/data/pwd.h-data: Likewise.
2153 * conform/data/signal.h-data: Likewise.
2154 * conform/data/spawn.h-data: Likewise.
2155 * conform/data/stdio.h-data: Likewise.
2156 * conform/data/stdlib.h-data: Likewise.
2157 * conform/data/stropts.h-data: Likewise.
2158 * conform/data/sys/mman.h-data: Likewise.
2159 * conform/data/sys/stat.h-data: Likewise.
2160 * conform/data/sys/types.h-data: Likewise.
2161 * conform/data/sys/wait.h-data: Likewise.
2162 * conform/data/time.h-data: Likewise.
2163 * conform/data/unistd.h-data: Likewise.
2164 * conform/data/utime.h-data: Likewise.
2165
2166 * io/sys/stat.h: fchmod was always in POSIX.
2167 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2168 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2169 * rt/aio.h: Define __need_timespec before including <time.h>.
2170 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2171 struct. Add forward declaration of pthread_attr_t and use it in
2172 sigevent.
2173 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2174 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2175 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2176 always remove CLK_TCK definition.
2177
c20105c3
AS
21782012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2179
2180 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2181
7a270350
UD
21822012-02-25 Ulrich Drepper <drepper@gmail.com>
2183
31341567
UD
2184 * conform/run-conformtest.sh: New file.
2185 * conform/Makefile: Run run-conformtest for tests.
2186 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2187 support.
2188
2189 * conform/data/uchar.h-data: New file.
2190 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2191 * conform/data/arpa/inet.h-data: Likewise.
2192 * conform/data/assert.h-data: Likewise.
2193 * conform/data/complex.h-data: Likewise.
2194 * conform/data/cpio.h-data: Likewise.
2195 * conform/data/ctype.h-data: Likewise.
2196 * conform/data/dirent.h-data: Likewise.
2197 * conform/data/dlfcn.h-data: Likewise.
2198 * conform/data/errno.h-data: Likewise.
2199 * conform/data/fcntl.h-data: Likewise.
2200 * conform/data/float.h-data: Likewise.
2201 * conform/data/fmtmsg.h-data: Likewise.
2202 * conform/data/fnmatch.h-data: Likewise.
2203 * conform/data/ftw.h-data: Likewise.
2204 * conform/data/glob.h-data: Likewise.
2205 * conform/data/grp.h-data: Likewise.
2206 * conform/data/iconv.h-data: Likewise.
2207 * conform/data/inttypes.h-data: Likewise.
2208 * conform/data/langinfo.h-data: Likewise.
2209 * conform/data/libgen.h-data: Likewise.
2210 * conform/data/limits.h-data: Likewise.
2211 * conform/data/locale.h-data: Likewise.
2212 * conform/data/math.h-data: Likewise.
2213 * conform/data/monetary.h-data: Likewise.
2214 * conform/data/mqueue.h-data: Likewise.
2215 * conform/data/ndbm.h-data: Likewise.
2216 * conform/data/net/if.h-data: Likewise.
2217 * conform/data/netdb.h-data: Likewise.
2218 * conform/data/netinet/in.h-data: Likewise.
2219 * conform/data/nl_types.h-data: Likewise.
2220 * conform/data/poll.h-data: Likewise.
2221 * conform/data/pthread.h-data: Likewise.
2222 * conform/data/pwd.h-data: Likewise.
2223 * conform/data/regex.h-data: Likewise.
2224 * conform/data/sched.h-data: Likewise.
2225 * conform/data/search.h-data: Likewise.
2226 * conform/data/semaphore.h-data: Likewise.
2227 * conform/data/setjmp.h-data: Likewise.
2228 * conform/data/signal.h-data: Likewise.
2229 * conform/data/spawn.h-data: Likewise.
2230 * conform/data/stdarg.h-data: Likewise.
2231 * conform/data/stdio.h-data: Likewise.
2232 * conform/data/stdlib.h-data: Likewise.
2233 * conform/data/string.h-data: Likewise.
2234 * conform/data/strings.h-data: Likewise.
2235 * conform/data/stropts.h-data: Likewise.
2236 * conform/data/sys/ipc.h-data: Likewise.
2237 * conform/data/sys/mman.h-data: Likewise.
2238 * conform/data/sys/msg.h-data: Likewise.
2239 * conform/data/sys/resource.h-data: Likewise.
2240 * conform/data/sys/select.h-data: Likewise.
2241 * conform/data/sys/sem.h-data: Likewise.
2242 * conform/data/sys/shm.h-data: Likewise.
2243 * conform/data/sys/socket.h-data: Likewise.
2244 * conform/data/sys/stat.h-data: Likewise.
2245 * conform/data/sys/statvfs.h-data: Likewise.
2246 * conform/data/sys/time.h-data: Likewise.
2247 * conform/data/sys/timeb.h-data: Likewise.
2248 * conform/data/sys/times.h-data: Likewise.
2249 * conform/data/sys/types.h-data: Likewise.
2250 * conform/data/sys/uio.h-data: Likewise.
2251 * conform/data/sys/un.h-data: Likewise.
2252 * conform/data/sys/utsname.h-data: Likewise.
2253 * conform/data/sys/wait.h-data: Likewise.
2254 * conform/data/syslog.h-data: Likewise.
2255 * conform/data/tar.h-data: Likewise.
2256 * conform/data/termios.h-data: Likewise.
2257 * conform/data/utime.h-data: Likewise.
2258 * conform/data/utmpx.h-data: Likewise.
2259 * conform/data/varargs.h-data: Likewise.
2260 * conform/data/wchar.h-data: Likewise.
2261 * conform/data/wctype.h-data: Likewise.
2262 * conform/data/wordexp.h-data: Likewise.
2263
2264 * include/stropts.h: New file.
2265 * include/uchar.h: New file.
2266 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2267 * include/assert.h: Likewise.
2268 * include/ctype.h: Likewise.
2269 * include/dirent.h: Likewise.
2270 * include/dlfcn.h: Likewise.
2271 * include/fcntl.h: Likewise.
2272 * include/fnmatch.h: Likewise.
2273 * include/glob.h: Likewise.
2274 * include/grp.h: Likewise.
2275 * include/libio.h: Likewise.
2276 * include/locale.h: Likewise.
2277 * include/math.h: Likewise.
2278 * include/net/if.h: Likewise.
2279 * include/netdb.h: Likewise.
2280 * include/netinet/in.h: Likewise.
2281 * include/pthread.h: Likewise.
2282 * include/pwd.h: Likewise.
2283 * include/regex.h: Likewise.
2284 * include/sched.h: Likewise.
2285 * include/search.h: Likewise.
2286 * include/setjmp.h: Likewise.
2287 * include/signal.h: Likewise.
2288 * include/stdio.h: Likewise.
2289 * include/stdlib.h: Likewise.
2290 * include/string.h: Likewise.
2291 * include/sys/cdefs.h: Likewise.
2292 * include/sys/mman.h: Likewise.
2293 * include/sys/msg.h: Likewise.
2294 * include/sys/resource.h: Likewise.
2295 * include/sys/select.h: Likewise.
2296 * include/sys/socket.h: Likewise.
2297 * include/sys/stat.h: Likewise.
2298 * include/sys/statvfs.h: Likewise.
2299 * include/sys/time.h: Likewise.
2300 * include/sys/times.h: Likewise.
2301 * include/sys/uio.h: Likewise.
2302 * include/sys/utsname.h: Likewise.
2303 * include/sys/wait.h: Likewise.
2304 * include/termios.h: Likewise.
2305 * include/time.h: Likewise.
2306 * include/ulimit.h: Likewise.
2307 * include/unistd.h: Likewise.
2308 * include/utime.h: Likewise.
2309 * include/wchar.h: Likewise.
2310 * include/wctype.h: Likewise.
2311 * include/wordexp.h: Likewise.
2312
2313 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2314
7a270350
UD
2315 * time/time.h: TIME_UTC must be a macro.
2316 Make timespec_get available for ISO C11 only as well.
2317
7724defc
UD
23182012-02-24 Ulrich Drepper <drepper@gmail.com>
2319
2320 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2321 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2322
6b1d1d46
JM
23232012-02-24 Joseph Myers <joseph@codesourcery.com>
2324
2325 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2326
0f8bbd69
JM
23272012-02-24 Joseph Myers <joseph@codesourcery.com>
2328
2329 * manual/texinfo.tex: Update to version 2012-01-19.16.
2330
66ab80bc
JM
23312012-02-24 Joseph Myers <joseph@codesourcery.com>
2332
2333 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2334
74981cc5
RM
23352012-02-24 Roland McGrath <roland@hack.frob.com>
2336
ee968201
RM
2337 [BZ #13738]
2338 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2339 * manual/fdl-1.3.texi: New file.
2340 * manual/fdl-1.1.texi: File removed.
2341
74981cc5
RM
2342 [BZ #13738]
2343 * manual/libc.texinfo (FDL_VERSION): New @set.
2344 Use it for mention of FDL in cover text.
2345 (Documentation License): Use it in @include file name.
2346
7bb764bc
JM
23472012-02-22 Joseph Myers <joseph@codesourcery.com>
2348 Roland McGrath <roland@hack.frob.com>
2349
2350 [BZ #5461]
2351 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2352 not LONG_LONG_MAX and LONG_LONG_MIN.
2353 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2354 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2355 name.
2356 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2357
6cbeae47
JM
23582012-02-22 Joseph Myers <joseph@codesourcery.com>
2359
2360 [BZ #2547]
2361 [BZ #11365]
2362 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2363 manipulate bits before adding and subtracting TWO23[sx].
2364 * math/libm-test.inc (nearbyint_test): Add more tests.
2365
fe45ce09
JM
23662012-02-22 Joseph Myers <joseph@codesourcery.com>
2367
2368 [BZ #2548]
2369 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2370 bits before adding and subtracting TWO23[sx].
2371 * math/libm-test.inc (rint_test): Add more tests.
2372 (rint_test_tonearest): Likewise.
2373 (rint_test_towardzero): Likewise.
2374 (rint_test_downward): Likewise.
2375 (rint_test_upward: Likewise.
2376
ff3b3d82
JM
23772012-02-22 Joseph Myers <joseph@codesourcery.com>
2378
2379 [BZ #10110]
2380 * include/stdc-predef.h: New file. Extracted from features.h.
2381 * include/features.h: Include stdc-predef.h.
2382 * Makefile (headers): Add stdc-predef.h.
2383 * CONFORMANCE (Compiler limitations): Update.
2384
ef0aab35
JM
23852012-02-22 Joseph Myers <joseph@codesourcery.com>
2386
2387 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2388
58639409
DM
23892012-02-21 David S. Miller <davem@davemloft.net>
2390
2391 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2392 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2393
c0e70b25
DM
23942012-02-20 David S. Miller <davem@davemloft.net>
2395
2396 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2397 using a normal save/restore sequence, rather than allocating a
2398 dummy stack frame just to store a frame pointer and restore.
2399 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2400
fb06851d
JM
24012012-02-21 Joseph Myers <joseph@codesourcery.com>
2402
2403 * manual/install.texi: Fix stray word in line-wrapped comment.
2404
7a8b71c3
DM
24052012-02-20 David S. Miller <davem@davemloft.net>
2406
d510c123
DM
2407 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2408 both binutils and gcc support GOTDATA.
2409
0722d7c2
DM
2410 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2411 "rd %pc" in the PIC register setup sequences.
2412
3d2b3019
DM
2413 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2414 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2415 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2416 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2417 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2418 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2419 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2420 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2421 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2422 (SYSCALL_ERROR_HANDLER): Likewise.
2423 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2424 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2426 (SYSCALL_ERROR_HANDLER): Likewise.
2427
c80098a9
DM
2428 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2429 (HAVE_GCC_GOTDATA): New.
2430 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2431 relocation support in both binutils and gcc.
2432 * sysdeps/sparc/elf/configure: Regenerate.
2433
3a2545a0
DM
2434 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2435 * sysdeps/sparc/sparc32/elf/configure: Delete.
2436 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2437 * sysdeps/sparc/sparc64/elf/configure: Delete.
2438 * sysdeps/sparc/elf/configure.in: New file.
2439 * sysdeps/sparc/elf/configure: Generate.
2440
7a8b71c3
DM
2441 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2442 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2443 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2444 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2445 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2446
f1e86fca
JM
24472012-02-21 Joseph Myers <joseph@codesourcery.com>
2448
2449 * manual/install.texi: Do not mention specific glibc version
2450 numbers.
2451 * manual/libc.texinfo (VERSION, UPDATED): Update.
2452 (@copying): Use @copyright{} and range of years.
2453
0e7dfaef
JM
24542012-02-21 Joseph Myers <joseph@codesourcery.com>
2455
2456 [BZ #13695]
2457 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2458 [crti.S not in sysdirs] (generated): Do not append.
2459 [crti.S not in sysdirs] (omit-deps): Likewise.
2460 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2461 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2462 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2463 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2464 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2465 Likewise.
2466 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2467 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2468 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2469 * csu/defs.awk: Remove file.
2470 * sysdeps/generic/initfini.c: Likewise.
2471 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2472 variable.
2473 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2474 Likewise.
2475
599af3ca
JM
24762012-02-20 Joseph Myers <joseph@codesourcery.com>
2477
2478 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2479 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2480 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2481 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2482 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2483 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2484 <bits/epoll.h>.
2485 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2486 (__EPOLL_PACKED): Define to empty if not defined by
2487 <bits/epoll.h>.
2488 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2490 bits/epoll.h.
2491
0e499750
JM
24922012-02-20 Joseph Myers <joseph@codesourcery.com>
2493
2494 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2495 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2496 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2497 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2498 <bits/timerfd.h>.
2499 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2501 bits/timerfd.h.
2502
5ad91f6e
JM
25032012-02-20 Joseph Myers <joseph@codesourcery.com>
2504
2505 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2506 in C locale.
2507 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2508 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2509 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2511
06b99b02
AJ
25122012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2513
2514 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2515 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2516
7638c0fd
AS
25172012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2518
2519 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2520 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2521 defined.
2522 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2523 Likewise.
2524 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2525 entry for 2.16.
2526
92221550
AJ
25272012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2528
2529 * math/w_acos.c: Use non-signaling floating-point comparisons.
2530 * math/w_acosf.c: Likewise.
2531 * math/w_acosh.c: Likewise.
2532 * math/w_acoshf.c: Likewise.
2533 * math/w_acoshl.c: Likewise.
2534 * math/w_acosl.c: Likewise.
2535 * math/w_asin.c: Likewise.
2536 * math/w_asinf.c: Likewise.
2537 * math/w_asinl.c: Likewise.
2538 * math/w_atanh.c: Likewise.
2539 * math/w_atanhf.c: Likewise.
2540 * math/w_atanhl.c: Likewise.
2541 * math/w_exp2.c: Likewise.
2542 * math/w_exp2f.c: Likewise.
2543 * math/w_exp2l.c: Likewise.
2544 * math/w_j0.c: Likewise.
2545 * math/w_j0f.c: Likewise.
2546 * math/w_j0l.c: Likewise.
2547 * math/w_j1.c: Likewise.
2548 * math/w_j1f.c: Likewise.
2549 * math/w_j1l.c: Likewise.
2550 * math/w_jn.c: Likewise.
2551 * math/w_jnf.c: Likewise.
2552 * math/w_log.c: Likewise.
2553 * math/w_log10.c: Likewise.
2554 * math/w_log10f.c: Likewise.
2555 * math/w_log10l.c: Likewise.
2556 * math/w_log2.c: Likewise.
2557 * math/w_log2f.c: Likewise.
2558 * math/w_log2l.c: Likewise.
2559 * math/w_logf.c: Likewise.
2560 * math/w_logl.c: Likewise.
2561 * math/w_sqrt.c: Likewise.
2562 * math/w_sqrtf.c: Likewise.
2563 * math/w_sqrtl.c: Likewise.
2564 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2565 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2566 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2567 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2568 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2569
ebaf36eb
JM
25702012-02-19 Joseph Myers <joseph@codesourcery.com>
2571
2572 [BZ #9739]
2573 * manual/string.texi (strnlen): Use correct parameter name in
2574 equivalent expression.
2575
71c254a6
JM
25762012-02-19 Joseph Myers <joseph@codesourcery.com>
2577
2578 [BZ #11174]
2579 * manual/users.texi (seteuid): Consistently use neweuid for
2580 argument name.
2581
16d2c631
JM
25822012-02-19 Joseph Myers <joseph@codesourcery.com>
2583
2584 [BZ #13704]
2585 * manual/nss.texi (Services in the NSS configuration): Correct
2586 list of services in example configuration file.
2587
cd837b09
NB
25882012-02-19 Nick Bowler <nbowler@draconx.ca>
2589
2590 [BZ #11322]
2591 * manual/arith.texi: Remove statements about negative zero
2592 behaving identically to zero.
2593
02c4bbad
JM
25942012-02-18 Joseph Myers <joseph@codesourcery.com>
2595
2596 [BZ #5993]
2597 * manual/install.texi: Do not document upgrading from libc5.
2598
366842e7
JM
25992012-02-18 Joseph Myers <joseph@codesourcery.com>
2600
2601 [BZ #4596]
2602 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2603
dd54084d
DM
26042012-02-18 David S. Miller <davem@davemloft.net>
2605
2606 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2607 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2608 %o7 across the call.
2609 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2610 instead.
2611 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2612 SETUP_PIC_REG_LEAF.
2613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2614 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2615 * sysdeps/sparc/crtn.S: Likewise.
2616
2bcc53a3
UD
26172012-02-17 Ulrich Drepper <drepper@gmail.com>
2618
2619 * aout/Makefile: Remove.
2620
09c093b5
RK
26212012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2622
2623 [BZ #13058]
2624 * manual/examples/argp-ex1.c (main): Format definition in GNU
2625 style.
2626 * manual/examples/argp-ex2.c (main): Likewise.
2627 * manual/examples/argp-ex3.c (main): Likewise.
2628 * manual/examples/argp-ex4.c (main): Likewise.
2629 * manual/examples/longopt.c (main): Use new-style prototype
2630 definition.
2631 * manual/examples/strncat.c (main): Specify return type and use
2632 (void) for arguments.
2633 * manual/examples/subopt.c (main): Use char **argv argument.
2634
2ee633a2
JM
26352012-02-17 Joseph Myers <joseph@codesourcery.com>
2636
2637 [BZ #5077]
2638 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2639 rounding modes.
2640
0520adde
FB
26412012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2642
2643 [BZ #6907]
2644 * manual/string.texi (strchr): Change when strchrnul is
2645 recommended.
2646
3f4081cd
DGM
26472012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2648
2649 [BZ #174]
2650 * manual/locale.texi (setlocale): Document LOCPATH.
2651
d1b10e78
JM
26522012-02-17 Joseph Myers <joseph@codesourcery.com>
2653
2654 [BZ #10210]
2655 * manual/process.texi (execle): Move @dots{} before last argument.
2656
79c6869c
PB
26572012-02-17 Paul Bolle <pebolle@tiscali.nl>
2658
2659 [BZ #12047]
2660 * manual/charset.texi (Generic Charset Conversion): Fix typo
2661 (LC_TYPE -> LC_CTYPE).
2662
cc6e48bc
NB
26632012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2664
2665 [BZ #5805]
2666 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2667 (scalbnf): Likewise.
2668 (scalbnl): Likewise.
2669 (scalbln): Likewise.
2670 (scalblnf): Likewise.
2671 (scalblnl): Likewise.
2672 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2673 (vwarnx): Likewise.
2674 (verr): Likewise.
2675 (verrx): Likewise.
2676 * manual/filesys.texi (telldir): Use braces around return type.
2677 * manual/llio.texi (mmap): Add space after comma.
2678 (mmap64): Likewise.
2679 * manual/math.texi (jn): Use @var{} on parameter names.
2680 (jnf): Likewise.
2681 (jnl): Likewise.
2682 (yn): Likewise.
2683 (ynf): Likewise.
2684 (ynl): Likewise.
2685 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2686 line.
2687 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2688 "...".
2689 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2690 (sched_get_priority_max): Likewise.
2691 * manual/signal.texi (sigvec): Add space after comma.
2692 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2693 names.
2694 (if_indextoname): Likewise.
2695 (if_freenameindex): Likewise.
2696 (sendto): Use ',' instead of '.' in prototype.
2697 * manual/startup.texi (syscall): Use @dots{} instead of literal
2698 "...".
2699 * manual/stdio.texi (__fpending): Separate initial words of
2700 paragraph from @deftypefun line.
2701 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2702 "...".
2703 (vsyslog): Use @var{} on parameter names.
2704 * manual/terminal.texi (stty): Use @var{} on parameter names.
2705 * manual/users.texi (getutmp): Use @var{} on parameter names.
2706 (getutmpx): Likewise.
2707
5b23062f
JM
27082012-02-17 Joseph Myers <joseph@codesourcery.com>
2709
2710 [BZ #6884]
2711 * manual/stdio.texi (fopen): Fix typos in description of
2712 ",ccs=STRING".
2713
8dee4833
AJ
27142012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2715
2716 [BZ #4026]
2717 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2718 get clock_id definition.
2719
9078ce93
TS
27202012-02-17 Thomas Schwinge <thomas@schwinge.name>
2721
2722 [BZ #4822]
2723 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2724 (madvise): Cast every argument to void on its own.
2725
3835c55f
JM
27262012-02-17 Joseph Myers <joseph@codesourcery.com>
2727
2728 [BZ #9902]
2729 * manual/startup.texi (Exit Status): Fix typo.
2730
35c47e37
JM
27312012-02-17 Joseph Myers <joseph@codesourcery.com>
2732
2733 [BZ #10140]
2734 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2735 * manual/examples/argp-ex2.c: Likewise.
2736 * manual/examples/argp-ex3.c: Likewise.
2737
e3b69ca7
RH
27382012-02-16 Richard Henderson <rth@redhat.com>
2739
2740 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2741 * sysdeps/s390/s390-32/initfini.c: Remove.
2742 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2743 * sysdeps/s390/s390-64/initfini.c: Remove.
2744
df83af67
KK
27452012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2746
2747 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2748 compiler output for sysdeps/generic/initfini.c.
2749 * sysdeps/sh/elf/initfini.c: Remove file.
2750
f63f3380
DM
27512012-02-16 David S. Miller <davem@davemloft.net>
2752
fb59b3a4
DM
2753 [BZ #11494]
2754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2755
f63f3380
DM
2756 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2757 * sysdeps/sparc/crti.S: New file.
2758 * sysdeps/sparc/crtn.S: New file.
2759 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2760 * sysdeps/sparc/sparc64/Makefile: Likewise.
2761
df6a4a4a
MF
27622012-02-15 Mike Frysinger <vapier@gentoo.org>
2763
6dd8f3dc 2764 [BZ #3335]
df6a4a4a
MF
2765 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2766
1cac7236
RM
27672012-02-15 Roland McGrath <roland@hack.frob.com>
2768
d2c736f8
RM
2769 [BZ #4822]
2770 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2771
1cac7236
RM
2772 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2773 (write, read, close): Likewise.
2774 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2775
8e475601
JM
27762012-02-15 Joseph Myers <joseph@codesourcery.com>
2777
2778 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2779 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2780 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2781 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2782 <bits/signalfd.h>.
2783 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2785 bits/signalfd.h.
2786
ed656b40
MP
27872012-02-14 Marek Polacek <polacek@redhat.com>
2788
2789 * sysdeps/x86_64/crti.S: New file.
2790 * sysdeps/x86_64/crtn.S: New file.
2791 * sysdeps/x86_64/elf/initfini.c: Remove file.
2792
2a979d3a
JM
27932012-02-13 Joseph Myers <joseph@codesourcery.com>
2794
2795 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2796 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2797 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2798 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2799 <bits/inotify.h>.
2800 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2802 bits/inotify.h.
2803
2a418ac3
JM
28042012-02-13 Joseph Myers <joseph@codesourcery.com>
2805
2806 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2807 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2808 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2809 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2810 <bits/eventfd.h>.
2811 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2813 bits/eventfd.h.
2814
fb779be7
TS
28152012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2816
e19e83c5
RM
2817 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2818 __feraiseexcept instead of feraiseexcept.
7c35ffed 2819
fb779be7
TS
2820 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2821 nanosleep invocations.
2822 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2823 strings, and add error checking for a nanosleep invocations.
2824
59ba27a6
PE
28252012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2826
2827 Replace FSF snail mail address with URLs, as per GNU coding standards.
2828 Most of the snail mail addresses were wrong anyway, and omitting
2829 them makes the source code easier to maintain. Almost all of the
2830 changes are to license notices and to locale LC_IDENTIFICATION
2831 addresses, except for this one:
2832 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2833 not its snail mail address.
2834
57b957eb
RH
28352012-02-09 Richard Henderson <rth@twiddle.net>
2836
af850b1c
RH
2837 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2838 of kernel-features.h.
2839
57b957eb
RH
2840 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2841
6b73181a
MP
28422012-02-08 Marek Polacek <polacek@redhat.com>
2843
2844 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2845 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2846 * sysdeps/gnu/_G_config.h: Likewise.
2847 * sysdeps/generic/_G_config.h: Likewise.
2848
26ecc33a
AS
28492012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2850
6c6dbc63
AS
2851 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2852 tests.
2853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2854
e216c012
AS
2855 * sysdeps/powerpc/powerpc32/crti.S: New file.
2856 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2857 * sysdeps/powerpc/powerpc64/crti.S: New file.
2858 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2859
26ecc33a
AS
2860 * Makeconfig (have-initfini): Don't set.
2861 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2862 * configure.in (nopic_initfini): Don't substitute.
2863 * config.h.in (HAVE_INITFINI): Don't #undef.
2864 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2865 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2866
3add8e13
JM
28672012-02-08 Joseph Myers <joseph@codesourcery.com>
2868
2869 Support crti.S and crtn.S provided directly by architectures.
2870 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2871 [crti.S in sysdirs] (omit-deps): Likewise.
2872 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2873 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2874 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2875 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2876 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2877 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2878 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2879 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2880 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2881 compiler output for sysdeps/generic/initfini.c.
2882 * sysdeps/i386/elf/Makefile: Remove file.
2883 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2884
a22f12b4
MP
28852012-02-07 Marek Polacek <polacek@redhat.com>
2886
2887 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2888 * sysdeps/gnu/_G_config.h: Likewise.
2889 * sysdeps/mach/hurd/_G_config.h: Likewise.
2890
148cf100
MP
28912012-02-07 Marek Polacek <polacek@redhat.com>
2892
2893 * math/Makefile (tests): Add tst-CMPLX2.
2894 * math/tst-CMPLX2.c: New file.
2895
cfdc0dd7
AS
28962012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2897
84ba42c4
AS
2898 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2899
cfdc0dd7
AS
2900 * math/libm-test.inc (jn_test): Add missing L suffix.
2901
622c86f4
MP
29022012-02-06 Marek Polacek <polacek@redhat.com>
2903
2904 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2905 * sysdeps/i386/fpu/e_powf.S: Likewise.
2906 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2907 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2908 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2909 * sysdeps/i386/fpu/e_pow.S: Likewise.
2910 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2911 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2912 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2913 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2914 * sysdeps/i386/fpu/e_log2.S: Likewise.
2915 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2916 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2917 * sysdeps/i386/fpu/e_powl.S: Likewise.
2918 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2919 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2920 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2921 * sysdeps/i386/fpu/e_logl.S: Likewise.
2922 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2923 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2924 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2925 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2926 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2927 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2928 * sysdeps/i386/fpu/e_log.S: Likewise.
2929 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2930 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2931 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2932 * sysdeps/i386/fpu/e_logf.S: Likewise.
2933 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2934 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2935 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2936 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2937 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2938 * sysdeps/i386/fpu/e_log10.S: Likewise.
2939 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2940 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2941 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2942 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2943 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2944 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2945 * sysdeps/i386/asm-syntax.h: Likewise.
2946 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2947 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2948 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2949 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2950 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2951 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2952 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2953 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2954 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2955 * sysdeps/powerpc/sysdep.h: Likewise.
2956 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2957 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2958
d4a54ac6
JM
29592012-02-06 Joseph Myers <joseph@codesourcery.com>
2960
2961 [BZ #411]
2962 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2963
314054ea
JM
29642012-02-06 Joseph Myers <joseph@codesourcery.com>
2965
2966 * sysdeps/i386/sysdep.h: Include <features.h>.
2967 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2968 version.
2969
d8e0ca50
JM
29702012-02-05 Joseph Myers <joseph@codesourcery.com>
2971
2972 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2973 Define.
2974 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2975 LOAD_PIC_REG_STR.
2976
b1da7dd9
JM
29772012-02-03 Joseph Myers <joseph@codesourcery.com>
2978
2979 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2980 (SETUP_PIC_REG): Use GET_PC_THUNK.
2981 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2982 macro.
2983
9a1d9254
JM
29842012-02-03 Joseph Myers <joseph@codesourcery.com>
2985
2986 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2987 for non-PIC compilation.
2988 (SETUP_PIC_REG): Add .p2align directive.
2989 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2990 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2991 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2992 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2993 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2994 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2995 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2996 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2997 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2998 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2999 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3000 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3001 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3002 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3003 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3004 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3005 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3006 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3007 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3008 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3009 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3010 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3011 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3012 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3014 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3015 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3016 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3017 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3018 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3019 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3020 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3021 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3022 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3023 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3024 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3025 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3026 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3027 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3028 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3029 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3030
65dc3b75
JM
30312012-02-03 Joseph Myers <joseph@codesourcery.com>
3032
3033 * math/tst-CMPLX.c: Include <stdio.h>.
3034
d55bf177
JM
30352012-01-31 Joseph Myers <joseph@codesourcery.com>
3036
3037 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3038 float.
3039 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3040 * sysdeps/sparc/bits/mathdef.h: Likewise.
3041
69db4f8f
MP
30422012-01-31 Marek Polacek <polacek@redhat.com>
3043
3044 * libio/libio.h: Don't define _PARAMS.
3045 * locale/programs/config.h: Don't define PARAMS.
3046 * stdlib/strtol_l.c: Likewise.
3047 (__strtol_l): Remove PARAMS from the prototype.
3048
41b81892
UD
30492012-01-31 Ulrich Drepper <drepper@gmail.com>
3050
3b49edc0
UD
3051 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3052 names. Just use the correct names. Remove unnecessary wrapper
3053 functions.
3054 * malloc/arena.c: Likewise.
3055 * malloc/hooks.c: Likewise.
3056
41b81892
UD
3057 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3058 ARENA_TEST says not to. Simplify test for creation of a new arena.
3059 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3060
27a25b6e
UD
30612012-01-30 Ulrich Drepper <drepper@gmail.com>
3062
3063 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3064 into tail calls.
3065 (update_get_addr): New function.
3066 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3067 GET_ADDR_MODULE parameter.
3068
c8a89e7d
JM
30692012-01-30 Joseph Myers <joseph@codesourcery.com>
3070
3071 * crypt/cert.c: Remove __STDC__ conditionals.
3072 * crypt/crypt-entry.c: Likewise.
3073 * crypt/crypt_util.c: Likewise.
3074 * libio/filedoalloc.c: Likewise.
3075 * libio/fileops.c: Likewise.
3076 * libio/genops.c: Likewise.
3077 * libio/iofclose.c: Likewise.
3078 * libio/iofdopen.c: Likewise.
3079 * libio/iofopen.c: Likewise.
3080 * libio/iofopen64.c: Likewise.
3081 * libio/iogetdelim.c: Likewise.
3082 * libio/iopopen.c: Likewise.
3083 * libio/obprintf.c: Likewise.
3084 * libio/oldfileops.c: Likewise.
3085 * libio/oldiofclose.c: Likewise.
3086 * libio/oldiofdopen.c: Likewise.
3087 * libio/oldiofopen.c: Likewise.
3088 * libio/oldiopopen.c: Likewise.
3089 * libio/wfiledoalloc.c: Likewise.
3090 * libio/wgenops.c: Likewise.
3091 * locale/programs/xmalloc.c: Likewise.
3092 * misc/syslog.c: Likewise.
3093 * stdio-common/xbug.c: Likewise.
3094 * string/memchr.c: Likewise.
3095 * string/memcmp.c: Likewise.
3096 * string/memrchr.c: Likewise.
3097 * string/rawmemchr.c: Likewise.
3098 * sysdeps/posix/getcwd.c: Likewise.
3099 * time/strftime_l.c: Likewise.
3100
3b100462
JM
31012012-01-30 Joseph Myers <joseph@codesourcery.com>
3102
3103 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3104 * config.make.in (config-cflags-sse2avx): Define.
3105 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3106 Fix typo.
3107
607998af
CM
31082012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3109
3110 * scripts/config.guess: Update from upstream config git repository.
3111 * scripts/config.sub: Likewise.
3112
3601428f
CM
31132012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3114
3ac8b282
CM
3115 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3116 (EM_NUM): Update.
3117 (R_TILEPRO_*, R_TILEGX_*): New macros.
3118
e034841e
CM
3119 * scripts/firstversions.awk: Fix bug in version range handling.
3120
540d7568
CM
3121 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3122
3601428f
CM
3123 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3124
463de862
CM
3125 * include/sys/epoll.h: New file.
3126 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3127 libc_hidden_def.
3128
73139a76
UD
31292012-01-28 Ulrich Drepper <drepper@gmail.com>
3130
96bc5b45
UD
3131 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3132 Avoid unnecessary __WORDSIZE == 64 test.
3133 (fmaxf): Use VEX format if possible.
3134 (fmax): Likewise.
3135 (fminf): Likewise.
3136 (fmin): Likewise.
3137
56f6f6a2
UD
3138 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3139 * math/math_private.h: Remove libc_fegetround* and
3140 libc_fesetround*.
3141 * sysdeps/i386/configure.in: Check for -msse2avx.
3142 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3143 also if SSE2AVX is defined.
3144 Remove libc_fegetround* and libc_fesetround*.
3145 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3146 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3147 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3148 of HAS_YMM_USABLE.
3149 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3150 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3152 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3153 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3154
73139a76
UD
3155 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3156
d73f93a4
AZ
31572012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3158
3159 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3160 size is not set.
3161 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3162
6ee65ed6
UD
31632012-01-27 Ulrich Drepper <drepper@gmail.com>
3164
3165 [BZ #13618]
3166 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3167 relocation.
3168 * Makeconfig (libm): Define.
3169 * elf/Makefile: Add rules to build and run tst-relsort1.
3170 * elf/tst-relsort1.c: New file.
3171 * elf/tst-relsort1mod1.c: New file.
3172 * elf/tst-relsort1mod2.c: New file.
3173
8db21882
JM
31742012-01-27 Joseph Myers <joseph@codesourcery.com>
3175
3176 * math/s_ldexp.c: Remove __STDC__ conditionals.
3177 * math/s_ldexpf.c: Likewise.
3178 * math/s_ldexpl.c: Likewise.
3179 * math/s_nextafter.c: Likewise.
3180 * math/s_nexttowardf.c: Likewise.
3181 * math/s_significand.c: Likewise.
3182 * math/s_significandf.c: Likewise.
3183 * math/s_significandl.c: Likewise.
3184 * math/w_jnl.c: Likewise.
3185 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3186 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3187 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3188 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3189 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3190 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3191 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3192 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3193 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3194 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3195 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3198 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3199 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3200 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3201 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3202 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3204 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3205 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3206 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3207 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3209 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3210 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3211 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3212 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3213 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3214 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3215 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3216 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3217 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3218 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3219 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3220 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3221 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3222 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3223 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3224 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3225 * sysdeps/ieee754/k_standard.c: Likewise.
3226 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3229 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3230 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3231 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3232 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3233 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3234 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3235 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3238 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3239 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3240 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3241 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3242 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3243 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3244 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3245 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3247 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3248 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3249 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3250 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3251 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3252 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3255 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3256 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3257 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3258 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3259 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3260 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3261 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3262 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3263 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3264 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3265 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3266 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3268 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3269 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3270 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3271 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3272 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3273 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3274 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3275 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3276 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3277 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3278 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3279 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3280 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3281 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3282 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3283 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3284 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3285 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3286 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3287 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3288 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3289 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3290 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3291 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3292 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3293 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3294 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3295 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3296 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3297 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3298 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3299 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3300 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3301 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3302 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3303 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3304 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3305 * sysdeps/ieee754/s_matherr.c: Likewise.
3306 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3307 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3309 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3310
965a54a4
JM
33112012-01-26 Joseph Myers <joseph@codesourcery.com>
3312
3313 * crypt/md5.h: Remove __STDC__ conditionals.
3314 * libio/libioP.h: Likewise.
3315 * locale/programs/config.h: Likewise.
3316 * sysdeps/generic/sysdep.h: Likewise.
3317 * sysdeps/i386/asm-syntax.h: Likewise.
3318 * sysdeps/s390/asm-syntax.h: Likewise.
3319 * sysdeps/unix/sysdep.h: Likewise.
3320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3322
7071ad79
JM
33232012-01-26 Joseph Myers <joseph@codesourcery.com>
3324
3325 * libio/libio.h: Remove __STDC__ conditionals.
3326 * malloc/obstack.h: Likewise.
3327 * math/complex.h: Likewise.
3328 * math/math.h: Likewise.
3329 * sysdeps/generic/_G_config.h: Likewise.
3330 * sysdeps/gnu/_G_config.h: Likewise.
3331 * sysdeps/mach/hurd/_G_config.h: Likewise.
3332 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3333 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3334 * sysdeps/sparc/bits/mathdef.h: Likewise.
3335
afc5ed09
UD
33362012-01-26 Ulrich Drepper <drepper@gmail.com>
3337
3338 [BZ #13583]
3339 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3340 Clean up HAS_* macros.
afc5ed09 3341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3342 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3343 possible.
3344 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3345 HAS_AVX.
3346 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3347 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3348 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3349 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3350 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3351
bdb6de1d
JM
33522012-01-25 Joseph Myers <joseph@codesourcery.com>
3353
3354 * elf/tst-unique3.cc (gets): Remove declaration.
3355 * elf/tst-unique3lib.cc (gets): Likewise.
3356 * elf/tst-unique3lib2.cc (gets): Likewise.
3357 * elf/tst-unique4.cc (gets): Likewise.
3358
b15549e6
UD
33592012-01-24 Ulrich Drepper <drepper@gmail.com>
3360
3361 * include/stdio.h: Add C++ protection. Add gets declarations and
3362 definitions.
3363 * debug/tst-chk1.c: Don't declare gets here.
3364 * stdio-common/tst-gets.c: Likewise.
3365
a037381f
JM
33662012-01-24 Joseph Myers <joseph@codesourcery.com>
3367
3368 * posix/glob: Remove directory.
3369
f1d4aa75
JM
33702012-01-24 Joseph Myers <joseph@codesourcery.com>
3371
3372 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3373
81c0c964
PT
33742012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3375
3376 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3377 of the non-standard EPFNOSUPPORT.
3378
0ea698ae
ST
33792011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3380
3381 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3382 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3383 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3384
d220b117
UD
33852012-01-21 Ulrich Drepper <drepper@gmail.com>
3386
3387 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3388
3e1aa84e
UD
33892012-01-20 Ulrich Drepper <drepper@gmail.com>
3390
3391 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3392 transient errors.
3393 * nscd/grpcache.c (cache_addgr): Likewise.
3394 * nscd/hstcache.c (cache_addhst): Likewise.
3395 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3396 * nscd/pwdcache.c (cache_addpw): Likewise.
3397 * nscd/servicescache.c (cache_addserv): Likewise.
3398
400aa020
UD
33992012-01-16 Ulrich Drepper <drepper@gmail.com>
3400
d77e7869
UD
3401 * malloc/malloc.c: Various cleanups.
3402 * malloc/hooks.c: Likewise.
3403
400aa020
UD
3404 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3405 * stdlib/bug-fmtmsg1.c: New file.
3406
3407 * stdlib/fmtmsg.c (init): Add missing unlock.
3408 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3409
e0a309cf
MP
34102012-01-12 Marek Polacek <polacek@redhat.com>
3411
3412 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3413 and _GNU_SOURCE.
3414
929d11c7
WS
34152012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3416
3417 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3418 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3419 macro to ensure uniqueness of label name.
3420 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3421 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3422
41d0e869
UD
34232012-01-11 Ulrich Drepper <drepper@gmail.com>
3424
0cc5ed3b
UD
3425 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3426
41d0e869
UD
3427 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3428 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3429 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3430 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3431
a47a831a
UD
34322012-01-10 Ulrich Drepper <drepper@gmail.com>
3433
daa891c0
UD
3434 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3435
3436 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3437 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3438 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3439
e58ef0f2
UD
3440 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3441
a47a831a 3442 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3443 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3444 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3445 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3446
3447 * math/bits/math-finite.h: Add ldexp support.
3448
a0bfc9c7
MP
34492012-01-10 Marek Polacek <polacek@redhat.com>
3450
3451 * locale/programs/localedef.h (show_archive_content): Add noreturn
3452 attribute.
3453
d6e97a1d
UD
34542012-01-09 Ulrich Drepper <drepper@gmail.com>
3455
3456 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3457
d5835c26
UD
34582012-01-08 Ulrich Drepper <drepper@gmail.com>
3459
e5f484c6
UD
3460 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3461
d5835c26
UD
3462 * io/Makefile (headers): Add bits/poll2.h.
3463
d1f741e9
WS
34642011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3465
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3467 typo #include statement.
3468
ec09c1c4
UD
34692012-01-08 Ulrich Drepper <drepper@gmail.com>
3470
3471 * include/sys/cdefs.h: Define __attribute_alloc_size.
3472 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3473 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3474 * elf/pldd.c: Likewise.
3475 * iconv/iconv_charmap.c: Likewise.
3476 * iconv/iconvconfig.c: Likewise.
3477 * iconv/strtab.c: Likewise.
3478 * locale/programs/locale.c: Likewise.
3479 * locale/programs/localedef.h: Likewise.
3480 * locale/programs/simple-hash.c: Likewise.
3481 * nscd/nscd.h: Likewise.
3482 * nss/makedb.c: Likewise.
3483 * sysdeps/generic/ldconfig.h: Likewise.
3484 * locale/programs/localedef.c: Remove xmalloc prototype.
3485 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3486
20b38e03
PP
34872012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3488
3489 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3490 appropriate.
3491
a0da5fe1
UD
34922012-01-08 Ulrich Drepper <drepper@gmail.com>
3493
1d5a644a 3494 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3495 * math/tst-CMPLX.c: New file.
1d5a644a 3496
8784a6db
UD
3497 * math/complex.h (CMPLXL): Fix typo.
3498
d9a216c0
UD
3499 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3500 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3501 GLIBC_2.16.
3502 * debug/tst-chk1.c: Add poll and ppoll tests.
3503 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3504 * include/sys/poll.h: Add hidden proto for ppoll.
3505 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3506 * sysdeps/mach/hurd/ppoll.c: Likewise.
3507 * io/ppoll.c: Likewise.
3508 * debug/poll_chk.c: New file.
3509 * debug/ppoll_chk.c: New file.
3510 * include/bits/poll2.h: New file.
3511 * io/bits/poll2.h: New file.
3512
ac097f5c
UD
3513 [BZ #1350]
3514 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3515
2119dcfa
UD
3516 * configure.in: static is always set to yes. Remove.
3517 * config.make.in: Don't set build-static.
3518 * Makeconfig: Remove use of build-static.
3519 * dlfcn/Makefile: Likewise.
3520 * elf/Makefile: Likewise.
3521 * math/Makefile: Likewise.
3522 * misc/Makefile: Likewise.
3523 * nptl/Makefile: Likewise.
3524 * sysdeps/mach/hurd/Makefile: Likewise.
3525
121766a9
UD
3526 * configure.in: PWD_P is not used anymore.
3527 * config.make.in: Remove PWD_P entry.
3528
51a1d39c 3529 * configure.in: Remove last remnants of RANLIB.
8720d066 3530 No need to check for signed size_t anymore.
215f4bdc
UD
3531 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3532 and IA-64.
3857022a 3533 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3534 * aclocal.m4: Likewise.
3535
d3ed7225
UD
3536 * wcsmbs/mbrtoc16.c: Implement using towc function.
3537 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3538 * wcsmbs/wcsmbsload.c: Likewise.
3539 * iconv/gconv_simple.c: Likewise.
3540 * iconv/gconv_int.h: Likewise.
3541 * iconv/gconv_builtin.h: Likewise.
3542 * iconv/iconv_prog.c: Remove CHAR16 handling.
3543
3544 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3545
3546 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3547
a0da5fe1
UD
3548 * configure.in: Remove --with-elf and --enable-bounded options.
3549 Dont set base_machine for ia64. More non-ELF conditions removed.
3550 Remove testing and setting of leading underscore information.
3551 * config.make.in (build-bounded): Set to no.
3552 * config.h.in: Remove NO_UNDERSCORES entry.
3553 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3554 them.
3555 * csu/start.c: Remove !NO_UNDERSCORE code.
3556 * locale/localeinfo.h: Likewise.
3557 * sysdeps/generic/machine-gmon.h: Likewise.
3558 * sysdeps/generic/sysdep.h: Likewise.
3559 * sysdeps/i386/sysdep.h: Likewise.
3560 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3561 * sysdeps/mach/sysdep.h: Likewise.
3562 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3563 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3564 * sysdeps/sh/sysdep.h: Likewise.
3565 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3566 * sysdeps/unix/i386/sysdep.S: Likewise.
3567 * sysdeps/unix/sparc/start.c: Likewise.
3568 * sysdeps/unix/sparc/sysdep.S: Likewise.
3569 * sysdeps/unix/sparc/sysdep.h: Likewise.
3570 * sysdeps/unix/start.c: Likewise.
3571 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3572 * sysdeps/x86_64/sysdep.h: Likewise.
3573
df78418a
UD
35742012-01-07 Ulrich Drepper <drepper@gmail.com>
3575
a784e502
UD
3576 [BZ #13553]
3577 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3578 for non-gcc.
3579 * argp/argp-fmtstream.h: Use const instead __const.
3580 * argp/argp.h: Likewise.
3581 * assert/assert.h: Likewise.
3582 * bits/fenv.h: Likewise.
3583 * bits/sched.h: Likewise.
3584 * bits/sigset.h: Likewise.
3585 * bits/sigthread.h: Likewise.
3586 * catgets/nl_types.h: Likewise.
3587 * conform/data/pthread.h-data: Likewise.
3588 * crypt/crypt-private.h: Likewise.
3589 * crypt/crypt.h: Likewise.
3590 * crypt/crypt_util.c: Likewise.
3591 * ctype/ctype.h: Likewise.
3592 * debug/execinfo.h: Likewise.
3593 * debug/mbsnrtowcs_chk.c: Likewise.
3594 * debug/mbsrtowcs_chk.c: Likewise.
3595 * debug/wcsnrtombs_chk.c: Likewise.
3596 * debug/wcsrtombs_chk.c: Likewise.
3597 * debug/wcstombs_chk.c: Likewise.
3598 * dirent/dirent.h: Likewise.
3599 * dlfcn/dlfcn.h: Likewise.
3600 * elf/neededtest4.c: Likewise.
3601 * grp/grp.h: Likewise.
3602 * gshadow/gshadow.h: Likewise.
3603 * iconv/gconv.h: Likewise.
3604 * iconv/gconv_int.h: Likewise.
3605 * iconv/gconv_simple.c: Likewise.
3606 * iconv/iconv.h: Likewise.
3607 * iconv/loop.c: Likewise.
3608 * iconv/skeleton.c: Likewise.
3609 * include/aio.h: Likewise.
3610 * include/aliases.h: Likewise.
3611 * include/argz.h: Likewise.
3612 * include/arpa/inet.h: Likewise.
3613 * include/assert.h: Likewise.
3614 * include/dirent.h: Likewise.
3615 * include/dlfcn.h: Likewise.
3616 * include/execinfo.h: Likewise.
3617 * include/fcntl.h: Likewise.
3618 * include/fenv.h: Likewise.
3619 * include/glob.h: Likewise.
3620 * include/grp.h: Likewise.
3621 * include/libintl.h: Likewise.
3622 * include/mntent.h: Likewise.
3623 * include/netdb.h: Likewise.
3624 * include/pwd.h: Likewise.
3625 * include/rpc/netdb.h: Likewise.
3626 * include/sched.h: Likewise.
3627 * include/search.h: Likewise.
3628 * include/shadow.h: Likewise.
3629 * include/signal.h: Likewise.
3630 * include/stdio.h: Likewise.
3631 * include/stdlib.h: Likewise.
3632 * include/string.h: Likewise.
3633 * include/sys/socket.h: Likewise.
3634 * include/sys/stat.h: Likewise.
3635 * include/sys/statfs.h: Likewise.
3636 * include/sys/statvfs.h: Likewise.
3637 * include/sys/syslog.h: Likewise.
3638 * include/sys/time.h: Likewise.
3639 * include/sys/uio.h: Likewise.
3640 * include/time.h: Likewise.
3641 * include/unistd.h: Likewise.
3642 * include/utmp.h: Likewise.
3643 * include/wchar.h: Likewise.
3644 * include/wctype.h: Likewise.
3645 * inet/aliases.h: Likewise.
3646 * inet/arpa/inet.h: Likewise.
3647 * inet/netinet/ether.h: Likewise.
3648 * inet/netinet/in.h: Likewise.
3649 * intl/libintl.h: Likewise.
3650 * io/bits/fcntl2.h: Likewise.
3651 * io/fcntl.h: Likewise.
3652 * io/ftw.h: Likewise.
3653 * io/sys/poll.h: Likewise.
3654 * io/sys/stat.h: Likewise.
3655 * io/sys/statfs.h: Likewise.
3656 * io/sys/statvfs.h: Likewise.
3657 * io/utime.h: Likewise.
3658 * libio/bits/stdio.h: Likewise.
3659 * libio/bits/stdio2.h: Likewise.
3660 * libio/libio.h: Likewise.
3661 * libio/libioP.h: Likewise.
3662 * libio/stdio.h: Likewise.
3663 * locale/lc-ctype.c: Likewise.
3664 * locale/locale.h: Likewise.
3665 * login/utmp.h: Likewise.
3666 * malloc/arena.c: Likewise.
3667 * malloc/malloc.c: Likewise.
3668 * malloc/malloc.h: Likewise.
3669 * malloc/mcheck.c: Likewise.
3670 * malloc/mtrace.c: Likewise.
3671 * math/bits/mathcalls.h: Likewise.
3672 * math/fenv.h: Likewise.
3673 * math/math_private.h: Likewise.
3674 * misc/bits/error.h: Likewise.
3675 * misc/bits/syslog.h: Likewise.
3676 * misc/err.h: Likewise.
3677 * misc/error.h: Likewise.
3678 * misc/fstab.h: Likewise.
3679 * misc/mntent.h: Likewise.
3680 * misc/regexp.h: Likewise.
3681 * misc/search.h: Likewise.
3682 * misc/sgtty.h: Likewise.
3683 * misc/sys/mman.h: Likewise.
3684 * misc/sys/syslog.h: Likewise.
3685 * misc/sys/uio.h: Likewise.
3686 * misc/sys/xattr.h: Likewise.
3687 * misc/ttyent.h: Likewise.
3688 * nis/rpcsvc/ypclnt.h: Likewise.
3689 * nss/nss.h: Likewise.
3690 * posix/bits/unistd.h: Likewise.
3691 * posix/fnmatch.h: Likewise.
3692 * posix/glob.h: Likewise.
3693 * posix/sched.h: Likewise.
3694 * posix/spawn.h: Likewise.
3695 * posix/sys/wait.h: Likewise.
3696 * posix/unistd.h: Likewise.
3697 * posix/wordexp.h: Likewise.
3698 * pwd/pwd.h: Likewise.
3699 * resolv/netdb.h: Likewise.
3700 * resource/sys/resource.h: Likewise.
3701 * rt/aio.h: Likewise.
3702 * rt/bits/mqueue2.h: Likewise.
3703 * rt/mqueue.h: Likewise.
3704 * shadow/shadow.h: Likewise.
3705 * signal/signal.h: Likewise.
3706 * socket/send.c: Likewise.
3707 * socket/sendto.c: Likewise.
3708 * socket/sys/socket.h: Likewise.
3709 * stdio-common/printf.h: Likewise.
3710 * stdlib/bits/stdlib.h: Likewise.
3711 * stdlib/fmtmsg.h: Likewise.
3712 * stdlib/monetary.h: Likewise.
3713 * stdlib/stdlib.h: Likewise.
3714 * stdlib/ucontext.h: Likewise.
3715 * streams/stropts.h: Likewise.
3716 * string/argz.h: Likewise.
3717 * string/bits/string2.h: Likewise.
3718 * string/string.h: Likewise.
3719 * string/strings.h: Likewise.
3720 * sunrpc/rpc/auth.h: Likewise.
3721 * sunrpc/rpc/auth_des.h: Likewise.
3722 * sunrpc/rpc/clnt.h: Likewise.
3723 * sunrpc/rpc/netdb.h: Likewise.
3724 * sunrpc/rpc/pmap_clnt.h: Likewise.
3725 * sunrpc/rpc/xdr.h: Likewise.
3726 * sysdeps/generic/inttypes.h: Likewise.
3727 * sysdeps/generic/net/if.h: Likewise.
3728 * sysdeps/generic/sys/swap.h: Likewise.
3729 * sysdeps/gnu/net/if.h: Likewise.
3730 * sysdeps/gnu/utmpx.h: Likewise.
3731 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3732 * sysdeps/i386/i486/bits/string.h: Likewise.
3733 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3734 * sysdeps/s390/bits/string.h: Likewise.
3735 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3736 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3737 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3738 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3739 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3740 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3741 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3742 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3743 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3744 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3745 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3746 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3747 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3748 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3749 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3750 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3751 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3752 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3753 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3754 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3755 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3756 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3757 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3758 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3759 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3760 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3761 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3762 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3763 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3764 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3765 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3766 * sysvipc/sys/ipc.h: Likewise.
3767 * sysvipc/sys/msg.h: Likewise.
3768 * sysvipc/sys/sem.h: Likewise.
3769 * sysvipc/sys/shm.h: Likewise.
3770 * termios/termios.h: Likewise.
3771 * time/sys/time.h: Likewise.
3772 * time/time.h: Likewise.
3773 * wcsmbs/bits/wchar2.h: Likewise.
3774 * wcsmbs/uchar.h: Likewise.
3775 * wcsmbs/wchar.h: Likewise.
3776 * wctype/wctype.h: Likewise.
3777
0269750c
UD
3778 [BZ #13551]
3779 * Makeconfig: Remove all but ELF support including AIX support.
3780 * Makerules: Likewise.
3781 * config.h.in: Likewise.
3782 * config.make.in: Likewise.
3783 * configure: Likewise.
3784 * configure.in: Likewise.
3785 * csu/Makefile: Likewise.
3786 * csu/version.c: Likewise.
3787 * debug/Makefile: Likewise.
3788 * dlfcn/Makefile: Likewise.
3789 * elf/Makefile: Likewise.
3790 * extra-lib.mk: Likewise.
3791 * iconv/Makefile: Likewise.
3792 * include/libc-symbols.h: Likewise.
3793 * include/shlib-compat.h: Likewise.
3794 * resolv/Makefile: Likewise.
3795 * resolv/res_libc.c: Likewise.
3796 * rt/Makefile: Likewise.
3797 * sysdeps/i386/asm-syntax.h: Likewise.
3798 * sysdeps/i386/sysdep.h: Likewise.
3799 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3800 * sysdeps/mach/sysdep.h: Likewise.
3801 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3802 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3803 * sysdeps/s390/asm-syntax.h: Likewise.
3804 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3805 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3806 * sysdeps/sh/sysdep.h: Likewise.
3807 * sysdeps/unix/sparc/sysdep.h: Likewise.
3808 * sysdeps/wordsize-32/divdi3.c: Likewise.
3809 * sysdeps/x86_64/sysdep.h: Likewise.
3810
00bbd29b
UD
3811 * argp/Versions: Remove _argp_unlock_xxx.
3812
3813 [BZ #13559]
3814 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3815 * abilist/libBrokenLocale.abilist: Likewise.
3816 * abilist/libanl.abilist: Likewise.
3817 * abilist/libc.abilist: Likewise.
3818 * abilist/libcrypt.abilist: Likewise.
3819 * abilist/libdl.abilist: Likewise.
3820 * abilist/libm.abilist: Likewise.
3821 * abilist/libnsl.abilist: Likewise.
3822 * abilist/libpthread.abilist: Likewise.
3823 * abilist/libresolv.abilist: Likewise.
3824 * abilist/librt.abilist: Likewise.
3825 * abilist/libthread_db.abilist: Likewise.
3826 * abilist/libutil.abilist: Likewise.
3827 * abilist/libnss_db.abilist: New file.
3828
3829 * scripts/abilist.awk: Add support for indirect functions.
3830
a2693a0e
UD
3831 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3832
3f05895f
UD
3833 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3834
ecb6fb48
UD
3835 * shlib-versions: Remove entries for ports architectures.
3836
664f8cb9
UD
3837 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3838 files in ports.
3839 * elf/stackguard-macros.h: Remove support for IA-64.
3840 * elf/tst-auditmod1.c: Likewise.
3841 * sysdeps/generic/ldsodefs.h: Likewise.
3842
7ae81d88
UD
3843 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3844 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3845 configure files.
3846
bdeba135
UD
3847 [BZ #13552]
3848 * configure.in: Remove --enable-omitfp support.
3849 * FAQ.in: Adjust.
3850 * config.make.in: Likewise.
3851 * Makeconfig: Likewise.
3852 * manual/install.texi: Likewise.
3853
d75a0a62
UD
3854 In case anyone cares, the IA-64 architecture could move to ports.
3855 * sysdeps/ia64/*: Removed.
3856 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3857 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3858
dcc9756b
UD
3859 [BZ #13555]
3860 * configure.in: Remove entries for unsupported architectures.
3861
d3761ebc 3862 [BZ #13533]
9954432e
UD
3863 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3864 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3865 routines.
3866 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3867 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3868 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3869 fall back to using wcrtomb.
3870 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3871 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3872 renaming.
3873 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3874 * wcsmbs/tst-c16c32-1.c: New file.
3875
3876 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3877 local variable.
3878
c3a87236
UD
3879 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3880
28926a1b
UD
3881 * elf/tst-unique3.cc: Add explicit declaration of gets.
3882 * elf/tst-unique3lib.cc: Likewise.
3883 * elf/tst-unique3lib2.cc: Likewise.
3884 * elf/tst-unique4.cc: Likewise.
3885
df78418a
UD
3886 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3887
8ecd6b2a
JM
38882012-01-06 Joseph Myers <joseph@codesourcery.com>
3889
3890 [BZ #13566]
3891 * assert/assert.h (static_assert): Don't define for C++.
3892 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3893 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3894
9f115170
UD
38952012-01-03 Ulrich Drepper <drepper@gmail.com>
3896
5e0d0300
UD
3897 * iconv/loop.c (single loop): Fix assertion in storing of
3898 remaining bytes.
3899
9f115170
UD
3900 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3901
81fb02b0
UD
39022012-01-01 Ulrich Drepper <drepper@gmail.com>
3903
3904 * posix/getconf.c: Update copyright year.
3905 * nss/getent.c: Likewise.
a316c1f6 3906 * nss/makedb.c: Likewise.
81fb02b0
UD
3907 * iconv/iconvconfig.c: Likewise.
3908 * iconv/iconv_prog.c: Likewise.
3909 * elf/ldconfig.c: Likewise.
a316c1f6
UD
3910 * elf/pldd.c: Likewise.
3911 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
3912 * catgets/gencat.c: Likewise.
3913 * csu/version.c: Likewise.
3914 * elf/ldd.bash.in: Likewise.
3915 * elf/sprof.c (print_version): Likewise.
3916 * locale/programs/locale.c: Likewise.
3917 * locale/programs/localedef.c: Likewise.
a316c1f6 3918 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
3919 * nscd/nscd.c (print_version): Likewise.
3920 * debug/xtrace.sh: Likewise.
3921 * malloc/memusage.sh: Likewise.
3922 * malloc/mtrace.pl: Likewise.
3923 * debug/catchsegv.sh: Likewise.
3924
2ba92745
JJ
39252011-12-30 Jakub Jelinek <jakub@redhat.com>
3926
3927 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3928 pure attribute.
3929
dadebdae
UD
39302011-12-24 Ulrich Drepper <drepper@gmail.com>
3931
d3761ebc 3932 [BZ #13533]
db6af3eb
UD
3933 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3934 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3935 transformations.
3936 * iconv/gconv_int.h: Likewise.
3937 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3938 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3939 from libc for GLIBC_2.16.
3940 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3941 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3942 * wcsmbs/uchar.h: Really define mbstate_t.
3943 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3944 * wcsmbs/c16rtomb.c: New file.
3945 * wcsmbs/mbrtoc16.c: New file.
3946 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3947 for C/POSIX locale.
3948 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3949 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3950
dadebdae
UD
3951 * wcsmbs/wchar.h: Add missing __restrict.
3952
67371b56
UD
39532011-12-23 Ulrich Drepper <drepper@gmail.com>
3954
74033a25
UD
3955 [BZ #13532]
3956 * time/Makefile (routines): Add timespec_get.
3957 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3958 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3959 timespec for ISO C11.
3960 * time/timespec_get.c: New file.
3961 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3962 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3963
380d7e87
UD
3964 [BZ #13531]
3965 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3966 * stdlib/stdlib.h: Declare aligned_alloc.
3967 * Versions.def: Add GLIBC_2.16 for libc.
3968 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3969
4e9e7a35
UD
3970 [BZ 13527]
3971 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3972 ISO C11.
3973
380d7e87 3974 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
3975 code.
3976
03a71829
UD
3977 [BZ #13528]
3978 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3979
839e283e
UD
3980 [BZ #13529]
3981 * assert/assert.h (static_assert): Define.
3982
ce5294e2 3983 * version.h: Update for 2.16 development version.
90fa7312 3984
8d44e150 3985 [BZ #13526]
d7809905
UD
3986 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3987 _ISOC11_SOURCE.
3988
c0da14cd
UD
3989 * version.h (RELEASE): Bump for 2.15 release.
3990 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3991
530a3249
MP
3992 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3993 Patch by Marek Polacek <mpolacek@redhat.com>.
3994
67371b56
UD
3995 * bits/byteswap.h: Protect long long constants with __extension__.
3996 * sysdeps/i386/bits/byteswap.h: Likewise.
3997 * sysdeps/ia64/bits/byteswap.h: Likewise.
3998 * sysdeps/s390/bits/byteswap.h: Likewise.
3999 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4000
15db4de1
LD
40012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4002
4003 [BZ #13540]
bbe315ea
LD
4004 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4005 destination buffer.
15db4de1
LD
4006 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4007
2b2596b1
MP
40082011-12-23 Marek Polacek <polacek@redhat.com>
4009
4010 * elf/dl-addr.c (determine_info): Add inline keyword.
4011 * elf/tst-auditmod4b.c (check_avx): Likewise.
4012 * elf/tst-auditmod6b.c (check_avx): Likewise.
4013 * elf/tst-auditmod6c.c (check_avx): Likewise.
4014 * elf/tst-auditmod7b.c (check_avx): Likewise.
4015
70c6c246
UD
40162011-12-23 Ulrich Drepper <drepper@gmail.com>
4017
4018 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4019 !__SSE_MATH__.
4020
c044cf14
LD
40212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4022
15db4de1 4023 [BZ #13540]
c044cf14
LD
4024 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4025 processing for last bytes.
4026
6b13d9d9
BH
40272011-08-06 Bruno Haible <bruno@clisp.org>
4028
d455f537
BH
4029 [BZ #13061]
4030 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4031 U+0385, not to U+1FEE.
4032
6b13d9d9
BH
4033 [BZ #13062]
4034 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4035 entry for U+00A5 U+0301.
4036
db910efd
UD
40372011-12-22 Ulrich Drepper <drepper@gmail.com>
4038
27deeafc
UD
4039 [BZ #13166]
4040 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4041 buffer for the output is too small.
4042
aed9d171
UD
4043 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4044 optimization.
4045
db910efd
UD
4046 [BZ #13185]
4047 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4048 SSE flags if possible.
4049
2bd779ae
LD
40502011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4051
e7f9dac3 4052 [BZ #13540]
2bd779ae
LD
4053 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4054 processing for last bytes.
4055
154bfc16
JM
40562011-12-22 Joseph Myers <joseph@codesourcery.com>
4057
4058 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4059 (syscall-list-default-options, syscall-list-default-condition)
4060 (syscall-list-includes): Define.
4061 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4062 list of ABIs and options and #if conditions for each ABI. Do not
4063 handle common syscalls between ABIs specially.
4064 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4065 Remove.
4066 (syscall-list-variants, syscall-list-32bit-options)
4067 (syscall-list-32bit-condition, syscall-list-64bit-options)
4068 (syscall-list-64bit-condition): Define.
4069 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4070 (syscall-list-variants, syscall-list-32bit-options)
4071 (syscall-list-32bit-condition, syscall-list-64bit-options)
4072 (syscall-list-64bit-condition): Define.
4073 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4074 Remove.
4075 (syscall-list-variants, syscall-list-32bit-options)
4076 (syscall-list-32bit-condition, syscall-list-64bit-options)
4077 (syscall-list-64bit-condition): Define.
4078 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4079 Remove.
4080 (syscall-list-variants, syscall-list-32bit-options)
4081 (syscall-list-32bit-condition, syscall-list-64bit-options)
4082 (syscall-list-64bit-condition): Define.
4083
21eaf3a5
UD
40842011-12-22 Ulrich Drepper <drepper@gmail.com>
4085
16c6f992
UD
4086 * locale/iso-639.def: Add brx entry.
4087
41043168
UD
4088 [BZ #13328]
4089 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4090 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4091
21eaf3a5
UD
4092 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4093 __feraiseexcept_renamed.
4094
e3a851a2
UD
40952011-12-21 Ulrich Drepper <drepper@gmail.com>
4096
4920765e
UD
4097 [BZ #13538]
4098 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4099 EPOLLET with unsigned values.
4100 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4101 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4102
e3a851a2
UD
4103 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4104 to large cancellation.
4105 * math/s_cacoshf.c: Likewise.
4106 * math/s_cacoshl.c: Likewise.
4107
b27e24b8
RK
41082011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4109
4110 [BZ #13305]
aebefeee 4111 [BZ #12786]
b27e24b8
RK
4112 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4113 * math/s_cacoshf.c: Likewise.
4114 * math/s_cacoshl.c: Likewise.
4115
ee190f67
UD
41162011-12-21 Ulrich Drepper <drepper@gmail.com>
4117
4118 [BZ #13439]
4119 * iconv/gconv.h: Define __GCONV_SWAP.
4120 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4121 * iconvdata/utf-16.c: Likewise.
4122 * iconvdata/utf-32.c: Likewise.
4123
707f25df
AS
41242011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4125
4126 [BZ #13524]
4127 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4128 numerator after shifting it by one limb.
4129
d2daaa1e
RÁE
41302011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4131
4132 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4133 under [__USE_EXTERN_INLINES].
4134
a4647e72
UD
41352011-12-17 Ulrich Drepper <drepper@gmail.com>
4136
4137 [BZ #13446]
4138 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4139
f0b264f1
AZ
41402011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4141
4142 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4143 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4144 optimized code.
4145 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4146 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4147 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4148 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4149 for strncasecmp/strncasecmp_l compilation.
4150 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4151 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4152
8ef4f244
MP
41532011-12-08 Marek Polacek <mpolacek@redhat.com>
4154
4155 [BZ #13484]
4156 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4157 of __asm__.
4158
97ac2654
UD
41592011-12-17 Ulrich Drepper <drepper@gmail.com>
4160
4161 [BZ #13506]
4162 * time/tzfile.c (__tzfile_read): Check values from file header.
4163
91d2a845
WS
41642011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4165
4166 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4167 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4168 * powerpc/powerpc32/dl-start.S: Likewise.
4169 * powerpc/powerpc32/elf/start.S: Likewise.
4170 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4171 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4172 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4173 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4174 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4175 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4176 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4177 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4178 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4179 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4180 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4181 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4182 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4183 * powerpc/powerpc32/memset.S: Likewise.
4184 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4185 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4186 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4187 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4188 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4189 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4190 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4191 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4192 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4193 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4194 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4195 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4196 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4197
a1267ba1
AZ
41982011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4199
4200 * math/libm-test.inc: Added more nearbyint tests.
4201 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4202 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4203 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4204 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4205
ad8ac1bd
RL
42062011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4207
4208 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4209 FD_CLOEXEC.
4210
1d3e4b61
UD
42112011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4212
4213 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4214 Add wcscpy-ssse3 wcscpy-c.
4215 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4216 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4217 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4218 * sysdeps/x86_64/wcschr.S: New file.
4219 * sysdeps/x86_64/wcsrchr.S: New file.
4220 * string/test-strcmp.c: Remove checking of wcscmp function for
4221 wrong alignments.
4222 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4223 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4224 wcsrchr-sse2 wcsrchr-c.
4225 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4226 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4227 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4228 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4229 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4230 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4231 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4232 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4233 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4234 * wcsmbc/wcschr.c (WCSCHR): New macro.
4235
5b330a2d
UD
42362011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4237
4238 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4239 * wcsmbs/test-wcsrchr.c: New file.
4240 * string/test-strrchr.c: Add wcsrchr support.
4241 (WIDE): New macro.
4242 * wcsmbs/test-wcscpy.c: New file.
4243 * string/test-strcpy.c: Add wcscpy support.
4244 (WIDE): New macro.
26428b7c 4245
f039c043
UD
42462011-12-10 Ulrich Drepper <drepper@gmail.com>
4247
4248 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4249 the inner loop.
4250
850fb039
AS
42512011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4252
4253 [BZ #13472]
4254 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4255
4efbd5cb
UD
42562011-12-04 Ulrich Drepper <drepper@gmail.com>
4257
52ff5dd0 4258 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4259 Minor optimizations.
52ff5dd0 4260
4efbd5cb
UD
4261 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4262 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4263 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4264
8a426e12
UD
42652011-12-03 Ulrich Drepper <drepper@gmail.com>
4266
aff2453d
UD
4267 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4268 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4269 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4270 for gcc to avoid warnings.
4271 * inet/Makefile (tests): Add tst-checks.
4272 * inet/tst-checks.c: New file.
4273
4274 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4275 warning.
4276
4277 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4278 __wmemcmp_sse2.
4279
4280 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4281 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4282
8a426e12
UD
4283 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4284
9bea3473
UD
42852011-12-02 Ulrich Drepper <drepper@gmail.com>
4286
3a965496
UD
4287 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4288 problem.
4289
9bea3473
UD
4290 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4291
f101631b
UD
42922011-11-29 Joseph Myers <joseph@codesourcery.com>
4293
4294 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4295 conditional on GCC version.
4296 (__arch_compare_and_exchange_val_8_acq)
4297 (__arch_compare_and_exchange_val_16_acq)
4298 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4299 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4300 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4301
a98275aa
UD
43022011-12-02 Joseph Myers <joseph@codesourcery.com>
4303
4304 * sysdeps/sh/backtrace.c: New file.
4305
d4cc29a2
AS
43062011-12-02 Andreas Schwab <schwab@redhat.com>
4307
4308 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4309 parenthesis.
4310
6257af2d
AS
43112011-12-01 Andreas Schwab <schwab@redhat.com>
4312
4313 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4314 falling back to utime.
4315
b5f44c1a
AS
43162011-11-30 Andreas Schwab <schwab@redhat.com>
4317
4318 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4319 expectations for float.
4320
f3a6cc0a
AS
43212011-11-29 Andreas Schwab <schwab@redhat.com>
4322
4323 * locale/weight.h (findidx): Add parameter len.
4324 * locale/weightwc.h (findidx): Likewise.
4325 * posix/fnmatch_loop.c (FCT): Adjust caller.
4326 * posix/regcomp.c (build_equiv_class): Likewise.
4327 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4328 * posix/regexec.c (check_node_accept_bytes): Likewise.
4329 * string/strcoll_l.c (STRCOLL): Likewise.
4330 * string/strxfrm_l.c (STRXFRM): Likewise.
4331
9d65ea3a
UD
43322011-11-17 Ulrich Drepper <drepper@gmail.com>
4333
4334 * Makefile.in: Remove CVSOPT handling.
4335 * configure.in: Remove use of AC_REVISION.
4336 * iconvdata/Makefile (distribute): No need to filter out CVS.
4337 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4338 handling.
4339
5583a086
AS
43402011-11-16 Andreas Schwab <schwab@redhat.com>
4341
4342 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4343 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4344 [USE_AS_STRNCASECMP_L]: Likewise.
4345 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4346 NO_TLS_DIRECT_SEG_REFS.
4347 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4348 Fix argument offsets for non-PIC.
4349 [USE_AS_STRNCASECMP_L]: Likewise.
4350 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4351 NO_TLS_DIRECT_SEG_REFS.
4352
d62a8200
UD
43532011-11-15 Ulrich Drepper <drepper@gmail.com>
4354
9d65ea3a 4355 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4356 O_CLOEXEC.
4357 * locale/loadlocale.c (_nl_load_locale): Likewise.
4358
09f93bd3
AS
43592011-11-15 Andreas Schwab <schwab@redhat.com>
4360
446514f9
AS
4361 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4362 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4363 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4364 (SYSCALL_GETTIME): Set errno on error.
4365
09f93bd3
AS
4366 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4367 count references to noai6ai_cached.
4368
312be3f9
UD
43692011-11-15 Ulrich Drepper <drepper@gmail.com>
4370
4371 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4372
4373 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4374 FD_CLOEXEC for /proc/self/maps.
4375
4376 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4377 FD_CLOEXEC for /proc/meminfo.
4378
4379 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4380 gai.conf.
4381
4382 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4383 FD_CLOEXEC for given file.
4384
4385 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4386
4387 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4388 FD_CLOEXEC for /etc/hosts.
4389 (_gethtent): Likewise.
4390
4391 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4392
4393 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4394 cancellation and set FD_CLOEXEC for /etc/netgroup.
4395
4396 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4397 reading /etc/publickey.
4398
4399 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4400 allow cancellation when reading /etc/group.
4401
4402 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4403 cancellation.
4404 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4405
4406 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4407 when using data file.
4408
4409 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4410
4411 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4412 (write_nis_obj): Use "c" and "e" in fopen.
4413
4414 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4415
4416 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4417
4418 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4419
4420 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4421
4422 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4423 locale.alias.
4424
4425 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4426
4427 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4428
4429 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4430
4431 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4432 file parsing and set FD_CLOEXEC.
4433
82af0fa8
UD
44342011-11-14 Ulrich Drepper <drepper@gmail.com>
4435
4436 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4437
a5fb313c
AS
44382011-11-14 Andreas Schwab <schwab@redhat.com>
4439
4440 * malloc/arena.c (arena_get2): Don't call reused_arena when
4441 _int_new_arena failed.
4442
6abf3465
UD
44432011-11-14 Ulrich Drepper <drepper@gmail.com>
4444
4445 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4446 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4447 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4448 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4449 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4450 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4451 to compile strcasecmp and strncasecmp.
4452 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4453 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4454
4455 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4456
76e3966e
UD
44572011-11-13 Ulrich Drepper <drepper@gmail.com>
4458
4459 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4460 locale-defines.sym to gen-as-const-headers.
4461 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4462 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4464 to compile strcasecmp and strncasecmp.
4465 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4466 strcasecmp_l and strncasecmp_l.
4467 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4468 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4469 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4470 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4471 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4472 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4473 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4474 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4475 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4476 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4477 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4478
ab26144e
UD
44792011-11-12 Ulrich Drepper <drepper@gmail.com>
4480
7edb22ef
UD
4481 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4482 result of SYSDEP_GETTIME_CPU to retval.
4483 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4484 parameter list to macro. Remove trailing semicolon. Adjust users.
4485
9694fc44
UD
4486 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4487 variable.
4488
8ad89ef8
UD
4489 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4490 mantissa words.
4491 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4492
0c822ef9
UD
4493 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4494 from unused variable.
4495
874e0564
UD
4496 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4497 DWARF definitions.
4498 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4499 for assembling.
4500
3a2edc79
UD
4501 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4502 over namespaces.
4503
f3c2577f
UD
4504 * sunrpc/rpc_prot.c (rejected): Fix case value.
4505
294ce126
UD
4506 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4507 unsigned long long int to avoid warnings in shift.
4508
5e2b63c6
UD
4509 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4510 of use of trans.
4511 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4512 variable tmp.
4513
e7f4b08e
UD
4514 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4515 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4516 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4517
ab26144e
UD
4518 * nis/nis_table.c (nis_list): Use variable of correct type for
4519 result of __follow_path call.
4520
8a6d5255
AZ
45212011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4522
4523 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4524 of math functions ceil, trunc, floor, round, and sqrt, when
4525 avaliable on the platform.
4526 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4527 name clash.
4528 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4529 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4530 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4531
aaddc98c
MP
45322011-10-30 Marek Polacek <mpolacek@redhat.com>
4533
4534 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4535 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4536
95b7042b
RM
45372011-11-11 Roland McGrath <roland@hack.frob.com>
4538
4539 * include/unistd.h: Fix __readlink return type.
4540 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4541
57769839
UD
45422011-11-11 Ulrich Drepper <drepper@gmail.com>
4543
4544 * stdlib/ucontext.h: Undo last change for makecontext.
4545
edc5984d
AS
45462011-11-11 Andreas Schwab <schwab@redhat.com>
4547
98591e58
AS
4548 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4549
edc5984d
AS
4550 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4551 * setjmp/setjmp.h: Mark functions as non-leaf.
4552 * setjmp/bits/setjmp2.h: Likewise.
4553 * stdlib/ucontext.h: Likewise.
4554
77cdc054
AS
45552011-11-10 Andreas Schwab <schwab@redhat.com>
4556
4557 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4558 (reused_arena): Don't check arena limit.
4559 (arena_get2): Atomically check arena limit.
4560
fe72eebd
UD
45612011-11-08 Ulrich Drepper <drepper@gmail.com>
4562
5f078c32
UD
4563 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4564 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4565
fe72eebd
UD
4566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4567 instructions.
4568
ae1bc2fa
AS
45692011-11-07 Andreas Schwab <schwab@redhat.com>
4570
7583a88d
AS
4571 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4572 handler when locking.
4573
ae1bc2fa
AS
4574 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4575 Fix size of allocated buffer.
4576
10fb0bfa
AS
45772011-11-04 Andreas Schwab <schwab@redhat.com>
4578
998832a4
AS
4579 [BZ #10103]
4580 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4581 declarations for long double functions.
4582 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4583
10fb0bfa
AS
4584 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4585
3d7ba52b
AS
45862011-11-03 Andreas Schwab <schwab@redhat.com>
4587
a9ae54a1
AS
4588 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4589 installed.
4590
3d7ba52b
AS
4591 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4592 is disabled.
4593
bc8db248
ST
45942011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4595
4596 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4597
45b96dd6
AS
45982011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4599
647776f6
AS
4600 * include/alloca.h (stackinfo_alloca_round): Define.
4601 (extend_alloca): Use it.
4602 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4603 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4604 here.
4605
d91a8b93
AS
4606 * scripts/check-local-headers.sh: Ignore libaudit.h.
4607
45b96dd6
AS
4608 * nscd/Makefile (extra-objs): Make recursively expanded.
4609
432d41ce
UD
46102011-11-01 Ulrich Drepper <drepper@gmail.com>
4611
34372fc6
UD
4612 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4613 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4614
fadb59f8
UD
4615 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4616 * posix/tst-rfc3484-2.c: Likewise.
4617 * posix/tst-rfc3484-3.c: Likewise.
4618
78239589
UD
4619 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4620 process_vm_writev.
4621 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4622 process_vm_writev.
4623 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4624 process_vm_writev from libc using GLIBC_2.15 version.
4625
432d41ce
UD
4626 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4627
02f9c6cf
PP
46282011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4629
4630 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4631 stack usage.
4632
3a2c0242
UD
46332011-10-31 Ulrich Drepper <drepper@gmail.com>
4634
f4ec4833
UD
4635 [BZ #13367]
4636 * nss/getent.c (initgroups_keys): Show error message in case no group
4637 names are given.
4638
3a2c0242
UD
4639 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4640 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4641 __bump_nl_timestamp.
4642 * nscd/connections (nscd_init): When host database is served open
4643 netlink socket and request notification about configuration changes.
4644 (main_loop_poll): Track netlink file descriptor and bump timestamp
4645 in case data becomes available.
4646 (main_loop_epoll): Likewise.
4647 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4648 (database_pers_head): Add extra_data fileds.
4649 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4650 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4651 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4652 Adjust caller.
4653 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4654 in6ai data, call __free_in6ai.
4655 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4656 Add -DHAVE_NETLINK.
4657 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4658 interface information. Reuse previous data if netlink timestamp
4659 is not changed.
4660 (__bump_nl_timestamp): New function.
4661 (__free_in6ai): New function.
4662
636064eb
UD
46632011-10-30 Ulrich Drepper <drepper@gmail.com>
4664
4665 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4666 close_not_cancel_no_status here.
4667 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4668
9beb2334
UD
46692011-10-29 Ulrich Drepper <drepper@gmail.com>
4670
6ef76f3b
UD
4671 [BZ #13276]
4672 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4673 return value.
4674
0ffc4f3e 4675 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4676 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4677 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4678
cb95113e
UD
46792011-07-03 Andreas Jaeger <aj@suse.de>
4680
4681 [BZ #10709]
4682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4683 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4684 * math/libm-test.inc (sin_test): Add test case.
4685
a1b560ff
UD
46862011-10-29 Ulrich Drepper <drepper@gmail.com>
4687
c9aaface
UD
4688 [BZ #13337]
4689 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4690 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4691
d272e7f1
UD
4692 * elf/chroot_canon.c (chroot_canon): Cleanups.
4693
1bc33071
UD
4694 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4695
1760874d
TJ
4696 [BZ #13335]
4697 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4698 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4699
51d91b18
UD
4700 * string/test-strchr.c: Make usable for strchrnul testing.
4701 * string/test-strchrnul.c: New file.
4702 * string/Makefile (strop-tests): Add strchrnul.
4703
a1b560ff 4704 * po/it.po: Update from translation team.
b611fb81 4705 * po/es.po: Likewise.
a1b560ff 4706
a5b81e1f
UD
47072011-10-28 Ulrich Drepper <drepper@gmail.com>
4708
fd52bc6d
UD
4709 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4710 the three constants needed as parameters. Drop the others.
4711 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4712 __m128i_strloadu_tolower.
52e4b9eb
UD
4713 Create and initialize variable zero and use it in all the places
4714 where _mm_setzero_si128 was used.
fd52bc6d 4715
a5b81e1f
UD
4716 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4717 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4718 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4719 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4720 anymore.
4721 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4722 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4723 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4724 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4725 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4726 __mpranred, __mptan.
4727 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4728 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4729 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4730 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4731 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4732 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4733 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4734 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4735 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4736
b4343346
AS
47372011-10-28 Andreas Schwab <schwab@redhat.com>
4738
0c92d8a8
AS
4739 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4740 redefine if SHARED.
4741 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4742
b4343346
AS
4743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4744 wide char related routines to wcsmbs subdir.
4745
3871f58f
AS
47462011-10-27 Andreas Schwab <schwab@redhat.com>
4747
4748 [BZ #13344]
4749 * misc/sys/cdefs.h (__THROWNL): Define.
4750 * posix/unistd.h: Use __THREADNL instead of __THREAD
4751 for memory synchronization functions.
4752
94d44d9f
RM
47532011-10-26 Roland McGrath <roland@hack.frob.com>
4754
21b64b15 4755 [BZ #13349]
94d44d9f
RM
4756 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4757 doesn't exist.
4758 * manual/stdio.texi (Obstack Streams): Node removed.
4759
f6ce9294
AS
47602011-10-26 Andreas Schwab <schwab@redhat.com>
4761
80479147
AS
4762 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4763 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4764 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4765
f6ce9294
AS
4766 * math/math_private.h (math_force_eval): Allow non-addressable
4767 arguments.
4768 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4769
618280a1
UD
47702011-10-25 Ulrich Drepper <drepper@gmail.com>
4771
e0016b11
UD
4772 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4773 file is not needed.
4774
4775 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4776 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4777 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4778 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4779 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4780 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4781 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4782 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4783 Add AVX variants.
4784 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4785 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4786 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4787 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4788 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4789 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4790 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4791 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4792 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4793 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4794 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4795 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4796 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4797 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4798 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4799 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4800 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4801 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4802 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4803
4804 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4805 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4806
618280a1
UD
4807 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4808 place. Use VEX encoding when compiling for AVX.
4809
37822576
AS
48102011-10-25 Andreas Schwab <schwab@redhat.com>
4811
1f1e1947
AS
4812 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4813 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4814
37822576
AS
4815 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4816
31ea014d
UD
48172011-10-25 Ulrich Drepper <drepper@gmail.com>
4818
d7826aa1 4819 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 4820 useless if() expression.
d7826aa1
UD
4821 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4822 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4823 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4824 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4825 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4826 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4827 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4829 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4830 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4831 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4832 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4833 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4834 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4835 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4836 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4837 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4838 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4839 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4840
31ea014d
UD
4841 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4842
16437fec
AS
48432011-10-25 Andreas Schwab <schwab@redhat.com>
4844
4845 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4846 condition.
4847 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4848
31d3cc00
UD
48492011-10-25 Ulrich Drepper <drepper@gmail.com>
4850
4851 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4852 .text section. Avoid duplicate constants.
4853 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4855 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4856 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4857 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4858 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4860 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4861 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4862 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4863 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4864 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4865 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4866 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4867 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4868 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4869 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4870 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4871 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4872 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4873 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4874 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4875 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4876 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4877 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4878 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4879 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4880 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4881 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4882 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4883 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4884 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4885 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4886 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4887 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4888 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4889 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4890 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4891 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4892 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4893 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4894 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4895 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4896 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4897 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4898
58985aa9
UD
48992011-10-24 Ulrich Drepper <drepper@gmail.com>
4900
202c9deb
UD
4901 * sysdeps/x86_64/dla.h: Move to ...
4902 * sysdeps/x86_64/fpu/dla.h: ...here.
4903 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4904 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 4905
af968f62
UD
4906 * config.make.in: Add have-mfma4 entry.
4907 * configure.in: Substitute libc_cv_cc_fma4.
4908 * math/Makefile (dbl-only-routines): Add sincostab.
4909 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4910 Use __sincostab not sincos.
4911 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4912 name is a macro.
4913 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4917 using __copysign.
4918 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4919 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4920 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4921 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4922 and __inv.
4923 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4924 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4925 __copysign.
4926 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4927 define aliases when function name is a macro.
4928 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4929 sysdeps/ieee754/dbl-64/sincos.tbl.
4930 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4931 fma4-enabled routines.
4932 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4933 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4934 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4935 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4936 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4937 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4938 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4939 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4940 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4941 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4942 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4943 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4944 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4945 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4946 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4947 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4948 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4949 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4950 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4951 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4952 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4953 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4954 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4955 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4956 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4957 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4958 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4959 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4960 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4961 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4962
58985aa9
UD
4963 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4964 rename.
4965 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4968 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4969 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4972 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4973
a201fbcf
AS
49742011-10-24 Andreas Schwab <schwab@redhat.com>
4975
4976 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4977
fc2ee42a
LD
49782011-10-23 Ulrich Drepper <drepper@gmail.com>
4979
bb3129bd
UD
4980 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4981
0275fff8
UD
4982 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4983 prediction.
4984 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4985
2fa2ae85
UD
4986 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4987 Remove unused variable magic_bits.
4988 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4989
fc2ee42a
LD
4990 * string/strnlen.c: Define and use STRNLEN macro.
4991 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4992 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4993 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4994 * wcsmbs/wcslen.c: Define and use WCSLEN.
4995 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4996 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4997 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4998 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4999 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5000 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5001 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5002
ce7dd29f
LD
50032011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5004
5005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5006 strnlen-sse2-no-bsf.
5007 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5009 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5010 Add strnlen support.
5011 (USE_AS_STRNLEN): New macro.
5012 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5013 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5014 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5015 * sysdeps/x86_64/wcslen.S: New file.
5016
979c70a3
MZ
50172011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5018
5019 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5020 XMM-moves are used for copying on small sizes.
5021
2d09f82f
LD
50222011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5023
5024 * wcsmbs/Makefile (strop-tests): Add wcschr.
5025 * wcsmbs/test-wcschr.c: New file.
5026 * string/test-strchr.c: Update.
5027 Add wcschr support.
5028 (WIDE): New macro.
5029
619fccca
LD
50302011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5031
2d09f82f 5032 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5033 * wcsmbs/test-wcslen.c: New file.
5034 * string/test-strlen.c: Update.
5035 Add wcslen support.
5036 (WIDE): New macro.
5037
09f699ea
UD
50382011-10-23 Ulrich Drepper <drepper@gmail.com>
5039
5040 * po/it.po: Update from translation team.
5041
95584d3b
LD
50422011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5043
5044 * sysdeps/x86_64/wcscmp.S: Update.
5045 Fix wrong comparison semantics.
5046 wcscmp shall use signed comparison not unsigned.
5047 Don't use substraction to avoid overflow bug.
5048 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5049 * wcsmbc/wcscmp.c: Likewise.
5050 * string/test-strcmp.c: Likewise.
5051 Add new tests to check cases with negative values.
5052
c8b3296b
UD
50532011-10-23 Ulrich Drepper <drepper@gmail.com>
5054
5055 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5056 * sysdeps/x86_64/dla.h: ...here. New file.
5057 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5064 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5066
246ad57a
AS
50672011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5068
5069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5070 __ynl_finite aliases.
5071
a1a87169
UD
50722011-10-22 Ulrich Drepper <drepper@gmail.com>
5073
0d355eb7
UD
5074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5075
a1a87169
UD
5076 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5077 define DLA_FMA.
5078 [DLA_FMA] (EMULV): Use DLA_FMA.
5079 [DLA_FMA] (MUL12): Use EMULV.
5080 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5081 that are not needed.
5082 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5083 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5085 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5086 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5087 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5088 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5089
ee2aafe0
AS
50902011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5091
5092 * math/s_nan.c: Undef __nan.
5093 * math/s_nanf.c: Undef __nanf.
5094 * math/s_nanl.c: Undef __nanl.
5095 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5096 "math_private.h".
5097
bc62c2fb
UD
50982011-10-22 Ulrich Drepper <drepper@gmail.com>
5099
77425c63
UD
5100 * math/s_catan.c: Add branch predictions.
5101 * math/s_catanf.c: Likewise.
5102 * math/s_catanh.c: Likewise.
5103 * math/s_catanhf.c: Likewise.
5104 * math/s_catanhl.c: Likewise.
5105 * math/s_catanl.c: Likewise.
5106 * math/s_cexp.c: Likewise.
5107 * math/s_cexpf.c: Likewise.
5108 * math/s_cexpl.c: Likewise.
5109 * math/s_clog.c: Likewise.
5110 * math/s_clog10.c: Likewise.
5111 * math/s_clog10f.c: Likewise.
5112 * math/s_clog10l.c: Likewise.
5113 * math/s_clogf.c: Likewise.
5114 * math/s_clogl.c: Likewise.
5115 * math/s_csqrt.c: Likewise.
5116 * math/s_csqrtf.c: Likewise.
5117 * math/s_csqrtl.c: Likewise.
5118 * math/s_ctanf.c: Likewise.
5119 * math/s_ctanh.c: Likewise.
5120 * math/s_ctanhf.c: Likewise.
5121 * math/s_ctanhl.c: Likewise.
5122 * math/s_ctanl.c: Likewise.
5123
bc62c2fb
UD
5124 * math/math_private.h: Define __nan, __nanf, __nanl.
5125 * math/s_cacosh.c: Include <math_private.h>.
5126 * math/s_cacoshl.c: Likewise.
5127 * math/s_casinh.c: Likewise.
5128 * math/s_casinhf.c: Likewise.
5129 * math/s_casinhl.c: Likewise.
5130 * math/s_ccos.c: Rely entire on ccosh.
5131 * math/s_ccosf.c: Rely entire on ccoshf.
5132 * math/s_ccosl.c: Rely entirely on ccoshl.
5133 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5134 Remove tests for FE_INVALID.
5135 * math/s_ccoshf.c: Likewise.
5136 * math/s_ccoshl.c: Likewise.
5137 * math/s_csin.c: Likewise.
5138 * math/s_csinf.c: Likewise.
5139 * math/s_csinh.c Likewise.
5140 * math/s_csinhf.c: Likewise.
5141 * math/s_csinhl.c: Likewise.
5142 * math/s_csinl.c: Likewise.
5143 * math/s_ctan.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5145 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5146 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5147
8ec250a4
UD
51482011-10-21 Ulrich Drepper <drepper@gmail.com>
5149
c196fed8
UD
5150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5151 compilation problems.
5152
8ec250a4
UD
5153 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5154 __builtin_expect.
5155
8d4f46c6
UD
51562011-10-20 Ulrich Drepper <drepper@gmail.com>
5157
ed72b654
UD
5158 * sysdeps/i386/configure.in: Test for -mfma4 option.
5159 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5160 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5161 COMMON_CPUID_INDEX_80000001.
5162 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5163 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5164 use it if FMA3 is not supported.
5165 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5166
8d4f46c6
UD
5167 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5168 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5169
d45c60c2
AS
51702011-10-20 Andreas Schwab <schwab@redhat.com>
5171
5172 [BZ #12892]
5173 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5174 it would create a cycle with a link time dependency.
5175
d9a4d2ab
UD
51762011-10-19 Ulrich Drepper <drepper@gmail.com>
5177
855d1560
UD
5178 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5179 instruction.
5180 * string/Makefile (strop-tests): Add rawmemchr.
5181 * string/test-rawmemchr.c: New file.
5182
d9a4d2ab
UD
5183 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5184 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5185 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5186 when compiling str{,n}casecmp and when AVX is available. Hook up
5187 new optimized code in initializers.
5188
8f3b1ffe
AS
51892011-10-19 Andreas Schwab <schwab@redhat.com>
5190
5191 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5192 __feraiseexcept instead of feraiseexcept.
5193
d38f1dba
UD
51942011-10-18 Ulrich Drepper <drepper@gmail.com>
5195
d9a8d0ab
UD
5196 * math/math_private.h: Define defaults for libc_fetestexcept and
5197 libc_feupdateenv.
5198 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5199 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5200 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5201 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5202 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5203 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5204 libc_fetestexcept and libc_feupdateenv.
5205
4855e3dd
UD
5206 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5207 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5208 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5209 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5210 libc_feholdexcept_setround.
5211
581d30e3
UD
5212 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5213 Add s_nearbyint-c and s_nearbyintf-c.
5214 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5215 nearbyintf inlines.
5216 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5217 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5218 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5219 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5220
d38f1dba
UD
5221 * math/math_private.h: Define defaults for libc_fegetround,
5222 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5223 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5224 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5225 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5226 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5227 standard functions.
5228 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5229 Remove comments and hacks for old compiler versions.
5230 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5231 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5232 libc_feholdexceptl.
5233
caa6c9d8
AS
52342011-10-18 Andreas Schwab <schwab@redhat.com>
5235
5236 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5237 (__feraiseexcept_renamed): Add __NTH.
5238 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5239 namespace violations.
5240
97c066e6
UD
52412011-10-17 Ulrich Drepper <drepper@gmail.com>
5242
99ce7b04
UD
5243 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5244
1004d182
UD
5245 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5246
228a984d
UD
5247 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5248 recently added interfaces.
5249 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5250
c8553a6a
UD
5251 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5252 about macro parameter expansion.
5253
ed22dcf6
UD
5254 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5255 __NO_MATH_INLINES is defined. Cleanups.
5256
5257 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5258 and __floorf is target has SSE4.1.
5259 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5260 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5261 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5262 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5263
b171c137
UD
5264 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5265 name.
5266 (floorf): Likewise.
5267
97c066e6
UD
5268 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5269
629f62ef
AS
52702011-10-17 Andreas Schwab <schwab@redhat.com>
5271
49a43d80
AS
5272 * misc/sys/cdefs.h: Fix last change.
5273
629f62ef
AS
5274 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5275 database lookup.
5276
e453f6cd
UD
52772011-10-16 Ulrich Drepper <drepper@gmail.com>
5278
aa78043a
UD
5279 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5280
ad0f5cad
UD
5281 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5282 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5284 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5286 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5287 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5288 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5289 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5290 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5291 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5292 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5293 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5294 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5295 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5296 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5297 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5298 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5299 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5300 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5301 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5302 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5303
5304 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5305 ceil, ceilf, floor, floorf.
5306
5307 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5308 Perform IRELATIVE relocations last.
5309
e453f6cd
UD
5310 * elf/do-rel.h: Add another parameter nrelative, replacing the
5311 local variable with the same name. Change name of the function
5312 to end in Rel or Rela (uppercase).
5313 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5314 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5315 elf_dynamic_do_##reloc function.
5316
fd5bdc09
UD
53172011-10-15 Ulrich Drepper <drepper@gmail.com>
5318
79b195b5
UD
5319 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5320 is sufficient, at least on modern CPUs.
5321
d4a28569
UD
5322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5323
b61099b5
UD
5324 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5325 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5326
bcf01e6d
UD
5327 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5328 __expl_finite.
5329 * math/bits/math-finite.h: Add entries for exp.
5330 * math/e_expl.c: Add __*_finite alias.
5331 * sysdeps/i386/fpu/e_exp.S: Likewise.
5332 * sysdeps/i386/fpu/e_expf.S: Likewise.
5333 * sysdeps/i386/fpu/e_expl.c: Likewise.
5334 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5335 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5336 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5338 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5339 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5340 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5341
ba1a0d59
UD
5342 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5343 is sufficient, at least on modern CPUs.
5344
fd5bdc09
UD
5345 * ctype/ctype-info.c (__ctype_init): Define.
5346 * include/ctype.h (__ctype_init): Declare.
5347 (__ctype_b_loc): The variable is always initialized.
5348 (__ctype_toupper_loc): Likewise.
5349 (__ctype_tolower_loc): Likewise.
5350 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5351 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5352
7872cfb0
AS
53532011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5354
b468825a
AS
5355 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5356
7872cfb0
AS
5357 * configure.in: Also look in $cxxmachine/include for C++ system
5358 headers.
5359
be13f7bf
LD
53602011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5361
5362 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5363 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5364 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5365 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5366 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5367 (USE_AS_WMEMCMP): New macro.
5368 Fixing indents.
5369 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5370 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5371 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5372 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5374 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5375 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5376 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5377 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5378 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5379 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5380 (USE_AS_WMEMCMP): New macro.
5381 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5382 * sysdeps/string/test-memcmp.c: Update.
5383 Fix simple_wmemcmp.
5384 Add new tests.
5385 * wcsmbs/wmemcmp.c: Update.
5386 (WMEMCMP): New macro.
5387 Fix overflow bug.
5388
556a2007
AJ
53892011-10-12 Andreas Jaeger <aj@suse.de>
5390
5391 [BZ #13268]
5392 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5393
538faaa7
UD
53942011-10-15 Ulrich Drepper <drepper@gmail.com>
5395
ab6737ff
UD
5396 * libio/iofwide.c (do_length): Avoid warning.
5397
538faaa7
UD
5398 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5399
396a21b1
UD
54002011-10-14 Ulrich Drepper <drepper@gmail.com>
5401
cdf2901f
UD
5402 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5403
38ad40ce
UD
5404 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5405 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5406 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5407 * sysdeps/i386/i686/fpu/e_log.S: New file.
5408 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5409 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5410
396a21b1
UD
5411 * ctype/ctype.h: Add support for inlined isXXX functions when
5412 compiling C++ code.
5413
6b1f68c9
AS
54142011-10-14 Andreas Schwab <schwab@redhat.com>
5415
349290c0
AS
5416 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5417
6b1f68c9
AS
5418 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5419
f2282d42
RM
54202011-10-13 Roland McGrath <roland@hack.frob.com>
5421
5422 [BZ #13291]
5423 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5424
5298ffa8
AS
54252011-10-13 Andreas Schwab <schwab@redhat.com>
5426
714fad23
AS
5427 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5428 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5429 feraiseexcept.
5430
81dcc7fb
AS
5431 * sysdeps/x86_64/memrchr.S: Check for zero size.
5432
5298ffa8
AS
5433 * string/stratcliff.c: Add memrchr tests.
5434
951fbcec
LD
54352011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5436
5437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5438 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5439 rawmemchr-sse2 rawmemchr-sse2-bsf.
5440 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5441 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5442 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5443 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5444 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5445 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5446 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5447 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5448 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5449 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5450 * string/memrchr.c (MEMRCHR): New macro.
5451
0ac5ae23
UD
54522011-10-12 Ulrich Drepper <drepper@gmail.com>
5453
5454 Add integration with gcc's -ffinite-math-only and optimize wrapper
5455 functions in libm.
5456 * Versions.def: Define GLIBC_2.15 version for libm.
5457 * math/Makefile (headers): Add bits/math-finite.h.
5458 * math/bits/math-finite.h: New file.
5459 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5460 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5461 * math/e_acoshl.c: Add __*_finite alias.
5462 * math/e_acosl.c: Likewise.
5463 * math/e_asinl.c: Likewise.
5464 * math/e_atan2l.c: Likewise.
5465 * math/e_atanhl.c: Likewise.
5466 * math/e_coshl.c: Likewise.
5467 * math/e_exp10.c: Likewise.
5468 * math/e_exp10f.c: Likewise.
5469 * math/e_exp10l.c: Likewise.
5470 * math/e_exp2l.c: Likewise.
5471 * math/e_fmodl.c: Likewise.
5472 * math/e_gammal_r.c: Likewise.
5473 * math/e_hypotl.c: Likewise.
5474 * math/e_j0l.c: Likewise.
5475 * math/e_j1l.c: Likewise.
5476 * math/e_jnl.c: Likewise.
5477 * math/e_lgammal_r.c: Likewise.
5478 * math/e_log10l.c: Likewise.
5479 * math/e_log2l.c: Likewise.
5480 * math/e_logl.c: Likewise.
5481 * math/e_powl.c: Likewise.
5482 * math/e_sinhl.c: Likewise.
5483 * math/e_sqrtl.c: Likewise.
5484 * math/e_scalb.c: Completely rewritten and optimized.
5485 * math/e_scalbf.c: Likewise.
5486 * math/e_scalbl.c: Likewise.
5487 * math/w_acos.c: Likewise.
5488 * math/w_acosf.c: Likewise.
5489 * math/w_acosl.c: Likewise.
5490 * math/w_acosh.c: Likewise.
5491 * math/w_acoshf.c: Likewise.
5492 * math/w_acoshl.c: Likewise.
5493 * math/w_asin.c: Likewise.
5494 * math/w_asinf.c: Likewise.
5495 * math/w_asinl.c: Likewise.
5496 * math/w_atan2.c: Likewise.
5497 * math/w_atan2f.c: Likewise.
5498 * math/w_atan2l.c: Likewise.
5499 * math/w_atanh.c: Likewise.
5500 * math/w_atanhf.c: Likewise.
5501 * math/w_atanhl.c: Likewise.
5502 * math/w_exp10.c: Likewise.
5503 * math/w_exp10f.c: Likewise.
5504 * math/w_exp10l.c: Likewise.
5505 * math/w_fmod.c: Likewise.
5506 * math/w_fmodf.c: Likewise.
5507 * math/w_fmodl.c: Likewise.
5508 * math/w_j0.c: Likewise.
5509 * math/w_j0f.c: Likewise.
5510 * math/w_j0l.c: Likewise.
5511 * math/w_j1.c: Likewise.
5512 * math/w_j1f.c: Likewise.
5513 * math/w_j1l.c: Likewise.
5514 * math/w_jn.c: Likewise.
5515 * math/w_jnf.c: Likewise.
5516 * math/w_log.c: Likewise.
5517 * math/w_logf.c: Likewise.
5518 * math/w_logl.c: Likewise.
5519 * math/w_log10.c: Likewise.
5520 * math/w_log10f.c: Likewise.
5521 * math/w_log10l.c: Likewise.
5522 * math/w_log2.c: Likewise.
5523 * math/w_log2f.c: Likewise.
5524 * math/w_log2l.c: Likewise.
5525 * math/w_pow.c: Likewise.
5526 * math/w_powf.c: Likewise.
5527 * math/w_powl.c: Likewise.
5528 * math/w_remainder.c: Likewise.
5529 * math/w_remainderf.c: Likewise.
5530 * math/w_remainderl.c: Likewise.
5531 * math/w_scalb.c: Likewise.
5532 * math/w_scalbf.c: Likewise.
5533 * math/w_scalbl.c: Likewise.
5534 * math/w_sqrt.c: Likewise.
5535 * math/w_sqrtf.c: Likewise.
5536 * math/w_sqrtl.c: Likewise.
5537 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5538 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5539 used.
5540 * math/math_private.h: Declare __kernel_standard_f.
5541 * math/w_cosh.c: Remove cruft and optimize a bit.
5542 * math/w_coshf.c: Likewise.
5543 * math/w_coshl.c: Likewise.
5544 * math/w_exp2.c: Likewise.
5545 * math/w_exp2f.c: Likewise.
5546 * math/w_exp2l.c: Likewise.
5547 * math/w_hypot.c: Likewise.
5548 * math/w_hypotf.c: Likewise.
5549 * math/w_hypotl.c: Likewise.
5550 * math/w_lgamma.c: Likewise.
5551 * math/w_lgamma_r.c: Likewise.
5552 * math/w_lgammaf.c: Likewise.
5553 * math/w_lgammaf_r.c: Likewise.
5554 * math/w_lgammal.c: Likewise.
5555 * math/w_lgammal_r.c: Likewise.
5556 * math/w_sinh.c: Likewise.
5557 * math/w_sinhf.c: Likewise.
5558 * math/w_sinhl.c: Likewise.
5559 * math/w_tgamma.c: Likewise.
5560 * math/w_tgammaf.c: Likewise.
5561 * math/w_tgammal.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5563 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5564 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5565 Minor optimizations. Pretty printing. Remove cruft.
5566 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5567 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5568 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5569 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5570 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5571 * sysdeps/i386/fpu/e_asin.S: Likewise.
5572 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5573 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5574 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5575 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5576 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5577 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5578 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5579 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5580 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5581 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5582 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5583 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5584 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5585 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5586 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5587 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5588 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5589 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5590 * sysdeps/i386/fpu/e_log.S: Likewise.
5591 * sysdeps/i386/fpu/e_log10.S: Likewise.
5592 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5593 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5594 * sysdeps/i386/fpu/e_log2.S: Likewise.
5595 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5596 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5597 * sysdeps/i386/fpu/e_logf.S: Likewise.
5598 * sysdeps/i386/fpu/e_logl.S: Likewise.
5599 * sysdeps/i386/fpu/e_pow.S: Likewise.
5600 * sysdeps/i386/fpu/e_powf.S: Likewise.
5601 * sysdeps/i386/fpu/e_powl.S: Likewise.
5602 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5603 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5604 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5605 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5606 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5607 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5608 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5609 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5610 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5612 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5614 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5615 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5616 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5617 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5618 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5619 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5620 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5624 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5626 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5627 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5628 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5629 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5630 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5632 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5633 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5634 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5635 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5636 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5637 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5638 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5639 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5640 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5641 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5642 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5643 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5644 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5645 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5646 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5647 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5648 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5649 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5650 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5651 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5652 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5653 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5654 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5655 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5656 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5657 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5658 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5659 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5660 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5661 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5662 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5663 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5664 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5665 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5666 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5667 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5668 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5669 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5670 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5671 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5672 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5673 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5674 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5675 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5676 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5677 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5678 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5679 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5680 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5681 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5682 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5683 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5684 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5685 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5687 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5688 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5689 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5690 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5691 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5692 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5693 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5694 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5695 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5696 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5697 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5698 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5699 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5700 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5701 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5702 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5703 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5704 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5705 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5706 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5707 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5708 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5709 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5710 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5711 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5712 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5713 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5714 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5715 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5716 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5717 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5718 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5719 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5720 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5721 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5722 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5723 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5724 (__isnanf): Likewise.
5725 (__isinf_ns): Likewise.
5726 (__isinf_nsf): Likewise.
5727 (__finite): Likewise.
5728 (__finitef): Likewise.
5729 (__ieee754_sqrt): Define as macro.
5730 (__ieee754_sqrtf): Define as macro.
5731 (__ieee754_sqrtl): Define as macro.
5732 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5733 inlined copy.
5734 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5735 __FINITE_MATH_ONLY__ consistent.
5736 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5737
12cc2fcd
AS
57382011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5739
a843a204
AS
5740 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5741 of rawmemchr.
5742
12cc2fcd
AS
5743 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5744
c853acd5
UD
57452011-10-09 Ulrich Drepper <drepper@gmail.com>
5746
5747 * po/ja.po: Update from translation team.
5748
c658d255
RM
57492011-10-08 Roland McGrath <roland@hack.frob.com>
5750
110946e4
RM
5751 * locale/programs/locarchive.c (prepare_address_space): New function.
5752 (create_archive, enlarge_archive, open_archive): Use it.
5753
50604220
RM
5754 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5755 inside [SHARED], where it is used.
5756
c658d255
RM
5757 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5758
5759 * nss/getent.c (netgroup_keys): Remove unused variable.
5760 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5761
6a621eb7
UD
57622011-10-08 Ulrich Drepper <drepper@gmail.com>
5763
7edb55ce
UD
5764 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5765 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5767 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5768 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5769 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5770 * math/Makefile (libm-calls): Add s_isinf_ns.
5771 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5772 * math/multc3.c: Likewise.
5773 * math/s_casin.c: Likewise.
5774 * math/s_casinf.c: Likewise.
5775 * math/s_casinl.c: Likewise.
5776 * math/s_ccos.c: Likewise.
5777 * math/s_ccosf.c: Likewise.
5778 * math/s_ccosl.c: Likewise.
5779 * math/s_ctan.c: Likewise.
5780 * math/s_ctanf.c: Likewise.
5781 * math/s_ctanh.c: Likewise.
5782 * math/s_ctanhf.c: Likewise.
5783 * math/s_ctanhl.c: Likewise.
5784 * math/s_ctanl.c: Likewise.
5785 * math/w_fmod.c: Likewise.
5786 * math/w_fmodf.c: Likewise.
5787 * math/w_fmodl.c: Likewise.
5788 * math/w_remainder.c: Likewise.
5789 * math/w_remainderf.c: Likewise.
5790 * math/w_remainderl.c: Likewise.
5791 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5792 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5793 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5794 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5795 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5796 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5797 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5798 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5799
187da0ae
UD
5800 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5801 of the number.
5802 * stdio-common/printf_fphex.c: Likewise.
5803 * stdio-common/printf_size.c: Likewise.
5804
9277c064
UD
5805 * math/e_exp10.c: Include math_private.h using <...> not "...".
5806 * math/e_exp10f.c: Likewise.
5807 * math/e_exp10l.c: Likewise.
5808 * math/e_exp2l.c: Likewise.
5809 * math/e_j0l.c: Likewise.
5810 * math/e_j1l.c: Likewise.
5811 * math/e_jnl.c: Likewise.
5812 * math/e_lgammal_r.c: Likewise.
5813 * math/e_rem_pio2l.c: Likewise.
5814 * math/e_scalb.c: Likewise.
5815 * math/e_scalbf.c: Likewise.
5816 * math/e_scalbl.c: Likewise.
5817 * math/k_cosl.c: Likewise.
5818 * math/k_sinl.c: Likewise.
5819 * math/k_tanl.c: Likewise.
5820 * math/s_cacoshf.c: Likewise.
5821 * math/s_catan.c: Likewise.
5822 * math/s_catanf.c: Likewise.
5823 * math/s_catanh.c: Likewise.
5824 * math/s_catanhf.c: Likewise.
5825 * math/s_catanhl.c: Likewise.
5826 * math/s_catanl.c: Likewise.
5827 * math/s_ccosh.c: Likewise.
5828 * math/s_ccoshf.c: Likewise.
5829 * math/s_ccoshl.c: Likewise.
5830 * math/s_cexp.c: Likewise.
5831 * math/s_cexpf.c: Likewise.
5832 * math/s_cexpl.c: Likewise.
5833 * math/s_clog.c: Likewise.
5834 * math/s_clog10.c: Likewise.
5835 * math/s_clog10f.c: Likewise.
5836 * math/s_clog10l.c: Likewise.
5837 * math/s_clogf.c: Likewise.
5838 * math/s_clogl.c: Likewise.
5839 * math/s_csin.c: Likewise.
5840 * math/s_csinf.c: Likewise.
5841 * math/s_csinh.c: Likewise.
5842 * math/s_csinhf.c: Likewise.
5843 * math/s_csinhl.c: Likewise.
5844 * math/s_csinl.c: Likewise.
5845 * math/s_csqrt.c: Likewise.
5846 * math/s_csqrtf.c: Likewise.
5847 * math/s_csqrtl.c: Likewise.
5848 * math/s_ctan.c: Likewise.
5849 * math/s_ctanf.c: Likewise.
5850 * math/s_ctanh.c: Likewise.
5851 * math/s_ctanhf.c: Likewise.
5852 * math/s_ctanhl.c: Likewise.
5853 * math/s_ctanl.c: Likewise.
5854 * math/s_ldexp.c: Likewise.
5855 * math/s_ldexpf.c: Likewise.
5856 * math/s_ldexpl.c: Likewise.
5857 * math/s_significand.c: Likewise.
5858 * math/s_significandf.c: Likewise.
5859 * math/s_significandl.c: Likewise.
5860 * math/w_acos.c: Likewise.
5861 * math/w_acosf.c: Likewise.
5862 * math/w_acosh.c: Likewise.
5863 * math/w_acoshf.c: Likewise.
5864 * math/w_acoshl.c: Likewise.
5865 * math/w_acosl.c: Likewise.
5866 * math/w_asin.c: Likewise.
5867 * math/w_asinf.c: Likewise.
5868 * math/w_asinl.c: Likewise.
5869 * math/w_atan2.c: Likewise.
5870 * math/w_atan2f.c: Likewise.
5871 * math/w_atan2l.c: Likewise.
5872 * math/w_atanh.c: Likewise.
5873 * math/w_atanhf.c: Likewise.
5874 * math/w_atanhl.c: Likewise.
5875 * math/w_cosh.c: Likewise.
5876 * math/w_coshf.c: Likewise.
5877 * math/w_coshl.c: Likewise.
5878 * math/w_dremf.c: Likewise.
5879 * math/w_exp10.c: Likewise.
5880 * math/w_exp10f.c: Likewise.
5881 * math/w_exp10l.c: Likewise.
5882 * math/w_exp2.c: Likewise.
5883 * math/w_exp2f.c: Likewise.
5884 * math/w_fmod.c: Likewise.
5885 * math/w_fmodf.c: Likewise.
5886 * math/w_fmodl.c: Likewise.
5887 * math/w_hypot.c: Likewise.
5888 * math/w_hypotf.c: Likewise.
5889 * math/w_hypotl.c: Likewise.
5890 * math/w_j0.c: Likewise.
5891 * math/w_j0f.c: Likewise.
5892 * math/w_j0l.c: Likewise.
5893 * math/w_j1.c: Likewise.
5894 * math/w_j1f.c: Likewise.
5895 * math/w_j1l.c: Likewise.
5896 * math/w_jn.c: Likewise.
5897 * math/w_jnf.c: Likewise.
5898 * math/w_jnl.c: Likewise.
5899 * math/w_lgamma.c: Likewise.
5900 * math/w_lgamma_r.c: Likewise.
5901 * math/w_lgammaf.c: Likewise.
5902 * math/w_lgammaf_r.c: Likewise.
5903 * math/w_lgammal.c: Likewise.
5904 * math/w_lgammal_r.c: Likewise.
5905 * math/w_log.c: Likewise.
5906 * math/w_log10.c: Likewise.
5907 * math/w_log10f.c: Likewise.
5908 * math/w_log10l.c: Likewise.
5909 * math/w_log2.c: Likewise.
5910 * math/w_log2f.c: Likewise.
5911 * math/w_log2l.c: Likewise.
5912 * math/w_logf.c: Likewise.
5913 * math/w_logl.c: Likewise.
5914 * math/w_pow.c: Likewise.
5915 * math/w_powf.c: Likewise.
5916 * math/w_powl.c: Likewise.
5917 * math/w_remainder.c: Likewise.
5918 * math/w_remainderf.c: Likewise.
5919 * math/w_remainderl.c: Likewise.
5920 * math/w_scalb.c: Likewise.
5921 * math/w_scalbf.c: Likewise.
5922 * math/w_scalbl.c: Likewise.
5923 * math/w_sinh.c: Likewise.
5924 * math/w_sinhf.c: Likewise.
5925 * math/w_sinhl.c: Likewise.
5926 * math/w_sqrt.c: Likewise.
5927 * math/w_sqrtf.c: Likewise.
5928 * math/w_sqrtl.c: Likewise.
5929 * math/w_tgamma.c: Likewise.
5930 * math/w_tgammaf.c: Likewise.
5931 * math/w_tgammal.c: Likewise.
5932
6a621eb7
UD
5933 * po/ja.po: Update from translation team.
5934
bf582445
AJ
59352011-09-29 Andreas Jaeger <aj@suse.de>
5936
f9efbf3a
AJ
5937 [BZ #13179]
5938 * sunrpc/netname.c (netname2host): Fix logic.
5939
bf582445
AJ
5940 [BZ #6779]
5941 [BZ #6783]
5942 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5943 correctly.
5944 * math/w_remainder.c (__remainder): Likewise.
5945 * math/w_remainderf.c (__remainderf): Likewise.
5946 * math/libm-test.inc (remainder_test): Add test cases.
5947
48693bea
AK
59482011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5949
5950 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5951 sdiv_qrnnd.
5952
42622229
LD
59532011-10-07 Ulrich Drepper <drepper@gmail.com>
5954
5955 * string/test-memcmp.c: Avoid unncessary #defines.
5956 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5957
093ecf92
LD
59582011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5959
5960 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5961 Use new sse2 version for core i3 - i7 as it's faster
5962 than sse42 version.
5963 (bit_Prefer_PMINUB_for_stringop): New.
5964 * sysdeps/x86_64/rawmemchr.S: Update.
5965 Replace with faster SSE2 version.
5966 * sysdeps/x86_64/memrchr.S: New file.
5967 * sysdeps/x86_64/memchr.S: Update.
5968 Replace with faster SSE2 version.
5969
fde56e5c
MP
59702011-09-12 Marek Polacek <mpolacek@redhat.com>
5971
5972 * elf/dl-load.c (lose): Add cast to avoid warning.
5973
21fd49a9
UD
59742011-10-07 Ulrich Drepper <drepper@gmail.com>
5975
5a06e643
UD
5976 * po/ca.po: Update from translation team.
5977
684ae515
UD
5978 * inet/getnetgrent_r.c: Hook up nscd.
5979 * nscd/Makefile (routines): Add nscd_netgroup.
5980 (nscd-modules): Add netgroupcache.
5981 (CFLAGS-netgroupcache.c): Define.
5982 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5983 (cache_search): Add const to second parameter.
5984 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5985 INNETGR.
5986 (dbs): Add netgrdb entry.
5987 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5988 (verify_persistent_db): Handle netgrdb.
5989 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5990 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5991 GETFDNETGR.
5992 (netgroup_response_header): Define.
5993 (innetgroup_response_header): Define.
5994 (datahead): Add netgroup_response_header and innetgroup_response_header
5995 elements.
5996 * nscd/nscd.conf: Add entries for netgroup cache.
5997 * nscd/nscd.h (dbtype): Add netgrdb.
5998 (_PATH_NSCD_NETGROUP_DB): Define.
5999 (netgroup_iov_disabled): Declare.
6000 (xmalloc, xcalloc, xrealloc): Move declarations here.
6001 (cache_search): Adjust prototype.
6002 Add netgroup-related prototypes.
6003 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6004 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6005 (__nscd_innetgr): Declare.
6006 * nscd/selinux.c (perms): Use access_vector_t as element type and
6007 add netgroup-related initializers.
6008 * nscd/netgroupcache.c: New file.
6009 * nscd/nscd_netgroup.c: New file.
6010 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6011 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6012 For four parameters use innetgr.
6013 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6014 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6015 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6016 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6017
21fd49a9
UD
6018 * nscd/connections.c (register_traced_file): Don't register file
6019 for disabled databases.
6020
054c0457
UD
60212011-10-06 Ulrich Drepper <drepper@gmail.com>
6022
32b63198
UD
6023 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6024
054c0457
UD
6025 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6026 from tree and freeing node.
6027
64031225
JO
60282011-09-25 Jiri Olsa <jolsa@redhat.com>
6029
6030 * nss/nsswitch.c (__nss_database_lookup): Handle
6031 nss_parse_service_list out of memory case.
6032
0490345c
JO
60332011-09-15 Jiri Olsa <jolsa@redhat.com>
6034
6035 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6036 out of memory case.
6037
3a62d00d
AS
60382011-10-04 Andreas Schwab <schwab@redhat.com>
6039
6040 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6041 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6042 pass it down.
6043 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6044 elf_machine_rela, elf_machine_lazy_rel.
6045 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6046 (ELF_DYNAMIC_DO_REL): Likewise.
6047 (ELF_DYNAMIC_DO_RELA): Likewise.
6048 (ELF_DYNAMIC_RELOCATE): Likewise.
6049 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6050 to ELF_DYNAMIC_DO_REL.
6051 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6052 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6053 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6054 elf_machine_rela.
6055 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6056 skip_ifunc, don't call ifunc function if non-zero.
6057 (elf_machine_rela): Likewise.
6058 (elf_machine_lazy_rel): Likewise.
6059 (elf_machine_lazy_rela): Likewise.
6060 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6061 (elf_machine_lazy_rel): Likewise.
6062 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6063 Likewise.
6064 (elf_machine_lazy_rel): Likewise.
6065 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6066 Likewise.
6067 (elf_machine_lazy_rel): Likewise.
6068 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6069 (elf_machine_lazy_rel): Likewise.
6070 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6071 (elf_machine_lazy_rel): Likewise.
6072 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6073 (elf_machine_lazy_rel): Likewise.
6074 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6075 (elf_machine_lazy_rel): Likewise.
6076 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6077 (elf_machine_lazy_rel): Likewise.
6078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6079 (elf_machine_lazy_rel): Likewise.
6080
68577918
UD
60812011-09-28 Ulrich Drepper <drepper@gmail.com>
6082
6083 * nss/nss_files/files-init.c (_nss_files_init): Use static
6084 initialization for all the *_traced_file variables.
6085
68822d74
AS
60862011-09-28 Andreas Schwab <schwab@redhat.com>
6087
6088 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6089
2056100b
RM
60902011-09-27 Roland McGrath <roland@hack.frob.com>
6091
6092 [BZ #13226]
6093 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6094
32c76b63
AS
60952011-09-27 Andreas Schwab <schwab@redhat.com>
6096
6097 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6098 Reread the line before reparsing it.
6099
bf972c9d
AS
61002011-09-26 Andreas Schwab <schwab@redhat.com>
6101
6102 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6103
e057a1b5
JM
61042011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6105 Maxim Kuvyrkov <maxim@codesourcery.com>
6106 Joseph Myers <joseph@codesourcery.com>
6107
6108 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6109 if needed for __stack_chk_guard.
6110
bc7e1c36
RM
61112011-09-19 Roland McGrath <roland@hack.frob.com>
6112
ecb1482f
RM
6113 * sysdeps/posix/spawni.c (script_execute): Always define it.
6114 It will be optimized away if unused.
6115 (maybe_script_execute): New function.
6116 (__spawni): Call it.
6117
bc7e1c36
RM
6118 * Makerules: Don't include tls.make.
6119 (config-tls): Always set to thread.
6120 * tls.make.c: File removed.
6121
1c3b002b
MF
61222011-09-19 Mike Frysinger <vapier@gentoo.org>
6123
6124 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6125 * config.make.in (CPPFLAGS-config): New substituted variable.
6126
2840865d
UD
61272011-09-15 Ulrich Drepper <drepper@gmail.com>
6128
88738eb6
UD
6129 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6130
cbf645a6 6131 [BZ #13192]
2840865d
UD
6132 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6133 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6134
b402e91a
RM
61352011-09-15 Roland McGrath <roland@hack.frob.com>
6136
6137 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6138 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6139 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6140 (CALL_FAIL): Likewise.
6141 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6142 (CALL_FAIL): Macro removed.
6143 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6144
4c1a1f71
UD
61452011-09-15 Ulrich Drepper <drepper@gmail.com>
6146
6147 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6148 for __FINITE_MATH_ONLY__ == 1.
6149
edc121be
AS
61502011-09-15 Andreas Schwab <schwab@redhat.com>
6151
6152 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6153 __ieee754_sqrt instead of sqrt.
6154 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6155 __ieee754_sqrtf instead of sqrtf.
6156 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6157 __floorf instead of floorf.
6158 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6159 __floorf, __truncf instead of floorf, truncf.
6160
cd205654
UD
61612011-09-14 Ulrich Drepper <drepper@gmail.com>
6162
ee4d0315
UD
6163 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6164
cd205654
UD
6165 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6166 __extern_always_inline.
6167 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6168 32-bit.
6169
48b67d71
AS
61702011-09-14 Andreas Schwab <schwab@redhat.com>
6171
6172 * elf/rtld.c (dl_main): Also relocate in dependency order when
6173 doing symbol dependency testing.
6174
1ae12c75
AS
61752011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6176
6177 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6178 Always define `refsym'.
6179
995a80df
AS
61802011-09-13 Andreas Schwab <schwab@redhat.com>
6181
e529793b
AS
6182 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6183 (__FD_ELT): Renamed from __FDELT.
6184 * misc/bits/select2.h (__FD_ELT): Likewise.
6185 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6186 __FD_MASK instead of __FDELT, __FDMASK.
6187 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6188 Likewise.
6189 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6190 Likewise.
6191
52d4fef8
AS
6192 * elf/Makefile (gen-ldd): Fix pattern.
6193
995a80df
AS
6194 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6195 (init_tls): Likewise.
6196
8682f8b0
UD
61972011-09-12 Ulrich Drepper <drepper@gmail.com>
6198
6199 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6200
de82006d
AS
62012011-09-12 Andreas Schwab <schwab@redhat.com>
6202
a7c8e6a1
AS
6203 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6204 `struct cmsghdr *' instead of `void *'.
6205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6206 Likewise.
6207
0f31fe77
AS
62082011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6209
6210 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6211 if non-absolute.
6212 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6213 ldd_rewrite_script.
0f31fe77 6214
32b4c839
UD
62152011-09-11 Ulrich Drepper <drepper@gmail.com>
6216
83cd1420
UD
6217 * configure.in: Remove --with-tls option.
6218 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6219 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6220 out in case it is missing.
6221 * sysdeps/ia64/elf/configure.in: Likewise.
6222 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6223 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6224 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6225 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6226 * sysdeps/sh/elf/configure.in: Likewise.
6227 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6228 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6229 * sysdeps/x86_64/elf/configure.in: Likewise.
6230 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6231 * sysdeps/mach/hurd/tls.h: Likewise.
6232
633f745d
UD
6233 [BZ #13067]
6234 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6235
f318beb8
UD
6236 [BZ #13090]
6237 * configure.in: Fix use of AC_INIT.
6238
32b4c839
UD
6239 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6240
3ce1f295
UD
62412011-09-10 Ulrich Drepper <drepper@gmail.com>
6242
bb016596
UD
6243 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6244 __set_errno.
8e58439c
UD
6245 * malloc/hooks.c: Likewise.
6246
aebae053 6247 [BZ #11929]
02d46fc4
UD
6248 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6249 variables statically.
6250 (narenas): Initialize.
6251 (list_lock): Initialize.
bb016596
UD
6252 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6253 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6254 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6255 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6256 Add initializers to main_arena and mp_.
6257 (malloc_state): Remove pagesize member. Change all users to use
6258 GLRO(dl_pagesize).
6259
6260 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6261 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6262 is always initialized.
6263
22a89187
UD
6264 * malloc/malloc.c: Removed unused configurations and dead code.
6265 * malloc/arena.c: Likewise.
6266 * malloc/hooks.c: Likewise.
02d46fc4 6267 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6268
d063d164
UD
6269 * include/tls.h: Removed. USE___THREAD must always be defined.
6270 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6271 * elf/dl-libc.c: Likewise.
6272 * elf/dl-tsd.c: Likewise.
6273 * include/errno.h: Likewise.
6274 * include/netdb.h: Likewise.
6275 * include/resolv.h: Likewise.
6276 * inet/herrno-loc.c: Likewise.
6277 * inet/herrno.c: Likewise.
6278 * malloc/arena.c: Likewise.
6279 * malloc/hooks.c: Likewise.
6280 * malloc/malloc.c: Likewise.
6281 * resolv/res-state.c: Likewise.
6282 * resolv/res_libc.c: Likewise.
6283 * sysdeps/i386/dl-machine.h: Likewise.
6284 * sysdeps/ia64/dl-machine.h: Likewise.
6285 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6286 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6287 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6288 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6289 * sysdeps/sh/dl-machine.h: Likewise.
6290 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6291 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6292 * sysdeps/unix/i386/sysdep.S: Likewise.
6293 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6294 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6295 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6296 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6298 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6299 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6300 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6301 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6303 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6304 * sysdeps/x86_64/dl-machine.h: Likewise.
6305 * tls.make.c: Likewise.
6306
3ce1f295
UD
6307 * configure.in: Remove --with-__thread option. Make tests for
6308 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6309 tls_model attribute fail if no support is available. Remove
6310 USE_IN_LIBIO.
6311 * Makeconfig: Adjust for dropped configure option. All features are
6312 now mandatory.
6313 * Makerules: Likewise.
6314 * Versions.def: Likewise.
6315 * argp/argp-fmtstream.c: Likewise.
6316 * argp/argp-fmtstream.h: Likewise.
6317 * argp/argp-help.c: Likewise.
6318 * assert/assert.c: Likewise.
6319 * config.h.in: Likewise.
6320 * config.make.in: Likewise.
6321 * configure: Likewise.
6322 * configure.in: Likewise.
6323 * csu/Versions: Likewise.
6324 * csu/init.c: Likewise.
6325 * elf/tst-audit2.c: Likewise.
6326 * elf/tst-tls10.c: Likewise.
6327 * elf/tst-tls10.h: Likewise.
6328 * elf/tst-tls11.c: Likewise.
6329 * elf/tst-tls12.c: Likewise.
6330 * elf/tst-tls14.c: Likewise.
6331 * elf/tst-tlsmod11.c: Likewise.
6332 * elf/tst-tlsmod12.c: Likewise.
6333 * elf/tst-tlsmod13.c: Likewise.
6334 * elf/tst-tlsmod13a.c: Likewise.
6335 * elf/tst-tlsmod14a.c: Likewise.
6336 * elf/tst-tlsmod15b.c: Likewise.
6337 * elf/tst-tlsmod16a.c: Likewise.
6338 * elf/tst-tlsmod16b.c: Likewise.
6339 * elf/tst-tlsmod7.c: Likewise.
6340 * elf/tst-tlsmod8.c: Likewise.
6341 * elf/tst-tlsmod9.c: Likewise.
6342 * gmon/gmon.c: Likewise.
6343 * grp/fgetgrent_r.c: Likewise.
6344 * grp/putgrent.c: Likewise.
6345 * hurd/fopenport.c: Likewise.
6346 * include/libc-symbols.h: Likewise.
6347 * include/tls.h: Likewise.
6348 * intl/gettextP.h: Likewise.
6349 * intl/loadinfo.h: Likewise.
6350 * locale/global-locale.c: Likewise.
6351 * locale/localeinfo.h: Likewise.
6352 * mach/devstream.c: Likewise.
6353 * malloc/arena.c: Likewise.
6354 * malloc/set-freeres.c: Likewise.
6355 * misc/err.c: Likewise.
6356 * misc/getttyent.c: Likewise.
6357 * misc/mntent_r.c: Likewise.
6358 * posix/getopt.c: Likewise.
6359 * posix/wordexp.c: Likewise.
6360 * pwd/fgetpwent_r.c: Likewise.
6361 * resolv/Versions: Likewise.
6362 * resolv/res_hconf.c: Likewise.
6363 * shadow/fgetspent_r.c: Likewise.
6364 * shadow/putspent.c: Likewise.
6365 * stdio-common/printf_fphex.c: Likewise.
6366 * stdio-common/tmpfile.c: Likewise.
6367 * stdlib/abort.c: Likewise.
6368 * stdlib/fmtmsg.c: Likewise.
6369 * sunrpc/auth_unix.c: Likewise.
6370 * sunrpc/clnt_perr.c: Likewise.
6371 * sunrpc/clnt_tcp.c: Likewise.
6372 * sunrpc/clnt_udp.c: Likewise.
6373 * sunrpc/clnt_unix.c: Likewise.
6374 * sunrpc/openchild.c: Likewise.
6375 * sunrpc/svc_simple.c: Likewise.
6376 * sunrpc/svc_tcp.c: Likewise.
6377 * sunrpc/svc_udp.c: Likewise.
6378 * sunrpc/svc_unix.c: Likewise.
6379 * sunrpc/xdr.c: Likewise.
6380 * sunrpc/xdr_array.c: Likewise.
6381 * sunrpc/xdr_rec.c: Likewise.
6382 * sunrpc/xdr_ref.c: Likewise.
6383 * sunrpc/xdr_stdio.c: Likewise.
6384
1248c1c4
PB
63852011-09-09 Ulrich Drepper <drepper@gmail.com>
6386
6387 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6388
63892011-07-03 Andreas Jaeger <aj@suse.de>
6390
6391 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6392 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6393 regenerate with gen-libm-tests.pl.
6394
63952010-05-12 Petr Baudis <pasky@suse.cz>
6396
6397 [BZ #11589]
6398 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6399 around j0() zero points by switching to j1().
6400 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6401 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6404
f22e1074
UD
64052011-09-09 Ulrich Drepper <drepper@gmail.com>
6406
f19009c1
UD
6407 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6408 instead of 0.
6409 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6410 instead of 0. .
6411 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6412 Patch in part by Pavel Roskin <proski@gnu.org>.
6413
3f8cc204
UD
6414 [BZ #13138]
6415 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6416 realloc.
6417 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6418 Free memory block if necessary.
6419
f22e1074
UD
6420 [BZ #12847]
6421 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6422 be NULL. Don't lock in this case.
6423
0a2349f9
RM
64242011-09-09 Roland McGrath <roland@hack.frob.com>
6425
6426 * elf/elf.h (ELFOSABI_GNU): New macro.
6427 (ELFOSABI_LINUX): Define to that.
6428
f3cdd467
DZ
64292011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6430
6431 * string/strncat.c (strncat): Undef the symbol in case it has been
6432 defined in bits/string.h.
6433
74718d13
UD
64342011-09-09 Ulrich Drepper <drepper@gmail.com>
6435
633e9e0f
UD
6436 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6437
0a2349f9 6438 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6439 link map.
6440
f9924780
AJ
64412011-08-17 Andreas Jaeger <aj@suse.de>
6442
6443 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6444
7f5517aa
PP
64452011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6446 Ian Lance Taylor <iant@google.com>
6447
6448 * math/libm-test.inc (lround_test): New testcase.
6449 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6450
762011fe
UD
64512011-09-08 Ulrich Drepper <drepper@gmail.com>
6452
92963737
UD
6453 * Makefile: Remove support for automatic cvs check-ins.
6454 * Makerules: Likewise.
6455 * config.make.in: Likewise.
6456 * configure.in: Likewise.
6457 * intl/Makefile: Likewise.
6458 * locale/Makefile: Likewise.
6459 * po/Makefile: Likewise.
6460 * posix/Makefile: Likewise.
6461 * sysdeps/gnu/Makefile: Likewise.
6462 * sysdeps/mach/hurd/Makefile: Likewise.
6463 * sysdeps/sparc/sparc32/Makefile: Likewise.
6464
b0727fd8
JS
6465 [BZ #13118]
6466 * posix/Makefile (bug-regex32-ENV): Define.
6467 Patch by John Stanley <jpsinthemix@verizon.net>.
6468
a0f33f99
UD
6469 * misc/Makefile (headers): Add bits/select2.h.
6470 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6471 * misc/bits/select2.h: New file.
6472 * include/bits/select2.h: New file.
6473 * debug/Makefile (routines): Add fdelt_chk.
6474 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6475 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6476 FD_ISSET.
6477 * debug/fdelt_chk.c: New file.
6478
762011fe
UD
6479 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6480 * wcsmbs/test-wmemcmp.c: Likewise.
6481 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6482 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6483
64842011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6485
6486 * string/Makefile (strop-tests): Add memcmp.
6487 * string/test-wmemcmp.c: New file.
6488 * string/test-memcmp.c: Add wmemcmp support.
6489
7f513ec8
RM
64902011-09-08 Roland McGrath <roland@hack.frob.com>
6491
0442afb4
RM
6492 [BZ #13153]
6493 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6494 2011-07-19 change.
6495
7f513ec8
RM
6496 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6497 garbage value in a __mach_port_mod_refs call in the cases of the
6498 task-self and thread-self ports.
6499
a12b2239
ST
65002011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6501
6502 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6503
610f9ab4
AS
65042011-09-08 Andreas Schwab <schwab@redhat.com>
6505
7f513ec8 6506 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6507
48882a1a
LD
65082011-09-07 Ulrich Drepper <drepper@gmail.com>
6509
b49865be
UD
6510 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6511
fdc86bc9
UD
6512 * elf/dl-libc.c (dlerror_run): Pass back error code from
6513 dl_catch_error.
6514
c966526a
UD
6515 [BZ #13123]
6516 * elf/dl-load.c (lose): Free l_origin if it is valid.
6517
48882a1a
LD
6518 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6519 names.
6520 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6521 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6522 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6523 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6524 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6525 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6526
77a2a8b4
AZ
65272011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6528
6529 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6530 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6531 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6532 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6533 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6534 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6535 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6536 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6537 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6538 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6539
24f579d8
AM
65402011-08-15 Alan Modra <amodra@gmail.com>
6541
6542 [BZ #13092]
6543 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6544 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6545 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6546 ppc_mcount to static-only-routines.
6547 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6548 __mcount_internal.
6549 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6550 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6551
3d4837df
UD
65522011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6553
6554 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6555 for finite and infinity parameters.
6556
22700377
WS
65572011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6558
6559 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6560 and add nop instructions for throughput optimization.
6561 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6562
5025581e
WS
65632011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6564
6565 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6566 aligned copy for power7 with vector-scalar instructions.
6567 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6568
08a300c9
L
65692011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6570
6571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6572 AVX check.
6573
59178ef9
AS
65742011-09-07 Andreas Schwab <schwab@redhat.com>
6575
6576 [BZ #13144]
6577 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6578 last change.
6579
e38ba7ab
UD
65802011-09-07 Ulrich Drepper <drepper@gmail.com>
6581
6582 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6583 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6584 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6585 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6586 clock_gettime.
6587
d53a73ac
UD
65882011-09-06 Ulrich Drepper <drepper@gmail.com>
6589
fc8bffcc
UD
6590 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6591 Forgot to demangle the pointer.
6592
ceaa0c5d
UD
6593 * sysdeps/i386/sysdep.h: Define atom_text_section.
6594 * sysdeps/x86_64/sysdep.h: Likewise.
6595 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6596 section with atom_text_section.
6597 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6598 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6599 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6600 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6601 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6602
a77d3c17
UD
6603 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6604 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6605 already be defined. Change to take two parameters and don't assign
6606 result to variable. Adjust all users.
6607 Define INTERNAL_GETTIME if not already defined.
6608 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6609 call.
6610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6611 HAVE_CLOCK_GETTIME_VSYSCALL.
6612 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6613
d53a73ac
UD
6614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6615 gettimeofday vsyscall, just use time.
6616
a8f84144
AS
66172011-09-06 Andreas Schwab <schwab@redhat.com>
6618
6619 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6620 <errno.h>.
6621
ef606249
UD
66222011-09-06 Ulrich Drepper <drepper@gmail.com>
6623
6624 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6625 syscall on x86-64.
6626 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6627 syscall.
6628 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6629 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6630 syscall if possible.
6631
6585cb60
UD
66322011-09-05 Ulrich Drepper <drepper@gmail.com>
6633
6634 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6635 e_ident. Don't pass to find_mapsXX.
6636 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6637
a5f524e4
LD
66382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6639
6640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6641 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6642 * sysdeps/x86_64/multiarch/strchr.S: Update.
6643 Check bit_slow_BSF bit.
6644 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6645 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6646 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6647
554881ef
UD
66482011-09-05 Ulrich Drepper <drepper@gmail.com>
6649
d96de963
UD
6650 [BZ #13134]
6651 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6652 before glibc 2.15.
6653 (tryshell): Define.
6654 (__spawni): Change last parameter to be flag. Test
6655 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6656 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6657 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6658 * posix/spawni.c: Likewise.
6659 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6660 * posix/spawnp.c: Likewise. Change normal version to use
6661 SPAWN_XFLAGS_USE_PATH.
6662 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6663 SPAWN_XFLAGS_TRY_SHELL.
6664
d48e5868
UD
6665 [BZ #13150]
6666 * posix/glob.h: Remove gcc 1.x support.
6667
554881ef
UD
6668 [BZ #13068]
6669 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6670
693fb948
LD
66712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6672
6673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6674 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6675 strrchr-sse2-bsf
6676 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6677 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6678 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6679 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6680 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6681 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6682
1b48c537
UD
66832011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6684
49d42c37
UD
6685 * sysdeps/x86_64/wcscmp.S: New file.
6686
1b48c537
UD
6687 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6688 wcscmp-c wcscmp-sse2
6689 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6690 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6691 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6692 * wcsmbs/wcscmp.c: Allow renaming.
6693
15c95c5d
DM
66942011-09-05 David S. Miller <davem@davemloft.net>
6695
6696 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6697 stack slot, rather than the struct return pointer slot.
6698 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6699 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6701 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6702
2f0ad8f3
UD
67032011-09-05 Ulrich Drepper <drepper@gmail.com>
6704
d88ae418
UD
6705 * po/ja.po: Update from translation team.
6706
2f0ad8f3
UD
6707 [BZ #13144]
6708 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6709 kernel in 64-bit binaries.
6710
5f4318d1
DM
67112011-09-01 David S. Miller <davem@davemloft.net>
6712
6713 * elf/elf.h (HWCAP_SPARC_*): Move to..
6714 * sysdeps/sparc/sysdep.h: this new file and add new values.
6715 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6716 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6717 _DL_HWCAP_COUNT to 24.
6718 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6719 entries.
6720 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6721 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6722 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6724 instead of magic constants.
6725 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6726
3ba57516
DM
67272011-08-31 David S. Miller <davem@davemloft.net>
6728
6729 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6730 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6731 Reimplement to do errno handling inline.
6732 (SYSCALL_ERROR_HANDLER): New macro.
6733 (__SYSCALL_STRING): Do not do errno handling in asm.
6734 (__CLONE_SYSCALL_STRING): Delete.
6735 (__INTERNAL_SYSCALL_STRING): Delete.
6736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6737 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6738 (PSEUDO): Reimplement to do errno handling inline.
6739 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6740 (SYSCALL_ERROR_HANDLER): New macro.
6741 (__SYSCALL_STRING): Do not do errno handling in asm.
6742 (__CLONE_SYSCALL_STRING): Delete.
6743 (__INTERNAL_SYSCALL_STRING): Delete.
6744 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6745 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6746 i386.
6747 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6748 (inline_syscall*): Add 'err' argument.
6749 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6750 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6751 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6752 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6753
6754 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6755 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6756
2bc17433
AS
67572011-08-30 Andreas Schwab <schwab@redhat.com>
6758
6759 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6760
fbeb5f4d
JO
67612011-08-29 Jiri Olsa <jolsa@redhat.com>
6762
6763 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6764 directive.
6765
ad69cc26
DM
67662011-08-24 David S. Miller <davem@davemloft.net>
6767
6768 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6769
39dd69df
AS
67702011-08-24 Andreas Schwab <schwab@redhat.com>
6771
6772 * elf/Makefile: Add rules to build and run unload8 test.
6773 * elf/unload8.c: New file.
6774 * elf/unload8mod1.c: New file.
6775 * elf/unload8mod1x.c: New file.
6776 * elf/unload8mod2.c: New file.
6777 * elf/unload8mod3.c: New file.
6778
6779 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6780 it wasn't used.
6781
2c0b250a
DM
67822011-08-23 David S. Miller <davem@davemloft.net>
6783
6784 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6785 subtract stack bias.
6786 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6787 %sp not %fp in calculations.
6788 (_JMPBUF_UNWINDS_ADJ): Likewise.
6789
22044b48
DM
6790 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6791 (aio_suspend): Call it to force an exception region around the
6792 AIO_MISC_WAIT() invocation.
6793
2cae4995
AS
67942011-08-23 Andreas Schwab <schwab@redhat.com>
6795
6796 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6797 backslash.
6798
873a772e
AJ
67992011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6800
6801 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6802 protection macro.
6803 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6804 and <dl-machine.h>.
6805 (Elf64_FuncDesc): Remove.
6806
25ad0df1
DM
68072011-08-22 David S. Miller <davem@davemloft.net>
6808
6809 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6810 sigaltstack check, add missing cfi directives.
6811 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6812 missing cfi directives, and sigaltstack handling.
6813
e888bcbe
AS
68142011-08-16 Andreas Schwab <schwab@redhat.com>
6815
6816 [BZ #11724]
6817 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6818 object is seen twice.
6819 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6820
6821 * elf/Makefile (distribute): Add tst-initorder2.c.
6822 (tests): Add tst-initorder2.
6823 (modules-names): Add tst-initorder2a tst-initorder2b
6824 tst-initorder2c tst-initorder2d. Add rules to build them.
6825 ($(objpfx)tst-initorder2.out): New rule.
6826 * elf/tst-initorder2.c: New file.
6827 * elf/tst-initorder2.exp: New file.
6828
87162f46
AS
68292011-08-22 Andreas Schwab <schwab@redhat.com>
6830
70538b7f
AS
6831 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6832
f55ffe58
AS
6833 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6834 dependencies back to end of function.
6835
87162f46
AS
6836 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6837 $(elfobjdir)/ld.so.
6838
91b392a4
UD
68392011-08-21 Ulrich Drepper <drepper@gmail.com>
6840
6841 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6842 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6844 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6845 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6846 of __vdso_gettimeofday.
6847 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6848 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6849 attribute_hidden.
6850 (_libc_vdso_platform_setup): Remove initialization of
6851 __vdso_gettimeofday and __vdso_time.
6852
5c43483f
UD
68532011-08-20 Ulrich Drepper <drepper@gmail.com>
6854
775a77e7
UD
6855 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6856 and fgetc_unlocked.
6857 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6858 getc_unlocked.
89f447ed 6859
49c74ba9
UD
6860 * elf/dl-open.c (add_to_global): Report additions to the global scope
6861 for LD_DEBUG=scopes.
6862 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6863 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6864
5c43483f
UD
6865 [BZ #13114]
6866 * stdio-common/Makefile (tests): Add bug24.
6867 * stdio-common/bug24.c: New file.
6868
a101b025
AJ
68692011-08-19 Andreas Jaeger <aj@suse.de>
6870
6871 [BZ #13114]
6872 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6873 non-existant file when using close-on-exec mode.
6874
c88f1766
UD
68752011-08-20 Ulrich Drepper <drepper@gmail.com>
6876
0276a718
UD
6877 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6878 the very first instruction.
6879
c88f1766
UD
6880 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6881 the CFI state in the end.
6882 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6883 inclusion of dl-trampoline.h.
6884 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6885
51ccffa0
AS
68862011-08-19 Andreas Schwab <schwab@redhat.com>
6887
94d7165f
AS
6888 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6889 expectations for long double.
6890
51ccffa0
AS
6891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6892 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6893
fd708658 68942011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
6895
6896 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6897 artificual limit depends upon the system page size.
6898
44f0a71e
UD
68992011-08-17 Ulrich Drepper <drepper@gmail.com>
6900
6901 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6902 * resolv/Makefile: Define CFLAGS-libresolv.
6903
8de79a24
AS
69042011-08-17 Andreas Schwab <schwab@redhat.com>
6905
6906 * nss/makedb.c (compute_tables): Make variables used in nested
6907 function static.
6908
27724598
UD
69092011-08-17 Ulrich Drepper <drepper@gmail.com>
6910
c5305d88
UD
6911 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6912 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6913 if buffer was too small.
6914
27724598
UD
6915 * elf/pldd.c (main): Attach to all threads in the process.
6916 Rewrite /proc handling to use *at functions.
6917
076fe015
UD
69182011-08-16 Ulrich Drepper <drepper@gmail.com>
6919
174baab3
UD
6920 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6921 specifies first scope to show.
6922 (dl_open_worker): Update callers. Move printing scope of new
6923 object to before the relocation.
44f0a71e 6924 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
6925 * sysdeps/generic/ldsodefs.h: Update declaration.
6926
076fe015
UD
6927 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6928 string for the scope number.
6929
a60df2c3
UD
69302011-08-14 Ulrich Drepper <drepper@gmail.com>
6931
6932 * nscd/servicescache.c (cache_addserv): Make sure written is always
6933 initialized.
6934
5e4287d1
RM
69352011-08-14 Roland McGrath <roland@hack.frob.com>
6936
85ae0589
RM
6937 * sysdeps/i386/i486/bits/atomic.h
6938 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6939 statement expression, so as to suppress "set but not used" warning.
6940 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6941
69f63097
RM
6942 * string/strncat.c (STRNCAT): Use prototype definition.
6943
675456ef
RM
6944 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6945 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6946 -Iprograms here.
6947 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6948 (localedef-modules): Add localedef.
6949 (locale-modules): Add locale.
6950
5e4287d1
RM
6951 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6952 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6953 to avoid a warning.
6954
9c96ff23
DM
69552011-08-14 David S. Miller <davem@davemloft.net>
6956
6957 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6958 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6959
f9ddf089
UD
69602011-08-13 Ulrich Drepper <drepper@gmail.com>
6961
44f0a71e 6962 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
6963 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6964 * elf/rtld.c (dl_main): Set l_name of vDSO.
6965 Call _dl_show_scope when DL_DEBUG_SCOPES.
6966 (process_dl_debug): Recognize scopes flag and also set it for all.
6967 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6968 Declare _dl_show_scope.
6969
1dc27704
UD
6970 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6971 (do_dlopen): Pass caller_dlopen to dl_open.
6972 (__libc_dlopen_mode): Initialize caller_dlopen.
6973
f9ddf089
UD
6974 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6975 of libc. Make tolower call locale-independent. Optimize a bit by
6976 using isdigit instead of isalnum.
6977 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6978
9ac533d3
UD
69792011-08-12 Ulrich Drepper <drepper@gmail.com>
6980
6981 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6982 was a dependency or dynamically loaded.
6983
89edf2e9
UD
69842011-08-11 Ulrich Drepper <drepper@gmail.com>
6985
8e999d29
UD
6986 * intl/l10nflist.c: Allow architecture-specific pop function.
6987 * sysdeps/x86_64/l10nflist.c: New file.
6988
89edf2e9
UD
6989 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6990 classification.
6991
14d96785
AS
69922011-08-10 Andreas Schwab <schwab@redhat.com>
6993
6994 * include/dirent.h: Add libc_hidden_proto for scandirat and
6995 scandirat64. Don't declare __scandirat64.
6996 * dirent/scandirat.c: Add libc_hidden_def.
6997 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6998 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6999
6761ac04
DM
70002011-08-10 David S. Miller <davem@davemloft.net>
7001
7002 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7003 enum.
7004 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7005 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7006 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7007
c55fbd1e
UD
70082011-08-09 Ulrich Drepper <drepper@gmail.com>
7009
7010 * Versions.def [libc]: Add GLIBC_2.15.
7011 * dirent/Makefile (routines): Add scandirat and scandirat64.
7012 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7013 GLIBC_2.15.
7014 * dirent/dirent.h: Declare scandirat and scandirat64.
7015 * dirent/scandirat.c: New file.
7016 * dirent/scandirat64.c: New file.
7017 * sysdeps/wordsize-64/scandirat.c: New file.
7018 * sysdeps/wordsize-64/scandirat64.c: New file.
7019 * dirent/opendir.c: Define opendirat.
7020 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7021 using scandirat.
7022 * dirent/scandir64.c: Adjust for scandir.c change.
7023 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7024 __scandirat64, and __scandir_cancel_handler.
7025 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7026 additional parameter and use openat instead of open (outside of ld.so).
7027 Add new __opendir as wrapper around __opendirat.
7028 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7029 here without requiring old scandirat implementation.
7030
879165f2
UD
70312011-08-08 Ulrich Drepper <drepper@gmail.com>
7032
7033 * dirent/scandir.c (cancel_handler): Renamed to
7034 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7035 defined. Adjust users.
7036 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7037 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7038
cb7e923b
UD
70392011-08-04 Ulrich Drepper <drepper@gmail.com>
7040
16292edd
UD
7041 * string/test-string.h (IMPL): Use __STRING to expand name and then
7042 stringify it.
7043
cb7e923b
UD
7044 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7045 of cleanups.
7046
cff82933
LD
70472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7048
7049 * string/Makefile: Update.
7050 (strop-tests): Append strncat.
7051 * string/test-wcscmp.c: New file.
7052 New comprehensive test for wcscmp.
7053 * string/test-strcmp.c: Update.
7054 (WIDE): New define.
7055
9be9bfcc
AS
70562011-07-22 Andreas Schwab <schwab@redhat.com>
7057
7058 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7059 line.
7060
2e96f1c7
AS
70612011-07-26 Andreas Schwab <schwab@redhat.com>
7062
7063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7064 encoding to ACE if AI_IDN.
7065
85188888
JJ
70662011-08-01 Jakub Jelinek <jakub@redhat.com>
7067
7068 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7069 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7070
5fa16e9b
LD
70712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7072
7073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7074 Fix overflow bug in strncat.
7075 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7076
7077 * string/test-strncat.c: Update.
7078 Add new tests for checking overflow bugs.
7079
70802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7081
7082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7083 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7084 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7085 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7086 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7087 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7088 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7089 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7090 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7091
7092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7093 (USE_AS_STRCAT): Define.
7094 Add strcat and strncat support.
7095 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7096
8c1a459f
AS
70972011-07-25 Andreas Schwab <schwab@redhat.com>
7098
7099 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7100 __n bigger than INT_MAX+1.
7101 (__strncmp_g): Likewise.
7102
bba33c28
UD
71032011-07-23 Ulrich Drepper <drepper@gmail.com>
7104
798be72d
UD
7105 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7106 * libio/stido.h: Likewise.
7107
8accd4dc
UD
7108 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7109 (AF_NFC): Define.
7110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7111 (AF_NFC): Define.
7112
cbff0d96
UD
7113 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7114 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7115 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7116 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7117 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7118
9191c04a
UD
7119 [BZ #13021]
7120 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7121 installed.
7122
bba33c28
UD
7123 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7124 typo.
7125 (_dl_x86_64_save_sse): Likewise.
7126
90f139dd
UD
71272011-07-22 Ulrich Drepper <drepper@gmail.com>
7128
1aae088a
UD
7129 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7130 OSXSAVE.
7131 (_dl_x86_64_save_sse): Likewise.
7132
8e2045f5
UD
7133 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7134
90f139dd
UD
7135 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7136
1d002f25
AS
71372011-07-21 Andreas Schwab <schwab@redhat.com>
7138
7139 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7140 change.
7141 (_dl_x86_64_save_sse): Use correct AVX check.
7142
21137f89
UD
71432011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7144
7145 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7146 bug in strncpy/strncat.
7147 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7148
a65c0b7a
UD
71492011-07-21 Ulrich Drepper <drepper@gmail.com>
7150
7151 * string/tester.c (test_strcat): Add tests for different alignments
7152 of source and destination.
7153 (test_strncat): Likewise.
7154
6986b98a
UD
71552011-07-20 Ulrich Drepper <drepper@gmail.com>
7156
90bb2039
UD
7157 [BZ #12852]
7158 * posix/glob.c (glob): Check passed in values before using them in
7159 expressions to avoid some overflows.
7160 (glob_in_dir): Likewise.
7161
5644ef54
UD
7162 [BZ #13007]
7163 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7164 check for AVX enablement so that we don't crash with old kernels and
7165 new hardware.
7166 * elf/tst-audit4.c: Add same checks here.
7167 * elf/tst-audit6.c: Likewise.
7168
7169 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7170
bfc9dc9b
AS
71712011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7172
7173 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7174
702e64bb
UD
71752011-07-20 Ulrich Drepper <drepper@gmail.com>
7176
7177 * po/cs.po: Update from translation team.
7178 * po/bg.po: Likewise.
7179
295e904f
MP
71802011-07-12 Marek Polacek <mpolacek@redhat.com>
7181
7182 * misc/sys/cdefs.h: Add support for const attribute.
7183 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7184 to gnu_dev_{major,minor,makedev} functions.
7185
3ff94596
MP
71862011-07-20 Marek Polacek <mpolacek@redhat.com>
7187
7188 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7189
28b59fca
AS
71902011-07-20 Andreas Schwab <schwab@redhat.com>
7191
7192 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7193 strlen results.
7194
19df733e
AK
71952011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7196
7197 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7198 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7199 register in order to avoid conflicts with the soft frame pointer
7200 being held in r11 when necessary.
7201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7202 (INTERNAL_VSYSCALL_NCS): Likewise.
7203
c8835729
MP
72042011-07-14 Marek Polacek <mpolacek@redhat.com>
7205
7206 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7207 * elf/dl-fini.c (_dl_fini): Adjust caller.
7208 * elf/dl-close.c (_dl_close_worker): Likewise.
7209 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7210
b902330c
MP
72112011-07-15 Marek Polacek <mpolacek@redhat.com>
7212
8991e135
MP
7213 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7214 "aux_cache->nlibs < 0".
7215
b902330c
MP
7216 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7217 in the reload-count case.
7218
99710781
LD
72192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7220
7221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7222 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7223 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7224 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7225 * sysdeps/x86_64/multiarch/strcat.S: New file.
7226 * sysdeps/x86_64/multiarch/strncat.S: New file.
7227 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7228 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7229 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7230 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7231 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7232 (USE_AS_STRCAT): Define.
7233 Add strcat and strncat support.
7234 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7235 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7236 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7237 * string/strncat.c: Update.
7238 (USE_AS_STRNCAT): Define.
7239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7240 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7241 and i7.
7242 * sysdeps/x86_64/multiarch/init-arch.h
7243 (bit_Prefer_PMINUB_for_stringop): New.
7244 (index_Prefer_PMINUB_for_stringop): Likewise.
7245 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7246 bit_Prefer_PMINUB_for_stringop.
7247
7dc6bd90
UD
72482011-07-19 Ulrich Drepper <drepper@gmail.com>
7249
7250 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7251 buffer64.
7252 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7253 of casting of buffer.
7254 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7255 buffer32 and buffer64.
7256 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7257 writes instead of casting of buffer.
7258 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7259 buffer32.
7260 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7261 casting of buffer.
7262
e0e72284
AS
72632011-07-19 Andreas Schwab <schwab@redhat.com>
7264
7265 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7266
feb1eb0b
UD
72672011-07-19 Ulrich Drepper <drepper@gmail.com>
7268
7269 * nscd/nscd.c (termination_handler): Don't do anything for a database
7270 if it has not yet been initialized.
7271
298711ff
UD
72722011-07-18 Ulrich Drepper <drepper@gmail.com>
7273
7274 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7275
72762011-07-15 Marek Polacek <mpolacek@redhat.com>
7277
7278 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7279
f9d68389
UD
72802011-07-18 Ulrich Drepper <drepper@gmail.com>
7281
7282 * po/nl.po: Update from translation team.
7283 * po/sv.po: Likewise.
7284
db290cf5
RM
72852011-07-16 Roland McGrath <roland@hack.frob.com>
7286
7287 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7288 now disallowed by GCC.
5c550700 7289
fd5e21c7
RM
7290 * configure.in (use-default-link): Default to yes if a test -shared
7291 link meets our qualifications.
7292 * configure: Regenerated.
7293
5c550700
RM
7294 * config.make.in (output-format): New variable.
7295 * configure.in: Check for ld --print-output-format support.
7296 * configure: Regenerated.
7297 * Makerules ($(common-objpfx)format.lds)
7298 [$(output-format) != unknown]: Just use $(output-format),
7299 instead of the linker-script munging.
7300
9fa2c032
RM
73012011-07-14 Roland McGrath <roland@hack.frob.com>
7302
a6928d51
RM
7303 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7304 of $(common-objpfx)shlib.lds.
7305 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7306
661607b3
RM
7307 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7308 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7309
9fa2c032
RM
7310 * configure.in (-z relro check): Adjust test code to add a large
7311 writable data section after it.
7312 * configure: Regenerated.
7313
defe9061
RM
73142011-07-11 Roland McGrath <roland@hack.frob.com>
7315
7316 * configure.in (-z relro check): Fix test code to make the variable
7317 truly const.
7318 * configure: Regenerated.
7319
319b9ad4
UD
73202011-07-11 Ulrich Drepper <drepper@gmail.com>
7321
7322 * nscd/nscd.h (struct traced_file): Define.
7323 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7324 elements. Add traced_files.
7325 (inotify_fd): Declare.
7326 (register_traced_file): Declare.
7327 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7328 (inotify_fd): Export.
7329 (resolv_conf_descr): Remove.
7330 (nscd_init): Move inotify descriptor creation to main.
7331 Don't register files for notification here.
7332 (register_traced_file): New function.
7333 (invalidate_cache): Don't use reset_res to determine whether to call
7334 res_init, go through the list of registered files.
7335 (main_loop_poll): The inotify descriptors are now stored in the
7336 structures for the traced files.
7337 (main_loop_epoll): Likewise
7338 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7339 to __nss_disable_nscd.
7340 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7341 for a database anymore. Check the records for all the registered
7342 files instead.
7343 * nss/Makefile (libnss_files-routines): Add files-init.
7344 (libnss_db-routines): Add db-init.
7345 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7346 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7347 * nss/nss_db/db-init.c: New file.
7348 * nss/nss_files/files-init.c: New file.
7349 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7350 __nss_lookup_function.
7351 (__nss_lookup_function): Call nss_load_library.
7352 (nss_load_all_libraries): New function.
7353 (__nss_disable_nscd): Take parameter with callback function for files
7354 to register. Set is_nscd. Load all the DSOs for the NSS modules
7355 used for the cached services.
7356 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7357 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7358 options for features to all the files in nscd.
7359
7360 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7361
23bee3e8
RM
73622011-07-10 Roland McGrath <roland@hack.frob.com>
7363
7364 * csu/elf-init.c (__libc_csu_init): Comment typo.
7365
46a5b7f0
UD
73662011-07-09 Ulrich Drepper <drepper@gmail.com>
7367
7368 * po/pl.po: Update from translation team.
7369 * po/ja.po: Likewise.
7370 * po/ru.po: Likewise.
7371 * po/ko.po: Likewise.
7372 * po/fr.po: Likewise.
7373
d30cf5bb
RM
73742011-07-09 Roland McGrath <roland@hack.frob.com>
7375
113ddea4
RM
7376 * configure.in (.ctors/.dtors header and trailer check):
7377 Use an empirical test on a built program.
7378 * configure: Regenerated.
7379
574920b4
RM
7380 * configure.in (-z relro check): Use an empirical test on a built DSO.
7381 Detect, but do not require, on ia64.
7382 * configure: Regenerated.
7383
d30cf5bb
RM
7384 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7385 Update tests that use readelf to use $READELF instead.
7386 * configure: Regenerated.
7387
8538fdb3
UD
73882011-07-08 Ulrich Drepper <drepper@gmail.com>
7389
7390 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7391 if the result is not used.
7392
04d08991
AJ
73932011-07-05 Andreas Jaeger <aj@suse.de>
7394
7395 [BZ#9696]
7396 * stdlib/tst-strtod.c: Add testcase.
7397
de283087
AD
73982011-07-07 Ulrich Drepper <drepper@gmail.com>
7399
4e5f31c8 7400 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7401 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7402 The latter has a higher limit. Take additional parameter to pass to
7403 the new function.
7404 (__pathconf): Pass file to __statfs_link_max.
7405 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7406 __statfs_link_max.
7407 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7408 __statfs_link_max.
7409
de283087
AD
7410 [BZ #12868]
7411 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7412 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7413 Handle Lustre.
7414 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7415 (__statfs_filesize_max): Likewise.
7416 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7417
c75fa153
AJ
74182011-07-05 Andreas Jaeger <aj@suse.de>
7419
7420 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7421
1a544854
UD
74222011-07-06 Marek Polacek <mpolacek@redhat.com>
7423
7424 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7425 `status' variable.
7426 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7427 Likewise.
7428
6f0eec67
UD
74292011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7430
7431 * Makefile (strop-tests): Add strncat.
7432 * string/test-strncat.c: New file.
7433
aae30307
UD
74342011-06-30 Marek Polacek <mpolacek@redhat.com>
7435
7436 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7437
c0cfb5eb
UD
74382011-06-21 Andreas Jaeger <aj@suse.de>
7439
7440 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7441 Copy rule from iconvdata/Makefile.
7442
01636b21
UD
74432011-07-06 Ulrich Drepper <drepper@gmail.com>
7444
7445 [BZ #12922]
7446 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7447 but no long options are defined, just return 'W'.
7448
9895c8bc
UD
74492011-06-22 Marek Polacek <mpolacek@redhat.com>
7450
7451 [BZ #9696]
7452 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7453
5d4cf042
UD
74542011-07-06 Ulrich Drepper <drepper@gmail.com>
7455
7456 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7457 netgroups to read.
960e5535 7458 (innetgr): Likewise.
5d4cf042 7459
751eb97e
RM
74602011-07-05 Roland McGrath <roland@hack.frob.com>
7461
7462 * config.make.in (install_root): Default to $(DESTDIR).
7463
f15f1e45
UD
74642011-07-05 Ulrich Drepper <drepper@gmail.com>
7465
7466 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7467
4e34ac6a
RM
74682011-07-02 Roland McGrath <roland@hack.frob.com>
7469
5e9b6af4
RM
7470 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7471
84f9ea0f
RM
7472 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7473 containing directory rather than embedding absolute directory names.
7474
ea5ee9f7
RM
7475 * scripts/check-local-headers.sh: Rewritten using awk.
7476 Match by word, not by line. Print error messages for matches.
7477 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7478
1b74661a
RM
7479 * Makerules [shlib-lds-flags empty]:
7480 ($(common-objpfx)libc_pic.opts): New target.
7481 ($(common-objpfx)libc_pic.os.clean): New target.
7482 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7483
7484 * config.make.in (OBJCOPY): New variable.
7485 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7486 * configure: Regenerated.
7487
f781ef40
RM
7488 * config.make.in (use-default-link): New variable.
7489 * configure.in (use_default_link): Grok --with-default-link to set it.
7490 * configure: Regenerated.
7491 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7492 (shlib-lds, shlib-lds-flags): Define to empty.
7493
2d4fa81e
RM
7494 * Makerules (shlib-lds): New variable.
7495 (shlib-lds-flags): New variable.
7496 (build-shlib, build-moduile, build-module-asneeded): Use it.
7497 ($(common-objpfx)libc.so): Use $(shlib-lds).
7498 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7499 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7500
31fffa6b
RM
7501 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7502 DT_FLAGS/DT_FLAGS_1 with zero flags.
7503
4e34ac6a
RM
7504 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7505 linker script munging.
7506
fcfc776b
UD
75072011-07-02 Ulrich Drepper <drepper@gmail.com>
7508
7509 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7510 as 128-bit value.
7511 * crypt/sha512.c (sha512_process_block): Perform total addition using
7512 128-bit if possible.
7513 (__sha512_finish_ctx): Likewise.
7514 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7515 as 64-bit value.
7516 * crypt/sha256.c (SWAP64): Define.
7517 (sha256_process_block): Perform total addition using 64-bit if
7518 possible.
7519 (__sha256_finish_ctx): Likewise.
7520
99231d9a
UD
75212011-07-01 Ulrich Drepper <drepper@gmail.com>
7522
7523 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7524 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7525 * nscd/hstcache.c (cache_addhst): Likewise.
7526 * nscd/grpcache.c (cache_addgr): Likewise.
7527 * nscd/aicache.c (addhstaiX): Likewise
7528 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7529
445b4a53
TK
75302011-07-01 Thorsten Kukuk <kukuk@suse.de>
7531
7532 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7534 * nscd/hstcache.c (cache_addhst): Likewise.
7535 * nscd/grpcache.c (cache_addgr): Likewise.
7536 * nscd/aicache.c (addhstaiX): Likewise
7537
6d4d8e8e
AS
75382011-07-01 Andreas Schwab <schwab@redhat.com>
7539
7540 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7541 domain only when needed.
7542
89f654c5
AS
75432011-06-30 Andreas Schwab <schwab@redhat.com>
7544
7545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7546 is always restored.
7547
cf3b23ff
UD
75482011-06-29 Ulrich Drepper <drepper@gmail.com>
7549
7550 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7551 are re-adding the entry.
7552 * nscd/servicescache.c (cache_addserv): Likewise.
7553
751626f9
AJ
75542011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7555
7556 * sysdeps/generic/dl-irel.h: fix protection against multiple
7557 inclusions.
7558 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7559
9113ea1f
UD
75602011-06-28 Ulrich Drepper <drepper@gmail.com>
7561
5c0b8d90
UD
7562 [BZ #12935]
7563 * malloc/memusage.sh: Fix quoting in message.
7564 * debug/xtrace.sh: Likewise.
7565
9113ea1f
UD
7566 * configure.in: Remove support for --experimental-malloc option, make
7567 it the default.
7568 * config.make.in: Likewise.
7569 * malloc/Makefile: Likewise.
7570
a4172181
AS
75712011-06-27 Andreas Schwab <schwab@redhat.com>
7572
7573 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7574 two-byte characters.
7575
78a7eee7
RM
75762011-06-27 Roland McGrath <roland@hack.frob.com>
7577
62bede13
RM
7578 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7579 AC_CACHE_CHECK invocation.
7580 * configure: Regenerated.
7581
78a7eee7
RM
7582 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7583
5ce33a62
UD
75842011-06-27 Ulrich Drepper <drepper@gmail.com>
7585
034807a9
UD
7586 [BZ #12350]
7587 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7588 bit from old_res_options.
7589
4902da17
UD
7590 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7591
5ce33a62
UD
7592 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7593 value type for setfct.
7594
c2344f56
L
75952011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7596
7597 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7598 __gettimeofday instead of gettimeofday.
7599
68468076
UD
76002011-06-26 Ulrich Drepper <drepper@gmail.com>
7601
7602 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7603
acb0d739
L
76042011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7605
7606 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7607
7608 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7609 info.
7610
8912479f
L
76112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7612
7613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7614 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7615 strcpy-sse2-unaligned strncpy-sse2-unaligned
7616 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7617 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7618 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7619 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7620 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7621 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7623 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7624 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7625 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7626 (STRCPY): Support SSE2 and SSSE3 versions.
7627
d5495a11
UD
76282011-06-24 Ulrich Drepper <drepper@gmail.com>
7629
7630 [BZ #12874]
7631 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7632 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7633 kernels which artificially limit size of requests.
7634
0b1cbaae
L
76352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7636
7637 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7638 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7639 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7640 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7641 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7642 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7643 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7644 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7645 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7646 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7647 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7648 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7649 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7650 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7651 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7653 Enable unaligned load optimization for Intel Core i3, i5 and i7
7654 processors.
7655 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7656 Define.
7657 (index_Fast_Unaligned_Load): Define.
7658 (HAS_FAST_UNALIGNED_LOAD): Define.
7659
07f494a0
MP
76602011-06-23 Marek Polacek <mpolacek@redhat.com>
7661
7662 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7663
fa3fc0fe
UD
76642011-06-22 Ulrich Drepper <drepper@gmail.com>
7665
7666 [BZ #12907]
7667 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7668 until it is clear that the information is realy needed.
7669 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7670
e12df166
AS
76712011-06-22 Andreas Schwab <schwab@redhat.com>
7672
7673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7674
852eb34d
UD
76752011-06-22 Ulrich Drepper <drepper@gmail.com>
7676
84e2a551
UD
7677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7678 /sys/devices/system/cpu/online if it is usable.
7679
852eb34d
UD
7680 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7681 reading the information from the /proc filesystem to once a second.
7682
6e502e19
UD
76832011-06-21 Andreas Jaeger <aj@suse.de>
7684
7685 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7686 NULL after inclusion of kernel headers.
7687
75d39ff2
UD
76882011-06-21 Ulrich Drepper <drepper@gmail.com>
7689
51f9aa6a
UD
7690 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7691 calls to internal_setent.
7692
c0244a9d
UD
7693 [BZ #12885]
7694 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7695 addresses using gethostbyname4_r ignore IPv4 addresses.
7696
c5e3c2ae
UD
7697 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7698 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7699
75d39ff2
UD
7700 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7701
42675c6f
DM
77022011-06-20 David S. Miller <davem@davemloft.net>
7703
7704 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7705 inclusions.
7706 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7707
7708 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7709 (elf_irel): Use it.
7710 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7711 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7712 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7713 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7714 * sysdeps/x86_64/dl-irel.h: Likewise.
7715
7716 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7717 * elf/dl-sym.c: Likewise.
7718
57912a71
UD
77192011-06-15 Ulrich Drepper <drepper@gmail.com>
7720
7721 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7722 need to dereference resplen2.
7723
ee22793d
AS
77242011-06-14 Andreas Schwab <schwab@redhat.com>
7725
7726 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7727
a9e836b0
UD
77282011-06-15 Ulrich Drepper <drepper@gmail.com>
7729
77fb9117
UD
7730 * Makeconfig: Define vardbdir and inst_vardbdir.
7731 * nss/Makefile: Add rules to install db-Makefile.
7732
40c1b22c
UD
7733 * nss/nss_db/db-XXX.c: Cleanup.
7734
9f2da732
UD
7735 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7736 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7737 GLIBC_PRIVATE.
7738 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7739 * nss/makedb.c: Implement -g option to specify that value strings
7740 are generated and should not be added to table iterated over for
7741 get*ent calls.
7742 * nss/nss_db/db-initgroups.c: New file.
7743
82e9a1f7
UD
7744 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7745 interface.
7746
c41af17e
UD
7747 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7748 (internal_getgrouplist): Adjust to name change.
7749 Update use_initgroups_entry if this is not the first call.
7750 * nss/databases.def: Add initgroups entry.
7751
a9e836b0
UD
7752 * nss/makedb.c (compute_tables): Check result of multiple hash table
7753 sizes to minimize maximum chain length.
7754
2666d441
UD
77552011-06-14 Ulrich Drepper <drepper@gmail.com>
7756
7757 * Versions.def: Add entry for libnss_db.
7758 * shlib-versions: Likewise.
7759 * nss/Makefile: Add rules to build libnss_db.
7760 * nss/Versions: Add libnss_db information. Organize libnss_files
7761 entries better.
7762 * nss/db-Makefile: Add gshadow support. Change rules for the new
7763 makedb progra. Some minor improvements to generate smaller files.
7764 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7765 here from...
7766 * nss/makedb.c: ...here.
7767 Improve database format to be smaller and require less memory at
7768 runtime.
7769 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7770 db anymore.
7771 * nss/nss_db/db-netgrp.c: Likewise.
7772 * nss/nss_db/db-open.c: Likewise.
7773 * nss/nss_files/flies-XXX.x: Adjust comments.
7774 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7775 * nss/nss_files/files-grp.c: Likewise.
7776 * nss/nss_files/files-hosts.c: Likewise.
7777 * nss/nss_files/files-network.c: Likewise.
7778 * nss/nss_files/files-proto.c: Likewise.
7779 * nss/nss_files/files-pwd.c: Likewise.
7780 * nss/nss_files/files-rpc.c: Likewise.
7781 * nss/nss_files/files-service.c: Likewise.
7782 * nss/nss_files/files-sgrp.c: Likewise.
7783 * nss/nss_files/files-spwd.c: Likewise.
7784 * nss/nss_db/db-alias.c: Removed.
7785 * nss/nss_db/dummy-db.h: Removed.
7786
9ee76b5a
UD
77872011-06-02 Ulrich Drepper <drepper@gmail.com>
7788
7789 * nss/makedb.c: Rewritten to not use database library.
7790 * nss/Makefile: Update to build new makedb program.
7791
c71ca1f8
AJ
77922011-06-14 Andreas Jaeger <aj@suse.de>
7793
7794 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7795 memset declaration.
7796
3154bfb8
UD
77972011-06-10 Andreas Schwab <schwab@redhat.com>
7798
7799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7800 tmpbuf.
7801
b350afab
RM
78022011-06-10 Roland McGrath <roland@hack.frob.com>
7803
decd4e50
RM
7804 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7805 * elf/Makefile ($(objpfx)ld.so): Likewise.
7806
5615eaf2
RM
7807 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7808 Don't list ld.so twice in dependencies.
7809
7810 * posix/bug-regex31.c: Include <stdlib.h>.
7811
7812 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7813
7814 * nis/nss_compat/compat-spwd.c
7815 (getspent_next_nss_netgr): Remove unused variable.
7816 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7817
7818 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7819 nonmembers" output to use the right array.
7820
7821 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7822
7823 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7824
7825 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7826 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7827 * catgets/gencat.c (read_input_file): Likewise.
7828 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7829
7830 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7831 variable definition inside #if's controlling its use.
7832
7833 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7834
7835 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7836
7837 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7838
7839 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7840 unreachable code.
7841
7842 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7843
b68e08db
RM
7844 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7845 * configure: Regenerated.
7846
b350afab
RM
7847 * Makerules: Revert last change.
7848 * elf/Makefile: Likewise.
7849
28368601
RM
78502011-06-09 Roland McGrath <roland@hack.frob.com>
7851
7852 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7853 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7854 (reloc-link): Likewise.
7855
11988f8f
UD
78562011-06-09 Ulrich Drepper <drepper@gmail.com>
7857
7858 * elf/Makefile: Add rules to build pldd.
7859 * elf/pldd.c: New file.
7860 * elf/pldd-xx.c: New file.
7861
e80fab37
UD
78622011-06-07 Ulrich Drepper <drepper@gmail.com>
7863
7864 * version.h: Update for 2.15 development version.
7865
9b849836
DM
78662011-06-07 David S. Miller <davem@davemloft.net>
7867
7868 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7869 ifuncs.
7870 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7871 elf_machine_lazy_rel): Likewise.
7872 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7873 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7874 elf_machine_lazy_rel): Likewise.
7875 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7876 dl_hwcap via passed in argument.
7877 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7878 Likewise.
7879
5a31b283
AK
78802011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7881
7882 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7883
069e52f8
RM
78842011-06-06 Roland McGrath <roland@hack.frob.com>
7885
7886 [BZ #12849]
7887 * manual/fdl-1.1.texi: New file, verbatim from:
7888 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7889 * manual/lgpl-2.1.texi: New file, verbatim from:
7890 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7891 * manual/Makefile (licenses): New variable, list those new file names.
7892 (texis): Use it.
7893 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7894
7895 * manual/fdl.texi: File removed.
7896 * manual/lesser.texi: File removed.
7897 * manual/libc.texinfo (Copying, Documentation License):
7898 Use new @include file names, put @appendix directive before @include.
7899
f16846a5
JJ
79002011-06-04 Jakub Jelinek <jakub@redhat.com>
7901
7902 [BZ #12841]
7903 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7904 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7905 (mq_open): Add __NTH.
7906
3d29045b
L
79072011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7908
7909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7910 Assume Intel Core i3/i5/i7 processor if AVX is available.
7911
8c297311
UD
79122011-05-31 Ulrich Drepper <drepper@gmail.com>
7913
7914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7915 typo.
7916
c8fc0c91
UD
79172011-05-31 Andreas Schwab <schwab@redhat.com>
7918
7919 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7920 memory. Use alloca_account. Fix memory leak when retrying.
7921
5b27a807
UD
79222011-05-31 Ulrich Drepper <drepper@gmail.com>
7923
356f8bc6
UD
7924 * version.h (RELEASE): Bump for 2.14 release.
7925 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7926
5b27a807
UD
7927 * config.make.in (RANLIB): Remove entry.
7928
01f16ab0
UD
79292011-05-30 Ulrich Drepper <drepper@gmail.com>
7930
41fce8bd
UD
7931 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7932 (libc.pot): Work around missing support for .ksh extension in xgettext.
7933
4769ae77
UD
7934 [BZ #12684]
7935 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7936 if both request failed.
7937 (send_dg): In case of server errors clear resplen or *resplen2.
7938
6b1e7d19
UD
7939 [BZ #12454]
7940 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7941 when there are multiple maps.
7942 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7943 (_dl_fini): Remove test here.
7944
01f16ab0
UD
7945 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7946
b1ebd700
UD
79472011-05-29 Ulrich Drepper <drepper@gmail.com>
7948
7ae22829
UD
7949 [BZ #12350]
7950 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7951 bit from old_res_options.
7952 (gaih_inet): Likewise.
7953
553149f6 7954 [BZ #11099]
18a84741 7955 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
7956 as signed.
7957
652ffab1
UD
7958 * resolv/res_init.c (res_setoptions): Make the code more compact.
7959
16985fd0
UD
7960 [BZ #11558]
7961 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7962 set RES_USEVC.
7963
0464f746
UD
7964 [BZ #11634]
7965 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7966
7d17596c
UD
7967 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7968
cf6bbbd7
UD
7969 [BZ #11781]
7970 * malloc/malloc.h: Declare malloc hook variables as volatile.
7971
13f1ab36
UD
7972 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7973 in last patch.
7974
b1ebd700
UD
7975 [BZ #11799]
7976 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 7977 raise in the comment.
80e2212d
UD
7978 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7979 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7980 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7981
ce67228d
UD
79822011-05-28 Ulrich Drepper <drepper@gmail.com>
7983
8887a920
UD
7984 [BZ #12811]
7985 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7986 grow the buffers more if it already has to be sufficient.
7987 (build_wcs_upper_buffer): Likewise.
7988 * posix/regexec.c (check_matching): Likewise.
7989 (clean_state_log_if_needed): Likewise.
7990 (extend_buffers): Don't enlarge buffers beyond size of the input
7991 buffer.
7992 Patches mostly by Emil Wojak <emil@wojak.eu>.
7993 * posix/bug-regex32.c: New file.
7994 * posix/Makefile (tests): Add bug-regex32.
7995
4f031072
UD
7996 * locale/findlocale.c (_nl_find_locale): Return right away if
7997 _nl_explode_name failed.
7998 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7999
d0478f0c
UD
8000 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8001
de81b246
UD
8002 * debug/xtrace.sh: Unify messages.
8003 * malloc/memusage.sh: Likewise.
8004
c738465a
UD
8005 [BZ #12813]
8006 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8007 time symbol from vDSO. Substitute with vsyscall if not available.
8008 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8009 __vdso_time.
8010
f1f929d7
UD
8011 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8012 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8013 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8014 Add sendmmsg and internal_sendmmsg.
8015 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8016 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8017 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8018
ce67228d
UD
8019 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8020 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8021 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8022
e57420c6
UD
80232011-05-27 Ulrich Drepper <drepper@gmail.com>
8024
a8509ca5
UD
8025 [BZ #12813]
8026 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8027 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8028 available.
8029 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8030 __vdso_getcpu.
8031
e57420c6
UD
8032 [BZ #12814]
8033 * iconvdata/Makefile (tests): Add bug-iconv9.
8034 * iconvdata/bug-iconv9.c: New file.
8035
4d07db15
AS
80362011-05-27 Andreas Schwab <schwab@redhat.com>
8037
8038 [BZ #12814]
8039 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8040
ea486f69
JJ
80412011-05-25 Jakub Jelinek <jakub@redhat.com>
8042
8043 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8044 (struct user_regs_struct): Change intcs field back to cs.
8045
6f038433
UD
80462011-05-25 Ulrich Drepper <drepper@gmail.com>
8047
8048 * po/ja.po: Update from translation team.
8049
67f86a25
UD
80502011-05-23 Ulrich Drepper <drepper@gmail.com>
8051
8052 [BZ #12795]
8053 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8054 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8055
def7fbd6
AS
80562011-05-20 Andreas Schwab <schwab@redhat.com>
8057
8058 * stdlib/longlong.h: Update from GCC.
8059
f50ef8f1
AS
80602011-05-23 Andreas Schwab <schwab@redhat.com>
8061
8062 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8063 parameter name.
8064 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8065 Add parameter name.
8066 (__sysconf): Pass it down.
8067
de7ce8f1
UD
80682011-05-22 Ulrich Drepper <drepper@gmail.com>
8069
f2962a71
UD
8070 [BZ #12671]
8071 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8072 some situations.
8073 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8074 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8075 add in in __libc_use_alloca calls. Adjust callers.
8076 (glob): Use malloc in some situations.
8077
de7ce8f1
UD
8078 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8079 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8080 pltexit.
8081
aec84f53
UD
80822011-05-21 Ulrich Drepper <drepper@gmail.com>
8083
05bb4a68
UD
8084 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8085 and CLOCK_BOOTTIME_ALARM.
8086
7ea72f99
UD
8087 [BZ #12782]
8088 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8089 is returned.
8090
7e4afad5
UD
8091 * string/_strerror.c (__strerror_r): Print negative errors as signed
8092 numbers.
8093
8e211fec
UD
8094 [BZ #12777]
8095 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8096 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8097 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8098
f7d82dc9
UD
8099 * configure.in: Fix typo in redirection and correct removal of test
8100 files in two cases.
8101
cc9e536d
UD
8102 [BZ #12788]
8103 * locale/setlocale.c (new_composite_name): Fix test to check for
8104 identical name of all categories.
8105
aec84f53
UD
8106 [BZ #12792]
8107 * libio/filedoalloc.c (local_isatty): New function.
8108 (_IO_file_doallocate): Use local_isatty.
8109 * stdio-common/perror.c (perror): In case a new stream is used
8110 forward the stream error.
8111 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8112 error flag.
8113
78e64fdc
RT
81142011-05-20 Ulrich Drepper <drepper@gmail.com>
8115
34a9094f
UD
8116 [BZ #11869]
8117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8118 alloca.
8119 * include/alloca.h (extend_alloca_account): Define.
8120
78e64fdc
RT
8121 [BZ #11857]
8122 * posix/regex.h: Fix comments with documentation of user-accessible
8123 fields after compilation and describe correct free'ing of pattern
8124 after re_compile_pattern.
8125 Patch by Reuben Thomas <rrt@sc3d.org>.
8126
457bddfc
RA
81272011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8128
8129 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8130 and -mno-altivec to prevent the compiler from using Altivec and/or
8131 VSX instructions when the corresponding registers are not available.
8132
a4527b51
AS
81332011-05-19 Andreas Schwab <schwab@redhat.com>
8134
8135 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8136
ed690b2f
UD
81372011-05-19 Ulrich Drepper <drepper@gmail.com>
8138
8139 * libio/freopen.c (freopen): Use __dup2, not dup2.
8140 * libio/freopen64.c (freopen64): Likewise.
8141
8db73634
L
81422011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8143
8144 [BZ #12775]
8145 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8146 * math/Makefile (tests): Add test-powl.
8147 (CFLAGS-test-powl.c): Define.
8148 * math/test-powl.c: New file.
8149
0a197a9d
L
81502011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8151
8152 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8153
ee30c380
UD
81542011-05-17 Ulrich Drepper <drepper@gmail.com>
8155
8156 [BZ #11837]
8157 * iconvdata/gb18030.c: Update to GB18020-2005.
8158
6ce75379
UD
81592011-05-16 Ulrich Drepper <drepper@gmail.com>
8160
a4b89fd8
AR
8161 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8162 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8163 Patch by Aharon Robbins <arnold@skeeve.com>.
8164
ea389b12
UD
8165 [BZ #11892]
8166 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8167 on the stack.
8168
68a3f91f
UD
8169 [BZ #11895]
8170 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8171 through underflows.
8172
15cc7dd1
UD
8173 [BZ #12766]
8174 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8175 point to strings before performing equality test for error_one_per_line
8176 mode.
8177
f3799213
UD
8178 [BZ #11697]
8179 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8180
d79a9c94
UD
8181 [BZ #11820]
8182 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8183 (struct user_fpregs_struct): Avoid __uint*_t types.
8184
56e5eb46
UD
8185 [BZ #6420]
8186 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8187 symbol info. Use it instead of calling _dl_addr locally.
8188 (lock_and_info): New function.
8189 (tr_freehook): Call lock_and_info and pass symbol info as additional
8190 parameter to tr_where.
8191 (tr_mallochook): Likewise.
8192 (tr_reallochook): Likewise.
8193 (tr_memalignhook): Likewise.
8194
6ce75379
UD
8195 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8196 used and couldn't be at all thread-safe.
8197
f8a3b5bf
UD
81982011-05-15 Ulrich Drepper <drepper@gmail.com>
8199
94b7cc37
UD
8200 * libio/freopen.c (freopen): Don't close old file descriptor
8201 before the new one is opened. Instead dup the new file descriptor
8202 to the old one after the new stream is created.
8203 * libio/freopen64.c (freopen64): Likewise.
8204 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8205 * libio/fileops.c (_IO_new_file_close_it): Handle new
8206 _IO_FLAGS2_NOCLOSE flag.
8207 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8208 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8209 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8210 _IO_FLAGS2_NOCLOSE flag.
8211 * include/unistd.h: Add hidden_proto for dup3.
8212 Define __have_dup3.
8213 * io/dup3.c: Define hidden symbol.
8214 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8215
bd25564e
UD
8216 [BZ #7101]
8217 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8218 when an incomplete long option is used.
8219 * posix/tst-getopt_long1.c: New file.
8220 * posix/Makefile (tests): Add tst-getopt_long1.
8221
c84cfef4
UD
8222 [BZ #10138]
8223 * scripts/config.guess: Update from autoconf-2.68.
8224 * scripts/config.sub: Likewise.
8225
3b85df27
UD
8226 [BZ #10157]
8227 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8228 tests into ...
8229 (has_cpuclock): ...this. New function.
8230 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8231 macro here based on has_cpuclock code.
8232
15a856b1
UD
8233 [BZ #10149]
8234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8235 First byte (not low byte) is now always NUL.
8236 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8237
05f399e6
UD
8238 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8239 Use non-cancelable interfaces.
8240
10a52685 8241 [BZ #9809]
94ecc67d
UD
8242 * locale/iso-639.def: Add entry for Sorani.
8243
f8a3b5bf
UD
8244 [BZ #11901]
8245 * include/stdlib.h: Move include protection to the right place.
8246 Define abort_msg_s. Declare __abort_msg with it.
8247 * stdlib/abort.c (__abort_msg): Adjust type.
8248 * assert/assert.c (__assert_fail_base): New function. Majority
8249 of code from __assert_fail. Allocate memory for __abort_msg with
8250 mmap.
8251 (__assert_fail): Now call __assert_fail_base.
8252 * assert/assert-perr.c: Remove bulk of implementation. Use
8253 __assert_fail_base.
8254 * include/assert.hL Declare __assert_fail_base.
8255 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8256 mmap.
8257 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8258
1af4e298
UD
82592011-05-14 Ulrich Drepper <drepper@gmail.com>
8260
f8a3b5bf 8261 [BZ #11952]
d26dfc60
MG
8262 [BZ #12453]
8263 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8264 until all modules are registered in the DTV.
8265 * elf/Makefile: Add rules to build and run tst-tls19.
8266 * elf/tst-tls19.c: New file.
8267 * elf/tst-tls19mod1.c: New file.
8268 * elf/tst-tls19mod2.c: New file.
8269 * elf/tst-tls19mod3.c: New file.
8270 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8271
2fc54d6f
UD
8272 [BZ #12083]
8273 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8274 correctly.
8275
98d76b46
UD
8276 [BZ #12601]
8277 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8278 two-byte sequence errors.
8279 * iconvdata/Makefile (tests): Add bug-iconv8.
8280 * iconvdata/bug-iconv8.c: New file.
8281
da3c19ef
UD
8282 [BZ #12626]
8283 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8284 buf2 definition.
8285
ca408c15
UD
8286 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8287
d6f67f7d
UD
8288 [BZ #12432]
8289 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8290 (dummy_getcfa): New function.
8291 (init): Get _Unwind_GetCFA address, use dummy if not found.
8292 (backtrace_helper): In recursion check, also check whether CFA changes.
8293 (__backtrace): Completely initialize arg.
8294
1af4e298 8295 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8296 storing incomplete byte sequence in state object. Avoid testing for
8297 guaranteed too small input if we know there is enough data available.
1af4e298 8298
da62f81b
AS
82992011-05-11 Andreas Schwab <schwab@redhat.com>
8300
8301 * Makeconfig (+link-pie): Indent.
8302 * Rules (binaries-pie): Define if $(have-fpie) and
8303 $(build-shared).
8304 (binaries-shared): Also filter out $(binaries-pie).
8305 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8306 * nscd/Makefile (others-pie): Add nscd.
8307 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8308 ($(objpfx)nscd): Remove command override.
8309 * login/Makefile (others-pie): Add pt_chown.
8310 ($(objpfx)pt_chown): Remove command override.
8311 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8312 remove command overrides.
8313
fcabc0f8
UD
83142011-05-13 Ulrich Drepper <drepper@gmail.com>
8315
20030ae6
UD
8316 * libio/tst_putwc.c: Fix error messages.
8317
fcabc0f8
UD
8318 [BZ #12724]
8319 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8320 currently writing and seek to current position when not.
8321 * libio/Makefile (tests): Add bug-fclose1.
8322 * libio/bug-fclose1.c: New file.
8323
320a5dc0
PB
83242011-05-12 Ulrich Drepper <drepper@gmail.com>
8325
8326 [BZ #12511]
8327 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8328 don't set DF_1_NODELETE here.
8329 (do_lookup_x): When entering new entry test for copy relocation
8330 and if necessary set DF_1_NODELETE flag.
8331 * elf/tst-unique4.cc: New file.
8332 * elf/tst-unique4.h: New file.
8333 * elf/tst-unique4lib.cc: New file.
8334 * elf/Makefile: Add rules to build and run tst-unique4.
8335 Patch by Piotr Bury <pbury@goahead.com>.
8336
22836f52
UD
83372011-05-11 Ulrich Drepper <drepper@gmail.com>
8338
f574184a
UD
8339 [BZ #12052]
8340 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8341
e1fb097f
UD
8342 [BZ #12625]
8343 * misc/mntent_r.c (addmntent): Flush the stream after the output
8344
22836f52
UD
8345 [BZ #12393]
8346 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8347 (is_trusted_path_normalize): Skip initial colon. Append slash
8348 to empty buffer. Duplicate is_trusted_path code but allow
8349 constructed patch to be prefix.
8350 (is_dst): Allow $ORIGIN followed by /.
8351 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8352 Correct testing of result of is_trusted_path_normalize
8353 (decompose_rpath): Fix warning.
8354
7b3b0b2a
UD
83552011-05-10 Ulrich Drepper <drepper@gmail.com>
8356
8357 [BZ #11257]
8358 * grp/initgroups.c (internal_getgrouplist): When we found the service
8359 list through the initgroups entry in nsswitch.conf do not always
8360 continue on a successful lookup. Don't always use the
eac80ce2 8361 __nss_group_database value if it is set.
7b3b0b2a
UD
8362 * nss/nsswitch.conf (initgroups): Change action for successful db
8363 lookup to continue for compatibility.
8364
2a81eaa5
UD
83652011-05-09 Ulrich Drepper <drepper@gmail.com>
8366
be97a69e
UD
8367 [BZ #11532]
8368 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8369 and CP774 modules.
8370 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8371 and CP774 modules.
8372 * iconvdata/tst-tables.sh: Likewise.
8373 * iconvdata/cp770.c: New file.
8374 * iconvdata/cp771.c: New file.
8375 * iconvdata/cp772.c: New file.
8376 * iconvdata/cp773.c: New file.
8377 * iconvdata/cp774.c: New file.
8378 * iconvdata/testdata/CP770: New file.
8379 * iconvdata/testdata/CP770..UTF8: New file.
8380 * iconvdata/testdata/CP771: New file.
8381 * iconvdata/testdata/CP771..UTF8: New file.
8382 * iconvdata/testdata/CP772: New file.
8383 * iconvdata/testdata/CP772..UTF8: New file.
8384 * iconvdata/testdata/CP773: New file.
8385 * iconvdata/testdata/CP773..UTF8: New file.
8386 * iconvdata/testdata/CP774: New file.
8387 * iconvdata/testdata/CP774..UTF8: New file.
8388
8389 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8390 END CHARMAP line.
8391 * iconvdata/gen-8bit-gap.sh: Likewise.
8392 * iconvdata/gen-8bit.sh: Likewise.
8393
c1e9e399
UD
8394 * locale/iso-639.def: Add ary entry.
8395
24c55fb3 8396 [BZ #11258]
96b4b1b0
UD
8397 * locale/C-translit.h.in: Add U20A1 transliteration.
8398
bdc2f971
KB
8399 [BZ #12178]
8400 * locale/iso-639.def: Add wae entry.
8401 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8402
2952b117
UD
8403 [BZ #12545]
8404 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8405 for n.
8406
2a81eaa5
UD
8407 [BZ #12711]
8408 * locale/C-translit.h.in: Add entry for U20B9.
8409 Patch by pravin.d.s@gmail.com.
8410
28377d1b
UD
84112011-05-08 Ulrich Drepper <drepper@gmail.com>
8412
7fb90fb8
UD
8413 [BZ #12713]
8414 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8415 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8416 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8417 in rtld. Use *stat64.
7fb90fb8 8418 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8419 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8420 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8421 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8422 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8423 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8424 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8425 __fstatat64 macros.
7fb90fb8
UD
8426 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8427 * dirent/rewinddir.c: Add libc_hidden_def.
8428 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8429 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8430
28377d1b
UD
8431 * include/dirent.h (__alloc_dir): Add flags parameter.
8432 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8433 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8434 __alloc_dir.
8435 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8436 from fdopendir if O_CLOEXEC is already set.
8437
66bdbaa4
AM
84382011-03-15 Alan Modra <amodra@gmail.com>
8439
8440 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8441 l_tls_firstbyte_offset non-zero. Save padding offset in
8442 l_tls_firstbyte_offset for later use.
8443 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8444 freeing static tls block.
8445
95721191
JN
84462011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8447
8448 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8449 where #ifdef was intended. The intent is to prevent ARG_MAX from
8450 being defined by the kernel headers.
8451
f87dfb1f
UD
84522011-05-07 Ulrich Drepper <drepper@gmail.com>
8453
8454 [BZ #12734]
8455 * resolv/resolv.h: Define RES_NOTLDQUERY.
8456 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8457 no-tld-query and set RES_NOTLDQUERY.
8458 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8459 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8460 modern BIND to search name as TLD unless forbidden.
8461
47c3cd7a
UD
84622011-05-07 Petr Baudis <pasky@suse.cz>
8463 Ulrich Drepper <drepper@gmail.com>
8464
8465 [BZ #12393]
8466 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8467 (is_trusted_path): ...to here.
c1e9ea35 8468 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8469 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8470 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8471
8a35c912
PP
84722011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8473
8474 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8475 __BEGIN/__END_DECLS.
8476
acd41f47
UD
84772011-05-06 Ulrich Drepper <drepper@gmail.com>
8478
8479 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8480 NSS_STATUS_NOTFOUND if no record was found.
8481
597df647
AS
84822011-05-05 Andreas Schwab <schwab@redhat.com>
8483
8484 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8485 (headers-not-in-tirpc): Remove rpc/netdb.h
8486 * resolv/netdb.h: Revert last change.
8487
b9af1301
PP
84882011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8489
8490 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8491 circular dependency between libgcc.a and libc.a.
8492
4e34d5f5
AS
84932011-05-05 Andreas Schwab <schwab@redhat.com>
8494
8495 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8496 * nis/Makefile: Don't install rpcsvc/*.
8497 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8498 instead of <rpc/types.h>.
8499 (MAXHOSTNAMELEN): Define.
8500
00ee369c
AS
85012011-05-03 Andreas Schwab <schwab@redhat.com>
8502
8503 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8504
0b592a30
MB
85052011-04-28 Maciej Babinski <mbabinski@google.com>
8506
8507 [BZ #12714]
8508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8509 gethostbyname4_r when IPv6 results are possible.
8510
6e04cbbe
UD
85112011-05-02 Ulrich Drepper <drepper@gmail.com>
8512
8513 [BZ #12723]
8514 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8515 _PC_PIPE_BUF handling.
8516
e4ecafe0
BH
85172011-04-30 Bruno Haible <bruno@clisp.org>
8518
8519 [BZ #12717]
8520 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8521 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8522 to 'int'.
8523 * inet/getnameinfo.c (getnameinfo): Likewise.
8524
125ee683
UD
85252011-04-29 Ulrich Drepper <drepper@gmail.com>
8526
8527 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8528 to groups setting in database lookup.
8529 * nss/nsswitch.conf: Add initgroups entry.
8530
b722481a
EB
85312011-04-22 Ulrich Drepper <drepper@gmail.com>
8532
8533 [BZ #12685]
8534 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8535 mode string.
8536 Patch by Eric Blake <eblake@redhat.com>.
8537
4df46dbd
L
85382011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8539
8540 * sunrpc/Makefile (need-export-routines): Add svc_run.
8541 (routines): Remove svc_run.
8542 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8543 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8544 * sunrpc/svc_run.c (svc_run): Likewise.
8545 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8546
e84142d2
UD
85472011-04-21 Ulrich Drepper <drepper@gmail.com>
8548
8549 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8550 problem in reallocation in last patch.
8551
877175d8
UD
85522011-04-20 Ulrich Drepper <drepper@gmail.com>
8553
8554 * sunrpc/Makefile: Move inclusion of Rules.
8555
ab8eed78
UD
85562011-04-19 Ulrich Drepper <drepper@gmail.com>
8557
8558 * nss/nss_files/files-initgroups.c: New file.
8559 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8560 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8561 _nss_files_initgroups_dyn.
8562
e3d8f584
RS
85632011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8564
8565 * elf/elf.h (R_ARM_IRELATIVE): Define.
8566
af190f45
UD
85672011-04-19 Ulrich Drepper <drepper@gmail.com>
8568
8569 * po/ru.po: Update from translation team.
8570
53cf59ef
UD
85712011-04-17 Ulrich Drepper <drepper@gmail.com>
8572
8573 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8574 dependencies.
8575
4c559bcd
MF
85762011-02-06 Mike Frysinger <vapier@gentoo.org>
8577
8578 [BZ #12653]
8579 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8580 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8581 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8583 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8584
4420675c
AS
85852011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8586
8587 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8588 differing bytes.
8589 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8590 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8591 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8592
75ea32ab
UD
85932011-04-17 Ulrich Drepper <drepper@gmail.com>
8594
8595 [BZ #12420]
8596 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8597 storing it.
8598 * stdlib/bug-getcontext.c: New file.
8599 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8600
27390476
AK
86012011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8602
8603 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8604 instructions into .machine "z9-109".
8605 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8606 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8607
10442705
AK
86082011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8609
8610 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8611 between environment variables and auxiliary vector.
8612
7b57bfe5
UD
86132011-04-16 Ulrich Drepper <drepper@gmail.com>
8614
8615 * Makefile: Add rules to build linkobj/libc.so.
8616 * include/libc-symbols.h: Define libc_hidden_nolink.
8617 * include/rpc/auth.h: Mark functions which are to be hidden.
8618 * include/rpc/auth_des.h: Likewise.
8619 * include/rpc/auth_unix.h: Likewise.
8620 * include/rpc/clnt.h: Likewise.
8621 * include/rpc/des_crypt.h: Likewise.
8622 * include/rpc/key_prot.h: Likewise.
8623 * include/rpc/pmap_clnt.h: Likewise.
8624 * include/rpc/pmap_prot.h: Likewise.
8625 * include/rpc/pmap_rmt.h: Likewise.
8626 * include/rpc/rpc_msg.h: Likewise.
8627 * include/rpc/svc.h: Likewise.
8628 * include/rpc/svc_auth.h: Likewise.
8629 * include/rpc/xdr.h: Likewise.
8630 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8631 * nss/Makefile: Likewise.
8632 * sunrpc/Makefile: Don't install headers. Build library with normal
8633 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8634 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8635 for the compat linking library. Remove use of INTDEF/INTUSE.
8636 * sunrpc/auth_none.c: Likewise.
8637 * sunrpc/auth_unix.c: Likewise.
8638 * sunrpc/authdes_prot.c: Likewise.
8639 * sunrpc/authuxprot.c: Likewise.
8640 * sunrpc/clnt_gen.c: Likewise.
8641 * sunrpc/clnt_perr.c: Likewise.
8642 * sunrpc/clnt_raw.c: Likewise.
8643 * sunrpc/clnt_simp.c: Likewise.
8644 * sunrpc/clnt_tcp.c: Likewise.
8645 * sunrpc/clnt_udp.c: Likewise.
8646 * sunrpc/clnt_unix.c: Likewise.
8647 * sunrpc/des_crypt.c: Likewise.
8648 * sunrpc/des_soft.c: Likewise.
8649 * sunrpc/get_myaddr.c: Likewise.
8650 * sunrpc/key_call.c: Likewise.
8651 * sunrpc/key_prot.c: Likewise.
8652 * sunrpc/netname.c: Likewise.
8653 * sunrpc/pm_getmaps.c: Likewise.
8654 * sunrpc/pm_getport.c: Likewise.
8655 * sunrpc/pmap_clnt.c: Likewise.
8656 * sunrpc/pmap_prot.c: Likewise.
8657 * sunrpc/pmap_prot2.c: Likewise.
8658 * sunrpc/pmap_rmt.c: Likewise.
8659 * sunrpc/publickey.c: Likewise.
8660 * sunrpc/rpc_cmsg.c: Likewise.
8661 * sunrpc/rpc_common.c: Likewise.
8662 * sunrpc/rpc_dtable.c: Likewise.
8663 * sunrpc/rpc_prot.c: Likewise.
8664 * sunrpc/rpc_thread.c: Likewise.
8665 * sunrpc/rtime.c: Likewise.
8666 * sunrpc/svc.c: Likewise.
8667 * sunrpc/svc_auth.c: Likewise.
8668 * sunrpc/svc_authux.c: Likewise.
8669 * sunrpc/svc_raw.c: Likewise.
8670 * sunrpc/svc_run.c: Likewise.
8671 * sunrpc/svc_simple.c: Likewise.
8672 * sunrpc/svc_tcp.c: Likewise.
8673 * sunrpc/svc_udp.c: Likewise.
8674 * sunrpc/svc_unix.c: Likewise.
8675 * sunrpc/svcauth_des.c: Likewise.
8676 * sunrpc/xcrypt.c: Likewise.
8677 * sunrpc/xdr.c: Likewise.
8678 * sunrpc/xdr_array.c: Likewise.
8679 * sunrpc/xdr_float.c: Likewise.
8680 * sunrpc/xdr_intXX_t.c: Likewise.
8681 * sunrpc/xdr_mem.c: Likewise.
8682 * sunrpc/xdr_rec.c: Likewise.
8683 * sunrpc/xdr_ref.c: Likewise.
8684 * sunrpc/xdr_sizeof.c: Likewise.
8685 * sunrpc/xdr_stdio.c: Likewise.
8686
e6c61494
UD
86872011-04-10 Ulrich Drepper <drepper@gmail.com>
8688
8689 [BZ #12650]
8690 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8691 * sysdeps/ia64/dl-tls.h: Likewise.
8692 * sysdeps/powerpc/dl-tls.h: Likewise.
8693 * sysdeps/s390/dl-tls.h: Likewise.
8694 * sysdeps/sh/dl-tls.h: Likewise.
8695 * sysdeps/sparc/dl-tls.h: Likewise.
8696 * sysdeps/x86_64/dl-tls.h: Likewise.
8697 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8698
34fe483e
AS
86992011-03-14 Andreas Schwab <schwab@redhat.com>
8700
8701 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8702 rpath element also skip the following colon.
8703 (expand_dynamic_string_token): Add is_path parameter and pass
8704 down to DL_DST_REQUIRED and _dl_dst_substitute.
8705 (decompose_rpath): Call expand_dynamic_string_token with
8706 non-zero is_path. Ignore empty rpaths.
8707 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8708 with zero is_path.
8709
f12a32e6
AS
87102011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8711
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8713 Make cancelable.
8714
38a7d692
UD
87152011-04-09 Ulrich Drepper <drepper@gmail.com>
8716
8717 [BZ #12655]
8718 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8719 Patch by Filipe David Manana <fdmanana@apache.org>.
8720
e451d22b
AS
87212011-04-07 Andreas Schwab <schwab@redhat.com>
8722
8723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8724 Maintain aligned stack.
8725 (CHECK_RSP): Remove unused macro.
8726
dedc7c7b
UD
87272011-04-03 Ulrich Drepper <drepper@gmail.com>
8728
8729 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8730 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8731
94521213
UD
87322011-04-02 Ulrich Drepper <drepper@gmail.com>
8733
8734 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8735
8cb700c0 8736 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 8737
0354e355
L
87382011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8739
8740 [BZ #12518]
8741 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8742 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8743 * sysdeps/x86_64/memmove.c: New file.
8744 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8745 (memcpy): Renamed to ...
8746 (__new_memcpy): This.
8747 (memcpy): Provide GLIBC_2_14 memcpy.
8748 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8749 (memcpy): Provide GLIBC_2_2_5 memcpy.
8750
8593482f
UD
87512011-04-01 Ulrich Drepper <drepper@gmail.com>
8752
8753 [BZ #12631]
8754 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8755
81a5726b
AS
87562011-03-30 Andreas Schwab <schwab@redhat.com>
8757
8758 * misc/syncfs.c: New file.
8759 * misc/Makefile (routines): Add syncfs.
8760 * posix/unistd.h: Declare syncfs.
8761 * sysdeps/unix/syscalls.list: Add syncfs.
8762
00e5419f
AS
87632011-04-01 Andreas Schwab <schwab@redhat.com>
8764
8765 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8766 open_by_handle_at.
8767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8768 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8770 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8772 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8773 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8774
748876bf
UD
87752011-04-01 Ulrich Drepper <drepper@gmail.com>
8776
658e451d
UD
8777 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8778 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8779 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8781 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8783 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8784
748876bf
UD
8785 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8786 sync_file_range.c with -fexceptions.
8787 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8788 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8789 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8790 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8791 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8792 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8793 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
8794 sync_file_range as cancellation point
8795 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8796 now a wrapper around __call_sync_file_range with cancellation handling.
8797 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8798 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8799 function name to __call_sync_file_range.
8800 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8801 Add call_sync_file_range.
748876bf 8802
6e63d5e1
AS
88032011-04-01 Andreas Schwab <schwab@redhat.com>
8804
8805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 8806 bits/timex.h.
6e63d5e1 8807
46998f74
UD
88082011-04-01 Ulrich Drepper <drepper@gmail.com>
8809
4c1423ed
UD
8810 * iconv/iconv.h: Fix typo in comment.
8811 * io/fcntl.h: Likewise.
8812 * libio/stdio.h: Likewise.
8813 * posix/spawn.h: Likewise.
8814 * posix/unistd.h: Likewise.
8815 * stdlib/stdlib.h: Likewise.
8816 * time/time.h: Likewise.
8817 * wcsmbs/wchar.h: Likewise.
8818
158648c0
UD
8819 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8820 open_by_handle): Add.
8821 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8822 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8823 Augment a few comments.
8824 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8825 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8826 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8827 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8828 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8829 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8830 open_by_handle.
8831
46998f74
UD
8832 * io/fcntl.h (AT_EMPTY_PATH): Define.
8833
83fe108b
UD
88342011-03-30 Ulrich Drepper <drepper@gmail.com>
8835
8836 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8837 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8838 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8839 to...
8840 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8841 * Versions.def: Add GLIBC_2.14.
8842 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8843 Export.
83fe108b 8844
bb242059
UD
88452011-03-22 Ulrich Drepper <drepper@gmail.com>
8846
8847 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8848 round counter.
8849 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8850
c97a1282
L
88512011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8852
8853 [BZ #12597]
8854 * string/test-strncmp.c (do_page_test): New function.
8855 (check2): Likewise.
8856 (test_main): Call check2.
8857 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8858
2a115601
UD
88592011-03-20 Ulrich Drepper <drepper@gmail.com>
8860
8861 [BZ #12587]
8862 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8863 Handle cache information in CPU leaf 4.
8864 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8865
8126d904
UD
88662011-03-18 Ulrich Drepper <drepper@gmail.com>
8867
042c49c6 8868 [BZ #12583]
8126d904
UD
8869 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8870 character representation.
8871 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8872
ccfe366e
RA
88732011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8874
8875 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8876 END(__isnan) to END(__isnanf) to match function entry point/label
8877 EALIGN(__isnanf,...).
8878
c6e13027
JJ
88792011-03-10 Jakub Jelinek <jakub@redhat.com>
8880
8881 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8882
33f85a3f
UD
88832011-03-10 Ulrich Drepper <drepper@gmail.com>
8884
028478fa
UD
8885 [BZ #12510]
8886 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8887 copy from the symbol referenced in the relocation to initialize the
8888 used variable.
8889 Patch by Piotr Bury <pbury@goahead.com>.
8890 * elf/Makefile: Add rules to build and tst-unique3.
8891 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8892 * elf/tst-unique3.cc: New file.
8893 * elf/tst-unique3.h: New file.
8894 * elf/tst-unique3lib.cc: New file.
8895 * elf/tst-unique3lib2.cc: New file.
8896
33f85a3f
UD
8897 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8898
03592fc7
MF
88992011-03-10 Mike Frysinger <vapier@gentoo.org>
8900
8901 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8902 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8903 to _start.
03592fc7 8904
6a5ee102
UD
89052011-03-06 Ulrich Drepper <drepper@gmail.com>
8906
8907 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8908 to-be-loaded object along a path to loader is ld.so.
8909
7e4ba49c
HJ
89102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8911 Ulrich Drepper <drepper@gmail.com>
8912
8913 * sysdeps/x86_64/memset.S: After aligning destination, code
8914 branches to different locations depending on the value of
8915 misalignment, when multiarch is enabled. Fix this.
8916
89172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8918
8919 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8920 Set _x86_64_preferred_memory_instruction for AMD processsors.
8921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8922 Set bit_Prefer_SSE_for_memop for AMD processors.
8923
13a804de
UD
89242011-03-04 Ulrich Drepper <drepper@gmail.com>
8925
8926 * libio/fmemopen.c (fmemopen): Optimize a bit.
8927
9d25c392
AS
89282011-03-03 Andreas Schwab <schwab@redhat.com>
8929
8930 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8931
a5543c6a
RM
89322011-03-03 Roland McGrath <roland@redhat.com>
8933
8934 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8935
012d35f7
DM
89362011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8937
7e4ba49c 8938 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
8939 __bzero_ultra1 instead of __memset_ultra1.
8940
4bff6e01
AS
89412011-02-23 Andreas Schwab <schwab@redhat.com>
8942 Ulrich Drepper <drepper@gmail.com>
8943
8944 [BZ #12509]
8945 * include/link.h (struct link_map): Add l_orig_initfini.
8946 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8947 returning unsuccessfully.
8948 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8949 close of a file loaded at startup, restore the original l_initfini
8950 list.
8951 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8952 list, store the pointer.
8953 * elf/Makefile ($(objpfx)noload-mem): New rule.
8954 (noload-ENV): Define.
8955 (tests): Add $(objpfx)noload-mem.
8956 * elf/noload.c: Include <memcheck.h>.
8957 (main): Call mtrace. Close all opened handles.
8958
f2092faf
AS
89592011-02-17 Andreas Schwab <schwab@redhat.com>
8960
8961 [BZ #12454]
8962 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8963 dependencies are missing.
8964
6c8a2e88
ST
89652011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8966
f2092faf 8967 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
8968 Hurd needs munmap.
8969 * sysdeps/mach/hurd/ifreq.h: New file.
8970
84a42118
PB
89712011-01-27 Petr Baudis <pasky@suse.cz>
8972 Ulrich Drepper <drepper@gmail.com>
8973
071f805e 8974 [BZ 12445]#
84a42118
PB
8975 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8976 to extend_alloca().
8977 * stdio-common/bug23.c: New file.
8978 * stdio-common/Makefile (tests): Add bug23.
8979
e23fe25b
AS
89802010-09-28 Andreas Schwab <schwab@redhat.com>
8981 Ulrich Drepper <drepper@gmail.com>
8982
8983 [BZ #12489]
8984 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8985 before performing relro protection. At old place add assertion
8986 to make sure nothing changed.
8987
d3f02e10
NS
89882011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8989 Glauber de Oliveira Costa <glommer@gmail.com>
8990
8991 * elf/elf.h: Add new ARM TLS relocs.
8992
d55fd7a5
RA
89932011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8994
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8996 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8997 cast from r3.
8998 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8999 'tests' variable.
9000 * sysdeps/wordsize-64/tst-writev.c: New file.
9001
2206397e
RA
90022011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9003
9004 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9005 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9006 insns in _dl_start to prevent a TOC reference before relocs are
9007 resolved.
9008
e9433893
UD
90092011-02-15 Ulrich Drepper <drepper@gmail.com>
9010
9011 [BZ #12469]
9012 * Makeconfig: Remove RANLIB definition.
9013 * Makerules: Don't use RANLIB.
9014 * aclocal.m4: Remove ranlib test.
9015 * configure.in: No need to check for ranlib.
9016 * elf/rtld-Rules: Don't use RANLIB.
9017
f75286c6
ST
90182011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9019
8e31c82d
ST
9020 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9021 protection macro.
9022 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9023 inclusion protection macro.
9024
f75286c6
ST
9025 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9026 SIGRTMIN and SIGRTMAX and print information in that case only when
9027 SIGRTMIN is defined.
9028
c1d0e639
JJ
90292011-02-11 Jakub Jelinek <jakub@redhat.com>
9030
9031 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9032 arginfo fn returning -1.
9033
9034 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9035 and thousands string is zero terminated.
9036
edf9294e
AS
90372011-02-03 Andreas Schwab <schwab@redhat.com>
9038
9039 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9040 sysdeps/unix/sysv/linux/bits/socket.h.
9041
2b7e92df
ST
90422011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9043
edf9294e
AS
9044 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9045 (__CPU_COUNT): Remove old macros.
9046 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9047 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9048 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9049 (__sched_cpualloc, __sched_cpufree): Add declarations.
9050
a4c7ea7b
UD
90512011-02-05 Ulrich Drepper <drepper@gmail.com>
9052
9053 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9054 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9055 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9056 (readdhstai): Return value of addhstaiX call.
9057 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9058 (addgrbyX): Return value returned by cache_addgr.
9059 (readdgrbyname): Return value returned by addgrbyX.
9060 (readdgrbygid): Likewise.
9061 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9062 (addpwbyX): Return value returned by cache_addpw.
9063 (readdpwbyname): Return value returned by addhstbyX.
9064 (readdpwbyuid): Likewise.
9065 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9066 (addservbyX): Return value returned by cache_addserv.
9067 (readdservbyname): Return value returned by addservbyX:
9068 (readdservbyport): Likewise.
9069 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9070 (addhstbyX): Return value returned by cache_addhst.
9071 (readdhstbyname): Return value returned by addhstbyX.
9072 (readdhstbyaddr): Likewise.
9073 (readdhstbynamev6): Likewise.
9074 (readdhstbyaddrv6): Likewise.
9075 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9076 (readdinitgroups): Return value returned by addinitgroupsX.
9077 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9078 (prune_cache): Keep track of timeout value of re-added entries.
9079 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9080 * nscd/nscd.h: Adjust prototypes of readd* functions.
9081
a0bf67cc
RM
90822011-02-04 Roland McGrath <roland@redhat.com>
9083
9084 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9085 (nis_stats): Likewise.
9086 * nis/nis_modify.c (nis_modify): Likewise.
9087 * nis/nis_remove.c (nis_remove): Likewise.
9088 * nis/nis_add.c (nis_add): Likewise.
9089
9090 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9091
9092 * posix/fnmatch_loop.c: Add some consts.
9093
9094 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9095
435b95eb
L
90962011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9097
9098 [BZ #12460]
9099 * config.make.in (config-cflags-novzeroupper): Define.
9100 * configure.in: Substitute libc_cv_cc_novzeroupper.
9101 * elf/Makefile (AVX-CFLAGS): Define.
9102 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9103 (CFLAGS-tst-auditmod4a.c): Likewise.
9104 (CFLAGS-tst-auditmod4b.c): Likewise.
9105 (CFLAGS-tst-auditmod6b.c): Likewise.
9106 (CFLAGS-tst-auditmod6c.c): Likewise.
9107 (CFLAGS-tst-auditmod7b.c): Likewise.
9108 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9109
8517b15e
UD
91102011-02-02 Ulrich Drepper <drepper@gmail.com>
9111
9112 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9113 function to the callback.
9114 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9115
10a656fe
AS
91162011-02-02 Andreas Schwab <schwab@redhat.com>
9117
9118 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9119 of errno.
9120
968dad0a
UD
91212011-01-19 Ulrich Drepper <drepper@gmail.com>
9122
9f94d2ea 9123 [BZ #11724]
968dad0a
UD
9124 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9125 of constructors.
9126 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9127 of destructors.
9128 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9129
9130 [BZ #11724]
9131 * elf/Makefile: Add rules to build and run new test.
9132 * elf/tst-initorder.c: New file.
9133 * elf/tst-initorder.exp: New file.
9134 * elf/tst-initordera1.c: New file.
9135 * elf/tst-initordera2.c: New file.
9136 * elf/tst-initordera3.c: New file.
9137 * elf/tst-initordera4.c: New file.
9138 * elf/tst-initorderb1.c: New file.
9139 * elf/tst-initorderb2.c: New file.
9140 * elf/tst-order-a1.c: New file.
9141 * elf/tst-order-a2.c: New file.
9142 * elf/tst-order-a3.c: New file.
9143 * elf/tst-order-a4.c: New file.
9144 * elf/tst-order-b1.c: New file.
9145 * elf/tst-order-b2.c: New file.
9146 * elf/tst-order-main.c: New file.
9147 New test case by George Gensure <werkt0@gmail.com>.
9148
86e92359
UD
91492010-10-01 Andreas Schwab <schwab@redhat.com>
9150
9151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9152 decoding ACE if AI_CANONIDN.
9153
5d5732b0
UD
91542011-01-18 Ulrich Drepper <drepper@gmail.com>
9155
9156 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9157
a77e8cbc
UD
91582011-01-17 Ulrich Drepper <drepper@gmail.com>
9159
6392473f
UD
9160 * version.h (RELEASE): Bump for 2.13 release.
9161 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9162
620a0529
UD
9163 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9164
18ba70a5
UD
9165 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9166 MADV_NOHUGEPAGE.
32465c3e
UD
9167 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9168 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9169 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9170 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9171 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9172 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9173
c0dafcf1
UD
9174 * posix/getconf.c: Update copyright year.
9175 * catgets/gencat.c: Likewise.
9176 * csu/version.c: Likewise.
9177 * debug/catchsegv.sh: Likewise.
9178 * debug/xtrace.sh: Likewise.
9179 * elf/ldconfig.c: Likewise.
9180 * elf/ldd.bash.in: Likewise.
9181 * elf/sprof.c (print_version): Likewise.
9182 * iconv/iconv_prog.c: Likewise.
9183 * iconv/iconvconfig.c: Likewise.
9184 * locale/programs/locale.c: Likewise.
9185 * locale/programs/localedef.c: Likewise.
9186 * malloc/memusage.sh: Likewise.
9187 * malloc/mtrace.pl: Likewise.
9188 * nscd/nscd.c (print_version): Likewise.
9189 * nss/getent.c: Likewise.
9190
a77e8cbc
UD
9191 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9192 PF_CAIF, and PF_ALG.
9193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9194
77e8bddf
AS
91952011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9196
1f20b93a
AS
9197 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9198 (modules-names): Use them.
9199 (ifunc-test-modules, ifunc-pie-tests): Define.
9200 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9201 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9202 (test-extras): Likewise.
9203 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9204 $(compile-command.c).
9205 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9206 (all-built-dso): Define.
9207 (check-textrel.out, check-execstack.out): Depend on it.
9208
77e8bddf
AS
9209 * configure.in: Don't override --enable-multi-arch.
9210
bc425b33
UD
92112011-01-15 Ulrich Drepper <drepper@gmail.com>
9212
9213 [BZ #6812]
9214 * nscd/hstcache.c (tryagain): Define.
9215 (cache_addhst): Return tryagain not notfound for temporary errors.
9216 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9217 failed.
9218
794c3ad3
UD
92192011-01-14 Ulrich Drepper <drepper@gmail.com>
9220
70181fdd
UD
9221 [BZ #10563]
9222 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9223 to make the syscall.
9224 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9225
794c3ad3
UD
9226 [BZ #12378]
9227 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9228 and fall back to matching as normal character if the string ends before
9229 the matching ']' is found. This is what POSIX requires.
9230 * posix/testfnm.c: Adjust test result.
9231 * posix/globtest.sh: Adjust test result. Add new test.
9232 * posix/tst-fnmatch.input: Likewise.
9233 * posix/tst-fnmatch2.c: Add new test.
9234
68dc9497
AS
92352010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9236
9237 * elf/Makefile (check-execstack): Revert last change. Depend on
9238 check-execstack.h.
9239 (check-execstack.h): New target.
9240 (generated): Add check-execstack.h.
9241 * elf/check-execstack.c: Include "check-execstack.h".
9242 (main): Revert last change.
9243 (handle_file): Return zero if GNU_STACK is absent and
9244 DEFAULT_STACK_PERMS doesn't include PF_X.
9245
451f001b
UD
92462011-01-13 Ulrich Drepper <drepper@gmail.com>
9247
cfa28e56
UD
9248 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9249 in child fails because the descriptor is already closed.
8cf8ce17
UD
9250 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9251 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9252 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9253
1086d70d
UD
9254 [BZ #12397]
9255 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9256 syscall.
9257
451f001b
UD
9258 [BZ #10484]
9259 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9260 temporary buffer used to handle multi lookups locally.
a85b5cb4 9261 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9262
08769175
UD
92632011-01-12 Ulrich Drepper <drepper@gmail.com>
9264
9265 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9266 loader is ld.so.
9267
5e49c52e
UD
92682011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9269
9270 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9271 alignment for SSE2.
9272
60522a5f
UD
92732011-01-12 Ulrich Drepper <drepper@gmail.com>
9274
9275 [BZ #12394]
9276 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9277 characters. When rounding increased number of integer digits recompute
9278 number of groups.
9279 * stdio-common/tst-grouping.c: New file.
9280 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9281
f257bbd7
UD
92822011-01-09 Ulrich Drepper <drepper@gmail.com>
9283
9284 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9285 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9286
9287 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9288 void.
9289 * bits/select.h: Likewise.
9290
fa9c15cb
UD
92912011-01-08 Ulrich Drepper <drepper@gmail.com>
9292
9293 * po/ja.po: Update from translation team.
9294
16c2895f
DM
92952011-01-04 David S. Miller <davem@sunset.davemloft.net>
9296
9297 [BZ #11155]
9298 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9299 implementation just like for lxstat, fxstatat, et al.
9300
2543fef2
JM
93012010-12-27 Jim Meyering <meyering@redhat.com>
9302
9303 [BZ #12348]
9304 * posix/regexec.c (build_trtable): Return failure indication upon
9305 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9306
98727dbe
UD
93072010-12-25 Ulrich Drepper <drepper@gmail.com>
9308
5bd6dc5c
UD
9309 [BZ #12201]
9310 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9311 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9312 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9313 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9314
97983464
UD
9315 [BZ #12207]
9316 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9317
98727dbe
UD
9318 [BZ #12204]
9319 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9320 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9321
4a531bb0
L
93222010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9323
9324 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9325 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9326 script has SORT_BY_INIT_PRIORITY.
9327 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9328 NO_CTORS_DTORS_SECTIONS is defined.
9329 * elf/soinit.c: Likewise.
9330 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9331 NO_CTORS_DTORS_SECTIONS is defined.
9332 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9333 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9334 * sysdeps/sh/init-first.c: Likewise.
9335 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9336
07eb4b71
UD
93372010-12-24 Ulrich Drepper <drepper@gmail.com>
9338
9339 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9340 always use the slow path.
9341
30950a5f
RA
93422010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9343
9344 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9345 similar rule which adds the sysdep directories to the header search in
9346 order to pick up the correct platform stackinfo.h.
9347 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9348 perform test if it is, otherwise return successfully without testing.
9349 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9350 DEFAULT_STACK_PERMS define in stackinfo.h.
9351 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9352 defined in stackinfo.h.
9353 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9354 DEFAULT_STACK_PERMS defined in stackinfo.h.
9355 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9356 * sysdeps/ia64/stackinfo.h: Likewise.
9357 * sysdeps/s390/stackinfo.h: Likewise.
9358 * sysdeps/sh/stackinfo.h: Likewise.
9359 * sysdeps/sparc/stackinfo.h: Likewise.
9360 * sysdeps/x86_64/stackinfo.h: Likewise.
9361 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9362 PF_X for powerpc64. Retain PF_X for powerpc32.
9363
db753e2c
UD
93642010-12-19 Ulrich Drepper <drepper@gmail.com>
9365
14b697f7
UD
9366 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9367 accurately.
db753e2c
UD
9368 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9369 GETDENTS_64BIT_ALIGNED.
9370
28300719
UD
93712010-12-14 Ulrich Drepper <dreper@gmail.com>
9372
14b697f7 9373 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9374
4f197237
AS
93752010-12-10 Andreas Schwab <schwab@redhat.com>
9376
dbb0472f
AS
9377 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9378 _GNU_SOURCE.
9379
4f197237
AS
9380 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9381 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9382 Remove __restrict.
9383 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9384 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9385
fb88ac72
UD
93862010-12-09 Ulrich Drepper <drepper@gmail.com>
9387
9388 [BZ #11655]
9389 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9390 are initialized.
9391
42acbb92
JJ
93922010-12-09 Jakub Jelinek <jakub@redhat.com>
9393
9394 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9395
c038d98d
UD
93962010-12-03 Ulrich Drepper <drepper@gmail.com>
9397
9398 * po/it.po: Update from translation team.
9399
3a4a2499
L
94002010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9401
9402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9403 unused codes.
9404
1e24cf6e
UD
94052010-11-30 Ulrich Drepper <drepper@gmail.com>
9406
9407 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9408
a7690819
AS
94092010-11-24 Andreas Schwab <schwab@redhat.com>
9410
9411 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9412 specially.
9413 (gaih_getanswer_slice): Likewise.
9414
3bf8d1b1
JJ
94152010-10-20 Jakub Jelinek <jakub@redhat.com>
9416
9417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9418
6db52fbb
PB
94192010-05-31 Petr Baudis <pasky@suse.cz>
9420
9421 [BZ #11149]
9422 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9423 silently even in the chroot mode.
9424
eaca7569
UD
94252010-11-22 Ulrich Drepper <drepper@gmail.com>
9426
9427 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9428 last patch a bit. Pretty printing
9429
3056dcdb
UD
94302010-05-31 Petr Baudis <pasky@suse.cz>
9431
9432 [BZ #10085]
9433 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9434 initialization of skip_initgroups_dyn.
9435
cf7c9078
UD
94362010-11-19 Ulrich Drepper <drepper@gmail.com>
9437
9438 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9439 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9440
a1fb5e3e
UD
94412010-11-16 Ulrich Drepper <drepper@gmail.com>
9442
9443 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9444
3540d66b
AS
94452010-11-11 Andreas Schwab <schwab@redhat.com>
9446
9447 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9448 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9449 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9450 ($(objpfx)tst-fnmatch-mem): New rule.
9451 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9452 * posix/tst-fnmatch.c (main): Call mtrace.
9453
13b69574
L
94542010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9455
9456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9457 Support Intel processor model 6 and model 0x2c.
9458
da93d214
LM
94592010-11-10 Luis Machado <luisgpm@br.ibm.com>
9460
9461 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9462 signed comparison.
9463
8ca52c6e
L
94642010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9465
9466 [BZ #12205]
9467 * string/test-strncasecmp.c (check_result): New function.
9468 (do_one_test): Use it.
9469 (check1): New function.
9470 (test_main): Use it.
9471 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9472 Support strcasecmp and strncasecmp.
9473
69da074d
UD
94742010-11-08 Ulrich Drepper <drepper@gmail.com>
9475
9476 [BZ #12194]
9477 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9478 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9479
ff02d528
L
94802010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9481
9482 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9483 IFUNC support.
9484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9485 memset-x86-64.
9486 * sysdeps/x86_64/multiarch/bzero.S: New file.
9487 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9488 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9489 * sysdeps/x86_64/multiarch/memset.S: New file.
9490 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9492 Set bit_Prefer_SSE_for_memop for Intel processors.
9493 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9494 Define.
9495 (index_Prefer_SSE_for_memop): Define.
9496 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9497
344d0b54
LM
94982010-11-04 Luis Machado <luisgpm@br.ibm.com>
9499
9500 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9501 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9502
c0dde15b
UD
95032010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9504
9505 [BZ #12191]
9506 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9507 (__x86_64_raw_data_cache_size_half): Likewise.
9508 (__x86_64_raw_shared_cache_size): Likewise.
9509 (__x86_64_raw_shared_cache_size_half): Likewise.
9510
9511 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9512 (__x86_64_raw_data_cache_size_half): Likewise.
9513 (__x86_64_raw_shared_cache_size): Likewise.
9514 (__x86_64_raw_shared_cache_size_half): Likewise.
9515 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9516 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9517 and __x86_64_raw_shared_cache_size_half. Round
9518 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9519 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9520 to multiple of 256 bytes.
9521
0e516e0e
MS
95222010-11-03 Ulrich Drepper <drepper@gmail.com>
9523
9524 [BZ #12167]
9525 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9526 of inacessible symlinks. Verify result of symlink before returning it.
9527 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9528 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9529
0e012e87
ER
95302010-10-28 Erich Ritz <erichritz@gmail.com>
9531
9532 * math/math.h (isinf): Fix typo in comment.
9533
de0ff7bc
UD
95342010-11-01 Ulrich Drepper <drepper@gmail.com>
9535
9536 * po/da.po: Update from translation team.
9537
fa41c84d
UD
95382010-10-26 Ulrich Drepper <drepper@gmail.com>
9539
9540 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9541 is added to the list.
9542
f0967738
AK
95432010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9544 Ulrich Drepper <drepper@gmail.com>
9545
9546 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9547 the global list here. Move code to...
9548 (_dl_add_to_namespace_list): ...here. New function.
9549 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9550 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9551 * elf/dl-load.c (lose): Don't remove the element from the list.
9552 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9553 (_dl_map_object): Likewise.
9554
95552010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9556
9557 [BZ #12159]
9558 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9559 into all bytes of SSE register.
9560 Patch by Richard Li <richardpku@gmail.com>.
9561
f0967738 95622010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9563
9564 [BZ #12140]
9565 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9566 perturbing.
9567
d0b9e94f
MB
95682010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9569
9570 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9571 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9572 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9573 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9575 submachine.
9576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9577
8e9f92e9
AS
95782010-10-22 Andreas Schwab <schwab@redhat.com>
9579
9580 * include/dlfcn.h (__RTLD_SECURE): Define.
9581 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9582 mode & __RTLD_SECURE instead.
9583 (open_path): Rename preloaded parameter to secure.
9584 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9585 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9586 * elf/dl-deps.c (openaux): Likewise.
9587 * elf/rtld.c (struct map_args): Remove is_preloaded.
9588 (map_doit): Don't use it.
9589 (dl_main): Likewise.
9590 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9591 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9592
bc96fbda
AS
95932010-09-09 Andreas Schwab <schwab@redhat.com>
9594
9595 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9596 (sysd-rules-targets): Remove duplicates.
9597 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9598 rtld-%.$o dependency.
9599
22cd1c9b
AS
96002010-10-18 Andreas Schwab <schwab@redhat.com>
9601
9602 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9603 _dl_map_object do it.
9604
18edac48
UD
96052010-10-19 Ulrich Drepper <drepper@gmail.com>
9606
9607 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9608 fast fma builtins, define the macros in the C99 standard.
9609 (FP_FAST_FMAF): Likewise.
9610 (FP_FAST_FMAL): Likewise.
9611 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9612
9613 * bits/mathdef.h: Update copyright year.
9614 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9615
d2050124
MM
96162010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9617
9618 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9619 builtins, define the macros in the C99 standard.
9620 (FP_FAST_FMAF): Likewise.
9621 (FP_FAST_FMAL): Likewise.
9622 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9623 multiply/add.
9624 (FP_FAST_FMAF): Likewise.
9625
475facd1
JJ
96262010-10-15 Jakub Jelinek <jakub@redhat.com>
9627
9628 [BZ #3268]
9629 * math/libm-test.inc (fma_test): Some new testcases.
9630 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9631 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9632 y and infinite z. Do multiplication by C already in long double.
9633 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9635 y and infinite z. Do bitwise or of inexact bit into u.d.
9636 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9637 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9638 * sysdeps/i386/fpu/s_fma.S: Removed.
9639 * sysdeps/i386/fpu/s_fmal.S: Removed.
9640
7c08a05c
JJ
96412010-10-16 Jakub Jelinek <jakub@redhat.com>
9642
9643 [BZ #3268]
9644 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9646 computation is not scheduled after fetestexcept. Fix value
9647 of minimum denormal long double.
9648
f3f7372d
JJ
96492010-10-14 Jakub Jelinek <jakub@redhat.com>
9650
9651 [BZ #3268]
9652 * math/libm-test.inc (fma_test): Add some more tests.
9653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9654 correctly.
9655
14d43591
AS
96562010-10-15 Andreas Schwab <schwab@redhat.com>
9657
9658 * scripts/data/localplt-s390-linux-gnu.data: New file.
9659 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9660
5e908464
JJ
96612010-10-13 Jakub Jelinek <jakub@redhat.com>
9662
9663 [BZ #3268]
9664 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9665 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9666 instead of dbl-64.
9667 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9668 inlines.
9669 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9671 if one of x and y is very large and the other is subnormal.
9672 * sysdeps/s390/fpu/s_fmaf.c: New file.
9673 * sysdeps/s390/fpu/s_fma.c: New file.
9674 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9675 * sysdeps/powerpc/fpu/s_fma.S: New file.
9676 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9677 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9678 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9679
96802010-10-12 Jakub Jelinek <jakub@redhat.com>
9681
9682 [BZ #3268]
9683 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9684 fma tests.
9685 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9686 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9687 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9688 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9689 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9690 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9692
b833d51f
UD
96932010-10-12 Ulrich Drepper <drepper@redhat.com>
9694
9695 [BZ #12078]
9696 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9697 * posix/bug-regex31.input: Add test case.
9698
1751705d
UD
96992010-10-11 Ulrich Drepper <drepper@gmail.com>
9700
e9b9cbf5
UD
9701 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9702 * posix/bug-regex31.input: New file.
9703
9704 [BZ #12078]
9705 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9706 (parse_sub_exp): Fix last change, use postorder.
9707
ef06edbe
UD
9708 * posix/bug-regex31.c: New file.
9709 * posix/Makefile: Add rules to build and run bug-regex31.
9710
a129c80d
UD
9711 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9712
9713 [BZ #12078]
9714 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9715
b76b818e
UD
9716 [BZ #12108]
9717 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9718 to have entries in sys_siglist.
9719
1751705d
UD
9720 [BZ #12093]
9721 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9722 be NULL.
9723
9ff8d36f
JJ
97242010-10-07 Jakub Jelinek <jakub@redhat.com>
9725
9726 [BZ #3268]
9727 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9728 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9729 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9730 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9731 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9732 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9733 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9734 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9735 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9736 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9737 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9738 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9739 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9740 * math/ftestexcept.c (fetestexcept): Likewise.
9741 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9742 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9743 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9744 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9745 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9746 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9747 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9748
af325969
UD
97492010-10-11 Ulrich Drepper <drepper@gmail.com>
9750
c579b202 9751 [BZ #12107]
af325969
UD
9752 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9753 newline.
9754
67a67b95
UD
97552010-10-06 Ulrich Drepper <drepper@gmail.com>
9756
9757 * string/bug-strstr1.c: New file.
9758 * string/Makefile: Add rules to build and run bug-strstr1.
9759
5fb308bc
EB
97602010-10-05 Eric Blake <eblake@redhat.com>
9761
9762 [BZ #12092]
9763 * string/str-two-way.h (two_way_long_needle): Always clear memory
9764 when skipping input due to the shift table.
9765
45db99c7
UD
97662010-10-03 Ulrich Drepper <drepper@gmail.com>
9767
3b111893
UD
9768 [BZ #12005]
9769 * malloc/mcheck.c: Handle large requests.
9770
45db99c7
UD
9771 [BZ #12077]
9772 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9773 for strncmp and strncasecmp.
9774 * string/stratcliff.c: Add tests for strcmp and strncmp.
9775 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9776
cf7a1eb8
NI
97772010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9778
9779 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9780 __set_fpscr.
9781
6484ba5e
AJ
97822010-09-30 Andreas Jaeger <aj@suse.de>
9783
9784 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9785 (CGROUP_SUPER_MAGIC): Define.
9786 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9787 Handle btrfs and cgroup file systems.
9788 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9789 Likewise.
9790
91c42559
LM
97912010-09-27 Luis Machado <luisgpm@br.ibm.com>
9792
9793 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9794 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9795
87a97932
AK
97962010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9797
9798 [BZ #12067]
9799 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9800 trying to locate the ELF header.
9801
c21cc9bc
AS
98022010-09-27 Andreas Schwab <schwab@redhat.com>
9803
9804 [BZ #11611]
9805 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9806 Mask out sign-bit copies when constructing f_fsid.
9807
315970f6
PB
98082010-09-24 Petr Baudis <pasky@suse.cz>
9809
9810 * debug/stack_chk_fail_local.c: Add missing licence exception.
9811 * debug/warning-nop.c: Likewise.
9812
1ac7a2c7
JM
98132010-09-15 Joseph Myers <joseph@codesourcery.com>
9814
9815 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9816 implementing getdents64 using getdents syscall, set d_type if
9817 __ASSUME_GETDENTS32_D_TYPE.
9818
56801c50
AS
98192010-09-16 Andreas Schwab <schwab@redhat.com>
9820
9821 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9822 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9823
dda51327
UD
98242010-09-21 Ulrich Drepper <drepper@redhat.com>
9825
9826 [BZ #12037]
9827 * posix/unistd.h: Undo change of feature selection for ftruncate from
9828 2010-01-11.
9829
8ffcee4a
UD
98302010-09-20 Ulrich Drepper <drepper@redhat.com>
9831
a545ecd9 9832 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
9833 detection.
9834
e24f0a8b
AS
98352010-09-20 Andreas Schwab <schwab@redhat.com>
9836
9837 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9838 fanotify_mark.
9839 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9840
7291c56f
AS
98412010-09-14 Andreas Schwab <schwab@redhat.com>
9842
9843 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9844 variables after CHECK_SP call.
9845 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9846
bc5fb037
AS
98472010-09-13 Andreas Schwab <schwab@redhat.com>
9848 Ulrich Drepper <drepper@redhat.com>
9849
9850 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9851 re-relocationg ld.so.
9852 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9853 _dl_init_paths call.
9854 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9855 here anymore.
9856
e66e7419
UD
98572010-09-14 Ulrich Drepper <drepper@redhat.com>
9858
9859 * resolv/res_init.c (__res_vinit): Count the default server we added.
9860
c044aa75
CLT
98612010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9862 Ulrich Drepper <drepper@redhat.com>
9863
9864 [BZ #11968]
9865 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9866 (____longjmp_chk): Use %ebx for saving value across system call.
9867 Add unwind info.
9868
32cf4069
AS
98692010-09-06 Andreas Schwab <schwab@redhat.com>
9870
9871 * manual/Makefile: Don't mix pattern rules with normal rules.
9872
817328ee
AS
98732010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9874
9875 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9876 operation.
9877 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9878 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9879 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9880 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9881 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9882 Likewise.
9883
29fddf61
UD
98842010-09-04 Ulrich Drepper <drepper@redhat.com>
9885
9886 [BZ #11979]
9887 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9888 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9889
0959ffc9
UD
98902010-09-02 Ulrich Drepper <drepper@redhat.com>
9891
9892 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9893 * sysdeps/x86_64/addmul_1.S: Likewise.
9894 * sysdeps/x86_64/lshift.S: Likewise.
9895 * sysdeps/x86_64/mul_1.S: Likewise.
9896 * sysdeps/x86_64/rshift.S: Likewise.
9897 * sysdeps/x86_64/sub_n.S: Likewise.
9898 * sysdeps/x86_64/submul_1.S: Likewise.
9899
ece29840
ST
99002010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9901
0959ffc9
UD
9902 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9903 Define __sched_param instead of SCHED_* and sched_param when
ece29840 9904 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 9905 * bits/sched.h [__need_schedparam]
ece29840 9906 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
9907 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9908 (__defined_schedparam): Define to 1.
ece29840
ST
9909 (__sched_param): New structure, identical to sched_param.
9910 (__need_schedparam): Undefine.
9911
e53a31fe
MF
99122010-08-31 Mike Frysinger <vapier@gentoo.org>
9913
fdc0c10d
MF
9914 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9915 (epoll_create1): Declare.
9916
e53a31fe
MF
9917 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9918
a726d796
AS
99192010-08-31 Andreas Schwab <schwab@redhat.com>
9920
9921 [BZ #7066]
9922 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9923 shifting retval into place.
9924
2f3e3dc7
UD
99252010-09-01 Ulrich Drepper <drepper@redhat.com>
9926
f2933da9
UD
9927 * nis/rpcsvc/nis.h: Update copyright notice.
9928 * nis/rpcsvc/nis.x: Likewise.
9929 * nis/rpcsvc/nis_callback.h: Likewise.
9930 * nis/rpcsvc/nis_callback.x: Likewise.
9931 * nis/rpcsvc/nis_object.x: Likewise.
9932 * nis/rpcsvc/nis_tags.h: Likewise.
9933 * nis/rpcsvc/yp.h: Likewise.
9934 * nis/rpcsvc/yp.x: Likewise.
9935 * nis/rpcsvc/ypupd.h: Likewise.
9936 * nis/yp_xdr.c: Likewise.
9937 * nis/ypupdate_xdr.c: Likewise.
9938
2f3e3dc7
UD
9939 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9940 mainly the body of pmap_getport. Add parameters to specify timeouts.
9941 (pmap_getport): Use __libc_rpc_getport.
9942 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9943 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9944 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9945
f3dcc2f9
AS
99462010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9947
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9949 fanotify_mark.
9950
6d34eb5b
RM
99512010-08-27 Roland McGrath <roland@redhat.com>
9952
9953 * sysdeps/i386/i686/multiarch/Makefile
9954 (CFLAGS-varshift.c): New variable.
9955
9ea3de11
UD
99562010-08-27 Ulrich Drepper <drepper@redhat.com>
9957
c96d23fc
UD
9958 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9959 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9960
9ea3de11
UD
9961 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9962
9963 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9964
623aac7f
L
99652010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9966
9967 * sysdeps/x86_64/strlen.S: Unroll the loop.
9968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9969 strlen-sse2 strlen-sse2-bsf.
9970 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9971 __strlen_no_bsf if bit_Slow_BSF is set.
9972 (__strlen_sse42): Removed.
9973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9974 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9975
8b2b7715
RM
99762010-08-25 Roland McGrath <roland@redhat.com>
9977
9978 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9979 * sysdeps/x86_64/multiarch/varshift.c: New file.
9980 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9981 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9982 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9983 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9984
e73015f2
L
99852010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9986
9987 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9988 strlen-sse2 strlen-sse2-bsf.
9989 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9990 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9991 (__strlen_sse2): Removed.
9992 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9993 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9995 bit_Slow_BSF for Atom.
9996 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9997 (index_Slow_BSF): Define.
9998 (HAS_SLOW_BSF): Define.
9999
df24a73e
UD
100002010-08-25 Ulrich Drepper <drepper@redhat.com>
10001
10002 [BZ #10851]
10003 * resolv/res_init.c (__res_vinit): When no server address at all
10004 is given default to loopback.
10005
f2ac4868
RM
100062010-08-24 Roland McGrath <roland@redhat.com>
10007
09055553
RM
10008 * configure.in: Remove config-name.h generation.
10009 * configure: Regenerated.
10010 * config-name.in: File removed.
10011 * scripts/config-uname.sh: New file.
10012 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10013 ($(objdir)config-name.h): New target.
10014
f2ac4868
RM
10015 * sunrpc/rpc_parse.h: Avoid nested comment.
10016
73f27d5e
RH
100172010-08-24 Richard Henderson <rth@redhat.com>
10018 Ulrich Drepper <drepper@redhat.com>
10019 H.J. Lu <hongjiu.lu@intel.com>
10020
10021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10023 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10024 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10025 _mm_alignr_epi8 with _mm_loadu_si128.
10026 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10027 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10028 (__m128i_shift_right): Removed.
10029 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10030 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10031 * sysdeps/x86_64/multiarch/varshift.h: New file.
10032 * sysdeps/x86_64/multiarch/varshift.S: New file.
10033
84b9230c
MF
100342010-08-21 Mike Frysinger <vapier@gentoo.org>
10035
10036 * configure.in: Move assembler checks to before sysdep dir checking.
10037
9bbd0ddc
PB
100382010-08-20 Petr Baudis <pasky@suse.cz>
10039
10040 * LICENSES: Sync the sunrpc license.
10041
9da4bb31
UD
100422010-08-19 Ulrich Drepper <drepper@redhat.com>
10043
a7ab6ec8
UD
10044 * sunrpc/auth_des.c: Update copyright notice once again.
10045 * sunrpc/auth_none.c: Likewise.
10046 * sunrpc/auth_unix.c: Likewise.
10047 * sunrpc/authdes_prot.c: Likewise.
10048 * sunrpc/authuxprot.c: Likewise.
10049 * sunrpc/bindrsvprt.c: Likewise.
10050 * sunrpc/clnt_gen.c: Likewise.
10051 * sunrpc/clnt_perr.c: Likewise.
10052 * sunrpc/clnt_raw.c: Likewise.
10053 * sunrpc/clnt_simp.c: Likewise.
10054 * sunrpc/clnt_tcp.c: Likewise.
10055 * sunrpc/clnt_udp.c: Likewise.
10056 * sunrpc/clnt_unix.c: Likewise.
10057 * sunrpc/des_crypt.c: Likewise.
10058 * sunrpc/des_soft.c: Likewise.
10059 * sunrpc/get_myaddr.c: Likewise.
10060 * sunrpc/getrpcport.c: Likewise.
10061 * sunrpc/key_call.c: Likewise.
10062 * sunrpc/key_prot.c: Likewise.
10063 * sunrpc/openchild.c: Likewise.
10064 * sunrpc/pm_getmaps.c: Likewise.
10065 * sunrpc/pm_getport.c: Likewise.
10066 * sunrpc/pmap_clnt.c: Likewise.
10067 * sunrpc/pmap_prot.c: Likewise.
10068 * sunrpc/pmap_prot2.c: Likewise.
10069 * sunrpc/pmap_rmt.c: Likewise.
10070 * sunrpc/rpc/auth.h: Likewise.
10071 * sunrpc/rpc/auth_unix.h: Likewise.
10072 * sunrpc/rpc/clnt.h: Likewise.
10073 * sunrpc/rpc/des_crypt.h: Likewise.
10074 * sunrpc/rpc/key_prot.h: Likewise.
10075 * sunrpc/rpc/netdb.h: Likewise.
10076 * sunrpc/rpc/pmap_clnt.h: Likewise.
10077 * sunrpc/rpc/pmap_prot.h: Likewise.
10078 * sunrpc/rpc/pmap_rmt.h: Likewise.
10079 * sunrpc/rpc/rpc.h: Likewise.
10080 * sunrpc/rpc/rpc_des.h: Likewise.
10081 * sunrpc/rpc/rpc_msg.h: Likewise.
10082 * sunrpc/rpc/svc.h: Likewise.
10083 * sunrpc/rpc/svc_auth.h: Likewise.
10084 * sunrpc/rpc/types.h: Likewise.
10085 * sunrpc/rpc/xdr.h: Likewise.
10086 * sunrpc/rpc_clntout.c: Likewise.
10087 * sunrpc/rpc_cmsg.c: Likewise.
10088 * sunrpc/rpc_common.c: Likewise.
10089 * sunrpc/rpc_cout.c: Likewise.
10090 * sunrpc/rpc_dtable.c: Likewise.
10091 * sunrpc/rpc_hout.c: Likewise.
10092 * sunrpc/rpc_main.c: Likewise.
10093 * sunrpc/rpc_parse.c: Likewise.
10094 * sunrpc/rpc_parse.h: Likewise.
10095 * sunrpc/rpc_prot.c: Likewise.
10096 * sunrpc/rpc_sample.c: Likewise.
10097 * sunrpc/rpc_scan.c: Likewise.
10098 * sunrpc/rpc_scan.h: Likewise.
10099 * sunrpc/rpc_svcout.c: Likewise.
10100 * sunrpc/rpc_tblout.c: Likewise.
10101 * sunrpc/rpc_util.c: Likewise.
10102 * sunrpc/rpc_util.h: Likewise.
10103 * sunrpc/rpcinfo.c: Likewise.
10104 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10105 * sunrpc/rpcsvc/key_prot.x: Likewise.
10106 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10107 * sunrpc/rpcsvc/mount.x: Likewise.
10108 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10109 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10110 * sunrpc/rpcsvc/rex.x: Likewise.
10111 * sunrpc/rpcsvc/rstat.x: Likewise.
10112 * sunrpc/rpcsvc/rusers.x: Likewise.
10113 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10114 * sunrpc/rpcsvc/spray.x: Likewise.
10115 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10116 * sunrpc/rtime.c: Likewise.
10117 * sunrpc/svc.c: Likewise.
10118 * sunrpc/svc_auth.c: Likewise.
10119 * sunrpc/svc_authux.c: Likewise.
10120 * sunrpc/svc_raw.c: Likewise.
10121 * sunrpc/svc_run.c: Likewise.
10122 * sunrpc/svc_simple.c: Likewise.
10123 * sunrpc/svc_tcp.c: Likewise.
10124 * sunrpc/svc_udp.c: Likewise.
10125 * sunrpc/svc_unix.c: Likewise.
10126 * sunrpc/svcauth_des.c: Likewise.
10127 * sunrpc/xcrypt.c: Likewise.
10128 * sunrpc/xdr.c: Likewise.
10129 * sunrpc/xdr_array.c: Likewise.
10130 * sunrpc/xdr_float.c: Likewise.
10131 * sunrpc/xdr_mem.c: Likewise.
10132 * sunrpc/xdr_rec.c: Likewise.
10133 * sunrpc/xdr_ref.c: Likewise.
10134 * sunrpc/xdr_sizeof.c: Likewise.
10135 * sunrpc/xdr_stdio.c: Likewise.
10136
9da4bb31
UD
10137 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10138 handling.
10139
bdaa77bc
AS
101402010-08-19 Andreas Schwab <schwab@redhat.com>
10141
10142 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10143
fe2f79db
LM
101442010-08-19 Luis Machado <luisgpm@br.ibm.com>
10145
10146 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10147 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10148 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10149 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10150 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10151 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10152 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10153 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10154 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10155 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10156 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10157 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10158 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10159 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10160
b9b42ee0
AB
101612010-07-26 Anton Blanchard <anton@samba.org>
10162
10163 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10164 * malloc/arena.c (heap_trim): Likewise.
10165
1c06ba31
UD
101662010-08-16 Ulrich Drepper <drepper@redhat.com>
10167
10168 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10169 here. Not...
10170 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10171 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10172
f8392f40
L
101732010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10174
10175 * sysdeps/i386/elf/Makefile: New file.
10176
3162f12e
AS
101772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10178
10179 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10180 from fanotify_init.
10181 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10182 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10183
28c90b2c
UD
101842010-08-15 Ulrich Drepper <drepper@redhat.com>
10185
10186 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10187 of strncasecmp_l.
1feccb6c 10188 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10189
ca6bb004
UD
101902010-08-14 Ulrich Drepper <drepper@redhat.com>
10191
e9f82e0d
UD
10192 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10193 strncase_l-nonascii.
10194 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10195 Add strncase_l-ssse3.
10196 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10197 * sysdeps/x86_64/strcmp.S: Likewise.
10198 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10199 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10200 * sysdeps/x86_64/strncase.S: New file.
10201 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10202 * sysdeps/x86_64/strncase_l.S: New file.
10203 * string/Makefile (strop-tests): Add strncasecmp.
10204 * string/test-strncasecmp.c: New file.
10205
10206 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10207 warning.
10208
ca6bb004
UD
10209 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10210 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10211
052fa7b3
AS
102122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10213
10214 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10215
962dba78
UD
102162010-08-12 Ulrich Drepper <drepper@redhat.com>
10217
10218 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10219 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10220 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10221
bebff237
AM
102222010-05-01 Alan Modra <amodra@gmail.com>
10223
10224 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10225 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10226 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10227 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10228 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10229 tidying. Don't tail-call __sigjmp_save for static lib.
10230 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10231 save location.
10232 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10233 (CALL_MCOUNT): Add eh info, and nop after bl.
10234 (TAIL_CALL_SYSCALL_ERROR): New macro.
10235 (PSEUDO_RET): Use it.
10236 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10237 Correct save location of integer regs and cr.
10238 (_dl_profile_resolve): Correct cr save location. Delete nops
10239 after bl when SHARED. Reduce cfi size a little by better
10240 placement of cfi directives.
10241 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10242 make a stack frame. Instead use parm save area as a temp.
10243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10244 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10246 Don't make a stack frame for parent, use parm save area.
10247 Increase child stack frame to 112 bytes. Don't save unused reg,
10248 and adjust reg usage. Set up cfi on error recovery and
10249 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10251 (__makecontext): Add dummy nop after jump to exit.
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10253 Use correct parm save area and cr save, reduce stack frame.
10254 Correct cfi for possible PSEUDO_RET frame setup.
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10256 Branch to local label emitted by PSEUDO_RET rather than
10257 __syscall_error.
10258
02637374
AS
102592010-08-12 Andreas Schwab <schwab@redhat.com>
10260
10261 [BZ #11904]
10262 * locale/programs/locale.c (print_assignment): New function.
10263 (show_locale_vars): Use it.
10264
c3e2f19b
UD
102652010-08-11 Ulrich Drepper <drepper@redhat.com>
10266
3cdaa6ad
UD
10267 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10268 field.
10269 (struct statfs64): Likewise.
10270 (_STATFS_F_FLAGS): Define.
10271 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10272 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10273 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10274 (ST_VALID): Define locally.
10275 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10276 __statvfs_getflags, use the provided value.
10277 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10278 __ASSUME_STATFS_F_FLAGS.
10279
754f7da3
UD
10280 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10281
10b3bedc
UD
10282 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10283 Add sys/fanotify.h.
10284 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10285 fanotify_mask for GLIBC_2.13.
10286 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10287 fanotify_init and fanotify_mark.
10288 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10289 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10290
c08fb0d7
UD
10291 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10292 Add prlimit.
10293 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10294 prlimit64 for GLIBC_2.13.
10295 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10296 prlimit64.
10297 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10298 syscall.
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10300 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10301 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10302 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10303 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10304 add prlimit alias.
10305 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10306
15bac72b
UD
10307 [BZ #11903]
10308 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10309 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10310
c3e2f19b
UD
10311 * nss/Makefile: Add rules to build and run tst-nss-test1.
10312 * shlib-versions: Add entry for libnss_test1.
10313 * nss/nss_test1.c: New file.
10314 * nss/tst-nss-test1.c: New file.
10315
10316 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10317 (__nss_configure_lookup): Set appropriate entry in
10318 __nss_configure_lookup to true.
10319 * nss/nsswitch.h: Define enum with indeces of databases in
10320 databases and __nss_database_custom arrays. Declare
10321 __nss_database_custom.
10322 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10323 to avoid using nscd when custom rules are installed.
10324 * nss/getXXbyYY_r.c: Likewise.
10325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10326
10327 * nss/nss_files/files-parse.c: Whitespace fixes.
10328
f15ce4d8
UD
103292010-08-09 Ulrich Drepper <drepper@redhat.com>
10330
10331 [BZ #11883]
10332 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10333 * posix/fnmatch_loop.c: Likewise.
10334
d22e4cc9
AK
103352010-07-17 Andi Kleen <ak@linux.intel.com>
10336
10337 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10338 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10339 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10340 * Versions.def [GLIBC_2.13]: Add.
10341
805bc17d
UD
103422010-08-06 Ulrich Drepper <drepper@redhat.com>
10343
10344 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10345 Also fail if tpwd after pwuid call is NULL.
10346
5a42321d
ST
103472010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10348
10349 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10350 when converting to ms.
10351
fd3ebeda
ST
103522010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10353
10354 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10355 EOPNOTSUPP errors with ENOTTY.
10356 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10357 EOPNOTSUPP errors with ENOTTY.
10358
73507d3a
UD
103592010-07-31 Ulrich Drepper <drepper@redhat.com>
10360
10361 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10362 Add strcasecmp_l-ssse3.
10363 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10364 strcasecmp.
10365 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10366 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10367 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10368
fe36dd02
UD
103692010-07-30 Ulrich Drepper <drepper@redhat.com>
10370
66f6765a
UD
10371 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10372
42e08a54
UD
10373 * string/Makefile (strop-tests): Add strcasecmp.
10374 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10375 strcasecmp_l-nonascii.
10376 (gen-as-const-headers): Add locale-defines.sym.
10377 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10378 * sysdeps/x86_64/strcasecmp.S: New file.
10379 * sysdeps/x86_64/strcasecmp_l.S: New file.
10380 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10381 * sysdeps/x86_64/locale-defines.sym: New file.
10382 * string/test-strcasecmp.c: New file.
10383
fe36dd02
UD
10384 * string/test-strcasestr.c: Test both ends of the range of characters.
10385 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10386
48cbc0d6
RM
103872010-07-29 Roland McGrath <roland@redhat.com>
10388
76e6d6bc 10389 [BZ #11856]
48cbc0d6
RM
10390 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10391
880113d9
UD
103922010-07-27 Ulrich Drepper <drepper@redhat.com>
10393
10394 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10395 for ld.so.
10396
deb9cabb
AS
103972010-07-27 Andreas Schwab <schwab@redhat.com>
10398
10399 * manual/memory.texi (Malloc Tunable Parameters): Document
10400 M_PERTURB.
10401
1c7570ff
RM
104022010-07-26 Roland McGrath <roland@redhat.com>
10403
10404 [BZ #11840]
10405 * configure.in (-fgnu89-inline check): Set and substitute
10406 gnu89_inline, not libc_cv_gnu89_inline.
10407 * configure: Regenerated.
10408 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10409
24fb0f88
UD
104102010-07-26 Ulrich Drepper <drepper@redhat.com>
10411
10412 * string/test-strnlen.c: New file.
10413 * string/Makefile (strop-tests): Add strnlen.
10414 * string/tester.c (test_strnlen): Add a few more test cases.
10415 * string/tst-strlen.c: Better error reporting.
10416
10417 * sysdeps/x86_64/strnlen.S: New file.
10418
8e96b93a
UD
104192010-07-24 Ulrich Drepper <drepper@redhat.com>
10420
10421 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10422 lower-latency instructions.
10423
dbc676d4
UD
104242010-07-23 Ulrich Drepper <drepper@redhat.com>
10425
10426 * string/test-strcasestr.c: New file.
10427 * string/test-strstr.c: New file.
10428 * string/Makefile (strop-tests): Add strstr and strcasestr.
10429 * string/str-two-way.h: Don't undefine MAX.
10430 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10431
f6a31e0e
AS
104322010-07-21 Andreas Schwab <schwab@redhat.com>
10433
10434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10435 strcasestr-nonascii.
10436 (CFLAGS-strcasestr-nonascii.c): Define.
10437 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10438 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10439 Remove unused attribute.
10440
5dbc3b6c
RM
104412010-07-20 Roland McGrath <roland@redhat.com>
10442
10443 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10444 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10445 ld.so.cache was broken. With it, there is no way to disable dsocaps
10446 like LD_HWCAP_MASK can disable hwcaps.
10447
23d101d8
EPM
104482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10449
10450 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10451
cc9f2e47
UD
104522010-07-16 Ulrich Drepper <drepper@redhat.com>
10453
10454 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10455 call in strcasestr.
10456 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10457 __strcasestr_sse42_nonascii.
10458 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10459 strcasestr-nonascii.c.
10460 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10461
77c1b069
LM
104622010-06-15 Luis Machado <luisgpm@br.ibm.com>
10463
10464 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10465 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10466 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10467 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10468
440566c3
UD
104692010-07-09 Ulrich Drepper <drepper@redhat.com>
10470
10471 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10472 fcntl.
10473
5be9d05d
AS
104742010-07-06 Andreas Schwab <schwab@redhat.com>
10475
c30b7ee2 10476 [BZ #11577]
5be9d05d
AS
10477 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10478 dl_signal_cerror.
10479
8a492a67
UD
104802010-07-06 Ulrich Drepper <drepper@redhat.com>
10481
10482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10483 _PC_PIPE_BUF using F_GETPIPE_SZ.
10484
713df3d5
RM
104852010-07-05 Roland McGrath <roland@redhat.com>
10486
10487 * manual/arith.texi (Rounding Functions): Fix rint description
10488 implicit in round description.
10489
702e8f14
UD
104902010-07-02 Ulrich Drepper <drepper@redhat.com>
10491
10492 * elf/Makefile: Fix linking for a few tests to make recent linker
10493 happy.
10494
52ed8be9
AS
104952010-06-30 Andreas Schwab <schwab@redhat.com>
10496
10497 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10498 $(common-objpfx)libc_nonshared.a.
10499
f47c9a11
LM
105002010-06-21 Luis Machado <luisgpm@br.ibm.com>
10501
10502 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10503 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10504 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10505 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10506 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10507 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10508 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10509 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10524 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10525 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10526 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10527 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10528 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10529 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10530 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10531 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10532 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10533 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10534 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10535 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10550
6fb8cbcb
L
105512010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10552
10553 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10554 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10555 * string/memmove.c (memmove): Renamed to ...
10556 (MEMMOVE): ...this. Default to memmove.
10557 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10558 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10559 (END_CHK): Define.
10560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10561 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10562 mempcpy-ssse3-back memmove-ssse3-back.
10563 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10564 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10565 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10566 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10567 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10568 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10569 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10570 * sysdeps/x86_64/multiarch/memmove.c: New file.
10571 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10572 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10573 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10574 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10575 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10577 Define.
10578 (index_Fast_Copy_Backward): Define.
10579 (HAS_ARCH_FEATURE): Define.
10580 (HAS_FAST_REP_STRING): Define.
10581 (HAS_FAST_COPY_BACKWARD): Define.
10582
4e733bac 105832010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10584
10585 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10586 Restore proper fallback handling.
10587
63c4ed22
UD
105882010-06-19 Ulrich Drepper <drepper@redhat.com>
10589
ac2b484c
UD
10590 [BZ #11701]
10591 * posix/group_member.c (__group_member): Correct checking loop.
10592
63c4ed22
UD
10593 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10594 OOM in getpwuid_r correctly. Return error number when the caller
10595 should return, otherwise -1.
10596 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10597 call returning > 0 value.
10598 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10599
765ade4b
AS
106002010-06-07 Andreas Schwab <schwab@redhat.com>
10601
10602 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10603 libc_nonshared.a from targets in modules-names.
10604
80da2e09
KS
106052010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10606
10607 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10608 requires it.
10609
158db122
LM
106102010-06-10 Luis Machado <luisgpm@br.ibm.com>
10611
10612 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10613 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10614 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10615 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10616
caa78cf8
AS
106172010-06-02 Andreas Schwab <schwab@redhat.com>
10618
10619 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10620
b2ef2c01
UD
106212010-06-14 Ulrich Drepper <drepper@redhat.com>
10622
10623 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10624 and F_GETPIPE_SZ.
10625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10629 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10630 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10631
fbd643b6
RM
106322010-06-14 Roland McGrath <roland@redhat.com>
10633
10634 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10635
f32f2869
JJ
106362010-06-07 Jakub Jelinek <jakub@redhat.com>
10637
10638 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10639 __REDIRECT followed by __THROW.
10640 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10641 * posix/getopt.h (getopt): Likewise.
10642
2a50c078
EPM
106432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10644
10645 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10646 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10647 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10648 in AT_FLAGS.
10649 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10650 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10651
eb5ad2eb
LM
106522010-05-28 Luis Machado <luisgpm@br.ibm.com>
10653
10654 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10655
3c88fe1e
L
106562010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10657
10658 [BZ #11640]
10659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10660 Properly check family and model.
10661
d2f73151
TY
106622010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10663
10664 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10665
ebd2e13d
LM
106662010-05-24 Luis Machado <luisgpm@br.ibm.com>
10667
10668 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10669
b32b8b45
UD
106702010-05-21 Ulrich Drepper <drepper@redhat.com>
10671
10672 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10673 symbol reference.
10674
9acbe24d
AS
106752010-05-19 Andreas Schwab <schwab@redhat.com>
10676
10677 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10678 symbol reference.
10679
f0ccf6ea
AS
106802010-05-21 Andreas Schwab <schwab@redhat.com>
10681
3d04ff3a
AS
10682 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10683 and internal_recvmmsg.
10684 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10685 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10686 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10687 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10688
f0ccf6ea
AS
10689 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10690 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10691 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10692
5b08ac57
AS
106932010-05-20 Andreas Schwab <schwab@redhat.com>
10694
10695 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10696
4828935d
LM
106972010-05-17 Luis Machado <luisgpm@br.ibm.com>
10698
10699 POWER7 optimizations.
10700 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10701 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10702
373d545e
UD
107032010-05-19 Ulrich Drepper <drepper@redhat.com>
10704
10705 * version.h: Update for 2.13 development version.
10706
21a2b1ae
AS
107072010-05-12 Andrew Stubbs <ams@codesourcery.com>
10708
10709 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10710 exceptions. Return 0.
10711
3f7dcb2b
RM
107122010-05-07 Roland McGrath <roland@redhat.com>
10713
10714 * elf/ldconfig.c (main): Add a const.
10715
5f24d53a 107162010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10717
a160f8d8
UD
10718 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10719 (args_options): Add no-idn option.
10720 (ahosts_keys_int): Add idn_flags to ai_flags.
10721 (parse_option): Handle 'i' option to clear idn_flags.
10722
5f24d53a
UD
10723 * malloc/malloc.c (_int_free): Possible race in the most recently
10724 added check. Only act on the data if no current modification
10725 happened.
265bb1ce
UD
10726
10727See ChangeLog.17 for earlier changes.