]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix whitespace
[thirdparty/glibc.git] / ChangeLog
CommitLineData
dd62fda6
AB
12012-03-27 Anton Blanchard <anton@samba.org>
2
3 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4 MAP_HUGETLB.
5 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8
1e3cdfda
AJ
92012-03-27 David S. Miller <davem@davemloft.net>
10
b855ab85
DM
11 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12
1e3cdfda
AJ
13 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14 have-as-vis3 check.
15
162012-03-27 Andreas Jaeger <aj@suse.de>
17
18 * sysdeps/x86_64/elf/configure.in: Moved to ...
19 * sysdeps/x86_64/configure.in: ... here.
20 * sysdeps/x86_64/elf/start.S: Moved to ...
21 * sysdeps/x86_64/start.S: ... here.
22 * sysdeps/x86_64/elf/configure: Delete.
23
24 * sysdeps/x86_64/configure.in: Merge contents from
25 sysdeps/i386/configure.in (without i686 check).
26
27 * sysdeps/i386/elf/Versions: Merge into ...
28 * sysdeps/i386/Versions: ... this.
29 * sysdeps/i386/elf/Versions: Delete file.
30 * sysdeps/i386/elf/start.S: Moved to ...
31 * sysdeps/i386/start.S: ...here.
32 * sysdeps/i386/elf/configure.in: Merge into...
33 * sysdeps/i386/configure.in: ...here.
34 * sysdeps/i386/elf/configure.in: Delete file.
35 * sysdeps/i386/elf/configure: Delete file.
36
37 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38 * debug/backtracesyms.c: ... here.
39 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40 * debug/backtracesymsfd.c: ... here.
41 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42 * sysdeps/generic/ifunc-sel.h: ... here.
43
44 * sysdeps/unix/i386/start.c: Delete file.
45 * sysdeps/unix/sparc/start.c: Delete file.
46 * sysdeps/unix/start.c: Delete file.
47
48 * sysdeps/sh/elf/configure.in: Moved to ...
49 * sysdeps/sh/configure.in: ... here.
50 * sysdeps/sh/elf/start.S: Moved to ...
51 * sysdeps/sh/start.S: ... here.
52 * sysdeps/sh/elf/configure: Delete file.
53
54 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
56 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
57 * sysdeps/powerpc/powerpc64/entry.h: ... here.
58 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
59 * sysdeps/powerpc/powerpc64/start.S: here.
60 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61 * sysdeps/powerpc/powerpc64/Makefile: ... this.
62 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
63 * sysdeps/powerpc/powerpc64/configure.in: ... this.
64 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
65
66 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69 * sysdeps/powerpc/powerpc32/start.S: ... here.
70 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
71 * sysdeps/powerpc/powerpc32/configure.in: ... this.
72 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
73
74 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
75 * sysdeps/powerpc/ifunc-sel.h: ... here.
76 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
77 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78
79 * sysdeps/sparc/elf/configure.in: Moved to ...
80 * sysdeps/sparc/configure.in: ... here.
81 * sysdeps/sparc/elf/configure: Delete file.
82 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
83 * sysdeps/sparc/sparc32/start.S: ... here.
84 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85 * sysdeps/sparc/sparc64/start.S: ... here.
86 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
87 * sysdeps/sparc/sparc32/Makefile: ... this.
88 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
89 * sysdeps/sparc/sparc64/Makefile: ... this.
90
91 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
92 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
93 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
94 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
95 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
96 * sysdeps/s390/s390-32/setjmp.S: ... here.
97 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
98 * sysdeps/s390/s390-32/configure.in: ... here.
99 * sysdeps/s390/s390-32/elf/configure: Delete file.
100 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
101 * sysdeps/s390/s390-32/start.S: ... here.
102
103 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
104 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
105 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
106 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
107 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
108 * sysdeps/s390/s390-64/setjmp.S: ... here.
109 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
110 * sysdeps/s390/s390-64/configure.in: ... here
111 * sysdeps/s390/s390-64/elf/configure: Delete file.
112 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
113 * sysdeps/s390/s390-64/start.S: ... here.
114 * sysdeps/s390/s390-64/elf/configure: Delete.
115
116 * configure.in: Remove support for elf directories in sysdeps.
117
118 * configure: Regenerated.
119 * sysdeps/i386/configure: Regenerated.
120 * sysdeps/powerpc/powerpc32/configure: Regenerated.
121 * sysdeps/powerpc/powerpc64/configure: Regenerated.
122 * sysdeps/s390/s390-32/configure: Regenerated.
123 * sysdeps/s390/s390-64/configure: Regenerated.
124 * sysdeps/sh/configure: Regenerated.
125 * sysdeps/sparc/configure: Regenerated.
126 * sysdeps/x86_64/configure: Regenerated.
127
a3f61311
AS
1282012-03-26 Andreas Schwab <schwab@linux-m68k.org>
129
c876e002
AS
130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
131
a3f61311
AS
132 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
133 denormal result into account.
134
ac4c54f0
RM
1352012-03-25 Roland McGrath <roland@hack.frob.com>
136
137 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
138 Reported by Allan McRae <allan@archlinux.org>.
139
6a9b9c02
JL
1402012-03-23 Jeff Law <law@redhat.com>
141
142 * nss/getnssent.c (__nss_getent): Fix typo.
143
4c42a0c1
DM
1442012-03-23 David S. Miller <davem@davemloft.net>
145
146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
147
1532c7ac
L
1482012-03-23 H.J. Lu <hongjiu.lu@intel.com>
149
150 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
151 to pad to uint64_t for each field.
152 (dl_tls_index): Replace unsigned long with uint64_t.
153
3ff42526
PP
1542012-03-23 Daniel Jacobowitz <dmj@google.com>
155 Paul Pluzhnikov <ppluzhnikov@google.com>
156
157 [BZ #6528]
158 * grp/Makefile (otherlibs): Don't set it.
159 * inet/Makefile (otherlibs): Likewise.
160 * login/Makefile (otherlibs): Likewise.
161 * nscd/Makefile (otherlibs): Likewise.
162 * posix/Makefile (otherlibs): Likewise.
163 * pwd/Makefile (otherlibs): Likewise.
164 * rt/Makefile (otherlibs): Likewise.
165 * sunrpc/Makefile (otherlibs): Likewise.
166 * nss/Makefile (otherlibs): Likewise.
167 Add libnss_files to routines and static-only-routines.
168 ($(objpfx)getent): Remove rule.
169 * resolv/Makefile: Add libnss_dns and libresolv to routines and
170 static-only-routines.
171
7c69cd14
JM
1722012-03-22 Joseph Myers <joseph@codesourcery.com>
173
174 [BZ #13892]
175 * math/s_cexp.c: Include <float.h>.
176 (__cexp): Handle exp result overflowing not necessarily
177 overflowing both real and imaginary parts of result.
178 * math/s_cexpf.c: Likewise.
179 * math/s_cexpl.c: Likewise.
180 * math/libm-test.inc (cexp_test): Add more tests.
181 * sysdeps/i386/fpu/libm-test-ulps: Update.
182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
183
81b035fe
L
1842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
185
186 * include/link.h (ELFW): New macro.
187 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
188 Replace ELF64_R_TYPE with ELFW(R_TYPE).
189
1da7940c
L
1902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
191
192 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
193 with uint64_t.
194
b749dbb9
L
1952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
196
197 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
198 declaration.
199 (struct La_x32_retval): Likewise.
200
2ff87f3f
L
2012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
202
203 * sysdeps/x86_64/preconfigure.in: New file.
204 * sysdeps/x86_64/preconfigure: New generated file.
205
c0df8e69
JM
2062012-03-22 Joseph Myers <joseph@codesourcery.com>
207
48e44791
JM
208 [BZ #13824]
209 * math/e_exp2l.c: Include <float.h>.
210 (__ieee754_exp2l): Handle overflow and underflow cases
211 separately. Only pass fractional part of argument to
212 __ieee754_expl.
213 * math/libm-test.inc (exp2_test): Add more tests.
214
c0df8e69
JM
215 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
216 negating x to take absolute value.
217 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
218 Likewise.
219 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
220 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
221 Likewise.
222 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
223 computing low part if x was negated.
224 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
225
c8e43ba7
L
2262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
227
228 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
229 la_x32_gnu_pltexit.
230 (pltexit): Cast int_retval to ptrdiff_t.
231 * elf/tst-auditmod3b.c: Likewise.
232 * elf/tst-auditmod4b.c: Likewise.
233 * elf/tst-auditmod5b.c: Likewise.
234 * elf/tst-auditmod6b.c: Likewise.
235 * elf/tst-auditmod6c.c: Likewise.
236 * elf/tst-auditmod7b.c: Likewise.
237
238 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
239 and x32_gnu_pltexit.
240
241 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
242 __ELF_NATIVE_CLASS.
243 (La_x32_regs): New macro.
244 (La_x32_retval): Likewise.
245 (la_x32_gnu_pltenter): New function prototype.
246 (la_x32_gnu_pltexit): Likewise.
247
7998fa78
AS
2482012-03-21 Andreas Schwab <schwab@linux-m68k.org>
249
dcb33988
AS
250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
251 exponent.
252
233fc563
AS
253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
254
7998fa78
AS
255 * configure.in (libc_cv_cc_nofma): Check for option to disable
256 generation of FMA instructions.
257 * configure: Regenerate.
258 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
259 * sysdeps/ieee754/dbl-64/Makefile: New file.
260 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
261 Remove brandred-fma4.
262 (CFLAGS-brandred-fma4.c): Remove.
263 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
264 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
265 define.
266 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
267 define.
268
8e95c99a
L
2692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
270
271 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
272 LLONG_MAX != LONG_MAX.
273 (_itoa_word): Use _ITOA_WORD_TYPE on value.
274 (_fitoa_word): Likewise.
275 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
276 LLONG_MAX != LONG_MAX.
277 * stdio-common/_itowa.h: Include <_itoa.h>.
278 (_itowa_word): Use _ITOA_WORD_TYPE on value.
279 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
280 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
281 only if not defined.
282 (_ITOA_WORD_TYPE): Likewise.
283 (_itoa_word): Use _ITOA_WORD_TYPE on value.
284 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
285
6f4db457
DM
2862012-03-21 David S. Miller <davem@davemloft.net>
287
288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
289
7785fe5a
L
2902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
291
292 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
293 of x86_64 when setting libc_cv_slibdir, libdir and
294 libc_cv_localedir.
295 * sysdeps/unix/sysv/linux/configure: Regenerated.
296
4535cd55
JM
2972012-03-21 Joseph Myers <joseph@codesourcery.com>
298
299 * manual/lang.texi (Old Varargs): Remove section.
300 (How Variadic): Update menu.
301 (va_start): Do not mention varargs.h.
302
17228132
TS
3032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
304 Joseph Myers <joseph@codesourcery.com>
305
306 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
307 link test.
308 * configure: Regenerated.
309
8149f976
TS
3102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
311
312 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
313 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
314 conformtest.pl
315
1a4ac776
JM
3162012-03-21 Joseph Myers <joseph@codesourcery.com>
317
be22ce65
JM
318 * NOTES: Remove.
319 * Makefile (files-for-dist): Remove NOTES.
320 (NOTES): Remove rule.
321 * README: Don't refer to NOTES.
322 * manual/creature.texi: Don't include macros.texi.
323 * manual/intro.texi (creature.texi): Remove comment referring to
324 NOTES.
325
40b601fb
JM
326 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
327 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
328 * configure: Regenerated.
329 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
330 LIBC_TRY_CC_OPTION.
331 (libc_cv_as_i686): Likewise.
332 (libc_cv_cc_avx): Likewise.
333 (libc_cv_cc_sse2avx): Likewise.
334 (libc_cv_cc_fma4): Likewise.
335 (libc_cv_cc_novzeroupper): Likewise.
336 * sysdeps/i386/configure: Regenerated.
337
1a4ac776
JM
338 [BZ #13883]
339 * sysdeps/i386/fpu/s_cexp.S: Remove.
340 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
341 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
342 * math/libm-test.inc (cexp_test): Add more tests.
343 * sysdeps/i386/fpu/libm-test-ulps: Update.
344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
345
a458e7fe
AM
3462012-03-21 Allan McRae <allan@archlinux.org>
347
348 * timezone/Makefile: Do not install iso3166.tab and zone.tab
349
0cb7efc5
JM
3502012-03-21 Joseph Myers <joseph@codesourcery.com>
351
352 [BZ #13871]
353 * math/w_exp2.c: Do not include <float.h>.
354 (o_threshold, u_threshold): Remove.
355 (__exp2): Calculate result before checking finiteness and calling
356 __kernel_standard.
357 * math/w_exp2f.c: Likewise.
358 * math/w_exp2l.c: Likewise.
359 * math/libm-test.inc (exp2_test): Require overflow exception for
360 1e6 input.
2460d3aa
JM
361
362 [BZ #3866]
363 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
364 range of signed 64-bit integers before using fistpll. Remove
365 checks for whether integers fit in mantissa bits.
366 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
367 the range of signed 32-bit integers before using fistpl. Remove
368 checks for whether integers fit in mantissa bits.
369 * sysdeps/i386/fpu/e_powl.S (p64): New object.
370 (__ieee754_powl): Test for y outside the range of signed 64-bit
371 integers before using fistpll. Reduce 64-bit values to 63-bit
372 ones as needed.
373 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
374 divide-by-zero is raised for zero to large negative powers.
375 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
376 (__ieee754_powl): Test for y outside the range of signed 64-bit
377 integers before using fistpll. Reduce 64-bit values to 63-bit
378 ones as needed.
379 * math/libm-test.inc (pow_test): Add more tests.
380
eb96ffb0
L
3812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
382
383 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
384 <stdio-common/_itoa.h>.
385 * debug/segfault.c: Likewise.
386 * elf/dl-cache.c: Likewise.
387 * elf/dl-minimal.c: Likewise.
388 * elf/dl-misc.c: Likewise.
389 * elf/dl-sysdep.c: Likewise.
390 * elf/dl-version.c: Likewise.
391 * elf/rtld.c: Likewise.
392 * hurd/hurdsock.c: Likewise.
393 * hurd/lookup-retry.c: Likewise.
394 * malloc/malloc.c: Likewise.
395 * malloc/mtrace.c: Likewise.
396 * nscd/nscd_getgr_r.c: Likewise.
397 * nscd/nscd_getpw_r.c: Likewise.
398 * nscd/nscd_getserv_r.c: Likewise.
399 * posix/getopt_init.c: Likewise.
400 * posix/wordexp.c: Likewise.
401 * stdio-common/_itoa.c: Likewise.
402 * stdio-common/printf_fphex.c: Likewise.
403 * stdio-common/vfprintf.c: Likewise.
404 * string/_strerror.c: Likewise.
405 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
406 * sysdeps/i386/i686/hp-timing.h: Likewise.
407 * sysdeps/mach/_strerror.c: Likewise.
408 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
409 * sysdeps/mach/hurd/sethostid.c: Likewise.
410 * sysdeps/mach/hurd/xmknodat.c: Likewise.
411 * sysdeps/mach/xpg-strerror.c: Likewise.
412 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
413 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
414 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
415 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
416 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
417 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
418 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
419 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
420 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
421 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
422 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
423 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
424 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
425 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
426 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
427 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
428 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
429 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
430 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
431 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
432 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
433
434 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
435
436 * stdio-common/_itoa.h: Moved to ...
437 * sysdeps/generic/_itoa.h: Here.
438
439 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
440
441 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
442 instead of "_itoa.h" and "_itowa.h".
443 * stdio-common/vfprintf.: Likewise.
444
d1af992d
L
4452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
446
447 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
448 <bits/wordsize.h>.
449 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
450 (__signbit): Likwise.
451 (llrintf): Likwise.
452 (llrint): Likwise.
453
114883e0
L
4542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
455
456 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
457 __WORDSIZE != 64.
458
c135cc1b
JM
4592012-03-20 Joseph Myers <joseph@codesourcery.com>
460
461 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
462 OVERFLOW_EXCEPTION_OK.
463 * math/libm-test.inc ("Philosophy"): Update comment about
464 exception testing.
465 (OVERFLOW_EXCEPTION): Define.
466 (OVERFLOW_EXCEPTION_OK): Likewise.
467 (INVALID_EXCEPTION_OK): Renumber.
468 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
469 (IGNORE_ZERO_INF_SIGN): Likewise.
470 (test_exceptions): Handle FE_OVERFLOW.
471 (exp10_test): Expect overflow exceptions.
472 (exp2_test): Likewise.
473 (expm1_test): Likewise.
474 (nextafter_test): Likewise.
475 (pow_test): Likewise.
476 (scalbn_test): Likewise.
477 (scalbln_test): Likewise.
478
95443d88
L
4792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
480
481 * sysdeps/x86_64/bits/atomic.h
482 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
483 64bit integer.
484 (atomic_exchange_acq): Likewise.
485 (__arch_exchange_and_add_body): Likewise.
486 (__arch_add_body): Likewise.
487 (atomic_add_negative): Likewise.
488 (atomic_add_zero): Likewise.
489
490df6c4
L
4902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
491
c2722551 492 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
493 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
494
5e52b189
L
4952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
496
497 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
498 Check __x86_64__ instead of __WORDSIZE.
499
a9879d4c
L
5002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
501
502 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
503
5df98260
DM
5042012-03-19 David S. Miller <davem@davemloft.net>
505
e1497744
DM
506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
507
5df98260
DM
508 * sysdeps/sparc/fpu/fenv_private.h: New file.
509 * sysdeps/sparc/fpu/math_private.h: Use it.
510 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
511 Remove.
512 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
513 (libc_feholdexcept_setroundl): Remove.
514 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
515 Remove.
516 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
517 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
518
b4c35121
L
5192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
520
521 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
522 int64_t instead of long int.
523 (INSERT_WORDS64): Likwise.
524
56965fd7
L
5252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
526
527 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
528 _Unwind_GetCFA return to _Unwind_Ptr first.
529
83d1aec8
JM
5302012-03-19 Joseph Myers <joseph@codesourcery.com>
531
1897ad44
JM
532 [BZ #13629]
533 * math/s_clog.c: Include <float.h>.
534 (__clog): Scale large or subnormal inputs.
535 * math/s_clogf.c: Likewise.
536 * math/s_clogl.c: Likewise.
537 * math/s_clog10.c: Include <float.h>.
538 (M_LOG10_2): Define.
539 (__clog10): Scale large or subnormal inputs.
540 * math/s_clog10f.c: Likewise.
541 * math/s_clog10l.c: Likewise.
542 * math/libm-test.inc (clog_test): Add more tests.
543 (clog10_test): Likewise.
544 * sysdeps/i386/fpu/libm-test-ulps: Update.
545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
546
7726d6a9
JM
547 [BZ #11451]
548 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
549 x and y.
550 * math/libm-test.inc (atan2_test): Add another test.
551
83d1aec8
JM
552 * Makerules (common-objdir-compile): Remove.
553 * sysdeps/unix/Makefile (config-generated): Do not add
554 $(unix-generated) to variable.
555 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
556 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
557 Remove rule.
558 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
559 Likewise.
560 [generic bits/local_lim.h] (before-compile): Do not append to
561 variable.
562 [generic bits/local_lim.h] (common-generated): Likewise.
563 [generic sys/param.h] (before-compile): Do not append to variable.
564 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
565 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
566 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
567 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
568 include.
569 [generic sys/param.h] (sys/param.h-includes): Remove variable.
570 [generic sys/param.h] (sys/param.h-includes): Remove rule.
571 [generic sys/param.h] ($(addprefix
572 $(common-objpfx),$(sys/param.h-includes))): Likewise.
573 [generic sys/param.h] (common-generated): Do not append to
574 variable.
575 [generic sys/param.h] (sysdep_headers): Likewise.
576 [generic bits/errno.h] (before-compile): Do not append to
577 variable.
578 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
579 rule.
580 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
581 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
582 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
583 [generic bits/errno.h] (common-generated): Do not append to
584 variable.
585 [generic bits/ioctls.h] (before-compile): Do not append to
586 variable.
587 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
588 rule.
589 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
590 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
591 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
592 rule.
593 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
594 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
595 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
596 [generic bits/ioctls.h] (common-generated): Do not append to
597 variable.
598 [generic sys/syscall.h] (syscall.h): Remove variable.
599 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
600 rule.
601 [generic sys/syscall.h] (before-compile): Do not append to
602 variable.
603 [generic sys/syscall.h] (common-generated): Likewise.
604 * sysdeps/unix/errnos-tmpl.c: Remove file.
605 * sysdeps/unix/errnos.awk: Likewise.
606 * sysdeps/unix/ioctls-tmpl.c: Likewise.
607 * sysdeps/unix/ioctls.awk: Likewise.
608 * sysdeps/unix/mk-local_lim.c: Likewise.
609 * sysdeps/unix/snarf-ioctls: Likewise.
610
4851a949
RH
6112012-03-19 Richard Henderson <rth@twiddle.net>
612
bd37f2ee
RH
613 * sysdeps/i386/fpu/fenv_private.h: New file.
614 * sysdeps/i386/fpu/math_private.h: Use it.
615 (math_opt_barrier, math_force_eval): Remove.
616 (libc_feholdexcept_setround_53bit): Remove.
617 (libc_feupdateenv_53bit): Remove.
618 * sysdeps/x86_64/fpu/math_private.h: Likewise.
619 (math_opt_barrier, math_force_eval): Remove.
620 (libc_feholdexcept): Remove.
621 (libc_feholdexcept_setround): Remove.
622 (libc_fetestexcept, libc_fesetenv): Remove.
623 (libc_feupdateenv_test): Remove.
624 (libc_feupdateenv, libc_feholdsetround): Remove.
625 (libc_feresetround): Remove.
626
d0adc922
RH
627 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
628 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
629
0fe0f1f8
RH
630 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
631 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
632 (libc_feupdateenv_testl): New.
633 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
634 (libc_feupdateenv_testf): New.
635 (libc_feupdateenv): Use libc_feupdateenv_test.
636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
637 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
638
eb92c487
RH
639 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
640 (libc_feholdsetroundf, libc_feholdsetroundl): New.
641 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
642 (libc_feresetround_noex): New.
643 (libc_feresetround_noexf): New.
644 (libc_feresetround_noexl): New.
645 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
646 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
647 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
648 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
649 SET_RESTORE_ROUND.
650 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
651 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
652 (__cos): Likewise.
653 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
654 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
655 SET_RESTORE_ROUND_NOEX.
656 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
657 SET_RESTORE_ROUND_NOEXF.
658 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
659 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
660 (libc_feholdsetroundf): New.
661 (libc_feresetround, libc_feresetroundf): New.
662
7d2e8012
RH
663 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
664 (libc_feholdexcept_setround_53bit): Convert from macro to function.
665 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
666
b4dabbb4
RH
667 * sysdeps/generic/math_private.h: Include <fenv.h>.
668 (default_libc_feholdexcept): New.
669 (default_libc_feholdexcept_setround): New.
670 (default_libc_fesetenv, default_libc_feupdateenv): New.
671 (libc_feholdexcept): Only define if undefined.
672 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
673 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
674 (libc_feholdexcept_setroundl): Likewise.
675 (libc_feholdexcept_setround_53bit): Likewise.
676 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
677 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
678 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
679 (libc_feupdateenv_53bit): Likewise.
680 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
681 (libc_feholdexcept): Convert from macro to inline function.
682 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
683 (libc_fesetenv, libc_feupdateenv): Likewise.
684
4851a949
RH
685 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
686 not previously defined.
687 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
688 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
689 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
690 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
691 * sysdeps/ieee754/flt-32/math_private.h: New file.
692 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
693 math_private.h below SET_FLOAT_WORD.
694 (__isnan, __isinf_ns, __finite): Remove.
695 (__isnanf, __isinf_nsf, __finitef): Remove.
696
e79d442e
AS
6972012-03-18 Andreas Schwab <schwab@linux-m68k.org>
698
699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
700
90b80344
DM
7012012-03-17 David S. Miller <davem@davemloft.net>
702
703 [BZ #6471]
704 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
705 for 2.16.
706
edc21804
DM
7072012-03-16 David S. Miller <davem@davemloft.net>
708
77e927af
DM
709 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
710 warnings.
711
374976dd
DM
712 [BZ #6471]
713 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
714 properly.
715 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
716 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
717 sysdep_routines when subdir is sysvipc.
718 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
719 __getshmlba helper.
720
edc21804
DM
721 * sysdeps/sparc/fpu/libm-test/ulps: Update.
722
473c3ef3
L
7232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
724
725 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
726 [__LP64__].
727
eb0f39b6
L
7282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
729
730 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
731 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
732 (__lround): Renamed to ...
733 (__llround): This. Replace long int with long long int.
734 Define lround functions as aliases of llround functions.
735 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
736
6b6cd74b
L
7372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
738
739 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
740 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
741 adresses to uintptr_t. Replace "long int" and "unsigned long
742 int" with "greg_t" on va_arg.
743
f1a77b01
L
7442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
745
746 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
747 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
748
749 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
750 Move e_machine check before EI_CLASS check. Handle x32
751 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
752 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
753 SKIP_EM_IA_64 and include
754 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
755
756 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
757 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
758 (add_system_dir): New macro.
759
760 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
761 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
762
11b90b9f
JM
7632012-03-16 Joseph Myers <joseph@codesourcery.com>
764
c36e1d23
JM
765 [BZ #2551]
766 [BZ #2552]
767 [BZ #2553]
768 [BZ #2554]
769 [BZ #2562]
770 [BZ #2563]
771 [BZ #2565]
772 [BZ #2566]
773 [BZ #2576]
774 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
775 (y0): Likewise.
776 * math/w_j0f.c (j0f): Likewise.
777 (y0f): Likewise.
778 * math/w_j0l.c (__j0l): Likewise.
779 (__y0l): Likewise.
780 * math/w_j1.c (j1): Likewise.
781 (y1): Likewise.
782 * math/w_j1f.c (j1f): Likewise.
783 (y1f): Likewise.
784 * math/w_j1l.c (__j1l): Likewise.
785 (__y1l): Likewise.
786 * math/w_jn.c (jn): Likewise.
787 (yn): Likewise.
788 * math/w_jnf.c (jnf): Likewise.
789 (ynf): Likewise.
790 * math/w_jnl.c (__jnl): Likewise.
791 (__ynl): Likewise.
792 * math/libm-test.inc (j0_test): Add more tests.
793 (j1_test): Likewise.
794 (jn_test): Likewise. Add trailing semicolon to existing test.
795 (y0_test): Likewise.
796 (y1_test): Likewise.
797 * sysdeps/i386/fpu/libm-test-ulps: Update.
798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
799
11b90b9f
JM
800 [BZ #13851]
801 [BZ #13854]
802 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
803 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
804 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
805 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
806 (__tanl): Set errno for infinite argument.
807 * sysdeps/i386/fpu/mptan.c: Remove.
808 * sysdeps/i386/fpu/s_tan.S: Likewise.
809 * sysdeps/i386/fpu/s_tanl.S: Likewise.
810 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
811 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
812 * math/libm-test.inc (tan_test): Add more tests and enable more
813 tests for double and long double.
814 * sysdeps/i386/fpu/libm-test-ulps: Update.
815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
816
6a1bd2a1
JK
8172012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
818
819 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
820 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
821
10a803e0
RM
8222012-03-16 Roland McGrath <roland@hack.frob.com>
823
824 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
825 * configure.in: Use it for both main tree and add-ons.
826 * configure: Regenerated.
827
f196c7f7
L
8282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
829
830 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
831
8848d99d
JM
8322012-03-16 Joseph Myers <joseph@codesourcery.com>
833
96cbe7f4
JM
834 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
835 in comment.
836
8848d99d
JM
837 [BZ #13851]
838 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
839 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
840 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
841 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
842 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
843 infinite argument.
844 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
845 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
846 != 0 for prec == 2.
847 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
848 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
849 * sysdeps/i386/fpu/s_cosl.S: Likewise.
850 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
851 * sysdeps/i386/fpu/s_sinl.S: Likewise.
852 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
853 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
854 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
855 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
856 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
857 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
858 * math/libm-test.inc (cos_test): Add more tests and enable more
859 tests for long double.
860 (sin_test): Likewise.
861 (sincos_test): Likewise.
862 * sysdeps/i386/fpu/libm-test-ulps: Update.
863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
864
dd7f4703
DM
8652012-03-16 David S. Miller <davem@davemloft.net>
866
867 * sysdeps/sparc/fpu/math_private.h: New file.
868
006f1daa
DM
8692012-03-15 David S. Miller <davem@davemloft.net>
870
c0c83bc8
DM
871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
872 file.
e6a62e18 873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
875 file.
e6a62e18
DM
876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
881 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
882 sysdep routines.
883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
884
88cb87d9
DM
885 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
886 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
887
006f1daa 888 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
890 sparc-ifunc.h
006f1daa 891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
893 Likewise.
894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
895 Likewise.
006f1daa
DM
896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
900 Likewise.
006f1daa
DM
901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
906 Likewise.
907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
908 Likewise.
006f1daa
DM
909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
915 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
916 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
927 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
928 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
929 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
930 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
933
11e0098e
AS
9342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
935
936 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
937 scaling.
938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
939
e85b09d0
AJ
9402012-03-15 Andreas Jaeger <aj@suse.de>
941
942 [BZ #13852]
943 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
944 ieee754/flt-32 implementation for sin, cos and sincos.
945 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
946 * sysdeps/i386/fpu/s_cosf.S: Likewise.
947 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
948 * sysdeps/i386/fpu/s_sinf.S: Likewise.
949 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
950 ieee754/flt-32 implementation for tan.
951
952 * math/libm-test.inc (cos_test): Enable some large input tests for
953 float as well
954 (sin_test): Likewise.
955 (sincos_test): Likewise.
956 (tan_test): Add tests for large input.
957
958 * sysdeps/i386/fpu/libm-test-ulps: Update.
959
81c64153
AJ
9602012-03-15 Andreas Jaeger <aj@suse.de>
961
962 [BZ #13658]
963 * math/libm-test.inc (cos_test): Add more test cases.
964 (sin_test): Likewise.
965 (sincos_test): Likewise.
966
7bbfa5c6
AJ
9672012-03-15 Andreas Jaeger <aj@suse.de>
968
969 [BZ #13837]
970 * math/libm-test.inc (cos_test): Add a test case for large input
971 value.
972 (sin_test): Likewise.
973 (sincos_test): Likewise.
974
9752012-03-15 Andreas Jaeger <aj@suse.de>,
976 Joseph Myers <joseph@codesourcery.com>
977
978 [BZ #13658]
0671f479 979 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
980 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
981 * sysdeps/i386/fpu/branred.c: Likewise.
982 * sysdeps/i386/fpu/dosincos.c: Likewise.
983 * sysdeps/i386/fpu/mpa.c: Likewise.
984 * sysdeps/i386/fpu/s_cos.S: Likewise.
985 * sysdeps/i386/fpu/s_sin.S: Likewise.
986 * sysdeps/i386/fpu/s_sincos.S: Likewise.
987 * sysdeps/i386/fpu/sincos32.c: Likewise.
988
989 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
990 Define.
991 (libc_feupdateenv_53bit): Define.
992 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
993 Define.
994 (libc_feupdateenv_53bit): Define.
995
996 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
997 53 bit (without extend i386 double precision).
998
999 * math/libm-test.inc (sincos_test): Add tests for large input.
1000 (sin): Likewise.
1001 (cos): Likewise.
1002
1003 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1004
9cad04ea
AS
10052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1006
1007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1008
f7062b9a
DM
10092012-03-15 David S. Miller <davem@davemloft.net>
1010
1011 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1012 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1013 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1014 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1027 file.
f7062b9a 1028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1030 file.
f7062b9a 1031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1033 file.
f7062b9a 1034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1036 file.
f7062b9a
DM
1037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1038 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1039 fmin/fmax sysdep routines.
1040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1041
7bd951ff
DM
10422012-03-14 David S. Miller <davem@davemloft.net>
1043
559398ab
DM
1044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1049 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1050 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1051 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1055 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1064 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1065 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1066 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1067 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1068 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1069 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1070 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1071 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1072 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1073 routines.
1074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1075 file.
559398ab 1076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1078 file.
559398ab 1079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1081 file.
559398ab 1082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1084 file.
559398ab 1085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1087 file.
559398ab 1088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1090 file.
1091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1092 file.
1093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1094 file.
1095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1096 file.
1097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1098 New file.
1099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1100 file.
1101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1102 file.
559398ab 1103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1105 file.
559398ab 1106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1108 file.
559398ab 1109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1111 file.
559398ab 1112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1114 VIS3 routines.
559398ab
DM
1115
1116 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1117 New file.
1118
5a1c1e32
DM
1119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1120
eae47a36
DM
1121 * sysdeps/sparc/configure.in: New file.
1122 * sysdeps/sparc/configure: Generate.
1123 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1124 * configure: Regenerate.
1125 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1126 * config.make.in (have-as-vis3): New.
1127 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1128 available use -Av9d instead of -Av9a.
1129 * sysdeps/sparc/sparc64/Makefile: Likewise.
1130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1132 New file.
1133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1134 file.
1135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1136 New file.
1137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1138 file.
eae47a36
DM
1139 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1140 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1141 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1142 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1143 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1144
c0c83bc8
DM
1145 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1146 fzeros/fnegs to load 0x80000000 into a float register instead of
1147 using the stack.
7bd951ff
DM
1148 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1149
bd951ccb
JM
11502012-03-14 Joseph Myers <joseph@codesourcery.com>
1151
1152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1153 bits/syscall.h.
1154 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1155 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1156 ($(inst_includedir)/bits/syscall.h): Remove rule.
1157 ($(objpfx)bits/syscall.d): Include instead of
1158 $(objpfx)syscall-list.d.
1159 (generated): Change syscall-list.h and syscall-list.d to
1160 bits/syscall.h and bits/syscall.d.
1161
bb4e6db2
RM
11622012-03-14 Roland McGrath <roland@hack.frob.com>
1163
1164 [BZ #13846]
1165 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1166
aa4a2ae1
JM
11672012-03-14 Joseph Myers <joseph@codesourcery.com>
1168
e456826d
JM
1169 [BZ #13841]
1170 * math/s_csqrt.c: Include <float.h>.
1171 (__csqrt): Scale large or subnormal inputs.
1172 * math/s_csqrtf.c: Likewise.
1173 * math/s_csqrtl.c: Likewise.
1174 * math/libm-test.inc (csqrt_test): Add more tests.
1175 * sysdeps/i386/fpu/libm-test-ulps: Update.
1176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1177
aa4a2ae1
JM
1178 [BZ #13840]
1179 * math/libm-test.inc (hypot_test): Add more tests.
1180
7c10fd35
DM
11812012-03-13 David S. Miller <davem@davemloft.net>
1182
1183 [BZ #13840]
1184 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1185 double-precision for the calculation instead of scaling.
1186
f453b98b
JM
11872012-03-13 Joseph Myers <joseph@codesourcery.com>
1188
1189 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1190 manipulate bits before adding and subtracting TWO52[sx].
1191 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1192 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1193 Likewise.
1194 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1195
09a3453f
DM
11962012-03-13 David S. Miller <davem@davemloft.net>
1197
8e59da90
DM
1198 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1199 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1200 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1201 rtld-global-offsets.h
1202 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1203
2a8ab7f2
DM
1204 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1205 large parameters.
1206
10f62770
DM
1207 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1208
5f0bdb18
DM
1209 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1210 'err' in the ifdef scope in which it is actually used.
1211
09a3453f
DM
1212 * nss/nss_db/db-init.c: Include string.h
1213
b4b2eb5e
DM
12142012-03-12 David S. Miller <davem@davemloft.net>
1215
98bb2f1c
DM
1216 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1217 masking out of the most significant byte of random value used.
1218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1219 Fix coding style in previous change.
1220
b4b2eb5e
DM
1221 * sysdeps/unix/sysv/linux/kernel-features.h
1222 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1223 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1224 expression.
1225 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1226 later.
1227
6e226b09
DM
12282012-03-11 David S. Miller <davem@davemloft.net>
1229
a1bcbd40
DM
1230 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1231 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1232 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1233 for 'resultvar' otherwise things get truncated on 64-bit.
1234
cb9d6174
DM
1235 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1236 Fix masking out of the most significant byte of random value used.
1237
6e226b09
DM
1238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1239
058c132d
AS
12402012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1241
1242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1243
2d2cd515
DM
12442012-03-09 David S. Miller <davem@davemloft.net>
1245
1246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1247 variables with appropriate CPP guards.
1248 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1249 frame pointer, not the stack pointer. Correct layout comments. Fix test
1250 on resulting framesize and the management of the outregs buffer for pltexit.
1251 Preserve floating point return values across _dl_call_pltexit call.
1252 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1253 framesize and the management of the outregs buffer for pltexit.
1254 Preserve floating point return values across _dl_call_pltexit
1255 call.
1256 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1257 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1258 (print_exit): Fix format string for return register value.
1259
9a07f9d0
JM
12602012-03-10 Joseph Myers <joseph@codesourcery.com>
1261
1262 * sunrpc/Makefile (others): Add rpcgen.
1263 ($(objpfx)rpcgen): Remove special build rule and dependency on
1264 libc.
1265 * sunrpc/rpcgen.c: New file.
1266
547b5e30
PE
12672012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1268
c524201a
PE
1269 [BZ #13673]
1270 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1271 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1272 * sysdeps/i386/crti.S: Likewise.
1273 * sysdeps/i386/crtn.S: Likewise.
1274 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1275 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1276 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1277 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1278 * sysdeps/sh/crti.S: Likewise.
1279 * sysdeps/sh/crtn.S: Likewise.
1280 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1281
7b6235f2
PE
1282 [BZ #13673]
1283 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1284 with URL.
1285 * locale/programs/locfile-kw.gperf: Likewise.
1286 * locale/programs/charmap-kw.h: Regenerated.
1287 * locale/programs/locfile-kw.h: Likewise.
1288
547b5e30
PE
1289 [BZ #13673]
1290 * intl/plural.y: Replace FSF snail mail address with URL.
1291 * intl/plural.c: Regenerated.
1292
5f0a5dae
RH
12932012-03-09 Richard Henderson <rth@twiddle.net>
1294
1295 * include/math_private.h: Remove file.
1296 * math/math_private.h: Move file ...
1297 * sysdeps/generic/math_private.h: ... here.
1298
b8c03620
RH
1299 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1300 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1301 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1302
4e234f5d 1303 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1304 and <math_private.h>.
1305 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1306 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1307 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1308 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1309 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1310 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1311 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1313 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1314 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1316 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1317 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1318 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1319 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1320 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1321 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1322 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1323 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1324 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1326 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1327 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1329 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1330 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1331 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1332 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1333 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1334 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1335 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1336 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1337 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1338 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1339 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1340 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1341 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1342 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1343 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1344 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1345 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1346 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1347 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1348 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1349 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1350 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1351 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1352 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1353 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1354 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1355 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1356 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1357 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1358 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1359 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1360 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1361 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1362 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1363 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1364 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1365 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1366 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1367 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1368 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1369 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1370 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1371 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1372 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1373 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1374 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1375 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1376 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1377 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1378 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1379 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1380 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1382 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1384 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1385 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1386 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1387 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1388 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1389 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1390 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1391 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1392 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1393 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1394 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1395 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1396 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1397 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1398 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1399 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1400 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1401 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1402 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1403 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1404 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1405 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1406 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1407 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1408 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1409 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1410 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1411 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1412 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1413 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1414 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1415 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1416 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1417 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1418 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1419 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1420 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1421 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1422 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1423 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1424 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1425 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1426 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1427 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1428 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1429 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1430 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1431 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1432 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1433 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1434 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1435 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1436 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1437 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1438 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1439 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1440 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1441 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1442 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1443 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1444 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1445 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1446 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1447 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1448 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1449 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1450 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1451 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1452 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1453 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1454 * sysdeps/ieee754/k_standard.c: Likewise.
1455 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1456 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1457 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1458 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1459 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1460 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1461 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1462 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1463 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1464 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1465 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1466 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1467 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1468 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1469 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1470 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1471 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1472 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1473 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1474 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1475 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1476 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1477 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1478 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1479 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1480 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1481 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1482 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1483 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1484 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1485 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1486 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1487 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1488 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1489 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1490 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1491 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1492 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1493 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1494 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1495 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1496 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1497 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1498 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1499 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1500 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1501 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1502 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1503 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1504 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1505 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1506 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1507 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1508 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1509 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1510 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1511 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1512 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1513 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1514 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1515 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1516 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1517 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1518 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1519 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1520 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1521 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1523 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1524 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1525 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1527 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1528 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1529 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1530 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1531 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1532 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1534 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1535 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1536 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1538 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1539 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1540 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1541 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1542 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1543 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1544 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1545 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1546 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1547 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1548 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1549 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1550 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1551 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1552 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1553 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1554 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1556 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1557 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1558 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1559 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1560 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1561 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1562 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1563 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1564 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1565 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1566 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1567 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1568 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1569 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1570 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1571 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1572 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1574 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1575 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1576 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1577 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1579 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1580 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1582 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1585 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1587 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1590 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1594 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1595 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1596 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1597 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1600 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1603 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1604 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1605 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1615 * sysdeps/ieee754/s_lib_version.c: Likewise.
1616 * sysdeps/ieee754/s_matherr.c: Likewise.
1617 * sysdeps/ieee754/s_signgam.c: Likewise.
1618 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1619 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1620 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1621 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1622 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1623 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1624 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1625 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1626 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1627 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1628 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1629 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1630 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1631 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1632 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1633 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1634 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1635 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1636 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1637 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1638 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1639
1991fa03
JM
16402012-03-09 Joseph Myers <joseph@codesourcery.com>
1641
1642 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1643 * sunrpc/rpc_main.c: Likewise.
1644 * sunrpc/rpc_svcout.c: Likewise.
1645
60d6f5a6
DM
16462012-03-09 David S. Miller <davem@davemloft.net>
1647
1648 * include/math_private.h: New file.
1649
4962050e
JM
16502012-03-09 Joseph Myers <joseph@codesourcery.com>
1651
02a6f887
JM
1652 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1653 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1654 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1655 from <bits/socket_type.h>.
1656 (enum __socket_type): Don't define here.
1657 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1659 bits/socket_type.h.
1660
c6e013c1
JM
1661 [BZ #13566]
1662 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1663 checking __USE_GNU.
1664
4962050e
JM
1665 * Makerules ($(inst_includedir)/%.h): New rule.
1666 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1667 (install-others): Remove variable setting.
1668 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1669
38842f45
RH
16702012-03-08 Richard Henderson <rth@twiddle.net>
1671
67bb6da6
RH
1672 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1673 from macro to inline function; merge with the
1674 !__LIBC_INTERNAL_MATH_INLINES version.
1675 (__ieee754_sqrtf): Likewise.
1676
15194b4b
RH
1677 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1678 to inline function.
1679 (__rintf, __floor, __floorf): Likewise.
1680
64e21ede
RH
1681 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1682 macro to inline function.
1683 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1684
38842f45
RH
1685 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1686 not <math/math_private.h>.
1687
c64bf5fe
DM
16882012-03-08 David S. Miller <davem@davemloft.net>
1689
1690 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1691 copyright year.
1692 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1693
82d86f28
TS
16942012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1695
1696 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1697 normalization.
1698 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1699 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1700
aea5d727
UD
17012012-03-08 Ulrich Drepper <drepper@gmail.com>
1702
1703 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1704 be defined individually, they must be defined as a block. Define
1705 S for printing a string instead of hidint the different by using a
1706 macro for adding the 'l'.
1707 * stdio-common/tst-fphex-wide.c: Adjust.
1708
70bca0a3
MP
17092012-03-07 Marek Polacek <polacek@redhat.com>
1710
1711 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1712
65b81130
MP
17132012-03-08 Marek Polacek <polacek@redhat.com>
1714
1715 [BZ #13806]
1716 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1717 * stdio-common/tst-fphex.c: Define a few macros to make the
1718 test reusable. Use them.
1719 * stdio-common/tst-fphex-wide.c: New file.
1720
07037eeb
JM
17212012-03-08 Joseph Myers <joseph@codesourcery.com>
1722
a7a93d50
JM
1723 [BZ #6911]
1724 * manual/macros.texi (gnusystems): New macro.
1725 (nongnusystems): Likewise.
1726 (gnulinuxhurdsystems): Likewise.
1727 (gnuhurdsystems): Likewise..
1728 (gnulinuxsystems): Likewise.
1729 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1730 variants of the GNU system, not "GNU system".
1731 * manual/conf.texi: Likewise.
1732 * manual/errno.texi: Likewise. Update example of errno macro
1733 expansion.
1734 * manual/filesys.texi: Likewise.
1735 (getumask): Document as specific to GNU/Hurd.
1736 * manual/install.texi: Likewise. Reword some references to
1737 GNU/Linux.
1738 * manual/intro.texi: Likewise.
1739 * manual/io.texi: Likewise.
1740 (File Name Portability): Detail which constraints are inapplicable
1741 to all GNU systems and which are only inapplicable to GNU/Hurd.
1742 * manual/job.texi: Likewise.
1743 * manual/llio.texi: Likewise.
1744 (O_NOCTTY): Document as present on GNU/Linux.
1745 * manual/maint.texi: Likewise.
1746 * manual/memory.texi: Likewise.
1747 * manual/pattern.texi: Likewise.
1748 * manual/pipe.texi: Likewise.
1749 * manual/process.texi: Likewise.
1750 * manual/resource.texi: Likewise.
1751 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1752 child on GNU/Hurd.
1753 * manual/setjmp.texi: Likewise.
1754 * manual/signal.texi: Likewise.
1755 * manual/startup.texi: Likewise.
1756 * manual/stdio.texi: Likewise.
1757 * manual/terminal.texi: Likewise.
1758 (ONLCR): Document as POSIX.
1759 (OXTABS): Document availability on GNU/Linux as XTABS.
1760 (ONOEOT): Document availability separately from other bits.
1761 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1762 * manual/time.texi: Likewise.
1763 * manual/users.texi: Likewise.
1764 * INSTALL: Regenerated.
1765 * sysdeps/gnu/errlist.c: Regenerated.
1766
07037eeb
JM
1767 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1768 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1769 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1770 puts.
1771 * configure: Regenerated.
1772
d1d3431a
JM
17732012-03-07 Joseph Myers <joseph@codesourcery.com>
1774
af6a1e37
JM
1775 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1776 default includes instead of AC_HEADER_CHECK.
1777 * sysdeps/i386/configure: Regenerated.
1778
d1d3431a
JM
1779 [BZ #10716]
1780 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1781 * math/s_cacoshf.c (__cacoshf): Likewise.
1782 * math/s_cacoshl.c (__cacoshl): Likewise.
1783 * math/s_casinh.c (__casinh): Set signs of result from argument.
1784 * math/s_casinhf.c (__casinhf): Likewise.
1785 * math/s_casinhl.c (__casinhl): Likewise.
1786 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1787 (casinh_test): Add more tests.
1788 * sysdeps/i386/fpu/libm-test-ulps: Update.
1789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1790
482ff4da
UD
17912012-03-07 Ulrich Drepper <drepper@gmail.com>
1792
872fda05
UD
1793 * po/zh_TW.po: Update from translation team.
1794
a4300c7a
UD
1795 * login/Makefile (distribute): Remove variable.
1796 * catgets/Makefile: Likewise.
1797 * mach/Makefile: Likewise.
1798 * malloc/Makefile: Likewise.
1799 * misc/Makefile: Likewise.
1800 * iconv/Makefile: Likewise.
1801 * nscd/Makefile: Likewise.
1802 * hurd/Makefile: Likewise.
1803 * manual/Makefile: Likewise.
1804 * locale/Makefile: Likewise.
1805 * intl/Makefile: Likewise.
1806 * conform/Makefile: Likewise.
1807 * nss/Makefile: Likewise.
1808 * time/Makefile: Likewise.
1809 * soft-fp/Makefile: Likewise.
1810 * dirent/Makefile: Likewise.
1811 * gmon/Makefile: Likewise.
1812 * po/Makefile: Likewise.
1813 * rt/Makefile: Likewise.
1814 * socket/Makefile: Likewise.
1815 * math/Makefile: Likewise.
1816 * signal/Makefile: Likewise.
1817 * debug/Makefile: Likewise.
1818 * elf/Makefile: Likewise.
1819 * timezone/Makefile: Likewise.
1820 * stdlib/Makefile: Likewise.
1821 * iconvdata/Makefile: Likewise.
1822 * sunrpc/Makefile: Likewise.
1823 * io/Makefile: Likewise.
1824 * argp/Makefile: Likewise.
1825 * inet/Makefile: Likewise.
1826 * hesiod/Makefile: Likewise.
1827 * grp/Makefile: Likewise.
1828 * csu/Makefile: Likewise.
1829 * wctype/Makefile: Likewise.
1830 * crypt/Makefile: Likewise.
1831 * libio/Makefile: Likewise.
1832 * string/Makefile: Likewise.
1833 * nis/Makefile: Likewise.
1834 * resolv/Makefile: Likewise.
1835 * stdio-common/Makefile: Likewise.
1836 * wcsmbs/Makefile: Likewise.
1837 * dlfcn/Makefile: Likewise.
1838 * posix/Makefile: Likewise.
1839
482ff4da
UD
1840 * timezone/Makefile: Don't install timezone files, just the programs
1841 and scripts.
1842
f72ed77d
UD
18432012-03-06 Ulrich Drepper <drepper@gmail.com>
1844
a000466f
UD
1845 * nss/databases.def: Add missing gshadow entry.
1846
f72ed77d
UD
1847 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1848
a53b7a4e
MP
18492012-03-06 Marek Polacek <polacek@redhat.com>
1850
1851 [BZ #13726]
1852 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1853 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1854 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1855 * stdio-common/tst-long-dbl-fphex.c: New file.
1856
e9258400
DM
18572012-03-06 David S. Miller <davem@davemloft.net>
1858
1859 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1860 (set_obp_int): New function.
1861 (get_obp_int): New function.
1862 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1863 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1864 Avoid unused variable warnings on 'val' and use builtin_expect.
1865 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1866 __builtin_expect.
e9258400
DM
1867 (INLINE_CLONE_SYSCALL): Likewise.
1868
3bd2c723
DM
18692012-03-05 David S. Miller <davem@davemloft.net>
1870
1871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1872
bbb78d03
AS
18732012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1874
884c5db4
AS
1875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1876
bbb78d03
AS
1877 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1878 only for |x| >= 40.
1879 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1880
1c9f702a 18812012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1882
1883 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1884 Replace gettimeofday with __vdso_gettimeofday.
1885
7be16f82
RM
1886 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1887 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1888 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1889
1890 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1891 time with __vdso_time.
1892
ed58a00f
JM
18932012-03-05 Joseph Myers <joseph@codesourcery.com>
1894
1895 * manual/lang.texi (size_t): Note types to which size_t may be
1896 equivalent with the GNU C Library, but do not describe when
1897 differences between them are significant.
1898
30ee4ced
AJ
18992012-03-05 Andreas Jaeger <aj@suse.de>
1900
1901 * sysdeps/i386/fpu/libm-test-ulps: Update.
1902
b7cd39e8
JM
19032012-03-05 Joseph Myers <joseph@codesourcery.com>
1904
1905 [BZ #3976]
1906 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1907 (__ieee754_pow): Save and restore rounding mode and use
1908 round-to-nearest for main computations.
1909 * math/libm-test.inc (pow_test_tonearest): New function.
1910 (pow_test_towardzero): Likewise.
1911 (pow_test_downward): Likewise.
1912 (pow_test_upward): Likewise.
1913 (main): Call the new functions.
1914 * sysdeps/i386/fpu/libm-test-ulps: Update.
1915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1916
1917 [BZ #3976]
1918 * math/libm-test.inc (cosh_test_tonearest): New function.
1919 (cosh_test_towardzero): Likewise.
1920 (cosh_test_downward): Likewise.
1921 (cosh_test_upward): Likewise.
1922 (sinh_test_tonearest): Likewise.
1923 (sinh_test_towardzero): Likewise.
1924 (sinh_test_downward): Likewise.
1925 (sinh_test_upward): Likewise.
1926 (main): Call the new functions.
1927 * sysdeps/i386/fpu/libm-test-ulps: Update.
1928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1929
6c6a98c9
TV
19302012-03-05 Tom de Vries <tom@codesourcery.com>
1931
1932 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1933 default stack guard is set in last bytes.
1934 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1935
21bb2d2e 19362012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1937
21bb2d2e 1938 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1939
21bb2d2e
AJ
1940 [BZ #13656]
1941 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1942 possibly allocate from heap instead of stack.
1943 * stdio-common/bug-vfprintf-nargs.c: New file.
1944 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1945
c6922934
AS
19462012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1947
1948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1949
bc957d53
MP
19502012-03-03 Marek Polacek <polacek@redhat.com>
1951
1952 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1953 * math/math_private.h: Likewise.
1954 * stdlib/tst-strtod.c: Likewise.
1955 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1956 * sysdeps/x86_64/bits/atomic.h: Likewise.
1957
6358490d
DM
19582012-03-02 David S. Miller <davem@davemloft.net>
1959
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1964 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1965 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1966 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1967 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1968
01ae168d
RM
19692012-03-02 Roland McGrath <roland@hack.frob.com>
1970
d9a17c07
RM
1971 [BZ #13792]
1972 * manual/examples/README: New file, says the example source files
1973 can be used under GPL>=2.
1974 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1975 line containing just "*/".
1976 * manual/examples/add.c: Add copyright header (GPL>=2).
1977 * manual/examples/argp-ex1.c: Likewise.
1978 * manual/examples/argp-ex2.c: Likewise.
1979 * manual/examples/argp-ex3.c: Likewise.
1980 * manual/examples/argp-ex4.c: Likewise.
1981 * manual/examples/atexit.c: Likewise.
1982 * manual/examples/db.c: Likewise.
1983 * manual/examples/dir.c: Likewise.
1984 * manual/examples/dir2.c: Likewise.
1985 * manual/examples/execinfo.c: Likewise.
1986 * manual/examples/filecli.c: Likewise.
1987 * manual/examples/filesrv.c: Likewise.
1988 * manual/examples/fmtmsgexpl.c: Likewise.
1989 * manual/examples/genpass.c: Likewise.
1990 * manual/examples/inetcli.c: Likewise.
1991 * manual/examples/inetsrv.c: Likewise.
1992 * manual/examples/isockad.c: Likewise.
1993 * manual/examples/longopt.c: Likewise.
1994 * manual/examples/memopen.c: Likewise.
1995 * manual/examples/memstrm.c: Likewise.
1996 * manual/examples/mkfsock.c: Likewise.
1997 * manual/examples/mkisock.c: Likewise.
1998 * manual/examples/mygetpass.c: Likewise.
1999 * manual/examples/pipe.c: Likewise.
2000 * manual/examples/popen.c: Likewise.
2001 * manual/examples/rprintf.c: Likewise.
2002 * manual/examples/search.c: Likewise.
2003 * manual/examples/select.c: Likewise.
2004 * manual/examples/setjmp.c: Likewise.
2005 * manual/examples/sigh1.c: Likewise.
2006 * manual/examples/sigusr.c: Likewise.
2007 * manual/examples/stpcpy.c: Likewise.
2008 * manual/examples/strdupa.c: Likewise.
2009 * manual/examples/strftim.c: Likewise.
2010 * manual/examples/strncat.c: Likewise.
2011 * manual/examples/subopt.c: Likewise.
2012 * manual/examples/swapcontext.c: Likewise.
2013 * manual/examples/termios.c: Likewise.
2014 * manual/examples/testopt.c: Likewise.
2015 * manual/examples/testpass.c: Likewise.
2016 * manual/examples/timeval_subtract.c: Likewise.
2017
01ae168d
RM
2018 [BZ #13792]
2019 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2020 function to ...
2021 * manual/timeval_subtract.c.texi: ... here, new file.
2022
49efa33d
DM
20232012-03-02 David S. Miller <davem@davemloft.net>
2024
2025 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2026
28afd92d
JM
20272012-03-02 Joseph Myers <joseph@codesourcery.com>
2028
804360ed
JM
2029 [BZ #3976]
2030 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2031 (__sin): Save and restore rounding mode and use round-to-nearest
2032 for all computations.
2033 (__cos): Save and restore rounding mode and use round-to-nearest
2034 for all computations.
2035 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2036 <fenv.h>.
2037 (tan): Save and restore rounding mode and use round-to-nearest for
2038 all computations.
2039 * math/libm-test.inc (cos_test_tonearest): New function.
2040 (cos_test_towardzero): Likewise.
2041 (cos_test_downward): Likewise.
2042 (cos_test_upward): Likewise.
2043 (sin_test_tonearest): Likewise.
2044 (sin_test_towardzero): Likewise.
2045 (sin_test_downward): Likewise.
2046 (sin_test_upward): Likewise.
2047 (tan_test_tonearest): Likewise.
2048 (tan_test_towardzero): Likewise.
2049 (tan_test_downward): Likewise.
2050 (tan_test_upward): Likewise.
2051 (main): Call the new functions.
2052 * sysdeps/i386/fpu/libm-test-ulps: Update.
2053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2054
a6d06d7b
JM
2055 [BZ #10135]
2056 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2057 small n, then large n, before computing and testing k+n.
2058 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2060 Likewise.
2061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2062 Likewise.
2063 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2064 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2065 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2066 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2067 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2068 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2069 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2070 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2071 * math/libm-test.inc (scalbn_test): Add more tests.
2072 (scalbln_test): Likewise.
2073
07e12bb3
JM
2074 * manual/filesys.texi (mode_t): Describe constraints on size and
2075 signedness, not exact equivalence to a particular type.
2076 (ino_t): Likewise.
2077 (ino64_t): Likewise.
2078 (dev_t): Likewise.
2079 (nlink_t): Likewise.
2080 (blkcnt_t): Likewise.
2081 (blkcnt64_t): Likewise.
2082 * manual/llio.texi (off_t): Likewise.
2083
28afd92d
JM
2084 [BZ #3976]
2085 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2086 (__ieee754_exp): Save and restore rounding mode and use
2087 round-to-nearest for all computations.
2088 * math/libm-test.inc (exp_test_tonearest): New function.
2089 (exp_test_towardzero): Likewise.
2090 (exp_test_downward): Likewise.
2091 (exp_test_upward): Likewise.
2092 (main): Call the new functions.
2093 * sysdeps/i386/fpu/libm-test-ulps: Update.
2094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2095
b1eeb65d
CD
20962012-03-01 Chris Demetriou <cgd@google.com>
2097
2098 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2099 have predictable order.
2100
53362a4b
DM
21012012-03-01 David S. Miller <davem@davemloft.net>
2102
3c969083
DM
2103 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2104
759707de
DM
2105 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2106 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2107 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2108 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2109
dfdb8ff2
DM
2110 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2111 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2112 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2114 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2115 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2116 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2117 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2118 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2119
ead89f96
DM
2120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2121
7f66bd07
DM
2122 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2123 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2124 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2125
53362a4b
DM
2126 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2127 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2128 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2129 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2130 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2131 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2132 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2133 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2134 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2135 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2136 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2137 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2139 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2140 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2142 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2143 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2144 * sysdeps/sparc/elf/configure: Regenerated.
2145
7b1902cb
JM
21462012-03-01 Joseph Myers <joseph@codesourcery.com>
2147
bec039bc
JM
2148 * configure.in (AS, LD): Require binutils 2.20 or later.
2149 * configure: Regenerated.
2150 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2151 as required minimum version.
2152 * INSTALL: Regenerated.
2153
7b1902cb
JM
2154 [BZ #2541]
2155 [BZ #4108]
2156 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2157 before squaring exponent.
2158 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2159 bottom long double and 27 bits of top long double before squaring
2160 exponent.
2161 * math/libm-test.inc (erfc_test): Add more tests.
2162 * sysdeps/i386/fpu/libm-test-ulps: Update.
2163 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2165
f775c276
KT
21662012-03-01 Kai Tietz <ktietz@redhat.com>
2167
2168 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2169 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2170 containing bit-fields.
2171 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2172 * soft-fp/single.h (_FP_UNION_S): Likewise.
2173 * soft-fp/double.h (_FP_UNION_D): Likewise.
2174
5b8a4d4a
JM
21752012-02-29 Joseph Myers <joseph@codesourcery.com>
2176
0bab47b6
JM
2177 [BZ #13786]
2178 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2179 not include ../strcmp.S.
2180 [USE_AS_STRNCASECMP_L]: Likewise.
2181 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2182 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2183 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2184 (__strncasecmp_l_ia32): Define as alias to
2185 __strncasecmp_l_nonascii.
2186
0fcad3e2
JM
2187 [BZ #5794]
2188 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2189 * sysdeps/i386/fpu/libm-test-ulps: Update.
2190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2191
5b8a4d4a
JM
2192 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2194
8fdceb2e
JL
21952012-02-29 Jeff Law <law@redhat.com>
2196
2197 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2198 out of bounds read.
2199
1f393a11
MP
22002012-02-29 Marek Polacek <polacek@redhat.com>
2201
2202 [BZ #13706]
2203 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2204 * elf/Makefile: Add rules to run tst-unused-dep.out.
2205
8847f037
DM
22062012-02-28 David S. Miller <davem@davemloft.net>
2207
2208 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2209 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2210 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2211 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2212 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2213 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2214
169d7f11
JM
22152012-02-29 Joseph Myers <joseph@codesourcery.com>
2216
2217 * math/libm-test.inc (llround_test): Move one test from
2218 lround_test. Use TEST_f_L in moved test.
2219 (lround_test): Move misplaced test to llround_test. Add testcase
2220 from bug 2561.
2221
39adf059
UD
22222012-02-28 Ulrich Drepper <drepper@gmail.com>
2223
2224 * sysdeps/x86_64/fpu/e_expf.S: New file.
2225 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2226
71b5d1c5
SB
22272012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2228
2229 [BZ #13637]
2230 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2231 of remain_len that may cause incomplete multi-byte character and
2232 false match.
2233 * posix/bug-regex33.c: New file.
2234 * posix/Makefile (tests): Add bug-regex33.
2235
1f77f049
JM
22362012-02-28 Joseph Myers <joseph@codesourcery.com>
2237
2238 * manual/macros.texi: New file.
2239 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2240 * manual/libc.texinfo: Include macros.texi.
2241 * manual/creatute.texi: Likewise.
2242 * manual/install.texi: Likewise.
2243 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2244 @glibcadj{} in references to the GNU C Library.
2245 * manual/charset.texi: Likewise.
2246 * manual/conf.texi: Likewise.
2247 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2248 when not using those macros.
2249 * manual/creature.texi: Likewise.
2250 * manual/crypt.texi: Likewise.
2251 * manual/errno.texi: Likewise.
2252 * manual/filesys.texi: Likewise.
2253 * manual/header.texi: Likewise.
2254 * manual/install.texi: Likewise.
2255 * manual/intro.texi: Likewise.
2256 * manual/io.texi: Likewise.
2257 * manual/job.texi: Likewise.
2258 * manual/lang.texi: Likewise.
2259 * manual/libc.texiinfo: Likewise.
2260 * manual/llio.texi: Likewise.
2261 * manual/locale.texi: Likewise.
2262 * manual/maint.texi: Likewise.
2263 * manual/math.texi: Likewise.
2264 * manual/memory.texi: Likewise.
2265 * manual/message.texi: Likewise.
2266 * manual/nss.texi: Likewise.
2267 * manual/pattern.texi: Likewise.
2268 * manual/process.texi: Likewise.
2269 * manual/resource.texi: Likewise.
2270 * manual/search.texi: Likewise.
2271 * manual/setjmp.texi: Likewise.
2272 * manual/signal.texi: Likewise.
2273 * manual/socket.texi: Likewise.
2274 * manual/startup.texi: Likewise.
2275 * manual/stdio.texi: Likewise.
2276 * manual/string.texi: Likewise.
2277 * manual/sysinfo.texi: Likewise.
2278 * manual/syslog.texi: Likewise.
2279 * manual/terminal.texi: Likewise.
2280 * manual/time.texi: Likewise.
2281 * manual/users.texi: Likewise.
2282 * INSTALL: Regenerated.
2283 * NOTES: Regenerated.
d40c5d54 2284 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2285
450bf206
AS
22862012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2287
2288 * include/dirent.h: Include <dirstream.h> before
2289 <dirent/dirent.h>.
2290
741a235b
DM
22912012-02-28 David S. Miller <davem@davemloft.net>
2292
2293 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2294 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2295 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2296 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2297
d6b5aa58
DM
22982012-02-27 David S. Miller <davem@davemloft.net>
2299
1aff59a3
DM
2300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2302 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2303 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2304
d6b5aa58
DM
2305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2306 frame pointer instead of stack pointer relative arg slot.
2307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2308 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2309 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2310
433f48bf
CD
23112012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2312
2313 [BZ #3992]
2314 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2315
d674b76d
DM
23162012-02-27 David S. Miller <davem@davemloft.net>
2317
2318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2322 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2323 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2324 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2325 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2326
0e7727f7
JM
23272012-02-27 Joseph Myers <joseph@codesourcery.com>
2328
2329 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2330 later. Allow versions 5-9.
43be4ca2 2331 * configure: Regenerated.
0e7727f7
JM
2332 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2333 required minimum version and 4.6 as recommended version. Do not
2334 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2335 * INSTALL: Regenerated.
0e7727f7 2336
a78bc654
DM
23372012-02-27 David S. Miller <davem@davemloft.net>
2338
428d5830
DM
2339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2343 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2344 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2345 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2346 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2347
a78bc654
DM
2348 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2349 manipulate bits before adding and subtracting TWO112[sx].
2350 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2351
4579f81c
RM
23522012-02-27 Roland McGrath <roland@hack.frob.com>
2353
36c8acb4
RM
2354 [BZ #13775]
2355 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2356 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2357 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2358 being in POSIX, because they are in 1003.1-2008.
2359
84ad622b
RM
2360 * rt/tst-aio.c: Include <fcntl.h>.
2361 * rt/tst-aio7.c: Likewise.
2362 * rt/tst-aio64.c: Likewise.
2363
4579f81c
RM
2364 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2365
abd923db
JM
23662012-02-27 Joseph Myers <joseph@codesourcery.com>
2367
2368 * manual/install.texi (--with-headers): Describe headers as
2369 interface headers, not private headers.
2370 (Specific advice for GNU/Linux systems): Describe use of headers
2371 from "make headers_install", not private headers from older
2372 kernels.
43be4ca2 2373 * INSTALL: Regenerated.
abd923db
JM
2374 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2375 Change to 2.6.19.
2376 * sysdeps/unix/sysv/linux/configure: Regenerated.
2377
6664049b
JM
2378 * manual/llio.texi (fclean): Remove documentation.
2379
bb8b6697
JM
2380 * manual/Makefile (libc-texi-generated): New variable. Include
2381 version.texi.
2382 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2383 $(libc-texi-generated), not duplicated list of files.
2384 (version.texi, stamp-version): New rules.
2385 (realclean): Remove $(libc-texi-generated), not individual files
2386 from that list. Do not remove dir-add.texinfo.
2387 * manual/libc.texinfo: Comment out uses of edition numbers and
2388 references to printed manual. Remove last-updated dates.
2389 (EDITION): Comment out.
2390 (ISBN): Likewise.
2391 (VERSION, UPDATED): Remove.
2392 (version.texi): Include.
2393
12e5c3b9
AS
23942012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2395
2396 * sysdeps/posix/spawni.c: Include <signal.h>.
2397 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2398 * sysdeps/pthread/aio_fsync.c: Likewise.
2399
4efeffc1 24002012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2401
ba63ba08
UD
2402 * conform/Makefile (tests): Run only when not cross-compiling and
2403 when fast-check is not defined.
2404
d94a4670
UD
2405 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2406 * conform/data/limits.h-data: Fixes for POSIX2008.
2407 * conform/run-conformtest.sh: Run all tests.
2408 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2409 headers.
2410 * include/bits/dlfcn.h: Likewise.
2411 * include/langinfo.h: Likewise.
2412 * include/monetary.h: Likewise.
2413 * include/sys/poll.h: Likewise.
2414
2415 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2416 for __USE_GNU.
2417 * posix/spawn.h: Define __need_sigset_t.
2418 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2419 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2420 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2421 to get sigevent_t only.
2422 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2423 only for __USE_GNU.
2424 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2425 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2426 process_vm_writev only for __USE_GNU.
2427 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2428
2429 * conform/Makefile: For now ignore errors from run-conformtest.
2430 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2431 POSIX to avoid namespace pollution. Don't prepend headers.
2432 * conform/data/aio.h-data: Fixes for POSIX testing.
2433 * conform/data/fcntl.h-data: Likewise.
2434 * conform/data/glob.h-data: Likewise.
2435 * conform/data/grp.h-data: Likewise.
2436 * conform/data/pthread.h-data: Likewise.
2437 * conform/data/pwd.h-data: Likewise.
2438 * conform/data/signal.h-data: Likewise.
2439 * conform/data/spawn.h-data: Likewise.
2440 * conform/data/stdio.h-data: Likewise.
2441 * conform/data/stdlib.h-data: Likewise.
2442 * conform/data/stropts.h-data: Likewise.
2443 * conform/data/sys/mman.h-data: Likewise.
2444 * conform/data/sys/stat.h-data: Likewise.
2445 * conform/data/sys/types.h-data: Likewise.
2446 * conform/data/sys/wait.h-data: Likewise.
2447 * conform/data/time.h-data: Likewise.
2448 * conform/data/unistd.h-data: Likewise.
2449 * conform/data/utime.h-data: Likewise.
2450
2451 * io/sys/stat.h: fchmod was always in POSIX.
2452 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2453 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2454 * rt/aio.h: Define __need_timespec before including <time.h>.
2455 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2456 struct. Add forward declaration of pthread_attr_t and use it in
2457 sigevent.
2458 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2459 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2460 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2461 always remove CLK_TCK definition.
2462
c20105c3
AS
24632012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2464
2465 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2466
7a270350
UD
24672012-02-25 Ulrich Drepper <drepper@gmail.com>
2468
31341567
UD
2469 * conform/run-conformtest.sh: New file.
2470 * conform/Makefile: Run run-conformtest for tests.
2471 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2472 support.
2473
2474 * conform/data/uchar.h-data: New file.
2475 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2476 * conform/data/arpa/inet.h-data: Likewise.
2477 * conform/data/assert.h-data: Likewise.
2478 * conform/data/complex.h-data: Likewise.
2479 * conform/data/cpio.h-data: Likewise.
2480 * conform/data/ctype.h-data: Likewise.
2481 * conform/data/dirent.h-data: Likewise.
2482 * conform/data/dlfcn.h-data: Likewise.
2483 * conform/data/errno.h-data: Likewise.
2484 * conform/data/fcntl.h-data: Likewise.
2485 * conform/data/float.h-data: Likewise.
2486 * conform/data/fmtmsg.h-data: Likewise.
2487 * conform/data/fnmatch.h-data: Likewise.
2488 * conform/data/ftw.h-data: Likewise.
2489 * conform/data/glob.h-data: Likewise.
2490 * conform/data/grp.h-data: Likewise.
2491 * conform/data/iconv.h-data: Likewise.
2492 * conform/data/inttypes.h-data: Likewise.
2493 * conform/data/langinfo.h-data: Likewise.
2494 * conform/data/libgen.h-data: Likewise.
2495 * conform/data/limits.h-data: Likewise.
2496 * conform/data/locale.h-data: Likewise.
2497 * conform/data/math.h-data: Likewise.
2498 * conform/data/monetary.h-data: Likewise.
2499 * conform/data/mqueue.h-data: Likewise.
2500 * conform/data/ndbm.h-data: Likewise.
2501 * conform/data/net/if.h-data: Likewise.
2502 * conform/data/netdb.h-data: Likewise.
2503 * conform/data/netinet/in.h-data: Likewise.
2504 * conform/data/nl_types.h-data: Likewise.
2505 * conform/data/poll.h-data: Likewise.
2506 * conform/data/pthread.h-data: Likewise.
2507 * conform/data/pwd.h-data: Likewise.
2508 * conform/data/regex.h-data: Likewise.
2509 * conform/data/sched.h-data: Likewise.
2510 * conform/data/search.h-data: Likewise.
2511 * conform/data/semaphore.h-data: Likewise.
2512 * conform/data/setjmp.h-data: Likewise.
2513 * conform/data/signal.h-data: Likewise.
2514 * conform/data/spawn.h-data: Likewise.
2515 * conform/data/stdarg.h-data: Likewise.
2516 * conform/data/stdio.h-data: Likewise.
2517 * conform/data/stdlib.h-data: Likewise.
2518 * conform/data/string.h-data: Likewise.
2519 * conform/data/strings.h-data: Likewise.
2520 * conform/data/stropts.h-data: Likewise.
2521 * conform/data/sys/ipc.h-data: Likewise.
2522 * conform/data/sys/mman.h-data: Likewise.
2523 * conform/data/sys/msg.h-data: Likewise.
2524 * conform/data/sys/resource.h-data: Likewise.
2525 * conform/data/sys/select.h-data: Likewise.
2526 * conform/data/sys/sem.h-data: Likewise.
2527 * conform/data/sys/shm.h-data: Likewise.
2528 * conform/data/sys/socket.h-data: Likewise.
2529 * conform/data/sys/stat.h-data: Likewise.
2530 * conform/data/sys/statvfs.h-data: Likewise.
2531 * conform/data/sys/time.h-data: Likewise.
2532 * conform/data/sys/timeb.h-data: Likewise.
2533 * conform/data/sys/times.h-data: Likewise.
2534 * conform/data/sys/types.h-data: Likewise.
2535 * conform/data/sys/uio.h-data: Likewise.
2536 * conform/data/sys/un.h-data: Likewise.
2537 * conform/data/sys/utsname.h-data: Likewise.
2538 * conform/data/sys/wait.h-data: Likewise.
2539 * conform/data/syslog.h-data: Likewise.
2540 * conform/data/tar.h-data: Likewise.
2541 * conform/data/termios.h-data: Likewise.
2542 * conform/data/utime.h-data: Likewise.
2543 * conform/data/utmpx.h-data: Likewise.
2544 * conform/data/varargs.h-data: Likewise.
2545 * conform/data/wchar.h-data: Likewise.
2546 * conform/data/wctype.h-data: Likewise.
2547 * conform/data/wordexp.h-data: Likewise.
2548
2549 * include/stropts.h: New file.
2550 * include/uchar.h: New file.
2551 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2552 * include/assert.h: Likewise.
2553 * include/ctype.h: Likewise.
2554 * include/dirent.h: Likewise.
2555 * include/dlfcn.h: Likewise.
2556 * include/fcntl.h: Likewise.
2557 * include/fnmatch.h: Likewise.
2558 * include/glob.h: Likewise.
2559 * include/grp.h: Likewise.
2560 * include/libio.h: Likewise.
2561 * include/locale.h: Likewise.
2562 * include/math.h: Likewise.
2563 * include/net/if.h: Likewise.
2564 * include/netdb.h: Likewise.
2565 * include/netinet/in.h: Likewise.
2566 * include/pthread.h: Likewise.
2567 * include/pwd.h: Likewise.
2568 * include/regex.h: Likewise.
2569 * include/sched.h: Likewise.
2570 * include/search.h: Likewise.
2571 * include/setjmp.h: Likewise.
2572 * include/signal.h: Likewise.
2573 * include/stdio.h: Likewise.
2574 * include/stdlib.h: Likewise.
2575 * include/string.h: Likewise.
2576 * include/sys/cdefs.h: Likewise.
2577 * include/sys/mman.h: Likewise.
2578 * include/sys/msg.h: Likewise.
2579 * include/sys/resource.h: Likewise.
2580 * include/sys/select.h: Likewise.
2581 * include/sys/socket.h: Likewise.
2582 * include/sys/stat.h: Likewise.
2583 * include/sys/statvfs.h: Likewise.
2584 * include/sys/time.h: Likewise.
2585 * include/sys/times.h: Likewise.
2586 * include/sys/uio.h: Likewise.
2587 * include/sys/utsname.h: Likewise.
2588 * include/sys/wait.h: Likewise.
2589 * include/termios.h: Likewise.
2590 * include/time.h: Likewise.
2591 * include/ulimit.h: Likewise.
2592 * include/unistd.h: Likewise.
2593 * include/utime.h: Likewise.
2594 * include/wchar.h: Likewise.
2595 * include/wctype.h: Likewise.
2596 * include/wordexp.h: Likewise.
2597
2598 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2599
7a270350
UD
2600 * time/time.h: TIME_UTC must be a macro.
2601 Make timespec_get available for ISO C11 only as well.
2602
7724defc
UD
26032012-02-24 Ulrich Drepper <drepper@gmail.com>
2604
2605 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2606 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2607
6b1d1d46
JM
26082012-02-24 Joseph Myers <joseph@codesourcery.com>
2609
2610 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2611
0f8bbd69
JM
26122012-02-24 Joseph Myers <joseph@codesourcery.com>
2613
2614 * manual/texinfo.tex: Update to version 2012-01-19.16.
2615
66ab80bc
JM
26162012-02-24 Joseph Myers <joseph@codesourcery.com>
2617
2618 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2619
74981cc5
RM
26202012-02-24 Roland McGrath <roland@hack.frob.com>
2621
ee968201
RM
2622 [BZ #13738]
2623 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2624 * manual/fdl-1.3.texi: New file.
2625 * manual/fdl-1.1.texi: File removed.
2626
74981cc5
RM
2627 [BZ #13738]
2628 * manual/libc.texinfo (FDL_VERSION): New @set.
2629 Use it for mention of FDL in cover text.
2630 (Documentation License): Use it in @include file name.
2631
7bb764bc
JM
26322012-02-22 Joseph Myers <joseph@codesourcery.com>
2633 Roland McGrath <roland@hack.frob.com>
2634
2635 [BZ #5461]
2636 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2637 not LONG_LONG_MAX and LONG_LONG_MIN.
2638 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2639 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2640 name.
2641 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2642
6cbeae47
JM
26432012-02-22 Joseph Myers <joseph@codesourcery.com>
2644
2645 [BZ #2547]
2646 [BZ #11365]
2647 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2648 manipulate bits before adding and subtracting TWO23[sx].
2649 * math/libm-test.inc (nearbyint_test): Add more tests.
2650
fe45ce09
JM
26512012-02-22 Joseph Myers <joseph@codesourcery.com>
2652
2653 [BZ #2548]
2654 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2655 bits before adding and subtracting TWO23[sx].
2656 * math/libm-test.inc (rint_test): Add more tests.
2657 (rint_test_tonearest): Likewise.
2658 (rint_test_towardzero): Likewise.
2659 (rint_test_downward): Likewise.
2660 (rint_test_upward: Likewise.
2661
ff3b3d82
JM
26622012-02-22 Joseph Myers <joseph@codesourcery.com>
2663
2664 [BZ #10110]
2665 * include/stdc-predef.h: New file. Extracted from features.h.
2666 * include/features.h: Include stdc-predef.h.
2667 * Makefile (headers): Add stdc-predef.h.
2668 * CONFORMANCE (Compiler limitations): Update.
2669
ef0aab35
JM
26702012-02-22 Joseph Myers <joseph@codesourcery.com>
2671
2672 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2673
58639409
DM
26742012-02-21 David S. Miller <davem@davemloft.net>
2675
2676 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2677 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2678
c0e70b25
DM
26792012-02-20 David S. Miller <davem@davemloft.net>
2680
2681 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2682 using a normal save/restore sequence, rather than allocating a
2683 dummy stack frame just to store a frame pointer and restore.
2684 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2685
fb06851d
JM
26862012-02-21 Joseph Myers <joseph@codesourcery.com>
2687
2688 * manual/install.texi: Fix stray word in line-wrapped comment.
2689
7a8b71c3
DM
26902012-02-20 David S. Miller <davem@davemloft.net>
2691
d510c123
DM
2692 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2693 both binutils and gcc support GOTDATA.
2694
0722d7c2
DM
2695 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2696 "rd %pc" in the PIC register setup sequences.
2697
3d2b3019
DM
2698 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2699 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2700 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2701 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2702 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2704 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2705 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2706 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2707 (SYSCALL_ERROR_HANDLER): Likewise.
2708 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2709 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2710 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2711 (SYSCALL_ERROR_HANDLER): Likewise.
2712
c80098a9
DM
2713 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2714 (HAVE_GCC_GOTDATA): New.
2715 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2716 relocation support in both binutils and gcc.
2717 * sysdeps/sparc/elf/configure: Regenerate.
2718
3a2545a0
DM
2719 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2720 * sysdeps/sparc/sparc32/elf/configure: Delete.
2721 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2722 * sysdeps/sparc/sparc64/elf/configure: Delete.
2723 * sysdeps/sparc/elf/configure.in: New file.
2724 * sysdeps/sparc/elf/configure: Generate.
2725
7a8b71c3
DM
2726 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2727 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2728 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2729 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2730 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2731
f1e86fca
JM
27322012-02-21 Joseph Myers <joseph@codesourcery.com>
2733
2734 * manual/install.texi: Do not mention specific glibc version
2735 numbers.
2736 * manual/libc.texinfo (VERSION, UPDATED): Update.
2737 (@copying): Use @copyright{} and range of years.
2738
0e7dfaef
JM
27392012-02-21 Joseph Myers <joseph@codesourcery.com>
2740
2741 [BZ #13695]
2742 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2743 [crti.S not in sysdirs] (generated): Do not append.
2744 [crti.S not in sysdirs] (omit-deps): Likewise.
2745 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2746 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2747 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2748 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2749 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2750 Likewise.
2751 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2752 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2753 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2754 * csu/defs.awk: Remove file.
2755 * sysdeps/generic/initfini.c: Likewise.
2756 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2757 variable.
2758 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2759 Likewise.
2760
599af3ca
JM
27612012-02-20 Joseph Myers <joseph@codesourcery.com>
2762
2763 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2764 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2765 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2766 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2767 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2768 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2769 <bits/epoll.h>.
2770 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2771 (__EPOLL_PACKED): Define to empty if not defined by
2772 <bits/epoll.h>.
2773 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2774 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2775 bits/epoll.h.
2776
0e499750
JM
27772012-02-20 Joseph Myers <joseph@codesourcery.com>
2778
2779 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2780 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2781 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2782 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2783 <bits/timerfd.h>.
2784 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2786 bits/timerfd.h.
2787
5ad91f6e
JM
27882012-02-20 Joseph Myers <joseph@codesourcery.com>
2789
2790 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2791 in C locale.
2792 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2793 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2794 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2796
06b99b02
AJ
27972012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2798
2799 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2800 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2801
7638c0fd
AS
28022012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2803
2804 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2805 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2806 defined.
2807 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2808 Likewise.
2809 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2810 entry for 2.16.
2811
92221550
AJ
28122012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2813
2814 * math/w_acos.c: Use non-signaling floating-point comparisons.
2815 * math/w_acosf.c: Likewise.
2816 * math/w_acosh.c: Likewise.
2817 * math/w_acoshf.c: Likewise.
2818 * math/w_acoshl.c: Likewise.
2819 * math/w_acosl.c: Likewise.
2820 * math/w_asin.c: Likewise.
2821 * math/w_asinf.c: Likewise.
2822 * math/w_asinl.c: Likewise.
2823 * math/w_atanh.c: Likewise.
2824 * math/w_atanhf.c: Likewise.
2825 * math/w_atanhl.c: Likewise.
2826 * math/w_exp2.c: Likewise.
2827 * math/w_exp2f.c: Likewise.
2828 * math/w_exp2l.c: Likewise.
2829 * math/w_j0.c: Likewise.
2830 * math/w_j0f.c: Likewise.
2831 * math/w_j0l.c: Likewise.
2832 * math/w_j1.c: Likewise.
2833 * math/w_j1f.c: Likewise.
2834 * math/w_j1l.c: Likewise.
2835 * math/w_jn.c: Likewise.
2836 * math/w_jnf.c: Likewise.
2837 * math/w_log.c: Likewise.
2838 * math/w_log10.c: Likewise.
2839 * math/w_log10f.c: Likewise.
2840 * math/w_log10l.c: Likewise.
2841 * math/w_log2.c: Likewise.
2842 * math/w_log2f.c: Likewise.
2843 * math/w_log2l.c: Likewise.
2844 * math/w_logf.c: Likewise.
2845 * math/w_logl.c: Likewise.
2846 * math/w_sqrt.c: Likewise.
2847 * math/w_sqrtf.c: Likewise.
2848 * math/w_sqrtl.c: Likewise.
2849 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2850 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2851 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2852 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2853 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2854
ebaf36eb
JM
28552012-02-19 Joseph Myers <joseph@codesourcery.com>
2856
2857 [BZ #9739]
2858 * manual/string.texi (strnlen): Use correct parameter name in
2859 equivalent expression.
2860
71c254a6
JM
28612012-02-19 Joseph Myers <joseph@codesourcery.com>
2862
2863 [BZ #11174]
2864 * manual/users.texi (seteuid): Consistently use neweuid for
2865 argument name.
2866
16d2c631
JM
28672012-02-19 Joseph Myers <joseph@codesourcery.com>
2868
2869 [BZ #13704]
2870 * manual/nss.texi (Services in the NSS configuration): Correct
2871 list of services in example configuration file.
2872
cd837b09
NB
28732012-02-19 Nick Bowler <nbowler@draconx.ca>
2874
2875 [BZ #11322]
2876 * manual/arith.texi: Remove statements about negative zero
2877 behaving identically to zero.
2878
02c4bbad
JM
28792012-02-18 Joseph Myers <joseph@codesourcery.com>
2880
2881 [BZ #5993]
2882 * manual/install.texi: Do not document upgrading from libc5.
2883
366842e7
JM
28842012-02-18 Joseph Myers <joseph@codesourcery.com>
2885
2886 [BZ #4596]
2887 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2888
dd54084d
DM
28892012-02-18 David S. Miller <davem@davemloft.net>
2890
2891 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2892 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2893 %o7 across the call.
2894 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2895 instead.
2896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2897 SETUP_PIC_REG_LEAF.
2898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2899 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2900 * sysdeps/sparc/crtn.S: Likewise.
2901
2bcc53a3
UD
29022012-02-17 Ulrich Drepper <drepper@gmail.com>
2903
2904 * aout/Makefile: Remove.
2905
09c093b5
RK
29062012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2907
2908 [BZ #13058]
2909 * manual/examples/argp-ex1.c (main): Format definition in GNU
2910 style.
2911 * manual/examples/argp-ex2.c (main): Likewise.
2912 * manual/examples/argp-ex3.c (main): Likewise.
2913 * manual/examples/argp-ex4.c (main): Likewise.
2914 * manual/examples/longopt.c (main): Use new-style prototype
2915 definition.
2916 * manual/examples/strncat.c (main): Specify return type and use
2917 (void) for arguments.
2918 * manual/examples/subopt.c (main): Use char **argv argument.
2919
2ee633a2
JM
29202012-02-17 Joseph Myers <joseph@codesourcery.com>
2921
2922 [BZ #5077]
2923 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2924 rounding modes.
2925
0520adde
FB
29262012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2927
2928 [BZ #6907]
2929 * manual/string.texi (strchr): Change when strchrnul is
2930 recommended.
2931
3f4081cd
DGM
29322012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2933
2934 [BZ #174]
2935 * manual/locale.texi (setlocale): Document LOCPATH.
2936
d1b10e78
JM
29372012-02-17 Joseph Myers <joseph@codesourcery.com>
2938
2939 [BZ #10210]
2940 * manual/process.texi (execle): Move @dots{} before last argument.
2941
79c6869c
PB
29422012-02-17 Paul Bolle <pebolle@tiscali.nl>
2943
2944 [BZ #12047]
2945 * manual/charset.texi (Generic Charset Conversion): Fix typo
2946 (LC_TYPE -> LC_CTYPE).
2947
cc6e48bc
NB
29482012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2949
2950 [BZ #5805]
2951 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2952 (scalbnf): Likewise.
2953 (scalbnl): Likewise.
2954 (scalbln): Likewise.
2955 (scalblnf): Likewise.
2956 (scalblnl): Likewise.
2957 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2958 (vwarnx): Likewise.
2959 (verr): Likewise.
2960 (verrx): Likewise.
2961 * manual/filesys.texi (telldir): Use braces around return type.
2962 * manual/llio.texi (mmap): Add space after comma.
2963 (mmap64): Likewise.
2964 * manual/math.texi (jn): Use @var{} on parameter names.
2965 (jnf): Likewise.
2966 (jnl): Likewise.
2967 (yn): Likewise.
2968 (ynf): Likewise.
2969 (ynl): Likewise.
2970 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2971 line.
2972 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2973 "...".
2974 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2975 (sched_get_priority_max): Likewise.
2976 * manual/signal.texi (sigvec): Add space after comma.
2977 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2978 names.
2979 (if_indextoname): Likewise.
2980 (if_freenameindex): Likewise.
2981 (sendto): Use ',' instead of '.' in prototype.
2982 * manual/startup.texi (syscall): Use @dots{} instead of literal
2983 "...".
2984 * manual/stdio.texi (__fpending): Separate initial words of
2985 paragraph from @deftypefun line.
2986 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2987 "...".
2988 (vsyslog): Use @var{} on parameter names.
2989 * manual/terminal.texi (stty): Use @var{} on parameter names.
2990 * manual/users.texi (getutmp): Use @var{} on parameter names.
2991 (getutmpx): Likewise.
2992
5b23062f
JM
29932012-02-17 Joseph Myers <joseph@codesourcery.com>
2994
2995 [BZ #6884]
2996 * manual/stdio.texi (fopen): Fix typos in description of
2997 ",ccs=STRING".
2998
8dee4833
AJ
29992012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3000
3001 [BZ #4026]
3002 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3003 get clock_id definition.
3004
9078ce93
TS
30052012-02-17 Thomas Schwinge <thomas@schwinge.name>
3006
3007 [BZ #4822]
3008 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3009 (madvise): Cast every argument to void on its own.
3010
3835c55f
JM
30112012-02-17 Joseph Myers <joseph@codesourcery.com>
3012
3013 [BZ #9902]
3014 * manual/startup.texi (Exit Status): Fix typo.
3015
35c47e37
JM
30162012-02-17 Joseph Myers <joseph@codesourcery.com>
3017
3018 [BZ #10140]
3019 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3020 * manual/examples/argp-ex2.c: Likewise.
3021 * manual/examples/argp-ex3.c: Likewise.
3022
e3b69ca7
RH
30232012-02-16 Richard Henderson <rth@redhat.com>
3024
3025 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3026 * sysdeps/s390/s390-32/initfini.c: Remove.
3027 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3028 * sysdeps/s390/s390-64/initfini.c: Remove.
3029
df83af67
KK
30302012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3031
3032 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3033 compiler output for sysdeps/generic/initfini.c.
3034 * sysdeps/sh/elf/initfini.c: Remove file.
3035
f63f3380
DM
30362012-02-16 David S. Miller <davem@davemloft.net>
3037
fb59b3a4
DM
3038 [BZ #11494]
3039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3040
f63f3380
DM
3041 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3042 * sysdeps/sparc/crti.S: New file.
3043 * sysdeps/sparc/crtn.S: New file.
3044 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3045 * sysdeps/sparc/sparc64/Makefile: Likewise.
3046
df6a4a4a
MF
30472012-02-15 Mike Frysinger <vapier@gentoo.org>
3048
6dd8f3dc 3049 [BZ #3335]
df6a4a4a
MF
3050 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3051
1cac7236
RM
30522012-02-15 Roland McGrath <roland@hack.frob.com>
3053
d2c736f8
RM
3054 [BZ #4822]
3055 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3056
1cac7236
RM
3057 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3058 (write, read, close): Likewise.
3059 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3060
8e475601
JM
30612012-02-15 Joseph Myers <joseph@codesourcery.com>
3062
3063 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3064 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3065 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3066 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3067 <bits/signalfd.h>.
3068 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3070 bits/signalfd.h.
3071
ed656b40
MP
30722012-02-14 Marek Polacek <polacek@redhat.com>
3073
3074 * sysdeps/x86_64/crti.S: New file.
3075 * sysdeps/x86_64/crtn.S: New file.
3076 * sysdeps/x86_64/elf/initfini.c: Remove file.
3077
2a979d3a
JM
30782012-02-13 Joseph Myers <joseph@codesourcery.com>
3079
3080 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3081 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3082 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3083 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3084 <bits/inotify.h>.
3085 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3087 bits/inotify.h.
3088
2a418ac3
JM
30892012-02-13 Joseph Myers <joseph@codesourcery.com>
3090
3091 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3092 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3093 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3094 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3095 <bits/eventfd.h>.
3096 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3098 bits/eventfd.h.
3099
fb779be7
TS
31002012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3101
e19e83c5
RM
3102 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3103 __feraiseexcept instead of feraiseexcept.
7c35ffed 3104
fb779be7
TS
3105 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3106 nanosleep invocations.
3107 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3108 strings, and add error checking for a nanosleep invocations.
3109
59ba27a6
PE
31102012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3111
3112 Replace FSF snail mail address with URLs, as per GNU coding standards.
3113 Most of the snail mail addresses were wrong anyway, and omitting
3114 them makes the source code easier to maintain. Almost all of the
3115 changes are to license notices and to locale LC_IDENTIFICATION
3116 addresses, except for this one:
3117 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3118 not its snail mail address.
3119
57b957eb
RH
31202012-02-09 Richard Henderson <rth@twiddle.net>
3121
af850b1c
RH
3122 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3123 of kernel-features.h.
3124
57b957eb
RH
3125 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3126
6b73181a
MP
31272012-02-08 Marek Polacek <polacek@redhat.com>
3128
3129 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3130 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3131 * sysdeps/gnu/_G_config.h: Likewise.
3132 * sysdeps/generic/_G_config.h: Likewise.
3133
26ecc33a
AS
31342012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3135
6c6dbc63
AS
3136 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3137 tests.
3138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3139
e216c012
AS
3140 * sysdeps/powerpc/powerpc32/crti.S: New file.
3141 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3142 * sysdeps/powerpc/powerpc64/crti.S: New file.
3143 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3144
26ecc33a
AS
3145 * Makeconfig (have-initfini): Don't set.
3146 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3147 * configure.in (nopic_initfini): Don't substitute.
3148 * config.h.in (HAVE_INITFINI): Don't #undef.
3149 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3150 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3151
3add8e13
JM
31522012-02-08 Joseph Myers <joseph@codesourcery.com>
3153
3154 Support crti.S and crtn.S provided directly by architectures.
3155 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3156 [crti.S in sysdirs] (omit-deps): Likewise.
3157 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3158 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3159 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3160 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3161 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3162 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3163 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3164 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3165 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3166 compiler output for sysdeps/generic/initfini.c.
3167 * sysdeps/i386/elf/Makefile: Remove file.
3168 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3169
a22f12b4
MP
31702012-02-07 Marek Polacek <polacek@redhat.com>
3171
3172 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3173 * sysdeps/gnu/_G_config.h: Likewise.
3174 * sysdeps/mach/hurd/_G_config.h: Likewise.
3175
148cf100
MP
31762012-02-07 Marek Polacek <polacek@redhat.com>
3177
3178 * math/Makefile (tests): Add tst-CMPLX2.
3179 * math/tst-CMPLX2.c: New file.
3180
cfdc0dd7
AS
31812012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3182
84ba42c4
AS
3183 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3184
cfdc0dd7
AS
3185 * math/libm-test.inc (jn_test): Add missing L suffix.
3186
622c86f4
MP
31872012-02-06 Marek Polacek <polacek@redhat.com>
3188
3189 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3190 * sysdeps/i386/fpu/e_powf.S: Likewise.
3191 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3192 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3193 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3194 * sysdeps/i386/fpu/e_pow.S: Likewise.
3195 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3196 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3197 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3198 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3199 * sysdeps/i386/fpu/e_log2.S: Likewise.
3200 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3201 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3202 * sysdeps/i386/fpu/e_powl.S: Likewise.
3203 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3204 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3205 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3206 * sysdeps/i386/fpu/e_logl.S: Likewise.
3207 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3208 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3209 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3210 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3211 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3212 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3213 * sysdeps/i386/fpu/e_log.S: Likewise.
3214 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3215 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3216 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3217 * sysdeps/i386/fpu/e_logf.S: Likewise.
3218 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3219 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3220 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3221 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3222 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3223 * sysdeps/i386/fpu/e_log10.S: Likewise.
3224 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3225 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3226 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3227 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3228 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3229 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3230 * sysdeps/i386/asm-syntax.h: Likewise.
3231 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3232 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3233 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3234 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3235 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3236 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3237 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3238 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3239 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3240 * sysdeps/powerpc/sysdep.h: Likewise.
3241 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3242 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3243
d4a54ac6
JM
32442012-02-06 Joseph Myers <joseph@codesourcery.com>
3245
3246 [BZ #411]
3247 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3248
314054ea
JM
32492012-02-06 Joseph Myers <joseph@codesourcery.com>
3250
3251 * sysdeps/i386/sysdep.h: Include <features.h>.
3252 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3253 version.
3254
d8e0ca50
JM
32552012-02-05 Joseph Myers <joseph@codesourcery.com>
3256
3257 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3258 Define.
3259 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3260 LOAD_PIC_REG_STR.
3261
b1da7dd9
JM
32622012-02-03 Joseph Myers <joseph@codesourcery.com>
3263
3264 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3265 (SETUP_PIC_REG): Use GET_PC_THUNK.
3266 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3267 macro.
3268
9a1d9254
JM
32692012-02-03 Joseph Myers <joseph@codesourcery.com>
3270
3271 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3272 for non-PIC compilation.
3273 (SETUP_PIC_REG): Add .p2align directive.
3274 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3275 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3276 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3277 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3278 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3279 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3280 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3281 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3282 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3283 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3284 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3285 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3286 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3287 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3288 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3289 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3290 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3291 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3292 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3293 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3294 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3295 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3296 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3297 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3298 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3299 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3300 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3301 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3302 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3303 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3304 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3305 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3306 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3307 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3308 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3309 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3310 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3311 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3312 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3313 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3314 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3315
65dc3b75
JM
33162012-02-03 Joseph Myers <joseph@codesourcery.com>
3317
3318 * math/tst-CMPLX.c: Include <stdio.h>.
3319
d55bf177
JM
33202012-01-31 Joseph Myers <joseph@codesourcery.com>
3321
3322 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3323 float.
3324 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3325 * sysdeps/sparc/bits/mathdef.h: Likewise.
3326
69db4f8f
MP
33272012-01-31 Marek Polacek <polacek@redhat.com>
3328
3329 * libio/libio.h: Don't define _PARAMS.
3330 * locale/programs/config.h: Don't define PARAMS.
3331 * stdlib/strtol_l.c: Likewise.
3332 (__strtol_l): Remove PARAMS from the prototype.
3333
41b81892
UD
33342012-01-31 Ulrich Drepper <drepper@gmail.com>
3335
3b49edc0
UD
3336 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3337 names. Just use the correct names. Remove unnecessary wrapper
3338 functions.
3339 * malloc/arena.c: Likewise.
3340 * malloc/hooks.c: Likewise.
3341
41b81892
UD
3342 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3343 ARENA_TEST says not to. Simplify test for creation of a new arena.
3344 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3345
27a25b6e
UD
33462012-01-30 Ulrich Drepper <drepper@gmail.com>
3347
3348 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3349 into tail calls.
3350 (update_get_addr): New function.
3351 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3352 GET_ADDR_MODULE parameter.
3353
c8a89e7d
JM
33542012-01-30 Joseph Myers <joseph@codesourcery.com>
3355
3356 * crypt/cert.c: Remove __STDC__ conditionals.
3357 * crypt/crypt-entry.c: Likewise.
3358 * crypt/crypt_util.c: Likewise.
3359 * libio/filedoalloc.c: Likewise.
3360 * libio/fileops.c: Likewise.
3361 * libio/genops.c: Likewise.
3362 * libio/iofclose.c: Likewise.
3363 * libio/iofdopen.c: Likewise.
3364 * libio/iofopen.c: Likewise.
3365 * libio/iofopen64.c: Likewise.
3366 * libio/iogetdelim.c: Likewise.
3367 * libio/iopopen.c: Likewise.
3368 * libio/obprintf.c: Likewise.
3369 * libio/oldfileops.c: Likewise.
3370 * libio/oldiofclose.c: Likewise.
3371 * libio/oldiofdopen.c: Likewise.
3372 * libio/oldiofopen.c: Likewise.
3373 * libio/oldiopopen.c: Likewise.
3374 * libio/wfiledoalloc.c: Likewise.
3375 * libio/wgenops.c: Likewise.
3376 * locale/programs/xmalloc.c: Likewise.
3377 * misc/syslog.c: Likewise.
3378 * stdio-common/xbug.c: Likewise.
3379 * string/memchr.c: Likewise.
3380 * string/memcmp.c: Likewise.
3381 * string/memrchr.c: Likewise.
3382 * string/rawmemchr.c: Likewise.
3383 * sysdeps/posix/getcwd.c: Likewise.
3384 * time/strftime_l.c: Likewise.
3385
3b100462
JM
33862012-01-30 Joseph Myers <joseph@codesourcery.com>
3387
3388 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3389 * config.make.in (config-cflags-sse2avx): Define.
3390 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3391 Fix typo.
3392
607998af
CM
33932012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3394
3395 * scripts/config.guess: Update from upstream config git repository.
3396 * scripts/config.sub: Likewise.
3397
3601428f
CM
33982012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3399
3ac8b282
CM
3400 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3401 (EM_NUM): Update.
3402 (R_TILEPRO_*, R_TILEGX_*): New macros.
3403
e034841e
CM
3404 * scripts/firstversions.awk: Fix bug in version range handling.
3405
540d7568
CM
3406 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3407
3601428f
CM
3408 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3409
463de862
CM
3410 * include/sys/epoll.h: New file.
3411 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3412 libc_hidden_def.
3413
73139a76
UD
34142012-01-28 Ulrich Drepper <drepper@gmail.com>
3415
96bc5b45
UD
3416 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3417 Avoid unnecessary __WORDSIZE == 64 test.
3418 (fmaxf): Use VEX format if possible.
3419 (fmax): Likewise.
3420 (fminf): Likewise.
3421 (fmin): Likewise.
3422
56f6f6a2
UD
3423 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3424 * math/math_private.h: Remove libc_fegetround* and
3425 libc_fesetround*.
3426 * sysdeps/i386/configure.in: Check for -msse2avx.
3427 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3428 also if SSE2AVX is defined.
3429 Remove libc_fegetround* and libc_fesetround*.
3430 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3431 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3432 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3433 of HAS_YMM_USABLE.
3434 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3435 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3436 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3437 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3438 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3439
73139a76
UD
3440 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3441
d73f93a4
AZ
34422012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3443
3444 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3445 size is not set.
3446 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3447
6ee65ed6
UD
34482012-01-27 Ulrich Drepper <drepper@gmail.com>
3449
3450 [BZ #13618]
3451 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3452 relocation.
3453 * Makeconfig (libm): Define.
3454 * elf/Makefile: Add rules to build and run tst-relsort1.
3455 * elf/tst-relsort1.c: New file.
3456 * elf/tst-relsort1mod1.c: New file.
3457 * elf/tst-relsort1mod2.c: New file.
3458
8db21882
JM
34592012-01-27 Joseph Myers <joseph@codesourcery.com>
3460
3461 * math/s_ldexp.c: Remove __STDC__ conditionals.
3462 * math/s_ldexpf.c: Likewise.
3463 * math/s_ldexpl.c: Likewise.
3464 * math/s_nextafter.c: Likewise.
3465 * math/s_nexttowardf.c: Likewise.
3466 * math/s_significand.c: Likewise.
3467 * math/s_significandf.c: Likewise.
3468 * math/s_significandl.c: Likewise.
3469 * math/w_jnl.c: Likewise.
3470 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3471 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3472 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3473 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3474 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3475 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3476 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3477 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3478 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3479 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3480 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3481 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3482 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3483 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3484 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3485 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3486 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3487 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3488 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3489 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3490 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3491 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3492 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3493 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3494 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3495 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3496 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3497 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3498 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3499 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3500 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3501 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3502 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3503 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3504 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3505 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3506 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3507 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3508 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3509 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3510 * sysdeps/ieee754/k_standard.c: Likewise.
3511 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3512 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3513 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3514 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3515 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3516 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3517 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3518 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3519 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3520 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3521 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3522 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3523 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3524 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3525 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3526 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3527 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3528 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3529 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3530 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3531 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3532 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3533 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3534 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3535 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3536 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3538 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3540 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3541 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3542 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3543 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3544 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3545 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3546 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3547 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3548 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3549 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3550 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3551 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3552 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3553 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3554 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3555 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3556 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3557 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3558 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3559 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3560 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3561 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3562 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3563 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3564 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3565 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3566 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3567 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3568 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3569 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3570 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3571 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3572 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3573 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3574 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3575 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3576 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3577 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3578 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3579 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3580 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3581 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3582 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3583 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3584 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3585 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3586 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3587 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3588 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3589 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3590 * sysdeps/ieee754/s_matherr.c: Likewise.
3591 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3592 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3593 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3594 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3595
965a54a4
JM
35962012-01-26 Joseph Myers <joseph@codesourcery.com>
3597
3598 * crypt/md5.h: Remove __STDC__ conditionals.
3599 * libio/libioP.h: Likewise.
3600 * locale/programs/config.h: Likewise.
3601 * sysdeps/generic/sysdep.h: Likewise.
3602 * sysdeps/i386/asm-syntax.h: Likewise.
3603 * sysdeps/s390/asm-syntax.h: Likewise.
3604 * sysdeps/unix/sysdep.h: Likewise.
3605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3607
7071ad79
JM
36082012-01-26 Joseph Myers <joseph@codesourcery.com>
3609
3610 * libio/libio.h: Remove __STDC__ conditionals.
3611 * malloc/obstack.h: Likewise.
3612 * math/complex.h: Likewise.
3613 * math/math.h: Likewise.
3614 * sysdeps/generic/_G_config.h: Likewise.
3615 * sysdeps/gnu/_G_config.h: Likewise.
3616 * sysdeps/mach/hurd/_G_config.h: Likewise.
3617 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3618 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3619 * sysdeps/sparc/bits/mathdef.h: Likewise.
3620
afc5ed09
UD
36212012-01-26 Ulrich Drepper <drepper@gmail.com>
3622
3623 [BZ #13583]
3624 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3625 Clean up HAS_* macros.
afc5ed09 3626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3627 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3628 possible.
3629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3630 HAS_AVX.
3631 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3632 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3633 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3634 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3635 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3636
bdb6de1d
JM
36372012-01-25 Joseph Myers <joseph@codesourcery.com>
3638
3639 * elf/tst-unique3.cc (gets): Remove declaration.
3640 * elf/tst-unique3lib.cc (gets): Likewise.
3641 * elf/tst-unique3lib2.cc (gets): Likewise.
3642 * elf/tst-unique4.cc (gets): Likewise.
3643
b15549e6
UD
36442012-01-24 Ulrich Drepper <drepper@gmail.com>
3645
3646 * include/stdio.h: Add C++ protection. Add gets declarations and
3647 definitions.
3648 * debug/tst-chk1.c: Don't declare gets here.
3649 * stdio-common/tst-gets.c: Likewise.
3650
a037381f
JM
36512012-01-24 Joseph Myers <joseph@codesourcery.com>
3652
3653 * posix/glob: Remove directory.
3654
f1d4aa75
JM
36552012-01-24 Joseph Myers <joseph@codesourcery.com>
3656
3657 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3658
81c0c964
PT
36592012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3660
3661 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3662 of the non-standard EPFNOSUPPORT.
3663
0ea698ae
ST
36642011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3665
3666 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3667 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3668 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3669
d220b117
UD
36702012-01-21 Ulrich Drepper <drepper@gmail.com>
3671
3672 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3673
3e1aa84e
UD
36742012-01-20 Ulrich Drepper <drepper@gmail.com>
3675
3676 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3677 transient errors.
3678 * nscd/grpcache.c (cache_addgr): Likewise.
3679 * nscd/hstcache.c (cache_addhst): Likewise.
3680 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3681 * nscd/pwdcache.c (cache_addpw): Likewise.
3682 * nscd/servicescache.c (cache_addserv): Likewise.
3683
400aa020
UD
36842012-01-16 Ulrich Drepper <drepper@gmail.com>
3685
d77e7869
UD
3686 * malloc/malloc.c: Various cleanups.
3687 * malloc/hooks.c: Likewise.
3688
400aa020
UD
3689 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3690 * stdlib/bug-fmtmsg1.c: New file.
3691
3692 * stdlib/fmtmsg.c (init): Add missing unlock.
3693 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3694
e0a309cf
MP
36952012-01-12 Marek Polacek <polacek@redhat.com>
3696
3697 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3698 and _GNU_SOURCE.
3699
929d11c7
WS
37002012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3701
3702 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3703 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3704 macro to ensure uniqueness of label name.
3705 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3706 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3707
41d0e869
UD
37082012-01-11 Ulrich Drepper <drepper@gmail.com>
3709
0cc5ed3b
UD
3710 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3711
41d0e869
UD
3712 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3713 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3714 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3715 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3716
a47a831a
UD
37172012-01-10 Ulrich Drepper <drepper@gmail.com>
3718
daa891c0
UD
3719 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3720
3721 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3722 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3723 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3724
e58ef0f2
UD
3725 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3726
a47a831a 3727 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3728 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3729 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3731
3732 * math/bits/math-finite.h: Add ldexp support.
3733
a0bfc9c7
MP
37342012-01-10 Marek Polacek <polacek@redhat.com>
3735
3736 * locale/programs/localedef.h (show_archive_content): Add noreturn
3737 attribute.
3738
d6e97a1d
UD
37392012-01-09 Ulrich Drepper <drepper@gmail.com>
3740
3741 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3742
d5835c26
UD
37432012-01-08 Ulrich Drepper <drepper@gmail.com>
3744
e5f484c6
UD
3745 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3746
d5835c26
UD
3747 * io/Makefile (headers): Add bits/poll2.h.
3748
d1f741e9
WS
37492011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3750
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3752 typo #include statement.
3753
ec09c1c4
UD
37542012-01-08 Ulrich Drepper <drepper@gmail.com>
3755
3756 * include/sys/cdefs.h: Define __attribute_alloc_size.
3757 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3758 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3759 * elf/pldd.c: Likewise.
3760 * iconv/iconv_charmap.c: Likewise.
3761 * iconv/iconvconfig.c: Likewise.
3762 * iconv/strtab.c: Likewise.
3763 * locale/programs/locale.c: Likewise.
3764 * locale/programs/localedef.h: Likewise.
3765 * locale/programs/simple-hash.c: Likewise.
3766 * nscd/nscd.h: Likewise.
3767 * nss/makedb.c: Likewise.
3768 * sysdeps/generic/ldconfig.h: Likewise.
3769 * locale/programs/localedef.c: Remove xmalloc prototype.
3770 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3771
20b38e03
PP
37722012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3773
3774 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3775 appropriate.
3776
a0da5fe1
UD
37772012-01-08 Ulrich Drepper <drepper@gmail.com>
3778
1d5a644a 3779 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3780 * math/tst-CMPLX.c: New file.
1d5a644a 3781
8784a6db
UD
3782 * math/complex.h (CMPLXL): Fix typo.
3783
d9a216c0
UD
3784 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3785 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3786 GLIBC_2.16.
3787 * debug/tst-chk1.c: Add poll and ppoll tests.
3788 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3789 * include/sys/poll.h: Add hidden proto for ppoll.
3790 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3791 * sysdeps/mach/hurd/ppoll.c: Likewise.
3792 * io/ppoll.c: Likewise.
3793 * debug/poll_chk.c: New file.
3794 * debug/ppoll_chk.c: New file.
3795 * include/bits/poll2.h: New file.
3796 * io/bits/poll2.h: New file.
3797
ac097f5c
UD
3798 [BZ #1350]
3799 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3800
2119dcfa
UD
3801 * configure.in: static is always set to yes. Remove.
3802 * config.make.in: Don't set build-static.
3803 * Makeconfig: Remove use of build-static.
3804 * dlfcn/Makefile: Likewise.
3805 * elf/Makefile: Likewise.
3806 * math/Makefile: Likewise.
3807 * misc/Makefile: Likewise.
3808 * nptl/Makefile: Likewise.
3809 * sysdeps/mach/hurd/Makefile: Likewise.
3810
121766a9
UD
3811 * configure.in: PWD_P is not used anymore.
3812 * config.make.in: Remove PWD_P entry.
3813
51a1d39c 3814 * configure.in: Remove last remnants of RANLIB.
8720d066 3815 No need to check for signed size_t anymore.
215f4bdc
UD
3816 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3817 and IA-64.
3857022a 3818 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3819 * aclocal.m4: Likewise.
3820
d3ed7225
UD
3821 * wcsmbs/mbrtoc16.c: Implement using towc function.
3822 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3823 * wcsmbs/wcsmbsload.c: Likewise.
3824 * iconv/gconv_simple.c: Likewise.
3825 * iconv/gconv_int.h: Likewise.
3826 * iconv/gconv_builtin.h: Likewise.
3827 * iconv/iconv_prog.c: Remove CHAR16 handling.
3828
3829 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3830
3831 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3832
a0da5fe1
UD
3833 * configure.in: Remove --with-elf and --enable-bounded options.
3834 Dont set base_machine for ia64. More non-ELF conditions removed.
3835 Remove testing and setting of leading underscore information.
3836 * config.make.in (build-bounded): Set to no.
3837 * config.h.in: Remove NO_UNDERSCORES entry.
3838 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3839 them.
3840 * csu/start.c: Remove !NO_UNDERSCORE code.
3841 * locale/localeinfo.h: Likewise.
3842 * sysdeps/generic/machine-gmon.h: Likewise.
3843 * sysdeps/generic/sysdep.h: Likewise.
3844 * sysdeps/i386/sysdep.h: Likewise.
3845 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3846 * sysdeps/mach/sysdep.h: Likewise.
3847 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3848 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3849 * sysdeps/sh/sysdep.h: Likewise.
3850 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3851 * sysdeps/unix/i386/sysdep.S: Likewise.
3852 * sysdeps/unix/sparc/start.c: Likewise.
3853 * sysdeps/unix/sparc/sysdep.S: Likewise.
3854 * sysdeps/unix/sparc/sysdep.h: Likewise.
3855 * sysdeps/unix/start.c: Likewise.
3856 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3857 * sysdeps/x86_64/sysdep.h: Likewise.
3858
df78418a
UD
38592012-01-07 Ulrich Drepper <drepper@gmail.com>
3860
a784e502
UD
3861 [BZ #13553]
3862 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3863 for non-gcc.
3864 * argp/argp-fmtstream.h: Use const instead __const.
3865 * argp/argp.h: Likewise.
3866 * assert/assert.h: Likewise.
3867 * bits/fenv.h: Likewise.
3868 * bits/sched.h: Likewise.
3869 * bits/sigset.h: Likewise.
3870 * bits/sigthread.h: Likewise.
3871 * catgets/nl_types.h: Likewise.
3872 * conform/data/pthread.h-data: Likewise.
3873 * crypt/crypt-private.h: Likewise.
3874 * crypt/crypt.h: Likewise.
3875 * crypt/crypt_util.c: Likewise.
3876 * ctype/ctype.h: Likewise.
3877 * debug/execinfo.h: Likewise.
3878 * debug/mbsnrtowcs_chk.c: Likewise.
3879 * debug/mbsrtowcs_chk.c: Likewise.
3880 * debug/wcsnrtombs_chk.c: Likewise.
3881 * debug/wcsrtombs_chk.c: Likewise.
3882 * debug/wcstombs_chk.c: Likewise.
3883 * dirent/dirent.h: Likewise.
3884 * dlfcn/dlfcn.h: Likewise.
3885 * elf/neededtest4.c: Likewise.
3886 * grp/grp.h: Likewise.
3887 * gshadow/gshadow.h: Likewise.
3888 * iconv/gconv.h: Likewise.
3889 * iconv/gconv_int.h: Likewise.
3890 * iconv/gconv_simple.c: Likewise.
3891 * iconv/iconv.h: Likewise.
3892 * iconv/loop.c: Likewise.
3893 * iconv/skeleton.c: Likewise.
3894 * include/aio.h: Likewise.
3895 * include/aliases.h: Likewise.
3896 * include/argz.h: Likewise.
3897 * include/arpa/inet.h: Likewise.
3898 * include/assert.h: Likewise.
3899 * include/dirent.h: Likewise.
3900 * include/dlfcn.h: Likewise.
3901 * include/execinfo.h: Likewise.
3902 * include/fcntl.h: Likewise.
3903 * include/fenv.h: Likewise.
3904 * include/glob.h: Likewise.
3905 * include/grp.h: Likewise.
3906 * include/libintl.h: Likewise.
3907 * include/mntent.h: Likewise.
3908 * include/netdb.h: Likewise.
3909 * include/pwd.h: Likewise.
3910 * include/rpc/netdb.h: Likewise.
3911 * include/sched.h: Likewise.
3912 * include/search.h: Likewise.
3913 * include/shadow.h: Likewise.
3914 * include/signal.h: Likewise.
3915 * include/stdio.h: Likewise.
3916 * include/stdlib.h: Likewise.
3917 * include/string.h: Likewise.
3918 * include/sys/socket.h: Likewise.
3919 * include/sys/stat.h: Likewise.
3920 * include/sys/statfs.h: Likewise.
3921 * include/sys/statvfs.h: Likewise.
3922 * include/sys/syslog.h: Likewise.
3923 * include/sys/time.h: Likewise.
3924 * include/sys/uio.h: Likewise.
3925 * include/time.h: Likewise.
3926 * include/unistd.h: Likewise.
3927 * include/utmp.h: Likewise.
3928 * include/wchar.h: Likewise.
3929 * include/wctype.h: Likewise.
3930 * inet/aliases.h: Likewise.
3931 * inet/arpa/inet.h: Likewise.
3932 * inet/netinet/ether.h: Likewise.
3933 * inet/netinet/in.h: Likewise.
3934 * intl/libintl.h: Likewise.
3935 * io/bits/fcntl2.h: Likewise.
3936 * io/fcntl.h: Likewise.
3937 * io/ftw.h: Likewise.
3938 * io/sys/poll.h: Likewise.
3939 * io/sys/stat.h: Likewise.
3940 * io/sys/statfs.h: Likewise.
3941 * io/sys/statvfs.h: Likewise.
3942 * io/utime.h: Likewise.
3943 * libio/bits/stdio.h: Likewise.
3944 * libio/bits/stdio2.h: Likewise.
3945 * libio/libio.h: Likewise.
3946 * libio/libioP.h: Likewise.
3947 * libio/stdio.h: Likewise.
3948 * locale/lc-ctype.c: Likewise.
3949 * locale/locale.h: Likewise.
3950 * login/utmp.h: Likewise.
3951 * malloc/arena.c: Likewise.
3952 * malloc/malloc.c: Likewise.
3953 * malloc/malloc.h: Likewise.
3954 * malloc/mcheck.c: Likewise.
3955 * malloc/mtrace.c: Likewise.
3956 * math/bits/mathcalls.h: Likewise.
3957 * math/fenv.h: Likewise.
3958 * math/math_private.h: Likewise.
3959 * misc/bits/error.h: Likewise.
3960 * misc/bits/syslog.h: Likewise.
3961 * misc/err.h: Likewise.
3962 * misc/error.h: Likewise.
3963 * misc/fstab.h: Likewise.
3964 * misc/mntent.h: Likewise.
3965 * misc/regexp.h: Likewise.
3966 * misc/search.h: Likewise.
3967 * misc/sgtty.h: Likewise.
3968 * misc/sys/mman.h: Likewise.
3969 * misc/sys/syslog.h: Likewise.
3970 * misc/sys/uio.h: Likewise.
3971 * misc/sys/xattr.h: Likewise.
3972 * misc/ttyent.h: Likewise.
3973 * nis/rpcsvc/ypclnt.h: Likewise.
3974 * nss/nss.h: Likewise.
3975 * posix/bits/unistd.h: Likewise.
3976 * posix/fnmatch.h: Likewise.
3977 * posix/glob.h: Likewise.
3978 * posix/sched.h: Likewise.
3979 * posix/spawn.h: Likewise.
3980 * posix/sys/wait.h: Likewise.
3981 * posix/unistd.h: Likewise.
3982 * posix/wordexp.h: Likewise.
3983 * pwd/pwd.h: Likewise.
3984 * resolv/netdb.h: Likewise.
3985 * resource/sys/resource.h: Likewise.
3986 * rt/aio.h: Likewise.
3987 * rt/bits/mqueue2.h: Likewise.
3988 * rt/mqueue.h: Likewise.
3989 * shadow/shadow.h: Likewise.
3990 * signal/signal.h: Likewise.
3991 * socket/send.c: Likewise.
3992 * socket/sendto.c: Likewise.
3993 * socket/sys/socket.h: Likewise.
3994 * stdio-common/printf.h: Likewise.
3995 * stdlib/bits/stdlib.h: Likewise.
3996 * stdlib/fmtmsg.h: Likewise.
3997 * stdlib/monetary.h: Likewise.
3998 * stdlib/stdlib.h: Likewise.
3999 * stdlib/ucontext.h: Likewise.
4000 * streams/stropts.h: Likewise.
4001 * string/argz.h: Likewise.
4002 * string/bits/string2.h: Likewise.
4003 * string/string.h: Likewise.
4004 * string/strings.h: Likewise.
4005 * sunrpc/rpc/auth.h: Likewise.
4006 * sunrpc/rpc/auth_des.h: Likewise.
4007 * sunrpc/rpc/clnt.h: Likewise.
4008 * sunrpc/rpc/netdb.h: Likewise.
4009 * sunrpc/rpc/pmap_clnt.h: Likewise.
4010 * sunrpc/rpc/xdr.h: Likewise.
4011 * sysdeps/generic/inttypes.h: Likewise.
4012 * sysdeps/generic/net/if.h: Likewise.
4013 * sysdeps/generic/sys/swap.h: Likewise.
4014 * sysdeps/gnu/net/if.h: Likewise.
4015 * sysdeps/gnu/utmpx.h: Likewise.
4016 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4017 * sysdeps/i386/i486/bits/string.h: Likewise.
4018 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4019 * sysdeps/s390/bits/string.h: Likewise.
4020 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4021 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4022 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4023 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4024 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4025 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4026 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4027 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4028 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4029 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4030 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4031 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4032 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4033 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4034 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4035 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4036 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4038 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4039 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4040 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4041 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4042 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4043 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4044 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4045 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4046 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4047 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4048 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4049 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4050 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4051 * sysvipc/sys/ipc.h: Likewise.
4052 * sysvipc/sys/msg.h: Likewise.
4053 * sysvipc/sys/sem.h: Likewise.
4054 * sysvipc/sys/shm.h: Likewise.
4055 * termios/termios.h: Likewise.
4056 * time/sys/time.h: Likewise.
4057 * time/time.h: Likewise.
4058 * wcsmbs/bits/wchar2.h: Likewise.
4059 * wcsmbs/uchar.h: Likewise.
4060 * wcsmbs/wchar.h: Likewise.
4061 * wctype/wctype.h: Likewise.
4062
0269750c
UD
4063 [BZ #13551]
4064 * Makeconfig: Remove all but ELF support including AIX support.
4065 * Makerules: Likewise.
4066 * config.h.in: Likewise.
4067 * config.make.in: Likewise.
4068 * configure: Likewise.
4069 * configure.in: Likewise.
4070 * csu/Makefile: Likewise.
4071 * csu/version.c: Likewise.
4072 * debug/Makefile: Likewise.
4073 * dlfcn/Makefile: Likewise.
4074 * elf/Makefile: Likewise.
4075 * extra-lib.mk: Likewise.
4076 * iconv/Makefile: Likewise.
4077 * include/libc-symbols.h: Likewise.
4078 * include/shlib-compat.h: Likewise.
4079 * resolv/Makefile: Likewise.
4080 * resolv/res_libc.c: Likewise.
4081 * rt/Makefile: Likewise.
4082 * sysdeps/i386/asm-syntax.h: Likewise.
4083 * sysdeps/i386/sysdep.h: Likewise.
4084 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4085 * sysdeps/mach/sysdep.h: Likewise.
4086 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4087 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4088 * sysdeps/s390/asm-syntax.h: Likewise.
4089 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4090 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4091 * sysdeps/sh/sysdep.h: Likewise.
4092 * sysdeps/unix/sparc/sysdep.h: Likewise.
4093 * sysdeps/wordsize-32/divdi3.c: Likewise.
4094 * sysdeps/x86_64/sysdep.h: Likewise.
4095
00bbd29b
UD
4096 * argp/Versions: Remove _argp_unlock_xxx.
4097
4098 [BZ #13559]
4099 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4100 * abilist/libBrokenLocale.abilist: Likewise.
4101 * abilist/libanl.abilist: Likewise.
4102 * abilist/libc.abilist: Likewise.
4103 * abilist/libcrypt.abilist: Likewise.
4104 * abilist/libdl.abilist: Likewise.
4105 * abilist/libm.abilist: Likewise.
4106 * abilist/libnsl.abilist: Likewise.
4107 * abilist/libpthread.abilist: Likewise.
4108 * abilist/libresolv.abilist: Likewise.
4109 * abilist/librt.abilist: Likewise.
4110 * abilist/libthread_db.abilist: Likewise.
4111 * abilist/libutil.abilist: Likewise.
4112 * abilist/libnss_db.abilist: New file.
4113
4114 * scripts/abilist.awk: Add support for indirect functions.
4115
a2693a0e
UD
4116 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4117
3f05895f
UD
4118 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4119
ecb6fb48
UD
4120 * shlib-versions: Remove entries for ports architectures.
4121
664f8cb9
UD
4122 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4123 files in ports.
4124 * elf/stackguard-macros.h: Remove support for IA-64.
4125 * elf/tst-auditmod1.c: Likewise.
4126 * sysdeps/generic/ldsodefs.h: Likewise.
4127
7ae81d88
UD
4128 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4129 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4130 configure files.
4131
bdeba135
UD
4132 [BZ #13552]
4133 * configure.in: Remove --enable-omitfp support.
4134 * FAQ.in: Adjust.
4135 * config.make.in: Likewise.
4136 * Makeconfig: Likewise.
4137 * manual/install.texi: Likewise.
4138
d75a0a62
UD
4139 In case anyone cares, the IA-64 architecture could move to ports.
4140 * sysdeps/ia64/*: Removed.
4141 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4142 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4143
dcc9756b
UD
4144 [BZ #13555]
4145 * configure.in: Remove entries for unsupported architectures.
4146
d3761ebc 4147 [BZ #13533]
9954432e
UD
4148 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4149 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4150 routines.
4151 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4152 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4153 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4154 fall back to using wcrtomb.
4155 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4156 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4157 renaming.
4158 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4159 * wcsmbs/tst-c16c32-1.c: New file.
4160
4161 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4162 local variable.
4163
c3a87236
UD
4164 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4165
28926a1b
UD
4166 * elf/tst-unique3.cc: Add explicit declaration of gets.
4167 * elf/tst-unique3lib.cc: Likewise.
4168 * elf/tst-unique3lib2.cc: Likewise.
4169 * elf/tst-unique4.cc: Likewise.
4170
df78418a
UD
4171 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4172
8ecd6b2a
JM
41732012-01-06 Joseph Myers <joseph@codesourcery.com>
4174
4175 [BZ #13566]
4176 * assert/assert.h (static_assert): Don't define for C++.
4177 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4178 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4179
9f115170
UD
41802012-01-03 Ulrich Drepper <drepper@gmail.com>
4181
5e0d0300
UD
4182 * iconv/loop.c (single loop): Fix assertion in storing of
4183 remaining bytes.
4184
9f115170
UD
4185 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4186
81fb02b0
UD
41872012-01-01 Ulrich Drepper <drepper@gmail.com>
4188
4189 * posix/getconf.c: Update copyright year.
4190 * nss/getent.c: Likewise.
a316c1f6 4191 * nss/makedb.c: Likewise.
81fb02b0
UD
4192 * iconv/iconvconfig.c: Likewise.
4193 * iconv/iconv_prog.c: Likewise.
4194 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4195 * elf/pldd.c: Likewise.
4196 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4197 * catgets/gencat.c: Likewise.
4198 * csu/version.c: Likewise.
4199 * elf/ldd.bash.in: Likewise.
4200 * elf/sprof.c (print_version): Likewise.
4201 * locale/programs/locale.c: Likewise.
4202 * locale/programs/localedef.c: Likewise.
a316c1f6 4203 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4204 * nscd/nscd.c (print_version): Likewise.
4205 * debug/xtrace.sh: Likewise.
4206 * malloc/memusage.sh: Likewise.
4207 * malloc/mtrace.pl: Likewise.
4208 * debug/catchsegv.sh: Likewise.
4209
2ba92745
JJ
42102011-12-30 Jakub Jelinek <jakub@redhat.com>
4211
4212 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4213 pure attribute.
4214
dadebdae
UD
42152011-12-24 Ulrich Drepper <drepper@gmail.com>
4216
d3761ebc 4217 [BZ #13533]
db6af3eb
UD
4218 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4219 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4220 transformations.
4221 * iconv/gconv_int.h: Likewise.
4222 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4223 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4224 from libc for GLIBC_2.16.
4225 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4226 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4227 * wcsmbs/uchar.h: Really define mbstate_t.
4228 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4229 * wcsmbs/c16rtomb.c: New file.
4230 * wcsmbs/mbrtoc16.c: New file.
4231 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4232 for C/POSIX locale.
4233 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4234 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4235
dadebdae
UD
4236 * wcsmbs/wchar.h: Add missing __restrict.
4237
67371b56
UD
42382011-12-23 Ulrich Drepper <drepper@gmail.com>
4239
74033a25
UD
4240 [BZ #13532]
4241 * time/Makefile (routines): Add timespec_get.
4242 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4243 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4244 timespec for ISO C11.
4245 * time/timespec_get.c: New file.
4246 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4247 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4248
380d7e87
UD
4249 [BZ #13531]
4250 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4251 * stdlib/stdlib.h: Declare aligned_alloc.
4252 * Versions.def: Add GLIBC_2.16 for libc.
4253 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4254
4e9e7a35
UD
4255 [BZ 13527]
4256 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4257 ISO C11.
4258
380d7e87 4259 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4260 code.
4261
03a71829
UD
4262 [BZ #13528]
4263 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4264
839e283e
UD
4265 [BZ #13529]
4266 * assert/assert.h (static_assert): Define.
4267
ce5294e2 4268 * version.h: Update for 2.16 development version.
90fa7312 4269
8d44e150 4270 [BZ #13526]
d7809905
UD
4271 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4272 _ISOC11_SOURCE.
4273
c0da14cd
UD
4274 * version.h (RELEASE): Bump for 2.15 release.
4275 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4276
530a3249
MP
4277 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4278 Patch by Marek Polacek <mpolacek@redhat.com>.
4279
67371b56
UD
4280 * bits/byteswap.h: Protect long long constants with __extension__.
4281 * sysdeps/i386/bits/byteswap.h: Likewise.
4282 * sysdeps/ia64/bits/byteswap.h: Likewise.
4283 * sysdeps/s390/bits/byteswap.h: Likewise.
4284 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4285
15db4de1
LD
42862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4287
4288 [BZ #13540]
bbe315ea
LD
4289 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4290 destination buffer.
15db4de1
LD
4291 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4292
2b2596b1
MP
42932011-12-23 Marek Polacek <polacek@redhat.com>
4294
4295 * elf/dl-addr.c (determine_info): Add inline keyword.
4296 * elf/tst-auditmod4b.c (check_avx): Likewise.
4297 * elf/tst-auditmod6b.c (check_avx): Likewise.
4298 * elf/tst-auditmod6c.c (check_avx): Likewise.
4299 * elf/tst-auditmod7b.c (check_avx): Likewise.
4300
70c6c246
UD
43012011-12-23 Ulrich Drepper <drepper@gmail.com>
4302
4303 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4304 !__SSE_MATH__.
4305
c044cf14
LD
43062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4307
15db4de1 4308 [BZ #13540]
c044cf14
LD
4309 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4310 processing for last bytes.
4311
6b13d9d9
BH
43122011-08-06 Bruno Haible <bruno@clisp.org>
4313
d455f537
BH
4314 [BZ #13061]
4315 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4316 U+0385, not to U+1FEE.
4317
6b13d9d9
BH
4318 [BZ #13062]
4319 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4320 entry for U+00A5 U+0301.
4321
db910efd
UD
43222011-12-22 Ulrich Drepper <drepper@gmail.com>
4323
27deeafc
UD
4324 [BZ #13166]
4325 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4326 buffer for the output is too small.
4327
aed9d171
UD
4328 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4329 optimization.
4330
db910efd
UD
4331 [BZ #13185]
4332 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4333 SSE flags if possible.
4334
2bd779ae
LD
43352011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4336
e7f9dac3 4337 [BZ #13540]
2bd779ae
LD
4338 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4339 processing for last bytes.
4340
154bfc16
JM
43412011-12-22 Joseph Myers <joseph@codesourcery.com>
4342
4343 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4344 (syscall-list-default-options, syscall-list-default-condition)
4345 (syscall-list-includes): Define.
4346 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4347 list of ABIs and options and #if conditions for each ABI. Do not
4348 handle common syscalls between ABIs specially.
4349 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4350 Remove.
4351 (syscall-list-variants, syscall-list-32bit-options)
4352 (syscall-list-32bit-condition, syscall-list-64bit-options)
4353 (syscall-list-64bit-condition): Define.
4354 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4355 (syscall-list-variants, syscall-list-32bit-options)
4356 (syscall-list-32bit-condition, syscall-list-64bit-options)
4357 (syscall-list-64bit-condition): Define.
4358 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4359 Remove.
4360 (syscall-list-variants, syscall-list-32bit-options)
4361 (syscall-list-32bit-condition, syscall-list-64bit-options)
4362 (syscall-list-64bit-condition): Define.
4363 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4364 Remove.
4365 (syscall-list-variants, syscall-list-32bit-options)
4366 (syscall-list-32bit-condition, syscall-list-64bit-options)
4367 (syscall-list-64bit-condition): Define.
4368
21eaf3a5
UD
43692011-12-22 Ulrich Drepper <drepper@gmail.com>
4370
16c6f992
UD
4371 * locale/iso-639.def: Add brx entry.
4372
41043168
UD
4373 [BZ #13328]
4374 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4375 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4376
21eaf3a5
UD
4377 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4378 __feraiseexcept_renamed.
4379
e3a851a2
UD
43802011-12-21 Ulrich Drepper <drepper@gmail.com>
4381
4920765e
UD
4382 [BZ #13538]
4383 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4384 EPOLLET with unsigned values.
4385 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4386 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4387
e3a851a2
UD
4388 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4389 to large cancellation.
4390 * math/s_cacoshf.c: Likewise.
4391 * math/s_cacoshl.c: Likewise.
4392
b27e24b8
RK
43932011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4394
4395 [BZ #13305]
aebefeee 4396 [BZ #12786]
b27e24b8
RK
4397 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4398 * math/s_cacoshf.c: Likewise.
4399 * math/s_cacoshl.c: Likewise.
4400
ee190f67
UD
44012011-12-21 Ulrich Drepper <drepper@gmail.com>
4402
4403 [BZ #13439]
4404 * iconv/gconv.h: Define __GCONV_SWAP.
4405 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4406 * iconvdata/utf-16.c: Likewise.
4407 * iconvdata/utf-32.c: Likewise.
4408
707f25df
AS
44092011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4410
4411 [BZ #13524]
4412 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4413 numerator after shifting it by one limb.
4414
d2daaa1e
RÁE
44152011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4416
4417 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4418 under [__USE_EXTERN_INLINES].
4419
a4647e72
UD
44202011-12-17 Ulrich Drepper <drepper@gmail.com>
4421
4422 [BZ #13446]
4423 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4424
f0b264f1
AZ
44252011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4426
4427 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4428 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4429 optimized code.
4430 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4431 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4432 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4433 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4434 for strncasecmp/strncasecmp_l compilation.
4435 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4436 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4437
8ef4f244
MP
44382011-12-08 Marek Polacek <mpolacek@redhat.com>
4439
4440 [BZ #13484]
4441 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4442 of __asm__.
4443
97ac2654
UD
44442011-12-17 Ulrich Drepper <drepper@gmail.com>
4445
4446 [BZ #13506]
4447 * time/tzfile.c (__tzfile_read): Check values from file header.
4448
91d2a845
WS
44492011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4450
4451 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4452 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4453 * powerpc/powerpc32/dl-start.S: Likewise.
4454 * powerpc/powerpc32/elf/start.S: Likewise.
4455 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4456 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4457 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4458 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4459 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4460 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4461 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4462 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4463 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4464 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4465 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4466 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4467 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4468 * powerpc/powerpc32/memset.S: Likewise.
4469 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4470 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4471 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4472 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4473 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4474 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4475 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4476 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4477 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4478 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4479 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4480 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4481 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4482
a1267ba1
AZ
44832011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4484
4485 * math/libm-test.inc: Added more nearbyint tests.
4486 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4487 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4488 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4489 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4490
ad8ac1bd
RL
44912011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4492
4493 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4494 FD_CLOEXEC.
4495
1d3e4b61
UD
44962011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4497
4498 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4499 Add wcscpy-ssse3 wcscpy-c.
4500 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4501 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4502 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4503 * sysdeps/x86_64/wcschr.S: New file.
4504 * sysdeps/x86_64/wcsrchr.S: New file.
4505 * string/test-strcmp.c: Remove checking of wcscmp function for
4506 wrong alignments.
4507 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4508 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4509 wcsrchr-sse2 wcsrchr-c.
4510 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4511 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4512 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4513 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4514 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4515 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4516 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4517 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4518 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4519 * wcsmbc/wcschr.c (WCSCHR): New macro.
4520
5b330a2d
UD
45212011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4522
4523 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4524 * wcsmbs/test-wcsrchr.c: New file.
4525 * string/test-strrchr.c: Add wcsrchr support.
4526 (WIDE): New macro.
4527 * wcsmbs/test-wcscpy.c: New file.
4528 * string/test-strcpy.c: Add wcscpy support.
4529 (WIDE): New macro.
26428b7c 4530
f039c043
UD
45312011-12-10 Ulrich Drepper <drepper@gmail.com>
4532
4533 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4534 the inner loop.
4535
850fb039
AS
45362011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4537
4538 [BZ #13472]
4539 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4540
4efbd5cb
UD
45412011-12-04 Ulrich Drepper <drepper@gmail.com>
4542
52ff5dd0 4543 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4544 Minor optimizations.
52ff5dd0 4545
4efbd5cb
UD
4546 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4547 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4548 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4549
8a426e12
UD
45502011-12-03 Ulrich Drepper <drepper@gmail.com>
4551
aff2453d
UD
4552 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4553 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4554 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4555 for gcc to avoid warnings.
4556 * inet/Makefile (tests): Add tst-checks.
4557 * inet/tst-checks.c: New file.
4558
4559 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4560 warning.
4561
4562 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4563 __wmemcmp_sse2.
4564
4565 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4566 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4567
8a426e12
UD
4568 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4569
9bea3473
UD
45702011-12-02 Ulrich Drepper <drepper@gmail.com>
4571
3a965496
UD
4572 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4573 problem.
4574
9bea3473
UD
4575 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4576
f101631b
UD
45772011-11-29 Joseph Myers <joseph@codesourcery.com>
4578
4579 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4580 conditional on GCC version.
4581 (__arch_compare_and_exchange_val_8_acq)
4582 (__arch_compare_and_exchange_val_16_acq)
4583 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4584 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4585 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4586
a98275aa
UD
45872011-12-02 Joseph Myers <joseph@codesourcery.com>
4588
4589 * sysdeps/sh/backtrace.c: New file.
4590
d4cc29a2
AS
45912011-12-02 Andreas Schwab <schwab@redhat.com>
4592
4593 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4594 parenthesis.
4595
6257af2d
AS
45962011-12-01 Andreas Schwab <schwab@redhat.com>
4597
4598 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4599 falling back to utime.
4600
b5f44c1a
AS
46012011-11-30 Andreas Schwab <schwab@redhat.com>
4602
4603 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4604 expectations for float.
4605
f3a6cc0a
AS
46062011-11-29 Andreas Schwab <schwab@redhat.com>
4607
4608 * locale/weight.h (findidx): Add parameter len.
4609 * locale/weightwc.h (findidx): Likewise.
4610 * posix/fnmatch_loop.c (FCT): Adjust caller.
4611 * posix/regcomp.c (build_equiv_class): Likewise.
4612 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4613 * posix/regexec.c (check_node_accept_bytes): Likewise.
4614 * string/strcoll_l.c (STRCOLL): Likewise.
4615 * string/strxfrm_l.c (STRXFRM): Likewise.
4616
9d65ea3a
UD
46172011-11-17 Ulrich Drepper <drepper@gmail.com>
4618
4619 * Makefile.in: Remove CVSOPT handling.
4620 * configure.in: Remove use of AC_REVISION.
4621 * iconvdata/Makefile (distribute): No need to filter out CVS.
4622 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4623 handling.
4624
5583a086
AS
46252011-11-16 Andreas Schwab <schwab@redhat.com>
4626
4627 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4628 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4629 [USE_AS_STRNCASECMP_L]: Likewise.
4630 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4631 NO_TLS_DIRECT_SEG_REFS.
4632 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4633 Fix argument offsets for non-PIC.
4634 [USE_AS_STRNCASECMP_L]: Likewise.
4635 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4636 NO_TLS_DIRECT_SEG_REFS.
4637
d62a8200
UD
46382011-11-15 Ulrich Drepper <drepper@gmail.com>
4639
9d65ea3a 4640 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4641 O_CLOEXEC.
4642 * locale/loadlocale.c (_nl_load_locale): Likewise.
4643
09f93bd3
AS
46442011-11-15 Andreas Schwab <schwab@redhat.com>
4645
446514f9
AS
4646 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4647 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4648 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4649 (SYSCALL_GETTIME): Set errno on error.
4650
09f93bd3
AS
4651 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4652 count references to noai6ai_cached.
4653
312be3f9
UD
46542011-11-15 Ulrich Drepper <drepper@gmail.com>
4655
4656 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4657
4658 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4659 FD_CLOEXEC for /proc/self/maps.
4660
4661 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4662 FD_CLOEXEC for /proc/meminfo.
4663
4664 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4665 gai.conf.
4666
4667 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4668 FD_CLOEXEC for given file.
4669
4670 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4671
4672 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4673 FD_CLOEXEC for /etc/hosts.
4674 (_gethtent): Likewise.
4675
4676 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4677
4678 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4679 cancellation and set FD_CLOEXEC for /etc/netgroup.
4680
4681 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4682 reading /etc/publickey.
4683
4684 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4685 allow cancellation when reading /etc/group.
4686
4687 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4688 cancellation.
4689 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4690
4691 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4692 when using data file.
4693
4694 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4695
4696 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4697 (write_nis_obj): Use "c" and "e" in fopen.
4698
4699 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4700
4701 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4702
4703 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4704
4705 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4706
4707 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4708 locale.alias.
4709
4710 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4711
4712 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4713
4714 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4715
4716 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4717 file parsing and set FD_CLOEXEC.
4718
82af0fa8
UD
47192011-11-14 Ulrich Drepper <drepper@gmail.com>
4720
4721 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4722
a5fb313c
AS
47232011-11-14 Andreas Schwab <schwab@redhat.com>
4724
4725 * malloc/arena.c (arena_get2): Don't call reused_arena when
4726 _int_new_arena failed.
4727
6abf3465
UD
47282011-11-14 Ulrich Drepper <drepper@gmail.com>
4729
4730 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4731 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4732 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4733 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4734 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4735 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4736 to compile strcasecmp and strncasecmp.
4737 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4738 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4739
4740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4741
76e3966e
UD
47422011-11-13 Ulrich Drepper <drepper@gmail.com>
4743
4744 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4745 locale-defines.sym to gen-as-const-headers.
4746 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4747 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4748 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4749 to compile strcasecmp and strncasecmp.
4750 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4751 strcasecmp_l and strncasecmp_l.
4752 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4753 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4754 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4755 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4756 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4757 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4758 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4759 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4760 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4761 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4762 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4763
ab26144e
UD
47642011-11-12 Ulrich Drepper <drepper@gmail.com>
4765
7edb22ef
UD
4766 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4767 result of SYSDEP_GETTIME_CPU to retval.
4768 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4769 parameter list to macro. Remove trailing semicolon. Adjust users.
4770
9694fc44
UD
4771 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4772 variable.
4773
8ad89ef8
UD
4774 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4775 mantissa words.
4776 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4777
0c822ef9
UD
4778 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4779 from unused variable.
4780
874e0564
UD
4781 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4782 DWARF definitions.
4783 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4784 for assembling.
4785
3a2edc79
UD
4786 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4787 over namespaces.
4788
f3c2577f
UD
4789 * sunrpc/rpc_prot.c (rejected): Fix case value.
4790
294ce126
UD
4791 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4792 unsigned long long int to avoid warnings in shift.
4793
5e2b63c6
UD
4794 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4795 of use of trans.
4796 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4797 variable tmp.
4798
e7f4b08e
UD
4799 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4800 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4801 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4802
ab26144e
UD
4803 * nis/nis_table.c (nis_list): Use variable of correct type for
4804 result of __follow_path call.
4805
8a6d5255
AZ
48062011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4807
4808 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4809 of math functions ceil, trunc, floor, round, and sqrt, when
4810 avaliable on the platform.
4811 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4812 name clash.
4813 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4814 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4815 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4816
aaddc98c
MP
48172011-10-30 Marek Polacek <mpolacek@redhat.com>
4818
4819 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4820 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4821
95b7042b
RM
48222011-11-11 Roland McGrath <roland@hack.frob.com>
4823
4824 * include/unistd.h: Fix __readlink return type.
4825 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4826
57769839
UD
48272011-11-11 Ulrich Drepper <drepper@gmail.com>
4828
4829 * stdlib/ucontext.h: Undo last change for makecontext.
4830
edc5984d
AS
48312011-11-11 Andreas Schwab <schwab@redhat.com>
4832
98591e58
AS
4833 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4834
edc5984d
AS
4835 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4836 * setjmp/setjmp.h: Mark functions as non-leaf.
4837 * setjmp/bits/setjmp2.h: Likewise.
4838 * stdlib/ucontext.h: Likewise.
4839
77cdc054
AS
48402011-11-10 Andreas Schwab <schwab@redhat.com>
4841
4842 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4843 (reused_arena): Don't check arena limit.
4844 (arena_get2): Atomically check arena limit.
4845
fe72eebd
UD
48462011-11-08 Ulrich Drepper <drepper@gmail.com>
4847
5f078c32
UD
4848 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4849 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4850
fe72eebd
UD
4851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4852 instructions.
4853
ae1bc2fa
AS
48542011-11-07 Andreas Schwab <schwab@redhat.com>
4855
7583a88d
AS
4856 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4857 handler when locking.
4858
ae1bc2fa
AS
4859 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4860 Fix size of allocated buffer.
4861
10fb0bfa
AS
48622011-11-04 Andreas Schwab <schwab@redhat.com>
4863
998832a4
AS
4864 [BZ #10103]
4865 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4866 declarations for long double functions.
4867 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4868
10fb0bfa
AS
4869 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4870
3d7ba52b
AS
48712011-11-03 Andreas Schwab <schwab@redhat.com>
4872
a9ae54a1
AS
4873 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4874 installed.
4875
3d7ba52b
AS
4876 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4877 is disabled.
4878
bc8db248
ST
48792011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4880
4881 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4882
45b96dd6
AS
48832011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4884
647776f6
AS
4885 * include/alloca.h (stackinfo_alloca_round): Define.
4886 (extend_alloca): Use it.
4887 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4888 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4889 here.
4890
d91a8b93
AS
4891 * scripts/check-local-headers.sh: Ignore libaudit.h.
4892
45b96dd6
AS
4893 * nscd/Makefile (extra-objs): Make recursively expanded.
4894
432d41ce
UD
48952011-11-01 Ulrich Drepper <drepper@gmail.com>
4896
34372fc6
UD
4897 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4898 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4899
fadb59f8
UD
4900 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4901 * posix/tst-rfc3484-2.c: Likewise.
4902 * posix/tst-rfc3484-3.c: Likewise.
4903
78239589
UD
4904 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4905 process_vm_writev.
4906 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4907 process_vm_writev.
4908 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4909 process_vm_writev from libc using GLIBC_2.15 version.
4910
432d41ce
UD
4911 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4912
02f9c6cf
PP
49132011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4914
4915 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4916 stack usage.
4917
3a2c0242
UD
49182011-10-31 Ulrich Drepper <drepper@gmail.com>
4919
f4ec4833
UD
4920 [BZ #13367]
4921 * nss/getent.c (initgroups_keys): Show error message in case no group
4922 names are given.
4923
3a2c0242
UD
4924 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4925 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4926 __bump_nl_timestamp.
4927 * nscd/connections (nscd_init): When host database is served open
4928 netlink socket and request notification about configuration changes.
4929 (main_loop_poll): Track netlink file descriptor and bump timestamp
4930 in case data becomes available.
4931 (main_loop_epoll): Likewise.
4932 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4933 (database_pers_head): Add extra_data fileds.
4934 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4935 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4936 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4937 Adjust caller.
4938 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4939 in6ai data, call __free_in6ai.
4940 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4941 Add -DHAVE_NETLINK.
4942 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4943 interface information. Reuse previous data if netlink timestamp
4944 is not changed.
4945 (__bump_nl_timestamp): New function.
4946 (__free_in6ai): New function.
4947
636064eb
UD
49482011-10-30 Ulrich Drepper <drepper@gmail.com>
4949
4950 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4951 close_not_cancel_no_status here.
4952 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4953
9beb2334
UD
49542011-10-29 Ulrich Drepper <drepper@gmail.com>
4955
6ef76f3b
UD
4956 [BZ #13276]
4957 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4958 return value.
4959
0ffc4f3e 4960 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4961 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4962 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4963
cb95113e
UD
49642011-07-03 Andreas Jaeger <aj@suse.de>
4965
4966 [BZ #10709]
4967 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4968 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4969 * math/libm-test.inc (sin_test): Add test case.
4970
a1b560ff
UD
49712011-10-29 Ulrich Drepper <drepper@gmail.com>
4972
c9aaface
UD
4973 [BZ #13337]
4974 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4975 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4976
d272e7f1
UD
4977 * elf/chroot_canon.c (chroot_canon): Cleanups.
4978
1bc33071
UD
4979 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4980
1760874d
TJ
4981 [BZ #13335]
4982 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4983 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4984
51d91b18
UD
4985 * string/test-strchr.c: Make usable for strchrnul testing.
4986 * string/test-strchrnul.c: New file.
4987 * string/Makefile (strop-tests): Add strchrnul.
4988
a1b560ff 4989 * po/it.po: Update from translation team.
b611fb81 4990 * po/es.po: Likewise.
a1b560ff 4991
a5b81e1f
UD
49922011-10-28 Ulrich Drepper <drepper@gmail.com>
4993
fd52bc6d
UD
4994 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4995 the three constants needed as parameters. Drop the others.
4996 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4997 __m128i_strloadu_tolower.
52e4b9eb
UD
4998 Create and initialize variable zero and use it in all the places
4999 where _mm_setzero_si128 was used.
fd52bc6d 5000
a5b81e1f
UD
5001 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5002 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5003 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5004 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5005 anymore.
5006 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5007 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5008 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5009 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5010 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5011 __mpranred, __mptan.
5012 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5013 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5014 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5015 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5016 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5017 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5018 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5019 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5020 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5021
b4343346
AS
50222011-10-28 Andreas Schwab <schwab@redhat.com>
5023
0c92d8a8
AS
5024 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5025 redefine if SHARED.
5026 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5027
b4343346
AS
5028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5029 wide char related routines to wcsmbs subdir.
5030
3871f58f
AS
50312011-10-27 Andreas Schwab <schwab@redhat.com>
5032
5033 [BZ #13344]
5034 * misc/sys/cdefs.h (__THROWNL): Define.
5035 * posix/unistd.h: Use __THREADNL instead of __THREAD
5036 for memory synchronization functions.
5037
94d44d9f
RM
50382011-10-26 Roland McGrath <roland@hack.frob.com>
5039
21b64b15 5040 [BZ #13349]
94d44d9f
RM
5041 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5042 doesn't exist.
5043 * manual/stdio.texi (Obstack Streams): Node removed.
5044
f6ce9294
AS
50452011-10-26 Andreas Schwab <schwab@redhat.com>
5046
80479147
AS
5047 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5048 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5049 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5050
f6ce9294
AS
5051 * math/math_private.h (math_force_eval): Allow non-addressable
5052 arguments.
5053 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5054
618280a1
UD
50552011-10-25 Ulrich Drepper <drepper@gmail.com>
5056
e0016b11
UD
5057 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5058 file is not needed.
5059
5060 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5061 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5062 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5063 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5064 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5065 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5066 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5067 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5068 Add AVX variants.
5069 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5070 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5071 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5072 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5073 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5074 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5075 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5076 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5077 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5078 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5079 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5080 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5081 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5082 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5083 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5084 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5085 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5086 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5087 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5088
5089 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5090 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5091
618280a1
UD
5092 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5093 place. Use VEX encoding when compiling for AVX.
5094
37822576
AS
50952011-10-25 Andreas Schwab <schwab@redhat.com>
5096
1f1e1947
AS
5097 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5098 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5099
37822576
AS
5100 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5101
31ea014d
UD
51022011-10-25 Ulrich Drepper <drepper@gmail.com>
5103
d7826aa1 5104 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5105 useless if() expression.
d7826aa1
UD
5106 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5107 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5108 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5109 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5110 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5111 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5112 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5113 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5114 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5115 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5116 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5117 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5118 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5119 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5120 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5121 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5122 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5123 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5124 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5125
31ea014d
UD
5126 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5127
16437fec
AS
51282011-10-25 Andreas Schwab <schwab@redhat.com>
5129
5130 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5131 condition.
5132 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5133
31d3cc00
UD
51342011-10-25 Ulrich Drepper <drepper@gmail.com>
5135
5136 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5137 .text section. Avoid duplicate constants.
5138 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5140 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5143 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5147 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5148 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5149 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5150 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5151 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5152 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5153 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5154 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5155 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5158 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5159 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5160 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5161 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5162 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5163 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5164 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5165 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5166 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5167 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5168 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5169 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5170 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5171 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5172 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5173 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5174 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5175 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5176 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5177 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5178 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5179 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5180 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5181 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5182 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5183
58985aa9
UD
51842011-10-24 Ulrich Drepper <drepper@gmail.com>
5185
202c9deb
UD
5186 * sysdeps/x86_64/dla.h: Move to ...
5187 * sysdeps/x86_64/fpu/dla.h: ...here.
5188 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5189 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5190
af968f62
UD
5191 * config.make.in: Add have-mfma4 entry.
5192 * configure.in: Substitute libc_cv_cc_fma4.
5193 * math/Makefile (dbl-only-routines): Add sincostab.
5194 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5195 Use __sincostab not sincos.
5196 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5197 name is a macro.
5198 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5199 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5200 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5201 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5202 using __copysign.
5203 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5204 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5205 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5206 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5207 and __inv.
5208 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5209 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5210 __copysign.
5211 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5212 define aliases when function name is a macro.
5213 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5214 sysdeps/ieee754/dbl-64/sincos.tbl.
5215 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5216 fma4-enabled routines.
5217 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5218 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5219 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5220 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5221 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5222 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5223 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5224 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5225 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5226 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5227 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5228 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5229 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5230 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5231 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5232 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5233 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5234 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5235 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5236 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5237 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5238 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5239 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5240 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5241 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5242 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5243 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5244 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5245 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5246 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5247
58985aa9
UD
5248 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5249 rename.
5250 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5253 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5258
a201fbcf
AS
52592011-10-24 Andreas Schwab <schwab@redhat.com>
5260
5261 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5262
fc2ee42a
LD
52632011-10-23 Ulrich Drepper <drepper@gmail.com>
5264
bb3129bd
UD
5265 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5266
0275fff8
UD
5267 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5268 prediction.
5269 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5270
2fa2ae85
UD
5271 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5272 Remove unused variable magic_bits.
5273 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5274
fc2ee42a
LD
5275 * string/strnlen.c: Define and use STRNLEN macro.
5276 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5277 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5278 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5279 * wcsmbs/wcslen.c: Define and use WCSLEN.
5280 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5281 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5282 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5283 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5284 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5285 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5286 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5287
ce7dd29f
LD
52882011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5289
5290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5291 strnlen-sse2-no-bsf.
5292 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5293 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5294 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5295 Add strnlen support.
5296 (USE_AS_STRNLEN): New macro.
5297 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5298 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5299 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5300 * sysdeps/x86_64/wcslen.S: New file.
5301
979c70a3
MZ
53022011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5303
5304 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5305 XMM-moves are used for copying on small sizes.
5306
2d09f82f
LD
53072011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5308
5309 * wcsmbs/Makefile (strop-tests): Add wcschr.
5310 * wcsmbs/test-wcschr.c: New file.
5311 * string/test-strchr.c: Update.
5312 Add wcschr support.
5313 (WIDE): New macro.
5314
619fccca
LD
53152011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5316
2d09f82f 5317 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5318 * wcsmbs/test-wcslen.c: New file.
5319 * string/test-strlen.c: Update.
5320 Add wcslen support.
5321 (WIDE): New macro.
5322
09f699ea
UD
53232011-10-23 Ulrich Drepper <drepper@gmail.com>
5324
5325 * po/it.po: Update from translation team.
5326
95584d3b
LD
53272011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5328
5329 * sysdeps/x86_64/wcscmp.S: Update.
5330 Fix wrong comparison semantics.
5331 wcscmp shall use signed comparison not unsigned.
5332 Don't use substraction to avoid overflow bug.
5333 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5334 * wcsmbc/wcscmp.c: Likewise.
5335 * string/test-strcmp.c: Likewise.
5336 Add new tests to check cases with negative values.
5337
c8b3296b
UD
53382011-10-23 Ulrich Drepper <drepper@gmail.com>
5339
5340 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5341 * sysdeps/x86_64/dla.h: ...here. New file.
5342 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5346 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5351
246ad57a
AS
53522011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5353
5354 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5355 __ynl_finite aliases.
5356
a1a87169
UD
53572011-10-22 Ulrich Drepper <drepper@gmail.com>
5358
0d355eb7
UD
5359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5360
a1a87169
UD
5361 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5362 define DLA_FMA.
5363 [DLA_FMA] (EMULV): Use DLA_FMA.
5364 [DLA_FMA] (MUL12): Use EMULV.
5365 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5366 that are not needed.
5367 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5374
ee2aafe0
AS
53752011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5376
5377 * math/s_nan.c: Undef __nan.
5378 * math/s_nanf.c: Undef __nanf.
5379 * math/s_nanl.c: Undef __nanl.
5380 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5381 "math_private.h".
5382
bc62c2fb
UD
53832011-10-22 Ulrich Drepper <drepper@gmail.com>
5384
77425c63
UD
5385 * math/s_catan.c: Add branch predictions.
5386 * math/s_catanf.c: Likewise.
5387 * math/s_catanh.c: Likewise.
5388 * math/s_catanhf.c: Likewise.
5389 * math/s_catanhl.c: Likewise.
5390 * math/s_catanl.c: Likewise.
5391 * math/s_cexp.c: Likewise.
5392 * math/s_cexpf.c: Likewise.
5393 * math/s_cexpl.c: Likewise.
5394 * math/s_clog.c: Likewise.
5395 * math/s_clog10.c: Likewise.
5396 * math/s_clog10f.c: Likewise.
5397 * math/s_clog10l.c: Likewise.
5398 * math/s_clogf.c: Likewise.
5399 * math/s_clogl.c: Likewise.
5400 * math/s_csqrt.c: Likewise.
5401 * math/s_csqrtf.c: Likewise.
5402 * math/s_csqrtl.c: Likewise.
5403 * math/s_ctanf.c: Likewise.
5404 * math/s_ctanh.c: Likewise.
5405 * math/s_ctanhf.c: Likewise.
5406 * math/s_ctanhl.c: Likewise.
5407 * math/s_ctanl.c: Likewise.
5408
bc62c2fb
UD
5409 * math/math_private.h: Define __nan, __nanf, __nanl.
5410 * math/s_cacosh.c: Include <math_private.h>.
5411 * math/s_cacoshl.c: Likewise.
5412 * math/s_casinh.c: Likewise.
5413 * math/s_casinhf.c: Likewise.
5414 * math/s_casinhl.c: Likewise.
5415 * math/s_ccos.c: Rely entire on ccosh.
5416 * math/s_ccosf.c: Rely entire on ccoshf.
5417 * math/s_ccosl.c: Rely entirely on ccoshl.
5418 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5419 Remove tests for FE_INVALID.
5420 * math/s_ccoshf.c: Likewise.
5421 * math/s_ccoshl.c: Likewise.
5422 * math/s_csin.c: Likewise.
5423 * math/s_csinf.c: Likewise.
5424 * math/s_csinh.c Likewise.
5425 * math/s_csinhf.c: Likewise.
5426 * math/s_csinhl.c: Likewise.
5427 * math/s_csinl.c: Likewise.
5428 * math/s_ctan.c: Likewise.
5429 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5430 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5431 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5432
8ec250a4
UD
54332011-10-21 Ulrich Drepper <drepper@gmail.com>
5434
c196fed8
UD
5435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5436 compilation problems.
5437
8ec250a4
UD
5438 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5439 __builtin_expect.
5440
8d4f46c6
UD
54412011-10-20 Ulrich Drepper <drepper@gmail.com>
5442
ed72b654
UD
5443 * sysdeps/i386/configure.in: Test for -mfma4 option.
5444 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5445 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5446 COMMON_CPUID_INDEX_80000001.
5447 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5448 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5449 use it if FMA3 is not supported.
5450 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5451
8d4f46c6
UD
5452 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5453 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5454
d45c60c2
AS
54552011-10-20 Andreas Schwab <schwab@redhat.com>
5456
5457 [BZ #12892]
5458 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5459 it would create a cycle with a link time dependency.
5460
d9a4d2ab
UD
54612011-10-19 Ulrich Drepper <drepper@gmail.com>
5462
855d1560
UD
5463 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5464 instruction.
5465 * string/Makefile (strop-tests): Add rawmemchr.
5466 * string/test-rawmemchr.c: New file.
5467
d9a4d2ab
UD
5468 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5469 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5470 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5471 when compiling str{,n}casecmp and when AVX is available. Hook up
5472 new optimized code in initializers.
5473
8f3b1ffe
AS
54742011-10-19 Andreas Schwab <schwab@redhat.com>
5475
5476 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5477 __feraiseexcept instead of feraiseexcept.
5478
d38f1dba
UD
54792011-10-18 Ulrich Drepper <drepper@gmail.com>
5480
d9a8d0ab
UD
5481 * math/math_private.h: Define defaults for libc_fetestexcept and
5482 libc_feupdateenv.
5483 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5484 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5485 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5486 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5487 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5488 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5489 libc_fetestexcept and libc_feupdateenv.
5490
4855e3dd
UD
5491 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5492 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5493 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5494 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5495 libc_feholdexcept_setround.
5496
581d30e3
UD
5497 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5498 Add s_nearbyint-c and s_nearbyintf-c.
5499 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5500 nearbyintf inlines.
5501 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5502 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5503 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5504 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5505
d38f1dba
UD
5506 * math/math_private.h: Define defaults for libc_fegetround,
5507 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5508 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5509 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5510 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5511 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5512 standard functions.
5513 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5514 Remove comments and hacks for old compiler versions.
5515 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5516 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5517 libc_feholdexceptl.
5518
caa6c9d8
AS
55192011-10-18 Andreas Schwab <schwab@redhat.com>
5520
5521 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5522 (__feraiseexcept_renamed): Add __NTH.
5523 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5524 namespace violations.
5525
97c066e6
UD
55262011-10-17 Ulrich Drepper <drepper@gmail.com>
5527
99ce7b04
UD
5528 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5529
1004d182
UD
5530 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5531
228a984d
UD
5532 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5533 recently added interfaces.
5534 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5535
c8553a6a
UD
5536 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5537 about macro parameter expansion.
5538
ed22dcf6
UD
5539 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5540 __NO_MATH_INLINES is defined. Cleanups.
5541
5542 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5543 and __floorf is target has SSE4.1.
5544 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5545 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5546 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5547 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5548
b171c137
UD
5549 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5550 name.
5551 (floorf): Likewise.
5552
97c066e6
UD
5553 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5554
629f62ef
AS
55552011-10-17 Andreas Schwab <schwab@redhat.com>
5556
49a43d80
AS
5557 * misc/sys/cdefs.h: Fix last change.
5558
629f62ef
AS
5559 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5560 database lookup.
5561
e453f6cd
UD
55622011-10-16 Ulrich Drepper <drepper@gmail.com>
5563
aa78043a
UD
5564 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5565
ad0f5cad
UD
5566 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5567 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5568 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5569 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5570 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5571 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5572 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5573 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5574 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5575 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5576 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5577 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5578 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5579 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5580 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5581 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5582 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5583 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5584 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5585 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5586 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5587 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5588
5589 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5590 ceil, ceilf, floor, floorf.
5591
5592 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5593 Perform IRELATIVE relocations last.
5594
e453f6cd
UD
5595 * elf/do-rel.h: Add another parameter nrelative, replacing the
5596 local variable with the same name. Change name of the function
5597 to end in Rel or Rela (uppercase).
5598 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5599 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5600 elf_dynamic_do_##reloc function.
5601
fd5bdc09
UD
56022011-10-15 Ulrich Drepper <drepper@gmail.com>
5603
79b195b5
UD
5604 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5605 is sufficient, at least on modern CPUs.
5606
d4a28569
UD
5607 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5608
b61099b5
UD
5609 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5610 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5611
bcf01e6d
UD
5612 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5613 __expl_finite.
5614 * math/bits/math-finite.h: Add entries for exp.
5615 * math/e_expl.c: Add __*_finite alias.
5616 * sysdeps/i386/fpu/e_exp.S: Likewise.
5617 * sysdeps/i386/fpu/e_expf.S: Likewise.
5618 * sysdeps/i386/fpu/e_expl.c: Likewise.
5619 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5620 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5621 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5624 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5625 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5626
ba1a0d59
UD
5627 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5628 is sufficient, at least on modern CPUs.
5629
fd5bdc09
UD
5630 * ctype/ctype-info.c (__ctype_init): Define.
5631 * include/ctype.h (__ctype_init): Declare.
5632 (__ctype_b_loc): The variable is always initialized.
5633 (__ctype_toupper_loc): Likewise.
5634 (__ctype_tolower_loc): Likewise.
5635 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5636 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5637
7872cfb0
AS
56382011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5639
b468825a
AS
5640 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5641
7872cfb0
AS
5642 * configure.in: Also look in $cxxmachine/include for C++ system
5643 headers.
5644
be13f7bf
LD
56452011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5646
5647 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5648 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5649 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5650 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5651 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5652 (USE_AS_WMEMCMP): New macro.
5653 Fixing indents.
5654 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5655 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5656 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5657 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5659 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5660 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5661 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5662 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5663 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5664 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5665 (USE_AS_WMEMCMP): New macro.
5666 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5667 * sysdeps/string/test-memcmp.c: Update.
5668 Fix simple_wmemcmp.
5669 Add new tests.
5670 * wcsmbs/wmemcmp.c: Update.
5671 (WMEMCMP): New macro.
5672 Fix overflow bug.
5673
556a2007
AJ
56742011-10-12 Andreas Jaeger <aj@suse.de>
5675
5676 [BZ #13268]
5677 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5678
538faaa7
UD
56792011-10-15 Ulrich Drepper <drepper@gmail.com>
5680
ab6737ff
UD
5681 * libio/iofwide.c (do_length): Avoid warning.
5682
538faaa7
UD
5683 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5684
396a21b1
UD
56852011-10-14 Ulrich Drepper <drepper@gmail.com>
5686
cdf2901f
UD
5687 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5688
38ad40ce
UD
5689 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5690 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5691 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5692 * sysdeps/i386/i686/fpu/e_log.S: New file.
5693 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5694 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5695
396a21b1
UD
5696 * ctype/ctype.h: Add support for inlined isXXX functions when
5697 compiling C++ code.
5698
6b1f68c9
AS
56992011-10-14 Andreas Schwab <schwab@redhat.com>
5700
349290c0
AS
5701 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5702
6b1f68c9
AS
5703 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5704
f2282d42
RM
57052011-10-13 Roland McGrath <roland@hack.frob.com>
5706
5707 [BZ #13291]
5708 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5709
5298ffa8
AS
57102011-10-13 Andreas Schwab <schwab@redhat.com>
5711
714fad23
AS
5712 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5713 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5714 feraiseexcept.
5715
81dcc7fb
AS
5716 * sysdeps/x86_64/memrchr.S: Check for zero size.
5717
5298ffa8
AS
5718 * string/stratcliff.c: Add memrchr tests.
5719
951fbcec
LD
57202011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5721
5722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5723 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5724 rawmemchr-sse2 rawmemchr-sse2-bsf.
5725 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5726 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5727 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5728 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5729 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5730 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5731 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5732 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5733 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5734 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5735 * string/memrchr.c (MEMRCHR): New macro.
5736
0ac5ae23
UD
57372011-10-12 Ulrich Drepper <drepper@gmail.com>
5738
5739 Add integration with gcc's -ffinite-math-only and optimize wrapper
5740 functions in libm.
5741 * Versions.def: Define GLIBC_2.15 version for libm.
5742 * math/Makefile (headers): Add bits/math-finite.h.
5743 * math/bits/math-finite.h: New file.
5744 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5745 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5746 * math/e_acoshl.c: Add __*_finite alias.
5747 * math/e_acosl.c: Likewise.
5748 * math/e_asinl.c: Likewise.
5749 * math/e_atan2l.c: Likewise.
5750 * math/e_atanhl.c: Likewise.
5751 * math/e_coshl.c: Likewise.
5752 * math/e_exp10.c: Likewise.
5753 * math/e_exp10f.c: Likewise.
5754 * math/e_exp10l.c: Likewise.
5755 * math/e_exp2l.c: Likewise.
5756 * math/e_fmodl.c: Likewise.
5757 * math/e_gammal_r.c: Likewise.
5758 * math/e_hypotl.c: Likewise.
5759 * math/e_j0l.c: Likewise.
5760 * math/e_j1l.c: Likewise.
5761 * math/e_jnl.c: Likewise.
5762 * math/e_lgammal_r.c: Likewise.
5763 * math/e_log10l.c: Likewise.
5764 * math/e_log2l.c: Likewise.
5765 * math/e_logl.c: Likewise.
5766 * math/e_powl.c: Likewise.
5767 * math/e_sinhl.c: Likewise.
5768 * math/e_sqrtl.c: Likewise.
5769 * math/e_scalb.c: Completely rewritten and optimized.
5770 * math/e_scalbf.c: Likewise.
5771 * math/e_scalbl.c: Likewise.
5772 * math/w_acos.c: Likewise.
5773 * math/w_acosf.c: Likewise.
5774 * math/w_acosl.c: Likewise.
5775 * math/w_acosh.c: Likewise.
5776 * math/w_acoshf.c: Likewise.
5777 * math/w_acoshl.c: Likewise.
5778 * math/w_asin.c: Likewise.
5779 * math/w_asinf.c: Likewise.
5780 * math/w_asinl.c: Likewise.
5781 * math/w_atan2.c: Likewise.
5782 * math/w_atan2f.c: Likewise.
5783 * math/w_atan2l.c: Likewise.
5784 * math/w_atanh.c: Likewise.
5785 * math/w_atanhf.c: Likewise.
5786 * math/w_atanhl.c: Likewise.
5787 * math/w_exp10.c: Likewise.
5788 * math/w_exp10f.c: Likewise.
5789 * math/w_exp10l.c: Likewise.
5790 * math/w_fmod.c: Likewise.
5791 * math/w_fmodf.c: Likewise.
5792 * math/w_fmodl.c: Likewise.
5793 * math/w_j0.c: Likewise.
5794 * math/w_j0f.c: Likewise.
5795 * math/w_j0l.c: Likewise.
5796 * math/w_j1.c: Likewise.
5797 * math/w_j1f.c: Likewise.
5798 * math/w_j1l.c: Likewise.
5799 * math/w_jn.c: Likewise.
5800 * math/w_jnf.c: Likewise.
5801 * math/w_log.c: Likewise.
5802 * math/w_logf.c: Likewise.
5803 * math/w_logl.c: Likewise.
5804 * math/w_log10.c: Likewise.
5805 * math/w_log10f.c: Likewise.
5806 * math/w_log10l.c: Likewise.
5807 * math/w_log2.c: Likewise.
5808 * math/w_log2f.c: Likewise.
5809 * math/w_log2l.c: Likewise.
5810 * math/w_pow.c: Likewise.
5811 * math/w_powf.c: Likewise.
5812 * math/w_powl.c: Likewise.
5813 * math/w_remainder.c: Likewise.
5814 * math/w_remainderf.c: Likewise.
5815 * math/w_remainderl.c: Likewise.
5816 * math/w_scalb.c: Likewise.
5817 * math/w_scalbf.c: Likewise.
5818 * math/w_scalbl.c: Likewise.
5819 * math/w_sqrt.c: Likewise.
5820 * math/w_sqrtf.c: Likewise.
5821 * math/w_sqrtl.c: Likewise.
5822 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5823 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5824 used.
5825 * math/math_private.h: Declare __kernel_standard_f.
5826 * math/w_cosh.c: Remove cruft and optimize a bit.
5827 * math/w_coshf.c: Likewise.
5828 * math/w_coshl.c: Likewise.
5829 * math/w_exp2.c: Likewise.
5830 * math/w_exp2f.c: Likewise.
5831 * math/w_exp2l.c: Likewise.
5832 * math/w_hypot.c: Likewise.
5833 * math/w_hypotf.c: Likewise.
5834 * math/w_hypotl.c: Likewise.
5835 * math/w_lgamma.c: Likewise.
5836 * math/w_lgamma_r.c: Likewise.
5837 * math/w_lgammaf.c: Likewise.
5838 * math/w_lgammaf_r.c: Likewise.
5839 * math/w_lgammal.c: Likewise.
5840 * math/w_lgammal_r.c: Likewise.
5841 * math/w_sinh.c: Likewise.
5842 * math/w_sinhf.c: Likewise.
5843 * math/w_sinhl.c: Likewise.
5844 * math/w_tgamma.c: Likewise.
5845 * math/w_tgammaf.c: Likewise.
5846 * math/w_tgammal.c: Likewise.
5847 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5848 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5849 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5850 Minor optimizations. Pretty printing. Remove cruft.
5851 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5852 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5853 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5854 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5855 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5856 * sysdeps/i386/fpu/e_asin.S: Likewise.
5857 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5858 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5859 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5860 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5861 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5862 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5863 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5864 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5865 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5866 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5867 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5868 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5869 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5870 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5871 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5872 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5873 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5874 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5875 * sysdeps/i386/fpu/e_log.S: Likewise.
5876 * sysdeps/i386/fpu/e_log10.S: Likewise.
5877 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5878 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5879 * sysdeps/i386/fpu/e_log2.S: Likewise.
5880 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5881 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5882 * sysdeps/i386/fpu/e_logf.S: Likewise.
5883 * sysdeps/i386/fpu/e_logl.S: Likewise.
5884 * sysdeps/i386/fpu/e_pow.S: Likewise.
5885 * sysdeps/i386/fpu/e_powf.S: Likewise.
5886 * sysdeps/i386/fpu/e_powl.S: Likewise.
5887 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5888 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5889 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5890 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5891 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5892 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5893 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5894 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5895 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5896 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5897 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5899 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5902 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5905 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5907 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5908 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5909 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5914 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5917 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5918 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5919 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5920 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5921 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5922 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5923 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5924 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5925 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5926 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5927 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5928 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5929 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5930 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5931 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5932 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5933 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5934 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5935 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5936 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5937 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5938 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5939 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5940 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5941 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5942 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5943 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5944 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5945 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5946 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5947 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5948 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5949 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5950 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5951 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5952 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5953 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5954 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5955 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5956 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5957 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5958 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5959 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5960 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5961 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5962 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5963 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5964 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5965 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5966 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5967 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5968 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5970 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5971 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5972 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5973 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5974 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5975 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5976 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5977 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5978 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5979 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5980 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5981 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5982 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5983 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5984 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5985 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5986 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5987 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5988 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5989 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5990 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5991 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5992 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5993 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5994 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5995 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5996 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5997 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5998 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5999 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6000 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6001 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6002 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6003 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6004 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6005 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6006 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6007 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6008 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6009 (__isnanf): Likewise.
6010 (__isinf_ns): Likewise.
6011 (__isinf_nsf): Likewise.
6012 (__finite): Likewise.
6013 (__finitef): Likewise.
6014 (__ieee754_sqrt): Define as macro.
6015 (__ieee754_sqrtf): Define as macro.
6016 (__ieee754_sqrtl): Define as macro.
6017 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6018 inlined copy.
6019 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6020 __FINITE_MATH_ONLY__ consistent.
6021 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6022
12cc2fcd
AS
60232011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6024
a843a204
AS
6025 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6026 of rawmemchr.
6027
12cc2fcd
AS
6028 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6029
c853acd5
UD
60302011-10-09 Ulrich Drepper <drepper@gmail.com>
6031
6032 * po/ja.po: Update from translation team.
6033
c658d255
RM
60342011-10-08 Roland McGrath <roland@hack.frob.com>
6035
110946e4
RM
6036 * locale/programs/locarchive.c (prepare_address_space): New function.
6037 (create_archive, enlarge_archive, open_archive): Use it.
6038
50604220
RM
6039 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6040 inside [SHARED], where it is used.
6041
c658d255
RM
6042 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6043
6044 * nss/getent.c (netgroup_keys): Remove unused variable.
6045 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6046
6a621eb7
UD
60472011-10-08 Ulrich Drepper <drepper@gmail.com>
6048
7edb55ce
UD
6049 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6050 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6052 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6053 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6054 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6055 * math/Makefile (libm-calls): Add s_isinf_ns.
6056 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6057 * math/multc3.c: Likewise.
6058 * math/s_casin.c: Likewise.
6059 * math/s_casinf.c: Likewise.
6060 * math/s_casinl.c: Likewise.
6061 * math/s_ccos.c: Likewise.
6062 * math/s_ccosf.c: Likewise.
6063 * math/s_ccosl.c: Likewise.
6064 * math/s_ctan.c: Likewise.
6065 * math/s_ctanf.c: Likewise.
6066 * math/s_ctanh.c: Likewise.
6067 * math/s_ctanhf.c: Likewise.
6068 * math/s_ctanhl.c: Likewise.
6069 * math/s_ctanl.c: Likewise.
6070 * math/w_fmod.c: Likewise.
6071 * math/w_fmodf.c: Likewise.
6072 * math/w_fmodl.c: Likewise.
6073 * math/w_remainder.c: Likewise.
6074 * math/w_remainderf.c: Likewise.
6075 * math/w_remainderl.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6077 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6078 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6079 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6080 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6081 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6082 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6083 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6084
187da0ae
UD
6085 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6086 of the number.
6087 * stdio-common/printf_fphex.c: Likewise.
6088 * stdio-common/printf_size.c: Likewise.
6089
9277c064
UD
6090 * math/e_exp10.c: Include math_private.h using <...> not "...".
6091 * math/e_exp10f.c: Likewise.
6092 * math/e_exp10l.c: Likewise.
6093 * math/e_exp2l.c: Likewise.
6094 * math/e_j0l.c: Likewise.
6095 * math/e_j1l.c: Likewise.
6096 * math/e_jnl.c: Likewise.
6097 * math/e_lgammal_r.c: Likewise.
6098 * math/e_rem_pio2l.c: Likewise.
6099 * math/e_scalb.c: Likewise.
6100 * math/e_scalbf.c: Likewise.
6101 * math/e_scalbl.c: Likewise.
6102 * math/k_cosl.c: Likewise.
6103 * math/k_sinl.c: Likewise.
6104 * math/k_tanl.c: Likewise.
6105 * math/s_cacoshf.c: Likewise.
6106 * math/s_catan.c: Likewise.
6107 * math/s_catanf.c: Likewise.
6108 * math/s_catanh.c: Likewise.
6109 * math/s_catanhf.c: Likewise.
6110 * math/s_catanhl.c: Likewise.
6111 * math/s_catanl.c: Likewise.
6112 * math/s_ccosh.c: Likewise.
6113 * math/s_ccoshf.c: Likewise.
6114 * math/s_ccoshl.c: Likewise.
6115 * math/s_cexp.c: Likewise.
6116 * math/s_cexpf.c: Likewise.
6117 * math/s_cexpl.c: Likewise.
6118 * math/s_clog.c: Likewise.
6119 * math/s_clog10.c: Likewise.
6120 * math/s_clog10f.c: Likewise.
6121 * math/s_clog10l.c: Likewise.
6122 * math/s_clogf.c: Likewise.
6123 * math/s_clogl.c: Likewise.
6124 * math/s_csin.c: Likewise.
6125 * math/s_csinf.c: Likewise.
6126 * math/s_csinh.c: Likewise.
6127 * math/s_csinhf.c: Likewise.
6128 * math/s_csinhl.c: Likewise.
6129 * math/s_csinl.c: Likewise.
6130 * math/s_csqrt.c: Likewise.
6131 * math/s_csqrtf.c: Likewise.
6132 * math/s_csqrtl.c: Likewise.
6133 * math/s_ctan.c: Likewise.
6134 * math/s_ctanf.c: Likewise.
6135 * math/s_ctanh.c: Likewise.
6136 * math/s_ctanhf.c: Likewise.
6137 * math/s_ctanhl.c: Likewise.
6138 * math/s_ctanl.c: Likewise.
6139 * math/s_ldexp.c: Likewise.
6140 * math/s_ldexpf.c: Likewise.
6141 * math/s_ldexpl.c: Likewise.
6142 * math/s_significand.c: Likewise.
6143 * math/s_significandf.c: Likewise.
6144 * math/s_significandl.c: Likewise.
6145 * math/w_acos.c: Likewise.
6146 * math/w_acosf.c: Likewise.
6147 * math/w_acosh.c: Likewise.
6148 * math/w_acoshf.c: Likewise.
6149 * math/w_acoshl.c: Likewise.
6150 * math/w_acosl.c: Likewise.
6151 * math/w_asin.c: Likewise.
6152 * math/w_asinf.c: Likewise.
6153 * math/w_asinl.c: Likewise.
6154 * math/w_atan2.c: Likewise.
6155 * math/w_atan2f.c: Likewise.
6156 * math/w_atan2l.c: Likewise.
6157 * math/w_atanh.c: Likewise.
6158 * math/w_atanhf.c: Likewise.
6159 * math/w_atanhl.c: Likewise.
6160 * math/w_cosh.c: Likewise.
6161 * math/w_coshf.c: Likewise.
6162 * math/w_coshl.c: Likewise.
6163 * math/w_dremf.c: Likewise.
6164 * math/w_exp10.c: Likewise.
6165 * math/w_exp10f.c: Likewise.
6166 * math/w_exp10l.c: Likewise.
6167 * math/w_exp2.c: Likewise.
6168 * math/w_exp2f.c: Likewise.
6169 * math/w_fmod.c: Likewise.
6170 * math/w_fmodf.c: Likewise.
6171 * math/w_fmodl.c: Likewise.
6172 * math/w_hypot.c: Likewise.
6173 * math/w_hypotf.c: Likewise.
6174 * math/w_hypotl.c: Likewise.
6175 * math/w_j0.c: Likewise.
6176 * math/w_j0f.c: Likewise.
6177 * math/w_j0l.c: Likewise.
6178 * math/w_j1.c: Likewise.
6179 * math/w_j1f.c: Likewise.
6180 * math/w_j1l.c: Likewise.
6181 * math/w_jn.c: Likewise.
6182 * math/w_jnf.c: Likewise.
6183 * math/w_jnl.c: Likewise.
6184 * math/w_lgamma.c: Likewise.
6185 * math/w_lgamma_r.c: Likewise.
6186 * math/w_lgammaf.c: Likewise.
6187 * math/w_lgammaf_r.c: Likewise.
6188 * math/w_lgammal.c: Likewise.
6189 * math/w_lgammal_r.c: Likewise.
6190 * math/w_log.c: Likewise.
6191 * math/w_log10.c: Likewise.
6192 * math/w_log10f.c: Likewise.
6193 * math/w_log10l.c: Likewise.
6194 * math/w_log2.c: Likewise.
6195 * math/w_log2f.c: Likewise.
6196 * math/w_log2l.c: Likewise.
6197 * math/w_logf.c: Likewise.
6198 * math/w_logl.c: Likewise.
6199 * math/w_pow.c: Likewise.
6200 * math/w_powf.c: Likewise.
6201 * math/w_powl.c: Likewise.
6202 * math/w_remainder.c: Likewise.
6203 * math/w_remainderf.c: Likewise.
6204 * math/w_remainderl.c: Likewise.
6205 * math/w_scalb.c: Likewise.
6206 * math/w_scalbf.c: Likewise.
6207 * math/w_scalbl.c: Likewise.
6208 * math/w_sinh.c: Likewise.
6209 * math/w_sinhf.c: Likewise.
6210 * math/w_sinhl.c: Likewise.
6211 * math/w_sqrt.c: Likewise.
6212 * math/w_sqrtf.c: Likewise.
6213 * math/w_sqrtl.c: Likewise.
6214 * math/w_tgamma.c: Likewise.
6215 * math/w_tgammaf.c: Likewise.
6216 * math/w_tgammal.c: Likewise.
6217
6a621eb7
UD
6218 * po/ja.po: Update from translation team.
6219
bf582445
AJ
62202011-09-29 Andreas Jaeger <aj@suse.de>
6221
f9efbf3a
AJ
6222 [BZ #13179]
6223 * sunrpc/netname.c (netname2host): Fix logic.
6224
bf582445
AJ
6225 [BZ #6779]
6226 [BZ #6783]
6227 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6228 correctly.
6229 * math/w_remainder.c (__remainder): Likewise.
6230 * math/w_remainderf.c (__remainderf): Likewise.
6231 * math/libm-test.inc (remainder_test): Add test cases.
6232
48693bea
AK
62332011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6234
6235 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6236 sdiv_qrnnd.
6237
42622229
LD
62382011-10-07 Ulrich Drepper <drepper@gmail.com>
6239
6240 * string/test-memcmp.c: Avoid unncessary #defines.
6241 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6242
093ecf92
LD
62432011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6244
6245 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6246 Use new sse2 version for core i3 - i7 as it's faster
6247 than sse42 version.
6248 (bit_Prefer_PMINUB_for_stringop): New.
6249 * sysdeps/x86_64/rawmemchr.S: Update.
6250 Replace with faster SSE2 version.
6251 * sysdeps/x86_64/memrchr.S: New file.
6252 * sysdeps/x86_64/memchr.S: Update.
6253 Replace with faster SSE2 version.
6254
fde56e5c
MP
62552011-09-12 Marek Polacek <mpolacek@redhat.com>
6256
6257 * elf/dl-load.c (lose): Add cast to avoid warning.
6258
21fd49a9
UD
62592011-10-07 Ulrich Drepper <drepper@gmail.com>
6260
5a06e643
UD
6261 * po/ca.po: Update from translation team.
6262
684ae515
UD
6263 * inet/getnetgrent_r.c: Hook up nscd.
6264 * nscd/Makefile (routines): Add nscd_netgroup.
6265 (nscd-modules): Add netgroupcache.
6266 (CFLAGS-netgroupcache.c): Define.
6267 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6268 (cache_search): Add const to second parameter.
6269 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6270 INNETGR.
6271 (dbs): Add netgrdb entry.
6272 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6273 (verify_persistent_db): Handle netgrdb.
6274 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6275 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6276 GETFDNETGR.
6277 (netgroup_response_header): Define.
6278 (innetgroup_response_header): Define.
6279 (datahead): Add netgroup_response_header and innetgroup_response_header
6280 elements.
6281 * nscd/nscd.conf: Add entries for netgroup cache.
6282 * nscd/nscd.h (dbtype): Add netgrdb.
6283 (_PATH_NSCD_NETGROUP_DB): Define.
6284 (netgroup_iov_disabled): Declare.
6285 (xmalloc, xcalloc, xrealloc): Move declarations here.
6286 (cache_search): Adjust prototype.
6287 Add netgroup-related prototypes.
6288 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6289 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6290 (__nscd_innetgr): Declare.
6291 * nscd/selinux.c (perms): Use access_vector_t as element type and
6292 add netgroup-related initializers.
6293 * nscd/netgroupcache.c: New file.
6294 * nscd/nscd_netgroup.c: New file.
6295 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6296 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6297 For four parameters use innetgr.
6298 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6299 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6300 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6301 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6302
21fd49a9
UD
6303 * nscd/connections.c (register_traced_file): Don't register file
6304 for disabled databases.
6305
054c0457
UD
63062011-10-06 Ulrich Drepper <drepper@gmail.com>
6307
32b63198
UD
6308 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6309
054c0457
UD
6310 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6311 from tree and freeing node.
6312
64031225
JO
63132011-09-25 Jiri Olsa <jolsa@redhat.com>
6314
6315 * nss/nsswitch.c (__nss_database_lookup): Handle
6316 nss_parse_service_list out of memory case.
6317
0490345c
JO
63182011-09-15 Jiri Olsa <jolsa@redhat.com>
6319
6320 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6321 out of memory case.
6322
3a62d00d
AS
63232011-10-04 Andreas Schwab <schwab@redhat.com>
6324
6325 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6326 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6327 pass it down.
6328 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6329 elf_machine_rela, elf_machine_lazy_rel.
6330 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6331 (ELF_DYNAMIC_DO_REL): Likewise.
6332 (ELF_DYNAMIC_DO_RELA): Likewise.
6333 (ELF_DYNAMIC_RELOCATE): Likewise.
6334 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6335 to ELF_DYNAMIC_DO_REL.
6336 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6337 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6338 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6339 elf_machine_rela.
6340 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6341 skip_ifunc, don't call ifunc function if non-zero.
6342 (elf_machine_rela): Likewise.
6343 (elf_machine_lazy_rel): Likewise.
6344 (elf_machine_lazy_rela): Likewise.
6345 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6346 (elf_machine_lazy_rel): Likewise.
6347 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6348 Likewise.
6349 (elf_machine_lazy_rel): Likewise.
6350 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6351 Likewise.
6352 (elf_machine_lazy_rel): Likewise.
6353 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6354 (elf_machine_lazy_rel): Likewise.
6355 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6356 (elf_machine_lazy_rel): Likewise.
6357 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6358 (elf_machine_lazy_rel): Likewise.
6359 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6360 (elf_machine_lazy_rel): Likewise.
6361 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6362 (elf_machine_lazy_rel): Likewise.
6363 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6364 (elf_machine_lazy_rel): Likewise.
6365
68577918
UD
63662011-09-28 Ulrich Drepper <drepper@gmail.com>
6367
6368 * nss/nss_files/files-init.c (_nss_files_init): Use static
6369 initialization for all the *_traced_file variables.
6370
68822d74
AS
63712011-09-28 Andreas Schwab <schwab@redhat.com>
6372
6373 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6374
2056100b
RM
63752011-09-27 Roland McGrath <roland@hack.frob.com>
6376
6377 [BZ #13226]
6378 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6379
32c76b63
AS
63802011-09-27 Andreas Schwab <schwab@redhat.com>
6381
6382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6383 Reread the line before reparsing it.
6384
bf972c9d
AS
63852011-09-26 Andreas Schwab <schwab@redhat.com>
6386
6387 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6388
e057a1b5
JM
63892011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6390 Maxim Kuvyrkov <maxim@codesourcery.com>
6391 Joseph Myers <joseph@codesourcery.com>
6392
6393 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6394 if needed for __stack_chk_guard.
6395
bc7e1c36
RM
63962011-09-19 Roland McGrath <roland@hack.frob.com>
6397
ecb1482f
RM
6398 * sysdeps/posix/spawni.c (script_execute): Always define it.
6399 It will be optimized away if unused.
6400 (maybe_script_execute): New function.
6401 (__spawni): Call it.
6402
bc7e1c36
RM
6403 * Makerules: Don't include tls.make.
6404 (config-tls): Always set to thread.
6405 * tls.make.c: File removed.
6406
1c3b002b
MF
64072011-09-19 Mike Frysinger <vapier@gentoo.org>
6408
6409 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6410 * config.make.in (CPPFLAGS-config): New substituted variable.
6411
2840865d
UD
64122011-09-15 Ulrich Drepper <drepper@gmail.com>
6413
88738eb6
UD
6414 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6415
cbf645a6 6416 [BZ #13192]
2840865d
UD
6417 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6418 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6419
b402e91a
RM
64202011-09-15 Roland McGrath <roland@hack.frob.com>
6421
6422 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6423 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6424 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6425 (CALL_FAIL): Likewise.
6426 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6427 (CALL_FAIL): Macro removed.
6428 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6429
4c1a1f71
UD
64302011-09-15 Ulrich Drepper <drepper@gmail.com>
6431
6432 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6433 for __FINITE_MATH_ONLY__ == 1.
6434
edc121be
AS
64352011-09-15 Andreas Schwab <schwab@redhat.com>
6436
6437 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6438 __ieee754_sqrt instead of sqrt.
6439 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6440 __ieee754_sqrtf instead of sqrtf.
6441 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6442 __floorf instead of floorf.
6443 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6444 __floorf, __truncf instead of floorf, truncf.
6445
cd205654
UD
64462011-09-14 Ulrich Drepper <drepper@gmail.com>
6447
ee4d0315
UD
6448 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6449
cd205654
UD
6450 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6451 __extern_always_inline.
6452 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6453 32-bit.
6454
48b67d71
AS
64552011-09-14 Andreas Schwab <schwab@redhat.com>
6456
6457 * elf/rtld.c (dl_main): Also relocate in dependency order when
6458 doing symbol dependency testing.
6459
1ae12c75
AS
64602011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6461
6462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6463 Always define `refsym'.
6464
995a80df
AS
64652011-09-13 Andreas Schwab <schwab@redhat.com>
6466
e529793b
AS
6467 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6468 (__FD_ELT): Renamed from __FDELT.
6469 * misc/bits/select2.h (__FD_ELT): Likewise.
6470 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6471 __FD_MASK instead of __FDELT, __FDMASK.
6472 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6473 Likewise.
6474 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6475 Likewise.
6476
52d4fef8
AS
6477 * elf/Makefile (gen-ldd): Fix pattern.
6478
995a80df
AS
6479 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6480 (init_tls): Likewise.
6481
8682f8b0
UD
64822011-09-12 Ulrich Drepper <drepper@gmail.com>
6483
6484 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6485
de82006d
AS
64862011-09-12 Andreas Schwab <schwab@redhat.com>
6487
a7c8e6a1
AS
6488 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6489 `struct cmsghdr *' instead of `void *'.
6490 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6491 Likewise.
6492
0f31fe77
AS
64932011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6494
6495 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6496 if non-absolute.
6497 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6498 ldd_rewrite_script.
0f31fe77 6499
32b4c839
UD
65002011-09-11 Ulrich Drepper <drepper@gmail.com>
6501
83cd1420
UD
6502 * configure.in: Remove --with-tls option.
6503 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6504 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6505 out in case it is missing.
6506 * sysdeps/ia64/elf/configure.in: Likewise.
6507 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6508 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6509 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6510 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6511 * sysdeps/sh/elf/configure.in: Likewise.
6512 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6513 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6514 * sysdeps/x86_64/elf/configure.in: Likewise.
6515 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6516 * sysdeps/mach/hurd/tls.h: Likewise.
6517
633f745d
UD
6518 [BZ #13067]
6519 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6520
f318beb8
UD
6521 [BZ #13090]
6522 * configure.in: Fix use of AC_INIT.
6523
32b4c839
UD
6524 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6525
3ce1f295
UD
65262011-09-10 Ulrich Drepper <drepper@gmail.com>
6527
bb016596
UD
6528 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6529 __set_errno.
8e58439c
UD
6530 * malloc/hooks.c: Likewise.
6531
aebae053 6532 [BZ #11929]
02d46fc4
UD
6533 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6534 variables statically.
6535 (narenas): Initialize.
6536 (list_lock): Initialize.
bb016596
UD
6537 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6538 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6539 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6540 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6541 Add initializers to main_arena and mp_.
6542 (malloc_state): Remove pagesize member. Change all users to use
6543 GLRO(dl_pagesize).
6544
6545 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6546 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6547 is always initialized.
6548
22a89187
UD
6549 * malloc/malloc.c: Removed unused configurations and dead code.
6550 * malloc/arena.c: Likewise.
6551 * malloc/hooks.c: Likewise.
02d46fc4 6552 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6553
d063d164
UD
6554 * include/tls.h: Removed. USE___THREAD must always be defined.
6555 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6556 * elf/dl-libc.c: Likewise.
6557 * elf/dl-tsd.c: Likewise.
6558 * include/errno.h: Likewise.
6559 * include/netdb.h: Likewise.
6560 * include/resolv.h: Likewise.
6561 * inet/herrno-loc.c: Likewise.
6562 * inet/herrno.c: Likewise.
6563 * malloc/arena.c: Likewise.
6564 * malloc/hooks.c: Likewise.
6565 * malloc/malloc.c: Likewise.
6566 * resolv/res-state.c: Likewise.
6567 * resolv/res_libc.c: Likewise.
6568 * sysdeps/i386/dl-machine.h: Likewise.
6569 * sysdeps/ia64/dl-machine.h: Likewise.
6570 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6571 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6572 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6573 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6574 * sysdeps/sh/dl-machine.h: Likewise.
6575 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6576 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6577 * sysdeps/unix/i386/sysdep.S: Likewise.
6578 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6579 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6580 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6581 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6582 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6583 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6584 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6585 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6586 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6587 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6588 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6589 * sysdeps/x86_64/dl-machine.h: Likewise.
6590 * tls.make.c: Likewise.
6591
3ce1f295
UD
6592 * configure.in: Remove --with-__thread option. Make tests for
6593 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6594 tls_model attribute fail if no support is available. Remove
6595 USE_IN_LIBIO.
6596 * Makeconfig: Adjust for dropped configure option. All features are
6597 now mandatory.
6598 * Makerules: Likewise.
6599 * Versions.def: Likewise.
6600 * argp/argp-fmtstream.c: Likewise.
6601 * argp/argp-fmtstream.h: Likewise.
6602 * argp/argp-help.c: Likewise.
6603 * assert/assert.c: Likewise.
6604 * config.h.in: Likewise.
6605 * config.make.in: Likewise.
6606 * configure: Likewise.
6607 * configure.in: Likewise.
6608 * csu/Versions: Likewise.
6609 * csu/init.c: Likewise.
6610 * elf/tst-audit2.c: Likewise.
6611 * elf/tst-tls10.c: Likewise.
6612 * elf/tst-tls10.h: Likewise.
6613 * elf/tst-tls11.c: Likewise.
6614 * elf/tst-tls12.c: Likewise.
6615 * elf/tst-tls14.c: Likewise.
6616 * elf/tst-tlsmod11.c: Likewise.
6617 * elf/tst-tlsmod12.c: Likewise.
6618 * elf/tst-tlsmod13.c: Likewise.
6619 * elf/tst-tlsmod13a.c: Likewise.
6620 * elf/tst-tlsmod14a.c: Likewise.
6621 * elf/tst-tlsmod15b.c: Likewise.
6622 * elf/tst-tlsmod16a.c: Likewise.
6623 * elf/tst-tlsmod16b.c: Likewise.
6624 * elf/tst-tlsmod7.c: Likewise.
6625 * elf/tst-tlsmod8.c: Likewise.
6626 * elf/tst-tlsmod9.c: Likewise.
6627 * gmon/gmon.c: Likewise.
6628 * grp/fgetgrent_r.c: Likewise.
6629 * grp/putgrent.c: Likewise.
6630 * hurd/fopenport.c: Likewise.
6631 * include/libc-symbols.h: Likewise.
6632 * include/tls.h: Likewise.
6633 * intl/gettextP.h: Likewise.
6634 * intl/loadinfo.h: Likewise.
6635 * locale/global-locale.c: Likewise.
6636 * locale/localeinfo.h: Likewise.
6637 * mach/devstream.c: Likewise.
6638 * malloc/arena.c: Likewise.
6639 * malloc/set-freeres.c: Likewise.
6640 * misc/err.c: Likewise.
6641 * misc/getttyent.c: Likewise.
6642 * misc/mntent_r.c: Likewise.
6643 * posix/getopt.c: Likewise.
6644 * posix/wordexp.c: Likewise.
6645 * pwd/fgetpwent_r.c: Likewise.
6646 * resolv/Versions: Likewise.
6647 * resolv/res_hconf.c: Likewise.
6648 * shadow/fgetspent_r.c: Likewise.
6649 * shadow/putspent.c: Likewise.
6650 * stdio-common/printf_fphex.c: Likewise.
6651 * stdio-common/tmpfile.c: Likewise.
6652 * stdlib/abort.c: Likewise.
6653 * stdlib/fmtmsg.c: Likewise.
6654 * sunrpc/auth_unix.c: Likewise.
6655 * sunrpc/clnt_perr.c: Likewise.
6656 * sunrpc/clnt_tcp.c: Likewise.
6657 * sunrpc/clnt_udp.c: Likewise.
6658 * sunrpc/clnt_unix.c: Likewise.
6659 * sunrpc/openchild.c: Likewise.
6660 * sunrpc/svc_simple.c: Likewise.
6661 * sunrpc/svc_tcp.c: Likewise.
6662 * sunrpc/svc_udp.c: Likewise.
6663 * sunrpc/svc_unix.c: Likewise.
6664 * sunrpc/xdr.c: Likewise.
6665 * sunrpc/xdr_array.c: Likewise.
6666 * sunrpc/xdr_rec.c: Likewise.
6667 * sunrpc/xdr_ref.c: Likewise.
6668 * sunrpc/xdr_stdio.c: Likewise.
6669
1248c1c4
PB
66702011-09-09 Ulrich Drepper <drepper@gmail.com>
6671
6672 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6673
66742011-07-03 Andreas Jaeger <aj@suse.de>
6675
6676 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6677 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6678 regenerate with gen-libm-tests.pl.
6679
66802010-05-12 Petr Baudis <pasky@suse.cz>
6681
6682 [BZ #11589]
6683 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6684 around j0() zero points by switching to j1().
6685 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6689
f22e1074
UD
66902011-09-09 Ulrich Drepper <drepper@gmail.com>
6691
f19009c1
UD
6692 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6693 instead of 0.
6694 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6695 instead of 0. .
6696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6697 Patch in part by Pavel Roskin <proski@gnu.org>.
6698
3f8cc204
UD
6699 [BZ #13138]
6700 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6701 realloc.
6702 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6703 Free memory block if necessary.
6704
f22e1074
UD
6705 [BZ #12847]
6706 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6707 be NULL. Don't lock in this case.
6708
0a2349f9
RM
67092011-09-09 Roland McGrath <roland@hack.frob.com>
6710
6711 * elf/elf.h (ELFOSABI_GNU): New macro.
6712 (ELFOSABI_LINUX): Define to that.
6713
f3cdd467
DZ
67142011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6715
6716 * string/strncat.c (strncat): Undef the symbol in case it has been
6717 defined in bits/string.h.
6718
74718d13
UD
67192011-09-09 Ulrich Drepper <drepper@gmail.com>
6720
633e9e0f
UD
6721 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6722
0a2349f9 6723 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6724 link map.
6725
f9924780
AJ
67262011-08-17 Andreas Jaeger <aj@suse.de>
6727
6728 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6729
7f5517aa
PP
67302011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6731 Ian Lance Taylor <iant@google.com>
6732
6733 * math/libm-test.inc (lround_test): New testcase.
6734 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6735
762011fe
UD
67362011-09-08 Ulrich Drepper <drepper@gmail.com>
6737
92963737
UD
6738 * Makefile: Remove support for automatic cvs check-ins.
6739 * Makerules: Likewise.
6740 * config.make.in: Likewise.
6741 * configure.in: Likewise.
6742 * intl/Makefile: Likewise.
6743 * locale/Makefile: Likewise.
6744 * po/Makefile: Likewise.
6745 * posix/Makefile: Likewise.
6746 * sysdeps/gnu/Makefile: Likewise.
6747 * sysdeps/mach/hurd/Makefile: Likewise.
6748 * sysdeps/sparc/sparc32/Makefile: Likewise.
6749
b0727fd8
JS
6750 [BZ #13118]
6751 * posix/Makefile (bug-regex32-ENV): Define.
6752 Patch by John Stanley <jpsinthemix@verizon.net>.
6753
a0f33f99
UD
6754 * misc/Makefile (headers): Add bits/select2.h.
6755 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6756 * misc/bits/select2.h: New file.
6757 * include/bits/select2.h: New file.
6758 * debug/Makefile (routines): Add fdelt_chk.
6759 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6760 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6761 FD_ISSET.
6762 * debug/fdelt_chk.c: New file.
6763
762011fe
UD
6764 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6765 * wcsmbs/test-wmemcmp.c: Likewise.
6766 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6767 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6768
67692011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6770
6771 * string/Makefile (strop-tests): Add memcmp.
6772 * string/test-wmemcmp.c: New file.
6773 * string/test-memcmp.c: Add wmemcmp support.
6774
7f513ec8
RM
67752011-09-08 Roland McGrath <roland@hack.frob.com>
6776
0442afb4
RM
6777 [BZ #13153]
6778 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6779 2011-07-19 change.
6780
7f513ec8
RM
6781 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6782 garbage value in a __mach_port_mod_refs call in the cases of the
6783 task-self and thread-self ports.
6784
a12b2239
ST
67852011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6786
6787 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6788
610f9ab4
AS
67892011-09-08 Andreas Schwab <schwab@redhat.com>
6790
7f513ec8 6791 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6792
48882a1a
LD
67932011-09-07 Ulrich Drepper <drepper@gmail.com>
6794
b49865be
UD
6795 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6796
fdc86bc9
UD
6797 * elf/dl-libc.c (dlerror_run): Pass back error code from
6798 dl_catch_error.
6799
c966526a
UD
6800 [BZ #13123]
6801 * elf/dl-load.c (lose): Free l_origin if it is valid.
6802
48882a1a
LD
6803 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6804 names.
6805 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6806 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6807 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6808 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6809 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6810 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6811
77a2a8b4
AZ
68122011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6813
6814 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6815 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6816 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6817 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6818 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6819 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6820 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6821 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6822 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6823 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6824
24f579d8
AM
68252011-08-15 Alan Modra <amodra@gmail.com>
6826
6827 [BZ #13092]
6828 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6829 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6830 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6831 ppc_mcount to static-only-routines.
6832 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6833 __mcount_internal.
6834 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6835 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6836
3d4837df
UD
68372011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6838
6839 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6840 for finite and infinity parameters.
6841
22700377
WS
68422011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6843
6844 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6845 and add nop instructions for throughput optimization.
6846 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6847
5025581e
WS
68482011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6849
6850 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6851 aligned copy for power7 with vector-scalar instructions.
6852 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6853
08a300c9
L
68542011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6855
6856 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6857 AVX check.
6858
59178ef9
AS
68592011-09-07 Andreas Schwab <schwab@redhat.com>
6860
6861 [BZ #13144]
6862 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6863 last change.
6864
e38ba7ab
UD
68652011-09-07 Ulrich Drepper <drepper@gmail.com>
6866
6867 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6868 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6869 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6870 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6871 clock_gettime.
6872
d53a73ac
UD
68732011-09-06 Ulrich Drepper <drepper@gmail.com>
6874
fc8bffcc
UD
6875 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6876 Forgot to demangle the pointer.
6877
ceaa0c5d
UD
6878 * sysdeps/i386/sysdep.h: Define atom_text_section.
6879 * sysdeps/x86_64/sysdep.h: Likewise.
6880 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6881 section with atom_text_section.
6882 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6883 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6884 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6885 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6886 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6887
a77d3c17
UD
6888 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6889 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6890 already be defined. Change to take two parameters and don't assign
6891 result to variable. Adjust all users.
6892 Define INTERNAL_GETTIME if not already defined.
6893 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6894 call.
6895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6896 HAVE_CLOCK_GETTIME_VSYSCALL.
6897 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6898
d53a73ac
UD
6899 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6900 gettimeofday vsyscall, just use time.
6901
a8f84144
AS
69022011-09-06 Andreas Schwab <schwab@redhat.com>
6903
6904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6905 <errno.h>.
6906
ef606249
UD
69072011-09-06 Ulrich Drepper <drepper@gmail.com>
6908
6909 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6910 syscall on x86-64.
6911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6912 syscall.
6913 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6914 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6915 syscall if possible.
6916
6585cb60
UD
69172011-09-05 Ulrich Drepper <drepper@gmail.com>
6918
6919 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6920 e_ident. Don't pass to find_mapsXX.
6921 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6922
a5f524e4
LD
69232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6924
6925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6926 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6927 * sysdeps/x86_64/multiarch/strchr.S: Update.
6928 Check bit_slow_BSF bit.
6929 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6930 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6931 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6932
554881ef
UD
69332011-09-05 Ulrich Drepper <drepper@gmail.com>
6934
d96de963
UD
6935 [BZ #13134]
6936 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6937 before glibc 2.15.
6938 (tryshell): Define.
6939 (__spawni): Change last parameter to be flag. Test
6940 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6941 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6942 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6943 * posix/spawni.c: Likewise.
6944 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6945 * posix/spawnp.c: Likewise. Change normal version to use
6946 SPAWN_XFLAGS_USE_PATH.
6947 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6948 SPAWN_XFLAGS_TRY_SHELL.
6949
d48e5868
UD
6950 [BZ #13150]
6951 * posix/glob.h: Remove gcc 1.x support.
6952
554881ef
UD
6953 [BZ #13068]
6954 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6955
693fb948
LD
69562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6957
6958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6959 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6960 strrchr-sse2-bsf
6961 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6962 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6963 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6964 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6965 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6966 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6967
1b48c537
UD
69682011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6969
49d42c37
UD
6970 * sysdeps/x86_64/wcscmp.S: New file.
6971
1b48c537
UD
6972 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6973 wcscmp-c wcscmp-sse2
6974 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6975 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6976 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6977 * wcsmbs/wcscmp.c: Allow renaming.
6978
15c95c5d
DM
69792011-09-05 David S. Miller <davem@davemloft.net>
6980
6981 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6982 stack slot, rather than the struct return pointer slot.
6983 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6984 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6986 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6987
2f0ad8f3
UD
69882011-09-05 Ulrich Drepper <drepper@gmail.com>
6989
d88ae418
UD
6990 * po/ja.po: Update from translation team.
6991
2f0ad8f3
UD
6992 [BZ #13144]
6993 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6994 kernel in 64-bit binaries.
6995
5f4318d1
DM
69962011-09-01 David S. Miller <davem@davemloft.net>
6997
6998 * elf/elf.h (HWCAP_SPARC_*): Move to..
6999 * sysdeps/sparc/sysdep.h: this new file and add new values.
7000 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7001 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7002 _DL_HWCAP_COUNT to 24.
7003 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7004 entries.
7005 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7006 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7007 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7009 instead of magic constants.
7010 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7011
3ba57516
DM
70122011-08-31 David S. Miller <davem@davemloft.net>
7013
7014 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7016 Reimplement to do errno handling inline.
7017 (SYSCALL_ERROR_HANDLER): New macro.
7018 (__SYSCALL_STRING): Do not do errno handling in asm.
7019 (__CLONE_SYSCALL_STRING): Delete.
7020 (__INTERNAL_SYSCALL_STRING): Delete.
7021 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7022 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7023 (PSEUDO): Reimplement to do errno handling inline.
7024 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7025 (SYSCALL_ERROR_HANDLER): New macro.
7026 (__SYSCALL_STRING): Do not do errno handling in asm.
7027 (__CLONE_SYSCALL_STRING): Delete.
7028 (__INTERNAL_SYSCALL_STRING): Delete.
7029 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7030 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7031 i386.
7032 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7033 (inline_syscall*): Add 'err' argument.
7034 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7035 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7036 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7037 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7038
7039 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7040 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7041
2bc17433
AS
70422011-08-30 Andreas Schwab <schwab@redhat.com>
7043
7044 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7045
fbeb5f4d
JO
70462011-08-29 Jiri Olsa <jolsa@redhat.com>
7047
7048 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7049 directive.
7050
ad69cc26
DM
70512011-08-24 David S. Miller <davem@davemloft.net>
7052
7053 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7054
39dd69df
AS
70552011-08-24 Andreas Schwab <schwab@redhat.com>
7056
7057 * elf/Makefile: Add rules to build and run unload8 test.
7058 * elf/unload8.c: New file.
7059 * elf/unload8mod1.c: New file.
7060 * elf/unload8mod1x.c: New file.
7061 * elf/unload8mod2.c: New file.
7062 * elf/unload8mod3.c: New file.
7063
7064 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7065 it wasn't used.
7066
2c0b250a
DM
70672011-08-23 David S. Miller <davem@davemloft.net>
7068
7069 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7070 subtract stack bias.
7071 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7072 %sp not %fp in calculations.
7073 (_JMPBUF_UNWINDS_ADJ): Likewise.
7074
22044b48
DM
7075 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7076 (aio_suspend): Call it to force an exception region around the
7077 AIO_MISC_WAIT() invocation.
7078
2cae4995
AS
70792011-08-23 Andreas Schwab <schwab@redhat.com>
7080
7081 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7082 backslash.
7083
873a772e
AJ
70842011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7085
7086 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7087 protection macro.
7088 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7089 and <dl-machine.h>.
7090 (Elf64_FuncDesc): Remove.
7091
25ad0df1
DM
70922011-08-22 David S. Miller <davem@davemloft.net>
7093
7094 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7095 sigaltstack check, add missing cfi directives.
7096 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7097 missing cfi directives, and sigaltstack handling.
7098
e888bcbe
AS
70992011-08-16 Andreas Schwab <schwab@redhat.com>
7100
7101 [BZ #11724]
7102 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7103 object is seen twice.
7104 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7105
7106 * elf/Makefile (distribute): Add tst-initorder2.c.
7107 (tests): Add tst-initorder2.
7108 (modules-names): Add tst-initorder2a tst-initorder2b
7109 tst-initorder2c tst-initorder2d. Add rules to build them.
7110 ($(objpfx)tst-initorder2.out): New rule.
7111 * elf/tst-initorder2.c: New file.
7112 * elf/tst-initorder2.exp: New file.
7113
87162f46
AS
71142011-08-22 Andreas Schwab <schwab@redhat.com>
7115
70538b7f
AS
7116 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7117
f55ffe58
AS
7118 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7119 dependencies back to end of function.
7120
87162f46
AS
7121 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7122 $(elfobjdir)/ld.so.
7123
91b392a4
UD
71242011-08-21 Ulrich Drepper <drepper@gmail.com>
7125
7126 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7127 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7128 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7129 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7130 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7131 of __vdso_gettimeofday.
7132 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7133 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7134 attribute_hidden.
7135 (_libc_vdso_platform_setup): Remove initialization of
7136 __vdso_gettimeofday and __vdso_time.
7137
5c43483f
UD
71382011-08-20 Ulrich Drepper <drepper@gmail.com>
7139
775a77e7
UD
7140 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7141 and fgetc_unlocked.
7142 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7143 getc_unlocked.
89f447ed 7144
49c74ba9
UD
7145 * elf/dl-open.c (add_to_global): Report additions to the global scope
7146 for LD_DEBUG=scopes.
7147 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7148 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7149
5c43483f
UD
7150 [BZ #13114]
7151 * stdio-common/Makefile (tests): Add bug24.
7152 * stdio-common/bug24.c: New file.
7153
a101b025
AJ
71542011-08-19 Andreas Jaeger <aj@suse.de>
7155
7156 [BZ #13114]
7157 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7158 non-existant file when using close-on-exec mode.
7159
c88f1766
UD
71602011-08-20 Ulrich Drepper <drepper@gmail.com>
7161
0276a718
UD
7162 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7163 the very first instruction.
7164
c88f1766
UD
7165 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7166 the CFI state in the end.
7167 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7168 inclusion of dl-trampoline.h.
7169 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7170
51ccffa0
AS
71712011-08-19 Andreas Schwab <schwab@redhat.com>
7172
94d7165f
AS
7173 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7174 expectations for long double.
7175
51ccffa0
AS
7176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7177 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7178
fd708658 71792011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7180
7181 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7182 artificual limit depends upon the system page size.
7183
44f0a71e
UD
71842011-08-17 Ulrich Drepper <drepper@gmail.com>
7185
7186 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7187 * resolv/Makefile: Define CFLAGS-libresolv.
7188
8de79a24
AS
71892011-08-17 Andreas Schwab <schwab@redhat.com>
7190
7191 * nss/makedb.c (compute_tables): Make variables used in nested
7192 function static.
7193
27724598
UD
71942011-08-17 Ulrich Drepper <drepper@gmail.com>
7195
c5305d88
UD
7196 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7197 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7198 if buffer was too small.
7199
27724598
UD
7200 * elf/pldd.c (main): Attach to all threads in the process.
7201 Rewrite /proc handling to use *at functions.
7202
076fe015
UD
72032011-08-16 Ulrich Drepper <drepper@gmail.com>
7204
174baab3
UD
7205 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7206 specifies first scope to show.
7207 (dl_open_worker): Update callers. Move printing scope of new
7208 object to before the relocation.
44f0a71e 7209 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7210 * sysdeps/generic/ldsodefs.h: Update declaration.
7211
076fe015
UD
7212 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7213 string for the scope number.
7214
a60df2c3
UD
72152011-08-14 Ulrich Drepper <drepper@gmail.com>
7216
7217 * nscd/servicescache.c (cache_addserv): Make sure written is always
7218 initialized.
7219
5e4287d1
RM
72202011-08-14 Roland McGrath <roland@hack.frob.com>
7221
85ae0589
RM
7222 * sysdeps/i386/i486/bits/atomic.h
7223 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7224 statement expression, so as to suppress "set but not used" warning.
7225 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7226
69f63097
RM
7227 * string/strncat.c (STRNCAT): Use prototype definition.
7228
675456ef
RM
7229 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7230 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7231 -Iprograms here.
7232 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7233 (localedef-modules): Add localedef.
7234 (locale-modules): Add locale.
7235
5e4287d1
RM
7236 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7237 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7238 to avoid a warning.
7239
9c96ff23
DM
72402011-08-14 David S. Miller <davem@davemloft.net>
7241
7242 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7243 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7244
f9ddf089
UD
72452011-08-13 Ulrich Drepper <drepper@gmail.com>
7246
44f0a71e 7247 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7248 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7249 * elf/rtld.c (dl_main): Set l_name of vDSO.
7250 Call _dl_show_scope when DL_DEBUG_SCOPES.
7251 (process_dl_debug): Recognize scopes flag and also set it for all.
7252 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7253 Declare _dl_show_scope.
7254
1dc27704
UD
7255 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7256 (do_dlopen): Pass caller_dlopen to dl_open.
7257 (__libc_dlopen_mode): Initialize caller_dlopen.
7258
f9ddf089
UD
7259 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7260 of libc. Make tolower call locale-independent. Optimize a bit by
7261 using isdigit instead of isalnum.
7262 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7263
9ac533d3
UD
72642011-08-12 Ulrich Drepper <drepper@gmail.com>
7265
7266 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7267 was a dependency or dynamically loaded.
7268
89edf2e9
UD
72692011-08-11 Ulrich Drepper <drepper@gmail.com>
7270
8e999d29
UD
7271 * intl/l10nflist.c: Allow architecture-specific pop function.
7272 * sysdeps/x86_64/l10nflist.c: New file.
7273
89edf2e9
UD
7274 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7275 classification.
7276
14d96785
AS
72772011-08-10 Andreas Schwab <schwab@redhat.com>
7278
7279 * include/dirent.h: Add libc_hidden_proto for scandirat and
7280 scandirat64. Don't declare __scandirat64.
7281 * dirent/scandirat.c: Add libc_hidden_def.
7282 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7283 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7284
6761ac04
DM
72852011-08-10 David S. Miller <davem@davemloft.net>
7286
7287 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7288 enum.
7289 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7290 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7291 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7292
c55fbd1e
UD
72932011-08-09 Ulrich Drepper <drepper@gmail.com>
7294
7295 * Versions.def [libc]: Add GLIBC_2.15.
7296 * dirent/Makefile (routines): Add scandirat and scandirat64.
7297 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7298 GLIBC_2.15.
7299 * dirent/dirent.h: Declare scandirat and scandirat64.
7300 * dirent/scandirat.c: New file.
7301 * dirent/scandirat64.c: New file.
7302 * sysdeps/wordsize-64/scandirat.c: New file.
7303 * sysdeps/wordsize-64/scandirat64.c: New file.
7304 * dirent/opendir.c: Define opendirat.
7305 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7306 using scandirat.
7307 * dirent/scandir64.c: Adjust for scandir.c change.
7308 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7309 __scandirat64, and __scandir_cancel_handler.
7310 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7311 additional parameter and use openat instead of open (outside of ld.so).
7312 Add new __opendir as wrapper around __opendirat.
7313 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7314 here without requiring old scandirat implementation.
7315
879165f2
UD
73162011-08-08 Ulrich Drepper <drepper@gmail.com>
7317
7318 * dirent/scandir.c (cancel_handler): Renamed to
7319 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7320 defined. Adjust users.
7321 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7322 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7323
cb7e923b
UD
73242011-08-04 Ulrich Drepper <drepper@gmail.com>
7325
16292edd
UD
7326 * string/test-string.h (IMPL): Use __STRING to expand name and then
7327 stringify it.
7328
cb7e923b
UD
7329 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7330 of cleanups.
7331
cff82933
LD
73322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7333
7334 * string/Makefile: Update.
7335 (strop-tests): Append strncat.
7336 * string/test-wcscmp.c: New file.
7337 New comprehensive test for wcscmp.
7338 * string/test-strcmp.c: Update.
7339 (WIDE): New define.
7340
9be9bfcc
AS
73412011-07-22 Andreas Schwab <schwab@redhat.com>
7342
7343 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7344 line.
7345
2e96f1c7
AS
73462011-07-26 Andreas Schwab <schwab@redhat.com>
7347
7348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7349 encoding to ACE if AI_IDN.
7350
85188888
JJ
73512011-08-01 Jakub Jelinek <jakub@redhat.com>
7352
7353 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7354 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7355
5fa16e9b
LD
73562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7357
7358 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7359 Fix overflow bug in strncat.
7360 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7361
7362 * string/test-strncat.c: Update.
7363 Add new tests for checking overflow bugs.
7364
73652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7366
7367 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7368 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7369 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7370 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7371 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7372 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7373 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7374 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7375 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7376
7377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7378 (USE_AS_STRCAT): Define.
7379 Add strcat and strncat support.
7380 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7381
8c1a459f
AS
73822011-07-25 Andreas Schwab <schwab@redhat.com>
7383
7384 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7385 __n bigger than INT_MAX+1.
7386 (__strncmp_g): Likewise.
7387
bba33c28
UD
73882011-07-23 Ulrich Drepper <drepper@gmail.com>
7389
798be72d
UD
7390 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7391 * libio/stido.h: Likewise.
7392
8accd4dc
UD
7393 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7394 (AF_NFC): Define.
7395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7396 (AF_NFC): Define.
7397
cbff0d96
UD
7398 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7399 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7400 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7401 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7402 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7403
9191c04a
UD
7404 [BZ #13021]
7405 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7406 installed.
7407
bba33c28
UD
7408 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7409 typo.
7410 (_dl_x86_64_save_sse): Likewise.
7411
90f139dd
UD
74122011-07-22 Ulrich Drepper <drepper@gmail.com>
7413
1aae088a
UD
7414 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7415 OSXSAVE.
7416 (_dl_x86_64_save_sse): Likewise.
7417
8e2045f5
UD
7418 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7419
90f139dd
UD
7420 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7421
1d002f25
AS
74222011-07-21 Andreas Schwab <schwab@redhat.com>
7423
7424 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7425 change.
7426 (_dl_x86_64_save_sse): Use correct AVX check.
7427
21137f89
UD
74282011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7429
7430 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7431 bug in strncpy/strncat.
7432 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7433
a65c0b7a
UD
74342011-07-21 Ulrich Drepper <drepper@gmail.com>
7435
7436 * string/tester.c (test_strcat): Add tests for different alignments
7437 of source and destination.
7438 (test_strncat): Likewise.
7439
6986b98a
UD
74402011-07-20 Ulrich Drepper <drepper@gmail.com>
7441
90bb2039
UD
7442 [BZ #12852]
7443 * posix/glob.c (glob): Check passed in values before using them in
7444 expressions to avoid some overflows.
7445 (glob_in_dir): Likewise.
7446
5644ef54
UD
7447 [BZ #13007]
7448 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7449 check for AVX enablement so that we don't crash with old kernels and
7450 new hardware.
7451 * elf/tst-audit4.c: Add same checks here.
7452 * elf/tst-audit6.c: Likewise.
7453
7454 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7455
bfc9dc9b
AS
74562011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7457
7458 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7459
702e64bb
UD
74602011-07-20 Ulrich Drepper <drepper@gmail.com>
7461
7462 * po/cs.po: Update from translation team.
7463 * po/bg.po: Likewise.
7464
295e904f
MP
74652011-07-12 Marek Polacek <mpolacek@redhat.com>
7466
7467 * misc/sys/cdefs.h: Add support for const attribute.
7468 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7469 to gnu_dev_{major,minor,makedev} functions.
7470
3ff94596
MP
74712011-07-20 Marek Polacek <mpolacek@redhat.com>
7472
7473 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7474
28b59fca
AS
74752011-07-20 Andreas Schwab <schwab@redhat.com>
7476
7477 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7478 strlen results.
7479
19df733e
AK
74802011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7481
7482 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7483 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7484 register in order to avoid conflicts with the soft frame pointer
7485 being held in r11 when necessary.
7486 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7487 (INTERNAL_VSYSCALL_NCS): Likewise.
7488
c8835729
MP
74892011-07-14 Marek Polacek <mpolacek@redhat.com>
7490
7491 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7492 * elf/dl-fini.c (_dl_fini): Adjust caller.
7493 * elf/dl-close.c (_dl_close_worker): Likewise.
7494 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7495
b902330c
MP
74962011-07-15 Marek Polacek <mpolacek@redhat.com>
7497
8991e135
MP
7498 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7499 "aux_cache->nlibs < 0".
7500
b902330c
MP
7501 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7502 in the reload-count case.
7503
99710781
LD
75042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7505
7506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7507 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7508 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7509 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7510 * sysdeps/x86_64/multiarch/strcat.S: New file.
7511 * sysdeps/x86_64/multiarch/strncat.S: New file.
7512 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7513 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7514 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7515 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7516 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7517 (USE_AS_STRCAT): Define.
7518 Add strcat and strncat support.
7519 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7520 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7521 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7522 * string/strncat.c: Update.
7523 (USE_AS_STRNCAT): Define.
7524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7525 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7526 and i7.
7527 * sysdeps/x86_64/multiarch/init-arch.h
7528 (bit_Prefer_PMINUB_for_stringop): New.
7529 (index_Prefer_PMINUB_for_stringop): Likewise.
7530 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7531 bit_Prefer_PMINUB_for_stringop.
7532
7dc6bd90
UD
75332011-07-19 Ulrich Drepper <drepper@gmail.com>
7534
7535 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7536 buffer64.
7537 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7538 of casting of buffer.
7539 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7540 buffer32 and buffer64.
7541 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7542 writes instead of casting of buffer.
7543 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7544 buffer32.
7545 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7546 casting of buffer.
7547
e0e72284
AS
75482011-07-19 Andreas Schwab <schwab@redhat.com>
7549
7550 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7551
feb1eb0b
UD
75522011-07-19 Ulrich Drepper <drepper@gmail.com>
7553
7554 * nscd/nscd.c (termination_handler): Don't do anything for a database
7555 if it has not yet been initialized.
7556
298711ff
UD
75572011-07-18 Ulrich Drepper <drepper@gmail.com>
7558
7559 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7560
75612011-07-15 Marek Polacek <mpolacek@redhat.com>
7562
7563 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7564
f9d68389
UD
75652011-07-18 Ulrich Drepper <drepper@gmail.com>
7566
7567 * po/nl.po: Update from translation team.
7568 * po/sv.po: Likewise.
7569
db290cf5
RM
75702011-07-16 Roland McGrath <roland@hack.frob.com>
7571
7572 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7573 now disallowed by GCC.
5c550700 7574
fd5e21c7
RM
7575 * configure.in (use-default-link): Default to yes if a test -shared
7576 link meets our qualifications.
7577 * configure: Regenerated.
7578
5c550700
RM
7579 * config.make.in (output-format): New variable.
7580 * configure.in: Check for ld --print-output-format support.
7581 * configure: Regenerated.
7582 * Makerules ($(common-objpfx)format.lds)
7583 [$(output-format) != unknown]: Just use $(output-format),
7584 instead of the linker-script munging.
7585
9fa2c032
RM
75862011-07-14 Roland McGrath <roland@hack.frob.com>
7587
a6928d51
RM
7588 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7589 of $(common-objpfx)shlib.lds.
7590 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7591
661607b3
RM
7592 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7593 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7594
9fa2c032
RM
7595 * configure.in (-z relro check): Adjust test code to add a large
7596 writable data section after it.
7597 * configure: Regenerated.
7598
defe9061
RM
75992011-07-11 Roland McGrath <roland@hack.frob.com>
7600
7601 * configure.in (-z relro check): Fix test code to make the variable
7602 truly const.
7603 * configure: Regenerated.
7604
319b9ad4
UD
76052011-07-11 Ulrich Drepper <drepper@gmail.com>
7606
7607 * nscd/nscd.h (struct traced_file): Define.
7608 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7609 elements. Add traced_files.
7610 (inotify_fd): Declare.
7611 (register_traced_file): Declare.
7612 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7613 (inotify_fd): Export.
7614 (resolv_conf_descr): Remove.
7615 (nscd_init): Move inotify descriptor creation to main.
7616 Don't register files for notification here.
7617 (register_traced_file): New function.
7618 (invalidate_cache): Don't use reset_res to determine whether to call
7619 res_init, go through the list of registered files.
7620 (main_loop_poll): The inotify descriptors are now stored in the
7621 structures for the traced files.
7622 (main_loop_epoll): Likewise
7623 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7624 to __nss_disable_nscd.
7625 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7626 for a database anymore. Check the records for all the registered
7627 files instead.
7628 * nss/Makefile (libnss_files-routines): Add files-init.
7629 (libnss_db-routines): Add db-init.
7630 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7631 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7632 * nss/nss_db/db-init.c: New file.
7633 * nss/nss_files/files-init.c: New file.
7634 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7635 __nss_lookup_function.
7636 (__nss_lookup_function): Call nss_load_library.
7637 (nss_load_all_libraries): New function.
7638 (__nss_disable_nscd): Take parameter with callback function for files
7639 to register. Set is_nscd. Load all the DSOs for the NSS modules
7640 used for the cached services.
7641 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7642 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7643 options for features to all the files in nscd.
7644
7645 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7646
23bee3e8
RM
76472011-07-10 Roland McGrath <roland@hack.frob.com>
7648
7649 * csu/elf-init.c (__libc_csu_init): Comment typo.
7650
46a5b7f0
UD
76512011-07-09 Ulrich Drepper <drepper@gmail.com>
7652
7653 * po/pl.po: Update from translation team.
7654 * po/ja.po: Likewise.
7655 * po/ru.po: Likewise.
7656 * po/ko.po: Likewise.
7657 * po/fr.po: Likewise.
7658
d30cf5bb
RM
76592011-07-09 Roland McGrath <roland@hack.frob.com>
7660
113ddea4
RM
7661 * configure.in (.ctors/.dtors header and trailer check):
7662 Use an empirical test on a built program.
7663 * configure: Regenerated.
7664
574920b4
RM
7665 * configure.in (-z relro check): Use an empirical test on a built DSO.
7666 Detect, but do not require, on ia64.
7667 * configure: Regenerated.
7668
d30cf5bb
RM
7669 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7670 Update tests that use readelf to use $READELF instead.
7671 * configure: Regenerated.
7672
8538fdb3
UD
76732011-07-08 Ulrich Drepper <drepper@gmail.com>
7674
7675 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7676 if the result is not used.
7677
04d08991
AJ
76782011-07-05 Andreas Jaeger <aj@suse.de>
7679
7680 [BZ#9696]
7681 * stdlib/tst-strtod.c: Add testcase.
7682
de283087
AD
76832011-07-07 Ulrich Drepper <drepper@gmail.com>
7684
4e5f31c8 7685 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7686 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7687 The latter has a higher limit. Take additional parameter to pass to
7688 the new function.
7689 (__pathconf): Pass file to __statfs_link_max.
7690 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7691 __statfs_link_max.
7692 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7693 __statfs_link_max.
7694
de283087
AD
7695 [BZ #12868]
7696 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7697 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7698 Handle Lustre.
7699 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7700 (__statfs_filesize_max): Likewise.
7701 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7702
c75fa153
AJ
77032011-07-05 Andreas Jaeger <aj@suse.de>
7704
7705 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7706
1a544854
UD
77072011-07-06 Marek Polacek <mpolacek@redhat.com>
7708
7709 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7710 `status' variable.
7711 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7712 Likewise.
7713
6f0eec67
UD
77142011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7715
7716 * Makefile (strop-tests): Add strncat.
7717 * string/test-strncat.c: New file.
7718
aae30307
UD
77192011-06-30 Marek Polacek <mpolacek@redhat.com>
7720
7721 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7722
c0cfb5eb
UD
77232011-06-21 Andreas Jaeger <aj@suse.de>
7724
7725 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7726 Copy rule from iconvdata/Makefile.
7727
01636b21
UD
77282011-07-06 Ulrich Drepper <drepper@gmail.com>
7729
7730 [BZ #12922]
7731 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7732 but no long options are defined, just return 'W'.
7733
9895c8bc
UD
77342011-06-22 Marek Polacek <mpolacek@redhat.com>
7735
7736 [BZ #9696]
7737 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7738
5d4cf042
UD
77392011-07-06 Ulrich Drepper <drepper@gmail.com>
7740
7741 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7742 netgroups to read.
960e5535 7743 (innetgr): Likewise.
5d4cf042 7744
751eb97e
RM
77452011-07-05 Roland McGrath <roland@hack.frob.com>
7746
7747 * config.make.in (install_root): Default to $(DESTDIR).
7748
f15f1e45
UD
77492011-07-05 Ulrich Drepper <drepper@gmail.com>
7750
7751 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7752
4e34ac6a
RM
77532011-07-02 Roland McGrath <roland@hack.frob.com>
7754
5e9b6af4
RM
7755 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7756
84f9ea0f
RM
7757 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7758 containing directory rather than embedding absolute directory names.
7759
ea5ee9f7
RM
7760 * scripts/check-local-headers.sh: Rewritten using awk.
7761 Match by word, not by line. Print error messages for matches.
7762 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7763
1b74661a
RM
7764 * Makerules [shlib-lds-flags empty]:
7765 ($(common-objpfx)libc_pic.opts): New target.
7766 ($(common-objpfx)libc_pic.os.clean): New target.
7767 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7768
7769 * config.make.in (OBJCOPY): New variable.
7770 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7771 * configure: Regenerated.
7772
f781ef40
RM
7773 * config.make.in (use-default-link): New variable.
7774 * configure.in (use_default_link): Grok --with-default-link to set it.
7775 * configure: Regenerated.
7776 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7777 (shlib-lds, shlib-lds-flags): Define to empty.
7778
2d4fa81e
RM
7779 * Makerules (shlib-lds): New variable.
7780 (shlib-lds-flags): New variable.
7781 (build-shlib, build-moduile, build-module-asneeded): Use it.
7782 ($(common-objpfx)libc.so): Use $(shlib-lds).
7783 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7784 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7785
31fffa6b
RM
7786 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7787 DT_FLAGS/DT_FLAGS_1 with zero flags.
7788
4e34ac6a
RM
7789 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7790 linker script munging.
7791
fcfc776b
UD
77922011-07-02 Ulrich Drepper <drepper@gmail.com>
7793
7794 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7795 as 128-bit value.
7796 * crypt/sha512.c (sha512_process_block): Perform total addition using
7797 128-bit if possible.
7798 (__sha512_finish_ctx): Likewise.
7799 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7800 as 64-bit value.
7801 * crypt/sha256.c (SWAP64): Define.
7802 (sha256_process_block): Perform total addition using 64-bit if
7803 possible.
7804 (__sha256_finish_ctx): Likewise.
7805
99231d9a
UD
78062011-07-01 Ulrich Drepper <drepper@gmail.com>
7807
7808 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7809 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7810 * nscd/hstcache.c (cache_addhst): Likewise.
7811 * nscd/grpcache.c (cache_addgr): Likewise.
7812 * nscd/aicache.c (addhstaiX): Likewise
7813 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7814
445b4a53
TK
78152011-07-01 Thorsten Kukuk <kukuk@suse.de>
7816
7817 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7818 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7819 * nscd/hstcache.c (cache_addhst): Likewise.
7820 * nscd/grpcache.c (cache_addgr): Likewise.
7821 * nscd/aicache.c (addhstaiX): Likewise
7822
6d4d8e8e
AS
78232011-07-01 Andreas Schwab <schwab@redhat.com>
7824
7825 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7826 domain only when needed.
7827
89f654c5
AS
78282011-06-30 Andreas Schwab <schwab@redhat.com>
7829
7830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7831 is always restored.
7832
cf3b23ff
UD
78332011-06-29 Ulrich Drepper <drepper@gmail.com>
7834
7835 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7836 are re-adding the entry.
7837 * nscd/servicescache.c (cache_addserv): Likewise.
7838
751626f9
AJ
78392011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7840
7841 * sysdeps/generic/dl-irel.h: fix protection against multiple
7842 inclusions.
7843 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7844
9113ea1f
UD
78452011-06-28 Ulrich Drepper <drepper@gmail.com>
7846
5c0b8d90
UD
7847 [BZ #12935]
7848 * malloc/memusage.sh: Fix quoting in message.
7849 * debug/xtrace.sh: Likewise.
7850
9113ea1f
UD
7851 * configure.in: Remove support for --experimental-malloc option, make
7852 it the default.
7853 * config.make.in: Likewise.
7854 * malloc/Makefile: Likewise.
7855
a4172181
AS
78562011-06-27 Andreas Schwab <schwab@redhat.com>
7857
7858 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7859 two-byte characters.
7860
78a7eee7
RM
78612011-06-27 Roland McGrath <roland@hack.frob.com>
7862
62bede13
RM
7863 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7864 AC_CACHE_CHECK invocation.
7865 * configure: Regenerated.
7866
78a7eee7
RM
7867 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7868
5ce33a62
UD
78692011-06-27 Ulrich Drepper <drepper@gmail.com>
7870
034807a9
UD
7871 [BZ #12350]
7872 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7873 bit from old_res_options.
7874
4902da17
UD
7875 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7876
5ce33a62
UD
7877 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7878 value type for setfct.
7879
c2344f56
L
78802011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7881
7882 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7883 __gettimeofday instead of gettimeofday.
7884
68468076
UD
78852011-06-26 Ulrich Drepper <drepper@gmail.com>
7886
7887 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7888
acb0d739
L
78892011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7890
7891 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7892
7893 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7894 info.
7895
8912479f
L
78962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7897
7898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7899 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7900 strcpy-sse2-unaligned strncpy-sse2-unaligned
7901 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7902 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7903 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7904 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7905 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7906 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7907 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7908 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7909 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7910 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7911 (STRCPY): Support SSE2 and SSSE3 versions.
7912
d5495a11
UD
79132011-06-24 Ulrich Drepper <drepper@gmail.com>
7914
7915 [BZ #12874]
7916 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7917 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7918 kernels which artificially limit size of requests.
7919
0b1cbaae
L
79202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7921
7922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7923 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7924 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7925 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7926 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7927 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7928 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7929 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7930 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7931 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7932 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7933 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7934 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7935 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7936 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7938 Enable unaligned load optimization for Intel Core i3, i5 and i7
7939 processors.
7940 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7941 Define.
7942 (index_Fast_Unaligned_Load): Define.
7943 (HAS_FAST_UNALIGNED_LOAD): Define.
7944
07f494a0
MP
79452011-06-23 Marek Polacek <mpolacek@redhat.com>
7946
7947 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7948
fa3fc0fe
UD
79492011-06-22 Ulrich Drepper <drepper@gmail.com>
7950
7951 [BZ #12907]
7952 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7953 until it is clear that the information is realy needed.
7954 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7955
e12df166
AS
79562011-06-22 Andreas Schwab <schwab@redhat.com>
7957
7958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7959
852eb34d
UD
79602011-06-22 Ulrich Drepper <drepper@gmail.com>
7961
84e2a551
UD
7962 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7963 /sys/devices/system/cpu/online if it is usable.
7964
852eb34d
UD
7965 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7966 reading the information from the /proc filesystem to once a second.
7967
6e502e19
UD
79682011-06-21 Andreas Jaeger <aj@suse.de>
7969
7970 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7971 NULL after inclusion of kernel headers.
7972
75d39ff2
UD
79732011-06-21 Ulrich Drepper <drepper@gmail.com>
7974
51f9aa6a
UD
7975 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7976 calls to internal_setent.
7977
c0244a9d
UD
7978 [BZ #12885]
7979 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7980 addresses using gethostbyname4_r ignore IPv4 addresses.
7981
c5e3c2ae
UD
7982 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7983 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7984
75d39ff2
UD
7985 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7986
42675c6f
DM
79872011-06-20 David S. Miller <davem@davemloft.net>
7988
7989 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7990 inclusions.
7991 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7992
7993 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7994 (elf_irel): Use it.
7995 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7996 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7997 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7998 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7999 * sysdeps/x86_64/dl-irel.h: Likewise.
8000
8001 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8002 * elf/dl-sym.c: Likewise.
8003
57912a71
UD
80042011-06-15 Ulrich Drepper <drepper@gmail.com>
8005
8006 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8007 need to dereference resplen2.
8008
ee22793d
AS
80092011-06-14 Andreas Schwab <schwab@redhat.com>
8010
8011 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8012
a9e836b0
UD
80132011-06-15 Ulrich Drepper <drepper@gmail.com>
8014
77fb9117
UD
8015 * Makeconfig: Define vardbdir and inst_vardbdir.
8016 * nss/Makefile: Add rules to install db-Makefile.
8017
40c1b22c
UD
8018 * nss/nss_db/db-XXX.c: Cleanup.
8019
9f2da732
UD
8020 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8021 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8022 GLIBC_PRIVATE.
8023 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8024 * nss/makedb.c: Implement -g option to specify that value strings
8025 are generated and should not be added to table iterated over for
8026 get*ent calls.
8027 * nss/nss_db/db-initgroups.c: New file.
8028
82e9a1f7
UD
8029 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8030 interface.
8031
c41af17e
UD
8032 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8033 (internal_getgrouplist): Adjust to name change.
8034 Update use_initgroups_entry if this is not the first call.
8035 * nss/databases.def: Add initgroups entry.
8036
a9e836b0
UD
8037 * nss/makedb.c (compute_tables): Check result of multiple hash table
8038 sizes to minimize maximum chain length.
8039
2666d441
UD
80402011-06-14 Ulrich Drepper <drepper@gmail.com>
8041
8042 * Versions.def: Add entry for libnss_db.
8043 * shlib-versions: Likewise.
8044 * nss/Makefile: Add rules to build libnss_db.
8045 * nss/Versions: Add libnss_db information. Organize libnss_files
8046 entries better.
8047 * nss/db-Makefile: Add gshadow support. Change rules for the new
8048 makedb progra. Some minor improvements to generate smaller files.
8049 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8050 here from...
8051 * nss/makedb.c: ...here.
8052 Improve database format to be smaller and require less memory at
8053 runtime.
8054 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8055 db anymore.
8056 * nss/nss_db/db-netgrp.c: Likewise.
8057 * nss/nss_db/db-open.c: Likewise.
8058 * nss/nss_files/flies-XXX.x: Adjust comments.
8059 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8060 * nss/nss_files/files-grp.c: Likewise.
8061 * nss/nss_files/files-hosts.c: Likewise.
8062 * nss/nss_files/files-network.c: Likewise.
8063 * nss/nss_files/files-proto.c: Likewise.
8064 * nss/nss_files/files-pwd.c: Likewise.
8065 * nss/nss_files/files-rpc.c: Likewise.
8066 * nss/nss_files/files-service.c: Likewise.
8067 * nss/nss_files/files-sgrp.c: Likewise.
8068 * nss/nss_files/files-spwd.c: Likewise.
8069 * nss/nss_db/db-alias.c: Removed.
8070 * nss/nss_db/dummy-db.h: Removed.
8071
9ee76b5a
UD
80722011-06-02 Ulrich Drepper <drepper@gmail.com>
8073
8074 * nss/makedb.c: Rewritten to not use database library.
8075 * nss/Makefile: Update to build new makedb program.
8076
c71ca1f8
AJ
80772011-06-14 Andreas Jaeger <aj@suse.de>
8078
8079 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8080 memset declaration.
8081
3154bfb8
UD
80822011-06-10 Andreas Schwab <schwab@redhat.com>
8083
8084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8085 tmpbuf.
8086
b350afab
RM
80872011-06-10 Roland McGrath <roland@hack.frob.com>
8088
decd4e50
RM
8089 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8090 * elf/Makefile ($(objpfx)ld.so): Likewise.
8091
5615eaf2
RM
8092 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8093 Don't list ld.so twice in dependencies.
8094
8095 * posix/bug-regex31.c: Include <stdlib.h>.
8096
8097 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8098
8099 * nis/nss_compat/compat-spwd.c
8100 (getspent_next_nss_netgr): Remove unused variable.
8101 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8102
8103 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8104 nonmembers" output to use the right array.
8105
8106 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8107
8108 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8109
8110 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8111 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8112 * catgets/gencat.c (read_input_file): Likewise.
8113 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8114
8115 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8116 variable definition inside #if's controlling its use.
8117
8118 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8119
8120 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8121
8122 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8123
8124 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8125 unreachable code.
8126
8127 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8128
b68e08db
RM
8129 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8130 * configure: Regenerated.
8131
b350afab
RM
8132 * Makerules: Revert last change.
8133 * elf/Makefile: Likewise.
8134
28368601
RM
81352011-06-09 Roland McGrath <roland@hack.frob.com>
8136
8137 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8138 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8139 (reloc-link): Likewise.
8140
11988f8f
UD
81412011-06-09 Ulrich Drepper <drepper@gmail.com>
8142
8143 * elf/Makefile: Add rules to build pldd.
8144 * elf/pldd.c: New file.
8145 * elf/pldd-xx.c: New file.
8146
e80fab37
UD
81472011-06-07 Ulrich Drepper <drepper@gmail.com>
8148
8149 * version.h: Update for 2.15 development version.
8150
9b849836
DM
81512011-06-07 David S. Miller <davem@davemloft.net>
8152
8153 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8154 ifuncs.
8155 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8156 elf_machine_lazy_rel): Likewise.
8157 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8158 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8159 elf_machine_lazy_rel): Likewise.
8160 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8161 dl_hwcap via passed in argument.
8162 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8163 Likewise.
8164
5a31b283
AK
81652011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8166
8167 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8168
069e52f8
RM
81692011-06-06 Roland McGrath <roland@hack.frob.com>
8170
8171 [BZ #12849]
8172 * manual/fdl-1.1.texi: New file, verbatim from:
8173 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8174 * manual/lgpl-2.1.texi: New file, verbatim from:
8175 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8176 * manual/Makefile (licenses): New variable, list those new file names.
8177 (texis): Use it.
8178 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8179
8180 * manual/fdl.texi: File removed.
8181 * manual/lesser.texi: File removed.
8182 * manual/libc.texinfo (Copying, Documentation License):
8183 Use new @include file names, put @appendix directive before @include.
8184
f16846a5
JJ
81852011-06-04 Jakub Jelinek <jakub@redhat.com>
8186
8187 [BZ #12841]
8188 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8189 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8190 (mq_open): Add __NTH.
8191
3d29045b
L
81922011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8193
8194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8195 Assume Intel Core i3/i5/i7 processor if AVX is available.
8196
8c297311
UD
81972011-05-31 Ulrich Drepper <drepper@gmail.com>
8198
8199 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8200 typo.
8201
c8fc0c91
UD
82022011-05-31 Andreas Schwab <schwab@redhat.com>
8203
8204 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8205 memory. Use alloca_account. Fix memory leak when retrying.
8206
5b27a807
UD
82072011-05-31 Ulrich Drepper <drepper@gmail.com>
8208
356f8bc6
UD
8209 * version.h (RELEASE): Bump for 2.14 release.
8210 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8211
5b27a807
UD
8212 * config.make.in (RANLIB): Remove entry.
8213
01f16ab0
UD
82142011-05-30 Ulrich Drepper <drepper@gmail.com>
8215
41fce8bd
UD
8216 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8217 (libc.pot): Work around missing support for .ksh extension in xgettext.
8218
4769ae77
UD
8219 [BZ #12684]
8220 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8221 if both request failed.
8222 (send_dg): In case of server errors clear resplen or *resplen2.
8223
6b1e7d19
UD
8224 [BZ #12454]
8225 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8226 when there are multiple maps.
8227 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8228 (_dl_fini): Remove test here.
8229
01f16ab0
UD
8230 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8231
b1ebd700
UD
82322011-05-29 Ulrich Drepper <drepper@gmail.com>
8233
7ae22829
UD
8234 [BZ #12350]
8235 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8236 bit from old_res_options.
8237 (gaih_inet): Likewise.
8238
553149f6 8239 [BZ #11099]
18a84741 8240 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8241 as signed.
8242
652ffab1
UD
8243 * resolv/res_init.c (res_setoptions): Make the code more compact.
8244
16985fd0
UD
8245 [BZ #11558]
8246 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8247 set RES_USEVC.
8248
0464f746
UD
8249 [BZ #11634]
8250 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8251
7d17596c
UD
8252 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8253
cf6bbbd7
UD
8254 [BZ #11781]
8255 * malloc/malloc.h: Declare malloc hook variables as volatile.
8256
13f1ab36
UD
8257 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8258 in last patch.
8259
b1ebd700
UD
8260 [BZ #11799]
8261 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8262 raise in the comment.
80e2212d
UD
8263 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8264 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8265 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8266
ce67228d
UD
82672011-05-28 Ulrich Drepper <drepper@gmail.com>
8268
8887a920
UD
8269 [BZ #12811]
8270 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8271 grow the buffers more if it already has to be sufficient.
8272 (build_wcs_upper_buffer): Likewise.
8273 * posix/regexec.c (check_matching): Likewise.
8274 (clean_state_log_if_needed): Likewise.
8275 (extend_buffers): Don't enlarge buffers beyond size of the input
8276 buffer.
8277 Patches mostly by Emil Wojak <emil@wojak.eu>.
8278 * posix/bug-regex32.c: New file.
8279 * posix/Makefile (tests): Add bug-regex32.
8280
4f031072
UD
8281 * locale/findlocale.c (_nl_find_locale): Return right away if
8282 _nl_explode_name failed.
8283 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8284
d0478f0c
UD
8285 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8286
de81b246
UD
8287 * debug/xtrace.sh: Unify messages.
8288 * malloc/memusage.sh: Likewise.
8289
c738465a
UD
8290 [BZ #12813]
8291 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8292 time symbol from vDSO. Substitute with vsyscall if not available.
8293 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8294 __vdso_time.
8295
f1f929d7
UD
8296 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8297 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8298 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8299 Add sendmmsg and internal_sendmmsg.
8300 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8301 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8302 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8303
ce67228d
UD
8304 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8305 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8306 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8307
e57420c6
UD
83082011-05-27 Ulrich Drepper <drepper@gmail.com>
8309
a8509ca5
UD
8310 [BZ #12813]
8311 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8312 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8313 available.
8314 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8315 __vdso_getcpu.
8316
e57420c6
UD
8317 [BZ #12814]
8318 * iconvdata/Makefile (tests): Add bug-iconv9.
8319 * iconvdata/bug-iconv9.c: New file.
8320
4d07db15
AS
83212011-05-27 Andreas Schwab <schwab@redhat.com>
8322
8323 [BZ #12814]
8324 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8325
ea486f69
JJ
83262011-05-25 Jakub Jelinek <jakub@redhat.com>
8327
8328 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8329 (struct user_regs_struct): Change intcs field back to cs.
8330
6f038433
UD
83312011-05-25 Ulrich Drepper <drepper@gmail.com>
8332
8333 * po/ja.po: Update from translation team.
8334
67f86a25
UD
83352011-05-23 Ulrich Drepper <drepper@gmail.com>
8336
8337 [BZ #12795]
8338 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8339 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8340
def7fbd6
AS
83412011-05-20 Andreas Schwab <schwab@redhat.com>
8342
8343 * stdlib/longlong.h: Update from GCC.
8344
f50ef8f1
AS
83452011-05-23 Andreas Schwab <schwab@redhat.com>
8346
8347 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8348 parameter name.
8349 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8350 Add parameter name.
8351 (__sysconf): Pass it down.
8352
de7ce8f1
UD
83532011-05-22 Ulrich Drepper <drepper@gmail.com>
8354
f2962a71
UD
8355 [BZ #12671]
8356 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8357 some situations.
8358 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8359 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8360 add in in __libc_use_alloca calls. Adjust callers.
8361 (glob): Use malloc in some situations.
8362
de7ce8f1
UD
8363 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8364 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8365 pltexit.
8366
aec84f53
UD
83672011-05-21 Ulrich Drepper <drepper@gmail.com>
8368
05bb4a68
UD
8369 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8370 and CLOCK_BOOTTIME_ALARM.
8371
7ea72f99
UD
8372 [BZ #12782]
8373 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8374 is returned.
8375
7e4afad5
UD
8376 * string/_strerror.c (__strerror_r): Print negative errors as signed
8377 numbers.
8378
8e211fec
UD
8379 [BZ #12777]
8380 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8381 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8382 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8383
f7d82dc9
UD
8384 * configure.in: Fix typo in redirection and correct removal of test
8385 files in two cases.
8386
cc9e536d
UD
8387 [BZ #12788]
8388 * locale/setlocale.c (new_composite_name): Fix test to check for
8389 identical name of all categories.
8390
aec84f53
UD
8391 [BZ #12792]
8392 * libio/filedoalloc.c (local_isatty): New function.
8393 (_IO_file_doallocate): Use local_isatty.
8394 * stdio-common/perror.c (perror): In case a new stream is used
8395 forward the stream error.
8396 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8397 error flag.
8398
78e64fdc
RT
83992011-05-20 Ulrich Drepper <drepper@gmail.com>
8400
34a9094f
UD
8401 [BZ #11869]
8402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8403 alloca.
8404 * include/alloca.h (extend_alloca_account): Define.
8405
78e64fdc
RT
8406 [BZ #11857]
8407 * posix/regex.h: Fix comments with documentation of user-accessible
8408 fields after compilation and describe correct free'ing of pattern
8409 after re_compile_pattern.
8410 Patch by Reuben Thomas <rrt@sc3d.org>.
8411
457bddfc
RA
84122011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8413
8414 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8415 and -mno-altivec to prevent the compiler from using Altivec and/or
8416 VSX instructions when the corresponding registers are not available.
8417
a4527b51
AS
84182011-05-19 Andreas Schwab <schwab@redhat.com>
8419
8420 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8421
ed690b2f
UD
84222011-05-19 Ulrich Drepper <drepper@gmail.com>
8423
8424 * libio/freopen.c (freopen): Use __dup2, not dup2.
8425 * libio/freopen64.c (freopen64): Likewise.
8426
8db73634
L
84272011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8428
8429 [BZ #12775]
8430 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8431 * math/Makefile (tests): Add test-powl.
8432 (CFLAGS-test-powl.c): Define.
8433 * math/test-powl.c: New file.
8434
0a197a9d
L
84352011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8436
8437 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8438
ee30c380
UD
84392011-05-17 Ulrich Drepper <drepper@gmail.com>
8440
8441 [BZ #11837]
8442 * iconvdata/gb18030.c: Update to GB18020-2005.
8443
6ce75379
UD
84442011-05-16 Ulrich Drepper <drepper@gmail.com>
8445
a4b89fd8
AR
8446 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8447 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8448 Patch by Aharon Robbins <arnold@skeeve.com>.
8449
ea389b12
UD
8450 [BZ #11892]
8451 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8452 on the stack.
8453
68a3f91f
UD
8454 [BZ #11895]
8455 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8456 through underflows.
8457
15cc7dd1
UD
8458 [BZ #12766]
8459 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8460 point to strings before performing equality test for error_one_per_line
8461 mode.
8462
f3799213
UD
8463 [BZ #11697]
8464 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8465
d79a9c94
UD
8466 [BZ #11820]
8467 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8468 (struct user_fpregs_struct): Avoid __uint*_t types.
8469
56e5eb46
UD
8470 [BZ #6420]
8471 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8472 symbol info. Use it instead of calling _dl_addr locally.
8473 (lock_and_info): New function.
8474 (tr_freehook): Call lock_and_info and pass symbol info as additional
8475 parameter to tr_where.
8476 (tr_mallochook): Likewise.
8477 (tr_reallochook): Likewise.
8478 (tr_memalignhook): Likewise.
8479
6ce75379
UD
8480 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8481 used and couldn't be at all thread-safe.
8482
f8a3b5bf
UD
84832011-05-15 Ulrich Drepper <drepper@gmail.com>
8484
94b7cc37
UD
8485 * libio/freopen.c (freopen): Don't close old file descriptor
8486 before the new one is opened. Instead dup the new file descriptor
8487 to the old one after the new stream is created.
8488 * libio/freopen64.c (freopen64): Likewise.
8489 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8490 * libio/fileops.c (_IO_new_file_close_it): Handle new
8491 _IO_FLAGS2_NOCLOSE flag.
8492 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8493 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8494 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8495 _IO_FLAGS2_NOCLOSE flag.
8496 * include/unistd.h: Add hidden_proto for dup3.
8497 Define __have_dup3.
8498 * io/dup3.c: Define hidden symbol.
8499 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8500
bd25564e
UD
8501 [BZ #7101]
8502 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8503 when an incomplete long option is used.
8504 * posix/tst-getopt_long1.c: New file.
8505 * posix/Makefile (tests): Add tst-getopt_long1.
8506
c84cfef4
UD
8507 [BZ #10138]
8508 * scripts/config.guess: Update from autoconf-2.68.
8509 * scripts/config.sub: Likewise.
8510
3b85df27
UD
8511 [BZ #10157]
8512 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8513 tests into ...
8514 (has_cpuclock): ...this. New function.
8515 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8516 macro here based on has_cpuclock code.
8517
15a856b1
UD
8518 [BZ #10149]
8519 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8520 First byte (not low byte) is now always NUL.
8521 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8522
05f399e6
UD
8523 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8524 Use non-cancelable interfaces.
8525
10a52685 8526 [BZ #9809]
94ecc67d
UD
8527 * locale/iso-639.def: Add entry for Sorani.
8528
f8a3b5bf
UD
8529 [BZ #11901]
8530 * include/stdlib.h: Move include protection to the right place.
8531 Define abort_msg_s. Declare __abort_msg with it.
8532 * stdlib/abort.c (__abort_msg): Adjust type.
8533 * assert/assert.c (__assert_fail_base): New function. Majority
8534 of code from __assert_fail. Allocate memory for __abort_msg with
8535 mmap.
8536 (__assert_fail): Now call __assert_fail_base.
8537 * assert/assert-perr.c: Remove bulk of implementation. Use
8538 __assert_fail_base.
8539 * include/assert.hL Declare __assert_fail_base.
8540 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8541 mmap.
8542 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8543
1af4e298
UD
85442011-05-14 Ulrich Drepper <drepper@gmail.com>
8545
f8a3b5bf 8546 [BZ #11952]
d26dfc60
MG
8547 [BZ #12453]
8548 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8549 until all modules are registered in the DTV.
8550 * elf/Makefile: Add rules to build and run tst-tls19.
8551 * elf/tst-tls19.c: New file.
8552 * elf/tst-tls19mod1.c: New file.
8553 * elf/tst-tls19mod2.c: New file.
8554 * elf/tst-tls19mod3.c: New file.
8555 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8556
2fc54d6f
UD
8557 [BZ #12083]
8558 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8559 correctly.
8560
98d76b46
UD
8561 [BZ #12601]
8562 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8563 two-byte sequence errors.
8564 * iconvdata/Makefile (tests): Add bug-iconv8.
8565 * iconvdata/bug-iconv8.c: New file.
8566
da3c19ef
UD
8567 [BZ #12626]
8568 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8569 buf2 definition.
8570
ca408c15
UD
8571 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8572
d6f67f7d
UD
8573 [BZ #12432]
8574 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8575 (dummy_getcfa): New function.
8576 (init): Get _Unwind_GetCFA address, use dummy if not found.
8577 (backtrace_helper): In recursion check, also check whether CFA changes.
8578 (__backtrace): Completely initialize arg.
8579
1af4e298 8580 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8581 storing incomplete byte sequence in state object. Avoid testing for
8582 guaranteed too small input if we know there is enough data available.
1af4e298 8583
da62f81b
AS
85842011-05-11 Andreas Schwab <schwab@redhat.com>
8585
8586 * Makeconfig (+link-pie): Indent.
8587 * Rules (binaries-pie): Define if $(have-fpie) and
8588 $(build-shared).
8589 (binaries-shared): Also filter out $(binaries-pie).
8590 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8591 * nscd/Makefile (others-pie): Add nscd.
8592 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8593 ($(objpfx)nscd): Remove command override.
8594 * login/Makefile (others-pie): Add pt_chown.
8595 ($(objpfx)pt_chown): Remove command override.
8596 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8597 remove command overrides.
8598
fcabc0f8
UD
85992011-05-13 Ulrich Drepper <drepper@gmail.com>
8600
20030ae6
UD
8601 * libio/tst_putwc.c: Fix error messages.
8602
fcabc0f8
UD
8603 [BZ #12724]
8604 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8605 currently writing and seek to current position when not.
8606 * libio/Makefile (tests): Add bug-fclose1.
8607 * libio/bug-fclose1.c: New file.
8608
320a5dc0
PB
86092011-05-12 Ulrich Drepper <drepper@gmail.com>
8610
8611 [BZ #12511]
8612 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8613 don't set DF_1_NODELETE here.
8614 (do_lookup_x): When entering new entry test for copy relocation
8615 and if necessary set DF_1_NODELETE flag.
8616 * elf/tst-unique4.cc: New file.
8617 * elf/tst-unique4.h: New file.
8618 * elf/tst-unique4lib.cc: New file.
8619 * elf/Makefile: Add rules to build and run tst-unique4.
8620 Patch by Piotr Bury <pbury@goahead.com>.
8621
22836f52
UD
86222011-05-11 Ulrich Drepper <drepper@gmail.com>
8623
f574184a
UD
8624 [BZ #12052]
8625 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8626
e1fb097f
UD
8627 [BZ #12625]
8628 * misc/mntent_r.c (addmntent): Flush the stream after the output
8629
22836f52
UD
8630 [BZ #12393]
8631 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8632 (is_trusted_path_normalize): Skip initial colon. Append slash
8633 to empty buffer. Duplicate is_trusted_path code but allow
8634 constructed patch to be prefix.
8635 (is_dst): Allow $ORIGIN followed by /.
8636 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8637 Correct testing of result of is_trusted_path_normalize
8638 (decompose_rpath): Fix warning.
8639
7b3b0b2a
UD
86402011-05-10 Ulrich Drepper <drepper@gmail.com>
8641
8642 [BZ #11257]
8643 * grp/initgroups.c (internal_getgrouplist): When we found the service
8644 list through the initgroups entry in nsswitch.conf do not always
8645 continue on a successful lookup. Don't always use the
eac80ce2 8646 __nss_group_database value if it is set.
7b3b0b2a
UD
8647 * nss/nsswitch.conf (initgroups): Change action for successful db
8648 lookup to continue for compatibility.
8649
2a81eaa5
UD
86502011-05-09 Ulrich Drepper <drepper@gmail.com>
8651
be97a69e
UD
8652 [BZ #11532]
8653 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8654 and CP774 modules.
8655 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8656 and CP774 modules.
8657 * iconvdata/tst-tables.sh: Likewise.
8658 * iconvdata/cp770.c: New file.
8659 * iconvdata/cp771.c: New file.
8660 * iconvdata/cp772.c: New file.
8661 * iconvdata/cp773.c: New file.
8662 * iconvdata/cp774.c: New file.
8663 * iconvdata/testdata/CP770: New file.
8664 * iconvdata/testdata/CP770..UTF8: New file.
8665 * iconvdata/testdata/CP771: New file.
8666 * iconvdata/testdata/CP771..UTF8: New file.
8667 * iconvdata/testdata/CP772: New file.
8668 * iconvdata/testdata/CP772..UTF8: New file.
8669 * iconvdata/testdata/CP773: New file.
8670 * iconvdata/testdata/CP773..UTF8: New file.
8671 * iconvdata/testdata/CP774: New file.
8672 * iconvdata/testdata/CP774..UTF8: New file.
8673
8674 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8675 END CHARMAP line.
8676 * iconvdata/gen-8bit-gap.sh: Likewise.
8677 * iconvdata/gen-8bit.sh: Likewise.
8678
c1e9e399
UD
8679 * locale/iso-639.def: Add ary entry.
8680
24c55fb3 8681 [BZ #11258]
96b4b1b0
UD
8682 * locale/C-translit.h.in: Add U20A1 transliteration.
8683
bdc2f971
KB
8684 [BZ #12178]
8685 * locale/iso-639.def: Add wae entry.
8686 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8687
2952b117
UD
8688 [BZ #12545]
8689 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8690 for n.
8691
2a81eaa5
UD
8692 [BZ #12711]
8693 * locale/C-translit.h.in: Add entry for U20B9.
8694 Patch by pravin.d.s@gmail.com.
8695
28377d1b
UD
86962011-05-08 Ulrich Drepper <drepper@gmail.com>
8697
7fb90fb8
UD
8698 [BZ #12713]
8699 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8700 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8701 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8702 in rtld. Use *stat64.
7fb90fb8 8703 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8704 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8705 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8706 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8707 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8708 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8709 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8710 __fstatat64 macros.
7fb90fb8
UD
8711 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8712 * dirent/rewinddir.c: Add libc_hidden_def.
8713 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8714 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8715
28377d1b
UD
8716 * include/dirent.h (__alloc_dir): Add flags parameter.
8717 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8718 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8719 __alloc_dir.
8720 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8721 from fdopendir if O_CLOEXEC is already set.
8722
66bdbaa4
AM
87232011-03-15 Alan Modra <amodra@gmail.com>
8724
8725 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8726 l_tls_firstbyte_offset non-zero. Save padding offset in
8727 l_tls_firstbyte_offset for later use.
8728 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8729 freeing static tls block.
8730
95721191
JN
87312011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8732
8733 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8734 where #ifdef was intended. The intent is to prevent ARG_MAX from
8735 being defined by the kernel headers.
8736
f87dfb1f
UD
87372011-05-07 Ulrich Drepper <drepper@gmail.com>
8738
8739 [BZ #12734]
8740 * resolv/resolv.h: Define RES_NOTLDQUERY.
8741 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8742 no-tld-query and set RES_NOTLDQUERY.
8743 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8744 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8745 modern BIND to search name as TLD unless forbidden.
8746
47c3cd7a
UD
87472011-05-07 Petr Baudis <pasky@suse.cz>
8748 Ulrich Drepper <drepper@gmail.com>
8749
8750 [BZ #12393]
8751 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8752 (is_trusted_path): ...to here.
c1e9ea35 8753 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8754 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8755 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8756
8a35c912
PP
87572011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8758
8759 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8760 __BEGIN/__END_DECLS.
8761
acd41f47
UD
87622011-05-06 Ulrich Drepper <drepper@gmail.com>
8763
8764 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8765 NSS_STATUS_NOTFOUND if no record was found.
8766
597df647
AS
87672011-05-05 Andreas Schwab <schwab@redhat.com>
8768
8769 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8770 (headers-not-in-tirpc): Remove rpc/netdb.h
8771 * resolv/netdb.h: Revert last change.
8772
b9af1301
PP
87732011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8774
8775 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8776 circular dependency between libgcc.a and libc.a.
8777
4e34d5f5
AS
87782011-05-05 Andreas Schwab <schwab@redhat.com>
8779
8780 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8781 * nis/Makefile: Don't install rpcsvc/*.
8782 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8783 instead of <rpc/types.h>.
8784 (MAXHOSTNAMELEN): Define.
8785
00ee369c
AS
87862011-05-03 Andreas Schwab <schwab@redhat.com>
8787
8788 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8789
0b592a30
MB
87902011-04-28 Maciej Babinski <mbabinski@google.com>
8791
8792 [BZ #12714]
8793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8794 gethostbyname4_r when IPv6 results are possible.
8795
6e04cbbe
UD
87962011-05-02 Ulrich Drepper <drepper@gmail.com>
8797
8798 [BZ #12723]
8799 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8800 _PC_PIPE_BUF handling.
8801
e4ecafe0
BH
88022011-04-30 Bruno Haible <bruno@clisp.org>
8803
8804 [BZ #12717]
8805 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8806 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8807 to 'int'.
8808 * inet/getnameinfo.c (getnameinfo): Likewise.
8809
125ee683
UD
88102011-04-29 Ulrich Drepper <drepper@gmail.com>
8811
8812 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8813 to groups setting in database lookup.
8814 * nss/nsswitch.conf: Add initgroups entry.
8815
b722481a
EB
88162011-04-22 Ulrich Drepper <drepper@gmail.com>
8817
8818 [BZ #12685]
8819 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8820 mode string.
8821 Patch by Eric Blake <eblake@redhat.com>.
8822
4df46dbd
L
88232011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8824
8825 * sunrpc/Makefile (need-export-routines): Add svc_run.
8826 (routines): Remove svc_run.
8827 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8828 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8829 * sunrpc/svc_run.c (svc_run): Likewise.
8830 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8831
e84142d2
UD
88322011-04-21 Ulrich Drepper <drepper@gmail.com>
8833
8834 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8835 problem in reallocation in last patch.
8836
877175d8
UD
88372011-04-20 Ulrich Drepper <drepper@gmail.com>
8838
8839 * sunrpc/Makefile: Move inclusion of Rules.
8840
ab8eed78
UD
88412011-04-19 Ulrich Drepper <drepper@gmail.com>
8842
8843 * nss/nss_files/files-initgroups.c: New file.
8844 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8845 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8846 _nss_files_initgroups_dyn.
8847
e3d8f584
RS
88482011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8849
8850 * elf/elf.h (R_ARM_IRELATIVE): Define.
8851
af190f45
UD
88522011-04-19 Ulrich Drepper <drepper@gmail.com>
8853
8854 * po/ru.po: Update from translation team.
8855
53cf59ef
UD
88562011-04-17 Ulrich Drepper <drepper@gmail.com>
8857
8858 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8859 dependencies.
8860
4c559bcd
MF
88612011-02-06 Mike Frysinger <vapier@gentoo.org>
8862
8863 [BZ #12653]
8864 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8865 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8866 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8867 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8868 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8869
4420675c
AS
88702011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8871
8872 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8873 differing bytes.
8874 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8875 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8876 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8877
75ea32ab
UD
88782011-04-17 Ulrich Drepper <drepper@gmail.com>
8879
8880 [BZ #12420]
8881 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8882 storing it.
8883 * stdlib/bug-getcontext.c: New file.
8884 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8885
27390476
AK
88862011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8887
8888 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8889 instructions into .machine "z9-109".
8890 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8891 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8892
10442705
AK
88932011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8894
8895 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8896 between environment variables and auxiliary vector.
8897
7b57bfe5
UD
88982011-04-16 Ulrich Drepper <drepper@gmail.com>
8899
8900 * Makefile: Add rules to build linkobj/libc.so.
8901 * include/libc-symbols.h: Define libc_hidden_nolink.
8902 * include/rpc/auth.h: Mark functions which are to be hidden.
8903 * include/rpc/auth_des.h: Likewise.
8904 * include/rpc/auth_unix.h: Likewise.
8905 * include/rpc/clnt.h: Likewise.
8906 * include/rpc/des_crypt.h: Likewise.
8907 * include/rpc/key_prot.h: Likewise.
8908 * include/rpc/pmap_clnt.h: Likewise.
8909 * include/rpc/pmap_prot.h: Likewise.
8910 * include/rpc/pmap_rmt.h: Likewise.
8911 * include/rpc/rpc_msg.h: Likewise.
8912 * include/rpc/svc.h: Likewise.
8913 * include/rpc/svc_auth.h: Likewise.
8914 * include/rpc/xdr.h: Likewise.
8915 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8916 * nss/Makefile: Likewise.
8917 * sunrpc/Makefile: Don't install headers. Build library with normal
8918 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8919 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8920 for the compat linking library. Remove use of INTDEF/INTUSE.
8921 * sunrpc/auth_none.c: Likewise.
8922 * sunrpc/auth_unix.c: Likewise.
8923 * sunrpc/authdes_prot.c: Likewise.
8924 * sunrpc/authuxprot.c: Likewise.
8925 * sunrpc/clnt_gen.c: Likewise.
8926 * sunrpc/clnt_perr.c: Likewise.
8927 * sunrpc/clnt_raw.c: Likewise.
8928 * sunrpc/clnt_simp.c: Likewise.
8929 * sunrpc/clnt_tcp.c: Likewise.
8930 * sunrpc/clnt_udp.c: Likewise.
8931 * sunrpc/clnt_unix.c: Likewise.
8932 * sunrpc/des_crypt.c: Likewise.
8933 * sunrpc/des_soft.c: Likewise.
8934 * sunrpc/get_myaddr.c: Likewise.
8935 * sunrpc/key_call.c: Likewise.
8936 * sunrpc/key_prot.c: Likewise.
8937 * sunrpc/netname.c: Likewise.
8938 * sunrpc/pm_getmaps.c: Likewise.
8939 * sunrpc/pm_getport.c: Likewise.
8940 * sunrpc/pmap_clnt.c: Likewise.
8941 * sunrpc/pmap_prot.c: Likewise.
8942 * sunrpc/pmap_prot2.c: Likewise.
8943 * sunrpc/pmap_rmt.c: Likewise.
8944 * sunrpc/publickey.c: Likewise.
8945 * sunrpc/rpc_cmsg.c: Likewise.
8946 * sunrpc/rpc_common.c: Likewise.
8947 * sunrpc/rpc_dtable.c: Likewise.
8948 * sunrpc/rpc_prot.c: Likewise.
8949 * sunrpc/rpc_thread.c: Likewise.
8950 * sunrpc/rtime.c: Likewise.
8951 * sunrpc/svc.c: Likewise.
8952 * sunrpc/svc_auth.c: Likewise.
8953 * sunrpc/svc_authux.c: Likewise.
8954 * sunrpc/svc_raw.c: Likewise.
8955 * sunrpc/svc_run.c: Likewise.
8956 * sunrpc/svc_simple.c: Likewise.
8957 * sunrpc/svc_tcp.c: Likewise.
8958 * sunrpc/svc_udp.c: Likewise.
8959 * sunrpc/svc_unix.c: Likewise.
8960 * sunrpc/svcauth_des.c: Likewise.
8961 * sunrpc/xcrypt.c: Likewise.
8962 * sunrpc/xdr.c: Likewise.
8963 * sunrpc/xdr_array.c: Likewise.
8964 * sunrpc/xdr_float.c: Likewise.
8965 * sunrpc/xdr_intXX_t.c: Likewise.
8966 * sunrpc/xdr_mem.c: Likewise.
8967 * sunrpc/xdr_rec.c: Likewise.
8968 * sunrpc/xdr_ref.c: Likewise.
8969 * sunrpc/xdr_sizeof.c: Likewise.
8970 * sunrpc/xdr_stdio.c: Likewise.
8971
e6c61494
UD
89722011-04-10 Ulrich Drepper <drepper@gmail.com>
8973
8974 [BZ #12650]
8975 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8976 * sysdeps/ia64/dl-tls.h: Likewise.
8977 * sysdeps/powerpc/dl-tls.h: Likewise.
8978 * sysdeps/s390/dl-tls.h: Likewise.
8979 * sysdeps/sh/dl-tls.h: Likewise.
8980 * sysdeps/sparc/dl-tls.h: Likewise.
8981 * sysdeps/x86_64/dl-tls.h: Likewise.
8982 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8983
34fe483e
AS
89842011-03-14 Andreas Schwab <schwab@redhat.com>
8985
8986 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8987 rpath element also skip the following colon.
8988 (expand_dynamic_string_token): Add is_path parameter and pass
8989 down to DL_DST_REQUIRED and _dl_dst_substitute.
8990 (decompose_rpath): Call expand_dynamic_string_token with
8991 non-zero is_path. Ignore empty rpaths.
8992 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8993 with zero is_path.
8994
f12a32e6
AS
89952011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8996
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8998 Make cancelable.
8999
38a7d692
UD
90002011-04-09 Ulrich Drepper <drepper@gmail.com>
9001
9002 [BZ #12655]
9003 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9004 Patch by Filipe David Manana <fdmanana@apache.org>.
9005
e451d22b
AS
90062011-04-07 Andreas Schwab <schwab@redhat.com>
9007
9008 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9009 Maintain aligned stack.
9010 (CHECK_RSP): Remove unused macro.
9011
dedc7c7b
UD
90122011-04-03 Ulrich Drepper <drepper@gmail.com>
9013
9014 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9015 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9016
94521213
UD
90172011-04-02 Ulrich Drepper <drepper@gmail.com>
9018
9019 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9020
8cb700c0 9021 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9022
0354e355
L
90232011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9024
9025 [BZ #12518]
9026 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9027 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9028 * sysdeps/x86_64/memmove.c: New file.
9029 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9030 (memcpy): Renamed to ...
9031 (__new_memcpy): This.
9032 (memcpy): Provide GLIBC_2_14 memcpy.
9033 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9034 (memcpy): Provide GLIBC_2_2_5 memcpy.
9035
8593482f
UD
90362011-04-01 Ulrich Drepper <drepper@gmail.com>
9037
9038 [BZ #12631]
9039 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9040
81a5726b
AS
90412011-03-30 Andreas Schwab <schwab@redhat.com>
9042
9043 * misc/syncfs.c: New file.
9044 * misc/Makefile (routines): Add syncfs.
9045 * posix/unistd.h: Declare syncfs.
9046 * sysdeps/unix/syscalls.list: Add syncfs.
9047
00e5419f
AS
90482011-04-01 Andreas Schwab <schwab@redhat.com>
9049
9050 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9051 open_by_handle_at.
9052 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9053 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9054 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9055 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9056 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9057 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9058 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9059
748876bf
UD
90602011-04-01 Ulrich Drepper <drepper@gmail.com>
9061
658e451d
UD
9062 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9063 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9064 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9066 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9068 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9069
748876bf
UD
9070 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9071 sync_file_range.c with -fexceptions.
9072 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9073 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9074 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9075 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9076 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9077 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9078 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9079 sync_file_range as cancellation point
9080 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9081 now a wrapper around __call_sync_file_range with cancellation handling.
9082 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9083 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9084 function name to __call_sync_file_range.
9085 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9086 Add call_sync_file_range.
748876bf 9087
6e63d5e1
AS
90882011-04-01 Andreas Schwab <schwab@redhat.com>
9089
9090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9091 bits/timex.h.
6e63d5e1 9092
46998f74
UD
90932011-04-01 Ulrich Drepper <drepper@gmail.com>
9094
4c1423ed
UD
9095 * iconv/iconv.h: Fix typo in comment.
9096 * io/fcntl.h: Likewise.
9097 * libio/stdio.h: Likewise.
9098 * posix/spawn.h: Likewise.
9099 * posix/unistd.h: Likewise.
9100 * stdlib/stdlib.h: Likewise.
9101 * time/time.h: Likewise.
9102 * wcsmbs/wchar.h: Likewise.
9103
158648c0
UD
9104 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9105 open_by_handle): Add.
9106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9107 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9108 Augment a few comments.
9109 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9111 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9113 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9114 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9115 open_by_handle.
9116
46998f74
UD
9117 * io/fcntl.h (AT_EMPTY_PATH): Define.
9118
83fe108b
UD
91192011-03-30 Ulrich Drepper <drepper@gmail.com>
9120
9121 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9122 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9123 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9124 to...
9125 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9126 * Versions.def: Add GLIBC_2.14.
9127 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9128 Export.
83fe108b 9129
bb242059
UD
91302011-03-22 Ulrich Drepper <drepper@gmail.com>
9131
9132 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9133 round counter.
9134 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9135
c97a1282
L
91362011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9137
9138 [BZ #12597]
9139 * string/test-strncmp.c (do_page_test): New function.
9140 (check2): Likewise.
9141 (test_main): Call check2.
9142 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9143
2a115601
UD
91442011-03-20 Ulrich Drepper <drepper@gmail.com>
9145
9146 [BZ #12587]
9147 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9148 Handle cache information in CPU leaf 4.
9149 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9150
8126d904
UD
91512011-03-18 Ulrich Drepper <drepper@gmail.com>
9152
042c49c6 9153 [BZ #12583]
8126d904
UD
9154 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9155 character representation.
9156 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9157
ccfe366e
RA
91582011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9159
9160 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9161 END(__isnan) to END(__isnanf) to match function entry point/label
9162 EALIGN(__isnanf,...).
9163
c6e13027
JJ
91642011-03-10 Jakub Jelinek <jakub@redhat.com>
9165
9166 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9167
33f85a3f
UD
91682011-03-10 Ulrich Drepper <drepper@gmail.com>
9169
028478fa
UD
9170 [BZ #12510]
9171 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9172 copy from the symbol referenced in the relocation to initialize the
9173 used variable.
9174 Patch by Piotr Bury <pbury@goahead.com>.
9175 * elf/Makefile: Add rules to build and tst-unique3.
9176 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9177 * elf/tst-unique3.cc: New file.
9178 * elf/tst-unique3.h: New file.
9179 * elf/tst-unique3lib.cc: New file.
9180 * elf/tst-unique3lib2.cc: New file.
9181
33f85a3f
UD
9182 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9183
03592fc7
MF
91842011-03-10 Mike Frysinger <vapier@gentoo.org>
9185
9186 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9187 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9188 to _start.
03592fc7 9189
6a5ee102
UD
91902011-03-06 Ulrich Drepper <drepper@gmail.com>
9191
9192 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9193 to-be-loaded object along a path to loader is ld.so.
9194
7e4ba49c
HJ
91952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9196 Ulrich Drepper <drepper@gmail.com>
9197
9198 * sysdeps/x86_64/memset.S: After aligning destination, code
9199 branches to different locations depending on the value of
9200 misalignment, when multiarch is enabled. Fix this.
9201
92022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9203
9204 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9205 Set _x86_64_preferred_memory_instruction for AMD processsors.
9206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9207 Set bit_Prefer_SSE_for_memop for AMD processors.
9208
13a804de
UD
92092011-03-04 Ulrich Drepper <drepper@gmail.com>
9210
9211 * libio/fmemopen.c (fmemopen): Optimize a bit.
9212
9d25c392
AS
92132011-03-03 Andreas Schwab <schwab@redhat.com>
9214
9215 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9216
a5543c6a
RM
92172011-03-03 Roland McGrath <roland@redhat.com>
9218
9219 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9220
012d35f7
DM
92212011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9222
7e4ba49c 9223 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9224 __bzero_ultra1 instead of __memset_ultra1.
9225
4bff6e01
AS
92262011-02-23 Andreas Schwab <schwab@redhat.com>
9227 Ulrich Drepper <drepper@gmail.com>
9228
9229 [BZ #12509]
9230 * include/link.h (struct link_map): Add l_orig_initfini.
9231 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9232 returning unsuccessfully.
9233 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9234 close of a file loaded at startup, restore the original l_initfini
9235 list.
9236 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9237 list, store the pointer.
9238 * elf/Makefile ($(objpfx)noload-mem): New rule.
9239 (noload-ENV): Define.
9240 (tests): Add $(objpfx)noload-mem.
9241 * elf/noload.c: Include <memcheck.h>.
9242 (main): Call mtrace. Close all opened handles.
9243
f2092faf
AS
92442011-02-17 Andreas Schwab <schwab@redhat.com>
9245
9246 [BZ #12454]
9247 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9248 dependencies are missing.
9249
6c8a2e88
ST
92502011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9251
f2092faf 9252 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9253 Hurd needs munmap.
9254 * sysdeps/mach/hurd/ifreq.h: New file.
9255
84a42118
PB
92562011-01-27 Petr Baudis <pasky@suse.cz>
9257 Ulrich Drepper <drepper@gmail.com>
9258
071f805e 9259 [BZ 12445]#
84a42118
PB
9260 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9261 to extend_alloca().
9262 * stdio-common/bug23.c: New file.
9263 * stdio-common/Makefile (tests): Add bug23.
9264
e23fe25b
AS
92652010-09-28 Andreas Schwab <schwab@redhat.com>
9266 Ulrich Drepper <drepper@gmail.com>
9267
9268 [BZ #12489]
9269 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9270 before performing relro protection. At old place add assertion
9271 to make sure nothing changed.
9272
d3f02e10
NS
92732011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9274 Glauber de Oliveira Costa <glommer@gmail.com>
9275
9276 * elf/elf.h: Add new ARM TLS relocs.
9277
d55fd7a5
RA
92782011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9279
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9281 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9282 cast from r3.
9283 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9284 'tests' variable.
9285 * sysdeps/wordsize-64/tst-writev.c: New file.
9286
2206397e
RA
92872011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9288
9289 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9290 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9291 insns in _dl_start to prevent a TOC reference before relocs are
9292 resolved.
9293
e9433893
UD
92942011-02-15 Ulrich Drepper <drepper@gmail.com>
9295
9296 [BZ #12469]
9297 * Makeconfig: Remove RANLIB definition.
9298 * Makerules: Don't use RANLIB.
9299 * aclocal.m4: Remove ranlib test.
9300 * configure.in: No need to check for ranlib.
9301 * elf/rtld-Rules: Don't use RANLIB.
9302
f75286c6
ST
93032011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9304
8e31c82d
ST
9305 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9306 protection macro.
9307 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9308 inclusion protection macro.
9309
f75286c6
ST
9310 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9311 SIGRTMIN and SIGRTMAX and print information in that case only when
9312 SIGRTMIN is defined.
9313
c1d0e639
JJ
93142011-02-11 Jakub Jelinek <jakub@redhat.com>
9315
9316 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9317 arginfo fn returning -1.
9318
9319 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9320 and thousands string is zero terminated.
9321
edf9294e
AS
93222011-02-03 Andreas Schwab <schwab@redhat.com>
9323
9324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9325 sysdeps/unix/sysv/linux/bits/socket.h.
9326
2b7e92df
ST
93272011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9328
edf9294e
AS
9329 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9330 (__CPU_COUNT): Remove old macros.
9331 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9332 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9333 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9334 (__sched_cpualloc, __sched_cpufree): Add declarations.
9335
a4c7ea7b
UD
93362011-02-05 Ulrich Drepper <drepper@gmail.com>
9337
9338 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9339 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9340 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9341 (readdhstai): Return value of addhstaiX call.
9342 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9343 (addgrbyX): Return value returned by cache_addgr.
9344 (readdgrbyname): Return value returned by addgrbyX.
9345 (readdgrbygid): Likewise.
9346 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9347 (addpwbyX): Return value returned by cache_addpw.
9348 (readdpwbyname): Return value returned by addhstbyX.
9349 (readdpwbyuid): Likewise.
9350 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9351 (addservbyX): Return value returned by cache_addserv.
9352 (readdservbyname): Return value returned by addservbyX:
9353 (readdservbyport): Likewise.
9354 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9355 (addhstbyX): Return value returned by cache_addhst.
9356 (readdhstbyname): Return value returned by addhstbyX.
9357 (readdhstbyaddr): Likewise.
9358 (readdhstbynamev6): Likewise.
9359 (readdhstbyaddrv6): Likewise.
9360 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9361 (readdinitgroups): Return value returned by addinitgroupsX.
9362 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9363 (prune_cache): Keep track of timeout value of re-added entries.
9364 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9365 * nscd/nscd.h: Adjust prototypes of readd* functions.
9366
a0bf67cc
RM
93672011-02-04 Roland McGrath <roland@redhat.com>
9368
9369 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9370 (nis_stats): Likewise.
9371 * nis/nis_modify.c (nis_modify): Likewise.
9372 * nis/nis_remove.c (nis_remove): Likewise.
9373 * nis/nis_add.c (nis_add): Likewise.
9374
9375 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9376
9377 * posix/fnmatch_loop.c: Add some consts.
9378
9379 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9380
435b95eb
L
93812011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9382
9383 [BZ #12460]
9384 * config.make.in (config-cflags-novzeroupper): Define.
9385 * configure.in: Substitute libc_cv_cc_novzeroupper.
9386 * elf/Makefile (AVX-CFLAGS): Define.
9387 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9388 (CFLAGS-tst-auditmod4a.c): Likewise.
9389 (CFLAGS-tst-auditmod4b.c): Likewise.
9390 (CFLAGS-tst-auditmod6b.c): Likewise.
9391 (CFLAGS-tst-auditmod6c.c): Likewise.
9392 (CFLAGS-tst-auditmod7b.c): Likewise.
9393 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9394
8517b15e
UD
93952011-02-02 Ulrich Drepper <drepper@gmail.com>
9396
9397 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9398 function to the callback.
9399 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9400
10a656fe
AS
94012011-02-02 Andreas Schwab <schwab@redhat.com>
9402
9403 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9404 of errno.
9405
968dad0a
UD
94062011-01-19 Ulrich Drepper <drepper@gmail.com>
9407
9f94d2ea 9408 [BZ #11724]
968dad0a
UD
9409 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9410 of constructors.
9411 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9412 of destructors.
9413 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9414
9415 [BZ #11724]
9416 * elf/Makefile: Add rules to build and run new test.
9417 * elf/tst-initorder.c: New file.
9418 * elf/tst-initorder.exp: New file.
9419 * elf/tst-initordera1.c: New file.
9420 * elf/tst-initordera2.c: New file.
9421 * elf/tst-initordera3.c: New file.
9422 * elf/tst-initordera4.c: New file.
9423 * elf/tst-initorderb1.c: New file.
9424 * elf/tst-initorderb2.c: New file.
9425 * elf/tst-order-a1.c: New file.
9426 * elf/tst-order-a2.c: New file.
9427 * elf/tst-order-a3.c: New file.
9428 * elf/tst-order-a4.c: New file.
9429 * elf/tst-order-b1.c: New file.
9430 * elf/tst-order-b2.c: New file.
9431 * elf/tst-order-main.c: New file.
9432 New test case by George Gensure <werkt0@gmail.com>.
9433
86e92359
UD
94342010-10-01 Andreas Schwab <schwab@redhat.com>
9435
9436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9437 decoding ACE if AI_CANONIDN.
9438
5d5732b0
UD
94392011-01-18 Ulrich Drepper <drepper@gmail.com>
9440
9441 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9442
a77e8cbc
UD
94432011-01-17 Ulrich Drepper <drepper@gmail.com>
9444
6392473f
UD
9445 * version.h (RELEASE): Bump for 2.13 release.
9446 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9447
620a0529
UD
9448 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9449
18ba70a5
UD
9450 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9451 MADV_NOHUGEPAGE.
32465c3e
UD
9452 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9453 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9454 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9455 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9456 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9457 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9458
c0dafcf1
UD
9459 * posix/getconf.c: Update copyright year.
9460 * catgets/gencat.c: Likewise.
9461 * csu/version.c: Likewise.
9462 * debug/catchsegv.sh: Likewise.
9463 * debug/xtrace.sh: Likewise.
9464 * elf/ldconfig.c: Likewise.
9465 * elf/ldd.bash.in: Likewise.
9466 * elf/sprof.c (print_version): Likewise.
9467 * iconv/iconv_prog.c: Likewise.
9468 * iconv/iconvconfig.c: Likewise.
9469 * locale/programs/locale.c: Likewise.
9470 * locale/programs/localedef.c: Likewise.
9471 * malloc/memusage.sh: Likewise.
9472 * malloc/mtrace.pl: Likewise.
9473 * nscd/nscd.c (print_version): Likewise.
9474 * nss/getent.c: Likewise.
9475
a77e8cbc
UD
9476 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9477 PF_CAIF, and PF_ALG.
9478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9479
77e8bddf
AS
94802011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9481
1f20b93a
AS
9482 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9483 (modules-names): Use them.
9484 (ifunc-test-modules, ifunc-pie-tests): Define.
9485 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9486 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9487 (test-extras): Likewise.
9488 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9489 $(compile-command.c).
9490 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9491 (all-built-dso): Define.
9492 (check-textrel.out, check-execstack.out): Depend on it.
9493
77e8bddf
AS
9494 * configure.in: Don't override --enable-multi-arch.
9495
bc425b33
UD
94962011-01-15 Ulrich Drepper <drepper@gmail.com>
9497
9498 [BZ #6812]
9499 * nscd/hstcache.c (tryagain): Define.
9500 (cache_addhst): Return tryagain not notfound for temporary errors.
9501 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9502 failed.
9503
794c3ad3
UD
95042011-01-14 Ulrich Drepper <drepper@gmail.com>
9505
70181fdd
UD
9506 [BZ #10563]
9507 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9508 to make the syscall.
9509 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9510
794c3ad3
UD
9511 [BZ #12378]
9512 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9513 and fall back to matching as normal character if the string ends before
9514 the matching ']' is found. This is what POSIX requires.
9515 * posix/testfnm.c: Adjust test result.
9516 * posix/globtest.sh: Adjust test result. Add new test.
9517 * posix/tst-fnmatch.input: Likewise.
9518 * posix/tst-fnmatch2.c: Add new test.
9519
68dc9497
AS
95202010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9521
9522 * elf/Makefile (check-execstack): Revert last change. Depend on
9523 check-execstack.h.
9524 (check-execstack.h): New target.
9525 (generated): Add check-execstack.h.
9526 * elf/check-execstack.c: Include "check-execstack.h".
9527 (main): Revert last change.
9528 (handle_file): Return zero if GNU_STACK is absent and
9529 DEFAULT_STACK_PERMS doesn't include PF_X.
9530
451f001b
UD
95312011-01-13 Ulrich Drepper <drepper@gmail.com>
9532
cfa28e56
UD
9533 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9534 in child fails because the descriptor is already closed.
8cf8ce17
UD
9535 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9536 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9537 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9538
1086d70d
UD
9539 [BZ #12397]
9540 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9541 syscall.
9542
451f001b
UD
9543 [BZ #10484]
9544 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9545 temporary buffer used to handle multi lookups locally.
a85b5cb4 9546 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9547
08769175
UD
95482011-01-12 Ulrich Drepper <drepper@gmail.com>
9549
9550 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9551 loader is ld.so.
9552
5e49c52e
UD
95532011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9554
9555 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9556 alignment for SSE2.
9557
60522a5f
UD
95582011-01-12 Ulrich Drepper <drepper@gmail.com>
9559
9560 [BZ #12394]
9561 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9562 characters. When rounding increased number of integer digits recompute
9563 number of groups.
9564 * stdio-common/tst-grouping.c: New file.
9565 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9566
f257bbd7
UD
95672011-01-09 Ulrich Drepper <drepper@gmail.com>
9568
9569 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9570 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9571
9572 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9573 void.
9574 * bits/select.h: Likewise.
9575
fa9c15cb
UD
95762011-01-08 Ulrich Drepper <drepper@gmail.com>
9577
9578 * po/ja.po: Update from translation team.
9579
16c2895f
DM
95802011-01-04 David S. Miller <davem@sunset.davemloft.net>
9581
9582 [BZ #11155]
9583 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9584 implementation just like for lxstat, fxstatat, et al.
9585
2543fef2
JM
95862010-12-27 Jim Meyering <meyering@redhat.com>
9587
9588 [BZ #12348]
9589 * posix/regexec.c (build_trtable): Return failure indication upon
9590 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9591
98727dbe
UD
95922010-12-25 Ulrich Drepper <drepper@gmail.com>
9593
5bd6dc5c
UD
9594 [BZ #12201]
9595 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9596 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9597 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9598 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9599
97983464
UD
9600 [BZ #12207]
9601 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9602
98727dbe
UD
9603 [BZ #12204]
9604 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9605 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9606
4a531bb0
L
96072010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9608
9609 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9610 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9611 script has SORT_BY_INIT_PRIORITY.
9612 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9613 NO_CTORS_DTORS_SECTIONS is defined.
9614 * elf/soinit.c: Likewise.
9615 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9616 NO_CTORS_DTORS_SECTIONS is defined.
9617 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9618 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9619 * sysdeps/sh/init-first.c: Likewise.
9620 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9621
07eb4b71
UD
96222010-12-24 Ulrich Drepper <drepper@gmail.com>
9623
9624 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9625 always use the slow path.
9626
30950a5f
RA
96272010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9628
9629 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9630 similar rule which adds the sysdep directories to the header search in
9631 order to pick up the correct platform stackinfo.h.
9632 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9633 perform test if it is, otherwise return successfully without testing.
9634 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9635 DEFAULT_STACK_PERMS define in stackinfo.h.
9636 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9637 defined in stackinfo.h.
9638 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9639 DEFAULT_STACK_PERMS defined in stackinfo.h.
9640 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9641 * sysdeps/ia64/stackinfo.h: Likewise.
9642 * sysdeps/s390/stackinfo.h: Likewise.
9643 * sysdeps/sh/stackinfo.h: Likewise.
9644 * sysdeps/sparc/stackinfo.h: Likewise.
9645 * sysdeps/x86_64/stackinfo.h: Likewise.
9646 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9647 PF_X for powerpc64. Retain PF_X for powerpc32.
9648
db753e2c
UD
96492010-12-19 Ulrich Drepper <drepper@gmail.com>
9650
14b697f7
UD
9651 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9652 accurately.
db753e2c
UD
9653 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9654 GETDENTS_64BIT_ALIGNED.
9655
28300719
UD
96562010-12-14 Ulrich Drepper <dreper@gmail.com>
9657
14b697f7 9658 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9659
4f197237
AS
96602010-12-10 Andreas Schwab <schwab@redhat.com>
9661
dbb0472f
AS
9662 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9663 _GNU_SOURCE.
9664
4f197237
AS
9665 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9666 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9667 Remove __restrict.
9668 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9669 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9670
fb88ac72
UD
96712010-12-09 Ulrich Drepper <drepper@gmail.com>
9672
9673 [BZ #11655]
9674 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9675 are initialized.
9676
42acbb92
JJ
96772010-12-09 Jakub Jelinek <jakub@redhat.com>
9678
9679 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9680
c038d98d
UD
96812010-12-03 Ulrich Drepper <drepper@gmail.com>
9682
9683 * po/it.po: Update from translation team.
9684
3a4a2499
L
96852010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9686
9687 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9688 unused codes.
9689
1e24cf6e
UD
96902010-11-30 Ulrich Drepper <drepper@gmail.com>
9691
9692 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9693
a7690819
AS
96942010-11-24 Andreas Schwab <schwab@redhat.com>
9695
9696 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9697 specially.
9698 (gaih_getanswer_slice): Likewise.
9699
3bf8d1b1
JJ
97002010-10-20 Jakub Jelinek <jakub@redhat.com>
9701
9702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9703
6db52fbb
PB
97042010-05-31 Petr Baudis <pasky@suse.cz>
9705
9706 [BZ #11149]
9707 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9708 silently even in the chroot mode.
9709
eaca7569
UD
97102010-11-22 Ulrich Drepper <drepper@gmail.com>
9711
9712 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9713 last patch a bit. Pretty printing
9714
3056dcdb
UD
97152010-05-31 Petr Baudis <pasky@suse.cz>
9716
9717 [BZ #10085]
9718 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9719 initialization of skip_initgroups_dyn.
9720
cf7c9078
UD
97212010-11-19 Ulrich Drepper <drepper@gmail.com>
9722
9723 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9724 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9725
a1fb5e3e
UD
97262010-11-16 Ulrich Drepper <drepper@gmail.com>
9727
9728 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9729
3540d66b
AS
97302010-11-11 Andreas Schwab <schwab@redhat.com>
9731
9732 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9733 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9734 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9735 ($(objpfx)tst-fnmatch-mem): New rule.
9736 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9737 * posix/tst-fnmatch.c (main): Call mtrace.
9738
13b69574
L
97392010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9740
9741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9742 Support Intel processor model 6 and model 0x2c.
9743
da93d214
LM
97442010-11-10 Luis Machado <luisgpm@br.ibm.com>
9745
9746 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9747 signed comparison.
9748
8ca52c6e
L
97492010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9750
9751 [BZ #12205]
9752 * string/test-strncasecmp.c (check_result): New function.
9753 (do_one_test): Use it.
9754 (check1): New function.
9755 (test_main): Use it.
9756 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9757 Support strcasecmp and strncasecmp.
9758
69da074d
UD
97592010-11-08 Ulrich Drepper <drepper@gmail.com>
9760
9761 [BZ #12194]
9762 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9763 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9764
ff02d528
L
97652010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9766
9767 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9768 IFUNC support.
9769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9770 memset-x86-64.
9771 * sysdeps/x86_64/multiarch/bzero.S: New file.
9772 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9773 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9774 * sysdeps/x86_64/multiarch/memset.S: New file.
9775 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9777 Set bit_Prefer_SSE_for_memop for Intel processors.
9778 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9779 Define.
9780 (index_Prefer_SSE_for_memop): Define.
9781 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9782
344d0b54
LM
97832010-11-04 Luis Machado <luisgpm@br.ibm.com>
9784
9785 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9786 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9787
c0dde15b
UD
97882010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9789
9790 [BZ #12191]
9791 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9792 (__x86_64_raw_data_cache_size_half): Likewise.
9793 (__x86_64_raw_shared_cache_size): Likewise.
9794 (__x86_64_raw_shared_cache_size_half): Likewise.
9795
9796 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9797 (__x86_64_raw_data_cache_size_half): Likewise.
9798 (__x86_64_raw_shared_cache_size): Likewise.
9799 (__x86_64_raw_shared_cache_size_half): Likewise.
9800 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9801 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9802 and __x86_64_raw_shared_cache_size_half. Round
9803 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9804 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9805 to multiple of 256 bytes.
9806
0e516e0e
MS
98072010-11-03 Ulrich Drepper <drepper@gmail.com>
9808
9809 [BZ #12167]
9810 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9811 of inacessible symlinks. Verify result of symlink before returning it.
9812 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9813 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9814
0e012e87
ER
98152010-10-28 Erich Ritz <erichritz@gmail.com>
9816
9817 * math/math.h (isinf): Fix typo in comment.
9818
de0ff7bc
UD
98192010-11-01 Ulrich Drepper <drepper@gmail.com>
9820
9821 * po/da.po: Update from translation team.
9822
fa41c84d
UD
98232010-10-26 Ulrich Drepper <drepper@gmail.com>
9824
9825 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9826 is added to the list.
9827
f0967738
AK
98282010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9829 Ulrich Drepper <drepper@gmail.com>
9830
9831 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9832 the global list here. Move code to...
9833 (_dl_add_to_namespace_list): ...here. New function.
9834 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9835 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9836 * elf/dl-load.c (lose): Don't remove the element from the list.
9837 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9838 (_dl_map_object): Likewise.
9839
98402010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9841
9842 [BZ #12159]
9843 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9844 into all bytes of SSE register.
9845 Patch by Richard Li <richardpku@gmail.com>.
9846
f0967738 98472010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9848
9849 [BZ #12140]
9850 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9851 perturbing.
9852
d0b9e94f
MB
98532010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9854
9855 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9856 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9857 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9858 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9860 submachine.
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9862
8e9f92e9
AS
98632010-10-22 Andreas Schwab <schwab@redhat.com>
9864
9865 * include/dlfcn.h (__RTLD_SECURE): Define.
9866 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9867 mode & __RTLD_SECURE instead.
9868 (open_path): Rename preloaded parameter to secure.
9869 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9870 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9871 * elf/dl-deps.c (openaux): Likewise.
9872 * elf/rtld.c (struct map_args): Remove is_preloaded.
9873 (map_doit): Don't use it.
9874 (dl_main): Likewise.
9875 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9876 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9877
bc96fbda
AS
98782010-09-09 Andreas Schwab <schwab@redhat.com>
9879
9880 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9881 (sysd-rules-targets): Remove duplicates.
9882 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9883 rtld-%.$o dependency.
9884
22cd1c9b
AS
98852010-10-18 Andreas Schwab <schwab@redhat.com>
9886
9887 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9888 _dl_map_object do it.
9889
18edac48
UD
98902010-10-19 Ulrich Drepper <drepper@gmail.com>
9891
9892 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9893 fast fma builtins, define the macros in the C99 standard.
9894 (FP_FAST_FMAF): Likewise.
9895 (FP_FAST_FMAL): Likewise.
9896 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9897
9898 * bits/mathdef.h: Update copyright year.
9899 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9900
d2050124
MM
99012010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9902
9903 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9904 builtins, define the macros in the C99 standard.
9905 (FP_FAST_FMAF): Likewise.
9906 (FP_FAST_FMAL): Likewise.
9907 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9908 multiply/add.
9909 (FP_FAST_FMAF): Likewise.
9910
475facd1
JJ
99112010-10-15 Jakub Jelinek <jakub@redhat.com>
9912
9913 [BZ #3268]
9914 * math/libm-test.inc (fma_test): Some new testcases.
9915 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9916 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9917 y and infinite z. Do multiplication by C already in long double.
9918 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9919 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9920 y and infinite z. Do bitwise or of inexact bit into u.d.
9921 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9922 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9923 * sysdeps/i386/fpu/s_fma.S: Removed.
9924 * sysdeps/i386/fpu/s_fmal.S: Removed.
9925
7c08a05c
JJ
99262010-10-16 Jakub Jelinek <jakub@redhat.com>
9927
9928 [BZ #3268]
9929 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9931 computation is not scheduled after fetestexcept. Fix value
9932 of minimum denormal long double.
9933
f3f7372d
JJ
99342010-10-14 Jakub Jelinek <jakub@redhat.com>
9935
9936 [BZ #3268]
9937 * math/libm-test.inc (fma_test): Add some more tests.
9938 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9939 correctly.
9940
14d43591
AS
99412010-10-15 Andreas Schwab <schwab@redhat.com>
9942
9943 * scripts/data/localplt-s390-linux-gnu.data: New file.
9944 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9945
5e908464
JJ
99462010-10-13 Jakub Jelinek <jakub@redhat.com>
9947
9948 [BZ #3268]
9949 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9950 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9951 instead of dbl-64.
9952 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9953 inlines.
9954 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9956 if one of x and y is very large and the other is subnormal.
9957 * sysdeps/s390/fpu/s_fmaf.c: New file.
9958 * sysdeps/s390/fpu/s_fma.c: New file.
9959 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9960 * sysdeps/powerpc/fpu/s_fma.S: New file.
9961 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9962 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9963 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9964
99652010-10-12 Jakub Jelinek <jakub@redhat.com>
9966
9967 [BZ #3268]
9968 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9969 fma tests.
9970 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9971 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9972 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9973 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9974 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9975 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9977
b833d51f
UD
99782010-10-12 Ulrich Drepper <drepper@redhat.com>
9979
9980 [BZ #12078]
9981 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9982 * posix/bug-regex31.input: Add test case.
9983
1751705d
UD
99842010-10-11 Ulrich Drepper <drepper@gmail.com>
9985
e9b9cbf5
UD
9986 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9987 * posix/bug-regex31.input: New file.
9988
9989 [BZ #12078]
9990 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9991 (parse_sub_exp): Fix last change, use postorder.
9992
ef06edbe
UD
9993 * posix/bug-regex31.c: New file.
9994 * posix/Makefile: Add rules to build and run bug-regex31.
9995
a129c80d
UD
9996 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9997
9998 [BZ #12078]
9999 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10000
b76b818e
UD
10001 [BZ #12108]
10002 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10003 to have entries in sys_siglist.
10004
1751705d
UD
10005 [BZ #12093]
10006 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10007 be NULL.
10008
9ff8d36f
JJ
100092010-10-07 Jakub Jelinek <jakub@redhat.com>
10010
10011 [BZ #3268]
10012 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10013 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10014 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10015 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10016 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10017 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10018 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10019 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10020 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10021 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10022 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10023 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10024 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10025 * math/ftestexcept.c (fetestexcept): Likewise.
10026 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10027 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10028 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10029 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10030 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10031 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10032 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10033
af325969
UD
100342010-10-11 Ulrich Drepper <drepper@gmail.com>
10035
c579b202 10036 [BZ #12107]
af325969
UD
10037 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10038 newline.
10039
67a67b95
UD
100402010-10-06 Ulrich Drepper <drepper@gmail.com>
10041
10042 * string/bug-strstr1.c: New file.
10043 * string/Makefile: Add rules to build and run bug-strstr1.
10044
5fb308bc
EB
100452010-10-05 Eric Blake <eblake@redhat.com>
10046
10047 [BZ #12092]
10048 * string/str-two-way.h (two_way_long_needle): Always clear memory
10049 when skipping input due to the shift table.
10050
45db99c7
UD
100512010-10-03 Ulrich Drepper <drepper@gmail.com>
10052
3b111893
UD
10053 [BZ #12005]
10054 * malloc/mcheck.c: Handle large requests.
10055
45db99c7
UD
10056 [BZ #12077]
10057 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10058 for strncmp and strncasecmp.
10059 * string/stratcliff.c: Add tests for strcmp and strncmp.
10060 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10061
cf7a1eb8
NI
100622010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10063
10064 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10065 __set_fpscr.
10066
6484ba5e
AJ
100672010-09-30 Andreas Jaeger <aj@suse.de>
10068
10069 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10070 (CGROUP_SUPER_MAGIC): Define.
10071 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10072 Handle btrfs and cgroup file systems.
10073 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10074 Likewise.
10075
91c42559
LM
100762010-09-27 Luis Machado <luisgpm@br.ibm.com>
10077
10078 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10079 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10080
87a97932
AK
100812010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10082
10083 [BZ #12067]
10084 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10085 trying to locate the ELF header.
10086
c21cc9bc
AS
100872010-09-27 Andreas Schwab <schwab@redhat.com>
10088
10089 [BZ #11611]
10090 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10091 Mask out sign-bit copies when constructing f_fsid.
10092
315970f6
PB
100932010-09-24 Petr Baudis <pasky@suse.cz>
10094
10095 * debug/stack_chk_fail_local.c: Add missing licence exception.
10096 * debug/warning-nop.c: Likewise.
10097
1ac7a2c7
JM
100982010-09-15 Joseph Myers <joseph@codesourcery.com>
10099
10100 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10101 implementing getdents64 using getdents syscall, set d_type if
10102 __ASSUME_GETDENTS32_D_TYPE.
10103
56801c50
AS
101042010-09-16 Andreas Schwab <schwab@redhat.com>
10105
10106 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10107 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10108
dda51327
UD
101092010-09-21 Ulrich Drepper <drepper@redhat.com>
10110
10111 [BZ #12037]
10112 * posix/unistd.h: Undo change of feature selection for ftruncate from
10113 2010-01-11.
10114
8ffcee4a
UD
101152010-09-20 Ulrich Drepper <drepper@redhat.com>
10116
a545ecd9 10117 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10118 detection.
10119
e24f0a8b
AS
101202010-09-20 Andreas Schwab <schwab@redhat.com>
10121
10122 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10123 fanotify_mark.
10124 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10125
7291c56f
AS
101262010-09-14 Andreas Schwab <schwab@redhat.com>
10127
10128 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10129 variables after CHECK_SP call.
10130 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10131
bc5fb037
AS
101322010-09-13 Andreas Schwab <schwab@redhat.com>
10133 Ulrich Drepper <drepper@redhat.com>
10134
10135 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10136 re-relocationg ld.so.
10137 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10138 _dl_init_paths call.
10139 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10140 here anymore.
10141
e66e7419
UD
101422010-09-14 Ulrich Drepper <drepper@redhat.com>
10143
10144 * resolv/res_init.c (__res_vinit): Count the default server we added.
10145
c044aa75
CLT
101462010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10147 Ulrich Drepper <drepper@redhat.com>
10148
10149 [BZ #11968]
10150 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10151 (____longjmp_chk): Use %ebx for saving value across system call.
10152 Add unwind info.
10153
32cf4069
AS
101542010-09-06 Andreas Schwab <schwab@redhat.com>
10155
10156 * manual/Makefile: Don't mix pattern rules with normal rules.
10157
817328ee
AS
101582010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10159
10160 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10161 operation.
10162 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10163 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10164 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10165 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10166 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10167 Likewise.
10168
29fddf61
UD
101692010-09-04 Ulrich Drepper <drepper@redhat.com>
10170
10171 [BZ #11979]
10172 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10173 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10174
0959ffc9
UD
101752010-09-02 Ulrich Drepper <drepper@redhat.com>
10176
10177 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10178 * sysdeps/x86_64/addmul_1.S: Likewise.
10179 * sysdeps/x86_64/lshift.S: Likewise.
10180 * sysdeps/x86_64/mul_1.S: Likewise.
10181 * sysdeps/x86_64/rshift.S: Likewise.
10182 * sysdeps/x86_64/sub_n.S: Likewise.
10183 * sysdeps/x86_64/submul_1.S: Likewise.
10184
ece29840
ST
101852010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10186
0959ffc9
UD
10187 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10188 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10189 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10190 * bits/sched.h [__need_schedparam]
ece29840 10191 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10192 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10193 (__defined_schedparam): Define to 1.
ece29840
ST
10194 (__sched_param): New structure, identical to sched_param.
10195 (__need_schedparam): Undefine.
10196
e53a31fe
MF
101972010-08-31 Mike Frysinger <vapier@gentoo.org>
10198
fdc0c10d
MF
10199 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10200 (epoll_create1): Declare.
10201
e53a31fe
MF
10202 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10203
a726d796
AS
102042010-08-31 Andreas Schwab <schwab@redhat.com>
10205
10206 [BZ #7066]
10207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10208 shifting retval into place.
10209
2f3e3dc7
UD
102102010-09-01 Ulrich Drepper <drepper@redhat.com>
10211
f2933da9
UD
10212 * nis/rpcsvc/nis.h: Update copyright notice.
10213 * nis/rpcsvc/nis.x: Likewise.
10214 * nis/rpcsvc/nis_callback.h: Likewise.
10215 * nis/rpcsvc/nis_callback.x: Likewise.
10216 * nis/rpcsvc/nis_object.x: Likewise.
10217 * nis/rpcsvc/nis_tags.h: Likewise.
10218 * nis/rpcsvc/yp.h: Likewise.
10219 * nis/rpcsvc/yp.x: Likewise.
10220 * nis/rpcsvc/ypupd.h: Likewise.
10221 * nis/yp_xdr.c: Likewise.
10222 * nis/ypupdate_xdr.c: Likewise.
10223
2f3e3dc7
UD
10224 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10225 mainly the body of pmap_getport. Add parameters to specify timeouts.
10226 (pmap_getport): Use __libc_rpc_getport.
10227 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10228 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10229 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10230
f3dcc2f9
AS
102312010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10232
10233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10234 fanotify_mark.
10235
6d34eb5b
RM
102362010-08-27 Roland McGrath <roland@redhat.com>
10237
10238 * sysdeps/i386/i686/multiarch/Makefile
10239 (CFLAGS-varshift.c): New variable.
10240
9ea3de11
UD
102412010-08-27 Ulrich Drepper <drepper@redhat.com>
10242
c96d23fc
UD
10243 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10244 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10245
9ea3de11
UD
10246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10247
10248 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10249
623aac7f
L
102502010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10251
10252 * sysdeps/x86_64/strlen.S: Unroll the loop.
10253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10254 strlen-sse2 strlen-sse2-bsf.
10255 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10256 __strlen_no_bsf if bit_Slow_BSF is set.
10257 (__strlen_sse42): Removed.
10258 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10259 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10260
8b2b7715
RM
102612010-08-25 Roland McGrath <roland@redhat.com>
10262
10263 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10264 * sysdeps/x86_64/multiarch/varshift.c: New file.
10265 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10266 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10267 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10268 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10269
e73015f2
L
102702010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10271
10272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10273 strlen-sse2 strlen-sse2-bsf.
10274 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10275 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10276 (__strlen_sse2): Removed.
10277 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10278 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10280 bit_Slow_BSF for Atom.
10281 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10282 (index_Slow_BSF): Define.
10283 (HAS_SLOW_BSF): Define.
10284
df24a73e
UD
102852010-08-25 Ulrich Drepper <drepper@redhat.com>
10286
10287 [BZ #10851]
10288 * resolv/res_init.c (__res_vinit): When no server address at all
10289 is given default to loopback.
10290
f2ac4868
RM
102912010-08-24 Roland McGrath <roland@redhat.com>
10292
09055553
RM
10293 * configure.in: Remove config-name.h generation.
10294 * configure: Regenerated.
10295 * config-name.in: File removed.
10296 * scripts/config-uname.sh: New file.
10297 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10298 ($(objdir)config-name.h): New target.
10299
f2ac4868
RM
10300 * sunrpc/rpc_parse.h: Avoid nested comment.
10301
73f27d5e
RH
103022010-08-24 Richard Henderson <rth@redhat.com>
10303 Ulrich Drepper <drepper@redhat.com>
10304 H.J. Lu <hongjiu.lu@intel.com>
10305
10306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10308 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10309 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10310 _mm_alignr_epi8 with _mm_loadu_si128.
10311 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10312 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10313 (__m128i_shift_right): Removed.
10314 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10315 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10316 * sysdeps/x86_64/multiarch/varshift.h: New file.
10317 * sysdeps/x86_64/multiarch/varshift.S: New file.
10318
84b9230c
MF
103192010-08-21 Mike Frysinger <vapier@gentoo.org>
10320
10321 * configure.in: Move assembler checks to before sysdep dir checking.
10322
9bbd0ddc
PB
103232010-08-20 Petr Baudis <pasky@suse.cz>
10324
10325 * LICENSES: Sync the sunrpc license.
10326
9da4bb31
UD
103272010-08-19 Ulrich Drepper <drepper@redhat.com>
10328
a7ab6ec8
UD
10329 * sunrpc/auth_des.c: Update copyright notice once again.
10330 * sunrpc/auth_none.c: Likewise.
10331 * sunrpc/auth_unix.c: Likewise.
10332 * sunrpc/authdes_prot.c: Likewise.
10333 * sunrpc/authuxprot.c: Likewise.
10334 * sunrpc/bindrsvprt.c: Likewise.
10335 * sunrpc/clnt_gen.c: Likewise.
10336 * sunrpc/clnt_perr.c: Likewise.
10337 * sunrpc/clnt_raw.c: Likewise.
10338 * sunrpc/clnt_simp.c: Likewise.
10339 * sunrpc/clnt_tcp.c: Likewise.
10340 * sunrpc/clnt_udp.c: Likewise.
10341 * sunrpc/clnt_unix.c: Likewise.
10342 * sunrpc/des_crypt.c: Likewise.
10343 * sunrpc/des_soft.c: Likewise.
10344 * sunrpc/get_myaddr.c: Likewise.
10345 * sunrpc/getrpcport.c: Likewise.
10346 * sunrpc/key_call.c: Likewise.
10347 * sunrpc/key_prot.c: Likewise.
10348 * sunrpc/openchild.c: Likewise.
10349 * sunrpc/pm_getmaps.c: Likewise.
10350 * sunrpc/pm_getport.c: Likewise.
10351 * sunrpc/pmap_clnt.c: Likewise.
10352 * sunrpc/pmap_prot.c: Likewise.
10353 * sunrpc/pmap_prot2.c: Likewise.
10354 * sunrpc/pmap_rmt.c: Likewise.
10355 * sunrpc/rpc/auth.h: Likewise.
10356 * sunrpc/rpc/auth_unix.h: Likewise.
10357 * sunrpc/rpc/clnt.h: Likewise.
10358 * sunrpc/rpc/des_crypt.h: Likewise.
10359 * sunrpc/rpc/key_prot.h: Likewise.
10360 * sunrpc/rpc/netdb.h: Likewise.
10361 * sunrpc/rpc/pmap_clnt.h: Likewise.
10362 * sunrpc/rpc/pmap_prot.h: Likewise.
10363 * sunrpc/rpc/pmap_rmt.h: Likewise.
10364 * sunrpc/rpc/rpc.h: Likewise.
10365 * sunrpc/rpc/rpc_des.h: Likewise.
10366 * sunrpc/rpc/rpc_msg.h: Likewise.
10367 * sunrpc/rpc/svc.h: Likewise.
10368 * sunrpc/rpc/svc_auth.h: Likewise.
10369 * sunrpc/rpc/types.h: Likewise.
10370 * sunrpc/rpc/xdr.h: Likewise.
10371 * sunrpc/rpc_clntout.c: Likewise.
10372 * sunrpc/rpc_cmsg.c: Likewise.
10373 * sunrpc/rpc_common.c: Likewise.
10374 * sunrpc/rpc_cout.c: Likewise.
10375 * sunrpc/rpc_dtable.c: Likewise.
10376 * sunrpc/rpc_hout.c: Likewise.
10377 * sunrpc/rpc_main.c: Likewise.
10378 * sunrpc/rpc_parse.c: Likewise.
10379 * sunrpc/rpc_parse.h: Likewise.
10380 * sunrpc/rpc_prot.c: Likewise.
10381 * sunrpc/rpc_sample.c: Likewise.
10382 * sunrpc/rpc_scan.c: Likewise.
10383 * sunrpc/rpc_scan.h: Likewise.
10384 * sunrpc/rpc_svcout.c: Likewise.
10385 * sunrpc/rpc_tblout.c: Likewise.
10386 * sunrpc/rpc_util.c: Likewise.
10387 * sunrpc/rpc_util.h: Likewise.
10388 * sunrpc/rpcinfo.c: Likewise.
10389 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10390 * sunrpc/rpcsvc/key_prot.x: Likewise.
10391 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10392 * sunrpc/rpcsvc/mount.x: Likewise.
10393 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10394 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10395 * sunrpc/rpcsvc/rex.x: Likewise.
10396 * sunrpc/rpcsvc/rstat.x: Likewise.
10397 * sunrpc/rpcsvc/rusers.x: Likewise.
10398 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10399 * sunrpc/rpcsvc/spray.x: Likewise.
10400 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10401 * sunrpc/rtime.c: Likewise.
10402 * sunrpc/svc.c: Likewise.
10403 * sunrpc/svc_auth.c: Likewise.
10404 * sunrpc/svc_authux.c: Likewise.
10405 * sunrpc/svc_raw.c: Likewise.
10406 * sunrpc/svc_run.c: Likewise.
10407 * sunrpc/svc_simple.c: Likewise.
10408 * sunrpc/svc_tcp.c: Likewise.
10409 * sunrpc/svc_udp.c: Likewise.
10410 * sunrpc/svc_unix.c: Likewise.
10411 * sunrpc/svcauth_des.c: Likewise.
10412 * sunrpc/xcrypt.c: Likewise.
10413 * sunrpc/xdr.c: Likewise.
10414 * sunrpc/xdr_array.c: Likewise.
10415 * sunrpc/xdr_float.c: Likewise.
10416 * sunrpc/xdr_mem.c: Likewise.
10417 * sunrpc/xdr_rec.c: Likewise.
10418 * sunrpc/xdr_ref.c: Likewise.
10419 * sunrpc/xdr_sizeof.c: Likewise.
10420 * sunrpc/xdr_stdio.c: Likewise.
10421
9da4bb31
UD
10422 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10423 handling.
10424
bdaa77bc
AS
104252010-08-19 Andreas Schwab <schwab@redhat.com>
10426
10427 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10428
fe2f79db
LM
104292010-08-19 Luis Machado <luisgpm@br.ibm.com>
10430
10431 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10432 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10433 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10434 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10435 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10436 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10437 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10438 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10439 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10440 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10441 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10442 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10443 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10444 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10445
b9b42ee0
AB
104462010-07-26 Anton Blanchard <anton@samba.org>
10447
10448 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10449 * malloc/arena.c (heap_trim): Likewise.
10450
1c06ba31
UD
104512010-08-16 Ulrich Drepper <drepper@redhat.com>
10452
10453 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10454 here. Not...
10455 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10456 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10457
f8392f40
L
104582010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10459
10460 * sysdeps/i386/elf/Makefile: New file.
10461
3162f12e
AS
104622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10463
10464 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10465 from fanotify_init.
10466 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10467 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10468
28c90b2c
UD
104692010-08-15 Ulrich Drepper <drepper@redhat.com>
10470
10471 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10472 of strncasecmp_l.
1feccb6c 10473 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10474
ca6bb004
UD
104752010-08-14 Ulrich Drepper <drepper@redhat.com>
10476
e9f82e0d
UD
10477 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10478 strncase_l-nonascii.
10479 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10480 Add strncase_l-ssse3.
10481 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10482 * sysdeps/x86_64/strcmp.S: Likewise.
10483 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10484 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10485 * sysdeps/x86_64/strncase.S: New file.
10486 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10487 * sysdeps/x86_64/strncase_l.S: New file.
10488 * string/Makefile (strop-tests): Add strncasecmp.
10489 * string/test-strncasecmp.c: New file.
10490
10491 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10492 warning.
10493
ca6bb004
UD
10494 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10495 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10496
052fa7b3
AS
104972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10498
10499 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10500
962dba78
UD
105012010-08-12 Ulrich Drepper <drepper@redhat.com>
10502
10503 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10504 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10505 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10506
bebff237
AM
105072010-05-01 Alan Modra <amodra@gmail.com>
10508
10509 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10510 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10511 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10512 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10513 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10514 tidying. Don't tail-call __sigjmp_save for static lib.
10515 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10516 save location.
10517 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10518 (CALL_MCOUNT): Add eh info, and nop after bl.
10519 (TAIL_CALL_SYSCALL_ERROR): New macro.
10520 (PSEUDO_RET): Use it.
10521 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10522 Correct save location of integer regs and cr.
10523 (_dl_profile_resolve): Correct cr save location. Delete nops
10524 after bl when SHARED. Reduce cfi size a little by better
10525 placement of cfi directives.
10526 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10527 make a stack frame. Instead use parm save area as a temp.
10528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10529 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10531 Don't make a stack frame for parent, use parm save area.
10532 Increase child stack frame to 112 bytes. Don't save unused reg,
10533 and adjust reg usage. Set up cfi on error recovery and
10534 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10536 (__makecontext): Add dummy nop after jump to exit.
10537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10538 Use correct parm save area and cr save, reduce stack frame.
10539 Correct cfi for possible PSEUDO_RET frame setup.
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10541 Branch to local label emitted by PSEUDO_RET rather than
10542 __syscall_error.
10543
02637374
AS
105442010-08-12 Andreas Schwab <schwab@redhat.com>
10545
10546 [BZ #11904]
10547 * locale/programs/locale.c (print_assignment): New function.
10548 (show_locale_vars): Use it.
10549
c3e2f19b
UD
105502010-08-11 Ulrich Drepper <drepper@redhat.com>
10551
3cdaa6ad
UD
10552 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10553 field.
10554 (struct statfs64): Likewise.
10555 (_STATFS_F_FLAGS): Define.
10556 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10557 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10558 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10559 (ST_VALID): Define locally.
10560 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10561 __statvfs_getflags, use the provided value.
10562 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10563 __ASSUME_STATFS_F_FLAGS.
10564
754f7da3
UD
10565 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10566
10b3bedc
UD
10567 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10568 Add sys/fanotify.h.
10569 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10570 fanotify_mask for GLIBC_2.13.
10571 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10572 fanotify_init and fanotify_mark.
10573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10574 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10575
c08fb0d7
UD
10576 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10577 Add prlimit.
10578 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10579 prlimit64 for GLIBC_2.13.
10580 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10581 prlimit64.
10582 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10583 syscall.
10584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10585 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10586 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10587 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10588 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10589 add prlimit alias.
10590 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10591
15bac72b
UD
10592 [BZ #11903]
10593 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10594 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10595
c3e2f19b
UD
10596 * nss/Makefile: Add rules to build and run tst-nss-test1.
10597 * shlib-versions: Add entry for libnss_test1.
10598 * nss/nss_test1.c: New file.
10599 * nss/tst-nss-test1.c: New file.
10600
10601 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10602 (__nss_configure_lookup): Set appropriate entry in
10603 __nss_configure_lookup to true.
10604 * nss/nsswitch.h: Define enum with indeces of databases in
10605 databases and __nss_database_custom arrays. Declare
10606 __nss_database_custom.
10607 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10608 to avoid using nscd when custom rules are installed.
10609 * nss/getXXbyYY_r.c: Likewise.
10610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10611
10612 * nss/nss_files/files-parse.c: Whitespace fixes.
10613
f15ce4d8
UD
106142010-08-09 Ulrich Drepper <drepper@redhat.com>
10615
10616 [BZ #11883]
10617 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10618 * posix/fnmatch_loop.c: Likewise.
10619
d22e4cc9
AK
106202010-07-17 Andi Kleen <ak@linux.intel.com>
10621
10622 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10623 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10624 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10625 * Versions.def [GLIBC_2.13]: Add.
10626
805bc17d
UD
106272010-08-06 Ulrich Drepper <drepper@redhat.com>
10628
10629 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10630 Also fail if tpwd after pwuid call is NULL.
10631
5a42321d
ST
106322010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10633
10634 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10635 when converting to ms.
10636
fd3ebeda
ST
106372010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10638
10639 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10640 EOPNOTSUPP errors with ENOTTY.
10641 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10642 EOPNOTSUPP errors with ENOTTY.
10643
73507d3a
UD
106442010-07-31 Ulrich Drepper <drepper@redhat.com>
10645
10646 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10647 Add strcasecmp_l-ssse3.
10648 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10649 strcasecmp.
10650 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10651 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10652 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10653
fe36dd02
UD
106542010-07-30 Ulrich Drepper <drepper@redhat.com>
10655
66f6765a
UD
10656 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10657
42e08a54
UD
10658 * string/Makefile (strop-tests): Add strcasecmp.
10659 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10660 strcasecmp_l-nonascii.
10661 (gen-as-const-headers): Add locale-defines.sym.
10662 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10663 * sysdeps/x86_64/strcasecmp.S: New file.
10664 * sysdeps/x86_64/strcasecmp_l.S: New file.
10665 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10666 * sysdeps/x86_64/locale-defines.sym: New file.
10667 * string/test-strcasecmp.c: New file.
10668
fe36dd02
UD
10669 * string/test-strcasestr.c: Test both ends of the range of characters.
10670 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10671
48cbc0d6
RM
106722010-07-29 Roland McGrath <roland@redhat.com>
10673
76e6d6bc 10674 [BZ #11856]
48cbc0d6
RM
10675 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10676
880113d9
UD
106772010-07-27 Ulrich Drepper <drepper@redhat.com>
10678
10679 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10680 for ld.so.
10681
deb9cabb
AS
106822010-07-27 Andreas Schwab <schwab@redhat.com>
10683
10684 * manual/memory.texi (Malloc Tunable Parameters): Document
10685 M_PERTURB.
10686
1c7570ff
RM
106872010-07-26 Roland McGrath <roland@redhat.com>
10688
10689 [BZ #11840]
10690 * configure.in (-fgnu89-inline check): Set and substitute
10691 gnu89_inline, not libc_cv_gnu89_inline.
10692 * configure: Regenerated.
10693 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10694
24fb0f88
UD
106952010-07-26 Ulrich Drepper <drepper@redhat.com>
10696
10697 * string/test-strnlen.c: New file.
10698 * string/Makefile (strop-tests): Add strnlen.
10699 * string/tester.c (test_strnlen): Add a few more test cases.
10700 * string/tst-strlen.c: Better error reporting.
10701
10702 * sysdeps/x86_64/strnlen.S: New file.
10703
8e96b93a
UD
107042010-07-24 Ulrich Drepper <drepper@redhat.com>
10705
10706 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10707 lower-latency instructions.
10708
dbc676d4
UD
107092010-07-23 Ulrich Drepper <drepper@redhat.com>
10710
10711 * string/test-strcasestr.c: New file.
10712 * string/test-strstr.c: New file.
10713 * string/Makefile (strop-tests): Add strstr and strcasestr.
10714 * string/str-two-way.h: Don't undefine MAX.
10715 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10716
f6a31e0e
AS
107172010-07-21 Andreas Schwab <schwab@redhat.com>
10718
10719 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10720 strcasestr-nonascii.
10721 (CFLAGS-strcasestr-nonascii.c): Define.
10722 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10723 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10724 Remove unused attribute.
10725
5dbc3b6c
RM
107262010-07-20 Roland McGrath <roland@redhat.com>
10727
10728 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10729 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10730 ld.so.cache was broken. With it, there is no way to disable dsocaps
10731 like LD_HWCAP_MASK can disable hwcaps.
10732
23d101d8
EPM
107332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10734
10735 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10736
cc9f2e47
UD
107372010-07-16 Ulrich Drepper <drepper@redhat.com>
10738
10739 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10740 call in strcasestr.
10741 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10742 __strcasestr_sse42_nonascii.
10743 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10744 strcasestr-nonascii.c.
10745 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10746
77c1b069
LM
107472010-06-15 Luis Machado <luisgpm@br.ibm.com>
10748
10749 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10750 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10751 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10752 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10753
440566c3
UD
107542010-07-09 Ulrich Drepper <drepper@redhat.com>
10755
10756 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10757 fcntl.
10758
5be9d05d
AS
107592010-07-06 Andreas Schwab <schwab@redhat.com>
10760
c30b7ee2 10761 [BZ #11577]
5be9d05d
AS
10762 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10763 dl_signal_cerror.
10764
8a492a67
UD
107652010-07-06 Ulrich Drepper <drepper@redhat.com>
10766
10767 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10768 _PC_PIPE_BUF using F_GETPIPE_SZ.
10769
713df3d5
RM
107702010-07-05 Roland McGrath <roland@redhat.com>
10771
10772 * manual/arith.texi (Rounding Functions): Fix rint description
10773 implicit in round description.
10774
702e8f14
UD
107752010-07-02 Ulrich Drepper <drepper@redhat.com>
10776
10777 * elf/Makefile: Fix linking for a few tests to make recent linker
10778 happy.
10779
52ed8be9
AS
107802010-06-30 Andreas Schwab <schwab@redhat.com>
10781
10782 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10783 $(common-objpfx)libc_nonshared.a.
10784
f47c9a11
LM
107852010-06-21 Luis Machado <luisgpm@br.ibm.com>
10786
10787 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10788 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10789 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10790 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10791 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10792 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10793 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10794 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10809 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10810 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10811 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10812 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10813 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10814 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10815 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10816 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10817 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10818 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10819 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10820 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10835
6fb8cbcb
L
108362010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10837
10838 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10839 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10840 * string/memmove.c (memmove): Renamed to ...
10841 (MEMMOVE): ...this. Default to memmove.
10842 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10843 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10844 (END_CHK): Define.
10845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10846 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10847 mempcpy-ssse3-back memmove-ssse3-back.
10848 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10849 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10850 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10851 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10852 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10853 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10854 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10855 * sysdeps/x86_64/multiarch/memmove.c: New file.
10856 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10857 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10858 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10859 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10860 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10861 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10862 Define.
10863 (index_Fast_Copy_Backward): Define.
10864 (HAS_ARCH_FEATURE): Define.
10865 (HAS_FAST_REP_STRING): Define.
10866 (HAS_FAST_COPY_BACKWARD): Define.
10867
4e733bac 108682010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10869
10870 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10871 Restore proper fallback handling.
10872
63c4ed22
UD
108732010-06-19 Ulrich Drepper <drepper@redhat.com>
10874
ac2b484c
UD
10875 [BZ #11701]
10876 * posix/group_member.c (__group_member): Correct checking loop.
10877
63c4ed22
UD
10878 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10879 OOM in getpwuid_r correctly. Return error number when the caller
10880 should return, otherwise -1.
10881 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10882 call returning > 0 value.
10883 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10884
765ade4b
AS
108852010-06-07 Andreas Schwab <schwab@redhat.com>
10886
10887 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10888 libc_nonshared.a from targets in modules-names.
10889
80da2e09
KS
108902010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10891
10892 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10893 requires it.
10894
158db122
LM
108952010-06-10 Luis Machado <luisgpm@br.ibm.com>
10896
10897 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10898 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10899 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10900 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10901
caa78cf8
AS
109022010-06-02 Andreas Schwab <schwab@redhat.com>
10903
10904 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10905
b2ef2c01
UD
109062010-06-14 Ulrich Drepper <drepper@redhat.com>
10907
10908 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10909 and F_GETPIPE_SZ.
10910 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10911 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10914 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10915 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10916
fbd643b6
RM
109172010-06-14 Roland McGrath <roland@redhat.com>
10918
10919 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10920
f32f2869
JJ
109212010-06-07 Jakub Jelinek <jakub@redhat.com>
10922
10923 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10924 __REDIRECT followed by __THROW.
10925 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10926 * posix/getopt.h (getopt): Likewise.
10927
2a50c078
EPM
109282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10929
10930 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10931 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10932 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10933 in AT_FLAGS.
10934 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10935 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10936
eb5ad2eb
LM
109372010-05-28 Luis Machado <luisgpm@br.ibm.com>
10938
10939 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10940
3c88fe1e
L
109412010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10942
10943 [BZ #11640]
10944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10945 Properly check family and model.
10946
d2f73151
TY
109472010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10948
10949 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10950
ebd2e13d
LM
109512010-05-24 Luis Machado <luisgpm@br.ibm.com>
10952
10953 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10954
b32b8b45
UD
109552010-05-21 Ulrich Drepper <drepper@redhat.com>
10956
10957 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10958 symbol reference.
10959
9acbe24d
AS
109602010-05-19 Andreas Schwab <schwab@redhat.com>
10961
10962 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10963 symbol reference.
10964
f0ccf6ea
AS
109652010-05-21 Andreas Schwab <schwab@redhat.com>
10966
3d04ff3a
AS
10967 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10968 and internal_recvmmsg.
10969 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10970 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10971 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10972 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10973
f0ccf6ea
AS
10974 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10975 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10976 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10977
5b08ac57
AS
109782010-05-20 Andreas Schwab <schwab@redhat.com>
10979
10980 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10981
4828935d
LM
109822010-05-17 Luis Machado <luisgpm@br.ibm.com>
10983
10984 POWER7 optimizations.
10985 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10986 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10987
373d545e
UD
109882010-05-19 Ulrich Drepper <drepper@redhat.com>
10989
10990 * version.h: Update for 2.13 development version.
10991
21a2b1ae
AS
109922010-05-12 Andrew Stubbs <ams@codesourcery.com>
10993
10994 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10995 exceptions. Return 0.
10996
3f7dcb2b
RM
109972010-05-07 Roland McGrath <roland@redhat.com>
10998
10999 * elf/ldconfig.c (main): Add a const.
11000
5f24d53a 110012010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11002
a160f8d8
UD
11003 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11004 (args_options): Add no-idn option.
11005 (ahosts_keys_int): Add idn_flags to ai_flags.
11006 (parse_option): Handle 'i' option to clear idn_flags.
11007
5f24d53a
UD
11008 * malloc/malloc.c (_int_free): Possible race in the most recently
11009 added check. Only act on the data if no current modification
11010 happened.
265bb1ce
UD
11011
11012See ChangeLog.17 for earlier changes.