]> sourceware.org Git - glibc.git/blame - ChangeLog
Run conformtest script explicitly using BASH.
[glibc.git] / ChangeLog
CommitLineData
1e3cdfda
AJ
12012-03-27 David S. Miller <davem@davemloft.net>
2
b855ab85
DM
3 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4
1e3cdfda
AJ
5 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6 have-as-vis3 check.
7
82012-03-27 Andreas Jaeger <aj@suse.de>
9
10 * sysdeps/x86_64/elf/configure.in: Moved to ...
11 * sysdeps/x86_64/configure.in: ... here.
12 * sysdeps/x86_64/elf/start.S: Moved to ...
13 * sysdeps/x86_64/start.S: ... here.
14 * sysdeps/x86_64/elf/configure: Delete.
15
16 * sysdeps/x86_64/configure.in: Merge contents from
17 sysdeps/i386/configure.in (without i686 check).
18
19 * sysdeps/i386/elf/Versions: Merge into ...
20 * sysdeps/i386/Versions: ... this.
21 * sysdeps/i386/elf/Versions: Delete file.
22 * sysdeps/i386/elf/start.S: Moved to ...
23 * sysdeps/i386/start.S: ...here.
24 * sysdeps/i386/elf/configure.in: Merge into...
25 * sysdeps/i386/configure.in: ...here.
26 * sysdeps/i386/elf/configure.in: Delete file.
27 * sysdeps/i386/elf/configure: Delete file.
28
29 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
30 * debug/backtracesyms.c: ... here.
31 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32 * debug/backtracesymsfd.c: ... here.
33 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34 * sysdeps/generic/ifunc-sel.h: ... here.
35
36 * sysdeps/unix/i386/start.c: Delete file.
37 * sysdeps/unix/sparc/start.c: Delete file.
38 * sysdeps/unix/start.c: Delete file.
39
40 * sysdeps/sh/elf/configure.in: Moved to ...
41 * sysdeps/sh/configure.in: ... here.
42 * sysdeps/sh/elf/start.S: Moved to ...
43 * sysdeps/sh/start.S: ... here.
44 * sysdeps/sh/elf/configure: Delete file.
45
46 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51 * sysdeps/powerpc/powerpc64/start.S: here.
52 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55 * sysdeps/powerpc/powerpc64/configure.in: ... this.
56 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
57
58 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
59 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
60 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61 * sysdeps/powerpc/powerpc32/start.S: ... here.
62 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
63 * sysdeps/powerpc/powerpc32/configure.in: ... this.
64 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
65
66 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67 * sysdeps/powerpc/ifunc-sel.h: ... here.
68 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70
71 * sysdeps/sparc/elf/configure.in: Moved to ...
72 * sysdeps/sparc/configure.in: ... here.
73 * sysdeps/sparc/elf/configure: Delete file.
74 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
75 * sysdeps/sparc/sparc32/start.S: ... here.
76 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
77 * sysdeps/sparc/sparc64/start.S: ... here.
78 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
79 * sysdeps/sparc/sparc32/Makefile: ... this.
80 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
81 * sysdeps/sparc/sparc64/Makefile: ... this.
82
83 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
84 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
86 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
87 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
88 * sysdeps/s390/s390-32/setjmp.S: ... here.
89 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
90 * sysdeps/s390/s390-32/configure.in: ... here.
91 * sysdeps/s390/s390-32/elf/configure: Delete file.
92 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
93 * sysdeps/s390/s390-32/start.S: ... here.
94
95 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
96 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
97 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
98 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
99 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
100 * sysdeps/s390/s390-64/setjmp.S: ... here.
101 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
102 * sysdeps/s390/s390-64/configure.in: ... here
103 * sysdeps/s390/s390-64/elf/configure: Delete file.
104 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
105 * sysdeps/s390/s390-64/start.S: ... here.
106 * sysdeps/s390/s390-64/elf/configure: Delete.
107
108 * configure.in: Remove support for elf directories in sysdeps.
109
110 * configure: Regenerated.
111 * sysdeps/i386/configure: Regenerated.
112 * sysdeps/powerpc/powerpc32/configure: Regenerated.
113 * sysdeps/powerpc/powerpc64/configure: Regenerated.
114 * sysdeps/s390/s390-32/configure: Regenerated.
115 * sysdeps/s390/s390-64/configure: Regenerated.
116 * sysdeps/sh/configure: Regenerated.
117 * sysdeps/sparc/configure: Regenerated.
118 * sysdeps/x86_64/configure: Regenerated.
119
a3f61311
AS
1202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
121
c876e002
AS
122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
123
a3f61311
AS
124 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
125 denormal result into account.
126
ac4c54f0
RM
1272012-03-25 Roland McGrath <roland@hack.frob.com>
128
129 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
130 Reported by Allan McRae <allan@archlinux.org>.
131
6a9b9c02
JL
1322012-03-23 Jeff Law <law@redhat.com>
133
134 * nss/getnssent.c (__nss_getent): Fix typo.
135
4c42a0c1
DM
1362012-03-23 David S. Miller <davem@davemloft.net>
137
138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
139
1532c7ac
L
1402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
141
142 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
143 to pad to uint64_t for each field.
144 (dl_tls_index): Replace unsigned long with uint64_t.
145
3ff42526
PP
1462012-03-23 Daniel Jacobowitz <dmj@google.com>
147 Paul Pluzhnikov <ppluzhnikov@google.com>
148
149 [BZ #6528]
150 * grp/Makefile (otherlibs): Don't set it.
151 * inet/Makefile (otherlibs): Likewise.
152 * login/Makefile (otherlibs): Likewise.
153 * nscd/Makefile (otherlibs): Likewise.
154 * posix/Makefile (otherlibs): Likewise.
155 * pwd/Makefile (otherlibs): Likewise.
156 * rt/Makefile (otherlibs): Likewise.
157 * sunrpc/Makefile (otherlibs): Likewise.
158 * nss/Makefile (otherlibs): Likewise.
159 Add libnss_files to routines and static-only-routines.
160 ($(objpfx)getent): Remove rule.
161 * resolv/Makefile: Add libnss_dns and libresolv to routines and
162 static-only-routines.
163
7c69cd14
JM
1642012-03-22 Joseph Myers <joseph@codesourcery.com>
165
166 [BZ #13892]
167 * math/s_cexp.c: Include <float.h>.
168 (__cexp): Handle exp result overflowing not necessarily
169 overflowing both real and imaginary parts of result.
170 * math/s_cexpf.c: Likewise.
171 * math/s_cexpl.c: Likewise.
172 * math/libm-test.inc (cexp_test): Add more tests.
173 * sysdeps/i386/fpu/libm-test-ulps: Update.
174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
175
81b035fe
L
1762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
177
178 * include/link.h (ELFW): New macro.
179 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
180 Replace ELF64_R_TYPE with ELFW(R_TYPE).
181
1da7940c
L
1822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
183
184 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
185 with uint64_t.
186
b749dbb9
L
1872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
188
189 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
190 declaration.
191 (struct La_x32_retval): Likewise.
192
2ff87f3f
L
1932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
194
195 * sysdeps/x86_64/preconfigure.in: New file.
196 * sysdeps/x86_64/preconfigure: New generated file.
197
c0df8e69
JM
1982012-03-22 Joseph Myers <joseph@codesourcery.com>
199
48e44791
JM
200 [BZ #13824]
201 * math/e_exp2l.c: Include <float.h>.
202 (__ieee754_exp2l): Handle overflow and underflow cases
203 separately. Only pass fractional part of argument to
204 __ieee754_expl.
205 * math/libm-test.inc (exp2_test): Add more tests.
206
c0df8e69
JM
207 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
208 negating x to take absolute value.
209 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
210 Likewise.
211 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
212 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
213 Likewise.
214 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
215 computing low part if x was negated.
216 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
217
c8e43ba7
L
2182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
219
220 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
221 la_x32_gnu_pltexit.
222 (pltexit): Cast int_retval to ptrdiff_t.
223 * elf/tst-auditmod3b.c: Likewise.
224 * elf/tst-auditmod4b.c: Likewise.
225 * elf/tst-auditmod5b.c: Likewise.
226 * elf/tst-auditmod6b.c: Likewise.
227 * elf/tst-auditmod6c.c: Likewise.
228 * elf/tst-auditmod7b.c: Likewise.
229
230 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
231 and x32_gnu_pltexit.
232
233 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
234 __ELF_NATIVE_CLASS.
235 (La_x32_regs): New macro.
236 (La_x32_retval): Likewise.
237 (la_x32_gnu_pltenter): New function prototype.
238 (la_x32_gnu_pltexit): Likewise.
239
7998fa78
AS
2402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
241
dcb33988
AS
242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
243 exponent.
244
233fc563
AS
245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
246
7998fa78
AS
247 * configure.in (libc_cv_cc_nofma): Check for option to disable
248 generation of FMA instructions.
249 * configure: Regenerate.
250 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
251 * sysdeps/ieee754/dbl-64/Makefile: New file.
252 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
253 Remove brandred-fma4.
254 (CFLAGS-brandred-fma4.c): Remove.
255 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
256 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
257 define.
258 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
259 define.
260
8e95c99a
L
2612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
262
263 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
264 LLONG_MAX != LONG_MAX.
265 (_itoa_word): Use _ITOA_WORD_TYPE on value.
266 (_fitoa_word): Likewise.
267 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
268 LLONG_MAX != LONG_MAX.
269 * stdio-common/_itowa.h: Include <_itoa.h>.
270 (_itowa_word): Use _ITOA_WORD_TYPE on value.
271 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
272 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
273 only if not defined.
274 (_ITOA_WORD_TYPE): Likewise.
275 (_itoa_word): Use _ITOA_WORD_TYPE on value.
276 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
277
6f4db457
DM
2782012-03-21 David S. Miller <davem@davemloft.net>
279
280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
281
7785fe5a
L
2822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
283
284 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
285 of x86_64 when setting libc_cv_slibdir, libdir and
286 libc_cv_localedir.
287 * sysdeps/unix/sysv/linux/configure: Regenerated.
288
4535cd55
JM
2892012-03-21 Joseph Myers <joseph@codesourcery.com>
290
291 * manual/lang.texi (Old Varargs): Remove section.
292 (How Variadic): Update menu.
293 (va_start): Do not mention varargs.h.
294
17228132
TS
2952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
296 Joseph Myers <joseph@codesourcery.com>
297
298 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
299 link test.
300 * configure: Regenerated.
301
8149f976
TS
3022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
303
304 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
305 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
306 conformtest.pl
307
1a4ac776
JM
3082012-03-21 Joseph Myers <joseph@codesourcery.com>
309
be22ce65
JM
310 * NOTES: Remove.
311 * Makefile (files-for-dist): Remove NOTES.
312 (NOTES): Remove rule.
313 * README: Don't refer to NOTES.
314 * manual/creature.texi: Don't include macros.texi.
315 * manual/intro.texi (creature.texi): Remove comment referring to
316 NOTES.
317
40b601fb
JM
318 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
319 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
320 * configure: Regenerated.
321 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
322 LIBC_TRY_CC_OPTION.
323 (libc_cv_as_i686): Likewise.
324 (libc_cv_cc_avx): Likewise.
325 (libc_cv_cc_sse2avx): Likewise.
326 (libc_cv_cc_fma4): Likewise.
327 (libc_cv_cc_novzeroupper): Likewise.
328 * sysdeps/i386/configure: Regenerated.
329
1a4ac776
JM
330 [BZ #13883]
331 * sysdeps/i386/fpu/s_cexp.S: Remove.
332 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
333 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
334 * math/libm-test.inc (cexp_test): Add more tests.
335 * sysdeps/i386/fpu/libm-test-ulps: Update.
336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
337
a458e7fe
AM
3382012-03-21 Allan McRae <allan@archlinux.org>
339
340 * timezone/Makefile: Do not install iso3166.tab and zone.tab
341
0cb7efc5
JM
3422012-03-21 Joseph Myers <joseph@codesourcery.com>
343
344 [BZ #13871]
345 * math/w_exp2.c: Do not include <float.h>.
346 (o_threshold, u_threshold): Remove.
347 (__exp2): Calculate result before checking finiteness and calling
348 __kernel_standard.
349 * math/w_exp2f.c: Likewise.
350 * math/w_exp2l.c: Likewise.
351 * math/libm-test.inc (exp2_test): Require overflow exception for
352 1e6 input.
2460d3aa
JM
353
354 [BZ #3866]
355 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
356 range of signed 64-bit integers before using fistpll. Remove
357 checks for whether integers fit in mantissa bits.
358 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
359 the range of signed 32-bit integers before using fistpl. Remove
360 checks for whether integers fit in mantissa bits.
361 * sysdeps/i386/fpu/e_powl.S (p64): New object.
362 (__ieee754_powl): Test for y outside the range of signed 64-bit
363 integers before using fistpll. Reduce 64-bit values to 63-bit
364 ones as needed.
365 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
366 divide-by-zero is raised for zero to large negative powers.
367 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
368 (__ieee754_powl): Test for y outside the range of signed 64-bit
369 integers before using fistpll. Reduce 64-bit values to 63-bit
370 ones as needed.
371 * math/libm-test.inc (pow_test): Add more tests.
372
eb96ffb0
L
3732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
374
375 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
376 <stdio-common/_itoa.h>.
377 * debug/segfault.c: Likewise.
378 * elf/dl-cache.c: Likewise.
379 * elf/dl-minimal.c: Likewise.
380 * elf/dl-misc.c: Likewise.
381 * elf/dl-sysdep.c: Likewise.
382 * elf/dl-version.c: Likewise.
383 * elf/rtld.c: Likewise.
384 * hurd/hurdsock.c: Likewise.
385 * hurd/lookup-retry.c: Likewise.
386 * malloc/malloc.c: Likewise.
387 * malloc/mtrace.c: Likewise.
388 * nscd/nscd_getgr_r.c: Likewise.
389 * nscd/nscd_getpw_r.c: Likewise.
390 * nscd/nscd_getserv_r.c: Likewise.
391 * posix/getopt_init.c: Likewise.
392 * posix/wordexp.c: Likewise.
393 * stdio-common/_itoa.c: Likewise.
394 * stdio-common/printf_fphex.c: Likewise.
395 * stdio-common/vfprintf.c: Likewise.
396 * string/_strerror.c: Likewise.
397 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
398 * sysdeps/i386/i686/hp-timing.h: Likewise.
399 * sysdeps/mach/_strerror.c: Likewise.
400 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
401 * sysdeps/mach/hurd/sethostid.c: Likewise.
402 * sysdeps/mach/hurd/xmknodat.c: Likewise.
403 * sysdeps/mach/xpg-strerror.c: Likewise.
404 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
405 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
406 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
407 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
408 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
409 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
410 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
411 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
412 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
413 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
414 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
415 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
416 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
417 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
418 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
419 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
420 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
421 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
422 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
423 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
424 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
425
426 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
427
428 * stdio-common/_itoa.h: Moved to ...
429 * sysdeps/generic/_itoa.h: Here.
430
431 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
432
433 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
434 instead of "_itoa.h" and "_itowa.h".
435 * stdio-common/vfprintf.: Likewise.
436
d1af992d
L
4372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
438
439 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
440 <bits/wordsize.h>.
441 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
442 (__signbit): Likwise.
443 (llrintf): Likwise.
444 (llrint): Likwise.
445
114883e0
L
4462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
447
448 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
449 __WORDSIZE != 64.
450
c135cc1b
JM
4512012-03-20 Joseph Myers <joseph@codesourcery.com>
452
453 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
454 OVERFLOW_EXCEPTION_OK.
455 * math/libm-test.inc ("Philosophy"): Update comment about
456 exception testing.
457 (OVERFLOW_EXCEPTION): Define.
458 (OVERFLOW_EXCEPTION_OK): Likewise.
459 (INVALID_EXCEPTION_OK): Renumber.
460 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
461 (IGNORE_ZERO_INF_SIGN): Likewise.
462 (test_exceptions): Handle FE_OVERFLOW.
463 (exp10_test): Expect overflow exceptions.
464 (exp2_test): Likewise.
465 (expm1_test): Likewise.
466 (nextafter_test): Likewise.
467 (pow_test): Likewise.
468 (scalbn_test): Likewise.
469 (scalbln_test): Likewise.
470
95443d88
L
4712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
472
473 * sysdeps/x86_64/bits/atomic.h
474 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
475 64bit integer.
476 (atomic_exchange_acq): Likewise.
477 (__arch_exchange_and_add_body): Likewise.
478 (__arch_add_body): Likewise.
479 (atomic_add_negative): Likewise.
480 (atomic_add_zero): Likewise.
481
490df6c4
L
4822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
483
c2722551 484 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
485 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
486
5e52b189
L
4872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
488
489 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
490 Check __x86_64__ instead of __WORDSIZE.
491
a9879d4c
L
4922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
493
494 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
495
5df98260
DM
4962012-03-19 David S. Miller <davem@davemloft.net>
497
e1497744
DM
498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
499
5df98260
DM
500 * sysdeps/sparc/fpu/fenv_private.h: New file.
501 * sysdeps/sparc/fpu/math_private.h: Use it.
502 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
503 Remove.
504 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
505 (libc_feholdexcept_setroundl): Remove.
506 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
507 Remove.
508 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
509 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
510
b4c35121
L
5112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
512
513 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
514 int64_t instead of long int.
515 (INSERT_WORDS64): Likwise.
516
56965fd7
L
5172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
518
519 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
520 _Unwind_GetCFA return to _Unwind_Ptr first.
521
83d1aec8
JM
5222012-03-19 Joseph Myers <joseph@codesourcery.com>
523
1897ad44
JM
524 [BZ #13629]
525 * math/s_clog.c: Include <float.h>.
526 (__clog): Scale large or subnormal inputs.
527 * math/s_clogf.c: Likewise.
528 * math/s_clogl.c: Likewise.
529 * math/s_clog10.c: Include <float.h>.
530 (M_LOG10_2): Define.
531 (__clog10): Scale large or subnormal inputs.
532 * math/s_clog10f.c: Likewise.
533 * math/s_clog10l.c: Likewise.
534 * math/libm-test.inc (clog_test): Add more tests.
535 (clog10_test): Likewise.
536 * sysdeps/i386/fpu/libm-test-ulps: Update.
537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
538
7726d6a9
JM
539 [BZ #11451]
540 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
541 x and y.
542 * math/libm-test.inc (atan2_test): Add another test.
543
83d1aec8
JM
544 * Makerules (common-objdir-compile): Remove.
545 * sysdeps/unix/Makefile (config-generated): Do not add
546 $(unix-generated) to variable.
547 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
548 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
549 Remove rule.
550 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
551 Likewise.
552 [generic bits/local_lim.h] (before-compile): Do not append to
553 variable.
554 [generic bits/local_lim.h] (common-generated): Likewise.
555 [generic sys/param.h] (before-compile): Do not append to variable.
556 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
557 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
558 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
559 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
560 include.
561 [generic sys/param.h] (sys/param.h-includes): Remove variable.
562 [generic sys/param.h] (sys/param.h-includes): Remove rule.
563 [generic sys/param.h] ($(addprefix
564 $(common-objpfx),$(sys/param.h-includes))): Likewise.
565 [generic sys/param.h] (common-generated): Do not append to
566 variable.
567 [generic sys/param.h] (sysdep_headers): Likewise.
568 [generic bits/errno.h] (before-compile): Do not append to
569 variable.
570 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
571 rule.
572 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
573 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
574 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
575 [generic bits/errno.h] (common-generated): Do not append to
576 variable.
577 [generic bits/ioctls.h] (before-compile): Do not append to
578 variable.
579 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
580 rule.
581 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
582 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
583 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
584 rule.
585 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
586 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
587 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
588 [generic bits/ioctls.h] (common-generated): Do not append to
589 variable.
590 [generic sys/syscall.h] (syscall.h): Remove variable.
591 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
592 rule.
593 [generic sys/syscall.h] (before-compile): Do not append to
594 variable.
595 [generic sys/syscall.h] (common-generated): Likewise.
596 * sysdeps/unix/errnos-tmpl.c: Remove file.
597 * sysdeps/unix/errnos.awk: Likewise.
598 * sysdeps/unix/ioctls-tmpl.c: Likewise.
599 * sysdeps/unix/ioctls.awk: Likewise.
600 * sysdeps/unix/mk-local_lim.c: Likewise.
601 * sysdeps/unix/snarf-ioctls: Likewise.
602
4851a949
RH
6032012-03-19 Richard Henderson <rth@twiddle.net>
604
bd37f2ee
RH
605 * sysdeps/i386/fpu/fenv_private.h: New file.
606 * sysdeps/i386/fpu/math_private.h: Use it.
607 (math_opt_barrier, math_force_eval): Remove.
608 (libc_feholdexcept_setround_53bit): Remove.
609 (libc_feupdateenv_53bit): Remove.
610 * sysdeps/x86_64/fpu/math_private.h: Likewise.
611 (math_opt_barrier, math_force_eval): Remove.
612 (libc_feholdexcept): Remove.
613 (libc_feholdexcept_setround): Remove.
614 (libc_fetestexcept, libc_fesetenv): Remove.
615 (libc_feupdateenv_test): Remove.
616 (libc_feupdateenv, libc_feholdsetround): Remove.
617 (libc_feresetround): Remove.
618
d0adc922
RH
619 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
620 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
621
0fe0f1f8
RH
622 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
623 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
624 (libc_feupdateenv_testl): New.
625 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
626 (libc_feupdateenv_testf): New.
627 (libc_feupdateenv): Use libc_feupdateenv_test.
628 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
629 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
630
eb92c487
RH
631 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
632 (libc_feholdsetroundf, libc_feholdsetroundl): New.
633 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
634 (libc_feresetround_noex): New.
635 (libc_feresetround_noexf): New.
636 (libc_feresetround_noexl): New.
637 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
638 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
639 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
640 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
641 SET_RESTORE_ROUND.
642 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
643 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
644 (__cos): Likewise.
645 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
646 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
647 SET_RESTORE_ROUND_NOEX.
648 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
649 SET_RESTORE_ROUND_NOEXF.
650 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
651 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
652 (libc_feholdsetroundf): New.
653 (libc_feresetround, libc_feresetroundf): New.
654
7d2e8012
RH
655 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
656 (libc_feholdexcept_setround_53bit): Convert from macro to function.
657 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
658
b4dabbb4
RH
659 * sysdeps/generic/math_private.h: Include <fenv.h>.
660 (default_libc_feholdexcept): New.
661 (default_libc_feholdexcept_setround): New.
662 (default_libc_fesetenv, default_libc_feupdateenv): New.
663 (libc_feholdexcept): Only define if undefined.
664 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
665 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
666 (libc_feholdexcept_setroundl): Likewise.
667 (libc_feholdexcept_setround_53bit): Likewise.
668 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
669 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
670 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
671 (libc_feupdateenv_53bit): Likewise.
672 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
673 (libc_feholdexcept): Convert from macro to inline function.
674 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
675 (libc_fesetenv, libc_feupdateenv): Likewise.
676
4851a949
RH
677 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
678 not previously defined.
679 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
680 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
681 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
682 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
683 * sysdeps/ieee754/flt-32/math_private.h: New file.
684 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
685 math_private.h below SET_FLOAT_WORD.
686 (__isnan, __isinf_ns, __finite): Remove.
687 (__isnanf, __isinf_nsf, __finitef): Remove.
688
e79d442e
AS
6892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
690
691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
692
90b80344
DM
6932012-03-17 David S. Miller <davem@davemloft.net>
694
695 [BZ #6471]
696 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
697 for 2.16.
698
edc21804
DM
6992012-03-16 David S. Miller <davem@davemloft.net>
700
77e927af
DM
701 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
702 warnings.
703
374976dd
DM
704 [BZ #6471]
705 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
706 properly.
707 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
708 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
709 sysdep_routines when subdir is sysvipc.
710 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
711 __getshmlba helper.
712
edc21804
DM
713 * sysdeps/sparc/fpu/libm-test/ulps: Update.
714
473c3ef3
L
7152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
716
717 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
718 [__LP64__].
719
eb0f39b6
L
7202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
721
722 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
723 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
724 (__lround): Renamed to ...
725 (__llround): This. Replace long int with long long int.
726 Define lround functions as aliases of llround functions.
727 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
728
6b6cd74b
L
7292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
730
731 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
732 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
733 adresses to uintptr_t. Replace "long int" and "unsigned long
734 int" with "greg_t" on va_arg.
735
f1a77b01
L
7362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
737
738 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
739 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
740
741 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
742 Move e_machine check before EI_CLASS check. Handle x32
743 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
744 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
745 SKIP_EM_IA_64 and include
746 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
747
748 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
749 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
750 (add_system_dir): New macro.
751
752 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
753 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
754
11b90b9f
JM
7552012-03-16 Joseph Myers <joseph@codesourcery.com>
756
c36e1d23
JM
757 [BZ #2551]
758 [BZ #2552]
759 [BZ #2553]
760 [BZ #2554]
761 [BZ #2562]
762 [BZ #2563]
763 [BZ #2565]
764 [BZ #2566]
765 [BZ #2576]
766 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
767 (y0): Likewise.
768 * math/w_j0f.c (j0f): Likewise.
769 (y0f): Likewise.
770 * math/w_j0l.c (__j0l): Likewise.
771 (__y0l): Likewise.
772 * math/w_j1.c (j1): Likewise.
773 (y1): Likewise.
774 * math/w_j1f.c (j1f): Likewise.
775 (y1f): Likewise.
776 * math/w_j1l.c (__j1l): Likewise.
777 (__y1l): Likewise.
778 * math/w_jn.c (jn): Likewise.
779 (yn): Likewise.
780 * math/w_jnf.c (jnf): Likewise.
781 (ynf): Likewise.
782 * math/w_jnl.c (__jnl): Likewise.
783 (__ynl): Likewise.
784 * math/libm-test.inc (j0_test): Add more tests.
785 (j1_test): Likewise.
786 (jn_test): Likewise. Add trailing semicolon to existing test.
787 (y0_test): Likewise.
788 (y1_test): Likewise.
789 * sysdeps/i386/fpu/libm-test-ulps: Update.
790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
791
11b90b9f
JM
792 [BZ #13851]
793 [BZ #13854]
794 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
795 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
796 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
798 (__tanl): Set errno for infinite argument.
799 * sysdeps/i386/fpu/mptan.c: Remove.
800 * sysdeps/i386/fpu/s_tan.S: Likewise.
801 * sysdeps/i386/fpu/s_tanl.S: Likewise.
802 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
803 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
804 * math/libm-test.inc (tan_test): Add more tests and enable more
805 tests for double and long double.
806 * sysdeps/i386/fpu/libm-test-ulps: Update.
807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
808
6a1bd2a1
JK
8092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
810
811 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
812 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
813
10a803e0
RM
8142012-03-16 Roland McGrath <roland@hack.frob.com>
815
816 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
817 * configure.in: Use it for both main tree and add-ons.
818 * configure: Regenerated.
819
f196c7f7
L
8202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
821
822 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
823
8848d99d
JM
8242012-03-16 Joseph Myers <joseph@codesourcery.com>
825
96cbe7f4
JM
826 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
827 in comment.
828
8848d99d
JM
829 [BZ #13851]
830 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
831 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
832 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
833 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
834 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
835 infinite argument.
836 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
837 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
838 != 0 for prec == 2.
839 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
840 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
841 * sysdeps/i386/fpu/s_cosl.S: Likewise.
842 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
843 * sysdeps/i386/fpu/s_sinl.S: Likewise.
844 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
845 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
846 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
847 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
848 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
849 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
850 * math/libm-test.inc (cos_test): Add more tests and enable more
851 tests for long double.
852 (sin_test): Likewise.
853 (sincos_test): Likewise.
854 * sysdeps/i386/fpu/libm-test-ulps: Update.
855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
856
dd7f4703
DM
8572012-03-16 David S. Miller <davem@davemloft.net>
858
859 * sysdeps/sparc/fpu/math_private.h: New file.
860
006f1daa
DM
8612012-03-15 David S. Miller <davem@davemloft.net>
862
c0c83bc8
DM
863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
864 file.
e6a62e18 865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
867 file.
e6a62e18
DM
868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
874 sysdep routines.
875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
876
88cb87d9
DM
877 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
878 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
879
006f1daa 880 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
882 sparc-ifunc.h
006f1daa 883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
885 Likewise.
886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
887 Likewise.
006f1daa
DM
888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
892 Likewise.
006f1daa
DM
893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
898 Likewise.
899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
900 Likewise.
006f1daa
DM
901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
919 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
920 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
923 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
924 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
925
11e0098e
AS
9262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
927
928 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
929 scaling.
930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
931
e85b09d0
AJ
9322012-03-15 Andreas Jaeger <aj@suse.de>
933
934 [BZ #13852]
935 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
936 ieee754/flt-32 implementation for sin, cos and sincos.
937 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
938 * sysdeps/i386/fpu/s_cosf.S: Likewise.
939 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
940 * sysdeps/i386/fpu/s_sinf.S: Likewise.
941 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
942 ieee754/flt-32 implementation for tan.
943
944 * math/libm-test.inc (cos_test): Enable some large input tests for
945 float as well
946 (sin_test): Likewise.
947 (sincos_test): Likewise.
948 (tan_test): Add tests for large input.
949
950 * sysdeps/i386/fpu/libm-test-ulps: Update.
951
81c64153
AJ
9522012-03-15 Andreas Jaeger <aj@suse.de>
953
954 [BZ #13658]
955 * math/libm-test.inc (cos_test): Add more test cases.
956 (sin_test): Likewise.
957 (sincos_test): Likewise.
958
7bbfa5c6
AJ
9592012-03-15 Andreas Jaeger <aj@suse.de>
960
961 [BZ #13837]
962 * math/libm-test.inc (cos_test): Add a test case for large input
963 value.
964 (sin_test): Likewise.
965 (sincos_test): Likewise.
966
9672012-03-15 Andreas Jaeger <aj@suse.de>,
968 Joseph Myers <joseph@codesourcery.com>
969
970 [BZ #13658]
0671f479 971 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
972 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
973 * sysdeps/i386/fpu/branred.c: Likewise.
974 * sysdeps/i386/fpu/dosincos.c: Likewise.
975 * sysdeps/i386/fpu/mpa.c: Likewise.
976 * sysdeps/i386/fpu/s_cos.S: Likewise.
977 * sysdeps/i386/fpu/s_sin.S: Likewise.
978 * sysdeps/i386/fpu/s_sincos.S: Likewise.
979 * sysdeps/i386/fpu/sincos32.c: Likewise.
980
981 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
982 Define.
983 (libc_feupdateenv_53bit): Define.
984 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
985 Define.
986 (libc_feupdateenv_53bit): Define.
987
988 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
989 53 bit (without extend i386 double precision).
990
991 * math/libm-test.inc (sincos_test): Add tests for large input.
992 (sin): Likewise.
993 (cos): Likewise.
994
995 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
996
9cad04ea
AS
9972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
998
999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1000
f7062b9a
DM
10012012-03-15 David S. Miller <davem@davemloft.net>
1002
1003 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1004 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1005 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1006 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1019 file.
f7062b9a 1020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1022 file.
f7062b9a 1023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1025 file.
f7062b9a 1026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1028 file.
f7062b9a
DM
1029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1030 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1031 fmin/fmax sysdep routines.
1032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1033
7bd951ff
DM
10342012-03-14 David S. Miller <davem@davemloft.net>
1035
559398ab
DM
1036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1040 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1041 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1042 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1043 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1056 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1063 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1065 routines.
1066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1067 file.
559398ab 1068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1070 file.
559398ab 1071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1073 file.
559398ab 1074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1076 file.
559398ab 1077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1079 file.
559398ab 1080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1082 file.
1083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1084 file.
1085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1086 file.
1087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1088 file.
1089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1090 New file.
1091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1092 file.
1093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1094 file.
559398ab 1095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1097 file.
559398ab 1098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1100 file.
559398ab 1101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1103 file.
559398ab 1104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1106 VIS3 routines.
559398ab
DM
1107
1108 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1109 New file.
1110
5a1c1e32
DM
1111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1112
eae47a36
DM
1113 * sysdeps/sparc/configure.in: New file.
1114 * sysdeps/sparc/configure: Generate.
1115 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1116 * configure: Regenerate.
1117 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1118 * config.make.in (have-as-vis3): New.
1119 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1120 available use -Av9d instead of -Av9a.
1121 * sysdeps/sparc/sparc64/Makefile: Likewise.
1122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1124 New file.
1125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1126 file.
1127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1128 New file.
1129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1130 file.
eae47a36
DM
1131 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1133 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1134 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1135 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1136
c0c83bc8
DM
1137 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1138 fzeros/fnegs to load 0x80000000 into a float register instead of
1139 using the stack.
7bd951ff
DM
1140 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1141
bd951ccb
JM
11422012-03-14 Joseph Myers <joseph@codesourcery.com>
1143
1144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1145 bits/syscall.h.
1146 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1147 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1148 ($(inst_includedir)/bits/syscall.h): Remove rule.
1149 ($(objpfx)bits/syscall.d): Include instead of
1150 $(objpfx)syscall-list.d.
1151 (generated): Change syscall-list.h and syscall-list.d to
1152 bits/syscall.h and bits/syscall.d.
1153
bb4e6db2
RM
11542012-03-14 Roland McGrath <roland@hack.frob.com>
1155
1156 [BZ #13846]
1157 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1158
aa4a2ae1
JM
11592012-03-14 Joseph Myers <joseph@codesourcery.com>
1160
e456826d
JM
1161 [BZ #13841]
1162 * math/s_csqrt.c: Include <float.h>.
1163 (__csqrt): Scale large or subnormal inputs.
1164 * math/s_csqrtf.c: Likewise.
1165 * math/s_csqrtl.c: Likewise.
1166 * math/libm-test.inc (csqrt_test): Add more tests.
1167 * sysdeps/i386/fpu/libm-test-ulps: Update.
1168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1169
aa4a2ae1
JM
1170 [BZ #13840]
1171 * math/libm-test.inc (hypot_test): Add more tests.
1172
7c10fd35
DM
11732012-03-13 David S. Miller <davem@davemloft.net>
1174
1175 [BZ #13840]
1176 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1177 double-precision for the calculation instead of scaling.
1178
f453b98b
JM
11792012-03-13 Joseph Myers <joseph@codesourcery.com>
1180
1181 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1182 manipulate bits before adding and subtracting TWO52[sx].
1183 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1184 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1185 Likewise.
1186 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1187
09a3453f
DM
11882012-03-13 David S. Miller <davem@davemloft.net>
1189
8e59da90
DM
1190 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1191 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1193 rtld-global-offsets.h
1194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1195
2a8ab7f2
DM
1196 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1197 large parameters.
1198
10f62770
DM
1199 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1200
5f0bdb18
DM
1201 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1202 'err' in the ifdef scope in which it is actually used.
1203
09a3453f
DM
1204 * nss/nss_db/db-init.c: Include string.h
1205
b4b2eb5e
DM
12062012-03-12 David S. Miller <davem@davemloft.net>
1207
98bb2f1c
DM
1208 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1209 masking out of the most significant byte of random value used.
1210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1211 Fix coding style in previous change.
1212
b4b2eb5e
DM
1213 * sysdeps/unix/sysv/linux/kernel-features.h
1214 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1215 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1216 expression.
1217 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1218 later.
1219
6e226b09
DM
12202012-03-11 David S. Miller <davem@davemloft.net>
1221
a1bcbd40
DM
1222 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1223 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1224 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1225 for 'resultvar' otherwise things get truncated on 64-bit.
1226
cb9d6174
DM
1227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1228 Fix masking out of the most significant byte of random value used.
1229
6e226b09
DM
1230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1231
058c132d
AS
12322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1233
1234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1235
2d2cd515
DM
12362012-03-09 David S. Miller <davem@davemloft.net>
1237
1238 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1239 variables with appropriate CPP guards.
1240 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1241 frame pointer, not the stack pointer. Correct layout comments. Fix test
1242 on resulting framesize and the management of the outregs buffer for pltexit.
1243 Preserve floating point return values across _dl_call_pltexit call.
1244 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1245 framesize and the management of the outregs buffer for pltexit.
1246 Preserve floating point return values across _dl_call_pltexit
1247 call.
1248 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1249 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1250 (print_exit): Fix format string for return register value.
1251
9a07f9d0
JM
12522012-03-10 Joseph Myers <joseph@codesourcery.com>
1253
1254 * sunrpc/Makefile (others): Add rpcgen.
1255 ($(objpfx)rpcgen): Remove special build rule and dependency on
1256 libc.
1257 * sunrpc/rpcgen.c: New file.
1258
547b5e30
PE
12592012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1260
c524201a
PE
1261 [BZ #13673]
1262 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1263 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1264 * sysdeps/i386/crti.S: Likewise.
1265 * sysdeps/i386/crtn.S: Likewise.
1266 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1267 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1268 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1269 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1270 * sysdeps/sh/crti.S: Likewise.
1271 * sysdeps/sh/crtn.S: Likewise.
1272 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1273
7b6235f2
PE
1274 [BZ #13673]
1275 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1276 with URL.
1277 * locale/programs/locfile-kw.gperf: Likewise.
1278 * locale/programs/charmap-kw.h: Regenerated.
1279 * locale/programs/locfile-kw.h: Likewise.
1280
547b5e30
PE
1281 [BZ #13673]
1282 * intl/plural.y: Replace FSF snail mail address with URL.
1283 * intl/plural.c: Regenerated.
1284
5f0a5dae
RH
12852012-03-09 Richard Henderson <rth@twiddle.net>
1286
1287 * include/math_private.h: Remove file.
1288 * math/math_private.h: Move file ...
1289 * sysdeps/generic/math_private.h: ... here.
1290
b8c03620
RH
1291 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1292 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1293 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1294
4e234f5d 1295 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1296 and <math_private.h>.
1297 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1298 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1299 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1300 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1301 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1302 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1303 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1304 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1305 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1306 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1308 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1309 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1310 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1311 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1312 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1313 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1314 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1315 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1316 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1318 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1319 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1321 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1322 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1323 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1324 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1325 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1326 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1327 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1328 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1329 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1330 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1331 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1332 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1333 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1334 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1335 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1336 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1337 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1338 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1339 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1340 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1341 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1342 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1343 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1344 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1345 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1346 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1347 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1348 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1349 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1350 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1351 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1352 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1353 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1354 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1355 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1356 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1357 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1358 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1359 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1360 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1361 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1362 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1363 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1364 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1365 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1366 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1367 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1368 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1369 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1371 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1372 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1373 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1375 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1376 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1377 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1378 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1379 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1380 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1381 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1383 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1384 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1385 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1386 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1387 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1388 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1389 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1390 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1391 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1392 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1393 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1394 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1395 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1396 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1397 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1398 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1399 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1400 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1401 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1402 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1403 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1404 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1405 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1406 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1407 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1408 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1409 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1410 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1411 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1412 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1413 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1414 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1415 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1416 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1417 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1418 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1419 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1420 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1421 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1422 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1423 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1424 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1425 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1426 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1427 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1428 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1429 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1430 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1431 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1432 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1433 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1434 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1435 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1436 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1437 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1438 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1439 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1440 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1441 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1442 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1443 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1444 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1445 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1446 * sysdeps/ieee754/k_standard.c: Likewise.
1447 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1448 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1449 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1450 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1451 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1452 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1453 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1454 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1455 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1456 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1457 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1458 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1459 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1460 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1461 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1462 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1463 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1464 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1465 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1466 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1467 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1468 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1469 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1470 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1471 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1472 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1473 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1474 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1475 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1476 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1477 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1478 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1479 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1480 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1481 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1482 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1483 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1484 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1485 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1486 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1487 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1488 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1489 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1490 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1491 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1492 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1493 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1495 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1496 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1497 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1498 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1499 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1500 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1501 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1502 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1503 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1504 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1505 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1506 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1507 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1508 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1509 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1510 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1511 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1512 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1513 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1514 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1515 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1516 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1517 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1519 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1520 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1521 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1523 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1524 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1525 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1526 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1527 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1528 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1529 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1530 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1531 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1532 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1533 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1534 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1535 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1536 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1538 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1539 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1540 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1541 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1542 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1543 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1544 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1545 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1546 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1548 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1549 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1550 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1551 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1552 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1553 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1554 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1555 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1556 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1557 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1558 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1559 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1560 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1561 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1562 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1563 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1564 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1565 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1566 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1567 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1568 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1569 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1570 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1571 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1572 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1574 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1575 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1576 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1579 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1580 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1582 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1585 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1590 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1594 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1595 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1596 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1597 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1600 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1607 * sysdeps/ieee754/s_lib_version.c: Likewise.
1608 * sysdeps/ieee754/s_matherr.c: Likewise.
1609 * sysdeps/ieee754/s_signgam.c: Likewise.
1610 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1611 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1612 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1613 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1614 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1615 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1616 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1617 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1618 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1619 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1620 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1621 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1622 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1623 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1624 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1625 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1626 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1627 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1628 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1629 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1630 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1631
1991fa03
JM
16322012-03-09 Joseph Myers <joseph@codesourcery.com>
1633
1634 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1635 * sunrpc/rpc_main.c: Likewise.
1636 * sunrpc/rpc_svcout.c: Likewise.
1637
60d6f5a6
DM
16382012-03-09 David S. Miller <davem@davemloft.net>
1639
1640 * include/math_private.h: New file.
1641
4962050e
JM
16422012-03-09 Joseph Myers <joseph@codesourcery.com>
1643
02a6f887
JM
1644 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1645 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1646 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1647 from <bits/socket_type.h>.
1648 (enum __socket_type): Don't define here.
1649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1651 bits/socket_type.h.
1652
c6e013c1
JM
1653 [BZ #13566]
1654 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1655 checking __USE_GNU.
1656
4962050e
JM
1657 * Makerules ($(inst_includedir)/%.h): New rule.
1658 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1659 (install-others): Remove variable setting.
1660 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1661
38842f45
RH
16622012-03-08 Richard Henderson <rth@twiddle.net>
1663
67bb6da6
RH
1664 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1665 from macro to inline function; merge with the
1666 !__LIBC_INTERNAL_MATH_INLINES version.
1667 (__ieee754_sqrtf): Likewise.
1668
15194b4b
RH
1669 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1670 to inline function.
1671 (__rintf, __floor, __floorf): Likewise.
1672
64e21ede
RH
1673 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1674 macro to inline function.
1675 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1676
38842f45
RH
1677 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1678 not <math/math_private.h>.
1679
c64bf5fe
DM
16802012-03-08 David S. Miller <davem@davemloft.net>
1681
1682 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1683 copyright year.
1684 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1685
82d86f28
TS
16862012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1687
1688 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1689 normalization.
1690 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1691 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1692
aea5d727
UD
16932012-03-08 Ulrich Drepper <drepper@gmail.com>
1694
1695 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1696 be defined individually, they must be defined as a block. Define
1697 S for printing a string instead of hidint the different by using a
1698 macro for adding the 'l'.
1699 * stdio-common/tst-fphex-wide.c: Adjust.
1700
70bca0a3
MP
17012012-03-07 Marek Polacek <polacek@redhat.com>
1702
1703 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1704
65b81130
MP
17052012-03-08 Marek Polacek <polacek@redhat.com>
1706
1707 [BZ #13806]
1708 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1709 * stdio-common/tst-fphex.c: Define a few macros to make the
1710 test reusable. Use them.
1711 * stdio-common/tst-fphex-wide.c: New file.
1712
07037eeb
JM
17132012-03-08 Joseph Myers <joseph@codesourcery.com>
1714
a7a93d50
JM
1715 [BZ #6911]
1716 * manual/macros.texi (gnusystems): New macro.
1717 (nongnusystems): Likewise.
1718 (gnulinuxhurdsystems): Likewise.
1719 (gnuhurdsystems): Likewise..
1720 (gnulinuxsystems): Likewise.
1721 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1722 variants of the GNU system, not "GNU system".
1723 * manual/conf.texi: Likewise.
1724 * manual/errno.texi: Likewise. Update example of errno macro
1725 expansion.
1726 * manual/filesys.texi: Likewise.
1727 (getumask): Document as specific to GNU/Hurd.
1728 * manual/install.texi: Likewise. Reword some references to
1729 GNU/Linux.
1730 * manual/intro.texi: Likewise.
1731 * manual/io.texi: Likewise.
1732 (File Name Portability): Detail which constraints are inapplicable
1733 to all GNU systems and which are only inapplicable to GNU/Hurd.
1734 * manual/job.texi: Likewise.
1735 * manual/llio.texi: Likewise.
1736 (O_NOCTTY): Document as present on GNU/Linux.
1737 * manual/maint.texi: Likewise.
1738 * manual/memory.texi: Likewise.
1739 * manual/pattern.texi: Likewise.
1740 * manual/pipe.texi: Likewise.
1741 * manual/process.texi: Likewise.
1742 * manual/resource.texi: Likewise.
1743 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1744 child on GNU/Hurd.
1745 * manual/setjmp.texi: Likewise.
1746 * manual/signal.texi: Likewise.
1747 * manual/startup.texi: Likewise.
1748 * manual/stdio.texi: Likewise.
1749 * manual/terminal.texi: Likewise.
1750 (ONLCR): Document as POSIX.
1751 (OXTABS): Document availability on GNU/Linux as XTABS.
1752 (ONOEOT): Document availability separately from other bits.
1753 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1754 * manual/time.texi: Likewise.
1755 * manual/users.texi: Likewise.
1756 * INSTALL: Regenerated.
1757 * sysdeps/gnu/errlist.c: Regenerated.
1758
07037eeb
JM
1759 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1760 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1761 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1762 puts.
1763 * configure: Regenerated.
1764
d1d3431a
JM
17652012-03-07 Joseph Myers <joseph@codesourcery.com>
1766
af6a1e37
JM
1767 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1768 default includes instead of AC_HEADER_CHECK.
1769 * sysdeps/i386/configure: Regenerated.
1770
d1d3431a
JM
1771 [BZ #10716]
1772 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1773 * math/s_cacoshf.c (__cacoshf): Likewise.
1774 * math/s_cacoshl.c (__cacoshl): Likewise.
1775 * math/s_casinh.c (__casinh): Set signs of result from argument.
1776 * math/s_casinhf.c (__casinhf): Likewise.
1777 * math/s_casinhl.c (__casinhl): Likewise.
1778 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1779 (casinh_test): Add more tests.
1780 * sysdeps/i386/fpu/libm-test-ulps: Update.
1781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1782
482ff4da
UD
17832012-03-07 Ulrich Drepper <drepper@gmail.com>
1784
872fda05
UD
1785 * po/zh_TW.po: Update from translation team.
1786
a4300c7a
UD
1787 * login/Makefile (distribute): Remove variable.
1788 * catgets/Makefile: Likewise.
1789 * mach/Makefile: Likewise.
1790 * malloc/Makefile: Likewise.
1791 * misc/Makefile: Likewise.
1792 * iconv/Makefile: Likewise.
1793 * nscd/Makefile: Likewise.
1794 * hurd/Makefile: Likewise.
1795 * manual/Makefile: Likewise.
1796 * locale/Makefile: Likewise.
1797 * intl/Makefile: Likewise.
1798 * conform/Makefile: Likewise.
1799 * nss/Makefile: Likewise.
1800 * time/Makefile: Likewise.
1801 * soft-fp/Makefile: Likewise.
1802 * dirent/Makefile: Likewise.
1803 * gmon/Makefile: Likewise.
1804 * po/Makefile: Likewise.
1805 * rt/Makefile: Likewise.
1806 * socket/Makefile: Likewise.
1807 * math/Makefile: Likewise.
1808 * signal/Makefile: Likewise.
1809 * debug/Makefile: Likewise.
1810 * elf/Makefile: Likewise.
1811 * timezone/Makefile: Likewise.
1812 * stdlib/Makefile: Likewise.
1813 * iconvdata/Makefile: Likewise.
1814 * sunrpc/Makefile: Likewise.
1815 * io/Makefile: Likewise.
1816 * argp/Makefile: Likewise.
1817 * inet/Makefile: Likewise.
1818 * hesiod/Makefile: Likewise.
1819 * grp/Makefile: Likewise.
1820 * csu/Makefile: Likewise.
1821 * wctype/Makefile: Likewise.
1822 * crypt/Makefile: Likewise.
1823 * libio/Makefile: Likewise.
1824 * string/Makefile: Likewise.
1825 * nis/Makefile: Likewise.
1826 * resolv/Makefile: Likewise.
1827 * stdio-common/Makefile: Likewise.
1828 * wcsmbs/Makefile: Likewise.
1829 * dlfcn/Makefile: Likewise.
1830 * posix/Makefile: Likewise.
1831
482ff4da
UD
1832 * timezone/Makefile: Don't install timezone files, just the programs
1833 and scripts.
1834
f72ed77d
UD
18352012-03-06 Ulrich Drepper <drepper@gmail.com>
1836
a000466f
UD
1837 * nss/databases.def: Add missing gshadow entry.
1838
f72ed77d
UD
1839 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1840
a53b7a4e
MP
18412012-03-06 Marek Polacek <polacek@redhat.com>
1842
1843 [BZ #13726]
1844 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1845 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1846 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1847 * stdio-common/tst-long-dbl-fphex.c: New file.
1848
e9258400
DM
18492012-03-06 David S. Miller <davem@davemloft.net>
1850
1851 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1852 (set_obp_int): New function.
1853 (get_obp_int): New function.
1854 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1855 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1856 Avoid unused variable warnings on 'val' and use builtin_expect.
1857 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1858 __builtin_expect.
e9258400
DM
1859 (INLINE_CLONE_SYSCALL): Likewise.
1860
3bd2c723
DM
18612012-03-05 David S. Miller <davem@davemloft.net>
1862
1863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1864
bbb78d03
AS
18652012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1866
884c5db4
AS
1867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1868
bbb78d03
AS
1869 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1870 only for |x| >= 40.
1871 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1872
1c9f702a 18732012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1874
1875 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1876 Replace gettimeofday with __vdso_gettimeofday.
1877
7be16f82
RM
1878 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1879 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1880 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1881
1882 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1883 time with __vdso_time.
1884
ed58a00f
JM
18852012-03-05 Joseph Myers <joseph@codesourcery.com>
1886
1887 * manual/lang.texi (size_t): Note types to which size_t may be
1888 equivalent with the GNU C Library, but do not describe when
1889 differences between them are significant.
1890
30ee4ced
AJ
18912012-03-05 Andreas Jaeger <aj@suse.de>
1892
1893 * sysdeps/i386/fpu/libm-test-ulps: Update.
1894
b7cd39e8
JM
18952012-03-05 Joseph Myers <joseph@codesourcery.com>
1896
1897 [BZ #3976]
1898 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1899 (__ieee754_pow): Save and restore rounding mode and use
1900 round-to-nearest for main computations.
1901 * math/libm-test.inc (pow_test_tonearest): New function.
1902 (pow_test_towardzero): Likewise.
1903 (pow_test_downward): Likewise.
1904 (pow_test_upward): Likewise.
1905 (main): Call the new functions.
1906 * sysdeps/i386/fpu/libm-test-ulps: Update.
1907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1908
1909 [BZ #3976]
1910 * math/libm-test.inc (cosh_test_tonearest): New function.
1911 (cosh_test_towardzero): Likewise.
1912 (cosh_test_downward): Likewise.
1913 (cosh_test_upward): Likewise.
1914 (sinh_test_tonearest): Likewise.
1915 (sinh_test_towardzero): Likewise.
1916 (sinh_test_downward): Likewise.
1917 (sinh_test_upward): Likewise.
1918 (main): Call the new functions.
1919 * sysdeps/i386/fpu/libm-test-ulps: Update.
1920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1921
6c6a98c9
TV
19222012-03-05 Tom de Vries <tom@codesourcery.com>
1923
1924 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1925 default stack guard is set in last bytes.
1926 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1927
21bb2d2e 19282012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1929
21bb2d2e 1930 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1931
21bb2d2e
AJ
1932 [BZ #13656]
1933 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1934 possibly allocate from heap instead of stack.
1935 * stdio-common/bug-vfprintf-nargs.c: New file.
1936 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1937
c6922934
AS
19382012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1939
1940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1941
bc957d53
MP
19422012-03-03 Marek Polacek <polacek@redhat.com>
1943
1944 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1945 * math/math_private.h: Likewise.
1946 * stdlib/tst-strtod.c: Likewise.
1947 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1948 * sysdeps/x86_64/bits/atomic.h: Likewise.
1949
6358490d
DM
19502012-03-02 David S. Miller <davem@davemloft.net>
1951
1952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1956 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1957 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1958 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1959 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1960
01ae168d
RM
19612012-03-02 Roland McGrath <roland@hack.frob.com>
1962
d9a17c07
RM
1963 [BZ #13792]
1964 * manual/examples/README: New file, says the example source files
1965 can be used under GPL>=2.
1966 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1967 line containing just "*/".
1968 * manual/examples/add.c: Add copyright header (GPL>=2).
1969 * manual/examples/argp-ex1.c: Likewise.
1970 * manual/examples/argp-ex2.c: Likewise.
1971 * manual/examples/argp-ex3.c: Likewise.
1972 * manual/examples/argp-ex4.c: Likewise.
1973 * manual/examples/atexit.c: Likewise.
1974 * manual/examples/db.c: Likewise.
1975 * manual/examples/dir.c: Likewise.
1976 * manual/examples/dir2.c: Likewise.
1977 * manual/examples/execinfo.c: Likewise.
1978 * manual/examples/filecli.c: Likewise.
1979 * manual/examples/filesrv.c: Likewise.
1980 * manual/examples/fmtmsgexpl.c: Likewise.
1981 * manual/examples/genpass.c: Likewise.
1982 * manual/examples/inetcli.c: Likewise.
1983 * manual/examples/inetsrv.c: Likewise.
1984 * manual/examples/isockad.c: Likewise.
1985 * manual/examples/longopt.c: Likewise.
1986 * manual/examples/memopen.c: Likewise.
1987 * manual/examples/memstrm.c: Likewise.
1988 * manual/examples/mkfsock.c: Likewise.
1989 * manual/examples/mkisock.c: Likewise.
1990 * manual/examples/mygetpass.c: Likewise.
1991 * manual/examples/pipe.c: Likewise.
1992 * manual/examples/popen.c: Likewise.
1993 * manual/examples/rprintf.c: Likewise.
1994 * manual/examples/search.c: Likewise.
1995 * manual/examples/select.c: Likewise.
1996 * manual/examples/setjmp.c: Likewise.
1997 * manual/examples/sigh1.c: Likewise.
1998 * manual/examples/sigusr.c: Likewise.
1999 * manual/examples/stpcpy.c: Likewise.
2000 * manual/examples/strdupa.c: Likewise.
2001 * manual/examples/strftim.c: Likewise.
2002 * manual/examples/strncat.c: Likewise.
2003 * manual/examples/subopt.c: Likewise.
2004 * manual/examples/swapcontext.c: Likewise.
2005 * manual/examples/termios.c: Likewise.
2006 * manual/examples/testopt.c: Likewise.
2007 * manual/examples/testpass.c: Likewise.
2008 * manual/examples/timeval_subtract.c: Likewise.
2009
01ae168d
RM
2010 [BZ #13792]
2011 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2012 function to ...
2013 * manual/timeval_subtract.c.texi: ... here, new file.
2014
49efa33d
DM
20152012-03-02 David S. Miller <davem@davemloft.net>
2016
2017 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2018
28afd92d
JM
20192012-03-02 Joseph Myers <joseph@codesourcery.com>
2020
804360ed
JM
2021 [BZ #3976]
2022 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2023 (__sin): Save and restore rounding mode and use round-to-nearest
2024 for all computations.
2025 (__cos): Save and restore rounding mode and use round-to-nearest
2026 for all computations.
2027 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2028 <fenv.h>.
2029 (tan): Save and restore rounding mode and use round-to-nearest for
2030 all computations.
2031 * math/libm-test.inc (cos_test_tonearest): New function.
2032 (cos_test_towardzero): Likewise.
2033 (cos_test_downward): Likewise.
2034 (cos_test_upward): Likewise.
2035 (sin_test_tonearest): Likewise.
2036 (sin_test_towardzero): Likewise.
2037 (sin_test_downward): Likewise.
2038 (sin_test_upward): Likewise.
2039 (tan_test_tonearest): Likewise.
2040 (tan_test_towardzero): Likewise.
2041 (tan_test_downward): Likewise.
2042 (tan_test_upward): Likewise.
2043 (main): Call the new functions.
2044 * sysdeps/i386/fpu/libm-test-ulps: Update.
2045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2046
a6d06d7b
JM
2047 [BZ #10135]
2048 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2049 small n, then large n, before computing and testing k+n.
2050 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2052 Likewise.
2053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2054 Likewise.
2055 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2056 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2057 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2058 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2059 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2060 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2061 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2062 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2063 * math/libm-test.inc (scalbn_test): Add more tests.
2064 (scalbln_test): Likewise.
2065
07e12bb3
JM
2066 * manual/filesys.texi (mode_t): Describe constraints on size and
2067 signedness, not exact equivalence to a particular type.
2068 (ino_t): Likewise.
2069 (ino64_t): Likewise.
2070 (dev_t): Likewise.
2071 (nlink_t): Likewise.
2072 (blkcnt_t): Likewise.
2073 (blkcnt64_t): Likewise.
2074 * manual/llio.texi (off_t): Likewise.
2075
28afd92d
JM
2076 [BZ #3976]
2077 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2078 (__ieee754_exp): Save and restore rounding mode and use
2079 round-to-nearest for all computations.
2080 * math/libm-test.inc (exp_test_tonearest): New function.
2081 (exp_test_towardzero): Likewise.
2082 (exp_test_downward): Likewise.
2083 (exp_test_upward): Likewise.
2084 (main): Call the new functions.
2085 * sysdeps/i386/fpu/libm-test-ulps: Update.
2086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2087
b1eeb65d
CD
20882012-03-01 Chris Demetriou <cgd@google.com>
2089
2090 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2091 have predictable order.
2092
53362a4b
DM
20932012-03-01 David S. Miller <davem@davemloft.net>
2094
3c969083
DM
2095 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2096
759707de
DM
2097 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2098 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2099 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2100 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2101
dfdb8ff2
DM
2102 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2103 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2104 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2106 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2107 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2108 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2109 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2110 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2111
ead89f96
DM
2112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2113
7f66bd07
DM
2114 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2115 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2116 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2117
53362a4b
DM
2118 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2119 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2120 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2121 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2122 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2123 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2124 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2125 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2126 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2127 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2128 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2129 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2130 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2131 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2132 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2134 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2135 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2136 * sysdeps/sparc/elf/configure: Regenerated.
2137
7b1902cb
JM
21382012-03-01 Joseph Myers <joseph@codesourcery.com>
2139
bec039bc
JM
2140 * configure.in (AS, LD): Require binutils 2.20 or later.
2141 * configure: Regenerated.
2142 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2143 as required minimum version.
2144 * INSTALL: Regenerated.
2145
7b1902cb
JM
2146 [BZ #2541]
2147 [BZ #4108]
2148 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2149 before squaring exponent.
2150 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2151 bottom long double and 27 bits of top long double before squaring
2152 exponent.
2153 * math/libm-test.inc (erfc_test): Add more tests.
2154 * sysdeps/i386/fpu/libm-test-ulps: Update.
2155 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2157
f775c276
KT
21582012-03-01 Kai Tietz <ktietz@redhat.com>
2159
2160 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2161 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2162 containing bit-fields.
2163 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2164 * soft-fp/single.h (_FP_UNION_S): Likewise.
2165 * soft-fp/double.h (_FP_UNION_D): Likewise.
2166
5b8a4d4a
JM
21672012-02-29 Joseph Myers <joseph@codesourcery.com>
2168
0bab47b6
JM
2169 [BZ #13786]
2170 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2171 not include ../strcmp.S.
2172 [USE_AS_STRNCASECMP_L]: Likewise.
2173 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2174 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2175 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2176 (__strncasecmp_l_ia32): Define as alias to
2177 __strncasecmp_l_nonascii.
2178
0fcad3e2
JM
2179 [BZ #5794]
2180 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2181 * sysdeps/i386/fpu/libm-test-ulps: Update.
2182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2183
5b8a4d4a
JM
2184 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2186
8fdceb2e
JL
21872012-02-29 Jeff Law <law@redhat.com>
2188
2189 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2190 out of bounds read.
2191
1f393a11
MP
21922012-02-29 Marek Polacek <polacek@redhat.com>
2193
2194 [BZ #13706]
2195 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2196 * elf/Makefile: Add rules to run tst-unused-dep.out.
2197
8847f037
DM
21982012-02-28 David S. Miller <davem@davemloft.net>
2199
2200 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2201 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2202 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2203 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2204 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2205 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2206
169d7f11
JM
22072012-02-29 Joseph Myers <joseph@codesourcery.com>
2208
2209 * math/libm-test.inc (llround_test): Move one test from
2210 lround_test. Use TEST_f_L in moved test.
2211 (lround_test): Move misplaced test to llround_test. Add testcase
2212 from bug 2561.
2213
39adf059
UD
22142012-02-28 Ulrich Drepper <drepper@gmail.com>
2215
2216 * sysdeps/x86_64/fpu/e_expf.S: New file.
2217 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2218
71b5d1c5
SB
22192012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2220
2221 [BZ #13637]
2222 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2223 of remain_len that may cause incomplete multi-byte character and
2224 false match.
2225 * posix/bug-regex33.c: New file.
2226 * posix/Makefile (tests): Add bug-regex33.
2227
1f77f049
JM
22282012-02-28 Joseph Myers <joseph@codesourcery.com>
2229
2230 * manual/macros.texi: New file.
2231 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2232 * manual/libc.texinfo: Include macros.texi.
2233 * manual/creatute.texi: Likewise.
2234 * manual/install.texi: Likewise.
2235 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2236 @glibcadj{} in references to the GNU C Library.
2237 * manual/charset.texi: Likewise.
2238 * manual/conf.texi: Likewise.
2239 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2240 when not using those macros.
2241 * manual/creature.texi: Likewise.
2242 * manual/crypt.texi: Likewise.
2243 * manual/errno.texi: Likewise.
2244 * manual/filesys.texi: Likewise.
2245 * manual/header.texi: Likewise.
2246 * manual/install.texi: Likewise.
2247 * manual/intro.texi: Likewise.
2248 * manual/io.texi: Likewise.
2249 * manual/job.texi: Likewise.
2250 * manual/lang.texi: Likewise.
2251 * manual/libc.texiinfo: Likewise.
2252 * manual/llio.texi: Likewise.
2253 * manual/locale.texi: Likewise.
2254 * manual/maint.texi: Likewise.
2255 * manual/math.texi: Likewise.
2256 * manual/memory.texi: Likewise.
2257 * manual/message.texi: Likewise.
2258 * manual/nss.texi: Likewise.
2259 * manual/pattern.texi: Likewise.
2260 * manual/process.texi: Likewise.
2261 * manual/resource.texi: Likewise.
2262 * manual/search.texi: Likewise.
2263 * manual/setjmp.texi: Likewise.
2264 * manual/signal.texi: Likewise.
2265 * manual/socket.texi: Likewise.
2266 * manual/startup.texi: Likewise.
2267 * manual/stdio.texi: Likewise.
2268 * manual/string.texi: Likewise.
2269 * manual/sysinfo.texi: Likewise.
2270 * manual/syslog.texi: Likewise.
2271 * manual/terminal.texi: Likewise.
2272 * manual/time.texi: Likewise.
2273 * manual/users.texi: Likewise.
2274 * INSTALL: Regenerated.
2275 * NOTES: Regenerated.
d40c5d54 2276 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2277
450bf206
AS
22782012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2279
2280 * include/dirent.h: Include <dirstream.h> before
2281 <dirent/dirent.h>.
2282
741a235b
DM
22832012-02-28 David S. Miller <davem@davemloft.net>
2284
2285 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2286 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2287 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2288 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2289
d6b5aa58
DM
22902012-02-27 David S. Miller <davem@davemloft.net>
2291
1aff59a3
DM
2292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2294 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2295 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2296
d6b5aa58
DM
2297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2298 frame pointer instead of stack pointer relative arg slot.
2299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2300 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2301 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2302
433f48bf
CD
23032012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2304
2305 [BZ #3992]
2306 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2307
d674b76d
DM
23082012-02-27 David S. Miller <davem@davemloft.net>
2309
2310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2314 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2315 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2316 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2317 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2318
0e7727f7
JM
23192012-02-27 Joseph Myers <joseph@codesourcery.com>
2320
2321 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2322 later. Allow versions 5-9.
43be4ca2 2323 * configure: Regenerated.
0e7727f7
JM
2324 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2325 required minimum version and 4.6 as recommended version. Do not
2326 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2327 * INSTALL: Regenerated.
0e7727f7 2328
a78bc654
DM
23292012-02-27 David S. Miller <davem@davemloft.net>
2330
428d5830
DM
2331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2335 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2336 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2337 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2338 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2339
a78bc654
DM
2340 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2341 manipulate bits before adding and subtracting TWO112[sx].
2342 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2343
4579f81c
RM
23442012-02-27 Roland McGrath <roland@hack.frob.com>
2345
36c8acb4
RM
2346 [BZ #13775]
2347 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2348 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2349 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2350 being in POSIX, because they are in 1003.1-2008.
2351
84ad622b
RM
2352 * rt/tst-aio.c: Include <fcntl.h>.
2353 * rt/tst-aio7.c: Likewise.
2354 * rt/tst-aio64.c: Likewise.
2355
4579f81c
RM
2356 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2357
abd923db
JM
23582012-02-27 Joseph Myers <joseph@codesourcery.com>
2359
2360 * manual/install.texi (--with-headers): Describe headers as
2361 interface headers, not private headers.
2362 (Specific advice for GNU/Linux systems): Describe use of headers
2363 from "make headers_install", not private headers from older
2364 kernels.
43be4ca2 2365 * INSTALL: Regenerated.
abd923db
JM
2366 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2367 Change to 2.6.19.
2368 * sysdeps/unix/sysv/linux/configure: Regenerated.
2369
6664049b
JM
2370 * manual/llio.texi (fclean): Remove documentation.
2371
bb8b6697
JM
2372 * manual/Makefile (libc-texi-generated): New variable. Include
2373 version.texi.
2374 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2375 $(libc-texi-generated), not duplicated list of files.
2376 (version.texi, stamp-version): New rules.
2377 (realclean): Remove $(libc-texi-generated), not individual files
2378 from that list. Do not remove dir-add.texinfo.
2379 * manual/libc.texinfo: Comment out uses of edition numbers and
2380 references to printed manual. Remove last-updated dates.
2381 (EDITION): Comment out.
2382 (ISBN): Likewise.
2383 (VERSION, UPDATED): Remove.
2384 (version.texi): Include.
2385
12e5c3b9
AS
23862012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2387
2388 * sysdeps/posix/spawni.c: Include <signal.h>.
2389 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2390 * sysdeps/pthread/aio_fsync.c: Likewise.
2391
4efeffc1 23922012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2393
ba63ba08
UD
2394 * conform/Makefile (tests): Run only when not cross-compiling and
2395 when fast-check is not defined.
2396
d94a4670
UD
2397 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2398 * conform/data/limits.h-data: Fixes for POSIX2008.
2399 * conform/run-conformtest.sh: Run all tests.
2400 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2401 headers.
2402 * include/bits/dlfcn.h: Likewise.
2403 * include/langinfo.h: Likewise.
2404 * include/monetary.h: Likewise.
2405 * include/sys/poll.h: Likewise.
2406
2407 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2408 for __USE_GNU.
2409 * posix/spawn.h: Define __need_sigset_t.
2410 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2411 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2412 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2413 to get sigevent_t only.
2414 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2415 only for __USE_GNU.
2416 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2417 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2418 process_vm_writev only for __USE_GNU.
2419 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2420
2421 * conform/Makefile: For now ignore errors from run-conformtest.
2422 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2423 POSIX to avoid namespace pollution. Don't prepend headers.
2424 * conform/data/aio.h-data: Fixes for POSIX testing.
2425 * conform/data/fcntl.h-data: Likewise.
2426 * conform/data/glob.h-data: Likewise.
2427 * conform/data/grp.h-data: Likewise.
2428 * conform/data/pthread.h-data: Likewise.
2429 * conform/data/pwd.h-data: Likewise.
2430 * conform/data/signal.h-data: Likewise.
2431 * conform/data/spawn.h-data: Likewise.
2432 * conform/data/stdio.h-data: Likewise.
2433 * conform/data/stdlib.h-data: Likewise.
2434 * conform/data/stropts.h-data: Likewise.
2435 * conform/data/sys/mman.h-data: Likewise.
2436 * conform/data/sys/stat.h-data: Likewise.
2437 * conform/data/sys/types.h-data: Likewise.
2438 * conform/data/sys/wait.h-data: Likewise.
2439 * conform/data/time.h-data: Likewise.
2440 * conform/data/unistd.h-data: Likewise.
2441 * conform/data/utime.h-data: Likewise.
2442
2443 * io/sys/stat.h: fchmod was always in POSIX.
2444 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2445 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2446 * rt/aio.h: Define __need_timespec before including <time.h>.
2447 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2448 struct. Add forward declaration of pthread_attr_t and use it in
2449 sigevent.
2450 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2451 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2452 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2453 always remove CLK_TCK definition.
2454
c20105c3
AS
24552012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2456
2457 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2458
7a270350
UD
24592012-02-25 Ulrich Drepper <drepper@gmail.com>
2460
31341567
UD
2461 * conform/run-conformtest.sh: New file.
2462 * conform/Makefile: Run run-conformtest for tests.
2463 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2464 support.
2465
2466 * conform/data/uchar.h-data: New file.
2467 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2468 * conform/data/arpa/inet.h-data: Likewise.
2469 * conform/data/assert.h-data: Likewise.
2470 * conform/data/complex.h-data: Likewise.
2471 * conform/data/cpio.h-data: Likewise.
2472 * conform/data/ctype.h-data: Likewise.
2473 * conform/data/dirent.h-data: Likewise.
2474 * conform/data/dlfcn.h-data: Likewise.
2475 * conform/data/errno.h-data: Likewise.
2476 * conform/data/fcntl.h-data: Likewise.
2477 * conform/data/float.h-data: Likewise.
2478 * conform/data/fmtmsg.h-data: Likewise.
2479 * conform/data/fnmatch.h-data: Likewise.
2480 * conform/data/ftw.h-data: Likewise.
2481 * conform/data/glob.h-data: Likewise.
2482 * conform/data/grp.h-data: Likewise.
2483 * conform/data/iconv.h-data: Likewise.
2484 * conform/data/inttypes.h-data: Likewise.
2485 * conform/data/langinfo.h-data: Likewise.
2486 * conform/data/libgen.h-data: Likewise.
2487 * conform/data/limits.h-data: Likewise.
2488 * conform/data/locale.h-data: Likewise.
2489 * conform/data/math.h-data: Likewise.
2490 * conform/data/monetary.h-data: Likewise.
2491 * conform/data/mqueue.h-data: Likewise.
2492 * conform/data/ndbm.h-data: Likewise.
2493 * conform/data/net/if.h-data: Likewise.
2494 * conform/data/netdb.h-data: Likewise.
2495 * conform/data/netinet/in.h-data: Likewise.
2496 * conform/data/nl_types.h-data: Likewise.
2497 * conform/data/poll.h-data: Likewise.
2498 * conform/data/pthread.h-data: Likewise.
2499 * conform/data/pwd.h-data: Likewise.
2500 * conform/data/regex.h-data: Likewise.
2501 * conform/data/sched.h-data: Likewise.
2502 * conform/data/search.h-data: Likewise.
2503 * conform/data/semaphore.h-data: Likewise.
2504 * conform/data/setjmp.h-data: Likewise.
2505 * conform/data/signal.h-data: Likewise.
2506 * conform/data/spawn.h-data: Likewise.
2507 * conform/data/stdarg.h-data: Likewise.
2508 * conform/data/stdio.h-data: Likewise.
2509 * conform/data/stdlib.h-data: Likewise.
2510 * conform/data/string.h-data: Likewise.
2511 * conform/data/strings.h-data: Likewise.
2512 * conform/data/stropts.h-data: Likewise.
2513 * conform/data/sys/ipc.h-data: Likewise.
2514 * conform/data/sys/mman.h-data: Likewise.
2515 * conform/data/sys/msg.h-data: Likewise.
2516 * conform/data/sys/resource.h-data: Likewise.
2517 * conform/data/sys/select.h-data: Likewise.
2518 * conform/data/sys/sem.h-data: Likewise.
2519 * conform/data/sys/shm.h-data: Likewise.
2520 * conform/data/sys/socket.h-data: Likewise.
2521 * conform/data/sys/stat.h-data: Likewise.
2522 * conform/data/sys/statvfs.h-data: Likewise.
2523 * conform/data/sys/time.h-data: Likewise.
2524 * conform/data/sys/timeb.h-data: Likewise.
2525 * conform/data/sys/times.h-data: Likewise.
2526 * conform/data/sys/types.h-data: Likewise.
2527 * conform/data/sys/uio.h-data: Likewise.
2528 * conform/data/sys/un.h-data: Likewise.
2529 * conform/data/sys/utsname.h-data: Likewise.
2530 * conform/data/sys/wait.h-data: Likewise.
2531 * conform/data/syslog.h-data: Likewise.
2532 * conform/data/tar.h-data: Likewise.
2533 * conform/data/termios.h-data: Likewise.
2534 * conform/data/utime.h-data: Likewise.
2535 * conform/data/utmpx.h-data: Likewise.
2536 * conform/data/varargs.h-data: Likewise.
2537 * conform/data/wchar.h-data: Likewise.
2538 * conform/data/wctype.h-data: Likewise.
2539 * conform/data/wordexp.h-data: Likewise.
2540
2541 * include/stropts.h: New file.
2542 * include/uchar.h: New file.
2543 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2544 * include/assert.h: Likewise.
2545 * include/ctype.h: Likewise.
2546 * include/dirent.h: Likewise.
2547 * include/dlfcn.h: Likewise.
2548 * include/fcntl.h: Likewise.
2549 * include/fnmatch.h: Likewise.
2550 * include/glob.h: Likewise.
2551 * include/grp.h: Likewise.
2552 * include/libio.h: Likewise.
2553 * include/locale.h: Likewise.
2554 * include/math.h: Likewise.
2555 * include/net/if.h: Likewise.
2556 * include/netdb.h: Likewise.
2557 * include/netinet/in.h: Likewise.
2558 * include/pthread.h: Likewise.
2559 * include/pwd.h: Likewise.
2560 * include/regex.h: Likewise.
2561 * include/sched.h: Likewise.
2562 * include/search.h: Likewise.
2563 * include/setjmp.h: Likewise.
2564 * include/signal.h: Likewise.
2565 * include/stdio.h: Likewise.
2566 * include/stdlib.h: Likewise.
2567 * include/string.h: Likewise.
2568 * include/sys/cdefs.h: Likewise.
2569 * include/sys/mman.h: Likewise.
2570 * include/sys/msg.h: Likewise.
2571 * include/sys/resource.h: Likewise.
2572 * include/sys/select.h: Likewise.
2573 * include/sys/socket.h: Likewise.
2574 * include/sys/stat.h: Likewise.
2575 * include/sys/statvfs.h: Likewise.
2576 * include/sys/time.h: Likewise.
2577 * include/sys/times.h: Likewise.
2578 * include/sys/uio.h: Likewise.
2579 * include/sys/utsname.h: Likewise.
2580 * include/sys/wait.h: Likewise.
2581 * include/termios.h: Likewise.
2582 * include/time.h: Likewise.
2583 * include/ulimit.h: Likewise.
2584 * include/unistd.h: Likewise.
2585 * include/utime.h: Likewise.
2586 * include/wchar.h: Likewise.
2587 * include/wctype.h: Likewise.
2588 * include/wordexp.h: Likewise.
2589
2590 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2591
7a270350
UD
2592 * time/time.h: TIME_UTC must be a macro.
2593 Make timespec_get available for ISO C11 only as well.
2594
7724defc
UD
25952012-02-24 Ulrich Drepper <drepper@gmail.com>
2596
2597 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2598 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2599
6b1d1d46
JM
26002012-02-24 Joseph Myers <joseph@codesourcery.com>
2601
2602 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2603
0f8bbd69
JM
26042012-02-24 Joseph Myers <joseph@codesourcery.com>
2605
2606 * manual/texinfo.tex: Update to version 2012-01-19.16.
2607
66ab80bc
JM
26082012-02-24 Joseph Myers <joseph@codesourcery.com>
2609
2610 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2611
74981cc5
RM
26122012-02-24 Roland McGrath <roland@hack.frob.com>
2613
ee968201
RM
2614 [BZ #13738]
2615 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2616 * manual/fdl-1.3.texi: New file.
2617 * manual/fdl-1.1.texi: File removed.
2618
74981cc5
RM
2619 [BZ #13738]
2620 * manual/libc.texinfo (FDL_VERSION): New @set.
2621 Use it for mention of FDL in cover text.
2622 (Documentation License): Use it in @include file name.
2623
7bb764bc
JM
26242012-02-22 Joseph Myers <joseph@codesourcery.com>
2625 Roland McGrath <roland@hack.frob.com>
2626
2627 [BZ #5461]
2628 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2629 not LONG_LONG_MAX and LONG_LONG_MIN.
2630 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2631 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2632 name.
2633 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2634
6cbeae47
JM
26352012-02-22 Joseph Myers <joseph@codesourcery.com>
2636
2637 [BZ #2547]
2638 [BZ #11365]
2639 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2640 manipulate bits before adding and subtracting TWO23[sx].
2641 * math/libm-test.inc (nearbyint_test): Add more tests.
2642
fe45ce09
JM
26432012-02-22 Joseph Myers <joseph@codesourcery.com>
2644
2645 [BZ #2548]
2646 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2647 bits before adding and subtracting TWO23[sx].
2648 * math/libm-test.inc (rint_test): Add more tests.
2649 (rint_test_tonearest): Likewise.
2650 (rint_test_towardzero): Likewise.
2651 (rint_test_downward): Likewise.
2652 (rint_test_upward: Likewise.
2653
ff3b3d82
JM
26542012-02-22 Joseph Myers <joseph@codesourcery.com>
2655
2656 [BZ #10110]
2657 * include/stdc-predef.h: New file. Extracted from features.h.
2658 * include/features.h: Include stdc-predef.h.
2659 * Makefile (headers): Add stdc-predef.h.
2660 * CONFORMANCE (Compiler limitations): Update.
2661
ef0aab35
JM
26622012-02-22 Joseph Myers <joseph@codesourcery.com>
2663
2664 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2665
58639409
DM
26662012-02-21 David S. Miller <davem@davemloft.net>
2667
2668 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2669 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2670
c0e70b25
DM
26712012-02-20 David S. Miller <davem@davemloft.net>
2672
2673 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2674 using a normal save/restore sequence, rather than allocating a
2675 dummy stack frame just to store a frame pointer and restore.
2676 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2677
fb06851d
JM
26782012-02-21 Joseph Myers <joseph@codesourcery.com>
2679
2680 * manual/install.texi: Fix stray word in line-wrapped comment.
2681
7a8b71c3
DM
26822012-02-20 David S. Miller <davem@davemloft.net>
2683
d510c123
DM
2684 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2685 both binutils and gcc support GOTDATA.
2686
0722d7c2
DM
2687 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2688 "rd %pc" in the PIC register setup sequences.
2689
3d2b3019
DM
2690 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2691 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2692 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2693 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2694 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2697 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2698 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2699 (SYSCALL_ERROR_HANDLER): Likewise.
2700 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2701 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2702 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2703 (SYSCALL_ERROR_HANDLER): Likewise.
2704
c80098a9
DM
2705 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2706 (HAVE_GCC_GOTDATA): New.
2707 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2708 relocation support in both binutils and gcc.
2709 * sysdeps/sparc/elf/configure: Regenerate.
2710
3a2545a0
DM
2711 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2712 * sysdeps/sparc/sparc32/elf/configure: Delete.
2713 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2714 * sysdeps/sparc/sparc64/elf/configure: Delete.
2715 * sysdeps/sparc/elf/configure.in: New file.
2716 * sysdeps/sparc/elf/configure: Generate.
2717
7a8b71c3
DM
2718 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2719 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2720 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2721 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2722 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2723
f1e86fca
JM
27242012-02-21 Joseph Myers <joseph@codesourcery.com>
2725
2726 * manual/install.texi: Do not mention specific glibc version
2727 numbers.
2728 * manual/libc.texinfo (VERSION, UPDATED): Update.
2729 (@copying): Use @copyright{} and range of years.
2730
0e7dfaef
JM
27312012-02-21 Joseph Myers <joseph@codesourcery.com>
2732
2733 [BZ #13695]
2734 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2735 [crti.S not in sysdirs] (generated): Do not append.
2736 [crti.S not in sysdirs] (omit-deps): Likewise.
2737 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2738 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2739 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2740 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2741 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2742 Likewise.
2743 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2744 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2745 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2746 * csu/defs.awk: Remove file.
2747 * sysdeps/generic/initfini.c: Likewise.
2748 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2749 variable.
2750 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2751 Likewise.
2752
599af3ca
JM
27532012-02-20 Joseph Myers <joseph@codesourcery.com>
2754
2755 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2756 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2757 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2758 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2759 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2760 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2761 <bits/epoll.h>.
2762 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2763 (__EPOLL_PACKED): Define to empty if not defined by
2764 <bits/epoll.h>.
2765 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2767 bits/epoll.h.
2768
0e499750
JM
27692012-02-20 Joseph Myers <joseph@codesourcery.com>
2770
2771 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2772 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2773 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2774 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2775 <bits/timerfd.h>.
2776 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2778 bits/timerfd.h.
2779
5ad91f6e
JM
27802012-02-20 Joseph Myers <joseph@codesourcery.com>
2781
2782 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2783 in C locale.
2784 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2785 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2786 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2788
06b99b02
AJ
27892012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2790
2791 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2792 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2793
7638c0fd
AS
27942012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2795
2796 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2797 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2798 defined.
2799 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2800 Likewise.
2801 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2802 entry for 2.16.
2803
92221550
AJ
28042012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2805
2806 * math/w_acos.c: Use non-signaling floating-point comparisons.
2807 * math/w_acosf.c: Likewise.
2808 * math/w_acosh.c: Likewise.
2809 * math/w_acoshf.c: Likewise.
2810 * math/w_acoshl.c: Likewise.
2811 * math/w_acosl.c: Likewise.
2812 * math/w_asin.c: Likewise.
2813 * math/w_asinf.c: Likewise.
2814 * math/w_asinl.c: Likewise.
2815 * math/w_atanh.c: Likewise.
2816 * math/w_atanhf.c: Likewise.
2817 * math/w_atanhl.c: Likewise.
2818 * math/w_exp2.c: Likewise.
2819 * math/w_exp2f.c: Likewise.
2820 * math/w_exp2l.c: Likewise.
2821 * math/w_j0.c: Likewise.
2822 * math/w_j0f.c: Likewise.
2823 * math/w_j0l.c: Likewise.
2824 * math/w_j1.c: Likewise.
2825 * math/w_j1f.c: Likewise.
2826 * math/w_j1l.c: Likewise.
2827 * math/w_jn.c: Likewise.
2828 * math/w_jnf.c: Likewise.
2829 * math/w_log.c: Likewise.
2830 * math/w_log10.c: Likewise.
2831 * math/w_log10f.c: Likewise.
2832 * math/w_log10l.c: Likewise.
2833 * math/w_log2.c: Likewise.
2834 * math/w_log2f.c: Likewise.
2835 * math/w_log2l.c: Likewise.
2836 * math/w_logf.c: Likewise.
2837 * math/w_logl.c: Likewise.
2838 * math/w_sqrt.c: Likewise.
2839 * math/w_sqrtf.c: Likewise.
2840 * math/w_sqrtl.c: Likewise.
2841 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2842 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2843 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2844 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2845 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2846
ebaf36eb
JM
28472012-02-19 Joseph Myers <joseph@codesourcery.com>
2848
2849 [BZ #9739]
2850 * manual/string.texi (strnlen): Use correct parameter name in
2851 equivalent expression.
2852
71c254a6
JM
28532012-02-19 Joseph Myers <joseph@codesourcery.com>
2854
2855 [BZ #11174]
2856 * manual/users.texi (seteuid): Consistently use neweuid for
2857 argument name.
2858
16d2c631
JM
28592012-02-19 Joseph Myers <joseph@codesourcery.com>
2860
2861 [BZ #13704]
2862 * manual/nss.texi (Services in the NSS configuration): Correct
2863 list of services in example configuration file.
2864
cd837b09
NB
28652012-02-19 Nick Bowler <nbowler@draconx.ca>
2866
2867 [BZ #11322]
2868 * manual/arith.texi: Remove statements about negative zero
2869 behaving identically to zero.
2870
02c4bbad
JM
28712012-02-18 Joseph Myers <joseph@codesourcery.com>
2872
2873 [BZ #5993]
2874 * manual/install.texi: Do not document upgrading from libc5.
2875
366842e7
JM
28762012-02-18 Joseph Myers <joseph@codesourcery.com>
2877
2878 [BZ #4596]
2879 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2880
dd54084d
DM
28812012-02-18 David S. Miller <davem@davemloft.net>
2882
2883 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2884 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2885 %o7 across the call.
2886 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2887 instead.
2888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2889 SETUP_PIC_REG_LEAF.
2890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2891 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2892 * sysdeps/sparc/crtn.S: Likewise.
2893
2bcc53a3
UD
28942012-02-17 Ulrich Drepper <drepper@gmail.com>
2895
2896 * aout/Makefile: Remove.
2897
09c093b5
RK
28982012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2899
2900 [BZ #13058]
2901 * manual/examples/argp-ex1.c (main): Format definition in GNU
2902 style.
2903 * manual/examples/argp-ex2.c (main): Likewise.
2904 * manual/examples/argp-ex3.c (main): Likewise.
2905 * manual/examples/argp-ex4.c (main): Likewise.
2906 * manual/examples/longopt.c (main): Use new-style prototype
2907 definition.
2908 * manual/examples/strncat.c (main): Specify return type and use
2909 (void) for arguments.
2910 * manual/examples/subopt.c (main): Use char **argv argument.
2911
2ee633a2
JM
29122012-02-17 Joseph Myers <joseph@codesourcery.com>
2913
2914 [BZ #5077]
2915 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2916 rounding modes.
2917
0520adde
FB
29182012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2919
2920 [BZ #6907]
2921 * manual/string.texi (strchr): Change when strchrnul is
2922 recommended.
2923
3f4081cd
DGM
29242012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2925
2926 [BZ #174]
2927 * manual/locale.texi (setlocale): Document LOCPATH.
2928
d1b10e78
JM
29292012-02-17 Joseph Myers <joseph@codesourcery.com>
2930
2931 [BZ #10210]
2932 * manual/process.texi (execle): Move @dots{} before last argument.
2933
79c6869c
PB
29342012-02-17 Paul Bolle <pebolle@tiscali.nl>
2935
2936 [BZ #12047]
2937 * manual/charset.texi (Generic Charset Conversion): Fix typo
2938 (LC_TYPE -> LC_CTYPE).
2939
cc6e48bc
NB
29402012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2941
2942 [BZ #5805]
2943 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2944 (scalbnf): Likewise.
2945 (scalbnl): Likewise.
2946 (scalbln): Likewise.
2947 (scalblnf): Likewise.
2948 (scalblnl): Likewise.
2949 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2950 (vwarnx): Likewise.
2951 (verr): Likewise.
2952 (verrx): Likewise.
2953 * manual/filesys.texi (telldir): Use braces around return type.
2954 * manual/llio.texi (mmap): Add space after comma.
2955 (mmap64): Likewise.
2956 * manual/math.texi (jn): Use @var{} on parameter names.
2957 (jnf): Likewise.
2958 (jnl): Likewise.
2959 (yn): Likewise.
2960 (ynf): Likewise.
2961 (ynl): Likewise.
2962 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2963 line.
2964 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2965 "...".
2966 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2967 (sched_get_priority_max): Likewise.
2968 * manual/signal.texi (sigvec): Add space after comma.
2969 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2970 names.
2971 (if_indextoname): Likewise.
2972 (if_freenameindex): Likewise.
2973 (sendto): Use ',' instead of '.' in prototype.
2974 * manual/startup.texi (syscall): Use @dots{} instead of literal
2975 "...".
2976 * manual/stdio.texi (__fpending): Separate initial words of
2977 paragraph from @deftypefun line.
2978 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2979 "...".
2980 (vsyslog): Use @var{} on parameter names.
2981 * manual/terminal.texi (stty): Use @var{} on parameter names.
2982 * manual/users.texi (getutmp): Use @var{} on parameter names.
2983 (getutmpx): Likewise.
2984
5b23062f
JM
29852012-02-17 Joseph Myers <joseph@codesourcery.com>
2986
2987 [BZ #6884]
2988 * manual/stdio.texi (fopen): Fix typos in description of
2989 ",ccs=STRING".
2990
8dee4833
AJ
29912012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2992
2993 [BZ #4026]
2994 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2995 get clock_id definition.
2996
9078ce93
TS
29972012-02-17 Thomas Schwinge <thomas@schwinge.name>
2998
2999 [BZ #4822]
3000 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3001 (madvise): Cast every argument to void on its own.
3002
3835c55f
JM
30032012-02-17 Joseph Myers <joseph@codesourcery.com>
3004
3005 [BZ #9902]
3006 * manual/startup.texi (Exit Status): Fix typo.
3007
35c47e37
JM
30082012-02-17 Joseph Myers <joseph@codesourcery.com>
3009
3010 [BZ #10140]
3011 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3012 * manual/examples/argp-ex2.c: Likewise.
3013 * manual/examples/argp-ex3.c: Likewise.
3014
e3b69ca7
RH
30152012-02-16 Richard Henderson <rth@redhat.com>
3016
3017 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3018 * sysdeps/s390/s390-32/initfini.c: Remove.
3019 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3020 * sysdeps/s390/s390-64/initfini.c: Remove.
3021
df83af67
KK
30222012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3023
3024 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3025 compiler output for sysdeps/generic/initfini.c.
3026 * sysdeps/sh/elf/initfini.c: Remove file.
3027
f63f3380
DM
30282012-02-16 David S. Miller <davem@davemloft.net>
3029
fb59b3a4
DM
3030 [BZ #11494]
3031 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3032
f63f3380
DM
3033 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3034 * sysdeps/sparc/crti.S: New file.
3035 * sysdeps/sparc/crtn.S: New file.
3036 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3037 * sysdeps/sparc/sparc64/Makefile: Likewise.
3038
df6a4a4a
MF
30392012-02-15 Mike Frysinger <vapier@gentoo.org>
3040
6dd8f3dc 3041 [BZ #3335]
df6a4a4a
MF
3042 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3043
1cac7236
RM
30442012-02-15 Roland McGrath <roland@hack.frob.com>
3045
d2c736f8
RM
3046 [BZ #4822]
3047 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3048
1cac7236
RM
3049 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3050 (write, read, close): Likewise.
3051 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3052
8e475601
JM
30532012-02-15 Joseph Myers <joseph@codesourcery.com>
3054
3055 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3056 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3057 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3058 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3059 <bits/signalfd.h>.
3060 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3062 bits/signalfd.h.
3063
ed656b40
MP
30642012-02-14 Marek Polacek <polacek@redhat.com>
3065
3066 * sysdeps/x86_64/crti.S: New file.
3067 * sysdeps/x86_64/crtn.S: New file.
3068 * sysdeps/x86_64/elf/initfini.c: Remove file.
3069
2a979d3a
JM
30702012-02-13 Joseph Myers <joseph@codesourcery.com>
3071
3072 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3073 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3074 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3075 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3076 <bits/inotify.h>.
3077 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3079 bits/inotify.h.
3080
2a418ac3
JM
30812012-02-13 Joseph Myers <joseph@codesourcery.com>
3082
3083 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3084 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3085 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3086 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3087 <bits/eventfd.h>.
3088 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3090 bits/eventfd.h.
3091
fb779be7
TS
30922012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3093
e19e83c5
RM
3094 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3095 __feraiseexcept instead of feraiseexcept.
7c35ffed 3096
fb779be7
TS
3097 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3098 nanosleep invocations.
3099 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3100 strings, and add error checking for a nanosleep invocations.
3101
59ba27a6
PE
31022012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3103
3104 Replace FSF snail mail address with URLs, as per GNU coding standards.
3105 Most of the snail mail addresses were wrong anyway, and omitting
3106 them makes the source code easier to maintain. Almost all of the
3107 changes are to license notices and to locale LC_IDENTIFICATION
3108 addresses, except for this one:
3109 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3110 not its snail mail address.
3111
57b957eb
RH
31122012-02-09 Richard Henderson <rth@twiddle.net>
3113
af850b1c
RH
3114 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3115 of kernel-features.h.
3116
57b957eb
RH
3117 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3118
6b73181a
MP
31192012-02-08 Marek Polacek <polacek@redhat.com>
3120
3121 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3122 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3123 * sysdeps/gnu/_G_config.h: Likewise.
3124 * sysdeps/generic/_G_config.h: Likewise.
3125
26ecc33a
AS
31262012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3127
6c6dbc63
AS
3128 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3129 tests.
3130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3131
e216c012
AS
3132 * sysdeps/powerpc/powerpc32/crti.S: New file.
3133 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3134 * sysdeps/powerpc/powerpc64/crti.S: New file.
3135 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3136
26ecc33a
AS
3137 * Makeconfig (have-initfini): Don't set.
3138 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3139 * configure.in (nopic_initfini): Don't substitute.
3140 * config.h.in (HAVE_INITFINI): Don't #undef.
3141 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3142 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3143
3add8e13
JM
31442012-02-08 Joseph Myers <joseph@codesourcery.com>
3145
3146 Support crti.S and crtn.S provided directly by architectures.
3147 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3148 [crti.S in sysdirs] (omit-deps): Likewise.
3149 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3150 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3151 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3152 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3153 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3154 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3155 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3156 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3157 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3158 compiler output for sysdeps/generic/initfini.c.
3159 * sysdeps/i386/elf/Makefile: Remove file.
3160 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3161
a22f12b4
MP
31622012-02-07 Marek Polacek <polacek@redhat.com>
3163
3164 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3165 * sysdeps/gnu/_G_config.h: Likewise.
3166 * sysdeps/mach/hurd/_G_config.h: Likewise.
3167
148cf100
MP
31682012-02-07 Marek Polacek <polacek@redhat.com>
3169
3170 * math/Makefile (tests): Add tst-CMPLX2.
3171 * math/tst-CMPLX2.c: New file.
3172
cfdc0dd7
AS
31732012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3174
84ba42c4
AS
3175 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3176
cfdc0dd7
AS
3177 * math/libm-test.inc (jn_test): Add missing L suffix.
3178
622c86f4
MP
31792012-02-06 Marek Polacek <polacek@redhat.com>
3180
3181 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3182 * sysdeps/i386/fpu/e_powf.S: Likewise.
3183 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3184 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3185 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3186 * sysdeps/i386/fpu/e_pow.S: Likewise.
3187 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3188 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3189 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3190 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3191 * sysdeps/i386/fpu/e_log2.S: Likewise.
3192 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3193 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3194 * sysdeps/i386/fpu/e_powl.S: Likewise.
3195 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3196 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3197 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3198 * sysdeps/i386/fpu/e_logl.S: Likewise.
3199 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3200 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3201 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3202 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3203 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3204 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3205 * sysdeps/i386/fpu/e_log.S: Likewise.
3206 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3207 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3208 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3209 * sysdeps/i386/fpu/e_logf.S: Likewise.
3210 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3211 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3212 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3213 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3214 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3215 * sysdeps/i386/fpu/e_log10.S: Likewise.
3216 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3217 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3218 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3219 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3220 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3221 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3222 * sysdeps/i386/asm-syntax.h: Likewise.
3223 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3224 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3225 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3226 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3227 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3228 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3229 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3230 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3231 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3232 * sysdeps/powerpc/sysdep.h: Likewise.
3233 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3234 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3235
d4a54ac6
JM
32362012-02-06 Joseph Myers <joseph@codesourcery.com>
3237
3238 [BZ #411]
3239 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3240
314054ea
JM
32412012-02-06 Joseph Myers <joseph@codesourcery.com>
3242
3243 * sysdeps/i386/sysdep.h: Include <features.h>.
3244 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3245 version.
3246
d8e0ca50
JM
32472012-02-05 Joseph Myers <joseph@codesourcery.com>
3248
3249 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3250 Define.
3251 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3252 LOAD_PIC_REG_STR.
3253
b1da7dd9
JM
32542012-02-03 Joseph Myers <joseph@codesourcery.com>
3255
3256 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3257 (SETUP_PIC_REG): Use GET_PC_THUNK.
3258 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3259 macro.
3260
9a1d9254
JM
32612012-02-03 Joseph Myers <joseph@codesourcery.com>
3262
3263 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3264 for non-PIC compilation.
3265 (SETUP_PIC_REG): Add .p2align directive.
3266 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3267 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3268 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3269 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3270 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3271 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3272 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3273 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3274 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3275 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3276 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3277 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3278 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3279 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3280 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3281 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3282 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3283 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3284 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3285 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3286 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3287 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3288 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3289 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3290 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3291 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3292 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3293 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3294 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3295 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3296 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3297 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3298 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3299 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3300 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3301 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3302 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3303 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3304 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3305 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3306 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3307
65dc3b75
JM
33082012-02-03 Joseph Myers <joseph@codesourcery.com>
3309
3310 * math/tst-CMPLX.c: Include <stdio.h>.
3311
d55bf177
JM
33122012-01-31 Joseph Myers <joseph@codesourcery.com>
3313
3314 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3315 float.
3316 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3317 * sysdeps/sparc/bits/mathdef.h: Likewise.
3318
69db4f8f
MP
33192012-01-31 Marek Polacek <polacek@redhat.com>
3320
3321 * libio/libio.h: Don't define _PARAMS.
3322 * locale/programs/config.h: Don't define PARAMS.
3323 * stdlib/strtol_l.c: Likewise.
3324 (__strtol_l): Remove PARAMS from the prototype.
3325
41b81892
UD
33262012-01-31 Ulrich Drepper <drepper@gmail.com>
3327
3b49edc0
UD
3328 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3329 names. Just use the correct names. Remove unnecessary wrapper
3330 functions.
3331 * malloc/arena.c: Likewise.
3332 * malloc/hooks.c: Likewise.
3333
41b81892
UD
3334 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3335 ARENA_TEST says not to. Simplify test for creation of a new arena.
3336 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3337
27a25b6e
UD
33382012-01-30 Ulrich Drepper <drepper@gmail.com>
3339
3340 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3341 into tail calls.
3342 (update_get_addr): New function.
3343 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3344 GET_ADDR_MODULE parameter.
3345
c8a89e7d
JM
33462012-01-30 Joseph Myers <joseph@codesourcery.com>
3347
3348 * crypt/cert.c: Remove __STDC__ conditionals.
3349 * crypt/crypt-entry.c: Likewise.
3350 * crypt/crypt_util.c: Likewise.
3351 * libio/filedoalloc.c: Likewise.
3352 * libio/fileops.c: Likewise.
3353 * libio/genops.c: Likewise.
3354 * libio/iofclose.c: Likewise.
3355 * libio/iofdopen.c: Likewise.
3356 * libio/iofopen.c: Likewise.
3357 * libio/iofopen64.c: Likewise.
3358 * libio/iogetdelim.c: Likewise.
3359 * libio/iopopen.c: Likewise.
3360 * libio/obprintf.c: Likewise.
3361 * libio/oldfileops.c: Likewise.
3362 * libio/oldiofclose.c: Likewise.
3363 * libio/oldiofdopen.c: Likewise.
3364 * libio/oldiofopen.c: Likewise.
3365 * libio/oldiopopen.c: Likewise.
3366 * libio/wfiledoalloc.c: Likewise.
3367 * libio/wgenops.c: Likewise.
3368 * locale/programs/xmalloc.c: Likewise.
3369 * misc/syslog.c: Likewise.
3370 * stdio-common/xbug.c: Likewise.
3371 * string/memchr.c: Likewise.
3372 * string/memcmp.c: Likewise.
3373 * string/memrchr.c: Likewise.
3374 * string/rawmemchr.c: Likewise.
3375 * sysdeps/posix/getcwd.c: Likewise.
3376 * time/strftime_l.c: Likewise.
3377
3b100462
JM
33782012-01-30 Joseph Myers <joseph@codesourcery.com>
3379
3380 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3381 * config.make.in (config-cflags-sse2avx): Define.
3382 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3383 Fix typo.
3384
607998af
CM
33852012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3386
3387 * scripts/config.guess: Update from upstream config git repository.
3388 * scripts/config.sub: Likewise.
3389
3601428f
CM
33902012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3391
3ac8b282
CM
3392 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3393 (EM_NUM): Update.
3394 (R_TILEPRO_*, R_TILEGX_*): New macros.
3395
e034841e
CM
3396 * scripts/firstversions.awk: Fix bug in version range handling.
3397
540d7568
CM
3398 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3399
3601428f
CM
3400 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3401
463de862
CM
3402 * include/sys/epoll.h: New file.
3403 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3404 libc_hidden_def.
3405
73139a76
UD
34062012-01-28 Ulrich Drepper <drepper@gmail.com>
3407
96bc5b45
UD
3408 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3409 Avoid unnecessary __WORDSIZE == 64 test.
3410 (fmaxf): Use VEX format if possible.
3411 (fmax): Likewise.
3412 (fminf): Likewise.
3413 (fmin): Likewise.
3414
56f6f6a2
UD
3415 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3416 * math/math_private.h: Remove libc_fegetround* and
3417 libc_fesetround*.
3418 * sysdeps/i386/configure.in: Check for -msse2avx.
3419 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3420 also if SSE2AVX is defined.
3421 Remove libc_fegetround* and libc_fesetround*.
3422 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3423 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3424 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3425 of HAS_YMM_USABLE.
3426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3427 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3428 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3429 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3430 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3431
73139a76
UD
3432 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3433
d73f93a4
AZ
34342012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3435
3436 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3437 size is not set.
3438 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3439
6ee65ed6
UD
34402012-01-27 Ulrich Drepper <drepper@gmail.com>
3441
3442 [BZ #13618]
3443 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3444 relocation.
3445 * Makeconfig (libm): Define.
3446 * elf/Makefile: Add rules to build and run tst-relsort1.
3447 * elf/tst-relsort1.c: New file.
3448 * elf/tst-relsort1mod1.c: New file.
3449 * elf/tst-relsort1mod2.c: New file.
3450
8db21882
JM
34512012-01-27 Joseph Myers <joseph@codesourcery.com>
3452
3453 * math/s_ldexp.c: Remove __STDC__ conditionals.
3454 * math/s_ldexpf.c: Likewise.
3455 * math/s_ldexpl.c: Likewise.
3456 * math/s_nextafter.c: Likewise.
3457 * math/s_nexttowardf.c: Likewise.
3458 * math/s_significand.c: Likewise.
3459 * math/s_significandf.c: Likewise.
3460 * math/s_significandl.c: Likewise.
3461 * math/w_jnl.c: Likewise.
3462 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3463 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3464 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3465 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3466 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3467 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3468 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3469 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3470 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3471 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3472 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3473 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3474 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3475 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3476 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3477 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3478 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3479 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3480 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3481 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3482 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3483 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3484 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3485 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3486 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3487 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3488 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3489 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3490 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3491 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3492 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3493 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3494 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3495 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3496 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3497 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3498 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3499 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3500 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3501 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3502 * sysdeps/ieee754/k_standard.c: Likewise.
3503 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3504 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3505 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3506 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3507 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3508 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3509 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3510 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3511 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3512 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3513 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3514 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3515 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3516 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3517 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3518 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3519 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3520 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3521 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3522 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3523 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3524 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3525 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3526 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3527 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3528 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3530 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3531 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3532 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3533 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3534 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3535 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3536 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3537 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3538 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3539 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3540 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3541 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3542 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3543 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3544 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3545 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3546 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3547 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3548 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3549 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3550 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3551 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3552 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3553 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3554 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3555 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3556 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3557 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3558 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3559 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3560 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3561 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3562 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3563 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3564 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3565 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3566 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3567 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3568 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3569 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3570 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3571 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3572 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3573 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3574 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3575 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3576 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3577 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3578 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3579 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3580 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3581 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3582 * sysdeps/ieee754/s_matherr.c: Likewise.
3583 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3584 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3587
965a54a4
JM
35882012-01-26 Joseph Myers <joseph@codesourcery.com>
3589
3590 * crypt/md5.h: Remove __STDC__ conditionals.
3591 * libio/libioP.h: Likewise.
3592 * locale/programs/config.h: Likewise.
3593 * sysdeps/generic/sysdep.h: Likewise.
3594 * sysdeps/i386/asm-syntax.h: Likewise.
3595 * sysdeps/s390/asm-syntax.h: Likewise.
3596 * sysdeps/unix/sysdep.h: Likewise.
3597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3599
7071ad79
JM
36002012-01-26 Joseph Myers <joseph@codesourcery.com>
3601
3602 * libio/libio.h: Remove __STDC__ conditionals.
3603 * malloc/obstack.h: Likewise.
3604 * math/complex.h: Likewise.
3605 * math/math.h: Likewise.
3606 * sysdeps/generic/_G_config.h: Likewise.
3607 * sysdeps/gnu/_G_config.h: Likewise.
3608 * sysdeps/mach/hurd/_G_config.h: Likewise.
3609 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3610 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3611 * sysdeps/sparc/bits/mathdef.h: Likewise.
3612
afc5ed09
UD
36132012-01-26 Ulrich Drepper <drepper@gmail.com>
3614
3615 [BZ #13583]
3616 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3617 Clean up HAS_* macros.
afc5ed09 3618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3619 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3620 possible.
3621 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3622 HAS_AVX.
3623 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3624 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3625 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3626 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3627 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3628
bdb6de1d
JM
36292012-01-25 Joseph Myers <joseph@codesourcery.com>
3630
3631 * elf/tst-unique3.cc (gets): Remove declaration.
3632 * elf/tst-unique3lib.cc (gets): Likewise.
3633 * elf/tst-unique3lib2.cc (gets): Likewise.
3634 * elf/tst-unique4.cc (gets): Likewise.
3635
b15549e6
UD
36362012-01-24 Ulrich Drepper <drepper@gmail.com>
3637
3638 * include/stdio.h: Add C++ protection. Add gets declarations and
3639 definitions.
3640 * debug/tst-chk1.c: Don't declare gets here.
3641 * stdio-common/tst-gets.c: Likewise.
3642
a037381f
JM
36432012-01-24 Joseph Myers <joseph@codesourcery.com>
3644
3645 * posix/glob: Remove directory.
3646
f1d4aa75
JM
36472012-01-24 Joseph Myers <joseph@codesourcery.com>
3648
3649 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3650
81c0c964
PT
36512012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3652
3653 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3654 of the non-standard EPFNOSUPPORT.
3655
0ea698ae
ST
36562011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3657
3658 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3659 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3660 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3661
d220b117
UD
36622012-01-21 Ulrich Drepper <drepper@gmail.com>
3663
3664 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3665
3e1aa84e
UD
36662012-01-20 Ulrich Drepper <drepper@gmail.com>
3667
3668 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3669 transient errors.
3670 * nscd/grpcache.c (cache_addgr): Likewise.
3671 * nscd/hstcache.c (cache_addhst): Likewise.
3672 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3673 * nscd/pwdcache.c (cache_addpw): Likewise.
3674 * nscd/servicescache.c (cache_addserv): Likewise.
3675
400aa020
UD
36762012-01-16 Ulrich Drepper <drepper@gmail.com>
3677
d77e7869
UD
3678 * malloc/malloc.c: Various cleanups.
3679 * malloc/hooks.c: Likewise.
3680
400aa020
UD
3681 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3682 * stdlib/bug-fmtmsg1.c: New file.
3683
3684 * stdlib/fmtmsg.c (init): Add missing unlock.
3685 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3686
e0a309cf
MP
36872012-01-12 Marek Polacek <polacek@redhat.com>
3688
3689 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3690 and _GNU_SOURCE.
3691
929d11c7
WS
36922012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3693
3694 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3695 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3696 macro to ensure uniqueness of label name.
3697 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3698 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3699
41d0e869
UD
37002012-01-11 Ulrich Drepper <drepper@gmail.com>
3701
0cc5ed3b
UD
3702 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3703
41d0e869
UD
3704 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3705 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3706 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3708
a47a831a
UD
37092012-01-10 Ulrich Drepper <drepper@gmail.com>
3710
daa891c0
UD
3711 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3712
3713 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3714 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3715 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3716
e58ef0f2
UD
3717 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3718
a47a831a 3719 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3720 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3721 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3723
3724 * math/bits/math-finite.h: Add ldexp support.
3725
a0bfc9c7
MP
37262012-01-10 Marek Polacek <polacek@redhat.com>
3727
3728 * locale/programs/localedef.h (show_archive_content): Add noreturn
3729 attribute.
3730
d6e97a1d
UD
37312012-01-09 Ulrich Drepper <drepper@gmail.com>
3732
3733 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3734
d5835c26
UD
37352012-01-08 Ulrich Drepper <drepper@gmail.com>
3736
e5f484c6
UD
3737 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3738
d5835c26
UD
3739 * io/Makefile (headers): Add bits/poll2.h.
3740
d1f741e9
WS
37412011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3742
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3744 typo #include statement.
3745
ec09c1c4
UD
37462012-01-08 Ulrich Drepper <drepper@gmail.com>
3747
3748 * include/sys/cdefs.h: Define __attribute_alloc_size.
3749 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3750 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3751 * elf/pldd.c: Likewise.
3752 * iconv/iconv_charmap.c: Likewise.
3753 * iconv/iconvconfig.c: Likewise.
3754 * iconv/strtab.c: Likewise.
3755 * locale/programs/locale.c: Likewise.
3756 * locale/programs/localedef.h: Likewise.
3757 * locale/programs/simple-hash.c: Likewise.
3758 * nscd/nscd.h: Likewise.
3759 * nss/makedb.c: Likewise.
3760 * sysdeps/generic/ldconfig.h: Likewise.
3761 * locale/programs/localedef.c: Remove xmalloc prototype.
3762 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3763
20b38e03
PP
37642012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3765
3766 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3767 appropriate.
3768
a0da5fe1
UD
37692012-01-08 Ulrich Drepper <drepper@gmail.com>
3770
1d5a644a 3771 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3772 * math/tst-CMPLX.c: New file.
1d5a644a 3773
8784a6db
UD
3774 * math/complex.h (CMPLXL): Fix typo.
3775
d9a216c0
UD
3776 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3777 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3778 GLIBC_2.16.
3779 * debug/tst-chk1.c: Add poll and ppoll tests.
3780 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3781 * include/sys/poll.h: Add hidden proto for ppoll.
3782 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3783 * sysdeps/mach/hurd/ppoll.c: Likewise.
3784 * io/ppoll.c: Likewise.
3785 * debug/poll_chk.c: New file.
3786 * debug/ppoll_chk.c: New file.
3787 * include/bits/poll2.h: New file.
3788 * io/bits/poll2.h: New file.
3789
ac097f5c
UD
3790 [BZ #1350]
3791 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3792
2119dcfa
UD
3793 * configure.in: static is always set to yes. Remove.
3794 * config.make.in: Don't set build-static.
3795 * Makeconfig: Remove use of build-static.
3796 * dlfcn/Makefile: Likewise.
3797 * elf/Makefile: Likewise.
3798 * math/Makefile: Likewise.
3799 * misc/Makefile: Likewise.
3800 * nptl/Makefile: Likewise.
3801 * sysdeps/mach/hurd/Makefile: Likewise.
3802
121766a9
UD
3803 * configure.in: PWD_P is not used anymore.
3804 * config.make.in: Remove PWD_P entry.
3805
51a1d39c 3806 * configure.in: Remove last remnants of RANLIB.
8720d066 3807 No need to check for signed size_t anymore.
215f4bdc
UD
3808 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3809 and IA-64.
3857022a 3810 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3811 * aclocal.m4: Likewise.
3812
d3ed7225
UD
3813 * wcsmbs/mbrtoc16.c: Implement using towc function.
3814 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3815 * wcsmbs/wcsmbsload.c: Likewise.
3816 * iconv/gconv_simple.c: Likewise.
3817 * iconv/gconv_int.h: Likewise.
3818 * iconv/gconv_builtin.h: Likewise.
3819 * iconv/iconv_prog.c: Remove CHAR16 handling.
3820
3821 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3822
3823 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3824
a0da5fe1
UD
3825 * configure.in: Remove --with-elf and --enable-bounded options.
3826 Dont set base_machine for ia64. More non-ELF conditions removed.
3827 Remove testing and setting of leading underscore information.
3828 * config.make.in (build-bounded): Set to no.
3829 * config.h.in: Remove NO_UNDERSCORES entry.
3830 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3831 them.
3832 * csu/start.c: Remove !NO_UNDERSCORE code.
3833 * locale/localeinfo.h: Likewise.
3834 * sysdeps/generic/machine-gmon.h: Likewise.
3835 * sysdeps/generic/sysdep.h: Likewise.
3836 * sysdeps/i386/sysdep.h: Likewise.
3837 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3838 * sysdeps/mach/sysdep.h: Likewise.
3839 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3840 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3841 * sysdeps/sh/sysdep.h: Likewise.
3842 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3843 * sysdeps/unix/i386/sysdep.S: Likewise.
3844 * sysdeps/unix/sparc/start.c: Likewise.
3845 * sysdeps/unix/sparc/sysdep.S: Likewise.
3846 * sysdeps/unix/sparc/sysdep.h: Likewise.
3847 * sysdeps/unix/start.c: Likewise.
3848 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3849 * sysdeps/x86_64/sysdep.h: Likewise.
3850
df78418a
UD
38512012-01-07 Ulrich Drepper <drepper@gmail.com>
3852
a784e502
UD
3853 [BZ #13553]
3854 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3855 for non-gcc.
3856 * argp/argp-fmtstream.h: Use const instead __const.
3857 * argp/argp.h: Likewise.
3858 * assert/assert.h: Likewise.
3859 * bits/fenv.h: Likewise.
3860 * bits/sched.h: Likewise.
3861 * bits/sigset.h: Likewise.
3862 * bits/sigthread.h: Likewise.
3863 * catgets/nl_types.h: Likewise.
3864 * conform/data/pthread.h-data: Likewise.
3865 * crypt/crypt-private.h: Likewise.
3866 * crypt/crypt.h: Likewise.
3867 * crypt/crypt_util.c: Likewise.
3868 * ctype/ctype.h: Likewise.
3869 * debug/execinfo.h: Likewise.
3870 * debug/mbsnrtowcs_chk.c: Likewise.
3871 * debug/mbsrtowcs_chk.c: Likewise.
3872 * debug/wcsnrtombs_chk.c: Likewise.
3873 * debug/wcsrtombs_chk.c: Likewise.
3874 * debug/wcstombs_chk.c: Likewise.
3875 * dirent/dirent.h: Likewise.
3876 * dlfcn/dlfcn.h: Likewise.
3877 * elf/neededtest4.c: Likewise.
3878 * grp/grp.h: Likewise.
3879 * gshadow/gshadow.h: Likewise.
3880 * iconv/gconv.h: Likewise.
3881 * iconv/gconv_int.h: Likewise.
3882 * iconv/gconv_simple.c: Likewise.
3883 * iconv/iconv.h: Likewise.
3884 * iconv/loop.c: Likewise.
3885 * iconv/skeleton.c: Likewise.
3886 * include/aio.h: Likewise.
3887 * include/aliases.h: Likewise.
3888 * include/argz.h: Likewise.
3889 * include/arpa/inet.h: Likewise.
3890 * include/assert.h: Likewise.
3891 * include/dirent.h: Likewise.
3892 * include/dlfcn.h: Likewise.
3893 * include/execinfo.h: Likewise.
3894 * include/fcntl.h: Likewise.
3895 * include/fenv.h: Likewise.
3896 * include/glob.h: Likewise.
3897 * include/grp.h: Likewise.
3898 * include/libintl.h: Likewise.
3899 * include/mntent.h: Likewise.
3900 * include/netdb.h: Likewise.
3901 * include/pwd.h: Likewise.
3902 * include/rpc/netdb.h: Likewise.
3903 * include/sched.h: Likewise.
3904 * include/search.h: Likewise.
3905 * include/shadow.h: Likewise.
3906 * include/signal.h: Likewise.
3907 * include/stdio.h: Likewise.
3908 * include/stdlib.h: Likewise.
3909 * include/string.h: Likewise.
3910 * include/sys/socket.h: Likewise.
3911 * include/sys/stat.h: Likewise.
3912 * include/sys/statfs.h: Likewise.
3913 * include/sys/statvfs.h: Likewise.
3914 * include/sys/syslog.h: Likewise.
3915 * include/sys/time.h: Likewise.
3916 * include/sys/uio.h: Likewise.
3917 * include/time.h: Likewise.
3918 * include/unistd.h: Likewise.
3919 * include/utmp.h: Likewise.
3920 * include/wchar.h: Likewise.
3921 * include/wctype.h: Likewise.
3922 * inet/aliases.h: Likewise.
3923 * inet/arpa/inet.h: Likewise.
3924 * inet/netinet/ether.h: Likewise.
3925 * inet/netinet/in.h: Likewise.
3926 * intl/libintl.h: Likewise.
3927 * io/bits/fcntl2.h: Likewise.
3928 * io/fcntl.h: Likewise.
3929 * io/ftw.h: Likewise.
3930 * io/sys/poll.h: Likewise.
3931 * io/sys/stat.h: Likewise.
3932 * io/sys/statfs.h: Likewise.
3933 * io/sys/statvfs.h: Likewise.
3934 * io/utime.h: Likewise.
3935 * libio/bits/stdio.h: Likewise.
3936 * libio/bits/stdio2.h: Likewise.
3937 * libio/libio.h: Likewise.
3938 * libio/libioP.h: Likewise.
3939 * libio/stdio.h: Likewise.
3940 * locale/lc-ctype.c: Likewise.
3941 * locale/locale.h: Likewise.
3942 * login/utmp.h: Likewise.
3943 * malloc/arena.c: Likewise.
3944 * malloc/malloc.c: Likewise.
3945 * malloc/malloc.h: Likewise.
3946 * malloc/mcheck.c: Likewise.
3947 * malloc/mtrace.c: Likewise.
3948 * math/bits/mathcalls.h: Likewise.
3949 * math/fenv.h: Likewise.
3950 * math/math_private.h: Likewise.
3951 * misc/bits/error.h: Likewise.
3952 * misc/bits/syslog.h: Likewise.
3953 * misc/err.h: Likewise.
3954 * misc/error.h: Likewise.
3955 * misc/fstab.h: Likewise.
3956 * misc/mntent.h: Likewise.
3957 * misc/regexp.h: Likewise.
3958 * misc/search.h: Likewise.
3959 * misc/sgtty.h: Likewise.
3960 * misc/sys/mman.h: Likewise.
3961 * misc/sys/syslog.h: Likewise.
3962 * misc/sys/uio.h: Likewise.
3963 * misc/sys/xattr.h: Likewise.
3964 * misc/ttyent.h: Likewise.
3965 * nis/rpcsvc/ypclnt.h: Likewise.
3966 * nss/nss.h: Likewise.
3967 * posix/bits/unistd.h: Likewise.
3968 * posix/fnmatch.h: Likewise.
3969 * posix/glob.h: Likewise.
3970 * posix/sched.h: Likewise.
3971 * posix/spawn.h: Likewise.
3972 * posix/sys/wait.h: Likewise.
3973 * posix/unistd.h: Likewise.
3974 * posix/wordexp.h: Likewise.
3975 * pwd/pwd.h: Likewise.
3976 * resolv/netdb.h: Likewise.
3977 * resource/sys/resource.h: Likewise.
3978 * rt/aio.h: Likewise.
3979 * rt/bits/mqueue2.h: Likewise.
3980 * rt/mqueue.h: Likewise.
3981 * shadow/shadow.h: Likewise.
3982 * signal/signal.h: Likewise.
3983 * socket/send.c: Likewise.
3984 * socket/sendto.c: Likewise.
3985 * socket/sys/socket.h: Likewise.
3986 * stdio-common/printf.h: Likewise.
3987 * stdlib/bits/stdlib.h: Likewise.
3988 * stdlib/fmtmsg.h: Likewise.
3989 * stdlib/monetary.h: Likewise.
3990 * stdlib/stdlib.h: Likewise.
3991 * stdlib/ucontext.h: Likewise.
3992 * streams/stropts.h: Likewise.
3993 * string/argz.h: Likewise.
3994 * string/bits/string2.h: Likewise.
3995 * string/string.h: Likewise.
3996 * string/strings.h: Likewise.
3997 * sunrpc/rpc/auth.h: Likewise.
3998 * sunrpc/rpc/auth_des.h: Likewise.
3999 * sunrpc/rpc/clnt.h: Likewise.
4000 * sunrpc/rpc/netdb.h: Likewise.
4001 * sunrpc/rpc/pmap_clnt.h: Likewise.
4002 * sunrpc/rpc/xdr.h: Likewise.
4003 * sysdeps/generic/inttypes.h: Likewise.
4004 * sysdeps/generic/net/if.h: Likewise.
4005 * sysdeps/generic/sys/swap.h: Likewise.
4006 * sysdeps/gnu/net/if.h: Likewise.
4007 * sysdeps/gnu/utmpx.h: Likewise.
4008 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4009 * sysdeps/i386/i486/bits/string.h: Likewise.
4010 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4011 * sysdeps/s390/bits/string.h: Likewise.
4012 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4013 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4014 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4015 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4016 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4017 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4018 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4019 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4020 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4021 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4022 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4023 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4024 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4025 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4026 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4027 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4028 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4029 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4030 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4031 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4032 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4033 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4034 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4035 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4036 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4037 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4038 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4039 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4040 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4041 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4042 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4043 * sysvipc/sys/ipc.h: Likewise.
4044 * sysvipc/sys/msg.h: Likewise.
4045 * sysvipc/sys/sem.h: Likewise.
4046 * sysvipc/sys/shm.h: Likewise.
4047 * termios/termios.h: Likewise.
4048 * time/sys/time.h: Likewise.
4049 * time/time.h: Likewise.
4050 * wcsmbs/bits/wchar2.h: Likewise.
4051 * wcsmbs/uchar.h: Likewise.
4052 * wcsmbs/wchar.h: Likewise.
4053 * wctype/wctype.h: Likewise.
4054
0269750c
UD
4055 [BZ #13551]
4056 * Makeconfig: Remove all but ELF support including AIX support.
4057 * Makerules: Likewise.
4058 * config.h.in: Likewise.
4059 * config.make.in: Likewise.
4060 * configure: Likewise.
4061 * configure.in: Likewise.
4062 * csu/Makefile: Likewise.
4063 * csu/version.c: Likewise.
4064 * debug/Makefile: Likewise.
4065 * dlfcn/Makefile: Likewise.
4066 * elf/Makefile: Likewise.
4067 * extra-lib.mk: Likewise.
4068 * iconv/Makefile: Likewise.
4069 * include/libc-symbols.h: Likewise.
4070 * include/shlib-compat.h: Likewise.
4071 * resolv/Makefile: Likewise.
4072 * resolv/res_libc.c: Likewise.
4073 * rt/Makefile: Likewise.
4074 * sysdeps/i386/asm-syntax.h: Likewise.
4075 * sysdeps/i386/sysdep.h: Likewise.
4076 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4077 * sysdeps/mach/sysdep.h: Likewise.
4078 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4079 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4080 * sysdeps/s390/asm-syntax.h: Likewise.
4081 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4082 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4083 * sysdeps/sh/sysdep.h: Likewise.
4084 * sysdeps/unix/sparc/sysdep.h: Likewise.
4085 * sysdeps/wordsize-32/divdi3.c: Likewise.
4086 * sysdeps/x86_64/sysdep.h: Likewise.
4087
00bbd29b
UD
4088 * argp/Versions: Remove _argp_unlock_xxx.
4089
4090 [BZ #13559]
4091 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4092 * abilist/libBrokenLocale.abilist: Likewise.
4093 * abilist/libanl.abilist: Likewise.
4094 * abilist/libc.abilist: Likewise.
4095 * abilist/libcrypt.abilist: Likewise.
4096 * abilist/libdl.abilist: Likewise.
4097 * abilist/libm.abilist: Likewise.
4098 * abilist/libnsl.abilist: Likewise.
4099 * abilist/libpthread.abilist: Likewise.
4100 * abilist/libresolv.abilist: Likewise.
4101 * abilist/librt.abilist: Likewise.
4102 * abilist/libthread_db.abilist: Likewise.
4103 * abilist/libutil.abilist: Likewise.
4104 * abilist/libnss_db.abilist: New file.
4105
4106 * scripts/abilist.awk: Add support for indirect functions.
4107
a2693a0e
UD
4108 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4109
3f05895f
UD
4110 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4111
ecb6fb48
UD
4112 * shlib-versions: Remove entries for ports architectures.
4113
664f8cb9
UD
4114 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4115 files in ports.
4116 * elf/stackguard-macros.h: Remove support for IA-64.
4117 * elf/tst-auditmod1.c: Likewise.
4118 * sysdeps/generic/ldsodefs.h: Likewise.
4119
7ae81d88
UD
4120 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4121 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4122 configure files.
4123
bdeba135
UD
4124 [BZ #13552]
4125 * configure.in: Remove --enable-omitfp support.
4126 * FAQ.in: Adjust.
4127 * config.make.in: Likewise.
4128 * Makeconfig: Likewise.
4129 * manual/install.texi: Likewise.
4130
d75a0a62
UD
4131 In case anyone cares, the IA-64 architecture could move to ports.
4132 * sysdeps/ia64/*: Removed.
4133 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4134 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4135
dcc9756b
UD
4136 [BZ #13555]
4137 * configure.in: Remove entries for unsupported architectures.
4138
d3761ebc 4139 [BZ #13533]
9954432e
UD
4140 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4141 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4142 routines.
4143 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4144 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4145 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4146 fall back to using wcrtomb.
4147 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4148 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4149 renaming.
4150 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4151 * wcsmbs/tst-c16c32-1.c: New file.
4152
4153 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4154 local variable.
4155
c3a87236
UD
4156 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4157
28926a1b
UD
4158 * elf/tst-unique3.cc: Add explicit declaration of gets.
4159 * elf/tst-unique3lib.cc: Likewise.
4160 * elf/tst-unique3lib2.cc: Likewise.
4161 * elf/tst-unique4.cc: Likewise.
4162
df78418a
UD
4163 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4164
8ecd6b2a
JM
41652012-01-06 Joseph Myers <joseph@codesourcery.com>
4166
4167 [BZ #13566]
4168 * assert/assert.h (static_assert): Don't define for C++.
4169 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4170 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4171
9f115170
UD
41722012-01-03 Ulrich Drepper <drepper@gmail.com>
4173
5e0d0300
UD
4174 * iconv/loop.c (single loop): Fix assertion in storing of
4175 remaining bytes.
4176
9f115170
UD
4177 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4178
81fb02b0
UD
41792012-01-01 Ulrich Drepper <drepper@gmail.com>
4180
4181 * posix/getconf.c: Update copyright year.
4182 * nss/getent.c: Likewise.
a316c1f6 4183 * nss/makedb.c: Likewise.
81fb02b0
UD
4184 * iconv/iconvconfig.c: Likewise.
4185 * iconv/iconv_prog.c: Likewise.
4186 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4187 * elf/pldd.c: Likewise.
4188 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4189 * catgets/gencat.c: Likewise.
4190 * csu/version.c: Likewise.
4191 * elf/ldd.bash.in: Likewise.
4192 * elf/sprof.c (print_version): Likewise.
4193 * locale/programs/locale.c: Likewise.
4194 * locale/programs/localedef.c: Likewise.
a316c1f6 4195 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4196 * nscd/nscd.c (print_version): Likewise.
4197 * debug/xtrace.sh: Likewise.
4198 * malloc/memusage.sh: Likewise.
4199 * malloc/mtrace.pl: Likewise.
4200 * debug/catchsegv.sh: Likewise.
4201
2ba92745
JJ
42022011-12-30 Jakub Jelinek <jakub@redhat.com>
4203
4204 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4205 pure attribute.
4206
dadebdae
UD
42072011-12-24 Ulrich Drepper <drepper@gmail.com>
4208
d3761ebc 4209 [BZ #13533]
db6af3eb
UD
4210 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4211 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4212 transformations.
4213 * iconv/gconv_int.h: Likewise.
4214 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4215 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4216 from libc for GLIBC_2.16.
4217 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4218 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4219 * wcsmbs/uchar.h: Really define mbstate_t.
4220 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4221 * wcsmbs/c16rtomb.c: New file.
4222 * wcsmbs/mbrtoc16.c: New file.
4223 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4224 for C/POSIX locale.
4225 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4226 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4227
dadebdae
UD
4228 * wcsmbs/wchar.h: Add missing __restrict.
4229
67371b56
UD
42302011-12-23 Ulrich Drepper <drepper@gmail.com>
4231
74033a25
UD
4232 [BZ #13532]
4233 * time/Makefile (routines): Add timespec_get.
4234 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4235 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4236 timespec for ISO C11.
4237 * time/timespec_get.c: New file.
4238 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4239 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4240
380d7e87
UD
4241 [BZ #13531]
4242 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4243 * stdlib/stdlib.h: Declare aligned_alloc.
4244 * Versions.def: Add GLIBC_2.16 for libc.
4245 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4246
4e9e7a35
UD
4247 [BZ 13527]
4248 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4249 ISO C11.
4250
380d7e87 4251 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4252 code.
4253
03a71829
UD
4254 [BZ #13528]
4255 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4256
839e283e
UD
4257 [BZ #13529]
4258 * assert/assert.h (static_assert): Define.
4259
ce5294e2 4260 * version.h: Update for 2.16 development version.
90fa7312 4261
8d44e150 4262 [BZ #13526]
d7809905
UD
4263 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4264 _ISOC11_SOURCE.
4265
c0da14cd
UD
4266 * version.h (RELEASE): Bump for 2.15 release.
4267 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4268
530a3249
MP
4269 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4270 Patch by Marek Polacek <mpolacek@redhat.com>.
4271
67371b56
UD
4272 * bits/byteswap.h: Protect long long constants with __extension__.
4273 * sysdeps/i386/bits/byteswap.h: Likewise.
4274 * sysdeps/ia64/bits/byteswap.h: Likewise.
4275 * sysdeps/s390/bits/byteswap.h: Likewise.
4276 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4277
15db4de1
LD
42782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4279
4280 [BZ #13540]
bbe315ea
LD
4281 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4282 destination buffer.
15db4de1
LD
4283 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4284
2b2596b1
MP
42852011-12-23 Marek Polacek <polacek@redhat.com>
4286
4287 * elf/dl-addr.c (determine_info): Add inline keyword.
4288 * elf/tst-auditmod4b.c (check_avx): Likewise.
4289 * elf/tst-auditmod6b.c (check_avx): Likewise.
4290 * elf/tst-auditmod6c.c (check_avx): Likewise.
4291 * elf/tst-auditmod7b.c (check_avx): Likewise.
4292
70c6c246
UD
42932011-12-23 Ulrich Drepper <drepper@gmail.com>
4294
4295 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4296 !__SSE_MATH__.
4297
c044cf14
LD
42982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4299
15db4de1 4300 [BZ #13540]
c044cf14
LD
4301 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4302 processing for last bytes.
4303
6b13d9d9
BH
43042011-08-06 Bruno Haible <bruno@clisp.org>
4305
d455f537
BH
4306 [BZ #13061]
4307 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4308 U+0385, not to U+1FEE.
4309
6b13d9d9
BH
4310 [BZ #13062]
4311 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4312 entry for U+00A5 U+0301.
4313
db910efd
UD
43142011-12-22 Ulrich Drepper <drepper@gmail.com>
4315
27deeafc
UD
4316 [BZ #13166]
4317 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4318 buffer for the output is too small.
4319
aed9d171
UD
4320 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4321 optimization.
4322
db910efd
UD
4323 [BZ #13185]
4324 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4325 SSE flags if possible.
4326
2bd779ae
LD
43272011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4328
e7f9dac3 4329 [BZ #13540]
2bd779ae
LD
4330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4331 processing for last bytes.
4332
154bfc16
JM
43332011-12-22 Joseph Myers <joseph@codesourcery.com>
4334
4335 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4336 (syscall-list-default-options, syscall-list-default-condition)
4337 (syscall-list-includes): Define.
4338 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4339 list of ABIs and options and #if conditions for each ABI. Do not
4340 handle common syscalls between ABIs specially.
4341 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4342 Remove.
4343 (syscall-list-variants, syscall-list-32bit-options)
4344 (syscall-list-32bit-condition, syscall-list-64bit-options)
4345 (syscall-list-64bit-condition): Define.
4346 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4347 (syscall-list-variants, syscall-list-32bit-options)
4348 (syscall-list-32bit-condition, syscall-list-64bit-options)
4349 (syscall-list-64bit-condition): Define.
4350 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4351 Remove.
4352 (syscall-list-variants, syscall-list-32bit-options)
4353 (syscall-list-32bit-condition, syscall-list-64bit-options)
4354 (syscall-list-64bit-condition): Define.
4355 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4356 Remove.
4357 (syscall-list-variants, syscall-list-32bit-options)
4358 (syscall-list-32bit-condition, syscall-list-64bit-options)
4359 (syscall-list-64bit-condition): Define.
4360
21eaf3a5
UD
43612011-12-22 Ulrich Drepper <drepper@gmail.com>
4362
16c6f992
UD
4363 * locale/iso-639.def: Add brx entry.
4364
41043168
UD
4365 [BZ #13328]
4366 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4367 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4368
21eaf3a5
UD
4369 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4370 __feraiseexcept_renamed.
4371
e3a851a2
UD
43722011-12-21 Ulrich Drepper <drepper@gmail.com>
4373
4920765e
UD
4374 [BZ #13538]
4375 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4376 EPOLLET with unsigned values.
4377 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4378 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4379
e3a851a2
UD
4380 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4381 to large cancellation.
4382 * math/s_cacoshf.c: Likewise.
4383 * math/s_cacoshl.c: Likewise.
4384
b27e24b8
RK
43852011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4386
4387 [BZ #13305]
aebefeee 4388 [BZ #12786]
b27e24b8
RK
4389 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4390 * math/s_cacoshf.c: Likewise.
4391 * math/s_cacoshl.c: Likewise.
4392
ee190f67
UD
43932011-12-21 Ulrich Drepper <drepper@gmail.com>
4394
4395 [BZ #13439]
4396 * iconv/gconv.h: Define __GCONV_SWAP.
4397 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4398 * iconvdata/utf-16.c: Likewise.
4399 * iconvdata/utf-32.c: Likewise.
4400
707f25df
AS
44012011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4402
4403 [BZ #13524]
4404 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4405 numerator after shifting it by one limb.
4406
d2daaa1e
RÁE
44072011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4408
4409 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4410 under [__USE_EXTERN_INLINES].
4411
a4647e72
UD
44122011-12-17 Ulrich Drepper <drepper@gmail.com>
4413
4414 [BZ #13446]
4415 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4416
f0b264f1
AZ
44172011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4418
4419 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4420 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4421 optimized code.
4422 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4423 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4424 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4425 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4426 for strncasecmp/strncasecmp_l compilation.
4427 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4428 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4429
8ef4f244
MP
44302011-12-08 Marek Polacek <mpolacek@redhat.com>
4431
4432 [BZ #13484]
4433 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4434 of __asm__.
4435
97ac2654
UD
44362011-12-17 Ulrich Drepper <drepper@gmail.com>
4437
4438 [BZ #13506]
4439 * time/tzfile.c (__tzfile_read): Check values from file header.
4440
91d2a845
WS
44412011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4442
4443 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4444 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4445 * powerpc/powerpc32/dl-start.S: Likewise.
4446 * powerpc/powerpc32/elf/start.S: Likewise.
4447 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4448 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4449 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4450 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4451 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4452 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4453 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4454 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4455 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4456 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4457 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4458 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4459 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4460 * powerpc/powerpc32/memset.S: Likewise.
4461 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4462 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4463 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4464 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4465 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4466 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4467 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4468 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4469 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4470 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4471 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4472 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4473 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4474
a1267ba1
AZ
44752011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4476
4477 * math/libm-test.inc: Added more nearbyint tests.
4478 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4479 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4480 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4482
ad8ac1bd
RL
44832011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4484
4485 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4486 FD_CLOEXEC.
4487
1d3e4b61
UD
44882011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4489
4490 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4491 Add wcscpy-ssse3 wcscpy-c.
4492 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4493 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4494 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4495 * sysdeps/x86_64/wcschr.S: New file.
4496 * sysdeps/x86_64/wcsrchr.S: New file.
4497 * string/test-strcmp.c: Remove checking of wcscmp function for
4498 wrong alignments.
4499 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4500 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4501 wcsrchr-sse2 wcsrchr-c.
4502 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4503 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4504 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4505 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4506 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4507 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4508 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4509 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4510 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4511 * wcsmbc/wcschr.c (WCSCHR): New macro.
4512
5b330a2d
UD
45132011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4514
4515 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4516 * wcsmbs/test-wcsrchr.c: New file.
4517 * string/test-strrchr.c: Add wcsrchr support.
4518 (WIDE): New macro.
4519 * wcsmbs/test-wcscpy.c: New file.
4520 * string/test-strcpy.c: Add wcscpy support.
4521 (WIDE): New macro.
26428b7c 4522
f039c043
UD
45232011-12-10 Ulrich Drepper <drepper@gmail.com>
4524
4525 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4526 the inner loop.
4527
850fb039
AS
45282011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4529
4530 [BZ #13472]
4531 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4532
4efbd5cb
UD
45332011-12-04 Ulrich Drepper <drepper@gmail.com>
4534
52ff5dd0 4535 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4536 Minor optimizations.
52ff5dd0 4537
4efbd5cb
UD
4538 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4539 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4540 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4541
8a426e12
UD
45422011-12-03 Ulrich Drepper <drepper@gmail.com>
4543
aff2453d
UD
4544 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4545 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4546 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4547 for gcc to avoid warnings.
4548 * inet/Makefile (tests): Add tst-checks.
4549 * inet/tst-checks.c: New file.
4550
4551 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4552 warning.
4553
4554 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4555 __wmemcmp_sse2.
4556
4557 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4558 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4559
8a426e12
UD
4560 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4561
9bea3473
UD
45622011-12-02 Ulrich Drepper <drepper@gmail.com>
4563
3a965496
UD
4564 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4565 problem.
4566
9bea3473
UD
4567 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4568
f101631b
UD
45692011-11-29 Joseph Myers <joseph@codesourcery.com>
4570
4571 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4572 conditional on GCC version.
4573 (__arch_compare_and_exchange_val_8_acq)
4574 (__arch_compare_and_exchange_val_16_acq)
4575 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4576 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4577 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4578
a98275aa
UD
45792011-12-02 Joseph Myers <joseph@codesourcery.com>
4580
4581 * sysdeps/sh/backtrace.c: New file.
4582
d4cc29a2
AS
45832011-12-02 Andreas Schwab <schwab@redhat.com>
4584
4585 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4586 parenthesis.
4587
6257af2d
AS
45882011-12-01 Andreas Schwab <schwab@redhat.com>
4589
4590 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4591 falling back to utime.
4592
b5f44c1a
AS
45932011-11-30 Andreas Schwab <schwab@redhat.com>
4594
4595 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4596 expectations for float.
4597
f3a6cc0a
AS
45982011-11-29 Andreas Schwab <schwab@redhat.com>
4599
4600 * locale/weight.h (findidx): Add parameter len.
4601 * locale/weightwc.h (findidx): Likewise.
4602 * posix/fnmatch_loop.c (FCT): Adjust caller.
4603 * posix/regcomp.c (build_equiv_class): Likewise.
4604 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4605 * posix/regexec.c (check_node_accept_bytes): Likewise.
4606 * string/strcoll_l.c (STRCOLL): Likewise.
4607 * string/strxfrm_l.c (STRXFRM): Likewise.
4608
9d65ea3a
UD
46092011-11-17 Ulrich Drepper <drepper@gmail.com>
4610
4611 * Makefile.in: Remove CVSOPT handling.
4612 * configure.in: Remove use of AC_REVISION.
4613 * iconvdata/Makefile (distribute): No need to filter out CVS.
4614 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4615 handling.
4616
5583a086
AS
46172011-11-16 Andreas Schwab <schwab@redhat.com>
4618
4619 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4620 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4621 [USE_AS_STRNCASECMP_L]: Likewise.
4622 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4623 NO_TLS_DIRECT_SEG_REFS.
4624 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4625 Fix argument offsets for non-PIC.
4626 [USE_AS_STRNCASECMP_L]: Likewise.
4627 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4628 NO_TLS_DIRECT_SEG_REFS.
4629
d62a8200
UD
46302011-11-15 Ulrich Drepper <drepper@gmail.com>
4631
9d65ea3a 4632 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4633 O_CLOEXEC.
4634 * locale/loadlocale.c (_nl_load_locale): Likewise.
4635
09f93bd3
AS
46362011-11-15 Andreas Schwab <schwab@redhat.com>
4637
446514f9
AS
4638 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4639 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4640 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4641 (SYSCALL_GETTIME): Set errno on error.
4642
09f93bd3
AS
4643 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4644 count references to noai6ai_cached.
4645
312be3f9
UD
46462011-11-15 Ulrich Drepper <drepper@gmail.com>
4647
4648 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4649
4650 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4651 FD_CLOEXEC for /proc/self/maps.
4652
4653 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4654 FD_CLOEXEC for /proc/meminfo.
4655
4656 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4657 gai.conf.
4658
4659 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4660 FD_CLOEXEC for given file.
4661
4662 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4663
4664 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4665 FD_CLOEXEC for /etc/hosts.
4666 (_gethtent): Likewise.
4667
4668 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4669
4670 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4671 cancellation and set FD_CLOEXEC for /etc/netgroup.
4672
4673 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4674 reading /etc/publickey.
4675
4676 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4677 allow cancellation when reading /etc/group.
4678
4679 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4680 cancellation.
4681 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4682
4683 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4684 when using data file.
4685
4686 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4687
4688 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4689 (write_nis_obj): Use "c" and "e" in fopen.
4690
4691 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4692
4693 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4694
4695 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4696
4697 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4698
4699 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4700 locale.alias.
4701
4702 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4703
4704 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4705
4706 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4707
4708 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4709 file parsing and set FD_CLOEXEC.
4710
82af0fa8
UD
47112011-11-14 Ulrich Drepper <drepper@gmail.com>
4712
4713 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4714
a5fb313c
AS
47152011-11-14 Andreas Schwab <schwab@redhat.com>
4716
4717 * malloc/arena.c (arena_get2): Don't call reused_arena when
4718 _int_new_arena failed.
4719
6abf3465
UD
47202011-11-14 Ulrich Drepper <drepper@gmail.com>
4721
4722 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4723 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4724 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4725 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4726 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4727 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4728 to compile strcasecmp and strncasecmp.
4729 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4730 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4731
4732 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4733
76e3966e
UD
47342011-11-13 Ulrich Drepper <drepper@gmail.com>
4735
4736 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4737 locale-defines.sym to gen-as-const-headers.
4738 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4739 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4740 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4741 to compile strcasecmp and strncasecmp.
4742 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4743 strcasecmp_l and strncasecmp_l.
4744 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4745 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4746 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4747 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4748 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4749 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4750 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4751 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4752 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4753 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4754 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4755
ab26144e
UD
47562011-11-12 Ulrich Drepper <drepper@gmail.com>
4757
7edb22ef
UD
4758 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4759 result of SYSDEP_GETTIME_CPU to retval.
4760 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4761 parameter list to macro. Remove trailing semicolon. Adjust users.
4762
9694fc44
UD
4763 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4764 variable.
4765
8ad89ef8
UD
4766 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4767 mantissa words.
4768 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4769
0c822ef9
UD
4770 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4771 from unused variable.
4772
874e0564
UD
4773 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4774 DWARF definitions.
4775 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4776 for assembling.
4777
3a2edc79
UD
4778 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4779 over namespaces.
4780
f3c2577f
UD
4781 * sunrpc/rpc_prot.c (rejected): Fix case value.
4782
294ce126
UD
4783 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4784 unsigned long long int to avoid warnings in shift.
4785
5e2b63c6
UD
4786 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4787 of use of trans.
4788 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4789 variable tmp.
4790
e7f4b08e
UD
4791 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4792 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4793 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4794
ab26144e
UD
4795 * nis/nis_table.c (nis_list): Use variable of correct type for
4796 result of __follow_path call.
4797
8a6d5255
AZ
47982011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4799
4800 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4801 of math functions ceil, trunc, floor, round, and sqrt, when
4802 avaliable on the platform.
4803 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4804 name clash.
4805 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4806 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4807 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4808
aaddc98c
MP
48092011-10-30 Marek Polacek <mpolacek@redhat.com>
4810
4811 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4812 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4813
95b7042b
RM
48142011-11-11 Roland McGrath <roland@hack.frob.com>
4815
4816 * include/unistd.h: Fix __readlink return type.
4817 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4818
57769839
UD
48192011-11-11 Ulrich Drepper <drepper@gmail.com>
4820
4821 * stdlib/ucontext.h: Undo last change for makecontext.
4822
edc5984d
AS
48232011-11-11 Andreas Schwab <schwab@redhat.com>
4824
98591e58
AS
4825 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4826
edc5984d
AS
4827 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4828 * setjmp/setjmp.h: Mark functions as non-leaf.
4829 * setjmp/bits/setjmp2.h: Likewise.
4830 * stdlib/ucontext.h: Likewise.
4831
77cdc054
AS
48322011-11-10 Andreas Schwab <schwab@redhat.com>
4833
4834 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4835 (reused_arena): Don't check arena limit.
4836 (arena_get2): Atomically check arena limit.
4837
fe72eebd
UD
48382011-11-08 Ulrich Drepper <drepper@gmail.com>
4839
5f078c32
UD
4840 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4841 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4842
fe72eebd
UD
4843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4844 instructions.
4845
ae1bc2fa
AS
48462011-11-07 Andreas Schwab <schwab@redhat.com>
4847
7583a88d
AS
4848 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4849 handler when locking.
4850
ae1bc2fa
AS
4851 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4852 Fix size of allocated buffer.
4853
10fb0bfa
AS
48542011-11-04 Andreas Schwab <schwab@redhat.com>
4855
998832a4
AS
4856 [BZ #10103]
4857 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4858 declarations for long double functions.
4859 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4860
10fb0bfa
AS
4861 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4862
3d7ba52b
AS
48632011-11-03 Andreas Schwab <schwab@redhat.com>
4864
a9ae54a1
AS
4865 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4866 installed.
4867
3d7ba52b
AS
4868 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4869 is disabled.
4870
bc8db248
ST
48712011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4872
4873 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4874
45b96dd6
AS
48752011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4876
647776f6
AS
4877 * include/alloca.h (stackinfo_alloca_round): Define.
4878 (extend_alloca): Use it.
4879 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4880 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4881 here.
4882
d91a8b93
AS
4883 * scripts/check-local-headers.sh: Ignore libaudit.h.
4884
45b96dd6
AS
4885 * nscd/Makefile (extra-objs): Make recursively expanded.
4886
432d41ce
UD
48872011-11-01 Ulrich Drepper <drepper@gmail.com>
4888
34372fc6
UD
4889 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4890 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4891
fadb59f8
UD
4892 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4893 * posix/tst-rfc3484-2.c: Likewise.
4894 * posix/tst-rfc3484-3.c: Likewise.
4895
78239589
UD
4896 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4897 process_vm_writev.
4898 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4899 process_vm_writev.
4900 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4901 process_vm_writev from libc using GLIBC_2.15 version.
4902
432d41ce
UD
4903 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4904
02f9c6cf
PP
49052011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4906
4907 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4908 stack usage.
4909
3a2c0242
UD
49102011-10-31 Ulrich Drepper <drepper@gmail.com>
4911
f4ec4833
UD
4912 [BZ #13367]
4913 * nss/getent.c (initgroups_keys): Show error message in case no group
4914 names are given.
4915
3a2c0242
UD
4916 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4917 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4918 __bump_nl_timestamp.
4919 * nscd/connections (nscd_init): When host database is served open
4920 netlink socket and request notification about configuration changes.
4921 (main_loop_poll): Track netlink file descriptor and bump timestamp
4922 in case data becomes available.
4923 (main_loop_epoll): Likewise.
4924 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4925 (database_pers_head): Add extra_data fileds.
4926 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4927 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4928 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4929 Adjust caller.
4930 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4931 in6ai data, call __free_in6ai.
4932 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4933 Add -DHAVE_NETLINK.
4934 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4935 interface information. Reuse previous data if netlink timestamp
4936 is not changed.
4937 (__bump_nl_timestamp): New function.
4938 (__free_in6ai): New function.
4939
636064eb
UD
49402011-10-30 Ulrich Drepper <drepper@gmail.com>
4941
4942 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4943 close_not_cancel_no_status here.
4944 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4945
9beb2334
UD
49462011-10-29 Ulrich Drepper <drepper@gmail.com>
4947
6ef76f3b
UD
4948 [BZ #13276]
4949 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4950 return value.
4951
0ffc4f3e 4952 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4953 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4954 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4955
cb95113e
UD
49562011-07-03 Andreas Jaeger <aj@suse.de>
4957
4958 [BZ #10709]
4959 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4960 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4961 * math/libm-test.inc (sin_test): Add test case.
4962
a1b560ff
UD
49632011-10-29 Ulrich Drepper <drepper@gmail.com>
4964
c9aaface
UD
4965 [BZ #13337]
4966 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4967 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4968
d272e7f1
UD
4969 * elf/chroot_canon.c (chroot_canon): Cleanups.
4970
1bc33071
UD
4971 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4972
1760874d
TJ
4973 [BZ #13335]
4974 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4975 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4976
51d91b18
UD
4977 * string/test-strchr.c: Make usable for strchrnul testing.
4978 * string/test-strchrnul.c: New file.
4979 * string/Makefile (strop-tests): Add strchrnul.
4980
a1b560ff 4981 * po/it.po: Update from translation team.
b611fb81 4982 * po/es.po: Likewise.
a1b560ff 4983
a5b81e1f
UD
49842011-10-28 Ulrich Drepper <drepper@gmail.com>
4985
fd52bc6d
UD
4986 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4987 the three constants needed as parameters. Drop the others.
4988 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4989 __m128i_strloadu_tolower.
52e4b9eb
UD
4990 Create and initialize variable zero and use it in all the places
4991 where _mm_setzero_si128 was used.
fd52bc6d 4992
a5b81e1f
UD
4993 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4994 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4995 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4996 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4997 anymore.
4998 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4999 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5000 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5001 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5002 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5003 __mpranred, __mptan.
5004 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5005 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5006 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5007 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5008 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5009 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5010 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5011 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5012 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5013
b4343346
AS
50142011-10-28 Andreas Schwab <schwab@redhat.com>
5015
0c92d8a8
AS
5016 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5017 redefine if SHARED.
5018 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5019
b4343346
AS
5020 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5021 wide char related routines to wcsmbs subdir.
5022
3871f58f
AS
50232011-10-27 Andreas Schwab <schwab@redhat.com>
5024
5025 [BZ #13344]
5026 * misc/sys/cdefs.h (__THROWNL): Define.
5027 * posix/unistd.h: Use __THREADNL instead of __THREAD
5028 for memory synchronization functions.
5029
94d44d9f
RM
50302011-10-26 Roland McGrath <roland@hack.frob.com>
5031
21b64b15 5032 [BZ #13349]
94d44d9f
RM
5033 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5034 doesn't exist.
5035 * manual/stdio.texi (Obstack Streams): Node removed.
5036
f6ce9294
AS
50372011-10-26 Andreas Schwab <schwab@redhat.com>
5038
80479147
AS
5039 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5040 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5041 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5042
f6ce9294
AS
5043 * math/math_private.h (math_force_eval): Allow non-addressable
5044 arguments.
5045 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5046
618280a1
UD
50472011-10-25 Ulrich Drepper <drepper@gmail.com>
5048
e0016b11
UD
5049 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5050 file is not needed.
5051
5052 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5053 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5054 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5055 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5056 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5057 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5058 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5059 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5060 Add AVX variants.
5061 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5062 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5063 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5064 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5065 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5066 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5067 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5068 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5069 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5070 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5071 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5072 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5073 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5074 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5075 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5076 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5077 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5078 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5079 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5080
5081 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5082 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5083
618280a1
UD
5084 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5085 place. Use VEX encoding when compiling for AVX.
5086
37822576
AS
50872011-10-25 Andreas Schwab <schwab@redhat.com>
5088
1f1e1947
AS
5089 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5090 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5091
37822576
AS
5092 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5093
31ea014d
UD
50942011-10-25 Ulrich Drepper <drepper@gmail.com>
5095
d7826aa1 5096 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5097 useless if() expression.
d7826aa1
UD
5098 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5099 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5100 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5101 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5102 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5103 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5104 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5105 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5106 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5107 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5108 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5109 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5110 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5111 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5112 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5113 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5114 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5115 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5116 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5117
31ea014d
UD
5118 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5119
16437fec
AS
51202011-10-25 Andreas Schwab <schwab@redhat.com>
5121
5122 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5123 condition.
5124 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5125
31d3cc00
UD
51262011-10-25 Ulrich Drepper <drepper@gmail.com>
5127
5128 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5129 .text section. Avoid duplicate constants.
5130 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5131 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5132 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5134 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5137 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5138 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5139 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5140 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5141 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5142 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5143 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5145 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5147 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5148 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5150 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5151 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5152 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5153 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5154 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5155 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5156 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5157 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5158 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5159 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5160 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5161 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5162 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5163 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5164 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5165 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5166 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5167 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5168 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5169 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5170 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5171 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5172 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5173 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5174 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5175
58985aa9
UD
51762011-10-24 Ulrich Drepper <drepper@gmail.com>
5177
202c9deb
UD
5178 * sysdeps/x86_64/dla.h: Move to ...
5179 * sysdeps/x86_64/fpu/dla.h: ...here.
5180 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5181 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5182
af968f62
UD
5183 * config.make.in: Add have-mfma4 entry.
5184 * configure.in: Substitute libc_cv_cc_fma4.
5185 * math/Makefile (dbl-only-routines): Add sincostab.
5186 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5187 Use __sincostab not sincos.
5188 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5189 name is a macro.
5190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5194 using __copysign.
5195 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5196 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5197 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5198 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5199 and __inv.
5200 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5201 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5202 __copysign.
5203 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5204 define aliases when function name is a macro.
5205 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5206 sysdeps/ieee754/dbl-64/sincos.tbl.
5207 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5208 fma4-enabled routines.
5209 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5210 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5211 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5212 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5213 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5214 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5215 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5216 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5217 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5218 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5219 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5220 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5221 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5222 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5223 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5224 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5225 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5226 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5227 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5228 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5229 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5230 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5231 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5232 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5233 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5234 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5235 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5236 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5237 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5238 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5239
58985aa9
UD
5240 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5241 rename.
5242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5243 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5247 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5248 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5249 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5250
a201fbcf
AS
52512011-10-24 Andreas Schwab <schwab@redhat.com>
5252
5253 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5254
fc2ee42a
LD
52552011-10-23 Ulrich Drepper <drepper@gmail.com>
5256
bb3129bd
UD
5257 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5258
0275fff8
UD
5259 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5260 prediction.
5261 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5262
2fa2ae85
UD
5263 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5264 Remove unused variable magic_bits.
5265 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5266
fc2ee42a
LD
5267 * string/strnlen.c: Define and use STRNLEN macro.
5268 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5269 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5270 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5271 * wcsmbs/wcslen.c: Define and use WCSLEN.
5272 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5273 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5274 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5275 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5276 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5277 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5278 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5279
ce7dd29f
LD
52802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5281
5282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5283 strnlen-sse2-no-bsf.
5284 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5286 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5287 Add strnlen support.
5288 (USE_AS_STRNLEN): New macro.
5289 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5290 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5291 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5292 * sysdeps/x86_64/wcslen.S: New file.
5293
979c70a3
MZ
52942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5295
5296 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5297 XMM-moves are used for copying on small sizes.
5298
2d09f82f
LD
52992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5300
5301 * wcsmbs/Makefile (strop-tests): Add wcschr.
5302 * wcsmbs/test-wcschr.c: New file.
5303 * string/test-strchr.c: Update.
5304 Add wcschr support.
5305 (WIDE): New macro.
5306
619fccca
LD
53072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5308
2d09f82f 5309 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5310 * wcsmbs/test-wcslen.c: New file.
5311 * string/test-strlen.c: Update.
5312 Add wcslen support.
5313 (WIDE): New macro.
5314
09f699ea
UD
53152011-10-23 Ulrich Drepper <drepper@gmail.com>
5316
5317 * po/it.po: Update from translation team.
5318
95584d3b
LD
53192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5320
5321 * sysdeps/x86_64/wcscmp.S: Update.
5322 Fix wrong comparison semantics.
5323 wcscmp shall use signed comparison not unsigned.
5324 Don't use substraction to avoid overflow bug.
5325 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5326 * wcsmbc/wcscmp.c: Likewise.
5327 * string/test-strcmp.c: Likewise.
5328 Add new tests to check cases with negative values.
5329
c8b3296b
UD
53302011-10-23 Ulrich Drepper <drepper@gmail.com>
5331
5332 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5333 * sysdeps/x86_64/dla.h: ...here. New file.
5334 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5335 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5336 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5337 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5339 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5341 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5343
246ad57a
AS
53442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5345
5346 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5347 __ynl_finite aliases.
5348
a1a87169
UD
53492011-10-22 Ulrich Drepper <drepper@gmail.com>
5350
0d355eb7
UD
5351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5352
a1a87169
UD
5353 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5354 define DLA_FMA.
5355 [DLA_FMA] (EMULV): Use DLA_FMA.
5356 [DLA_FMA] (MUL12): Use EMULV.
5357 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5358 that are not needed.
5359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5366
ee2aafe0
AS
53672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5368
5369 * math/s_nan.c: Undef __nan.
5370 * math/s_nanf.c: Undef __nanf.
5371 * math/s_nanl.c: Undef __nanl.
5372 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5373 "math_private.h".
5374
bc62c2fb
UD
53752011-10-22 Ulrich Drepper <drepper@gmail.com>
5376
77425c63
UD
5377 * math/s_catan.c: Add branch predictions.
5378 * math/s_catanf.c: Likewise.
5379 * math/s_catanh.c: Likewise.
5380 * math/s_catanhf.c: Likewise.
5381 * math/s_catanhl.c: Likewise.
5382 * math/s_catanl.c: Likewise.
5383 * math/s_cexp.c: Likewise.
5384 * math/s_cexpf.c: Likewise.
5385 * math/s_cexpl.c: Likewise.
5386 * math/s_clog.c: Likewise.
5387 * math/s_clog10.c: Likewise.
5388 * math/s_clog10f.c: Likewise.
5389 * math/s_clog10l.c: Likewise.
5390 * math/s_clogf.c: Likewise.
5391 * math/s_clogl.c: Likewise.
5392 * math/s_csqrt.c: Likewise.
5393 * math/s_csqrtf.c: Likewise.
5394 * math/s_csqrtl.c: Likewise.
5395 * math/s_ctanf.c: Likewise.
5396 * math/s_ctanh.c: Likewise.
5397 * math/s_ctanhf.c: Likewise.
5398 * math/s_ctanhl.c: Likewise.
5399 * math/s_ctanl.c: Likewise.
5400
bc62c2fb
UD
5401 * math/math_private.h: Define __nan, __nanf, __nanl.
5402 * math/s_cacosh.c: Include <math_private.h>.
5403 * math/s_cacoshl.c: Likewise.
5404 * math/s_casinh.c: Likewise.
5405 * math/s_casinhf.c: Likewise.
5406 * math/s_casinhl.c: Likewise.
5407 * math/s_ccos.c: Rely entire on ccosh.
5408 * math/s_ccosf.c: Rely entire on ccoshf.
5409 * math/s_ccosl.c: Rely entirely on ccoshl.
5410 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5411 Remove tests for FE_INVALID.
5412 * math/s_ccoshf.c: Likewise.
5413 * math/s_ccoshl.c: Likewise.
5414 * math/s_csin.c: Likewise.
5415 * math/s_csinf.c: Likewise.
5416 * math/s_csinh.c Likewise.
5417 * math/s_csinhf.c: Likewise.
5418 * math/s_csinhl.c: Likewise.
5419 * math/s_csinl.c: Likewise.
5420 * math/s_ctan.c: Likewise.
5421 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5422 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5423 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5424
8ec250a4
UD
54252011-10-21 Ulrich Drepper <drepper@gmail.com>
5426
c196fed8
UD
5427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5428 compilation problems.
5429
8ec250a4
UD
5430 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5431 __builtin_expect.
5432
8d4f46c6
UD
54332011-10-20 Ulrich Drepper <drepper@gmail.com>
5434
ed72b654
UD
5435 * sysdeps/i386/configure.in: Test for -mfma4 option.
5436 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5437 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5438 COMMON_CPUID_INDEX_80000001.
5439 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5440 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5441 use it if FMA3 is not supported.
5442 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5443
8d4f46c6
UD
5444 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5445 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5446
d45c60c2
AS
54472011-10-20 Andreas Schwab <schwab@redhat.com>
5448
5449 [BZ #12892]
5450 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5451 it would create a cycle with a link time dependency.
5452
d9a4d2ab
UD
54532011-10-19 Ulrich Drepper <drepper@gmail.com>
5454
855d1560
UD
5455 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5456 instruction.
5457 * string/Makefile (strop-tests): Add rawmemchr.
5458 * string/test-rawmemchr.c: New file.
5459
d9a4d2ab
UD
5460 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5461 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5462 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5463 when compiling str{,n}casecmp and when AVX is available. Hook up
5464 new optimized code in initializers.
5465
8f3b1ffe
AS
54662011-10-19 Andreas Schwab <schwab@redhat.com>
5467
5468 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5469 __feraiseexcept instead of feraiseexcept.
5470
d38f1dba
UD
54712011-10-18 Ulrich Drepper <drepper@gmail.com>
5472
d9a8d0ab
UD
5473 * math/math_private.h: Define defaults for libc_fetestexcept and
5474 libc_feupdateenv.
5475 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5476 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5477 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5478 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5479 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5480 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5481 libc_fetestexcept and libc_feupdateenv.
5482
4855e3dd
UD
5483 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5484 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5485 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5486 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5487 libc_feholdexcept_setround.
5488
581d30e3
UD
5489 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5490 Add s_nearbyint-c and s_nearbyintf-c.
5491 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5492 nearbyintf inlines.
5493 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5494 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5495 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5496 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5497
d38f1dba
UD
5498 * math/math_private.h: Define defaults for libc_fegetround,
5499 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5500 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5501 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5502 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5503 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5504 standard functions.
5505 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5506 Remove comments and hacks for old compiler versions.
5507 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5508 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5509 libc_feholdexceptl.
5510
caa6c9d8
AS
55112011-10-18 Andreas Schwab <schwab@redhat.com>
5512
5513 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5514 (__feraiseexcept_renamed): Add __NTH.
5515 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5516 namespace violations.
5517
97c066e6
UD
55182011-10-17 Ulrich Drepper <drepper@gmail.com>
5519
99ce7b04
UD
5520 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5521
1004d182
UD
5522 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5523
228a984d
UD
5524 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5525 recently added interfaces.
5526 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5527
c8553a6a
UD
5528 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5529 about macro parameter expansion.
5530
ed22dcf6
UD
5531 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5532 __NO_MATH_INLINES is defined. Cleanups.
5533
5534 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5535 and __floorf is target has SSE4.1.
5536 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5537 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5538 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5539 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5540
b171c137
UD
5541 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5542 name.
5543 (floorf): Likewise.
5544
97c066e6
UD
5545 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5546
629f62ef
AS
55472011-10-17 Andreas Schwab <schwab@redhat.com>
5548
49a43d80
AS
5549 * misc/sys/cdefs.h: Fix last change.
5550
629f62ef
AS
5551 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5552 database lookup.
5553
e453f6cd
UD
55542011-10-16 Ulrich Drepper <drepper@gmail.com>
5555
aa78043a
UD
5556 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5557
ad0f5cad
UD
5558 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5559 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5563 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5564 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5565 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5566 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5567 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5568 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5569 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5570 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5571 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5572 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5573 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5574 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5575 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5576 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5577 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5578 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5579 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5580
5581 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5582 ceil, ceilf, floor, floorf.
5583
5584 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5585 Perform IRELATIVE relocations last.
5586
e453f6cd
UD
5587 * elf/do-rel.h: Add another parameter nrelative, replacing the
5588 local variable with the same name. Change name of the function
5589 to end in Rel or Rela (uppercase).
5590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5591 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5592 elf_dynamic_do_##reloc function.
5593
fd5bdc09
UD
55942011-10-15 Ulrich Drepper <drepper@gmail.com>
5595
79b195b5
UD
5596 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5597 is sufficient, at least on modern CPUs.
5598
d4a28569
UD
5599 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5600
b61099b5
UD
5601 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5602 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5603
bcf01e6d
UD
5604 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5605 __expl_finite.
5606 * math/bits/math-finite.h: Add entries for exp.
5607 * math/e_expl.c: Add __*_finite alias.
5608 * sysdeps/i386/fpu/e_exp.S: Likewise.
5609 * sysdeps/i386/fpu/e_expf.S: Likewise.
5610 * sysdeps/i386/fpu/e_expl.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5612 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5613 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5615 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5616 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5617 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5618
ba1a0d59
UD
5619 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5620 is sufficient, at least on modern CPUs.
5621
fd5bdc09
UD
5622 * ctype/ctype-info.c (__ctype_init): Define.
5623 * include/ctype.h (__ctype_init): Declare.
5624 (__ctype_b_loc): The variable is always initialized.
5625 (__ctype_toupper_loc): Likewise.
5626 (__ctype_tolower_loc): Likewise.
5627 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5628 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5629
7872cfb0
AS
56302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5631
b468825a
AS
5632 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5633
7872cfb0
AS
5634 * configure.in: Also look in $cxxmachine/include for C++ system
5635 headers.
5636
be13f7bf
LD
56372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5638
5639 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5640 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5641 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5642 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5643 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5644 (USE_AS_WMEMCMP): New macro.
5645 Fixing indents.
5646 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5647 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5648 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5649 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5651 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5652 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5653 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5654 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5655 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5656 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5657 (USE_AS_WMEMCMP): New macro.
5658 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5659 * sysdeps/string/test-memcmp.c: Update.
5660 Fix simple_wmemcmp.
5661 Add new tests.
5662 * wcsmbs/wmemcmp.c: Update.
5663 (WMEMCMP): New macro.
5664 Fix overflow bug.
5665
556a2007
AJ
56662011-10-12 Andreas Jaeger <aj@suse.de>
5667
5668 [BZ #13268]
5669 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5670
538faaa7
UD
56712011-10-15 Ulrich Drepper <drepper@gmail.com>
5672
ab6737ff
UD
5673 * libio/iofwide.c (do_length): Avoid warning.
5674
538faaa7
UD
5675 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5676
396a21b1
UD
56772011-10-14 Ulrich Drepper <drepper@gmail.com>
5678
cdf2901f
UD
5679 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5680
38ad40ce
UD
5681 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5682 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5683 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5684 * sysdeps/i386/i686/fpu/e_log.S: New file.
5685 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5686 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5687
396a21b1
UD
5688 * ctype/ctype.h: Add support for inlined isXXX functions when
5689 compiling C++ code.
5690
6b1f68c9
AS
56912011-10-14 Andreas Schwab <schwab@redhat.com>
5692
349290c0
AS
5693 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5694
6b1f68c9
AS
5695 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5696
f2282d42
RM
56972011-10-13 Roland McGrath <roland@hack.frob.com>
5698
5699 [BZ #13291]
5700 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5701
5298ffa8
AS
57022011-10-13 Andreas Schwab <schwab@redhat.com>
5703
714fad23
AS
5704 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5705 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5706 feraiseexcept.
5707
81dcc7fb
AS
5708 * sysdeps/x86_64/memrchr.S: Check for zero size.
5709
5298ffa8
AS
5710 * string/stratcliff.c: Add memrchr tests.
5711
951fbcec
LD
57122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5713
5714 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5715 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5716 rawmemchr-sse2 rawmemchr-sse2-bsf.
5717 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5718 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5719 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5720 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5721 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5722 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5723 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5724 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5725 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5726 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5727 * string/memrchr.c (MEMRCHR): New macro.
5728
0ac5ae23
UD
57292011-10-12 Ulrich Drepper <drepper@gmail.com>
5730
5731 Add integration with gcc's -ffinite-math-only and optimize wrapper
5732 functions in libm.
5733 * Versions.def: Define GLIBC_2.15 version for libm.
5734 * math/Makefile (headers): Add bits/math-finite.h.
5735 * math/bits/math-finite.h: New file.
5736 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5737 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5738 * math/e_acoshl.c: Add __*_finite alias.
5739 * math/e_acosl.c: Likewise.
5740 * math/e_asinl.c: Likewise.
5741 * math/e_atan2l.c: Likewise.
5742 * math/e_atanhl.c: Likewise.
5743 * math/e_coshl.c: Likewise.
5744 * math/e_exp10.c: Likewise.
5745 * math/e_exp10f.c: Likewise.
5746 * math/e_exp10l.c: Likewise.
5747 * math/e_exp2l.c: Likewise.
5748 * math/e_fmodl.c: Likewise.
5749 * math/e_gammal_r.c: Likewise.
5750 * math/e_hypotl.c: Likewise.
5751 * math/e_j0l.c: Likewise.
5752 * math/e_j1l.c: Likewise.
5753 * math/e_jnl.c: Likewise.
5754 * math/e_lgammal_r.c: Likewise.
5755 * math/e_log10l.c: Likewise.
5756 * math/e_log2l.c: Likewise.
5757 * math/e_logl.c: Likewise.
5758 * math/e_powl.c: Likewise.
5759 * math/e_sinhl.c: Likewise.
5760 * math/e_sqrtl.c: Likewise.
5761 * math/e_scalb.c: Completely rewritten and optimized.
5762 * math/e_scalbf.c: Likewise.
5763 * math/e_scalbl.c: Likewise.
5764 * math/w_acos.c: Likewise.
5765 * math/w_acosf.c: Likewise.
5766 * math/w_acosl.c: Likewise.
5767 * math/w_acosh.c: Likewise.
5768 * math/w_acoshf.c: Likewise.
5769 * math/w_acoshl.c: Likewise.
5770 * math/w_asin.c: Likewise.
5771 * math/w_asinf.c: Likewise.
5772 * math/w_asinl.c: Likewise.
5773 * math/w_atan2.c: Likewise.
5774 * math/w_atan2f.c: Likewise.
5775 * math/w_atan2l.c: Likewise.
5776 * math/w_atanh.c: Likewise.
5777 * math/w_atanhf.c: Likewise.
5778 * math/w_atanhl.c: Likewise.
5779 * math/w_exp10.c: Likewise.
5780 * math/w_exp10f.c: Likewise.
5781 * math/w_exp10l.c: Likewise.
5782 * math/w_fmod.c: Likewise.
5783 * math/w_fmodf.c: Likewise.
5784 * math/w_fmodl.c: Likewise.
5785 * math/w_j0.c: Likewise.
5786 * math/w_j0f.c: Likewise.
5787 * math/w_j0l.c: Likewise.
5788 * math/w_j1.c: Likewise.
5789 * math/w_j1f.c: Likewise.
5790 * math/w_j1l.c: Likewise.
5791 * math/w_jn.c: Likewise.
5792 * math/w_jnf.c: Likewise.
5793 * math/w_log.c: Likewise.
5794 * math/w_logf.c: Likewise.
5795 * math/w_logl.c: Likewise.
5796 * math/w_log10.c: Likewise.
5797 * math/w_log10f.c: Likewise.
5798 * math/w_log10l.c: Likewise.
5799 * math/w_log2.c: Likewise.
5800 * math/w_log2f.c: Likewise.
5801 * math/w_log2l.c: Likewise.
5802 * math/w_pow.c: Likewise.
5803 * math/w_powf.c: Likewise.
5804 * math/w_powl.c: Likewise.
5805 * math/w_remainder.c: Likewise.
5806 * math/w_remainderf.c: Likewise.
5807 * math/w_remainderl.c: Likewise.
5808 * math/w_scalb.c: Likewise.
5809 * math/w_scalbf.c: Likewise.
5810 * math/w_scalbl.c: Likewise.
5811 * math/w_sqrt.c: Likewise.
5812 * math/w_sqrtf.c: Likewise.
5813 * math/w_sqrtl.c: Likewise.
5814 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5815 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5816 used.
5817 * math/math_private.h: Declare __kernel_standard_f.
5818 * math/w_cosh.c: Remove cruft and optimize a bit.
5819 * math/w_coshf.c: Likewise.
5820 * math/w_coshl.c: Likewise.
5821 * math/w_exp2.c: Likewise.
5822 * math/w_exp2f.c: Likewise.
5823 * math/w_exp2l.c: Likewise.
5824 * math/w_hypot.c: Likewise.
5825 * math/w_hypotf.c: Likewise.
5826 * math/w_hypotl.c: Likewise.
5827 * math/w_lgamma.c: Likewise.
5828 * math/w_lgamma_r.c: Likewise.
5829 * math/w_lgammaf.c: Likewise.
5830 * math/w_lgammaf_r.c: Likewise.
5831 * math/w_lgammal.c: Likewise.
5832 * math/w_lgammal_r.c: Likewise.
5833 * math/w_sinh.c: Likewise.
5834 * math/w_sinhf.c: Likewise.
5835 * math/w_sinhl.c: Likewise.
5836 * math/w_tgamma.c: Likewise.
5837 * math/w_tgammaf.c: Likewise.
5838 * math/w_tgammal.c: Likewise.
5839 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5840 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5841 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5842 Minor optimizations. Pretty printing. Remove cruft.
5843 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5844 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5845 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5846 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5847 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5848 * sysdeps/i386/fpu/e_asin.S: Likewise.
5849 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5850 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5851 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5852 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5853 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5854 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5855 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5856 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5857 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5858 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5859 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5860 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5861 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5862 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5863 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5864 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5865 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5866 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5867 * sysdeps/i386/fpu/e_log.S: Likewise.
5868 * sysdeps/i386/fpu/e_log10.S: Likewise.
5869 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5870 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5871 * sysdeps/i386/fpu/e_log2.S: Likewise.
5872 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5873 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5874 * sysdeps/i386/fpu/e_logf.S: Likewise.
5875 * sysdeps/i386/fpu/e_logl.S: Likewise.
5876 * sysdeps/i386/fpu/e_pow.S: Likewise.
5877 * sysdeps/i386/fpu/e_powf.S: Likewise.
5878 * sysdeps/i386/fpu/e_powl.S: Likewise.
5879 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5880 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5881 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5882 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5883 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5884 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5885 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5886 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5887 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5888 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5889 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5890 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5895 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5896 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5897 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5898 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5899 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5902 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5905 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5907 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5908 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5909 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5910 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5911 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5912 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5913 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5914 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5915 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5916 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5917 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5918 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5919 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5920 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5921 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5922 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5923 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5924 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5925 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5926 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5927 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5928 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5929 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5930 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5931 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5932 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5933 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5934 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5935 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5936 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5937 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5938 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5939 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5940 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5941 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5942 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5943 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5944 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5945 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5946 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5947 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5948 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5949 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5950 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5951 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5952 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5953 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5954 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5955 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5956 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5957 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5958 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5959 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5960 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5962 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5963 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5964 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5965 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5966 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5967 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5968 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5970 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5971 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5972 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5973 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5974 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5975 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5976 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5977 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5978 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5979 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5980 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5981 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5982 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5983 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5984 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5985 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5986 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5987 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5988 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5989 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5990 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5991 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5992 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5993 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5994 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5995 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5996 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5997 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5998 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5999 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6000 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6001 (__isnanf): Likewise.
6002 (__isinf_ns): Likewise.
6003 (__isinf_nsf): Likewise.
6004 (__finite): Likewise.
6005 (__finitef): Likewise.
6006 (__ieee754_sqrt): Define as macro.
6007 (__ieee754_sqrtf): Define as macro.
6008 (__ieee754_sqrtl): Define as macro.
6009 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6010 inlined copy.
6011 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6012 __FINITE_MATH_ONLY__ consistent.
6013 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6014
12cc2fcd
AS
60152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6016
a843a204
AS
6017 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6018 of rawmemchr.
6019
12cc2fcd
AS
6020 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6021
c853acd5
UD
60222011-10-09 Ulrich Drepper <drepper@gmail.com>
6023
6024 * po/ja.po: Update from translation team.
6025
c658d255
RM
60262011-10-08 Roland McGrath <roland@hack.frob.com>
6027
110946e4
RM
6028 * locale/programs/locarchive.c (prepare_address_space): New function.
6029 (create_archive, enlarge_archive, open_archive): Use it.
6030
50604220
RM
6031 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6032 inside [SHARED], where it is used.
6033
c658d255
RM
6034 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6035
6036 * nss/getent.c (netgroup_keys): Remove unused variable.
6037 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6038
6a621eb7
UD
60392011-10-08 Ulrich Drepper <drepper@gmail.com>
6040
7edb55ce
UD
6041 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6042 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6044 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6045 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6046 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6047 * math/Makefile (libm-calls): Add s_isinf_ns.
6048 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6049 * math/multc3.c: Likewise.
6050 * math/s_casin.c: Likewise.
6051 * math/s_casinf.c: Likewise.
6052 * math/s_casinl.c: Likewise.
6053 * math/s_ccos.c: Likewise.
6054 * math/s_ccosf.c: Likewise.
6055 * math/s_ccosl.c: Likewise.
6056 * math/s_ctan.c: Likewise.
6057 * math/s_ctanf.c: Likewise.
6058 * math/s_ctanh.c: Likewise.
6059 * math/s_ctanhf.c: Likewise.
6060 * math/s_ctanhl.c: Likewise.
6061 * math/s_ctanl.c: Likewise.
6062 * math/w_fmod.c: Likewise.
6063 * math/w_fmodf.c: Likewise.
6064 * math/w_fmodl.c: Likewise.
6065 * math/w_remainder.c: Likewise.
6066 * math/w_remainderf.c: Likewise.
6067 * math/w_remainderl.c: Likewise.
6068 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6069 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6070 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6071 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6072 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6073 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6074 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6075 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6076
187da0ae
UD
6077 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6078 of the number.
6079 * stdio-common/printf_fphex.c: Likewise.
6080 * stdio-common/printf_size.c: Likewise.
6081
9277c064
UD
6082 * math/e_exp10.c: Include math_private.h using <...> not "...".
6083 * math/e_exp10f.c: Likewise.
6084 * math/e_exp10l.c: Likewise.
6085 * math/e_exp2l.c: Likewise.
6086 * math/e_j0l.c: Likewise.
6087 * math/e_j1l.c: Likewise.
6088 * math/e_jnl.c: Likewise.
6089 * math/e_lgammal_r.c: Likewise.
6090 * math/e_rem_pio2l.c: Likewise.
6091 * math/e_scalb.c: Likewise.
6092 * math/e_scalbf.c: Likewise.
6093 * math/e_scalbl.c: Likewise.
6094 * math/k_cosl.c: Likewise.
6095 * math/k_sinl.c: Likewise.
6096 * math/k_tanl.c: Likewise.
6097 * math/s_cacoshf.c: Likewise.
6098 * math/s_catan.c: Likewise.
6099 * math/s_catanf.c: Likewise.
6100 * math/s_catanh.c: Likewise.
6101 * math/s_catanhf.c: Likewise.
6102 * math/s_catanhl.c: Likewise.
6103 * math/s_catanl.c: Likewise.
6104 * math/s_ccosh.c: Likewise.
6105 * math/s_ccoshf.c: Likewise.
6106 * math/s_ccoshl.c: Likewise.
6107 * math/s_cexp.c: Likewise.
6108 * math/s_cexpf.c: Likewise.
6109 * math/s_cexpl.c: Likewise.
6110 * math/s_clog.c: Likewise.
6111 * math/s_clog10.c: Likewise.
6112 * math/s_clog10f.c: Likewise.
6113 * math/s_clog10l.c: Likewise.
6114 * math/s_clogf.c: Likewise.
6115 * math/s_clogl.c: Likewise.
6116 * math/s_csin.c: Likewise.
6117 * math/s_csinf.c: Likewise.
6118 * math/s_csinh.c: Likewise.
6119 * math/s_csinhf.c: Likewise.
6120 * math/s_csinhl.c: Likewise.
6121 * math/s_csinl.c: Likewise.
6122 * math/s_csqrt.c: Likewise.
6123 * math/s_csqrtf.c: Likewise.
6124 * math/s_csqrtl.c: Likewise.
6125 * math/s_ctan.c: Likewise.
6126 * math/s_ctanf.c: Likewise.
6127 * math/s_ctanh.c: Likewise.
6128 * math/s_ctanhf.c: Likewise.
6129 * math/s_ctanhl.c: Likewise.
6130 * math/s_ctanl.c: Likewise.
6131 * math/s_ldexp.c: Likewise.
6132 * math/s_ldexpf.c: Likewise.
6133 * math/s_ldexpl.c: Likewise.
6134 * math/s_significand.c: Likewise.
6135 * math/s_significandf.c: Likewise.
6136 * math/s_significandl.c: Likewise.
6137 * math/w_acos.c: Likewise.
6138 * math/w_acosf.c: Likewise.
6139 * math/w_acosh.c: Likewise.
6140 * math/w_acoshf.c: Likewise.
6141 * math/w_acoshl.c: Likewise.
6142 * math/w_acosl.c: Likewise.
6143 * math/w_asin.c: Likewise.
6144 * math/w_asinf.c: Likewise.
6145 * math/w_asinl.c: Likewise.
6146 * math/w_atan2.c: Likewise.
6147 * math/w_atan2f.c: Likewise.
6148 * math/w_atan2l.c: Likewise.
6149 * math/w_atanh.c: Likewise.
6150 * math/w_atanhf.c: Likewise.
6151 * math/w_atanhl.c: Likewise.
6152 * math/w_cosh.c: Likewise.
6153 * math/w_coshf.c: Likewise.
6154 * math/w_coshl.c: Likewise.
6155 * math/w_dremf.c: Likewise.
6156 * math/w_exp10.c: Likewise.
6157 * math/w_exp10f.c: Likewise.
6158 * math/w_exp10l.c: Likewise.
6159 * math/w_exp2.c: Likewise.
6160 * math/w_exp2f.c: Likewise.
6161 * math/w_fmod.c: Likewise.
6162 * math/w_fmodf.c: Likewise.
6163 * math/w_fmodl.c: Likewise.
6164 * math/w_hypot.c: Likewise.
6165 * math/w_hypotf.c: Likewise.
6166 * math/w_hypotl.c: Likewise.
6167 * math/w_j0.c: Likewise.
6168 * math/w_j0f.c: Likewise.
6169 * math/w_j0l.c: Likewise.
6170 * math/w_j1.c: Likewise.
6171 * math/w_j1f.c: Likewise.
6172 * math/w_j1l.c: Likewise.
6173 * math/w_jn.c: Likewise.
6174 * math/w_jnf.c: Likewise.
6175 * math/w_jnl.c: Likewise.
6176 * math/w_lgamma.c: Likewise.
6177 * math/w_lgamma_r.c: Likewise.
6178 * math/w_lgammaf.c: Likewise.
6179 * math/w_lgammaf_r.c: Likewise.
6180 * math/w_lgammal.c: Likewise.
6181 * math/w_lgammal_r.c: Likewise.
6182 * math/w_log.c: Likewise.
6183 * math/w_log10.c: Likewise.
6184 * math/w_log10f.c: Likewise.
6185 * math/w_log10l.c: Likewise.
6186 * math/w_log2.c: Likewise.
6187 * math/w_log2f.c: Likewise.
6188 * math/w_log2l.c: Likewise.
6189 * math/w_logf.c: Likewise.
6190 * math/w_logl.c: Likewise.
6191 * math/w_pow.c: Likewise.
6192 * math/w_powf.c: Likewise.
6193 * math/w_powl.c: Likewise.
6194 * math/w_remainder.c: Likewise.
6195 * math/w_remainderf.c: Likewise.
6196 * math/w_remainderl.c: Likewise.
6197 * math/w_scalb.c: Likewise.
6198 * math/w_scalbf.c: Likewise.
6199 * math/w_scalbl.c: Likewise.
6200 * math/w_sinh.c: Likewise.
6201 * math/w_sinhf.c: Likewise.
6202 * math/w_sinhl.c: Likewise.
6203 * math/w_sqrt.c: Likewise.
6204 * math/w_sqrtf.c: Likewise.
6205 * math/w_sqrtl.c: Likewise.
6206 * math/w_tgamma.c: Likewise.
6207 * math/w_tgammaf.c: Likewise.
6208 * math/w_tgammal.c: Likewise.
6209
6a621eb7
UD
6210 * po/ja.po: Update from translation team.
6211
bf582445
AJ
62122011-09-29 Andreas Jaeger <aj@suse.de>
6213
f9efbf3a
AJ
6214 [BZ #13179]
6215 * sunrpc/netname.c (netname2host): Fix logic.
6216
bf582445
AJ
6217 [BZ #6779]
6218 [BZ #6783]
6219 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6220 correctly.
6221 * math/w_remainder.c (__remainder): Likewise.
6222 * math/w_remainderf.c (__remainderf): Likewise.
6223 * math/libm-test.inc (remainder_test): Add test cases.
6224
48693bea
AK
62252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6226
6227 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6228 sdiv_qrnnd.
6229
42622229
LD
62302011-10-07 Ulrich Drepper <drepper@gmail.com>
6231
6232 * string/test-memcmp.c: Avoid unncessary #defines.
6233 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6234
093ecf92
LD
62352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6236
6237 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6238 Use new sse2 version for core i3 - i7 as it's faster
6239 than sse42 version.
6240 (bit_Prefer_PMINUB_for_stringop): New.
6241 * sysdeps/x86_64/rawmemchr.S: Update.
6242 Replace with faster SSE2 version.
6243 * sysdeps/x86_64/memrchr.S: New file.
6244 * sysdeps/x86_64/memchr.S: Update.
6245 Replace with faster SSE2 version.
6246
fde56e5c
MP
62472011-09-12 Marek Polacek <mpolacek@redhat.com>
6248
6249 * elf/dl-load.c (lose): Add cast to avoid warning.
6250
21fd49a9
UD
62512011-10-07 Ulrich Drepper <drepper@gmail.com>
6252
5a06e643
UD
6253 * po/ca.po: Update from translation team.
6254
684ae515
UD
6255 * inet/getnetgrent_r.c: Hook up nscd.
6256 * nscd/Makefile (routines): Add nscd_netgroup.
6257 (nscd-modules): Add netgroupcache.
6258 (CFLAGS-netgroupcache.c): Define.
6259 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6260 (cache_search): Add const to second parameter.
6261 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6262 INNETGR.
6263 (dbs): Add netgrdb entry.
6264 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6265 (verify_persistent_db): Handle netgrdb.
6266 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6267 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6268 GETFDNETGR.
6269 (netgroup_response_header): Define.
6270 (innetgroup_response_header): Define.
6271 (datahead): Add netgroup_response_header and innetgroup_response_header
6272 elements.
6273 * nscd/nscd.conf: Add entries for netgroup cache.
6274 * nscd/nscd.h (dbtype): Add netgrdb.
6275 (_PATH_NSCD_NETGROUP_DB): Define.
6276 (netgroup_iov_disabled): Declare.
6277 (xmalloc, xcalloc, xrealloc): Move declarations here.
6278 (cache_search): Adjust prototype.
6279 Add netgroup-related prototypes.
6280 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6281 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6282 (__nscd_innetgr): Declare.
6283 * nscd/selinux.c (perms): Use access_vector_t as element type and
6284 add netgroup-related initializers.
6285 * nscd/netgroupcache.c: New file.
6286 * nscd/nscd_netgroup.c: New file.
6287 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6288 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6289 For four parameters use innetgr.
6290 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6291 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6292 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6293 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6294
21fd49a9
UD
6295 * nscd/connections.c (register_traced_file): Don't register file
6296 for disabled databases.
6297
054c0457
UD
62982011-10-06 Ulrich Drepper <drepper@gmail.com>
6299
32b63198
UD
6300 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6301
054c0457
UD
6302 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6303 from tree and freeing node.
6304
64031225
JO
63052011-09-25 Jiri Olsa <jolsa@redhat.com>
6306
6307 * nss/nsswitch.c (__nss_database_lookup): Handle
6308 nss_parse_service_list out of memory case.
6309
0490345c
JO
63102011-09-15 Jiri Olsa <jolsa@redhat.com>
6311
6312 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6313 out of memory case.
6314
3a62d00d
AS
63152011-10-04 Andreas Schwab <schwab@redhat.com>
6316
6317 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6318 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6319 pass it down.
6320 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6321 elf_machine_rela, elf_machine_lazy_rel.
6322 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6323 (ELF_DYNAMIC_DO_REL): Likewise.
6324 (ELF_DYNAMIC_DO_RELA): Likewise.
6325 (ELF_DYNAMIC_RELOCATE): Likewise.
6326 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6327 to ELF_DYNAMIC_DO_REL.
6328 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6329 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6330 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6331 elf_machine_rela.
6332 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6333 skip_ifunc, don't call ifunc function if non-zero.
6334 (elf_machine_rela): Likewise.
6335 (elf_machine_lazy_rel): Likewise.
6336 (elf_machine_lazy_rela): Likewise.
6337 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6338 (elf_machine_lazy_rel): Likewise.
6339 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6340 Likewise.
6341 (elf_machine_lazy_rel): Likewise.
6342 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6343 Likewise.
6344 (elf_machine_lazy_rel): Likewise.
6345 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6346 (elf_machine_lazy_rel): Likewise.
6347 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6348 (elf_machine_lazy_rel): Likewise.
6349 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6350 (elf_machine_lazy_rel): Likewise.
6351 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6352 (elf_machine_lazy_rel): Likewise.
6353 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6354 (elf_machine_lazy_rel): Likewise.
6355 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6356 (elf_machine_lazy_rel): Likewise.
6357
68577918
UD
63582011-09-28 Ulrich Drepper <drepper@gmail.com>
6359
6360 * nss/nss_files/files-init.c (_nss_files_init): Use static
6361 initialization for all the *_traced_file variables.
6362
68822d74
AS
63632011-09-28 Andreas Schwab <schwab@redhat.com>
6364
6365 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6366
2056100b
RM
63672011-09-27 Roland McGrath <roland@hack.frob.com>
6368
6369 [BZ #13226]
6370 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6371
32c76b63
AS
63722011-09-27 Andreas Schwab <schwab@redhat.com>
6373
6374 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6375 Reread the line before reparsing it.
6376
bf972c9d
AS
63772011-09-26 Andreas Schwab <schwab@redhat.com>
6378
6379 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6380
e057a1b5
JM
63812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6382 Maxim Kuvyrkov <maxim@codesourcery.com>
6383 Joseph Myers <joseph@codesourcery.com>
6384
6385 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6386 if needed for __stack_chk_guard.
6387
bc7e1c36
RM
63882011-09-19 Roland McGrath <roland@hack.frob.com>
6389
ecb1482f
RM
6390 * sysdeps/posix/spawni.c (script_execute): Always define it.
6391 It will be optimized away if unused.
6392 (maybe_script_execute): New function.
6393 (__spawni): Call it.
6394
bc7e1c36
RM
6395 * Makerules: Don't include tls.make.
6396 (config-tls): Always set to thread.
6397 * tls.make.c: File removed.
6398
1c3b002b
MF
63992011-09-19 Mike Frysinger <vapier@gentoo.org>
6400
6401 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6402 * config.make.in (CPPFLAGS-config): New substituted variable.
6403
2840865d
UD
64042011-09-15 Ulrich Drepper <drepper@gmail.com>
6405
88738eb6
UD
6406 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6407
cbf645a6 6408 [BZ #13192]
2840865d
UD
6409 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6410 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6411
b402e91a
RM
64122011-09-15 Roland McGrath <roland@hack.frob.com>
6413
6414 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6415 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6416 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6417 (CALL_FAIL): Likewise.
6418 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6419 (CALL_FAIL): Macro removed.
6420 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6421
4c1a1f71
UD
64222011-09-15 Ulrich Drepper <drepper@gmail.com>
6423
6424 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6425 for __FINITE_MATH_ONLY__ == 1.
6426
edc121be
AS
64272011-09-15 Andreas Schwab <schwab@redhat.com>
6428
6429 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6430 __ieee754_sqrt instead of sqrt.
6431 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6432 __ieee754_sqrtf instead of sqrtf.
6433 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6434 __floorf instead of floorf.
6435 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6436 __floorf, __truncf instead of floorf, truncf.
6437
cd205654
UD
64382011-09-14 Ulrich Drepper <drepper@gmail.com>
6439
ee4d0315
UD
6440 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6441
cd205654
UD
6442 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6443 __extern_always_inline.
6444 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6445 32-bit.
6446
48b67d71
AS
64472011-09-14 Andreas Schwab <schwab@redhat.com>
6448
6449 * elf/rtld.c (dl_main): Also relocate in dependency order when
6450 doing symbol dependency testing.
6451
1ae12c75
AS
64522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6453
6454 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6455 Always define `refsym'.
6456
995a80df
AS
64572011-09-13 Andreas Schwab <schwab@redhat.com>
6458
e529793b
AS
6459 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6460 (__FD_ELT): Renamed from __FDELT.
6461 * misc/bits/select2.h (__FD_ELT): Likewise.
6462 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6463 __FD_MASK instead of __FDELT, __FDMASK.
6464 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6465 Likewise.
6466 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6467 Likewise.
6468
52d4fef8
AS
6469 * elf/Makefile (gen-ldd): Fix pattern.
6470
995a80df
AS
6471 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6472 (init_tls): Likewise.
6473
8682f8b0
UD
64742011-09-12 Ulrich Drepper <drepper@gmail.com>
6475
6476 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6477
de82006d
AS
64782011-09-12 Andreas Schwab <schwab@redhat.com>
6479
a7c8e6a1
AS
6480 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6481 `struct cmsghdr *' instead of `void *'.
6482 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6483 Likewise.
6484
0f31fe77
AS
64852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6486
6487 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6488 if non-absolute.
6489 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6490 ldd_rewrite_script.
0f31fe77 6491
32b4c839
UD
64922011-09-11 Ulrich Drepper <drepper@gmail.com>
6493
83cd1420
UD
6494 * configure.in: Remove --with-tls option.
6495 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6496 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6497 out in case it is missing.
6498 * sysdeps/ia64/elf/configure.in: Likewise.
6499 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6500 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6501 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6502 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6503 * sysdeps/sh/elf/configure.in: Likewise.
6504 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6505 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6506 * sysdeps/x86_64/elf/configure.in: Likewise.
6507 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6508 * sysdeps/mach/hurd/tls.h: Likewise.
6509
633f745d
UD
6510 [BZ #13067]
6511 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6512
f318beb8
UD
6513 [BZ #13090]
6514 * configure.in: Fix use of AC_INIT.
6515
32b4c839
UD
6516 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6517
3ce1f295
UD
65182011-09-10 Ulrich Drepper <drepper@gmail.com>
6519
bb016596
UD
6520 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6521 __set_errno.
8e58439c
UD
6522 * malloc/hooks.c: Likewise.
6523
aebae053 6524 [BZ #11929]
02d46fc4
UD
6525 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6526 variables statically.
6527 (narenas): Initialize.
6528 (list_lock): Initialize.
bb016596
UD
6529 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6530 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6531 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6532 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6533 Add initializers to main_arena and mp_.
6534 (malloc_state): Remove pagesize member. Change all users to use
6535 GLRO(dl_pagesize).
6536
6537 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6538 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6539 is always initialized.
6540
22a89187
UD
6541 * malloc/malloc.c: Removed unused configurations and dead code.
6542 * malloc/arena.c: Likewise.
6543 * malloc/hooks.c: Likewise.
02d46fc4 6544 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6545
d063d164
UD
6546 * include/tls.h: Removed. USE___THREAD must always be defined.
6547 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6548 * elf/dl-libc.c: Likewise.
6549 * elf/dl-tsd.c: Likewise.
6550 * include/errno.h: Likewise.
6551 * include/netdb.h: Likewise.
6552 * include/resolv.h: Likewise.
6553 * inet/herrno-loc.c: Likewise.
6554 * inet/herrno.c: Likewise.
6555 * malloc/arena.c: Likewise.
6556 * malloc/hooks.c: Likewise.
6557 * malloc/malloc.c: Likewise.
6558 * resolv/res-state.c: Likewise.
6559 * resolv/res_libc.c: Likewise.
6560 * sysdeps/i386/dl-machine.h: Likewise.
6561 * sysdeps/ia64/dl-machine.h: Likewise.
6562 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6563 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6564 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6565 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6566 * sysdeps/sh/dl-machine.h: Likewise.
6567 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6568 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6569 * sysdeps/unix/i386/sysdep.S: Likewise.
6570 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6571 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6574 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6575 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6576 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6580 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6581 * sysdeps/x86_64/dl-machine.h: Likewise.
6582 * tls.make.c: Likewise.
6583
3ce1f295
UD
6584 * configure.in: Remove --with-__thread option. Make tests for
6585 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6586 tls_model attribute fail if no support is available. Remove
6587 USE_IN_LIBIO.
6588 * Makeconfig: Adjust for dropped configure option. All features are
6589 now mandatory.
6590 * Makerules: Likewise.
6591 * Versions.def: Likewise.
6592 * argp/argp-fmtstream.c: Likewise.
6593 * argp/argp-fmtstream.h: Likewise.
6594 * argp/argp-help.c: Likewise.
6595 * assert/assert.c: Likewise.
6596 * config.h.in: Likewise.
6597 * config.make.in: Likewise.
6598 * configure: Likewise.
6599 * configure.in: Likewise.
6600 * csu/Versions: Likewise.
6601 * csu/init.c: Likewise.
6602 * elf/tst-audit2.c: Likewise.
6603 * elf/tst-tls10.c: Likewise.
6604 * elf/tst-tls10.h: Likewise.
6605 * elf/tst-tls11.c: Likewise.
6606 * elf/tst-tls12.c: Likewise.
6607 * elf/tst-tls14.c: Likewise.
6608 * elf/tst-tlsmod11.c: Likewise.
6609 * elf/tst-tlsmod12.c: Likewise.
6610 * elf/tst-tlsmod13.c: Likewise.
6611 * elf/tst-tlsmod13a.c: Likewise.
6612 * elf/tst-tlsmod14a.c: Likewise.
6613 * elf/tst-tlsmod15b.c: Likewise.
6614 * elf/tst-tlsmod16a.c: Likewise.
6615 * elf/tst-tlsmod16b.c: Likewise.
6616 * elf/tst-tlsmod7.c: Likewise.
6617 * elf/tst-tlsmod8.c: Likewise.
6618 * elf/tst-tlsmod9.c: Likewise.
6619 * gmon/gmon.c: Likewise.
6620 * grp/fgetgrent_r.c: Likewise.
6621 * grp/putgrent.c: Likewise.
6622 * hurd/fopenport.c: Likewise.
6623 * include/libc-symbols.h: Likewise.
6624 * include/tls.h: Likewise.
6625 * intl/gettextP.h: Likewise.
6626 * intl/loadinfo.h: Likewise.
6627 * locale/global-locale.c: Likewise.
6628 * locale/localeinfo.h: Likewise.
6629 * mach/devstream.c: Likewise.
6630 * malloc/arena.c: Likewise.
6631 * malloc/set-freeres.c: Likewise.
6632 * misc/err.c: Likewise.
6633 * misc/getttyent.c: Likewise.
6634 * misc/mntent_r.c: Likewise.
6635 * posix/getopt.c: Likewise.
6636 * posix/wordexp.c: Likewise.
6637 * pwd/fgetpwent_r.c: Likewise.
6638 * resolv/Versions: Likewise.
6639 * resolv/res_hconf.c: Likewise.
6640 * shadow/fgetspent_r.c: Likewise.
6641 * shadow/putspent.c: Likewise.
6642 * stdio-common/printf_fphex.c: Likewise.
6643 * stdio-common/tmpfile.c: Likewise.
6644 * stdlib/abort.c: Likewise.
6645 * stdlib/fmtmsg.c: Likewise.
6646 * sunrpc/auth_unix.c: Likewise.
6647 * sunrpc/clnt_perr.c: Likewise.
6648 * sunrpc/clnt_tcp.c: Likewise.
6649 * sunrpc/clnt_udp.c: Likewise.
6650 * sunrpc/clnt_unix.c: Likewise.
6651 * sunrpc/openchild.c: Likewise.
6652 * sunrpc/svc_simple.c: Likewise.
6653 * sunrpc/svc_tcp.c: Likewise.
6654 * sunrpc/svc_udp.c: Likewise.
6655 * sunrpc/svc_unix.c: Likewise.
6656 * sunrpc/xdr.c: Likewise.
6657 * sunrpc/xdr_array.c: Likewise.
6658 * sunrpc/xdr_rec.c: Likewise.
6659 * sunrpc/xdr_ref.c: Likewise.
6660 * sunrpc/xdr_stdio.c: Likewise.
6661
1248c1c4
PB
66622011-09-09 Ulrich Drepper <drepper@gmail.com>
6663
6664 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6665
66662011-07-03 Andreas Jaeger <aj@suse.de>
6667
6668 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6669 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6670 regenerate with gen-libm-tests.pl.
6671
66722010-05-12 Petr Baudis <pasky@suse.cz>
6673
6674 [BZ #11589]
6675 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6676 around j0() zero points by switching to j1().
6677 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6681
f22e1074
UD
66822011-09-09 Ulrich Drepper <drepper@gmail.com>
6683
f19009c1
UD
6684 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6685 instead of 0.
6686 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6687 instead of 0. .
6688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6689 Patch in part by Pavel Roskin <proski@gnu.org>.
6690
3f8cc204
UD
6691 [BZ #13138]
6692 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6693 realloc.
6694 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6695 Free memory block if necessary.
6696
f22e1074
UD
6697 [BZ #12847]
6698 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6699 be NULL. Don't lock in this case.
6700
0a2349f9
RM
67012011-09-09 Roland McGrath <roland@hack.frob.com>
6702
6703 * elf/elf.h (ELFOSABI_GNU): New macro.
6704 (ELFOSABI_LINUX): Define to that.
6705
f3cdd467
DZ
67062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6707
6708 * string/strncat.c (strncat): Undef the symbol in case it has been
6709 defined in bits/string.h.
6710
74718d13
UD
67112011-09-09 Ulrich Drepper <drepper@gmail.com>
6712
633e9e0f
UD
6713 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6714
0a2349f9 6715 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6716 link map.
6717
f9924780
AJ
67182011-08-17 Andreas Jaeger <aj@suse.de>
6719
6720 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6721
7f5517aa
PP
67222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6723 Ian Lance Taylor <iant@google.com>
6724
6725 * math/libm-test.inc (lround_test): New testcase.
6726 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6727
762011fe
UD
67282011-09-08 Ulrich Drepper <drepper@gmail.com>
6729
92963737
UD
6730 * Makefile: Remove support for automatic cvs check-ins.
6731 * Makerules: Likewise.
6732 * config.make.in: Likewise.
6733 * configure.in: Likewise.
6734 * intl/Makefile: Likewise.
6735 * locale/Makefile: Likewise.
6736 * po/Makefile: Likewise.
6737 * posix/Makefile: Likewise.
6738 * sysdeps/gnu/Makefile: Likewise.
6739 * sysdeps/mach/hurd/Makefile: Likewise.
6740 * sysdeps/sparc/sparc32/Makefile: Likewise.
6741
b0727fd8
JS
6742 [BZ #13118]
6743 * posix/Makefile (bug-regex32-ENV): Define.
6744 Patch by John Stanley <jpsinthemix@verizon.net>.
6745
a0f33f99
UD
6746 * misc/Makefile (headers): Add bits/select2.h.
6747 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6748 * misc/bits/select2.h: New file.
6749 * include/bits/select2.h: New file.
6750 * debug/Makefile (routines): Add fdelt_chk.
6751 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6752 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6753 FD_ISSET.
6754 * debug/fdelt_chk.c: New file.
6755
762011fe
UD
6756 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6757 * wcsmbs/test-wmemcmp.c: Likewise.
6758 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6759 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6760
67612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6762
6763 * string/Makefile (strop-tests): Add memcmp.
6764 * string/test-wmemcmp.c: New file.
6765 * string/test-memcmp.c: Add wmemcmp support.
6766
7f513ec8
RM
67672011-09-08 Roland McGrath <roland@hack.frob.com>
6768
0442afb4
RM
6769 [BZ #13153]
6770 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6771 2011-07-19 change.
6772
7f513ec8
RM
6773 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6774 garbage value in a __mach_port_mod_refs call in the cases of the
6775 task-self and thread-self ports.
6776
a12b2239
ST
67772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6778
6779 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6780
610f9ab4
AS
67812011-09-08 Andreas Schwab <schwab@redhat.com>
6782
7f513ec8 6783 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6784
48882a1a
LD
67852011-09-07 Ulrich Drepper <drepper@gmail.com>
6786
b49865be
UD
6787 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6788
fdc86bc9
UD
6789 * elf/dl-libc.c (dlerror_run): Pass back error code from
6790 dl_catch_error.
6791
c966526a
UD
6792 [BZ #13123]
6793 * elf/dl-load.c (lose): Free l_origin if it is valid.
6794
48882a1a
LD
6795 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6796 names.
6797 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6798 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6799 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6800 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6801 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6802 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6803
77a2a8b4
AZ
68042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6805
6806 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6807 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6808 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6809 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6810 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6811 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6812 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6813 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6814 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6815 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6816
24f579d8
AM
68172011-08-15 Alan Modra <amodra@gmail.com>
6818
6819 [BZ #13092]
6820 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6821 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6822 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6823 ppc_mcount to static-only-routines.
6824 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6825 __mcount_internal.
6826 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6827 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6828
3d4837df
UD
68292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6830
6831 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6832 for finite and infinity parameters.
6833
22700377
WS
68342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6835
6836 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6837 and add nop instructions for throughput optimization.
6838 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6839
5025581e
WS
68402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6841
6842 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6843 aligned copy for power7 with vector-scalar instructions.
6844 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6845
08a300c9
L
68462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6847
6848 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6849 AVX check.
6850
59178ef9
AS
68512011-09-07 Andreas Schwab <schwab@redhat.com>
6852
6853 [BZ #13144]
6854 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6855 last change.
6856
e38ba7ab
UD
68572011-09-07 Ulrich Drepper <drepper@gmail.com>
6858
6859 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6860 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6861 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6862 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6863 clock_gettime.
6864
d53a73ac
UD
68652011-09-06 Ulrich Drepper <drepper@gmail.com>
6866
fc8bffcc
UD
6867 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6868 Forgot to demangle the pointer.
6869
ceaa0c5d
UD
6870 * sysdeps/i386/sysdep.h: Define atom_text_section.
6871 * sysdeps/x86_64/sysdep.h: Likewise.
6872 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6873 section with atom_text_section.
6874 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6876 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6877 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6878 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6879
a77d3c17
UD
6880 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6881 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6882 already be defined. Change to take two parameters and don't assign
6883 result to variable. Adjust all users.
6884 Define INTERNAL_GETTIME if not already defined.
6885 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6886 call.
6887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6888 HAVE_CLOCK_GETTIME_VSYSCALL.
6889 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6890
d53a73ac
UD
6891 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6892 gettimeofday vsyscall, just use time.
6893
a8f84144
AS
68942011-09-06 Andreas Schwab <schwab@redhat.com>
6895
6896 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6897 <errno.h>.
6898
ef606249
UD
68992011-09-06 Ulrich Drepper <drepper@gmail.com>
6900
6901 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6902 syscall on x86-64.
6903 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6904 syscall.
6905 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6906 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6907 syscall if possible.
6908
6585cb60
UD
69092011-09-05 Ulrich Drepper <drepper@gmail.com>
6910
6911 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6912 e_ident. Don't pass to find_mapsXX.
6913 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6914
a5f524e4
LD
69152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6916
6917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6918 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6919 * sysdeps/x86_64/multiarch/strchr.S: Update.
6920 Check bit_slow_BSF bit.
6921 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6922 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6923 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6924
554881ef
UD
69252011-09-05 Ulrich Drepper <drepper@gmail.com>
6926
d96de963
UD
6927 [BZ #13134]
6928 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6929 before glibc 2.15.
6930 (tryshell): Define.
6931 (__spawni): Change last parameter to be flag. Test
6932 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6933 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6934 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6935 * posix/spawni.c: Likewise.
6936 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6937 * posix/spawnp.c: Likewise. Change normal version to use
6938 SPAWN_XFLAGS_USE_PATH.
6939 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6940 SPAWN_XFLAGS_TRY_SHELL.
6941
d48e5868
UD
6942 [BZ #13150]
6943 * posix/glob.h: Remove gcc 1.x support.
6944
554881ef
UD
6945 [BZ #13068]
6946 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6947
693fb948
LD
69482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6949
6950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6951 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6952 strrchr-sse2-bsf
6953 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6954 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6955 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6956 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6957 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6958 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6959
1b48c537
UD
69602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6961
49d42c37
UD
6962 * sysdeps/x86_64/wcscmp.S: New file.
6963
1b48c537
UD
6964 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6965 wcscmp-c wcscmp-sse2
6966 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6967 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6968 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6969 * wcsmbs/wcscmp.c: Allow renaming.
6970
15c95c5d
DM
69712011-09-05 David S. Miller <davem@davemloft.net>
6972
6973 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6974 stack slot, rather than the struct return pointer slot.
6975 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6976 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6978 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6979
2f0ad8f3
UD
69802011-09-05 Ulrich Drepper <drepper@gmail.com>
6981
d88ae418
UD
6982 * po/ja.po: Update from translation team.
6983
2f0ad8f3
UD
6984 [BZ #13144]
6985 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6986 kernel in 64-bit binaries.
6987
5f4318d1
DM
69882011-09-01 David S. Miller <davem@davemloft.net>
6989
6990 * elf/elf.h (HWCAP_SPARC_*): Move to..
6991 * sysdeps/sparc/sysdep.h: this new file and add new values.
6992 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6993 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6994 _DL_HWCAP_COUNT to 24.
6995 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6996 entries.
6997 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6998 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6999 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7001 instead of magic constants.
7002 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7003
3ba57516
DM
70042011-08-31 David S. Miller <davem@davemloft.net>
7005
7006 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7007 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7008 Reimplement to do errno handling inline.
7009 (SYSCALL_ERROR_HANDLER): New macro.
7010 (__SYSCALL_STRING): Do not do errno handling in asm.
7011 (__CLONE_SYSCALL_STRING): Delete.
7012 (__INTERNAL_SYSCALL_STRING): Delete.
7013 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7014 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7015 (PSEUDO): Reimplement to do errno handling inline.
7016 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
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/sysdep.h (INLINE_SYSCALL):
7022 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7023 i386.
7024 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7025 (inline_syscall*): Add 'err' argument.
7026 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7027 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7028 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7029 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7030
7031 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7032 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7033
2bc17433
AS
70342011-08-30 Andreas Schwab <schwab@redhat.com>
7035
7036 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7037
fbeb5f4d
JO
70382011-08-29 Jiri Olsa <jolsa@redhat.com>
7039
7040 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7041 directive.
7042
ad69cc26
DM
70432011-08-24 David S. Miller <davem@davemloft.net>
7044
7045 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7046
39dd69df
AS
70472011-08-24 Andreas Schwab <schwab@redhat.com>
7048
7049 * elf/Makefile: Add rules to build and run unload8 test.
7050 * elf/unload8.c: New file.
7051 * elf/unload8mod1.c: New file.
7052 * elf/unload8mod1x.c: New file.
7053 * elf/unload8mod2.c: New file.
7054 * elf/unload8mod3.c: New file.
7055
7056 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7057 it wasn't used.
7058
2c0b250a
DM
70592011-08-23 David S. Miller <davem@davemloft.net>
7060
7061 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7062 subtract stack bias.
7063 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7064 %sp not %fp in calculations.
7065 (_JMPBUF_UNWINDS_ADJ): Likewise.
7066
22044b48
DM
7067 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7068 (aio_suspend): Call it to force an exception region around the
7069 AIO_MISC_WAIT() invocation.
7070
2cae4995
AS
70712011-08-23 Andreas Schwab <schwab@redhat.com>
7072
7073 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7074 backslash.
7075
873a772e
AJ
70762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7077
7078 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7079 protection macro.
7080 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7081 and <dl-machine.h>.
7082 (Elf64_FuncDesc): Remove.
7083
25ad0df1
DM
70842011-08-22 David S. Miller <davem@davemloft.net>
7085
7086 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7087 sigaltstack check, add missing cfi directives.
7088 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7089 missing cfi directives, and sigaltstack handling.
7090
e888bcbe
AS
70912011-08-16 Andreas Schwab <schwab@redhat.com>
7092
7093 [BZ #11724]
7094 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7095 object is seen twice.
7096 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7097
7098 * elf/Makefile (distribute): Add tst-initorder2.c.
7099 (tests): Add tst-initorder2.
7100 (modules-names): Add tst-initorder2a tst-initorder2b
7101 tst-initorder2c tst-initorder2d. Add rules to build them.
7102 ($(objpfx)tst-initorder2.out): New rule.
7103 * elf/tst-initorder2.c: New file.
7104 * elf/tst-initorder2.exp: New file.
7105
87162f46
AS
71062011-08-22 Andreas Schwab <schwab@redhat.com>
7107
70538b7f
AS
7108 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7109
f55ffe58
AS
7110 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7111 dependencies back to end of function.
7112
87162f46
AS
7113 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7114 $(elfobjdir)/ld.so.
7115
91b392a4
UD
71162011-08-21 Ulrich Drepper <drepper@gmail.com>
7117
7118 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7119 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7121 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7122 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7123 of __vdso_gettimeofday.
7124 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7125 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7126 attribute_hidden.
7127 (_libc_vdso_platform_setup): Remove initialization of
7128 __vdso_gettimeofday and __vdso_time.
7129
5c43483f
UD
71302011-08-20 Ulrich Drepper <drepper@gmail.com>
7131
775a77e7
UD
7132 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7133 and fgetc_unlocked.
7134 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7135 getc_unlocked.
89f447ed 7136
49c74ba9
UD
7137 * elf/dl-open.c (add_to_global): Report additions to the global scope
7138 for LD_DEBUG=scopes.
7139 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7140 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7141
5c43483f
UD
7142 [BZ #13114]
7143 * stdio-common/Makefile (tests): Add bug24.
7144 * stdio-common/bug24.c: New file.
7145
a101b025
AJ
71462011-08-19 Andreas Jaeger <aj@suse.de>
7147
7148 [BZ #13114]
7149 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7150 non-existant file when using close-on-exec mode.
7151
c88f1766
UD
71522011-08-20 Ulrich Drepper <drepper@gmail.com>
7153
0276a718
UD
7154 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7155 the very first instruction.
7156
c88f1766
UD
7157 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7158 the CFI state in the end.
7159 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7160 inclusion of dl-trampoline.h.
7161 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7162
51ccffa0
AS
71632011-08-19 Andreas Schwab <schwab@redhat.com>
7164
94d7165f
AS
7165 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7166 expectations for long double.
7167
51ccffa0
AS
7168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7169 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7170
fd708658 71712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7172
7173 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7174 artificual limit depends upon the system page size.
7175
44f0a71e
UD
71762011-08-17 Ulrich Drepper <drepper@gmail.com>
7177
7178 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7179 * resolv/Makefile: Define CFLAGS-libresolv.
7180
8de79a24
AS
71812011-08-17 Andreas Schwab <schwab@redhat.com>
7182
7183 * nss/makedb.c (compute_tables): Make variables used in nested
7184 function static.
7185
27724598
UD
71862011-08-17 Ulrich Drepper <drepper@gmail.com>
7187
c5305d88
UD
7188 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7189 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7190 if buffer was too small.
7191
27724598
UD
7192 * elf/pldd.c (main): Attach to all threads in the process.
7193 Rewrite /proc handling to use *at functions.
7194
076fe015
UD
71952011-08-16 Ulrich Drepper <drepper@gmail.com>
7196
174baab3
UD
7197 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7198 specifies first scope to show.
7199 (dl_open_worker): Update callers. Move printing scope of new
7200 object to before the relocation.
44f0a71e 7201 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7202 * sysdeps/generic/ldsodefs.h: Update declaration.
7203
076fe015
UD
7204 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7205 string for the scope number.
7206
a60df2c3
UD
72072011-08-14 Ulrich Drepper <drepper@gmail.com>
7208
7209 * nscd/servicescache.c (cache_addserv): Make sure written is always
7210 initialized.
7211
5e4287d1
RM
72122011-08-14 Roland McGrath <roland@hack.frob.com>
7213
85ae0589
RM
7214 * sysdeps/i386/i486/bits/atomic.h
7215 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7216 statement expression, so as to suppress "set but not used" warning.
7217 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7218
69f63097
RM
7219 * string/strncat.c (STRNCAT): Use prototype definition.
7220
675456ef
RM
7221 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7222 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7223 -Iprograms here.
7224 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7225 (localedef-modules): Add localedef.
7226 (locale-modules): Add locale.
7227
5e4287d1
RM
7228 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7229 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7230 to avoid a warning.
7231
9c96ff23
DM
72322011-08-14 David S. Miller <davem@davemloft.net>
7233
7234 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7235 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7236
f9ddf089
UD
72372011-08-13 Ulrich Drepper <drepper@gmail.com>
7238
44f0a71e 7239 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7240 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7241 * elf/rtld.c (dl_main): Set l_name of vDSO.
7242 Call _dl_show_scope when DL_DEBUG_SCOPES.
7243 (process_dl_debug): Recognize scopes flag and also set it for all.
7244 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7245 Declare _dl_show_scope.
7246
1dc27704
UD
7247 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7248 (do_dlopen): Pass caller_dlopen to dl_open.
7249 (__libc_dlopen_mode): Initialize caller_dlopen.
7250
f9ddf089
UD
7251 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7252 of libc. Make tolower call locale-independent. Optimize a bit by
7253 using isdigit instead of isalnum.
7254 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7255
9ac533d3
UD
72562011-08-12 Ulrich Drepper <drepper@gmail.com>
7257
7258 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7259 was a dependency or dynamically loaded.
7260
89edf2e9
UD
72612011-08-11 Ulrich Drepper <drepper@gmail.com>
7262
8e999d29
UD
7263 * intl/l10nflist.c: Allow architecture-specific pop function.
7264 * sysdeps/x86_64/l10nflist.c: New file.
7265
89edf2e9
UD
7266 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7267 classification.
7268
14d96785
AS
72692011-08-10 Andreas Schwab <schwab@redhat.com>
7270
7271 * include/dirent.h: Add libc_hidden_proto for scandirat and
7272 scandirat64. Don't declare __scandirat64.
7273 * dirent/scandirat.c: Add libc_hidden_def.
7274 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7275 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7276
6761ac04
DM
72772011-08-10 David S. Miller <davem@davemloft.net>
7278
7279 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7280 enum.
7281 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7282 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7283 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7284
c55fbd1e
UD
72852011-08-09 Ulrich Drepper <drepper@gmail.com>
7286
7287 * Versions.def [libc]: Add GLIBC_2.15.
7288 * dirent/Makefile (routines): Add scandirat and scandirat64.
7289 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7290 GLIBC_2.15.
7291 * dirent/dirent.h: Declare scandirat and scandirat64.
7292 * dirent/scandirat.c: New file.
7293 * dirent/scandirat64.c: New file.
7294 * sysdeps/wordsize-64/scandirat.c: New file.
7295 * sysdeps/wordsize-64/scandirat64.c: New file.
7296 * dirent/opendir.c: Define opendirat.
7297 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7298 using scandirat.
7299 * dirent/scandir64.c: Adjust for scandir.c change.
7300 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7301 __scandirat64, and __scandir_cancel_handler.
7302 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7303 additional parameter and use openat instead of open (outside of ld.so).
7304 Add new __opendir as wrapper around __opendirat.
7305 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7306 here without requiring old scandirat implementation.
7307
879165f2
UD
73082011-08-08 Ulrich Drepper <drepper@gmail.com>
7309
7310 * dirent/scandir.c (cancel_handler): Renamed to
7311 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7312 defined. Adjust users.
7313 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7314 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7315
cb7e923b
UD
73162011-08-04 Ulrich Drepper <drepper@gmail.com>
7317
16292edd
UD
7318 * string/test-string.h (IMPL): Use __STRING to expand name and then
7319 stringify it.
7320
cb7e923b
UD
7321 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7322 of cleanups.
7323
cff82933
LD
73242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7325
7326 * string/Makefile: Update.
7327 (strop-tests): Append strncat.
7328 * string/test-wcscmp.c: New file.
7329 New comprehensive test for wcscmp.
7330 * string/test-strcmp.c: Update.
7331 (WIDE): New define.
7332
9be9bfcc
AS
73332011-07-22 Andreas Schwab <schwab@redhat.com>
7334
7335 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7336 line.
7337
2e96f1c7
AS
73382011-07-26 Andreas Schwab <schwab@redhat.com>
7339
7340 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7341 encoding to ACE if AI_IDN.
7342
85188888
JJ
73432011-08-01 Jakub Jelinek <jakub@redhat.com>
7344
7345 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7346 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7347
5fa16e9b
LD
73482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7349
7350 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7351 Fix overflow bug in strncat.
7352 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7353
7354 * string/test-strncat.c: Update.
7355 Add new tests for checking overflow bugs.
7356
73572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7358
7359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7360 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7361 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7362 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7363 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7364 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7365 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7366 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7367 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7368
7369 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7370 (USE_AS_STRCAT): Define.
7371 Add strcat and strncat support.
7372 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7373
8c1a459f
AS
73742011-07-25 Andreas Schwab <schwab@redhat.com>
7375
7376 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7377 __n bigger than INT_MAX+1.
7378 (__strncmp_g): Likewise.
7379
bba33c28
UD
73802011-07-23 Ulrich Drepper <drepper@gmail.com>
7381
798be72d
UD
7382 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7383 * libio/stido.h: Likewise.
7384
8accd4dc
UD
7385 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7386 (AF_NFC): Define.
7387 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7388 (AF_NFC): Define.
7389
cbff0d96
UD
7390 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7391 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7392 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7393 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7395
9191c04a
UD
7396 [BZ #13021]
7397 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7398 installed.
7399
bba33c28
UD
7400 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7401 typo.
7402 (_dl_x86_64_save_sse): Likewise.
7403
90f139dd
UD
74042011-07-22 Ulrich Drepper <drepper@gmail.com>
7405
1aae088a
UD
7406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7407 OSXSAVE.
7408 (_dl_x86_64_save_sse): Likewise.
7409
8e2045f5
UD
7410 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7411
90f139dd
UD
7412 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7413
1d002f25
AS
74142011-07-21 Andreas Schwab <schwab@redhat.com>
7415
7416 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7417 change.
7418 (_dl_x86_64_save_sse): Use correct AVX check.
7419
21137f89
UD
74202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7421
7422 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7423 bug in strncpy/strncat.
7424 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7425
a65c0b7a
UD
74262011-07-21 Ulrich Drepper <drepper@gmail.com>
7427
7428 * string/tester.c (test_strcat): Add tests for different alignments
7429 of source and destination.
7430 (test_strncat): Likewise.
7431
6986b98a
UD
74322011-07-20 Ulrich Drepper <drepper@gmail.com>
7433
90bb2039
UD
7434 [BZ #12852]
7435 * posix/glob.c (glob): Check passed in values before using them in
7436 expressions to avoid some overflows.
7437 (glob_in_dir): Likewise.
7438
5644ef54
UD
7439 [BZ #13007]
7440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7441 check for AVX enablement so that we don't crash with old kernels and
7442 new hardware.
7443 * elf/tst-audit4.c: Add same checks here.
7444 * elf/tst-audit6.c: Likewise.
7445
7446 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7447
bfc9dc9b
AS
74482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7449
7450 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7451
702e64bb
UD
74522011-07-20 Ulrich Drepper <drepper@gmail.com>
7453
7454 * po/cs.po: Update from translation team.
7455 * po/bg.po: Likewise.
7456
295e904f
MP
74572011-07-12 Marek Polacek <mpolacek@redhat.com>
7458
7459 * misc/sys/cdefs.h: Add support for const attribute.
7460 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7461 to gnu_dev_{major,minor,makedev} functions.
7462
3ff94596
MP
74632011-07-20 Marek Polacek <mpolacek@redhat.com>
7464
7465 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7466
28b59fca
AS
74672011-07-20 Andreas Schwab <schwab@redhat.com>
7468
7469 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7470 strlen results.
7471
19df733e
AK
74722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7473
7474 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7475 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7476 register in order to avoid conflicts with the soft frame pointer
7477 being held in r11 when necessary.
7478 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7479 (INTERNAL_VSYSCALL_NCS): Likewise.
7480
c8835729
MP
74812011-07-14 Marek Polacek <mpolacek@redhat.com>
7482
7483 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7484 * elf/dl-fini.c (_dl_fini): Adjust caller.
7485 * elf/dl-close.c (_dl_close_worker): Likewise.
7486 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7487
b902330c
MP
74882011-07-15 Marek Polacek <mpolacek@redhat.com>
7489
8991e135
MP
7490 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7491 "aux_cache->nlibs < 0".
7492
b902330c
MP
7493 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7494 in the reload-count case.
7495
99710781
LD
74962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7497
7498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7499 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7500 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7501 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7502 * sysdeps/x86_64/multiarch/strcat.S: New file.
7503 * sysdeps/x86_64/multiarch/strncat.S: New file.
7504 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7505 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7506 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7507 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7508 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7509 (USE_AS_STRCAT): Define.
7510 Add strcat and strncat support.
7511 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7512 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7513 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7514 * string/strncat.c: Update.
7515 (USE_AS_STRNCAT): Define.
7516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7517 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7518 and i7.
7519 * sysdeps/x86_64/multiarch/init-arch.h
7520 (bit_Prefer_PMINUB_for_stringop): New.
7521 (index_Prefer_PMINUB_for_stringop): Likewise.
7522 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7523 bit_Prefer_PMINUB_for_stringop.
7524
7dc6bd90
UD
75252011-07-19 Ulrich Drepper <drepper@gmail.com>
7526
7527 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7528 buffer64.
7529 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7530 of casting of buffer.
7531 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7532 buffer32 and buffer64.
7533 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7534 writes instead of casting of buffer.
7535 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7536 buffer32.
7537 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7538 casting of buffer.
7539
e0e72284
AS
75402011-07-19 Andreas Schwab <schwab@redhat.com>
7541
7542 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7543
feb1eb0b
UD
75442011-07-19 Ulrich Drepper <drepper@gmail.com>
7545
7546 * nscd/nscd.c (termination_handler): Don't do anything for a database
7547 if it has not yet been initialized.
7548
298711ff
UD
75492011-07-18 Ulrich Drepper <drepper@gmail.com>
7550
7551 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7552
75532011-07-15 Marek Polacek <mpolacek@redhat.com>
7554
7555 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7556
f9d68389
UD
75572011-07-18 Ulrich Drepper <drepper@gmail.com>
7558
7559 * po/nl.po: Update from translation team.
7560 * po/sv.po: Likewise.
7561
db290cf5
RM
75622011-07-16 Roland McGrath <roland@hack.frob.com>
7563
7564 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7565 now disallowed by GCC.
5c550700 7566
fd5e21c7
RM
7567 * configure.in (use-default-link): Default to yes if a test -shared
7568 link meets our qualifications.
7569 * configure: Regenerated.
7570
5c550700
RM
7571 * config.make.in (output-format): New variable.
7572 * configure.in: Check for ld --print-output-format support.
7573 * configure: Regenerated.
7574 * Makerules ($(common-objpfx)format.lds)
7575 [$(output-format) != unknown]: Just use $(output-format),
7576 instead of the linker-script munging.
7577
9fa2c032
RM
75782011-07-14 Roland McGrath <roland@hack.frob.com>
7579
a6928d51
RM
7580 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7581 of $(common-objpfx)shlib.lds.
7582 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7583
661607b3
RM
7584 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7585 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7586
9fa2c032
RM
7587 * configure.in (-z relro check): Adjust test code to add a large
7588 writable data section after it.
7589 * configure: Regenerated.
7590
defe9061
RM
75912011-07-11 Roland McGrath <roland@hack.frob.com>
7592
7593 * configure.in (-z relro check): Fix test code to make the variable
7594 truly const.
7595 * configure: Regenerated.
7596
319b9ad4
UD
75972011-07-11 Ulrich Drepper <drepper@gmail.com>
7598
7599 * nscd/nscd.h (struct traced_file): Define.
7600 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7601 elements. Add traced_files.
7602 (inotify_fd): Declare.
7603 (register_traced_file): Declare.
7604 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7605 (inotify_fd): Export.
7606 (resolv_conf_descr): Remove.
7607 (nscd_init): Move inotify descriptor creation to main.
7608 Don't register files for notification here.
7609 (register_traced_file): New function.
7610 (invalidate_cache): Don't use reset_res to determine whether to call
7611 res_init, go through the list of registered files.
7612 (main_loop_poll): The inotify descriptors are now stored in the
7613 structures for the traced files.
7614 (main_loop_epoll): Likewise
7615 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7616 to __nss_disable_nscd.
7617 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7618 for a database anymore. Check the records for all the registered
7619 files instead.
7620 * nss/Makefile (libnss_files-routines): Add files-init.
7621 (libnss_db-routines): Add db-init.
7622 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7623 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7624 * nss/nss_db/db-init.c: New file.
7625 * nss/nss_files/files-init.c: New file.
7626 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7627 __nss_lookup_function.
7628 (__nss_lookup_function): Call nss_load_library.
7629 (nss_load_all_libraries): New function.
7630 (__nss_disable_nscd): Take parameter with callback function for files
7631 to register. Set is_nscd. Load all the DSOs for the NSS modules
7632 used for the cached services.
7633 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7634 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7635 options for features to all the files in nscd.
7636
7637 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7638
23bee3e8
RM
76392011-07-10 Roland McGrath <roland@hack.frob.com>
7640
7641 * csu/elf-init.c (__libc_csu_init): Comment typo.
7642
46a5b7f0
UD
76432011-07-09 Ulrich Drepper <drepper@gmail.com>
7644
7645 * po/pl.po: Update from translation team.
7646 * po/ja.po: Likewise.
7647 * po/ru.po: Likewise.
7648 * po/ko.po: Likewise.
7649 * po/fr.po: Likewise.
7650
d30cf5bb
RM
76512011-07-09 Roland McGrath <roland@hack.frob.com>
7652
113ddea4
RM
7653 * configure.in (.ctors/.dtors header and trailer check):
7654 Use an empirical test on a built program.
7655 * configure: Regenerated.
7656
574920b4
RM
7657 * configure.in (-z relro check): Use an empirical test on a built DSO.
7658 Detect, but do not require, on ia64.
7659 * configure: Regenerated.
7660
d30cf5bb
RM
7661 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7662 Update tests that use readelf to use $READELF instead.
7663 * configure: Regenerated.
7664
8538fdb3
UD
76652011-07-08 Ulrich Drepper <drepper@gmail.com>
7666
7667 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7668 if the result is not used.
7669
04d08991
AJ
76702011-07-05 Andreas Jaeger <aj@suse.de>
7671
7672 [BZ#9696]
7673 * stdlib/tst-strtod.c: Add testcase.
7674
de283087
AD
76752011-07-07 Ulrich Drepper <drepper@gmail.com>
7676
4e5f31c8 7677 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7678 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7679 The latter has a higher limit. Take additional parameter to pass to
7680 the new function.
7681 (__pathconf): Pass file to __statfs_link_max.
7682 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7683 __statfs_link_max.
7684 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7685 __statfs_link_max.
7686
de283087
AD
7687 [BZ #12868]
7688 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7689 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7690 Handle Lustre.
7691 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7692 (__statfs_filesize_max): Likewise.
7693 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7694
c75fa153
AJ
76952011-07-05 Andreas Jaeger <aj@suse.de>
7696
7697 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7698
1a544854
UD
76992011-07-06 Marek Polacek <mpolacek@redhat.com>
7700
7701 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7702 `status' variable.
7703 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7704 Likewise.
7705
6f0eec67
UD
77062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7707
7708 * Makefile (strop-tests): Add strncat.
7709 * string/test-strncat.c: New file.
7710
aae30307
UD
77112011-06-30 Marek Polacek <mpolacek@redhat.com>
7712
7713 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7714
c0cfb5eb
UD
77152011-06-21 Andreas Jaeger <aj@suse.de>
7716
7717 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7718 Copy rule from iconvdata/Makefile.
7719
01636b21
UD
77202011-07-06 Ulrich Drepper <drepper@gmail.com>
7721
7722 [BZ #12922]
7723 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7724 but no long options are defined, just return 'W'.
7725
9895c8bc
UD
77262011-06-22 Marek Polacek <mpolacek@redhat.com>
7727
7728 [BZ #9696]
7729 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7730
5d4cf042
UD
77312011-07-06 Ulrich Drepper <drepper@gmail.com>
7732
7733 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7734 netgroups to read.
960e5535 7735 (innetgr): Likewise.
5d4cf042 7736
751eb97e
RM
77372011-07-05 Roland McGrath <roland@hack.frob.com>
7738
7739 * config.make.in (install_root): Default to $(DESTDIR).
7740
f15f1e45
UD
77412011-07-05 Ulrich Drepper <drepper@gmail.com>
7742
7743 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7744
4e34ac6a
RM
77452011-07-02 Roland McGrath <roland@hack.frob.com>
7746
5e9b6af4
RM
7747 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7748
84f9ea0f
RM
7749 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7750 containing directory rather than embedding absolute directory names.
7751
ea5ee9f7
RM
7752 * scripts/check-local-headers.sh: Rewritten using awk.
7753 Match by word, not by line. Print error messages for matches.
7754 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7755
1b74661a
RM
7756 * Makerules [shlib-lds-flags empty]:
7757 ($(common-objpfx)libc_pic.opts): New target.
7758 ($(common-objpfx)libc_pic.os.clean): New target.
7759 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7760
7761 * config.make.in (OBJCOPY): New variable.
7762 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7763 * configure: Regenerated.
7764
f781ef40
RM
7765 * config.make.in (use-default-link): New variable.
7766 * configure.in (use_default_link): Grok --with-default-link to set it.
7767 * configure: Regenerated.
7768 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7769 (shlib-lds, shlib-lds-flags): Define to empty.
7770
2d4fa81e
RM
7771 * Makerules (shlib-lds): New variable.
7772 (shlib-lds-flags): New variable.
7773 (build-shlib, build-moduile, build-module-asneeded): Use it.
7774 ($(common-objpfx)libc.so): Use $(shlib-lds).
7775 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7776 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7777
31fffa6b
RM
7778 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7779 DT_FLAGS/DT_FLAGS_1 with zero flags.
7780
4e34ac6a
RM
7781 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7782 linker script munging.
7783
fcfc776b
UD
77842011-07-02 Ulrich Drepper <drepper@gmail.com>
7785
7786 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7787 as 128-bit value.
7788 * crypt/sha512.c (sha512_process_block): Perform total addition using
7789 128-bit if possible.
7790 (__sha512_finish_ctx): Likewise.
7791 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7792 as 64-bit value.
7793 * crypt/sha256.c (SWAP64): Define.
7794 (sha256_process_block): Perform total addition using 64-bit if
7795 possible.
7796 (__sha256_finish_ctx): Likewise.
7797
99231d9a
UD
77982011-07-01 Ulrich Drepper <drepper@gmail.com>
7799
7800 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7801 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7802 * nscd/hstcache.c (cache_addhst): Likewise.
7803 * nscd/grpcache.c (cache_addgr): Likewise.
7804 * nscd/aicache.c (addhstaiX): Likewise
7805 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7806
445b4a53
TK
78072011-07-01 Thorsten Kukuk <kukuk@suse.de>
7808
7809 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7810 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7811 * nscd/hstcache.c (cache_addhst): Likewise.
7812 * nscd/grpcache.c (cache_addgr): Likewise.
7813 * nscd/aicache.c (addhstaiX): Likewise
7814
6d4d8e8e
AS
78152011-07-01 Andreas Schwab <schwab@redhat.com>
7816
7817 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7818 domain only when needed.
7819
89f654c5
AS
78202011-06-30 Andreas Schwab <schwab@redhat.com>
7821
7822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7823 is always restored.
7824
cf3b23ff
UD
78252011-06-29 Ulrich Drepper <drepper@gmail.com>
7826
7827 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7828 are re-adding the entry.
7829 * nscd/servicescache.c (cache_addserv): Likewise.
7830
751626f9
AJ
78312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7832
7833 * sysdeps/generic/dl-irel.h: fix protection against multiple
7834 inclusions.
7835 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7836
9113ea1f
UD
78372011-06-28 Ulrich Drepper <drepper@gmail.com>
7838
5c0b8d90
UD
7839 [BZ #12935]
7840 * malloc/memusage.sh: Fix quoting in message.
7841 * debug/xtrace.sh: Likewise.
7842
9113ea1f
UD
7843 * configure.in: Remove support for --experimental-malloc option, make
7844 it the default.
7845 * config.make.in: Likewise.
7846 * malloc/Makefile: Likewise.
7847
a4172181
AS
78482011-06-27 Andreas Schwab <schwab@redhat.com>
7849
7850 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7851 two-byte characters.
7852
78a7eee7
RM
78532011-06-27 Roland McGrath <roland@hack.frob.com>
7854
62bede13
RM
7855 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7856 AC_CACHE_CHECK invocation.
7857 * configure: Regenerated.
7858
78a7eee7
RM
7859 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7860
5ce33a62
UD
78612011-06-27 Ulrich Drepper <drepper@gmail.com>
7862
034807a9
UD
7863 [BZ #12350]
7864 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7865 bit from old_res_options.
7866
4902da17
UD
7867 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7868
5ce33a62
UD
7869 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7870 value type for setfct.
7871
c2344f56
L
78722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7873
7874 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7875 __gettimeofday instead of gettimeofday.
7876
68468076
UD
78772011-06-26 Ulrich Drepper <drepper@gmail.com>
7878
7879 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7880
acb0d739
L
78812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7882
7883 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7884
7885 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7886 info.
7887
8912479f
L
78882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7889
7890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7891 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7892 strcpy-sse2-unaligned strncpy-sse2-unaligned
7893 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7894 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7895 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7896 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7897 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7898 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7899 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7900 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7901 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7902 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7903 (STRCPY): Support SSE2 and SSSE3 versions.
7904
d5495a11
UD
79052011-06-24 Ulrich Drepper <drepper@gmail.com>
7906
7907 [BZ #12874]
7908 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7909 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7910 kernels which artificially limit size of requests.
7911
0b1cbaae
L
79122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7913
7914 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7915 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7916 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7917 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7918 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7919 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7920 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7921 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7922 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7923 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7924 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7925 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7926 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7927 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7928 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7930 Enable unaligned load optimization for Intel Core i3, i5 and i7
7931 processors.
7932 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7933 Define.
7934 (index_Fast_Unaligned_Load): Define.
7935 (HAS_FAST_UNALIGNED_LOAD): Define.
7936
07f494a0
MP
79372011-06-23 Marek Polacek <mpolacek@redhat.com>
7938
7939 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7940
fa3fc0fe
UD
79412011-06-22 Ulrich Drepper <drepper@gmail.com>
7942
7943 [BZ #12907]
7944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7945 until it is clear that the information is realy needed.
7946 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7947
e12df166
AS
79482011-06-22 Andreas Schwab <schwab@redhat.com>
7949
7950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7951
852eb34d
UD
79522011-06-22 Ulrich Drepper <drepper@gmail.com>
7953
84e2a551
UD
7954 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7955 /sys/devices/system/cpu/online if it is usable.
7956
852eb34d
UD
7957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7958 reading the information from the /proc filesystem to once a second.
7959
6e502e19
UD
79602011-06-21 Andreas Jaeger <aj@suse.de>
7961
7962 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7963 NULL after inclusion of kernel headers.
7964
75d39ff2
UD
79652011-06-21 Ulrich Drepper <drepper@gmail.com>
7966
51f9aa6a
UD
7967 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7968 calls to internal_setent.
7969
c0244a9d
UD
7970 [BZ #12885]
7971 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7972 addresses using gethostbyname4_r ignore IPv4 addresses.
7973
c5e3c2ae
UD
7974 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7975 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7976
75d39ff2
UD
7977 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7978
42675c6f
DM
79792011-06-20 David S. Miller <davem@davemloft.net>
7980
7981 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7982 inclusions.
7983 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7984
7985 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7986 (elf_irel): Use it.
7987 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7988 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7989 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7990 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7991 * sysdeps/x86_64/dl-irel.h: Likewise.
7992
7993 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7994 * elf/dl-sym.c: Likewise.
7995
57912a71
UD
79962011-06-15 Ulrich Drepper <drepper@gmail.com>
7997
7998 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7999 need to dereference resplen2.
8000
ee22793d
AS
80012011-06-14 Andreas Schwab <schwab@redhat.com>
8002
8003 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8004
a9e836b0
UD
80052011-06-15 Ulrich Drepper <drepper@gmail.com>
8006
77fb9117
UD
8007 * Makeconfig: Define vardbdir and inst_vardbdir.
8008 * nss/Makefile: Add rules to install db-Makefile.
8009
40c1b22c
UD
8010 * nss/nss_db/db-XXX.c: Cleanup.
8011
9f2da732
UD
8012 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8013 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8014 GLIBC_PRIVATE.
8015 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8016 * nss/makedb.c: Implement -g option to specify that value strings
8017 are generated and should not be added to table iterated over for
8018 get*ent calls.
8019 * nss/nss_db/db-initgroups.c: New file.
8020
82e9a1f7
UD
8021 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8022 interface.
8023
c41af17e
UD
8024 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8025 (internal_getgrouplist): Adjust to name change.
8026 Update use_initgroups_entry if this is not the first call.
8027 * nss/databases.def: Add initgroups entry.
8028
a9e836b0
UD
8029 * nss/makedb.c (compute_tables): Check result of multiple hash table
8030 sizes to minimize maximum chain length.
8031
2666d441
UD
80322011-06-14 Ulrich Drepper <drepper@gmail.com>
8033
8034 * Versions.def: Add entry for libnss_db.
8035 * shlib-versions: Likewise.
8036 * nss/Makefile: Add rules to build libnss_db.
8037 * nss/Versions: Add libnss_db information. Organize libnss_files
8038 entries better.
8039 * nss/db-Makefile: Add gshadow support. Change rules for the new
8040 makedb progra. Some minor improvements to generate smaller files.
8041 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8042 here from...
8043 * nss/makedb.c: ...here.
8044 Improve database format to be smaller and require less memory at
8045 runtime.
8046 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8047 db anymore.
8048 * nss/nss_db/db-netgrp.c: Likewise.
8049 * nss/nss_db/db-open.c: Likewise.
8050 * nss/nss_files/flies-XXX.x: Adjust comments.
8051 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8052 * nss/nss_files/files-grp.c: Likewise.
8053 * nss/nss_files/files-hosts.c: Likewise.
8054 * nss/nss_files/files-network.c: Likewise.
8055 * nss/nss_files/files-proto.c: Likewise.
8056 * nss/nss_files/files-pwd.c: Likewise.
8057 * nss/nss_files/files-rpc.c: Likewise.
8058 * nss/nss_files/files-service.c: Likewise.
8059 * nss/nss_files/files-sgrp.c: Likewise.
8060 * nss/nss_files/files-spwd.c: Likewise.
8061 * nss/nss_db/db-alias.c: Removed.
8062 * nss/nss_db/dummy-db.h: Removed.
8063
9ee76b5a
UD
80642011-06-02 Ulrich Drepper <drepper@gmail.com>
8065
8066 * nss/makedb.c: Rewritten to not use database library.
8067 * nss/Makefile: Update to build new makedb program.
8068
c71ca1f8
AJ
80692011-06-14 Andreas Jaeger <aj@suse.de>
8070
8071 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8072 memset declaration.
8073
3154bfb8
UD
80742011-06-10 Andreas Schwab <schwab@redhat.com>
8075
8076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8077 tmpbuf.
8078
b350afab
RM
80792011-06-10 Roland McGrath <roland@hack.frob.com>
8080
decd4e50
RM
8081 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8082 * elf/Makefile ($(objpfx)ld.so): Likewise.
8083
5615eaf2
RM
8084 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8085 Don't list ld.so twice in dependencies.
8086
8087 * posix/bug-regex31.c: Include <stdlib.h>.
8088
8089 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8090
8091 * nis/nss_compat/compat-spwd.c
8092 (getspent_next_nss_netgr): Remove unused variable.
8093 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8094
8095 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8096 nonmembers" output to use the right array.
8097
8098 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8099
8100 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8101
8102 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8103 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8104 * catgets/gencat.c (read_input_file): Likewise.
8105 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8106
8107 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8108 variable definition inside #if's controlling its use.
8109
8110 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8111
8112 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8113
8114 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8115
8116 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8117 unreachable code.
8118
8119 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8120
b68e08db
RM
8121 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8122 * configure: Regenerated.
8123
b350afab
RM
8124 * Makerules: Revert last change.
8125 * elf/Makefile: Likewise.
8126
28368601
RM
81272011-06-09 Roland McGrath <roland@hack.frob.com>
8128
8129 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8130 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8131 (reloc-link): Likewise.
8132
11988f8f
UD
81332011-06-09 Ulrich Drepper <drepper@gmail.com>
8134
8135 * elf/Makefile: Add rules to build pldd.
8136 * elf/pldd.c: New file.
8137 * elf/pldd-xx.c: New file.
8138
e80fab37
UD
81392011-06-07 Ulrich Drepper <drepper@gmail.com>
8140
8141 * version.h: Update for 2.15 development version.
8142
9b849836
DM
81432011-06-07 David S. Miller <davem@davemloft.net>
8144
8145 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8146 ifuncs.
8147 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8148 elf_machine_lazy_rel): Likewise.
8149 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8150 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8151 elf_machine_lazy_rel): Likewise.
8152 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8153 dl_hwcap via passed in argument.
8154 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8155 Likewise.
8156
5a31b283
AK
81572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8158
8159 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8160
069e52f8
RM
81612011-06-06 Roland McGrath <roland@hack.frob.com>
8162
8163 [BZ #12849]
8164 * manual/fdl-1.1.texi: New file, verbatim from:
8165 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8166 * manual/lgpl-2.1.texi: New file, verbatim from:
8167 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8168 * manual/Makefile (licenses): New variable, list those new file names.
8169 (texis): Use it.
8170 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8171
8172 * manual/fdl.texi: File removed.
8173 * manual/lesser.texi: File removed.
8174 * manual/libc.texinfo (Copying, Documentation License):
8175 Use new @include file names, put @appendix directive before @include.
8176
f16846a5
JJ
81772011-06-04 Jakub Jelinek <jakub@redhat.com>
8178
8179 [BZ #12841]
8180 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8181 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8182 (mq_open): Add __NTH.
8183
3d29045b
L
81842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8185
8186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8187 Assume Intel Core i3/i5/i7 processor if AVX is available.
8188
8c297311
UD
81892011-05-31 Ulrich Drepper <drepper@gmail.com>
8190
8191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8192 typo.
8193
c8fc0c91
UD
81942011-05-31 Andreas Schwab <schwab@redhat.com>
8195
8196 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8197 memory. Use alloca_account. Fix memory leak when retrying.
8198
5b27a807
UD
81992011-05-31 Ulrich Drepper <drepper@gmail.com>
8200
356f8bc6
UD
8201 * version.h (RELEASE): Bump for 2.14 release.
8202 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8203
5b27a807
UD
8204 * config.make.in (RANLIB): Remove entry.
8205
01f16ab0
UD
82062011-05-30 Ulrich Drepper <drepper@gmail.com>
8207
41fce8bd
UD
8208 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8209 (libc.pot): Work around missing support for .ksh extension in xgettext.
8210
4769ae77
UD
8211 [BZ #12684]
8212 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8213 if both request failed.
8214 (send_dg): In case of server errors clear resplen or *resplen2.
8215
6b1e7d19
UD
8216 [BZ #12454]
8217 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8218 when there are multiple maps.
8219 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8220 (_dl_fini): Remove test here.
8221
01f16ab0
UD
8222 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8223
b1ebd700
UD
82242011-05-29 Ulrich Drepper <drepper@gmail.com>
8225
7ae22829
UD
8226 [BZ #12350]
8227 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8228 bit from old_res_options.
8229 (gaih_inet): Likewise.
8230
553149f6 8231 [BZ #11099]
18a84741 8232 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8233 as signed.
8234
652ffab1
UD
8235 * resolv/res_init.c (res_setoptions): Make the code more compact.
8236
16985fd0
UD
8237 [BZ #11558]
8238 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8239 set RES_USEVC.
8240
0464f746
UD
8241 [BZ #11634]
8242 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8243
7d17596c
UD
8244 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8245
cf6bbbd7
UD
8246 [BZ #11781]
8247 * malloc/malloc.h: Declare malloc hook variables as volatile.
8248
13f1ab36
UD
8249 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8250 in last patch.
8251
b1ebd700
UD
8252 [BZ #11799]
8253 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8254 raise in the comment.
80e2212d
UD
8255 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8257 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8258
ce67228d
UD
82592011-05-28 Ulrich Drepper <drepper@gmail.com>
8260
8887a920
UD
8261 [BZ #12811]
8262 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8263 grow the buffers more if it already has to be sufficient.
8264 (build_wcs_upper_buffer): Likewise.
8265 * posix/regexec.c (check_matching): Likewise.
8266 (clean_state_log_if_needed): Likewise.
8267 (extend_buffers): Don't enlarge buffers beyond size of the input
8268 buffer.
8269 Patches mostly by Emil Wojak <emil@wojak.eu>.
8270 * posix/bug-regex32.c: New file.
8271 * posix/Makefile (tests): Add bug-regex32.
8272
4f031072
UD
8273 * locale/findlocale.c (_nl_find_locale): Return right away if
8274 _nl_explode_name failed.
8275 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8276
d0478f0c
UD
8277 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8278
de81b246
UD
8279 * debug/xtrace.sh: Unify messages.
8280 * malloc/memusage.sh: Likewise.
8281
c738465a
UD
8282 [BZ #12813]
8283 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8284 time symbol from vDSO. Substitute with vsyscall if not available.
8285 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8286 __vdso_time.
8287
f1f929d7
UD
8288 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8289 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8290 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8291 Add sendmmsg and internal_sendmmsg.
8292 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8293 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8294 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8295
ce67228d
UD
8296 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8297 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8298 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8299
e57420c6
UD
83002011-05-27 Ulrich Drepper <drepper@gmail.com>
8301
a8509ca5
UD
8302 [BZ #12813]
8303 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8304 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8305 available.
8306 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8307 __vdso_getcpu.
8308
e57420c6
UD
8309 [BZ #12814]
8310 * iconvdata/Makefile (tests): Add bug-iconv9.
8311 * iconvdata/bug-iconv9.c: New file.
8312
4d07db15
AS
83132011-05-27 Andreas Schwab <schwab@redhat.com>
8314
8315 [BZ #12814]
8316 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8317
ea486f69
JJ
83182011-05-25 Jakub Jelinek <jakub@redhat.com>
8319
8320 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8321 (struct user_regs_struct): Change intcs field back to cs.
8322
6f038433
UD
83232011-05-25 Ulrich Drepper <drepper@gmail.com>
8324
8325 * po/ja.po: Update from translation team.
8326
67f86a25
UD
83272011-05-23 Ulrich Drepper <drepper@gmail.com>
8328
8329 [BZ #12795]
8330 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8331 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8332
def7fbd6
AS
83332011-05-20 Andreas Schwab <schwab@redhat.com>
8334
8335 * stdlib/longlong.h: Update from GCC.
8336
f50ef8f1
AS
83372011-05-23 Andreas Schwab <schwab@redhat.com>
8338
8339 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8340 parameter name.
8341 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8342 Add parameter name.
8343 (__sysconf): Pass it down.
8344
de7ce8f1
UD
83452011-05-22 Ulrich Drepper <drepper@gmail.com>
8346
f2962a71
UD
8347 [BZ #12671]
8348 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8349 some situations.
8350 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8351 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8352 add in in __libc_use_alloca calls. Adjust callers.
8353 (glob): Use malloc in some situations.
8354
de7ce8f1
UD
8355 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8356 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8357 pltexit.
8358
aec84f53
UD
83592011-05-21 Ulrich Drepper <drepper@gmail.com>
8360
05bb4a68
UD
8361 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8362 and CLOCK_BOOTTIME_ALARM.
8363
7ea72f99
UD
8364 [BZ #12782]
8365 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8366 is returned.
8367
7e4afad5
UD
8368 * string/_strerror.c (__strerror_r): Print negative errors as signed
8369 numbers.
8370
8e211fec
UD
8371 [BZ #12777]
8372 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8373 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8374 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8375
f7d82dc9
UD
8376 * configure.in: Fix typo in redirection and correct removal of test
8377 files in two cases.
8378
cc9e536d
UD
8379 [BZ #12788]
8380 * locale/setlocale.c (new_composite_name): Fix test to check for
8381 identical name of all categories.
8382
aec84f53
UD
8383 [BZ #12792]
8384 * libio/filedoalloc.c (local_isatty): New function.
8385 (_IO_file_doallocate): Use local_isatty.
8386 * stdio-common/perror.c (perror): In case a new stream is used
8387 forward the stream error.
8388 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8389 error flag.
8390
78e64fdc
RT
83912011-05-20 Ulrich Drepper <drepper@gmail.com>
8392
34a9094f
UD
8393 [BZ #11869]
8394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8395 alloca.
8396 * include/alloca.h (extend_alloca_account): Define.
8397
78e64fdc
RT
8398 [BZ #11857]
8399 * posix/regex.h: Fix comments with documentation of user-accessible
8400 fields after compilation and describe correct free'ing of pattern
8401 after re_compile_pattern.
8402 Patch by Reuben Thomas <rrt@sc3d.org>.
8403
457bddfc
RA
84042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8405
8406 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8407 and -mno-altivec to prevent the compiler from using Altivec and/or
8408 VSX instructions when the corresponding registers are not available.
8409
a4527b51
AS
84102011-05-19 Andreas Schwab <schwab@redhat.com>
8411
8412 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8413
ed690b2f
UD
84142011-05-19 Ulrich Drepper <drepper@gmail.com>
8415
8416 * libio/freopen.c (freopen): Use __dup2, not dup2.
8417 * libio/freopen64.c (freopen64): Likewise.
8418
8db73634
L
84192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8420
8421 [BZ #12775]
8422 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8423 * math/Makefile (tests): Add test-powl.
8424 (CFLAGS-test-powl.c): Define.
8425 * math/test-powl.c: New file.
8426
0a197a9d
L
84272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8428
8429 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8430
ee30c380
UD
84312011-05-17 Ulrich Drepper <drepper@gmail.com>
8432
8433 [BZ #11837]
8434 * iconvdata/gb18030.c: Update to GB18020-2005.
8435
6ce75379
UD
84362011-05-16 Ulrich Drepper <drepper@gmail.com>
8437
a4b89fd8
AR
8438 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8439 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8440 Patch by Aharon Robbins <arnold@skeeve.com>.
8441
ea389b12
UD
8442 [BZ #11892]
8443 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8444 on the stack.
8445
68a3f91f
UD
8446 [BZ #11895]
8447 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8448 through underflows.
8449
15cc7dd1
UD
8450 [BZ #12766]
8451 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8452 point to strings before performing equality test for error_one_per_line
8453 mode.
8454
f3799213
UD
8455 [BZ #11697]
8456 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8457
d79a9c94
UD
8458 [BZ #11820]
8459 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8460 (struct user_fpregs_struct): Avoid __uint*_t types.
8461
56e5eb46
UD
8462 [BZ #6420]
8463 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8464 symbol info. Use it instead of calling _dl_addr locally.
8465 (lock_and_info): New function.
8466 (tr_freehook): Call lock_and_info and pass symbol info as additional
8467 parameter to tr_where.
8468 (tr_mallochook): Likewise.
8469 (tr_reallochook): Likewise.
8470 (tr_memalignhook): Likewise.
8471
6ce75379
UD
8472 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8473 used and couldn't be at all thread-safe.
8474
f8a3b5bf
UD
84752011-05-15 Ulrich Drepper <drepper@gmail.com>
8476
94b7cc37
UD
8477 * libio/freopen.c (freopen): Don't close old file descriptor
8478 before the new one is opened. Instead dup the new file descriptor
8479 to the old one after the new stream is created.
8480 * libio/freopen64.c (freopen64): Likewise.
8481 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8482 * libio/fileops.c (_IO_new_file_close_it): Handle new
8483 _IO_FLAGS2_NOCLOSE flag.
8484 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8485 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8486 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8487 _IO_FLAGS2_NOCLOSE flag.
8488 * include/unistd.h: Add hidden_proto for dup3.
8489 Define __have_dup3.
8490 * io/dup3.c: Define hidden symbol.
8491 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8492
bd25564e
UD
8493 [BZ #7101]
8494 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8495 when an incomplete long option is used.
8496 * posix/tst-getopt_long1.c: New file.
8497 * posix/Makefile (tests): Add tst-getopt_long1.
8498
c84cfef4
UD
8499 [BZ #10138]
8500 * scripts/config.guess: Update from autoconf-2.68.
8501 * scripts/config.sub: Likewise.
8502
3b85df27
UD
8503 [BZ #10157]
8504 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8505 tests into ...
8506 (has_cpuclock): ...this. New function.
8507 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8508 macro here based on has_cpuclock code.
8509
15a856b1
UD
8510 [BZ #10149]
8511 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8512 First byte (not low byte) is now always NUL.
8513 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8514
05f399e6
UD
8515 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8516 Use non-cancelable interfaces.
8517
10a52685 8518 [BZ #9809]
94ecc67d
UD
8519 * locale/iso-639.def: Add entry for Sorani.
8520
f8a3b5bf
UD
8521 [BZ #11901]
8522 * include/stdlib.h: Move include protection to the right place.
8523 Define abort_msg_s. Declare __abort_msg with it.
8524 * stdlib/abort.c (__abort_msg): Adjust type.
8525 * assert/assert.c (__assert_fail_base): New function. Majority
8526 of code from __assert_fail. Allocate memory for __abort_msg with
8527 mmap.
8528 (__assert_fail): Now call __assert_fail_base.
8529 * assert/assert-perr.c: Remove bulk of implementation. Use
8530 __assert_fail_base.
8531 * include/assert.hL Declare __assert_fail_base.
8532 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8533 mmap.
8534 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8535
1af4e298
UD
85362011-05-14 Ulrich Drepper <drepper@gmail.com>
8537
f8a3b5bf 8538 [BZ #11952]
d26dfc60
MG
8539 [BZ #12453]
8540 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8541 until all modules are registered in the DTV.
8542 * elf/Makefile: Add rules to build and run tst-tls19.
8543 * elf/tst-tls19.c: New file.
8544 * elf/tst-tls19mod1.c: New file.
8545 * elf/tst-tls19mod2.c: New file.
8546 * elf/tst-tls19mod3.c: New file.
8547 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8548
2fc54d6f
UD
8549 [BZ #12083]
8550 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8551 correctly.
8552
98d76b46
UD
8553 [BZ #12601]
8554 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8555 two-byte sequence errors.
8556 * iconvdata/Makefile (tests): Add bug-iconv8.
8557 * iconvdata/bug-iconv8.c: New file.
8558
da3c19ef
UD
8559 [BZ #12626]
8560 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8561 buf2 definition.
8562
ca408c15
UD
8563 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8564
d6f67f7d
UD
8565 [BZ #12432]
8566 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8567 (dummy_getcfa): New function.
8568 (init): Get _Unwind_GetCFA address, use dummy if not found.
8569 (backtrace_helper): In recursion check, also check whether CFA changes.
8570 (__backtrace): Completely initialize arg.
8571
1af4e298 8572 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8573 storing incomplete byte sequence in state object. Avoid testing for
8574 guaranteed too small input if we know there is enough data available.
1af4e298 8575
da62f81b
AS
85762011-05-11 Andreas Schwab <schwab@redhat.com>
8577
8578 * Makeconfig (+link-pie): Indent.
8579 * Rules (binaries-pie): Define if $(have-fpie) and
8580 $(build-shared).
8581 (binaries-shared): Also filter out $(binaries-pie).
8582 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8583 * nscd/Makefile (others-pie): Add nscd.
8584 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8585 ($(objpfx)nscd): Remove command override.
8586 * login/Makefile (others-pie): Add pt_chown.
8587 ($(objpfx)pt_chown): Remove command override.
8588 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8589 remove command overrides.
8590
fcabc0f8
UD
85912011-05-13 Ulrich Drepper <drepper@gmail.com>
8592
20030ae6
UD
8593 * libio/tst_putwc.c: Fix error messages.
8594
fcabc0f8
UD
8595 [BZ #12724]
8596 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8597 currently writing and seek to current position when not.
8598 * libio/Makefile (tests): Add bug-fclose1.
8599 * libio/bug-fclose1.c: New file.
8600
320a5dc0
PB
86012011-05-12 Ulrich Drepper <drepper@gmail.com>
8602
8603 [BZ #12511]
8604 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8605 don't set DF_1_NODELETE here.
8606 (do_lookup_x): When entering new entry test for copy relocation
8607 and if necessary set DF_1_NODELETE flag.
8608 * elf/tst-unique4.cc: New file.
8609 * elf/tst-unique4.h: New file.
8610 * elf/tst-unique4lib.cc: New file.
8611 * elf/Makefile: Add rules to build and run tst-unique4.
8612 Patch by Piotr Bury <pbury@goahead.com>.
8613
22836f52
UD
86142011-05-11 Ulrich Drepper <drepper@gmail.com>
8615
f574184a
UD
8616 [BZ #12052]
8617 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8618
e1fb097f
UD
8619 [BZ #12625]
8620 * misc/mntent_r.c (addmntent): Flush the stream after the output
8621
22836f52
UD
8622 [BZ #12393]
8623 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8624 (is_trusted_path_normalize): Skip initial colon. Append slash
8625 to empty buffer. Duplicate is_trusted_path code but allow
8626 constructed patch to be prefix.
8627 (is_dst): Allow $ORIGIN followed by /.
8628 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8629 Correct testing of result of is_trusted_path_normalize
8630 (decompose_rpath): Fix warning.
8631
7b3b0b2a
UD
86322011-05-10 Ulrich Drepper <drepper@gmail.com>
8633
8634 [BZ #11257]
8635 * grp/initgroups.c (internal_getgrouplist): When we found the service
8636 list through the initgroups entry in nsswitch.conf do not always
8637 continue on a successful lookup. Don't always use the
eac80ce2 8638 __nss_group_database value if it is set.
7b3b0b2a
UD
8639 * nss/nsswitch.conf (initgroups): Change action for successful db
8640 lookup to continue for compatibility.
8641
2a81eaa5
UD
86422011-05-09 Ulrich Drepper <drepper@gmail.com>
8643
be97a69e
UD
8644 [BZ #11532]
8645 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8646 and CP774 modules.
8647 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8648 and CP774 modules.
8649 * iconvdata/tst-tables.sh: Likewise.
8650 * iconvdata/cp770.c: New file.
8651 * iconvdata/cp771.c: New file.
8652 * iconvdata/cp772.c: New file.
8653 * iconvdata/cp773.c: New file.
8654 * iconvdata/cp774.c: New file.
8655 * iconvdata/testdata/CP770: New file.
8656 * iconvdata/testdata/CP770..UTF8: New file.
8657 * iconvdata/testdata/CP771: New file.
8658 * iconvdata/testdata/CP771..UTF8: New file.
8659 * iconvdata/testdata/CP772: New file.
8660 * iconvdata/testdata/CP772..UTF8: New file.
8661 * iconvdata/testdata/CP773: New file.
8662 * iconvdata/testdata/CP773..UTF8: New file.
8663 * iconvdata/testdata/CP774: New file.
8664 * iconvdata/testdata/CP774..UTF8: New file.
8665
8666 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8667 END CHARMAP line.
8668 * iconvdata/gen-8bit-gap.sh: Likewise.
8669 * iconvdata/gen-8bit.sh: Likewise.
8670
c1e9e399
UD
8671 * locale/iso-639.def: Add ary entry.
8672
24c55fb3 8673 [BZ #11258]
96b4b1b0
UD
8674 * locale/C-translit.h.in: Add U20A1 transliteration.
8675
bdc2f971
KB
8676 [BZ #12178]
8677 * locale/iso-639.def: Add wae entry.
8678 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8679
2952b117
UD
8680 [BZ #12545]
8681 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8682 for n.
8683
2a81eaa5
UD
8684 [BZ #12711]
8685 * locale/C-translit.h.in: Add entry for U20B9.
8686 Patch by pravin.d.s@gmail.com.
8687
28377d1b
UD
86882011-05-08 Ulrich Drepper <drepper@gmail.com>
8689
7fb90fb8
UD
8690 [BZ #12713]
8691 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8692 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8693 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8694 in rtld. Use *stat64.
7fb90fb8 8695 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8696 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8697 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8698 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8699 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8700 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8701 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8702 __fstatat64 macros.
7fb90fb8
UD
8703 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8704 * dirent/rewinddir.c: Add libc_hidden_def.
8705 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8706 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8707
28377d1b
UD
8708 * include/dirent.h (__alloc_dir): Add flags parameter.
8709 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8710 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8711 __alloc_dir.
8712 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8713 from fdopendir if O_CLOEXEC is already set.
8714
66bdbaa4
AM
87152011-03-15 Alan Modra <amodra@gmail.com>
8716
8717 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8718 l_tls_firstbyte_offset non-zero. Save padding offset in
8719 l_tls_firstbyte_offset for later use.
8720 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8721 freeing static tls block.
8722
95721191
JN
87232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8724
8725 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8726 where #ifdef was intended. The intent is to prevent ARG_MAX from
8727 being defined by the kernel headers.
8728
f87dfb1f
UD
87292011-05-07 Ulrich Drepper <drepper@gmail.com>
8730
8731 [BZ #12734]
8732 * resolv/resolv.h: Define RES_NOTLDQUERY.
8733 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8734 no-tld-query and set RES_NOTLDQUERY.
8735 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8736 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8737 modern BIND to search name as TLD unless forbidden.
8738
47c3cd7a
UD
87392011-05-07 Petr Baudis <pasky@suse.cz>
8740 Ulrich Drepper <drepper@gmail.com>
8741
8742 [BZ #12393]
8743 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8744 (is_trusted_path): ...to here.
c1e9ea35 8745 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8746 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8747 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8748
8a35c912
PP
87492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8750
8751 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8752 __BEGIN/__END_DECLS.
8753
acd41f47
UD
87542011-05-06 Ulrich Drepper <drepper@gmail.com>
8755
8756 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8757 NSS_STATUS_NOTFOUND if no record was found.
8758
597df647
AS
87592011-05-05 Andreas Schwab <schwab@redhat.com>
8760
8761 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8762 (headers-not-in-tirpc): Remove rpc/netdb.h
8763 * resolv/netdb.h: Revert last change.
8764
b9af1301
PP
87652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8766
8767 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8768 circular dependency between libgcc.a and libc.a.
8769
4e34d5f5
AS
87702011-05-05 Andreas Schwab <schwab@redhat.com>
8771
8772 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8773 * nis/Makefile: Don't install rpcsvc/*.
8774 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8775 instead of <rpc/types.h>.
8776 (MAXHOSTNAMELEN): Define.
8777
00ee369c
AS
87782011-05-03 Andreas Schwab <schwab@redhat.com>
8779
8780 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8781
0b592a30
MB
87822011-04-28 Maciej Babinski <mbabinski@google.com>
8783
8784 [BZ #12714]
8785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8786 gethostbyname4_r when IPv6 results are possible.
8787
6e04cbbe
UD
87882011-05-02 Ulrich Drepper <drepper@gmail.com>
8789
8790 [BZ #12723]
8791 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8792 _PC_PIPE_BUF handling.
8793
e4ecafe0
BH
87942011-04-30 Bruno Haible <bruno@clisp.org>
8795
8796 [BZ #12717]
8797 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8798 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8799 to 'int'.
8800 * inet/getnameinfo.c (getnameinfo): Likewise.
8801
125ee683
UD
88022011-04-29 Ulrich Drepper <drepper@gmail.com>
8803
8804 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8805 to groups setting in database lookup.
8806 * nss/nsswitch.conf: Add initgroups entry.
8807
b722481a
EB
88082011-04-22 Ulrich Drepper <drepper@gmail.com>
8809
8810 [BZ #12685]
8811 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8812 mode string.
8813 Patch by Eric Blake <eblake@redhat.com>.
8814
4df46dbd
L
88152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8816
8817 * sunrpc/Makefile (need-export-routines): Add svc_run.
8818 (routines): Remove svc_run.
8819 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8820 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8821 * sunrpc/svc_run.c (svc_run): Likewise.
8822 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8823
e84142d2
UD
88242011-04-21 Ulrich Drepper <drepper@gmail.com>
8825
8826 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8827 problem in reallocation in last patch.
8828
877175d8
UD
88292011-04-20 Ulrich Drepper <drepper@gmail.com>
8830
8831 * sunrpc/Makefile: Move inclusion of Rules.
8832
ab8eed78
UD
88332011-04-19 Ulrich Drepper <drepper@gmail.com>
8834
8835 * nss/nss_files/files-initgroups.c: New file.
8836 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8837 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8838 _nss_files_initgroups_dyn.
8839
e3d8f584
RS
88402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8841
8842 * elf/elf.h (R_ARM_IRELATIVE): Define.
8843
af190f45
UD
88442011-04-19 Ulrich Drepper <drepper@gmail.com>
8845
8846 * po/ru.po: Update from translation team.
8847
53cf59ef
UD
88482011-04-17 Ulrich Drepper <drepper@gmail.com>
8849
8850 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8851 dependencies.
8852
4c559bcd
MF
88532011-02-06 Mike Frysinger <vapier@gentoo.org>
8854
8855 [BZ #12653]
8856 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8857 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8858 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8861
4420675c
AS
88622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8863
8864 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8865 differing bytes.
8866 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8868 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8869
75ea32ab
UD
88702011-04-17 Ulrich Drepper <drepper@gmail.com>
8871
8872 [BZ #12420]
8873 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8874 storing it.
8875 * stdlib/bug-getcontext.c: New file.
8876 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8877
27390476
AK
88782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8879
8880 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8881 instructions into .machine "z9-109".
8882 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8883 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8884
10442705
AK
88852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8886
8887 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8888 between environment variables and auxiliary vector.
8889
7b57bfe5
UD
88902011-04-16 Ulrich Drepper <drepper@gmail.com>
8891
8892 * Makefile: Add rules to build linkobj/libc.so.
8893 * include/libc-symbols.h: Define libc_hidden_nolink.
8894 * include/rpc/auth.h: Mark functions which are to be hidden.
8895 * include/rpc/auth_des.h: Likewise.
8896 * include/rpc/auth_unix.h: Likewise.
8897 * include/rpc/clnt.h: Likewise.
8898 * include/rpc/des_crypt.h: Likewise.
8899 * include/rpc/key_prot.h: Likewise.
8900 * include/rpc/pmap_clnt.h: Likewise.
8901 * include/rpc/pmap_prot.h: Likewise.
8902 * include/rpc/pmap_rmt.h: Likewise.
8903 * include/rpc/rpc_msg.h: Likewise.
8904 * include/rpc/svc.h: Likewise.
8905 * include/rpc/svc_auth.h: Likewise.
8906 * include/rpc/xdr.h: Likewise.
8907 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8908 * nss/Makefile: Likewise.
8909 * sunrpc/Makefile: Don't install headers. Build library with normal
8910 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8911 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8912 for the compat linking library. Remove use of INTDEF/INTUSE.
8913 * sunrpc/auth_none.c: Likewise.
8914 * sunrpc/auth_unix.c: Likewise.
8915 * sunrpc/authdes_prot.c: Likewise.
8916 * sunrpc/authuxprot.c: Likewise.
8917 * sunrpc/clnt_gen.c: Likewise.
8918 * sunrpc/clnt_perr.c: Likewise.
8919 * sunrpc/clnt_raw.c: Likewise.
8920 * sunrpc/clnt_simp.c: Likewise.
8921 * sunrpc/clnt_tcp.c: Likewise.
8922 * sunrpc/clnt_udp.c: Likewise.
8923 * sunrpc/clnt_unix.c: Likewise.
8924 * sunrpc/des_crypt.c: Likewise.
8925 * sunrpc/des_soft.c: Likewise.
8926 * sunrpc/get_myaddr.c: Likewise.
8927 * sunrpc/key_call.c: Likewise.
8928 * sunrpc/key_prot.c: Likewise.
8929 * sunrpc/netname.c: Likewise.
8930 * sunrpc/pm_getmaps.c: Likewise.
8931 * sunrpc/pm_getport.c: Likewise.
8932 * sunrpc/pmap_clnt.c: Likewise.
8933 * sunrpc/pmap_prot.c: Likewise.
8934 * sunrpc/pmap_prot2.c: Likewise.
8935 * sunrpc/pmap_rmt.c: Likewise.
8936 * sunrpc/publickey.c: Likewise.
8937 * sunrpc/rpc_cmsg.c: Likewise.
8938 * sunrpc/rpc_common.c: Likewise.
8939 * sunrpc/rpc_dtable.c: Likewise.
8940 * sunrpc/rpc_prot.c: Likewise.
8941 * sunrpc/rpc_thread.c: Likewise.
8942 * sunrpc/rtime.c: Likewise.
8943 * sunrpc/svc.c: Likewise.
8944 * sunrpc/svc_auth.c: Likewise.
8945 * sunrpc/svc_authux.c: Likewise.
8946 * sunrpc/svc_raw.c: Likewise.
8947 * sunrpc/svc_run.c: Likewise.
8948 * sunrpc/svc_simple.c: Likewise.
8949 * sunrpc/svc_tcp.c: Likewise.
8950 * sunrpc/svc_udp.c: Likewise.
8951 * sunrpc/svc_unix.c: Likewise.
8952 * sunrpc/svcauth_des.c: Likewise.
8953 * sunrpc/xcrypt.c: Likewise.
8954 * sunrpc/xdr.c: Likewise.
8955 * sunrpc/xdr_array.c: Likewise.
8956 * sunrpc/xdr_float.c: Likewise.
8957 * sunrpc/xdr_intXX_t.c: Likewise.
8958 * sunrpc/xdr_mem.c: Likewise.
8959 * sunrpc/xdr_rec.c: Likewise.
8960 * sunrpc/xdr_ref.c: Likewise.
8961 * sunrpc/xdr_sizeof.c: Likewise.
8962 * sunrpc/xdr_stdio.c: Likewise.
8963
e6c61494
UD
89642011-04-10 Ulrich Drepper <drepper@gmail.com>
8965
8966 [BZ #12650]
8967 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8968 * sysdeps/ia64/dl-tls.h: Likewise.
8969 * sysdeps/powerpc/dl-tls.h: Likewise.
8970 * sysdeps/s390/dl-tls.h: Likewise.
8971 * sysdeps/sh/dl-tls.h: Likewise.
8972 * sysdeps/sparc/dl-tls.h: Likewise.
8973 * sysdeps/x86_64/dl-tls.h: Likewise.
8974 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8975
34fe483e
AS
89762011-03-14 Andreas Schwab <schwab@redhat.com>
8977
8978 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8979 rpath element also skip the following colon.
8980 (expand_dynamic_string_token): Add is_path parameter and pass
8981 down to DL_DST_REQUIRED and _dl_dst_substitute.
8982 (decompose_rpath): Call expand_dynamic_string_token with
8983 non-zero is_path. Ignore empty rpaths.
8984 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8985 with zero is_path.
8986
f12a32e6
AS
89872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8988
8989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8990 Make cancelable.
8991
38a7d692
UD
89922011-04-09 Ulrich Drepper <drepper@gmail.com>
8993
8994 [BZ #12655]
8995 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8996 Patch by Filipe David Manana <fdmanana@apache.org>.
8997
e451d22b
AS
89982011-04-07 Andreas Schwab <schwab@redhat.com>
8999
9000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9001 Maintain aligned stack.
9002 (CHECK_RSP): Remove unused macro.
9003
dedc7c7b
UD
90042011-04-03 Ulrich Drepper <drepper@gmail.com>
9005
9006 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9007 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9008
94521213
UD
90092011-04-02 Ulrich Drepper <drepper@gmail.com>
9010
9011 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9012
8cb700c0 9013 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9014
0354e355
L
90152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9016
9017 [BZ #12518]
9018 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9019 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9020 * sysdeps/x86_64/memmove.c: New file.
9021 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9022 (memcpy): Renamed to ...
9023 (__new_memcpy): This.
9024 (memcpy): Provide GLIBC_2_14 memcpy.
9025 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9026 (memcpy): Provide GLIBC_2_2_5 memcpy.
9027
8593482f
UD
90282011-04-01 Ulrich Drepper <drepper@gmail.com>
9029
9030 [BZ #12631]
9031 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9032
81a5726b
AS
90332011-03-30 Andreas Schwab <schwab@redhat.com>
9034
9035 * misc/syncfs.c: New file.
9036 * misc/Makefile (routines): Add syncfs.
9037 * posix/unistd.h: Declare syncfs.
9038 * sysdeps/unix/syscalls.list: Add syncfs.
9039
00e5419f
AS
90402011-04-01 Andreas Schwab <schwab@redhat.com>
9041
9042 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9043 open_by_handle_at.
9044 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9045 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9047 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9049 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9050 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9051
748876bf
UD
90522011-04-01 Ulrich Drepper <drepper@gmail.com>
9053
658e451d
UD
9054 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9055 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9056 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9057 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9058 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9059 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9060 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9061
748876bf
UD
9062 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9063 sync_file_range.c with -fexceptions.
9064 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9065 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9066 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9067 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9068 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9069 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9070 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9071 sync_file_range as cancellation point
9072 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9073 now a wrapper around __call_sync_file_range with cancellation handling.
9074 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9075 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9076 function name to __call_sync_file_range.
9077 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9078 Add call_sync_file_range.
748876bf 9079
6e63d5e1
AS
90802011-04-01 Andreas Schwab <schwab@redhat.com>
9081
9082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9083 bits/timex.h.
6e63d5e1 9084
46998f74
UD
90852011-04-01 Ulrich Drepper <drepper@gmail.com>
9086
4c1423ed
UD
9087 * iconv/iconv.h: Fix typo in comment.
9088 * io/fcntl.h: Likewise.
9089 * libio/stdio.h: Likewise.
9090 * posix/spawn.h: Likewise.
9091 * posix/unistd.h: Likewise.
9092 * stdlib/stdlib.h: Likewise.
9093 * time/time.h: Likewise.
9094 * wcsmbs/wchar.h: Likewise.
9095
158648c0
UD
9096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9097 open_by_handle): Add.
9098 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9099 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9100 Augment a few comments.
9101 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9103 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9105 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9106 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9107 open_by_handle.
9108
46998f74
UD
9109 * io/fcntl.h (AT_EMPTY_PATH): Define.
9110
83fe108b
UD
91112011-03-30 Ulrich Drepper <drepper@gmail.com>
9112
9113 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9114 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9115 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9116 to...
9117 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9118 * Versions.def: Add GLIBC_2.14.
9119 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9120 Export.
83fe108b 9121
bb242059
UD
91222011-03-22 Ulrich Drepper <drepper@gmail.com>
9123
9124 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9125 round counter.
9126 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9127
c97a1282
L
91282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9129
9130 [BZ #12597]
9131 * string/test-strncmp.c (do_page_test): New function.
9132 (check2): Likewise.
9133 (test_main): Call check2.
9134 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9135
2a115601
UD
91362011-03-20 Ulrich Drepper <drepper@gmail.com>
9137
9138 [BZ #12587]
9139 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9140 Handle cache information in CPU leaf 4.
9141 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9142
8126d904
UD
91432011-03-18 Ulrich Drepper <drepper@gmail.com>
9144
042c49c6 9145 [BZ #12583]
8126d904
UD
9146 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9147 character representation.
9148 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9149
ccfe366e
RA
91502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9151
9152 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9153 END(__isnan) to END(__isnanf) to match function entry point/label
9154 EALIGN(__isnanf,...).
9155
c6e13027
JJ
91562011-03-10 Jakub Jelinek <jakub@redhat.com>
9157
9158 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9159
33f85a3f
UD
91602011-03-10 Ulrich Drepper <drepper@gmail.com>
9161
028478fa
UD
9162 [BZ #12510]
9163 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9164 copy from the symbol referenced in the relocation to initialize the
9165 used variable.
9166 Patch by Piotr Bury <pbury@goahead.com>.
9167 * elf/Makefile: Add rules to build and tst-unique3.
9168 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9169 * elf/tst-unique3.cc: New file.
9170 * elf/tst-unique3.h: New file.
9171 * elf/tst-unique3lib.cc: New file.
9172 * elf/tst-unique3lib2.cc: New file.
9173
33f85a3f
UD
9174 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9175
03592fc7
MF
91762011-03-10 Mike Frysinger <vapier@gentoo.org>
9177
9178 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9179 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9180 to _start.
03592fc7 9181
6a5ee102
UD
91822011-03-06 Ulrich Drepper <drepper@gmail.com>
9183
9184 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9185 to-be-loaded object along a path to loader is ld.so.
9186
7e4ba49c
HJ
91872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9188 Ulrich Drepper <drepper@gmail.com>
9189
9190 * sysdeps/x86_64/memset.S: After aligning destination, code
9191 branches to different locations depending on the value of
9192 misalignment, when multiarch is enabled. Fix this.
9193
91942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9195
9196 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9197 Set _x86_64_preferred_memory_instruction for AMD processsors.
9198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9199 Set bit_Prefer_SSE_for_memop for AMD processors.
9200
13a804de
UD
92012011-03-04 Ulrich Drepper <drepper@gmail.com>
9202
9203 * libio/fmemopen.c (fmemopen): Optimize a bit.
9204
9d25c392
AS
92052011-03-03 Andreas Schwab <schwab@redhat.com>
9206
9207 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9208
a5543c6a
RM
92092011-03-03 Roland McGrath <roland@redhat.com>
9210
9211 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9212
012d35f7
DM
92132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9214
7e4ba49c 9215 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9216 __bzero_ultra1 instead of __memset_ultra1.
9217
4bff6e01
AS
92182011-02-23 Andreas Schwab <schwab@redhat.com>
9219 Ulrich Drepper <drepper@gmail.com>
9220
9221 [BZ #12509]
9222 * include/link.h (struct link_map): Add l_orig_initfini.
9223 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9224 returning unsuccessfully.
9225 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9226 close of a file loaded at startup, restore the original l_initfini
9227 list.
9228 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9229 list, store the pointer.
9230 * elf/Makefile ($(objpfx)noload-mem): New rule.
9231 (noload-ENV): Define.
9232 (tests): Add $(objpfx)noload-mem.
9233 * elf/noload.c: Include <memcheck.h>.
9234 (main): Call mtrace. Close all opened handles.
9235
f2092faf
AS
92362011-02-17 Andreas Schwab <schwab@redhat.com>
9237
9238 [BZ #12454]
9239 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9240 dependencies are missing.
9241
6c8a2e88
ST
92422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9243
f2092faf 9244 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9245 Hurd needs munmap.
9246 * sysdeps/mach/hurd/ifreq.h: New file.
9247
84a42118
PB
92482011-01-27 Petr Baudis <pasky@suse.cz>
9249 Ulrich Drepper <drepper@gmail.com>
9250
071f805e 9251 [BZ 12445]#
84a42118
PB
9252 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9253 to extend_alloca().
9254 * stdio-common/bug23.c: New file.
9255 * stdio-common/Makefile (tests): Add bug23.
9256
e23fe25b
AS
92572010-09-28 Andreas Schwab <schwab@redhat.com>
9258 Ulrich Drepper <drepper@gmail.com>
9259
9260 [BZ #12489]
9261 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9262 before performing relro protection. At old place add assertion
9263 to make sure nothing changed.
9264
d3f02e10
NS
92652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9266 Glauber de Oliveira Costa <glommer@gmail.com>
9267
9268 * elf/elf.h: Add new ARM TLS relocs.
9269
d55fd7a5
RA
92702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9271
9272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9273 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9274 cast from r3.
9275 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9276 'tests' variable.
9277 * sysdeps/wordsize-64/tst-writev.c: New file.
9278
2206397e
RA
92792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9280
9281 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9282 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9283 insns in _dl_start to prevent a TOC reference before relocs are
9284 resolved.
9285
e9433893
UD
92862011-02-15 Ulrich Drepper <drepper@gmail.com>
9287
9288 [BZ #12469]
9289 * Makeconfig: Remove RANLIB definition.
9290 * Makerules: Don't use RANLIB.
9291 * aclocal.m4: Remove ranlib test.
9292 * configure.in: No need to check for ranlib.
9293 * elf/rtld-Rules: Don't use RANLIB.
9294
f75286c6
ST
92952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9296
8e31c82d
ST
9297 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9298 protection macro.
9299 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9300 inclusion protection macro.
9301
f75286c6
ST
9302 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9303 SIGRTMIN and SIGRTMAX and print information in that case only when
9304 SIGRTMIN is defined.
9305
c1d0e639
JJ
93062011-02-11 Jakub Jelinek <jakub@redhat.com>
9307
9308 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9309 arginfo fn returning -1.
9310
9311 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9312 and thousands string is zero terminated.
9313
edf9294e
AS
93142011-02-03 Andreas Schwab <schwab@redhat.com>
9315
9316 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9317 sysdeps/unix/sysv/linux/bits/socket.h.
9318
2b7e92df
ST
93192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9320
edf9294e
AS
9321 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9322 (__CPU_COUNT): Remove old macros.
9323 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9324 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9325 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9326 (__sched_cpualloc, __sched_cpufree): Add declarations.
9327
a4c7ea7b
UD
93282011-02-05 Ulrich Drepper <drepper@gmail.com>
9329
9330 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9331 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9332 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9333 (readdhstai): Return value of addhstaiX call.
9334 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9335 (addgrbyX): Return value returned by cache_addgr.
9336 (readdgrbyname): Return value returned by addgrbyX.
9337 (readdgrbygid): Likewise.
9338 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9339 (addpwbyX): Return value returned by cache_addpw.
9340 (readdpwbyname): Return value returned by addhstbyX.
9341 (readdpwbyuid): Likewise.
9342 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9343 (addservbyX): Return value returned by cache_addserv.
9344 (readdservbyname): Return value returned by addservbyX:
9345 (readdservbyport): Likewise.
9346 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9347 (addhstbyX): Return value returned by cache_addhst.
9348 (readdhstbyname): Return value returned by addhstbyX.
9349 (readdhstbyaddr): Likewise.
9350 (readdhstbynamev6): Likewise.
9351 (readdhstbyaddrv6): Likewise.
9352 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9353 (readdinitgroups): Return value returned by addinitgroupsX.
9354 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9355 (prune_cache): Keep track of timeout value of re-added entries.
9356 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9357 * nscd/nscd.h: Adjust prototypes of readd* functions.
9358
a0bf67cc
RM
93592011-02-04 Roland McGrath <roland@redhat.com>
9360
9361 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9362 (nis_stats): Likewise.
9363 * nis/nis_modify.c (nis_modify): Likewise.
9364 * nis/nis_remove.c (nis_remove): Likewise.
9365 * nis/nis_add.c (nis_add): Likewise.
9366
9367 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9368
9369 * posix/fnmatch_loop.c: Add some consts.
9370
9371 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9372
435b95eb
L
93732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9374
9375 [BZ #12460]
9376 * config.make.in (config-cflags-novzeroupper): Define.
9377 * configure.in: Substitute libc_cv_cc_novzeroupper.
9378 * elf/Makefile (AVX-CFLAGS): Define.
9379 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9380 (CFLAGS-tst-auditmod4a.c): Likewise.
9381 (CFLAGS-tst-auditmod4b.c): Likewise.
9382 (CFLAGS-tst-auditmod6b.c): Likewise.
9383 (CFLAGS-tst-auditmod6c.c): Likewise.
9384 (CFLAGS-tst-auditmod7b.c): Likewise.
9385 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9386
8517b15e
UD
93872011-02-02 Ulrich Drepper <drepper@gmail.com>
9388
9389 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9390 function to the callback.
9391 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9392
10a656fe
AS
93932011-02-02 Andreas Schwab <schwab@redhat.com>
9394
9395 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9396 of errno.
9397
968dad0a
UD
93982011-01-19 Ulrich Drepper <drepper@gmail.com>
9399
9f94d2ea 9400 [BZ #11724]
968dad0a
UD
9401 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9402 of constructors.
9403 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9404 of destructors.
9405 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9406
9407 [BZ #11724]
9408 * elf/Makefile: Add rules to build and run new test.
9409 * elf/tst-initorder.c: New file.
9410 * elf/tst-initorder.exp: New file.
9411 * elf/tst-initordera1.c: New file.
9412 * elf/tst-initordera2.c: New file.
9413 * elf/tst-initordera3.c: New file.
9414 * elf/tst-initordera4.c: New file.
9415 * elf/tst-initorderb1.c: New file.
9416 * elf/tst-initorderb2.c: New file.
9417 * elf/tst-order-a1.c: New file.
9418 * elf/tst-order-a2.c: New file.
9419 * elf/tst-order-a3.c: New file.
9420 * elf/tst-order-a4.c: New file.
9421 * elf/tst-order-b1.c: New file.
9422 * elf/tst-order-b2.c: New file.
9423 * elf/tst-order-main.c: New file.
9424 New test case by George Gensure <werkt0@gmail.com>.
9425
86e92359
UD
94262010-10-01 Andreas Schwab <schwab@redhat.com>
9427
9428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9429 decoding ACE if AI_CANONIDN.
9430
5d5732b0
UD
94312011-01-18 Ulrich Drepper <drepper@gmail.com>
9432
9433 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9434
a77e8cbc
UD
94352011-01-17 Ulrich Drepper <drepper@gmail.com>
9436
6392473f
UD
9437 * version.h (RELEASE): Bump for 2.13 release.
9438 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9439
620a0529
UD
9440 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9441
18ba70a5
UD
9442 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9443 MADV_NOHUGEPAGE.
32465c3e
UD
9444 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9445 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9446 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9447 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9448 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9449 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9450
c0dafcf1
UD
9451 * posix/getconf.c: Update copyright year.
9452 * catgets/gencat.c: Likewise.
9453 * csu/version.c: Likewise.
9454 * debug/catchsegv.sh: Likewise.
9455 * debug/xtrace.sh: Likewise.
9456 * elf/ldconfig.c: Likewise.
9457 * elf/ldd.bash.in: Likewise.
9458 * elf/sprof.c (print_version): Likewise.
9459 * iconv/iconv_prog.c: Likewise.
9460 * iconv/iconvconfig.c: Likewise.
9461 * locale/programs/locale.c: Likewise.
9462 * locale/programs/localedef.c: Likewise.
9463 * malloc/memusage.sh: Likewise.
9464 * malloc/mtrace.pl: Likewise.
9465 * nscd/nscd.c (print_version): Likewise.
9466 * nss/getent.c: Likewise.
9467
a77e8cbc
UD
9468 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9469 PF_CAIF, and PF_ALG.
9470 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9471
77e8bddf
AS
94722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9473
1f20b93a
AS
9474 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9475 (modules-names): Use them.
9476 (ifunc-test-modules, ifunc-pie-tests): Define.
9477 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9478 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9479 (test-extras): Likewise.
9480 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9481 $(compile-command.c).
9482 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9483 (all-built-dso): Define.
9484 (check-textrel.out, check-execstack.out): Depend on it.
9485
77e8bddf
AS
9486 * configure.in: Don't override --enable-multi-arch.
9487
bc425b33
UD
94882011-01-15 Ulrich Drepper <drepper@gmail.com>
9489
9490 [BZ #6812]
9491 * nscd/hstcache.c (tryagain): Define.
9492 (cache_addhst): Return tryagain not notfound for temporary errors.
9493 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9494 failed.
9495
794c3ad3
UD
94962011-01-14 Ulrich Drepper <drepper@gmail.com>
9497
70181fdd
UD
9498 [BZ #10563]
9499 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9500 to make the syscall.
9501 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9502
794c3ad3
UD
9503 [BZ #12378]
9504 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9505 and fall back to matching as normal character if the string ends before
9506 the matching ']' is found. This is what POSIX requires.
9507 * posix/testfnm.c: Adjust test result.
9508 * posix/globtest.sh: Adjust test result. Add new test.
9509 * posix/tst-fnmatch.input: Likewise.
9510 * posix/tst-fnmatch2.c: Add new test.
9511
68dc9497
AS
95122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9513
9514 * elf/Makefile (check-execstack): Revert last change. Depend on
9515 check-execstack.h.
9516 (check-execstack.h): New target.
9517 (generated): Add check-execstack.h.
9518 * elf/check-execstack.c: Include "check-execstack.h".
9519 (main): Revert last change.
9520 (handle_file): Return zero if GNU_STACK is absent and
9521 DEFAULT_STACK_PERMS doesn't include PF_X.
9522
451f001b
UD
95232011-01-13 Ulrich Drepper <drepper@gmail.com>
9524
cfa28e56
UD
9525 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9526 in child fails because the descriptor is already closed.
8cf8ce17
UD
9527 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9528 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9529 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9530
1086d70d
UD
9531 [BZ #12397]
9532 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9533 syscall.
9534
451f001b
UD
9535 [BZ #10484]
9536 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9537 temporary buffer used to handle multi lookups locally.
a85b5cb4 9538 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9539
08769175
UD
95402011-01-12 Ulrich Drepper <drepper@gmail.com>
9541
9542 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9543 loader is ld.so.
9544
5e49c52e
UD
95452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9546
9547 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9548 alignment for SSE2.
9549
60522a5f
UD
95502011-01-12 Ulrich Drepper <drepper@gmail.com>
9551
9552 [BZ #12394]
9553 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9554 characters. When rounding increased number of integer digits recompute
9555 number of groups.
9556 * stdio-common/tst-grouping.c: New file.
9557 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9558
f257bbd7
UD
95592011-01-09 Ulrich Drepper <drepper@gmail.com>
9560
9561 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9562 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9563
9564 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9565 void.
9566 * bits/select.h: Likewise.
9567
fa9c15cb
UD
95682011-01-08 Ulrich Drepper <drepper@gmail.com>
9569
9570 * po/ja.po: Update from translation team.
9571
16c2895f
DM
95722011-01-04 David S. Miller <davem@sunset.davemloft.net>
9573
9574 [BZ #11155]
9575 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9576 implementation just like for lxstat, fxstatat, et al.
9577
2543fef2
JM
95782010-12-27 Jim Meyering <meyering@redhat.com>
9579
9580 [BZ #12348]
9581 * posix/regexec.c (build_trtable): Return failure indication upon
9582 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9583
98727dbe
UD
95842010-12-25 Ulrich Drepper <drepper@gmail.com>
9585
5bd6dc5c
UD
9586 [BZ #12201]
9587 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9588 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9589 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9590 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9591
97983464
UD
9592 [BZ #12207]
9593 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9594
98727dbe
UD
9595 [BZ #12204]
9596 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9597 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9598
4a531bb0
L
95992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9600
9601 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9602 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9603 script has SORT_BY_INIT_PRIORITY.
9604 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9605 NO_CTORS_DTORS_SECTIONS is defined.
9606 * elf/soinit.c: Likewise.
9607 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9608 NO_CTORS_DTORS_SECTIONS is defined.
9609 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9610 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9611 * sysdeps/sh/init-first.c: Likewise.
9612 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9613
07eb4b71
UD
96142010-12-24 Ulrich Drepper <drepper@gmail.com>
9615
9616 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9617 always use the slow path.
9618
30950a5f
RA
96192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9620
9621 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9622 similar rule which adds the sysdep directories to the header search in
9623 order to pick up the correct platform stackinfo.h.
9624 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9625 perform test if it is, otherwise return successfully without testing.
9626 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9627 DEFAULT_STACK_PERMS define in stackinfo.h.
9628 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9629 defined in stackinfo.h.
9630 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9631 DEFAULT_STACK_PERMS defined in stackinfo.h.
9632 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9633 * sysdeps/ia64/stackinfo.h: Likewise.
9634 * sysdeps/s390/stackinfo.h: Likewise.
9635 * sysdeps/sh/stackinfo.h: Likewise.
9636 * sysdeps/sparc/stackinfo.h: Likewise.
9637 * sysdeps/x86_64/stackinfo.h: Likewise.
9638 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9639 PF_X for powerpc64. Retain PF_X for powerpc32.
9640
db753e2c
UD
96412010-12-19 Ulrich Drepper <drepper@gmail.com>
9642
14b697f7
UD
9643 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9644 accurately.
db753e2c
UD
9645 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9646 GETDENTS_64BIT_ALIGNED.
9647
28300719
UD
96482010-12-14 Ulrich Drepper <dreper@gmail.com>
9649
14b697f7 9650 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9651
4f197237
AS
96522010-12-10 Andreas Schwab <schwab@redhat.com>
9653
dbb0472f
AS
9654 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9655 _GNU_SOURCE.
9656
4f197237
AS
9657 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9658 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9659 Remove __restrict.
9660 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9661 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9662
fb88ac72
UD
96632010-12-09 Ulrich Drepper <drepper@gmail.com>
9664
9665 [BZ #11655]
9666 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9667 are initialized.
9668
42acbb92
JJ
96692010-12-09 Jakub Jelinek <jakub@redhat.com>
9670
9671 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9672
c038d98d
UD
96732010-12-03 Ulrich Drepper <drepper@gmail.com>
9674
9675 * po/it.po: Update from translation team.
9676
3a4a2499
L
96772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9678
9679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9680 unused codes.
9681
1e24cf6e
UD
96822010-11-30 Ulrich Drepper <drepper@gmail.com>
9683
9684 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9685
a7690819
AS
96862010-11-24 Andreas Schwab <schwab@redhat.com>
9687
9688 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9689 specially.
9690 (gaih_getanswer_slice): Likewise.
9691
3bf8d1b1
JJ
96922010-10-20 Jakub Jelinek <jakub@redhat.com>
9693
9694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9695
6db52fbb
PB
96962010-05-31 Petr Baudis <pasky@suse.cz>
9697
9698 [BZ #11149]
9699 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9700 silently even in the chroot mode.
9701
eaca7569
UD
97022010-11-22 Ulrich Drepper <drepper@gmail.com>
9703
9704 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9705 last patch a bit. Pretty printing
9706
3056dcdb
UD
97072010-05-31 Petr Baudis <pasky@suse.cz>
9708
9709 [BZ #10085]
9710 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9711 initialization of skip_initgroups_dyn.
9712
cf7c9078
UD
97132010-11-19 Ulrich Drepper <drepper@gmail.com>
9714
9715 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9716 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9717
a1fb5e3e
UD
97182010-11-16 Ulrich Drepper <drepper@gmail.com>
9719
9720 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9721
3540d66b
AS
97222010-11-11 Andreas Schwab <schwab@redhat.com>
9723
9724 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9725 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9726 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9727 ($(objpfx)tst-fnmatch-mem): New rule.
9728 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9729 * posix/tst-fnmatch.c (main): Call mtrace.
9730
13b69574
L
97312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9732
9733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9734 Support Intel processor model 6 and model 0x2c.
9735
da93d214
LM
97362010-11-10 Luis Machado <luisgpm@br.ibm.com>
9737
9738 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9739 signed comparison.
9740
8ca52c6e
L
97412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9742
9743 [BZ #12205]
9744 * string/test-strncasecmp.c (check_result): New function.
9745 (do_one_test): Use it.
9746 (check1): New function.
9747 (test_main): Use it.
9748 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9749 Support strcasecmp and strncasecmp.
9750
69da074d
UD
97512010-11-08 Ulrich Drepper <drepper@gmail.com>
9752
9753 [BZ #12194]
9754 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9755 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9756
ff02d528
L
97572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9758
9759 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9760 IFUNC support.
9761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9762 memset-x86-64.
9763 * sysdeps/x86_64/multiarch/bzero.S: New file.
9764 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9765 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9766 * sysdeps/x86_64/multiarch/memset.S: New file.
9767 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9769 Set bit_Prefer_SSE_for_memop for Intel processors.
9770 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9771 Define.
9772 (index_Prefer_SSE_for_memop): Define.
9773 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9774
344d0b54
LM
97752010-11-04 Luis Machado <luisgpm@br.ibm.com>
9776
9777 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9778 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9779
c0dde15b
UD
97802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9781
9782 [BZ #12191]
9783 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9784 (__x86_64_raw_data_cache_size_half): Likewise.
9785 (__x86_64_raw_shared_cache_size): Likewise.
9786 (__x86_64_raw_shared_cache_size_half): Likewise.
9787
9788 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9789 (__x86_64_raw_data_cache_size_half): Likewise.
9790 (__x86_64_raw_shared_cache_size): Likewise.
9791 (__x86_64_raw_shared_cache_size_half): Likewise.
9792 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9793 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9794 and __x86_64_raw_shared_cache_size_half. Round
9795 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9796 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9797 to multiple of 256 bytes.
9798
0e516e0e
MS
97992010-11-03 Ulrich Drepper <drepper@gmail.com>
9800
9801 [BZ #12167]
9802 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9803 of inacessible symlinks. Verify result of symlink before returning it.
9804 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9805 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9806
0e012e87
ER
98072010-10-28 Erich Ritz <erichritz@gmail.com>
9808
9809 * math/math.h (isinf): Fix typo in comment.
9810
de0ff7bc
UD
98112010-11-01 Ulrich Drepper <drepper@gmail.com>
9812
9813 * po/da.po: Update from translation team.
9814
fa41c84d
UD
98152010-10-26 Ulrich Drepper <drepper@gmail.com>
9816
9817 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9818 is added to the list.
9819
f0967738
AK
98202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9821 Ulrich Drepper <drepper@gmail.com>
9822
9823 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9824 the global list here. Move code to...
9825 (_dl_add_to_namespace_list): ...here. New function.
9826 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9827 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9828 * elf/dl-load.c (lose): Don't remove the element from the list.
9829 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9830 (_dl_map_object): Likewise.
9831
98322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9833
9834 [BZ #12159]
9835 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9836 into all bytes of SSE register.
9837 Patch by Richard Li <richardpku@gmail.com>.
9838
f0967738 98392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9840
9841 [BZ #12140]
9842 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9843 perturbing.
9844
d0b9e94f
MB
98452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9846
9847 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9848 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9849 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9850 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9852 submachine.
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9854
8e9f92e9
AS
98552010-10-22 Andreas Schwab <schwab@redhat.com>
9856
9857 * include/dlfcn.h (__RTLD_SECURE): Define.
9858 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9859 mode & __RTLD_SECURE instead.
9860 (open_path): Rename preloaded parameter to secure.
9861 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9862 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9863 * elf/dl-deps.c (openaux): Likewise.
9864 * elf/rtld.c (struct map_args): Remove is_preloaded.
9865 (map_doit): Don't use it.
9866 (dl_main): Likewise.
9867 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9868 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9869
bc96fbda
AS
98702010-09-09 Andreas Schwab <schwab@redhat.com>
9871
9872 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9873 (sysd-rules-targets): Remove duplicates.
9874 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9875 rtld-%.$o dependency.
9876
22cd1c9b
AS
98772010-10-18 Andreas Schwab <schwab@redhat.com>
9878
9879 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9880 _dl_map_object do it.
9881
18edac48
UD
98822010-10-19 Ulrich Drepper <drepper@gmail.com>
9883
9884 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9885 fast fma builtins, define the macros in the C99 standard.
9886 (FP_FAST_FMAF): Likewise.
9887 (FP_FAST_FMAL): Likewise.
9888 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9889
9890 * bits/mathdef.h: Update copyright year.
9891 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9892
d2050124
MM
98932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9894
9895 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9896 builtins, define the macros in the C99 standard.
9897 (FP_FAST_FMAF): Likewise.
9898 (FP_FAST_FMAL): Likewise.
9899 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9900 multiply/add.
9901 (FP_FAST_FMAF): Likewise.
9902
475facd1
JJ
99032010-10-15 Jakub Jelinek <jakub@redhat.com>
9904
9905 [BZ #3268]
9906 * math/libm-test.inc (fma_test): Some new testcases.
9907 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9908 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9909 y and infinite z. Do multiplication by C already in long double.
9910 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9912 y and infinite z. Do bitwise or of inexact bit into u.d.
9913 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9914 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9915 * sysdeps/i386/fpu/s_fma.S: Removed.
9916 * sysdeps/i386/fpu/s_fmal.S: Removed.
9917
7c08a05c
JJ
99182010-10-16 Jakub Jelinek <jakub@redhat.com>
9919
9920 [BZ #3268]
9921 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9923 computation is not scheduled after fetestexcept. Fix value
9924 of minimum denormal long double.
9925
f3f7372d
JJ
99262010-10-14 Jakub Jelinek <jakub@redhat.com>
9927
9928 [BZ #3268]
9929 * math/libm-test.inc (fma_test): Add some more tests.
9930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9931 correctly.
9932
14d43591
AS
99332010-10-15 Andreas Schwab <schwab@redhat.com>
9934
9935 * scripts/data/localplt-s390-linux-gnu.data: New file.
9936 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9937
5e908464
JJ
99382010-10-13 Jakub Jelinek <jakub@redhat.com>
9939
9940 [BZ #3268]
9941 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9942 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9943 instead of dbl-64.
9944 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9945 inlines.
9946 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9948 if one of x and y is very large and the other is subnormal.
9949 * sysdeps/s390/fpu/s_fmaf.c: New file.
9950 * sysdeps/s390/fpu/s_fma.c: New file.
9951 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9952 * sysdeps/powerpc/fpu/s_fma.S: New file.
9953 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9954 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9955 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9956
99572010-10-12 Jakub Jelinek <jakub@redhat.com>
9958
9959 [BZ #3268]
9960 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9961 fma tests.
9962 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9963 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9964 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9965 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9966 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9967 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9969
b833d51f
UD
99702010-10-12 Ulrich Drepper <drepper@redhat.com>
9971
9972 [BZ #12078]
9973 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9974 * posix/bug-regex31.input: Add test case.
9975
1751705d
UD
99762010-10-11 Ulrich Drepper <drepper@gmail.com>
9977
e9b9cbf5
UD
9978 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9979 * posix/bug-regex31.input: New file.
9980
9981 [BZ #12078]
9982 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9983 (parse_sub_exp): Fix last change, use postorder.
9984
ef06edbe
UD
9985 * posix/bug-regex31.c: New file.
9986 * posix/Makefile: Add rules to build and run bug-regex31.
9987
a129c80d
UD
9988 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9989
9990 [BZ #12078]
9991 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9992
b76b818e
UD
9993 [BZ #12108]
9994 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9995 to have entries in sys_siglist.
9996
1751705d
UD
9997 [BZ #12093]
9998 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9999 be NULL.
10000
9ff8d36f
JJ
100012010-10-07 Jakub Jelinek <jakub@redhat.com>
10002
10003 [BZ #3268]
10004 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10005 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10006 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10007 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10008 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10009 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10010 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10011 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10012 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10013 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10014 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10015 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10016 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10017 * math/ftestexcept.c (fetestexcept): Likewise.
10018 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10019 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10020 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10021 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10022 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10023 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10024 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10025
af325969
UD
100262010-10-11 Ulrich Drepper <drepper@gmail.com>
10027
c579b202 10028 [BZ #12107]
af325969
UD
10029 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10030 newline.
10031
67a67b95
UD
100322010-10-06 Ulrich Drepper <drepper@gmail.com>
10033
10034 * string/bug-strstr1.c: New file.
10035 * string/Makefile: Add rules to build and run bug-strstr1.
10036
5fb308bc
EB
100372010-10-05 Eric Blake <eblake@redhat.com>
10038
10039 [BZ #12092]
10040 * string/str-two-way.h (two_way_long_needle): Always clear memory
10041 when skipping input due to the shift table.
10042
45db99c7
UD
100432010-10-03 Ulrich Drepper <drepper@gmail.com>
10044
3b111893
UD
10045 [BZ #12005]
10046 * malloc/mcheck.c: Handle large requests.
10047
45db99c7
UD
10048 [BZ #12077]
10049 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10050 for strncmp and strncasecmp.
10051 * string/stratcliff.c: Add tests for strcmp and strncmp.
10052 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10053
cf7a1eb8
NI
100542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10055
10056 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10057 __set_fpscr.
10058
6484ba5e
AJ
100592010-09-30 Andreas Jaeger <aj@suse.de>
10060
10061 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10062 (CGROUP_SUPER_MAGIC): Define.
10063 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10064 Handle btrfs and cgroup file systems.
10065 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10066 Likewise.
10067
91c42559
LM
100682010-09-27 Luis Machado <luisgpm@br.ibm.com>
10069
10070 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10071 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10072
87a97932
AK
100732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10074
10075 [BZ #12067]
10076 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10077 trying to locate the ELF header.
10078
c21cc9bc
AS
100792010-09-27 Andreas Schwab <schwab@redhat.com>
10080
10081 [BZ #11611]
10082 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10083 Mask out sign-bit copies when constructing f_fsid.
10084
315970f6
PB
100852010-09-24 Petr Baudis <pasky@suse.cz>
10086
10087 * debug/stack_chk_fail_local.c: Add missing licence exception.
10088 * debug/warning-nop.c: Likewise.
10089
1ac7a2c7
JM
100902010-09-15 Joseph Myers <joseph@codesourcery.com>
10091
10092 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10093 implementing getdents64 using getdents syscall, set d_type if
10094 __ASSUME_GETDENTS32_D_TYPE.
10095
56801c50
AS
100962010-09-16 Andreas Schwab <schwab@redhat.com>
10097
10098 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10099 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10100
dda51327
UD
101012010-09-21 Ulrich Drepper <drepper@redhat.com>
10102
10103 [BZ #12037]
10104 * posix/unistd.h: Undo change of feature selection for ftruncate from
10105 2010-01-11.
10106
8ffcee4a
UD
101072010-09-20 Ulrich Drepper <drepper@redhat.com>
10108
a545ecd9 10109 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10110 detection.
10111
e24f0a8b
AS
101122010-09-20 Andreas Schwab <schwab@redhat.com>
10113
10114 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10115 fanotify_mark.
10116 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10117
7291c56f
AS
101182010-09-14 Andreas Schwab <schwab@redhat.com>
10119
10120 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10121 variables after CHECK_SP call.
10122 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10123
bc5fb037
AS
101242010-09-13 Andreas Schwab <schwab@redhat.com>
10125 Ulrich Drepper <drepper@redhat.com>
10126
10127 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10128 re-relocationg ld.so.
10129 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10130 _dl_init_paths call.
10131 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10132 here anymore.
10133
e66e7419
UD
101342010-09-14 Ulrich Drepper <drepper@redhat.com>
10135
10136 * resolv/res_init.c (__res_vinit): Count the default server we added.
10137
c044aa75
CLT
101382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10139 Ulrich Drepper <drepper@redhat.com>
10140
10141 [BZ #11968]
10142 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10143 (____longjmp_chk): Use %ebx for saving value across system call.
10144 Add unwind info.
10145
32cf4069
AS
101462010-09-06 Andreas Schwab <schwab@redhat.com>
10147
10148 * manual/Makefile: Don't mix pattern rules with normal rules.
10149
817328ee
AS
101502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10151
10152 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10153 operation.
10154 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10155 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10156 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10157 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10159 Likewise.
10160
29fddf61
UD
101612010-09-04 Ulrich Drepper <drepper@redhat.com>
10162
10163 [BZ #11979]
10164 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10165 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10166
0959ffc9
UD
101672010-09-02 Ulrich Drepper <drepper@redhat.com>
10168
10169 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10170 * sysdeps/x86_64/addmul_1.S: Likewise.
10171 * sysdeps/x86_64/lshift.S: Likewise.
10172 * sysdeps/x86_64/mul_1.S: Likewise.
10173 * sysdeps/x86_64/rshift.S: Likewise.
10174 * sysdeps/x86_64/sub_n.S: Likewise.
10175 * sysdeps/x86_64/submul_1.S: Likewise.
10176
ece29840
ST
101772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10178
0959ffc9
UD
10179 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10180 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10181 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10182 * bits/sched.h [__need_schedparam]
ece29840 10183 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10184 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10185 (__defined_schedparam): Define to 1.
ece29840
ST
10186 (__sched_param): New structure, identical to sched_param.
10187 (__need_schedparam): Undefine.
10188
e53a31fe
MF
101892010-08-31 Mike Frysinger <vapier@gentoo.org>
10190
fdc0c10d
MF
10191 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10192 (epoll_create1): Declare.
10193
e53a31fe
MF
10194 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10195
a726d796
AS
101962010-08-31 Andreas Schwab <schwab@redhat.com>
10197
10198 [BZ #7066]
10199 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10200 shifting retval into place.
10201
2f3e3dc7
UD
102022010-09-01 Ulrich Drepper <drepper@redhat.com>
10203
f2933da9
UD
10204 * nis/rpcsvc/nis.h: Update copyright notice.
10205 * nis/rpcsvc/nis.x: Likewise.
10206 * nis/rpcsvc/nis_callback.h: Likewise.
10207 * nis/rpcsvc/nis_callback.x: Likewise.
10208 * nis/rpcsvc/nis_object.x: Likewise.
10209 * nis/rpcsvc/nis_tags.h: Likewise.
10210 * nis/rpcsvc/yp.h: Likewise.
10211 * nis/rpcsvc/yp.x: Likewise.
10212 * nis/rpcsvc/ypupd.h: Likewise.
10213 * nis/yp_xdr.c: Likewise.
10214 * nis/ypupdate_xdr.c: Likewise.
10215
2f3e3dc7
UD
10216 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10217 mainly the body of pmap_getport. Add parameters to specify timeouts.
10218 (pmap_getport): Use __libc_rpc_getport.
10219 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10220 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10221 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10222
f3dcc2f9
AS
102232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10224
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10226 fanotify_mark.
10227
6d34eb5b
RM
102282010-08-27 Roland McGrath <roland@redhat.com>
10229
10230 * sysdeps/i386/i686/multiarch/Makefile
10231 (CFLAGS-varshift.c): New variable.
10232
9ea3de11
UD
102332010-08-27 Ulrich Drepper <drepper@redhat.com>
10234
c96d23fc
UD
10235 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10236 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10237
9ea3de11
UD
10238 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10239
10240 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10241
623aac7f
L
102422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10243
10244 * sysdeps/x86_64/strlen.S: Unroll the loop.
10245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10246 strlen-sse2 strlen-sse2-bsf.
10247 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10248 __strlen_no_bsf if bit_Slow_BSF is set.
10249 (__strlen_sse42): Removed.
10250 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10251 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10252
8b2b7715
RM
102532010-08-25 Roland McGrath <roland@redhat.com>
10254
10255 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10256 * sysdeps/x86_64/multiarch/varshift.c: New file.
10257 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10258 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10259 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10260 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10261
e73015f2
L
102622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10263
10264 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10265 strlen-sse2 strlen-sse2-bsf.
10266 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10267 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10268 (__strlen_sse2): Removed.
10269 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10270 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10272 bit_Slow_BSF for Atom.
10273 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10274 (index_Slow_BSF): Define.
10275 (HAS_SLOW_BSF): Define.
10276
df24a73e
UD
102772010-08-25 Ulrich Drepper <drepper@redhat.com>
10278
10279 [BZ #10851]
10280 * resolv/res_init.c (__res_vinit): When no server address at all
10281 is given default to loopback.
10282
f2ac4868
RM
102832010-08-24 Roland McGrath <roland@redhat.com>
10284
09055553
RM
10285 * configure.in: Remove config-name.h generation.
10286 * configure: Regenerated.
10287 * config-name.in: File removed.
10288 * scripts/config-uname.sh: New file.
10289 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10290 ($(objdir)config-name.h): New target.
10291
f2ac4868
RM
10292 * sunrpc/rpc_parse.h: Avoid nested comment.
10293
73f27d5e
RH
102942010-08-24 Richard Henderson <rth@redhat.com>
10295 Ulrich Drepper <drepper@redhat.com>
10296 H.J. Lu <hongjiu.lu@intel.com>
10297
10298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10300 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10301 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10302 _mm_alignr_epi8 with _mm_loadu_si128.
10303 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10304 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10305 (__m128i_shift_right): Removed.
10306 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10307 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10308 * sysdeps/x86_64/multiarch/varshift.h: New file.
10309 * sysdeps/x86_64/multiarch/varshift.S: New file.
10310
84b9230c
MF
103112010-08-21 Mike Frysinger <vapier@gentoo.org>
10312
10313 * configure.in: Move assembler checks to before sysdep dir checking.
10314
9bbd0ddc
PB
103152010-08-20 Petr Baudis <pasky@suse.cz>
10316
10317 * LICENSES: Sync the sunrpc license.
10318
9da4bb31
UD
103192010-08-19 Ulrich Drepper <drepper@redhat.com>
10320
a7ab6ec8
UD
10321 * sunrpc/auth_des.c: Update copyright notice once again.
10322 * sunrpc/auth_none.c: Likewise.
10323 * sunrpc/auth_unix.c: Likewise.
10324 * sunrpc/authdes_prot.c: Likewise.
10325 * sunrpc/authuxprot.c: Likewise.
10326 * sunrpc/bindrsvprt.c: Likewise.
10327 * sunrpc/clnt_gen.c: Likewise.
10328 * sunrpc/clnt_perr.c: Likewise.
10329 * sunrpc/clnt_raw.c: Likewise.
10330 * sunrpc/clnt_simp.c: Likewise.
10331 * sunrpc/clnt_tcp.c: Likewise.
10332 * sunrpc/clnt_udp.c: Likewise.
10333 * sunrpc/clnt_unix.c: Likewise.
10334 * sunrpc/des_crypt.c: Likewise.
10335 * sunrpc/des_soft.c: Likewise.
10336 * sunrpc/get_myaddr.c: Likewise.
10337 * sunrpc/getrpcport.c: Likewise.
10338 * sunrpc/key_call.c: Likewise.
10339 * sunrpc/key_prot.c: Likewise.
10340 * sunrpc/openchild.c: Likewise.
10341 * sunrpc/pm_getmaps.c: Likewise.
10342 * sunrpc/pm_getport.c: Likewise.
10343 * sunrpc/pmap_clnt.c: Likewise.
10344 * sunrpc/pmap_prot.c: Likewise.
10345 * sunrpc/pmap_prot2.c: Likewise.
10346 * sunrpc/pmap_rmt.c: Likewise.
10347 * sunrpc/rpc/auth.h: Likewise.
10348 * sunrpc/rpc/auth_unix.h: Likewise.
10349 * sunrpc/rpc/clnt.h: Likewise.
10350 * sunrpc/rpc/des_crypt.h: Likewise.
10351 * sunrpc/rpc/key_prot.h: Likewise.
10352 * sunrpc/rpc/netdb.h: Likewise.
10353 * sunrpc/rpc/pmap_clnt.h: Likewise.
10354 * sunrpc/rpc/pmap_prot.h: Likewise.
10355 * sunrpc/rpc/pmap_rmt.h: Likewise.
10356 * sunrpc/rpc/rpc.h: Likewise.
10357 * sunrpc/rpc/rpc_des.h: Likewise.
10358 * sunrpc/rpc/rpc_msg.h: Likewise.
10359 * sunrpc/rpc/svc.h: Likewise.
10360 * sunrpc/rpc/svc_auth.h: Likewise.
10361 * sunrpc/rpc/types.h: Likewise.
10362 * sunrpc/rpc/xdr.h: Likewise.
10363 * sunrpc/rpc_clntout.c: Likewise.
10364 * sunrpc/rpc_cmsg.c: Likewise.
10365 * sunrpc/rpc_common.c: Likewise.
10366 * sunrpc/rpc_cout.c: Likewise.
10367 * sunrpc/rpc_dtable.c: Likewise.
10368 * sunrpc/rpc_hout.c: Likewise.
10369 * sunrpc/rpc_main.c: Likewise.
10370 * sunrpc/rpc_parse.c: Likewise.
10371 * sunrpc/rpc_parse.h: Likewise.
10372 * sunrpc/rpc_prot.c: Likewise.
10373 * sunrpc/rpc_sample.c: Likewise.
10374 * sunrpc/rpc_scan.c: Likewise.
10375 * sunrpc/rpc_scan.h: Likewise.
10376 * sunrpc/rpc_svcout.c: Likewise.
10377 * sunrpc/rpc_tblout.c: Likewise.
10378 * sunrpc/rpc_util.c: Likewise.
10379 * sunrpc/rpc_util.h: Likewise.
10380 * sunrpc/rpcinfo.c: Likewise.
10381 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10382 * sunrpc/rpcsvc/key_prot.x: Likewise.
10383 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10384 * sunrpc/rpcsvc/mount.x: Likewise.
10385 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10386 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10387 * sunrpc/rpcsvc/rex.x: Likewise.
10388 * sunrpc/rpcsvc/rstat.x: Likewise.
10389 * sunrpc/rpcsvc/rusers.x: Likewise.
10390 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10391 * sunrpc/rpcsvc/spray.x: Likewise.
10392 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10393 * sunrpc/rtime.c: Likewise.
10394 * sunrpc/svc.c: Likewise.
10395 * sunrpc/svc_auth.c: Likewise.
10396 * sunrpc/svc_authux.c: Likewise.
10397 * sunrpc/svc_raw.c: Likewise.
10398 * sunrpc/svc_run.c: Likewise.
10399 * sunrpc/svc_simple.c: Likewise.
10400 * sunrpc/svc_tcp.c: Likewise.
10401 * sunrpc/svc_udp.c: Likewise.
10402 * sunrpc/svc_unix.c: Likewise.
10403 * sunrpc/svcauth_des.c: Likewise.
10404 * sunrpc/xcrypt.c: Likewise.
10405 * sunrpc/xdr.c: Likewise.
10406 * sunrpc/xdr_array.c: Likewise.
10407 * sunrpc/xdr_float.c: Likewise.
10408 * sunrpc/xdr_mem.c: Likewise.
10409 * sunrpc/xdr_rec.c: Likewise.
10410 * sunrpc/xdr_ref.c: Likewise.
10411 * sunrpc/xdr_sizeof.c: Likewise.
10412 * sunrpc/xdr_stdio.c: Likewise.
10413
9da4bb31
UD
10414 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10415 handling.
10416
bdaa77bc
AS
104172010-08-19 Andreas Schwab <schwab@redhat.com>
10418
10419 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10420
fe2f79db
LM
104212010-08-19 Luis Machado <luisgpm@br.ibm.com>
10422
10423 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10424 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10425 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10426 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10427 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10428 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10429 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10430 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10431 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10432 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10433 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10434 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10435 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10436 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10437
b9b42ee0
AB
104382010-07-26 Anton Blanchard <anton@samba.org>
10439
10440 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10441 * malloc/arena.c (heap_trim): Likewise.
10442
1c06ba31
UD
104432010-08-16 Ulrich Drepper <drepper@redhat.com>
10444
10445 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10446 here. Not...
10447 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10448 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10449
f8392f40
L
104502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10451
10452 * sysdeps/i386/elf/Makefile: New file.
10453
3162f12e
AS
104542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10455
10456 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10457 from fanotify_init.
10458 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10460
28c90b2c
UD
104612010-08-15 Ulrich Drepper <drepper@redhat.com>
10462
10463 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10464 of strncasecmp_l.
1feccb6c 10465 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10466
ca6bb004
UD
104672010-08-14 Ulrich Drepper <drepper@redhat.com>
10468
e9f82e0d
UD
10469 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10470 strncase_l-nonascii.
10471 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10472 Add strncase_l-ssse3.
10473 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10474 * sysdeps/x86_64/strcmp.S: Likewise.
10475 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10476 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10477 * sysdeps/x86_64/strncase.S: New file.
10478 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10479 * sysdeps/x86_64/strncase_l.S: New file.
10480 * string/Makefile (strop-tests): Add strncasecmp.
10481 * string/test-strncasecmp.c: New file.
10482
10483 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10484 warning.
10485
ca6bb004
UD
10486 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10487 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10488
052fa7b3
AS
104892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10490
10491 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10492
962dba78
UD
104932010-08-12 Ulrich Drepper <drepper@redhat.com>
10494
10495 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10496 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10497 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10498
bebff237
AM
104992010-05-01 Alan Modra <amodra@gmail.com>
10500
10501 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10502 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10503 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10504 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10505 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10506 tidying. Don't tail-call __sigjmp_save for static lib.
10507 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10508 save location.
10509 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10510 (CALL_MCOUNT): Add eh info, and nop after bl.
10511 (TAIL_CALL_SYSCALL_ERROR): New macro.
10512 (PSEUDO_RET): Use it.
10513 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10514 Correct save location of integer regs and cr.
10515 (_dl_profile_resolve): Correct cr save location. Delete nops
10516 after bl when SHARED. Reduce cfi size a little by better
10517 placement of cfi directives.
10518 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10519 make a stack frame. Instead use parm save area as a temp.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10521 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10523 Don't make a stack frame for parent, use parm save area.
10524 Increase child stack frame to 112 bytes. Don't save unused reg,
10525 and adjust reg usage. Set up cfi on error recovery and
10526 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10528 (__makecontext): Add dummy nop after jump to exit.
10529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10530 Use correct parm save area and cr save, reduce stack frame.
10531 Correct cfi for possible PSEUDO_RET frame setup.
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10533 Branch to local label emitted by PSEUDO_RET rather than
10534 __syscall_error.
10535
02637374
AS
105362010-08-12 Andreas Schwab <schwab@redhat.com>
10537
10538 [BZ #11904]
10539 * locale/programs/locale.c (print_assignment): New function.
10540 (show_locale_vars): Use it.
10541
c3e2f19b
UD
105422010-08-11 Ulrich Drepper <drepper@redhat.com>
10543
3cdaa6ad
UD
10544 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10545 field.
10546 (struct statfs64): Likewise.
10547 (_STATFS_F_FLAGS): Define.
10548 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10549 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10550 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10551 (ST_VALID): Define locally.
10552 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10553 __statvfs_getflags, use the provided value.
10554 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10555 __ASSUME_STATFS_F_FLAGS.
10556
754f7da3
UD
10557 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10558
10b3bedc
UD
10559 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10560 Add sys/fanotify.h.
10561 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10562 fanotify_mask for GLIBC_2.13.
10563 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10564 fanotify_init and fanotify_mark.
10565 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10566 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10567
c08fb0d7
UD
10568 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10569 Add prlimit.
10570 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10571 prlimit64 for GLIBC_2.13.
10572 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10573 prlimit64.
10574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10575 syscall.
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10577 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10578 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10579 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10580 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10581 add prlimit alias.
10582 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10583
15bac72b
UD
10584 [BZ #11903]
10585 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10586 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10587
c3e2f19b
UD
10588 * nss/Makefile: Add rules to build and run tst-nss-test1.
10589 * shlib-versions: Add entry for libnss_test1.
10590 * nss/nss_test1.c: New file.
10591 * nss/tst-nss-test1.c: New file.
10592
10593 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10594 (__nss_configure_lookup): Set appropriate entry in
10595 __nss_configure_lookup to true.
10596 * nss/nsswitch.h: Define enum with indeces of databases in
10597 databases and __nss_database_custom arrays. Declare
10598 __nss_database_custom.
10599 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10600 to avoid using nscd when custom rules are installed.
10601 * nss/getXXbyYY_r.c: Likewise.
10602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10603
10604 * nss/nss_files/files-parse.c: Whitespace fixes.
10605
f15ce4d8
UD
106062010-08-09 Ulrich Drepper <drepper@redhat.com>
10607
10608 [BZ #11883]
10609 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10610 * posix/fnmatch_loop.c: Likewise.
10611
d22e4cc9
AK
106122010-07-17 Andi Kleen <ak@linux.intel.com>
10613
10614 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10615 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10616 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10617 * Versions.def [GLIBC_2.13]: Add.
10618
805bc17d
UD
106192010-08-06 Ulrich Drepper <drepper@redhat.com>
10620
10621 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10622 Also fail if tpwd after pwuid call is NULL.
10623
5a42321d
ST
106242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10625
10626 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10627 when converting to ms.
10628
fd3ebeda
ST
106292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10630
10631 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10632 EOPNOTSUPP errors with ENOTTY.
10633 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10634 EOPNOTSUPP errors with ENOTTY.
10635
73507d3a
UD
106362010-07-31 Ulrich Drepper <drepper@redhat.com>
10637
10638 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10639 Add strcasecmp_l-ssse3.
10640 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10641 strcasecmp.
10642 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10643 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10644 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10645
fe36dd02
UD
106462010-07-30 Ulrich Drepper <drepper@redhat.com>
10647
66f6765a
UD
10648 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10649
42e08a54
UD
10650 * string/Makefile (strop-tests): Add strcasecmp.
10651 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10652 strcasecmp_l-nonascii.
10653 (gen-as-const-headers): Add locale-defines.sym.
10654 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10655 * sysdeps/x86_64/strcasecmp.S: New file.
10656 * sysdeps/x86_64/strcasecmp_l.S: New file.
10657 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10658 * sysdeps/x86_64/locale-defines.sym: New file.
10659 * string/test-strcasecmp.c: New file.
10660
fe36dd02
UD
10661 * string/test-strcasestr.c: Test both ends of the range of characters.
10662 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10663
48cbc0d6
RM
106642010-07-29 Roland McGrath <roland@redhat.com>
10665
76e6d6bc 10666 [BZ #11856]
48cbc0d6
RM
10667 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10668
880113d9
UD
106692010-07-27 Ulrich Drepper <drepper@redhat.com>
10670
10671 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10672 for ld.so.
10673
deb9cabb
AS
106742010-07-27 Andreas Schwab <schwab@redhat.com>
10675
10676 * manual/memory.texi (Malloc Tunable Parameters): Document
10677 M_PERTURB.
10678
1c7570ff
RM
106792010-07-26 Roland McGrath <roland@redhat.com>
10680
10681 [BZ #11840]
10682 * configure.in (-fgnu89-inline check): Set and substitute
10683 gnu89_inline, not libc_cv_gnu89_inline.
10684 * configure: Regenerated.
10685 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10686
24fb0f88
UD
106872010-07-26 Ulrich Drepper <drepper@redhat.com>
10688
10689 * string/test-strnlen.c: New file.
10690 * string/Makefile (strop-tests): Add strnlen.
10691 * string/tester.c (test_strnlen): Add a few more test cases.
10692 * string/tst-strlen.c: Better error reporting.
10693
10694 * sysdeps/x86_64/strnlen.S: New file.
10695
8e96b93a
UD
106962010-07-24 Ulrich Drepper <drepper@redhat.com>
10697
10698 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10699 lower-latency instructions.
10700
dbc676d4
UD
107012010-07-23 Ulrich Drepper <drepper@redhat.com>
10702
10703 * string/test-strcasestr.c: New file.
10704 * string/test-strstr.c: New file.
10705 * string/Makefile (strop-tests): Add strstr and strcasestr.
10706 * string/str-two-way.h: Don't undefine MAX.
10707 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10708
f6a31e0e
AS
107092010-07-21 Andreas Schwab <schwab@redhat.com>
10710
10711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10712 strcasestr-nonascii.
10713 (CFLAGS-strcasestr-nonascii.c): Define.
10714 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10715 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10716 Remove unused attribute.
10717
5dbc3b6c
RM
107182010-07-20 Roland McGrath <roland@redhat.com>
10719
10720 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10721 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10722 ld.so.cache was broken. With it, there is no way to disable dsocaps
10723 like LD_HWCAP_MASK can disable hwcaps.
10724
23d101d8
EPM
107252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10726
10727 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10728
cc9f2e47
UD
107292010-07-16 Ulrich Drepper <drepper@redhat.com>
10730
10731 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10732 call in strcasestr.
10733 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10734 __strcasestr_sse42_nonascii.
10735 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10736 strcasestr-nonascii.c.
10737 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10738
77c1b069
LM
107392010-06-15 Luis Machado <luisgpm@br.ibm.com>
10740
10741 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10742 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10743 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10744 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10745
440566c3
UD
107462010-07-09 Ulrich Drepper <drepper@redhat.com>
10747
10748 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10749 fcntl.
10750
5be9d05d
AS
107512010-07-06 Andreas Schwab <schwab@redhat.com>
10752
c30b7ee2 10753 [BZ #11577]
5be9d05d
AS
10754 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10755 dl_signal_cerror.
10756
8a492a67
UD
107572010-07-06 Ulrich Drepper <drepper@redhat.com>
10758
10759 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10760 _PC_PIPE_BUF using F_GETPIPE_SZ.
10761
713df3d5
RM
107622010-07-05 Roland McGrath <roland@redhat.com>
10763
10764 * manual/arith.texi (Rounding Functions): Fix rint description
10765 implicit in round description.
10766
702e8f14
UD
107672010-07-02 Ulrich Drepper <drepper@redhat.com>
10768
10769 * elf/Makefile: Fix linking for a few tests to make recent linker
10770 happy.
10771
52ed8be9
AS
107722010-06-30 Andreas Schwab <schwab@redhat.com>
10773
10774 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10775 $(common-objpfx)libc_nonshared.a.
10776
f47c9a11
LM
107772010-06-21 Luis Machado <luisgpm@br.ibm.com>
10778
10779 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10780 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10781 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10782 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10783 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10784 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10785 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10786 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10801 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10802 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10803 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10804 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10805 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10806 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10807 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10808 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10809 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10810 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10811 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10812 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10827
6fb8cbcb
L
108282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10829
10830 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10831 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10832 * string/memmove.c (memmove): Renamed to ...
10833 (MEMMOVE): ...this. Default to memmove.
10834 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10835 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10836 (END_CHK): Define.
10837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10838 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10839 mempcpy-ssse3-back memmove-ssse3-back.
10840 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10841 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10842 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10843 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10844 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10845 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10846 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10847 * sysdeps/x86_64/multiarch/memmove.c: New file.
10848 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10849 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10850 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10851 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10852 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10853 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10854 Define.
10855 (index_Fast_Copy_Backward): Define.
10856 (HAS_ARCH_FEATURE): Define.
10857 (HAS_FAST_REP_STRING): Define.
10858 (HAS_FAST_COPY_BACKWARD): Define.
10859
4e733bac 108602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10861
10862 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10863 Restore proper fallback handling.
10864
63c4ed22
UD
108652010-06-19 Ulrich Drepper <drepper@redhat.com>
10866
ac2b484c
UD
10867 [BZ #11701]
10868 * posix/group_member.c (__group_member): Correct checking loop.
10869
63c4ed22
UD
10870 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10871 OOM in getpwuid_r correctly. Return error number when the caller
10872 should return, otherwise -1.
10873 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10874 call returning > 0 value.
10875 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10876
765ade4b
AS
108772010-06-07 Andreas Schwab <schwab@redhat.com>
10878
10879 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10880 libc_nonshared.a from targets in modules-names.
10881
80da2e09
KS
108822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10883
10884 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10885 requires it.
10886
158db122
LM
108872010-06-10 Luis Machado <luisgpm@br.ibm.com>
10888
10889 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10890 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10891 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10892 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10893
caa78cf8
AS
108942010-06-02 Andreas Schwab <schwab@redhat.com>
10895
10896 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10897
b2ef2c01
UD
108982010-06-14 Ulrich Drepper <drepper@redhat.com>
10899
10900 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10901 and F_GETPIPE_SZ.
10902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10904 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10905 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10906 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10907 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10908
fbd643b6
RM
109092010-06-14 Roland McGrath <roland@redhat.com>
10910
10911 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10912
f32f2869
JJ
109132010-06-07 Jakub Jelinek <jakub@redhat.com>
10914
10915 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10916 __REDIRECT followed by __THROW.
10917 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10918 * posix/getopt.h (getopt): Likewise.
10919
2a50c078
EPM
109202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10921
10922 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10923 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10924 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10925 in AT_FLAGS.
10926 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10927 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10928
eb5ad2eb
LM
109292010-05-28 Luis Machado <luisgpm@br.ibm.com>
10930
10931 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10932
3c88fe1e
L
109332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10934
10935 [BZ #11640]
10936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10937 Properly check family and model.
10938
d2f73151
TY
109392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10940
10941 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10942
ebd2e13d
LM
109432010-05-24 Luis Machado <luisgpm@br.ibm.com>
10944
10945 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10946
b32b8b45
UD
109472010-05-21 Ulrich Drepper <drepper@redhat.com>
10948
10949 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10950 symbol reference.
10951
9acbe24d
AS
109522010-05-19 Andreas Schwab <schwab@redhat.com>
10953
10954 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10955 symbol reference.
10956
f0ccf6ea
AS
109572010-05-21 Andreas Schwab <schwab@redhat.com>
10958
3d04ff3a
AS
10959 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10960 and internal_recvmmsg.
10961 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10962 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10963 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10964 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10965
f0ccf6ea
AS
10966 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10967 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10968 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10969
5b08ac57
AS
109702010-05-20 Andreas Schwab <schwab@redhat.com>
10971
10972 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10973
4828935d
LM
109742010-05-17 Luis Machado <luisgpm@br.ibm.com>
10975
10976 POWER7 optimizations.
10977 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10978 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10979
373d545e
UD
109802010-05-19 Ulrich Drepper <drepper@redhat.com>
10981
10982 * version.h: Update for 2.13 development version.
10983
21a2b1ae
AS
109842010-05-12 Andrew Stubbs <ams@codesourcery.com>
10985
10986 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10987 exceptions. Return 0.
10988
3f7dcb2b
RM
109892010-05-07 Roland McGrath <roland@redhat.com>
10990
10991 * elf/ldconfig.c (main): Add a const.
10992
5f24d53a 109932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10994
a160f8d8
UD
10995 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10996 (args_options): Add no-idn option.
10997 (ahosts_keys_int): Add idn_flags to ai_flags.
10998 (parse_option): Handle 'i' option to clear idn_flags.
10999
5f24d53a
UD
11000 * malloc/malloc.c (_int_free): Possible race in the most recently
11001 added check. Only act on the data if no current modification
11002 happened.
265bb1ce
UD
11003
11004See ChangeLog.17 for earlier changes.
This page took 1.314923 seconds and 5 git commands to generate.